Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
nayuki
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
73 ms
·
961.
▲
by
nayuki
4y ago
@parent and @grandparent: The chunk CRC-32 does cover the chunk type. > A four-byte CRC (Cyclic Redundancy Code) calculated on the preceding bytes in the chunk, including the chunk type field and chunk data fields, but not including the
962.
▲
by
nayuki
4y ago
Having implemented most of the PNG specification from scratch in the past month, I agree with all of the features highlighted by the author in the article's introduction. Although there are some minor things I don't like, overall
963.
▲
Show HN: SQLite Database File Visualizations
(nayuki.io)
1 points
by
nayuki
4y ago
|
0 comments
964.
▲
by
nayuki
4y ago
I agree with the grandparent and disagree with the parent. My X220's Synaptics TrackPoint is very responsive and natural, and I can get my work done (though the TrackPad is poor). My X1 Carbon Gen 7's ELAN TrackPoint randomly incr
965.
▲
by
nayuki
4y ago
Non-wobbly clock in SVG + JavaScript (without HTML): https://www.nayuki.io/res/full-screen-clock-javascript/full-...
966.
▲
by
nayuki
4y ago
He made several excellent videos explaining residential heat pumps: [2021-02-28] https://www.youtube.com/watch?v=7J52mDjZzto "Heat Pumps: the Future of Home Heating" (35m14s) [2021-04-01] https://www.yo
967.
▲
by
nayuki
4y ago
It's like how Google Docs' concurrent editing was born from the ashes of Google Wave.
968.
▲
by
nayuki
4y ago
Primer has an interesting video too: https://www.youtube.com/watch?v=r6sa_fWQB_4 "How many people might ever exist, calculated"
969.
▲
by
nayuki
4y ago
Correct. For example, if int is a 32-bit type (as it commonly is), then uint16_t will be promoted to signed int, and (uint16_t)0xFFFF * (uint16_t)0xFFFF will cause signed overflow and trigger undefined behavior.
970.
▲
by
nayuki
4y ago
> Quality-of-life features that aren’t too hard to add, and don’t meaningfully change a language in its absence. Often syntactic sugar This is basically the premise of Project Coin, released in Java SE 7: https://openjdk.org&#
971.
▲
by
nayuki
4y ago
Like this: https://www.trustedreviews.com/wp-content/uploads/sites/54/2...
972.
▲
by
nayuki
4y ago
You mean reducing energy usage. Energy is power integrated over time.
973.
▲
by
nayuki
4y ago
Not really. Doing so would lower the average number of readings per article. In the most extreme case, this would lead to every article being write-only and never read by anyone. Of course this is absurd because writing takes so much more e
974.
▲
by
nayuki
4y ago
As long as the government continues subsidizing highways and the road network, high-speed rail will always be the unattractive option.
975.
▲
by
nayuki
4y ago
When redefining traditional measuring units into metric, it is generally preferred that the traditional unit equals a terminating decimal number in metric. For example, 1 inch = 25.4 mm exactly. This helps with transitioning to metric becau
976.
▲
by
nayuki
4y ago
I mistakenly thought this was about https://en.wikipedia.org/wiki/T-pose (apparently NSFW) in 3D graphics.
977.
▲
by
nayuki
4y ago
How did the poster manage to get a numeric FBID for this post (#10229509585826782) instead of the more common, time-varying pfbid blob?
978.
▲
by
nayuki
4y ago
The OP's list is decent. Here are my suggestions for moderately challenging algorithms to understand and implement: B-tree Cooley-Tukey radix-2 FFT CRC-32 DEFLATE decoder Gauss-Jordan elimination JSON parser
979.
▲
by
nayuki
4y ago
> “We are financially OK,” said Zhao Where have we heard this before? Oh yeah: <Twitter @SBF_FTX> FTX is fine. Assets are fine.
980.
▲
by
nayuki
4y ago
The status quo is the extreme that every author gets ~100 years of copyright protection automatically for free. A proposed extreme is to get up to 28 years for free. The problem I see is that under both alternatives mentioned above, there i
981.
▲
by
nayuki
4y ago
https://en.wikipedia.org/wiki/Tourism_in_Japan#Statistics Add up tourists from China, Taiwan, and Hong Kong, and you'll see that they make up half of the people visiting Japan. As for why, I can speculate: These p
982.
▲
by
nayuki
4y ago
Pretty good website, but all the downloadable audio files are in MP3 format. Is there any way to get higher quality files, like natively generated FLAC, or lossless rips from released audio CDs?
983.
▲
by
nayuki
4y ago
I would like to see an exponentially rising price to renew one work's copyright registration. There should be a financial cost and risk/reward balance for withholding a creative work from the public domain for others to reuse. Sam
984.
▲
by
nayuki
4y ago
"The Elements" is the Tom Lehrer song that made the biggest impression on me. https://en.wikipedia.org/wiki/The_Elements_(song) , https://www.youtube.com/watch?v=AcS3NOQnsQM There'
985.
▲
by
nayuki
4y ago
Binance owns CoinMarketCap since Apr 2020. I wonder how reliable the numbers are.
986.
▲
by
nayuki
4y ago
This might interest you: https://tiamat.tsotech.com/pao > Personal Application Omnipresence, PAO. It's a theoretical computing model where your applications are available to you from any device. > My ideal for co
987.
▲
by
nayuki
4y ago
Some related posts: "Open Source & Saying "No"": https://connortumbleson.com/2022/11/28/open-source-saying-no... , https://news.ycombinator.com/item?id=33771881 "
988.
▲
by
nayuki
4y ago
In Java, "data class" might be a common term that existed for a long time. But a language-level feature was introduced in SE 14 as "records": https://docs.oracle.com/en/java/javase/14/
989.
▲
by
nayuki
4y ago
> Rust is the main exception I'm aware of, and it had deep immutability from the get-go. C and C++ have deep immutability too, but both come with many other footguns as baggage.
990.
▲
by
nayuki
4y ago
I tried compiling "int x = 1 / 0;" in both the latest GCC and Clang with -O0 on x86-64 on Godbolt. GCC intuitively preserves the calculation and emits an idiv instruction. Clang goes ahead and does constant folding anyway, an
More ›