RSSAmplifier

Blog

Samuel Papin

TBD

samuelpapin.comRSS feed ↗9 posts

Latest posts

Test Failing: Computer Too Fast

A peculiar bug Today I fixed a very interesting bug. The code reads //Segment lineage entries are sorted in chronological order by lineageEntries . entrySet () . stream () . sorted ( Map . Entry . comparingByValue ( Comparator . comparingLong ( LineageEntry :: getTimestamp ) )); The test creates two LineageEntry , then prints them, and ensures they are sorted by time of creation — that is to say…

Super Daddio!

My son got me a super Daddio Coffee mug for father's day. He's very proud of it. He finds it hilarious. So I took a few pictures to share with him — and with you — to show how much that gift matters to me. Happy fathers' day

Double Negatives in Software Options

Sometimes, software flags are created in a negative form. For example an indexing tool with a --skip-publish flag defaulting to false . Those flags are hard to reason about, because they are named in a negative form. --skip-publish=false is a double negative. Do not not publish -> Do publish. Having simply --publish=true would be way simpler! Some frameworks auto-generate the negation flag.…

When the slop slips

As a software engineer, I almost don’t code anymore, but I instruct AI to do so on my behalf. And while I am at it, and I don’t necessarily need to share a lot of of myself in the descriptions I also let it write some comments and some descriptions for me. With one important command, though: don’t publish anything let me review it. But sometime AI slop slips. Sometimes it doesn’t follow…

Using AI for Large Migrations

I love AI, but until today, I haven't found it saves me time. I usually use it to increase quality of my work, but seldom to speed up my execution. Today I had a task where the opposite happened. My team migrated an API from V1 to V2 and requested all the customers using it to move to the new version. Or course such tasks falls pretty low on their priority. I used AI to write detailed instructions…

The Conduit Problem in Software Engineering

There's a label that gets thrown around in engineering teams like a mild insult: overengineer . A manager once told me I was doing it — spending too much time thinking beyond the immediate problem. Designing for questions nobody had asked yet. The work in question was figuring out how many machines should train a model. The big idea is that we can right-size the software. Tweak a parameter just…

Going analog to combat digital distractions

Like a lot of people, I am addicted to my phone. I tend to pull it out when I have nothing else on my mind. Instead of just enjoying being idle for a moment, my brain pulls me toward the phone. Is there any new email? Is there a new Reddit post? New messages on Facebook? Instagram? Twitter? Repeat! Maybe now there is an email? Endlessly. This is not uncommon, and actually by design . How A/B…

Why does Docker not make editing volumes easy?

A simple shell script to copy files to and from a docker container.

aXXb: A python tool to decode and disambiguate numeronyms

Learn how numeronyms like a11y and i18n work, and explore a Python tool and static web service to decode them instantly.