Pinned post

zip - ,'
zipWith - implicit
unzip - +: (or ,/')

trying to translate some haskell functions into K for fun - got any reccomendations? i'll do my best!

eris boosted

im trying to limit any postgres user from accessing a db, but the stackoverflow solution dorsnt work

Show thread

im trying to limit any postgres user from accessing a db, but the stackoverflow solution dorsnt work

Show thread

the reason people aren't using clis and terminals isnt because theyre dumb or stupid or technically illiterate or whatever, its because they suck! look at discord bots! telegram bots! theyre massively used, and theyre no different to a cli!

technologically, something like this will probably end up *smaller* than a terminal emulator - look at st and xterm for the smallest terminals out there (theyre huge!)

both technically and in terms of accessibility, it's superior!

Show thread

you could make it so that when you edit an input, the output is reevaluated! you could make aliases/functions/shortcuts more accessible - just right click -> favourite on a message you sent

Show thread

the vt100 is a dumb terminal, right? it knows nothing about what it's actually displaying - whats input, whats output, where they all begin, etc. you can't edit a command/input in a repl, you press the up key and you make changes and you run it again. if you turned to a chat app though, there's a clear in/out distinction!

you could associate inputs with their outputs! rather than pressing the up arrow 5 times then 4 times then 3, you could just group your input, like a chat app!

Show thread

command line interfaces should be less like vt100s and more like chat apps

A language like K, as opposed to APL, is much smaller, and probably better fit for this. the author written reference for K, which assumes familiarity with APL, fits entirely on my screen, and probably yours! it's also a single text file: kparc.com/k.txt

Show thread

this is not the best demonstration of APL, but i think there's something there. this'd become a lot easier with words! but i think reducing the amount of words can make very easily internationalised documentation / resources.

imagine a tutorial where you only need to change 50 sentences instead of 500, a manual where you only need to translate names and a few sentences, and a programming language that is truly *international*

Show thread

it's often said that the APL family are some of the only languages where you can share ideas, programs, etc entirely through paper or a whiteboard.

i'd like to make a further proposal: the APL family are some of the only languages that can be *taught* entirely visually, be it on a physical medium or a digital one.

many of APL's concepts can be described very easily without using words.

(forgive my poor handwriting and kerning)

eris boosted

the funniest APL operator:

can you guess what X f⍩g Y does?

APL has made me think of things in a new way. mapping equality as counting, boolean or and and being min and max respectively..

hearing about other people's computing habits makes me feel... far less wasteful with my own

forgot to tag as resolved. fucking pulseaudio fixed connecting my mouse

Show thread

any bspwm users around? can't figure out how to get bspc to cough up workspace state - which is the active workspace, which workspaces have windows, etc

eris boosted
Show older
Merveilles

Revel in the marvels of the universe. We are a collective of forward-thinking individuals who strive to better ourselves and our surroundings through constant creation. We express ourselves through music, art, games, and writing. We also put great value in play. A warm welcome to any like-minded people who feel these ideals resonate with them.