Michal boosted

@hisham_hm trying to answer the question (no one is asking) "is getting slower?" Here is a plot of the time it takes to run "$ lua ./tl gen tl.tl" over all the commits on my computer (5 run average), plotted by date. I will need to revise my methodology to make it work on older commits.

I read Mastodon, I close Mastoson.... I reopen Mastodon. Must stop and do something productive.

@climagic In true CLI fashion, install f3 ("fight flash fraud") to check your flash drives:

$ apt install f3 # Debian/Ubuntu
$ yay -S f3 # Arch


My Thinkpad's keyboard space key stopped responding on one side, so I wanted to check what is underneath. Popped the key up - oh no! The construction inside flew apart. Checking stores, replacement keyboard costs €50. No way, need to get this working again. A pair of tweezers, light, magnifying glass, patience and 30min later I have my space bar working again. €50 saved 😄 There goes a nice evening, nothing done, time to sleep.

Michal boosted

> there's already a library for X

...and there's already a song about love. Doesn't seem to stop songwriters.

@hisham_hm I gave up on french language early on when I learned that "e-a-u" is pronounced /o/.

@hisham_hm some languages do this, e.g. with Spanner SQL [1] accesing items in arrays, you have to specify an OFFSET (zero based) or ORDINAL (one based), and both are supported at once, and you have to be explicit.

[1] cloud.google.com/spanner/docs/

Michal boosted

"Telling a programmer there's already a library to do X is like telling a songwriter there's already a song about love"

-- Pete Cordell

Michal boosted

"What’s funny to think about is that if instead C had not done that and used 1-based indexing, people today would certainly be claiming how C is superior for providing both 1-based indexing with p[i] and 0-based pointer offsets with p + i."


Michal boosted

LEDs From Dubai: The Royal Lights You Can’t Buy

[Clive] had an interesting video about LED lights from Philips. You can’t buy them unless you live in Dubai. Apparently inspired by the ruler of Dubai, Sheikh Mohammad Bin Rashid Al Maktoum, who wanted mor… hackaday.com/2021/01/17/leds-f

Original tweet : twitter.com/hackaday/status/13

I found in my Steam library (who knows which HumbleBundle I bought it with) and I only recently discovered what a gem it is. Easy to get into, good level design, progressively increasing difficulty, humorous, lots of fun, "kid friendly violence" (I'm OK with my kids playing it and they enjoy the game), level editor, and when you have 4 controllers, there are many game modes available for the whole family to enjoy. Did I mention tons of fun? 🙂 tested

Michal boosted

Quit vim by typing ESC, :q, ENTER. Also, try this:

:help 42

Michal boosted

Have to make use of that FICSMAS event before it's too late...

Show older

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!