Schonhose

Home | PP Addons| Gallery | Photoblog

Public transport

November 24, 2009

Today I got confirmation the Dutch trains ride on a track, never on time.

Let’s just leave it at that.

Comments
1 Comment »
Categories
Miscellaneous

Quote of the day

November 6, 2009

“I realize, you know, it is good to go out and accomplish individual accolades. I’ve done that in my career but my ultimate goal is to win a championship. Your ultimate goal should be to win the state championship. In order for y’all to do that, you can’t do it by yourself. I don’t care how good you are, if you don’t have a team, you ain’t going nowhere. Everbody has to have two feet in the circle man. I’m all about the team, you dig?”

Tracy McGrady at the Brotherhood Adidas Camp

Comments
No Comments »
Categories
Miscellaneous

Bughunting

November 2, 2009
bug.gif

Since my photoblog layout is based upon a very old Mootools version I decided to redesign and reprogram the layout, switching from Moo to jQuery. The initial sliding sidebar along with some other options were quickly established and proved to be ok in Firefox, Chrome and Safari.

Enter the dreaded Internet Explorer, currently at version 8. After having the luxury to debug my JS using Firebug I have to say JS debugging on IE still pretty much sucks. Sure, it will give you errors, but these are so cryptic I couldn’t understand them if my life depended on them. Luckily we have Google at our disposal, so a quick search around the net showed several people having similar issues. So that is a good thing, it means we’re not alone in this.

But after reading several threads it just boiled down to one thing: trail and error. Shape and reshape the code until it finally starts working. It took me several hours, but now the code is working on all browsers, including IE 7 and IE 8. Looking back 1/5th of the time was used to created the page so it worked and the other 4/5th of the time was spend debugging IE specific issues (a fact well known as illustrated by the image below).

Sad but true

Comments
1 Comment »
Categories
Programming, Website

Strange behavior GoogleMap addon when using EXIF GPS coordinates

October 14, 2009
googlemaps.png

Today I managed to get to the root of a problem I have been trying to eliminate for some time now. It all has to do with the “use the EXIF coordinates” feature of the GoogleMap addon for Pixelpost. It seemed when using this feature the location magically shifted a few meters or even more.

When using reverse geocoding for latitude and longitude values Google Maps focuses on nearby (and sometimes not so near by) “points of interest” or the closest address it can find. This behavior can be changed by changing the following Javascript function function showLocationLatLng().

Change the code of that function to:
function showLocationLatLng() {
var latlng = new GLatLng(document.forms['view-latlng'].lat.value,document.forms['view-latlng'].lng.value);
editMap.addOverlay(new GMarker(latlng));
editMap.setCenter(latlng, 16);
}

This will force the addon to use the exact location of the image provided in the EXIF.

Comments
No Comments »
Categories
Programming
Tags
addon, bug, googlemaps, Pixelpost

Buma/Stemra backed down

October 9, 2009

Seems justice has prevailed. Buma/Stemra has decided not to go through with the collection of money for embedded content from YouTube.

Good riddance!

Comments
No Comments »
Categories
Miscellaneous

« Previous Entries Next Entries »

Navigation

  • Miscellaneous
  • Photography
  • Programming
  • Website

Countdown:

    No dates present

Tagcloud

3g addon allergic rhinitis backup basketball battery replacement Bob Marley budweiser bug Defensio design ebay exposition googlemaps HDR King layout update Lightroom Miscellaneous music paypal personal photoblog Photography Photoshop PHP Pixelpost pollens preview quote rant Touch UNC update videoclip vote Website Wordpress youtube

Photoblog: latest upload

IMG_1051.jpg

Paypal Donations

Why donate? Any donation will be considered a motivation to continue providing support and writing more plugins.

Please remember: it is not the amount but the thought that counts!
Amount: $

Twitter: