Avatar for dBlog
dBlog
about essays blips photos now archive
  • October 17, 2019
    David G Smith David G Smith

    Yet another exciting opportunity for Dundee, a city of aspirations and dreams. Although I think a regenerative project would be better than using Camperdown.

    EXCLUSIVE: Eden Project in talks to create new Dundee attraction - The Courier

  • October 17, 2019
    David G Smith David G Smith

    A parochial house, Craggy Island

  • October 17, 2019
    David G Smith David G Smith

    Seán Ryan playing the whistle, Leap Castle

  • October 16, 2019
    David G Smith David G Smith

    National Gallery of Ireland, Dublin

  • October 14, 2019
    100DaysOfSwiftUI
    David G Smith David G Smith

    Day 15 of #100DaysOfSwiftUI: lunchtime doubly so

    Swift introduction and review complete, and still really enjoying the language. Nothing new for me in this, but I figure if I don’t build the habits I wont complete the 100 days. Looking forward to playing with SwiftUI ’tomorrow'.

  • October 14, 2019
    100DaysOfSwiftUI
    David G Smith David G Smith

    Day 14 of #100DaysOfSwiftUI: (not) recording progress

    My next step should really be to set up a GitHub repository in advance of the coding projects - practice what I preach. It’s always positive to record and reflect on your progress through a course.

  • October 13, 2019
    100DaysOfSwiftUI
    David G Smith David G Smith

    Day 13 of #100DaysOfSwiftUI: in review

    Paul Hudson (@twostraws) has produced a fantastic amount of Swift programming resources, including many that would be suitable for high school #CompSci students. Take a look at Hacking with Swift.

  • October 12, 2019
    100DaysOfSwiftUI
    David G Smith David G Smith

    Day 12 of #100DaysOfSwiftUI: optionals?

    Optionals at first seemed like over-engineering to solve a problem that was already “solved”, but the more I use them the more I appreciate them. Things like the nil coalescing operator just enhance that appreciation.

  • October 11, 2019
    edu
    David G Smith David G Smith

    TL;DR - key to positive wellbeing is getting good sleep and having good relationships.

    UK Department of Education publish a report on Children and Young People’s Wellbeing

  • October 11, 2019
    edu
    David G Smith David G Smith

    TES pick one part of a DoE report and run with a clickbait headline:

    TES: Mental health: homework ’linked to unhappiness’

  • October 11, 2019
    100DaysOfSwiftUI
    David G Smith David G Smith

    Day 11 of #100DaysOfSwiftUI: Nigel Tufnel’s happy hour

    Having worked or hobbied with many languages over the years, I think protocols are the magic sauce that turns object-oriented programming gourmet. Turns OOP up to 11, if you will.

  • October 10, 2019
    100DaysOfSwiftUI
    David G Smith David G Smith

    Day 10 of #100DaysOfSwiftUI: that’s class?

    To change struct property a ‘mutating’ function prefix is needed. This doesn’t work on constant structs, only variables - reasonable. But why need a mutating keyword at all? Oddities like this are why students think programming is hard.

  • October 9, 2019
    100DaysOfSwiftUI
    David G Smith David G Smith

    Day 9 of #100DaysOfSwiftUI: lazy is as lazy does

    Lazy execution is a powerful concept. It’s like a sophisticated type of procrastination, but with authority.

  • October 8, 2019
    100DaysOfSwiftUI
    David G Smith David G Smith

    Day 8 of #100DaysOfSwiftUI: for the record

    The humble struct of K&R days has given way to a much more powerful and capable descendant.

  • October 7, 2019
    100DaysOfSwiftUI
    David G Smith David G Smith

    Day 7 of #100DaysOfSwiftUI: closure closure

    Closures are all very fine and good. Having not programmed in anger, or much more than mild irritation, for so long now, I still need to get my eye in. How do other languages handle closures?

  • October 6, 2019
    100DaysOfSwiftUI
    David G Smith David G Smith

    Day 6 of #100DaysOfSwiftUI: the λ-calculus calculus

    Almost makes me want to dig out my old Haskell knowledge, dust it off, and… well, almost. One thing at a time.

  • October 5, 2019
    100DaysOfSwiftUI
    David G Smith David G Smith

    Day 5 of #100DaysOfSwiftUI: get a func on

    The game really gets raised on day 5. On top of the usual functions and parameters, we have variadic functions and error throwing! And TIL: you can use otherwise key words (e.g. for, while) as external parameter labels in Swift.

  • October 4, 2019
    100DaysOfSwiftUI
    David G Smith David G Smith

    Day 4 of #100DaysOfSwiftUI: goto 10

    Breaking out of loops to a label always feels a bit ‘goto’-like and reminds me of my youth spent hacking “space invaders” in Sinclair BASIC.

    Loops. ✅ Loops. ✅ Loops. ✅ Loops. ✅ Loops. ✅ Loops. ✅ Loops. ✅ Loops. ✅ Loops. ✅ Loops. ✅ …

  • October 3, 2019
    100DaysOfSwiftUI
    David G Smith David G Smith

    Day 3 of #100DaysOfSwiftUI: the secret life of modulo

    No idea why the operator is not named today, Some words are magical. For me ‘modulo’ is one of such word, as are ‘plethora’ and ‘dowp’. Operations and conditions are fine.

  • October 3, 2019
    edu
    David G Smith David G Smith

    WalesOnline: School completely bans mobile phones and teachers say kids’ behaviour changes

    Or perhaps a highly visible and empowered staff are making a positive impact on improving relationships?

← Newer Posts Older Posts →

dBlog | © 2026 David G Smith | All Rights Reserved