Recent submissions

Comment · 5 years ago
Many people’s view points are influenced heavily by the 2008 financial crisis, which was a exceptionally rare and historic event. Demand for housing was artificially inflated due to fraud. Do you think demand is being inflated now? If so, by what, and what would cause demand to shift back?

One possible answer is interest rates being low. However, the trend in interest rates towards 0 / negative has been going on for over 100 years. I don’t see them going up significantly ever again.

Comment · 5 years ago
For 1, the bug stems from unintentionally using undefined behavior due to a misunderstanding. You can never get the answer by "thinking about what could go wrong" because your view of the system makes the failure case impossible.
Comment · 5 years ago
I called them errors in my post. But unintentionally using undefined behavior isn’t really a logic error. It’s a misunderstanding, and not something that you can figure out by looking at the API and thinking about the errors the API can throw.
Comment · 5 years ago
Even if it’s not an investment, housing will likely always have a price ratchet, so it’s still not terrible for the government.
Comment · 5 years ago
Real estate rarely decreased in price, especially in Berlin. It may turn out to be a good investment.
Comment · 5 years ago
Smart contracts get compiled into byte code that get run on the blockchain. Each instruction costs a certain amount of money. This fee is called a “gas” fee, because you need to put in enough money to execute your entire contract, which varies by how complex it is, similar to how you need enough gas in your car to drive a certain distance.
Comment · 5 years ago
Would the Mona Lisa be valuable if DaVinci made one but we could make exact molecular replicas now? I would still say it would be valuable. You can make nearly indistinguishable copies off the Mona Lisa now, but they aren’t worth anything. The pictorial content of the Mona Lisa is only a small part of its value.
Comment · 5 years ago
You assume that the only errors a program can encounter are logic errors. Logic errors are really the easiest class of error to fix. Here are examples of other errors that can bring down stable systems:

1) An API returns a list of items. In a new version of the API, the data structure used to generate the response list is changed from a list to a set, invalidating any implicit assumptions about response ordering. This happened to a service I worked on where there was an implicit assumption by callers that the results were ordered by date. This was true prior to using a set.

2) Resource leaks exposed by failure conditions. A network outage might cause infrequently tested code paths to leaks resources. In Go, I’ve seen this happen with network requests not tied to a context. This is an interesting case because the fact that an error occurs causes the leak even though the success path works correctly.

3) Missing back offs. A dependency may return errors in the case where a dependency becomes overloaded. This can cause a backup in something like an ingestion job. Without adequate back offs, the dependency may never be able to recover.

There are plenty more examples where simply handling every error case is not sufficient for stability.

As a question to you: why is this system more stable than other systems you write? Can’t you apply your error handling philosophy to everything?

Comment · 5 years ago
Another German mixed beer drink is Diesel: Beer and Coke. Not a big coke fan but surprisingly good.
Comment · 5 years ago
Is this article a joke? It's essentially saying that procrastination doesn't have anything to do with self-control, it's irrational self-harm caused by an inability to manage bad moods about a task. The article ends with saying that the solution to procrastination is to manage emotions differently.

These are all things related to self-control.

Comment · 5 years ago
This is how a GAN works. There is a generator and a discriminator. The generator tries to fool the discriminator, and the discriminator tries to detect images generated by the generator. As one gets better, so does the other, until progress converges.
Comment · 5 years ago
With GANs, any fake image detection technique you could derive based on visual data could probably be learned by the discriminator given the right architecture choice.
Comment · 5 years ago
If you are a U.S. citizen, your fiancé should be able to apply for a K1 visa. Then you'll need to get married within 90 days of entering the U.S. I'm sure you were planning on having some type of celebration of your marriage, but I highly recommend getting legally married asap. Once married, your fiancé will be eligible for a green card. Married green card holders can get citizenship after 3 years, so it's definitely helpful to get the clock ticking.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton