Name: Paulo André
Member since: 2001-03-22 23:25:14
Last Login: 2008-07-05 00:08:14
Homepage: http://the-mirror.blogspot.com/
Notes: http://rateyourmusic.com/~prla
http://www.last.fm/user/prla
http://www.imdb.com/mymovies/list?l=22263791
5 Jul 2008 (updated 5 Jul 2008 at 00:07 UTC) »
Leopard ships with a fully functional Apache 2.2 copy and
getting PHP5 to play along with it is a simple matter of
uncommenting one line in httpd.conf. Installing
PostgreSQL is a breeze using Marc Liyanage's
PostgreSQL package, not forgetting to set the cluster
creation encoding to Latin1. This is because everything in
the information system is Latin1 and it saves a lot of
headaches.
The trouble began when I noticed that Leopard didn't really ship with PostgreSQL bindings in its PHP5 installation. So basically there was no choice other than recompiling PHP from scratch. I tried Marc's PHP5 package which includes PostgreSQL support but alas it all went well until the installation process bombed out in the end with a cryptic error.
So, off to compiling PHP's source which had me searching for
the Leopard DVDs so I could install XCode's tools, namely
gcc. Once that was done, compiling PHP was a
breeze. Problem was that once it got installed, Apache
complained that the PHP module had the wrong architecture.
One minute of Googling told me that Leopard's Apache comes
pre-configured for all 4 archs and so I need to do that for
whatever I install that interfaces with it. This is a
prospect that clearly sucked.
Miraculously, someone came up with a much better and hassle
free choice: stripping the httpd binary of the
surplus architectures and leaving 32-bit only. Here's the
magic sauce:
$ cd /usr/sbin $ sudo cp httpd httpd-fat $ sudo lipo httpd -thin i386 -output httpd
Works like a charm.
Et voila'. It's up and running!
Now I'm spent, I better crawl to bed.
3 Jul 2008 (updated 3 Jul 2008 at 22:07 UTC) »
In any case, it's been a really interesting trip so far and the best side effect has been learning a lot of simple but neat Emacs tricks with Gonçalo, my supervisor on this particular project. Another important thing is that I'll probably be developing another information system, with different subject matter entirely, and the knowledge I've been acquiring will surely prove invaluable later on. Today has been somewhat of a breakthrough, as I've been implementing from scratch a lot of functionality which, despite simple at the core, were nothing but a major headache less than a week ago.
And when it comes to database design, I may not come up with the best relational designs in the world but I surely understand them much more clearly. Proof is how different (and may I add worse) a schema for a side project of mine was before I got to work on this stuff here and now that I learned a couple of things.
Oh and I've been carrying the Macbook along to work again. I simply cannot live without this baby and I guess using a shitty keyboard on the desktop also prevents me from really feeling comfortable. Other than that I just miss the comfort I find in Mac OS, regardless of my everlasting love for Linux, which I've used for over a decade now.
It's also been two months since I started working and the truth is that I've done little else on the side. Football Manager 2008 Portuguese translation has kicked off and there's a web app I'd like to take a stab on but both are on the backburner until I get back on my feet, so to speak. The translation, however, I need to start as soon as possible.
More to come. Interesting, albeit difficult tiresome and sometimes nerve-wrecking, times.
model name : Intel(R) Core(TM)2 Duo CPU E4500 @
2.20GHz
So, what I'm developing at work is an information system to manage the performance evaluation of public administration workers and their superiors. In Portugal, this is called SIADAP. I need to deliver the first part of the system, up and running, by the end of next week and not being entirely too productive using CakePHP yet is a bit of a problem.
In the meantime, my back is killing me again. I always predicted I'd have back problems but not when I'm bloody 24 going on 25. I'm hoping I won't need to pay a visit to the osteopath this time around, but it all depends on how I feel later today.
Hitting a wall at work, I can't seem to get the information system codebase checkout to properly run in my development machine's Apache. Something's up either with the Apache config or the CakePHP config itself. Either way, it's worrying me because I need to get up to speed as soon as possible and here I am wasting time not able to get things even running, let alone write some code.
More on this later...
Doing the lazy lazy thing for the whole weekend, not giving a damn about any work. Finally finished "Neuromancer" which was both interesting and confusing in places. I guess reading about technology from 1985 with over 20 years of real world hindisight on that same technology explains my confusion. SF authors are right a lot of the time, but not always. Nevertheless, I feel better having finally read it and it amazes me how much "The Matrix" actually resembles this. Now I'm reading "Pattern Recognition" by the very same William Gibson and enjoying it quite a lot more, about 100 pages into it.
Work has picked up and writing information systems for important things in CakePHP is a mystery that slowly unfolds. I better get proficient writing web apps with this framework and that right soon.
Yesterday, made a detour in Lisbon to get D. to the bus station so she could get home for the weekend and decided to go to Colombo's FNAC while I was at it in order to buy Porcupine Tree tickets for the October gig in Almada. While doing so, couldn't resist the fresh money in my wallet, so to speak, and got myself a couple of treats: Portishead's "Third" and Black Mountain "In The Future". Both are sublime and will surely feature in my Top 10 come the end of the year. Unless the second half of the year is absolutely crazy in terms of sheer quality.
But, alas or not, the weekend is coming to an end and I need to pack, shower, dine and get my ass moving back to Evora. Work resumes tomorrow at 9am and I never thought I'd be happy to have a 9-5 job, but I do. I needed the stability for a while.
prla certified others as follows:
Others have certified prla as follows:
[ Certification disabled because you're not logged in. ]
FOAF updates: Trust rankings are now exported, making the data available to other users and websites. An external FOAF URI has been added, allowing users to link to an additional FOAF file.
Keep up with the latest Advogato features by reading the Advogato status blog.
If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!