Hacker Newsnew | past | comments | ask | show | jobs | submit | mlajtos's commentslogin

Pipe "operator" for the rest of us:

    Object.prototype.pipe = function(fn) { return fn(this) }

    'hello'.pipe(upper).pipe(ex('!!!'))
Or code golf version:

    Object.prototype.P=function(...F){return F.reduce((v,f)=>f(v),this)}
    'hello'.P(upper,ex('!!!'))


APL has its own bag of surprises.


I love this quote from Mindstorms:

"You can't think seriously about thinking without thinking about thinking about something."


First version of Torch was in LISP. Python is where people are, and in turn a data for LLMs.

Optimal ML lang is half-way from LISP to APL.


Yes, we should store text in string tensors.


I thought the name was intentional. :)


That part about passthrough strongly reminded me of Turing’s Unorganized Machines (randomly wired NAND-gate networks): https://weightagnostic.github.io/papers/turing1948.pdf (worth a read from page 9)


I wish I was thought math with APL.


Time is indeed a flat circle.


APL desperately needs its renaissance. Original vision was hand-written, consistent, and executable math notation. This was never accomplished.

If you are into this, read ahead: https://mlajtos.mu/posts/new-kind-of-paper


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: