Better HN
topnewbestaskshowjobs
Log inSign up

oftenwrong

15,025 karma · joined Apr 22, 2012 (14y ago) · 2,479 submissions

sfir6i2z@mailer.me
Submissions

comment 1y ago · link · parent

Can you explain what you mean in #4, or provide a link for further reading? Throughout the period of my career so far, API design has always been a major part of the job of a developer. Therefore, I assume you mean something else than what I am thinking of. What is emerging now that is different?

comment 1y ago · link · parent

Many drivers do let their mind wander. This is especially true of motorway driving; it is easy to enter a state where the mind is only passively engaged in driving.

I do somewhat miss and romanticise my public transport commute in the pre-smartphone era. I had a lot of time to look out the window, read books, listen to music, and think. No internet connection.

comment 1y ago · link · parent

There is a PostgreSQL extension that adds support for incremental updates to materialised views: https://github.com/sraoss/pg_ivm

comment 1y ago · link · parent

That is also something that I have always wanted... and it seems like we are in good company.

comment 1y ago · link · parent

There are some very basic tools that can help with portability, such as https://github.com/milesj/rust-cicd-env , but I agree that there is a lot of proprietary, vendor-specific, valuable functionality available in the average "CI" system that you cannot make effective use of with this approach. Still, it's the approach I generally favor for a number of reasons.

comment 1y ago · link · parent

I would say that is a reasonable constraint. As you know, version ranges, and other "dynamic" versions in Maven are inherently incompatible with reproducible builds because they are resolved non-deterministically during the build. The most common approach when reproducibility is required is to resolve dynamic dependency versions in source, which is a strategy shared by tools that use lockfiles.

I agree that Maven would be better with lockfile support. However, as with any proposed evolution of Maven, I can imagine it would be quite hairy to implement in a way that is compatible with other mechanisms.

On the other listead caveats, I would add:

- Output line endings are controllable via line.separator, which Maven honors. Input line endings are an important consideration for reproducibility, but also not truly a problem of Maven's reproducibility.

- JDK version can be enforced with Maven Enforcer and/or toolchains.

comment 1y ago · link · parent

Good system design is designing a system that works good.

comment 1y ago · link · parent

A boolean is smaller, which is a relevant consideration for some workloads. For example, you may be pre-aggregating a large amount of data to serve a set of analytical queries which do not care about the associated timestamp. The smaller data type is more efficient both in storage and in query execution.

Additionally, there are situations where it is logical to store a boolean. For example, if the boolean denotes an outcome:

    process_executed_at timestamp not null
    process_succeeded boolean not null

69.

Say No to Venn Diagrams When Explaining JOINs (2016)(blog.jooq.org ↗)

1 points · by oftenwrong · 1y ago · discuss

70.

White Mountain Direttissima(whitemountainski.co ↗)

49 points · by oftenwrong · 1y ago · 36 comments

71.

I'm tired of stupid people treating me like I'm an idiot(whatwelost.substack.com ↗)

8 points · by oftenwrong · 1y ago · 3 comments

comment 1y ago · link · parent

>Maven doesn't support reproducibility

I don't think that is true:

https://maven.apache.org/guides/mini/guide-reproducible-buil...

comment 1y ago · link · parent

Maven is not Java, though.

comment 1y ago · link · parent

To add: if you would like to avoid depending on Maven's dependency mediation behaviour, then a useful tool is Maven Enforcer's dependencyConvergence rule.

https://maven.apache.org/enforcer/enforcer-rules/index.html

comment 1y ago · link · parent

I don't think clothing quality has fallen. Quite the opposite. We are able to buy high quality clothing at a very low price. More advanced materials, more consistent construction, better construction, greater selection, etc.

Much of what you can buy today did not even exist 30 years ago. For example, trail running shoes more or less did not exist. Perhaps you could have had a pair custom made, at a high price, with the worse materials available at the time, but today you can them "off the shelf".

Even the many shirts I've received for free are very high quality and have endured years of abuse.

76.

Eleven Missing Terraform Features(josnyder.com ↗)

3 points · by oftenwrong · 1y ago · discuss

77.

The single version rule is good for Google and bad for you (2024)(josnyder.com ↗)

2 points · by oftenwrong · 1y ago · discuss

comment 1y ago · link · parent

A related aspect that I experienced was that public pools were typically cold enough that my kids did not enjoy them much. Private swimming schools keep their pools quite warm.

comment 1y ago · link · parent

The 5A had a serious motherboard defect that caused phones to become unusable. Google had a device replacement program that allowed owners to exchange dead 5As for newer models.

comment 1y ago · link · parent

One more similar feature from a different system: PostgreSQL COMMENT

https://www.postgresql.org/docs/17/sql-comment.html

This allows you to attach text to various database objects in PostgreSQL.

I wish PostgreSQL had a feature that was more like structured key-value database object metadata that could be edited.

comment 1y ago · link · parent

Another little-known feature is git trailers:

https://alchemists.io/articles/git_trailers

These are key-value structures data that can be included on a commit when it is created. These are used by some systems for attaching metadata. For example, Gerrit uses this for attaching its Change-Id.

82.

How to Dress and Undress Your Home(solar.lowtechmagazine.com ↗)

4 points · by oftenwrong · 1y ago · 1 comment

comment 1y ago · link · parent

Given that this post is meant to explain your perspective at the time, I think it would make sense to explain it at least a little. At the very least, I am curious. What does Al-Ghazali have to say about making decisions that influenced you? I have not read Al-Ghazali yet.

comment 1y ago · link · parent

The operators of Maven Central deserve a lot of credit for their good stewardship. Unlike the NPM registry, Maven Central does not permit anyone to unpublish packages. Unlike the NPM registry, Maven Central requires verification of domain or forge account ownership to claim a namespace. These are good practices, and anyone seeking to create a central package registry would do well to at least consider this. Maven Central is currently operated by SonaType, but it has changed hands a few times. This article covers its history: https://www.sonatype.com/blog/the-history-of-maven-central-a...

Additionally, it is standard practice in the Java world, which is more "corporate" or "enterprise-y", for better and for worse, to have organisations operate their own internal package registries / mirrors. Even if you unpublished a major package from Maven Central, many organisations would be completely unaffected because they retain archived copies of all of their dependencies.

85.

Kerf Bend Wizard(kerfbendwizard.com ↗)

3 points · by oftenwrong · 1y ago · discuss

comment 1y ago · link · parent

Related: https://nyc.streetsblog.org/2025/05/29/data-dump-e-bike-cras...

The stated reasoning behind this new policy is not backed by data; e-bike collisions and injuries are down in NYC and are insignificant compared to the harm caused by cars. Rather than looking at the data to determine the urgency of the problem, the police merely listened to complaints from community members and assumed that the complaints had merit.

comment 1y ago · link · parent

I am excited to learn of this project. I started working on something quite similar recently. It's a surprisingly unaddressed niche.

One thing your tool appears to be missing (IMO) is execution sandboxing. This is useful, as you likely know, for avoiding undeclared dependencies and for avoiding dirty builds due to actions polluting the source directory, among other things. I was playing around with allowing configurable sandboxing, with symlink forest and docker as two intial options.

comment 1y ago · link · parent

There is also a question of what developers should be developing against. A typical monorepo approach allows many developers to develop only against trunk, and not have to allow the messy world of releases and deployments into their brain.

comment 1y ago · link · parent

Regarding priorities, a manager from my past used a system that I liked: Each person had a set of tickets assigned to them, but there was always an unambiguous priority order. At any given time, a given worker would work on their highest-priority ticket that progress could be made on at that time. If anyone wanted to shift that worker to another ticket, then the priorities needed to be adjusted, and the worker would be notified (if they didn't do it themselves). This helped make it clear what people were expected to be working on, and made it easy to see what people were currently working on.

comment 1y ago · link · parent

I am not an expert in SAML, but my understanding is that the cert is typically included in the SP metadata. It seems to me that icluding the SP cert in the AuthnRequest would defeat the purpose of signing the request. Is that supported in the standard?
12345
83