HNHacker News
TopNewBestAskShowJobs

oweiler

1,041 karma · joined February 24, 2014

submissionscomments
oweiler··on IceCream – Never use print() to debug again
Or use tests and/or a debugger. Which gives you all the listed benefits w/o an additional dependency.
oweiler··on Docker Offload
So like Testcontainers Cloud?
oweiler··on The 1987 game “The Last Ninja” was 40 kilobytes
That game felt like a graphics demo though. Almost unplayable.
oweiler··on Show HN: Sonar – A tiny CLI to see and kill whatever's running on localhost
https://github.com/helpermethod/pk/blob/main/pk

I have a tiny shell function to kill whatever is listening on that port

oweiler··on Maybe comments should explain 'what' (2017)
His first "what" example actually explains "why" clear is called two times. The code perfectly captures the "what".
oweiler··on Installing Java in 2025, and Version Managers
You can also check in an .sdkmanrc into each respective project which defines the required Java version.

Then SDKMAN! will perform the switch automatically when you enter the directory.

https://sdkman.io/usage/#env-command

oweiler··on Chibi Izumi: Phased dependency injection for TypeScript
It just gets rid of the boilerplate. Never had a problem with ctor injection in Spring.
oweiler··on Result is all I need
Use the builtin Result class and runCatching/fold and be done with it. Yes, it has shortcomings but works well enough in practice.
oweiler··on Page Object (2013)
This is honestly the main reason I prefer Playwright to Cypress. Playwright leans heavily into using POs, while for some reason Cypress doesn't.

So in almost every project the Cypress tests are a procedural mess, while the Playwright tests are mostly well structured.

I know that Cypress has other patterns for dealing with this but they never seem to get applied.

oweiler··on Starship: The minimal, fast, and customizable prompt for any shell
I use Starship without any customizations and its good enough for my every day use.
oweiler··on DropZap World – My falling block game with lasers, released after years of work
Reminds me of a game I've played on C64 AS a kid.
oweiler··on TIL: timeout in Bash scripts
Bash has no standard library. It has builtins, and commands. And commands are just external tools.
oweiler··on By default, Signal doesn't recall
I have read almost the same thing 5yrs ago. And 5yrs before that. And so on.
oweiler··on Redis is open source again
Yet. It's a drop-in replacement, and both faster and cheaper.
oweiler··on Pinball Brothers – A Swedish-Italian Pinball Company
Can such a company actually be profitable? The market seems tiny.
oweiler··on Magnesium Self-Experiments
When I started running I had horrible cramps and the mg made them much less severe.

Running for a year now, it doesn't seem to make a difference.

oweiler··on Why “alias” is my last resort for aliases
`alias` is shell builtin.
oweiler··on Why “alias” is my last resort for aliases
This. Functions are almost always the better solution.
oweiler··on macOS Tips and Tricks (2022)
This is the first thing I recommend to new Mac users.
oweiler··on JetBrains Fleet drops support for Kotlin Multiplatform
Performance is one problem, but much worse are the countless bugs which plague the last releases.
oweiler··on Shell-ish scripting in Go with ease
Did you do thorough error handling in Bash?
oweiler··on How rqlite is tested
That's why I prefer test frameworks that make parametrised tests so easy that they become the default.

Kotest and Spock are such frameworks.

oweiler··on Distributed Transactions at Scale in Amazon DynamoDB (2023)
Aurora Serverless Postgres e.g.
oweiler··on Today I learned that bash has hashmaps (2024)
They are also slow AF because a lookup takes linear time.
oweiler··on Be Aware of the Makefile Effect
That's why suggestions like RTFM! are stupid. I just don't have time to read every reference documentation of every tool I use.
oweiler··on Java in the Small
Kotlin is much better in that regard.

I use Kotlin scripts (.main.kts) as a replacement for Bash scripts for years.

You can inline dependencies without additional tooling, and Kotlin is still much more expressive than Java.

oweiler··on Advent of Code 2024
I will probably solve the first 7 puzzles like every year and then just stop.
oweiler··on PicoCLI – Powerful command-line parsing library for Java
Great library for scripting, especially in combination with GraalVM and JBang!
oweiler··on Curlwind: No-Build Tailwind
While web dev remains a shit show, it's also amazing how much innovation is happening there.

Curlwind looks super nice.

oweiler··on Innovation heroes are a sign of a dysfunctional organization
What's missing from the article: The innovation heroes will not only leave, they will most likely also burn out.
Page 1 of 17Next →