musou
musou wrote
this sounds cool as hell and it sucks that i have to pay money to a company as bad as valve in order to use it
musou wrote
Reply to sad reacts only by twovests
T_T
musou wrote
Reply to hell colleague hell colleague hell colleague (cw for... germs. Disgusting unsanitary habits that should not happen) by mankyfax
ewwwwwww that's gross
musou wrote
Reply to me irl by hollyhoppet
critical hit
musou wrote
Reply to comment by twovests in cool and new idea for a gimp fork by twovests
yeah it's major garbo
musou wrote
Reply to cool and new idea for a gimp fork by twovests
i use that program but i don't believe that and would support a name change so that i can actually recommend that software to friends without feeling squicked out
musou wrote
Reply to comment by devtesla in i can't understand lambda calculus at all by flabberghaster
i hate that they took the name of a cool math thing. math is for cool people not for bloodthirsty capitalist nerds
musou wrote
Reply to comment by musou in i can't understand lambda calculus at all by flabberghaster
and if you actually want to try it here's a spagehti i found on rosetta code for the y combinator
y_combinator = fn f ->
(fn x ->
x.(x)
end).(fn y ->
f.(fn z ->
y.(y).(z)
end)
end)
end
i went back and actually did try it and it works using this definition
musou wrote (edited )
it doesn't let you write a recursive function the normal way, instead you write a function that takes a function as input (so you can introudce a stand-in name for the recursive call) and returns the function you want to write recursively except you call the input function in place of the recursive step. then you pass that through the y combinator to get it to work. here's an untested example in elixir because it's what i think in
non_recursive_factorial = fn f ->
fn
0 -> 1
n -> n * f.(n - 1)
end
end
# this will just return a useless function, not the answer. :[
non_recursive_factorial.(5)
# gotta run it through the y combinator.
recursive_factorial = y_combinator.(non_recursive_factorial)
# this should return 120
recursive_factorial.(5)
musou wrote
Reply to Wendy's Training Video Hot Drinks by hollyhoppet
wow
Submitted by musou in post_music
musou wrote
modify the state
we must radicalize the gamers
musou wrote
the game rust is a pretty good simulator of how it feels to program in javascript
musou wrote
Reply to comment by twovests in (Mandarin simplified) Chinese is such a rad fucken language u should learn it by twovests
im definitely interested in anything you have found that works well. i'd love to try it
musou wrote
mandarin is really cool, i wanted to study it in school but i had to drop the class bc too many hours, which i still regret. maybe someday
musou wrote
Reply to meta object protocLOL by no_defun_allowed
but how will i know how to use a data structure if i don't know where it fits in the platonic great chain of being
musou wrote
Reply to comment by Moonside in "I feel like someone in japan in the 1980s perfectly predicted the kind of thing tumblr would love in 2018" by Moonside
thanks, i love it
musou wrote
Reply to "I feel like someone in japan in the 1980s perfectly predicted the kind of thing tumblr would love in 2018" by Moonside
i don't know what it is but it's good
musou wrote
this is relevant to my interests
musou wrote
this is relevant to my interests
musou wrote
Reply to *sips coffee* by cute_spider_ni_srsly
sipp
musou wrote
let's move belly friday to thursday or something, it's pretty crowded
musou wrote
Reply to A Spectre is Haunting Unicode by devtesla
👻
musou wrote
Reply to [Awesome woman] Fighting Expert Breaks Down Movie & TV Fight Moves | SELF by hollyhoppet
this was super fun to watch, i have like 100 more movies i want to hear her opinions about