procrastitron

Joined 19 years ago

Karma
424
Submissions
151
Member since
Aug 16
I'm a functional programming fanboy, but currently work on static-program analysis for Java. I also have a toy operating system project that I have been working on for the past few years. It's available at http://losak.sf.net, but is basically just a proof of concept right now.
View on Hacker News

Recent submissions

Comment · 3 months ago
Passing the senate back then was because of shenanigans; not popularity.

They played tricks with the “unanimous consent” procedure where senators didn’t know it was happening until after it was too late to object. Multiple senators said afterwards that they were opposed to it.

Comment · 11 months ago
This was exactly what I thought of as well.

Garfield’s version seems more complicated since you have to calculate the area of a trapezoid instead of the area of a square, but conceptually they are the same.

Comment · 2 years ago
Comment · 2 years ago
Comment · 2 years ago
Any argument of the form “if you knew that all along you’d be rich by now from playing the stock market” is fundamentally flawed because it overlooks one of the most well known dangers of the stock market:

    “The market can stay irrational longer than you can stay solvent”
It absolutely was obvious ahead of time that most of the competing streaming services would fail because they couldn’t possibly recreate the infrastructure of Netflix, but it was not possible to predict when they would fail.

For a concrete example, before Paramount+ launched I predicted that it would be dead in less than a year.

Clearly I was wrong because it’s still going 2 years later. I still think it will die relatively soon, but predicting exactly when is virtually impossible.

Comment · 3 years ago
No it doesn’t.

They would have to earn $10 million dollars or more in annual revenue to be affected.

Comment · 3 years ago
https://explore.zoom.us/en/terms/

I misremembered; it’s 16, not 15

Comment · 3 years ago
The Zoom arbitration agreement includes a specific clause for that which lets them combine separate claims together and only arbitrate 15 of them.

From a consumer perspective it really is a no-win situation. The agreements are specifically designed to make the process as one sided as possible.

Comment · 3 years ago
Rebases are supported; you have to do the rebases through git-appraise in order for it to know that the original and rewritten commits are related.
Comment · 3 years ago
This one does. You can comment on any line in any file.
Comment · 3 years ago
Perhaps this wasn’t clear enough, but I was making an explicit distinction between dependency injection and dependency injection frameworks.

Dependency injection makes code easier to test, and I’m a big fan of dependency injection.

What I’m opposed to is the frameworks that automate (and often hide) the construction of the dependencies.

As someone else said in this thread “explicit is better than implicit”.

Comment · 3 years ago
Dependency injection frameworks are a horrible idea.

They optimize for the wrong thing; making code easier to write but harder to read and edit.

Writing code is a one time cost whereas reading and editing it is an ongoing effort, so dependency injection frameworks are optimizing for the uncommon case at the expense of the common case.

Compile-time dependency injection frameworks are a big improvement over runtime dependency injection frameworks because you can at least read the generated code, but they are still a lot worse than manual dependency injection when it comes to editing code.

Comment · 3 years ago

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton