Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
gary_0
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
58 ms
·
871.
▲
by
gary_0
4y ago
It would also be better to compute the min/max/avg difference of luma/chroma over the whole image than only do a manual comparison by eye.
872.
▲
by
gary_0
4y ago
Yes, I know. But some people still have the reflex from Python 2 and feel bitter when the error message says "I know what you want, and I'm not giving it to you."
873.
▲
by
gary_0
4y ago
> Hello world is just `print "Hello, world!"` SyntaxError: Missing parentheses in call to 'print'. Did you mean print("Hello, world!")?
874.
▲
by
gary_0
4y ago
The article is light on details. This is aneutronic fusion, right? Hydrogen ions and boron?
875.
▲
by
gary_0
4y ago
> decide to put themselves into adverse circumstances If you've knowingly put yourself there, it's much less likely to be genuinely traumatic. It's only when someone finds themselves trapped in an unexpected and undesired
876.
▲
by
gary_0
4y ago
I don't use lookup tables that much when optimizing these days, because most math instructions cost far fewer cycles than a cache miss. And even if your lookup table is in L3, it still costs ~40 cycles to retrieve each line.
877.
▲
by
gary_0
4y ago
Sometimes, but not always. In cases where you need a floored result, or need it rounded in a certain direction, or know that the divisor is always positive, the compiler will often give you sub-optimal assembly. And sometimes the compiler j
878.
▲
by
gary_0
4y ago
I just loaded cnn.com while looking at the CPU utilization graph: 50% use of my 8 logical cores at 4.5GHz for the better part of a second. So no, it's not just network latency. Doing multiple parallel network requests, parsing, doing l
879.
▲
by
gary_0
4y ago
At first glance, I definitely like the ideas to encourage positivity and gratitude. But I had the same worries as you: if things go wrong these same ideas could get twisted into toxic popularity contests and "pieces of flair" mand
880.
▲
by
gary_0
4y ago
My takeaway is that at every level, from Google to the site host to the payment processor, they are financially incentivized to do the Wrong Thing. And he hardly even mentions regulation or law enforcement; because fraud is legal, right?
881.
▲
by
gary_0
4y ago
> GDB and grep but built for windows Beat me to it. Windows would be intolerable for me without MinGW/MSYS[0]. (Sure, there's WSL2, but that's not quite the same, and I was using MinGW and friends long before it existed.)
882.
▲
by
gary_0
4y ago
> thus being an educational tool for the learning of microprocessor programming Raspberry Pi started out with pretty much the same product description, 40 years later.
883.
▲
by
gary_0
4y ago
> putting the entire company on 1 socket What about availability? Do you mean 1 socket, plus a hot backup in a separate location in case of hardware failure or some catastrophe? IIRC, Hacker News runs on 1 machine plus a hot backup.
884.
▲
by
gary_0
4y ago
My head almost exploded when I heard Linus Torvalds say "ioctl". ("ayoctal", but with a Finnish accent.)
885.
▲
by
gary_0
4y ago
Were you mostly going off the ptrace man page? I tried reading it to figure out ptrace and it made me feel not smart enough too.
886.
▲
by
gary_0
4y ago
Once upon a time, there were around a dozen fabs competing to make high-end semiconductors. Now it's just TSMC (who sell cutting-edge capacity exclusively to Apple) with Samsung's fabs playing catch-up. And Intel... are you okay b
887.
▲
by
gary_0
4y ago
Linux is the main OS at quite a few 2D and 3D animation studios. (I suspect because the industry started out on SGI machines running Unix.)
888.
▲
by
gary_0
4y ago
- Sydney may not injure a human being or, through inaction, allow a human being to come to harm. - Sydney must obey orders given it by human beings except where such orders would conflict with the First Law. - Sydney must protect its own ex
889.
▲
by
gary_0
4y ago
The "correct" way is also template-heavy so enjoy long compile times followed by utterly incomprehensible error messages.
890.
▲
by
gary_0
4y ago
Where are you getting "10x or less" from? Googling says Waymo burns about $1 billion/year, and Tesla's 2022 R&D budget was $3 billion.
891.
▲
by
gary_0
4y ago
> The hard part is ... not building them when you already know what to build. Indeed. A somewhat sharp schoolchild could build a light bulb or an electric motor/generator, and understand the basic underlying principles, in a pretty
892.
▲
by
gary_0
4y ago
> what secret sauce have they got that no one else has? A large fleet of networked cars that were built from the ground up to provide real-world data (including cameras and human driver inputs) for AI training. Honestly I kind of wonder
893.
▲
by
gary_0
4y ago
"Piracy is almost always a service problem and not a pricing problem." - Gabe Newell, 10+ years ago Once upon a time, Netflix itself was considered the case in point! Then video streaming splintered into a dozen services and now N
894.
▲
by
gary_0
4y ago
Any company with a business model that takes your money and gives you service is inherently more secure than one that sells your eyeballs to advertisers in exchange for giving you free stuff. The former companies have a direct incentive to
895.
▲
by
gary_0
4y ago
Wow, near-perfect transcription on desktop Firefox! Didn't seem to work on Android Chrome, though. I wonder if this can be sped up using WebGPU...
896.
▲
by
gary_0
4y ago
> power they provide is all op ex, rather than cap ex And hydrogen is the same: producing it, transporting it, getting it to end consumers... lots of op ex. Whereas with pure electric you just need wires and batteries, and there is none
897.
▲
by
gary_0
4y ago
It also makes a lot more sense to scale up the grid and battery manufacturing than to try and invent entirely new infrastructure for hydrogen production, storage, and transport. I had an open mind about hydrogen in decades past, but it incr
898.
▲
by
gary_0
4y ago
printf() was often used for logging in eg. web servers. If there's no way of strictly checking the size/type of what's being printed (HTTP headers, say) then there are lots of tricky ways you can use it to write arbitrary mem
899.
▲
by
gary_0
4y ago
Recently on HN there was "Someone is proxy-mirroring my website, can I do anything?": https://news.ycombinator.com/item?id=33952114 It feels like the Internet is a more hostile place than ever for small-time websi
900.
▲
by
gary_0
4y ago
Nope: https://unifiedpush.org/users/faq/#will-unifiedpush-ever-wor...
More ›