Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
spappal
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
1.
▲
by
spappal
7d ago
The algebra proving why "halving long side H and flipping maintains aspect ratio" implies a ratio of 1:sqrt(2): H/W = W/(H/2) (halving long side H and flipping maintains aspect ratio) = 2W/H
2.
▲
by
spappal
6mo ago
That's a helpful tutorial, thanks.
3.
▲
by
spappal
3y ago
Align with the rest of the system, when sqlite is used as a component in a system which mainly speaks json. Performance, when records are complex and usually not accessed. Ease, avoiding/postponing table design decisions. Flexibility,
4.
▲
by
spappal
4y ago
I got good use of the run-time type checking of typeguard [0] when I recently invoked it via its pytest plugin [2]. For all code visited in the test suite, you get a failing test whenever an actual type differs from an annotated type. [0]:
5.
▲
by
spappal
6y ago
Firefox supports custom search engines, the most bang for the buck custom search engine must be https://duckduckgo.com/?q=%s with keyword being the letter d. Then you get all these 13000+ bangs without having to configure t
6.
▲
by
spappal
6y ago
The author of that macro PEP [0] is the same Mark Shannon behind the speedup proposal under discussion. [0]: https://www.python.org/dev/peps/pep-0638/
7.
▲
by
spappal
6y ago
The reason for magnetic field strength falling off as 1/r^3 is interesting: the biot-savart law says that magnetic field falls off as 1/r^2 from a magnetic source, but in reality sources tend to be better approximated by magnetic
8.
▲
by
spappal
6y ago
> the properties of the hashes [g]it uses Git uses SHA-1, a hardened version since 2017, and are now doing per-repo upgrades to SHA-256 [0]. Lots of repos are presumably still on SHA-1 (and users on older versions of git). As of 2020, ch
9.
▲
by
spappal
6y ago
Since toast is discussed on HN: I remember this video [0] nicely explaining some nice engineering of an interesting toaster. [0]: https://www.youtube.com/watch?v=1OfxlSG6q5Y
10.
▲
by
spappal
6y ago
Compact summaries are useful when revisiting something that was learnt before. Such a document might be more useful for mathematics than most subjects, since many have studied maths but stopped using it, and those teachings are generally st
11.
▲
by
spappal
6y ago
And PEP 8 doesn't mention sorting the imports. There are even counterexamples which aren't alphabetically sorted. It does mention grouping though. Since Python imports can have side effects, the order can matter. But to the extent
12.
▲
by
spappal
6y ago
See also: the paper "Why Most Published Research Findings Are False". Previously on HN: https://news.ycombinator.com/item?id=1825007
13.
▲
by
spappal
6y ago
This was spotted on HN 3 weeks ago: https://github.com/schollz/croc
14.
▲
by
spappal
6y ago
P(simultaneously within middle 50 % of n independent distributions) = 0.5^n = 2^(-n), like my parent comment says. But interestingly, every relevant comment here either got something wrong about the final frequency or percentage, or correct
15.
▲
by
spappal
6y ago
0.9^9
16.
▲
by
spappal
7y ago
Wayback Machine to the rescue: https://web.archive.org/web/20121023081714/https://kturtleco... I recommend adding bookmarklets for Wayback Machine: https://en.wikipedia.org/wiki/Help
17.
▲
by
spappal
7y ago
> remember that deaf-blind people exist [... ...] able to understand language I got curious if/how deafblind people learn to communicate in the first place, if they are completely deafblind from birth. If humans can learn not just c
18.
▲
by
spappal
7y ago
I read Chiang's Exhalation [0] prompted by your question. So much story in so few (6505) words! Great use of a crafted universe to tell a story relevant to us. That's the beauty of sci-fi as I understand it. Worth the 30 minutes.
19.
▲
by
spappal
7y ago
This doesn't really get us closer to the speed of light, but we have broken lots of speed records in the last 50 years: https://en.wikipedia.org/wiki/List_of_vehicle_speed_records
20.
▲
by
spappal
7y ago
> Firefox just doesn't have nearly the security credentials that Chrome does at the moment I think this claim deserves a justification. Not saying you're wrong but I'm interested in how to compare browser security. (Counte
21.
▲
by
spappal
8y ago
I would be interested in knowing how cyber warfare and cyber espionage are viewed from a perspective of diplomacy or power play between nations (or corporations). Does anyone know of interesting articles?
22.
▲
by
spappal
8y ago
I agree that Deep Work is worth a read. Quite a few meaningful ideas in quite few pages. The end-of-day shutdown is one of the ideas that stuck in me. After a workday my mind is usually buzzing a bit too much for most activities. Focusing o
23.
▲
by
spappal
8y ago
This reminded me of last years "BrickerBot" malware [0] by grey-hat The Janit0r / The Doctor who bricked IoT devices with the stated purpose of preventing the same devices from being hacked by botnet-malware, which allegedly
24.
▲
by
spappal
8y ago
The light appears to not come from the inside: https://www.youtube.com/watch?v=Std3LfVx41c&t=33
25.
▲
by
spappal
8y ago
This article [0] explains nicely the story of Claude Shannon et al trying to win at roulette. [0] http://nautil.us/issue/50/emergence/claude-shannon-the-las-v...
26.
▲
by
spappal
8y ago
Agreed, I just tried it. Two good examples for this are the ones in the Wikipedia page [0]. The size in the page is maybe a bit large, if it requires a too large angle of eye crossing: hit Ctrl - a few times to zoom out. [0] https:/&#
27.
▲
by
spappal
8y ago
> Over time, I expect editors like VSCode to edit Jupyter notebooks natively. PyCharm has support for Jupyter notebooks [1], but for now it's not very good [2]. Two weeks ago Jetbrains released this official comment [2]: Hi, we are
28.
▲
by
spappal
8y ago
recognize adds type hints [0], which is what the desired library would use to verify input / select suitable UI elements etc. [0]: https://docs.python.org/3/library/typing.html
29.
▲
by
spappal
8y ago
> Please read about the impact of Jio in India. I read this piece [1] which centers on Jios impact on the telecom industry. It states that the rate of digitalization has been boosted, but doesn't really detail the societal impact. D
30.
▲
by
spappal
9y ago
This is their latest blog post on the topic: https://signal.org/blog/private-contact-discovery/
More ›