Live data from Hacker News

This Video Has X Views

youtube.com

11–20 of 184 posts

Re: This Video Has X Views

#11
I really liked this video, it highlights that a lot of software we write is ephemeral and will one day either be retired or stop working.

The frequently updating title thing is cute, it'll be interesting to see what dies first - YouTube pulling the "title update API" or Tom's script running wherever he's put it

Re: This Video Has X Views

#12
post #9
post #4

Earlier quoted context omitted.

> This would be noteworthy if the counter was included in the video Pretty sure that would be impossible, unless I am missing something.

Yeah unfortunately Youtube doesn't let you edit videos, which sucks for creators who want to fix minor mistakes after a video has gone viral. You can, however, add and edit "cards" on top of the video. On another note, it would be noteworthy if the title on Hacker News also included the counter.

Uh, why the downvote? Can HN institute a policy that a reply is required if you downvote?

Re: This Video Has X Views

#13
post #12
post #9

Earlier quoted context omitted.

Yeah unfortunately Youtube doesn't let you edit videos, which sucks for creators who want to fix minor mistakes after a video has gone viral. You can, however, add and edit "cards" on top of the video. On another note, it would be noteworthy if the title on Hacker News also included the counter.

Uh, why the downvote? Can HN institute a policy that a reply is required if you downvote?

I didn't leave a downvote, but that sounds like a horrible policy. You'd get a ton of short comments on the least-valuable (as judged by voters) comments, bloating the comment tree and making it way less readable.

Re: This Video Has X Views

#14
post #7

I was telling a friend recently about how there was this "golden age" when you could access all sorts of free APIs, and how I still long for this time. I remember the public Netflix API, Twitter APIs and Flickr API with particular fondness. My personal site was a big mashup of all of my data. I also abused the hell out of Yahoo Pipes - I would run RSS feeds through like 15 different languages with Babelfish before ba…

[deleted]

Re: This Video Has X Views

#15
post #8
post #5

If it's actually spot on, it's a miracle. I got the counter and the title both showing 3,690,744 when I first opened the link - so how unlikely is this actually? Probably not really too unlikely. Or I got really lucky. EDIT: Thinking about it, as YouTube probably updates the view count only every couple of seconds or minutes it might actually be spot on most of the time if the title gets updated at about the same fre…

Same here. However I think that the way he is communicating information in this video is meant to capture your attention not just now, but when this video is visited months or years from now. It will be very cool for viewers to stumble across this video when it doesn't work, effectively proving his point.

My guess is it's more likely some YouTube employees hacked around this as a show of "support" for YouTubers?

Re: This Video Has X Views

#16
>If it's actually spot on, it's a miracle.

Not that it matters, but I think Tom may have gotten this wrong. If his code is invoked many times faster than google updates it's video count then the odds of seeing an exact match in the total is proportional to that difference.

Which, ironically, means it's using even more cycles than necessary to do his intentionally silly trick, further proving his point.

Re: This Video Has X Views

#17

Despite that the video starts with "The title of this video won't be exactly right. [..] If it's actually a 100% spot on it's a miracle" the title was exactly right when I saw it the first time. I even screenshotted it. I also wondered if it would work on HN. Is there a limit on the number of times you can edit a title on HN? Obviously there isn't on Youtube, which I find quite surprising.

It's apparently very common to see it be exactly right. My guess is that YouTube is doing enough batch/cache/snapshot magic to view counts, and applying the scheme equally to the web UI and API, such that it's not actually necessary for the script to poll super-frequently.

Re: This Video Has X Views

#19

I really liked this video, it highlights that a lot of software we write is ephemeral and will one day either be retired or stop working. The frequently updating title thing is cute, it'll be interesting to see what dies first - YouTube pulling the "title update API" or Tom's script running wherever he's put it

All the software we write is ephemeral and will one day either be retired or stop working.

Re: This Video Has X Views

#20
post #8

Earlier quoted context omitted.

Same here. However I think that the way he is communicating information in this video is meant to capture your attention not just now, but when this video is visited months or years from now. It will be very cool for viewers to stumble across this video when it doesn't work, effectively proving his point.

My guess is it's more likely some YouTube employees hacked around this as a show of "support" for YouTubers?

More likely they have a cache for the views with a longer expiration time set than the update interval of Scott's script.
Post reply on HN