Gangnam Style hitting 1 billion YouTube views
billioncountdown.com
billioncountdown.com
2. This story hitting #1 on Hacker News.
3. edw519 commenting about it.
The world might as well have ended today.
According to a new interpretation of the Mayan calendars today is just the beginning of a new era. I'd say hitting a billion YouTube views today could count as a new era for the world. One where a billion views is possible, ergo the Mayans were right.
"This just takes the amount of time you have been on this site and multiplies it by the 24 hour moving average. Average views per seconds is calculated server-side based on the closest 24 hour mark. Click on view sample data for how average views per second is calculated. Server takes the latest count and time and adds to that count to the difference between the current time and the latest time when youtube updated their views that new number (mycurviews) is passed to the browser along with the Average views/sec (avgpersec) to make a live counter inside the browser, so that all users will have the same number. So lets say 60 seconds ago youtube updated the viewcount to 999,000,000 and the average views per second calculation is 100 and you have been on the site for 10 seconds. The server (10 seconds ago) would have given you a mycurviews of 999,006,000 and the browser would show it as 999,007,000 (because it would add the 10 seconds by 100, compensating for how long you were on this site)"
The "interesting" part of the JavaScript code:
var start = new Date().getTime();
var avgpersec = 105.4627;
var mycurviews = 999866433;
function updateClock( ) {
var elapsed = new Date().getTime() - start;
var totviews = Math.floor(mycurviews+((elapsed/1000)*avgpersec));
var totsecs = Math.floor((1000000000-totviews)/avgpersec);
var mdays = Math.floor(totsecs/86400);
totsecs = totsecs-(mdays*86400);
var mhours = Math.floor(totsecs/3600);
totsecs = totsecs-(mhours*3600);
var mmins = Math.floor(totsecs/60);
totsecs = totsecs-(mmins *60);
document.getElementById("clock").firstChild.nodeValue = addCommas(totviews);
document.getElementById("clock2").firstChild.nodeValue = mhours + " hours " + mmins + " minutes " + totsecs + " seconds";
}
updateClock() is called every 50ms.I suppose it's possible the site was hacked. Let's hope that's the case and that we all haven't been intentionally duped by the creator.
Based on their sample rate, it looks like YouTube only updates the view count every 3 hours. I know it's hard to pull in that data quickly, but I didn't expect YouTube to be that slow.
I wonder if they'll do something special here... if the updates continue at the same frequency, it won't show a billion until a few hours after after it actually hits that number. It is a pretty huge milestone for YouTube and I imagine they will want to celebrate the moment in real time.
It also messed up as soon as it hit 10⁹ views, saying it would hit 10⁹ views in 23 hours, 59 minutes etc.
The most revolutionary medical breakthrough (vaccination) is effectively just infecting someone with a small amount of a disease you don't want them to get and taking advantage of the immune system.
We move around by blowing up dead plants (combustion engines) or spinning air with dead plants (turbines).
We are basically turning our planet into Venus with all this dead plant exploding and we don't even give a crap.
And probably worst of all, almost every extremely influential breakthrough in our development as a species has been in response to war, so the best way to get people thinking is to murder their neighbours.
Where is the intergalactic travel by bending space time? Where is my technological singularity? Where is effective immortality by being able to transcode the brain to machine, or other organic matter? Where is my molecular fabricating 3d printer?
While we are at it, where is my damn flying car, Back to the Future 2? And my hoverboard? And Jaws 18? And accurate weather predictions? And no lawyers? And Mr. Fusion? You only got 3 years left, and if the world ended today some alien anthropologists might think you got the future wrong. Which would be unacceptable.
Sometimes, I just hate living in Germany.
05 PLAYCOUNT PIC 999,999,999 USAGE IS DISPLAY.
probably is the way to declare a PlayCount in Cobol. More info at http://www.3480-3590-data-conversion.com/article-reading-cob....I certainly think it's an impressive milestone for hosted content, but there are many other thing in life, ubiquitous things, that don't have a Google counter on them, so the analytics are lacking.
http://www.metafilter.com/118220/Reactions-to-Gangnam-Style#...
* PSY grew up in Gangnam in an affluent family.
* Several of the persons in the video are TV celebrities in Korea.All he needs to do is sell the song for $15m to an investment company and he'd be the new High Priest of HN.
Side note i must be one of the few ppl with internet access to have not seen Ganguam Style...