We had to use Nix to build Rust services and make containers of them. It works pretty well, except with Nix 2.29 and 2.30 where it is broken for some reason
Rust dev, I enjoy reading and playing games, I also usually like to spend time with friends.
You can reach me on mastodon @sukhmel@mastodon.online or telegram @sukhmel@tg
- 4 Posts
- 991 Comments
Wait, so you say
res_res??gives more information thanres_res.flatten()?, do you?I mean, this is a very trivial case and not best suited for flatten at all, but the information is lost in exactly the same way
This, it’s not a thing that happens often, but there were a couple of times when flatten would’ve been handy
This was also usually a result of a chain of
and_thenthat could do with some flattening. This could’ve been rewritten as a separate function to make use of?, but it seems to be a bigger trouble than use
slightlydarkerbutnottoodarkgreyis my favourite grey
lad@programming.devto
Programmer Humor@programming.dev•My skill prevents bugs, unlike your fancy compiler, peasant.English
1·5 个月前My condolences on not being saved and accepted, I hope the future still holds good things for you 🙏
lad@programming.devto
Programmer Humor@programming.dev•My skill prevents bugs, unlike your fancy compiler, peasant.English
2·5 个月前If we measure only by the amount of mistakes, there would be much more skilled C developers. Take my pristine skills for example, I’ve made zero mistakes writing all of my 3 lines of C code over years and years, zero mistakes
lad@programming.devto
Programmer Humor@programming.dev•My skill prevents bugs, unlike your fancy compiler, peasant.English
8·5 个月前Off the top of my head, single-threaded writing to the same memory from different fields of a struct. Not to mention self-referencing like if you want to hold a buffer and have different views into it in the same structure.
lad@programming.devto
Programming@programming.dev•We Asked 100+ AI Models to Write Code. The Results: AI-generated Code That Works, But Isn’t SafeEnglish
1·5 个月前We’re on to a new era of brilliance, I’m sure
Besides, in Thunder it shows username in a drop-down on the comment screen
lad@programming.devto
Programming@programming.dev•We Asked 100+ AI Models to Write Code. The Results: AI-generated Code That Works, But Isn’t SafeEnglish
6·5 个月前Wow, were you so outraged, you dropped all the ‘ð’ and ‘þ’?
lad@programming.devto
Programmer Humor@programming.dev•How to browse websites in 2025: 13 simple stepsEnglish
18·6 个月前Now age verification should be added to the list, especially if you want to browse 18+ sites like about how to pay taxes or learn to drive
lad@programming.devto
Asklemmy@lemmy.ml•OK, not to be runde or anything, but why is your banner AI generatedEnglish
3·6 个月前If we’re vulgar materialists, then it follows that there is no free will, and thus no reason to advocate for societal change.
No free will doesn’t imply no change. Lifeless systems evolve over time, take rock formation as an example, it was all cosmic dust at some point. So no, even if we do accept that there is no free will that shouldn’t mean perfect stasis
Yeah, I can totally see pet projects done with this, it would be relatively simple to understand by others, and you can get to know your project through and through.
have no package manager and encourage less code reuse as a shared value
Also, its main goal is understandability, but some stdlib is written in assembly. I mean, this looks like a nice but very niche language, for some small endeavours maybe?
So, if you worked on it first, do you get a discount for watching and helping, because it doesn’t add up?
lad@programming.devto
Programming@programming.dev•Cursed knowledge we have learned as a result of building Immich that we wish we never knew.English
3·6 个月前That’s almost as good as the ones that limit password on the sign-in UI, but not on the sign-up
lad@programming.devto
Programming@programming.dev•Cursed knowledge we have learned as a result of building Immich that we wish we never knew.English
8·6 个月前GPS information from the source
Here, I think you’re being downvoted because you missed one of
ðinthe
lad@programming.devto
Programmer Humor@programming.dev•[No PHPun Intended] A Brief History of Web DevelopmentEnglish
2·6 个月前✍️ we need PHP interpreter written in Rust, noted
lad@programming.devto
Programmer Humor@programming.dev•[No PHPun Intended] A Brief History of Web DevelopmentEnglish
2·6 个月前I’ve toyed with WASM, creating a simple sudoku page, and it did take an empty page, added all the buttons, and then changed them upon user interaction.
I think, I also heard of the DOM modification limitations, but it’s not a hard barrier afaik, there are just some cases where it can’t
But still, doing something in (pure) WASM looks way harder than needed to me
lad@programming.devto
Programmer Humor@programming.dev•[No PHPun Intended] A Brief History of Web DevelopmentEnglish
6·6 个月前A language usually doesn’t become worse with time, at least if the devs do a good job at improving it.
There are cases of new languages that looked better but didn’t become mainstream because the ecosystem requires time to grow (and adoption, which creates a vicious cycle because adoption requires ecosystem to already be there)




Yeah, this whole meme just looks like ‘I hate Rust and don’t want it anywhere’
Of course, there is importance in trying it everywhere, because it shows where the language and ecosystem lacks and can evolve; but beside that, I think adoption by big companies wouldn’t happen if it wasn’t any good as some want to believe