Ionrock Dot Org

by Eric Larson

My Weblog

Being Aware

Yesterday there was a close call. I am not going to go into details because the most blaring thing learned from the event is to be aware of your surroundings. This seems obvious in some contexts, but in reality it is too easy to become lazy and comfortable with public situations. This translates to driving as well. So, take a moment to take a quick look around when you are in a public space and see who is around. You never know if you could be in danger. I am not saying to be paranoid. No, instead, be more like the super spy kind of person that always knows where all the "bad guys" are any moment without breaking a sweat. Be a spy, seriously.

Posted Thu Jan 26 19:12:21 2006 by Eric Larson

Django

I have been working with Django for a day or so and it is pretty nice. This past semester (my last!), I learned Rails and it was a great experience. Rails is very nice because it is so well organized and exposes a great design pattern in a way most other web systems do not. I say "web systems" by the way, because working on any web based software could benefit from the way Rails organizes and implements a system. Django does many of the same things as Rails, yet in a more specific way. The biggest example so far has been the concept an admin interface.

In Rails, you have direct access to models through model controllers. Rails expects the developer to solve any security concerns on his/her own. This makes Rails extremely flexible, which is very good when you are looking for a framework to build applications on. Django on the other hand takes a more specific route and enforces an "admin area" paradigm where information on the site is edited through a specific admin interface. This makes sense because Django was created as a tool for creating publishing systems. Any publisher will want editing stages and other public/private features from the get go, so including these in Django makes quite a bit of sense. At this point, I am not sure what it means for flexibility in the long run, but for first impressions, it makes a slick admin interface that seems very helpful.

One glaring difference between Rails and Django is the speed. Running the Ruby Webrick server is incredibly slow. Even running a Rails application locally, there is a lag. Django on the other hand feels blazingly fast. I am not surprised to some extent because there is so much great Python based server code that could have been used. I am hoping to find out more about this.

I should point out that I have just been playing around with Django. I haven't had to develop anything specific just yet. After trying TurboGears, Django has been much more cohesive. TurboGears was very nice in that you learn many different stable and popular packages, yet it is very much alpha software and I think that integrating all the different packages it uses is probably more work than it is worth. Hopefully by the end of the week I can be a guru in some Python web framework, Django or otherwise.

Posted Mon Jan 23 19:54:10 2006 by Eric Larson

A Windows Virtual Desktop Tool?!

I have started my new job and within the move from State College to Austin, I am also finding myself having to relearn what I once knew in Windows. What is surprisings is how difficult it is to get away from things like key bindings and small workflow issues that I had in GNOME that I don't have in Windows. A very obvious one being virtual workspaces.

I tried a few tools such as the powertoys from microsoft but it was slow and didn't have a way to set the key bindings to something like in Metacity. What I did find was Virtual Dimension, a virtual workspace manager for Windows that is pretty awesome. It stays out of my way and allows for keybindings like I had in Metacity. The best aspect is that it is fast, unlike the windows powertoy.

My other big hurdle has been life without Emacs. I have tried to run Emacs in Windows and while it is possible, it is just not preferable at the moment. My resolve has been to settle on Eclipse. It has Emacs key bindings, also runs on Linux and has great plugins for Python (PyDev) and XML/XSL (Oxygen). The CVS and general organizational tools are also proving to be useful as well. With that said, I still may go ahead and try my hands at Vi.

Posted Fri Jan 20 01:05:21 2006 by Eric Larson
Created using Python, jQuery and Emacs