I’ve been composing an orchestra piece for slightly over two years now. I’m kind of learning how to do that as I go along, having only really written songs for up to three instruments beforehand.
I’ve been composing an orchestra piece for slightly over two years now. I’m kind of learning how to do that as I go along, having only really written songs for up to three instruments beforehand.
Yeah, it’s a bit of a stretch goal. 🙃
When I learn a new language, I like to implement the Sieve of Erastothenes (which is a simple algorithm for finding prime numbers), and I had done so with Rust. Two years or so later, I looked back at that code and thought, damn, that looks like a Java dev wrote it.
Then I realized the most idiomatic way of implementing that would be an iterator. This was actually an interesting challenge, because typically Sieve of Erastothenes uses an upper bound, which I didn’t want to have.
But yeah, it was also just wild to me, how much different the iterator code looked (and in many ways, how much better it was). It was just really cool to see, how much I had progressed in those two years.
Turn the Fibonacci series into an Iterator. >:)
Yeah, the whole Flat Earth stuff is a relative modern re-occurrence.
We’ve had concrete evidence of a globe Earth and a pretty accurate measurement of the circumference since the 3rd century BC (Erastothenes). ¹
Heliocentrism was theorized by the Ancient Greeks, but we’ve only had concrete evidence/math since the 16th century (Copernicus). ²
Then in the 19th century, you had the writer Washington Irving who wrote a romanticized biography of Columbus and claimed that folks in the Middle Ages believed the Earth to be flat, which was just not true. ³
And then there was Samuel Rowbotham, another writer who just made up a whole load of bullshit and kind of brought the conspiracy theories underway. ⁴
¹: https://en.wikipedia.org/wiki/Flat_Earth
²: https://en.wikipedia.org/wiki/Heliocentrism
³: https://en.wikipedia.org/wiki/Myth_of_the_flat_Earth#Irving’s_biography_of_Columbus
⁴: https://en.wikipedia.org/wiki/Samuel_Rowbotham
Hmm, it didn’t turn into a mail link for me on the Lemmy webpage, so I left it, but yeah, I guess some clients might make it a mail link…
Not quite in the spirit of this post, but I managed to complete Dungeon Crawl Stone Soup for the first time this year. It’s been my favorite game for a few years now, but it’s a roguelike and doesn’t allow for many mistakes, so lots of starting over.
That is also the complete list of games I completed this year. I started replaying Thomas Was Alone, but somehow the platforming passages were a lot more frustrating to me, so haven’t finished it…
Yeah, particularly it costs more, which you would need customers to want to pay for. If those same customers can just get an OBD-2 connector for a fraction of the upcharge, that’s not gonna work out…
Third panel is out-of-context comics material. 🙃
At some point, I thought about dicking around with Plymouth themes, but then I remembered that I reboot maybe once every three weeks, if I’m being generous…
cross-posted to: !linuxsucks@lemmy.world
The duality of linuxmemes and linuxsucks strikes again. 🙃
I mean, he announced it as:
I’m doing a (free) operating system (just a hobby, won’t be big and professional like gnu) for 386(486) AT clones. This has been brewing since April, and is starting to get ready.
[…]
It is NOT protable (uses 386 task switching etc), and it probably never will support anything other than AT-harddisks, as that’s all I have :-(.
So, yeah, he wasn’t exactly claiming he’d revolutionize the world…
I expect Rust to be inevitable in embedded development, but yeah, that space moves slow, so give it another ten years or so. I will say that embedded is practically jumping on Rust, compared to how glacially it normally moves. You’ve got big vendors committing to offering Rust APIs, because many of their customers just don’t want to code C/C++ anymore.
I’ve been enjoying Fira Sans and Fira Mono for far too long: https://mozilla.github.io/Fira/
It’s ‘minified’, in case you’re not familiar with that. Basically, many webpages come with such obscene amounts of JavaScript, that it genuinely impacts how quickly the webpage downloads. And then replacing such amenities as whitespace or readable variable names with just 1 space or 1 letter, where possible, genuinely improves on that.
HTML is code (it’s a way of encoding information). It’s just not typically seen as a programming language.
I would not throw Rust and C together in this.
Rust is low-level in terms of being usable for kernel and embedded development (due to not needing a runtime), but it’s rather high-level in terms of the syntax offering lots of abstraction from the weirdness of the hardware.
Some of that not-needing-a-runtime does bleed into the syntax, but in my opinion, it’s still higher level from a syntax perspective than Bash et al, because it brings in many functional aspects.
I guess, I’m also just bothered by you saying, you don’t ‘need’ Rust for writing CLIs, when it’s my favorite language for this.
To some degree, I do just find it ridiculous to launch a whole runtime when the user just wants the --help
, but the argument parsing in Rust is also just really nice: https://rust-cli.github.io/book/tutorial/cli-args.html#parsing-cli-arguments-with-clap
I know you’re joking, but uh, both of those are (largely) implemented in Rust…
Did he actually say that he likes it? My impression was that it’s not his comfort zone, but he recognizes that for the vast majority of young programmers, C is not their comfort zone. And so, if they don’t hop on this Rust train, the Linux kernel is going to look like a COBOL project in a not too distant future. It does not happen very often that a programming language capable of implementing kernels gains wide-spread adoption.
I can see the algorithms of the big social media sites are working excellently. Need to censor “fuck”, but the obvious porn allusion is a-ok.