HackerTrans
TopNewTrendsCommentsPastAskShowJobs

garrisonj

no profile record

Submissions

Don't Underestimate a Bad Plan

homo-sapiens-reviewed.bearblog.dev
3 points·by garrisonj·2 yıl önce·0 comments

Sorted Containers in Pure Ruby

garrisonjensen.com
3 points·by garrisonj·2 yıl önce·0 comments

Ruby Heaps Inspired by Python

homo-sapiens-reviewed.bearblog.dev
2 points·by garrisonj·2 yıl önce·2 comments

Spiritual AI: An AI for spiritual tasks

spiritual.cafe
2 points·by garrisonj·2 yıl önce·0 comments

Ruby Could Use a Heap

homo-sapiens-reviewed.bearblog.dev
14 points·by garrisonj·2 yıl önce·1 comments

comments

garrisonj
·3 ay önce·discuss
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
·geçen yıl·discuss
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 yıl önce·discuss
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 yıl önce·discuss
I want to experience pre-industrial co2 levels
garrisonj
·2 yıl önce·discuss
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 yıl önce·discuss
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 yıl önce·discuss
“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 yıl önce·discuss
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 yıl önce·discuss
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 yıl önce·discuss
OpenAI designed safety breaks into their organization that exploded at the first sign of profits.