Better HN
topnewbestaskshowjobs
Log inSign up

emehrkay

2,085 karma · joined Jul 4, 2007 (19y ago) · 1,029 submissions

Submissions

comment 6mo ago · link · parent

I just looked up what my computer is capable of (m2 MacBook Air) and it says 15-35 tokens per second. I could live with that writing code with a local model.

comment 7mo ago · link · parent

I really like this website and how the articles stack when you click internal links

comment 8mo ago · link · parent

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

comment 12mo ago · link · parent

The source code is structured pretty well. I really like the file abstraction that allows for both local and S3 via the interfaces.

comment 1y ago · link · parent

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

comment 2y ago · link · parent

Look at this graph of related articles on this blog, beautiful work https://blog.plasticlabs.ai/blog/YouSim;-Explore-The-Multive...

comment 2y ago · link · parent

Eye tracking coupled with the show grid feature would seem like using a computer the way that people do in movies https://www.youtube.com/watch?v=UxigSW9MbY8

comment 2y ago · link · parent

Does anyone know how the data a stored, where at, what tech etc? I can only assume that the retention policies are in decades

comment 2y ago · link · parent

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.

comment 3y ago · link · parent

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)

comment 3y ago · link · parent

why arent these strings constants?

comment 3y ago · link · parent

What tech did you use to pull down all of this data and comb through it?

comment 4y ago · link · parent

I love writing libs and giving them unconventional names. See Khadijah a go struct to Cypher cRUD query generator https://github.com/emehrkay/khadijah

comment 4y ago · link · parent

https://en.jingos.com/jingpad-a1/ maybe. I doubt the screen is matte

comment 4y ago · link · parent

The install link doesnt work. I wanted to view what it did before I ran it `livebud.com/install`

comment 4y ago · link · parent

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.

comment 4y ago · link · parent

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.

comment 5y ago · link · parent

I love this and will use it.

I watch video at 2x and made a simple bookmarklet to control speed for video/audio https://github.com/emehrkay/media_speed

comment 5y ago · link · parent

I did the same to learn Redis. I wrote a simple graph database using Gremlin's syntax https://github.com/emehrkay/rgp

It was very slow, but interesting.

comment 5y ago · link · parent

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

comment 5y ago · link · parent

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{}

comment 5y ago · link · parent

Cosine similarity is a great little tool to have in your box. When you have a map[dict|obj] with key => val(float) it is an easy way to compare a bunch of them. Years ago I threw together an example in JS

https://jsfiddle.net/25o78yzt/3/

comment 5y ago · link · parent

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

comment 5y ago · link · parent

Yes. I will show a show hn post when I get it all running

comment 5y ago · link · parent

This code works fine in iOS safari (and desktop chrome, Firefox, and safari). I've seen a few comments on how mobile safari has pitfalls or is the new IE, but there isnt any specific code there for safari. it all just works

comment 5y ago · link · parent

This looks pretty straight-forward and makes me wonder if im doing too much work creating and juggling two RTCPeerConnection connections. I will try your approach

comment 5y ago · link · parent

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

comment 5y ago · link · parent

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

comment 6y ago · link · parent

Yeah. Im surprised that both of these left out Prototype.js which, to me, seems to be the father of these client-side libs
12345
35