Hacker News new | past | comments | ask | show | jobs | submit | ro_sharp's comments login

Not sure I follow. In a world with CTEs and views, what do you think is missing for composability?


CTEs really tripped me up when I started using them professionally. My mental model was that they result in reusable objects in memory and thus could be used to improve performance as well as composition.

After discovering the truth, it was interesting to find out that almost everyone I knew who wasn't a snr db engineer shared the same incorrect assumption.


https://borretti.me/article/composable-sql

>Imagine a programming language without functions. You can only write code that operates on concrete values, i.e. variables or literals. So instead of writing a function and calling it anywhere you have to write these little code templates as comments and every time you want to “call” the “function” you copy the template and do a search/replace.

>This would be tiresome. But that’s what SQL is. The concrete values are the table names. The code is the queries. And the function templates you have to search replace are your business logic, which must be inlined everywhere it is used.


I don’t know why we call having a mortgage “ownership”: it’s not. Across the western world mortgages are getting larger and longer relative to income.

More people are in more significant debt bondage than in the past, that’s not an improvement.

The proportion of owned outright homes has been declining in the western world for 30 years.


Because you legally own your property.

So long as you make your payments on time, the lienholder cannot confiscate your property to make the pie whole. The money might be theirs, but the property is yours.


Depends on the jurisdiction but they are often within their rights to call the loan especially if it goes into negative equity.


Bullshit. US residential mortgages can't be called, even if there's negative equity.


The US isn't the only country in the world


Great, now I’ll get more than two or three of these every day just because I live in a mildly dense city centre…


> GPT-4 doesn't seem profitable (if it was, would they need to throttle it?)

Maybe? Hardware supply isn’t perfectly elastic


> Curious minds wonder what you do to be able to have that kind of time for travel

In developed countries outside the US annual multi-week vacations are routine for the middle classes


yes, and in developed countries outside the US, healthcare is something covered by the state. neither of which has anything to do with the discussion at hand. you're comparing an apple to a kumquat.


Yep, it’s an international embarrassment


The doomsday clock is closer to midnight than it’s ever been https://thebulletin.org/doomsday-clock/current-time/ and now we avoid another 1929 by inflating away the gains of the middle class and siphoning value off to the 1%


I don't understand how the doomsday clock is closer to midnight now than it was during the Cuban missile crisis. It makes me think that it's not an objective measure.


Mike Judge was right!


> You jump when they say jump

Thankfully sometimes 'they' are the customers paying real money for a product or service that's valuable to them.

But as you say, larger organizations have more room for political distractions on the way to giving that customer what they want.


Couldn’t this still hit partition throughput limits though?


It's pretty opaque. My impression is that each shard (storage backend quorum) gets a roughly equal share of capacity you pay for, and items in the same partition tend to live on the same shard to keep range queries small (and local indices require one-shard partitions). They've made improvements in loaning cold shards' unused capacity to hot shards, but they still recommend avoiding hot partitions and keeping load roughly even.


Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: