Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
markjreed
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
4 ms
·
1.
▲
by
markjreed
3y ago
Bold to assume that nobody on the cricket team has dated each other..
2.
▲
by
markjreed
4y ago
Just `pip install hy` and then `python -mhy` to run it. Once you see how Python translates into Hy, it's pretty straightforward. (import os) (import [os.path :as op]) (with [f (open (op.join dir_name file_name) "w&qu
3.
▲
by
markjreed
4y ago
Installed it, and the code in the README won't even run, so I guess it's not quite ready for messing with. Looks interesting in theory, though . . .
4.
▲
by
markjreed
5y ago
⍴↑⎕sh 'cal -y' is 36 66. ⍴⎕SE.UCMD'Calendar 2021' is 33 66. Hm. What system are you on? On Ubuntu, cal -y | wc -l also gives me 36.
5.
▲
by
markjreed
5y ago
I attempted to run that APL, and it didn't quite work as is on my system (Dyalog on macOS). As written, it seems to be an odd mixture of things that assume ⎕IO 0 and ⎕IO 1, in that with ⎕IO←1, the bymonth assignment only gets two colum