Pann's Weblog

This is my blog, designed to be easy for me to use and easy for you to read.

I've decided to try and keep this blog up to date for a couple of reasons. It will give me an opportunity to exercise my writing muscles. It's also a good way to get things in “final form” in bite-sized chunks, rather than waiting until the complete opus is finished and then getting bogged down in a huge editing job.

Cycling | T41 | GX280 | RAV4
LIRR Woes
Thu 27-Mar-2008 at 19:13

I got to Penn Station in plenty of time for the 6:16, but apparently there was a derailment earlier that has messed things up. Track changes for most trains (including mine) and it doesn't look like we'll get away on time. They're talking about a 30-minute delay at Jamaica. We shall see.

We left only two or three minutes late, but we're creeping through Forest Hills, I presume because there would be no track space at Jamaica should we run at a normal pace. No announcements (yet).

At 18:44 we hear an announcement that we are at stop signal owing to congestion ahead of us and that we should be moving shortly.

At 18:49 we arrive at Jamaica, not on our normal track, but that doesn't concern me because I'm staying on this train all the way home.

It's 18:54 and we're rolling out of Jamaica. It should be smooth sailing from here on out.

19:11 and we're rolling out of Mineola. My best guess is that we'll arrive in Roslyn about 15 minutes late.

Odd Update Behavior
Fri 08-Feb-2008 at 16:53

Today at the office I did a blog update dry run from the T41, and it seemed like there was way too much deletion on the target at blog.ourmanpann.com.

I need to investigate further when I have time to take a good close look at what's going on. Typically at work I just run dryrun.sh and the dry run looks sensible and I go ahead and run update.sh. Takes almost no time. If I have to chase a potential problem, that takes time, and I can't take time away from work to do that sort of troubleshooting.

It turns out that all the deletion on the target was owing to missing files on the source (T41). And I have no idea how they got to be missing. The missing files were all source .txt files, and the corresponding blog.html files on the source and target matched, and indicated that the files missing on the source should have been there. I ended up copying them back from target to source manually. While I was at it I cleaned up a few permission and ownership issues for the .../blog tree.

Modified: Mon 25-Feb-2008 at 18:28
murgaLua
Wed 23-Jan-2008 at 18:57

I see that both DSL3 and DSL4 are now using murgaLua. I went to the website, surfed around a bit, and then downloaded the tarball and installed it in /home/pann on the T41.

After doing some reading I decided to walk through the murgaLua introduction to FLUID. Alas, it crashes at step 5, causing Xubuntu to throw me back to the gdm login screen. I see that an Ubuntu FLUID package is available, so I'll apt-get that and give it a try. The various components comprising murgaLua seem to create an attractive package, especially since your lua programs are supposed to run unmodified under Linux, WinXP, and MacOS.

OK, so I installed FLUID and went back to the tutorial in the murgaLua web page. FLUID worked and the convserion to lua by murgaLua worked reasonably well, but as soon as I clicked on the text input box in the window running under murgaLua, I was once again kicked out to the gdm login screen.

Looks like I'll have to build murgaLua locally as well.

Modified: Thu 24-Jan-2008 at 06:47
Lua
Wed 23-Jan-2008 at 08:15

My first exposure to lua came when Tom O adopted it as a scripting language for Tom's Root Boot. It's currently used by the Damn Small Linux LiveCD as its primary admin scripting language. Lua is obviously much lighter weight than Perl or Python, the admin scripting languages typically used in Linux distributions.

Xubuntu 7.10

-rwxr-xr-x 2 root root 1.1M 2007-12-04 04:18 /usr/bin/perl

This is perl, v5.8.8 built for i486-linux-gnu-thread-multi

-rwxr-xr-x 1 root root 1.2M 2007-10-05 10:17 /usr/bin/python2.5

Python 2.5.1

-rwxr-xr-x 1 root root 131K 2007-04-29 09:30 /usr/bin/lua5.1
-rwxr-xr-x 1 root root 82K 2007-04-29 09:30 /usr/bin/luac5.1

Lua 5.1.2  Copyright (C) 1994-2007 Lua.org, PUC-Rio

Damn Small Linux 3.4.9

-rwxr-xr-x    1 root     root       382.8k Oct  1 13:48 /bin/murgaLua

MurgaLua Version 0.5.5 (http://www.murga-projects.com/murgaLua/)
MurgaLua & FLTK/XML bindings : Copyright 2006-7 John Murga, GPL license.
Contains lsqlite by T.Dionizio, LuaSocket by D.Nehab and other bindings.
Lua 5.1.2  Copyright (C) 1994-2007 Lua.org, PUC-Rio

Damn Small Linux 4.2.4

-rwxr-xr-x 1 root root 383K Sep 30 15:27 /bin/murgaLua

MurgaLua Version 0.5.5 (http://www.murga-projects.com/murgaLua/)
MurgaLua & FLTK/XML bindings : Copyright 2006-7 John Murga, GPL license.
Contains lsqlite by T.Dionizio, LuaSocket by D.Nehab and other bindings.
Lua 5.1.2  Copyright (C) 1994-2007 Lua.org, PUC-Rio

Damn Small Linux-Not 01RC4

-rwxr-xr-x 1 root root 436K Jan 30 2006 /bin/flua

Lua 4.0 Copyright © 1994-2000 TeCGraf, PUC-Rio

Bookmarks
Fri 11-Jan-2008 at 08:08

I've been doing a lot of thinking about bookmarks lately. I use three different platforms a lot, and others less often. Firefox is my primary browser, but certainly not my only browser.

Clean setups on my laptop and my home desktop brought the issue to the forefront. I've moved toward keeping all but my most frequently used bookmarks on del.icio.us. After all, if I'm not online, bookmarks rererencing off-box URLs are fairly useless.

There's a relatively small number of common frequently used bookmarks that need to be local to each platform. And a few that are platform-specific (local documentation, etc.).

I think I can set up a private section on del.icio.us to keep a superset of frequently used bookmarks local to all platforms. That would make a new setup considerably more straightforward than it is now.

I've been using Foxmarks to keep local bookmarks on several platforms in sync, but I think I don't want to do that anymore. When I set that up I had many more local bookmarks and made much less use of del.icio.us.

A routine visit to del.icio.us to keep my bookmarks relatively clean and organized would be a good idea.


View archived articles from 2007, from 2006, from 2005
T23 Blog T23 Gentoo Blog

Last modified: 21-May-2008 and Copyright © 2008 by Pann McCuaig
All rights reserved.