Show newer

@yosh I'm just too addicted to mutable references on the heap being trivial in JS >:P

@yosh I think my issue is that I am trying to reuse it both in a closure and later in some other code.

I think I just need to rewrite this using channels and treat the two simulated peers as fully separate peers + have them listen on incoming events generated from a third thread doing the networking.

Coding in rust makes me feel so stupid :P

It seems I need to place the mutex into an arc after all?

Show thread

`Mutex<Option<TunnelManager>>`

is a lot more reasonable. :P

```
{
let mut tunnels1 = tunnels1.lock().await.unwrap();
tunnels1.open_tunnel(route_id).await?
}
```

Ain't it funky

Show thread

Here I thought I was some rust hotshot but then I need to share a mutable value between threads.

`Arc<Option<Mutex<TunnelManager>>>` is one hell of a type. :P

This post brought to you by the Minima blockchain whitepaper. But honestly it seems every single neat protocol is doing this. docs.minima.global/minima_pdfs

Show thread

As a...
- Cat
I want to...
- Go in to a box
So that I can...
- Sit in the box

#catuserstories

It'd be cool if people making decentralized p2p protocols had flagship apps that were than "a chat app but only for people wanting to bother using this protocol". Most folks don't get much utility from yet another chat app and it's just the diehards that will bother joining and end up only using it to talk to each other while developer hours continue to not serve adoption at large.

@technobaboo sauce: youtu.be/XheAMrS8Q1c

tl:dr instead of messing with genes we can trigger cells to form specific tissues using bioelectric stimulation since that's how cells signal each other to form certain tissues. right now they can have simple organisms grow whatever wherever but humans are on the todo list.

@ciourte Honestly I'll take what I can get :P

I was thinking eyes would be more on the sides or my back to give me more peripheral vision.

arms would be just below my regular ones. Like those weird worm guys frim Men In Black maybe?

THe bioelectrict manipulation of morphology is neat for general medical stuff but I am mostly excited for all my trans friends to have more options for gender affirming body mods. Cis people too! Hopefully once all the humans get theirs I can get my extra arms and eyes grown.

@neia Someday someone will write a Rust GUI app that respects the system window and widget theming and on that day the foundations of the Earth shall shake

Bad idea:
You know how some programmable keyboards have a thing where you can press a secret key combination and they'll type some config menu into a text document?

Do the same, but for a mouse.
You just open MS Paint and select the pen tool, then press all the buttons at once.
It'll draw you its config

Stop hiding all your fucking information in discords

Finally had the energy/time to adjust my monitor to a more ergonomic position. Future me is gonna love how clear its desk is now 🥰

I feel like most in-house software is tacitly released under the Hot Potato Licence.

I think I'm slowly learning how to think in Rust. Glad I get to learn it by doing cool shit with Veilid.

DWeb Camp begins TODAY and the schedule is up!

There are almost 400 sessions, including workshops, talks, panels, performances and classes.

Campers — make sure to download the Sched app and build your schedule for the week.

See ya in the redwoods! 🌲✨

dwebcamp2024.sched.com/

Show older
Mauvestodon

Escape ship from centralized social media run by Mauve.