Skip to content

The Unofficial Doctrine of “Helping Hand” Evolution

I’ve been schooling myself on Evolutionary Biology for about 3 or 4 years.
I dropped out of college after my freshman year because Undergrad was then,
and is still is today a lifeless process of rote memorization.  During that
time, I didn’t learn to learn, or learn anything more than “here are the
rules, and if you don’t follow them, there will be consequences.”  I’m not
sure if the topic of this essay is relevant to anyone outside of
Catholicism, but I’ve not heard much about it in the Skeptic / Science
Community.
Continue reading ›

Share and Enjoy:
  • Reddit
  • Digg
  • del.icio.us
  • Slashdot
  • StumbleUpon
  • Google
  • Ma.gnolia
  • Facebook
Tagged ,

Perl on Twitter

As a result of YAPC::NA 10, I was inspired to get more involved in Social Media. The idea is to promote and learn about new technologies through Social Media while injecting a sane, intelligent under current of Modern Perl.

I finally started to use my Twitter account. I’ve noticed the majority of tweets regarding Perl refer to it as torturous or antiquated or both. These tweets are not coming from the Perl echo-chamber of Perl Monks, Perl Mongers, and Perl Conference attendees, but from programmers exposed to Perl against their will. This leaves a bad taste in their mouth, and when they hear “Perl,” their frame of reference is sadly the Matt’s Scripts Era of Perl Development.

I’m using TweetDeck, and I’ve created a search column for “perl.” It gets a decent amount of traffic everyday. I don’t have the time to respond to or even read every tweet about Perl, but I skim them maybe 4 or 5 times a day to find people with Perl problems or Perl frustration and point them in a better direction. If you’re comfortable providing this type of assistance, I’d recommend TweetDeck with the “perl” Search Column as an interesting way to proselytize for Perl. It does mean you’ll be subjected to the occasional teen ranting about “Perl Jam,” and of course you’ll likely writhe in agony at the number of times you see Perl referred to as “PERL.” But if enough of the echo chamber is inundating the Twitterverse with intelligent, modern Perl advice, we might gain even more traction in the Social Media arena.

If you do tweet about Perl, follow HashTags and tag your tweet with “#perl“.

Just a thought, as I haven’t been able to hack in Perl in a few weeks due to other more pressing issues.

Share and Enjoy:
  • Reddit
  • Digg
  • del.icio.us
  • Slashdot
  • StumbleUpon
  • Google
  • Ma.gnolia
  • Facebook
Tagged , ,

Vacation and PHP

I took a much needed vacation the latter part of last week. Prior to that, I was helping a few coworkers with getting PHP Web Applications developed on Fedora Core 5 to run on CentOS 5 with upgraded PHP, Apache, and libraries. Every time I work with PHP, it gives me serious perspective as to why the Modern Perl / Enlightened Perl / perl5i Projects are incredibly important. The Matt’s Scripts Perl era needs to die. This stagnant snapshot has poisoned Perl’s reputation for too long.

The main difference between Perl and PHP, is writing maintainable, intelligent Perl is only slightly more work at first than writing horrible Matt’s Scripts style Perl. With PHP, writing decent PHP is possible, but it’s incredibly difficult. The majority of the PHP I’ve come across is code written by a web developer with no programming experience and the language design and direction accommodate that demographic. PHP’s language design gets in the way of writing sane, maintainable code. It’s not impossible, but you have to really, really want it.

When you write good Perl, the programming experience becomes easier, and more fun.

I’m trying to get back to my programming projects, and thus back to writing more on Perl. For now, understand that if you think Perl and PHP are the same beast, you’re wrong. I’ve been paid to develop both for periods of years. Perl is much more eloquent, evolutionary, and intelligent.

Share and Enjoy:
  • Reddit
  • Digg
  • del.icio.us
  • Slashdot
  • StumbleUpon
  • Google
  • Ma.gnolia
  • Facebook
Tagged , ,

Using POE to hook syslog-ng

Being able to do analysis, sorting, or database storage of syslog messages is incredibly useful. There are tons of solutions on the market to do just that. If you’re working on a system developed in house that you’d like to incorporate syslog messages into, then it may be easier to hook directly into the syslog stream than to introduce another piece of software into the environment which needs to be glued.

Syslog-ng facilitates easy integration with Perl binaries as the Perl program is spawned once during the daemon start up and a handle to that program’s STDIN is maintained for dispatching of messages. Using POE, we can turn this into an event driven model, making additional complexity simple.

In this example, we’ll create a POE Master session that receives all of the syslog-ng input from STDIN. Using off the shelf components, we’ll run a TCP Server on port 9514 that will allow clients to connect and subscribe to feeds based on the “program” name of the message being dispatched.
Continue reading ›

Share and Enjoy:
  • Reddit
  • Digg
  • del.icio.us
  • Slashdot
  • StumbleUpon
  • Google
  • Ma.gnolia
  • Facebook
Tagged , , , , ,

YAPC::NA 10th Anniversary Wrap Up Post

I got back from YAPC::NA #10 yesterday. There was a lot of sleeping required to recover from a tech conference with 8 am talks! A Twitter Search for “yapc” indicates I’m not the only one slow to recover those missing hours of sleep.

Overall the conference was a fantastic success. There were highs and lows, and I just wanted to take an opportunity to thank the conference organizers!! They did a wonderful job putting together another spectacular conference.

Also wanted to thank all the speakers as I know firsthand how much work goes into presenting at a conference like YAPC. All the talks I attended were great, however several stood out as exceptional:

  • Trapped in a Room with Schwern – Michael Schwern is an excellent speaker, and this free room talk with back and forth between him and members of the community at all levels of mastery provided insight into projects I was unaware of, as well as some relief that most of my concerns about Perl 5 were being discussed by people far smarter than myself.
  • The Future of DBIx::Class – Matt S Trout (MST) is a speaker for the real programmers. His volume, accent, and excessive use of profanity actually keep people listening. Getting yelled at by Matt Trout was the highlight of this conference for me. He has good ideas and opinions and he’s not afraid to beat them into your head. Kid gloving is great for Managers, but his presentation style and content really clicks with the people who don’t have their heads so far up their own asses to understand things need to change. Excellent talk about the past, present, and future of DBIx::Class which is the most significant ORM in the Perl Community currently.
  • Take Advantage of Modern Perl – chromatic’s speaking style is the complete opposite of MST’s, but his message synced with Schwern, MST, and the The Enlightened Perl Organisation: Encourage people to write better Perl. Write Better Perl. Teach others how to write better Perl. Embrace the language where it is now, and transition away from the bad things in the past. Fantastic Talk.
  • perl5i: Perl 5 Improved – Michael Schwern echoing chromatic’s plea for leveraging the best of what Perl 5 offers today. He’s got a module on cpan, perl5i, which implements the best of Perl 5 Tribal Knowledge.
  • Catching an ::Std – MST again. He very honestly covered the trials, tribulations, and evolution of “Best Practices” in the Perl community.
  • Drop in REPL for CGI Applications – Brock Wilcox floored everyone demonstrating his ridiculously cool module CGI::Inspect. I went in expecting “neat” and found “amazing.” We’ll be abusing this in development very soon.

These were my favorite talks, but like I said, every talk I went to was fantastic. I did miss a few talks I wanted to see due to schedule conflicts, but I’ll be checking the YAPC website for slides and video/audio. The conference organizers were not able to record anything, but a few attendees brought recording equipment with them. If nothing else, I’ll hopefully see those missed talks next year or at the Pittsburgh Perl Workshop in 2010!

I’m recommitting to the Perl Iron Man. I was an idiot and jackass for bailing after 1 post! :)

Share and Enjoy:
  • Reddit
  • Digg
  • del.icio.us
  • Slashdot
  • StumbleUpon
  • Google
  • Ma.gnolia
  • Facebook
Tagged , ,

Perl Iron Man Contest

Matthew S Trout has started a Perl Iron Man challenge to encourage Perl users to become active in the blogosphere.  Not many people outside of the Perl echo chamber realize how active and modern the language.  A lot of the concepts that trampolined Ruby and Python into the forefront of Web 2.0 have been alive and well in the Perl community for a long time.  With the advent of Moose, Perl5 is as serious an Object Oriented language as Python and Ruby.

I entered myself today.  The goal is blog about Perl atleast once a week.  As I’m splitting my development time between a Catalyst Project and a number of POE projects, I expect my posts to be along those lines.  I’ll eventually share my DBIx::Class scripts as well.  There should be something for everyone, especially @strcpy!  (He loves my Perl blogging).

Look for code related stuff early next week!

Share and Enjoy:
  • Reddit
  • Digg
  • del.icio.us
  • Slashdot
  • StumbleUpon
  • Google
  • Ma.gnolia
  • Facebook
Tagged , , , ,

Perl is Dead

I’ve been doing web application development for years in several languages. I’ve spent time with PHP, Java, but primarily Perl. I consider myself a “Perl Programmer” first, everything else second. Until recently, most people would equate that to “Dinosaur.” However, there’s been a revival of Perl these days! There are a number of reasons for this.

Continue reading ›

Share and Enjoy:
  • Reddit
  • Digg
  • del.icio.us
  • Slashdot
  • StumbleUpon
  • Google
  • Ma.gnolia
  • Facebook
Tagged , , , , , , ,

From cfEngine to Puppet: A retrospective

For several years I’ve managed to bend cfEngine 2.0’s architecture to my will.  Being an experienced Perl programmer, I was able to abuse the configuration language snytax in order to accomplish a number of strange things including Copy Back and automated management of OSSEC-HIDS.  However, there comes a point when the managing the cfengine configs becomes a burdensome and incredibly unmanageable.   I mean, sure, I know what they do.  How will any of my co-workers understand them?

After several colleagues recommending Puppet, I hesitantly began the slow, brain fscking process of:

  1. Understanding exactly what I had accomplished with cfEngine.
  2. Understanding Ruby (ugh, I’m so thankful for Perl)
  3. Understanding how to express my cfengine feelings in a way Puppet will understand without hurting it’s feelings
  4. Profit.

Continue reading ›

Share and Enjoy:
  • Reddit
  • Digg
  • del.icio.us
  • Slashdot
  • StumbleUpon
  • Google
  • Ma.gnolia
  • Facebook
Tagged , , ,

Pittsburgh Perl Workshop 2008

I had the pleasure of speaking at the 2008 Pittsburgh Perl Workshop. Due to some rather depressing news on the home front, I was only able to attend Saturday’s track and the Event Dinner. Everything was awesome as usual. I was even surprised to learn new things in the Advanced Pattern Matching talk.

My talk was titled Network Introspection with Open Source Tools and was an overhaul of the presentation that I did at LinuxWorld earlier this year. I took the feedback of the audience and tuned the talk to a Perl centric audience. I wasn’t heckled badly on IRC, which is the ultimate gauge of success.

I’d like to thank the organizers, CMU, sponsors, and The Perl Foundation for another successful year of the Work Shop. Next year, Pittsburgh is hosting YAPC::NA, and will not be hosting the Pittsburgh Perl Workshop. I look forward to being able to drive to YAPC!

If you saw the talk and want to rant about it, feel free to do so here.

Share and Enjoy:
  • Reddit
  • Digg
  • del.icio.us
  • Slashdot
  • StumbleUpon
  • Google
  • Ma.gnolia
  • Facebook
Tagged , ,

Domestic Security

Domestic Security

Domestic Security


Just a little comic to remind ourselves what we’re giving away for “Security.” This is not what our founding fathers had in mind. I’m disappointed in the US Government and it’s people.

Share and Enjoy:
  • Reddit
  • Digg
  • del.icio.us
  • Slashdot
  • StumbleUpon
  • Google
  • Ma.gnolia
  • Facebook
Tagged