josh_cheek Profile Banner
Josh Cheek Profile
Josh Cheek

@josh_cheek

Followers
1K
Following
24K
Media
4K
Statuses
29K

Embrace chaos | he/him/they/them | BLM | 1thousand ❤️s for GDPR | Header: https://t.co/msKyWywM2z

Bello, Antioquia, Colombia
Joined August 2009
Don't wanna be here? Send us removal request.
@josh_cheek
Josh Cheek
6 years
Tetris in 100 LOC https://t.co/GJaZWAMpjN
0
5
22
@josh_cheek
Josh Cheek
3 years
4 years ago. Jesus.
@josh_cheek
Josh Cheek
7 years
ruby -eh,w=$LINES,$COLUMNS' B=(1..9).map{|i|[0,9,i*0.3,i*0.5]} loop{B. map!{|x,y,v,a|[(x+v)%w,y+a=y<0?-a:a-0.1,v,a]} (0..h*w).map{|n| u = n%w v = n/w d = B. map{|x,y|Math.sqrt (u-x)**2/4+(v-y)**2}.min*5%23 $><<"\e[#{h-v};#{u+1}H\e[48;5;#{232+d. to_i}m "}}'
0
0
1
@josh_cheek
Josh Cheek
3 years
0
0
3
@josh_cheek
Josh Cheek
3 years
@spinnybobo Ty! Did you see the video they linked to in the amended section? Apparently they literally tied the letters together with a String! (@ about 30s)
1
1
1
@communiess
Communies
3 years
Today in 2011, Competitive Wine Tasting aired! Written by @CutlerEmily and directed by Joe Russo, & Annie was wrong. This was perfect. #OriginalAiring
4
33
240
@josh_cheek
Josh Cheek
3 years
Confession: I still don't really get why we call text a "string". I think "string" may be an old timey way to say "sequence"? 🤔 if true, it's still kinda stupid. I'd have shortened "string of characters" to "chars", not "string"
3
0
4
@josh_cheek
Josh Cheek
3 years
0
0
0
@JoePompliano
Joe Pompliano
3 years
This is how Chicago turns their river green for St. Patrick's Day. They have a "secret recipe" for the dye and use boats to spread it —  the bigger boats dump 40lbs of the dye in the river & the smaller boats mix it up. It stays green for 24 to 48 hours. https://t.co/SeqIqFCtrQ
77
727
7K
@josh_cheek
Josh Cheek
3 years
This seems like iffy advice. Seems like we could add a variable to POSIX for this info. That'd be better for devs (don't have to build prompts), better for blind users (set it once and be done), better for sighted users (use app w/o prompts).
@ThePracticalDev
DEV Community
3 years
Whether you're just starting out building your first command line application or developing the next big suite of developer tools, here are a couple of small ways to improve the accessibility of what you build. #DEVCommunity https://t.co/DMX5OsnddQ
0
0
1
@josh_cheek
Josh Cheek
3 years
lol, Golang throwing shade at C++
1
0
2
@josh_cheek
Josh Cheek
3 years
Ruby vs Golang. It would be really interesting to know how much golang code is really just people reimplementing map/filter/reduce/etc.
6
6
56
@jarredsumner
Jarred Sumner
3 years
This Ruby on Rails error page from 2013 is still better than every JavaScript server error page I’ve seen
51
109
1K
@josh_cheek
Josh Cheek
3 years
Does Golang not have conventions about how to name directories with multiple words in them?
0
0
0
@tompng
ぺん!
3 years
ウーパールーパー % ruby -c axolotl.rb Syntax OK
0
6
35
@josh_cheek
Josh Cheek
3 years
It says "Automated", accounts now tell us that they're bots?
0
0
0
@josh_cheek
Josh Cheek
3 years
Git could be better, TBH. We wouldn't have to squash commits and lose history if it had some internal concept of a commit that contains a bunch of other commits. Or how metadata like PR reviews must be stored independent of the code, in mailing lists and other people's databases.
2
0
2
@josh_cheek
Josh Cheek
3 years
Like I think it's sad that Dart failed and Tailwind is thriving. Dart was probably too ahead of its time, and Tailwind is the antithesis of the CSS Zen Garden. WebAssembly, HTTP/3, and some Web APIs are the only things that are really encouraging to me about the frontend rn.
0
0
1
@josh_cheek
Josh Cheek
3 years
I would really like frontend to either actually separate content (eg HTML) from presentation (eg CSS) or just admit defeat and become a proper platform where we ship it WebAssembly and JS/HTML/CSS lose their sovereignty.
1
1
0
@josh_cheek
Josh Cheek
3 years
Like imagine if I go to audit it, and keep in mind that Imma feed it user input with like this: "thing-you-expect; malicious code" When you interpolate that into your bash expression, or feed it in through env vars, what happens?
0
0
0