Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
souprock
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
33 ms
·
331.
▲
by
souprock
6y ago
Most places don't do any "shoveling off the riff-raff", yet they don't have that problem. It appears that the huge per-person budget San Francisco has for homeless people is actually generating homeless people.
332.
▲
by
souprock
6y ago
I don't want my car to use that spectrum or any other. I don't feel that the manufacturer (or Google or Facebook) needs to track my vehicle usage, and I don't wish for my car to pay any heed to signals emitted by untrusted un
333.
▲
by
souprock
6y ago
That would be 8 years prior to Ajit Pai. If it makes him incompetent, it also makes his predecessor incompetent. The fact that STIR/SHAKEN required a new law should be a big hint that the FCC Chairman didn't have the power to fix
334.
▲
by
souprock
6y ago
I recall a story that used fish hooks, swallowed in pills that were supposedly medicine for stomach pains. There was a huge electromagnet under the bed that would be pulsed sometimes, yanking on all the fish hooks.
335.
▲
by
souprock
6y ago
Depending on what you mean by "unmolested", a 5mi x 5mi square of land is really easy to get in most of the USA. (probably weeds, not pristine old-growth forest) It's pretty cheap, and there won't be any utility bills to
336.
▲
by
souprock
6y ago
What is going on is the implied idea that minimum wage is normal, or that minimum wage supports a family. It's neither. When minimum wage is low, it is how teenagers get some spending money and some employment references. When minimum
337.
▲
by
souprock
6y ago
It's not problematic. C programmers are expected to avoid screwing that up. C is a full-power language. If available, strdupa() would be a fine way to get a suitable local copy of the string. Commonly though, the programmer knows that
338.
▲
by
souprock
6y ago
Say what? You like to call plain strtok() from different threads, having them all update a shared global state? I think you missed the point here, because that would be some really evil usage of the strtok() function. We had "int errno
339.
▲
by
souprock
6y ago
C++ comments and inline functions arrived with C99, which was 21 years ago, not C11. With C11, itself now an obsolete standard from 9 years ago, we get the _Generic keyword. Avoiding the _Generic keyword is difficult. One might try using th
340.
▲
by
souprock
6y ago
The existence of strtok_r() is weird anyway. If we can make errno thread-safe, there is no reason why plain strtok() can't be thread-safe. The idea that somebody wants strtok() state shared across threads is just as weird as the idea t
341.
▲
by
souprock
6y ago
There is also the mangle-use-repair choice. I've done that with pathnames for creating nested directories. C programmers are expected to make the best choice based on the situation. The various choices trade off memory usage, CPU usage
342.
▲
by
souprock
6y ago
What if they do something even more deadly? They might smoke, drink alcohol, or ride a motorcycle.
343.
▲
by
souprock
6y ago
I don't agree that "access to healthcare, decent work, and basic housing" would have changed the outcome of a "lethal encounter with police after speeding". Doing that in a Bugatti Veyron is still lethal.
344.
▲
by
souprock
6y ago
It doesn't make sense from a virus perspective. Public transport is a thing of the past.
345.
▲
by
souprock
6y ago
My son hit that PCIe limit going the other direction, trying to get FFTW data on to the screen. The project: https://github.com/kevinacahalan/piano_waterfall With his motherboard it was impossible to keep both FFT view
346.
▲
by
souprock
6y ago
It was a trivial problem until remote education. Simply remove the network connection. As a kid I had a computer and a few precious programming books. I could program, or... not much really. I guess I could have enjoyed WordPerfect. As a pa
347.
▲
by
souprock
6y ago
Lost years as an adult might be more easily replaced. For a kid who blows off high school, where is the recovery? Many paths in life are more-or-less closed off.
348.
▲
by
souprock
6y ago
The contractor has a problem similar to employee turnover. Contractors make sense when there is a throw-away project (won't need long-term maintenance) that doesn't embody any proprietary knowledge or skill. As soon as a project c
349.
▲
by
souprock
6y ago
They, and much of the nation, would say that it is to stop a coup. The facts are quite disputed.
350.
▲
by
souprock
6y ago
I fear the answer, but... does Alt-Ctrl-F2 still get me to the second Linux console? Can I do Alt-Ctrl-Backspace to kill it, dropping me to a text console?
351.
▲
by
souprock
6y ago
Uh... you should report that.
352.
▲
by
souprock
6y ago
Build a better home, learning from the story Three Little Pigs. Don't build from straw or sticks. See https://www.monolithic.org/ for the right way to build. Crashing a vehicle does nothing. One of those homes, at the
353.
▲
by
souprock
6y ago
Well, obviously, the answer is a large family. I have 12 kids. Keeping watch should be easy. Dogs can help. There is a trade-off to be had. Larger dogs can actively participate in defense, but they require lots of food. Geese might be a bet
354.
▲
by
souprock
6y ago
The meme was "hunter2", not "Hunter02". It's not unreasonable as a password, given that the drive wasn't encrypted. Why bother with something difficult when there isn't any encryption to stop a person who
355.
▲
by
souprock
6y ago
No. CAS is superior to LL/SC. There is no possible undetected modification to the memory. That's how atomic operations work. That's the whole point of an atomic operation. It's atomic. Botching the code can be done with
356.
▲
by
souprock
6y ago
He didn't say anything about other punishment. There are many traditional punishments that have been used for thousands of years, some of which are still in use today. For example, the problem of shoplifting in Saudi Arabia is handled
357.
▲
by
souprock
6y ago
The use of LL/SC for atomics is a common mistake. It makes replay debuggers like rr impossible to implement.
358.
▲
by
souprock
6y ago
On October 25th, in New York City, a miles-long parade of Jewish Trump supporters got attacked. The usual offensive words were said.
359.
▲
by
souprock
6y ago
Short-sighted "environmentalist" thinking will let this invasive species take over all of North America and South America. We aren't willing to sacrifice, even temporarily, the local insects. You have to be willing to do that
360.
▲
by
souprock
6y ago
All form factors are wrong. They expose the butter to air. The proper form factor would be a cartridge for a caulking gun. The extra leverage provided by the mechanism means that cold butter works fine, and the protection from air means tha
More ›