Clean Up Your Mess
Code: Arkeia, break, Cambrian House, crash, jerk, system administration, wedge
Comments Off on Clean Up Your Mess
Too many sysadmins is a bad thing, especially if one of them doesn’t care about keeping the servers up.
Flintstoning Toasters
Code: bash, Cambrian House, cron, toasters
Comments Off on Flintstoning Toasters
I picked up the term “flintstoning” from my visit to Cambrian House. It’s the practice of substituting a little human work for functionality until there’s enough demand for the feature that it’s worth the coder time to implement. Let me give you an example.
Cambrian House Party
Biz: Cambrian House, web, work
Comments Off on Cambrian House Party
Cambrian House, the startup I snuck a peek at and got a hat-tip from has opened for a public beta test. They’re sort of an open-source business incubator: folks submit ideas, the best of which become projects; folks submit code, art, and copy, the best of which go into the finished project. Cambrian House (or a spinoff company, perhaps) runs the project as an online business, paying royalties back to the folks who contributed.
Cambrian Development
Biz: Cambrian House, security, web
Comments Off on Cambrian Development
Since I posted about Cambrian House last night, they’ve responded to me. I sent a heads-up mail to them (because I saw their blog didn’t pick up the trackback I sent) and got a brief thank-you note back from the CEO/founder saying they’d fix their permissions problem.
Pre-Cambrian House
Biz: Apache, Cambrian House, PHP, security, web, work
Comments Off on Pre-Cambrian House
I was poking around reddit and followed a link to CambrianCode.com, an all-Flash (ugh!) puzzle game. There’s a few of these “guess how to get to next level” games online and they all just annoy me. Yes, you’re so clever. No, I find patronization alluring. Yes, I’ll spend my time on this for no discernable reward.
The puzzle is run by Cambrian House, a mysteeeeerious stealth startup that has only a teaser page online. If there’s one thing that annoys me more than Flash puzzle-level games, it’s stealth startups.
So I went poking around some more and found a development copy of their website. And much to my surprise, it’s actually a darn cool business idea. So cool that after I wrote a whole “Mwaha, I’m raising the curtain early!” post I thought better of it and am only going to post this for now. It was clever and fun, there’s going to be a ridiculous amount of buzz around this company when it launches. And I got to register as user #9, which was damn funny when I noticed their “About Us” page lists 17 employees.
Confidential to CH in Calgary: it’s really tacky to litter your URLs with “.php” and get variables. Put the following in your .htaccess file and have index.php take apart the URL with the PHP code below and route to your different pages. URLs like “/community/member/Harkins” look much nicer than “/community/member-profile.php?users_id=9”. (Or ask me about mod_rewrite.)
<Location /secret_development_environment> Order Deny,Allow Deny from all Allow from 10.0.0.0/8 172.16.0.0/12 192.168.0.0/16 .cambrianhouse.com </Location> RewriteEngine On RewriteCond %{REQUEST_FILENAME} -d [OR] RewriteCond %{REQUEST_FILENAME} -f RewriteRule ^(.*)$ - [L] RewriteRule ^(index.*) - [QSA,L] RewriteRule ^([^.]*)$ /index.php [QSA,L]
function url_parse() {
$url = $_SERVER['REQUEST_URI'];
// we don't want to pass get vars or anchor tags on to the script
if (strpos($url, '?'))
$url = substr($url, 0, strpos($url, '?'));
if (strpos($url, '#'))
$url = substr($url, 0, strpos($url, '#'));
//remove leading slash and possible trailing slash, store in $url
if (substr($url, 0, 1) == '/')
$url = substr($url, 1);
if (substr($url, -1) == '/')
$url = substr($url, 0, -1);
if ($url == '/')
$url = '';
$url = explode('/', $url);
return($url);
}