From msouth at gmail.com Mon Nov 4 12:15:25 2013 From: msouth at gmail.com (Mike South) Date: Mon, 4 Nov 2013 14:15:25 -0600 Subject: [DFW.pm] Who wants my job? Message-ID: Hi, I've been "laterally 'promoted'", but the guy they had to replace me ended up taking another position, so we're looking for another replacement. The technical name of my job is "release engineer" but I've turned it into "write code to do the releases for me, and then write code to do all the other stuff there is to do". It's not 100% coding yet, but management is happy to see more and more automation, so it's a pretty good gig from that standpoint. I have a dancer app running from a perlbrewed perl (so you can install whatever modules, etc, you want independent of what development is doing). It's just getting to the point where the app is paying off for the work I put into it and begging for all kinds of expansion. I really don't want to leave it, to be honest, but there's so much depth of functionality possible with it that there's no way I can keep working on it and get the new stuff done, too. I'll be available indefinitely for questions and stuff so there should be no problems with mystery code or whatever. The position is in Operations, and it includes things like triage/diagnostic/post-event investigation of live performance issues. All of which are just further opportunities to write code to make all the processes easier and more automatic. One simple example--the application we're supporting runs under mod_perl and is able to receive a USR2 signal and respond by dumping a stack trace of diagnostic information. I wrote something that sends a process that signal and then tails the apache log watching for the signature of the output, then reporting it back (or reporting the absence of a response after a timeout period). Nothing extremely fancy or anything but it was fun to write and I hadn't messed around with inter process communication for a while so I learned stuff doing it. Also wrote a slick little log parser that pulls performance data from a custom apache log and dumps it into a Sqlite database which you can then query to your heart's content--or just mail to development and tell them it's their problem. These are in addition to the Dancer app I mentioned earlier (and will probably be sucked into it, actually) which manages the release process and is slowly taking over a lot of formerly laborious diagnostic and maintenance tasks. It's full time telecommute with occasional travel to the Boston and San Mateo locations for "Operations Summits" and company-wide all-hands Ops meetings and stuff like that. One of the best bosses I've ever worked for, too. I think they give me an iPad or something if you join via my referral, so be aware that I have that as a possible conflict of interest :). We're a linux shop, I think the machines are RHEL (older ones v5 something, newer v6), mysql databases, the application is in perl and most of the supporting scripts are also in perl or bash. The perlbrewed perl we are using is 5.14.2, but nothing's keeping you from updating to more recent than that if you want to. We have just started moving our operations codebase into gitlab (like an internally hosted github). In addition to being responsible for the production releases of the NetSuite OpenAir product, you are responsible for managing and releasing the code that the ops team writes. Major releases happen six times a year during Saturday release windows (5-9am central) which are planned well in advance of the event. There is a slipstream release of minor fixes every Thursday night at 9, but almost all of the work for that is pre-done by my Dancer app now, and we're very close to the point where the last bit could be cronned. The on-call rotation is kind of in flux right now--when we get it back running normally I will expect to be on call once every six weeks. Incidents requiring off-hours attention are pretty rare, though (we just celebrated a year without a single site-wide incident). It would be best for the candidate to know OO Perl as well as being very familiar with sysadmin-type tasks (I'm stronger on the Perl and weaker on the sysadmin stuff, but that's fine, and it would work fine in the other direction, too). If you're interested, or know someone that would be, let me know. Also, since it's telecommute, if you know someone located elsewhere that would be interested, that would be possible too (I think they have some restrictions on which states they can hire in based on some considerations regarding tax or insurance status or whatever--I just don't know which or how strict it is, and they have bought quite a few companies recently so I think that restriction is getting smaller by the month). mike -------------- next part -------------- An HTML attachment was scrubbed... URL: From cesheri at swbell.net Tue Nov 12 06:43:44 2013 From: cesheri at swbell.net (Charles Sheridan) Date: Tue, 12 Nov 2013 08:43:44 -0600 Subject: [DFW.pm] For Perlers who use Vim - tabwins.vim Released Message-ID: <52823EA0.1050607@swbell.net> Since Vim is such a common editor in the Perl community, I'd like to announce the release of tabwins.vim. tabwins.vim provides easy access to the power of the Vim GUI. Some screen shots -- https://github.com/cesheridan/graphics/tree/master/tabwins The plugin is at https://github.com/cesheridan/tabwins and http://www.vim.org/scripts/script.php?script_id=4767 and the README.md at github, and the .txt file, should clarify re intended usage. Or just try it. Alternatively: http://htmlpreview.github.io/?https://github.com/cesheridan/tabwins/blob/master/tabwins.txt.html I think that tabwins.vim has the potential to help: o Streamline a lot of peoples work, as it's all-purpose, not particular to filetype or other interest-restricting attributes; o Demonstrate the graphic sophistication inherent to vim, countering the lingering view that Vim=vi; I'd encourage you to try it, and would be appreciative if you were to communicate any observations. Regards, Charles Sheridan Dallas -------------- next part -------------- An HTML attachment was scrubbed... URL: From wigthft at gmail.com Tue Nov 12 14:42:12 2013 From: wigthft at gmail.com (John Fields) Date: Tue, 12 Nov 2013 16:42:12 -0600 Subject: [DFW.pm] IRC bots in Perl tomorrow! Message-ID: 2nd Wed is huuuummmpppddaaaayyy. :) We will be running some home made bots and covering different ways to run them under Linux. Maybe add a stats page, or a tabulated log of results? Bring your ideas and "what ifs". As usual it is at the dallasmakerspace.org at 7pm. Some food afterwards at a local eatery. Come out and sharpen your Perl tools and have a good time. If it ain't fun we aren't doing it right. ;) -------------- next part -------------- An HTML attachment was scrubbed... URL: From coyo at darkdna.net Tue Nov 12 17:29:25 2013 From: coyo at darkdna.net (Coyo) Date: Tue, 12 Nov 2013 19:29:25 -0600 Subject: [DFW.pm] IRC bots in Perl tomorrow! In-Reply-To: References: Message-ID: <5282D5F5.70809@darkdna.net> I can't believe it's my birthday already. I feel so oooooooooooooold. My birthday is tomorrow, the 13th. A hump day. I hope that's an omen. On 11/12/2013 04:42 PM, John Fields wrote: > > 2nd Wed is huuuummmpppddaaaayyy. :) > > We will be running some home made bots and covering different ways to > run them under Linux. Maybe add a stats page, or a tabulated log of > results? Bring your ideas and "what ifs". > > As usual it is at the dallasmakerspace.org > at 7pm. Some food afterwards at a local > eatery. > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From masterbucket at internetalias.net Tue Nov 12 19:11:44 2013 From: masterbucket at internetalias.net (Tommy Butler) Date: Tue, 12 Nov 2013 21:11:44 -0600 Subject: [DFW.pm] For Perlers who use Vim - tabwins.vim Released In-Reply-To: <52823EA0.1050607@swbell.net> References: <52823EA0.1050607@swbell.net> Message-ID: Thanks Charles =) --Tommy Butler On Nov 12, 2013, Charles Sheridan wrote: >Since Vim is such a common editor in the Perl community, I'd like to >announce the release of tabwins.vim. > >tabwins.vim provides easy access to the power of the Vim GUI. > >Some screen shots -- > > https://github.com/cesheridan/graphics/tree/master/tabwins > > >The plugin is at > >https://github.com/cesheridan/tabwins > and >http://www.vim.org/scripts/script.php?script_id=4767 > >and the README.md at github, and the .txt file, should clarify re >intended usage. Or just try it. >Alternatively: > >http://htmlpreview.github.io/?https://github.com/cesheridan/tabwins/blob/master/tabwins.txt.html > > >I think that tabwins.vim has the potential to help: > > o Streamline a lot of peoples work, as it's all-purpose, not >particular to filetype or other interest-restricting attributes; > o Demonstrate the graphic sophistication inherent to vim, countering >the lingering view that Vim=vi; > > >I'd encourage you to try it, and would be appreciative if you were to >communicate any observations. > > >Regards, >Charles Sheridan >Dallas > > > >------------------------------------------------------------------------ > >_______________________________________________ >Dfw-pm mailing list >Dfw-pm at pm.org >http://mail.pm.org/mailman/listinfo/dfw-pm -- Sent from my Android phone with K-@ Mail. Please excuse my brevity. -------------- next part -------------- An HTML attachment was scrubbed... URL: From coyo at darkdna.net Tue Nov 12 20:33:21 2013 From: coyo at darkdna.net (Alex M (Coyo)) Date: Tue, 12 Nov 2013 22:33:21 -0600 Subject: [DFW.pm] For Perlers who use Vim - tabwins.vim Released In-Reply-To: References: <52823EA0.1050607@swbell.net> Message-ID: <52830111.3080809@darkdna.net> I think I'm the only person I know who actually uses emacs... and cheese. (for those not familiar with the application, cheese is a gtk application used to take photos and video from a webcam, very handy) On 11/12/2013 9:11 PM, Tommy Butler wrote: > Thanks Charles =) > > --Tommy Butler > > On Nov 12, 2013, Charles Sheridan wrote: > > Since Vim is such a common editor in the Perl community, I'd like > to announce the release of tabwins.vim. > > tabwins.vim provides easy access to the power of the Vim GUI. > > Some screen shots -- > > https://github.com/cesheridan/graphics/tree/master/tabwins > > > The plugin is at > > https://github.com/cesheridan/tabwins > and > http://www.vim.org/scripts/script.php?script_id=4767 > > and the README.md at github, and the .txt file, should clarify re > intended usage. Or just try it. > Alternatively: > > http://htmlpreview.github.io/?https://github.com/cesheridan/tabwins/blob/master/tabwins.txt.html > > > I think that tabwins.vim has the potential to help: > > o Streamline a lot of peoples work, as it's all-purpose, not > particular to filetype or other interest-restricting attributes; > o Demonstrate the graphic sophistication inherent to vim, > countering the lingering view that Vim=vi; > > > I'd encourage you to try it, and would be appreciative if you were > to communicate any observations. > -------------- next part -------------- An HTML attachment was scrubbed... URL: From john.dexter at psydefect.com Thu Nov 14 16:09:56 2013 From: john.dexter at psydefect.com (John Dexter) Date: Thu, 14 Nov 2013 18:09:56 -0600 Subject: [DFW.pm] IRC bots in Perl tomorrow! In-Reply-To: <5282D5F5.70809@darkdna.net> References: <5282D5F5.70809@darkdna.net> Message-ID: So, I've been a long time lurker on the DFW.pm mailing list and decided to go ahead and get active by attending last night's meeting. Of course, at the last minute I got saddled with an emergency database restore for work, so I was unable to attend. I did want to join in on the IRC bot fun, so I whipped up a little plugin of my own, that I call "Discuss". Hate sitting in a dead IRC channel? This will let you ask the bot for discussion topics based on blog posts at blogs.perl.org. I'm running into an issue though. I'm using the rand() function to let the bot pick random posts and random return phrases, but it doesn't seem to be changing after the initial request. My guess is that this is an issue with POE and the rand numbers are only generated once at compile time, so subsequent calls to the subroutine do not produce different results. Anyone know how to get around that? Or if that is even the issue? https://github.com/PsyDefect/dfwbot/blob/master/DFWpm/BotPlugin/Discuss.pm Sincerely, John Dexter On Tue, Nov 12, 2013 at 7:29 PM, Coyo wrote: > I can't believe it's my birthday already. > > I feel so oooooooooooooold. > > My birthday is tomorrow, the 13th. A hump day. > > I hope that's an omen. > > > > On 11/12/2013 04:42 PM, John Fields wrote: > > 2nd Wed is huuuummmpppddaaaayyy. :) > > We will be running some home made bots and covering different ways to run > them under Linux. Maybe add a stats page, or a tabulated log of results? > Bring your ideas and "what ifs". > > As usual it is at the dallasmakerspace.org at 7pm. Some food afterwards > at a local eatery. > > > > _______________________________________________ > Dfw-pm mailing list > Dfw-pm at pm.org > http://mail.pm.org/mailman/listinfo/dfw-pm > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From saj at thecommune.net Thu Nov 14 16:21:11 2013 From: saj at thecommune.net (Stuart A Johnston) Date: Thu, 14 Nov 2013 17:21:11 -0700 Subject: [DFW.pm] IRC bots in Perl tomorrow! In-Reply-To: References: <5282D5F5.70809@darkdna.net> Message-ID: <528568F7.50301@thecommune.net> Generally speaking, you'd want to call srand after the fork. I don't know what would be the POE equivalent of that though. http://perldoc.perl.org/functions/srand.html Another option would be to use one of the Random modules on cpan. On 11/14/2013 05:09 PM, John Dexter wrote: > So, I've been a long time lurker on the DFW.pm mailing list and decided > to go ahead and get active by attending last night's meeting. Of > course, at the last minute I got saddled with an emergency database > restore for work, so I was unable to attend. > > I did want to join in on the IRC bot fun, so I whipped up a little > plugin of my own, that I call "Discuss". Hate sitting in a dead IRC > channel? This will let you ask the bot for discussion topics based on > blog posts at blogs.perl.org . > > I'm running into an issue though. I'm using the rand() function to let > the bot pick random posts and random return phrases, but it doesn't seem > to be changing after the initial request. My guess is that this is an > issue with POE and the rand numbers are only generated once at compile > time, so subsequent calls to the subroutine do not produce different > results. Anyone know how to get around that? Or if that is even the issue? > > https://github.com/PsyDefect/dfwbot/blob/master/DFWpm/BotPlugin/Discuss.pm > > Sincerely, > > John Dexter > > > On Tue, Nov 12, 2013 at 7:29 PM, Coyo > wrote: > > I can't believe it's my birthday already. > > I feel so oooooooooooooold. > > My birthday is tomorrow, the 13th. A hump day. > > I hope that's an omen. > > > > On 11/12/2013 04:42 PM, John Fields wrote: >> >> 2nd Wed is huuuummmpppddaaaayyy. :) >> >> We will be running some home made bots and covering different ways >> to run them under Linux. Maybe add a stats page, or a tabulated >> log of results? Bring your ideas and "what ifs". >> >> As usual it is at the dallasmakerspace.org >> at 7pm. Some food afterwards at a >> local eatery. >> >> > > > _______________________________________________ > Dfw-pm mailing list > Dfw-pm at pm.org > http://mail.pm.org/mailman/listinfo/dfw-pm > > > > > _______________________________________________ > Dfw-pm mailing list > Dfw-pm at pm.org > http://mail.pm.org/mailman/listinfo/dfw-pm > From dfwpm at internetalias.net Thu Nov 14 16:53:42 2013 From: dfwpm at internetalias.net (Tommy Butler) Date: Thu, 14 Nov 2013 18:53:42 -0600 Subject: [DFW.pm] IRC bots in Perl tomorrow! In-Reply-To: References: <5282D5F5.70809@darkdna.net> Message-ID: <52857096.9090009@internetalias.net> That's extremely strange behavior. If I were you I'd try the following: use List::Util qw( shuffle ); my $p = ( shuffle @phrases )[0]; You could also try a workaround such as the line below, just to see what happens, but I would prefer the above. my $i = eval 'int( rand( scalar @nodes ) )'; --Tommy Butler On 11/14/2013 06:09 PM, John Dexter wrote: > So, I've been a long time lurker on the DFW.pm mailing list and > decided to go ahead and get active by attending last night's meeting. > Of course, at the last minute I got saddled with an emergency > database restore for work, so I was unable to attend. > > I did want to join in on the IRC bot fun, so I whipped up a little > plugin of my own, that I call "Discuss". Hate sitting in a dead IRC > channel? This will let you ask the bot for discussion topics based on > blog posts at blogs.perl.org . > > I'm running into an issue though. I'm using the rand() function to > let the bot pick random posts and random return phrases, but it > doesn't seem to be changing after the initial request. My guess is > that this is an issue with POE and the rand numbers are only generated > once at compile time, so subsequent calls to the subroutine do not > produce different results. Anyone know how to get around that? Or if > that is even the issue? > > https://github.com/PsyDefect/dfwbot/blob/master/DFWpm/BotPlugin/Discuss.pm > > Sincerely, > > John Dexter > > > On Tue, Nov 12, 2013 at 7:29 PM, Coyo > wrote: > > I can't believe it's my birthday already. > > I feel so oooooooooooooold. > > My birthday is tomorrow, the 13th. A hump day. > > I hope that's an omen. > > > > On 11/12/2013 04:42 PM, John Fields wrote: >> >> 2nd Wed is huuuummmpppddaaaayyy. :) >> >> We will be running some home made bots and covering different >> ways to run them under Linux. Maybe add a stats page, or a >> tabulated log of results? Bring your ideas and "what ifs". >> >> As usual it is at the dallasmakerspace.org >> at 7pm. Some food afterwards at a >> local eatery. >> -------------- next part -------------- An HTML attachment was scrubbed... URL: From dfwpm at internetalias.net Tue Nov 19 21:09:13 2013 From: dfwpm at internetalias.net (Tommy Butler) Date: Tue, 19 Nov 2013 23:09:13 -0600 Subject: [DFW.pm] Fun with Perl and a few terabytes of mixed up photos Message-ID: <528C43F9.7050805@internetalias.net> My latest Perl mini-project was to write a program that could fix a broken photo collection from f-spot or Shotwell (Linux), or basically take a massive amount of images and sort them into an organized, date-based directory tree. In other words, with a terabyte or two of unorganized photos, JUST DO THIS --> $TARGET_DIR/YYYY/MM/DD/foo_099.jpg Instead of re-write everything I just wrote about it on my blog, I'll just link to the blog post (which has links to the github repo for the "exifsort" code). Maybe it will be as useful to others as it has been to me http://www.atrixnet.com/organize-photos-by-exif-date-or-how-to-fix-your-shotwell-library-with-perl/ --Tommy Butler -------------- next part -------------- An HTML attachment was scrubbed... URL: