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…
> 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:…
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.…
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.…
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.…
> 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…
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…
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…
user=> (rest '(3 . 4)) (. 4) user=> (second '(3 . 4)) . user=> (nth '(3 . 4) 2) 4
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…
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.
> 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/chapter/E012018
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/api/p...
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…
A Nobel Prize is about a million dollars cash.
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…
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.
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…
For comparison, the relevant excerpt from the Iliad (Fagles translation): https://home.ubalt.edu/ntygfit/ai_01_pursuing_fame/ai_01_tel...
> 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 "know"---and as the…
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
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]…
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…
> 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:…
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.…
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.…
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.…
> 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…
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…
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…
user=> (rest '(3 . 4)) (. 4) user=> (second '(3 . 4)) . user=> (nth '(3 . 4) 2) 4
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…
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.
> 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/chapter/E012018
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/api/p...
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…
A Nobel Prize is about a million dollars cash.
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…
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.
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…
For comparison, the relevant excerpt from the Iliad (Fagles translation): https://home.ubalt.edu/ntygfit/ai_01_pursuing_fame/ai_01_tel...
> 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 "know"---and as the…
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
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]…