Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
nayuki
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
43 ms
·
601.
▲
by
nayuki
3y ago
Wikipedia isn't an appropriate place for Bash quotes because Wikipedia is an encyclopedia about broad concepts. Also, Wikipedia as a policy is not a primary source. Wikiquotes could be appropriate. Submitting a dump of the entire datab
602.
▲
by
nayuki
3y ago
I learned of this one in year 2016: https://nathanfriend.io/inspiral-web/
603.
▲
by
nayuki
3y ago
Great article. Also note that git-bundle can be used to manually transfer a range of commits between two computers. Suppose the sender's repository is at version 10 but the receiver is at version 4. On the sender's side, you can r
604.
▲
by
nayuki
3y ago
Take the perspective of the employer. They receive cash from the sale of goods and services. They have to divide up that cash to spend on the ingredients needed to run the business: real estate rent, supplies, maintenance, and labor. Labor
605.
▲
by
nayuki
3y ago
Taxes are a social construct; teeth aren't. Some taxes are simple enough that a grade schooler can do it. For example, very few people would find difficulty in applying Ontario's 13% Harmonized Sales Tax to general retail purchase
606.
▲
by
nayuki
3y ago
> In actuality the CRA and recent federal gov'ts have done a lot to simplify taxes in Canada. Sorry, as much as I want to believe this, I have loads of evidence against it: * I have PDFs of all my annual personal income tax returns.
607.
▲
by
nayuki
3y ago
You're throwing around the word "audit" far too casually. In all likeliness, you and your friends were not audited. The CRA probably asked you to submit supporting documents such as receipts and other written records to prove
608.
▲
by
nayuki
3y ago
Kudos to the rare American article that puts metric units first! (e.g. "seven kilometers (four miles)", "150 °C")
609.
▲
by
nayuki
3y ago
More urbanism/transit on YouTube: * Oh The Urbanity! * CityNerd * Yet Another Urbanist * RMTransit * Miles in Transit * The War on Cars (audio) * The Urbanist Agenda (audio)
610.
▲
by
nayuki
3y ago
More properties of UTF-8: It is self-synchronizing. It has the same lexicographical sort order as UTF-32. It allows substring matches without false positives. It is compatible with null-terminated strings.
611.
▲
by
nayuki
3y ago
A land value tax (Georgism) would alleviate that problem.
612.
▲
by
nayuki
3y ago
I explored the idea of making code branchless by replacing if/else with bit masking arithmetic. I did this in the context of preventing timing attacks in cryptographic primitive algorithms. https://stackoverflow.com/que
613.
▲
by
nayuki
3y ago
Somewhat related to "Parse, don't validate": https://lexi-lambda.github.io/blog/2019/11/05/parse-don-t-va... , https://hn.algolia.com/?query=Parse%2C%20don%27t%20validate&a
614.
▲
by
nayuki
3y ago
xkcd mimic octopus: https://xkcd.com/928/ (2011-07-22)
615.
▲
by
nayuki
3y ago
Same as in Canada! Older neighborhoods have mail delivered to the door, whereas newer neighborhoods have cluster boxes.
616.
▲
by
nayuki
3y ago
Seconded. I liked the previous GitHub code search where I sort by recency to pick up new mentions of keywords. Now the new search is useless to me.
617.
▲
by
nayuki
3y ago
> You may have differing priorities but that in no way gives you the right to decide what public money is spent on. Disagree. Public money is subject to the public process, which includes debating about and voting on how resources are sp
618.
▲
by
nayuki
3y ago
If I recall correctly, when Windows 10 was released, it was touted as the last version of Windows, the evergreen version with incremental updates. It took Microsoft less than a decade to break that promise.
619.
▲
by
nayuki
3y ago
I love this article and the fact that someone is giving more attention to "write SVG code directly just like HTML+CSS", rather than the usual "just draw with the mouse in Inkscape/Illustrator/etc. and export as SVG&
620.
▲
by
nayuki
3y ago
On the other side of things, I show by construction how many well-known functions can be implemented as primitive recursive functions: https://www.nayuki.io/page/primitive-recursive-functions One challenge I found is t
621.
▲
by
nayuki
3y ago
I played the original Pokémon Red and Blue on Game Boy as a kid back in ~1998. In that decade, Pokémon was seen as a media franchise for children and young gamers. Little did I expect that in 2016, the smartphone game Pokémon GO would take
622.
▲
by
nayuki
3y ago
Not just rude, but self-defeating. You lose access to a lot of jobs and consumer opportunities by not speaking the local language.
623.
▲
by
nayuki
3y ago
Carbon dioxide capture requires more energy than the amount released by combustion which produced that CO2 in the first place.
624.
▲
by
nayuki
3y ago
I don't know about other bigint libraries, but java.math.BigInteger uses two's complement, not sign-magnitude. This class is designed to imitate machine-size two's complement integers. The most negative value is a wart in two
625.
▲
by
nayuki
3y ago
It's spelled ones' complement. https://en.wikipedia.org/wiki/Ones%27_complement
626.
▲
by
nayuki
3y ago
I mostly learned CSS grid from an overview of all the properties: https://css-tricks.com/snippets/css/complete-guide-grid/ I developed a fondness for that website because I kept referencing their page for fle
627.
▲
by
nayuki
3y ago
They disclose their latency in the paper in section 6.4, pages 10 and 11: http://keonjang.github.io/papers/sigcomm10ps.pdf#page=10 . It's something like 0.4 ms.
628.
▲
by
nayuki
3y ago
Reminds me of: "PacketShader - GPU-accelerated Software Router". https://shader.kaist.edu/packetshader/ , http://keonjang.github.io/papers/sigcomm10ps.pdf
629.
▲
by
nayuki
3y ago
Space is not legal at the HTTP request level, because the opening line uses space as a delimiter like: GET /your/path-to/the.file HTTP/1.1
630.
▲
by
nayuki
3y ago
You're right, but I knew that. I should've worded my statement in such a way to prevent criticism. Gamma rays always follow the speed of light in the medium that they travel through, because they are light. They cannot exceed th
More ›