<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><atom:link rel="hub" href="http://tumblr.superfeedr.com/" xmlns:atom="http://www.w3.org/2005/Atom"/><description>A network of memes, by Chris Snyder 
See alsoCHXO Internettwitter.com/64</description><title>chxo internets</title><generator>Tumblr (3.0; @chxor)</generator><link>http://chxor.chxo.com/</link><item><title>EC2 on EBS: Taming the Amazon</title><description>&lt;p&gt;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.&lt;/p&gt;
&lt;p&gt;With EBS-backed instances, we can finally have a boot drive that &lt;em&gt;doesn’t go away&lt;/em&gt; if the instance gets hosed! There is dancing in my street.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://thewebfellas.com/blog/2010/4/19/create-an-ebs-boot-volume-from-a-running-instance/comments/18732#comment-18732"&gt;Create a bootable EBS AMI from a running instance&lt;/a&gt; is more pro, but &lt;a href="http://webkist.wordpress.com/2010/03/16/creating-an-amazon-ec2-ebs-ami-from-a-running-instance/"&gt;Creating an Amazon EC2 EBS AMI from a running instance&lt;/a&gt; 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, &lt;a href="http://twitter.com/64/status/22654651794"&gt;what a nightmare&lt;/a&gt;.&lt;/p&gt;</description><link>http://chxor.chxo.com/post/1048012499</link><guid>http://chxor.chxo.com/post/1048012499</guid><pubDate>Wed, 01 Sep 2010 10:23:04 -0400</pubDate></item><item><title>Beware of the default Apache 2 config for PHP</title><description>&lt;p&gt;Ilia Alshanetsky &lt;a href="http://ilia.ws/archives/226-Beware-of-the-default-Apache-2-config-for-PHP.html"&gt;points out that AddHandler is the wrong directive&lt;/a&gt; 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).&lt;/p&gt;
&lt;p&gt;The safer directive is apparently AddType:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&lt;strong&gt;AddType&lt;/strong&gt; application/x-httpd-php .php&lt;br/&gt;&lt;strong&gt;AddType&lt;/strong&gt; application/x-httpd-php-source .phps&lt;/code&gt;&lt;/p&gt;</description><link>http://chxor.chxo.com/post/1047635725</link><guid>http://chxor.chxo.com/post/1047635725</guid><pubDate>Wed, 01 Sep 2010 08:36:02 -0400</pubDate></item><item><title>Firefox Audio Fail</title><description>&lt;p&gt;You would think that if your browser doesn’t support playing audio/mp3 content using an html5 &lt;audio&gt; tag, it would do the right thing and fall back to the fallback markup under it.&lt;/p&gt;
&lt;p&gt;Consider the following html5 markup:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;audio controller=”controller”&gt;&lt;br/&gt;  &lt;source src=”sound.mp3” type=”audio/mp3”&gt;&lt;br/&gt;  &lt;a href=”sound.mp3”&gt;Click here to play audio&lt;/a&gt;&lt;br/&gt;&lt;/audio&gt; &lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;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.&lt;/p&gt;
&lt;p&gt;Firefox (which doesn’t support mp3) embeds the controller, but shows a big red X because it can’t play the file.&lt;/p&gt;
&lt;p&gt;So I ask you, internets, am I misinterpreting the standard?&lt;/p&gt;</description><link>http://chxor.chxo.com/post/836678616</link><guid>http://chxor.chxo.com/post/836678616</guid><pubDate>Tue, 20 Jul 2010 11:18:00 -0400</pubDate></item><item><title>10 things you may not know about using Amazon Web Services in the enterprise</title><description>&lt;a href="http://blogs.techrepublic.com.com/10things/?p=1633&amp;tag=nl.e042"&gt;10 things you may not know about using Amazon Web Services in the enterprise&lt;/a&gt;: &lt;p&gt;Or maybe you know them, so this is 10 things to keep in mind…&lt;/p&gt;</description><link>http://chxor.chxo.com/post/781360016</link><guid>http://chxor.chxo.com/post/781360016</guid><pubDate>Wed, 07 Jul 2010 11:32:34 -0400</pubDate></item><item><title>I call it a Parks Remix. For obvious reasons. The park green is...</title><description>&lt;img src="http://24.media.tumblr.com/tumblr_l4e26t2PIo1qz52e9o1_500.png"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;I call it a Parks Remix. For obvious reasons. The park green is #2d802d.&lt;a href="http://chxor.chxo.com/post/723426504/new-mta-nyc-transit-subway-map-june-2010-why"&gt; See previous post for the original map colors&lt;/a&gt;.&lt;/p&gt;</description><link>http://chxor.chxo.com/post/723459874</link><guid>http://chxor.chxo.com/post/723459874</guid><pubDate>Mon, 21 Jun 2010 19:49:00 -0400</pubDate></item><item><title>New MTA NYC Transit Subway map, June, 2010.
Why are the parks...</title><description>&lt;img src="http://27.media.tumblr.com/tumblr_l4e1lvaO1H1qz52e9o1_500.png"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;New MTA NYC Transit Subway map, June, 2010.&lt;/p&gt;
&lt;p&gt;Why are the parks olive? Is anyone else bothered by the un-greening of New York parks?&lt;/p&gt;
&lt;p&gt;&lt;a href="http://chxor.chxo.com/post/723459874/i-call-it-a-parks-remix-for-obvious-reasons-the"&gt;See next post for a greener version.&lt;/a&gt;&lt;/p&gt;</description><link>http://chxor.chxo.com/post/723426504</link><guid>http://chxor.chxo.com/post/723426504</guid><pubDate>Mon, 21 Jun 2010 19:37:00 -0400</pubDate></item><item><title>List of blocked ports in Safari</title><description>&lt;p&gt;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 &lt;a href="https://dev.example.org:6667/"&gt;https://dev.example.org:6667/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;He recently noticed that Safari and Google Chrome restrict access to that port. Apparently when you allow a browser to connect to arbitrary ports, &lt;a href="http://www.remote.org/jochen/sec/hfpa/index.html"&gt;an attacker can craft a form&lt;/a&gt; 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 &lt;a href="http://www.mozilla.org/projects/netlib/PortBanning.html"&gt;Mozilla’s page on the topic&lt;/a&gt; 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.&lt;/p&gt;
&lt;p&gt;Since you can’t disable the port restrictions in WebKit (&lt;a href="http://agiletesting.blogspot.com/2008/09/getting-around-firefox-port-blocking.html"&gt;like you can in Firefox&lt;/a&gt;), developers should know what ports are blocked so that they don’t try to put web services on them. &lt;strong&gt;You can find the full list of restricted ports in Safari by looking at &lt;a href="http://trac.webkit.org/browser/trunk/WebCore/platform/KURL.cpp"&gt;the WebKit source code file KURL.cpp&lt;/a&gt;.&lt;/strong&gt; Search for “blockedPortsList”. It’s currently at line 1705 but that will change.&lt;/p&gt;
&lt;p&gt;Looks like my colleague will need to pick a new favorite port number, like 5234 or something.&lt;/p&gt;</description><link>http://chxor.chxo.com/post/688123866</link><guid>http://chxor.chxo.com/post/688123866</guid><pubDate>Fri, 11 Jun 2010 17:00:56 -0400</pubDate></item><item><title>Desalinization Update</title><description>&lt;p&gt;IEEE Spectrum explores &lt;a href="http://spectrum.ieee.org/energy/environment/eight-technologies-for-drinkable-seawater/"&gt;Eight [Present and Future] Technologies for Drinkable Seawater&lt;/a&gt;. Portfolios like this are why I subscribe to Spectrum. Way to scratch that infrastructure nerd itch!&lt;/p&gt;
&lt;p&gt;I especially like the idea of the microbial fuel cell, which takes advantage of excess electrons generated by contaminant-eating bacteria.&lt;/p&gt;
&lt;p&gt;&lt;img src="http://spectrum.ieee.org/image/1596640"/&gt;&lt;/p&gt;
&lt;p&gt;I mean, whoa. Contaminant-eating bacteria &lt;em&gt;that generate electricity&lt;/em&gt;. I think we have a replacement dream technology for flying cars in the 21st Century!&lt;/p&gt;</description><link>http://chxor.chxo.com/post/643771162</link><guid>http://chxor.chxo.com/post/643771162</guid><pubDate>Sat, 29 May 2010 10:07:40 -0400</pubDate></item><item><title>Multiple file upload, the HTML5 way</title><description>&lt;p&gt;This is rocking my world:&lt;/p&gt;
&lt;pre&gt;&lt;input type="file" name="upload[]" multiple="true"&gt;&lt;/pre&gt;
&lt;p&gt;It does exactly what you think it does, allowing a single file input to upload multiple files in one request, without js or flash.&lt;/p&gt;
&lt;p&gt;Available today in Firefox, Safari, and Chrome. Thank you!&lt;/p&gt;</description><link>http://chxor.chxo.com/post/528545138</link><guid>http://chxor.chxo.com/post/528545138</guid><pubDate>Sat, 17 Apr 2010 13:25:53 -0400</pubDate></item><item><title>Chrome isn't a secure browser yet</title><description>&lt;p&gt;In &lt;a href="http://ha.ckers.org/blog/20100414/chrome-phishing/"&gt;Chrome Phishing&lt;/a&gt;, Robert Hanson blows the lid off the “Google knows what it’s doing so Chrome is secure” idea. He argues that Chrome has a long way to go before it’s a mature browser, free of easily-exploitable holes.&lt;/p&gt;
&lt;p&gt;Remember the old username-looks-like-web-site-in-the-url trick? &lt;a href="http://gmail.google.com"&gt;http://gmail.google.com&lt;/a&gt;@evil.net/ is an example.&lt;/p&gt;
&lt;p&gt;Try it in Chrome. Now try it in Firefox. Security is hard, even for Google.&lt;/p&gt;</description><link>http://chxor.chxo.com/post/523190880</link><guid>http://chxor.chxo.com/post/523190880</guid><pubDate>Thu, 15 Apr 2010 08:25:48 -0400</pubDate></item><item><title>Papyrus made me angry. Can you figure out what’s what in the...</title><description>&lt;img src="http://28.media.tumblr.com/tumblr_l0mumcKPQK1qz52e9o1_500.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;Papyrus made me angry. Can you figure out what’s what in the toolbar?&lt;/p&gt;
&lt;p&gt;And they implemented their own text editor. Cursor positioning glass and clipboard support not included.&lt;/p&gt;</description><link>http://chxor.chxo.com/post/509256421</link><guid>http://chxor.chxo.com/post/509256421</guid><pubDate>Fri, 09 Apr 2010 19:30:00 -0400</pubDate></item><item><title>iPad Filesharing (iWork export)</title><description>&lt;p&gt;The iWork suite allows you to export your documents to something called “filesharing” but where do the files actually end up?&lt;/p&gt;
&lt;p&gt;It took a while (for me) to figure it out, helped by &lt;a href="http://support.apple.com/kb/HT4094"&gt;&lt;a href="http://support.apple.com/kb/HT4094"&gt;http://support.apple.com/kb/HT4094&lt;/a&gt;&lt;/a&gt;:&lt;/p&gt;
&lt;p&gt;When you sync up via iTunes, scroll to the bottom of the Apps tab to see the list of files in File Sharing, where you can save them off to other places.&lt;/p&gt;</description><link>http://chxor.chxo.com/post/496519902</link><guid>http://chxor.chxo.com/post/496519902</guid><pubDate>Sun, 04 Apr 2010 17:40:35 -0400</pubDate></item><item><title>Farmville on Web Scaling</title><description>&lt;p&gt;This was a pretty good read, &lt;a title="via High Scalability" href="http://highscalability.com/blog/2010/2/8/how-farmville-scales-to-harvest-75-million-players-a-month.html"&gt;How FarmVille Scales to Harvest 75 Million Players a Month&lt;/a&gt;. The lessons learned are worth generalizing:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Interactive apps are write-heavy.&lt;/li&gt;
&lt;li&gt;Design every component as a degradable service, and provide a mechanism to degrade services server-side during peak demand.&lt;/li&gt;
&lt;li&gt;Cache incoming data - they cache everything coming in from Facebook&lt;/li&gt;
&lt;li&gt;Usage spikes during new releases of an app&lt;/li&gt;
&lt;li&gt;Use sampling to make sense of large traffic flows&lt;/li&gt;
&lt;/ol&gt;</description><link>http://chxor.chxo.com/post/382107448</link><guid>http://chxor.chxo.com/post/382107448</guid><pubDate>Wed, 10 Feb 2010 12:48:09 -0500</pubDate></item><item><title>De-columnize Regex</title><description>&lt;p&gt;\s+\|\s*\n\|&lt;/p&gt;
&lt;p&gt;This regular expression matches the pipes and spaces in mysql output like:&lt;/p&gt;
&lt;pre&gt;| $dq$$form                  | 
| $dq$$module                | 
| $dq$$place                 | 
| $dq$$site                  | 
| $dq$$thing                 | 
&lt;/pre&gt;
&lt;p&gt;Sometimes it’s handy to extract just the values from a pasted query result.&lt;/p&gt;</description><link>http://chxor.chxo.com/post/368115548</link><guid>http://chxor.chxo.com/post/368115548</guid><pubDate>Tue, 02 Feb 2010 22:59:47 -0500</pubDate></item><item><title>Finding /dev/null from ZDE preferences.</title><description>&lt;img src="http://28.media.tumblr.com/tumblr_kwq0oeWdYL1qz52e9o1_500.png"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;Finding /dev/null from ZDE preferences.&lt;/p&gt;</description><link>http://chxor.chxo.com/post/349609208</link><guid>http://chxor.chxo.com/post/349609208</guid><pubDate>Sat, 23 Jan 2010 17:19:00 -0500</pubDate></item><item><title>Zend Studio 5.5 hangs "loading source control data"</title><description>&lt;p&gt;&lt;a title='Cache of Home » Zend Products » Zend Studio » ZDE 5.5.0 hangs while "Loading source control data..."' href="http://74.125.93.132/search?q=cache:Z7D2NGct1QsJ:https://www.zend.com/en/forums/index.php%3Ft%3Dmsg%26goto%3D14666%26S%3D58d685bb10ec57b4d18c60692488c0ab+zend+studio+5.5+stuck+%22loading+source+control+data%22&amp;cd=2&amp;hl=en&amp;ct=clnk&amp;gl=us&amp;client=firefox-a"&gt;Thanks to a post buried in the Google cache of Zend’s support boards&lt;/a&gt;, I give you the means to solve this annoying bug: set the svn and cvs paths to /dev/null.&lt;/p&gt;
&lt;p&gt;I tried setting just the svn path to /dev/null, but ZDE.app was still loading source control data when opening the problem project. Then I set the cvs path to /dev/null, restarted, and no more loading.&lt;/p&gt;
&lt;p&gt;According to the thread, this also works, changing ZDE/config_5.5/cvs_options.xml so that the value is false. Not sure if it works, I like the /dev/null solution too much.&lt;/p&gt;
&lt;pre&gt;&lt;customized_property ID="cvs.enableCvsIntegration"&gt;
		&lt;boolean value="false"/&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;/pre&gt;</description><link>http://chxor.chxo.com/post/349606963</link><guid>http://chxor.chxo.com/post/349606963</guid><pubDate>Sat, 23 Jan 2010 17:17:44 -0500</pubDate></item><item><title>Revert svn deleted symlink</title><description>&lt;p&gt;Let’s say you have a symlink or two in your svn repository, and one day you decide to delete one of them. You use the svn rm command to do so.&lt;/p&gt;
&lt;pre&gt;$ ls -l tinymce-3.2.6&lt;br/&gt;lrwxrwxrwx ... tinymce-3.2.6 -&gt; ../../jslibs/tinymce-3.2.6&lt;br/&gt;$ svn rm tinymce-3.2.6&lt;br/&gt;D         tinymce-3.2.6 &lt;br/&gt;$&lt;/pre&gt;
&lt;p&gt;But a minute later you realize that you actually need that symlink. You haven’t committed anything. Normally you would just svn revert and go about your business.&lt;/p&gt;
&lt;p&gt;Alas, your working directory is in limbo now; svn revert won’t restore, and svn up ignores the missing symlink. The trick, apparently, is that you must commit the deletion before you can roll it back.&lt;/p&gt;
&lt;pre&gt;$ svn commit -m "Uh, accidentally deleted wrong version of tinymce"&lt;br/&gt;Deleting       tinymce-3.2.6&lt;br/&gt;&lt;br/&gt;Committed revision 12679.&lt;/pre&gt;
&lt;p&gt;Then you copy (I kid you not) the link back in from a previous revision, and commit that.&lt;/p&gt;
&lt;pre&gt;$ svn copy -r 12678 &lt;a href="http://svn.example.org/path/to/tinymce-3.2.6"&gt;http://svn.example.org/path/to/tinymce-3.2.6&lt;/a&gt; \ &lt;br/&gt; ./tinymce-3.2.6&lt;br/&gt;A         tinymce-3.2.6&lt;br/&gt;$ svn commit -m "Respawned tinymce-3.2.6 from previous revision"&lt;br/&gt;svn commit -m "'Resurrected' link from previous revision"&lt;br/&gt;Adding         tinymce-3.2.6&lt;br/&gt;&lt;br/&gt;Committed revision 12680.&lt;/pre&gt;
&lt;p&gt;Now the symlink is back and you can carry on.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://svnbook.red-bean.com/en/1.1/ch04s04.html#svn-ch-4-sect-4.3"&gt;The SVN Book calls this “resurrection”&lt;/a&gt;, I call it “respawning.” &lt;a href="http://stackoverflow.com/questions/490522/what-is-the-correct-way-to-restore-a-a-deleted-file-from-svn"&gt;Thanks to this post&lt;/a&gt; for the tip.&lt;/p&gt;</description><link>http://chxor.chxo.com/post/295972455</link><guid>http://chxor.chxo.com/post/295972455</guid><pubDate>Tue, 22 Dec 2009 20:59:00 -0500</pubDate></item><item><title>Rock Solid HTML Emails</title><description>&lt;p&gt;Great (no, really great!) summary of the many quirks to keep in mind when building an HTML email template:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://24ways.org/2009/rock-solid-html-emails"&gt;&lt;a href="http://24ways.org/2009/rock-solid-html-emails"&gt;http://24ways.org/2009/rock-solid-html-emails&lt;/a&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I had to learn most of these the hard way recently, but I haven’t tested against Y! mail so I’m sure some of my work is broken.&lt;/p&gt;
&lt;p&gt;The biggest disappointment, by the way, is Gmail. I mean, inline CSS only? Really? What kind of kludge is that? It bulks up message size considerably. I guess the alternative is to use… an iframe. Oh well.&lt;/p&gt;</description><link>http://chxor.chxo.com/post/290504682</link><guid>http://chxor.chxo.com/post/290504682</guid><pubDate>Sat, 19 Dec 2009 12:55:31 -0500</pubDate></item><item><title>"The goal is to look over our shoulder and see Snow White and Pinocchio and Dumbo standing there..."</title><description>““The goal is to look over our shoulder and see Snow White and Pinocchio and Dumbo standing there saying, ‘Be this good.’ We shouldn’t be intimidated by them; they’re an arrow pointing someplace.””&lt;br/&gt;&lt;br/&gt; - &lt;em&gt;Roy E. Disney [&lt;a href="http://www.nytimes.com/2009/12/17/arts/television/17disney.html"&gt;NYT&lt;/a&gt;]&lt;/em&gt;</description><link>http://chxor.chxo.com/post/287474676</link><guid>http://chxor.chxo.com/post/287474676</guid><pubDate>Thu, 17 Dec 2009 08:15:27 -0500</pubDate></item><item><title>Setting middle click to three finger click in BetterTouchTool.</title><description>&lt;img src="http://26.media.tumblr.com/tumblr_ktdgw6ehqr1qz52e9o1_500.png"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;Setting middle click to three finger click in BetterTouchTool.&lt;/p&gt;</description><link>http://chxor.chxo.com/post/249918842</link><guid>http://chxor.chxo.com/post/249918842</guid><pubDate>Thu, 19 Nov 2009 15:00:06 -0500</pubDate></item></channel></rss>
