RSSAmplifier

Blog

Paperstack Blog on Paperstack

Recent content in Paperstack Blog on Paperstack

paperstack.comRSS feed ↗44 posts

Latest posts

Meta-Installer

This post is mostly so that future me can find my Debian package without having to ferret around on various laptop and other disks :)
I just set up (yet) another machine. My go-to OS these days is Debian 13, and there’s a certain subset of tools that I always seem to set up. Previously I’ve tended to pop them in manually, or use a little bash script, but I thought I’d have a…

Kafkaesque

On building a mocking library for Apache Kafka.
Big slow tests I’ve worked a lot with Apache Kafka in the last few years. If you wake up one morning and think “I know, I will use Kafka as the queue in my tiny homebrew project” then you are probably in for a world of pain. If, however, you are in world of vast data flows with strict auditing and compliance requirements, then,…

Ender Updated

When I got a 3D printer I swore I would not be one of those people who spent all their time printing upgrades for their 3D printer. I’m not doing too badly, but printing with the Ender 3 is nonetheless a bit of a self-referential hobby.
Mine has recently been failing to print cleanly and I’ve been putting off the investigation - this weekend was time to dig in and fix it.

Address to distress

Ugh, this drives me absolutely mental! This is me filling in my passport application form…
Nope, nope, nope …yeah, it’s complaining about my use of the ‘ä’ character in my home address. I’m applying from overseas. Now, I can actually mis-spell that with an ‘a’, and the post office here (Postnord) will understand, but damn it, the British…

Underlining the lightning

Well, this is one of those 21st Century problems.
I saw a book recommendation on Hacker News a while back for “Too Like the Lightning” by Ada Palmer. One of the great (and expensive) things about the modern world is that buying a book is a few clicks away, so I bought a copy for my Kindle.
So far so good, I got a few chapters in; it’s quite dense and opaque, but I was…

HN Tags

Alright, all the cool kids are doing cool things with LLMs. Now’s my time to make a mess with them.
The HNTags.com Website Yay, it’s yet another clone of Hacker News? No, not quite that.
Categories I found myself wondering the other day just what proportion of stories in Hacker News are currently about AI now that LLMs are the flavour of the month. It would be handy if the…

Gnome .desktop file cheat sheet

Another one from the “I never can remember this damn thing” file … putting it here so I know where to look it up next time.
Incidentally I think there’s a “proper” way to do this, but this works fine and is quick. The “proper” documentation for this is at: https://developer.gnome.org/documentation/guidelines/maintainer/integrating.html
Steps…

Getting a clean boot

Putting together a homelab Kubernetes cluster in my own stubborn way. I’m assuming a reader who’s basically me before I embarked on this little expedition, so I won’t go into minute detail about day-to-day Linux setup and administration - only the things that are new to me and have changed since I last encountered them.
Part 0 - Best laid plans Part 1 - Installing the…

An early social un-network

With one thing and another I’ve recently been feeling quite nostalgic for the technology landscape of my early university days (around 1990) and so I wanted to write a little bit about that.
Background To set the scene for you, I was at university - or rather at polytechnic - in South Wales. Polytechnics were the very much less prestigious more vocational institutions. While I was taking…

Filesystems for everybody!

Putting together a homelab Kubernetes cluster in my own stubborn way. I’m assuming a reader who’s basically me before I embarked on this little expedition, so I won’t go into minute detail about day-to-day Linux setup and administration - only the things that are new to me and have changed since I last encountered them.
Part 0 - Best laid plans Part 1 - Installing the…

Palmtop 2024

You remember NetBooks, right? Are they making a comeback? I dunno, but they do seem to exist again - at last!
Back in February I made the mistake of browsing AliExpress for something and a tiny laptop caught my eye.
The original advert has long since been repurposed to some other machine, but it was similar to this one:
A similar advert for a similar machine The full title was this…

PXE Booting Debian with an NFS Root Filesystem

Putting together a homelab Kubernetes cluster in my own stubborn way. I’m assuming a reader who’s basically me before I embarked on this little expedition, so I won’t go into minute detail about day-to-day Linux setup and administration - only the things that are new to me and have changed since I last encountered them.
Part 0 - Best laid plans Part 1 - Installing the…

Boot across the network

Putting together a homelab Kubernetes cluster in my own stubborn way. I’m assuming a reader who’s basically me before I embarked on this little expedition, so I won’t go into minute detail about day-to-day Linux setup and administration - only the things that are new to me and have changed since I last encountered them.
Part 0 - Best laid plans Part 1 - Installing the…

Installing the hardware

Putting together a homelab Kubernetes cluster in my own stubborn way. I’m assuming a reader who’s basically me before I embarked on this little expedition, so I won’t go into minute detail about day-to-day Linux setup and administration - only the things that are new to me and have changed since I last encountered them.
Part 0 - Best laid plans Part 1 - Installing the…

Best laid plans

Putting together a homelab Kubernetes cluster in my own stubborn way. I’m assuming a reader who’s basically me before I embarked on this little expedition, so I won’t go into minute detail about day-to-day Linux setup and administration - only the things that are new to me and have changed since I last encountered them.
Part 0 - Best laid plans Part 1 - Installing the…

Building a USB to Mac ADB keyboard adapter

This article got some traction on Hacker News and spent most of a day on the front page; see bottom of this page for some related footnotes.
About a year ago I started a new job as a Staff Engineer with a larger FinTech. Plenty of upside, and I’m enjoying myself a lot, but the downside is that I’m obliged to work on a Mac. I kind of hate Macs. Not quite as bad as Windows, but damn…

GCode Cheat Sheet

This one’s just a little aide memoire for the (many) times I’m fiddling around with the tramming and/or calibration of the 3D printer.
Code Meaning G0 Xn Yn Zn Move G28 Home G29 Bed Level M500 Save Settings M501 Restore Settings M503 Report Settings M211 S0 Disable Endstops M851 Xn Yn Zn XYZ Probe Offset M420 S1 Enable bed leveling M48 Pn Probe repeatability test (n probes) M117…

Pull out that DynamoDB record

Checking a newly created DynamoDB table I wanted to use the AWS CLI tool to quickly check that a record looked right. From the “probably should have been obvious to start with” department…
The key format wasn’t actually that obvious from skimming the --help output until I’d bumped my nose on the error messages a couple of times, so here’s the idiot’s…

Ender Extended

After getting stuck in PostNord limbo for a week or two my Ender Extender 400 kit has finally arrived. This lets me expand the build platform of my Creality Ender 3 Pro from a paltry 235mm square to 400mm square. On paper that’s a small difference, but it looks a lot bigger in real life.
Before... and after! The kit is actually quite spartan - the major components are a handful of longer…

Building Marlin for my modified Ender 3

This is a memory-jogger for me when making changes to my 3D printer’s firmware.
Background A while back I upgraded my Ender 3 Pro 3D printer by replacing the standard motherboard with the Bigtreetech SKR Mini E3 V1.2 32 bit board (long since superseded by their newer boards). I also added a BLTouch sensor for automatic levelling.
Before the upgrade the servo noise drowned out the fan…

Fix a hitch running Stable Diffusion locally

After a day spent cursing the EATX standards gods, offering up a few skinned-knuckle blood sacrifices, and the other appropriate motions in getting the second hand desktop computer with a GPU back up and running, I was able to spend this morning trying out Stable Diffusion running locally, which was the actual purpose of the exercise. Forthwith, the obligatory random AI generated…

Fixing the Freeze (Latitude 7490)

TL;DR Disable i915 graphics module to stop freezes in Ubuntu on a Latitude 7490
I recently swapped out my day-to-day personal Dell XPS laptop for a similarly specced Dell Latitude, the 7490 with an i7-8650 CPU and “Mesa Intel® UHD Graphics 620 (KBL GT2)”. The change was driven by a combination of diminishing battery life, the lack of any ports other than USB C on the XPS, and the…

Aforementioned

That’s the word that drives me nuts when I see it in print. Or more realistically in online posts. The only legitimate usage of “the aforementioned” is to put it into the mouth of a character who you want to sound pompous.
What’s wrong with it that it is always intrinsically redundant.
For example “The aforementioned usage is …” becomes “The…

Project Fear 🙀️

This could be told as an epic tale of consultancy derring do in the Tolkien style, only with less bad verse, fewer elves, and a minimum of talking trees. But life is short. Here is the précis of a project for a vast multinational that demonstrates that the forces of evil are nothing when compared with the forces of bureacracy and incompetence. Bullet points are better than talking trees, right…

A Dell Misfeature

I recently noticed an odd feature when scrolling the page on Hacker News. The white background would fade in and out between various off-white shades that varied roughly in proportion to the amount of text on the page. I didn’t hate it… but it was slightly distracting and just the other day I decided to poke around in the CSS files and see if it was something I could disable.

A Nerd Cool Miscellanea

As a teenager I read an unholy quantity of sci fi of variable quality. The golden age stuff in particular is strong on ideas and slightly hand-waving science. Not so strong on how humans work. Anyway, over the years one acquires a little personal vocabulary of cool sciencey stuff (sometimes from other sources - I read a lot of pop science too) that colours one’s view of the world. Here are a…

LinkedIn 2021

Well, I&rsquo;ve wrapped up with Diabol AB and from next month I&rsquo;ll be looking for something new.&#xA;<rant>&#xA;Which means it&rsquo;s time to drag my LinkedIn profile up to date and hate every step of the way. Their internal engineering culture has a great reputation - see I ❤️ Logs for some insight into that - but god I despise the website. Because&hellip;&#xA;By accident or design some…

Make Things

At any given time I seem to have about a dozen ridiculous pipe-dream projects kicking around my head. Often enough I&rsquo;ll start one or another in a desultory way, but typically I don&rsquo;t get very far. In some ways that&rsquo;s the joy of personal projects - when I get bored of them, or (more likely) my eye is caught by the shiny new thing, I can leave them unfinished with no consequences.

Locate Cursor (in Gnome)

My current work from home setup is pretty good, but with two very different sized monitors, and my spare mouse that turns itself off to save power, I have a tendency to mislay the mouse cursor. I guess it&rsquo;s part of getting older too? Er. Anyway, Macs have a nice feature that makes the cursor get larger when you &lsquo;shake&rsquo; it, and I wondered if there was something equivalent in Gnome…

Learning WebXR

Things I learned (so far) trying to draw 3D stuff in the browser to view on my Oculus Quest VR headset:&#xA;WebVR is now WebXR You must have a &ldquo;secure host&rdquo; for the site to enable WebXR, which basically means https protocol or http to localhost. Port forwarding from the Quest (&lsquo;reverse&rsquo;) only works over usb and the error when you try to set it up over tcpip is not helpful.

Wiremock Template Parameters

Explaining and demonstrating the use of template parameters in wiremocked responses within a Spring Boot based integration test.&#xA;This article is available on both my blog Paperstack and on my GitHub account (which also contains all of the source code).&#xA;Contents What is Wiremock? What is RestAssured? The application under test Port management Using templates Afterthoughts Source…

My digital reading in 2019

When I moved to Sweden I discarded the majority of the physical books I&rsquo;d accumulated over the years. While it was a painful exercise I&rsquo;m pretty glad to have downsized my shelving requirements. A couple of years later I feel like I made the right decisions on what to discard. So far I haven&rsquo;t once thought &ldquo;Oh, I wish I&rsquo;d kept&hellip;&rdquo; Perhaps that means I could…

Moving parts

TL;DR: I may be about to break my email - so if it seems like I&rsquo;m not replying to you you might want to poke me via another channel (Facebook, Phone, Post, Elaborate Steganographic Cat Pictures and so forth).&#xA;Update: The switchover seems to have gone ok; the websites are all up and running just dandy, and the email&rsquo;s still getting through to me. Looking good!&#xA;I&rsquo;m…

Using Rusoto on Ubuntu 18.04.03 LTS

Just today I was piffling about with Rust to do some very simple AWS commands (nothing you can&rsquo;t already do with the AWS command line tools). Getting up and started with Rusoto on my laptop was a little tricky though. Rusoto requires the OpenSSL libraries and headers as a dependency, and they&rsquo;re not in the usual place(s) on Ubuntu - or at least not on 18.04.03 LTS which is what…

An article on Testcontainers

I&rsquo;ve just put an article on using Testcontainers from Java up on Github, complete with example code in the same repository:&#xA;Integration testing against real services with JUnit and Testcontainers&#xA;I think it&rsquo;s pretty good, so go read it if integration testing from Java is part of your daily existence :)

My Wedding Speech

On Sunday 7th July 2019 I got married to Hanna. The following speech expresses as well as I can how I feel about that.&#xA;I am a lucky man.&#xA;I have the great fortune to be the son of diligent parents, to be brought up, fed, clothed, educated (at no little expense), encouraged, supported - occasionally berated when it was necessary. My parents were proud of my small accomplishments and generous…

Ubuntu Development Tools

An earlier post about some niggles with Ubuntu packages reminded me of just how smooth things are in general. The minor bumps are much more visible as a consequence, but really I have it pretty damn good.&#xA;Let me tell you young whippersnappers (and get off my lawn!) that I started with the boot&rsquo;n&rsquo;root disks in the 0.96.* days and my first packaged Linux was SLS. So I know how green…

Continuations continued

Update: I amended the implementation to use Lambdas instead of requiring you to derive from the Continuations class. The shenanigans to get &lsquo;yield&rsquo; to work are distinctly sketchy though. Be warned.&#xA;From the &lsquo;code fished out from under the bed&rsquo; department, this is a little entertainment I worked out a few years ago. It was up for a while on another blog that I later…

Long Term Surprise

Abstract: Ubuntu 18.04 astonishingly installs Open JDK 10 instead of Open JDK 11 for package openjdk-11-jdk. I explain why and that I think that was bad choice.&#xA;*[Update](#update): This package was finally updated to contain Open JDK 11 on 16th April 2019, so we did get there eventually.* Surprise! Currently if you&rsquo;re a Java developer, an Ubuntu user, and prefer Long Term Support (LTS)…

A review of Farthest North

To take my mind off The Rigamarole 2018 planning frenzy I&rsquo;ve recently been reading &ldquo;Farthest North&rdquo; by Fridtjof Nansen.&#xA;It&rsquo;s an extraordinary story from the &ldquo;heroic age&rdquo; of polar exploration. Having read and accepted the theory that the pack ice drifts across the arctic region, Nansen decided to build a ship, the Fram, that could take the pressures of the…

Shush to the snap, crackle, and pop

Update: See foot of page if you&rsquo;re on Ubuntu 18.04&#xA;From time to time I pretend to be a swing DJ of sorts. Mostly this has been for The Balboa Café which I used to run before heading to Sweden, but sometimes also for dance classes or other events.&#xA;My Dell XPS 13 (9350 edition) running Ubuntu (currently 16.04.05 LTS) at some point acquired an irritating audio problem:&#xA;When sound is…

Swedish Language Resources

Radio Sweden in simple language&#xA;Visual aids for Swedish&#xA;Good (I think?) explanation of some verb conjugation rules

Mr Anderson goes to Stockholm

A while ago I fell in love with Hanna, a wonderful Swedish lady. After a while she and her cat Neo (we call him &ldquo;Mr Anderson&rdquo;) decided to come and stay with me in London for a while. Mr Anderson has his pet passport and appropriate immunisations so he&rsquo;s allowed to travel within Europe and to the UK. For that trip in July of 2017 they both flew into London Heathrow.

Hello

This is where I give things a whirl for blogging with the Hugo static site generator.&#xA;The topics will be whatever I feel about writing about at the time, but you can probably assume that a bunch of technical Java programming topics will pop up from time to time along with notes about settling down in Sweden (I moved to Stockholm in December of 2017).&#xA;For details of what this site is and…