HNHacker News
TopNewBestAskShowJobs

oweiler

1,041 karma · joined February 24, 2014

submissionscomments
oweiler··on Omakub – A Developer Setup for Ubuntu
Opinionated == installs a lot of shit you'll probably never use.
oweiler··on Why I recommend Renovate over any other dependency update tools
With Dependabot this takes me less than 10 min a week across 20 repos. Because we have lots of integration tests, we automerge patch updates automatically.
oweiler··on Hard-to-swallow truths they won't tell you about software engineer job
Devs also overestimate the difference their "clean code" actually makes. Architecture is much more important.
oweiler··on Unwrapit provides a way to handle errors in JS/TS
I've come to the conclusion that such a library offers little benefit in languages which embrace exceptions.

You have to basically wrap everything, making the code hard to read, and without proper ADTs and pattern matching it's easy to forget handling all cases.

There's also no way to prevent ppl from falling back to exceptions, so now you have a mess of exception and result handling.

And bc there is no blessed way, bigger projects typically include multiple different, incompatible result types.

oweiler··on Nobody Understands C++: Intro (2007)
Class composition is about reuse. Class inheritance isn't.
oweiler··on Running Speeds
There are tons of tutorials on YT about proper running form.
oweiler··on New pill helps Covid smell and taste loss fade quickly
When I caught Covid I had very high fever and was in constant pain, but nothing was as bad as losing my taste. Can totally relate.
oweiler··on Write code like you just learned how to program (2010)
That clearly depends on the context. If you want to win a contract, having a functional prototype to be the deciding edge over your competitors. Here, speed of implementation trumps everything.
oweiler··on Strong static typing, a hill I'm willing to die on
God, what has become of healthy discussions? People getting more and more toxic these days...
oweiler··on Bashunit
Works fine for me. On the other hand I wonder why such a framework needs to be written in Bash itself.
oweiler··on Raw Water: Quenching Your Thirst for SQL Injection
As long as there is string concatenation and SQL libs accept queries as a string there will be SQL injections.
oweiler··on Being a bash developer in the 21st century (2021)
chatgpt is really good for creating the correct jq queries.
oweiler··on XML is better than YAML – Hear me out
When programming in Groovy, using Groovy maps as config was pretty common, and allowed you to sprinkle a little bit of logic here and there is things got complicated. But it was just Groovy, no special cases, no weird escaping rules.
oweiler··on Ask HN: Why did Visual Basic die?
Exactly! The little Visual Basic I saw was always and entangled, manually tested, spaghetti code mess. Devs were productive only at the start of the project and slowed down to a crawl as things got more complex.
oweiler··on Show HN: GitHub Plugin that generates launch tweets when you ship new code
Alternatively you can use JReleaser, which can also automate most of your release: https://jreleaser.org/guide/latest/reference/announce/twitte...
oweiler··on What I have changed my mind about in software development
No one has ever said that you shouldn't comment your code.

"Comment the how, not the why."

oweiler··on Exa Is Deprecated
lsd is a drop-in ls replacement, exa is not. And lsd is a whole lot faster, which is also a plus.
oweiler··on Scrum is a cancer
There is the old saying that scrum turns bad devs into mediocre devs and good devs into mediocre ones.
oweiler··on Ask HN: What's the best CLI installation experience you've ever seen?
curl https://whatever.it.is | bash
oweiler··on Improving sleep
Things which improve my sleep tremendously:

- be active (Walking, Running) for at least 20 min a day

- do not drink coffee after noon

oweiler··on Spring 6.1 now compatible with virtual threads and JDK 21
You won't regret it. Huge community, great docs, good enough performance, great testability. Integrations for everything.

It's boring tech, which is a good thing IMHO.

oweiler··on Software Engineering at Google (2020)
Great book, a modern classic IMHO
oweiler··on Firefox 116
Is it just me or is Firefox dying a slow death?

I haven't seen a single dev use FF in years. Even Edge seems to be more popular these days.

oweiler··on Rethinking Infrastructure as Code from Scratch
I think GitHub Actions got it right. Mostly declarative workflow, but with reusable Actions to extend the DSL.
oweiler··on Iosevka typeface for code, from code
I've used Consolas for 10 years.
oweiler··on Postman acquires Akita for automated API observability
E.g. https://www.usebruno.com
oweiler··on Soya beans made more meat-like by adding genes for pig proteins
I disagree. First of all, meat substitutes taste nothing like meat, have often a weird texture and are unhealthy. There are tons of foods which are vegan, taste great, and are healthy. See indian/african/asian food.
oweiler··on Code the shortest path first
Just make sure that it ends in the bin and is not shipped. I often write the PoC as a Kotlin script, with dependencies declared inline with @file, no tests, Just the bare minimum. No one would ask to ship this.
oweiler··on Ask HN: Can Lua be remade to use 0-based numbering?
> Lua seems like such a fun, simple, efficient language... but even on HN, people hate on it almost to the point of an absurd meme simply because its 1-based indexes.

> If you search the forums, this fundamental issue is mentioned thousands of times over years and years.

> Which leads me to a naive question: Lua is open sourced. Why hasn't anyone in the world just forked the language to be 0-based? Is it not as simple as it sounds? I don't know what goes into designing and compiling a programming language, so it seems like such a trivial fix for what appears to be the #1 issue for every person out there allergic to Lua.

I wonder how many of those who complain have actually used Lua? Same with all the Perl/PHP haters...

oweiler··on Sketch of a Post-ORM
> There might be an edge case in which a raw query, tailored to a specific need or a particular use case, might be faster, but generally speaking ORMs will know much much better than the average developer how to optimise queries.

This statement is wrong. ORMs can't use DB specific features, so they have to generate lowest common denominator SQL.

With Postgres e.g. I can insert an entry and return the generated ID in a single query. ORMs can't do that.

I can also upsert entries in a single statement. ORMs can't do that.

← PreviousPage 2 of 17Next →