"The Problem When I write tests in Java, I find it tedious to manually create objects and setting attributes. Code easily turns out like this:
var foo = new Foo("Satellite", 1000, true); var bar = new Bar("Edward", "Scissorhands", List.of(foo)); // do stuff assertEquals(foo, bar.findByName("Satellite")); Here we're first creating a Foo, which is then added to a Bar. We then test that we can find the Foo when we ask the Bar to search for it."
"A year and half ago I ended a two year experiment using Windows as my daily driver OS. In short, I felt WSL had too many wrinkles that annoyed me. I switched back to Linux and it was like coming home after being away for too long.
Since then I've tried a number of distros and desktop environments, and I believe I have finally settled on Fedora KDE Plasma Desktop Edition."
Bulma has a navbar component that automatically adapts to touchscreen devices by hiding the navbar-menu item."
"I’m running Intellij inside Ubuntu on WSL 2, and today I had problems connecting to a database. It would connect randomly and then quickly lose connection. It turns out that the problem was with the way that IntelliJ stores passwords. When running in Linux, IntelliJ uses the Gnome Keyring, which I did not have running. The quick solution to the problem was to switch IntelliJ’s password save setting to “Never”."
"During the Christmas break, I have installed and set up Windows on my Lenovo X1 Extreme laptop. That might sound slightly stupid as it came installed with Windows, but as with every other non-Mac laptop I’ve owned/used over the last 20 years, I wiped the disk and installed Linux on it. Now it was the other way around.
I now do development on Ubuntu using Windows Terminal, editing in VS Code on Windows or IntelliJ in Ubuntu using X410."
"The other day my friend Aslam Khan wrote a post on Facebook about a talk he had held at Agile Africa 2018, and he wrote that this might be his “farewell to the agile community”
This resonated with me, since I’ve long felt that agile is no longer where I want to be. As much as I still believe in the original premise of agile and like teaching people how to think about undeterministic processes, most companies these days are looking for improvement without doing any meaningful change."
"It was 1979 and the punk movement wasn’t going anywhere. The music was loud, the hairdos were spiky and a majority of the older generation really didn’t get what was happening.
In order to bring some order to the chaos, Swedish state television, the only one allowed at the time, decided to do a televised concert with what’s now punk legends Ebba Grön.
While the kids ran a mosh pit on the floor, older people were seated in stands behind."
"I came upon this awesome TED talk on “Why You Should Make Useless Things” by Simone Giertz thanks to Mikael Pawlo. The talk really resonated with me and articulated thoughts I have had for a long time.
I learned how to program BASIC from a book 37 years ago, one year before I actually saw and touched a real computer. A few months later I got my first computer, a Commodore VIC20."
"Emacs brings REPL-driven development to SQL using sql-mode, so you can have a SQL buffer running and send commands to it.
Today however sql-mode didn’t show a prompt when connecting to my local dev database. It turns out that sql-mode has a regexp looking for the prompt, which expects the database name to be all alphanumerics for some reason. It seems to be fixed but is not in the version I get from Arch Linux."
"I’ve been running Connman instead of NetworkManager for a week since it is supposed to be more lightweight. Lightweight is good.
However, I had really weird problems with DNS, where some hosts wouldn’t resolve.
$ ping outlook.office365.com PING outlook.office365.com (18.104.22.168) 56(84) bytes of data. 64 bytes from 22.214.171.124 (126.96.36.199): icmp_seq=1 ttl=238 time=44.7 ms 64 bytes from 188.8.131.52 (184.108.40.206): icmp_seq=2 ttl=238 time=44.6 ms 64 bytes from 220.127.116.11 (18.104.22.168): icmp_seq=3 ttl=238 time=44.8 ms ^C --- outlook."