I’ve just got myself an upgrade phone - Nokia E65. I’ve chosen this one mostly because it has wifi and it comes with Skype installed.
After a short while I felt somewhat not satisfied with the pre-installed Skype. It works only through 3G and that’s a huge issue for me right now as I live in a poor reception area.

So after googling a bit I’ve stumbled upon fring.
This cool little app is like Norton Commander was for your DOS 5 ;)
It takes your Skype, Jabber, GTalk, AIM, (and so on) contacts, adds your contacts from your mobile phone and let’s you use nearby WiFi or 3G connection to make calls and chat like you would normally do with your mobile but through service provider of your choice - make it your GSM provider, Skype, Fring - no problem.
You can set it up to launch every time you turn on your mobile.

The only issue I have found so far, and it’s most likely related to E65 firmware, is that every once in a while for no reason the mobile soft-reboots itself while having fring and wifi connection active.

Overall I recommend this app for everyone that has a symbian mobile and has some internet connectivity (3G/WiFi) and uses Skype.

So you need to write an external script that would run outside Django and still have access to your app’s models?

Nothing could be more simple.

Python [Show Plain Code]:
  1. from django.core.management import setup_environ
  2. import settings
  3. setup_environ(settings)
  4.  
  5. from foo import models
  6.  
  7. # rest of your code…

Cross domain scripting (or XDomain) can be good or evil, depending who is using it. But for an average Joe the Programmer XDomain scripting is blessing. Unfortunately most browsers don’t let your JavaScript to make a request to anything else than the server it was downloaded from.

Just few moments ago I had this problem when I needed to send a GET request to a RESTful server to trigger an action.
Unfortunately for me my script didn’t come from the server I needed to send the request, thus the browser killed the request on the spot.

There is a workaround, at least for simple situations like this one.
If you create an invisible iframe (style=”display: none”) you can set it’s src to the link you need to trigger and it will work without a glitch.

Here’s a sample code:

  1. <iframe id="remoteFrame" name="remoteFrame" style="display: none"> </iframe>
  2.  
  3. <a href="#" onclick="document.getElementById(’remoteFrame’).src = ‘http://restfulserver.com/get?something=1′"> Trigger the server without reloading this page!</a>
  4.  
  5. or this link: <a href="http://restfulserver.com/get?something=1" target="remoteFrame"> Trigger the server without reloading this page!</a>

I believe that with Dojo it would be even possible to have fairly easy access to the content of the iframe generated this way (I’ll check that and post the results here)

This thing is even more funny now than back in the times of MS-DOS 5 ;)

So it’s my 4th day in Paris, finally weekend, time of slacking around and it’s about time to know Paris a bit better :-)

My adventurous nature forced me to go wild on this first day on the unknown land…
I’ve decided to go on foot… which ofcourse is not the best idea in a city that size :)
But I’ve found my way to Louvre, where I’ve spent most of the time today. I’ve bought myself a map with all the places of interest clearly marked and I’ve planned my tour for tomorrow :)

So, tomorrow I will take metro no. 4 to Montparnasse, there I’ll go up on to the roof of the Mountparnasse tower… being the tallest building around, this should be a nice view. I may have a quick look at the Musee de la Poste (it may be interesting). Then I’ll take metro no. 6 to get to Champ de Mars, to see the Eifel tower of course :). From there on foot I’ll go to Trocadero gardens. After a brief stop there I’ll head towards the Arc of Triumph, and from there via the Champ Elysees I’ll head to see the Parc de Monceau. From there fast forward by metro no. 7 to Porte de Villette to see the City of Science and Industry, especially the La Cinaxe and the La Geode. Then I’ll have a quick look at the submarine L’Argonaute and chill out in the Parc de la Villette. Then if I’ll have some time left I’ll visit the Musee de la Musique and head back to the hotel… phew this is gonna be a long day :)

Below are the photos I’ve taken so far.