chxo internets RSS

A network of memes,
by Chris Snyder

See also
CHXO Internet
twitter.com/64

Archive

Sep
16th
Thu
permalink

Beyond Fusion

If the the repulsive force of squabbling bureaucrats could be overcome using conference-room confinement, the resulting release of energy would power the world forever.

Slashot post by sakdoctor

Sep
9th
Thu
permalink

The Perfect Blogging, Tweeting, Broadcasting Platform

Ideally, you would have one site, that you own and control, and you would post everything to that site. Then you would make decisions about how to republish those posts (or protect them):

  1. Short posts get re-posted to Twitter and/or Facebook
  2. Photos get re-posted to Flickr
  3. Videos get re-posted to YouTube
  4. Copyrighted media gets protected with a password so you can share it with friends and family only.

Because you control the site, it’s okay to store credentials for other services (like your Facebook password) in there.

Baked into the site would be tags, RSS newsfeeds for everything, a built-in URL shortener, and simple photo/audio/video editing tools.

Sep
1st
Wed
permalink

EC2 on EBS: Taming the Amazon

I upgraded my old Debian 4 AMI to Debian 5 yesterday, and switched it from S3 storage to the more permanent (and more easily clone-able!) EBS.

With EBS-backed instances, we can finally have a boot drive that doesn’t go away if the instance gets hosed! There is dancing in my street.

Create a bootable EBS AMI from a running instance is more pro, but Creating an Amazon EC2 EBS AMI from a running instance is more helpful. Take your pick, but do not use dd to copy an active file system. My sshd_config ended up with a bit of syslog in it somehow, what a nightmare.

permalink

Beware of the default Apache 2 config for PHP

Ilia Alshanetsky points out that AddHandler is the wrong directive to use for executable file types like PHP, because Apache could execute the file bad.php.jpeg (I haven’t tested this yet, but plan to).

The safer directive is apparently AddType:

AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps

Jul
20th
Tue
permalink

Firefox Audio Fail

You would think that if your browser doesn’t support playing audio/mp3 content using an html5 <audio> tag, it would do the right thing and fall back to the fallback markup under it.

Consider the following html5 markup:

<audio controller=”controller”>
  <source src=”sound.mp3” type=”audio/mp3”>
  <a href=”sound.mp3”>Click here to play audio</a>
</audio> 

I’m just getting started with html5, but it seems to me that a browser should embed an audio controller if sources of type audio/mp3 are supported, and fall back to the link if not.

Firefox (which doesn’t support mp3) embeds the controller, but shows a big red X because it can’t play the file.

So I ask you, internets, am I misinterpreting the standard?

Jul
7th
Wed
permalink
Jun
21st
Mon
permalink
I call it a Parks Remix. For obvious reasons. The park green is #2d802d. See previous post for the original map colors.

I call it a Parks Remix. For obvious reasons. The park green is #2d802d. See previous post for the original map colors.

permalink
New MTA NYC Transit Subway map, June, 2010.
Why are the parks olive? Is anyone else bothered by the un-greening of New York parks?
See next post for a greener version.

New MTA NYC Transit Subway map, June, 2010.

Why are the parks olive? Is anyone else bothered by the un-greening of New York parks?

See next post for a greener version.

Jun
11th
Fri
permalink

List of blocked ports in Safari

One of my colleagues likes to use port 6667 for his development environment. As in, when he tests his code, he connects to a url like https://dev.example.org:6667/

He recently noticed that Safari and Google Chrome restrict access to that port. Apparently when you allow a browser to connect to arbitrary ports, an attacker can craft a form that will submit arbitrary data to any port. I mean, duh, right? That’s why internet services should require authentication, something we’ve known since the 90s. But Mozilla’s page on the topic gives the example of submitting email directly to a mail server behind your firewall, which is apparently a problem for someone, somewhere. So they block a bunch of ports in the browser.

Since you can’t disable the port restrictions in WebKit (like you can in Firefox), developers should know what ports are blocked so that they don’t try to put web services on them. You can find the full list of restricted ports in Safari by looking at the WebKit source code file KURL.cpp. Search for “blockedPortsList”. It’s currently at line 1705 but that will change.

Looks like my colleague will need to pick a new favorite port number, like 5234 or something.

May
29th
Sat
permalink

Desalinization Update

IEEE Spectrum explores Eight [Present and Future] Technologies for Drinkable Seawater. Portfolios like this are why I subscribe to Spectrum. Way to scratch that infrastructure nerd itch!

I especially like the idea of the microbial fuel cell, which takes advantage of excess electrons generated by contaminant-eating bacteria.

I mean, whoa. Contaminant-eating bacteria that generate electricity. I think we have a replacement dream technology for flying cars in the 21st Century!