Tuesday, 11 December, 2007

Google Chart API

Google have released their chart API. Here’s a few alternatives for Python:

See also vtk and MayaVi

Posted by simonb on 12/11 at 05:18 PM
InternetPythonPermalinkEmail this bit
Tuesday, 30 October, 2007

google apps gmail smtp pop quirks

Google Apps is a marv thing. And free too. Since looping our email through Google we’ve been getting much less spam. But I’ve noticed the following quirks:

1. smtp.gmail.com is clever about the From field. The user I authenticate as is the one that shows up in the From field when the message is received. So even if I set the From field to be info@..., if I login as simonb@… The receiver sees email From simonb@… Once you’ve authenticated most services let you set the From field to whatever you like.

2. Mail from me to me is invisible to POP. I was emailing error messages to myself which appeared to come from me rather than the from the From field I’d set (see above). These messages appear in the GMail online Inbox but when I try to download via POP they are invisible.

The above is solved easily enough by creating a new user to represent my test box and have the email sent as the test-box-user. Proceed.

Posted by simonb on 10/30 at 02:25 AM
InternetTechPermalinkEmail this bit

Mac Postfix sasl_passwd

Here’s a page explaining how to make the sasl_passwd.db file used by Postfix when SMTP relaying mail.

Posted by simonb on 10/30 at 12:48 AM
InternetMacPermalinkEmail this bit
Wednesday, 17 October, 2007

mac postfix smtp relay

It’s often useful to have a local SMTP server one can throw messages at without passwords and authentication. For example, if you’re doing a quick hack or sending messages from a program like Apple’s Mail. It’s even more useful if your local SMTP server can contact your regular SMTP server to send the messages into the greater interweb.

Macs come with postfix installed which can do just that - but without any graphical means of configuration I doubt most people know it even exists. It is a fully functional mail server though and can be used as such. Postfix Enabler will probably work for most people who want graphical configuration. Others will read Postfix’s excellent docs and edit the config files using vi. However, there are a few cases in which Postfix Enabler falls short. Namely if you’re contacting a SMTP server that expects STARTTLS.

To get postfix to use STARTTLS when contacting a SMTP relay you simply add:

smtp_use_tls=yes

to /etc/postfix/main.cf

Newer versions of Postfix recommend a different way of saying the same thing - check which version you have and read the docs. My Mac has 2.1.5 current release is 2.4.

Doing the above after using Postfix Enabler fixed my problems.

Of course, if Apple respected my choice of email client (Thunderbird) rather than forcing me to use Mail everytime I want to mail an event from iCal none of this would matter.

Posted by simonb on 10/17 at 02:14 AM
InternetMacPermalinkEmail this bit
Friday, 09 February, 2007

Yahoo’s Pipes

Yahoo Pipes is very cool. Proof at last that the Internet is a series of tubes.

Posted by simonb on 02/09 at 02:15 PM
InternetProgrammingComments (0) • Trackbacks (0) • PermalinkEmail this bit
Wednesday, 31 January, 2007

MySpace Lessons in How Not To Build A Web Site

Baseline Mag has an overview of how MySpace coped with rapid growth. Basically a good lesson in how not to build a dynamic database backed website. 

Posted by simonb on 01/31 at 02:04 PM
DesignInternetProgrammingComments (0) • Trackbacks (0) • PermalinkEmail this bit
Sunday, 21 January, 2007

JavaScript Books

Here’s a list of some JavaScript books:


Personally I spend a lot of time with The Definitive Guide.

Posted by simonb on 01/21 at 11:28 PM
InternetProgrammingComments (0) • Trackbacks (0) • PermalinkEmail this bit
Thursday, 18 January, 2007

Shanghai Metro Has A New Website

Shanghai Metro has a new website. There’s no metro map on the site though. Why would there be?

Posted by simonb on 01/18 at 06:55 PM
ChinaInternetComments (0) • Trackbacks (0) • PermalinkEmail this bit
Wednesday, 17 January, 2007

urllib2.URLError: urlopen error unknown url type: https

Note to self: for the following to work on a Mac with fink’s python

xml = urllib2.urlopen("https://api.del.icio.us/v1/posts/recent").read()

Your python needs ssl support.

fink install python24-socket-ssl

Phew!

Posted by simonb on 01/17 at 07:31 PM
InternetProgrammingPythonComments (0) • Trackbacks (0) • PermalinkEmail this bit
Sunday, 14 January, 2007

Mozilla Makes A Profit

The audited 2005 financial statements for the Mozilla foundation are online. Income from search kick-backs was USD 50 M. Profits after tax where about USD 26 M. Wonder if any of this money will find its way back to the unpaid volunteers… See also Mitchell’s blog.

Posted by simonb on 01/14 at 09:26 PM
BusinessInternetProgrammingTechComments (0) • Trackbacks (0) • PermalinkEmail this bit
Wednesday, 13 December, 2006

Firebug

Firebug 1.0 beta is out. If you’re a web developer you need Firebug. It makes a lot of things easy that used to be a pain. It is marv.

Posted by simonb on 12/13 at 10:55 AM
InternetProgrammingComments (0) • Trackbacks (0) • PermalinkEmail this bit
Thursday, 15 June, 2006

Dr Fun Comes To An End

Doctor Fun, the long running Internet cartoon, has come to an end. It started back in 1993 which makes it probably the original Internet cartoon. It is, in my opinion, the best cartoon on the net.

Posted by simonb on 06/15 at 10:08 AM
InternetHumourComments (0) • Trackbacks (0) • PermalinkEmail this bit
Tuesday, 30 May, 2006

Cool Accessibility Color Wheel

Color wheel demo of differing foreground and background colors and how they affect accessibilty.

Posted by simonb on 05/30 at 08:09 PM
AJAXDesignInternetComments (0) • Trackbacks (0) • PermalinkEmail this bit
Thursday, 11 May, 2006

Google Trends China

google trends
Google has a new function that lets you compare search and news results for keywords. Above is an image for the trends for Shanghai, Beijing and Hong Kong. It is interesting to note the following:

  • Search Volume: Beijing has the lowest search volume, Shanghai is double Beijing’s and Hong Kong is more than double Shanghai’s
  • News volume: Shanghai has the lowest news volume, Beijing and Hong Kong are approximately equal at double Shanghai’s volume

It’s interesting the Beijing and Hong Kong generate about the same amount of news. One would expect Beijing, as the capital, to generate more than Shanghai. But I am surprised how close Hong Kong and Beijing are. Maybe this is the language effect - I am searching in English. Search volume tells another story there is clearly a huge amount of interest in Hong Kong (at least for English searchers) - much more so than for Beijing and Shanghai. If one adds Taipei and Singapore to the results (left as an excercise for the reader) we see Singapore at double Hong Kong for searches while Taipei is the lowest of all five. So in terms of where the action is (at least as far as Google is concerned) we get the following (high to low): Singapore, Hong Kong, Shanghai, Beijing, Taipei. Which is interesting because I’ve visited Singapore many times and I can safely say it is the most boring place on Earth.

Posted by simonb on 05/11 at 12:18 PM
ChinaInternetComments (0) • Trackbacks (0) • PermalinkEmail this bit
Tuesday, 09 May, 2006

IE Gag No. 2

Q: What’s the only web browser that my Internet banking supports?
A: IE 6

Q: What’s the most insecure browser you can use?
A: IE 6

Oh, dear…

Posted by simonb on 05/09 at 01:48 PM
InternetHumourComments (0) • Trackbacks (0) • PermalinkEmail this bit

Page 1 of 2 pages  1 2 >