202 comments

[ 0.84 ms ] story [ 17.0 ms ] thread
YouTube-style UI over 6,454 videos sourced from 39,834 HN comments since 2007.
How many tokens (or $) does something like this take to make?
I'm on subscription but I had Claude add it up: 504M input tokens (90% cached), 7.6M output tokens. 90+% of that was Sonnet calls to label the comments, all of the actual work, the app and deploy etc was ~1M tokens of Opus 5.5, I compacted context once. i.e. very small project by modern standards.
I wish someone would make a decision model that’s as good as sonnet but like 10-100x cheaper. Because for this project which is a pretty small dataset you’re spending ~$300 on sonnet usage. like jev can probably do this task but it’s not smart enough to reliably be used
GLM 5.3 Flash is incredibly cheap and imho as good as or better than Sonnet. I used it recently to fix an old server that my family had running serving some websites, and by fix it I mean I got it to log in over ssh, figure out what's running there, copy it out, log in to a brand new droplet on DO, set up a fresh instance of apache with everything patched up to latest, copy that ancient content over, make sure it runs with latest PHP which required several rounds of fixes, optimize the system so it runs on the smallest 512MB droplet, harden the system so that ideally no one ever needs to look at it for another 10 years - it took about an hour, and cost a grand total of 4 american.... _cents_

I use Opus at work since we have a nearly unlimited AI budget, but for personal projects I just use GLM 5.3 and I don't see much difference between that and Opus.

GLM is really good, but sonnet outclasses it. Anthropic really cooked with sonnet 5+
So it's unknowable how much it cost?
It'd cost ~$250 via API (ie. paying current API pricing per token).

Source: copy pasted the tokens into a chatbot and told it to figure it out.

The color theme choice makes sense (since it's HN) but together with the video sharing context it's a bit unfortunate ;)
I like this a lot. I was just thinking about a site where you could share your YouTube cookies and then use anybody's curated algorithm because you can curate it quite fast in signed out mode.

Could you block all the trackers from loading from https://www.youtube-nocookie.com on your side?

What a great idea. Does anyone know of a way of 'getting' / downloading all those URLs (maybe with the video title)..? I'm afraid of the site disappearing.
Appreciate the effort, yet I think there is a place this is needed even more:

> It was Friday night at 11pm, I was tired, I went to YouTube to watch something and realized that I was looking at an enshittified wall of slop.

Please do the same thing with Social Media: Facebook, 'X', reddit, instagram, etc . Maybe find a 'hacker signal' that identifies quality content across those platforms and have them aggregated for the public so we don't have to spend time in the fascist network prisons.

But the greatest trick you would have to pull is not tech, but to set it up in a way that it can't be sued out of existence by the angry platform overlords - if you can do this, then you are truly a genius sir.

Where is the source, so I can roll my own specialized video site?
I didn't publish the server because it's a vibe coded mess, but if you point your Opus 5.5 at the zip and ask for YouTube-like site it will be basically instant. This part was like 3 min.

EDIT: one caveat is that i couldn't distribute the YouTube data so you'd have to create a (free) API key for that part. Luckily it's only ~1 min of hassle.

I have found out that first round of data scrape/ingestion is pretty easy.

The "black box" (for me) represents the next update. How can I avoid having to download all the data again and just use the new additions?

Do you have a plan for updates?

I’m always surprised how bad YouTube’s recommendation algorithm seems to be.

Maybe it’s because I don’t watch enough videos, but it’s sort of like Amazon, in that it will suggest the exact same content/topic.

I rarely use TikTok, only to view links people send me (similar to YouTube), but the recommended content is miles ahead, making it much more difficult to close compared to YT.

My YouTube feed is pretty good; it's full of technical discourse on topics that I enjoy learning about, ranging from electronics hacking to civil engineering. That's probably the result of a long number of years of continuous training:

Good video, with a positive combination of presentation quality and a topic I enjoy? Watch it -- maybe now or later, but it gets watched. Thumbs up. Maybe even subscribe. That's what I'm there for.

Mediocre video, whether due to content or presentation? Watch parts of it, but probably not with any sense of completeness. No rating.

Bad video, with content I don't enjoy or with off-putting presentation? Stop watching. Thumbs down, and/or back out to use three-dot menu and "Not interested"

Bad ragebait scaremongering video with emotionally-distressing title? No watching at all. Three-dot menu and "Don't recommend this channel."

---

I get a lot of good stuff. Some mediocre stuff. Very little bad stuff. Almost zero ragebait.

(And no ads, because ads have never been a thing for me on YouTube and I experience no compulsion to change that.)

I think that most people make little use of the negative feedback options, mainly because they are more clicks away (dark patterns). A addon that gives them a button next to the thums up could help.
Yeah, perhaps I'm more-willing to put effort into it than some others are and making it easier would help us all out.

I do wonder if the relative inaccessibility of negative feedback paths is due to malfeasance/dark patterns/whatever or just stupidity, though.

If the purpose of YouTube is to show ads to people (it is), then that means maximizing viewership. In this way, it doesn't really matter what people are watching as long as they're actually watching it. More hours of streaming consumption = more hours of ads viewed, and the clock doesn't care if it's positive and enjoyable content or rage-inducing clickbait.

So with meaningful feedback, the good stuff should be able to float up to the top. That would gain viewers, which gains ad placements, which gains money. Everyone wins.

---

Unless, of course, I'm wrong about society. Maybe the majority of potential viewers really do enjoy sitting around and being angry and/or fearful, and find some kind of emotional reward by being incensed.

And clearly, some are: Switching on an AM radio in Anywhere, USA demonstrates this well (the vitriol is off the charts).

I'm just not willing to accept that this represents most people, at least not just yet.

(But if that is an accurate portrayal of the state of things, then: Ragebait means more viewers and more dollars. And thereby, there can be no hope for the platform ever recovering at all. If it pays more to get worse, then it shall simply become worse.)

>Maybe it’s because I don’t watch enough videos, but it’s sort of like Amazon, in that it will suggest the exact same content/topic.

I've got years of history and it does the exact same thing for me. I watched one news video about the pope and now half of my feed is Catholic news channels.

I buy a mattress on Amazon and I get recommendations for... ten other mattresses? Like what's the logic here, I have an entire garage where I just keep stacking them up to the ceiling? Just show me something else. Is there a human being out there whose like "I bought a French press last week, what could I need this week, five more French Presses?"

I do not understand how these dystopian surveillance companies with their infinite data points are so bad even at this

Some of the Alan Kay lectures are on hackertube
Nice idea, thanks Andrej! When will you add HackerTube Shorts? (kidding :D)
NEVER. More inclined to add HackerTube Longs :D
This is great, would love filters for duration and sort by upload date
added and pushed!
would be nice to be able to filter by hackernews upvotes on the recommending post

edit: and have the filter persist while navigating between topics

Holy shit, an actual AI celeb replied to my comment and did a thing! Thank you kind sir
> Media, journalism & propaganda

Amen, we should label it correctly more often. Hard to miss it nowadays, I guess.

How do the categories work? I'd download the video transcripts and embed the text (maybe summarized first). This way you could support custom categories via embedding similarity.
I wish there was a way to sort by recency, if i'm mainly interested in finding obscure gems from like last 6 to 12 months of ai and tech updates
Yeah, this is the first thing I looked for and when I couldn’t find it I easily decided it’s something I would never come back to. Add this feature and it’s something I would come to frequently
added a few minutes ago!
Why's the newest video 5 months old?
That question showed up elsewhere in the thread too. I'm guessing that the data dump used to make it was a one-shot and now out of date?

Hopefully karpathy can fix it! I've got an idea for a new thread to suck in a whole bunch more interesting videos, but it won't be as fun if they don't show up on hackertube

Even with a fresh dump, it would lag behind YouTube, since a video only gets in once someone links it on HN.

I took all the channels HN keeps recommending (3+ videos in Karpathy's data) and made a page with their fresh uploads as they come in: https://hn.youtldr.com

(I make YouTLDR, which writes the one-line answer under each video.)

plus one when in programming mode; i have playlists on YT; but this helps to focus... and mostly I find HN has very interesting things that spawn a ton of thoughts...

people like us don't have that much time...

Well, build your own in 2.1hrs (or 2 minutes if you have access to the source)
(comment deleted)
I pay for YT premium but noticed the quality of recommendations is subpar yet I still end up wasting time watching it.

How does HN handle this? I suppose downloading videos for consuming outside YT own app works, but what's the best solution for this, especially with Apple TV as a player?

YouTube constantly cycles the same content + videos it’s so annoying
I have an extension that blocks all recommendations and forces me to subscribe to the creators I like and search for content myself. Recommendations aren’t optimized for your benefit. Cutting out the recommendations really helps to not get sucked in.
What's the add-ons name?
Focused Youtube
Personnaly I disabled recommendations/watch history/etc... so the youtube homepage is blank, there is absolutely nothing on it.

I first started by moving all my subscriptions to grayjay(where I also disabled the home page), that way I just click the subscriptions tab and there is everything there, you can even create subscription groups if needed.

Then as I had some issues with grayjay desktop(not the mobile app which works great) I then simply moved all my subscriptions to miniflux and newsrafts(which I now rarely use). I use feedflow on android and reminiflux on desktop as I don't like the miniflux frontend. So now if there is a new channel I want to follow I just add the channel rss feed to miniflux/newsraft.

So for apple tv I guess you could use a RSS app but I am not sure the user experience would be great, so using grayjay could be an option as you can stream the video to the TV's but that would require another device (phone/computer) as it's not available on ios/apple tv.

I guess a good starting point would be to simply disable everything in your youtube settings to start off (watch history, recommandations, etc...).

Thanks, much appreciated!
I currently use downloaded and curated youtube videos on my local server ( mostly for my kid so that I don't have to deal with youtube autoplay or her clicking something she shouldn't ), but this is just a reminder of much google has changed for the worse.
I find it amazing how close the front page of this is to what I actually watch/want to watch on YouTube. I guess I shouldn't be surprised, but it feels like an unpersonalised feed (besides being based on Hacker News) shouldn't have a significantly better hitrate for me than YouTube's "personalised" feed.
I am not sure the personalize algorithm is based on what you want to watch, but what will keep you watching. That’s a measurable KPI.
Dumb question maybe, but aren't these two metrics supposed to be aligned? How can they keep me watching if they don't show me stuff I want to click on?
On the one hand there's stuff you think is worthwhile to learn about, and on the other there's the dopamine brain candy that youtube throws at you along the way. They just want to keep you clicking, they don't care whether you feel good about it afterwards.
It's like fast food vs healthy food.
This is such a good use of tech! Although I have heard in the past that youtube is quick to ban any use of its content on a third party site. I hope I am wrong and this stays.
Recency sort needs a pick between comment date and upload date, since a 2012 talk linked last month is exactly the gem you'd want.
Do you plan to update the site with new videos and comments?
Interesting project, but have you considered publishing the curated videos as automatically maintained playlists (organized by topic, popularity, or recency) on a YouTube channel?

To me the most valuable part of this is the curation pipeline. I'd love to have access to those recommendations without needing to adopt an entirely separate viewing experience.

Interesting idea! Also funny that the fourth recommendation for me was a video with Andrej himself :D