July 13, 2024
Using Linux for your first time can be very exciting. You suddenly gain access to a wealth of customization options, all the free
and open-source software you could ever want or need, and access to a strong community of (sometimes overly-)enthusiastic Linux users. But
before you dive headfirst into this new world, there's an important consideration I'd like to advise you on. It boils down to this: don't
"switch to Linux" on your one and only computer. Don't dual-boot it and don't bother with getting a second hard drive. In
essence, do not touch your current working computer, no matter what operating system it's running. Leave it fully operational and invest
in a cheap second computer instead. You can thank me later!
Read More...
linux (10)
February 25, 2024
I wrote a small shell script™ to automate building new Linux Kernels. I use this to build new kernels on my Debian systems:
#!/usr/bin/env bash
WORKSPACE='/home/gd/workspace'
LINUX="${WORKSPACE}/linux"
find "${WORKSPACE}" -type f \( -name 'linux-*deb' -o -name 'linux-upstream*' \) -mtime -3 -exec rm {} \;
Read More...
linux (10) kernel (5) bash (3)
December 17, 2023
My new book Hand-on Test-Driven Development Book has been published: https://tddbook.com/.
![Hand-on Test-Driven Development Book Hand-on Test-Driven Development Book](/imgs/70)
Read More...
ruby (5) rails (4) tdd (1) rspec (1)
November 26, 2023
On new Rails apps, that are not in production yet, I sometimes like to reorder my database migrations. I wrote a small Ruby script to automate things.
Read More...
rails (4) database (2)
August 2, 2023
I wanted to learn to create a dynamically-named method inside a dynamically-named class in Raku. This is what I ended up with:
#!/usr/bin/env raku
my $class-name = "MyDynamicClass";
my $method-name = "dynamic-method";
Read More...
raku (16) ruby (5) meta (1)
April 28, 2023
I wrote Blackjack in Elisp. It allows you to play Blackjack in your Emacs editor.
![Blackjack in Elisp Blackjack in Elisp](https://raw.githubusercontent.com/gdonald/blackjack-el/main/imgs/ss1.png)
Read More...
blackjack (14) emacs (1) elisp (1)
December 25, 2022
Wow, if Django and Rails had a baby it would be Marten, the web framework written in Crystal, https://martenframework.com/.
It seems fairly feature-complete, even with only a 0.1.x version number! https://martenframework.com/docs/.
The documentation looks really solid. Clearly they just love to program and give to open-source! https://github.com/martenframework.
Read More...
crystal (2) web-framework (2)
November 27, 2022
About two days ago I built the “bookshelf” app described in the Hanami guide. Hanami is currently missing any sort of “model” layer, as well as any sort of “view” layer, as you might expect to be present from using Ruby on Rails or other MVC web frameworks.
I asked about these missing pieces on the Hanami forum and it was explained to me the missing pieces will appear in the 2.1 release, in Q1 2023, and in the meantime to please go look at two other projects, to learn by watching them being built. I looked at the two projects but saw no model or view layer code.
And as nice as I can think to say this, I don't understand how they got to a place where they decided a 2.0 version number was appropriate, given these basic components are not present, not even in some very basic form. Hanami presently seems more like a 0.5 version framework to me.
The Hanami homepage currently contains the words "full-featured". I have no idea why they would say that. "2.0" implies to me a second major version of an already completely fleshed-out framework. ¯\_(ツ)_/¯
I stopped looking at it for now. I don't want to invent all the missing pieces only to have my code become obsolete in 6 months.
Read More...
web-framework (2) hanami (1) mvc (1)