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

I'm happy about this news from Tim Berners-Lee concerning the future path(s) of HTML development:

Some things are clearer with hindsight of several years. It is necessary to evolve HTML incrementally. The attempt to get the world to switch to XML, including quotes around attribute values and slashes in empty tags and namespaces all at once didn't work. The large HTML-generating public did not move, largely because the browsers didn't complain. Some large communities did shift and are enjoying the fruits of well-formed systems, but not all. It is important to maintain HTML incrementally, as well as continuing a transition to well-formed world, and developing more power in that world.
This is smart. If we could have all jumped to XML at the same time maybe that would be better, but it didn't happen and it's not going to suddenly happen, so we need an easier way to go forward. Perhaps the greatest thing about HTML is how dead simple it is to get started with it. Of course that is also the worst thing about it as well (in the sense that it doesn't enforce itself rigorously so while it's easy to get going it's also easy to fly out of control with it and create truly horrible markup.) Still, I think it is better to stay more on the loose HTML side rather than the strict XML side as we go forward. Maybe not in a theoretical sense, but definitely in a practical sense.

Now just get us some more powerful form elements!
- jim 11-07-2006 7:03 pm [link] [2 refs] [3 comments]

Crazy small foldable computer from Samsung: SPH-P9000. Who names these things?
- jim 11-07-2006 6:54 pm [link] [add a comment]

I'm not a big Adobe fan, and I've always been against Flash if there are any other ways to get the job done, but it does seem like there are a lot of interesting things going on. As the web moves towards a more richly interactive design (AJAXified web 2.0 stuff) maybe Flash starts to make more sense?

In any case, Adobe just made a huge contribution to the Mozilla project that is scheduled to pay off sometime in 2008: Tamarin Project. From the blog of one of the engineers:

Today Adobe announced that the EMCAScript 4 compatible virtual machine in the Adobe Flash Player has been contributed to the Mozilla project under the name Tamarin. It is the single largest contribution to the Mozilla foundation since its inception and consist of about 135.000 lines of source code. The engine is fully open source using the standard Mozilla license, with the Mozilla foundation retaining full ownership.
Tamarin will allow for Mozilla (and therefore Firefox) to easily move to javascript 2. And while I'm always a little nervous about Flash (and javascript for that matter) I'm also getting impatient for more powerful scripting tools and this is probably the way we are going to get them. So I'm staying hopeful and will watch this.
- jim 11-07-2006 6:50 pm [link] [2 comments]

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]

older posts...