Skip to main content

One Heck of a Week

So I've had one heck of a week.  I had computer issues.  Now, I'm a programmer, so computer issues for me are usually a shrug and fixed, but this took me a whole week, so I decided to share the kind of horrendous things that happened.

The lesson to be learned

First, there is a bit of explanation required.  Over my years of programming, my main asset has been that I can get into "learning mode" where I follow instructions explicitly and don't worry so much about what each instruction is doing until it works and I can go back over it and figure out what the instructions had me do.  This experience seems to have served to teach me that there is an inherent flaw in following instructions without thinking.  In the future, while following instructions, I will try to remember to do so with caution.

How it all started

So it started with a rookie mistake.  I was setting up a raspberry pi 2 with arch linux, and the instructions require you to use fdisk.  What did I do?  I formatted my hard drive of course.  I thought originally that I had formatted my linux drive (my system was dual boot).  It turns out I had formatted my base windows drive.

As if that wasn't enough

So things got wonkier from there.  I recovered my linux drive's data, at which time my bios interface stopped working.  My BIOS didn't stop working, as I could boot into linux, but I could not access the interface (which was configured for secure boot).

I even went old school

I recovered the windows drive in linux, but couldn't boot from it.  I pulled apart the whole laptop and reset the CMOS chip and nothing changed.  Just at my wits end, someone on StackExchange chat suggested I pull all the hard drives and see if the bios would show up.  It didn't, but for some reason when I put the hard drives back in, the system decided to try to boot from the windows drive first instead of the linux drive.  For some reason that action made the bios interface accessible again.

It fixed itself?

So I turned off secure boot, and plugged in my windows drive with the intent of making the recovery partition spit out the windows key.  After several hours of fiddling, I caved and bought a new copy of windows 8.  I tried one last time, calling MSI tech support to recover that key,  The tech support guy suggested that I press F11 on boot (something I had read about as a way to brick your MSI, but I was in learning mode and didn't think)....which made my bios not work again.  Thankfully, my machine was stuck with a boot order putting USB first.  I popped in my shiny new windows install, formatted the other two SSDs and it's been working ever since.


I still can't access bios, but hey, you win some you lose some.


Popular posts from this blog

How to identify a skilled programmer during an interview

How does one identify a skilled programmer?  No company that has interviewed me could tell the difference between myself and other programmers they'd interview.  The interview process is truly a game of luck in this industry--on both sides.  Both the programmer and the company are basing their actions entirely on luck.

Companies have come up with numerous methods to attempt to discern a good programmer from a bad one.  The best tricks they have include a series of math problems, algorithms, problem solving technique tests, and even obscure programming questions, some without definitive answers.  As an example: Is there an authoritative source of information on the core principles that define object oriented programming?  I've heard everywhere from 3 to 7.  In a field of research about a synthetic concept, an authoritative answer is almost impossible to obtain.

Programmers were then forced to study to the interview.  Careercup is one of my favorite sites for this.  This almost …

Dependency Injection - You're doing it wrong!

So I have worked at a lot of places and seen a lot of different styles of programming.  Early on in my career, I became acquainted with the concept of dependency injection.  It was a hard topic to grasp, but I have learned understand it deeply.  Now, when I step into a new application that uses it, I can very quickly see the flaws in the implementation, and there's a common one I want to talk about today: global singletons.  But we'll get to that in a minute.

What is Dependency Injection?
Dependency Injection is exactly what it sounds like.  You use it to inject your dependencies. The unique part about Dependency Injection though, is that you can do this at runtime.  Now this sounds fancier than it is.  By inject we don't mean they're downloaded for you.  You still have to have all of the parts installed where you want to run your app.

Dependency Injection is somewhat of a complicated topic to a newbie.  Let's start with defining the word dependency here.  Specific…

Managing Programmers

Working with other programmers is tricky.  That said, it's nothing compared to the job of managing programmers.  One of my favorite quotes about Perl is that (paraphrased) "a Perl developer is like a rockstar.  Now imaging having a bunch of rockstars in one room together and you will understand why you don't want an entire team of Perl developers."  It's not about Perl here though. What's important to understand is that any developer worth his salt is going to be like a rockstar.  And yes, there are a lot of professional developers out there who aren't worth their salt, but that's for another post another day.  Rockstar may not be the right term here, but think of it this way.  These guys are smart.  They may not be geniuses, but there's going to be things that they know that you don't and probably never will.

I've seen it more than once and it's not going to make some Product Managers happy, but I'm going to state a fact, an eleph…