Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
blagie
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
29 ms
·
391.
▲
by
blagie
3y ago
Meh, don't care. Seriously, we had ice ages. Temperatures go up and down. I can't bring myself to care about 86 instead of 83 degrees F in the summer and 23 instead of 20 in the winter. It's like moving a few hundred miles so
392.
▲
by
blagie
3y ago
There are many reasons this happens: 1) As a CEO, I want headcount. Being the CEO of a 200-person operation sets me up for better jobs than a 50-person one. Being in high-profile organizations if good too (and when they fail, I can switch j
393.
▲
by
blagie
3y ago
I took notes in LaTeX in my college. I didn't need macros or the fancy editor setup. It's not hard. It turned passive learning into active. I didn't have a few of the formatting nuances as pretty as he did (e.g. boxes around
394.
▲
by
blagie
3y ago
Good news is as retired neurosurgical anesthesiologist, you can afford $50 every 3 months, so it probably doesn't matter. Regarding Lego, it can get better! Horrible web site, but have a look at Engino Discovering STEM. The kits are wa
395.
▲
by
blagie
3y ago
I can't direct you to a reference. Most of what I wrote is based on two things: 1) My own experiments. You can monitor PM2.5 levels accurately with a PMS5003 ($40 on Adafruit) plugged into an ESP32 ($10 on Adafruit) and ESPHome + Home
396.
▲
by
blagie
3y ago
They're not if you use them well! Factoids: - These furnace filters have a 3-month lifespan due to big particles. Adding a cheap, coarse prefilter in front will expand the lifespan to be very, very long, indeed. It won't impede ai
397.
▲
by
blagie
3y ago
Imagine this scenario: - You have an uncle with skin cancer. You bump into an oncologist at a party. You ask some technical questions. Annoying lady cuts in and starts talking about essential oils. Oncologist wanders off. - You're an a
398.
▲
by
blagie
3y ago
This is a very good paper. The effect size is quite significant (>60% speed-up for ageing). I will reiterate: Correlation does not imply causation. The next step is to look for root causes. * Air pollution is correlated with traffic is c
399.
▲
by
blagie
3y ago
Personal feedback: You have a tendency to make obvious, unsubstantiated, often slightly incorrect statements with a very high level of confidence and assuming you're talking to an idiot. I'm not learning anything from you. Let
400.
▲
by
blagie
3y ago
I can speculate too, but the reason I asked OP is because he would know and have actual numbers. Regarding your questions: 1) Loss of data only matters in some contexts. For cloud backups, it really doesn't matter much since it's
401.
▲
by
blagie
3y ago
Off-topic: Can you explain why cloud storage is so expensive? You charge 1c per gigabyte per month, so $120/TB/year. I can buy a 20TB HDD for around $300-$400 in my bedroom. On your rack, same drive runs $2,400 / year. Your p
402.
▲
by
blagie
3y ago
Citations appreciated! I will not respond in-depth to most parts, because I agree with what you're writing. But I will make one or two points. To clarify a piece of confusion: > Maybe this is our biggest disagreement. I believe ther
403.
▲
by
blagie
3y ago
> You have just described a good ORM used well. No. I did not. ORM is an "object–relational mapping." It maps data relations onto objects. https://en.wikipedia.org/wiki/Object%E2%80%93relational_mapp... &g
404.
▲
by
blagie
3y ago
The question wasn't over $5. The question was over an extra $5, for a total of $10. $5 is basically the upper bound of where I'm willing to experiment. The question is also very much about whether I am "supporting an independ
405.
▲
by
blagie
3y ago
> The specifics of how you retrieve data is an implementation detail. Correct. > (behind a system dedicated to pulling data). That's the textbook definition of a good ORM. > One could easily argue that you should be able to ma
406.
▲
by
blagie
3y ago
That assumes I'm not doing something more important right now! I think it's probably worth doing, but I have a list a dozen long of better startups. The key risks around something like this as a startup are: 1) Regulatory and comp
407.
▲
by
blagie
3y ago
I didn't buy the hardware, but if I had, I would quibble over the extra $5. No, seriously. I would. Here's the basic problem: * I wouldn't mind spending $10 on something which I know I'm using. * Most apps sit on my phon
408.
▲
by
blagie
3y ago
I kind of disagree. If you're using an ORM, the ORM is the abstraction layer which should be sprinkled throughout the code. You shouldn't wrap a layer in a layer. If that's the right abstraction, use an ORM. If it's not,
409.
▲
by
blagie
3y ago
I don't think it's a challenge at all. I could build one for my house for <$1000 and <2 weeks work. I could do all the design work for one which could be manufactured at scale in <6 months and <$500 per unit (although
410.
▲
by
blagie
3y ago
You missed the point entirely. Language like "require raw SQL today might be more elegantly handled with an ORM's language" suggests that you do not understand the elegance of SQL or the relational data model. However, you ar
411.
▲
by
blagie
3y ago
I see. That makes sense. That actually seems like a very solvable problem with older boilers by adding something like a heat exchanger on the flue / exhaust. That should be a <$500 retrofit, and should bring efficiency up to >>
412.
▲
by
blagie
3y ago
I'm not quite sure how a boiler can be efficient or inefficient. It seems like for every watt of power going in, I get one watt of heat out. That's basic thermodynamics. If heat doesn't make it into the water, it still ultima
413.
▲
by
blagie
3y ago
My problem is whenever I've seen these numbers, they were completely baked. "The total price tag for the entire home project was roughly $75,000, after rebates. But Tuttelman says it will pay for itself in about six years through
414.
▲
by
blagie
3y ago
The dial should be turned very high on the free speech side. The problem is that companies are treated as the "corporate person," which is complete nonsense. This isn't about pro/anti-business. It's just that compan
415.
▲
by
blagie
3y ago
Mapping rows returned from a query onto typesafe objects is okay, but doesn't require an ORM. It's quite literally just making sure each row: 1) Has the correct native type 2) Can be accessed by name Many normal database APIs do t
416.
▲
by
blagie
3y ago
Yes. The basic data model was invented a half-century ago. Expressiveness of basic SQL is not different depending on the engine. Relational algebra is the same however it's implemented. Some databases have extensions, and those are oka
417.
▲
by
blagie
3y ago
ORMs are nice for "Hello World," and hit a brick wall later. I don't mind them for simple systems, but for more complex systems which need SQL, don't use an ORM. Mixing ORMs with raw SQL generally mixes and breaks layers
418.
▲
by
blagie
3y ago
The basic problem is that: 1) Relational databases are the best abstraction we've found for storing data. Despite years of attempts (OODB, XML databases, various nosql stores, etc.), we have not been able to improve on it. postgresql,
419.
▲
by
blagie
3y ago
This would be the right way to go if: 1) Databases had a consistent language for storage procedures 2) It was sane The problem is that stored procedures work differently in every database, and most have come up with crazy / stupid ways
420.
▲
by
blagie
3y ago
I think a lot of it depends on the instructor. I was doing pretty nice TiG welding after one class, which was probably around 2 hours per session times four sessions. Better than most of what I see with tradespeople in the area. That was tr
More ›