663 reputation
622
bio website schwern.net
location Portland, OR
age 39
visits member for 5 years
seen Dec 21 at 5:06

I write too much Perl.

I'm an independent contractor specializing in Perl, automated testing and software engineering training. If you have a nasty snarl of critical Perl code untangled, or need a perl or CPAN module bug fixed, or want to train your developers in writing tests, or find your development time is in a code 'n' fix loop and need help, I'm your man.

Contact schwern@pobox.com


Dec
9
comment Why would you `cat /dev/null > /var/log/messages`?
truncate -s 0 would do the same thing and be less idiomatic. However, shell programmers are a conservative bunch and one might encounter systems old enough or wacky enough to be lacking that command.
Nov
13
comment scp “lost connection” but ssh works fine
I don't have access to that machine anymore, but that seems a likely answer.
Oct
20
comment Can a 7 days full 100% CPU load “burn-in” / “stress test” damage a modern notebook?
@TomStevens Where did you get the information that laptops need a long burn in period to remove plastic vapors or have toxic vapors in the first place?
Oct
20
comment Can a 7 days full 100% CPU load “burn-in” / “stress test” damage a modern notebook?
"I seriously question that notebooks have a life of one year", he said typing on his 2011 Macbook Pro.
Mar
30
comment Casting a tab in Chrome has stopped working
Yes, Chrome is up to date. I gave Canary a shot and it works! Thanks, that will work as a stop gap until they fix the stable channel.
Aug
23
comment Windows 7 very slow to startup and restore from hibernate
I was using 1.70. Upgrading to 1.80 fixed hibernation, now it comes back in about 15 seconds. It also blew away my BIOS settings, so that may have been it. Thank you!
Aug
23
comment Windows 7 very slow to startup and restore from hibernate
Yes, it is a gaming rig, and it'll likely be less hassle to just re-download most of the content. I think I will try a clean install.
Aug
18
comment Windows 7 very slow to startup and restore from hibernate
Is uploading an ETL file safe?
Aug
17
comment Windows 7 very slow to startup and restore from hibernate
@Devid What do you mean by "closing the internet"? You mean disconnect my network connection? Yes, Windows Update says everything is up to date. I made a new standard account, it has the same hibernation problem. I disabled both Windows Defender Service and WMI in services.msc, no change.
Aug
17
comment Windows 7 very slow to startup and restore from hibernate
Looking at the ETL in WPA, there's very little in Services. Under DeviceIO LoginUI.exe, WmiPrvSE.exe and dllhost.exe all take 230 seconds from start to end. I looked into it a bit, seems WmiPrvSE.exe is a common source of problems, but I can't find solutions.
Aug
17
comment Windows 7 very slow to startup and restore from hibernate
@Devid I've tried disabling MSE to no avail. I'll make another account and try that. What do you mean by "close the internet"?
Aug
17
comment Windows 7 very slow to startup and restore from hibernate
@magicandre1981 I would also encourage you to post this as an answer. Posting answers in comments side steps the whole StackOverflow system and is stepping on Devid. So far your advice has been good, and it's cramped to get it like this on someone else's answer.
Aug
16
comment Windows 7 very slow to startup and restore from hibernate
I tried this, but couldn't make much of the output. I'll try xbootmgr.
Jul
15
comment Windows 7 very slow to startup and restore from hibernate
@Ramhound My mistake, it's MSE.
Apr
5
comment scp “lost connection” but ssh works fine
@Flup schwern.net/tmp/sshd.strace Thanks for looking into it.
Apr
5
comment scp “lost connection” but ssh works fine
@Flup Tried that. Nothing appears to be obviously on fire but I'm no strace expert. The only time the target file is mentioned is 3399 execve("/bin/bash", ["bash", "-c", "scp -t -- ~/tmp/"], [/* 8 vars */]) = 0
Apr
4
comment scp “lost connection” but ssh works fine
@Flup Looks normal. I posted what shows up in the logs when I connect.
Apr
4
comment scp “lost connection” but ssh works fine
Nope. I just get the usual Last login: Thu Apr 4 10:15:28 2013 from 1.2.3.4.
Jan
16
comment How do I turn off the perl-specific parts of find-requires when building an RPM?
Thanks, I will give that a shot next time I build that rpm.
Dec
14
comment How do I make an iTunes smart playlist by track rating, not album rating?
Better than nothing, thanks! And you can really say "track whose rating is" in Applescript? Wacky!