Dear Facebook, please fix the internet

Facebook is the most visited website on the internet, followed closely by Google, but do you know what domains come right after Google? More Facebook, or rather more accurately, the domains that serve up data for Facebook “like” buttons.

Check out this list of the most visited websites. Notice how there is a corresponding https version of most of the regular http sites? While that is a great thing when things like user credentials, or email content are being transmitted over the intertubes, a great deal of the information zipping through the cloud can be sent in the clear without the extra processing and delays introduced by SSL/TLS encryption.

So why does Facebook force the entire internet to process its information unsecured once, and then a second time over https? There is a prescribed method for adding a “like” button for a Facebook Fan page to a website. You copy and paste a little bit of code into the page, which asks for some javascript from Facebook, and allows people to like the page in question. Facebook maintains that code, and periodically updates it, but the current version of that code makes two separate requests for some data.

http://static.ak.facebook.com/connect/xd_arbiter.php?version=18
https://s-static.ak.facebook.com/connect/xd_arbiter.php?version=18

That second request means that you must download the same piece of information twice, and the second time it has to go through secure channels. How much longer does this take?

It’s hard to tell, exactly. Pingdom speed test tells me that it takes about 350mS to retrieve the extra 9.3kB, but GTmetrix tells me it actually takes over 600mS, and Google Page Speed tells me the file actually weighs in at 24.9kB.

While it may seem small to quibble over amounts to, literally, a split-second of your time, think about the fact that this happens every time that stupid “like” button, which is on the majority of websites on the internet, is loaded.

For example, the Gawker media network, composed of Gawker, Lifehacker, Deadspin, etc. is currently serving 17 million page views a day. 17 million. A. Day. They all have a “like” button.

Lets be conservative, and say that it only takes 300mS on average for that data to find itself on a user’s computer. That means, that, on any given day, Facebook costs readers of Gawker Media collectively 150GB of data and upwards of 59 days of extra time.

What does that mean in real-world numbers though?

Using a wild guess as to the power consumption of the average PC, the price of electricity in New York (Gawker’s headquarters) and a healthy application of Loudifier Fuzzy Math (patent pending), the power costs of those extra requests cost Gawker readers a whopping $17 every day!

Okay, so maybe it’s not as big a deal as I originally thought, but it still screws up my Page Speed score, which can affect Google search ranking. It is supremely annoying that I can turn an ancient laptop into a web server for $0, and serve a full page over a consumer-grade connection in under a second, but loading assets from an organization with millions of dollars invested in hardware and infrastructure almost doubles my page load times. Granted, the big F handles a couple more requests per day than I do, and about 20% of this site’s traffic comes from Facebook. I guess I can wait for them to throw me a bone now and then.

Even if it isn’t a huge problem, I still think they should fix it on principle alone. Those wasted CPU cycles could be put to better use, like searching for a cure for Alzheimer’s disease. Using the same Fuzzy Math™ as before, if the computing time that Gawker readers devoted to downloading unnecessary data from Facebook were instead used to simulate protein folding, it could boost the total output of the Folding@Home project by about 10%.

Think about that for a second. By wasting your CPU cycles, Facebook is trying to give you Alzheimer’s. The logic is infallible.

Halo 4: Forward Unto Dawn – Review

Welcome to the very first Loudifier Saturday Morning Movie Review. Last weekend I finally hooked up my Xbox 360 to the intertron. Holy cow! There’s a lot of stuff out there in Xbox Live land. I stumbled across a live-action Halo movie, Forward Unto Dawn, and, like a UNSC cruiser sucked in by a Promethean gravity well, I didn’t have any choice but to watch it, and I decided I had to do a review.

 

Forward Unto Dawn was a web series made as a promotion for Halo 4, designed to introduce the Halo universe to the uninitiated. After Halo 4’s release they took the five fifteen-minute episodes and squished them together to create a seamless feature-length (or at least almost feature-length) film. The funny thing is, if they had given the final movie a theatrical release it would have gone gangbusters at the box office. This is easily the best movie-based-on-a-video-game out there. However, you should take that statement with a large grain of salt; I actually kind of liked the Super Mario Bros. and Mortal Kombat movies.

The canon for the Halo universe falls into two major categories: games and books. The games give you the futuristic, fast-paced action, floaty physics and detailed, immersive settings that redefined the FPS genre when the original title was released. The books give you a window into the be-helmetted head of the Master Chief, and show you that underneath the half-ton of fusion-powered armor, John 117 is just a guy, trying to do his part to save humanity. Forward Unto Dawn falls very much on the book side of this division, although the action sequences manage to capture the feeling of the games.

If you have read The Fall of Reach, or Ghosts of Onyx, you will have seen this basic story already. Kid gets conscripted into the military, is subjected to training that pushes the limits of human endurance, brainwashed into zealotry against a merciless, mostly conceptual enemy, and then all hell breaks loose when something else attacks. The kid in this case is Cadet Thomas Lasky, son of the Grand Poobah of Something-or-Other in the UNSC. Tom is training at the Corbulo Academy of Military Science, which is like a ROTC on crack for the children of high-ranking UNSC officers. This is before the outbreak of the Human-Covenant war, so they play war games with other trainees, complete with cryogenic freezing, to train for battles with insurrectionists.

Tom doesn’t really buy into the whole “insurrectionists are evil and want to eat your brain” convictions that everyone around him has. Unfortunately, his almost-girlfriend is the person near him who is the most fervent in her hatred of the “innies”. Just as the Spartans did at the Reach training facility, he is struggling to keep his head above water with the brutal pace of his training, and is figuring out how work in a team and what it means to be devoted to a cause and to follow orders. And then the Covenant attack.

Cadet Lansky and some of his friends manage to survive, running and hiding from one of the Covenant’s iconic active-camouflaged lightsaber energy-sword-wielding elites, until none other than the Master Chief himself shows up to save the day. The conversation that ensues is very reminiscent of the Chief saving a group of marines just before Reach is overwhelmed.

"Why did you come for us?"
"You are the only survivors remaining."
"At the school?"
"On the planet."

The special effects are pretty good, with excellent CGI. The loping movement of the elites, the badass energy swords, and the projectiles from Covenant needlers are particularly frightening.

oh shit

The props, sets, and costuming are a cosplayer’s wet dream. The MA5B assault rifles are perfect, most of the sound effects are the same ones used in the games, and they built a warthog. An honest-to-god — sliding around corners, with wheels in the back that turn, and a chaingun on top of it — warthog.

 

The Chief’s armor is great, but I feel like the actor moved around a bit too much in it. He didn’t have the mechanical precision I would have expected from a cyborg of his pedigree, but that is really a small complaint, and is the only thing that doesn’t quite match the motion of the characters and enemies in the games.

Without getting too spoileriffic, I will say that we don’t get to see the Master Chief’s face (of course), but we do get to see both Kelly and Fred. It turns out that Kelly’s face is… intense.

just... please don't kill me, Kelly

She’s kind of a bug-eyed freak with scars on her face and a million-mile stare. I have to give them credit for not just sticking some hot blonde in a space suit. It would have worked well with the target market for a movie like this, but it wouldn’t have really fit in context of the antisocial, asexual Spartans. Oh well, maybe Linda’s cute. 

There are scenes where Cortana is rambling and yelling at herself, and threatening to kill the Chief, while he is frozen in a cryo tube and they are floating dead in space. For those who don’t know about Cortana being a “smart” AI, susceptible to rampancy, this won’t make any sense. This is important to the plot of Halo 4, so it is important when Forward Unto Dawn is used to promote Halo 4, but it doesn’t make much sense in the context of the events at the Corbulo Academy. It comes off as confusing and unnecessary, especially now that Halo 4 is out.

Overall, I am really surprised at the effort and attention to detail that was taken to make a silly web series as a promotion for a video game. The sets and action aren’t as grandiose as something like Transformers, but with less than a tenth of the budget, Forward Unto Dawn definitely comes close in production value. Considering how well this venture turned out, I would be shocked if Microsoft didn’t decide to bankroll an actual full-length film with a theatrical release to coincide with Halo 5.

Overall, I give Halo 4: Forward Unto Dawn four terrifying invisible elites with energy-swords hunting you down out of five. Yes, fan service abounds, but it is remarkable how well the creators of Forward Unto Dawn were able to craft a story that stands on its own, but still fits perfectly in the Halo universe.

With youngsters being trained in simulated battle to fight for the future of humanity, and a protagonist that is conflicted about his position and his responsibilities in the military, parallels must be drawn between this movie and the upcoming Ender’s Game. As a die-hard fan of both the Halo series and the Ender’s Game series, if Ender’s Game is half as good as Forward Unto Dawn, I will be thrilled.

Some of the images for this review came from halofanforlife.com. If you’re the graphic novel type, screenshots from the blu-ray have been adapted into a graphic novel for all five episodes, so head over and check it out.

Make your own low distortion function generator

Yes, you too can have your very own function generator in a Juicy Fruit tin!

I know, the metalwork on display is totally crooked. I’m better on the design side of things, which isn’t to say I didn’t struggle with the PCB layout for a while. See?

But the thing to take away from my struggles is that I did the PCB layout for you. Head over to the project page, grab your laser printer and ferric chloride, and get started on a cheap and (relatively) simple sine wave oscillator.