Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
metabagel
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
3 ms
·
1.
▲
by
metabagel
10d ago
From the article: ===== Should you go branchless? Most of the time, no. Branchless code is harder to read and easier to get wrong. Besides, compilers know a lot of tricks and already do a lot of this work for us. Only when a profiler points
2.
▲
by
metabagel
10d ago
OK, or maybe... total = calculateOrderTotal(user.order); total = total * user.discount;
3.
▲
by
metabagel
10d ago
I rather think the opposite. People who share tips and hacks are genuinely trying to help others, while people who hoard information are competing on an individual basis without regard for team.
4.
▲
by
metabagel
10d ago
OK, but the code with the branch is easier to understand.
5.
▲
by
metabagel
10d ago
In what context can you avoid branches?
6.
▲
by
metabagel
10d ago
Sorry this seems to have ruined your day. /s
7.
▲
by
metabagel
26d ago
I think you're off by at least an order of magnitude.
8.
▲
by
metabagel
26d ago
There will always be creative superstars.
9.
▲
by
metabagel
26d ago
They are in the process of getting their accreditation.
10.
▲
by
metabagel
26d ago
It seems like authorities determined there was no threat, but she was fired anyway.
11.
▲
by
metabagel
26d ago
This strikes me as somewhat like the old stories about people being reported by photographic film processors to authorities for submitting negatives of their own naked or partially clothed little children. That is to say that it seems like
12.
▲
by
metabagel
27d ago
> I’m not sure: when I was in high school / university it was well understood that places like Florida would be under water and unlivable by now. I don't doubt that is your recollection, but nobody back then was predicting it w
13.
▲
by
metabagel
1mo ago
I was good at mechanical drawing in college, meaning I could visualize the view of something from different sides. But, generally there was a perspective to work off of. I don’t have aphantasia, but I believe I have reduced ability to visua
14.
▲
by
metabagel
1mo ago
I believe it, because I tend to have a hard time visualizing even the faces of people I love and know well. It takes great effort.
15.
▲
by
metabagel
1mo ago
It's more of a mall. No loitering. No trespassing.
16.
▲
by
metabagel
1mo ago
I am able to search and browse Reddit forums and comments without logging in. Can't do that on Twitter.
17.
▲
by
metabagel
1mo ago
It's useable, but for me it's a sometimes frustrating experience. You're meant to compensate for the hard edges of the operating system, instead of the operating system being designed for humans.
18.
▲
by
metabagel
1mo ago
MacOS does some pretty annoying things. The virtual desktop implementation is abysmal. It won't let you just assign applications to a virtual desktop. It insists on forcing it and also auto-switching when you switch to the application.
19.
▲
by
metabagel
1mo ago
Alternatively, if this topic is too hot for discussion, it should be frozen but allowed to remain on the front page, because this book is newsworthy. I intend to read it.
20.
▲
by
metabagel
1mo ago
I believe this topic was flagged for political reasons, which constitutes an abuse of the system. This is an important topic for the tech industry. Avoiding it won't make it go away.
21.
▲
by
metabagel
1mo ago
IMO, what Thiel wrote is essentially that women and non-whites are beneficiaries of welfare and leaches on society, and that they therefore will vote to transfer wealth from the white men who create it (according to Thiel). https:/&#x
22.
▲
by
metabagel
1mo ago
> California’s Civil Rights Department, which sued Tesla in February 2022 after a three-year investigation, documented specific language in its complaint: the n-word, “porch monkey,” “monkey toes,” “boy,” “hood rats,” “go back to Africa,
23.
▲
by
metabagel
1mo ago
Tesla partly settles racism lawsuit as hundreds of workers press on https://electrek.co/2026/07/27/tesla-partly-settles-racism-l...
24.
▲
by
metabagel
1mo ago
“How the roots of the ‘PayPal mafia’ extend to apartheid South Africa” https://www.theguardian.com/technology/2025/jan/26/elon-musk...
25.
▲
by
metabagel
1mo ago
> DURAN: In April 2009, Peter Thiel wrote an essay in which he said he no longer believed that freedom and democracy were compatible and suggested that women and other people getting the right to vote marked the end of freedom being a th
26.
▲
by
metabagel
1mo ago
And... https://www.subjecttoinquiry.com/2014/04/obstruction-of-cont... ----- The defendant need not know a matter was pending or within federal jurisdiction. Instead, the “knowingly” element refers only to the obs
27.
▲
by
metabagel
1mo ago
And... https://www.subjecttoinquiry.com/2014/04/obstruction-of-cont... And... https://www.subjecttoinquiry.com/2014/04/obstruction-of-cont... ----- The defendant need not know a matter w
28.
▲
by
metabagel
1mo ago
> Once police open an investigation or once there is a lawsuit served, destroying evidence relevant to that lawsuit is illegal. An investigation doesn't need to have begun. All that's required is that you intended to destroy ev
29.
▲
by
metabagel
1mo ago
> Destroying evidence is legal all day long Absolutely not the case. (edited to use a better reference) https://www.law.cornell.edu/uscode/text/18/1519 > Whoever knowingly alters, destroys, mutilates, c
30.
▲
by
metabagel
1mo ago
Tariffs in and of themselves might make sense, but the process has been arbitrary and illegal. There needs to be some sort of a plan to these things, and there is no apparent plan here.
More ›