@groxx@hachyderm.io avatar

groxx

@groxx@hachyderm.io

The broom closet ending was my favorite.

I do a bunch of Go (at work), a bit of Rust (for fun), deeply enjoy teaching and learning, and looove that I get paid to work on open source. Concurrency and dependency nutjob.

I'm pretty sparse with toots and boosts, and I promise not to flood your feed because I'm not fond of it myself. (Corollary: if I unfollow you, it doesn't mean I don't like your posts! I just read literally everything and so I have to prune aggressively, and can't handle volume)

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

Found another snag re: dynamic linking Rust code — N copies of tokio are present, so that's N distinct thread-locals storing the "current tokio context"

...and the binary is calling the library from an executor, but the library doesn't think so.

https://github.com/tokio-rs/tokio/blob/65d0e08d39f06eba88661d3d6de665b14588f30d/tokio/src/runtime/context.rs#L77-L122

groxx ,
@groxx@hachyderm.io avatar

@fasterthanlime I continue to grow ever more convinced that globals are the original programming sin (not nulls). Thread locals are just spicy globals, and they cause all the same problems...

thephd , an Random Englisch
@thephd@pony.social avatar

Well, after wasting a bunch of time trying every combination of login names imaginable with the password I know works I guess it's time to just completely re-do my Mac from the ground up, because Why Not.

groxx ,
@groxx@hachyderm.io avatar

@thephd does it not even boot into internet recovery? That's capable of fixing almost everything in my experience, if you haven't tried that specifically.

If you can't even get into that... yep. Box. It's super annoying that they can't just use a USB drive to bootstrap it. It has bitten me once before.

groxx ,
@groxx@hachyderm.io avatar

@lina @thephd well crap. that seems... a bit short-sighted :/

no doubt there's some reasonable(ish) security reason for it, but the rest of us get pushed closer to disaster.

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

me as a rust beginner: yay I love adding methods to random types with trait MyExt
me now: what the fuck are these all traits, who the fuck added all of th-oh.

groxx ,
@groxx@hachyderm.io avatar

@fasterthanlime it's a sign that you yearn for even more shenaniganry.

The elder gods of chaos whisper: try Ruby. The only thing worse than too much power is not enough power, more monkey patching will solve your next issue too.

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

I messed something up in my asset pipeline and ended up with this beautiful and eerie bear chain

(can you guess what I got wrong?)

groxx ,
@groxx@hachyderm.io avatar

@fasterthanlime delving into audio steganography? is this code for "bear with me"?

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

The fact that this tool shows you not just the hour, but the day the task will finish on, is... ominous.

groxx ,
@groxx@hachyderm.io avatar

@fasterthanlime @Kiskae and the wallpaper was originally blue, but is now red because your computer is glowing red hot and the blue pixels are being overpowered

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.

groxx , (Bearbeitet )
@groxx@hachyderm.io avatar

@fasterthanlime @rakoo to add to ^ this:
Because go vet is extremely conservative by default, and will continue to be so because "only for guaranteed flaws" is the modus operandi, and doesn't get very many checks even if you include the opt-in stuff.

golangci-lint is a collection of both go vet and the most popular linters by the rest of the ecosystem.

SwiftOnSecurity , an Random Englisch
@SwiftOnSecurity@infosec.exchange avatar

When you see it you’ll shit brix

groxx ,
@groxx@hachyderm.io avatar

@SwiftOnSecurity so few with encryption :blobfoxsweating:

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

Ok gang, say you're stuck on a plane for 20 hours, what YouTube video do you take with you?

groxx ,
@groxx@hachyderm.io avatar

@fasterthanlime probably just this on loop tbh
https://youtu.be/KCzwyFHSMdY

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