2,085 karma · joined July 4, 2007
I watch video at 2x and made a simple bookmarklet to control speed for video/audio https://github.com/emehrkay/media_speed
It was very slow, but interesting.
Flash had a nice dev-to-executable experience, too bad it was soured by its browser inclusion. It could've been a great alternative to Java/Electron as the build once run anywhere lang. Adobe was a bit too early with Air
func inSlice(needle someType, haystack []someType) bool{}Anyway, this game of (ha)Tetris is a lot like a lot of people's lives, just roadblock after roadblock. While the normal version where you start from zero on level one is probably an upper middle class life. And Id say that the majority of people in the world start on level 6 with the board halfway filled with a bunch of gaps and the pieces move at a speed that is barely controllable (im thinking of the classic gameboy version when I imagine these boards)
Hatetris is cool. I couldn't get one line and I consider myself a damn good tetris player. It kept giving me S pieces and threw a Z in there and then an l
This is the version of the js code that I got going (I couldn't reason about straight inline scripting, I had to make unnecessary classes. you dont need them) https://gist.github.com/emehrkay/1ea9a87a91e00b27843d9b71a3c...
You also need to tell nginx to serve the wss connection with http 1.1 or the handshakes fail
``` location /websocket/path { proxy_pass http://whateverSiteDotCom; proxy_http_version 1.1; proxy_set_header Connection "upgrade"; proxy_set_header Upgrade $http_upgrade; proxy_set_header Origin ''; } ```