Archive for the ‘Uncategorized’ Category

Find lat and lng for click event in Google Maps V2


2010
04.22

It seems a little strange, I am used to API V3, forgive me (which I do prefer).

GEvent.addListener(map,”click”, function(overlay, latlng, overlaylatlng) {
if (overlaylatlng) {
alert(overlaylatlng.lat()+’,'+overlaylatlng.lng());
}
if (latlng) {
alert(latlng.lat()+’,'+latlng.lng());
}
});

GEvent.addListener(map,”click”, function(overlay, latlng, overlaylatlng) {      if (overlaylatlng) {  alert(overlaylatlng.lat()+’,'+overlaylatlng.lng()); } if (latlng) {  alert(latlng.lat()+’,'+latlng.lng()); }});

Techno Chicken


2010
04.22

Haha

Awesome GIS Data


2010
04.21

I came across an awesome site for free GIS Data while trying to make a map of Southern Africa for a website. The site has a nice layout and nice colours, it has a very down to earth feel. haha

Diagram, Flow Chart Creation Software


2009
09.18

I had been looking for free software that would allow me to draw lovely diagrams and flow chart type things, to aid me in my software and project planning adventures. Well I found something that is usable. It’s called Dia.

Dia is “A program for drawing structured diagrams.”  Its open source, which is awesome. It could do a better job at anti-aliasing.. but otherwise it’s quite impressive. Now I have no idea what a diagram drawing application, at it’s best, can be. That is to say I have never used Microsoft Visio. So my views may be slightly primitive. Dia does seem to do what I need it to though, I can edit the squares and arrows and stuff all I need to, draw custom shapes and draw nice curving arrows too! There are tons of other diagram sheets, for making all kinds of diagrams!

Anyway, if you are looking for a nice diagram application that is free try out Dia

Screenshot of Dia from dia.installer.de

Screenshot of Dia from dia.installer.de

Adobe Flex


2009
08.12

I have been thinking about ways to create fast and responsive RIA’s and AJAX doesn’t seem to be able to cut it. Therefore I have been checking out Adobe Flex, it does seem very impressive. I read something about expensive server extensions, I’m hoping I can plugin our own backend to work nicely with Flex otherwise I may have to stick with AJAX.

One awesome thing I read about is the ability to open Sockets with Action Script, and transfer data in any format over TCP without using HTTP, even compressed data. I wonder what advantage that would give exactly.

Nokia N80 Firmware upgrade


2009
03.31

I upgraded my N80’s firmware recently from version 4.x to version 5.x the upgrade was painless using the Nokia Software Updater. I couldn’t reinstall the programs I had been using before, I was using S60 Spot On and NSysInfo, I think I’ll have to re download them.

But anyway I’ll try list some of the changes I have noticed:

  • Active Display now displays WLAN scanning. (It’s easy to turn scanning on and off now, it only takes one click of a button, this is great!)
  • The everyday use of the phone is now faster.
  • The clock feature where you set your alarm seems to display extra date and location information
  • The battery is lasting a lot longer, I am very impressed by this.
  • New Internet Tel. feature
  • WLAN Wizard
  • In the Send menu for images, etc. There is now a Web Uploads option, which allows you to set-up service providers to upload your images to.
  • I received a MMS and it seems the phone auto-retrieved it, before I had to select retrieve to get the actual picture or media.
  • When using Go To a web address the phone automatically adds ‘http://www.’
  • The phone seems to be more stable, I have not had any crashes or reboots since.

While there are not many new apps or new features, the usability has improved. This firmware is definitely worth upgrading to.

My ADSL and Packet Loss


2009
03.29

For quite a while now I have been having problems browsing various websites. I have had the most trouble browsing sites related to Google. I am not exactly sure what the problem is my router doesn’t loose sync, it doesn’t loose connection the the gateway either.

The problems are not restricted to Google sites, but 99% of the time it is international sites, this might have something to do with the fact that I mostly browse international sites though. Google Analytics and Google Maps are a nightmare to use, a page will just sit loading for ages with nothing happening, the activity light on my router doesn’t flash but just sits there happily and steadily glowing green. I have to click on what ever I last clicked on again and hope that the page will load this time round. This is beyond irritating I assure you.

I did a Line Quality test at DSL Reports. I saw something interesting, on the 2 IPs closest to my IP there was 4-5% packet loss. Another interesting thing is that whenever I ping Google, I normally end up with 1 packet being lost. If I flood ping with 100 packets, I get 1 packet lost, if I flood ping with 20 packets, I get one packet lost. Sometimes I get a lot higher packet loss (60-80%) but most of the time I get this 1 packet being lost, would this be enough of break a request sent by my browser? Would this single packet being lost be the reason my browser sits ‘transferring from google.com’ for 10 mins to infinity and my router’s activity light sits completely not blinking? If so how can I find this out?

Anyway one of the support staff at the ISP I use said I have high noise on my line and my connection keeps dropping due to port errors. This does seem like it could be the problem, I think this because of what I saw on the DSL Reports Line Quality test. Specifically on the ping plot, all the lines will be full, then all of a sudden one will be empty, then the next one is full again. Maybe this is where my line has dropped. Maybe this is where my request is being broken. Maybe. I have logged an ADSL fault with Telkom so I will have to see how that turns out, I hope they send a technician out sometime soon. I did log it online as I didn’t feeling like sitting on the phone listening to the same sample of the same 3 songs for 30 mins, and then going through the whole unplugging and plugging in again of my router and telling them where the power is plugged into (?) and telling them where the phone line is plugged in and what lights are on etc etc.

And this is the end of my completely uninteresting post on my current ADSL problems!

Close ups


2009
03.18