Better HN
topnewbestaskshowjobs
Log inSign up

oftenwrong

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

sfir6i2z@mailer.me
Submissions

661.

cyclog – safely log standard input to status files and log directories(jdebp.eu ↗)

2 points · by oftenwrong · 6y ago · 1 comment

662.

Sven Yrvind on provisioning for a sea voyage(yrvind.com ↗)

2 points · by oftenwrong · 6y ago · discuss

comment 6y ago · link · parent

This was on the front page before, which generated some good discussion:

https://news.ycombinator.com/item?id=16727665

comment 6y ago · link · parent

CLI discoverability is much better when the utility has good support for completion. For example, kubectl, which can output its own completion script for different shells, and can complete things like resource names. I don't know much about how shell completion actually works, but I do appreciate it greatly.

comment 6y ago · link · parent

I don't disagree, but I will add that most long-lived Spring applications I have worked with were disasters. Figuring out how a Spring application actually works (or why it doesn't) can be difficult. Upgrading the framework, or switching to a different one without breakage is often a non-trivial task.

The best codebases I have touched, in any language ecosystem, either didn't use a framework, or kept the framework firmly isolated from the other code. If you build your code "inside" a framework, it will eventually become an obstacle to change.

Furthermore, the best Java codebases I have seen avoided annotation-driven-development, reflection, classpath scanning, DI frameworks, AOP, etc. Anything that feels at all magical should be handled with great suspicion.

666.

Mergerfs: A Featureful Union Filesystem(github.com ↗)

2 points · by oftenwrong · 6y ago · discuss

comment 6y ago · link · parent

I typically print only a few times per year, so I use the printer at the public library, which is a short walk from my home. They even have an online service for submitting print jobs.

668.

eBird: A crowdsourced bird sighting database(ebird.org ↗)

390 points · by oftenwrong · 6y ago · 85 comments

comment 6y ago · link · parent

Liberation Mono. I haven't thought much about this choice. I only really care that similar characters are easily distinguishable, such as '1' and 'l'.

comment 6y ago · link · parent

An infographic like this would have made that part of the article much more clear!

comment 6y ago · link · parent

I prefer to say "East Asian":

https://en.wikipedia.org/wiki/East_Asian_people

Also, see this section, which provides an overview of what "Asian" means in different parts of the world:

https://en.wikipedia.org/wiki/Asian_people#Meanings_by_regio...

672.

Without humans, pumpkins may have gone extinct(sciencemag.org ↗)

3 points · by oftenwrong · 6y ago · 1 comment

673.

Everything you need to know about windsocks(hollandaviation.nl ↗)

100 points · by oftenwrong · 6y ago · 39 comments

comment 6y ago · link · parent

How about "glog"?

Or, follow the same construction as "blog": If "web log" = "blog", then "git log" = "tlog"?

comment 6y ago · link · parent

One time I made an authentication system for an application that had some types like PlainTextAccountPassword and HashedAccountPassword. The storage backend for accounts accepted a HashedAccountPassword only. This way it would be less likely that a maintainer would end up storing a plain text password.

It is possible to do something like this in nearly any language with a type system.

comment 6y ago · link · parent

>Companies like Grubhub list restaurants on their site/app, but put the wrong phone number on it- one that goes to their own people instead.

Slice does something similar. They set up fraudulent websites for local pizzerias, so they can direct people to order through their app:

https://news.ycombinator.com/item?id=23346971

comment 6y ago · link · parent

>Niklas Luhmann ... published 50 books and over 600 articles. ... There are also over 150 unfinished manuscripts left in his estate. At least one of them is a text of 1000 pages.

A person at this level of productivity will have an overwhelming amount of notes, and therefore an advanced system of organization is necessary.

I would guess that most people reading this are not anywhere close to that level, and likely do not need an advanced note-taking system. They would be better off spending time on their work, rather than spending time perfecting their system. This is especially true now that notes are often digital, and can be searched in their entirety in an instant.

comment 6y ago · link · parent

I still often use a phone call (or sms) for takeaway. It's faster than using an app or website if you already know what you want, and usually cheaper, since there is no middle-man.

For delivery, I agree. It is easier and faster to use a service, since my address and payment information are already saved.

comment 6y ago · link · parent

I won't re-hash the many great things about Go that have been said. Instead, I will explain some of the reasons why I continue to use Java (for now) instead of Go. Go is seen as one of the best alternatives to Java, and some see it as a better Java. It has won over many shops from Java. Therefore, I think these reasons are relevant to this question, and not just me doing the usual "my language of choice is better":

1. Tooling and library ecosystem of Java is still better. There are tools for pretty much everything, including high-quality commercial offerings. For example, IDEs, profilers, build systems, other languages that run on the same VM. Nearly every major SaaS I have ever integrated with has a Java SDK.

2. Weight of big players behind the ecosystem. Big companies all over the world are heavily invested in Java. Even Google is still more invested in Java than Go (internally, and in Android, especially). This makes Java an insanely safe choice for us small players.

3. The many, many warts and deficiencies of Java (and parts of the Java ecosystem) are well-known. Experienced developers, at least ones with good taste, know how to mitigate them without pain. For us, a language with fewer warts, like Golang, is therefore not as big of a selling point. It's like getting your hands dirty. When your hands are clean, you are reluctant to make them dirty. When your hands are already dirty, touching dirty things is not a big deal.

4. Golang is not the only language evolving. Rapid improvements to the language and JVM are already here, and more, bigger changes are planned (e.g. Loom, Valhalla) that will nullify some of Go's advantages.

comment 6y ago · link · parent

>The article focuses quite heavily on Zing vs Hotspot but it'd be interesting to see an analysis of a variety of the standard JVMs GC methods (namely Shenandoah).

Also, ZGC, which is considered production-ready in JDK 15.

comment 6y ago · link · parent

The Simple Word Evaluation on its own is a significant improvement.

bash and posix sh will continue to have their place where portability is necessary, but this seems like a better day-to-day tool.

comment 6y ago · link · parent

Why should a browser allow its own shortcuts to be overridden at all? At the very least, some form of warning or permission-granting should be involved.

comment 6y ago · link · parent

My thoughts exactly. I have notifications disabled for everything aside from personal communication from my contacts. I bet a lot of HN users are the same. Don't listen to HN users preferences unless we are your target audience.

Most people seem to be tolerant of notifications. I also suspect most people do not know how to prevent receiving notifications. In public (for example, on the train) I see people receiving many notifications, checking most of them, and manually dismissing the rest.

To build engagement you will want to notify people. However, there is a fine line between a tolerable amount of notifications and an annoying amount of notifications. I would suggest:

1. Make your users feel like the notifications are always a result of their own choice. For example, a notification for something they chose to follow is likely to be tolerated. A notification for something they did not choose to follow will be more likely to be seen as annoying notification spam.

2. Make it really easy for a user to stop notifications in a fine-grained way, or to receive them less frequently. Ideally, they could do this directly after clicking-through the notification (or on the notification itself, if possible). This gives users a way to keep your service from breaching their tolerance threshold, and may therefore prevent them from leaving your service altogether.

comment 6y ago · link · parent

Could you share a link to some of the blog posts?

685.

The Nazis’ First Victims Were the Disabled (2017)(nytimes.com ↗)

1 points · by oftenwrong · 6y ago · discuss

686.

Prefer Fakes over Mocks(tyrrrz.me ↗)

104 points · by oftenwrong · 6y ago · 119 comments

687.

Syracuse, NY – Green on Top Traffic Light(roadsideamerica.com ↗)

2 points · by oftenwrong · 6y ago · discuss

comment 6y ago · link · parent

And the monitor is suspended above you?

689.

Provisioning(yrvind.com ↗)

2 points · by oftenwrong · 6y ago · discuss

comment 6y ago · link · parent

Misses the point, and wouldn't be foolproof. You might be able to send video over a certain cable to a certain monitor when connected directly, but not when connected through a hub.
1
222324
83