RandomSequence

  • Subscribe to our RSS feed.
  • Twitter
  • StumbleUpon
  • Reddit
  • Facebook
  • Digg

Saturday, January 3, 2009

PG2 on Vista

Posted on 1:17 PM by Unknown
I had a bugger of a time getting PeerGuardian2 to work under Vista. SO, I figured I'd document my solution for others so they don't have to experience what I experienced. The biggest problem is that there are like twenty-thousand people out there that THINK they can show you how to use PG2, but most of the time they're completely wrong. That said, here's how I did it:
  1. Uninstall any instances of PG and/or PG2 that you presently have installed.
  2. Make sure the "C:\Program Files\PeerGuardian2" directory is COMPLETELY empty.
  3. Download and install PG2-RC1 from PhoenixLabs.
  4. Go through the on-screen dialog
  5. Create a batch-file that includes the following:
del /Q "C:\Program Files\PeerGuardian2\cache.p2b"
del /Q "C:\Program Files\PeerGuardian2\history.db"
del /Q "C:\Program Files\PeerGuardian2\lists\*"
start "C:\Program Files\PeerGuardian2\pg2.exe"


...the batch file is how you will launch PG2, not by any other means. That's it. It works like a champ.
Read More
Posted in geekery | No comments

Wednesday, November 5, 2008

Python in a hosted environment

Posted on 2:23 PM by Unknown
I have a server that I can't exactly install whatever I want on. I need to be able to talk to a MySQL database from a Python script. I didn't have any of the database interfaces installed, and couldn't install them system-wide. What is a geek to do?

Fortunately, Python's package installer is pretty smart. SO, I created ~/python, and then used ` python setup.py install --root ~/python` to install each module I wanted to install. Next, in my actual code, I used the following to ensure python could find the modules...


import sys
sys.path.append( '/home/hostedby/python/usr/lib64/python2.3/site-packages/' )
sys.path.append( '/home/hostedby/python/usr/lib/python2.3/site-packages/' )


One note: ADOdb requires MySQLdb, but the errors you get from it are completely non-sensical and do not give you even the slightest indication about the inter-dependancy. You could have figured this out by reading the README ,but who does that?
Read More
Posted in geekery | No comments

My New Bumper Sticker

Posted on 12:39 AM by Unknown
I found my new bumper sticker tonight... I'm bitter.

Mostly, I'm bitter that Initiated Measure 11 was defeated. I had really hoped that South Dakota would be the state to re-kindle the Supreme Court decision about abortion. I guess that plaque I have that says, "if you want to make God laugh, tell him your plans," is as accurate now as ever.
Read More
Posted in faith, soapbox | No comments

Monday, October 20, 2008

My "new" laptop

Posted on 10:32 AM by Unknown
I'm posting from my "new" laptop. This is what I suspect will ultimately supercede my ASUS Eee PC, which seemed like a good idea at the time. That said, this little box isn't over-sized (yet), but I'm working on it. Here's what its go, at this moment:

$ dmesg | grep -i vga
vga1 at pci1 dev 0 function 0 "ATI Radeon Mobility M6 LY" rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
$ dmesg | grep -i cpu
cpu0: Intel(R) Pentium(R) 4 CPU 2.40GHz ("GenuineIntel" 686-class) 2.40 GHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,CNXT-ID
cpu0 at mainbus0
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
$ dmesg | grep -i mem
real mem = 267411456 (255MB)
avail mem = 250511360 (238MB)
spdmem0 at iic0 addr 0x51: 256MB DDR SDRAM non-parity PC2100CL2.5

My immediate needs for this thing are: 1) a new battery (its a laptop, afterall), 2) a wireless card (a PCMCIA card that works with OpenBSD), and 3) more RAM. If by some miracle I got all three of those things taken-care of, I suspect this would be a fairly respectable little laptop! I think I could get it all taken-care of for under $200, so I'm going to see what kind of price I can get for my Eee PC...if I can get $200+ for it, I'm in like Flynn!
Read More
Posted in eee, geekery | No comments

Friday, October 10, 2008

cable modem woes

Posted on 5:34 PM by Unknown
TCP has a 16-bit port address, which allows for 65535 ports for source and destination ports. That fact appears to be lost on the vendor of my cable modem as they seem to think that 40960 is all that anyone would EVER need, however that fact is not lost on me. I have discovered this limitation "the hard way." I've crashed my cable modem three times this week while trying to conduct a pen-test for a client.

In all fairness, it seems like assuming a home user would not exceed 40960 simultaneous or embryotic connection is reasonable. That said, it still seems assinine not to support either the full-capabilities of the protocol's specifications OR that if it isn't going to handle all 65,535 ports that it at least not just die violently.

Ironically, this is not the first device I have discovered this limitation (which is why I know what is wrong here.) I've discovered this limitation in a variety of firewalls: Novell BorderManager, SonicWall, and various Linksys devices. This is, however, the first layer 2-3 device I've discovered the problem on.
Read More
Posted in geekery, soapbox | No comments

Tuesday, October 7, 2008

fslint

Posted on 7:42 PM by Unknown
Frequently, I find myself manually cleaning-up garbage files produced by various applications... be they the random swap files produced by `vi`, backup files ('*~'), or other similar riff-raff... with OS X, it had gotten so bad that I wrote a script to clean-up after Finder -- flushFinderCrap. Incidentally, I'm not the only one to loath the manual nature of this task, and some enterprising chap has written `fslint`. Bravo.

`fslint` basically automates the process of finding garbage files, or files that are otherwise undesireable, and reparing the issue(s). I highly recommend it.
Read More
Posted in | No comments

AIG Executives Blow $440,000 After Getting Bailout

Posted on 7:37 PM by Unknown
This is simply criminal. Words to describe my disgust and anger elude me.

In other news, I finally figured out the link between the so-called "corporate papers" market, the mortgage crisis, and the bail-out. I certainly won't bother attempting to articulate it here, but it was a proud day for me...now if only it weren't so bloody depressing.
Read More
Posted in | No comments
Newer Posts Older Posts Home
Subscribe to: Posts (Atom)

Popular Posts

  • 110GB+ worth of photos/videos on a microSD memory card #2
    In my previous post, I talked about wanting to write a script to see how far I can squeeze 110GB worth of media (photos and videos). I wrote...
  • Looking for the perfect car MP3 player/FM transmitter
    I have bought quite a number of car MP3 player/FM transmitters from DealExtreme and other similar websites. A car MP3 player/FM transmitter...
  • Freeing up phone storage with Link2SD
    Another more powerful way of freeing up phone storage is with Link2SD . Using this method requires you to have a rooted phone. If you don...
  • Children - The ultimate test in anger management
    Having just spent two full holiday weeks with my kids, it occurred to me this morning that raising young children is the ultimate test in an...
  • Coding the Liturgical Calendar
    For a long time, I've wanted to integrate the Roman Breviary into a couple of projects (nothing public) but have never been able to find...
  • Ubuntu: WebDAV + DAVfs2 + FUSE == Thunar Goodness
    One of the corner-stones of any *nix utility is that it should do a simple job and do it well. Every piece of software that I can think of ...
  • pyScout - threaded port scanner with heuristic protocol identification
    In 2007, while attending a training event in Chicago, NYC, or Washington D.C., (my memory is fuzzy as to which), I began to learn Python.  I...
  • Fast Diet - Hunger Pangs
    When I am doing the Fast Diet , I frequently experience long periods of calm after a brief period of hunger pangs. It is as if the body has ...
  • Brother HL-2132 - Lousy Yield on the Starter Toner Cartridge and How to Work Around it
    I bought a Brother HL-2132 mono laser printer from Offceworks recently. Like almost all printers these days, it came with a "starter...
  • console-kit-daemon
    Periodically, I pop-open `htop` and see a slug of threads for `console-kit-daemon`. I've tried to find what the heck this thing does, a...

Categories

  • a2dp
  • administrata
  • android
  • antivirus
  • avi
  • bluetooth
  • chrome
  • coding
  • culture
  • dos
  • eee
  • faith
  • family
  • fastdiet
  • firefox
  • gadgets
  • geeekry
  • geekery
  • hardware
  • homeschooling
  • howto
  • java
  • laptop
  • life and the universe
  • linguistics
  • link2sd
  • linux
  • migration
  • mp4
  • pdf
  • politics
  • printer
  • roomba
  • security
  • soapbox
  • software
  • transcode
  • travel
  • ubuntu
  • video
  • virtualization
  • webapps
  • windows

Blog Archive

  • ▼  2013 (11)
    • ▼  August (3)
      • 110GB+ worth of photos/videos on a microSD memory ...
      • 110GB+ worth of photos/videos on a microSD memory ...
      • Coding the Liturgical Calendar
    • ►  July (6)
    • ►  June (2)
  • ►  2012 (25)
    • ►  December (2)
    • ►  November (4)
    • ►  October (4)
    • ►  September (1)
    • ►  June (11)
    • ►  May (3)
  • ►  2011 (11)
    • ►  December (1)
    • ►  September (2)
    • ►  August (1)
    • ►  July (3)
    • ►  April (1)
    • ►  March (1)
    • ►  February (1)
    • ►  January (1)
  • ►  2010 (10)
    • ►  December (2)
    • ►  October (1)
    • ►  September (1)
    • ►  August (2)
    • ►  July (1)
    • ►  May (1)
    • ►  March (1)
    • ►  February (1)
  • ►  2009 (29)
    • ►  December (2)
    • ►  November (2)
    • ►  September (1)
    • ►  August (3)
    • ►  July (2)
    • ►  June (5)
    • ►  May (2)
    • ►  April (2)
    • ►  March (6)
    • ►  February (3)
    • ►  January (1)
  • ►  2008 (57)
    • ►  November (2)
    • ►  October (4)
    • ►  September (1)
    • ►  July (8)
    • ►  June (3)
    • ►  May (8)
    • ►  April (12)
    • ►  March (6)
    • ►  February (8)
    • ►  January (5)
Powered by Blogger.

About Me

Unknown
View my complete profile