I'm blogging about programming, but ... hey look over there - it's something shiny!
Tuesday, May 29, 2012
Canoscan 8800F Scanner and Vertical Streaks
The problem image:
The solution image:
Canon email help was somewhat helpful, although they never solved the problem. To fix the vertical artifacts I had to lie to the scanner and tell it these were "Color Photos" instead of "Black and White Photos". Then everything worked fine. Must be some bug in the Black and White image processing algorithm.
Monday, May 28, 2012
Move over 1080p, 4K is on the way
The new spec comes in two flavors, 4K and 8K. 4K means the pixel count is 3,840 x 2,160 giving 8 megapixels per screen, instead of today's 1,080 x 1920 pixels which has 2 Megapixels. The 8K version packs 32 megapixels. This will be wonderful.
Already Peter Jackson and others are shooting in this new format. Get ready to re-buy all your favorite movies - again and start saving up for that new 4K screen.
But where will the madness end? I'll tell you. 576 megapixels. That's the estimated resolution of what the eye can really detect. Doing a little math for a 16x9 ration screen, [(16x)(9x) = 576Megapixels, solving for x gives us 2Megapixels] yields a screen 32Meg by 18Meg.
But, ultimately we will use individual glasses where an image is directly written to each retina by a tiny laser giving us crisp perfect 3D pictures. Yeah, lasers writing to our eye balls, creepy, but get over it - it's the future.
Wednesday, May 23, 2012
Google - u so awesome
Saturday, May 19, 2012
Google AdSense Report Thinks I'm Using an Unsupported Browser
Tuesday, May 01, 2012
HTML5 excanvas "Object doesn't support this property or method"
<!--[if lt IE 9]><script type="text/javascript" src="excanvas.compiled.js"></script><![endif]-->But when IE got to the second line below, it would die with "Object doesn't support this property or method".
var canvas = document.getElementById("mycanvas");
var context = canvas.getContext("2d");
The problem was that excanvas.js had not been fully loaded, so when IE hit that line, the canvas object didn't have a "getContext()" method. This happened because I was using this to start my javascript,
$(document).ready(letsStart);The "ready()" method kicks off when all the DOM has (pretty much) loaded, but excanvas.js still wasn't loaded. The solution was to replace "$(document).ready(letsStart);" with
window.onload = letsStart;Then my canvas app started working fine with an old version of IE.
BTW, my five year old daughter made this with www.MyDoodleDot.com
Monday, April 30, 2012
Making Contact Sheets with "montage"
Being very cheap, er,..., I mean frugal, and wanting to get a bunch of small pictures printed on real photo paper that I could slice into tiny 1 inch by 1.5 inch smaller-than-wallet photos, I used the open source, free "montage" program in the ImageMagick suite of tools on windows XP to create a contact sheet with this command:
montage pencil.jpg pencil.jpg pencil.jpg pencil.jpg pencil.jpg ^ pencil.jpg pencil.jpg pencil.jpg pencil.jpg pencil.jpg pencil.jpg ^ pencil.jpg pencil.jpg pencil.jpg pencil.jpg pencil.jpg ^ -tile 4x4 -geometry +0+0 -border 0 -rotate -90 pencils.jpg(Surely there's a way to not repeat "pencil.jpg", but I was in a hurry.) The source photo, in this case "pencil.jpg", needs to be 1 inch by 1.5 inches which will reproduce 16 times on a standard 4x6 inch photo. This is great if children want to give others a small picture of themselves.
Friday, April 20, 2012
Execution of user code in the .NET Framework is disabled. Enable "clr enabled" configuration option
Execution of user code in the .NET Framework is disabled. Enable "clr enabled" configuration optionMy first thought is , "I thought the .NET Framework kinda *had* to run CLR code." Turns out the project is using .Net CLR inside the database. The error message wanted to be
Execution of user code in the .NET Framework inside the database is disabled. Execute this TSQL: "sp_configure 'clr enabled',1" and "RECONFIGURE"So to fix this run this TSQL inside the database.
sp_configure 'clr enabled',1 GO RECONFIGURE GO sp_configure 'clr enabled' -- make sure it took GO




