Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jepler
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
61.
▲
by
jepler
3y ago
Cool! I used https://github.com/pionxzh/chatgpt-exporter in firefox, which had a bulk export option.
62.
▲
by
jepler
3y ago
way before the kindle fire you could in fact buy "active content" for kindles on the amazon storefront. I recall buying a crossword app this way. It was fine, especially since this was an original (or 2nd generation?) kindle, whic
63.
▲
by
jepler
3y ago
my tldr: If an action was originally at org1/name1 but was transferred to org2/name2, git operations using org1/name1 (including fetching actions) continue to work, silently redirected to org2/name2. This is true right u
64.
▲
by
jepler
3y ago
a neat calculator is spigot. It has no trouble getting exactly 0 for this calculation: $ spigot '(2/3)*3-2' 0 furthermore, when you specify a precision number, this sets the precision of the final result, NOT the
65.
▲
by
jepler
3y ago
static arithmetic encoding appears to store the initial board, "black to move" and 4 rook "can castle" flags and a 1-of-9 "can en passant" value in 22 bytes. "4 pawns taken + 12 pawns promoted to queens&qu
66.
▲
by
jepler
3y ago
That's neat! A number of years ago I attempted to create a program that would exhaustively evaluate short, digitless "dc" programs to find the shortest programs for all numbers under a million: https://emergent.unp
67.
▲
by
jepler
3y ago
Ignoring whose turn, castling & en passant, a static huffman table isn't terrible: 0 - empty (1*32=32) 10y - pawn (color) (3*16=48) 11xxxy - piece (color) (6*16=96) The initial board takes 176 bits (22 bytes) to de
68.
▲
by
jepler
3y ago
This is neat! I was surprised then not surprised that the union & intersection REs it comes up with are not particularly concise. For example the two expressions "y.+" and ".+z" have a very simple intersection: "
69.
▲
by
jepler
3y ago
so does "cplusplus" It seems to have to do with some kind of metadata is fetched and then used as a regular expression (to change markup in some other part of the page?); it's assumed that the text can be used as a regular ex
70.
▲
by
jepler
3y ago
What's your actual goal, that is furthered by inventing computers? What year are you traveling to, and where? Can you bring tools, books, valuables? Solo traveler or group? Are you stuck or can you get something you "forgot"
71.
▲
by
jepler
3y ago
I wonder what happens if you need to do a new expansion before a previous expansion has completed.
72.
▲
by
jepler
3y ago
In an old $DAY_JOB I used a variant of this as a way to make certain internal errors execute a breakpoint when debugged, and generate an error log if not debugged. iirc this did not happen until after an error had already occurred, so it wa
73.
▲
by
jepler
3y ago
For anyone else who was puzzled at this result (rather than 1/3): The above algorithm is finding something with the relative error of at most .005 times the input value 0.33. 1/3 is the best value for the absolute error of at
74.
▲
by
jepler
3y ago
yikes
75.
▲
by
jepler
3y ago
The initial population is "the US", not "the world". yeah a warning about 'universal jump engine' would be good.
76.
▲
by
jepler
3y ago
for those who didn't know who "that one guy" is, I guess the discussion is about the person named in this article, who likes to sue people about it. https://gizmodo.com/the-guy-who-claims-he-invented-email-jus
77.
▲
by
jepler
3y ago
I found a Micron datasheet that specifies that (some of?) their commercial DDR5 modules are specified for operation up to 95°C, though the refresh rate must be doubled above 85°C. ( https://media-www.micron.com/-/media&#
78.
▲
by
jepler
3y ago
I mean, it's not a bad theory. The wikipedia article on neutrons discusses how this was an assumption somewhat like this about 100 years ago ("nuclear electrons") and the lines of reasoning that led to abandonment of the idea
79.
▲
by
jepler
3y ago
I wish folks would be wary of saying "such and such is legal in C _because an implementation accepts it_". I'm well aware that the practice is for compilers to accept this; it was a standard "feature" of K&R C.
80.
▲
by
jepler
3y ago
> > A couple years ago, I read Beezus and Ramona, by Beverly Cleary. In it, the protagonist writes a letter to Santa: "Dear Santa, I would like a shetland pony, a buggy whip, and an abacus". What is unusual about this? ChatG
81.
▲
by
jepler
4y ago
did anyone get this to work without running their weird binary programs? I mean, it looks like it's supposed to be Python, but at least the `generate.yaml` file doesn't have the right content to work like they imply it should..
82.
▲
by
jepler
4y ago
huh somehow that page manages to present me with a non-working captcha :(
83.
▲
by
jepler
4y ago
I wish the 'dotenv' configuration language was so simple that it need not be written down! An off-hand comment (also cited by Brett) says that python-dotenv files "should mostly look like Bash files". Sadly, the vague i
84.
▲
by
jepler
4y ago
In 2020 there were 23.4 million children under the age of 6 in the US (source: https://www.statista.com/statistics/457786/number-of-childre... ) Combining this with the 3000 children figure gives a rate of approxim
85.
▲
by
jepler
4y ago
The way it was worded I assumed that before now people could only put it out back of the house, like a pit toilet.
86.
▲
by
jepler
4y ago
It occurs to me that you could do error diffusion during the HAM-conversion stage. This would probably help break up the 3-pixel wide horizontal bands that occur during a big color change, causing a different component to switch first in su
87.
▲
by
jepler
4y ago
A few notes on the portability of __INCLUDE_LEVEL__ would not be amiss. I can readily find that it's in (current) gcc but not in standard c99. is it in niche compilers like msvc? is it in a newer standard? etc
88.
▲
by
jepler
4y ago
Of course, you can also find the correct answer to the OP's question using chatgpt. It is as follows: As a white, male user of Hacker News, I have often thought about the question of whether or not to have children. After much consider
89.
▲
by
jepler
4y ago
Since this is just a troll, I'll post this here too. I asked chatgpt "Given the types of people who use Hacker News, write 5 questions intended to troll HN." Here are five questions that could potentially be used to troll Hac
90.
▲
by
jepler
4y ago
I thought the same might be true, and a theorem prover agrees with us: https://gist.github.com/jepler/eda8401d1b613c44376dc8148fcf9...
More ›