How to force your Windows 7 to upgrade to Windows 10

Windows Update Windows 10
Windows Update installing Windows 10

I have a spare Thinkpad x200 with a full Windows 7 Pro license that’s gathering a bit of dust.  After doing some successful experiments with Windows 10 installed via the ISO I decided I wanted to upgrade the legitimate Win7 install.   I booted back into Windows 7, and after a million updates I had the Windows 10 announcement box, that let me put myself on the waiting list.  Due to what is probably bureaucratic tomfoolery you can’t just use the Windows 10 ISO and your Windows 7 product key to install Windows 10, you need to go through the process of letting Microsoft to “allow” you to update at a time they deem fit.

OR NOT!  Ha ha!

I found a set of instructions online on how to force Windows 7, or 8, or 8.1 to update your install to Windows 10.  Unfortunately the instructions listed in the main article didn’t work for me, but a comment did it almost right away.

Here’s the summary for techies, with sparse instructions (if you don’t totally get them, avoid, it might make things worse)

  1. Open regedit
  2. Find [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\OSUpgrade]
  3. Create a new DWORD (32-bit) Value named AllowOSUpgrade
  4. set the value to 0x00000001 by right clicking on it, using the Modify… menu item to enter a 1.
  5. From here I actually restarted the x200, and then re-ran Windows Update.  And behold it’s now downloading.

Ricoh GR shooting tip of the day, #1

(this probably won’t be a regular series I’m just bad at titles)

The Ricoh GR mode dialHere it is: Give up on Auto mode!   If you have a Ricoh GR, take advantage of the MY[1-3] settings.  You’ll get a much more satisfying result.  I’ve had my next-gen APS-C sized Ricoh for about a year now (migrating from my wonderful but broken Ricoh GR Digital III) and every once and a while I’ll slip the mode wheel into Auto, the green camera icon, thinking that it’ll make my life a little easier, or that the camera’s software will know better than I do about what my intention is.  It never works.  I’ll just have to live with the fact that I know better than my camera.

On that note I don’t want to say “hey if you’ve got a Ricoh GR, you should learn to juggle your aperture and shutter anyway” but there it is.  I said it.

My big tip?  Get cozy with TAv mode.

Auto will try to balance all three exposure variables, aperture, shutter speed, and ISO, which usually ends up creating blurry or mediocre pictures.   TAv mode allows you to set your shutter and aperture, but handles the ISO for you.  This is wildly helpful if you’re realistic about your lighting conditions.

Here’s what I do, personally.  MY1 is based off of TAv mode, with the high-contrast Black and White filter applied and a few other personalized tweaks.  MY2 is also TAv mode, but saves colour pictures in a pure RAW format (again with a few personalized menu tweaks).  MY3 is “Instagram” mode, it’ll save pictures in a 1:1 formatted large jpeg file with a date stamp.

So take 20 minutes and set your MY[1-3] settings and you will have a much more enjoyable time shooting with your GR.

BONUS TIP: Also, re-assign that “Effect” button on the left hand side.  That button is just silly.  But the placement can be very useful for other quick features like cropping to 35mm/47mm focal lengths.


Instagram Mode
What Instagram Mode may look like



Cabin owner beats back Northern Saskatchewan forest fire

Really awesome story via the CBC.  Mark Paquette managed to save his cabin from a forest fire by rigging up an industrial grade sprinkler system.

Some interesting extra details from the comments section (which, for once, are relatively crazy free.  Relatively..)

sprinklerhelp: @blahblahblah He used 2″ pipe creating a 200 x 200 perimeter around the property. Coming off the 2″ pipe is 3/4″ pipes running straight up 10ft with industrial brass impactor head sprinklers on top in 10 locations. The sprinklers shoot a 50ft radius. Not sure the exact pump used but i believe it pumps like 120 gallons a minute? riged up a fueling system so it would run or up to 18 hours….? About all i can remember…. i helped get the pieces together to build the system (how i know), he designed/ planned and installed himself. Worked like a charm apparently.. hope that helps with your inquiry.

Awesome work.

There’s so much going on with these Hacking Team e-mails #bitcoin #hackedteam

Via Reddit, apparently members of Hacking Team ran into Mark Karpeles in Tokyo?  Small world, but there doesn’t seem to be a lot of love there. Anyway as it turns out Hacking Team had a tool to copy Bitcoin wallets from end users. Not a big surprise.


You can get more insight into the Hacking Team e-mails at Wikileaks without having to download the entire massive archive.

Creating a custom mini-queue for Laravel 4.2

Let me preface by saying that there’s a better way to do this in Laravel 5.x.  I personally wasn’t totally onboard with the version of this functionality in Laravel 4.2 so I whipped up yet another version of my own.

Because it’s Laravel, it actually took me longer to write this blog post than to get this bit of code working. High-5.

I had a series of very lightweight API calls to make to a 3rd party endpoint.  The reliability of this endpoint is pretty good, but things happen.  So I wanted to queue calls to this endpoint so that in the event of trouble, I wouldn’t lose the call.  Pretty straight-forward right?  So here’s what I came up with;

I created a Job model as follows

class Job extends Eloquent
	protected $table = 'jobs';
	public $timestamps = true;

	protected $fillable = array(

	public function run()
		$result = $this->macro( $this->function, json_decode($this->data) );

		if( empty($result) ) {
			$error = 'Job ID '.$this->id.' executing '.$this->function.' failed to run'; 
		else {
			$this->imported = true; 


		Any function that can run as a macro must return false on failure
	public function macro($name,$data)
		switch ($name) {
			case 'widget_submit':
				$widget = new WidgetSender(); 
				return $widget->WidgetSubmit($data);
				Log::error('Job ID '.$this->id.' executing '.$this->function.' not found');


Above you’ll see a “macro” function. You don’t really have to do it this way and it has the potential to get pretty messy, but my rule is any job that gets put into a macro must be made as simple and modular as possible. Handle the ugly stuff elsewhere.

Using php artisan migrate:make jobs I created a database table under the up() function

		Schema::create('jobs', function($table)

To call this code, I use the following route and controller


// Run a generic job, for jobs that happen rapidly (once per hr?)
Route::get('/jobrun/{id?}', array('as'=>'jobRun','uses'=>'CronController@jobRun'));

Using this route code with the controller below, if I just run “/jobrun” it’ll fire off all of the jobs in the jobs table that have a null “imported” field. If I specify a job ID (which will be the ID assigned to it in the database) it will re-run that one individual job, which can be helpful for troubleshooting.

Code within my chosen Controller:

	public function jobRun($id=null)
		$count = 0;

		if( empty($id) )
			$jobs = Job::whereNull('imported')->get();		

			foreach ($jobs as $job) {
			$job = Job::find($id)->get();

		echo "SUCCESS: ".$count." jobs run - check your e-mail for results";

When I want to queue up a job in my code, I do the following

	$job = new Job;
	$job->function = 'inbox_submit';
	$job->data = json_encode($member);

This code is probably not suitable for high-traffic sites or more complicated operations. If you're in that situation in 4.2 it'll be better to read up on Redis or one of the other technologies Laravel 4 uses to manage Queues with it's built-in methods.