the bouncey zone

The latest news from Charlie’s world

Browsing Posts in Technical

Migration

No comments

In case you hadn’t noticed, bounceyzone has a new look!

Actually, it’s much more involved than that. Over the past month I’ve been moving all of my web sites. First, unclecharliessoap.com went to Weebly as an experiment in free web service. Then I deleted several web apps that were unnecessary.

The rest moved to a hosting company that costs half as much as the previous provider. The old company can expect a cancel-my-account notice in the morning. Just in time, too, because the service period expires at the end of this month.

I’d like to merge my various photo and video galleries eventually. (See side bar for links.) They might end up going to something like Flickr or YouTube, so someone else can have the headache of maintaining them. Notice how I’ve done test posts using both of those services.

Or maybe not. There are some advantages to retaining control. For now I’m just happy to have them on the new server with the photos and their descriptions all still the same. That’s the hard part about merging different galleries: Keeping the titles and descriptions intact. I’ll figure it out.

Other news since the previous post: We went to the circus for Scott’s fifth birthday. Sold soap and scarves at Norman’s Medieval Fair and at Wiesenfeuer Baronial. Also caught up with some business bookkeeping and filed our income taxes. Somehow I managed this without teaching the boys to cuss – though they did hear a few things that would have made Samuel Adams smile.

Conestoga 14 was this weekend. Beltane Games is next weekend. An exciting 10th anniversary vacation in Hawaii is next month.

Busy times. Now you’re more or less up to date. Hope you like the new look!

Rethinking the blade

No comments

This past weekend was SoonerCon. Rather than go home Friday night and stay in the convention hotel (the Biltmore on Meridian in OKC) on Saturday, as we’ve done in the past, we decided to stay both nights next door at the Econo Lodge. It costs about half as much, so in effect we got two nights for the price of one.

We quickly learned that we would have been happier elsewhere. Our motel made the Biltmore look good, which I hadn’t thought possible. The furniture was battered, the beds were hard, the pillows were flat, the housekeeper was very rude in a right-now-or-never kind of way…

But let’s dwell on the positive. This is what I liked about that Econo Lodge:

1. Shower head produced a delightfully luxurious spray of water. Really, no sarcasm.
2. Missing alarm clock was one less thing for the baby to chew on.
3. Toast at the free continental breakfast was okay.
4. The hair dryer worked. I used it to dry out some damp clothes.
5. The window had a nice coating that kept out most of the afternoon solar heat.
6. Couldn’t hear swimming pool noises from inside the room, even though we were right next to it.
7. No need to leave a tip for the housekeeper since she didn’t actually do anything.
8. Dorm fridge!

But other than that… Next time we might stay somewhere else.

One interesting discussion panel at the convention was about how history could have gone differently in Europe. At least that was what the program guide said. Really the main focus was on the 1632 series – which I haven’t read yet – and Victorian steampunk to a lesser extent.

The authors on the panel pointed out something that had long been percolating in my own mind. People way back in history weren’t stupid. They just lacked today’s level of scientific advancement.

People have always faced many of the same basic problems. Often their solutions didn’t work very well. But sometimes they did a pretty good job. We just forget too easily when a new way comes along. We lose ideas that could prove useful later.

One concern over the ages has been how to shave. The ancient Greeks and Romans went around beardless. America’s founding fathers did it too, as did countless men between then and now. But how could they shave safely without electricity or plastic?

None of the modern shaving methods have done a fantastic job for me. My current electric razor is okay, I suppose, when I have time to use it. It takes a while.

My Mach 3 removes hair very well. After a hot shower and four passes of the razor from different directions. And a lot of nicks and painful razor burn. Also, cartridges cost about $2 each at Sam’s and last for maybe 3 shaves if I’m lucky.

So I looked into the alternatives. I read general articles that covered the basics. I asked a few older people what they knew. I spent a lot of time with Badger & Blade reading specific reviews and instructions. Last week I got on eBay…

My shiny new razor arrived in the mail Monday morning. It’s not really new. According to its date code, it was made in the first quarter of 1960. This razor was 14 years old when I was born.

It’s a twist-to-open Gillette Super Speed, part of a product line that for decades dominated the shaving market. It’s not in perfect condition, but it’s reasonably good considering its age. Here’s a picture that I took after cleaning it up a little:

Super Speed

(I’m using this to test how well iPhoto, Flickr, and WordPress work together. Still undecided about whether to move all of my pictures to a photo hosting service like Flickr or to continue with ZenPhoto. At least ZenPhoto needs an update, and some old stuff from Coppermine still needs to be moved over. But anyway.)

Here’s a better picture of the same basic model, as found on Badger & Blade:

Super Speed

I chose this type partly because it has a good reputation. More importantly, it was cheaper than buying a new one. Oh yes, they still make double edge safety razors, in places like China and India and Germany. But not here in the USA. Gillette and its competitors have moved on.

Blades can still be found. Sample packs are available, so people can try several brands to find what works best for a particular combination of razor and face. Once the ideal blade is found, it can be ordered at astonishingly low prices in hundred-blade packs. 100 blades looks a lot like a year’s supply.

I got a pack of Personna blades from Walmart to start out. By my math, it costs about a tenth as much as Mach 3 cartridges. I also got a can of Barbasol shaving cream, which I tested over the weekend in a disastrous experiment involving a free disposable razor and a motel sink.

Thus a new experiment began: Combine razor and blade, take a shower, apply the cream… Most instructions tell a beginner to start with only one pass, going with the grain. After some practice add a cross-grain pass, and then eventually try a third pass against the grain. Lather up between passes.

I skipped to three pass mode on the first session. My technique was horrible. The angle wasn’t quite right. I pressed too hard on the razor. I didn’t let the cream soak in long enough. I have 20 years of habits to unlearn.

Best shave ever.

Compared to my usual Mach 3, the ancient razor caused fewer nicks and less razor burn. My cheeks felt like the proverbial baby’s butt. I even had fun with it.

To be fair, the razor wasn’t the only variable in the experiment. It’s possible that the Mach 3 could be made less gruesome by re-lathering between passes. I’ll have to try it with some of my remaining cartridges.

But let’s guess that equalizing shaving cream usage makes the two comparable. Which is better, a great shave with a $2 blade, or a shave just like it for 20 cents? Think about this.

That brings up a question. If the double edge safety razor worked well enough for so many decades, why did the market move away from it back in the 1970s?

For starters, plastic is cheaper than metal. At the time even the double edge razors were moving towards more plastic parts. A lift-and-cut system might have worked better in theory, given such a lightweight razor.

Maybe people just didn’t want to handle those sharp double edged blades anymore. But my guess is that the big players wanted to regain a proprietary advantage.

The relevant patents had long expired. Anyone could make a razor, anyone could make a blade, and there was an excellent chance that they’d work with each other. By shifting to the modern cartridge format, they reset the clock on new patents.

Ever notice how a new wave of razor models hits the market every few years? Not all technological change is for the benefit of its users. Sometimes it’s all about profit. Never let the monopoly end.

The experiment continues. I’ll try another shave on Wednesday.

We have categories!

No comments

Several months ago I accidentally did a half-upgrade to WordPress.  This happened because I used my web hosting provider’s upgrade tool, which assumed a different directory name for the WP installation.  Along the way it broke my blog’s category system. Since then I haven’t had time to go in and fix it.

This morning, while Scott was in summer preschool and Blake was eating breakfast, I finished the upgrade manually.  Suddenly the categories came back!  Hooray!

Time to go back to the Institute and pick Scott up again.  He really likes going to school.

Summer fun

1 comment

Somehow the “Blazing Saddles” movie theme has become an official bedtime song. He rode a blazing saddle, he wore a shining star…

Last Friday Scott finished two weeks of swimming lessons. The goal this year is to teach him not to be afraid of the water. The first few days, when asked how he did, he said: “I went under the water. I didn’t blow bubbles. I cwied.”

After that he did much better. On the last day he even went down a long twisty water slide!

Swimming is on a long list of skills that I want my boys to know before turning them loose as adults on an unsuspecting world.

This past week I started a part time contract programming job. One month, part time, work mostly from home. The problem to be solved is very interesting, but I’m not allowed to tell you about it. Non-disclosure agreements and such.

They learn quickly

No comments

Scott likes his XO. Actually using it is still a challenge, but he’s starting to pick up the basics. While visiting his great-grandmother’s house he figured out the camera.

Fun with XO

He already knows how to use Dana’s Logitech trackball. He’s making progress with my trigger style trackball and the built-in trackpad, which are a little harder to use. With at least one pointing device under control, he can play one XO game and several web games almost entirely by himself.

He’s not quite three yet…

I’m still learning how to work around the little computer’s limitations. One of the problems with longer videos will be solved in the next software update. (Apparently it copies the movie file from SD card to an internal data store. It takes so long to copy that the file-open calls start to time out. Eventually it fills up all of the available internal space, causing it to become unbootable. The next version will probably just make symbolic links. That means “shortcuts” to Windows users and “aliases” if you’re into Macs.) I also know which formats and bit rates it expects once a video is in position to be played.

I’ve been studying more Python and looking at how existing programs behave. I might be able to use some of them as a starting point for my own programs. Also I’ve been testing various USB gadgets with the XO; the ethernet adapter immediately fired up and tried to grab an address when I plugged it in. That’s a good sign.

Did I mention that we might need another XO in a couple years?

thinking smile

One more month to pick out a name…

One Laptop Per Scotty

2 comments

Scott’s OLPC XO arrived a few days ago. We’ve all been playing with it since then. Scott calls it “my little computer”.

Others have documented every aspect of unboxing and using these laptops. Rather than duplicate what’s already been done, I’ll just add some general comments.

First, this is the COOLEST PORTABLE COMPUTER EVER! Figuratively and literally. It generates only a very small amount of heat, which comes from the back of the monitor because that’s where its guts are. The hardware is durable, easy to operate (except for the keyboard), and visually attractive. The software still needs some work, but it’s far beyond what I had expected from working with emulators.

Due to open-source ideology and patent license issues, the XO does not support most audio and video formats. As a practical matter, the only movie format supported is Theora, and Ogg Vorbis and Speex are preferred sound formats.

I have no problem with either these formats or the reasons for excluding others. I actually like the free software philosophy. But practically and morally, Dana and I have paid the license fees for the “restricted” media formats at least ten times over. (This is from buying Macs, Mac OS updates, copies of Windows, optical drives and portable media players that came with their own software, and so forth.) Out in the real world MP3, MPEG-4, and Flash video are essential.

So I installed the official closed-source Adobe Flash plugin, which had the effect of making Scott’s favorite online games start working. I’m looking into options for adding support for other other formats. I also worked out various methods for converting existing media files to the “official” formats at an acceptable quality level. All of this was fairly painless.

Thanks to the magic of SSH, I can do admin tasks over an encrypted network connection without interrupting play time. This was disabled by default for security reasons. Enabling it was a matter of opening a local shell and setting a user password. Admin privileges need a second password.

The keyboard is impossibly tiny for grown-up fingers. USB keyboards work without fuss though. Scott likes the oversized Enter key. The arrow keys act more like page up and page down. The left-hand circular control on the screen is closer to actual arrow keys in behavior.

Another button on the screen rotates the image by 90 degrees. After 2 clicks the screen is upside down. 4 clicks brings it all the way around. This button has a lot of potential for classroom jokes.

The screen is awesome. We were able to watch movie clips in direct window-filtered sunlight with half of the screen in a light shadow. The sunny half was a sharp black & white with a hint of color. The shaded part was in color with some enhanced blacks and grays. Any other laptop screen would have been useless at that moment.

The built-in camera and microphone work pretty well, though I wish its video compression could be better. Scott likes the photography program. It’s very similar to Photo Booth on a Mac.

Sleep mode doesn’t exist yet. They’re supposed to fix that in a big software update within a few weeks.

SD cards (also reportedly SDHC) go into a slot in the bottom of the screen. I added a spare 2GB card. Each memory card and USB flash drive appears as a separate list in the Journal. It’s easy to copy things from one Journal to another; this has the effect of copying files from one storage device to another.

I think the Journal system is very cumbersome for ebooks, music, and movies. Playlists or hierarchical file lists would be much better for that. Also, bookmarks in the web browser seem to be specific to that one session. To get the bookmarks back, the user must reopen that particular session from the Journal.

But is that a bug or a feature? The Journal is very good for managing user-created projects. Just keep one browser session for each project to manage that project’s web links. I can see it both ways, and hope others create software to fill in the gaps.

I’d like to make some of that software. That’s why I’ve been studying Python. This little computer has been giving me many good ideas.

The “Give 1 Get 1″ program is now over. I hope they do it again someday. We might need another one before too long.

I mentioned in the previous post that Scott will be getting a laptop computer for Christmas. Specifically, it’ll be an XO unit from the “One Laptop Per Child” project. Someone finally convinced them that sales to private citizens would not be an unpardonable crime, and in fact might be a great way to raise cash while lowering the per-unit cost and heading off a potential black market. So for a limited time they’re doing a “Give 1 Get 1″ program. [OLPC G1G1 link]

David Pogue did a good review recently: [NY Times link] [or just the video]

I’m excited about a children’s machine both as a programming target and as a general concept. Many years ago, when I was in K-12, there was a thing called an Apple II. We used it to learn fundamental programming skills in Logo and BASIC. We used it to drill on difficult words until we could spell them the right way. We used it to guide a wagon train to Oregon and to check out books at the school library. We even did a little word processing!

Simple, affordable, and reliable, it was a genuine educational tool. Never was it for learning how to use a computer for using a computer’s sake, or for any imagined “office” skills. That’s what the computer lab’s pair of Macs were for.

That all changed around the time I started at OSSM. At first we had a time-share UNIX system that was only for word processing and the occasional primordial instant messaging. They quickly moved us over to Windows 3.1 PCs and a few token Macs.

There and in college we had all kinds of computers, up to and including serious Unix workstations and vast networks of cheap PCs. But never again was a computer something that could reliably fade into the background and act as a tool for teaching other subjects. The software was bloated and complicated, and the hardware was costly and fragile. Viruses and worms started making the rounds. And most of the time the software was chosen only because we might need that particular program on the job someday. Which was almost never true, except for Microsoft Office.

At some point, around the time I graduated, the College of Engineering started toying with the notion of issuing laptops to every student. Big expensive things with primitive wireless networking. A few years later some grade schools elsewhere got the same idea, but this time with iBooks and Dells. A computer as a universal teaching tool, what a great idea!

Except they’re iBooks and Dells. The up-front cost of issuing these computers to one classroom of students is comparable to a teacher’s annual salary. Then there costs for maintenance, training, repairs, and the risk of theft. And what about schools that can’t afford even the cheapest laptops?

Overall, an XO costs 1/10 as much (including maintenance etc) as a real laptop, is a lot lighter and more rugged, and has less that can go wrong with it. I’ve been playing with the software in an emulator; specific activities are right up front, while everything else slides out of sight unless needed. And with the right key combination, a computer nerd can find a Unix shell and have a big heap of arcane fun. But that feature takes some effort even to find.

So it’s a tough, inexpensive, educational appliance. I already have so many great ideas for what to do with it that I’ve started learning Python. I’m sure Scott will appreciate it, too. Already he routinely seizes Dana’s computer for games and mine for sending messages (random gibberish) to his mommy at work. He knows exactly what “move mouse” and “hit enter” mean.

I know a teacher who’s interested in XO laptops as electronic textbooks. Schools spend a lot of money buying, distributing, and disposing of books. Imagine if publishers could provide books to schools as ordinary PDF files, reducing the price to account for the difference in distribution cost but still with a reasonable profit. (I assume there’d be some occasional checking to keep schools from issuing books without paying.) Then the students could get their new books over the school net. Or the teacher could pass around a keychain drive. Backpacks would be much lighter. Maybe I should start preparing a basic demo for my teacher friend.

Well, enough of that for now. We’ll see how well the XO works when it actually gets here. I don’t know when that will happen yet. But for now, I have my emulator.

Nerds: Look at wiki.laptop.org for more technical info.

Company web site

No comments

I’ve been working on my company’s main web site today. I was getting annoyed with complicated, bloated, unmaintainable content management systems. Most simpler ready-made systems, such as blog kits, seem to be geared towards something other than what I actually need — a relatively static web site that tells the world about my company.

So I wrote it myself from scratch in PHP, CSS, and HTML. My programming tools were a web browser and a plain text editor. The new system is simple and lightweight, using no database and no image files. (Though it should be fairly straightforward to add those if needed.) Adding a new page is a matter of copying one file and adding a link in another file.

Half of the actual content hasn’t been written yet. But have a look anyway and let me know what you think: [hyperadaptive link]

Gallery changes

No comments

Tonight I also upgraded and relocated my experimental zenphoto gallery.

Turtle Sandbox

My older Coppermine gallery still exists, and it even has some pics. It’s harder to use and maintain than zenphoto though.

Spam again

No comments

I deleted about 4500 junk comments tonight. Then I upgraded wordpress to the latest version, activated the spam detection feature, and turned off comment moderation.

Let’s find out how well this works…