960 grid system is a fixed width html layout framework. There is a bad ass generator at http://960ls.atomidata.com/ that used to be linked from the main page, and I have no idea why it is not there any more. Rank it up google!
Entries by pauls
So, Django Con Europe just ended a couple of days ago and all the party people have been blowing up the Planet Django feed that I subscribe to and I wanted to make a list of the talks I want to watch when they hit the 3 dubs.
- From static to real-time: one app's journey into the modern age - Interested because, when people at a Django conference have a talk about about node.js stealing some of Django's thunder, and you don't know much about node.js, it's basically the most relevant way to learn about it.
- How I Learned to Stop Worrying and Love Python Packaging - I can't claim to worry about how I package my Django applications, but I am almost sure that I can find some ways of making life easier on myself.
- Django and PyPy: Performant is a word
- 3 CMSes in 45 minutes
- One size fits all: responsive web design with Django, Compass, and the Less Framework - Interesting to me because I wrote different stylesheets for different devices once and never did it again because it was complicated.
- Continuous integration and continuous deployment
- unjoinify: a module to tame the SQL ...
I've been messing around with Erlang after picking up Erlang and OTP in Action(affiliate code) and hopefully I will be writing massively scalable applications soon because Erlang makes it so easy. Even though I'm not quite there, here is what I got so far:
-module(all_work).
-export([convert_temp/1]).
convert_temp({T,c}) ->
{T * 9/5 + 32,f};
convert_temp({T,f}) ->
{(T - 32)* 5/9,c}.
A simple program to convert C to F.
24> c(all_work).
{ok,all_work}
25> all_work:convert_temp({73,f}).
{22.77777777777778,c}
26> all_work:convert_temp(all_work:convert_temp({73,f})).
What is Next? Who knows.
572 days were accounted for in the output of uptimed but I had this same Linode allocated to me since oct 20th 2008, thats about 30 months that it has been up and run a variety of distros starting with Gentoo, then CentOS 5, Debian, and now I am switching to a new linode running Ubuntu server LTE 10.04.
root@steni / $uprecords
# Uptime | System Boot up
----------------------------+---------------------------------------------------
1 236 days, 23:10:44 | Linux 2.6.18.8-x86_64-li Tue Oct 27 18:48:32 2009
2 220 days, 09:51:07 | Linux 2.6.18.8-x86_64-li Mon Jun 21 19:00:39 2010
3 109 days, 15:10:44 | Linux 2.6.18.8-x86_64-li Fri Jul 10 00:29:42 2009
-> 4 11 days, 05:28:18 | Linux 2.6.18.8-x86_64-li Fri Jan 28 09:14:53 2011
----------------------------+---------------------------------------------------
1up in 98 days, 09:42:27 | at Wed May 18 01:28:29 2011
no1 in 225 days, 17:42:27 | at Thu Sep 22 09:28:29 2011
The justification for deploying to another server instead of keeping this one came from the fact that I wanted to switch to a 32bit OS and also wanted to run Nginx ...
(btw, this article is also being typed on a querty keyboard, it wasn't that easy to pick up after all.)
I knew about Dvoark for some time but I have never bothered to try it before, but I was sold when I read that when using Dvorak, 70% of the keystrokes were on the home row as opposed to 32% with qwerty. Also, to improve the speed that people type, the vowels are on one side of the keyboard so that you can alternated from right and left hands when you type words with alternating vowels and constants.
I decided to jump in and add the keyboard layout for Dvoark and used http://learn.dvorak.nl/ to practice typing. I was surprised how many words that were type able with out moving your fingers off the home keys. At the end I was given a summary of how I did. In my defense, there might be a couple of minutes counted in there when I was changing the keyboard layout but I might of refreshed before I started. Regardless, either way I have ...
Getting your SyncML phone working with Ubuntu just got a lot harder in their newest release, but fortunately it is still possible with a bit of work. In the latest release, they moved from libsoup 2.2 to 2.4 and didn't leave the old version in the repositories, so to get it working, you need to download the .deb packages for karmic and install them side by side.
- http://packages.ubuntu.com/karmic/libsoup2.2-8
- http://packages.ubuntu.com/karmic/libsyncml0
- http://packages.ubuntu.com/karmic/opensync-plugin-syncml
When installing libsyncml0, i had to install libwbxml2-0 which can be gotten from aptitude. Also there are a couple of other programs you should also get.
So, to get your phone working (in my case a Nokia Symbian 3rd edition phone) you need to do the following things.
aptitude install libwbxml2-0 multisync-tools multisync0.90 opensync-plugin-evolutionand then install the deb packages from the previous links in their listed order. From there on you can use
hcitool scan to get the MAC address of your phone, and then sdptool browse MAC to make sure that your phone uses channel 10 for syncing with SyncML.After you have that information you can go ...
I have had to update my resume lately and a while ago I wrote it using LaTeX
which is a typesetting program. Typesetting programs are different then word
processors as they allow you to focus more on the content rather then laying
everything out on the page. A few cases where LaTeX trounces Microsoft word is
when you are writing anything that uses a predefined layout that must be
adhered to such as a paper written in MLA format or a book. While it excels in
some areas it fails miserably in others, for most use cases anyway. So you are going
to have your work cut out for you if you are trying to make posters, fliers,
banners, and any other type of thing where you really want to focus on layout
while writing.
While I don't write many MLA papers anymore, LaTeX is still the de facto
standard for writing papers in academia and it is great for writing anything
that contains a lot of math equations. If you have ever used Microsoft Word's
equation editor, you can see that it is time consuming and using LaTeX markup
is still not going to be faster then ...
Tax season is approaching in the United States and like most people I am concerned about where my money will go. A few days ago the state of the union address was taking place and of course the hot topics these days are job creation and ways that united states can retain its position as the world superpower. While there has be a increase of unemployment recently, I am still very strongly against welfare hand out systems and I believe that if people cant find jobs on their own because there is a shortage, jobs need to be created that will benefit the people that are paying for them, IE the tax payers. As they say, there is always work to be done.
About 55 Years ago, Eisenhower dumped $25 Billion into creating interstate highways and this kind of investment has been paying off ever since. It created American jobs and has also benefited the people that paid for it. Because of it, our economy was strengthened and many people that would otherwise have been left out, were given opportunities they needed to get back on track.
While we still need to appropriate money into our road system, we now ...
Yesterday I was fooling around with python and trying to serve
some XML to a Cisco 7960 I have. I spent a lot of time getting
my web server set up to serve a dynamic XML page which I could pop
my phone book information into and when I finally got it done it
wouldn't work. Searching online I found out that the latest
firmwares from Cisco, 9.*, has a couple of bugs in it dealing with
XML. Unfortunately I don't remember where I found this information
but I can give out the sparks notes on what I saw.
When I was served the page from a web server, if it responded
HTTP/1.0 OK, no good, the phone would only accept if it was
HTTP/1.1 . I was getting some cryptic 404/BTXML errors but I could see
that the files were fine by loading it on to the production
server as a static file. Sure enough the phone was able to parse
it, so I actually moved the dynamic parts to the production
server to see if it would work as well.
After moving it, the phone can read it fine but I am ...
You are most likely used to using your computer to do something, and to do that, you need to run processes. While at this point you could have your computer launch a shell, you would still have a lot of setting up to do such as mounting hard drives, bringing up your network adapters, starting services, launching a GUI or what ever else you want to do. This is tedious and beyond the ability of most people so instead of running a shell the first process your computer runs is some kind of process manager. Traditionally this has been the init program which is the parent of every process that is executing.
Init is controlled by a handful of scripts that in turn ...