Coding in rust makes me feel so stupid :P
It seems I need to place the mutex into an arc after all?
`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
This post brought to you by the Minima blockchain whitepaper. But honestly it seems every single neat protocol is doing this. https://docs.minima.global/minima_pdfs/Minima_Whitepaper_v11.pdf
As a...
- Cat
I want to...
- Go in to a box
So that I can...
- Sit in the box
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.
Writing tests for my #veilid tunnel system. Listening to some jams to get in the right mood.
https://soundcloud.com/espritfantasy/100-electronica-presents-china-follow-me
@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
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! 🌲✨
While liberating a Pixel phone I came across this poetry, and on the day Google is convicted of illegal market monopoly in the US: the power button itself, the interface to switching off a device one supposedly owns, is intercepted by a Google 'AI' product. The device can not be powered off, even using buttons as described, without first downloading software from the company.
This domineering and invasive interface culture has to be stopped.
😭 The #rust borrow checker is no pushover. Brain turning to goo trying to figure out how to tie the lifetime of this channel sender to an Arc of a callback closure.
Occult Enby that's making local-first software with peer to peer protocols, mesh networks, and the web.
Exploring what a local-first cyberspace might look like in my spare time.