Devan ๐ŸŒน is a user on mastodon.social. You can follow them or interact with them if you have an account anywhere in the fediverse. If you don't, you can sign up here.

Devan ๐ŸŒน @68kHeart@mastodon.social

Is there a static type system for JavaScript that /doesn't/ require you to name function parameters?

Hypothetical example:
type Filter<A, B>(:A) => (:B): boolean

Seems if you want to make very generic function types, you either have to choose to make more specific types with appropriate names, use incredibly generic parameter names, or have a parameter naming scheme and reassign to better names at the beginning of the block.

functional programming is just legos for comp sci folx send toot

@tom This post inspired me to make this, fuck I should be doing political cartoons
slime.global/media/lzLX6Uzx9mv

ive been initiated into the wonderful world of machine learning memes cybre.space/media/RfaBFa173cX4

I came across my old iPod Classic 5.5G I got back in high school and now I'm having Technology Feels.

Hey, since I see people making incredibly convoluted variadic compose functions ALL THE TIME in JavaScript, here's my take on it that's easy on the eyes:

const compose = (...fs) => (x) =>
[...fs].reduceRight((acc, f) => f(acc), x)

It only passes one argument through the composition, but it could easily be an array or object.

Enjoy!

I use Tableau Public at work for working with small , but this is going to grow to bigger datasets and questions in the future. Is there a comparable program for in terms of ability and ease of use? (And yes, I'm aware that Tableau Server is coming to Linux)

Do you make music? Commission your next album cover with me! Do you know a musician whose music would go well with my art? Let them know!

>need to keep ginger warm so it ferments faster
>fire up folding@home
>crank it to โ€œfullโ€
>put ginger on computer

am I doing this right?

My mom texted me that the fairy wrasse had food stuck in their mouth and couldn't eat, so she trapped them, pulled them out of the tank, and performed fish "surgery" to remove it. Now they're hiding in the rocks, but my parents think the procedure was successful??? My mom is delightfully weird sometimes.

I love how almost everywhere you look, a "small phone" is anything between 4.5" and 5". Where's the 3" to 4" smartphones at?

Anxiety, Stress from work Show more

Anxiety, Stress from work Show more

Happy New Year, East Coast US Mastodoners! ๐ŸŽ‰๐ŸŽˆ๐Ÿ’œ May your 2018 be bright!