tjmehta's comments

tjmehta | 1 year ago | on: Grok3 Launch [video]

I believe you are mistaken about the timeline and details here. The $400m Tesla procurement was initiated under Biden. Trump actually cancelled it.

tjmehta | 3 years ago | on: ChatGPT won’t replace search engines any time soon

But will it replace search engine “frontends”? You -> ChatGPT -> Search Engine. Any examples of Chat GPT querying data live? I’m no AI expert.. but it feels like this would make a lot of sense.. it’s seems like what current voice assistants are doing right?

tjmehta | 4 years ago | on: Ask HN: How did my LastPass master password get leaked?

Do you ever store your LastPass in your clipboard? Malicious apps on some platforms can access your clipboard without your knowledge. Do you use a clipboard manager? Is it trustworthy? Does it store data safely on disk?

Good questions to ask yourself

tjmehta | 7 years ago | on: Show HN: GraphQL lib for real-time apps

Hello Zackify, author here. That’s a great question. I haven’t used Apollo in depth (since I started building this before it’s existance.) But Apollo is an opinionated GraphQL framework that includes the data-transport layer.

Primus-GraphQL is less opinionated and just provides a GraphQL data-transport layer (client and server). Primus-GraphQL also offers a network-layer for Relay (an opinionated GraphQL client framework that works well with React).

Since it is built on top of Primus it allows flexibility with data-protocol layer - from socket.io, socksjs, websockets, or even a custom implementation.

Hope that answers your question. Let me know if you have more :-)

tjmehta | 10 years ago | on: NPM and Left-Pad: Have We Forgotten How to Program?

Lol, nice, I wrote "pass-any" first. I then copied the code and replaced "or" w/ "and" to create "pass-all".

I will probably have go back and change this now that I know about it. In general though, not gonna a lie, I am not very concerned about micro performance optimizations.

tjmehta | 10 years ago | on: NPM and Left-Pad: Have We Forgotten How to Program?

Author of "is-positive-integer" here. I will admit the implementation is pretty funny, but I move-out all single-purpose utils out of projects to modules for a bunch of reasons. DRY is the most obvious one, but one that may be less obvious is for better testing.

I move out modules so I can write really nice tests for the independent of the projects I am using them in. Also, I tend to write projects w/ 100% test coverage, breaking out utils allows me to test projects easier and faster.

Also note, the implementation of this module changed a few times today. With it being open source and having the collaboration of other engineers, we ended up with a very performant version, and discovered interesting quirks about "safe integers" in JS.

page 1