Older blog entries for parkerc (starting at number 29)

java.lang.OutOfMemoryError or Invalid Heap Size:

java -Xms256m -Xmx256m

for future reference:

dpkg -l | awk '/^i/ {print $2}' | grep visual | xargs apt-get --reinstall install --yes --force-yes

Had a bit of a hardware error and /usr/lib ended up in /lost+found

The above command will reinstall all packages that have "visual" in the name on a debian system. Thanks to Tollef Fog Haan for posting something like this back in January 2002.

6 Dec 2005 (updated 6 Dec 2005 at 23:35 UTC) »

I was looking at some patches I submitted, and I noticed some code that I wrote over a year ago just sitting around [Here] for jabberd2 imap_auth. Is anyone using this at all? I thought at the time that it would be useful.

Well, if anyone wants authreg imap jabberd support, grab it and I will walk you through it.

Update:

Should have looked here. Looks like imap will be integrated in 2.1. Cool!

5 Dec 2005 (updated 5 Dec 2005 at 20:14 UTC) »

jabberd sqlite 3 authreg is available here:

http://i-vsn.com/share/parkerc/public/jabberd2/

I tried posting this to the mailing list but I am not sure if they are having a problem or I am.

sqlite 3 authreg for jabberd is written. Now I need to test before I hand over the code to jabberd.

2 Dec 2005 (updated 2 Dec 2005 at 22:56 UTC) »
jabberd sqlite 3 authreg

Working on jabberd2 sqlite 3 authreg module. I will work on it a bit this weekend.

Today - Created basic structure. Write outline for user_exists, get_password, set_password, get_zerok, set_zerok, create_user, delete_user

The goal is to have a fully featured sqlite 3 authreg module.

sqlite3 is a lot of fun to work with.

---

Saw that nautilus-python loads from the home directory now. Not sure if they used my patch or not. Either way, I will not have to patch my friend's box any more to get it to work.

---

I have a couple of other patches out there that I need to check on. I am terrible about follow-up.

1 Dec 2005 (updated 1 Dec 2005 at 23:49 UTC) »

PeopleCode sucks balls. Come on - any language that starts arrays with [1] should be set on fire.

RMS got it right. Freedom is a compromise, which links all of us together.

While driving home from the hardware store, one guy was driving a bit like an asshole, while the rest of us on the road were driving the speed limit and taking our time. The asshole (driving a Miata) probably thought that we were all being suckers for following the speed limit, but what he/she did not understand is that the general pleasant condition - the condition that allowed he/she to drive like a complete asshole - was created by the compromise that the rest of the drivers on the road had silently agreed to. We had all decided that we would agree to create a climate which allowed for all of us to drive home safely.

Just a thought. Thanks RMS.

tk/cairo

I have been a bit sidetracked on my Lisp programming by a really cool Lisp project. I was looking for a cross-platform Lisp library, and I came accross ltk, which is a really great little gui library built on tk. The only problem is that tk is a bit ancient-looking on *nix, so I have spent the last few hours replacing the xlib calls with cairo calls.

Nothing really to see yet, but cairo is really a great library, and after using it for a few hours I am really excited about the future of the Linux desktop.

I will post some screenshots on Monday when I have more done. Patches are coming after.

More Lisp

Still like Lisp, even after 6 days. Wrote my first useable program with it today. I am still discovering it, but I wrote a cool little function:

(defun explode-to-list (expr str &optional &key (s nil))
  (let ((size (search expr str)))
    (if size 
	(explode-to-list expr (subseq str (+ 1 size)) 
		 :s (append s (list (subseq str 0 size))))	
      (append s (list (subseq str 0))))))

It takes a string like (explode "," "foo,bar.bin") and returns the list ("foo" "bar" "bin")

This might not be right, and there is probably a better way to do this, but I am really having fun.

20 older entries...

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!