Show more

That despite writing code for over a decade, TIL that NaN is not just a numerical equivalent of null. It’s closer to a primitive form of Maybe/Optional, in the sense that arithmetic operators are designed to output NaN should any of their inputs be NaN thereby propagating the error state in a similar fashion to monadic composition.

rlamacraft boosted

I understand that sending texts in meticulously capitalized and punctuated complete sentences makes me An Old and the thing is I am 100% fine with that.

TIL that it's not just humans that exchange homes in vacancy chains; hermit crabs queue up to exchange shells too!

rlamacraft boosted

I will say this, when you do actually get through to someone at HMRC they are very helpful. Just like all public services: run by people who genuinely do seem to care but just criminally understaffed and underfunded.

rlamacraft boosted

IDEs reduce code complexity much in the same way that a highway reduces traffic.

rlamacraft boosted

Reading newspaper stories and various other media, it's pretty clear that Musk didn't rename "Twitter" to "X". He renamed it "X, formerly known as Twitter."

rlamacraft boosted

We curse the one benighted chap /
Who felled the sycamore at the gap /
but tolerate those richer guys /
who burn whole forests, seas and skies.

Simon Heywood, 2023

rlamacraft boosted

Was introduced to Herrington Darkholme’s `ast-grep` tool and my god it’s so useful. Think Babel, but since it’s built on tree-sitter, it works for *so many* languages out of the box.

Here I am adding methods to structs in C for a side project: bit.ly/3PQ02uv

rlamacraft boosted

Labour refusing to commit to undoing Tory U-turns on net zero. It's a trap and Starmer has fallen right for it. What's even the point of voting for them if you just get the same policies. The Labour party just swings from Tory-lite to unelectable and back again every five years.

Labour need to wake up and realise that Proportional Representation isn't just good for the country, it's good for them too theguardian.com/politics/2023/

I've been listening to an episode of The Changelog podcast "You call it tech debt I call it malpractice"[1], which got me thinking what if every time we as developers wanted to to introduce some tech debt we had to fill out a form detailing our decision making and the required remediation work. These could then be reviewed periodically.

Every time we cut some corner, fail to sufficiently document or test a change, or otherwise leave the code base in a less than an ideal state there would be a trail of documentation. We could then begin to attach a cost to each documented case, and start to have a systematic process of performing cost-benefit analysis.

[1]: pca.st/episode/34cdb2de-7ff6-4

rlamacraft boosted
rlamacraft boosted

I'm not sure what I did to deserve this fortune cookie curse, but whatever it is, I'm sorry.

rlamacraft boosted

If you’re a nerd like me and have an hour’s time, watch this talk on e-mail by @dylanbeattie. youtu.be/mrGfahzt-4Q #NDC #NDCOslo

rlamacraft boosted
rlamacraft boosted

Ah, Elon Musk. He tried to be the Henry Ford of space travel but instead became the Liz Truss of social media.

Show more
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.