<?xml version='1.0' encoding='UTF-8'?><rss xmlns:atom='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' version='2.0'><channel><atom:id>tag:blogger.com,1999:blog-7735817</atom:id><lastBuildDate>Sat, 05 Jul 2008 12:16:47 +0000</lastBuildDate><title>ray's big blog</title><description/><link>http://stoneharbor.kicks-ass.org:8080/~cathcart/blog/blogger.html</link><managingEditor>noreply@blogger.com (Ray)</managingEditor><generator>Blogger</generator><openSearch:totalResults>19</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-7735817.post-5659351835185342340</guid><pubDate>Wed, 02 Jul 2008 16:01:00 +0000</pubDate><atom:updated>2008-07-05T08:16:47.457-04:00</atom:updated><title>Start Apple's X11 App on Alternate Port</title><description>First post in a looooong time, look at that!&lt;br /&gt;&lt;br /&gt;Learned something today that I don't want to forget. For whatever reason, I can't get through on port 6000 over my office's new VPN. This was putting quite a crimp on my work-from-home flow, since 6000 is the default port of X11. There are a few ways around this, AFAIK:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Tunnel X11 through ssh&lt;/li&gt;&lt;li&gt;Change from the default port of 6000&lt;/li&gt;&lt;/ul&gt;I started down the ssh path. Unfortunately, I don't have access to root on the Sun servers at work (go figure!), and so naturally AllowX11Forwarding is set to NO in the sshd config files. Eventually I could have made this work, but it would require me to set up the tunnels by hand and blah blah blah. A little bit of time spent on it was a bit confusing and frustrating and not for me.&lt;br /&gt;&lt;br /&gt;So then I thought, hey, why not just run the Apple X11 client at home on an open port? 6100 is open... so just use an offset (screen number) of 100, right? Only there is no preference for the port in Apple's app (at least not in MacOS 10.4). Fortunately, you can kick off X11.app from the command line like this:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&gt; /Applications/Utilities/X11.app/Contents/MacOS/X11 &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;(adjusted for your path, of course)&lt;br /&gt;&lt;br /&gt;And all you need to do is throw a display number (offset) of 100 in there:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&gt; /Applications/Utilities/X11.app/Contents/MacOS/X11 :100&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;And since I like the terminal to be available, I background the whole thing:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&gt; /Applications/Utilities/X11.app/Contents/MacOS/X11 :100 &amp;amp;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Tada! X11 on port 6100!&lt;br /&gt;&lt;br /&gt;Of course, when you login to the server, you have to set the DISPLAY variable to the IP address of your home computer and the correct port - like so (assuming tcsh shell):&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&gt; setenv DISPLAY 123.45.67.89:100.0&lt;/span&gt;</description><link>http://stoneharbor.kicks-ass.org:8080/~cathcart/blog/2008/07/start-apples-x11-app-on-alternate-port.html</link><author>noreply@blogger.com (Ray)</author></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-7735817.post-1453103703813179507</guid><pubDate>Sat, 27 Oct 2007 13:52:00 +0000</pubDate><atom:updated>2007-10-27T09:52:16.304-04:00</atom:updated><title>DSC01988.JPG</title><description>&lt;div style="float: right; margin-left: 10px; margin-bottom: 10px;"&gt; &lt;a href="http://www.flickr.com/photos/ray_cathcart/1116279315/" title="photo sharing"&gt;&lt;img src="http://farm2.static.flickr.com/1406/1116279315_3fcc4426cf_m.jpg" alt="" style="border: solid 2px #000000;" /&gt;&lt;/a&gt; &lt;br /&gt; &lt;span style="font-size: 0.9em; margin-top: 0px;"&gt;  &lt;a href="http://www.flickr.com/photos/ray_cathcart/1116279315/"&gt;DSC01988.JPG&lt;/a&gt;  &lt;br /&gt;  Originally uploaded by &lt;a href="http://www.flickr.com/people/ray_cathcart/"&gt;Ray Cathcart&lt;/a&gt; &lt;/span&gt;&lt;/div&gt;I'm just testing the Flickr blog function&lt;br clear="all" /&gt;</description><link>http://stoneharbor.kicks-ass.org:8080/~cathcart/blog/2007/10/dsc01988jpg.html</link><author>noreply@blogger.com (Ray)</author></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-7735817.post-114937401175434747</guid><pubDate>Sat, 03 Jun 2006 21:52:00 +0000</pubDate><atom:updated>2006-06-03T18:33:31.786-04:00</atom:updated><title>Dvorak Keyboard</title><description>I use the &lt;span&gt;&lt;a href="http://www.mwbrooks.com/dvorak/index.html"&gt;Dvorak&lt;/a&gt;&lt;/span&gt; keyboard layout on my computer. Most people agree that I am a pretty weird bird, but that is not actually why I started using &lt;span&gt;Dvorak&lt;/span&gt;. The actual reason is this: I never learned to touch-type. I went through the first 28 years of my life typing hunt-and-peck style, and I actually got pretty good - something like 28 words per minute (WPM) if I am transcribing something, faster if I don't have to constantly look away from the keyboard. Many times, I tried to force myself to learn to touch-type, and many times I reverted to looking at the keys. I decided that what I should do is put little stickers over the keys so that there was no way that I could cheat.&lt;br /&gt;&lt;br /&gt;This seemed like a pretty big inconvenience to my wife, however (and to whomever wanted to log in to my PC at work). As I browsed the web, I came across the &lt;span&gt;Dvorak&lt;/span&gt; layout. I read that it was &lt;span&gt;pre&lt;/span&gt;-installed on all Mac, Windows, and Linux machines... This allowed me to switch between both keyboards, minimizing the &lt;span&gt;inconvenience&lt;/span&gt; of others. All my wife has to do is click on the little &lt;span&gt;DV&lt;/span&gt; on the &lt;span&gt;menu bar&lt;/span&gt; and change it to the little icon of the American flag.&lt;br /&gt;&lt;br /&gt;So my touch typing? I'm not that great, since I don't actually type all that much, but my speed with the &lt;span&gt;Dvorak&lt;/span&gt; layout is now about 45-50 WPM. That's fast enough to make me happy - and now I can transcribe stuff. My next goal is to teach myself to touch-type on the standard &lt;span&gt;QWERTY&lt;/span&gt; layout, but with the new kid that's not likely to happen.</description><link>http://stoneharbor.kicks-ass.org:8080/~cathcart/blog/2006/06/dvorak-keyboard.html</link><author>noreply@blogger.com (Ray)</author></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-7735817.post-114900394359538244</guid><pubDate>Tue, 30 May 2006 15:26:00 +0000</pubDate><atom:updated>2006-05-30T11:45:43.640-04:00</atom:updated><title>Fixing FlashGot for Mac cURL Use</title><description>&lt;a href="http://www.flashgot.net/"&gt;FlashGot&lt;/a&gt; is a neat extension for Mozilla, Seamonkey, Firefox, etc. that gives you a lot of help downloading large numbers of links. I downloaded the FlashGot plugin for Seamonkey to make my allofmp3.com experience smoother, and was disappointed to find out that it does not support the Mac's built-in version of cURL as a download manager. Don't get me wrong, cURL is not a download manager - but all I really wanted was the whole list of mp3s that I purchased to download with one click instead of clicking on each one independently.&lt;br /&gt;&lt;br /&gt;So I fixed it. The "fix" is a bit of a hack, but it works now.&lt;br /&gt;&lt;br /&gt;Simply open up this file in your favorite text editor:&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;/Applications/SeaMonkey.app/Contents/MacOS/components/flashgotService.js&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Note that flashgotService.js may also be in your Mozilla profile instead, but I chose to install it in my application instead.&lt;br /&gt;&lt;br /&gt;Find the line that says:&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;var job="[ -x \"`which 'xterm'`\" ] &amp;&amp;amp;  CURL_CMD='xterm -e curl' || CURL_CMD='curl'\n";&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;and change it to:&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;var job="CURL_CMD='curl'\n";&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The problem is that FlashGot was trying to open cURL in an X11 window, which isn't going to work on a Mac unless you have X11 running all of the time and also have the environment set up properly.&lt;br /&gt;&lt;br /&gt;You will not get any kind of feedback once you choose something to download. I check to see if something is still running by opening up a terminal window and typing:&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;ps auxww | grep -i curl&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Which will dump out any curl processes currently running.</description><link>http://stoneharbor.kicks-ass.org:8080/~cathcart/blog/2006/05/fixing-flashgot-for-mac-curl-use.html</link><author>noreply@blogger.com (Ray)</author></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-7735817.post-114221148925013081</guid><pubDate>Mon, 13 Mar 2006 00:57:00 +0000</pubDate><atom:updated>2006-03-12T19:58:09.250-05:00</atom:updated><title>Blogger Dashboard Widget</title><description>Google makes a new widget for Dashboard that lets you create a quick post right from the Dashboard on Mac X. I just needed to test it :) Says that it supports &lt;span style=""&gt;&lt;span style="font-weight: bold;"&gt;bold&lt;/span&gt; and &lt;/span&gt;&lt;span style=""&gt;&lt;span style="font-style: italic;"&gt;italics.&lt;/span&gt; Yup, seems to.&lt;/span&gt;</description><link>http://stoneharbor.kicks-ass.org:8080/~cathcart/blog/2006/03/blogger-dashboard-widget.html</link><author>noreply@blogger.com (Ray)</author></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-7735817.post-112896068443566770</guid><pubDate>Mon, 10 Oct 2005 15:13:00 +0000</pubDate><atom:updated>2005-10-16T23:32:43.846-04:00</atom:updated><title>pandora.com</title><description>&lt;a href="http://pandora.com/"&gt;Pandora.com&lt;/a&gt; is a very cool idea. It lets you build your own radio station, using a TiVo-style thumbs-up, thumbs-down controller for each song. Where it differs from, say, &lt;a href="http://last.fm/"&gt;last.fm&lt;/a&gt;, is that it doesn't use other users or sales as the basis for similar music. Instead, they use a cadre of professional musicians who describe each song. It uses these descriptions to come up with a play list. It is fascinating and frustrating at the same time.&lt;br /&gt;&lt;br /&gt;Fascinating because:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;It really does learn fast. Within 5-6 songs it starts to play stuff that doesn't offend your ears. By the time you get to number 8 it feels like it might be reading your mind, giving you stuff that you really like.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;It plays non-RIAA (independent) labels mixed in with the regular RIAA artists that you are accustomed to. This is great because you will hear stuff that you probably wouldn't hear unless you listen to college radio or actively seek out independent music on the internet.&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;Frustrating because:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;As with all things regarding intellectual property, there are ludicrous limits on what their licensing allows them to do. For instance, you can only rank songs as "thumbs-up", or "thumbs-down", but sometimes you have a song that doesn't really deserve the "thumbs-down" (which banishes it from your playlist forever), so you just want to skip it. You can only do this so many times per hour. Yes, really. What is worse, after you hit this limit, the "thumbs-down" button no longer skips the song! Apparently the record companies think that it is more advantageous for them if you are forced to listen to stuff you don't actually want to hear. Huh? Wouldn't they want me to move along and find a track that I love enough to run out and buy? Whatever, the music industry doesn't seem to be run by the smartest of people.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;They have a limited selection of music, it seems. I keep hearing the same songs again and again even though I haven't given them the "thumbs-up". This is distressing because I really don't dislike the songs but I'm going to have to thumbs-down them pretty soon so that they stop coming up! But won't that screw up their matching system? I guess I'll find out...&lt;br /&gt;&lt;/li&gt;&lt;li&gt;My playlists ("radio stations") are starting to sound the same. I mean, this makes sense on one level: I'm training the thing to know what I like, so you'd expect some convergence. On another level, though, my "seeds" are very, very different. Still, I'm afraid that all I'll have on here after it's "tuned" is Smashing Pumpkins and the Pixies - albums that I already have. I went out and purchased or downloaded the other songs that I had given the ol' thumbs-up, so I don't really need them in heavy rotation either. Maybe if they had a "I've Bought It" checkbox that would put songs in a lighter rotation...&lt;br /&gt;&lt;/li&gt;&lt;li&gt;They need a "clear rating" button. Sometimes you make a song thumbs-up and then later regret it. Right now I can't find a way to un-thumbs-up a song. Similarly, the same kind of thing could happen with thumbs-down - though it hasn't happened to me yet.&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;Now if there were a way to get this into your car/walkman... it would be cool to have an iPod Shuffle-like device with only 4 buttons on it: play, thumbs-up, thumbs-down, and skip.&lt;br /&gt;&lt;br /&gt;So far, I've signed up for the 3 months for $12 deal. My wife and I are both hooked on it right now, but I could see the novelty wearing off. In fact, I think Abby might already be done with it.&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;update 11-Oct-2005:&lt;/span&gt;&lt;br /&gt;Some more interesting observations:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;You can get around the whole "you have skipped too many songs" issue by simply changing to another station. The counter is reset for the station that you go to, and by the time you have exceeded the limit for this new station, you can switch back to the original station and keep skipping. Lather. Rinse. Repeat.&lt;li&gt;Seeding an independent artist (non-RIAA) seems to provide entirely different behavior than seeding an RIAA artist. Could this be a difference in licensing? When I used the Pixies or the Raveonettes as my seed, I hardly ever heard another song by the Pixies or the Raveonettes. The same thing happened when we seeded with Shakira, Nelly, Tyrese, Elton John, and the Bee Gees for my wife - hardly any songs by the artist we seed with. Enter Mirah. I seed with Mirah (from the K Records label, which is independent) and I get a torrent of other Mirah songs. Well, maybe not a torrent, but approximately 1 out of every 6 songs. Interesting...&lt;/ul&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;update 16-Oct-2005:&lt;/span&gt;&lt;br /&gt;Saving the Streams!&lt;p&gt;Yes, I've figured out how to save the streamed music! Turns out that the music is just regular old mp3s that are loaded onto your hard drive. On my Mac using Safari, the path is in /private/tmp, which is the standard temporary directory. Safari throws each downloaded song in there with a filename beginning with  "WebKitPlugInStream". Some of these files are just small files containing song info, and others are much larger and contain the mp3. All you have to do is take the big files, make a copy of them, and add ".mp3" to the end. Ta-da! Now you have an mp3 file that you can open in iTunes, or whatever.&lt;p&gt;It seems like the Pandora player always queues one song ahead, so if you want to keep the currently playing song, just use the 2nd most recent big file. The most recent file will play next.&lt;p&gt;Obviously, this arrangement will be different if you are using Firefox, but I imagine it will be pretty much the same thing - only the file names and the location will be different. I wonder how long this will last before they get wise? Someone could easily write a GUI app that would do this automatically.</description><link>http://stoneharbor.kicks-ass.org:8080/~cathcart/blog/2005/10/pandoracom.html</link><author>noreply@blogger.com (Ray)</author></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-7735817.post-112273484291006081</guid><pubDate>Sat, 30 Jul 2005 14:47:00 +0000</pubDate><atom:updated>2005-07-30T10:47:22.956-04:00</atom:updated><title>Open up that firewall</title><description>Here's a "trick" from a unix novice. There is probably a better way to do this, but...&lt;br&gt; &lt;br&gt; I have &lt;a href="http://gift.sourceforge.net/"&gt;giFT&lt;/a&gt; (&lt;a  href="http://gottsilla.net/"&gt;Poisoned&lt;/a&gt; is a front-end to giFT, so this will also work with Poisoned) running on my Mac, and it opens several different ports to listen. I wanted to make sure I had all of the ports opened up on the firewall, so first I fired up the terminal and typed:&lt;br&gt; &lt;br&gt; &lt;tt&gt;netstat -an | grep LISTEN &amp;gt; before.txt&lt;/tt&gt;&lt;br&gt; &lt;br&gt; This dumps a list of all the ports that are currently listening (waiting for a connection) to the file called "before".&lt;br&gt; &lt;br&gt; Now I start giFT: &lt;br&gt; &lt;br&gt; &lt;tt&gt;giftd -d&lt;/tt&gt;&lt;br&gt; &lt;br&gt; Next I repeat the command that I used above, to see what new ports giFT has opened:&lt;br&gt; &lt;br&gt; &lt;tt&gt;netstat -an | grep LISTEN &amp;gt; after.txt&lt;/tt&gt;&lt;br&gt; &lt;br&gt; You can either open both of these files and compare them manually, or use the diff utility:&lt;br&gt; &lt;br&gt; &lt;tt&gt;diff before.txt after.txt&lt;/tt&gt;&lt;br&gt; &lt;br&gt; In my case (because I'm anal), I then went through and made sure that each of the ports was something that I actually wanted exposed to the internet - in this case there was one port (1213) that giFT uses for the GUI, so I chose to keep that closed. All of the others I opened up on the firewall.&lt;br&gt; &lt;br&gt; This will work with any application - I'm just using giFT as an example.&lt;br&gt; &lt;br&gt;</description><link>http://stoneharbor.kicks-ass.org:8080/~cathcart/blog/2005/07/open-up-that-firewall.html</link><author>noreply@blogger.com (Ray)</author></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-7735817.post-112264321333475421</guid><pubDate>Fri, 29 Jul 2005 13:20:00 +0000</pubDate><atom:updated>2005-07-29T09:20:13.373-04:00</atom:updated><title>Compiling Glitter on Mac OS X</title><description>&lt;a href="http://www.mews.org.uk/glitter/index.html"&gt;Glitter&lt;/a&gt; is a usenet (newsgroups, NNTP, etc.) binary downloader. It seems to be just a front-end to &lt;a href="http://yukidoke.org/%7Emako/projects/aub/"&gt;aub&lt;/a&gt; and cron. I'm not really sure if it is what I am looking for.&lt;br&gt; &lt;br&gt; Anyway, it wouldn't initially compile on Mac OS X. Here is the error:&lt;br&gt; &lt;br&gt; &lt;tt&gt;nntp.c: In function `open_socket':&lt;br&gt; nntp.c:33: error: storage size of `servaddr' isn't known&lt;br&gt; nntp.c:60: error: invalid application of `sizeof' to an incomplete type&lt;br&gt; nntp.c:33: warning: unused variable `servaddr'&lt;br&gt; make[3]: *** [nntp.o] Error 1&lt;br&gt; make[2]: *** [all-recursive] Error 1&lt;br&gt; make[1]: *** [all-recursive] Error 1&lt;br&gt; make: *** [all-recursive-am] Error 2&lt;/tt&gt;&lt;br&gt; &lt;br&gt; And the very simple fix is to look in nntp.c for the line that says:&lt;br&gt; &lt;br&gt; &lt;tt&gt; #include &amp;lt;arpa/inet.h&amp;gt; &lt;/tt&gt;&lt;br&gt; &lt;br&gt; and add: &lt;br&gt; &lt;br&gt; &lt;tt&gt;#include &amp;lt;tcpd.h&amp;gt;&lt;/tt&gt;&lt;br&gt; &lt;br&gt; I found a &lt;a href="http://www.lemurproject.org/phorum/read.php?11,840"&gt;similar hint here&lt;/a&gt;.&lt;br&gt; &lt;br&gt; Incidentally, what I &lt;b&gt;am&lt;/b&gt; looking for is a newsreader that will not choke too badly on the thousands of posts that typically make up a binary news group. Ideally, it would recognize the common naming conventions used on usenet and thread everything for me - not just the typical thread-by-subject view. I don't even care if it will do the downloads for me... that is what I have &lt;a  href="http://nget.sourceforge.net/"&gt;nget&lt;/a&gt; for, and it is available through &lt;a href="http://fink.sourceforge.net/"&gt;fink&lt;/a&gt;.&lt;br&gt;</description><link>http://stoneharbor.kicks-ass.org:8080/~cathcart/blog/2005/07/compiling-glitter-on-mac-os-x.html</link><author>noreply@blogger.com (Ray)</author></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-7735817.post-111754064108088607</guid><pubDate>Tue, 31 May 2005 11:25:00 +0000</pubDate><atom:updated>2005-08-23T15:31:09.876-04:00</atom:updated><title>Stock tip spam?</title><description>So the nature of my spam has taken a turn as of late. It used to all sell something. That made it easy to find out who the culprit was and send their ISP a report. About 2 months ago, the nature of my spam started to gently drift over to being predominantly "stock tips". This got me wondering: are these tips worthy of following? Even if they are complete B.S., is the spammer going to generate enough volume that the stock might actually go up?&lt;br /&gt;&lt;br /&gt;So I looked into it. The first decent "tip" that I got was for CSYT. This was back in January, and the email claimed that the 6th and 7th had shown a huge increase with lots of volume. Sure enough, a quick check with your favorite stock quote tool will show a huge spike in price and volume on the 6th and 7th. The email came out on Sunday the 9th with a promise of big things Monday. Sure enough, big things happened on Monday. Trading volume was again more than 10x average, and the stock tanked. So much for my simple "pump-and-dump" theory. I would have expected the dump to come Monday, but maybe I'm just ignorant.&lt;br /&gt;&lt;br /&gt;Let's look at another. VCSC. This one was sent January 18. It promises a 3-fold increase in price over 5 days, and a 4-fold increase in 15 days. To the charts... There is clearly the "dump" volume on the 20th, but the price climb that occurred was weeks earlier. These guys are more sophisticated than I was giving them credit for.&lt;br /&gt;&lt;br /&gt;Clearly, they are "pumping" the stock through other means. Spam is just one of their outlets. My conclusion is that there is now way to "piggyback" on their pump-and-dump through the use of their spams.&lt;br /&gt;&lt;br /&gt;I'm going to have to look into this further.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;update 23-August-2005:&lt;/span&gt;&lt;br /&gt;Here's an interesting article that sheds some light on what was going on - though I still don't understand why I was getting emails AFTER the dump had happened... &lt;a href="http://www.junkfax.org/fax/profiles/wsp/wsp.htm"&gt;Anatomy of a stock fraud&lt;/a&gt;</description><link>http://stoneharbor.kicks-ass.org:8080/~cathcart/blog/2005/05/stock-tip-spam.html</link><author>noreply@blogger.com (Ray)</author></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-7735817.post-109443529100478449</guid><pubDate>Mon, 06 Sep 2004 01:48:00 +0000</pubDate><atom:updated>2005-03-03T22:04:58.653-05:00</atom:updated><title>middle button in mozilla!</title><description>As a result of the tinkering I did with building Mozilla, I got the middle mouse button support working in MacOS X. I found a bug that someone had entered in Bugzilla, and I patched Mozilla 1.7.2 and rebuilt it. In addition to having middle mouse button support, the speed seems improved to me. I think that is because I compiled it without any of the debug options, and the executable is only like 12MB, whereas it was 40MB before. Maybe I messed something up, but it seems to be working fine for me. &lt;a href="http://stoneharbor.kicks-ass.org:8080/%7Ecathcart/mozilla-mac-1.7.3-plus-middle-mouse-button.dmg.gz"&gt;You can download Mozilla for Mac with middle mouse button support by clicking on this link.&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;For those of you that don't know, the middle button in Mozilla lets you open a link in a new tab, and then clicking on a tab with the middle button will close the tab. VERY nice feature.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;update 06-Sept-2004:&lt;/span&gt;&lt;br /&gt;I found out that I didn't compile it with security features enabled. So, in addition to the &lt;a href="http://www.mozilla.org/build/mac.html"&gt;instructions found here&lt;/a&gt;, I added the following to my .mozconfig file:&lt;br /&gt;&lt;pre&gt;ac_add_options --enable-crypto&lt;br /&gt;&lt;/pre&gt;I got that additional tidbit from &lt;a href="http://www.mozilla.org/projects/security/pki/psm/buildpsm.html"&gt;this link&lt;/a&gt;. The file linked in the original post is now correct and links to the version with security enabled.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;update 07-Sept-2004:&lt;/span&gt;&lt;br /&gt;Now I've really got something. I added a flag to the .mozconfig file that really speeds things up on my dual G5.&lt;br /&gt;&lt;br /&gt;Change this line:&lt;br /&gt;&lt;pre&gt;mk_add_options MOZ_MAKE_FLAGS=-j4   # use parallel make&lt;br /&gt;&lt;/pre&gt;to this:&lt;br /&gt;&lt;pre&gt;mk_add_options MOZ_MAKE_FLAGS=-j4 CFLAGS=-fast   # use parallel make&lt;br /&gt;&lt;/pre&gt;If you never had that line (because you only have one processor), then just add this to the file:&lt;br /&gt;&lt;pre&gt;mk_add_options CFLAGS=-fast&lt;br /&gt;&lt;/pre&gt;That line turns on the "-fast" flag in Apple's GCC compiler, and it makes Mozilla FLY. There is absolutely no delay doing anything, even switching between a browser and an email window. Instant. Very nice. Of course, this is all on a dual G5. I'm not posting the binary because it will probably only work on a G5 machine - but just leave me a comment if you want me to post the binary.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;update 16-Sept-2004:&lt;/span&gt;&lt;br /&gt;Whoops! Turns out that the reason my Mozilla was so much smaller than the official distribution is that it was only half baked! I didn't run the final command that puts everything together, so unless you happened to run the binary on my machine, it wouldn't work. There are security updates anyway, so I compiled a new version - 1.7.3 with the middle mouse button support for MacOS X 10.3. I corrected the above link to the binary.&lt;br /&gt;&lt;br /&gt;The command that I forgot to run is:&lt;pre&gt;make -C xpinstall/packager&lt;/pre&gt;Which puts everything into the Mac app bundle. I got that info from &lt;a href="http://www.mozilla.org/build/distribution.html"&gt;this mozilla page about building a distribution&lt;/a&gt;. The app bundle ends up in "dist/mozilla/". Whatever, now the download is much larger!&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;update 03-March-2005:&lt;/span&gt;&lt;br /&gt;All of this is officially an academic exercise... the patch is now included in the Mozilla trunk! This means you will get middle mouse button support in Mozilla 1.8 Suite or FireFox 1.1.</description><link>http://stoneharbor.kicks-ass.org:8080/~cathcart/blog/2004/09/middle-button-in-mozilla.html</link><author>noreply@blogger.com (Ray)</author></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-7735817.post-109424983866329898</guid><pubDate>Fri, 03 Sep 2004 22:17:00 +0000</pubDate><atom:updated>2004-09-03T18:17:18.663-04:00</atom:updated><title>got my memory</title><description>WOW! What a difference. I thought this machine was fast before, but now &lt;br /&gt;I'm just floored. I can't believe how much the extra gig of RAM helped. &lt;br /&gt;Mozilla now does its thing much faster. Applications only bounce once or &lt;br /&gt;twice. The amount of swapping to Virtual Memory is not even really &lt;br /&gt;detectable - even while compiling Mozilla.&lt;br /&gt;&lt;br /&gt;I decided to compile Mozilla myself, since even in my machine's newly &lt;br /&gt;hopped-up state Mozilla still is not a performer. What kind of fantastic &lt;br /&gt;hardware must the developers be using??? Hard to believe that they don't &lt;br /&gt;notice it's lackluster performance considering it's just a web browser &lt;br /&gt;and email checker. Anyway, my hunch is that it will rocket once I &lt;br /&gt;compile it for my G5 without any debug stuff turned on. I tried to &lt;br /&gt;compile this morning prior to installing the RAM, but it brought the &lt;br /&gt;machine to its knees... now with the RAM installed it is flying along &lt;br /&gt;merrily.&lt;br /&gt;</description><link>http://stoneharbor.kicks-ass.org:8080/~cathcart/blog/2004/09/got-my-memory.html</link><author>noreply@blogger.com (Ray)</author></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-7735817.post-109417293363163733</guid><pubDate>Fri, 03 Sep 2004 00:55:00 +0000</pubDate><atom:updated>2004-09-02T20:55:33.630-04:00</atom:updated><title>new computer</title><description> &lt;head&gt;   &lt;meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"&gt;   &lt;title&gt;&lt;/title&gt; &lt;/head&gt; &lt;body bgcolor="#ffffff" text="#000000"&gt; My nearly 6-year-old G3 Mac finally up and died. It was an old 350MHz, so I wasn't exactly sad to see it go, per se, but I was hoping to get another couple of months out of it. Anyway...&lt;br&gt; &lt;br&gt; Got me one of them new-fangled dual G5 PowerMacs... went with the low-end 1.8GHz, since that's the only one not priced into the stratosphere. Since my other Mac was dead, I couldn't do the normal transfer from one Mac to the other thing. Instead, I had to move the hard drive over. Unfortunately, the old Mac used the old EIDE connectors and the new Mac uses serial ATA. So I took out the optical drive, stuck the old hard drive in there, and then used Carbon Copy Cloner to make a clone of the old drive. Not only did that work, but I was then able to boot the new machine off of the cloned hard drive. Allah bless Macintoshes, man - all my settings, files, etc. just got ported over. The only two burps were that I had to point iTunes at my music directory and I had to show Quicken where the data file was.&lt;br&gt; &lt;br&gt; Anyway, this new machine is FAST. I love it. It really needs more memory though - it only shipped with 256MB, and you can feel it swapping out to disk constantly. No worries, some sweet Micron memory coming tomorrow from &lt;a href="http://www.crucial.com/"&gt;crucial.com&lt;/a&gt;. By the way, Crucial is the only place I buy memory. I work for a semiconductor company and I've been in a lot of RAM factories, and Micron (the parent company of Crucial) has the cleanest, nicest factories I've seen - and they are in Idaho of all places! To be fair, I haven't seen the inside of many Japanese factories, so they might also make nice RAM.&lt;br&gt; &lt;/body&gt; </description><link>http://stoneharbor.kicks-ass.org:8080/~cathcart/blog/2004/09/new-computer.html</link><author>noreply@blogger.com (Ray)</author></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-7735817.post-109228296413119279</guid><pubDate>Thu, 12 Aug 2004 03:56:00 +0000</pubDate><atom:updated>2004-08-11T23:56:04.130-04:00</atom:updated><title>mouse in the house</title><description>Well, now I've caught two mice in the apartment. The first was a long &lt;br /&gt;time coming - it took us a month of mouse hunting, but he got caught &lt;br /&gt;eating peanut butter in a good ol' fashioned spring trap. At least with &lt;br /&gt;those traps there is no question what to do with the mouse - you can &lt;br /&gt;really only throw it away.&lt;br /&gt;&lt;br /&gt;Tonight, however, a mouse wandered into one of our dreadful glue traps. &lt;br /&gt;They are dreadful for both the catcher and the catchee. I don't know &lt;br /&gt;that there is any humane thing to do with a glued rodent. You could just &lt;br /&gt;throw it in the trash alive like the package says, or you can take the &lt;br /&gt;"humane" route and lube the little guy up with vegetable oil to release &lt;br /&gt;him from the glue. But the idea of a mouse starving slowly to death &lt;br /&gt;doesn't appeal to my humanity, and I'm not running a catch-and-release &lt;br /&gt;program here. So what else? You could whack the little dude with &lt;br /&gt;something and hope that a quick end is met. Or - aha! - you could choose &lt;br /&gt;the path less traveled: drowning. I read somewhere that drowning is &lt;br /&gt;considered a suitable humane end for pest cats, so what is good enough &lt;br /&gt;for Tom must be good enough with Jerry, right? Well, that's the path I &lt;br /&gt;took with the little victim of the glue trap - a quick dunk in the toilet.&lt;br /&gt;&lt;br /&gt;I'd say he was not happy with my decision. He blew a bunch of bubbles, &lt;br /&gt;kicked around. Then stopped after maybe 20 seconds. I thought it was &lt;br /&gt;over. But alas, he had another little 10 second flame out before his &lt;br /&gt;back got these weird bumps in it - first one, then two. I think it was &lt;br /&gt;all over in about a minute. Poor little guy. I'll consider this whole &lt;br /&gt;episode a success if I don't dream about it tonight.&lt;br /&gt;&lt;br /&gt;The lesson? Don't drown.&lt;br /&gt;</description><link>http://stoneharbor.kicks-ass.org:8080/~cathcart/blog/2004/08/mouse-in-house.html</link><author>noreply@blogger.com (Ray)</author></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-7735817.post-109120976194735733</guid><pubDate>Fri, 30 Jul 2004 17:49:00 +0000</pubDate><atom:updated>2004-07-30T13:49:21.946-04:00</atom:updated><title>fraud on ebay</title><description> &lt;head&gt;   &lt;meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"&gt;   &lt;title&gt;&lt;/title&gt; &lt;/head&gt; &lt;body bgcolor="#ffffff" text="#000000"&gt; I'm a pretty light eBay user. Recently I bid on something that seems to have attracted a lot of fraud. Beware of any emails you get from Yahoo accounts after bidding on an item on eBay. I got mails from the following accounts:&lt;br&gt; &lt;ul&gt;   &lt;li&gt;&lt;a class="moz-txt-link-abbreviated" href="mailto:mss_sophie_44@yahoo.co.uk"&gt;mss_sophie_44@yahoo.co.uk&lt;/a&gt; (mss sophie)&lt;/li&gt;   &lt;li&gt;&lt;a class="moz-txt-link-abbreviated" href="mailto:wtwdint@yahoo.com"&gt;wtwdint@yahoo.com&lt;/a&gt; (wtwdint wtwdint)&lt;/li&gt;   &lt;li&gt;&lt;a class="moz-txt-link-abbreviated" href="mailto:muistisecolului@yahoo.com"&gt;muistisecolului@yahoo.com&lt;/a&gt; (K A)&lt;/li&gt;   &lt;li&gt;&lt;a class="moz-txt-link-abbreviated" href="mailto:ebay_great_deals@yahoo.com"&gt;ebay_great_deals@yahoo.com&lt;/a&gt; (paul rafael sandu)&lt;/li&gt;   &lt;li&gt;&lt;a class="moz-txt-link-abbreviated" href="mailto:radu_ivanel@yahoo.it"&gt;radu_ivanel@yahoo.it&lt;/a&gt; (Radu Ivan)&lt;/li&gt;   &lt;li&gt;&lt;a class="moz-txt-link-abbreviated" href="mailto:michel_sell2000@yahoo.com"&gt;michel_sell2000@yahoo.com&lt;/a&gt; (ionut voican)&lt;/li&gt; &lt;/ul&gt; All the above emails had obvious signs of fraud:&lt;br&gt; &lt;ul&gt;   &lt;li&gt;A very low selling price (except for mss sophie)&lt;/li&gt;   &lt;li&gt;Offer of free shipping&lt;/li&gt;   &lt;li&gt;Insistence on the use of Western Union&lt;/li&gt; &lt;/ul&gt; In addition, the email from mss sophie was a pathetic attempt at a spoofed email from eBay. Aside from being a bad fake, it also had the Yahoo free email account advertisement at the bottom, so amazingly this fraudster is using Yahoo to mail OUT the solicitations!&lt;br&gt; &lt;br&gt; Anyway - be aware!&lt;br&gt; &lt;/body&gt; </description><link>http://stoneharbor.kicks-ass.org:8080/~cathcart/blog/2004/07/fraud-on-ebay.html</link><author>noreply@blogger.com (Ray)</author></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-7735817.post-109088438001273457</guid><pubDate>Mon, 26 Jul 2004 23:21:00 +0000</pubDate><atom:updated>2004-07-26T19:26:20.013-04:00</atom:updated><title>stupid ipod logic board</title><description>Well, I'm just about to give up. I bought a dead iPod on eBay hoping to fix it up. Apparently I got a bum logic board, or main board, or motherboard, or whatever the proper term is. At first I thought it was just a bad firewire port, but I soldered on a new one and the thing is still flaky. Just to screw with me, it hooked up to my computer the first time I tried it - but it has since reverted to it's old behavior of resetting whenever I touch the wheel and refusing to see my computer. Oh well, back to eBay to find a logic board!&lt;br /&gt; </description><link>http://stoneharbor.kicks-ass.org:8080/~cathcart/blog/2004/07/stupid-ipod-logic-board.html</link><author>noreply@blogger.com (Ray)</author></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-7735817.post-109084612279889752</guid><pubDate>Mon, 26 Jul 2004 12:48:00 +0000</pubDate><atom:updated>2004-07-26T08:48:42.796-04:00</atom:updated><title>more on flavored water</title><description> &lt;head&gt;   &lt;meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"&gt;   &lt;title&gt;&lt;/title&gt; &lt;/head&gt; &lt;body bgcolor="#ffffff" text="#000000"&gt; So far I've done two things:&lt;br&gt; &lt;ul&gt;   &lt;li&gt;I mixed up some water with extract of anise.&lt;/li&gt;   &lt;li&gt;I found some Torani Sugar-Free Raspberry syrup at the local coffee shop and put a tablespoon of that in with about a gallon of water.&lt;/li&gt; &lt;/ul&gt; &lt;br&gt; Personally I kind of like the anise flavor. It's like licorice. My wife isn't so into it, so I know anise isn't for everyone. A tiny little bit goes a very long way. Before that batch was finished, I filled the container back up and mixed in some of the Torani. Just a tablespoon or so. Man, it really brought out the anise flavor! I mean, there was half as much anise in the water as before, but now the anise is much stronger. I'm going to finish this whole gallon before I try the Torani again. I want to taste the Torani without the anise flavor.&lt;br&gt; &lt;/body&gt; </description><link>http://stoneharbor.kicks-ass.org:8080/~cathcart/blog/2004/07/more-on-flavored-water.html</link><author>noreply@blogger.com (Ray)</author></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-7735817.post-109072591849784106</guid><pubDate>Sun, 25 Jul 2004 03:25:00 +0000</pubDate><atom:updated>2004-07-24T23:25:18.496-04:00</atom:updated><title>robots?</title><description> &lt;head&gt;   &lt;meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"&gt;   &lt;title&gt;&lt;/title&gt; &lt;/head&gt; &lt;body bgcolor="#ffffff" text="#000000"&gt; So since I started this blog, I've noticed a lot of traffic on my site. Weird, since I usually only get family members.&lt;br&gt; &lt;br&gt; Most of them are asking for the "atom.xml" file, and then for some non-existent rss and typical blog files. These are clearly robots. Since we are not going out until midnight (for a showing of "Goonies", I shit you not), I started looking up who these people are. The &lt;a  href="http://www.robotstxt.org/wc/active/html/contact.html"&gt;Database of Web Robots&lt;/a&gt; helped me find out.&lt;br&gt; &lt;br&gt; Anyway, I'm turning on the agent and referrer logs in Apache to better help me find out what is up.&lt;br&gt; &lt;br&gt; &lt;/body&gt; </description><link>http://stoneharbor.kicks-ass.org:8080/~cathcart/blog/2004/07/robots.html</link><author>noreply@blogger.com (Ray)</author></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-7735817.post-109071879727853322</guid><pubDate>Sun, 25 Jul 2004 01:26:00 +0000</pubDate><atom:updated>2004-07-24T21:26:37.276-04:00</atom:updated><title>the quest for flavored water</title><description> &lt;head&gt;   &lt;meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"&gt;   &lt;title&gt;&lt;/title&gt; &lt;/head&gt; &lt;body bgcolor="#ffffff" text="#000000"&gt; So back when I started working full time in 1998, I somehow managed to put on over 40 pounds in about a year. It was amazing. I was a skinny kid, so it didn't really matter too much, except that now I was a 36 instead of a 32 so I had to buy all new clothes.&lt;br&gt; &lt;br&gt; I decided to sign up at the gym, and that knocked 10-15 lbs. off all by itself. At the time I reasoned that if I swam 3 times a week, I could eat all I wanted.&lt;br&gt; &lt;br&gt; Wrong. The weight stopped coming off. I must have been 205 lbs. for a year. I decided to give up the obvious junk. Switch to 100% whole wheat. Stop buying ice cream. My "Atkins light" approach then, over the course of the next two years, got me down to 200 lbs., which is pretty disappointing.&lt;br&gt; &lt;br&gt; Then something odd happened. We stopped buying juice and started buying (sugarless) flavored seltzer water. In addition, I stopped drinking regular soda and switched to diet soda and unsweetened tea. In a few short months, I dropped to 190 lbs.! Fantastic! All that orange juice was chocked full of 100% pure premium fresh squeezed Florida evil!&lt;br&gt; &lt;br&gt; One problem, though. I have acid reflux, and all that seltzer seems to be irritating my poor delicate esophagus. So, I figure if the flavored seltzer water was doing the trick, why not regular flavored water?&lt;br&gt; &lt;br&gt; Well, for one thing, it seems to be trendy. Trendy=expensive. So how hard can it be to make your own? I googled a little, and I found some leads. &lt;a href="http://www.flavors2go.com/"&gt;flavors2go.com&lt;/a&gt; has exactly what I'm looking for. Problem is, I'm having trouble finding anyone that has something good to say about them. Another suggestion I found was to use small amounts of &lt;a href="http://www.torani.com/"&gt;Torani syrup&lt;/a&gt;, which while sweetened, can be used in very small quantities. They also have a sugar-free version, which is what I think I'll try.&lt;br&gt; &lt;/body&gt; </description><link>http://stoneharbor.kicks-ass.org:8080/~cathcart/blog/2004/07/quest-for-flavored-water_24.html</link><author>noreply@blogger.com (Ray)</author></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-7735817.post-109071772144194424</guid><pubDate>Sun, 25 Jul 2004 01:08:00 +0000</pubDate><atom:updated>2004-07-24T21:08:41.440-04:00</atom:updated><title>why blog?</title><description>Why not? Every once in a while I find that I need some information that &lt;br /&gt;is not available from any other source. After hours of Googling, I &lt;br /&gt;usually end up finding some of the information on some mailing list or &lt;br /&gt;blog. When I find those hard-to-get-elsewhere pieces of info, I'll throw &lt;br /&gt;them up here.&lt;br /&gt;&lt;br /&gt;But mainly I was looking at my cousin's blog, and I just started fooling &lt;br /&gt;around with blogger.com. So here we are.&lt;br /&gt;</description><link>http://stoneharbor.kicks-ass.org:8080/~cathcart/blog/2004/07/why-blog.html</link><author>noreply@blogger.com (Ray)</author></item></channel></rss>