I was clearing out some gear at the office to give myself a fresh start to the new year and found this snake! It was quite dosile and It’s only a small one (about a foot long) and seemed to have travelled some distance to get in here.
Here’s a Hagakure wallpaper I made after watching Ghost Dog (excellent movie). I created the kamon symbol in Illustrator and put the wallpaper together in Photoshop. I created three versions of the wallpaper all available for download from my deviantart gallery: 1920 x 1080 resolution (HD PC), 1680 x 1050 resolution (widescreen PC), and 640 x 960 resolution (iPhone 4).
Recently I’ve been developing a lot of reporting applications in JavaScript and have collected a few helper functions that I use regularly for number formatting. Here’s a look at each function and how you can use it in your own projects including rounding to a defined precision, adding commas, and adding ordinals.
development · hints · JavaScript · number formatting · tips · web site
Found a very interesting web site called Body Browser by Google Labs. It’s like Google Earth for the human body. It provides even more browsing features with it’s ability to filter / x-ray the view from bones to circulatory system to organs in addition to similar 3D scroll and zoom functionality as seen in Google [...]
27
iPhone 4: Removing water condensation from the camera
35 Comments · Posted by Darian in Devices and Platforms
Last night was a bit wild. I remember getting home sometime in the early hours and stumbling from the car to the shower to soak away the drinking. By the time I realised that I still had my wallet and week old iPhone 4 in my pockets, they were dripping wet. I checked my phone this morning and found water condensation on the inside of the camera lens and flash!
When I began developing PHP I found the biggest stumbling block for me was learning the best practices and many nuances for greater performance, especially when querying a database. I found a great little benchmarking solution in the PHP manual by accident. It’s great because it’s an integrated solution that is simple to use and outputs it’s benchmark data in the generated HTML as a comment.
development · performance · PHP · tips
15
Automatically connect to VPN at Windows startup
18 Comments · Posted by Darian in Devices and Platforms
I use VPN for work quite often, and lately more often than not. I needed a way to connect to VPN as soon as possible, even before I logged in to Windows. The answer is to use the RASPHONE and RASDIAL commands with the Windows Task Scheduler.
connectivity · hints · VPN · Windows
I’ve found debugging my JavaScript projects much easier since using Firebug, but more specifically outputting to the Firebug console using the console.log() function, plus a few more.
development · hints · JavaScript · tips · variable
9
jQuery: Using .ajax() inside a loop and variable scope
26 Comments · Posted by Darian in Development
On my latest web app I ran into a problem with a jQuery .ajax() call inside a for-loop that had me stumped for a while. It took a lunch break to clear my mind so I could regather my wits and troubleshoot the issue. Which turned out to be quite a sly JavaScript variable scope problem. Here’s a look at why this happened and how to fix it.
AJAX · development · hints · JavaScript · jQuery · tips · variable
