@neilgall@mastodon.scot
@neilgall@mastodon.scot avatar

neilgall

@neilgall@mastodon.scot

Emptier of drip trays, filler of beans.

This profile is from a federated server and may be incomplete. Browse more on the original instance.

neilgall, to random
@neilgall@mastodon.scot avatar

Ok I thought I switched off my work computer before Christmas but I just checked it and some app prevented shutdown. Surely that problem could have been solved by 2024? (e.g. APIs should exist for well behaved apps to save and restore their state, and we could make the OS tell poorly behaved apps to eff off)

neilgall,
@neilgall@mastodon.scot avatar

Anyway I've changed ("upgraded" ceased to be an accurate word years ago) to the latest macOS. I hope I don't regret this.

acf, to random
@acf@masto.alancfrancis.com avatar

I was Amiga programming and I missed the bells 😂 happy new year folks.

neilgall,
@neilgall@mastodon.scot avatar

@acf I was letting the dog out for a pee. Happy new year!

Alleman, to animals
@Alleman@mastodon.world avatar
neilgall,
@neilgall@mastodon.scot avatar

@Alleman Ah yes the pre-rinse cycle.

neilgall, to random
@neilgall@mastodon.scot avatar

Cool weather, a fully loaded car and a strong headwind made for a very energy hungry #ElectricCar journey south from Aberdeenshire today. Just 2.5 miles per kWh.

neilgall, to DoctorWho
@neilgall@mastodon.scot avatar

Caught up on by watching the Christmas day special then The Giggle (yes, out of chronological order, time lord style). The only show that can make an intense action sequence out of a game of catch.

neilgall, (edited ) to random
@neilgall@mastodon.scot avatar

I'm sure I cleaned the house last Christmas. Who made all this mess all of a sudden?!

neilgall, to random
@neilgall@mastodon.scot avatar

Shut down the MacBook for the last time this year. I predict it will take until new year's day to get used to the idea of being on holiday, then it's back to work.

neilgall, to random
@neilgall@mastodon.scot avatar

There's always at least one Dijkstra algorithm day in #AdventOfCode. I think I can do it from memory now. Really running out of motivation though.

neilgall, to random
@neilgall@mastodon.scot avatar

I'm a few days behind on #AdventOfCode but I've reached the point if the input is a 2D map I just skip it.

Nick, to Scotland
@Nick@3rdstone.cc avatar

Pink Highland Cow, on the Isle of Mull, May 2023.

#CowsOfMastodon #IsleOfMull #Scotland

neilgall,
@neilgall@mastodon.scot avatar

@Nick Lovely. Thanks also for posting near the winter solstice and reminding us there will eventually be daylight and sunshine again 🤣

jeffowski, to animals
@jeffowski@mastodon.world avatar
neilgall,
@neilgall@mastodon.scot avatar

@jeffowski This is what we found one morning in 2011 when our cats were still kittens.

neilgall, to random
@neilgall@mastodon.scot avatar

Dark fruit cider and Inner Circle pale ale, both ready on the 24th. Now I have an answer when anyone asks if I'm ready for Christmas.

yurnidiot, to random
@yurnidiot@mstdn.social avatar
neilgall,
@neilgall@mastodon.scot avatar

@frigginglorious @yurnidiot I found it by searching Amazon for "magnet game" https://amzn.eu/d/i7mPxxP

neilgall, to guitar
@neilgall@mastodon.scot avatar

Last night I relearned one of my own metal #guitar solos recorded in 1993 when I was 22. I played pretty fast but was never like your modern shredders (still don't really like that style, tbh). Hard to capture the raw energy of it but feels natural to drop a few notes and play with a bit more expression now. It's a metal solo with reading glasses on.

neilgall,
@neilgall@mastodon.scot avatar

A lot of my old thought processes came back though. Seems to mostly be in a locrian mode with some nice little arpeggios mirroring the chord sequence, etc. Tasty wee semitone bends. As I say I was never a scale shredder.

If I get good enough at it I'll record it and present the 30 years apart versions side by side.

neilgall,
@neilgall@mastodon.scot avatar

Or phrygian perhaps - don't think there's a flat fifth. I used to know this stuff by heart.

neilgall,
@neilgall@mastodon.scot avatar

Anyway I'll try to relearn more of my old stuff since I have a few more recordings. Except there's one I know was a deliberate cacophony of noise. Maybe that's best left in my 20s.

neilgall, to random
@neilgall@mastodon.scot avatar

I think I know how to do #AdventOfCode day 10 part 2 but I'm heading out to a band practice. The first jam in 27 years with my old 90s band mates in fact. Should be a blast.

neilgall, to random
@neilgall@mastodon.scot avatar

Relatively simple #AdventOfCode today, especially for a weekend. But it gives me a chance to go back and debug my day 7 part 2 which passes tests for the examples but gets the wrong answer. https://github.com/neilgall/advent-of-code-2023/blob/main/day9/day9.py

njoseph_1, to FunctionalProgramming

In a language like JavaScript, if you ever find yourself thinking about which object-oriented design pattern to use, just check if you can use a higher-order function instead.

Function-passing obviates the need for most object-oriented design patterns if your programming language is functional enough.

#functionalProgramming #fp #designPatterns

neilgall,
@neilgall@mastodon.scot avatar

@njoseph_1 Many object oriented patterns are just a re-expression of higher order functions.

neilgall, to random
@neilgall@mastodon.scot avatar

Preheating #ElectricCar with heat pump from the house electricity on a cold day. Was completely frozen, but ready to drive in 5 minutes.

Car windscreen on a frosty day with visible rising vapour as the internal heat evaporates the moisture on the glass.

neilgall, to random
@neilgall@mastodon.scot avatar
neilgall, to random
@neilgall@mastodon.scot avatar

Argh! Another day I'm two cups in before realising the coffee machine still has decaf in it...

neilgall, (edited ) to random
@neilgall@mastodon.scot avatar

The combinatorial explosion in part 2 of day 4 is a common #AdventOfCode trap. Thankfully I spotted this one on reading the text, not after writing a bunch of code! https://github.com/neilgall/advent-of-code-2023/blob/main/day4/day4.py

#AdventOfCode2023

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • mdbf
  • ngwrru68w68
  • modclub
  • magazineikmin
  • thenastyranch
  • rosin
  • khanakhh
  • InstantRegret
  • Youngstown
  • slotface
  • Durango
  • kavyap
  • DreamBathrooms
  • megavids
  • GTA5RPClips
  • tacticalgear
  • normalnudes
  • tester
  • osvaldo12
  • everett
  • cubers
  • ethstaker
  • anitta
  • provamag3
  • Leos
  • cisconetworking
  • lostlight
  • All magazines