Recent blog entries for mrcsparker

hrmm. Objective-C is the language for iPhone dev. Sure, you can unlock your phone and do all sorts of interesting things, but if you want to release to the app store you must program in Objective-C on OSX.

I am writing an iPhone app, but I don't have an Intel machine. My good friend Neimah got me a really nice Power machine (one of the really cool Power Macs that I wanted back when they were the only game around). You can develop iPhone 3.0 apps on Power:

Also, don't even think about making your code a bit more simple by including a scripting environment. I had a really nice app with a little scripting language to make things easier to extend. Apple hates that. The control the iPhone, and they don't want you to do any nice little scripting.

Nope. Nope.!

Learning Latin again. I had to take Latin in school and I hated it. Let's say that you took Latin for a few years because your school thought that it would help you and years and years later you want to pick it up again because you are nutty guy like me. Where would you go?

I would go to:

because it has taught me to appreciate Latin. If my Latin teacher had just handed me this book and left my alone I would be speaking nothing but Latin. That isn't true. Latin isn't spoken much any more, and it isn't a very nice language compared to English and French, but it is a hell of a lot nicer than a lot of languages that are still used even today. Latin is a little over-designed. It is the statically-typed language of romance languages. Learning Latin again has made me appreciate English a whole lot more, and has justified my move from C and C++ to languages like Ruby and Python.

8 Jun 2007 (updated 8 Jun 2007 at 22:21 UTC) »
Getting your little bitty Common Lisp Project working quickly

So, you have a Common Lisp program that is just one file and you want to load it without mucking too much with asdf? And you also want to include a few of your asdf-installed packages? Man, you are asking for a lot! Okay, well, here is what I do:

(eval-when (:load-toplevel :execute :compile-toplevel)
  (asdf:oos 'asdf:load-op :cl-who)
  (asdf:oos 'asdf:load-op :hunchentoot))

(defpackage :my-project-package (:use :common-lisp :cl-who :hunchentoot))

(in-package :my-project-package)

(format t "hello, world")

Load, compile, etc. In SLIME (I assume you are using SLIME) type in:
CL-USER> (in-package :my-project-package)

This works for me with small CL programs.

25 Oct 2004 (updated 25 Oct 2004 at 20:30 UTC) »
Voting In Texas

Okay - I need to post this information somewhere so that if someone is voting in Texas and is unsure where to find info he/she will get this in google.

Call this number to check voter registration: (713) 368-VOTE

Check this address to find out where to vote (this is for Harris County in Houston):

Thanks. Hope this helps someone in the future.

Jabberd 2

I have written two patches to Jabberd 2. One for imap auth and the other for sqlite support. Sqlite support is currently kind-of borked but as soon as I finish a big project I promise to finish it up. Promise.


I have been reading the threads on Python/Mono/Java. I have been learning Python and it is refreshing. Correct me if I am wrong, but it seems like the one language that actually considers itself a tool and not the one-and-only-true-language. In the book that I have been learning from it shows how to write extensions in C - and it seems simple and natural.

Plus, the idea of every file being a module is pretty darn beautful. Still trying to get my head around the syntax, though. Years of programming in c-like languages has really retarded my ability to grow.

Ltunes, Lphoto

I downloaded and ran Linspire's Ltunes and Lphoto on my Gentoo box. They do not really live up to the hype. The interfaces of Ltunes looks like Rhythmbox/Juke and the interface of Lphoto looks like just about any photo management application out there. I am not sure why they are spending the time developing these two products when the alternatives are more mature.


I finally got RHAS 3 in for my Itanium 2 box. HP might not be high on my list, but Red Hat rocks. I love up2date and the whole site. Not sure if it is the Itanium 2 or RHAS but the box is really, really fast. Have not had time to really do benchmarks, but we are going to get in a few running HP-UX (uhh) so I will have a better idea in a few weeks.

Hewlett Packard Itanium 2 and Red Hat Advanced Server 3

Okay, I am getting frustrated. Red Hat Advanced Server 3 was supposed to be released for HP Itanium 2 last Friday and I just found out it is now (maybe) going to be released this Friday (maybe). I keep getting different answers and I am fed up. I have a server sitting in the back collecting dust and I am stuck with it.

I should have gotten a Sun Opteron.

This was just a test system to see how the Itanium 2 servers are, and after a few months of dicking around I have no clue how well the Itanium 2 works. We are not going to be ordering any more, though, due to the crappy quality of HP customer service. I wish that I could just get a clear answer. I would use Advanced Server 2.1, but I am being told that 3 is coming out "real soon".

Plus, the box was supposed to come with raid installed, and it came in another box. The card hardly fit in the server.

My advice to anyone looking at the Itanium 2 - unless you have a direct phone to Carly, look elsewhere.

company I think that the biggest hurdle GNOME has is the poor state of developer documentation creates a high level of entry. There is not one place that I can go to find current documentation.

By the way, I am not trolling. This has been confirmed - for me at least - when I did the KDE KDevelop tutorial this morning. The KDE docs are fantastic - second only to the PHP docs. I avoided KDE for years, not liking Qt's pseudo C++, but it is too well written and well-integrated to pass up.

Yea, I know that I am not a big-time developer around here. I have posted patches here and there where I have found problems. I still like Free Software development and I really wish that GNOME would stop worrying about C#/Java and just write good documentation. The GNOME language bindings are great, but there is no consistant way to develop Python/C/C++/Perl GNOME programs. Anjuta is very cool, but every time I developed applications with Anjuta/libGlade I would find out that Glade was using deprecated widgets.

Please, someone correct me. I would like to know that I am wrong.

5 Apr 2004 (updated 5 Apr 2004 at 19:58 UTC) »

After using GNOME for two years, I decided to emerge KDE on my system this weekend. The reason being is I have been looking through the KDE source code for various projects here and there and I have been very impressed by the thought that went into designing such a large system. Everything is so well integrated and "just works" the way that it should. 3.2 is also hella fast.

There are some little inconsistancies in KDE, like some of the settings tools marked "Configuration" and some marked "Properties". The dialogs also have way too many options IMHO and when I open most apps it is a bit overwhelming to have so many options in the default dialog. I also miss the Ximian icons, and the beautiful Industrial theme.

KDE is excellent, though, and I plan on sticking to it. After two days I can honestly say that my productivity has gone up by using it.

Also, the documentation is excellent. The GNOME documentation leaves a whole lot to be desired and much of it is out of date.

The HP Way

Just got my new Itanium 2 server in from HP last week. Of course, it is not being used and there is no operating system even loaded on it. Right now it is just collecting dust in the server room.

I ordered a small, dual-processor, 2 gigs of ram, raid pci card (etc...) box to run Red Hat Advanced Server 3. It is pretty much to evalutate running GNU/Linux with our current applications on Itanium rather than RISC. Good enough.

So, I find out a week after I order it that HP is offering Opterons for a lot less. A HP guy came in and told the Unix Administrator that the Itanium 2 is "less proprietary" than the Opteron and that the Opteron is not as good as the might Itanium2. Okay, I figure, we ordered the Itanium 2, I will let this slide knowing that all sales people are pretty much full of shit. By the way, I heard from someone inside of HP that the Opteron announcement was a bit of a mistake.

We get the box in - no Red Hat box, PCI in a box, and missing a couple of parts. Yea! We call HP and find out that they are going to send in an "Installer" to set up the box. It has been about 4 working days and we are yet to hear from the "Installer" after leaving multiple messages.

What crap. And I know that HP is really trying to get more servers in here. Guess what - it is not going to happen. IBM has been much more attentive and we already purchase Thinkpads in the hundreds. Right now we are running our critical systems on HP-UX/PA-RISC and they are going to slowly fade out. HP-UX has been great but it seems like it is in limbo with updates, and Linux is not only getting better every week but it is a hell of a lot more easy to use for developers and users.

So, I have a new system sitting just collecting dust. No word from HP yet and I alot of people that need some processes waiting to be moved to that machine.

26 Mar 2004 (updated 26 Mar 2004 at 20:41 UTC) »

Been writing my shell scripts in C. Not sure if they are shell scripts, but they do the same thing as a normal shell script would do. Anyone else do this?

I was writing them in PHP, Perl, or Bash, but I write pretty much the same app in C in the same time. Plus, I don't have to have a manual open in front of me ("How do I do this in BASH... google for it... hmmm") so that I am doing it the "correct" way. I would make a crappy sysadmin.

By the way Muine really rocks hard.

Yeah! Java is not going to be free software

Smart move, Sun. No ANSI, no ISO, and now no code. Sure, but you have to JCP, which is almost like a standard - if you look at it sideways and you have no clue what makes a real standard. Dum dum dum dum dum.

82 older entries...

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

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!