Posts for the 'Internet' Category

  1. The new web stack

    There is a really interesting article over on Ilya Grigorik’s blog titled . Be sure to read the comments if you are interested in how AOL built a similar system many moons ago.

    I have been thinking about next generation web stacks, with proper (M)VC in the browser, communication with server using SPDY / WebSockets / SSE or similar with SSL, and then the topology of the stack in the background being event driven and that article has some really nice points. Kinda interested in playing with 0MQ now and perhaps hooking it up to Go, Erlang or just plain old Gevent.

    Probably wouldn’t use a NoSQL backend because there is little reason most of the time.

    The hackernews article is here: http://news.ycombinator.com/item?id=3481140

    Damn I feel old fashioned having this blog on Apache | PHP | MySQL. At least my work environment is Nginx | Gunicorn | Python | Postgresql

    By timc3 on the
    January 19th, 2012
  2. Webcasts to watch

    Recently I was unfortunately quite ill and away from work for an extended time, the only upside being that I had some time to spend learning some new things and watching web conferences on my Apple TV2. Of those that are of interest, I am going to note them down here:

    * LeWeb – Really quite good, european focused web event
    * PyCon 2011 – A must watch for anyone using Python.
    * JSConf – Good Javascript conference, though I got the feeling that it wasn’t quite as friendly as Pycon.
    * Webstock – New Zealand conference.
    * Future – Some interesting interviews.
    * Google Techtalks

    Of course I also watched quite a lot of Ted videos.

    I will keep adding to this list as I find more events to add, as there must be quite a few now.

    By timc3 on the
    April 15th, 2011
  3. Realtime web – Orbited vs Tornado

    My latest task and one that I have been researching and playing with for some time is to integrate real time feedback in to our web application. The main goal is to be able to provide real time feedback of jobs and updates to users without Ajax style polling.

    This is a simple requirement to write, but one that had many deeper issues. Firstly it needs to be able to handle many users concurrently and secondly it should do so without blocking execution of code. Our application framework was not designed for this and this is no problem, it has been designed to do certain thing well and other I am really not going to force upon it.

    The main application framework will handle the standard page requests, user authentication and the rest of the standard stack, so I have been looking at technologies to complement its capabilities. This has led me to look at Comet applications and very fast non-block frameworks.

    Of these I would prefer to keep the language in Python, there seem to be good alternatives in Java and .Net but I would rather keep an upgrade path by having a language that can be migrated across to these (thanks Jython and IronPython) and keep data in a backend store that is language agnostic.

    Orbited and Tornado are really good candidates. I am going to stay away from more raw implementations of non-blocking event based frameworks such as Twisted because efforts are often better at this stage in building to serve a business purpose where possible. Orbited does actually use twisted, and I am hoping that I will have little need to dig that deep except for understanding its implementation.

    Tornado I initially didn’t think of, but came around after reading “Building the Realtime User Experience” in which the author, Ted Roden, seems rather partial to it. In fact it can work quite well in fronting our application, but I am starting to reconsider based upon two factors. Firstly, even though it itself was built for a largish scale operation (FriendFeed – now owned by FaceBook), it has little other commercial users behind it and I haven’t found many examples of usage with integrating with Django, Pylons, Turbogears or Zope in a production environment. Secondly what really turns me off is the immaturity of its tests. Looking on GitHub even the README shows that little effort has been put into its testing environment, let alone their sporadic coverage.

    Twisted on the other hand is extremely mature in both terms of numbers of deployments and its test environment, and this makes Orbited a much better candidate.

    I have yet to look at certain other alternatives, such as Diesel, but I have a feeling that I will again come around to start using Orbited.

    The other huge plus for me in using Orbited is that it can use the STOMP protocol, and use RabbitMQ or ActiveMQ. Other parts of our technology stack are starting to use STOMP and I wish to move more operations on to an event queue, which will open up much in terms of flexibility in the future.

    Its a pity that “Building the Realtime User Experience” was so limited in terms of covering alternatives to Tornado.

    By timc3 on the
    August 16th, 2010
  4. Google chrome OS

    Wow, Google have announced the release of the Google OS. Although it wasn’t entirely a shock its nice to see that they are promoting something from the ground up.

    http://googleblog.blogspot.com/2009/07/introducing-google-chrome-os.html

    Looking forward to trying it out even if I don’t have a netbook.

    By timc3 on the
    July 8th, 2009
  5. Django and OSX

    Those who have been here before know that I am a big fan of the Django python webframework, and also a big fan of OS X. So I thought that I would install Django on my MacBook Pro.

    I did have it all installed on my G4 laptop, but I am going to be using it with at least two different databases on this machine. I am not going to give a complete, what I typed style install, just an overview because it is fairly easy.

    1. Install latest version 2.4.* of Python from http://www.pythonmac.org
    2. Check out the development version of Django from http://www.djangoproject.com/download/ (I checked it out in /django – probably not the best place to put it.)
    3. Install latest stable version (5.1) of MySQL from http://www.mysql.com/
    4. Install latest stable version of MySQL tools http://www.mysql.com/products/tools/administrator/
    5. Install MySQLdb from http://www.pythonmac.org/packages/py24-fat/index.html
    6. Create a symlink so Python can find django: ln -s /django/django_src/django/ /Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/django
    7. Then I followed some instructions on blog.vixiom.com to add the path that I need.
    8. edit your .bash_profile file in your home directory with the following path: /django/django_src/django/bin/:/Library/Frameworks/Python.framework/Versions/Current/bin:

    Now that should be everything needed to start running with Django and MySQL. PostGreSQL is of course the better database but for the testing work that I am doing my webhost at the moment doesn’t support PostgreSQL..

    By timc3 on the
    July 9th, 2007
  6. upgraded wordpress

    Just a quickone, but I have upgraded wordpress on this site to version 2.2.1 which should be the very latest. I had it stuck at a very old version before so it should operate better now, and also I should have all the latest bug fixes.

    By timc3 on the
    July 3rd, 2007
  7. Zussaweb now with Newzbin IDs

    The modification I made to zussaweb the PHP frontend to HellaNZB is now available in sourceforge for downloaded as a 0.3 release.

    They tidied it up abit, but I am glad it made it in after all the requests and emails that I got for this feature.

    Now perhaps I should integrate a Newzbin RSS feed!!

    By timc3 on the
    November 8th, 2006
  8. Firefox 2 is released

    So firefox 2 the latest release from Mozilla is out to the public today, and so I am typing this to you from it.  I think its looking good, though I am not sure what it is doing to the padding on the backend of WordPress.

    I am really liking the built in spell checker.  Its a nice feature particularly when you spend a lot of time typing into websites.

    Firefox2

    Available from http://www.mozilla.com as always.

    By timc3 on the
    October 25th, 2006
  9. Dreamhost backup plans

    I have been looking at how I backup my data at home, and one thing that always comes to mind is how to get these backups of site, and preferrably into a different geographical area easily.

    Well Amazon S3 storage was always on my mind, but recently dreamhost have gone crazy with their storage offerings.  I know have over 400Gb of space with over 4Tb of transfer for a small outlay each month.

    A cost comparison has been done here by Joseph Scott showing how the two compare:

    http://joseph.randomnetworks.com/archives/2006/10/03/amazon-s3-vs-dreamhost/

    I am going to be looking at implementing something with dreamhost I think, I am not a major corporation, I am a home user with some data so I think dreamhost will be fine.

    Bacula and Backuppc are two projects that run on Debian that I will be checking out, and first and foremost I want to make sure that my data is encrypted quite strongly.  Though I am probably going to put up my photo archive just as is, to have easy access when needed.  More posts to come on this.

    By timc3 on the
    October 8th, 2006