Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
nayuki
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
31.
▲
by
nayuki
4mo ago
The game got too tedious to play by hand, so I wrote a script to play it automatically. It handles CPU, I/O, and processes quite well - but doesn't recognize a crown on a process and doesn't handle memory management at all. I
32.
▲
by
nayuki
4mo ago
I first thought of SecuROM, a CD/DVD copy protection scheme applied to computer game discs: https://en.wikipedia.org/wiki/SecuROM
33.
▲
by
nayuki
4mo ago
Which was quoted in a recent post on the HN front page: https://mohkohn.co.uk/writing/html-first/ , https://news.ycombinator.com/item?id=48475483
34.
▲
by
nayuki
4mo ago
https://en.wikipedia.org/wiki/Lawfare
35.
▲
by
nayuki
5mo ago
Not only that, but Python had the benefit of doing a very painful break in version 3 (2008), when they had the option to cleaned up almost anything they wanted. (Some changes in Python 3 I can recall: bytes/str/unicode being the b
36.
▲
by
nayuki
5mo ago
A condo is a type of home, so it's like you're saying "Do you drive a car or a vehicle?". Also, condominium does not automatically imply apartment, because there are condo townhouses and condo detached houses. A condomin
37.
▲
by
nayuki
5mo ago
You somehow missed the second part of that sentence: "No, the statement is completely true: 100% of your rent money goes to someone else, and you also don't get any asset to sell later on." The oft-repeated statement that &qu
38.
▲
by
nayuki
5mo ago
Great article, love that you enumerated all the costs in buying a home. I don't like how renters romanticize home ownership and fail to understand how many costs are involved. > You've probably heard someone say something to th
39.
▲
by
nayuki
5mo ago
(I'd like to note that I wrote a lot of code in Java and Python, and continue to use each language in its respective strong areas. This isn't meant as a drive-by attack of "Java r00lz, Python sux"; this is an experienced
40.
▲
by
nayuki
5mo ago
> lead to Dredd-like Mega Cities just taking over the entire continent This is impossible. Look at even the densest cities today such as Hong Kong, with many 50-storey buildings packed closely. HK as a whole has maybe 25% land area alloc
41.
▲
by
nayuki
5mo ago
Java made opaque types possible from the very start by private and package-private constructors. It's sad to see that many features regarding object-oriented programming and static typing are implemented worse in Python than Java. Vari
42.
▲
by
nayuki
5mo ago
I agree with your comment a lot. My ideal for road pricing is something like a https://en.wikipedia.org/wiki/Vehicle_miles_traveled_tax multiplied by weight (maybe squared, due to the https://en.wikipedia.or
43.
▲
by
nayuki
5mo ago
It's not flawed logic though. If, say, a mile of highway costs $1 million and it needs some expensive repaving/reconstruction every 20 years, who should bear the cost? The current model is roughly that all of society shoulders the
44.
▲
by
nayuki
5mo ago
When it comes to any good or service, there are only two choices: the user pays, or other people pay. The status quo is that drivers pay a lot for roads through gasoline taxes and vehicle registration fees, but the rest of society (includin
45.
▲
by
nayuki
5mo ago
The full alphabet?
46.
▲
by
nayuki
5mo ago
While bored in high school math class around the year 2005, I forced myself to learn the Greek alphabet. That very much came in handy in university, as Greek letters are frequently used for variables in computer science, mathematics, and ph
47.
▲
by
nayuki
5mo ago
> Applying the increment or decrement operators over the same variable more than once on the same line should be a compile-time error That would be nice, but don't forget the more general case of pointers and aliasing: int a =
48.
▲
by
nayuki
5mo ago
The Bambu Lab P2S is a CoreXY printer, and that's why it's physically faster than the Prusa MK4S which is a bed slinger.
49.
▲
by
nayuki
5mo ago
I enjoyed learning from this video years ago, which introduces the topic of how you are treated when arrested in Japan: * Paolo fromTOKYO - "Why Japan Arrests Foreigners" https://www.youtube.com/watch?v=r1ZLGqL1FMo
50.
▲
by
nayuki
5mo ago
You wrote ethanol (C₂H₆O), but do you mean ethylene/ethene (C₂H₄)? Polyethylene (PE) is a very common plastic, such as HDPE, LDPE, PET.
51.
▲
by
nayuki
5mo ago
I see the changes now - just incredible! You are probably the most responsive author I have ever interacted with in decades.
52.
▲
by
nayuki
5mo ago
A neat dashboard. The usage of metric units can be improved: > Corona ~1.2M K / Active Regions ~2M K / Hot Flares ~6.3M K / Flare Plasma ~10M K / Active Corona ~2.5M K / 10M K Hottest flare plasma If "M"
53.
▲
by
nayuki
6mo ago
You pay the read noise every time you read out the sensor and digitize the values. Also, you lose a tiny bit of time between exposures as the sensor resets itself. And you might have a bottleneck in moving the data off the sensor and saving
54.
▲
by
nayuki
6mo ago
I believe your claim about noise and long exposures is false. To start, I posit that there are three sources of noise: 0) Photon shot noise from the object that you want to photograph. This is an inherent and unchangeable quantum-mechanical
55.
▲
by
nayuki
6mo ago
A bunch of refutations: None of the prices are inflation-adjusted. That gives more sticker shock than reality. > The Starter Home / No bidding war. / Gary just... bought it. That was back when land was plentiful and cheap, and
56.
▲
by
nayuki
6mo ago
Pretty much every DSLR/DSLM camera out there has a "bulb" mode that keeps the shutter open as long as you hold down the shutter button. I think my personal record is a 20-minute exposure. As for actually holding down the butt
57.
▲
by
nayuki
6mo ago
Does Titan have enough oxygen to allow the combustion of hydrocarbons?
58.
▲
by
nayuki
6mo ago
When people see that binary-float-64 causes 0.1 + 0.2 != 0.3, the immediate instinct is to reach for decimal arithmetic. And then they claim that you must use decimal arithmetic for financial calculations. I would rate these statements as h
59.
▲
by
nayuki
6mo ago
Reminds me of PG's classic essay, "Taste for Makers" (2002): https://paulgraham.com/taste.html
60.
▲
by
nayuki
6mo ago
> AI may be making us think and write more alike Many technologies have been doing that for centuries. For example: The printing press making books available to the masses, standardized spelling in English (it was a mess before!), radio
More ›