149 karma · joined Nov 22, 2019 (7y ago) · 63 submissions
comment 3y ago · link · parent
Recursive common table expressions are part of the SQL standard (since 1999) and are quite frequently used to traverse hierarchical data (aka "adjacency list").
It is part of basically all (good) SQL tutorials - at least in the "advanced" part.
comment 3y ago · link · parent
Despite what the Amazon marketing is telling, Redshift is not really a "fork" of Postgres.
To my knowledge they only used the SQL parser and the wire protocol from Postgres.
The optimizer, query executor and storage engine are totally different. The whole "Redshift is Postgres" is complete marketing BS in my opinion.
comment 4y ago · link · parent
comment 4y ago · link · parent
comment 4y ago · link · parent
I don't understand the purpose of such a calculation. If you want to check if two dates (or timestamps) fall into the same year, you compare the year part of them. If you want to check how far they are apart, you compare the difference between the two to an interval.
comment 5y ago · link · parent
Mozilla please stop applying smartphone designs on the desktop. I love the browser, but I hate it that you wreck a perfectly fine UI every other release.
comment 5y ago · link · parent
It's simply a way to express disagreement with the statement.
How else would one signal agreement or disagreement if not by up- or downvoting? Would you rather have everyone answer with "I agree" or "I disagree"?
Maybe Hacker News simply attracts more US readers than non-US readers and thus they are bound to disagree with any criticism.
comment 5y ago · link · parent
comment 5y ago · link · parent
From a link shared on a public news aggregation site, I would expect the content to be publicly available as well (or at least some kind of indicator in the title)
comment 5y ago · link · parent
And I always thought that the (software) engineers would be the heart of the company. That puts their (allegedly) preferred way of interacting with customers and the rest of the world into perspective