god do I need every politician to talk like this
Posts by andre π
Zig isn't even at 1.0, it still needs much more time before it can be seen as a worthy replacement for C.
it's much closer to slack/discord, with a lot of other nice stuff on top
mattermost is pretty good :) i hate that our org switched us from this to teams recently
zig is much more fun than i expected
how many standard libraries have mersenne twisters? Even c++ didn't get it until c++11. Many will have a random() function but to get finer control you'll need a dependency regardless.
I haven't researched randomized partition point algorithms for quick sort, but wouldn't just fetching the system time modulo the array length be random enough? Prng engines are already provided by the community, it's trivial to just pull a crate if you need it and don't want to make it yourself.
as horrible as this administration is, thank god they're doing everything by circumventing congress instead of going through it. at least the damage is plausibly reversible
textualists the moment the text says things they don't like:
nice! (and if you prefer online versions, pro git is fully available here for free: git-scm.com/book/en/v2 )
it legitimately stuns me that any software written in Python and typeless JavaScript works at all
Introduction to Algorithms is one of the most recommended textbooks, it has everything you would ever need for algorithms and data structures (even if you only read half of it). I also recommend Pro Git if you're new to git
i recommend reading textbooks cover to cover, helped me waaaay more than paying attention in lectures ever did ^^
You learn pretty much all of this at university though? and i wouldn't call any job in tech "bottom of the food chain", that's absurd
This was a deliberate design choice. std is kept as small as possible, limited to functionality that only has one sensible implementation. Use crates for everything else. This way we aren't stuck with archaic apis decades from now, a common problem in langs like c++ with bloated stdlibs
I've never had impostor syndrome from my job, it's pretty obvious I'm not the only lazy useless dev. But I do get it from massive open source projects maintained by one/two guys in their free time
this is the power of woke
why do modern developers have such strong opinions on languages they've never used? every online discussion about a particular language is dominated by people arguing from positions of total ignorance. if you aren't familiar with the language and its ecosystem where does your confidence come from?
this doxxing discourse has shifted conversation away from how we now have college aged kids with meaningful influence over how our society functions. the only reason anyone considers this "doxxing" is because of that crazy fact
why am i seeing some of the maga guys say the canadian tariffs are necessary to 'get them to behave'? what did canada even do??
Must be a mistake! I was assured they were only worried about surgeries on minors and women's sports.
I'm viewing SelectionKind as a typeclass/trait where Single implements it with string as its associated type, and Multiple implements it with string[] as its associated type
new typescript update is trying to emulate associated types in probably the worst possible way, still cool that it's sorta possible now
i can already feel the pendulum swinging back
astral observatory i think
AGI feels similar to climate change, everyone is scared of a major catastrophic event that wipes us from existence but it's more like a frog-being-slowly-boiled-alive thing
if i wasn't able to use headphones at work i would get nothing done
I now think devs who spend most of their time with html and css are the true engineers. anyone can learn data structures, few can remember every flex box parameter without google. im not built for this
hi c:
one of those features where you wonder how you ever survived without it