HackerTrans
TopNewTrendsCommentsPastAskShowJobs

garrisonj

no profile record

Submissions

Don't Underestimate a Bad Plan

homo-sapiens-reviewed.bearblog.dev
3 points·by garrisonj·2 lata temu·0 comments

Sorted Containers in Pure Ruby

garrisonjensen.com
3 points·by garrisonj·2 lata temu·0 comments

Ruby Heaps Inspired by Python

homo-sapiens-reviewed.bearblog.dev
2 points·by garrisonj·2 lata temu·2 comments

Spiritual AI: An AI for spiritual tasks

spiritual.cafe
2 points·by garrisonj·2 lata temu·0 comments

Ruby Could Use a Heap

homo-sapiens-reviewed.bearblog.dev
14 points·by garrisonj·2 lata temu·1 comments

comments

garrisonj
·3 miesiące temu·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
·w zeszłym roku·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 lata temu·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 lata temu·discuss
I want to experience pre-industrial co2 levels
garrisonj
·2 lata temu·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 lata temu·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 lata temu·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 lata temu·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 lata temu·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 lata temu·discuss
OpenAI designed safety breaks into their organization that exploded at the first sign of profits.
garrisonj
·3 lata temu·discuss
I legitimately might try this.
garrisonj
·3 lata temu·discuss
Is it really so bad to release the prompt?
garrisonj
·3 lata temu·discuss
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.
garrisonj
·3 lata temu·discuss
Really? I can’t imagine people turning off the lazy evaluation. It’s a deep part of the language. You can force things to evaluate strictly, but that’s not disabling it.
garrisonj
·3 lata temu·discuss
I always feel like these discussions are built upon extrapolating on assumptions based on speculation.

How could we, a species that hasn’t progressed that far, know what advanced civilizations look like?
garrisonj
·3 lata temu·discuss
Now I can train myself the way the AIs do it
garrisonj
·3 lata temu·discuss
I'm sure we could find things for all the people who live there to lower their expenses. But there is an asymptote to how much people can save.
garrisonj
·3 lata temu·discuss
You can’t anticipate a 25% increase in your largest expenses living on that salary. Pets are awesome, and people want to live life.
garrisonj
·3 lata temu·discuss
True. We’ll feel like they are sentient way before they are.
garrisonj
·3 lata temu·discuss
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.