246 karma · joined October 8, 2021
I’m not looking for APL levels of terseness, but I also don’t want to have my code mistaken for an essay filled with what amounts to scaffolding.
sum(1,n) = n*(n+1)/2
Which some compilers will produce for you, even if you use loops.
Maybe if you chose a different example, like generating power sets or the Fibonacci sequence, your point would be better made?
Warning: If you’re a huge fan of Bohr and the Copenhagen interpretation of quantum physics, you may not enjoy it as much.
For 35+ years I’ve been using right-shift for things on the right side of the board, cranking my hand and stretching my fingers and complaining about programming languages with poor typing ergonomics.
It’s taking forever to break the habit, but so far it feels so much better.
Nothing to do with the article, but it would be nice if Slack (or IOS/Android) offered better customization of notifications. Errors and warnings are indistinguishable from regular messages on mobile, which means they often get lost in the shuffle.
Mermaid’s flow chart layout engine is quite nice, too. I’ve yet to encounter the kind of messes that graphviz comes up with regularly, even with complicated flow charts.
Even if they were, pi is not between zero and one, so would not appear in your list.
The rest of your argument is difficult to parse. If you’re interested in this kind of stuff though, I’d really recommend picking some good books on set theory and maybe number theory. Set theory in particular will cover a lot of what you’re talking about.
Generally, low latency means producing a result as soon as possible. Threads are ideal for that case, expending spinning cpu time for asap processing.
The best description I’ve heard of async is concurrent waiting, vs concurrent processing for threads (from the excellent zero2prod book).
I’ve worked my way through a couple of rust books, but this was the first one that actually talked not just about the language, but the entire development flow. Git workflows, CI/CD, docker, comprehensive testing.
Even after clearing the initial rust fundamentals, there are so many standard libraries like anyhow, chrono, serde, thiserror, and tokio that are almost required knowledge, but aren’t covered in most books.
Thank you for sharing your discovery!
Phase 1: iPhone w/o autocorrect but with text replacements.
Phase 2: iPhone and macOS, but text replacements are synched without option to disable. I don’t want autocorrect or replacements while typing on a real keyboard.
Phase 3 (reluctantly): iPhone with autocorrect, macOS without it, and no text replacements.
tl;dr it would be nice if I could disable text replacement on a per-device basis.
Unfortunately, when I got a Mac laptop, those replacements were synched and for some reason can’t be disabled on just one device.
Now I’m back to autocorrect, fighting with the AI to learn technical terms and command line entries for when I need to talk to colleagues over chat.
It could be rose-tinted glasses, but I'd love to find a way back to the distraction-free coding days. Focus is by far my biggest battle these days, especially when running up against seemingly bizarre deficiencies (most recently, lack of unsigned 64-bit int support in postgres).
Hitting these kinds of walls almost always causes me to go wandering through distraction sites because I can't bring myself to build a bridge over yet another small discrepancy.
That's still the case, but it feels like today's software development reality is different. There are endless frameworks, apis, devops methods, scalability concerns, and n+1 standards with which to integrate and keep up to date on. Knowing your language is only about 25% of the battle, and few projects are developed in a vacuum.
It's not possible to keep track of all those things, so endless internet searches are the end result.
There is no opt-out, unfortunately, either during the add process or after the fact.
According to the linked support article, there are no options to disable this "feature" aside from removing the account. I used a new account to test it out, and was unable to find out where the data was synced to and there's no way to verify it was deleted completely after I removed the account.
Except that’s specifically the use case of UUIDs: to have a decentralized method to generate unique IDs with minimal chance of collisions. If you have centralized control, of course there will be options with more attractive properties: they aren’t dealing with the same constraints.
By far and away my favourite site of all time.
It’s a beautiful example of representing complex data in a manner that’s easy to digest, viscerally understand, even.
It’s also the first time I heard of the Misery Index, which was fun to learn about.
The idea of neatly packaged-and-served justice doesn’t mesh with the reality of trauma inflicted by the crimes. Some stigma should remain with perpetrators, regardless of time served.
It’s not as important now, but one thing I really like about them is how portable they are. If I have to travel to work at a client site or visit an office, a Pok3r is trivial to bring along.
Once you’re really used to a semi-exotic keyboard, it’s really frustrating when they’re not available.
The worst situation is feeling the need for enough audio stimuli to feel “right”, but that level is too distracting to allow for focus.