S E R V E R   S I D E
View current page
...more recent posts

Adobe's project Apollo:

Apollo is the code name for a cross-operating system runtime being developed by Adobe that allows developers to leverage their existing web development skills (Flash, Flex, HTML, JavaScript, Ajax) to build and deploy Rich Internet Applications (RIAs) to the desktop.
In other words: Flash apps you can download and run on your desktop. I am surprised they didn't do this sooner. Supposed to be ready middle of next year.
- jim 11-03-2006 10:40 pm [link] [add a comment]

I've been way deep in the code for the past few weeks. Just got a client launched yesterday, and I'm still sort of in the thick of it, but it was a nice (if tiring) opportunity to really get everything polished up. Like I always say, it's that last 2 percent that takes most of the time.

But even though this job went okay, it took me too long and now I basically have to start right in on the next. I guess that is a good problem to have. They should be much easier from here given the much better state of my program. Although I guess that's what I always say. Still, I think it might finally be true this time.
- jim 9-27-2006 2:48 am [link] [2 comments]

Great advanced MySQL blog.
- jim 9-15-2006 8:07 pm [link] [add a comment]

Finally: mod_auth_token Apache module. This is supposedly similar to LIGHTTPD's mod_secdownload. I think this will keep me from switching to LIGHTTPD as a web server. The way I'm handling it now is a bit convoluted (although I'm sort of glad I got it to work.) The issue is that you want your application logic (PHP for me) to do authentification, but you don't want it to serve large binary files (with fpassthrough or whatever) because that is really inefficient compared to just having Apache do it (without PHP.) This takes care of the problem by allowing you to generate a token in PHP (an md5 of the current timestamp and a 'secret') and then pass this token to Apache along with the file request. If the timestamp is new enough Apache will serve the file. I'm doing a similar thing by hand now - keeping the files outside the web root and then creating symlinks with PHP which I then erase on subsequent requests to the system. It works fine, but makes for some complex code that mod_auth_token will greatly simplify.

Now my only module wish is something to throttle traffic (I use mod_cband now since I'm running Apache 2) but allow for certain file extensions (or maybe all files served from specified directories) to burst to x kb/s for the first n bytes of the file. In other words, I'd like to be able to specify a max kb/s on a per virtual host basis (mod_cband does this perfectly,) but then to further allow for that limit to be bypassed for the first x bytes of particular files. The point is to facilitate fast and stutter free streaming starts. Maybe you would throttle bandwidth at 1 mb/s for a virtual host, but for .mp3 files you have it burst to 3 mb/s for the first 100 kb of the file (and then slow down to 1 mb/s for the rest of the file.)

Maybe I'll try to get in touch with the mod_cband guy. A little bit arcane, but I think people would like it.
- jim 9-03-2006 12:05 am [link] [5 comments]

Interesting, super geeky look at BigTable, Google's in house developed storage framework.
- jim 8-04-2006 1:36 am [link] [add a comment]

Lots of main stream press stories about a remote root exploit in Apple wireless drivers. Seems like there is some truth here, and also a little bit of confusion. First off, this isn't just about Macs - the hacker duo demonstrating the exploit say it works against most wireless drivers on any platform. And secondly, they didn't actually demonstrate the exploit against the shipping Apple wireless drivers - they demonstrated it against a 3rd party wireless card (not the shipping Airport card) running 3rd party drivers. Color me unimpressed there. However, they say that it works against Apple's card and driver as well. I guess we'll have to wait for confirmation on that. And thirdly, the vulnerability can be fixed with one click in system preferences. I am still trying to figure out if new systems ship in an exploitable state, or if this "feature" is off by default. In any case, to protect yourself you just need to set Airport to only search and join known wireless networks automatically (instead of just joining any open wireless network within range.)

To do this, open System Preferences. Click on Networking. In Networking set 'Show:' to Airport, and on that screen set 'By default, join:' to 'Preferred Networks' (not 'Automatic'.)
- jim 8-03-2006 7:59 pm [link] [1 comment]

Mod_ext_filter is an Apache 2.0 module that pipes about to be served content through an external filter before sending it to the client. The filter can be any command line program that reads from standin and writes to standout.

This is the first time it has been an advantage for me to be running Apache 2 instead of 1.3 (where this module is not available.) I need to serve downsampled mp3s, and I don't have the room to cache them, so I'm going to try to do it on the fly using mod_ext_filter to send them through LAME. I think I can do this in better than real time, but I'm not totally sure. I might theoretically need up to 10 simultaneous downsamplings (re-encodings) at once. We'll see if the server is up to it.
- jim 8-03-2006 1:11 am [link] [add a comment]

Verizon just launched the Samsung A990. It has a 3.2 megapixel camera (finally!) with an auto-focus lens (finally!). Still, it's always possible they screwed it up somehow - I haven't seen an actual image yet - but this looks good. It's also EV-DO (high speed data), has bluetooth, and a nice big screen. Possibly a tad on the large size, but doesn't look too bad. Unfortunately it's pretty expensive for a non smartphone - $349 with a two year contract (and that's after a $50 mail in rebate.)

Other than the price this looks like the one to get if you can't wait for the ultimate sweetness that will be the Nokia N73 (also 3.2 megapixels with auto-focus Zeiss lens.) Finally the good cameraphones have begun to launch. I'll have to dust off the email to blog picture posting bridge.

Why is the delay so long from announcement to launch here in the U.S.?
- jim 7-07-2006 12:27 am [link] [1 comment]

Just putting this here so I can find it in the future. Universal power outlet adapter. Seems like the one to get if you travel overseas a lot.
- jim 7-04-2006 3:55 am [link] [add a comment]

Lots of nice free open source web page designs at Open Source Templates. Great resource.
- jim 6-23-2006 11:01 pm [link] [add a comment]

older posts...