StvOR!

March 22, 2008

Link: The ten commandments of Unicode

Filed under: All, Links, Development

http://cafe.elharo.com/programming/the-ten-commandments-of-unicode/ by Elliotte Rusty Harold

via Ryan Tomayako

March 19, 2008

Debugging Python HTTPConection recipe

Filed under: All, Linux, Python

Nice built in way to debug http connections problems in your python code.

This is nothing new, just for my reference, so I don’t have to hunt it down every time I need it.

   import httplib
   import urllib2

   # For urllib it's enough to do
   # httplib.HTTPConnection.debuglevel = 1
   #
   # but for urllib2 we have to:
   handler =  urllib2.HTTPHandler(debuglevel=1)
   opener = urllib2.build_opener(handler)
   urllib2.install_opener(opener)

Sources: python docs, Jamie Grove, python mailing list

March 18, 2008

Mark Pilgrim rip’s apart Joel Spolsky’s IE8 standards mode appology

Filed under: All, Webmonkey, Comp-misc

Here is original from Joel: Martian Headsets

and Mark Pilgrim’s Translation From MS-Speak to English of Selected Portions of Joel Spolsky’s “Martin Headsets”

My personal favourite:

” Or maybe they won’t… in which case, IE is going to lose a lot of market share.”

I know IE is going to continue to lose a lot of market share, and I’m publishing this now so I can blame you dirty fucking hippies for it later.

December 28, 2005

Cool utility of the day - Gnome Blogpost utility

Filed under: All, Linux, Python

I just saw a nice gnome application Gnome Blog Post. Its nice little utility for quickly posting short blog posts,

It doesn’t have much editing futures except basic: bold, italic and insert link, but it does support 3 of the most popular blog sites :

It also supports popular selfhosted blogs: I miss a few things, one is support for images( I just bought a new camera :) ) and the other is support for categories or tags(like O’reilly Radar).

Since I played a little whit PyQt I was looking for small application to program as a training exercise. I think such a blogging tool fits the bill nicely and it could also be usefull to Kde users. Since original is written in Python (with PyGtk widgets) my job will be easier.

I will post progress updates to this blog.

December 25, 2005

Merry Christmas - Future plans

Filed under: All, Linux, Python, Webmonkey, Pic

bozicno_drevo1_sm

Again I am not dead jet. I still can’t bring myself to post to this blog regularly. It’s not that I don’t have time, but whenever I start to write about some topic, I get so immersed into it, I forget to finish the post. So I have lots of half written drafts around. But thats going to change now. Why? I have finally started to learn to touch type. So I have can kill two birds with one shot: having up-todate blog and practice typing.

Other project I started or I will start shortly are: python GUI programming (Qt, wx, and reluctantly Gtk), python web frameworks (TurboGears, Django, Cherrypy). I have also been playing with different web servers (apache, lighthttpd, monkeyhttp).

Also I plan to brush up on my PHP, and C skills.

Comming up mini review of linux touch-typing tutors.

Delicious tags: linux python web

October 11, 2005

google hits - Do it yourself trend analyser

Filed under: All, Python, online

google hits - Do it yourself trend analyser

google hits From the site: Track the amount of google search results for keywords you define.

This is a nifty python utility by Ricardo Niederberger Cabral that tracks number of hits (or estimated hits) google returns for your keywords.

It makes it easy to make trend analyses of keywords (tags) you are interested in.

It would be even better if we know how google estimates number of results since as Kevin Dangoor points out that doesn’t necessary show number of actually results.

It would be interesting to see weather we could plug in other search engines or blog searches.

October 6, 2005

Online email with gmail

Filed under: All, Python, online

I have been running my own linux email server for a couple of years now, but i am seriously thinking about switching to online email provider such as gmail.

Reasons why I have been running my own server till now was:

  • Control: I can control everything, from spam blocking to number of aliases to web frontends or size of mailbox (only limited by hd space)
  • Backup: I can be sure that none of my email gets lost by making regular backups. You would be surprised how many ISP’s that offer email in a package, don’t backup mail.
  • Its on my own domain name. This has little practical use but it has some cool factor.
  • IMAP, so your server does the hardwork, and you have all your mail accessible from multiple pc’s

Of course there are downsides like , hardware failures, making backups, verifying backups, keeping up with security alerts of server software you are running.

Setting up mail server and everything that goes whit it (postfix, cyrus, dns, firewalls, spammasassin, clamav), is not simple either, but then again it is very educational experience and something I don’t/didn’t mind doing.

I started thinking about switching after reading Jeremy Zawodny’s 30 day Gmail and Yahoo! chalange

Reason’s to switch:

  • They offer enough storage space to last me a while (its not 160 gb though ;))
  • Good searching, but i will miss grep
  • tagging == better folders
  • Decent spam control
  • google itself proved to be reliable host, despite some problem recently
  • Interface is finally responsive thanks to AJAX

Perhaps the most important thing is availability of broadband internet. If you see computer somewhere, there are good chances that its connected to the Internet. I can’t remember last place i couldn’t connect to the internet, but it was few years ago.

Important for me is that that there are libraries like libgmail , gmail.py and gmail file system whit which i can access my mail if i ever need to.

For starters i will switch my mailing list subscriptions and I will see how it goes from there.






















Get free blog up and running in minutes with Blogsome | Theme designs available here