Just a link for NetBSD, 2009-01-31 00:00:00 #
I love it!
wxPerl update, 2009-01-18 00:00:00 #
I would like to report that I learned about Wx::Panel and Wx::FlexGridSizer (for some reason, added to a Wx::BoxSizer) and got pretty good results from Wx. My complains still hold that it's kind of silly, but I guess it's not too hard once you follow the tutorials. For no good reason I had to defined my own OnInit subroutine, two packages, and subs to get the values from my text boxes (you'd think that would be a default thing people did with text boxes on button presses). However, these were not that hard to copy or figure out and I can see why some people would prefer the wx method since you have to take more full control from the very beginning, while Tk gives you reasonable defaults out of the box.
mt_diff.sh 1.0, 2009-01-18 00:00:00 #
I have finished the initial write of mt_diff.sh, which will take two NetBSD destdir's and use the mtree files to create a package for updating from one to the other. It's slow as hell because it does tons of passes with awk through all of the mtree files, but I was just trying to get the concept right before anything else. I need to update mt_pkg.sh to get it reading the new patch format (I'm trying to preserve which set files came from so backing out is easier), but it should be pretty easy to update. Anyway, if you get a chance to check it out, you can find the current rev here: And of course, you can ready about the mt_pkg.sh idea and script here:
Perl remove leading and trailing whitespace, 2009-01-13 00:00:00 #
This is a really common task for perl and I mostly see bad solutions online, so I thought I would offer my own: Iterate through an array: This works by looking for: The beginning of the line followed by zero or more whitespaces ( ) non-greedy match and capture of anything except newlines ( ) And finally zero or more whitespace followed by the end of the line ( ) We need to use non-greedy or it will grab the trailing whitespace and you'll lose the value of
Google slow?, 2009-01-12 00:00:00 #
Has anyone else noticed that google's response time for initial page load has been really slow for the past few weeks? I've noticed this at home and at work, so I'm wondering if it's just in the southeast, or what. It really looks like getting a connection going is the main problem. The name resolves quickly, the ip is accessed, and then I wait.. so frustrating!