HackerTrans
トップ新着トレンドコメント過去質問紹介求人

garrisonj

no profile record

投稿

Don't Underestimate a Bad Plan

homo-sapiens-reviewed.bearblog.dev
3 ポイント·投稿者 garrisonj·2 年前·0 コメント

Sorted Containers in Pure Ruby

garrisonjensen.com
3 ポイント·投稿者 garrisonj·2 年前·0 コメント

Ruby Heaps Inspired by Python

homo-sapiens-reviewed.bearblog.dev
2 ポイント·投稿者 garrisonj·2 年前·2 コメント

Spiritual AI: An AI for spiritual tasks

spiritual.cafe
2 ポイント·投稿者 garrisonj·2 年前·0 コメント

Ruby Could Use a Heap

homo-sapiens-reviewed.bearblog.dev
14 ポイント·投稿者 garrisonj·2 年前·1 コメント

コメント

garrisonj
·3 か月前·議論
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.
garrisonj
·昨年·議論
If AI is going to deliver on its promises, it’s gotta do better than that. Learning a new framework or library is the easy part.
garrisonj
·2 年前·議論
These types of projects always look really cool, but I always doubt they will be maintained so I decide not to use them.
garrisonj
·2 年前·議論
I want to experience pre-industrial co2 levels
garrisonj
·2 年前·議論
This is far beyond what is expected from a 16 year old. Great Job!

I see some comments giving you suggestions that I don't agree with. I suggest you keep going.
garrisonj
·2 年前·議論
Are people surprised that the app is written in code that can run on a different computer? Of course it can.

It would be much weirder to learn they built an entire tech stack specifically for the device and that it was technically impossible to port it.
garrisonj
·2 年前·議論
“long-term damage to adolescent rat brains”

I keep hearing warnings from intelligent people that you shouldn’t trust conclusions drawn from rat studies because they are preliminary and usually sensationalized.
garrisonj
·2 年前·議論
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
garrisonj
·2 年前·議論
If you are using Arc, I created a boost to block Youtube. You can add a custom message to yourself in the CSS settings.

https://arc.net/boost/208CA384-0BC8-4EEF-A944-BC551D4AD48D
garrisonj
·3 年前·議論
OpenAI designed safety breaks into their organization that exploded at the first sign of profits.