Jade's weblog Archive

Documents how to set up a production server with Arch.

07:12 PM, 30 Nov 2004 by Jade Rubick Permalink | Comments (0)

As long as this is evidence-based, I don't really have that much of a problem with prosecuting even when someone recants.

Some side-effects: victims may come forward more, because they know it will be out of their hands once they make the initial allegation. Or they may come forward less, because they won't want their abuser to be arrested.

I was glad the article pointed out that people can make false reports.

07:41 PM, 29 Nov 2004 by Jade Rubick Permalink | Comments (0)

How to turn on statistics command on Postgres

12:34 PM, 29 Nov 2004 by Jade Rubick Permalink | Comments (0)

Updated CO2 setup page [rubick.com:8002]

I updated my CO2 page, with information on better needle valves

03:50 PM, 28 Nov 2004 by Jade Rubick Permalink | Comments (0)

Reasons to use Debian [www.newsforge.com]

A good summary of reasons why to choose Debian over other distributions.

03:13 PM, 28 Nov 2004 by Jade Rubick Permalink | Comments (0)

Error while loading shared libraries with Aolserver

If you get an error like this:

/usr/local/aolserver/bin/nsd: error while loading shared libraries: libnsd.so: cannot open shared object file: No such file or directory

Try ldd:

/usr/local/aolserver/bin# ldd nsd
        libnsd.so => not found
        libnsthread.so => not found
        libtcl8.4.so.0 => /usr/lib/libtcl8.4.so.0 (0x40018000)
        libdl.so.2 => /lib/libdl.so.2 (0x400ba000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x400bd000)
        libm.so.6 => /lib/libm.so.6 (0x400d1000)
        libc.so.6 => /lib/libc.so.6 (0x400f2000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

It looks like the libraries are not being found.

Try this:

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/aolserver/lib

Vinod's entry fixes it here:

http://openacs.org/forums/message-view?message_id=161815

You may need to edit your /usr/local/aolserver/nsd-postgres file to include Aolserver's lib directories.

07:15 PM, 23 Nov 2004 by Jade Rubick Permalink | Comments (0)

Macromedia - Flex [www.macromedia.com]

Presentation on Macromedia Flex

02:54 PM, 22 Nov 2004 by Jade Rubick Permalink | Comments (0)

Interesting that they will only name men convicted of domestic violence, and not vic e versa. Seems like a strange policy... What about GLBT domestic violence?

02:58 PM, 21 Nov 2004 by Jade Rubick Permalink | Comments (0)

Gives an overview of Laszlo, and his argument for why to use it versus Flex or XAML

04:52 PM, 19 Nov 2004 by Jade Rubick Permalink | Comments (0)

Laszlo may not need the presentation server soon. Very cool

04:24 PM, 19 Nov 2004 by Jade Rubick Permalink | Comments (0)

Laszlo - Developers [www.laszlosystems.com]

Interesting rich text technology, outputs to flash, open source.

02:17 PM, 19 Nov 2004 by Jade Rubick Permalink | Comments (0)

Good overview of rich internet applications.

11:19 PM, 18 Nov 2004 by Jade Rubick Permalink | Comments (0)

Link to a bunch of rich internet applications.

11:13 PM, 18 Nov 2004 by Jade Rubick Permalink | Comments (0)

Current terror alert level

07:23 PM, 18 Nov 2004 by Jade Rubick Permalink | Comments (0)

Process *.rej files [wiki.gnuarch.org]

This is useful for Arch and CVS. Explains how to process .rej files with emacs.

01:57 PM, 18 Nov 2004 by Jade Rubick Permalink | Comments (0)

Lists what's coming in Mac OS 10.4. Some of it is very very cool.

11:03 PM, 17 Nov 2004 by Jade Rubick Permalink | Comments (0)

Good to file away for later. This was written by Joel.

05:41 PM, 17 Nov 2004 by Jade Rubick Permalink | Comments (0)

It looks like the anti-gay marriage laws are already starting to be used against equal rights: in Utah, a lawyer is arguing that an individual in a same-sex domestic violence case shouldn't be able to get a protective order.

Do people realize what these laws do?

12:36 PM, 17 Nov 2004 by Jade Rubick Permalink | Comments (0)

Orwellian, but I see why they're doing it. We'll need to watch how these technologies are used..

12:03 PM, 16 Nov 2004 by Jade Rubick Permalink | Comments (0)

How to allow someone to join a mailing list

When people register on an OpenACS site, you can give them the option to join a mailing list:

Index: user-new.tcl
===================================================================
RCS file: /var/cvs/safe4all/packages/acs-subsite/lib/user-new.tcl,v
retrieving revision 1.1.1.2
diff -u -r1.1.1.2 user-new.tcl
--- user-new.tcl        22 Jun 2004 21:06:53 -0000      1.1.1.2
+++ user-new.tcl        5 Oct 2004 17:41:39 -0000
@@ -39,6 +39,20 @@

ad_form -name register -export {next_url user_id return_url} -form [auth::get_r
egistration_form_elements]

+# safe4all.org extention
+
+set checked_p [list checked ""]
+
+ad_form -extend -name register -form {
+    {join_announce_p:text(checkbox),optional
+        {label "Receive weekly news?"}
+        {help_text "You can opt out at any point, and we do not give out your email address."}
+        {options {{"" "on"}}}
+        {html $checked_p}
+    }
+}
+
+
if { [exists_and_not_null rel_group_id] } {
    ad_form -extend -name register -form {
        {rel_group_id:integer(hidden),optional}
@@ -81,6 +95,21 @@
                                      -secret_question $secret_question \
                                      -secret_answer $secret_answer]

+        # safe4all.org
+
+        if {[string equal $creation_info(creation_status) "ok"]} {
+            if {[string is true $join_announce_p]} {
+                ns_sendmail \
+                    "safe-announce-subscribe@mail.safe4all.org"; \
+                    $email \
+                    "join safe-announce mailing list" \
+                    "I would like to join the SAFE-announce mailing list. Infor\
mation on subscribing and unsubscribing are available at http://www.safe4all.or\
g/forums/forum-view?forum%5fid=13394"
+
+            }
+        }
+
        if { [string equal $creation_info(creation_status) "ok"] && [exists_and
_not_null rel_group_id] } {
            group::add_member \
                -group_id $rel_group_id \

12:01 PM, 16 Nov 2004 by Jade Rubick Permalink | Comments (0)

Use X11 from Apple's Terminal app

This is the coolest tip I've heard in a while. I didn't even realize it was possible...

In your /etc/profile:

# System-wide .profile for sh(1)

# added to allow X11 applications to run
if [[ -z $DISPLAY ]]
then
export DISPLAY=:0.0
fi

PATH="/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin"
export PATH

[ -r /etc/bashrc ] && source /etc/bashrc

Open up X11, and now you can use X11 apps from the terminal. Nice!

You can set up X11 to boot on startup, in the background, and now you have seamless X11 / Terminal use.

12:12 PM, 12 Nov 2004 by Jade Rubick Permalink | Comments (1)

The Media Can Legally Lie [www.relfe.com]

Interesting article on Fox News.

03:54 PM, 11 Nov 2004 by Jade Rubick Permalink | Comments (1)

.

03:23 PM, 10 Nov 2004 by Jade Rubick Permalink | Comments (0)

Google for source code [www.koders.com]

Very interesting

01:30 PM, 10 Nov 2004 by Jade Rubick Permalink | Comments (0)

Sorry Everybody [sorryeverybody.com]

Our apology to the rest of the world..

12:14 PM, 10 Nov 2004 by Jade Rubick Permalink | Comments (0)

My skype id is jadeforrest.

06:58 PM, 09 Nov 2004 by Jade Rubick Permalink | Comments (0)

I've updated this document. It works.

06:54 PM, 04 Nov 2004 by Jade Rubick Permalink | Comments (0)

Interesting article on why Libya's 'renouncing terrorism' was not really that at all.

06:45 PM, 01 Nov 2004 by Jade Rubick Permalink | Comments (0)

Problems with hostname on OpenACS site?

[15:10] > what could I have done in my config.tcl file?
[15:10]  *csari* change this line: set hostname                  [ns_info hostname]
[15:10]  *csari* to 'set hostname www.usbakery.com'
[15:10] > ahhh, that makes sense!

05:58 PM, 01 Nov 2004 by Jade Rubick Permalink | Comments (0)

Pristine tree errors.

I just changed IP addresses/host names, and I think that's leading to signature problems on my archive?

usb-staging@usbakery:~/usb-staging$ tla changes --diffs
* looking for jader-usbstaging@bread.com--2004/openacs--usb-staging--1.0--patch-12 to compare with
corrupt pristine (failed inode signature validation)
archive: jader-usbstaging@bread.com--2004
revision: openacs--usb-staging--1.0--patch-12
directory /home/usb-staging/usb-staging/{arch}/++pristine-trees/unlocked/openacs/openacs--usb-staging/openacs--usb-staging--1.0/jader-usbstaging@bread.com--2004/openacs--usb-staging--1.0--patch-12
You should remove this pristine from your tree.


The solution, according to johill on #arch, is to delete the {arch}/++pristine-trees directory, and then 'configure a revision library'.

I'm figuring out how to do the latter right now.

02:56 PM, 01 Nov 2004 by Jade Rubick Permalink | Comments (1)

XML