6 ms·
No Stinking Loops
- tromp 3y agoHoping the nsl site maintainer happens upon this discussion... > A Lazy K (No, not that one) That link is broken since I had to give up my homepage at CWI. It's now located at https://tromp.github.io/cl/lazy-k.html https://tromp.github.io/cl/lazy-k.html > A Ray-Tracer in 7 Lines of K And here's a number greater than Graham's in 7*7 bits of binary lambda calculus [1]: ┬─┬ ┬─┬────────── └─┤ │ │ ──┬────── │ │ │ ┬─┼────── │ │ │ └─┤ ┬─┬── │ │ │ │ ┼─┼─┬ │ │ │ │ │ ├─┘ │ │ │ │ ├─┘ │ │ │ ├─┘ │ │ ├───┘ │ ├─┘ └─┘ [1] https://codegolf.stackexchange.com/questions/6430/shortest-terminating-program-whose-output-size-exceeds-grahams-number/263884#263884 https://codegolf.stackexchange.com/questions/6430/shortest-t...
- xaellison 3y agoWeird name for a site whose first content is a looping gif
- block_dagger 3y agoBut the wolf isn’t farting. Key word is stinking. Checks out.
- deleted 3y ago[deleted]
- wiml 3y agoDogs are famous for being tail-recursive
- haskellandchill 3y agoAlso stumbled across an old column with that name looking at another front page topic https://news.ycombinator.com/item?id=38666287 https://news.ycombinator.com/item?id=38666287 which links to > a new occasional column “No Stinking Loops” by the legendary Stevan Apter here: http://archive.vector.org.uk/art10500340 http://archive.vector.org.uk/art10500340
- schott12521 3y agoIs there any context that could help understand wtf I’m looking at? Is this a collection of resources that promote using things other than loops while programming? Are we advocating for a world without physical loops, eg. Rollercoasters without loops?
- ksherlock 3y agoarray-based programming languages. APL, J, K, etc.
- 0xDEAFBEAD 3y agoSupposing I'm "Joe HN User". I've worked with both Lisp and Numpy. How do array-based programming languages relate? Are they just syntactic sugar for things I could already do in Lisp/Numpy, or is there something more?
- ksherlock 3y agoI suppose if you took numpy and got rid of the python (so ... "num"?) and built a language around that it would be the same idea.
- 0xDEAFBEAD 3y agoThank you!
- epanchin 3y agoAs a slight tangent to your question- kdb/Q works beautifully with numpy, it’s very useful being able to work with numpy from the q prompt and pass objects between the environments.
- rak1507 3y agoWork with numpy from q or q from python? I'm not sure why you'd use numpy when you have access to k/q, they're much nicer.
- deleted 3y ago[deleted]
- superduperer 3y ago[flagged]