Jade's weblog Archive

Set up the VNC Server in Fedora [www.raoul.shacknet.nu]

Setting up VNC Server in Fedora

10:24 AM, 31 Dec 2005 by Jade Rubick Permalink | Comments (0)

Multiple OS X Desktops using OSXvnc [www.redstonesoftware.com]

Very cool and free.

06:34 PM, 30 Dec 2005 by Jade Rubick Permalink | Comments (0)

I added high score to the exercise motivator

I added a high score to the exercise motivator. So now you can try to compete against yourself as well as other people.

So now there are multiple ways to motivate yourself:

  1. Public humiliation
  2. Competition with others
  3. Competition with yourself

Lots of ways to keep you motivated to exercise this holiday season!

09:20 PM, 24 Dec 2005 by Jade Rubick Permalink | Comments (0)

An excellent reference.

03:33 PM, 07 Dec 2005 by Jade Rubick Permalink | Comments (0)

.

03:14 PM, 07 Dec 2005 by Jade Rubick Permalink | Comments (0)

I've moved Rubick.com to a new server

It's now hosted on TekTonic.net

12:50 AM, 26 Nov 2005 by Jade Rubick Permalink | Comments (1)

We were in the paper [www.oregonlive.com]

We went to watch the swifts this summer, thousands and thousands of them, and were interviewed for the local paper:

Their friends, Jade and Kate Rubick, a Web developer and a librarian who live in North Portland, said hawks had carried some birds off.

10:33 AM, 25 Nov 2005 by Jade Rubick Permalink | Comments (0)

Where to host my virtual server next?

Need to run Debian, need 256MB memory, need lots of disk space 7GB +

Tektonic:
http://www.tektonic.net/vds.php?op=budget_plans
UM2
$28 / mo, 256 MB memory, 20 GB disk, 1.0Mbit Un-Metered
Unmetered bandwidth
Daily Backups

Spry
http://www.spry.com/webmin-vps/
Webmin VPS 200
$25-30 / mo, 256 mb memory, 10 GB disk, unmetered bandwidth
Daily backups
May I upgrade my OS? All of our VPS accounts use a shared kernel which will limit your choices when upgrading. You may be able to upgrade several user-land programs (Apache, Perl, PHP, gcc) but you will not be able to perform a complete OS upgrade.


Vinod's quest:
http://wiki.kurup.org/wiki/show/FindNewWebHost

I decided on tektonic.net, although I think either Tektonic or Spry would have been great.

05:56 PM, 13 Nov 2005 by Jade Rubick Permalink | Comments (0)

Very high load on Fedora Core 4 (96!)

My load on my laptop is now 96. (I wonder what the record is for high load?)

Top does show nsd (Aolserver) taking up a lot of CPU. I restarted it just now.

10:41 AM, 20 Oct 2005 by Jade Rubick Permalink | Comments (1)

Resending emails from a maildir

A user on one of my linux boxes had accumulated a bunch of email in a maildir, and wanted them forwarded to a new email address.

I wrote a script that did this:

#!/bin/bash

echo

for file in *.org

do
/usr/sbin/sendmail hisemail@safe4all.org hisemail@safe4all.org < "$file"
echo "$file name";
done
exit 0


Our domain name ends in .org, so that would change if you were at a .com or otherwise.

08:25 PM, 18 Oct 2005 by Jade Rubick Permalink | Comments (0)

Now there are two powerful ways to motivate yourself to work out: shame and competition. I'm currently ranked #2 in the exercise motivator, and I just worked out, so the world doesn't have to see that it's been a long time since I've worked out.

10:43 AM, 13 Oct 2005 by Jade Rubick Permalink | Comments (1)

Exercise motivator now keeps score

I've added in scores for the exercise motivator. You can keep track of how long you workout, and see how your score matches up with other motivated people. :)

06:05 PM, 11 Oct 2005 by Jade Rubick Permalink | Comments (0)

Sftp and resuming interrupted downloads

I was downloading very large files via sftp, and having the connection die midway. I found that you can resume downloads using lftp and still do the download over a secure connection.

Very nice!

03:15 PM, 23 Sep 2005 by Jade Rubick Permalink | Comments (0)

Fedora Core 4 complete freezing

I installed Fedora Core 4 on my laptop last night.

During the install, the installer says that the install disks didn't work. See linux media check issue with Fedora Core 4 disks. The solution? Start up the installer with:

linux ide=nodma

I installed Fedora Core 4 last night, and found that it would periodically freeze (every ten minutes or so). I couldn't find much pattern behind it, except that subversion was usually running. Upgrading subversion did not help, however.

I'm reinstalling again this morning, running memory checks and any other sort of checks that it has. I'd really like to get this working as quickly as possible, but I also want it to not freeze..

It looks like the 3rd install disk was corrupted. I reinstalled, and thought I was fine, but after about 4 hours of use this morning (and getting a lot of things installed), it froze again.

02:39 PM, 19 Sep 2005 by Jade Rubick Permalink | Comments (13)

New method of acquiring oil? [www.rockymountainnews.com]

Very interesting article..

06:18 PM, 05 Sep 2005 by Jade Rubick Permalink | Comments (0)

New Parent Meal Registry [www.rubick.com]

I wrote a little program to organize a 'new parent meal registry'. It's free, and anyone can use it.

01:17 AM, 31 Aug 2005 by Jade Rubick Permalink | Comments (0)

Can now print photos

I added the ability to print photos from our photo album via a third party service.

07:47 PM, 27 Aug 2005 by Jade Rubick Permalink | Comments (0)

Welcome to the world

Kate and Jade are happy to announce the birth of their daughter

ALEXANDRA MEI RUBICK

Formerly known as Tiny, she is now affectionately known as "Sasha." Sasha
arrived Saturday, August 20, at 2:15 a.m. She weighs 8 pounds 3 ounces and measures 20 inches.

We've put up photos linked in from Tiny's home page.

10:28 PM, 23 Aug 2005 by Jade Rubick Permalink | Comments (2)

Our new child, Delilah?

For some time now, our answering machine has had a message, saying that "you've reached the home of Jade, Kate, and Delilah." Recently, this message has taken an added significance for some people. My wife is expecting a baby any day now, and we've now received two messages congratulating us on our baby girl, Delilah.

Delilah is actually our cat! The baby hasn't been born yet.

12:41 PM, 17 Aug 2005 by Jade Rubick Permalink | Comments (0)

Interesting article on conditional get and how to reduce bandwidth for RSS.

05:32 PM, 08 Aug 2005 by Jade Rubick Permalink | Comments (0)

I've made some improvements to the Exercise Motivator, including an ability to remove yourself from the Motivator, a better signup process, the ability to have multiple Motivators, and some general UI cleanup.

You also can now see your exercise reminders from the main page of Rubick.com if you are signed in.

02:44 PM, 07 Aug 2005 by Jade Rubick Permalink | Comments (4)

Fedora Core 3 crashing

I don't know what's doing it, but a couple of times today, my Fedora Core 3 linux laptop has completely locked up. I can't even log in or get to a terminal to kill services...

Looks like the hard disk got corrupted a bit as well.

It turns out the swap partition was corrupted, and not mounting. I was getting my system load up to about 60, which is the highest I've ever seen.

I fixed it by using mkswap on the partition, and sudo /sbin/swapon /dev/hda5

05:07 PM, 02 Aug 2005 by Jade Rubick Permalink | Comments (0)

Many printers put the serial number of your printer in every printout, so printouts can be traced back to you.

07:09 PM, 27 Jul 2005 by Jade Rubick Permalink | Comments (0)

Public shame as motivation to work out

I wrote an exercise reminder program, which emails you when you have't worked out in a couple of days. I also placed it on my home page, so that I feel the public pressure to work out.

Anyone is free to sign up. It's free, and I plan to add in a public shame page, which will show how long it's been since you last worked out.

06:44 PM, 22 Jul 2005 by Jade Rubick Permalink | Comments (0)

Styled Checkboxes [www.gamingheadlines.co.uk]

Very interesting.

07:49 PM, 21 Jul 2005 by Jade Rubick Permalink | Comments (0)

.

10:37 AM, 20 Jun 2005 by Jade Rubick Permalink | Comments (0)

How Rails uses Ajax [www.onlamp.com]

.

12:26 PM, 13 Jun 2005 by Jade Rubick Permalink | Comments (0)

Mac OS X and Arch: guid and suid bits

From Alex K:

After spending about 3 hours looking into it, compiling half the gnu tools from scratch I finally fixed arch on my machine. After I compiled the latest version of tar I noticed that rather then giving an error it simply said 'permission denied'. Doing some more googling it seems that the latest security update for Panther has disallowed the user from setting the setgid bit. It's the only UNIX to do this and the move was praised in some security researcher's blog. By simply

sudo tla replay

the problem was resolved.

Arghhhh!

sudo'ing the replay command broke all the tla commands for the normal user but chowning the {arch} directory back to alexk seems to have fixed everything.

10:23 PM, 04 Jun 2005 by Jade Rubick Permalink | Comments (0)

Startup issues with Fedora Core 3 and HP Pavilion zd8000

A very annoying thing about my Fedora Core 3 (2.6.11-1.27_FC3smp kernel) startup on my HP Pavilion zd8000 laptop: about 50% of the time, and often much more than that, the startup will freeze at:

Starting udev:
Initializing hardware... storage network audio

Sometimes it freezes there, sometimes it doesn't. Right now, I am restarting over and over and it isn't coming up. Annoying.

03:24 PM, 04 Jun 2005 by Jade Rubick Permalink | Comments (0)

Helpful.

01:20 PM, 01 Jun 2005 by Jade Rubick Permalink | Comments (0)

.

07:13 PM, 27 May 2005 by Jade Rubick Permalink | Comments (0)

Tiny's Home Page [www.rubick.com]

Tiny Rubick already has a webpage, months before he or she is born...

05:36 PM, 14 May 2005 by Jade Rubick Permalink | Comments (0)

.

11:21 PM, 07 May 2005 by Jade Rubick Permalink | Comments (0)

Drag and drop and editable content with Javascript and CSS

08:12 PM, 02 May 2005 by Jade Rubick Permalink | Comments (0)

I was wondering why I was having so much problems with Javascript across different domains...

The default security in javascript is even more restrictive than "same domain". It's known as the Same Origin policy. It says that a script can only read properties of windows and documents that were loaded:

1. from the same host
2. through the same port
3. by the same protocol

04:51 PM, 25 Apr 2005 by Jade Rubick Permalink | Comments (0)

I've put up some pictures from a recent trip to the Oregon Coast.

01:10 PM, 23 Apr 2005 by Jade Rubick Permalink | Comments (0)

Google Maps Hacking and Bookmarklets [libgmail.sourceforge.net]

Very cool page on hacking Google Maps.

10:34 PM, 19 Apr 2005 by Jade Rubick Permalink | Comments (0)

Google Maps Standalone Mode [stuff.rancidbacon.com]

This webpage essential describes how to do what the Craigslist page did.

10:31 PM, 19 Apr 2005 by Jade Rubick Permalink | Comments (0)

Housing - Portland [www.paulrademacher.com]

I have no idea how he did this. Very cool.

10:24 PM, 19 Apr 2005 by Jade Rubick Permalink | Comments (0)

Jim Davidson on a few undocumented things you can do with Aolserver

It turns out theres an undocumented Tcl_GetMemoryInfo call in Tcl. The only user is AOLserver's "ns_info pools" command which uses it to get a list of lists of per-bucket memory usage for each thread. Since it turns out you can load libnsd to get the ns_info command (also undocumented), you can try this:

shell# bin/tclsh8.5
% load lib/libnsd.so
% ns_info pools; ... look at output on zippy memory usage ...
% ... run test ...
% ns_info pools; ... look again ...

12:08 AM, 07 Apr 2005 by Jade Rubick Permalink | Comments (0)

This is a pretty impressive collection of heuristics for web design.

06:57 PM, 04 Apr 2005 by Jade Rubick Permalink | Comments (0)

I posted on the OpenACS site a fix (not by me) for the Debian Postgres backport.

06:42 PM, 04 Apr 2005 by Jade Rubick Permalink | Comments (0)

Rubick.com is now back up

Sorry for the hiatus. Rubick.com is now back up and running, upgraded and on a new server, and at a new hosting facility instead of in my basement.

I'm hoping this will ensure that it will be more reliable in the future.

12:13 AM, 04 Apr 2005 by Jade Rubick Permalink | Comments (0)

Getting svn to use https

.

01:54 PM, 18 Mar 2005 by Jade Rubick Permalink | Comments (0)

iCal won't start up

iCal was crashing every time I started it up. I had to trash all the iCal preference files from the ~/Library/Preferences, and then it worked again.

10:53 AM, 17 Mar 2005 by Jade Rubick Permalink | Comments (0)

Firefox doesn't start up?

On Firefox, if your system crashes (or runs out of batteries and goes dead when you though you had it plugged in), it will not start back up properly.

When you start back up the system, it will bring up a "Choose User Profile" box, but won't start up with the default profile.

The fix is quite easy. Look in .mozilla/firefox/tt2k25do.default/ or something like that. Remove the lock file.

12:26 PM, 10 Mar 2005 by Jade Rubick Permalink | Comments (1)

Google Maps Hacking and Bookmarklets [libgmail.sourceforge.net]

Interesting things you can do with Google Maps. Jon Udell shows a walking tour using Google Maps.

11:01 AM, 27 Feb 2005 by Jade Rubick Permalink | Comments (0)

Analysis of Google Maps [weblog.infoworld.com]

And an analysis of Google Maps.

Google Maps uses XSLT in novel ways, apparently.

06:44 PM, 12 Feb 2005 by Jade Rubick Permalink | Comments (0)

Interesting idea to use SOAP to get automatic translation of language keys.

08:49 PM, 04 Feb 2005 by Jade Rubick Permalink | Comments (0)

This helped me set up the commit-email.pl script. The path isn't set up by default, I believe.

01:39 PM, 01 Feb 2005 by Jade Rubick Permalink | Comments (0)

Street level pictures on A9 [www.amazon.com]

I'm a little chagrined (or vindicated) to see this, because it's an idea I came up with about a year ago. Nice to see it implemented without having to do the work myself!

They have an explanation of how Amazon created the photos on the Yellow Pages site.

My idea was a little more collaborative -- the ability for any user to upload GPS encoded photos. You then could look at an overview map which would show how densely people have uploaded pictures in particular areas, and you could take virtual tours of those places.

You then would need a way of determining which pictures were the best in a densely photographed area. Probably some sort of rating scheme.

08:48 PM, 30 Jan 2005 by Jade Rubick Permalink | Comments (0)

I appeared on the front page of the Register-Guard yesterday.

10:19 AM, 30 Jan 2005 by Jade Rubick Permalink | Comments (0)

Animal-Human Hybrids Spark Controversy [news.nationalgeographic.com]

Scientists are blending now creating GMO animals:

Scientists have begun blurring the line between human and animal by producing chimeras—a hybrid creature that's part human, part animal.

Chinese scientists at the Shanghai Second Medical University in 2003 successfully fused human cells with rabbit eggs. The embryos were reportedly the first human-animal chimeras successfully created. They were allowed to develop for several days in a laboratory dish before the scientists destroyed the embryos to harvest their stem cells.

In Minnesota last year researchers at the Mayo Clinic created pigs with human blood flowing through their bodies.

And at Stanford University in California an experiment might be done later this year to create mice with human brains.

This reminds me of a thought experiment I had about ten years ago while in college:

Humans and apes are fairly similar genetically. Yet some religious groups think that people have souls and apes do not. Given that we can now start blending the line between humans and apes, imagine doing an experiment where..

You 'create' 100 children:

  • The first child is 100% human, 0% ape.
  • The next child is 99% human, 1% ape.
  • The next child is 98% human, 1% ape.
  • Etc...
  • The last child is 100% ape, 0% human.

Now these people believe that having a soul is a binary thing. Either you have a soul or you don't. So the question is: which of these children have souls, and which do not?

(Stop and think about that before continuing. What do you think?)

The conclusion you (inevitably I think) come to is one of the following:

  • There is a gene for having a soul. Somewhere in your genetic material is a gene that makes you have a soul. Or,
  • There is no such thing as the soul. Or,
  • The soul is not a binary thing at all. There are degrees of soul.

I won't say which of those I subscribe to, but I thought it an interesting thing to think about.

11:13 AM, 27 Jan 2005 by Jade Rubick Permalink | Comments (0)

How to podcast [www.engadget.com]

07:30 PM, 25 Jan 2005 by Jade Rubick Permalink | Comments (0)

Lars has an good discussion of folksonomies. Michael has an excellent discussion of the shortcomings of folksonomies as well.

03:19 PM, 24 Jan 2005 by Jade Rubick Permalink | Comments (0)

Mailman with AOLserver [mail.python.org]

It looks like it's quite possible to run Mailman on Aolserver. I've gotten it to mostly work. The main problem I seem to be having is that I can't get the cgi mapping to work. Here's what I have:

ns_section "ns/server/${server}/module/nscgi"
ns_param map "GET /mailman/ ${mailmanprefix}/cgi-bin"
ns_param map "POST /mailman/ ${mailmanprefix}/cgi-bin"

If I put a symlink from www/mailman to the /usr/local/mailman directory, it mostly works (but only mostly). But it really should work with the mapping, so I've removed the symlink, and I've tried fiddling with it in lots of ways. I'm back to the original configuration (I verified that), and am wondering if there is some trick to it.

Vinod says you have to list every directory, and I've tried that as well, although I really hope that is not the case.

Anyone have any suggestions?

11:23 AM, 23 Jan 2005 by Jade Rubick Permalink | Comments (2)

I had to use ./configure --without-cxx

09:51 AM, 21 Jan 2005 by Jade Rubick Permalink | Comments (0)

I'm flagging this for reading. A PDF version is available.

07:02 PM, 20 Jan 2005 by Jade Rubick Permalink | Comments (0)

Mac OS X can send and receive faxes

I didn't realize this, but I can send and receive faxes from my Mac without any extra software. Cool.

04:32 PM, 20 Jan 2005 by Jade Rubick Permalink | Comments (0)

Google stops link spamming [www.google.com]

We'll need to update some OpenACS packages to support this.

12:59 AM, 20 Jan 2005 by Jade Rubick Permalink | Comments (0)

HOT AIR: Postal Experiments [www.improb.com]

Hilarious.

08:32 PM, 18 Jan 2005 by Jade Rubick Permalink | Comments (0)

Log response times in Aolserver

Dossy turned me on the fact that you can easily log the amount of time each request takes in Aolserver.

I've commited this to oacs-5-1, so it will start appearing in OpenACS soon.

I believe I can use this in conjuction with Analog to produce reports on the amount of time each request takes...

07:53 PM, 18 Jan 2005 by Jade Rubick Permalink | Comments (0)

Interesting.

05:11 PM, 18 Jan 2005 by Jade Rubick Permalink | Comments (0)

An excellent description of how social security works, and both sides of the political divide on this issue. (No, social security is not broken or heading for disaster).

03:44 PM, 18 Jan 2005 by Jade Rubick Permalink | Comments (0)

Problems with Postgres not starting up right

This morning, I received an email from a monitoring service that let me know that one of the sites I am responsible for was not responding.

The message on the server's main page said that the database was down.

So I log into the server, take down Aolserver, and attempt to restart Postgres:

svc -d /service/servername

www:~# /etc/init.d/postgresql restart
Stopping PostgreSQL database server: postmaster/usr/lib/postgresql/bin/pg_ctl: kill: (30083) - No such process
pg_ctl: postmaster does not shut down
.
Starting PostgreSQL database server: postmaster ((null) already running.).

www:~# su - postgres
postgres@www:~$ pg_ctl stop
waiting for postmaster to shut down...2005-01-17 10:26:12 [1548] LOG:  received smart shutdown request
.2005-01-17 10:26:12 [1590] LOG:  shutting down
..2005-01-17 10:26:15 [1590] LOG:  database system is shut down
done
postmaster successfully shut down
postgres@www:~$ exit
logout
www:~# /etc/init.d/postgresql start

01:10 PM, 17 Jan 2005 by Jade Rubick Permalink | Comments (1)

SMTP Auth and SMTP over SSL [people.brad-x.com]

Describes how to set up SMTP-AUTH on Postfix on Debian. I had so much frustration getting SMTP-AUTH to work with Qmail that I switched to Postfix.

10:55 PM, 15 Jan 2005 by Jade Rubick Permalink | Comments (0)

La Concheta Mudslide [www.theclandestino.com]

This picture really helps bring home the power of the mudslides. Several friends of my cousin were killed in this slide...

07:12 PM, 15 Jan 2005 by Jade Rubick Permalink | Comments (0)

Jon Udell: Linky in action [weblog.infoworld.com]

An overview of the Linky extention to Firefox.

02:34 PM, 14 Jan 2005 by Jade Rubick Permalink | Comments (0)

Measuring code complexity [www.linuxjournal.com]

Describes some of the ways you can attempt to measure the complexity of software.

One of the flaws in open-source software is that everyone wants the software to do different things -- so users add in lots of options. This article exposes the danger of not being selective when adding new functionality in.

12:15 PM, 13 Jan 2005 by Jade Rubick Permalink | Comments (0)

touch /service/servicename/down

04:03 PM, 12 Jan 2005 by Jade Rubick Permalink | Comments (0)

Roadmap for Arch 2.0 [www.gnuarch.org]

Two-tracked effort. Interesting the amount of buzz baz has gotten.

I'm glad they are paying attention to both Windows and UI issues.

02:11 PM, 12 Jan 2005 by Jade Rubick Permalink | Comments (0)

Researchers at the University of Toronto have invented an infrared-sensitive material that's five times more efficient at turning the sun's power into electrical energy than current methods.

04:12 PM, 10 Jan 2005 by Jade Rubick Permalink | Comments (0)

Makes your handwriting into a computer font.

10:07 AM, 06 Jan 2005 by Jade Rubick Permalink | Comments (0)

One of the developers from the Switzerland map service describes what they did on this site. This site is one of the best examples of xmlhttprequest that I've seen, and it's very smoothly done.

07:49 AM, 06 Jan 2005 by Jade Rubick Permalink | Comments (0)

Unable to acquire revision lock?

I got this error:

arch_commit: unable to acquire revision lock (could not rename file.)
tree: /home/safe4all-staging/safe4all-staging
revision: jade@safe4all.org--2005/openacs--staging--5.1.0--patch-14

The problem was the umask of another user committing to the archive. That set the permissions so I couldn't access them.

I figured out what was going on with help from ddaa and Rotty on #arch. They suggested using strace on the tla commit. That helped diagnose the problem.

Then, to fix it, you have to do this (I had to be root for some reason):

cd /home/safe4all/{archives}/2005/openacs/openacs--staging/openacs--staging--5.1.0/
chmod g+w *
cd patch-13
chmod g+w ++revision-lock/
chmod g+w ++revision-lock/+contents/

Then the commit worked.

11:31 AM, 05 Jan 2005 by Jade Rubick Permalink | Comments (0)

Apparently, you can add in photos to lars-blogger via Flikr.

08:11 AM, 04 Jan 2005 by Jade Rubick Permalink | Comments (0)

Lots of examples of xmlhttprequest [jpspan.sourceforge.net]

Lots of examples.

10:50 AM, 03 Jan 2005 by Jade Rubick Permalink | Comments (0)

43 Things [43things.com]

Interesting website, similar to http://del.ico.us, which tracks things you want to do with your life.

10:24 PM, 01 Jan 2005 by Jade Rubick Permalink | Comments (0)

XML