Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
mb7733
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
31.
▲
by
mb7733
10mo ago
Yeah and (1) the codegen produces massive headers that slow compilation of anything that touches them (2) the generated classes are really awkward to use. Not a big fan of the experience of protobuffer generated code in a large C++ code bas
32.
▲
by
mb7733
11mo ago
> In a real-indexed vector, that notion doesn't apply. It's "infinity plus one" all the way down: whatever real value you pick to start with, x, there's no delta small enough to add to it such that there's n
33.
▲
by
mb7733
11mo ago
Standard deviation of what
34.
▲
by
mb7733
1y ago
> If you run a Jimmy John’s, most of your customers will pay with credit cards. Everything runs through banks. You can’t launder that easily. You don't need to launder it, it was acquired legally
35.
▲
by
mb7733
1y ago
Interesting! On the guitar when alternate tunings are used, the pitches are written as they sound. I wonder if maybe the difference is due to the fact that alternate fingerings are very common for guitar (because of having more strings spac
36.
▲
by
mb7733
1y ago
Your calculations are off unless it's assumed each employee eats an entire pizza. Not to mention bulk discount.
37.
▲
by
mb7733
1y ago
I don't know but you're a little behind the times. Kids these days don't have Boomer parents.
38.
▲
by
mb7733
1y ago
That's not a good analogy. Mostly shows you don't understand the problem being solved. It's not "faking" an analog system within a digital system. (If anything, that's what a full digital DJ set up is.) It'
39.
▲
by
mb7733
1y ago
Your use of "illusion" and "pretend" seem a bit dismissive or cynical. It's just a vinyl interface to a digital set up. The alternative (when using digital music) is a digital controller which also tries to mimic vi
40.
▲
by
mb7733
1y ago
Indexes can only help narrow down to the issues for the project (more generally: matching rows for the query). Once the index narrows down the rows, Postgres still has to count them all, and Postgres isn't particularly fast at that, es
41.
▲
by
mb7733
1y ago
I worked as a poll clerk in a Canadian federal election once and counted ballots and the experience left me with full confidence in the system. It would be impossible to game on a large scale and incredibly difficult on a small scale. From
42.
▲
by
mb7733
1y ago
I used to agree with this completely, but type annotations & checking have made it much more reasonable. I still wouldn't choose it for a large project, but types have made it much, much easier to work with others' python code
43.
▲
by
mb7733
1y ago
I haven't used R in forever, but is your `.` placeholder actually necessary? From my recollection of pipe operator the value being pipe piped is automatically as the first argument to the next function. That may have been a different i
44.
▲
by
mb7733
1y ago
Static analysis could only tell you which fields are never used, across all usage of the class. Not on a given instance.
45.
▲
by
mb7733
1y ago
Broadly speaking electric bikes don't use regenerative braking. It's not possible with a road bike drive train. In any case, the weight of the motor is overcome by the motor itself, using the power stored in the battery.
46.
▲
by
mb7733
1y ago
While I don't believe they're being used to cheat in professional cycling, a motor would _definitely_ provide a massive advantage in a cycling race of any kind. A motor easily provides enough power to overcome its weight, and they
47.
▲
by
mb7733
1y ago
> I was pretty young in 2005 but $15.000 would get you a decent car (though not a pickup). A base model Ford Ranger would have done it!
48.
▲
by
mb7733
1y ago
... Hence the scare quotes
49.
▲
by
mb7733
1y ago
> One thing I haven't seen written about much is how these APIs turned into massive liabilities for privacy. If a Twitter API allows me to siphon tweets off of Twitter, you can never delete them. Is that really a privacy concern? Tw
50.
▲
by
mb7733
1y ago
Isn't that their point though? They don't have 30 years of C/C++ experience and a workplace with very strict guidelines. They are just trying to write some code, and they run into trouble on C++'s sharper edges.
51.
▲
by
mb7733
1y ago
> I don't really ever find myself having to do that. I guess it's been a long time since I worked in an environment which did not use an "only merge to main after passing CI" workflow, and back then we weren't us
52.
▲
by
mb7733
2y ago
Right, gotcha, I just found it confusing to say "modifying a `const` value" but if course you meant modifying the underlying value [through a cast]. All good.
53.
▲
by
mb7733
2y ago
Sorry, misread your post.
54.
▲
by
mb7733
2y ago
Part of the problem is that it trickles down and affects sport at lower levels. I was an age group swimmer (ages 10-18) when those suits came out. I can't remember exactly but it at least 10x'd the minimal equipment budget for the
55.
▲
by
mb7733
2y ago
> modifying a `const` value is only undefined behaviour if the underlying object is `const`. I found this sentence confusing. You mean that modifying a value that has been const_cast is undefined behaviour only if the original variable w
56.
▲
by
mb7733
2y ago
The man in question can and did stand, no 'possibly' about it. This statement a specific case is different than the probability of it working in general.
57.
▲
by
mb7733
2y ago
From whom was VSCode acquired?
58.
▲
by
mb7733
2y ago
> If the shortest proof for some theorem is several thousand pages long and beyond the ability of any biological mind to comprehend, would mathematicians not care about it? Care or not, what are they supposed to do with it? Sure, they ca
59.
▲
by
mb7733
2y ago
What the hell is that quote? No, a simple proof is the absolute mathematical ideal!
60.
▲
by
mb7733
2y ago
> No one ever left your team? That’s not a badge of honor—it’s a red flag. No one’s being challenged enough to outgrow their role I don't follow this, seems like you could conclude the exact opposite. I.e. If no one is leaving they
More ›