1,562 karma · joined Aug 24, 2019 (7y ago) · 536 submissions
comment 6y ago · link · parent
For context, I'm an engineer that uses Postgres heavily, with some basic BigQuery + Redshift. I don't understand what the benefit of something like Clickhouse are over a standard warehouse.
comment 6y ago · link · parent
I get that John is down, and I definitely don't have whatever insight led him to say "even if I'm lucky enough to return someday, other people won't be". From my understanding though, a huge portion of corporate around the stores and parks was furloughed because there's not much for them to do at home. Their healthcare is covered and kindness aside it doesn't make much sense for Disney to bleed money. But this wasn't a covert layoff — when things get back to speed Disney wants people back.
Edit: And furloughing the employees allows them to claim unemployment, so that the US government can absorb the impact rather than Disney. Not pretty, but rational in a time of stimulus.
comment 6y ago · link · parent
comment 6y ago · link · parent
comment 6y ago · link · parent
Because if you did that you'd have a monolith, and microservices are really fashionable right now.
comment 6y ago · link · parent
"The Wetware Crisis: The Dead Sea Effect"
comment 6y ago · link · parent
For those interested, a low level technology interview that I scratched the itch I hope'd the Jim Keller one would: https://oxide.computer/blog/on-the-metal-1-jeff-rothschild/
On this episode of On the Metal, we interview Jeff Rothschild. Jeff has had a fascinating journey solving all sorts of fun problems at various levels of the stack. He is most widely known as being a co-founder of Veritas Software and the first VP of Engineering at Facebook, but his story does not start there. Join us as we hear Jeff’s stories from his impressive technical endeavors including disassembling MS-DOS, editing machine code in an octal editor, trolling coworkers in error messages, the origin story of ftruncate, and more.
comment 6y ago · link · parent
I was taught to read without subvocalizing and I think I am a faster reader for it. I visually process "chunks" of text and hop from chunk to chunk. My SO subvocalizes and is a noticeably slower reader.
comment 6y ago · link · parent
Part of the power of OP's technique is that it looks exactly like a standard Django/Rails data model with a tiny sprinkle of magic -- no surprises. It's surprising for a Django programmer to hear "all periodic tasks are handled via celery, except these table refreshes" or "signals are responsible all work in response to model changes, except these triggers".
Obviously in some cases you need a trigger for correctness, but in general I try to stick to the conventions of the ecosystem.
comment 6y ago · link · parent
But yes, you're right that this is caching, with all associated pitfalls.
comment 6y ago · link · parent
Two things that would help:
1. Getting Incremental View Maintenance (IVM) [1] into Postgres. It looks like work is beginning on this but it's been 7+ years coming. If there are any Postgres devs looking at this, I'm cheering for you!
2. There's a commercial group doing an implementation of this, Materialize [2], but they don't have any publicly released product yet. I mention it because their interview on Data Engineering Podcast is really good [3] and I really like their focus on correctness by working from replication logs.
[1] https://wiki.postgresql.org/wiki/Incremental_View_Maintenanc...
[3] https://www.dataengineeringpodcast.com/materialize-streaming...
comment 6y ago · link · parent
Dennard scaling was a nice side benefit of transistor shrinks.
comment 6y ago · link · parent
He rails against a strawman where people put SQL everywhere, into views, into application logic ("mail merge" is one he mentions), and DBAs gatekeep everything.
The common sense part: no, your views shouldn't be composing SQL with string interpolation.
The moronic parts:
- He venerates application logic and regards the data model as a detail, but data models aren't details — they tend to outlive application logic.
- He holds up in-memory data structures as a platonic ideal, but doesn't address the things databases provide for you: schemas, constraints, transactional semantics and error recovery, a clear concurrency story.
comment 6y ago · link · parent
What percentage of HN visitors do you think can read the full text of this article? 1% seems like a high estimate.
comment 6y ago · link · parent
Any HNers have tips for working in low-data regimes (N=low hundreds)? Is there some magic Bayesian angle I don't know about?
We haven't systemically looked at effect sizes and this article is a good push for me to dig into that.
comment 7y ago · link · parent
"Tools and Tips #1 from Applied Science": https://www.youtube.com/watch?v=YBQp04glQqc
comment 7y ago · link · parent
Both can be overcome but require really good, disciplined people.
On resources, the "right" answer is to have your core team focused on the off-the-shelf version, and then have revenue from the boutique version fund its own additional labor. In my limited experience, software salespeople crumble on putting out the big price tag ask to make boutique development work in this way.
On functionality differences, there's a spectrum of customization. Extreme customization often comes at the detriment of the overall evolvability of the software. So for boutique customization you need judicious devs who build carefully, you need PMs who can push back on the customer delicately, and sales folks who don't overpromise. A good friend's uncle sold his otherwise thriving software company because his boutique product had fragmented into a dozen products (one for each client) and it was impossible to maintain.
If the boutique version is a coat of paint with a custom page or two, life is great! If they're completely different, you're essentially a consultancy working on your own product on the side. That's a grind and I've seen it burn people out.
comment 7y ago · link · parent
Both anabolism and catabolism are always operating, though at different rates depending on the environment and needs of the organism. The funny thing is that catabolic processes will happily tear down important parts of the system, forcing them to be anabolicly rebuilt. Things like bone and muscle mass. This seems wasted, but it has an extremely important purpose: uncontrolled anabolism is cancer.
I think the analogy to code is obvious. We've all seen codebases that have gotten out of hand (gotten cancer), and part of the reason they got that way is because the growth pressures had no countervailing teardown pressure. The market provides selective pressure in nasty ways: codebases and systems with cancer slow and die, and are replaced by younger codebases without uncontrolled growth.
How do we break that cycle? By encouraging catabolic activity culturally within our companies and codebases. Cleanup is incredibly valuable. Functionality that isn't being heavily used and is complicating implementation of new work should absolutely be on the chopping block. We don't have to be quite as aggressive as biological systems, but we shouldn't take their example lightly either.
This also provides insight into when cleanup doesn't matter: when the survival horizon of the organism is sufficiently short that cancer frankly doesn't matter. Startups shouldn't worry too much until they have product market fit. Once it's clear they'll be around for years more though, catabolic work will help ensure future health.