HN user

emehrkay

2,085 karma
Posts2
Comments1,011
View on HN
MacBook Neo 5 months ago

This proves macOS should/could just be an iOS app that you can run when docked. It has great suspend and resume, the phones/tables would just need more ram and storage. Maybe we'll see it in the future

I clicked a link in IG once and and it opened via a webveiw. it was one of those "give us your email for a discount" popups so I put in "mark@aol.com" and at a later date, IG asked if I wanted to associate that email with my account (or something along those lines). I tend to take the extra step to "open in native browser" whenever webveiws popup

1D Pac-Man 3 years ago

I was expecting the same game, but from paceman's pov. so you'd see a small line for the dot and a bigger line behind it for the ghost. After thinking about it, I think the game would function the exact same as the lined one, just a drastically different perspective.

Procreate Dreams 3 years ago

I can't think of a better iPad app. Watching people really use it is magical. The same can be said for Sharpr3D (that is a subscription while procreate is a one time payment)

Penmanship 4 years ago

I studied architectural engineering and hand to take a handwriting course. It is the exact opposite of cursive, youre never supposed to let your pen(cil) connect letters, not even parts of the letter (as the post describes how to write a P). you always lift up the pen and start a new point of connection because it gives you more control of the output. it was an interesting class and changed the way that I write (all caps that basically look like the image in that book) and also anyone I teach to write.

I feel that I made the transition from jr to mid level developer when I was able to come into some new code and judge it, instantly pointing out what was wrong and how it could be improved, and how it should've been built. I feel that I went from mid to senior when I would enter that same situation and try to understand the why behind the code (even though I probably still thought it was poorly architected) before passing judgement or trying to "fix" it with a refactor.

The Flash IDE was top notch. And the fact that it made a one-file executable was pretty cool too. And their version of javascript with classes was damn cool (was it es6?).

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

I cant wait for that slices package. If I have to write this one more time im going to have a breakdown

    func inSlice(needle someType, haystack []someType) bool{}

For about 15 years I've been trying to figure out how to articulate a `Tetris is life` essay. "Things are going good, you're given an S piece that doesnt fit anywhere. You have to decide where you'll put that blocking piece so that you can hopefully clear it later. This might be an unexpected car repair bill or a death that you aren't emotionally capable of addressing ... You're in control, you have a good job, a great partner, and yall are saving to buy a house -- basically waiting for an l piece to complete your `Tetris`..."

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

Im doing exactly this, but will use it with a raspberrypi with a 7 inch touch screen as my doorbell. Someone hits the link on the screen, it hits the server, server texts me a link to join the video session and thats it really. I got the core code going (I used a simple tornado [python] implementation as it has web sockets built in)

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 ''; } ```

Imagine The Wire episode when Presbo tells McNulty, Daniels, and Lester that the C-level execs were printing out their instructions on burner printers