johnk's blog

Hello, World in Javascript Encoded as a Data URI

This is the Hello, World program, written in Javascript and encoded as a data URI.

<script src='data:application/javascript;base64,ZG9jdW1lbnQud3JpdGUoIkhlbGxvLCB3b3JsZCEiKQ=='></script>

Los Angeles Area Coworking Spaces

Coworking spaces are rented offices that are more formal than a cafe, and try to be more social than a regular shared rental office(and cheaper too). Here's a list of three:

0xe0008497 - Incremental and differential backups are not possible because Microsoft Exchange is configured for circular logging

I got this in BackupExec 10d. It probably started because I enabled circular logging.

Server Push, COMET, XMPP, BOSH

XMPP is Better with BOSH explains why Jabber over an HTTP connection is better than traditional TCP sockets.

Free Open Source Software, Organization Structure

Free and Open Source Software (FOSS), is software produced primarily for social benefit, rather than profit. Over the last 30 years, different organizational structures have evolved to produce this software. Most of these organizations fall squarely in the category of "civil society", though they exist in a realm dominated by for-profit corporations.

Changing a Bicycle Tube or Tire: Avoid Thermal Expansion

Rubber shrinks when heated.

Metal expands when heated.

Cheap Mobile RSS Reader

If you're cheap and have a low-end, generic MP3 player that will also display text files, you can read your RSS feeds on it with the help of this script.

EXIM... dealing with bounces

I'm starting to learn EXIM. It's the default mail transport on Debian, so I have made a Spamassassin filter with it. The install was simple, but the configuration is arcane.

The Cost of Bagging Groceries

I was at Food 4 Less (or was it El Super), watching people bag their own groceries. What would it cost if someone was there to bag them, I wondered?

Creating a Firewall Log Analysis Tool for a SonicWall DSL Router, Part 2

In the last entry, log lines were being "compressed" by placing them into a database table. There were a few bugs in that code that have been fixed, and features added to the new script, below, that save us from losing some log data. Explanation after the code:

Creating a Firewall Log Analysis Tool for a SonicWall DSL Router, Part 1

Network traffic was growing, and it was getting hard to really "see" what was sucking up the capacity. It could be spam, or YouTube, viruses, hack attempts, or anything.

PHP list and array....

One day, I wish I can write this in PHP

while( $filename = $files->next() )
   [ $a, $b, $c, $d ] = getimageinfo($filename);
   $sizes[] = [ $filename, $a, $b ];

Dusting Off Coroutines

Coroutines are back! They never really left, but, it looks like different languages are adding native support for coroutines.

Syndicate content