<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-7177512239558629959</id><updated>2011-07-30T18:36:20.044-07:00</updated><category term='install'/><category term='bashrc'/><category term='mysql-python'/><category term='mod-python'/><category term='refit'/><category term='github'/><category term='fink commander'/><category term='cflags'/><category term='sed'/><category term='firefox'/><category term='operation lead'/><category term='dylan'/><category term='libjpeg'/><category term='git'/><category term='python'/><category term='leopard'/><category term='speeddownload'/><category term='adobe cs4'/><category term='load-path'/><category term='macvim'/><category term='vim'/><category term='israel'/><category term='actionscript'/><category term='opera'/><category term='mysqldb'/><category term='safari'/><category term='jihadi'/><category term='linux'/><category term='64 arch'/><category term='architectures'/><category term='emacs'/><category term='pinax'/><category term='mysql'/><category term='wallpaper'/><category term='fink'/><category term='programming'/><category term='pil'/><category term='music'/><category term='format'/><category term='editors'/><category term='django'/><category term='regex'/><category term='iTunes'/><category term='build'/><category term='aquaemacs'/><category term='mac'/><category term='icon'/><category term='mod_python'/><category term='partition'/><category term='camino'/><category term='ide'/><title type='text'>tickletik</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://tickletik.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7177512239558629959/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://tickletik.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>tickletik</name><uri>http://www.blogger.com/profile/06393258873017973811</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>23</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-7177512239558629959.post-5537612546993570409</id><published>2009-07-20T04:42:00.000-07:00</published><updated>2009-07-20T04:51:32.858-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='architectures'/><category scheme='http://www.blogger.com/atom/ns#' term='pinax'/><category scheme='http://www.blogger.com/atom/ns#' term='install'/><category scheme='http://www.blogger.com/atom/ns#' term='django'/><category scheme='http://www.blogger.com/atom/ns#' term='pil'/><category scheme='http://www.blogger.com/atom/ns#' term='python'/><category scheme='http://www.blogger.com/atom/ns#' term='libjpeg'/><title type='text'>Python Imaging Library Macbook</title><content type='html'>Well, I'm thinking of installing a new framework called &lt;span style="font-weight: bold;font-size:130%;" &gt;&lt;a href="http://pinaxproject.com/"&gt;Pinax&lt;/a&gt;&lt;/span&gt;, which is a souped up version of django.  I'm hoping to create a test case by rolling my own blog.&lt;br /&gt;&lt;br /&gt;Anyway, one of the features of Pinax is that it comes with everything including the kitchen sink.  Including the dreaded Imaging module.  Now I say it's dreaded, because in order to get it running you need to be using &lt;a href="http://www.pythonware.com/products/pil/"&gt;&lt;span style="font-weight: bold;"&gt;PIL&lt;/span&gt; (Python Imaging Library)&lt;/a&gt;, which in itself depends on &lt;a href="http://www.ijg.org/"&gt;libjpeg&lt;/a&gt;, which is a massive headache to install.&lt;br /&gt;&lt;br /&gt;Why?  Because libjpeg will only build to either i386 or PPC architecture (sound familiar?), and NOT to a fat client.&lt;br /&gt;&lt;br /&gt;Normally, this isn't a problem, except that the build phase for PIL &lt;span style="font-weight: bold;"&gt;does&lt;/span&gt; build to a fat client.  Which means the damn thing won't work.&lt;br /&gt;&lt;br /&gt;After a lot of hunting, I found someone else who had the exact same &lt;a href="http://www.python-forum.org/pythonforum/viewtopic.php?f=17&amp;amp;t=12768"&gt;problem&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;To cut to the chase, the solution can be found &lt;a href="http://passingcuriosity.com/2009/installing-pil-on-mac-os-x-leopard/"&gt;here&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Incidentally, you can install libjpeg7 no problem.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7177512239558629959-5537612546993570409?l=tickletik.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tickletik.blogspot.com/feeds/5537612546993570409/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tickletik.blogspot.com/2009/07/python-imaging-library-macbook.html#comment-form' title='37 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7177512239558629959/posts/default/5537612546993570409'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7177512239558629959/posts/default/5537612546993570409'/><link rel='alternate' type='text/html' href='http://tickletik.blogspot.com/2009/07/python-imaging-library-macbook.html' title='Python Imaging Library Macbook'/><author><name>tickletik</name><uri>http://www.blogger.com/profile/06393258873017973811</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>37</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7177512239558629959.post-1375450723748607372</id><published>2009-01-28T20:03:00.000-08:00</published><updated>2009-06-13T19:05:00.064-07:00</updated><title type='text'>I hate apple</title><content type='html'>I really really do.  Sometimes I think the people at Cuppertino intentional make things weird just to trip me up.&lt;br /&gt;&lt;br /&gt;Anyway, I needed to install libxml2 onto my system, because the default version just won't cut it.  But of course, the system ignores what I installed and keeps using the /usr/lib version.&lt;br /&gt;&lt;br /&gt;So I overwrite it.  Sensible right?  I mean, I'm just using the latest version of some code written BY THE GUYS THAT CAME UP WITH IT IN THE FIRST PLACE ... naturally the whole system breaks down.&lt;br /&gt;&lt;br /&gt;So I boot out, reinstall the libxml2 libraries that come with the installation disc and hunt around and find out that &lt;a href="http://0xced.blogspot.com/2006/07/dealing-with-outdated-open-source-libs.html"&gt;I'm&lt;/a&gt; &lt;a href="http://blog.offbytwo.com/2008/05/07/installing-lxml-on-os-x-leopard/"&gt;not&lt;/a&gt; &lt;a href="http://lsimons.wordpress.com/2008/08/31/how-to-install-lxml-python-module-on-mac-os-105-leopard/"&gt;alone&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;I hate apple.  I wish adobe would come out with a flash IDE for Linux so I can just switch over and use an operating system THAT ACTUALLY WORKS.&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;mycomputer$ export ARCHFLAGS='-arch i386 -arch ppc -arch ppc64 -arch x86_64'&lt;br /&gt;&lt;br /&gt;mycomputer$ ./configure --with-python=/Library/Frameworks/Python64.framework/Versions/2.6 --prefix=/usr/local/libxml2-2.7.3&lt;br /&gt;&lt;br /&gt;mycomputer$ make &amp;amp;&amp;amp; sudo make install&lt;br /&gt;&lt;br /&gt;cd /Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages&lt;br /&gt;sudo ln -s /usr/local/libxml2-2.7.3/lib/python2.6/site-packages/* ./&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/code&gt;Note that when you are passing over the value for --with-python, you are only passing the dir where python2.6 is located&lt;br /&gt;&lt;br /&gt;Two invaluable sites:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://jamesclarke.info/notes/libxml2/"&gt;James Clark&lt;br /&gt;&lt;/a&gt;&lt;a href="http://lsimons.wordpress.com/2008/08/31/how-to-install-lxml-python-module-on-mac-os-105-leopard/"&gt;lsimons&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7177512239558629959-1375450723748607372?l=tickletik.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tickletik.blogspot.com/feeds/1375450723748607372/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tickletik.blogspot.com/2009/01/i-hate-apple.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7177512239558629959/posts/default/1375450723748607372'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7177512239558629959/posts/default/1375450723748607372'/><link rel='alternate' type='text/html' href='http://tickletik.blogspot.com/2009/01/i-hate-apple.html' title='I hate apple'/><author><name>tickletik</name><uri>http://www.blogger.com/profile/06393258873017973811</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7177512239558629959.post-4663272337462032913</id><published>2009-01-07T20:07:00.001-08:00</published><updated>2009-01-07T22:42:12.003-08:00</updated><title type='text'>Why "but he's our SOB" is really just an SOB</title><content type='html'>I never liked Christopher Hitchens.  OK, I'll admit that I found his debate with his brother to be pretty sweet, but on the whole I've felt him to be pompous and fanatical.&lt;br /&gt;&lt;br /&gt;Like a lot of atheists, he's as devoted to his anti-religious screed as the people he decries are devoted to their own religions.  But I could live with that.  I could live with his insults to my religion, especially regarding circumcision.  I could live with the vitriol he directs at religious Jews in general.  I could live with the backhanded insults he gave to America, probably the worlds greatest Democracy.  A country founded primarily by religious Christians.&lt;br /&gt;&lt;br /&gt;I could live with it, because I understood the principle of &lt;span style="font-style: italic;"&gt;"the enemy of my enemy is my friend".&lt;/span&gt;  Hitchens made it very clear, that as much as he despised religious people, as much as he despised G-d in general, as much as he tried to tear us down at every opportunity, at least he would help support us in the fight against islamic fascism.&lt;br /&gt;&lt;br /&gt;Then of course, he backed Obama, the former Senator who tried to stop the very successful surge.  Why?  Because Palin, the vice presidential candidate was too religious for him.&lt;br /&gt;&lt;br /&gt;What we learn from this is the following &lt;span style="font-style: italic;"&gt;"the enemy of my enemy, may be helpful, but know that sooner or later the son of a bitch will stab you the back."&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;I'm only thinking of this now because of &lt;a href="http://sandbox.blog-city.com/settlers_from_brooklyn.htm"&gt;this post&lt;/a&gt; I read on Martin Kramers blog.  All I could think to myself was "what a pompous bastard!"&lt;br /&gt;&lt;br /&gt;Well, not so much that as this.  If you see that someone is a fanatic, if you see that they have an axe to grind, and that they are over the top in their statements, know that such people are never to be trusted.  It doesn't really matter what their philosophy is or viewpoints are.  It can be views similiar to your own.  But fanaticism and nuttiness in general indicates someone who simply wishes to sow chaos and grief.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7177512239558629959-4663272337462032913?l=tickletik.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tickletik.blogspot.com/feeds/4663272337462032913/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tickletik.blogspot.com/2009/01/why-but-hes-our-sob-is-really-just-and.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7177512239558629959/posts/default/4663272337462032913'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7177512239558629959/posts/default/4663272337462032913'/><link rel='alternate' type='text/html' href='http://tickletik.blogspot.com/2009/01/why-but-hes-our-sob-is-really-just-and.html' title='Why &quot;but he&apos;s our SOB&quot; is really just an SOB'/><author><name>tickletik</name><uri>http://www.blogger.com/profile/06393258873017973811</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7177512239558629959.post-2030537699034689299</id><published>2009-01-07T08:46:00.000-08:00</published><updated>2009-01-07T08:58:05.489-08:00</updated><title type='text'>why don't pirate ads are useless</title><content type='html'>A lot of media industries are concerned about pirating.  Which is fair enough as it goes, as they stand to lose a lot of money.&lt;br /&gt;&lt;br /&gt;One of the more reasonable suggestions that they've been trying to implement is a public awareness campaign.  The idea in itself is fine, but the implementation is pathetic.&lt;br /&gt;&lt;br /&gt;In a sane world run by sane people, these corporations would buy airtime on radio, commercials on TV, and advertising space in newspapers.  In other words, they would pay for this solely out of their own pocket.  When someone takes a lot of time and trouble to say something people tend to at least listen.&lt;br /&gt;&lt;br /&gt;But that's not at all what they do. Sure, they pay to film the commercial.  But they play it on &lt;span style="font-weight: bold; font-style: italic;"&gt;our&lt;/span&gt; time.&lt;br /&gt;&lt;br /&gt;What do I mean by "our time"?  Well, when you purchase a ticket to see a movie for $15, then the time spent watching the movie is &lt;span style="font-weight: bold;"&gt;your&lt;/span&gt; time.  This isn't commercial TV, where the content providers have to air commercials in order to pay expenses.  This is a movie, you paid for it, you expect it without having to see pointless crap that has nothing to do with the film.&lt;br /&gt;&lt;br /&gt;Instead, after having paid the money, you get a 2 minute commercial chastising you not to buy pirated DVDs.&lt;br /&gt;&lt;br /&gt;Well, I suppose that's a cheesy thing to do, but it's tolerable right?  Here's where it becomes intolerable.&lt;br /&gt;&lt;br /&gt;When I go to blockbuster and rent a DVD or I buy a DVD, I get to see the same damn commercial.  Why?  Is it not obvious to the idiots in charge that if I paid for the DVD then I am clearly not pirating illegal copies?  No, it is not obvious to the idiots in charge, not because they are idiots, but because they themselves are thieves.&lt;br /&gt;&lt;br /&gt;When you steal someone else's time, that &lt;span style="font-weight: bold;"&gt;is&lt;/span&gt; stealing.  When you force me to watch one of your damn commercials on a disk that I bought or rented, &lt;span style="font-weight: bold;"&gt;you&lt;/span&gt; are stealing &lt;span style="font-weight: bold;"&gt;my time&lt;/span&gt;.  You are stealing from me. &lt;br /&gt;&lt;br /&gt;Such commercials are no more than the whining of a thief.  And I suspect that anyone who watches it has nothing but contempt for the people who made them see it.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7177512239558629959-2030537699034689299?l=tickletik.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tickletik.blogspot.com/feeds/2030537699034689299/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tickletik.blogspot.com/2009/01/why-dont-pirate-ads-are-useless.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7177512239558629959/posts/default/2030537699034689299'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7177512239558629959/posts/default/2030537699034689299'/><link rel='alternate' type='text/html' href='http://tickletik.blogspot.com/2009/01/why-dont-pirate-ads-are-useless.html' title='why don&apos;t pirate ads are useless'/><author><name>tickletik</name><uri>http://www.blogger.com/profile/06393258873017973811</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7177512239558629959.post-7167933354184283048</id><published>2009-01-01T22:55:00.000-08:00</published><updated>2009-01-01T23:00:51.097-08:00</updated><title type='text'>Vexxar is an underrated comic</title><content type='html'>Hunter Cressel is the guy who came up with the classic mac parody.  If you haven't seen it, check it out!&lt;br /&gt;&lt;br /&gt;He also has a comic called &lt;a href="http://www.vexxarr.com"&gt;vexxarr&lt;/a&gt;.  It follows a cynical alien overlord who is only competent at staying alive in a universe run by a God with a very ironic sense of humor.&lt;br /&gt;&lt;br /&gt;Anyway, every now and then Hunter has Vexxar or his various companions make observations that are just classic, like his observations regarding &lt;a href="http://www.vexxarr.com/archive.php?seldate=021405"&gt;Linux enthusiasts&lt;/a&gt;.  Today was a perfect example.  This one is about a rule known as &lt;a href="http://www.youtube.com/watch?v=cMc9Q_upsCk"&gt;Ripley's Law&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7177512239558629959-7167933354184283048?l=tickletik.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tickletik.blogspot.com/feeds/7167933354184283048/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tickletik.blogspot.com/2009/01/vexxar-is-underrated-comic.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7177512239558629959/posts/default/7167933354184283048'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7177512239558629959/posts/default/7167933354184283048'/><link rel='alternate' type='text/html' href='http://tickletik.blogspot.com/2009/01/vexxar-is-underrated-comic.html' title='Vexxar is an underrated comic'/><author><name>tickletik</name><uri>http://www.blogger.com/profile/06393258873017973811</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7177512239558629959.post-4727270682883245247</id><published>2009-01-01T21:37:00.000-08:00</published><updated>2009-01-01T21:45:01.128-08:00</updated><title type='text'>John Derbyshire got it right</title><content type='html'>I was googling for an answer to the question "What do arabs really think of Palestinians" and stumbled on an article written by &lt;a href="http://www.nationalreview.com/derbyshire/derbyshire050902.asp"&gt;John Derbyshire&lt;/a&gt; in 2002.&lt;br /&gt;&lt;br /&gt;This is the money quote:&lt;br /&gt;&lt;span style=";font-family:Times New Roman,Times,serif;font-size:100%;"  &gt;&lt;/span&gt;&lt;blockquote&gt;&lt;span style=";font-family:Times New Roman,Times,serif;font-size:100%;"  &gt;All of this applies          to the Palestinians. I spent some of my formative years in Hong Kong,          &lt;span style="font-weight: bold;"&gt;a barren piece of rock with zero natural resources, under foreign occupation,          chock-full of refugees from the Mao tyranny. The people there weren't          lounging in UNRWA camps or making suicide runs at the governor's mansion.          They were trading, building, speculating, manufacturing, &lt;/span&gt;&lt;i style="font-weight: bold;"&gt;working&lt;/i&gt;          — with the result that Hong Kong is now a glittering modern city          filled with well-dressed, well-educated, well-fed people, proud of what          they have accomplished together, and with a higher standard of living          than Britain herself. If, following the Oslo accords — or for that          matter, in the 20 years of Jordanian occupation — the Palestinians          had taken that route, had set aside their fantasies of revenge and massacre,          and concentrated on building up something worth having, I might have respect          for them. As it is, I don't.&lt;/span&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;span style=";font-family:Times New Roman,Times,serif;font-size:100%;"  &gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7177512239558629959-4727270682883245247?l=tickletik.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tickletik.blogspot.com/feeds/4727270682883245247/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tickletik.blogspot.com/2009/01/john-derbyshire-got-it-right.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7177512239558629959/posts/default/4727270682883245247'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7177512239558629959/posts/default/4727270682883245247'/><link rel='alternate' type='text/html' href='http://tickletik.blogspot.com/2009/01/john-derbyshire-got-it-right.html' title='John Derbyshire got it right'/><author><name>tickletik</name><uri>http://www.blogger.com/profile/06393258873017973811</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7177512239558629959.post-3868999850849350498</id><published>2009-01-01T12:00:00.000-08:00</published><updated>2008-12-31T22:13:48.303-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='django'/><category scheme='http://www.blogger.com/atom/ns#' term='mac'/><category scheme='http://www.blogger.com/atom/ns#' term='mod_python'/><title type='text'>setting up django with mod_python</title><content type='html'>&lt;span style="font-weight: bold;"&gt;Important:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Before you do anything else, if you intend to use the admin feature in Django, make sure you go to your &lt;span style="font-weight: bold;"&gt;httpd.conf&lt;/span&gt; file and comment out this line:&lt;br /&gt;&lt;blockquote style="color: rgb(204, 0, 0);"&gt;LoadModule php5_module libexec/apache2/libphp5.so&lt;/blockquote&gt;For some reason &lt;span style="font-weight: bold;"&gt;mod_python.so&lt;/span&gt; and &lt;span style="font-weight: bold;"&gt;libphp5.so&lt;/span&gt; do not play nice together when it comes to the admin section of Django.  If some kind person could either explain why or direct me to a site that has an explanation, that would be great.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Installing Django:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;django can be found at - http://www.djangoproject.com/&lt;br /&gt;&lt;br /&gt;I downloaded the svn version.  Usually, I end up with several different versions.  My django directory typically looks like this:&lt;br /&gt;&lt;br /&gt;./&lt;br /&gt;../&lt;br /&gt;trunk_9600&lt;br /&gt;trunk_9634&lt;br /&gt;trunk_9650&lt;br /&gt;&lt;br /&gt;I simply rename the trunks according to their version number and symlink &lt;span style="font-weight: bold;"&gt;ln -s ./django-trunk ./trunk_whatever&lt;/span&gt; This way, when I set up the symlink in the site-package directory to the django install, it is set up to the symlink django-trunk, which itself is linked to whichever trunk I happen to be using.&lt;br /&gt;&lt;br /&gt;To link to the site-packages directory, do the following two commands:&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;blockquote&gt;SITE_PACKAGES_DIR=`python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()"`&lt;/blockquote&gt;&lt;/li&gt;&lt;li&gt;&lt;blockquote&gt;ln -s `pwd`/django-trunk/django $SITE_PACKAGES_DIR/django&lt;/blockquote&gt;&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;Very good, now setting up apache.&lt;br /&gt;&lt;br /&gt;Leopard is a bit quirky, but I want to use their way of doing things if at all possible.  Here are some links to get around various problems:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://kevinfinlayson.com/posts/virtualhosts-in-os-x-10-5-with-apache2"&gt;kevin&lt;/a&gt; covers some basics on virtualhosting&lt;br /&gt;&lt;a href="http://alexking.org/blog/2007/11/01/apache-2-only-serves-first-virtual-host"&gt;aking&lt;/a&gt; discusses an important quirk to get multiple virtual host names working&lt;br /&gt;&lt;br /&gt;I do my work on localhost, so my /etc/hosts file looks like:&lt;br /&gt;&lt;blockquote&gt;127.0.0.1 localhost site1.dev something.whatever&lt;/blockquote&gt;&lt;br /&gt;then in my httpd-vhosts.conf file I have:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;NameVirtualHost *&lt;br /&gt;&lt;br /&gt;&amp;lt;VirtualHost 127.0.0.1 &amp;gt;&lt;br /&gt;ServerName localhost&lt;br /&gt;DocumentRoot "/Users/ronny/Sites"&lt;br /&gt;&amp;lt;/VirtualHost &amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;VirtualHost * &amp;gt;&lt;br /&gt;ServerName something.whatever&lt;br /&gt;DocumentRoot "/Users/tickletik/Sites/mysite"&lt;br /&gt;&lt;br /&gt;&amp;lt;Location "/" &amp;gt;&lt;br /&gt;   SetHandler mod_python&lt;br /&gt;   PythonHandler django.core.handlers.modpython&lt;br /&gt;   PythonPath "sys.path+['/Users/tickletik/Somewhere']"&lt;br /&gt;   SetEnv DJANGO_SETTINGS_MODULE mysite.settings&lt;br /&gt;   PythonDebug On&lt;br /&gt;&amp;lt;/Location &amp;gt;&lt;br /&gt;&amp;lt;/VirtualHost &amp;gt;&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;There are a few points to keep in mind&lt;br /&gt;&lt;ul&gt;&lt;li&gt;I'm assuming you are using the django tutorial, so I named it "mysite".  &lt;span style="font-weight: bold;"&gt;mysite.settings&lt;/span&gt; is used with the DJANGO_SETTINGS_MODULE&lt;/li&gt;&lt;li&gt;if I wanted the DocumentRoot for something.whatever to be "/Users/tickletik/Sites" then I would have had to set Location to &amp;lt; Location "/mysite/" &amp;gt; &lt;span style="font-weight: bold;"&gt;DO NOT&lt;/span&gt; forget both slashes!&lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7177512239558629959-3868999850849350498?l=tickletik.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tickletik.blogspot.com/feeds/3868999850849350498/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tickletik.blogspot.com/2008/12/ok-modpython-is-not-that-simple-to-set.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7177512239558629959/posts/default/3868999850849350498'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7177512239558629959/posts/default/3868999850849350498'/><link rel='alternate' type='text/html' href='http://tickletik.blogspot.com/2008/12/ok-modpython-is-not-that-simple-to-set.html' title='setting up django with mod_python'/><author><name>tickletik</name><uri>http://www.blogger.com/profile/06393258873017973811</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7177512239558629959.post-1826727157309941480</id><published>2008-12-30T12:43:00.000-08:00</published><updated>2008-12-30T12:44:41.578-08:00</updated><title type='text'>two useful commands</title><content type='html'>which whatever - lets you know where something is&lt;br /&gt;file /path/to/whatever - gives useful info on the thing, including what architecture (386 vs. 64) it's good with.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7177512239558629959-1826727157309941480?l=tickletik.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tickletik.blogspot.com/feeds/1826727157309941480/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tickletik.blogspot.com/2008/12/two-useful-commands.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7177512239558629959/posts/default/1826727157309941480'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7177512239558629959/posts/default/1826727157309941480'/><link rel='alternate' type='text/html' href='http://tickletik.blogspot.com/2008/12/two-useful-commands.html' title='two useful commands'/><author><name>tickletik</name><uri>http://www.blogger.com/profile/06393258873017973811</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7177512239558629959.post-5589958454571661225</id><published>2008-12-30T10:13:00.000-08:00</published><updated>2009-01-29T12:08:02.581-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='64 arch'/><category scheme='http://www.blogger.com/atom/ns#' term='mysqldb'/><category scheme='http://www.blogger.com/atom/ns#' term='build'/><category scheme='http://www.blogger.com/atom/ns#' term='mysql'/><category scheme='http://www.blogger.com/atom/ns#' term='python'/><category scheme='http://www.blogger.com/atom/ns#' term='mysql-python'/><category scheme='http://www.blogger.com/atom/ns#' term='leopard'/><category scheme='http://www.blogger.com/atom/ns#' term='cflags'/><category scheme='http://www.blogger.com/atom/ns#' term='mod-python'/><title type='text'>Compiling mysqldb for python on Leopard 64 bit architecture</title><content type='html'>now there's a problem when compiling the mysqldb module for python&lt;br /&gt;&lt;br /&gt;&lt;a style="font-weight: bold;" href="http://blog.fourspaces.com/2008/07/16/python-mysql-mac-frustration/"&gt;fourspaces&lt;/a&gt; describes most of what goes wrong, he also gets the emotional tenor just right.&lt;br /&gt;&lt;br /&gt;and the &lt;a style="font-weight: bold;" href="http://mysql-python.blogspot.com/2008/03/i-am-not-dead.html"&gt;guy&lt;/a&gt;&lt;span style="font-weight: bold; color: rgb(102, 0, 0);"&gt; &lt;/span&gt;who wrote the python module tells us what the final solution is.  Check in the comments on the bottom of his page.&lt;br /&gt;&lt;br /&gt;So, in essence, you must download and compile python for a 64bit architecture, or set up mysql and apache to work as 32-bit processes.&lt;br /&gt;&lt;br /&gt;The easier way is to go the 32 bit route.  Download mysql community edition 32-bit, then thin out the apache server so it only uses the i386 arch.  The instructions to "thin out" are &lt;a href="http://code.google.com/p/modwsgi/wiki/InstallationOnMacOSX"&gt;here&lt;/a&gt;, scroll down to the section where it says "Thinning the Apache Executable".  Note that at the bottom, they give an alternate way to get the same thing done. &lt;br /&gt;&lt;br /&gt;Another painful consideration in favor of the 32-bit route is that if you go 64, then you will have to recompile every single thing that interacts with python, mysql and apache to work as a 64 bit arch program.  This is a lot tougher than it sounds since everything by default is set to go 32.  The latest bit of torment I had to deal with was getting libxml2 to work.  But you decide what's best for you.  Below I have instructions on going the 64 bit route.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Compiling Python 2.6.1 for x64:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;This is actually harder than simply doing a &lt;span style="font-weight: bold;"&gt;./compile &amp;amp; make&lt;/span&gt; the thing is that there are four different possible architectures for any program on an intel mac running leopard.  There are two basic chip sets, power pc and intel.  There are also two different modes (?) to use the system bus (?) in - 32 bit and 64 bit.  So you have:&lt;br /&gt;&lt;ol&gt;&lt;li&gt;ppc          - 32 bit power pc&lt;br /&gt;&lt;/li&gt;&lt;li&gt;ppc64     - 64 bit power pc&lt;br /&gt;&lt;/li&gt;&lt;li&gt;i386        - 32 bit intel&lt;br /&gt;&lt;/li&gt;&lt;li&gt;x86_64  - 64 bit intel&lt;/li&gt;&lt;/ol&gt;So why not just compile to whatever your chipset can do fastest (that is, ppc64 or x86_64)?  Dunno.  But the result is, you generally want anything you compile to hit everything possible.  So generally, what you do before you compile anything is:&lt;br /&gt;&lt;code&gt;&lt;/code&gt;&lt;blockquote&gt;&lt;code&gt;export ARCHFLAGS='-arch i386 -arch ppc -arch ppc64 -arch x86_64'&lt;/code&gt; &lt;/blockquote&gt;In this case however, you have to do something else.  First off, I recommend going to the &lt;a href="http://www.python.org/community/lists/"&gt;python.org community lists&lt;/a&gt; and browsing through the archives if you want to find information.  Just googling is next to useless because the noise to signal ratio is terrible.  In any case, I found this &lt;a href="http://mail.python.org/pipermail/pythonmac-sig/2008-June/020123.html"&gt;gem&lt;/a&gt; on the python community lists which I'm going to describe.&lt;br /&gt;&lt;br /&gt;While you should read the above link to compiling python 2.6, I'm going to copy some of the instructions, but with my own modifications.  I'm also putting in some links to commands which I think deserve explanation:&lt;br /&gt;&lt;ol&gt;&lt;li&gt;do an svn checkout or unzip a tar package&lt;/li&gt;&lt;li&gt;$ &lt;span style="font-weight: bold;"&gt;cd Python2.6&lt;/span&gt; (or whatever the directory it uninstalls to is)&lt;br /&gt;&lt;/li&gt;&lt;li&gt;$ &lt;span style="font-weight: bold;"&gt;mkdir build&lt;/span&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;$ &lt;span style="font-weight: bold;"&gt;cd build&lt;/span&gt;&lt;/li&gt;&lt;li&gt;$ &lt;span style="font-weight: bold;"&gt;../configure --with-framework-name=Python64 --with-universal-archs=all --enable-framework  &lt;/span&gt;&lt;a style="font-weight: bold;" href="http://bugs.python.org/issue1471883"&gt;---enable-universalsdk&lt;/a&gt;&lt;span style="font-weight: bold;"&gt;=/&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;some notes:&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;if any of the commands make no sense, you can always try piping it through &lt;span style="font-weight: bold;"&gt;grep&lt;/span&gt;, for example: &lt;span style="font-weight: bold;"&gt;./configure --help | grep "universal-sdk"&lt;/span&gt; gave me  &lt;blockquote&gt;--enable-universalsdk[=SDKDIR]&lt;/blockquote&gt;&lt;/li&gt;&lt;li&gt;The Python frameworks that come with your computer are stored in &lt;span style="font-weight: bold;"&gt;/System/Library/Frameworks/Python.framework&lt;/span&gt;.   Because we set &lt;span style="font-weight: bold;"&gt;--enable-universalsdk&lt;/span&gt; to "&lt;span style="font-weight: bold;"&gt;/&lt;/span&gt;", it stores everything in &lt;span style="font-weight: bold;"&gt;/Library/Frameworks/Python64.framework&lt;/span&gt; this is to make it easier to get rid of.&lt;/li&gt;&lt;li&gt;if we had set &lt;span style="font-weight: bold;"&gt;--with-framework-name=Blah&lt;/span&gt; then presumably we would have gotten &lt;span style="font-weight: bold;"&gt;/Library/Frameworks/Blah.framework&lt;/span&gt; eheh.&lt;br /&gt;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;MACOSX_DEPLOYMENT_TARGET=10.5 lets the compiler know we're using Leopard. You can find it in &lt;a href="http://bugs.python.org/issue1358http://bugs.python.org/issue1358http://bugs.python.org/issue1358http://bugs.python.org/issue1358http://bugs.python.org/issue1358http://bugs.python.org/issue1358http://bugs.python.org/issue1358http://bugs.python.org/issue1358http://bugs.python.org/issue1358http://bugs.python.org/issue1358http://bugs.python.org/issue1358http://bugs.python.org/issue1358http://bugs.python.org/issue1358http://bugs.python.org/issue1358http://bugs.python.org/issue1358http://bugs.python.org/issue1358http://bugs.python.org/issue1358http://bugs.python.org/issue1358http://bugs.python.org/issue1358"&gt;issue 1358&lt;/a&gt;.  If you don't do this you might get the following error&lt;br /&gt;&lt;blockquote&gt;./Modules/posixmodule.c:3592: error: too few arguments to function ‘setpgrp’&lt;/blockquote&gt;&lt;/li&gt;&lt;/ul&gt;Now you have to set your path so that it's looking for your new python build.  Please &lt;span style="font-weight: bold;"&gt;make certain&lt;/span&gt; you've done this step. And then &lt;span style="font-weight: bold;"&gt;test it out&lt;/span&gt; when it's done.&lt;br /&gt;&lt;br /&gt;Why do I insist on this? Because mod_python is not a miniature python interpreter, it checks to make sure that the build it compiled against is what's available to apache.  And if apache doesn't know where to look, it's going to stick with the default python interpreter, which means an interpreter built to a 32-bit architecture (i386 arch).  And then it will crap out.  And then &lt;a href="http://gawker.com/news/a-guide-for-crazies/inside-the-bellevue-mental-hygiene-clinic-318206.php"&gt;you will go insane&lt;/a&gt; trying to figure out went wrong.&lt;br /&gt;&lt;br /&gt;So &lt;span style="font-weight: bold;"&gt;MAKE SURE&lt;/span&gt; python2.6 is in your path!&lt;br /&gt;&lt;br /&gt;There are two ways to do this&lt;br /&gt;&lt;ol&gt;&lt;li&gt;modify bashrc&lt;/li&gt;&lt;li&gt;muck about with path_helper&lt;/li&gt;&lt;/ol&gt;I used #2, but I'm going to explain the first version because it's easiest.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Path fixing Method #1&lt;/span&gt; - bashrc:&lt;br /&gt;&lt;br /&gt;Modify &lt;span style="font-weight: bold;"&gt;~/.bashrc &lt;/span&gt;to look something like:&lt;br /&gt;&lt;blockquote&gt;$PATH="/usr/local/mysql/bin:/usr/local/bin":$PATH&lt;/blockquote&gt;If you followed to above steps to compile python 2.6, then&lt;span style="font-weight: bold;"&gt; /usr/local/bin&lt;/span&gt; is where the python executables will be symlinked to.&lt;br /&gt;&lt;br /&gt;Now in &lt;span style="font-weight: bold;"&gt;~/.bash_profile&lt;/span&gt; add the following line:&lt;br /&gt;&lt;a href="http://learnlinux.tsf.org.za/courses/build/shell-scripting/ch10s02.html"&gt;&lt;/a&gt;&lt;blockquote&gt;&lt;a href="http://learnlinux.tsf.org.za/courses/build/shell-scripting/ch10s02.html"&gt;source&lt;/a&gt; ~/.bashrc&lt;br /&gt;&lt;/blockquote&gt;This will tell the terminal to take a gander at what you wrote in &lt;span style="font-weight: bold;"&gt;~/.bashrc&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;On the command line also type in &lt;blockquote&gt;$ &lt;span style="font-weight: bold;"&gt;source&lt;/span&gt;&lt;span style="font-weight: bold;"&gt; ~/.bashrc&lt;/span&gt; &lt;/blockquote&gt;so that the terminal you are working in will know what's going on.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;Look further on for the &lt;/span&gt;&lt;span style="font-weight: bold; font-style: italic;"&gt;Testing of the Path&lt;/span&gt;&lt;span style="font-style: italic;"&gt;.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Path fixing Method #2 &lt;/span&gt;- path_helper:&lt;br /&gt;&lt;br /&gt;I found a great link at softec.st which what the path_helper is and &lt;a href="http://www.softec.st/en/OpenSource/DevelopersCorner/MasteringThePathHelper.html"&gt;how to use it&lt;/a&gt;&lt;a style="color: rgb(51, 51, 255);" href="http://www.softec.st/en/OpenSource/DevelopersCorner/MasteringThePathHelper.html"&gt; &lt;/a&gt;better than I could.  In any case, I'm just going to list what I did.&lt;br /&gt;&lt;ul&gt;&lt;li&gt;put &lt;span style="font-weight: bold;"&gt;/usr/local/bin&lt;/span&gt; at the top line of the &lt;span style="font-weight: bold;"&gt;/etc/paths&lt;/span&gt; file&lt;br /&gt;&lt;/li&gt;&lt;li&gt;as per Denis' article, modify the &lt;span style="font-weight: bold;"&gt;/etc/profile&lt;/span&gt; like so: &lt;tt&gt;&lt;blockquote&gt;if [ -x /usr/libexec/path_helper ]; then&lt;br /&gt;PATH=""&lt;br /&gt;eval `/usr/libexec/path_helper -s`&lt;br /&gt;fi&lt;/blockquote&gt;&lt;/tt&gt;&lt;/li&gt;&lt;/ul&gt;I'm not sure if you have to restart the system. I did, just to be safe.  But if someone knows better, feel free to drop me a line in the comments.  Now go on to the &lt;span style="font-weight: bold;"&gt;Testing of the Path&lt;/span&gt;, and make sure to do what's there.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;the &lt;span style="font-weight: bold;"&gt;Testing of the Path&lt;/span&gt;:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;note:&lt;/span&gt;&lt;span style="font-style: italic;"&gt; please read the highlighted link on using backticks &lt;/span&gt;- &lt;a href="http://tldp.org/LDP/Bash-Beginners-Guide/html/sect_03_04.html"&gt;shell expansion in bash&lt;/a&gt;.  &lt;span style="font-style: italic;"&gt;It will help make what I do with the &lt;/span&gt;&lt;span style="font-weight: bold; font-style: italic;"&gt;file&lt;/span&gt;&lt;span style="font-style: italic;"&gt; command a little more clear.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;carry out these commands from the prompt:&lt;br /&gt;&lt;ol&gt;&lt;li&gt;&lt;span&gt;$ &lt;span style="font-weight: bold;"&gt;which python&lt;/span&gt;&lt;/span&gt;  - this will spit out: &lt;blockquote&gt;/usr/local/bin/python&lt;/blockquote&gt;&lt;/li&gt;&lt;li&gt;&lt;span&gt;$ &lt;span style="font-weight: bold;"&gt;file `which python`&lt;/span&gt;&lt;/span&gt; - this will spit out:&lt;blockquote&gt;/usr/local/bin/python: symbolic link to /Library/Frameworks/Python64.framework/Versions/2.6/bin/python&lt;/blockquote&gt;&lt;/li&gt;&lt;li&gt;&lt;span&gt;$ &lt;span style="font-weight: bold;"&gt;file -L `which python`&lt;/span&gt;&lt;/span&gt; - this follows the symbolic link to the file we want and gives us:&lt;blockquote&gt;/usr/local/bin/python: Mach-O universal binary with 4 architectures&lt;br /&gt;/usr/local/bin/python (for architecture i386):  Mach-O executable i386&lt;br /&gt;/usr/local/bin/python (for architecture ppc7400):       Mach-O executable ppc&lt;br /&gt;/usr/local/bin/python (for architecture ppc64): Mach-O 64-bit executable ppc64&lt;br /&gt;/usr/local/bin/python (for architecture x86_64):        Mach-O 64-bit executable x86_64&lt;/blockquote&gt;&lt;/li&gt;&lt;/ol&gt;&lt;a href="http://www.youtube.com/watch?v=Z7VLYBuF-xE"&gt;Woohoo&lt;/a&gt;!&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Recompile mod_python:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;There have been a ton of posts on problems compiling mod_python in Leopard.  Graham Dumpleton seems to be one of the guys working on mod_python, and he's posted a lot of stuff on it.  In particular are the following two links which are worth reading:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="http://www.dscpl.com.au/wiki/ModPython/Articles/GettingModPythonWorking"&gt;GettingModPython Working&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.modpython.org/pipermail/mod_python/2008-March/024954.html"&gt;Compiling it&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;In an earlier post I mentioned two helpful blogs on compiling mod_python.  One was from &lt;a href="http://blog.amber.org/2007/12/06/building-mod_python-on-leopard/"&gt;blog.amber.org&lt;/a&gt; and the other from &lt;a href="http://matterkkila.com/2007/12/20/building-mod_python-for-leopard/"&gt;matterkilla&lt;/a&gt;.  However &lt;span style="font-weight: bold;"&gt;do not use what matterkilla says&lt;/span&gt;.  If you go through the steps I've outlined, his stuff not only won't help, it will break it down.  I'm only keeping him here in case nothing is working and you're desperate.&lt;br /&gt;&lt;br /&gt;I mentioned up above in this post that you generally should use the command&lt;br /&gt;&lt;code&gt;&lt;/code&gt;&lt;blockquote&gt;export ARCHFLAGS='-arch i386 -arch ppc -arch ppc64 -arch x86_64'&lt;/blockquote&gt;to compile it for all architectures.  Again, I'm not sure why you it should be this way, but it helps explain some of what matterkilla was getting at.&lt;br /&gt;&lt;ol&gt;&lt;li&gt;First things first.  Get a checkout of mod_python &lt;blockquote&gt;$ &lt;span style="font-weight: bold;"&gt;svn co http://svn.apache.org/repos/asf/quetzalcoatl/mod_python/trunk &lt;/span&gt;&lt;span style="font-weight: bold;"&gt;mod_python-trunk&lt;/span&gt;&lt;/blockquote&gt;&lt;/li&gt;&lt;li&gt;change directory to &lt;span style="font-weight: bold;"&gt;mod_python-trunk&lt;/span&gt; and configure &lt;blockquote&gt;$ &lt;span style="font-weight: bold;"&gt;./configure --with-apxs=/usr/sbin/apxs --with-python=/usr/local/bin/python&lt;/span&gt;&lt;/blockquote&gt;&lt;/li&gt;&lt;li&gt;$ &lt;span style="font-weight: bold;"&gt;make&lt;/span&gt;&lt;/li&gt;&lt;li&gt;$ &lt;span style="font-weight: bold;"&gt;sudo make install&lt;/span&gt;&lt;/li&gt;&lt;li&gt;$ &lt;span style="font-weight: bold;"&gt;cd /etc/apache2&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span&gt;$ &lt;span style="font-weight: bold;"&gt;sudo cp httpd.conf httpd.conf.orig&lt;/span&gt;&lt;/span&gt; (in case you mess up)&lt;/li&gt;&lt;li&gt;$ &lt;span style="font-weight: bold;"&gt;sudo vi /etc/apache2/httpd.conf&lt;/span&gt;&lt;/li&gt;&lt;li&gt;add this line:&lt;blockquote&gt; &lt;code&gt;LoadModule python_module /usr/libexec/apache2/mod_python.so&lt;/code&gt;&lt;/blockquote&gt;&lt;code&gt;&lt;/code&gt;&lt;/li&gt;&lt;li&gt;$ &lt;span style="font-weight: bold;"&gt;sudo apachectrl restart&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span&gt;$&lt;span style="font-weight: bold;"&gt; sudo pray-to-God-it-works&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Testing it out:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;the &lt;a href="http://www.modpython.org/"&gt;mod_python&lt;/a&gt; site explains how to &lt;a href="http://www.modpython.org/live/current/doc-html/inst-testing.html"&gt;test it out&lt;/a&gt;.  But before you do anything, open up a new terminal window and type in&lt;br /&gt;&lt;blockquote style="font-weight: bold;"&gt;&lt;span style="font-weight: normal;"&gt;$&lt;/span&gt; tail -f /var/log/apache2/error_log&lt;/blockquote&gt;this will open up apache's error log file and print out the end of it as more errors get sent to the file.&lt;br /&gt;&lt;br /&gt;Now after you've made all the changes that the mod_python site tells you to, restart apache with &lt;blockquote style="font-weight: bold;"&gt;&lt;span style="font-weight: normal;"&gt;$ &lt;/span&gt;sudo apachectl restart&lt;/blockquote&gt;switch to the terminal you have &lt;span style="font-weight: bold;"&gt;tail &lt;/span&gt;running in, and watch the error messages scrolling in the error log.  If you see ANYTHING that looks like&lt;br /&gt;&lt;blockquote&gt;[error] python_init: Python version mismatch&lt;/blockquote&gt;then you have a real problem.  Make sure that the python version you compiled mod_python with is on the path.  I wrote above how to test that out using the &lt;span style="font-weight: bold;"&gt;file&lt;/span&gt; and &lt;span style="font-weight: bold;"&gt;which&lt;/span&gt; commands.  If that fails, leave a comment.  I probably won't be able to help, but who knows?&lt;br /&gt;&lt;br /&gt;Now recompile mysqldb and you're all set.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;HAHA&lt;/span&gt; - just kidding.  Of course, that's the 800 lb. gorilla in the room.&lt;br /&gt;&lt;br /&gt;Here are a few useful links I'm going to use on how I got it set up:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://mail.python.org/pipermail/python-list/2008-March/482613.html"&gt;Geert&lt;/a&gt; lists some good fixes for _mysql.c&lt;br /&gt;&lt;a href="http://blog.fourspaces.com/2008/07/16/python-mysql-mac-frustration/"&gt;fourspaces&lt;/a&gt; has a post with the perfect heading for this problem&lt;br /&gt;and Red Elephants lists a &lt;a href="http://www.keningle.com/?p=11"&gt;problem&lt;/a&gt; that may or may not crop up&lt;br /&gt;&lt;br /&gt;But one problem that will crop up, is that setuptools 0.6c9 will not download automagically.  setuptools is used by the MySQLdb installer to both build and install, in other words, you need it.&lt;br /&gt;&lt;br /&gt;So before you do anything else, head over to &lt;a href="http://pypi.python.org/pypi/setuptools"&gt;http://pypi.python.org/pypi/setuptools&lt;/a&gt; and you'll be able to download the latest copy and follow the instructions for a Mac installation.&lt;br /&gt;&lt;br /&gt;With that out of the way, now to the meat of the thing:&lt;br /&gt;&lt;ol&gt;&lt;li&gt; open up the file &lt;span style="font-weight: bold;"&gt;_mysql.c&lt;/span&gt; (it should be at the top of the directory structure)&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;(from geert):&lt;br /&gt;&lt;pre&gt;Extracted the tar, then edited _mysql.c. Commented lines 37 - 39:&lt;br /&gt;&lt;br /&gt;//#ifndef uint&lt;br /&gt;//#define uint unsigned int&lt;br /&gt;//#endif&lt;br /&gt;&lt;/pre&gt;&lt;/li&gt;&lt;li&gt;(more geert &lt;span style="font-weight: bold;"&gt;_mysql.c&lt;/span&gt; goodness):&lt;br /&gt;&lt;pre&gt;and changed this:&lt;br /&gt;uint port = MYSQL_PORT;&lt;br /&gt;uint client_flag = 0;&lt;br /&gt;&lt;br /&gt;to this:&lt;br /&gt;unsigned int port = MYSQL_PORT;&lt;br /&gt;unsigned int client_flag = 0;&lt;/pre&gt;&lt;/li&gt;&lt;li&gt;now in &lt;span style="font-weight: bold;"&gt;site.cfg&lt;/span&gt;, make sure to set &lt;code&gt;Threadsafe=False&lt;/code&gt; - I read a post somewhere that it actually ended up being a problem.  So be safe.&lt;/li&gt;&lt;li&gt;$ &lt;span style="font-weight: bold;"&gt;python setup.py build&lt;/span&gt;&lt;/li&gt;&lt;li&gt;$ &lt;span style="font-weight: bold;"&gt;sudo python setup.py install&lt;/span&gt;&lt;/li&gt;&lt;li&gt;at the command prompt start up the python shell type in&lt;blockquote style="font-weight: bold;"&gt; import MySQLdb&lt;/blockquote&gt;&lt;/li&gt;&lt;/ol&gt;And now you should see something like the following:&lt;br /&gt;&lt;blockquote&gt;Traceback (most recent call last):&lt;br /&gt;File "&lt;stdin&gt;", line 1, in &lt;module&gt;&lt;br /&gt;File "build/bdist.macosx-10.5-universal/egg/_mysql.py", line 7, in &lt;module&gt;&lt;br /&gt;File "build/bdist.macosx-10.5-universal/egg/_mysql.py", line 6, in __bootstrap__&lt;br /&gt;ImportError: dynamic module does not define init function (init_mysql)&lt;/module&gt;&lt;/module&gt;&lt;/stdin&gt;&lt;/blockquote&gt;At this point, I imagine that anyone who has followed all the above steps is thinking to themselves "&lt;span style="font-style: italic;"&gt;I'm going to hire someone to track down this bastard and ...&lt;/span&gt;".  Ah ah ahhhh!  Not so fast my friend.  Put away your checkbook, and hold off from calling your local hitman.&lt;br /&gt;&lt;br /&gt;Remember our good friends &lt;span style="font-weight: bold;"&gt;file&lt;/span&gt; (with the &lt;span style="font-weight: bold;"&gt;-L&lt;/span&gt; flag) and &lt;span style="font-weight: bold;"&gt;which&lt;/span&gt; ? Well, using the two we determine that all our python executables are indeed where they should be, that is, &lt;blockquote&gt;/Library/Frameworks/Python64.framework/Versions/2.6/bin&lt;/blockquote&gt;cd to that and do ls -la and we get something like:&lt;br /&gt;&lt;blockquote&gt;python -&gt; python2.6-32&lt;br /&gt;python-32 -&gt; python2.6-32&lt;br /&gt;python-64 -&gt; python2.6-64&lt;br /&gt;python-all -&gt; python2.6-all&lt;br /&gt;python-config -&gt; python2.6-config&lt;br /&gt;python2.6 -&gt; python2.6-32&lt;br /&gt;python2.6-32&lt;br /&gt;python2.6-64&lt;br /&gt;python2.6-all&lt;/blockquote&gt;aha!  python is linking to python2.6-32.  So what do we do?  Nothing actually.  I mean, you can feel free to make a symlink to python-all if you like.  But it isn't necessary. Apache will pick up the right version.&lt;br /&gt;&lt;br /&gt;Whether you make a symlink or you just choose to run&lt;span style="font-weight: bold;"&gt; python-all&lt;/span&gt; from /Library/Frameworks/whatever ..., either way, run it, and NOW try &lt;span style="font-weight: bold;"&gt;import MySQLdb&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;You'll get:&lt;br /&gt;&lt;blockquote&gt;/Library/Frameworks/Python64.framework/Versions/2.6/lib/python2.6/site-packages/MySQL_python-1.2.2-py2.6-macosx-10.5-universal.egg/MySQLdb/__init__.py:34: DeprecationWarning: the sets module is deprecated&lt;br /&gt;&lt;/blockquote&gt;Which is just a lot of monkey jabber for&lt;span style="font-size:130%;"&gt; &lt;span style="font-weight: bold; color: rgb(102, 0, 0);"&gt;YOU WIN IT!&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Well, you've been such a good audience, and this is has been such a long and different post to write, I think it's time for some well deserved Rush!&lt;br /&gt;&lt;br /&gt;The Music of the Universe&lt;br /&gt;&lt;br /&gt;&lt;object height="295" width="480"&gt;&lt;param name="movie" value="http://www.youtube.com/v/Vp9Q0d2vUN4&amp;amp;hl=en&amp;amp;fs=1"&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;embed src="http://www.youtube.com/v/Vp9Q0d2vUN4&amp;amp;hl=en&amp;amp;fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" height="295" width="480"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7177512239558629959-5589958454571661225?l=tickletik.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tickletik.blogspot.com/feeds/5589958454571661225/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tickletik.blogspot.com/2008/12/python-and-mysql-on-64bit.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7177512239558629959/posts/default/5589958454571661225'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7177512239558629959/posts/default/5589958454571661225'/><link rel='alternate' type='text/html' href='http://tickletik.blogspot.com/2008/12/python-and-mysql-on-64bit.html' title='Compiling mysqldb for python on Leopard 64 bit architecture'/><author><name>tickletik</name><uri>http://www.blogger.com/profile/06393258873017973811</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7177512239558629959.post-3283397942584400887</id><published>2008-12-28T19:11:00.001-08:00</published><updated>2008-12-30T16:57:36.810-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='israel'/><category scheme='http://www.blogger.com/atom/ns#' term='jihadi'/><title type='text'>A classic</title><content type='html'>Reading this line on yahoo's ap &lt;a href="http://news.yahoo.com/s/ap/20081229/ap_on_re_mi_ea/ml_israel_palestinians"&gt;article&lt;/a&gt; about the Israeli offensive:&lt;br /&gt;&lt;blockquote&gt;A crowd of anti-Israel protesters in the northern Iraqi city of &lt;span class="yshortcuts" id="lw_1230513985_21"&gt;Mosul&lt;/span&gt; became a target for a &lt;span class="yshortcuts" id="lw_1230513985_22"&gt;suicide bomber&lt;/span&gt; on a bicycle.&lt;/blockquote&gt;Absolutely hilarious. The Jihadis are so screwed up they even attack their supporters.  Clearly, G-d is on our side in this one.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7177512239558629959-3283397942584400887?l=tickletik.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tickletik.blogspot.com/feeds/3283397942584400887/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tickletik.blogspot.com/2008/12/classic.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7177512239558629959/posts/default/3283397942584400887'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7177512239558629959/posts/default/3283397942584400887'/><link rel='alternate' type='text/html' href='http://tickletik.blogspot.com/2008/12/classic.html' title='A classic'/><author><name>tickletik</name><uri>http://www.blogger.com/profile/06393258873017973811</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7177512239558629959.post-4756608609448640718</id><published>2008-12-28T18:16:00.000-08:00</published><updated>2008-12-29T00:02:09.976-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='regex'/><category scheme='http://www.blogger.com/atom/ns#' term='programming'/><category scheme='http://www.blogger.com/atom/ns#' term='sed'/><title type='text'>some good sed regex</title><content type='html'>A fantastic tutorial on &lt;a href="http://www.grymoire.com/Unix/Sed.html"&gt;sed&lt;/a&gt;, worth checking out.   I never used it before.  I guess I was too intimidated to learn it.  But the truth is, it's a LOT easier than trying to do search replacement in emacs or vim.&lt;br /&gt;&lt;br /&gt;Anyway, here are some notes&lt;br /&gt;&lt;ol&gt;&lt;li&gt;sed works on a line by line basis through the file you send it.  If you want it to perform an action more than once on the same line, you have to pass in the &lt;span style="font-weight: bold;"&gt;/g&lt;/span&gt; parameter&lt;/li&gt;&lt;li&gt;you must have the three separators no matter what.&lt;span style="font-weight: bold;"&gt;&lt;blockquote&gt;sed 's/one/two/'&lt;/blockquote&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;However, you can always change them.  &lt;blockquote&gt;&lt;span style="font-weight: bold;"&gt;sed 's_one_two_'&lt;/span&gt;&lt;/blockquote&gt;&lt;/li&gt;&lt;li&gt;one of the things I didn't see as useful is the number flag.  &lt;span style="font-weight: bold;"&gt;s///5 &lt;/span&gt;but what if you want to add a colon (:) after the 80th character on each line?  &lt;blockquote style="font-weight: bold;"&gt;sed 's/./&amp;amp;:/80' &amp;lt;file&amp;gt; new&lt;/blockquote&gt;&lt;/li&gt;&lt;li&gt;if you want to run sed as a shell script - &lt;span style="font-weight: bold;"&gt;#!/bin/sed&lt;/span&gt; at the top then a file followed with a separate command on each line.  just run it by&lt;span style="font-weight: bold;"&gt; something.sed &amp;lt;old&amp;gt; new&lt;/span&gt;&lt;/li&gt;&lt;li&gt;if you want to use a &lt;tab&gt; in the regex, you have to type &lt;span style="font-weight: bold;"&gt;Ctrl-V Ctrl-I&lt;/span&gt; I'm not sure if you have to do this when putting it into a script.&lt;/tab&gt;&lt;/li&gt;&lt;li&gt;by the way, that &lt;span style="font-weight: bold;"&gt;&amp;lt; oldfile &amp;gt; newfile&lt;/span&gt; thing is really just piping.&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;some sed regex I'm scraping from that tutorial follows.  Another good link is this &lt;a href="http://student.northpark.edu/pemente/sed/sed1line.txt"&gt;sed one liners page&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;removing duplicate words:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;note the /g - for global replacement&lt;/li&gt;&lt;li&gt;and the space inside the parenthesis, this separates the words&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;blockquote style="font-weight: bold;"&gt;sed 's/\([a-z]* \)\1/\1/g' &amp;lt;old&amp;gt; new&lt;/blockquote&gt;to make a change on the first word of every line no matter what's inside it:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;if you want it on every word in the line add a /g&lt;/li&gt;&lt;/ul&gt;&lt;blockquote style="font-weight: bold;"&gt;sed 's/[^ ]*/(&amp;amp;)/' &amp;lt;old&amp;gt;new&lt;/blockquote&gt;to send in a few files, count all the lines that don't begin with "#:", pipe it through grep looking for anything that isn't blank and then count the number of lines:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;note the ".*" after "#:" this is the equivalent of saying "select EVERYTHING after the #:" - we then replace it with nothing&lt;/li&gt;&lt;li&gt;the f1 f2 and f3 are just names of files, presumably some of the lines in those files start with #:&lt;/li&gt;&lt;li&gt;grep -v means "the opposite" of whatever expression I pass it to look for&lt;/li&gt;&lt;li&gt;wc -l - just counts lines&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;blockquote style="font-weight: bold;"&gt;sed 's/^#:.*//' f1 f2 f3 | grep -v '^$' | wc -l&lt;/blockquote&gt;to get rid of commeted lines:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;first line takes out everything following (and including the #)&lt;/li&gt;&lt;li&gt;second command removes all the tabs and spaces&lt;/li&gt;&lt;li&gt;final command deletes each empty line&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;blockquote&gt;&lt;span style="font-weight: bold;"&gt;sed -e 's/#.*//' -e 's/[ ^I]*$//' -e '/^$/ d' &lt;/span&gt;&lt;/blockquote&gt;to double every line:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;p simply duplicates whatever is printed&lt;/li&gt;&lt;/ul&gt;&lt;blockquote style="font-weight: bold;"&gt;sed '/^$/ p'&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7177512239558629959-4756608609448640718?l=tickletik.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tickletik.blogspot.com/feeds/4756608609448640718/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tickletik.blogspot.com/2008/12/some-good-sed-regex.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7177512239558629959/posts/default/4756608609448640718'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7177512239558629959/posts/default/4756608609448640718'/><link rel='alternate' type='text/html' href='http://tickletik.blogspot.com/2008/12/some-good-sed-regex.html' title='some good sed regex'/><author><name>tickletik</name><uri>http://www.blogger.com/profile/06393258873017973811</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7177512239558629959.post-142991039914197937</id><published>2008-12-28T18:02:00.000-08:00</published><updated>2009-01-01T21:22:29.632-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='israel'/><category scheme='http://www.blogger.com/atom/ns#' term='music'/><category scheme='http://www.blogger.com/atom/ns#' term='operation lead'/><category scheme='http://www.blogger.com/atom/ns#' term='dylan'/><title type='text'>Bob Dylan comes through</title><content type='html'>This is a really great song that I think summarizes the current situation in Israel.&lt;br /&gt;&lt;br /&gt;I think it's ridiculous that Israel gets bombarded with rockets on a daily basis for months at a time, and when they finally strike back they get criticized.&lt;br /&gt;&lt;br /&gt;There seem to be two criticisms.  I'll try to be as honest in framing them as possible. (I do not want to be guilty of the straw man fallacy).&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Hamas rocket attacks did not kill enough Israeli civilians to justifiy carpet bombing Gaza&lt;/li&gt;&lt;li&gt;Many innocent Gazans are being killed.&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;To answer the first one:&lt;br /&gt;&lt;br /&gt;Well what should they do?  Sit around and wait for the members of Hamas to develop skills at long distance murder? Screw that!  Send them to Hell where they belong!&lt;br /&gt;&lt;br /&gt;To the second:&lt;br /&gt;&lt;br /&gt;Well who told the members of Hamas to entrench themselves among the civilian populace?  By the way, I am not going to say that the Israelis are doing everything possible to avoid civilian casualties.  No really, I'm not.  Because I don't think that has any meaning.  In a time of war, particularly when one side has provoked the conflict, the other side is entitled to do whatever is necessary to attack and destroy legitimate military targets no matter who is in the area.&lt;br /&gt;&lt;br /&gt;See Article 28 of the &lt;a href="http://www.unhchr.ch/html/menu3/b/92.htm"&gt;Geneva convention&lt;/a&gt; dealing with civilians.  To quote:&lt;br /&gt;&lt;h4&gt;&lt;b&gt;&lt;i&gt;&lt;span style="font-family:Arial,Helvetica;"&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/h4&gt;&lt;blockquote&gt;&lt;h4&gt;&lt;b&gt;&lt;i&gt;&lt;span style="font-family:Arial,Helvetica;"&gt;Article 28&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/h4&gt;&lt;!--Copyright U of Minn Human Rights Library--&gt; &lt;p&gt;&lt;span style="font-family:Arial,Helvetica;"&gt;The presence of a protected person may not be used  to render certain points or areas immune from military operations.&lt;/span&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;&lt;span style="font-family:Arial,Helvetica;"&gt;&lt;/span&gt;  &lt;/p&gt;(To be completely honest, I didn't find that article on my own, I saw a reference to it on &lt;a href="http://www.zionism-israel.com/log/archives/00000170.html"&gt;zionism-israel.com&lt;/a&gt;, feel free to take a look)&lt;br /&gt;&lt;br /&gt;The Jihadis make a practice of storing weaponry and fighters in their Mosques. They use ambulences carrying the Red Crescent logo to transfer ammunition.  They torture prisoners and show no regard for the prisoners needs.  They make a practice of targeting civilians and non military targets.  In short, they pay no attention whatsoever to the Geneva convention.&lt;br /&gt;&lt;br /&gt;Frankly, they can all collectively go to Hell.&lt;br /&gt;&lt;br /&gt;&lt;object height="344" width="425"&gt;&lt;param name="movie" value="http://www.youtube.com/v/F_Wqi_BqI9E&amp;amp;hl=en&amp;amp;fs=1"&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;embed src="http://www.youtube.com/v/F_Wqi_BqI9E&amp;amp;hl=en&amp;amp;fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" height="344" width="425"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7177512239558629959-142991039914197937?l=tickletik.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tickletik.blogspot.com/feeds/142991039914197937/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tickletik.blogspot.com/2008/12/bob-dylan-comes-through.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7177512239558629959/posts/default/142991039914197937'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7177512239558629959/posts/default/142991039914197937'/><link rel='alternate' type='text/html' href='http://tickletik.blogspot.com/2008/12/bob-dylan-comes-through.html' title='Bob Dylan comes through'/><author><name>tickletik</name><uri>http://www.blogger.com/profile/06393258873017973811</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7177512239558629959.post-7165239873724746428</id><published>2008-12-23T15:18:00.000-08:00</published><updated>2008-12-23T15:36:04.298-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='git'/><category scheme='http://www.blogger.com/atom/ns#' term='github'/><title type='text'>Git it!</title><content type='html'>Well, before I go to the big Kahuna, that is, setting up mod_python and Django, I want to digress into Git.&lt;br /&gt;&lt;br /&gt;I've toyed around with Git for a while, and I found it very easy to use.  Now I want to set it up so I can use it with all my projects.  I also found a nifty site where I can store my repositories for backup, or sharing, or whatever.&lt;br /&gt;&lt;br /&gt;Well, you can download and read all about &lt;a href="http://git.or.cz/"&gt;Git&lt;/a&gt; at their web site.  And the public/private repository is called &lt;a href="http://github.com/"&gt;GitHub&lt;/a&gt;.  You have to pay for private repositories.  But I think the rates are fair.&lt;br /&gt;&lt;br /&gt;Since I like pain, I downloaded a source package and compiled it.  No sweat.&lt;br /&gt;&lt;br /&gt;Simply cd into the directory from the command line&lt;br /&gt;./configure&lt;br /&gt;make&lt;br /&gt;sudo make install&lt;br /&gt;&lt;br /&gt;and you're good to go.&lt;br /&gt;&lt;br /&gt;Well, I've been putting this off for long enough.  Now it's time to get Django running.&lt;br /&gt;&lt;br /&gt;Next up:  Mod_Python and Django!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7177512239558629959-7165239873724746428?l=tickletik.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tickletik.blogspot.com/feeds/7165239873724746428/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tickletik.blogspot.com/2008/12/git-it.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7177512239558629959/posts/default/7165239873724746428'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7177512239558629959/posts/default/7165239873724746428'/><link rel='alternate' type='text/html' href='http://tickletik.blogspot.com/2008/12/git-it.html' title='Git it!'/><author><name>tickletik</name><uri>http://www.blogger.com/profile/06393258873017973811</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7177512239558629959.post-2238908657820313032</id><published>2008-12-23T14:42:00.000-08:00</published><updated>2008-12-23T15:12:27.756-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='fink commander'/><category scheme='http://www.blogger.com/atom/ns#' term='fink'/><category scheme='http://www.blogger.com/atom/ns#' term='mysql'/><category scheme='http://www.blogger.com/atom/ns#' term='mac'/><category scheme='http://www.blogger.com/atom/ns#' term='bashrc'/><title type='text'>Finks, Meescuels, and whoo I'm tired</title><content type='html'>The thing about Mysql is that I might want to compile apps that use the mysql source.&lt;br /&gt;&lt;br /&gt;If that crops up, then I'll uninstall the prepackaged binary and use the docs at &lt;a href="http://diymacserver.com/docs"&gt;DIYMacServer&lt;/a&gt;.  However, right now, I just want to get the thing running.&lt;br /&gt;&lt;br /&gt;So I'm just going to download the package from the &lt;a href="http://dev.mysql.com/downloads/mysql/5.1.html#macosx-dmg"&gt;MySQL&lt;/a&gt; site.&lt;br /&gt;&lt;br /&gt;Make sure you got through the readme.  It points out the following lines have to be added to your .bashrc file&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;     alias mysql=/usr/local/mysql/bin/mysql&lt;br /&gt;     alias mysqladmin=/usr/local/mysql/bin/mysqladmin&lt;/blockquote&gt;&lt;br /&gt;Don't have a .bashrc file?  No worries, this what you have to do:&lt;br /&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Create a .bash_profile in your home directory and insert this line: &lt;blockquote&gt;source ~/.bashrc&lt;/blockquote&gt;&lt;/li&gt;&lt;li&gt;Create a .bashrc file in your home directory and insert the above two lines: &lt;blockquote&gt;alias mysql=/usr/local/mysql/bin/mysql&lt;br /&gt;alias mysqladmin=/usr/local/mysql/bin/mysqladmin&lt;/blockquote&gt;&lt;/li&gt;&lt;/ol&gt;&lt;br /&gt;All set!  Now you can call &lt;span style="font-weight: bold;"&gt;mysql&lt;/span&gt; and &lt;span style="font-weight: bold;"&gt;mysqladmin&lt;/span&gt; from the command line.&lt;br /&gt;&lt;br /&gt;Next, I install &lt;a href="http://www.finkproject.org/"&gt;Fink&lt;/a&gt; and &lt;a href="http://finkcommander.sourceforge.net/"&gt;FinkCommander&lt;/a&gt; in case I need to compile libraries that just. won't. work.  Be sure to read the documentation.  Now read it &lt;span style="font-weight: bold;"&gt;again&lt;/span&gt;.  &lt;span style="font-weight: bold; font-style: italic;"&gt;And again.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;I couldn't help but laugh at this line on the Fink Commander description:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;Fink Commander is ... (blah blah blah) ...  It provides an &lt;span style="font-weight: bold; color: rgb(153, 0, 0);"&gt;intuitive front-end &lt;/span&gt;to the Fink command-line tools&lt;/blockquote&gt;&lt;br /&gt;BWAH HAH HAHAHAH HAHHAHA!&lt;br /&gt;&lt;br /&gt;Be prepared for MUCH pain and suffering if you use this (which you will, because you need it).&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Side note&lt;/span&gt;:  I just discovered that I forgot to back up a significant library of code I wrote when I replaced the hard drive.  After a few minutes of stunned panic, I remembered I still have the old drive.  So I called up &lt;a href="http://www.tekserve.com/"&gt;TekServe &lt;/a&gt;and asked if they can help me get the files back.  It'll cost me, but I really really need those files.  They represent a LOT of work.  This teaches me not to back up twice.&lt;br /&gt;&lt;br /&gt;Next up:  Git it!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7177512239558629959-2238908657820313032?l=tickletik.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tickletik.blogspot.com/feeds/2238908657820313032/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tickletik.blogspot.com/2008/12/finks-meescuels-and-whoo-im-tired.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7177512239558629959/posts/default/2238908657820313032'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7177512239558629959/posts/default/2238908657820313032'/><link rel='alternate' type='text/html' href='http://tickletik.blogspot.com/2008/12/finks-meescuels-and-whoo-im-tired.html' title='Finks, Meescuels, and whoo I&apos;m tired'/><author><name>tickletik</name><uri>http://www.blogger.com/profile/06393258873017973811</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7177512239558629959.post-2874521536898346106</id><published>2008-12-23T14:26:00.000-08:00</published><updated>2008-12-23T14:39:58.990-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='partition'/><category scheme='http://www.blogger.com/atom/ns#' term='install'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='iTunes'/><category scheme='http://www.blogger.com/atom/ns#' term='mac'/><title type='text'>iTunes</title><content type='html'>This post is actually out of sequence.  Truth is, the first thing I did after I installed the speeddownload was to move over my music library.  But here it is anyway.&lt;br /&gt;&lt;br /&gt;Since I want my music to be available on both the Mac and Linux partitions, I decided to install it in opt.   Specifically:&lt;br /&gt;&lt;br /&gt;&lt;blockquote style="font-weight: bold;"&gt;/opt/media/music/iTunes&lt;/blockquote&gt;Nice and orderly.  Sometimes I'm going to have music from other sources, e.g. Amazon, which like to have their own directory.&lt;br /&gt;&lt;br /&gt;Well, first thing you have to do is let iTunes know which directory you're going to be storing your music in.&lt;br /&gt;&lt;br /&gt;From the menu: &lt;span style="font-weight: bold;"&gt;iTunes::Preferences::Advanced::change music folder &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;To explain: Where it says "iTunes Music folder location" near the top of the tab, click on the "change" button.  Then select, or create the directory, whereever you like, then hit the "open" button in the directory dialog.&lt;br /&gt;&lt;br /&gt;Now click "OK" in the Preferences panel.&lt;br /&gt;&lt;br /&gt;Very good.  Now back in the menu: &lt;span style="font-weight: bold;"&gt;Advanced::Consolodate Library&lt;/span&gt; it'll ask if you're sure, say yes, and then it will move any music you had in the original iTunes folder, ie &lt;span style="font-weight: bold;"&gt;Music/iTunes/iTuns Music &lt;/span&gt;and it will move it to the new folder.&lt;br /&gt;&lt;br /&gt;Next, remove the old &lt;span style="font-weight: bold;"&gt;iTunes Music&lt;/span&gt; folder I mentioned above, but leave the "iTunes Music Library.xml" file alone.&lt;br /&gt;&lt;br /&gt;Next up, Mysql, and fink&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7177512239558629959-2874521536898346106?l=tickletik.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tickletik.blogspot.com/feeds/2874521536898346106/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tickletik.blogspot.com/2008/12/itunes.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7177512239558629959/posts/default/2874521536898346106'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7177512239558629959/posts/default/2874521536898346106'/><link rel='alternate' type='text/html' href='http://tickletik.blogspot.com/2008/12/itunes.html' title='iTunes'/><author><name>tickletik</name><uri>http://www.blogger.com/profile/06393258873017973811</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7177512239558629959.post-6345958034330262739</id><published>2008-12-23T13:26:00.001-08:00</published><updated>2008-12-23T14:26:11.878-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='load-path'/><category scheme='http://www.blogger.com/atom/ns#' term='editors'/><category scheme='http://www.blogger.com/atom/ns#' term='vim'/><category scheme='http://www.blogger.com/atom/ns#' term='django'/><category scheme='http://www.blogger.com/atom/ns#' term='aquaemacs'/><category scheme='http://www.blogger.com/atom/ns#' term='emacs'/><category scheme='http://www.blogger.com/atom/ns#' term='actionscript'/><category scheme='http://www.blogger.com/atom/ns#' term='macvim'/><title type='text'>The Editors</title><content type='html'>Now we're up to the editors.&lt;br /&gt;&lt;br /&gt;There are three editors I tend to use on a mac.  Two of which I tend to use everywhere.&lt;br /&gt;&lt;br /&gt;In order of use (with Linux equivalents):&lt;br /&gt;&lt;ol&gt;&lt;li&gt;&lt;a href="http://code.google.com/p/macvim/"&gt;MacVim&lt;/a&gt; / GVim&lt;/li&gt;&lt;li&gt;&lt;a href="http://aquamacs.org/"&gt;AquaEmacs&lt;/a&gt; / Emacs&lt;/li&gt;&lt;li&gt;Textmate&lt;/li&gt;&lt;/ol&gt;Textmate I'm going to hold off on for a while.  I don't often use it, and I'm a bit overwhelmed as it is.&lt;br /&gt;&lt;br /&gt;Now installing these editors is not so cut and dried.  I need to also install additional files so they can handle the various file formats I use.  For example, django templating, actionscript, etc.&lt;br /&gt;&lt;br /&gt;On the Vim side, here are the files I can get:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.vim.org/scripts/script.php?script_id=1487"&gt;django&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.abdulqabiz.com/blog/archives/flash_and_actionscript/vim_actionscript_and.php"&gt;actionscript 3.0 and MXML&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Now to make it work with MacVim takes a bit of quakery.&lt;br /&gt;&lt;br /&gt;First off, where's the $VIMRUNTIME directory?  Well, here's the hackery:&lt;br /&gt;&lt;br /&gt;I read a snippet some where that said:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;span style="font-family:verdana;"&gt; :e $VIMRUNTIME/vimrc_example.vim&lt;br /&gt;:saveas ~/.vimrc&lt;br /&gt;:e $VIMRUNTIME/gvimrc_example.vim&lt;br /&gt;:saveas ~/.gvimrc&lt;br /&gt;&lt;/span&gt;&lt;/pre&gt;So I did the first part, and then I tried "save as" to see which directory it was in.  Turns out it's in:&lt;br /&gt;&lt;br /&gt;/Applications/MacVim.app/Contents/Resources/vim/runtime/&lt;br /&gt;&lt;br /&gt;So that's $VIMRUNTIME&lt;br /&gt;&lt;br /&gt;go there, then "cd syntax" and you're where the *.vim files have to get dumped.&lt;br /&gt;&lt;br /&gt;next do that above snippet of code to create  a .vimrc file in your home directory.  Not sure if you need to do the same gvimrc, but what the hell.&lt;br /&gt;&lt;br /&gt;Now for Aquaemacs&lt;br /&gt;&lt;br /&gt;First thing, check out this page on &lt;a href="http://cogmod.osu.edu/wiki/index.php/Emacs_customization"&gt;emacs customization&lt;/a&gt;.  It will save you much pain.&lt;br /&gt;&lt;br /&gt;There is a great site called &lt;a href="http://www.emacswiki.org/"&gt;emacswiki&lt;/a&gt;, it has a lot of a good info, especially on files you might like to install. I tend to use &lt;a href="http://www.emacswiki.org/emacs/ecmascript-mode.el"&gt;ecmascript&lt;/a&gt; (what actionscript is based on).&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Here's a link for general info &lt;a href="http://www.emacswiki.org/emacs/FlashActionscript"&gt;actionscript&lt;/a&gt; in emacs.&lt;br /&gt;And another link for info on &lt;a href="http://code.djangoproject.com/wiki/Emacs"&gt;django&lt;/a&gt; in emacs.&lt;br /&gt;&lt;br /&gt;Great, so how do I install this stuff in AquaEmacs?  Here's how.&lt;br /&gt;&lt;br /&gt;First, you have to install the *.el files in a place where emacs can find it.  This all about the "load-path" and I found a great tip on this &lt;a href="http://www.geocities.com/kensanata/dot-emacs.html"&gt;tutorial&lt;/a&gt;:&lt;br /&gt;&lt;blockquote&gt;&lt;h2&gt;Where to put your elisp files &lt;/h2&gt;  &lt;p&gt; If you get an elisp file from the Internet or from a friend, you will need to put it in a place Emacs can find.  Emacs needs to know this in case you want to load such a file from your .emacs.  This is therefore the first thing I have in my .emacs file:  &lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;pre&gt;&lt;span class="comment"&gt;;;; Paths and directories&lt;/span&gt;&lt;br /&gt;(add-to-list 'load-path &lt;span class="string"&gt;"~/elisp"&lt;/span&gt;)&lt;/pre&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;next, you go to the aquamacs preferences file, and edit it like so:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;(autoload 'ecmascript-mode "ecmascript-mode.el"&lt;br /&gt;"Major mode for editing ecmascript." t)&lt;br /&gt;&lt;br /&gt;(autoload 'actionscript-mode "actionscript-mode.el"&lt;br /&gt;"Major mode for editing AS3 files." t)&lt;br /&gt;&lt;br /&gt;(autoload 'django-html-mode "django-html-mode.el"&lt;br /&gt;"'Improved' mode for editing django html templates." t)&lt;br /&gt;&lt;br /&gt;(autoload 'django-mode "django-mode.el"&lt;br /&gt;"Major mode for editing django templates." t)&lt;br /&gt;&lt;br /&gt;(add-to-list 'auto-mode-alist '("\\.as[123]?$" . ecmascript-mode))&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;;; set tabs only&lt;br /&gt;(setq-default indent-tabs-mode nil);&lt;br /&gt;(setq default-tab-width 4);&lt;/blockquote&gt;&lt;br /&gt;(you don't have to add the tab settings)  And you're done.&lt;br /&gt;&lt;br /&gt;Next up, setting up iTunes.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;/pre&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7177512239558629959-6345958034330262739?l=tickletik.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tickletik.blogspot.com/feeds/6345958034330262739/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tickletik.blogspot.com/2008/12/editors.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7177512239558629959/posts/default/6345958034330262739'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7177512239558629959/posts/default/6345958034330262739'/><link rel='alternate' type='text/html' href='http://tickletik.blogspot.com/2008/12/editors.html' title='The Editors'/><author><name>tickletik</name><uri>http://www.blogger.com/profile/06393258873017973811</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7177512239558629959.post-950185088860614323</id><published>2008-12-23T13:02:00.000-08:00</published><updated>2008-12-23T13:24:41.605-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ide'/><category scheme='http://www.blogger.com/atom/ns#' term='install'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='adobe cs4'/><category scheme='http://www.blogger.com/atom/ns#' term='wallpaper'/><category scheme='http://www.blogger.com/atom/ns#' term='icon'/><category scheme='http://www.blogger.com/atom/ns#' term='refit'/><title type='text'>IDE's and making funky little icons for refit</title><content type='html'>Well, we've got Xcode being downloaded in the background, but why should that stop me from installing a few nifty things?&lt;br /&gt;&lt;br /&gt;First up, the wallpaper - &lt;a href="http://www.wallpaperlinux.com/v/Tux/"&gt;wallpaperlinux&lt;/a&gt; is pretty decent, you can get some &lt;a href="http://www.wallpaperlinux.com/v/Tux/Tux+Earth+Linux+Wallpapers+Smart+Little+Penguin+Desktop.jpg.html?"&gt;good&lt;/a&gt; &lt;a href="http://www.wallpaperlinux.com/v/Tux/Tux+Linux+Wallpapers+Free+Desktop+With+The+Penguin+Wallpaper.jpg.html?"&gt;stuff&lt;/a&gt; &lt;a href="http://www.wallpaperlinux.com/v/Tux/Tux+Mac+Wallpaper+Desktop+Manager+Customize+Linux+Display.jpg.html?g2_imageViewsIndex=1"&gt;there&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Now for an icon, I hate the icons that come with refit. Yeah they're OK I guess, but I want something cooler.&lt;br /&gt;&lt;br /&gt;Something like this:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_A1jhLOOZiKU/SVFTLSuVTgI/AAAAAAAAAAc/t2aKrCnCto8/s1600-h/batux-128.png"&gt;&lt;img style="margin: 0pt 0pt 10px 10px; cursor: pointer; width: 128px; height: 128px;" src="http://2.bp.blogspot.com/_A1jhLOOZiKU/SVFTLSuVTgI/AAAAAAAAAAc/t2aKrCnCto8/s320/batux-128.png" alt="" id="BLOGGER_PHOTO_ID_5283095291352141314" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;There are two problems here.&lt;br /&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;refit uses the mac .icns file - so I need a converter&lt;/li&gt;&lt;li&gt;refit wants the image to be 128x128 - so I have to resize the image I got.&lt;/li&gt;&lt;/ol&gt;Well, &lt;a href="http://www.img2icnsapp.com/"&gt;img2icns&lt;/a&gt; is a handy little utility that allows me to convert png to icns. There's a freeware version and a souped up commercial version.  My needs, fortunately, are simple.&lt;br /&gt;&lt;br /&gt;But first, I need to resize the sucker.  Now's as good a time as any to install Adobe Web Design CS4.  It has a ton of useful apps which I'll be wasting lots of time figuring out in the future.&lt;br /&gt;&lt;br /&gt;It comes in a funky little case that has these odd little widgets that serve no purpose.  Maybe in a later post, I'll get a camera and upload pics of it all, but for now just take my word.&lt;br /&gt;&lt;br /&gt;It's LARGE.  There is a LOT of info in it.  So be prepared to take a nap or read a book (I did both).&lt;br /&gt;&lt;br /&gt;But it's worth it.  Flash CS4 is a lot more together than CS3.&lt;br /&gt;&lt;br /&gt;(Yeah I know, that doesn't justify the upgrade price tag, but if the aesthetics are any indication, I am going to enjoy working with this. )&lt;br /&gt;&lt;br /&gt;I load up photoshop, resize the image, drop it into img2icns, then rename it os_linux.icns, drop it in /efi/refit/icons (that's where it has to be), reboot the machine, and it looks quite pretty.  (no screenshots of boot, sorry).&lt;br /&gt;&lt;br /&gt;Whew.&lt;br /&gt;&lt;br /&gt;Next post, the Editors.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7177512239558629959-950185088860614323?l=tickletik.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tickletik.blogspot.com/feeds/950185088860614323/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tickletik.blogspot.com/2008/12/ides-and-making-funky-little-icons-for.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7177512239558629959/posts/default/950185088860614323'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7177512239558629959/posts/default/950185088860614323'/><link rel='alternate' type='text/html' href='http://tickletik.blogspot.com/2008/12/ides-and-making-funky-little-icons-for.html' title='IDE&apos;s and making funky little icons for refit'/><author><name>tickletik</name><uri>http://www.blogger.com/profile/06393258873017973811</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_A1jhLOOZiKU/SVFTLSuVTgI/AAAAAAAAAAc/t2aKrCnCto8/s72-c/batux-128.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7177512239558629959.post-2304451144237788296</id><published>2008-12-23T12:48:00.000-08:00</published><updated>2008-12-23T13:24:17.333-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='camino'/><category scheme='http://www.blogger.com/atom/ns#' term='firefox'/><category scheme='http://www.blogger.com/atom/ns#' term='install'/><category scheme='http://www.blogger.com/atom/ns#' term='speeddownload'/><category scheme='http://www.blogger.com/atom/ns#' term='safari'/><category scheme='http://www.blogger.com/atom/ns#' term='mac'/><category scheme='http://www.blogger.com/atom/ns#' term='opera'/><title type='text'>Browsers, browsers everywhere, but not a wireless to link!</title><content type='html'>To recap - I just partitioned my drive properly and installed the two operating systems I intend to use.  Now it's time for some internetty goodness.&lt;br /&gt;&lt;br /&gt;There are four main browsers available to me on a mac,  three of which I intend to muck about with.&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Safari / Webkit&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.mozilla.com/en-US/firefox/"&gt;Firefox&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://caminobrowser.org/"&gt;Camino&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.opera.com/"&gt;Opera&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;The first three I installed.  Opera, well, I'll get to it later, when I'm bored.&lt;br /&gt;&lt;br /&gt;Next up, I need to install my fast downloader for those hideously large files that tend to stop right in the middle.&lt;br /&gt;&lt;br /&gt;Enter, &lt;a href="http://www.yazsoft.com/"&gt;SpeedDownload&lt;/a&gt;!&lt;br /&gt;&lt;br /&gt;Here's a screeny:&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_A1jhLOOZiKU/SVFP98h0FZI/AAAAAAAAAAU/6na3qxAk-cs/s1600-h/speeddownload-screenshot.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 174px;" src="http://3.bp.blogspot.com/_A1jhLOOZiKU/SVFP98h0FZI/AAAAAAAAAAU/6na3qxAk-cs/s320/speeddownload-screenshot.png" alt="" id="BLOGGER_PHOTO_ID_5283091763520869778" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;First thing I do with it, I connect to some guy running on a dlink installation (this guy apparently doesn't believe in wpa protection - in manhattan)  and I head over to the Apple Developer Connection to download &lt;a href="http://developer.apple.com/technology/xcode.html"&gt;XCode for Leopard&lt;/a&gt;.  This is about a gig, and the connection is crappy, so it ends up taking 7 hours (I just set it and went to bed).&lt;br /&gt;&lt;br /&gt;Well, not quite.  I did other stuff, occasionally halting the download to reboot the system, install other stuff - you get the drill.&lt;br /&gt;&lt;br /&gt;But for that, you have to read the Next Post&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7177512239558629959-2304451144237788296?l=tickletik.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tickletik.blogspot.com/feeds/2304451144237788296/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tickletik.blogspot.com/2008/12/browsers-browsers-everywhere-but-not.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7177512239558629959/posts/default/2304451144237788296'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7177512239558629959/posts/default/2304451144237788296'/><link rel='alternate' type='text/html' href='http://tickletik.blogspot.com/2008/12/browsers-browsers-everywhere-but-not.html' title='Browsers, browsers everywhere, but not a wireless to link!'/><author><name>tickletik</name><uri>http://www.blogger.com/profile/06393258873017973811</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_A1jhLOOZiKU/SVFP98h0FZI/AAAAAAAAAAU/6na3qxAk-cs/s72-c/speeddownload-screenshot.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7177512239558629959.post-3275568977985366368</id><published>2008-12-23T12:29:00.000-08:00</published><updated>2008-12-23T13:23:58.136-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='format'/><category scheme='http://www.blogger.com/atom/ns#' term='install'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='mac'/><title type='text'>Had to start all over</title><content type='html'>Everything went kablooey.  I was trying to reformat the opt partition to hfs+ format, and Disk Utility was hanging.  Eventually I got sick of it and decided to do it all over again from scratch.  So if anyone out there has ben following this misadventure, this post, right here, right now,&lt;a href="http://www.urbandictionary.com/define.php?term=same+bat-time%2C+same+bat-channel"&gt; right this bat second&lt;/a&gt;, is the place to start.&lt;br /&gt;&lt;br /&gt;Now it turns out, for some mysterious reason, the 320 Gb hard drive only shows up as 298 Gb.  what those other rascally 22 Gigs are doing I have no idea.  But we work with what we've got. And frankly, I'll be pretty amazed if I use up all that space by the time I decide to get a new laptop.&lt;br /&gt;&lt;br /&gt;Here's a pretty image of the partition:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_A1jhLOOZiKU/SVFLjKv1XfI/AAAAAAAAAAM/vBdOR5TrnYQ/s1600-h/partion-screenshot.png"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 424px; height: 376px;" src="http://1.bp.blogspot.com/_A1jhLOOZiKU/SVFLjKv1XfI/AAAAAAAAAAM/vBdOR5TrnYQ/s320/partion-screenshot.png" alt="" id="BLOGGER_PHOTO_ID_5283086905434791410" border="0" /&gt;&lt;/a&gt;osx is the main partition, it's 90 gigs, currently using 40&lt;br /&gt;&lt;br /&gt;opt is 120 gigs, I'm currently using only 13.&lt;br /&gt;&lt;br /&gt;Boy I'm going to feel stupid if my space requirements are in reverse.&lt;br /&gt;&lt;br /&gt;DISKOS4 is the main linux partition.  It's 84 gigs.  I'm not sure at the moment how much is being used.  But at worst, I've never gone over 30.&lt;br /&gt;&lt;br /&gt;There's a fourth partion which isn't listed, and that's the Linux Swap partition.  Just a measly 4 Gigs.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;So to reformat everything, I booted into the linux cd.  Used it's partition utility to erase all the partitions.  The I started up the Leopard cd and made 3 partitions.   osx, opt, and free space.  opt was formatted to hfs+.  Linux can read/write to hfs. but OSX breaks down when doing intense work with ext2  (and don't even bother with ext3).  Some people mentions "Mac Free".  But I used &lt;a href="http://sourceforge.net/projects/ext2fsx/"&gt;ext2fsx&lt;/a&gt;, something which has completely crashed on me in the past.  I don't recommend using it for anything but cursory reading.&lt;br /&gt;&lt;br /&gt;Now at this point, I have Leopard, two formatted partitions, and a lot of free space.  So I downloaded &lt;a href="http://refit.sourceforge.net/"&gt;refit&lt;/a&gt; and installed it.&lt;br /&gt;&lt;br /&gt;Next, reboot into the Linux cd and install linux.  I manually partitioned the free space into the normal mount point - / - and a Linux Swap partition, as I mentioned above.&lt;br /&gt;&lt;br /&gt;Continued - Browsers&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7177512239558629959-3275568977985366368?l=tickletik.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tickletik.blogspot.com/feeds/3275568977985366368/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tickletik.blogspot.com/2008/12/had-to-start-all-over.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7177512239558629959/posts/default/3275568977985366368'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7177512239558629959/posts/default/3275568977985366368'/><link rel='alternate' type='text/html' href='http://tickletik.blogspot.com/2008/12/had-to-start-all-over.html' title='Had to start all over'/><author><name>tickletik</name><uri>http://www.blogger.com/profile/06393258873017973811</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_A1jhLOOZiKU/SVFLjKv1XfI/AAAAAAAAAAM/vBdOR5TrnYQ/s72-c/partion-screenshot.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7177512239558629959.post-8242529791312126686</id><published>2008-12-22T19:37:00.000-08:00</published><updated>2008-12-22T19:43:25.314-08:00</updated><title type='text'>blogging like crazy</title><content type='html'>So it's time for the obligatory political post.&lt;br /&gt;&lt;br /&gt;Like a lot of people I'm of two minds regarding President Bush.  I don't know if what he did was a good idea, because the only way to know that is if it works, which will take another 8 years or so.  Why?  Because the whole concept behind the war was to prevent WWIII.  If we find ourselves in WWIII, then that means he was wrong.  If we don't, it means he was right.&lt;br /&gt;&lt;br /&gt;But regardless, I think his intentions were good.  So I found this post at &lt;a href="http://www.americanthinker.com/blog/2008/12/the_simple_human_decency_of_ge.html"&gt;American Thinker&lt;/a&gt; which brings up some kind news regarding him.&lt;br /&gt;&lt;br /&gt;To sum up, apparently he took a great deal of time out to touch base with a lot of wounded and the families of dead soldiers.  While that doesn't justify anything, it is a touching thing.&lt;br /&gt;&lt;br /&gt;Back to the technical!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7177512239558629959-8242529791312126686?l=tickletik.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tickletik.blogspot.com/feeds/8242529791312126686/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tickletik.blogspot.com/2008/12/blogging-like-crazy.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7177512239558629959/posts/default/8242529791312126686'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7177512239558629959/posts/default/8242529791312126686'/><link rel='alternate' type='text/html' href='http://tickletik.blogspot.com/2008/12/blogging-like-crazy.html' title='blogging like crazy'/><author><name>tickletik</name><uri>http://www.blogger.com/profile/06393258873017973811</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7177512239558629959.post-8907460836241014334</id><published>2008-12-22T19:03:00.000-08:00</published><updated>2008-12-22T19:31:43.907-08:00</updated><title type='text'>monday updates</title><content type='html'>Found a good link for setting up mod_python on leopard:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://blog.amber.org/2007/12/06/building-mod_python-on-leopard/"&gt;http://blog.amber.org/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The blog itself is clever, but not my style of politics.  Too MacTrendy for me.&lt;br /&gt;&lt;br /&gt;Anyway, the info seems accurate.&lt;br /&gt;&lt;br /&gt;Also, I'm going to reformat the linux side, make a bigger partition for opt.  I checked out the amount of megs per gig, and it comes to 1024, which makes sense.  so that's about 122880mb for 120gigs.  Which in my mind sounds like "twelve-twenty eight-eighty".&lt;br /&gt;&lt;br /&gt;Found a new and more interesting version of &lt;a href="http://code.google.com/p/macvim/"&gt;MacVim&lt;/a&gt;, which I intend to use.&lt;br /&gt;&lt;br /&gt;The Xcode download is insanely large, about a gig.  So I'm going to hold off on that for a bit.&lt;br /&gt;&lt;br /&gt;I'm going to stick with flex3 trial instead of the full version.  For all I know, by the time I'm ready to start using it, they'll have another version out, which will mean I'll have to pony up another $99 to upgrade to.  Better wait until I'm ready to start working with it.&lt;br /&gt;&lt;br /&gt;Python - to use 2.6 or 2.5?  Do I use the default or the mucky version?  I have to find a version of IDLE that doesn't look horrible.  If Xcode has that, I'll stick with theirs.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7177512239558629959-8907460836241014334?l=tickletik.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tickletik.blogspot.com/feeds/8907460836241014334/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tickletik.blogspot.com/2008/12/found-good-link-for-setting-up.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7177512239558629959/posts/default/8907460836241014334'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7177512239558629959/posts/default/8907460836241014334'/><link rel='alternate' type='text/html' href='http://tickletik.blogspot.com/2008/12/found-good-link-for-setting-up.html' title='monday updates'/><author><name>tickletik</name><uri>http://www.blogger.com/profile/06393258873017973811</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7177512239558629959.post-7177739838429455077</id><published>2008-12-22T17:09:00.000-08:00</published><updated>2008-12-22T19:31:18.591-08:00</updated><title type='text'>got back the system</title><content type='html'>Sat night I got back my system.  The guys at Tekserve did a great job.  The system now has 4gb memory, and a  320gb hard drive, I think it's 7200 rpm, but it doesn't matter.  The Tekserve guys did a standard check before they took it out and let me know that the old drive was failing.  Which explains a lot of what was going wrong.  I thought it was just some corrupted files.  Turns out it was dying.&lt;br /&gt;&lt;br /&gt;Anyway, I just partitioned it  and installed linux.&lt;br /&gt;&lt;br /&gt;What we currently have is:&lt;br /&gt;&lt;br /&gt;100gb Mac partition on sda2&lt;br /&gt;112gb ext2 partition (/opt) on sda3  (I meant to have it at 120gb, but I screwed up)&lt;br /&gt;83.8gb ext2 partition (/) on sda4&lt;br /&gt;and a 2gb partition for the swap&lt;br /&gt;&lt;br /&gt;I'm really impressed with how everything just Plain Works&lt;sub&gt;TM&lt;/sub&gt;.  Normally I had to download the madwifi drivers and make myself crazy trying to install all the various packages for compiling said drivers so I could connect to the net using ubuntu.  Since I don't have a wire connection I need to rely on starbucks to get online.&lt;br /&gt;&lt;br /&gt;Anyway, those days seem to be gone, thank G-d!&lt;br /&gt;&lt;br /&gt;Now I want to see if it's possible to install something that will allow me to read from an ext2/ext3 filesystem.  If it isn't 100% secure, then I'll reform /opt to hfs+&lt;br /&gt;&lt;br /&gt;So here is a short list of some programs I'm going to need to download, or already have downloaded to get the mac side working:&lt;br /&gt;&lt;ol&gt;&lt;li&gt;SpeedDownload (so I can break up huge files) - &lt;span style="color: rgb(255, 153, 0);"&gt;done&lt;/span&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Firefox - &lt;span style="color: rgb(255, 153, 0);"&gt;done&lt;/span&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;iTerm - &lt;span style="color: rgb(255, 153, 0);"&gt;done&lt;/span&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;AquaEmacs - &lt;span style="color: rgb(255, 153, 0);"&gt;done&lt;/span&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;MacVim - &lt;span style="color: rgb(255, 153, 0);"&gt;done&lt;/span&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Something to use ext2 on Mac&lt;/li&gt;&lt;li&gt;the latest version of Python&lt;/li&gt;&lt;li&gt;finkcommander &lt;span style="color: rgb(204, 0, 0);"&gt;(update - needs &lt;/span&gt;&lt;a style="color: rgb(51, 102, 255);" href="http://www.finkproject.org/download/"&gt;fink&lt;/a&gt;&lt;span style="color: rgb(204, 0, 0);"&gt;)&lt;/span&gt; - &lt;span style="color: rgb(255, 153, 0);"&gt;done&lt;/span&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;the megabig xcode package&lt;/li&gt;&lt;li&gt;apache2 - I don't know if the apache of leopard is set up to use python, I might have to reinstall everything&lt;/li&gt;&lt;li&gt;mysql&lt;/li&gt;&lt;li&gt;adobe flex 3&lt;/li&gt;&lt;li&gt;adobe flash 10 (and 9) debug version - which is the main reason why I started this.  I needed a version of flash to debug and it wouldn't install.&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;&lt;ul&gt;&lt;li&gt;some python xml libs&lt;br /&gt;&lt;/li&gt;&lt;li&gt;image libs (PIL)&lt;/li&gt;&lt;li&gt;django&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;Also, I have CS4 Web Premium from Adobe, and I intend to install it later tonight&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7177512239558629959-7177739838429455077?l=tickletik.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tickletik.blogspot.com/feeds/7177739838429455077/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tickletik.blogspot.com/2008/12/got-back-system.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7177512239558629959/posts/default/7177739838429455077'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7177512239558629959/posts/default/7177739838429455077'/><link rel='alternate' type='text/html' href='http://tickletik.blogspot.com/2008/12/got-back-system.html' title='got back the system'/><author><name>tickletik</name><uri>http://www.blogger.com/profile/06393258873017973811</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7177512239558629959.post-4878847186522157931</id><published>2008-12-18T10:54:00.000-08:00</published><updated>2008-12-18T10:58:39.023-08:00</updated><title type='text'>reformatting my hard drive</title><content type='html'>I have a 2.33Ghz Intel Core 2 Duo mack with 2gb memory.&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Currently running Tiger 10.4.11&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Now I'm sick of it.  Every couple of months firefox starts to go wonky, and then I have to hack through the system trying to get it to work.  Finally, I've had enough, I'm buying bigger, faster hard drive, I'm going to install leopard on it.  And then I'm going to put a linux partition and a windows partition (with xp).&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;This blog is going to detail everything I do to get my system back up and running.  I've always wanted to keep some kind of record of it, and with a newly formatted hard drive, this will be my chance.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;So the first step was moving all my files to a backup drive, did that last night.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Tomorrow morning I'm going to drop this off at Tekserve and get the ball rolling, hopefully I'll get my computer back on Sunday.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7177512239558629959-4878847186522157931?l=tickletik.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tickletik.blogspot.com/feeds/4878847186522157931/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tickletik.blogspot.com/2008/12/reformatting-my-hard-drive.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7177512239558629959/posts/default/4878847186522157931'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7177512239558629959/posts/default/4878847186522157931'/><link rel='alternate' type='text/html' href='http://tickletik.blogspot.com/2008/12/reformatting-my-hard-drive.html' title='reformatting my hard drive'/><author><name>tickletik</name><uri>http://www.blogger.com/profile/06393258873017973811</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
