Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jepler
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
91.
▲
by
jepler
4y ago
It seems like in nearly 3 out of every 4 years the whole internet is unusable on February 29... why pick on microsoft?
92.
▲
by
jepler
4y ago
"side effects of leaving twitter" got an answer (tldr: you'll lose your social capital) while "side effects of leaving facebook" hit the content filter. nice one, well done.
93.
▲
by
jepler
4y ago
OEIS A000055 is actually "Number of trees with n unlabeled nodes" https://oeis.org/A000055 but according to Galactica: > Prompt: Explain OEIS A000055 > Result: Explain OEIS A000055 is a puzzle video game dev
94.
▲
by
jepler
4y ago
"designed to be used with them; the Level Lock Plus can be unlocked using one of the best iPhone or best Apple Watch devices even if you’ve forgotten your actual house key." The way "best" was added to each of those link
95.
▲
by
jepler
4y ago
I was not expecting to see solder in there.
96.
▲
by
jepler
4y ago
It looks like a modest set of improvements to a stellar piece of software. I don't spend as much time in remote terminals these days, but I love mosh anyway.
97.
▲
by
jepler
4y ago
the cult of cat? the cult of pv? Really, we just need a progress meter that says "don't bother getting up up", "get lunch now", or "come back tomorrow", but I don't know that there is one. For bulk co
98.
▲
by
jepler
4y ago
Someone had already ported DOOM to the ESP32-S3: https://github.com/chcbaram/esp32-s3-boy_fw I ported it to the Adafruit ESP32-S3 TFT Feather, including fitting DOOM1.WAD into the internal flash with squashfs. It work
99.
▲
by
jepler
4y ago
Now will someone please implement Tk in Qt or maybe Electron...?
100.
▲
by
jepler
4y ago
You might remove the use of multiplication at the end: return max(min(answer * sign, MAX_INT), MIN_INT)
101.
▲
by
jepler
4y ago
I|was wrong
102.
▲
by
jepler
4y ago
Suspect there's no cute solution but would be happy to be wrong
103.
▲
by
jepler
4y ago
With a more conventional sentence structure, the sentence would have answered the question "_who_ is concerned that the figure is wrong?" I'm not enough of a language lawyer in English to say whether this is truly a passive-v
104.
▲
by
jepler
4y ago
https://blogs.nasa.gov/artemis/2022/09/03/engineers-resume-f...
105.
▲
by
jepler
4y ago
It was the discussion of the situation with cloned virtual machines that convinced me, not this.
106.
▲
by
jepler
4y ago
I wonder if the non-portable linux openat2 with RESOLVE_BENEATH could help with this problem. The documentation suggests that it should prevent escaping the intended location via ".." components literally or in symlinks.
107.
▲
by
jepler
4y ago
I was going to say, melon should buy it and use it to prove something to a court
108.
▲
by
jepler
4y ago
This 'yes' implementation in Python also gets to the GB/s range on Linux, approximately on par with gnu yes: https://gist.github.com/jepler/5e46f4e46542367d75cde9d77d586... It takes the useful insights f
109.
▲
by
jepler
4y ago
Interesting. I entered a URL into Signal in 'note to self' (didn't send) and in my access log I saw 162.210.7.8 - - [20/Jul/2022:16:40:18 -0500] "GET / HTTP/1.1" 200 15336 "-" &qu
110.
▲
by
jepler
4y ago
Yes, sort-of, though the "imperative" linker flags -( and -) may help you. if you can figure out how to quote them properly (or use --start-group / --end-group)
111.
▲
by
jepler
4y ago
The Kelly criterion ( https://en.wikipedia.org/wiki/Kelly_criterion ) is one possible way to decide on the amount to bet, in order to "maximiz[e] the expected value of the logarithm of wealth". For a fixed prob
112.
▲
by
jepler
4y ago
Depending on your goals, using a deadline sleep (sleep_until in C++ parlance: https://en.cppreference.com/w/cpp/thread/sleep_until ) rather than a duration sleep (sleep_for) is beneficial
113.
▲
by
jepler
4y ago
Your car has gone the wrong way down an express lane some distance, and deactivated when a semi trailer traveling 75mph in the opposite direction is detected. There is no shoulder, and it's stopping distance plus yours is greater than
114.
▲
by
jepler
4y ago
ah a good list as a companion to my simple posix_spawn pipe example in another sub-thread here! thank you!
115.
▲
by
jepler
4y ago
I think this turns out to be a tangent, but at least superficially it is possible for a C program to "do" shell pipelines without use of fork or vfork (directly) but rather by posix_spawn. I suppose "portable go" does no
116.
▲
by
jepler
4y ago
I don't know that there could be a single "best" executable format. Here are some thoughts, as a person who knows some about Linux and little to nothing about Windows or Mac. As sibling states, formats have largely stagnated
117.
▲
by
jepler
4y ago
yes though as sibling points out rejection can be bad for performance (hard to parallelize). I should have specified that the algorithm I suggested was sqrt-free and rejection-free (but does have a problem with distribution right near the e
118.
▲
by
jepler
4y ago
Another attempt at a sqrt-free "uniform point nearly in circle": point in regular N-gon. It's easy (work not shown) to sample a point uniformly within a triangle. Sample from the triangle that has (0,0), (1,0) and (cos 2pi&#x
119.
▲
by
jepler
4y ago
On a blackboard it didn't matter whether all the parentheses matched all the time
120.
▲
by
jepler
4y ago
This has been bugging me. I was absolutely confident a (non-super) nova was an expected event in the evolution of sun-mass stars. Currently, though, the scientific term "nova" (excluding supernovae) clearly is applied only to a si
More ›