36 Chambers – The Legendary Journeys: Execution to the max!

December 31, 2012

Obamacare’s Crony Capitalism Link

Filed under: Chicagoland, Curmudgeonliness — Kevin Feasel @ 7:00 pm

Paul Mirengoff points out some of the crony capitalism inside Obamacare.

Sadly, this is par for the course.  When Washington is in charge of buying and selling, politicians and big business will tend to get the better of such arrangements.

For once, I agree with Jamison Hensley, AFC North guy on ESPN

Filed under: Sports — Tony Demchak @ 5:40 pm

I’ve taken Hensley to task a few times in the past. But for once, he’s dead on with this article. 

Firing Pat Shurmur made sense; he’s not a bad guy, and I’d like to see him succeed elsewhere, but he averaged three wins a season. That’s no good. Firing Heckert is a mistake, though. He knew what he was doing, made some excellent draft choices, and has put this team in a position to, if not make the playoffs next year, threaten it. Maybe even go 8-8 (the Holy Grail of Browns fans; well, realistic ones, anyway.) A quality coach will help with that too. You can’t blame Heckert for the team he inherited when Phil Savage was fired, and his picks and roster moves have thus far been sound.

I hope the new owner of the Browns knows what he’s doing.

December 30, 2012

OAuth Providers

Filed under: (In)Security, Programming & Work — Kevin Feasel @ 6:00 pm

Ben Foster has a nice roundup of how to set up OAuth with some of the biggest providers (Google, Facebook, Twitter, LinkedIn, and Microsoft).

December 29, 2012

Security Notes

Filed under: (In)Security — Kevin Feasel @ 6:00 pm

December 27, 2012

The Costs Of Bailing Out

Filed under: Curmudgeonliness, Economics — Kevin Feasel @ 6:00 pm

Direct costs:  north of $10 billion.

Indirect costs:  much higher.  What happens the next time a large firm goes to Washington for a handout?  There’s plenty of precedent and lots of greased politicians.

December 26, 2012

Revising President Grant’s Reputation

Filed under: History, Keeping Cool With Coolidge — Kevin Feasel @ 6:00 pm

President Grant was better than many people have learned in history classes.  This is yet another Ohio President who has gotten a bad rap unfairly.

December 25, 2012

Automated Backup Tuning

Filed under: Database Administration — Kevin Feasel @ 6:00 pm

Nic Cain has an excellent script to automate backup tuning.  He published this literally the same day that I had to start tuning a large database’s backups, so I was cursing him for not releasing it 24 hours earlier…

December 24, 2012

Another Round Of Security Notes

Filed under: (In)Security — Kevin Feasel @ 6:00 pm
  • Holes in the GPS system.  We’ve known about them for a while, so I’m not sure how catastrophic this latest one is.
  • Don’t click stuff, QR code edition.  I wonder if anybody actually uses QR codes in practice.  Considering that doing this on my phone or tablet would be like blind-clicking random links on the security equivalent of a Windows 98 machine, I don’t.
  • Numbers of some minor import.
  • A laughable article on The Cloud.  Regarding point #1, if bank robberies were as common as online data breaches, banks certainly wouldn’t exist in their current form.
  • Somebody has to pad an article…  I probably shouldn’t link to any posts regarding predictions out of principle.  It’s not like any of these predictions are necessarily bogus, and some of them are essentially “things will continue to proceed apace,” so they don’t seem far-fetched.

December 23, 2012

“Scheduling” An E-Mail For A Long-Running Job

Filed under: Database Administration — Kevin Feasel @ 6:00 pm

Here’s the scenario:  you have a SQL Server Agent job which is currently running and you want to know when it completes.  You can use Adam Machanic’s sp_whoisactive (or a less civilized alternative, but honestly, who wantst that?) and hit F5 like a monkey on crack until you see the SPID running this job ends.  Or you could do the same thing with the Job Activity monitor, but again, I’d like to do some more work in the meantime.  So here’s my hacked-up one-off solution, which I ran in an SSMS query window:

declare @JobName sysname = 'MY JOB NAME';
declare @Now datetime = current_timestamp;

while not exists
	select *
		msdb.dbo.sysjobhistory jh
		inner join msdb.dbo.sysjobs j on jh.job_id = j.job_id
		j.name = @JobName
		and run_date = convert(char(8), @Now, 112)
		and STUFF(STUFF(RIGHT('000000' + CONVERT(VARCHAR(8), run_time), 6), 5, 0, ':'), 3, 0, ':') > cast(@Now as time)
	declare @msg nvarchar(500) = N'Still waiting:  ' + cast(current_timestamp as varchar(32))
	raiserror(@msg, 10, 1) with nowait;
	waitfor delay '00:01:00'

declare @JobRunMessage nvarchar(250) = N'The job you are waiting for (' + @JobName + N') has completed.'
exec msdb..sp_send_dbmail @recipients='my e-mail address', @subject='Job completed', @body=@JobRunMessage;

This is a fairly simple, light-weight script.  Given a job name, it searches through the SQL Server Agent history for an outcome later than the current time.  Once it gets one, the loop ends and we get an e-mail.

If you’re doing this often, you might simply want a notification e-mail sent when the job completes.  You can set that up in the Notifications tab on your job.  In my case, I didn’t want this because this is a job which runs every minute and occasionally has a large load to process, and I simply wanted a one-time solution.

December 22, 2012

More Microsoft Doom Notes

Filed under: Computinating, Computing Devices — Kevin Feasel @ 7:00 pm

Windows 8 appears to be a flop in the business world.  This makes total sense to me:  in my experience so far, Windows 8 has a good feel for a tablet-based system, where you may lack a keyboard or end up doing a lot of work with a touchscreen.  But as far as desktop-related work goes, they didn’t really improve the Windows 7 interface but they did shuffle things around and make it harder to get to places if you do not already know the name.  For example, try to get a casual Windows user to shut down the machine.  It’s harder than you might think.

And don’t get me started on the UI for Server 2012…

Infoworld’s review, I think, is tough  but fair.

It kind of feels like Microsoft is trying to force businesses and consumers into Windows 8 by (perhaps) not offering a second service pack for Windows 7.

Older Posts »

The Silver is the New Black Theme. Create a free website or blog at WordPress.com.


Get every new post delivered to your Inbox.

Join 99 other followers