Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
mehrdadn
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
53 ms
·
481.
▲
by
mehrdadn
6y ago
I know about this technique and I can pretty much never bring myself to actually do this in practice. For one thing there's pretty much always something more useful to return, and suddenly it becomes incredibly unergonomic to return an
482.
▲
by
mehrdadn
6y ago
Yeah it's all subjective. On my end concepts kind of seemed unnecessary to me (albeit useful) given you could just write unconstrained templates. In fact I still expect most people to do that a large fraction of the time just due to th
483.
▲
by
mehrdadn
6y ago
I suspect the explanation is mundane: I'd expect it's just to allow a compiler to actually null out the pointer if it is able and willing to (for debugging or whatever) without affecting the correctness of the program.
484.
▲
by
mehrdadn
6y ago
For those interested: the two biggest features are probably coroutines and modules.
485.
▲
by
mehrdadn
6y ago
So only for those in Europe and CA? Even re: California, are you sure CCPA implies these data brokers have to respect your opt-out for this particular purpose? (For reference, the opt-outs existed before CCPA and I believe GDPR as well... s
486.
▲
by
mehrdadn
6y ago
> I'm looking forward to when they (hopefully) start to hand out fines. Given the pandemic, plausible economic collapse, Brexit, and so many other things going on in the world right now, I wouldn't hold my breath.
487.
▲
by
mehrdadn
6y ago
> they’re legally bound to respect your choice Can I ask by what law?
488.
▲
by
mehrdadn
6y ago
> 'Horizontal integrals' does not work. It refers to one way of visualising functions (and even then, only of 1 or 2 variables, and only with specific conventions), and not to the integral itself. We already have "left&quo
489.
▲
by
mehrdadn
6y ago
Is there any replacement for squashfs? I don't know of any other format on Linux that captures the state of the file system as fully as squashfs.
490.
▲
by
mehrdadn
6y ago
Thank you! :) Though I'd assume I'm not the first to think of them haha.
491.
▲
by
mehrdadn
6y ago
+1 for commutative groups. Interesting point! So like we'd rename group theory to Galois theory? :)
492.
▲
by
mehrdadn
6y ago
Memoryless isn't even something I came up with, it's practically in the first sentence of everyone's description of the Markov property, e.g.: https://en.wikipedia.org/wiki/Markov_chain#Definition Also s
493.
▲
by
mehrdadn
6y ago
This isn't about variable names and functions though. Math has those too, but the proposal isn't to change those. In programming we don't call a C compiler a Ritchie Hopper (or whatever).
494.
▲
by
mehrdadn
6y ago
Not sure how feasible or necessary this is in general, but there are certainly some places for improvement. Some more modern examples than "isosceles": - Heaviside function → step function (edit: though maybe this one is, amusingl
495.
▲
by
mehrdadn
6y ago
He talked about more than just unique_ptr if you actually watch the video, but I don't even get why you're dying to have such a pointless argument here. When you see free lunches offered somewhere, do you start arguing with people
496.
▲
by
mehrdadn
6y ago
Oh interesting! Thank you!
497.
▲
by
mehrdadn
6y ago
I've had a lot of issues with git UI but git checkout seems among the more sane ones. Compared to how, say, git add can remove a file...
498.
▲
Most Massive Gravitational-Wave Source Ever Detected
(scitechdaily.com)
1 points
by
mehrdadn
6y ago
|
0 comments
499.
▲
by
mehrdadn
6y ago
This makes sense, but I don't understand how this relates to my comment unfortunately. If anything it would suggest my prior interpretation of "is suffered" was correct? At least I don't see how this translates into an e
500.
▲
by
mehrdadn
6y ago
> "The employee is suffered" means someone/something is suffering the employee. The employee is hurting someone/something. Huh, interesting. How does this make sense in context though? The text says "all the tim
501.
▲
by
mehrdadn
6y ago
Yes. I understand to "be suffered" here means "to be made to go through something unpleasant/undesired/etc."... which is what a security check is. The point I take being that if you make employees "suffer&
502.
▲
by
mehrdadn
6y ago
2 - But if the circuit court used the back of the sentence to read the first half, time going through security screening would've seemed like a pretty obvious example of time that the employee "is suffered", right? My underst
503.
▲
by
mehrdadn
6y ago
> The lower court read that as "hours worked is the time under employee control where the employee can work whether they do it or not". The supremes cut that into two statements at the ", and" and made "subject t
504.
▲
by
mehrdadn
6y ago
Oh wow, thanks! Didn't realize it was already discussed.
505.
▲
Apple ordered to pay retail workers for security screening time [pdf]
(cdn.ca9.uscourts.gov)
171 points
by
mehrdadn
6y ago
|
9 comments
506.
▲
by
mehrdadn
6y ago
This seems... ambiguous, actually. I for one automatically took "free users" to mean free users of the CI/CD feature , not free users of GitLab . Meaning, the set of people who use > 0 CI/CD minutes. I'm actual
507.
▲
by
mehrdadn
6y ago
I'm confused, this seems unrelated to ABI. It's entirely up to the caller whether to subsequently destroy the moved-from object or to skip doing so. Whether or not the caller does so is irrelevant to the call or how the parameter
508.
▲
by
mehrdadn
6y ago
I've been wondering why they don't permit destructor elision after a move into a newly constructed parameter. I have a hard time seeing how this would break reasonable code, and even then, we can probably find a backward compatibl
509.
▲
by
mehrdadn
6y ago
I think there might be a terminology mixup here but he probably meant zero- overhead abstraction. And in any case, the point he's making is not a strawman argument.
510.
▲
by
mehrdadn
6y ago
> But that's not the point - the point is that smart pointers never claimed to be zero-cost abstractions, AFAIK. > I mean, who doesn't know that smart pointers can be slower than raw pointers? Nobody... on what basis? If you
More ›