I cancelled streaming music services a few weeks ago and haven't missed them. I bought digital copies of a few favourite albums that I didn't own. Now I feel the next step is to buy a dedicated music player again, even if just to fill with all my music and leave on the desk at work. I can live with a few favourites on my phone. There are dozens on Amazon around £20 but are they any good?
Played https://en.m.wikipedia.org/wiki/Her_Majesty%27s_Spiffing from start to end on Nintendo Switch this evening.
- it's very funny (if you're British)
- the artwork is amazing
- an adventure game you can finish in an evening is very refreshing. I can imagine sitting a friend in front of it and playing it again to the end
- £10 well spent. More please!
I was sad about doing #AdventOfCode day 8 without parser combinators, so came back and did it properly.
#AdventOfCode day 7 had me really scratching my head for a while (it was Friday evening and I had a glass of wine so it wasn't all bad) until I googled and found Kahn's algorithm. Need to re-read my Knuth I think.
Day 8 was a breeze by comparison, and took me just over half an hour. I might come back and redo it later to really show off the power of parser combinators.
I've been helping my friend who is a senior citizen with her computer and she keeps frustratedly being like "Wait, how did you know that?!" and I keep saying "I don't know shit. I kept clicking til something changed." I don't want to "teach her computer". I want to teach her that the computer people don't know shit other. Just keep clicking stuff until you get the desired response...just avoid the buttons that say "erase" or "delete".
I'm really enjoying #AdventOfCode again but as I'm in the UTC timezone they come out at 5am each day. I get up slightly early, squeeze in maybe an hour before work then have to think about it all day. Tomorrow I think I'll try really hard to ignore it until after work. It'll be Friday and the perfect companion to a glass of wine.
#AdventOfCode day 6 was a cracker. Mainly because I knew right away how to solve it!
I had a friend at university who, when you were away from your computer, would scroll up a page and insert the word 'baboon' into whatever you were writing. Later hilarity ensued on proofreading/compiling/submitting the work.
In homage to him my tests which verify that digests and signature checks work invariably insert the word 'baboon'. Sometimes I use 'orangutan' for variety.
I hated #adventofcode day 5! Even more so when I finally got something that worked but was crappy code and a bit slow, then went online to see what other people had done and there is at least one beautiful, elegant and high performance solution!
My wife is watching cheesy made-for-tv Christmas films and I am waiting for tomorrow's #adventofcode and wondering how we ever got married.
Eagerly awaiting http://adventofcode.com to start. Not sure which language to use this year though. Rust or Clojure?
Imagine if modifying a file required a &mut reference on it, and to get that you'd have to start from a &mut reference on the mount, which you can only get if it's mounted rw. Mounting overlayfs would take a mutable borrow of the upper fs and a shared borrow of the lower, so you can't modify either while overlayfs is mounted.
A possible slogan for the OOP wars:
"Data reuse is more important than code reuse"
ie a big problem with OOP is that once data is packaged together with behaviour into a class, it's very hard to reuse that data in ways unexpected by the original class developer
worse, "not being able to get the actual data" (encapsulation) is a deliberate OOP design goal, so it is unlikely that you will be able to get your data out of an OOP system intact. Unless you store it in parallel in a non-OOP system.
Functional programming and bicycles with a bit of electric guitar. Edinburgh, Scotland.
functional.cafe is an instance for people interested in functional programming and languages.