Just-Another.NetJust-Another.NetRandom rantings by the author about life, software and good beer. Articles
pyglet and py2exe.
2008-04-10 00:00:00 So I've been playing with pyglet a lot. Being that my work laptop is windows, and I don't think they'd appreciate me partitioning it with Linux, I decided to play with it on windows, which will also help hone my Win32 python development experience. I'd like to point out that I love the pyglet API, it's clean and simple! For fun, I built a test application in pyglet and wanted to send it to a friend (it was kind of a joke). Rather than sending him the code and instructing him on how to run it (he's a non-technical type), I chose to package it as an windows executable. py2exe is easy! Install the package, build you're setup.py and run it. Couldn't be much more simple. When compiling my code, however, I ran into a problem. It started throwing an traceback related to Audio drivers. After a quick google session, I found this google group thread, which pointed me exactly where I needed to be. When running you're code through py2exe, you need to tell it what a...
PyCon2008 Pictures.
2008-04-10 00:00:00 Take a look at my Flicker for some fun pictures of my time at pycon 2008 in Chicago. Good times! More About: Pictures
Cleveland Bidding for PyCon 2010
2008-04-10 00:00:00 Take a look over at Dave Stanek's post about hosting PyCon in 2010. I think it's a phenomenal idea. Cleveland is an inexpensive place to host a conference with the big city attractions that prevent boredom. I can personally attest to the fun-factor here as it's part of the reason I chose to stay. Cleveland also has a good sized python community as well as pretty heavy python use in the tech companies. In short, Cleveland loves python and we think Pythonites will love Cleveland, too. More About: Bidding
SEOness? Getting there..
2008-04-10 00:00:00 So after having a conversation with Dave yesterday about search engines, I decided to fix up the urls on my site to be more search engine friendly. I had some really ugly linkage and I'm glad I spent some time cleaning that up. Yay. Me.
PyOhio
2008-04-10 00:00:00 We have a venue! Still coordinating other aspects of the conference. See more details here: PyOhio Wiki PyOhio Regional Python programming miniconference July 26th, 2008 Columbus Metropolitan Library 96 S. Grant Ave. Columbus, OH 43215 USA Tags: python open-source programming conference ohio
Again with the site cleanup..
2008-04-10 00:00:00 So I got bored again, go figure. I wrote some code that converts my titles into 'slugs' much like wordpress. I then altered my blog table to include it as an index, wrote a quick script to parse my titles and insert them and changed my templates to link via them. Throw in some rewrite magic and wala; hot sauce. I'm glad I wrote this code base to be simple to manage and extend :). I'm kinda curious how it would fair from a security standpoint, however. Maybe I should just write it off and go ahead with something already baked; but it's fun to muck around like this. More About: Site , The Site , Cleanup
import sexy
2008-04-10 00:00:00 So I was looking at some of the python source for Compiz Fusions' CCM and was quite amused to find this near the tip top of the code: try: import sexy has_sexy = True except Import Error: print "Info: No sexy-python package found, don't worry it's optional." has_sexy = False Now, I know about libsexy, but it just cracked me up to see that in code after having a few high ABV beers. More About: Sexy
SEOness? Getting there..
2008-04-07 00:00:00 So after having a conversation with Dave yesterday about search engines, I decided to fix up the urls on my site to be more search engine friendly. I had some really ugly linkage and I'm glad I spent some time cleaning that up. Yay. Me.
Wubi Wocks!
2008-03-26 00:00:00 So I installed ubuntu on my windows partition tonight. I did this with the help of wubi. It was super simple, with one problem. Trying to install it from the CD with wubi failed after copying the cd image was 100% complete. I got a message that stated "Could Not Access The CD, please make sure other applications are not using it and try again" Seemed bad, and I almost gave up. On a whim, I went ahead and copied the wubi installer to my desktop, where the iso also resides. I then ran the wubi installer from my dekstop and viola! It worked fine. Hopefully this will help anyone else with the same error I was experiencing. More About: Wubi
pyglet and py2exe.
2008-03-22 00:00:00 So I've been playing with pyglet a lot. Being that my work laptop is windows, and I don't think they'd appreciate me partitioning it with Linux, I decided to play with it on windows, which will also help hone my Win32 python development experience. I'd like to point out that I love the pyglet API, it's clean and simple! For fun, I built a test application in pyglet and wanted to send it to a friend (it was kind of a joke). Rather than sending him the code and instructing him on how to run it (he's a non-technical type), I chose to package it as an windows executable. py2exe is easy! Install the package, build you're setup.py and run it. Couldn't be much more simple. When compiling my code, however, I ran into a problem. It started throwing an traceback related to Audio drivers. After a quick google session, I found this google group thread, which pointed me exactly where I needed to be. When running you're code through py2exe, you need to tell it what a...
Archive & Feed Updates.
2008-03-22 00:00:00 Yay! I threw together a quick archive of all my posts here Per Mike's suggestion, I made the entire body of a blog post available via RSS. While I was refactoring all of the RSS code, I also went ahead and added the ability to subscribe to an single post, comments and all. Why the hefty updates of my site? Well, I failed to get the Oxygen Sensor off my car today and wanted to feel like I accomplished something. That's all, folks More About: Archive , Updates , Feed
Cleveland Bidding for PyCon 2010
2008-03-19 00:00:00 Take a look over at Dave Stanek's post about hosting PyCon in 2010. I think it's a phenomenal idea. Cleveland is an inexpensive place to host a conference with the big city attractions that prevent boredom. I can personally attest to the fun-factor here as it's part of the reason I chose to stay. Cleveland also has a good sized python community as well as pretty heavy python use in the tech companies. Read More.. More About: Bidding
PyCon2008 Pictures.
2008-03-19 00:00:00 Take a look at my Flicker for some fun pictures of my time at pycon 2008 in Chicago. Good times! ...Read More.. More About: Pictures
PyCon fun..
2008-03-17 00:00:00 Currently in a session about PyTriton Petabyte File system. Interesting stuff. Tonight we're going to head down to The Ram Bar and check out their brews. I have some pictures of our awesome useless trip downtown last night, but I can't seem to locate an extra usb cord. If anyone has one, look for me, or reply here and let me know! Tomorrow I think we're going to The Map Room where I'm looking forward to a B...Read More..
Markdown support.
2008-03-08 00:00:00 In the interest of adopting newish technology and request from a user I'm happy to let everyone know that my comment sections (and blog authoring area, yay!) now use Markdown for, erm, Markup :). Thanks for your patience on this very pressing matter. On a side note, 6 days till PyCon! ...Read More.. More About: Support
Why I still use Perl..
2008-03-05 00:00:00 I have a sizable nagios log file that I needed to parse somewhat quickly to return the most recent iteration of a particular message. I thought about implementing something in python, but I whipped up the below Perl script in about few minutes that does just what I need... #!/usr/bin/perl -w use strict; use Tie::File; use Fcntl; # Log file to parse. my $logfile = '/var/log/nagios/syslog-nagios'; my @msgs = (); # Get the logfile in a data structure quietly tie @m...Read More..
Pycon, Weddings, Birthday and St. Patricks Day.
2008-03-05 00:00:00 Busy month for me! I proposed to my Girlfriend Amanda on February 28th, so the planning has begun. It's a tedious task! Soooo many choices, soooooo much money, soooo excited! I'll be posting updates as we plan, so stay tuned. I'm heading to PyCon 2008 in Chicago! I'm taking the tutorial on Eggs and Buildout Deployment in Python by Jeff Rush so I can learn more about setuptools/easy_install, etc for when I go to engineer our own python package deployment system. Read More.. More About: Weddings , Birthday , St Patricks
Move complete, new house rocks!
2008-02-19 00:00:00 So we got all moved in this week and couldn't be happier. This was seriously bad timing on our part because of Valentines day and how busy I get a work due to this wretched holiday, but it all went smooth; only one broken bone :) Check out the pictures: Read More.. More About: House , New House , Move , Rocks , Complete
jQuery rocks.
2008-02-17 00:00:00 So I had a simple task that I wanted done with minimal code. I wanted to basically update the copy of dynamically generated images every few minutes. So, within a function that gets called every minute I wrote this: $('img').each( function() { $(this).attr('src',$(this).attr('src')); } ); So easy, it should be illegal.....Read More.. More About: Rocks , Jquery
Looking for advice on object persistence.
2008-01-29 00:00:00 So, I'm looking to save off a data structure, much in the same fashion as Storable in Perl. I found Shelve but wasn't sure if anyone else had any suggestions. The data is small and will be not be read from or written to often. If I don't hear anything, I'll just roll with shelve. Thanks! ...Read More.. More About: Advice , Object , Persistence
Python fun today..
2008-01-29 00:00:00 So I'm writing you from python land today. I'm kinda a newbie to python, but I ran across something fun that I thought I should point out.. So I was messing with urllib2 and I discovered that there is no way to set the default timeout. That's not cool! To circumvent possible timeouts with the http requests I'm making (bunches of them) I found myself doing two things. The first thing I did was pack all the urls I want to hit in a dict of a list. A key, and a list of urls...Read More.. More About: Python , Today
New house!
2008-01-26 00:00:00 In mid February we'll be moving to a new house! It's much larger than out current shanty. Three full bedrooms so the kids will have their own. There's also a finished attic with a new bathroom. The main bathroom has been remodeled, and the master bedroom is probably twice the size of our current bedroom. BIG kitchen, with a breakfast nook. TONS of closet and storage space. Nice big yard(for Lakewood) and a Garage. We're super excited and can't wait to get moved in. ...Read More.. More About: House , New House
Valgrind vs. bloated Apache and mod_python
2008-01-21 00:00:00 Rounnnd one....DING! In preparation for the holiday from hell we're doing some performance tuning of our servers. So, running valgrind on httpd with our current config yielded: ==7410== More than 100000 total errors detected. I'm not reporting any more. ==7410== Final error counts will be inaccurate. Go fix your program! ==7410== Rerun with --error-limit=no to disable this cutoff. Note ==7410== that errors may ...Read More.. More About: Apache
Yaaay blog spam!
2008-01-18 00:00:00 So, I've noticed lately that one of my more popular blog entries has taken on some spam. I'll work on cleaning that up and implementing countermeasures. In the mean time... I'm alive! Been working my tail off in preparation for Valentines day at work. It's the busiest time of the year for us. Just got back from VA where another sysadmin and I installed 50 new servers. It went well! Wrote some python to convert my inventory list from csv to our flat file format. Read More.. More About: Spam , Blog
HP Print driver installer sucks..
2007-11-10 00:00:00 Why should I have to download a giant installer package that is bigger than the friggin driver itself! I don't get it! ...Read More.. More About: Driver , Print , Sucks
Tired doesn't begin to describe it..
2007-11-08 00:00:00 More like beaten, stomped on, abused.. It's cool though, because I love it.. Since Monday, a small team of us (read: me, another sysadmin, and one network guy) embarked on a journey to move roughly 100 servers from one cage to another in our data center. That includes prepping the servers, racks, networking gear, cabling , etc. It's been a hell of an undertaking, yet surprisingly smooth all at the same time. Moving the hardware is simple, it's the reconfiguring of the interfaces...Read More.. More About: Tired , Scribe , Tire
No world for tomorrow..
2007-11-02 00:00:00 So I went to see Coheed and Cambria last night. Two words; flippin' amazing. The first two bands were great. The first band was The Fall of Troy, their front man is an amazing guitarist and quite the showman. Clutch is awesome, fun, and timeless. Coheed was for sure the show of the night. They came out swinging and ended it with the double necked fury. Here's a snapshot from my cell, enjoy: Read More.. More About: World , Tomorrow , Morrow , Tomo
Too much AJAX can stain your clothes..
2007-11-02 00:00:00 Warning: Keep away from children, pets, eyes, and DON'T mix with other chemicals. I'm of the opinion that the use of AJAX technology can be great, but has it's own practical application, much like the cleaning product. When something intrudes on my web browsing experience, I get annoyed. Much like when I get AJAX on my favorite jeans! An example of this is Snap Shots. It's one of those services that grabs thumbnails of websites and when you roll over a pict...Read More.. More About: Clothes , Ajax , Cloth
Family, Baseball, linux, beer, burbon..In that order.
2007-10-25 00:00:00 Family goodness Gage is doing better with the little health issue.. All his blood work came back O.K. He's caught up on his shots and thankfully won't have to endure them for another year. They did, however, decide that he has some anxiety issues and should be seen by a child psychologist. That kinda bothers me, and I'm having a hard time with it. I'm really scared they're going to want to dope him up and he will go through life in a haze. I don't want that for my little dud...Read More.. More About: Linux , Family , Baseball , Beer , Order
Hackday was wondemous..
More articles from this author:2007-10-25 00:00:00 This year my company held the first of hopefully many, Hackday. We're given 24 hours to design, plan, and implement our own idea of a product or service related to a business unit within the company. When the time was done, we were given three minutes to give a short presentation of what we did, how, and why. It was great fun and I could not have been more pleased with what my fellow employees came up with! My partner and I were able to get a proof-of-concept up an...Read More.. 1, 2, 3 |



