Diary of a Network Geek

The trials and tribulations of a Certified Novell Engineer who's been stranded in Houston, Texas.

2/1/2013

Adding Style To Your Webpages

Filed under: Art,Fun,Fun Work,GUI Center,PERL — Posted by the Network Geek during the Hour of the Tiger which is terribly early in the morning or 5:23 am for you boring, normal people.
The moon is Waning Gibbous

I am NOT a designer or web programmer.

Sure, I’ve dabbled with Perl enough to be a Level 11 Perl Monk on Perlmonks.org, but I’m not really a programmer.  And I’m sure not a designer, either, even though I can appreciate really good design work.  In fact, my ex-wife used to say that I was from the “big orange button” school of design, because I was more interested in the technology behind the button you pushed on a website than making…
Read More

11/9/2012

Creative Generators

Filed under: Art,Fun,PERL,The Network Geek at Home — Posted by the Network Geek during the Hour of the Tiger which is terribly early in the morning or 5:20 am for you boring, normal people.
The moon is Waning Crescent

So, in keeping with the theme this month of NaNoWriMo, I bring you creative time-wasters!

Okay, so maybe I call them “helpful utilities” when I use them, but, still…
Back in the day, I was much more of a Renaissance man that I am now.  I dabbled in all kinds of things not least of which was either writing or programming.  And, I tend to live by the dictum that one cannot really learn anything worthwhile without a project or goal.  When you combine those things, well, you get some interesting projects.
The first programming language of any real weight I taught myself was Perl.  Perl has sometimes been called the duct tape of the internet, because so many system administrators use it to keep old, clanky systems running.  That was also the reason I learned it, because I often found myself maintaining old, clanky systems!  But, mostly, I used it for my various webpages.  Then, of course, came WordPress which ran on a fancy new language called PHP.  Naturally, I set about teaching myself PHP.

Well, the projects I used were random generators, primarily to help people who were writing and needed a little help.  One of my earliest was a little tool, originally inspired by shareware, that let you randomly come up with what might be in fantasy character’s pockets.  If memory serves, the shareware program was developed as a utility for Dungeon Masters in AD&D campaigns that had a lot of thieves who were always wanting to pick the pockets of townsfolk!  But, it was fun and useful as an exercise.  You can find that one here: Fantasy Pocket “Litter” Generator.
Recently, after adapting that to the new PHP language I was mentioning, I got the idea to extend that idea to a more modern setting and came up with the Random Daily Carry Generator.  So, instead of having magic frying pans and enchanted daggers, a character may have an encrypted USB drive and a loaded Glock 21.  Just the thing to fill the pockets of random story characters, as needed!  Also, this one is still under development a bit, so as I think of things, I’m adding them in.  Visit often for new stuff!

And, of course, all those things and more can be found at my old World-Building page at my almost defunct writing site; Fantasist.net.
So, if you’ve hit that first week stumbling block on your NaNoWriMo project, go check these pages out and see if anything helps.  But, most of all, have fun!

8/5/2011

On-Line EXIF Viewer

Filed under: Art,Fun,PERL — Posted by the Network Geek during the Hour of the Tiger which is terribly early in the morning or 5:24 am for you boring, normal people.
The moon is Waxing Crescent

Another one for the photography geeks.

Some of you may have guessed that I enjoy photography just a little bit.  You may have deduced that from all the photography related links I share on Fridays.  Or possibly because I tell you am obsessed by it virtually every chance I get.  Either way, it’s true.  I find myself staring into portraits of people in magazines trying to figure out the lighting setup based on the reflections in their eyes.  When I see a photo I like on Flickr, I usually check the EXIF data, if it’s available, to get some idea about how the photographer made it.  The EXIF data is far from the whole story, but, at least, it gives me some idea how the photographer was setting the camera to get the light and depth-of-field that they did.

Well, recently, I was reading an entry on Chase Jarvis’ blog challenging his readers to reverse engineer one of his photos.
I kind of love those sorts of things, to be honest.  But, what was cool about this one was that someone in the comments pointed to a website that automagically pulled the EXIF information from the photo!  How cool is that!?
The site is called Jeffrey’s EXIF Viewer.  And you can use it to pull EXIF information from either a photo on your hard drive or that you find on-line somewhere.  I haven’t actually tried it on Flickr for people who don’t upload the EXIF data, but I’m sure I will be in the near future.  In any case, it’s free, outside of some advertising, and it’s pretty cool.  (Also, for the hard-core tech geeks like me, I’ll note that it looks like it was programmed in Perl, which is my favorite programming language.)

So, go forth, find photos and check them against the EXIF data to see if you can guess the photographer’s settings!
And, enjoy your Friday!

8/31/2010

iPhone as a Penetration Tool

Filed under: Apple,Linux,News and Current Events,Ooo, shiny...,PERL,Rotten Apples,The Dark Side — Posted by the Network Geek during the Hour of the Hare which is terribly early in the morning or 6:11 am for you boring, normal people.
The moon is Waning Gibbous

No, this is not a post about sexual performance.
Pervs.

I use my iPhone for a surprising variety of things, even at the office.  For around $14, I threw together a suite of network scanning and testing tools that let me get a pretty good look at any network I manage.  But, that’s another post.
Today, I thought I’d bring to your attention a great blog post by Nicholas M. Petty tittled “iPen: Hacking with the iDevice“.  What he’s got is a set of instructions and tools for turning your iPhone, or, presumably, your iPad, into hand-held computer security penetration testing tool.  Yeah, I know, it still sounds dirty when you say “penetration”.  Grow up.

If you’re into security, whether you own an iPhone or not, it’s worth going to take a look at just to see the thought process and methodology.
Now, as much as I love this idea, I probably won’t actually do it myself because the first step is to “jailbreak” your phone and, frankly, as tight as money is and as important as my phone is to me, I can’t afford to have problems with it.  Still, it is an interesting idea, especially considering how many of these little devices are wandering loose out there and how many wifi access point exist out in the world.  I often wonder how secure any of them really are, especially in corporate environments.

Anyway, this should be something for network managers to think about the next time they see someone in the lobby of their building “playing a game” on their iPhone!

5/5/2010

10 Year Anniversary

Filed under: Career Archive,Certification,Criticism, Marginalia, and Notes,Deep Thoughts,Fun,Life, the Universe, and Everything,Linux,News and Current Events,Novell,PERL,Personal,The Network Geek at Home — Posted by the Network Geek during the Hour of the Horse which is around lunchtime or 12:08 pm for you boring, normal people.
The moon is a Third Quarter Moon

Yesterday marked this blog’s ten year anniversary.

In ten years, I’ve made more than 1,700 posts and had more than 1,900 comments, many of those from years when I blogged almost every day.  But, it was ten years ago when I uploaded my first entry. I edited it in a text editor of some kind, probably Notepad, and used FTP to push it up to the server. That was back in the days before blogging software and when most of us still called them journals or diaries. I started doing it to try and game the search engines. Mostly, it worked, I think, since the majority of my readers have found me via a search of some kind.

Since that first entry, a lot has changed.
I’ve been through two different kinds of blogging software. After months of doing it by hand, I converted to Moveable Type. I used that for several years, until the Time of the Troubles, when there was a big fuss over how Moveable Type was going to charge for previously free software, even after promising to keep it free forever. Like most converts, I changed over to WordPress, which I still use today. Moveable Type does have a free version, but, frankly, after learning how easy it was to style and customize WordPress, I can’t imagine moving back. Not to mention how much easier it is to make plugins for WordPress. Frankly, I love it.
Ten years ago, I did quite a few entries from the road via my old Palm IIIc with a folding keyboard. I typed them up and then synced that with my PC and pushed the entries from there. That old IIIc doesn’t hold a charge too well any more, but I’m still using the same PC I was ten years ago. Of course, I’ve added a much newer laptop, several other machines, and an iPhone to my technological stable since then. In fact, I was a beta tester for the new iPhone WordPress app!

A lot of other things have changed, too.
For one thing, I married and subsequently divorced the woman I was living with at the time. I’ve changed jobs, count it, five times, finally staying at my current company for about five years. I survived cancer. But, ironically, after several ups and downs with weight, I’m probably in better shape now than I was ten years ago!
Sure, I’d have liked to had a few more dates in the past ten years, but, I think I’ve done okay considering the divorce, not to mention the less than stellar marriage and, you know, the cheating death and all.  You’d be surprised how tired you get dodging the Grim Reaper!

I’ve upgraded my Novell certification at least once in that time as well as added a Linux certification.  My original plan of using this blog to boost my rankings in the search engines has largely paid off, as I’m consistently the number one or number two hit on Google for the search term “network geek”.
In that time, I’ve taught myself Perl, which is a scripting/programming language that’s been called the “duct tape of the Internet”.  In fact, as of this post, I’m a Level 8 PerlMonk.  (It’s a geek thing.) I’ve also gotten reasonably proficient at PHP, since that’s the technology which makes WordPress go.  At least, I’ve gotten good enough to write a few simple plugins and even a rough theme.  Frankly, I hope to do more of that soon, too.

I’ve taken up photography since starting this blog, too, and I think I’ve gotten fairly good at it.  Naturally, there’s room for improvement, as I’ve only been doing it for about two years, but, still, it’s something I’ve wanted to do for a long, long time.  I’m not very artistically skilled, but photography lets me tap into that in a less intimidating way.  I suppose, in a way, so does my obsession with blog themes and logo design.

And, of course, I’ve started several other blogs or websites in the ten years that I’ve had this blog.  But, don’t worry, those sites have been languishing just as badly as this one has the past several months.  It’s not that I haven’t wanted to write, or even had things to write about, but I’ve just been too busy to sit down and do it.
Though, I do have to admit, part of that sort of writer’s block has been about my audience.  I mean, if you hit that search function over in the sidebar, you can get pretty interesting access to my life for the past ten years.  Oh, sure, not everything makes it into the blog, but I’ve been pretty candid posting here.  I try to keep it clean, mostly, and nothing that would embarrass my mother, but, I have been honest enough to shock a few friends.  So, if there’s something you want to know about me, just search for it.  You may be surprised what you find here!

So, wow.
It’s been an interesting experience blogging for the past ten years.  I started before the trend was as huge as it was and kept on even when the shine had worn off for many.  I can say for sure that I didn’t anticipate many of the twists and turns this blog took over the past ten years, much less my life, but it has been an interesting ride.  Many of you have been with me for quite some time now and I appreciate you reading along with me here.
I don’t know what the next ten years will bring here, or elsewhere in life, but I do hope you’d come along for the ride.  I’m sure it will be as big a surprise to me as it is to you!

9/23/2009

No Free Lunch

Filed under: Advice from your Uncle Jim,Criticism, Marginalia, and Notes,Deep Thoughts,Fun Work,PERL,Personal,Red Herrings,The Network Geek at Home — Posted by the Network Geek during the Hour of the Tiger which is terribly early in the morning or 5:35 am for you boring, normal people.
The moon is Waxing Crescent

Ever wonder what I did before my blog devolved into what it is today?

Well, I uses write Perl code for fun. Yeah, that’s right, I used to code for fun. I mostly started with super geeky constructed language scripts and then moved on to other stuff. But, you know, I used to let people use them for free, just because it was fun and people seemed to really enjoy the scripts. Hey, there are a lot of geeky people out there! Anyway, it didn’t take long for these scripts, which used to reside at the Fantasist.net conlang page, to become very popular. It took even less time for them to become problematic for me and my series of webhosts. Well, they’ve finally become so much of a problem that I had to take them down this week.

Honestly, I can’t tell you how sad and angry and frustrated that makes me. I really wish I could keep offering them up, but people have abused them for too long and now they’ve caused me more trouble than they’re worth to me, so they’re gone for the forseesble future.


Advice from your Uncle Jim:
"Put your hand on a hot stove for a minute, and it seems like an hour. Sit with a pretty girl for an hour, and it seems like a minute. That's relativity."
   --Albert Einstein

5/28/2008

I am still not just a geek…

Filed under: Fun,Fun Work,Geek Work,PERL,Personal,Red Herrings — Posted by the Network Geek during the Hour of the Tiger which is terribly early in the morning or 5:32 am for you boring, normal people.
The moon is a Third Quarter Moon

I am, however, a Level 5 Perl Monk.

Monday, I was informed that I had gained enough experience to be granted the status of Beadle, or Level 5, on PerlMonks.org as of Monday morning. Now, this may not mean much to you non-geeks, but for Perl geeks this is really something. Granted, it’s not as impressive as getting that rank in a week or getting all the way up to Level 13, which gets you listed on the “Saints in Our Book” node, but it does represent a certain achievement in my book.

And, yes, I will still be working toward higher levels. ‘Cause that’s just the kind of geek I am.

5/22/2008

What Next?

Filed under: Advice from your Uncle Jim,Bavarian Death Cake of Love,Criticism, Marginalia, and Notes,Deep Thoughts,Life, the Universe, and Everything,Linux,PERL,Personal,Red Herrings — Posted by the Network Geek during the Hour of the Tiger which is terribly early in the morning or 5:34 am for you boring, normal people.
The moon is Waning Gibbous

Life is about passion.

Tomorrow, there will be a post that links to an article about meeting someone in a coffee shop. No, I haven’t met someone! Rather, it’s an article about how to meet someone. I tend to associate that sort of thing with passion. The passion of need, of possession. Of two becoming one. But, I have to be honest, my idea of passion has always included more than that.

Okay, sure, you’re thinking “Hey, a divorced, middle-aged, white guy who makes a living by being geekier than the average geek survives cancer and thinks he’s suddenly qualified to ramble on about passion”, right? Well, it’s not that. I’ve been hurting for something to be passionate about since the sixth grade. Oh, I get obsessed with things, sure. Some small, obscure subject will fascinate me for a few weeks or months and I’ll go through a cycle of knowing as much as I can about whatever it is before it bores me and it becomes something that gathers metaphorical dust in the attic of my mind, if I’m lucky. If I’m not lucky, it gathers actual dust on my coffee table. This is how I account for my owning both the complete, original John Byrne run of Alpha Flight, the collected Prisoner, the Dune Encyclopedia and Space: Above and Beyond. It’s also how I learned Perl and Linux and wrote plugins for WordPress. That same cycle is how I learned about survival, security, self-defense, koi, philosophy, and just about anything else interesting that I know. But, none of it really lasts. It’s just a flash of white-hot passion, then it’s gone.

What I long for, what I’ve always longed for, is something that makes me feel passionate forever. And, yes, I thought I had that when I was married, but, well, it turned out that passion was misplaced. So, now I wonder if all of it was misplaced. If it was all a useless, empty quest to find passion that is impossible to grasp. Before I met my ex-wife, I felt that passion about my work, but, after losing a job that was my life, I discovered work was just a job. So, now, I’m left searching, seeking, hunting that elusive passion which seems so slippery.

So, in spite of what you’ll read in this space tomorrow, I don’t ever want to sink all that passion into a person, of either sex, again.  And, any thing or activity that I allow myself to be passionate about again will have to be something that can’t be taken away from me.  Work comes and goes.
But writing…  Well, if I were to lose this blog, this laptop that I’m writing from, I could still write.  A cheap notebook and stub of a pencil stolen from Ikea is enough.  The words, the hammering out of the words, sentences, paragraphs, that takes no special tools, only, well, the passion.  So, too, God.  Even fewer tools to seek God.  I can find His presence anywhere, anytime.  Again, what matters is the passion for the spiritual connection, the seeking God’s presence.  But, how?  What to write?  How to find God?  What step to take next?

Who knows?  I suppose I’ll find out if I keep after it, that search for passion.  So, dear readers, what makes you light up with that passion for living?  What gets you out of bed in the morning?


Advice from your Uncle Jim:
"A great deal of good can be done in the world if one is not too careful who gets the credit."
   --Jesuit Motto

1/10/2007

New Perl Scripts

Filed under: Deep Thoughts,Fun Work,Geek Work,PERL — Posted by the Network Geek during the Hour of the Monkey which is in the late afternoon or 5:59 pm for you boring, normal people.
The moon is a Third Quarter Moon

So, I’ve been writing a bit of Perl again…

It’s kind of a long story that’s really rather boring, I think, but we’re changing e-mail providers at work again. They’ve got a new system to try and reduce spam that involves a challenge-response system and a whitelist.
For those not familiar, it works like this: The first time you send an e-mail to their servers, the anti-spam system fires back a verification e-mail to you. That e-mail verifies that you’re a human and not a spambot by asking you to click on a link. When you click the link, it adds you to the system’s whitelist and lets your e-mail through from then on. Pretty good system, actually. And, about the only way to assure virtually no spam gets through.

Well, to minimize hassle to our customers, we decided to pregenerate a whitelist of known, good e-mails. Naturally, that task fell to yours truly.
So, I turned to my old pal Perl. The mail is mostly stored in a UNIX mail format called “mbox”, which, luckily for me, is basically a flat file. It’s like a giant text file that has a lot of extra junk in it that no one but mail programs care about. So, the first thing I did was dig up code, and modifiy it, to pull all the e-mail addresses out of those mbox files. I called it “emailpull.pl“. That managed to pull all kinds of addresses. In fact, after I culled out the obviously bad address and eliminated the duplicates, I had a little over 4000 addresses.
Well, that was just a little too many for me to just dump into a whitelist without some kind of extra verification. So, I hunted around and found a handy CPAN module called “Mail::CheckUser” which is meant, you guessed it, to help check e-mail users. A little finagling with the code and I put together “emailverify.pl“. That little badboy takes a list of e-mail address, in text file form, and verifies them with the alleged e-mail host. Works like a charm!

Oh, and if you’re a Perl fan/addict/whatever, check the links to the code. They take you to a place called PerlMonks.org. They used to be the place to get code and help and, well, everything Perl related. But, you know, lately? Not so much. When I was there putting these two snippets of code up, there was a whole big bruhaha going on about membership to some internal, super-secret cabal group. And, there’s a lot of focus on getting levels and all sorts of junk like that. Which is ironic, to me, considering that Larry Wall, the guy who wrote Perl, did so in the hopes it would draw people together in harmony and spirit of helpfulness.
Ah, well, at least I got my task accomplished. Well, at least it will be by morning. That second script was still running when I left the office.

Update: That second script, when it was done running, reduced 4060 e-mail addresses down to 3255 validated e-mail addresses. Hopefully, it culled all the potential spam originators!

1/5/2006

A New Low

Filed under: Criticism, Marginalia, and Notes,Fun Work,Geek Work,Life, the Universe, and Everything,PERL,Personal,The Network Geek at Home — Posted by the Network Geek during the Hour of the Horse which is around lunchtime or 12:26 pm for you boring, normal people.
The moon is Waxing Crescent

Oh, God, this is a new low.
So, the other day, I’m joking with a friend about obsessively checking my webstats for certain pieces of information. He sort of laughs at me in e-mail and questions why I haven’t done a PERL script to automate it. And, I did actually think about it. The problem would be, as I explained to him, that I’d have to run the PERL script as a daemon, or process. Or, as a CRON job that repeated every fifteen minutes or so. Otherwise, I wouldn’t get the kind of notification that would make writing a script worthwhile. The only problem is, even my super relaxed webhost, Amzia.net, would eventually have issues with that kind of utilization.
In any case, I scouted around for some PERL code anyway, even though I’d probably never be able to actually use them. Then, one morning this past week, it occurred to me that I had PHP code that I could modify to produce the same results. So, I copied my chunk of code, tested it and put it out there, live. Worked like a charm. I got live results and e-mailed them to my friend and we had a good laugh that I’d gone and written code, that worked quite well, for a very personal, inside joke, that no one but he and I would see, or get. But, no, that’s not the new low.
Later, on the same day I made it live, I was sitting outside enjoying one of my last remaining clove cigarettes and caught myself refining the code in my head. Yep, I’m sitting there, petting the dog, smoking and tightening code in my head. I even started to add functionality as I crunched the code, too!

Oh, God, I am such a geek. I don’t even think another tattoo would help at this point. Oh, well, at least it pays the bills.

Next Page »

Powered by WordPress