HN user

garrisonj

150 karma
Posts7
Comments32
View on HN

It’s important to keep in mind that railroads, airplanes, and the internet also caused bubbles.

Just because of an invention is useful and world changing doesn’t mean it won’t cause a bubble.

Defining a new class is probably the most Ruby way to do it. There are two implementations that define a new class: rb_heap[1] and algorithms[2]. However, algorithms[2] use a Fibonacci heap, which should technically have better time complexity but is slower in practice, and the library pulls in a lot of unnecessary stuff. rb_heap is good, although I think using a symbol to specify if it's a max/min heap is a little strange.

There is something satisfying about using an array like Python. It's very straightforward and doesn't require you to convert back and forth between a queue and a array.

That's an interesting idea to use Queue. I do need random access to implement the binary queue, so I'm not sure if Queue would work.

1. https://github.com/florian/rb_heap 2. https://github.com/kanwei/algorithms

I grew up in Oregon, where all the beaches are public. Later I discovered that some people in different places owned beaches, which blew my mind. How can you own a beach?

I then wondered why I felt that way about beaches, but not about other lands.

There is an asymmetry here, because, for the most part, you can’t know what it feels like to be an age until you’ve been it. So it will be more common to feel your age or younger because that's what you've experienced.

If you feel worn out when you are 25, you just think that’s what being 25 feels like.

Yeah, there are a lot of positives. It's not just about stopping kids from cheating. It's a better system, in my opinion.

Switching to a system where students watch lectures at home and do homework in class was overdue anyway. I think that’s the real way to stop AI from writing everything.

I would switch music streaming services for a client that wasn’t buggy. I think there is an untapped market for a software company that provides high-quality software. Market competition might kick in if a company can pull it off. It's probably more complicated than it sounds, though, because software frameworks don't provide that level of quality.

The post originally had a paragraph in the beginning explaining why I thought the algorithm was a 'lie'.

I explained that Haskell had quickly become my favorite language over the past year. And I started partly because I saw these overly simplified algorithms and thought they were beautiful. Only after working with Haskell for awhile do you realize these algorithms are kinda 'lies'.

But, I realized nobody would care about that, and they would want me to get right into the algorithm. So I deleted the paragraph.

That's why I gave the post that title.