Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
johntb86
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
17 ms
·
151.
▲
by
johntb86
5y ago
Suppose thread A (the owner) keeps a reference, but also puts another reference in a global variable. This would increment its local refcount to 1 and have a shared refcount of 1. Then thread B clears the global variable. With your scheme t
152.
▲
by
johntb86
5y ago
You also need to handle the synchronous IPC case, where a thread wakes up another thread and goes to sleep until some event happens (e.g. the other thread finishes running). You still need to intelligently choose what thread to wake up in t
153.
▲
Apod: 2013 August 1 – Moon over Andromeda
(apod.nasa.gov)
3 points
by
johntb86
5y ago
|
0 comments
154.
▲
by
johntb86
5y ago
Has anyone thought of trying to end-to-end train an h.265 decoder? The results might not be 100% perfect, but the resulting codec might bypass a ton of patents.
155.
▲
by
johntb86
5y ago
https://www.factcheck.org/2021/08/scicheck-sequencing-used-t...
156.
▲
by
johntb86
5y ago
The complaint is under "Related Materials" on the right side of the page.
157.
▲
by
johntb86
5y ago
The SEC complaint mentions this: > On August 5, 2016, Brown—whose tips enabled his friend, Wylam, to make nearly one million dollars—texted his then-girlfriend to inform her that he was going to Wylam’s house to, among other things, “tal
158.
▲
by
johntb86
5y ago
It seems like Sparkplug per se isn't generating the IR. Instead it's the interpreter doing that.
159.
▲
by
johntb86
5y ago
Windows is sort of a hybrid. The close/minimize/maximize buttons, border, and background blur are rendered by the server (the background blur on Vista and windows 7 couldn't possibly be rendered by the client), but I think th
160.
▲
by
johntb86
5y ago
That might actually save the utility companies some power usage - the resistance of a material increases with temperature and the homeowners would be reducing the temperature of the ground.
161.
▲
by
johntb86
5y ago
The Lockheed L-1011 had an engine at the very rear of the fuselage, though bypass ratios were lower when it was built than today.
162.
▲
by
johntb86
6y ago
It seems that by "ambient" they mean ambient pressure but not ambient temperature.
163.
▲
by
johntb86
6y ago
That's true, but git doesn't natively have a way to refer to a single diff. You can use a hash to refer to a commit, but that depends on the entire history up to that point. If you rebase a commit then the hash changes, even if th
164.
▲
by
johntb86
6y ago
The plane took off without a problem, so this was within the error tolerance. You could imagine cases (e.g. charter flights full of women) where it could be an issue, though.
165.
▲
by
johntb86
6y ago
Supreme court rulings are always connected to the law at the time of the ruling. If a law changes (at the state, federal, or constitutional level) that can change how the supreme court will rule. The state probably couldn't invalidate
166.
▲
by
johntb86
6y ago
Some systems can be particularly difficult to access through raw machine code. For example with ASLR the addresses of functions and data can move around at runtime, so without using the linker it can be hard to access. Or there are binary o
167.
▲
by
johntb86
6y ago
On the other hand, if self-driving cars are as good at avoiding accidents as the article says that may cause the price of insurance for non-self-driving cars to fall.
168.
▲
by
johntb86
6y ago
Perhaps it's just that the article isn't written in inverted pyramid style? In non-newspaper writing (e.g. a novella) having the main character be introduced in the 8th paragraph wouldn't be that odd.
169.
▲
by
johntb86
6y ago
They also sold out-of-the-money calls in Gamestop, meaning they made money if the price didn't increase.
170.
▲
by
johntb86
6y ago
Judges and courts are part of the government. In particular, they apply laws (including the constitution) that were written by the government.
171.
▲
by
johntb86
6y ago
They used to be somewhat popular in Mediatek SoCs, but not so much recently. I don't know why they're not getting as many design wins recently - maybe they're too expensive or too power hungry. In the end you can't just
172.
▲
by
johntb86
6y ago
Yeah, I'm curious after seeing the video how much the control could be corrected by a simple change to the car's software. Do Teslas have a sophisticated-enough physics model that you could reduce some constant for the coefficient
173.
▲
by
johntb86
6y ago
In the future they could turn into something like Rai stones, where it's impractical to move them but people still trade ownership anyway.
174.
▲
by
johntb86
6y ago
Wouldn't an adenovirus be delivering DNA? mRNA can't be incorporated into the genome (barring some crazy mixing due to a retrovirus) because it's RNA.
175.
▲
by
johntb86
6y ago
Even for stable firms they can be death. "Lights Out: Pride, Delusion, and the Fall of General Electric" makes the case that the MBA mindset (exemplified by Jeff Immelt) of focusing on finances and acquisitions while ignoring the
176.
▲
by
johntb86
6y ago
What do you do about interest on savings accounts or capital gains on stocks?
177.
▲
by
johntb86
6y ago
Strncpy doesn't add a \0 if it truncates the string, so the user has to remember to do that.
178.
▲
by
johntb86
6y ago
The main problem with duck-typing like python has is the lack of consistency between different objects that code has to work on. Different callers may pass objects with different sets of methods into a function and expect it to work. You ru
179.
▲
by
johntb86
6y ago
Chromium displays an "Aw Snap!" message when a renderer process dies.
180.
▲
by
johntb86
6y ago
I was surprised by that as well, but here's the term in the AXI license: "(i) where a product created under Clause 1(i) is an integrated circuit which includes a CPU then either: (a) such CPU shall only be manufactured under lice
More ›