Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
codeflo
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
21 ms
·
391.
▲
by
codeflo
3y ago
I'm among the people who would have liked to eliminate even this special case and have a convenient postfix derefence for this. So instead of a->b() you'd have a*.b(), and if you need to dereference again, write a**.b() and so
392.
▲
by
codeflo
3y ago
That fixes the problem, but goes in the wrong direction IMO. I argue that you actually should only use MessageBoxW, ignore all the macros, and just use wide strings whenever you interact with the OS. An Ansi-only program is broken in 2023,
393.
▲
by
codeflo
3y ago
> The pre-main runtime doesn't do much This only applies to C++, but the CRT runs all constructors of global variables before main/WinMain. (Or rather, the CRT calls a special function that the compiler generates for this purpo
394.
▲
by
codeflo
3y ago
I mean, you can do as small a change as adding a const somewhere, and cause an (almost) independent file somewhere else in your codebase to hit the wrong overload.
395.
▲
by
codeflo
3y ago
I think I've hit the same kind of problem once. What I learned is that true smart pointers are types that (at least in Rust) aren't really supposed to have methods on their own, to avoid this type of ambiguity during method resolu
396.
▲
by
codeflo
3y ago
> The true magic lies not in the guitar itself, but in the virtuosity of the musician who brings it to life. Arguments like these are often used to defend unpopular technology choices, like (insert disliked programming language here). &q
397.
▲
by
codeflo
3y ago
That's essentially what all the fast transpilers do -- esbuild, babel etc. They don't typecheck the code at all, they just parse it and strip out the type annotations. This means that you can run and test code that doesn't ty
398.
▲
by
codeflo
3y ago
Yes, but it's special in that it compiles by erasure. (Mostly -- the cases where it doesn't are considered historical mistakes.)
399.
▲
by
codeflo
3y ago
I think it's easy to get hung up on the terms. Take "tutorial", what's the definition of a tutorial exactly, when actual examples of things called "tutorials" differ so wildly? I find this table helpful to unde
400.
▲
by
codeflo
3y ago
When I posted this, the HN submission headline was along the lines of “There’s no intuitive explanation for the volume of a cone”, clearly a comment by the submitter that the SE answers aren’t sufficient for them.
401.
▲
by
codeflo
3y ago
Is Cavalieri's principle (two volumes are equal if every cross section has equal area) considered calculus or not?
402.
▲
by
codeflo
3y ago
Doesn't the first answer attempt to give one? That's also the way many people learn it middle school, at least I think I remember I did. To spark a constructive discussion, it would be interesting to know what doesn't satisfy
403.
▲
by
codeflo
3y ago
Then don’t dodge the question and tell me the specs of the high-end computer that makes modern Windows that snappy. Because I have a fairly ridiculous machine as my main workstation, and I still wait way longer for stuff to load than I used
404.
▲
by
codeflo
3y ago
The last few paragraphs describe how they basically created unstoppable super-bacteria that are untargetable by any existing medication or immune response, what could go wrong? Let’s hope their lab safety is uncharacteristically excellent.
405.
▲
by
codeflo
3y ago
Or maybe a new system call to allow a thread to temporarily enter a “performance mode” where it can only be scheduled on the powerful cores. Pinning sounds a bit too strict.
406.
▲
by
codeflo
3y ago
Your response is unfortunately a perfect example why this technology has a dangerous UI problem. As other commenters have pointed out, no knowledge of these filters is embedded in the network. If HN users can’t distinguish hallucinations fr
407.
▲
by
codeflo
3y ago
A true TL;DR might be hard, but if the author finds the morning routine of the mathematician who discovered the proof worth mentioning, it's clear they aren't even trying.
408.
▲
by
codeflo
3y ago
Is there a precise biological explanation for that factor, e.g. metabolism rate or something?
409.
▲
by
codeflo
3y ago
I'll prefix my point by saying I'm not one of those people who think all reasoning should (or can) be Bayesian, but here, I think it applies at least as an analogy. In what you call "real world reasoning", you never have
410.
▲
by
codeflo
3y ago
It's not just the machine learning stuff, they have a non-portable approach for everything, including the platform's primary programming language. They still seem to live in a world where a significant niche of developers targets
411.
▲
by
codeflo
3y ago
All the people in this thread who decoded it used long exposure or faster playback. Using the latter, for me, it starts to become readable at 2.5x and is essentially a clear static image at 4x. (I had to download the video and play it back
412.
▲
by
codeflo
3y ago
I know you might have done this for the first time, but there’s a response like this in every HN thread now. Please stop doing it. It’s fine to discuss GPT in GPT threads (there’s no shortage of those). But this adds nothing to the discussi
413.
▲
by
codeflo
3y ago
> like, say, Electronic Intifada or MondoWeiss that anti-zionists can point to Spare me your racist bullshit please. It's just a bit funny that this is the same thread where you desperately try to portray yourself as the reasonable
414.
▲
by
codeflo
3y ago
There's no reason to believe it's a Gaussian distribution around the mean. Given that there are admission tests, you'd rather hope it's only the tail end of a Gaussian distribution, with the cutoff being what's requ
415.
▲
by
codeflo
3y ago
The homepage suggests otherwise, but who knows: https://bit.io/
416.
▲
by
codeflo
3y ago
I could imagine this being part of an offering that includes an appropriately customized URL shortener (or if necessary, lengthener).
417.
▲
by
codeflo
3y ago
I haven't heard of either of those companies. I don't even fully understand what Databricks does. But it's clear that they have no problem shutting down a production database offering with 30 days notice, and have the gall to
418.
▲
by
codeflo
3y ago
Advertising for their crypto scam. "I'm one of the good ones" said every crypto scammer ever.
419.
▲
by
codeflo
3y ago
> his personal views (which I do not support) and eccentricity Oh wow. That's some downplaying of the actual issue, which I won't make explicit because it's absolutely disgusting. The guy made himself and his foundation un
420.
▲
by
codeflo
3y ago
For anyone critizing this: From the trademark bullshit to the conference drama, it's clear at this point that someone with influence in the Rust foundation is behaving like an asshole and damaging the project. That can happen in open s
More ›