Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
harryposner
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
1.
▲
by
harryposner
18d ago
The linked blueferry doc is excellent. Back in 2020, inspired by a comment on HN, I looked into writing a proxy to send and receive iMessages on Linux through an iPhone connected with Bluetooth Message Access Profile (MAP). I was able to
2.
▲
by
harryposner
3mo ago
Clojure has two options: The version with a threading macro, will create a lazy-sequence for each step in the pipeline. It will not instantiate the entire list, so it's O(1) memory overhead in terms of peak memory, but it churns O(N)
3.
▲
by
harryposner
3y ago
> This would imply that you can jump into the same stack frame multiple times, or do other weird things. Yep— this is how you can implement the `amb` operator with call/cc: https://ds26gte.github.io/tyscheme/ind
4.
▲
by
harryposner
3y ago
So the particular example here isn’t too different from exceptions. You’re unwinding the stack up to a predefined point— here, the callsite of foo, where with exceptions it would be up to the surrounding try/catch. Scala actually imp
5.
▲
by
harryposner
3y ago
You joke, and yet [Lucas 1988] uses an amusement park as a toy model to demonstrate how monetary shocks can affect real economic activity. The key difference between this and Chuck E. Cheese, though, is that Chuck E. Cheese is the only merc
6.
▲
by
harryposner
4y ago
They do not exclude gas prices. The Consumer Price Index, which is what most people pay attention to and to which this article refers, currently weights gasoline at 3.7% of the basket of goods it tracks. https://www.bls.gov/
7.
▲
by
harryposner
4y ago
> But I haven't had a need to add any kind of plugin, and it's easy enough to fork a shell for an external process if needed. For me, coming from writing Clojure with Neovim + vim-sexp + vim-fireplace, I would need Paredit and
8.
▲
by
harryposner
5y ago
From the beginning of SICP [0]: > A powerful programming language is more than just a means for instructing a computer to perform tasks. The language also serves as a framework within which we organize our ideas about processes. Thus, wh
9.
▲
by
harryposner
5y ago
I’m not familiar with Erlang, but unless it has some really funky syntactic sugar, the Erlang examples aren’t tail-recursive. In all three, the continuation of the recursive call is the multiplication operation and not the conditional.
10.
▲
by
harryposner
6y ago
user=> (rest '(3 . 4)) (. 4) user=> (second '(3 . 4)) . user=> (nth '(3 . 4) 2) 4
11.
▲
by
harryposner
6y ago
An ascending price auction is strategically different from a second price auction when the bidders each have a noisy estimate of some underlying true value. With a second price auction, the only information you can incorporate into your bi
12.
▲
by
harryposner
6y ago
I didn’t read it as firing old people, but rather firing people for the plain old reason that they’re not doing a good job.
13.
▲
by
harryposner
6y ago
> there's no, say, "fivefold repetition" draw that could be enforced despite the players' will There is exactly such a rule. See the FIDE Laws of Chess [0], rule 9.6.1. [0] https://handbook.fide.com/ch
14.
▲
by
harryposner
6y ago
Pandas does have the .pipe() method [0], which allows you to put an arbitrary callable in a method chain, but it is a bit more cumbersome than in R. [0] https://pandas.pydata.org/pandas-docs/stable/reference/a
15.
▲
by
harryposner
6y ago
Lichess’s cheat detection is open source (like everything else on the site) [0]. The training dataset isn’t public, though, and it’s practically undocumented. If you look in the `modules/game` directory, though, you’ll get an idea of w
16.
▲
by
harryposner
6y ago
A Nobel Prize is about a million dollars cash.
17.
▲
by
harryposner
6y ago
My favorite part of the paper that used field experiments to demonstrate that rice in Hunan is a Giffen good for the poorest consumers [0] is the cheeky inclusion of this quote from George Stigler: > Perhaps as persuasive a proof [of the
18.
▲
by
harryposner
7y ago
A slight correction: C-x C-e and fc open $EDITOR, which is vim by default on most machines. You can change it to anything, though.
19.
▲
by
harryposner
7y ago
I don't think he's right that you could implement a bagel mode on that toaster by just running the center heating element. Both heating elements are necessary for the toaster to function (which he mentions!). You need to run the
20.
▲
by
harryposner
7y ago
For comparison, the relevant excerpt from the Iliad (Fagles translation): https://home.ubalt.edu/ntygfit/ai_01_pursuing_fame/ai_01_tel...
21.
▲
by
harryposner
7y ago
> In Russian, the verb that means discover or recognize also contains the verb to know. The English very nearly does as well. The "gn" in "recognize" has the same etymological root [1] as the "kn" in "k
22.
▲
by
harryposner
7y ago
I've used Ghostscript to shrink scanned PDFs for emailing, although I don't know how lossy the compression is. [0] https://askubuntu.com/a/256449
23.
▲
by
harryposner
8y ago
Prisoners aren't counted at all---not even as "not in the labor force" [0]. The employment statistics are based on the civilian non-institutional population, and prisoners are institutionalized. [0] https://www.bl