06/15/09
This is pretty simple to accomplish, though how exactly to do it can be hard to find. Quite simply, you add OUTPUT to your parameter lists, on both your procedure definition and your actual call, like so: Defining: Calling: If you run this in SQL Server Management Studio, this will give you the output: If you miss the OUTPUT on the calling side, your value will simply be unaffected, and will output instead: If you miss the OUTPUT on the defining side, the OUTPUT on the calling side will generate an error: 06/08/09
Link: http://i.gizmodo.com/5276024/blade+covered-baby-equipment-perfect-shower-gifts-for-the-antichrist I'm not really a baby person, but this crèche furniture is quite appealing. 05/21/09
This bill has been causing some stir in Alberta. Essentially, the bill modifies the Human Rights, Citizenship and Multiculturalism Act RSA-2000 cH-14 here with modifications that, for the most part, add sexual orientation to these protected categories:
So why all the big fuss? Well, a couple of reasons: one, there's an addition to the act that, seemingly out of the blue, protects students from educational exposure or testing of:
Two: a comment by the premier of the province, Ed Stelmach. From a CBC article:
I have my own few thoughts about the act... 05/17/09
Did you know that it's really easy to get through a gigabyte of data in two days without using torrents or streamed video and audio (albeit with a little bit of Skyping)? Neither did I up until a few hours ago. Major contributors: Windows update, Outlook syncing, VMWare Fusion dmg download. 05/16/09
Apropos of not much: - Trying to sync over wifi when your laptop is already connected to a pay-to-play wifi hub doesn't work. Apple really needs to open up their iTunes sync API so that third party apps can piggyback on it. 04/30/09
Link: http://www.flickr.com/groups/977532@N24/ I don't have a copy of iPhoto'09 with the feature that tries to automatically recognise people's faces and tag them. I'm looking forward to trying it out eventually. In the meantime, I'm enjoying the Flickr group where people post some of iPhoto's near (and quite wide) misses. 04/29/09
Link: http://emperor.tidbits.com/TidBITS/Talk/2606 TidBITS, an Apple-centred news/discussion site, had a very brief discussion on unlocking cellphones after the contract is up. I have to say I'm unsure why cellphone companies are not obliged to do this. The rationale -- as I understand it -- is that the cost of the phone is subsidised by the contract and the longer the contract, the more the subsidy (i.e. the cheaper the phone is.) Once that contract is complete, the subsidy should be fully paid back and therefore the cellphone should be entirely yours. However, on a locked phone this is not the case as it's still limited to use on only that particular cell network. I can see why the cell companies don't want to do it as it's an extra impediment to switching, and if the phone was free with a contract I could even accept it, but when you're spending several hundred dollars on a more sophisticated device like the iPhone the device should be yours free and clear. Imagine buying a house where the mortgage company said (after being paid back in full) "Ok, it's all yours, but you're still going to need to pay us to live in it." It's a bit absurd. 04/28/09
Link: http://www.wired.com/science/discoveries/magazine/17-05/ff_neuroscienceofmagic?currentPage=all Wired has a nice writeup on magic tricks and the shortcomings of the human perceptual system that allow them to work. A hearty thank you to the folks who do my hosting for catching this. A hacker or script kiddie managed to upload a somewhat nasty-looking package into my cgi-bin directory. I haven't thoroughly investigated the code yet, but from the looks of it, the intention was either that any time the system tried to run an automated backup, it would send atrocious amounts of spam, or if someone typed in the url plus backup.cgi, it would give a direct-mailing interface, which would allow someone to send atrocious amounts of spam. I'm leaning towards the latter possibility, because there is a "flood" mode in the script. The script itself self-identifies as being made by "YellSOFT" and perhaps being called "GoldeR". (I can't seem to get the text to show up in Russian to get it translated) The package also contains text files filled with alternative greetings (e.g. HI, Dear, Sorry if you not us), declarations of you-like-nudism (e.g. The favourite a nudism site of your friend invites you.), lists of unsubscribe messages, spamvertised redirection web sites (often using a /video or /private directory on someone else's web site), and a giant list, in a file called f.txt, of faked From: e-mail addresses. Thank you oh so very much, you bottom-feeders. As for my part, off I go to inform each and every one of those sites of the presence of the redirection page. I don't know how much I can hope for, but maybe I can help knock off a few. As I write this, all nine sites have the redirector page. 04/26/09
Link: http://www.bogost.com/games/a_television_simulator.shtml When I moved off the Amiga to other platforms, I left behind a number of interesting hardware tricks required for producing the sterling graphics the platform was known for. When trying to use the Amiga file formats on other platforms, the results were never as good due to those features being absent. The linked to article discusses something very similar with the even older games consoles that took advantage of the behaviour of the low end technology available at that time -- specifically artefacting from cheap televisions -- and how never technology doesn't represent the appearance or behaviour correctly, often making it look a whole lot worse than it was. (Via BoingBoing) 04/24/09
Who knew? A fry up really does help to cure hangovers. According to an article in Britain's Torygraph:
04/23/09
Link: http://appshopper.com/navigation/mygps I keep tabs on applications in the iTunes Store that drop to free as it's a chance to try out an application that otherwise I wouldn't bother with. Sometimes when looking at the apps, you see some very odd behaviour. At the link is a program called "MyGPS". Since its introduction in mid-February this year, it's changed price just under 40 times, typically dropping to free and then back up, usually on the same day. The main reason this price volatility caught my eye is probably the same reason that the author does this: I downloaded it thinking it was free when in fact it had just gone back up in price. I wasn't paying enough attention as I should have been (caveat emptor and all that) but this isn't what I would have called upstanding ethical behaviour on the part of the author. I've not spent much time seeing how many others do this, but I frankly wouldn't be too surprised to see that it's widespread. 04/22/09
Link: http://www.staples.ca/ENG/Catalog/cat_sku.asp?CatIds=&webid=649935&affixedcode=WW Pluses: Small, attractive shredder capable of destroying CDs and credit cards. Staples will replace it when it fails within the warranty period. Minuses: Randomly decides that it's going to no longer turn on. Small paper bin means frequent changes; removal of paper bin to empty it shuts off power; see first minus. 04/21/09
Link: http://en.wikipedia.org/wiki/Five_Live_(EP) While trawling my way through a used CD store down in Tulsa, Oklahoma, I found an EP ("Five Live") credited to George Michael and Queen. The recordings on it were recorded for a concert to benefit charities in Freddy Mercury's name. I'd never heard of it before so decided to give it a try. The conventional Queen songs ("Somebody to Love", "There Are The Days Of Our Lives") were well done but basically not terribly interesting. Where it gets fun is where the band mixes together Seal's "Killer" and Barrett Strong's "Papa Was A Rolling Stone". It's not a combination I would have expected to work but it does. If you can find a copy, well worth a look. Link: http://www.offworld.com/2009/04/fallout-new-vegas-obsidian.html Oooh oooh oooh. There is no way that The Pitt is going to tide me over until then though. Hm, I think I may have a copy of WoW:WOTLK lying around which might fit the bill. |