Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
nayuki
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
32 ms
·
391.
▲
by
nayuki
2y ago
I thought the title meant that a chatbot gave bad medical, engineering, and/or safety-critical advice that a human ended up following.
392.
▲
by
nayuki
2y ago
> put in some goddamned microcontent (title, description, publication date) for the article Do you mean metadata?
393.
▲
by
nayuki
2y ago
Bookmark it in your web browser
394.
▲
by
nayuki
2y ago
Look up any typographic manual and you'll learn that you can't make lines of text too wide or else people will have trouble reading them. Example - https://practicaltypography.com/line-length.html . This is also r
395.
▲
by
nayuki
2y ago
Substack fails on several points for me. On the first or second page view of any particular blog, the platform likes to greet you with a modal dialog to subscribe to the newsletter, and you have to find and click the "No thanks" t
396.
▲
by
nayuki
2y ago
I understood B-trees for their own sake since 2017 ( https://www.nayuki.io/page/btree-set ), not motivated by SQLite. But relevant to what you shared, I wrote some tools in 2023 to parse SQLite files in TypeScript, rig
397.
▲
by
nayuki
2y ago
When you force TLS/HTTPS, you are committing both yourself (server) and the reader (client) to a perpetual treadmill of upgrades (a.k.a. churn). This isn't a value judgement, it is a fact; it is a positive statement, not a normati
398.
▲
by
nayuki
2y ago
> Nearly EVERY site has a dick bar, and the reason I care is that when reading on my laptop screen, it takes up valuable vertical space on a small display that is in landscape mode. I want to use my screen's real estate to read the
399.
▲
by
nayuki
2y ago
I agree with pretty much everything on that page except: > Web page annoyances that I don't inflict on you here / I don't use visitor IP addresses outside of a context of filtering abuse. This point bit me personally about
400.
▲
by
nayuki
2y ago
You need to constantly launch new satellites as old ones undergo orbital decay and run out of fuel.
401.
▲
by
nayuki
2y ago
> LCD cells must be driven with alternating positive and negative values (of the same magnitude) to maintain an average neutral value This is called inversion and there are interesting web pages on the topic: * http://www.tech
402.
▲
by
nayuki
2y ago
Fire sprinklers are common in buildings that hold hundreds of people. Sprinklers are basically nonexistent in single-family houses. Sprinklers are extremely effective at putting out fires and preventing their spread. Fun fact: Ontario, Cana
403.
▲
by
nayuki
2y ago
Humans have quite a few logarithmic responses: Brightness of light, loudness of sound, musical octaves and relative pitch.
404.
▲
by
nayuki
2y ago
> C++ Is An Absolute Blast No, it's one of the worst languages I ever used. Tons of footguns and bad design choices everywhere. Too much cognitive load for less benefit than other languages. I'm surprised the article didn'
405.
▲
by
nayuki
2y ago
And your reply is half right, half wrong. Let me address the wrong parts. > Duck typing vs. abstract base classes / You can do both in Python I'm saying that the original intent of Python was duck typing, but then people realiz
406.
▲
by
nayuki
2y ago
Yeah, it's a shame for Python. I am extremely impressed that Java 14's switch expression ( https://openjdk.org/jeps/361 ) is a generalization of the switch statement (since Java 1.0); it's like they took
407.
▲
by
nayuki
2y ago
> Python seems to have started with 'why do those other languages have all this trash' and then spent the time since then learning why and coming up with worse versions. This seems true to me too. Examples: * if __name__ == &qu
408.
▲
by
nayuki
2y ago
Related to: https://news.ycombinator.com/item?id=42449602 "The unbearable slowness of being: Why do we live at 10 bits/s?", https://www.cell.com/neuron/abstract/S0896-6273(24)00808-0
409.
▲
by
nayuki
2y ago
Also, as per the page: > Intel used the Pentium name instead of 586, because in 1991, it had lost a trademark dispute over the "386" trademark, when a judge ruled that the number was generic.
410.
▲
by
nayuki
2y ago
I happened to watch that episode. He talks about the math error at around timestamp https://youtu.be/58HUM40gDPU?t=720
411.
▲
by
nayuki
2y ago
> Fucking compilers, man. They're just acting as agents that derive the logical consequences of the code. The fact that the given example code is "surprising" is analogous to this mathematical derivation: a = b a
412.
▲
by
nayuki
2y ago
Indeed, and here's the specific commit where the change happened: https://github.com/sqlite/sqlite/commit/fd288f3549a1ab9a309a...
413.
▲
by
nayuki
2y ago
Antivirus products are worse than viruses. Change my mind. (AV hogs CPU, RAM, disk, and network resources. AV comes with their own exploitable vulnerabilities, often running in kernel mode. AV has their own zero-days and zero-click exploits
414.
▲
by
nayuki
2y ago
> can't say I've experienced a single situation where it wasn't very clear from context whether somebody was referring to the bird or country Tapakapa's detailed video agrees. He also mentions that the diacritic chara
415.
▲
by
nayuki
2y ago
Agreed, and I'm not the only one to think this. The hover previews are SO DISTRACTING because I move my mouse around when I read an article, and I also like to select text to visually maintain my reading position. I have accidentally c
416.
▲
by
nayuki
2y ago
DMY dates don't make sense. The units are from smallest to largest, but the string within each unit is still written from biggest to largest. Furthermore, if DMY makes sense, then you could argue that SS:MM:HH or MM:HH has a valid use
417.
▲
by
nayuki
2y ago
That was a very heavy-handed move that overrides traditions in many languages
418.
▲
by
nayuki
2y ago
Correct. Sucrose (table sugar) is exactly 50% fructose, 50% glucose. The most common blend of HFCS is 55% fructose, 45% glucose - which is barely different. https://en.wikipedia.org/wiki/High-fructose_corn_syrup
419.
▲
by
nayuki
2y ago
> more honest if photographers acknowledged that their published work is a creative interpretation rather than a direct representation of reality My high school English teacher said this on the first day: All media are constructions.
420.
▲
by
nayuki
2y ago
Wrong. Zooming optically can have the same effect as digitally cropping a photo. Here's a video explainer: https://www.youtube.com/watch?v=_AmA_Tv6V1k
More ›