@dysfun@treehouse.systems avatar

dysfun

@dysfun@treehouse.systems

Queer leftie anticapitalist sort currently in the netherlands; computers fear it.

I talk lots of wank about the stuff I'm working on, which at the minute is mostly rust green threading. Sorry about that.

I really like a language you've probably never heard of called idris that's quite different from most. I'm currently trying to teach it to people and write a wasm backend for it. I am also attempting to learn type and category theory.

#nobot #noindex

Dieses Profil is von einem föderierten Server und möglicherweise unvollständig. Auf der Original-Instanz anzeigen

fasterthanlime , an Random Englisch
@fasterthanlime@hachyderm.io avatar

Good, uhhh.. good morning

dysfun ,
@dysfun@treehouse.systems avatar

@fasterthanlime gotta say i was fairly impressed when i had to do this a couple of years ago. it's not ideal, but it's about as much as you can hope for.

but i was also debugging inline assembly, so maybe my expectations were lowered.

dysfun ,
@dysfun@treehouse.systems avatar

@fasterthanlime sorry, not terribly helpful but i never did catch why you were putting async executors into a loadable module?

dysfun ,
@dysfun@treehouse.systems avatar

@fasterthanlime yeah i don't like when things are running their own executors behind my back

icing , an Random Englisch
@icing@chaos.social avatar

Lets Encrypt on their plan and progress to run their services more and more on Rust implementations. They deployed ntpd-rs now.

https://letsencrypt.org/2024/06/24/ntpd-rs-deployment.html

dysfun ,
@dysfun@treehouse.systems avatar

@icing curious they mention rustls. rustls is based upon ring, which has a security policy of full disclosure and no means of privately reporting issues.

dysfun ,
@dysfun@treehouse.systems avatar

@fasterthanlime @icing ah cool. is it still default?

dysfun ,
@dysfun@treehouse.systems avatar

@fasterthanlime @icing oh, sweet. guess i wasn't paying enough attention 😬​

fasterthanlime , an Random Englisch
@fasterthanlime@hachyderm.io avatar

Since when did rustfmt start formatting "calls on tuples" like this:

{  
 (  
 StatusCode::OK,  
 format!("serve transcoded for {hapa} / {bp}"),  
 )  
 .into_http()  
}  

And how do I convince it to simply do

{  
 (  
 StatusCode::OK,  
 format!("serve transcoded for {hapa} / {bp}"),  
 ).into_http()  
}  

Instead?

dysfun ,
@dysfun@treehouse.systems avatar

@fasterthanlime 'simply' 😬​

fasterthanlime , an Random Englisch
@fasterthanlime@hachyderm.io avatar

me: wow "cargo check" sure is doing a lot of rebuilding maybe it's a rust-analyzer/zed bug

also me:

dysfun ,
@dysfun@treehouse.systems avatar

@fasterthanlime what on earth is that?

dysfun ,
@dysfun@treehouse.systems avatar

@fasterthanlime oh cool. i normally do this by hand

dysfun ,
@dysfun@treehouse.systems avatar

@fasterthanlime mmm from the readme it sounds too expensive for me to use unless i have to. guess i'll be sticking with repr(C) for a while.

fasterthanlime , an Random Englisch
@fasterthanlime@hachyderm.io avatar

Good morning Europe! Here's a thing for you (now or tomorrow night):

https://hachyderm.io/@fasterthanlime/112583689327551164

dysfun ,
@dysfun@treehouse.systems avatar

@fasterthanlime oh you're covering the naughty flag

dysfun ,
@dysfun@treehouse.systems avatar

@fasterthanlime i endorse the naughty flag btw. because i like my nightly features and i don't like my build suddenly breaking overnight for unrelated reasons.

dysfun ,
@dysfun@treehouse.systems avatar

@fasterthanlime i figure if they were serious about how naughty it was they would stabilise some more nightly features so you didn't need to use it

fasterthanlime , an Random Englisch
@fasterthanlime@hachyderm.io avatar

Thinking of starting a new service: I'll schedule calls with you, with the implicit understanding I'll cancel them 5 minutes before, and you get to reclaim 25/50 minutes for yourself.

(Note: this only works if you know I'll cancel, otherwise it's low-key rude)

dysfun ,
@dysfun@treehouse.systems avatar

@fasterthanlime are you hoping someone will make you a reciprocal offer?

fasterthanlime , an Random Englisch
@fasterthanlime@hachyderm.io avatar

I ran "golintci-lint" on that project I'm porting to Rust and I shouldn't have.

I shouldn't have.

dysfun ,
@dysfun@treehouse.systems avatar

@fasterthanlime yeah rust is great. i wrote this completely safe rust code that isn't even slightly scary https://gist.github.com/jjl/4c8ebf4bee2943a2b2d277741e13b787

fasterthanlime , an Random Englisch
@fasterthanlime@hachyderm.io avatar

left on the cutting room floor:

dysfun ,
@dysfun@treehouse.systems avatar

@fasterthanlime how did you get hold of my code to review in your video? https://gist.github.com/jjl/b0ba272feb8bd5b821bfeacec15debd3

foone , an Random Englisch
@foone@digipres.club avatar

Terrible idea: Christian programmer who comments their code with references to Bible verses which are applicable to the code's situation

dysfun ,
@dysfun@treehouse.systems avatar

@foone let he who is without sin cast the first pointer

  • Alle
  • Abonniert
  • Moderiert
  • Favoriten
  • random
  • haupteingang
  • Alle Magazine