# Wednesday, October 15, 2008

So after fiddling with JQuery for a while, I REALLY REALLY LIKE IT A LOT!!! I like how the whole library is built around the basis of the programmer basically saying "I like to find a bunch of tags which fall under these parameters and do something with it"

And that's pretty much what you do in a majority of clientside Javascript scenarios, either you'll be using Javascript to make some effects to alert the user to something (ie, change color, change size) or you'll just be using it to make your page look spiffier!

And basically that's what I have done in order to test out JQuery, I wrote a simple script and attached it onto my blog, now when the page finishes loading. The script will, using JQuery

  • Run through all A tags with a HREF that contains the words "/binary/WindowsLiveWriter" these are basically links to the full sized versions of images on my blog.
  • Replace the default behavior of clicking on those links so that clicking on them doesn't open a new window but instead.
  • Loads the full size image into a hidden image tag, then display it in place on the actual page itself so the user doesn't have to go through another window to see the full image.
  • And of course when the user clicks on the full image or anywhere in the void they get returned to the normal page.

And now of course.. for a sample.

DSC04383

Could I have done this without JQuery? ABSOLUTELY! Would it have been fun to do without JQuery? No. Would I have even considered doing it without JQuery? ABSOLUTELY NOT!!!

JQuery is definitely a library worth your time to check out and I wish I found out about it earlier!


Wednesday, October 15, 2008 10:19:17 PM (Malay Peninsula Standard Time, UTC+08:00)  #    Comments [1]  | 
# Tuesday, October 14, 2008

Silverlight 2.0 has left Beta and is RELEASED!!! Get your development tools over at the official site!

One thing of note that I must mention is that Visual Web Developer Express 2008 SP1 is now a SUPPORTED development environment! So you can now develop for Silverlight with the FREE tool!

Although I must say it's gonna hurt a lot since the XAML designer in Visual Studio is definetly not as powerful as Blend itself. Unless they've made some changes to it! I wouldn't know yet, still downloading and installing the new dev bits as I type this in.

Also.. hope the Silverlight Streaming Service gets upgraded soon too.


Tuesday, October 14, 2008 9:24:26 PM (Malay Peninsula Standard Time, UTC+08:00)  #    Comments [0]  | 

My colleague pointed me at a Javascript library called JQuery today, he was tellling me that it was a neat library to do client side animations. I was a bit skeptical at first cause I didn't like how some of the libraries worked.

But after running through some tests just now I'm impressed, it's nice, simple and clean. Very straightforward to use and doesn't seem like it'll get in the way of our other scripting methods, including the ASP.Net Ajax Extensions. But I guess to be sure I'll need to go through it a bit more.

I guess it doesn't hurt that Microsoft feels it's pretty good too!

Hmmm.. ok… have to try out something one of these days.


Tuesday, October 14, 2008 2:35:11 AM (Malay Peninsula Standard Time, UTC+08:00)  #    Comments [0]  | 
# Sunday, October 12, 2008

The following is an experiment of using High Speed Sync'ed flash on small objects.

About a week ago I finally found another possible candidate for a pocket multitool, a replacement in case anything happens to my Squirt.

DSC04861

The Victorinox Manager, not quite the Mini Champ which I was actually looking for. But it's not too shaby. The size is right.

DSC04863

And it's the Squirt's equal in thickness as well.

DSC04873

Of course the fact that it has a plastic shell and doesn't have a big pair of pliers means the Victorinox Manager feels much lighter than the Squirt.

DSC04874

Obviously they both come with a blade, almost the same length, just different errr… broadness. Let's hope I don't end up cutting myself with this one.

And of course they both come with the essential Phillips screwdriver.

DSC04889

Though on the Squirt it's more of a filed down normal screw driver instead of an actual cross. The Manager's Phillips screwdriver is an actual small cross.

And of course the main difference that might be the deal breaker when it comes to what to carry.

DSC04890

The Squirt houses a pair of pliers small yet adequate for light patch jobs when you need to twist something hard. Where as the Manager has the more commonly used scissors instead, ideal for precision cutting when a blade is unable to perform.

Being a Swiss Army Knife, the Manager has some errr… non tool like things.

DSC04892

Like a pair of tweezers, and a pen… which came DRY and UNUSABLE! must be because it was exposed in the display case for god knows how long! :(

One of the things that I realized is that.

DSC04893

I now have both a small and normal sized version tools for both Leatherman and Victorinox tools!

So.. after all that. I noticed that the shadowing is an interesting effect, albeit hard to control since I have only one flash… hmmm.. maybe I should build a lightbox next?


Sunday, October 12, 2008 9:53:39 PM (Malay Peninsula Standard Time, UTC+08:00)  #    Comments [0]  | 

Went to a little conference organized by Sony for Alpha owners today. They had a cosy little setup, first of all since they were allowing the general public to come and try out the equipment they had a little showroom for the various pieces of technology and gear that go into an Alpha camera. Including this little guy.

DSC04737

An cutaway view of an A700 camera, didn't exactly get the best angle for this thing today, will try again tomorrow.

Then of course they had to allow people to try out their cameras, so they needed subjects.. like

DSC04654

Bikes!

DSC04741

And where there are bikes…

DSC04701

There be posing models!

DSC04698

Sony did a great job of setting up a proper shooting stage, there were ample lights and they were nice and bright that I didn't even need to use a Flash at ISO100, so I could take nice clear shots with my 50mm Macro lens.

DSC04708

Normally I would have made a Deep Zoom album containing my other shots so you can check out the minute details of the pics. But… Silverlight 2.0 is going to RTM soon, and I don't want to risk having to recreate all the Deep Zoom images if there are any breaking changes.

So that'll have to wait.


Sunday, October 12, 2008 12:44:53 AM (Malay Peninsula Standard Time, UTC+08:00)  #    Comments [0]  |