Recent submissions

Comment · 4 years ago
Imagine someone offered you a house but the agreement was that you could only sell it for what you bought it for. I doubt you would buy it considering there are other options on the market where you could profit in the future. It's 100% speculation. It's part of the package.
Comment · 4 years ago
Comment · 4 years ago
Link should be changed.
Comment · 4 years ago
You bought it to live in for 5 years and then you flipped it for more money than you bought it? That's the definition of successful speculation.
Comment · 4 years ago
All homeowners are real estate speculators.

Wouldn't you also consider anyone buying a "starter home" a speculator? Their goal is to continuously flip their house.

Comment · 4 years ago
Very good points MegaButts. Crypto is VC funded too. Hence the crazy market caps because most of the VC owned supply is locked up.
Comment · 4 years ago
The business owns your data. Why would they delete it if they don't have to?
Comment · 4 years ago
There's definitely perfect and perfect for the business. But when large companies have many developers they all have to do something. They will spend their time doing something unnecessary.
Comment · 4 years ago
I would never suggest archiving unless we're hitting some performance limit. Why generate more busy work? Just leave it there and if need be add more indexes and partitions.
Comment · 4 years ago
Comment · 4 years ago
There are Rails gems that can handle this in various ways.

But the easiest way is to deactivate the user account (is_active boolean) and continue to reference the user in internal records.

Comment · 4 years ago
There are some Rails gems that take care of this by scoping associations (that also have the deleted_at column).

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton