Better HN
topnewbestaskshowjobs
Log inSign up

verma7

53 karma · joined May 5, 2011 (15y ago) · 23 submissions

Submissions

comment 8mo ago · link · parent

This is amazing! Thanks for optimizing the code using Claude!

comment 8mo ago · link · parent

I wrote a C++ translation of it: https://github.com/verma7/microgpt/blob/main/microgpt.cc

2x the number of lines of code (~400L), 10x the speed

The hard part was figuring out how to represent the Value class in C++ (ended up using shared_ptrs).

comment 5y ago · link · parent

My guess is Craig Silverstein, as he mentioned that Larry and Sergey might have worked with him at Stanford.

comment 5y ago · link · parent

I am planning to learn how to write better. I am starting that by maintaining a stream of consciousness personal daily log. Also get more practice by commenting on Hacker News :)

comment 5y ago · link · parent

The analogy of the question "What is life?" with "What is a computer?" bring up interesting parallels. The author defines a computer as any device that has transistors, RAM, etc that is, the computing substrate. But there were devices that didn't use transistors, but used vacuum tubes or mechanical gears (like Babbage's Analytical engine), which I think are still computers. We have some good theoretical model of computers: like Turing machines. One possible definition of a computer is any device that is Turing complete.

I wonder what such a theoretical model of life would look like.

comment 6y ago · link · parent

How would you get the distribution from the sum of numbers individually?

comment 6y ago · link · parent

|Q-Z| is countably infinite, but |Q| = |Z|. There are countably infinite rational numbers that are not counting numbers, yet there are exactly as many rational numbers as counting numbers.

comment 6y ago · link · parent

Change List: internal Google lingo for what is more commonly known as patch, diff, or pull request in the Open source wold.

comment 7y ago · link · parent

You might find the last section "Sleep spindles and intelligence" in https://www.tuck.com/sleep-spindles/ interesting.

comment 7y ago · link · parent

It's easy to transfer to transition to the manager ladder by becoming a TLM (Tech Lead Manager) once you are L5 or higher.

comment 7y ago · link · parent

Headspace app has worked well for me too. I have been using it for more than 3 months, meditating for 20 mins every day and I feel calmer throughout the day.

comment 7y ago · link · parent

There are broadly speaking two kinds of meditations: focussed meditation and awareness meditation.

I heard a useful analogy of the mind being like an elephant that wants to wander around on its own.

In focussed meditation, we try to focus your attention on our breath, or some point inside our body or an idea. We tie the elephant with a rope to a pole. If it wanders too far, we tug it and bring it back to the pole.

In awareness meditation, we just observe where the elephant roams wherever it wants. That is more like leisurely mind wandering.

comment 7y ago · link · parent

I hope to see the day when this website gives the wrong answer.

comment 7y ago · link · parent

What about Ola in India?

comment 7y ago · link · parent

Aren't axioms just training data that you feed to the model?

comment 7y ago · link · parent

FWIW, I am 35 and I feel like my memory has declined from when I was 10 - 20. I used to be able to remember a lot of content for exams, song lyrics, and general knowledge.

Nowadays, I sometimes have this occur to me: I am thinking about something that I know that I know, but I cannot recall it.

comment 8y ago · link · parent

This post has a slightly more coherent and detailed account: https://medium.com/@scifipromise/imposter-syndrome-or-not-my...

comment 9y ago · link · parent

My data model says 9 women and 1 man.

comment 10y ago · link · parent

I gave a talk at MesosCon about how we (are starting to) run Cassandra across multiple datacenters at Uber (https://www.youtube.com/watch?v=U2jFLx8NNro, https://schd.ws/hosted_files/mesosconna2016/60/mesoscon-uber...).

20.

4 Unique Ways Uber, Twitter, PayPal, and Hubspot Use Apache Mesos(linux.com ↗)

2 points · by verma7 · 10y ago · discuss

comment 13y ago · link · parent

> It would be expensive -- requiring a freeze of all running processes while the snapshot is taking place to maintain any level of precision.

Have you thought about distributed algorithms like the Chandy-Lamport Snapshot algorithm (http://en.wikipedia.org/wiki/Snapshot_algorithm) that take a consistent snapshot and do not require a system freeze?

comment 14y ago · link · parent

I ordered one for $300 a couple of weeks ago :(