Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jdmichal
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
61.
▲
by
jdmichal
3y ago
So unsurprisingly based on my gripes, we are an OLAP shop. I've never heard of ClickHouse before, and I'll be looking into it. We're doing OK on PostgreSQL, but just OK. A lot of learning and unlearning.
62.
▲
by
jdmichal
3y ago
I've had two real gripes with SQL. The rest of it has been, as you said, pretty good. Complaint 1: Not being able to use selected columns later in the same select. SELECT gnarly_calculation AS some_value, some_v
63.
▲
by
jdmichal
3y ago
Why would one not want possums? They are great. Eats bad bugs, highly resistant to rabies, and generally non-aggressive towards humans.
64.
▲
by
jdmichal
3y ago
Invariants and all methods -- including constructors -- enforcing them is OOP 101. I would be surprised if they felt the need to make such a callout in the language specification.
65.
▲
by
jdmichal
3y ago
I've felt similarly for a while. It seems like all these smaller brewers start with an IPA, then maybe make something else later. Well, I don't like hoppy beers, and I especially don't like IPAs. I like malty dark beers li
66.
▲
by
jdmichal
3y ago
Or, in my opinion, even worse... When you get mix-and-match because you want to extend a fluent API. Using your example, what if `SetWriteTimeout` was a static method you wrote, but all the others were provided by library as a fluent API?
67.
▲
by
jdmichal
3y ago
They're more discoverable, because typing in `object.` tells the IDE that you are looking for methods on the type of `object`. If the IDE is aware of extension methods, it can also expose them the same as instance methods. Java specif
68.
▲
by
jdmichal
3y ago
> Since 2018 U.S. stocks have returned 9.59% per year (I checked with Portfolio Visualizer) and international stocks have returns 1.83%. Right, so there's your 8% per year upside risk. So during US recessions, do international stoc
69.
▲
by
jdmichal
3y ago
Is that entirely recency bias, or also changing facts? Economies are very interconnected now. It's hard to imagine a scenario today where a global economic power enters a large recession, but there's some other economy out there
70.
▲
by
jdmichal
3y ago
If your goal is to maximize the number of people actually in the park, then you want cheap early cancellations, and high late cancellation and no-show fees. You want to encourage people to cancel with enough warning if they no longer plan
71.
▲
by
jdmichal
3y ago
> *****: This person deserves to have access to this platform and the ability to earn a living through it > *, **, ***, ****: This person is a danger to me, themself, and others and should be removed from the service Sure sounds like
72.
▲
by
jdmichal
3y ago
If only the article had covered such a scenario... And I quote: > *****: This person deserves to have access to this platform and the ability to earn a living through it > *, **, ***, ****: This person is a danger to me, themself, and
73.
▲
by
jdmichal
3y ago
I would imagine that thin plastic is more resistant to permanent deformation than thin metal. Or, in other words, when then metal bends, it tends to stay bent. Thin plastic can more easily bend, but then restore to its original shape. But
74.
▲
by
jdmichal
3y ago
CRT TVs automatically degaussed every time they were turned on...
75.
▲
by
jdmichal
3y ago
I agree with you. But also, to be fair, I'm pretty sure in that time phone bodies have transitioned from mostly plastic to mostly metal? I'm sure that has something to do with the weight, and I would guess that the metal shell i
76.
▲
by
jdmichal
3y ago
> The litmus test for panic! vs. Result<T,E> is not rarity of occurrence, it's whether the condition represents a programming bug or a recoverable error. Because that exact same conceptual separation worked so well for Java wi
77.
▲
by
jdmichal
3y ago
My bad, I looked at the bottom of the page and misread the Redis trademark callout as a company copyright. Apologies for any insults! I didn't even read the full line, because it clearly says not even affiliated. I have no excuse othe
78.
▲
by
jdmichal
3y ago
I'm pretty sure to be a submarine, the implication is that someone not related to the project is writing the piece. This is just straight PR fluff on the project's own website. ~~Also, apparently the project is part of Redis.~~ E
79.
▲
by
jdmichal
3y ago
In Florida, the fees paid for specialty plates are given directly to an organization which established the plate -- typically a charitable organization. So they're a way to support, while also providing personalization. The $25/
80.
▲
by
jdmichal
3y ago
The answer will heavily depend on what you're doing. CRUD patterns where you're pulling out a small group of rows from several tables, you probably want indexes on `JOIN` clauses so that you can quickly find those links using nest
81.
▲
by
jdmichal
3y ago
Another asymmetry: Winnings are always included while losses are itemized. Which means if you take the standard deduction you cannot write off the loses, but still have to include the gains.
82.
▲
by
jdmichal
3y ago
Indeed, there's a size limit on reportable winnings that trigger the necessity of a W-2G. There's also potentially different requirements that trigger tax withholding by the payer. It's generally $600 for winnings, and $5000
83.
▲
by
jdmichal
3y ago
Think of it like the NTP protocol to for machines to sync wall-time. The idea is that there's an authoritative source of data, in this case the local time on the server. Your machine also does its best to independently track and main
84.
▲
by
jdmichal
3y ago
https://en.wikipedia.org/wiki/Biochar > Biochar is the lightweight black residue, made of carbon and ashes, remaining after the pyrolysis of biomass. Biochar is defined by the International Biochar Initiative as &qu
85.
▲
by
jdmichal
3y ago
> Haven't read this case closely but it sounds to me like the attorneys said "it's possible these are deep fakes" and not "these are deepfakes." The former seems like a reasonable argument to make, but accor
86.
▲
by
jdmichal
3y ago
The bigger change for mortgage interest was the massive increase in the standard deduction in 2018 to $24,000 from $12,700. We were barely doing better than the standard deduction prior to that, and the increase put us pretty far into &quo
87.
▲
by
jdmichal
3y ago
Three-way merge might not be the correct term. I mean it as in the three versions being "original", "version-a", and "version-b". Original is the most recent common ancestor of version-a and version-b. So th
88.
▲
by
jdmichal
3y ago
Yes, the Bitbucket PR screen is really good. Even when a commit removes the code a comment is tied to, it still shows it as an "outdated comment" or some verbiage like that. The approval controls available are pretty good too.
89.
▲
by
jdmichal
3y ago
There's also Atlassian Bitbucket. Which we're moving away from, because they do not support arm Docker builds. They don't support it because it requires privileged flag, and so it would give access to other builds on the sa
90.
▲
by
jdmichal
3y ago
I've used many different version control systems. Git is, by far, the best at merging and avoiding conflicts to start with. I believe it's because it can often work from the basis of a common ancestor commit, so it's able t
More ›