Today I spent a few hours updating my installed ports for FreeBSD. Using the portupgrade command almost everything went as smooth as can be but it failed on the Xorg client and Xterm. This may have something to do with the fact that I had those two running during the upgrade… I’m nut sure but it seems to make sense. So I got out of X and first upgraded the Xorg client and then Xterm and now every installed port is up-to-date again. Continue reading “Portupgrade”
Lisp
After getting Slime with CMUCL I wanted it to work in XP Professional on my company laptop too. So after fooling around with Cygwin and it’s GNU Emacs and CLISP packages to no avail I switched to the Win-32 binaries of both Emacs and CLISP. I apparently got as far as Peter Seibel – who is, ironically, the author of (the free book) Practical Common Lisp which I’m using for to teach myself this language.
I’m not sure where I read it but someone suggested Lisp in a Box so I decided to give it a try. First time I ran Emacs running “M-x slime” gave me “invalid argument” but this was quickly solved by deleting the old .emacs file that was still hanging around in the C:\ directory. Now slime starts up beautifully: “Take this REPL, brother, and may it serve you well.” Continue reading “Lisp”
Scroll
Here’s a link to get your mouse’s scroll wheel working in GNU Emacs. It might also work for other Emacsen but there’s no information on it nor have I tested it out. Continue reading “Scroll”
Slime,
After trying to first get Slime 1.2.1 and later the CVS version to play nice with SBCL I’ve given up. Slime 1.2.1 did run but some things just did not work (C-c C-c for instance). The CVS version of Slime did not start up at all with SBCL so I’m now trying out CMUCL and everything appears to be working (with the CVS version at least, I’ve yet to try out 1.2.1). Continue reading “Slime,”
The
So now it’s reasonably late and I’m getting pretty strunken and I’m still messing around with company code… This can’t be good. At least I must be sane though as I’m able to post this. See. There is is… Well, it will be when I hit the nice looking button below…
Yes, my friend – there you go… Continue reading “The”
Work
Damn… Just can’t control myself… Must refactor code… No work… Work! No work! Work!
I promise I will not implement anything useful ok? Continue reading “Work”
At
Some people just bring out the best in me…
Usually I take my work home with me. That is, after I arrive home my laptop has usually rebooted before I even take off my coat. However, today I’ve lost the spirit for the current project because “the powers that be” deny us the opportunity to program in an explorative way and like to organize 2 meetings a week each taking up a whole workday only to blame us later for the fact that we did not meet our sprint target for that week. Don’t get me wrong, I’m in for a good discussion but all in good measure please.
So now I don’t have the urge to work at home anymore and thus can devote my full attention to gaming and personal (development) projects. Additionally I’ve also almost completely lost my motivation for the project in question so nobody has to worry about me showing any signs of enthousiasm for it anymore. I can promise this: no more refactoring and I will try to cram as much logic into the database as possible.
By the way, thanks to these new developments at my favorite place to be I had to create a whole new category for my blog… There. Happy now? Continue reading “At”
Araneida
I tried to get this lisp web server running a few days ago but to no avail. However, it seems I’m currently “in the zone” because after getting Apache up and running earlier I now managed to also get Araneida to run (relatively easy it was). Again, thanks to a little help from google and another newbie discussing the same problem here.
Here’s my full Emacs transcript, after this I was able to go to http://localhost:8000/hello to run the example (using 127.0.0.1 did not work):
[lisp]; SLIME 2005-04-27
CL-USER> (asdf:operate ‘asdf:load-op ‘araneida)
; loading system definition from /home/bas/.sbcl/systems/araneida.asd into
; #
; loading system definition from /home/bas/.sbcl/systems/split-sequence.asd
; into #
; loading system definition from /home/bas/.sbcl/systems/net-telent-date.asd
; into #
NIL
CL-USER> (compile-file “~bas/araneida-version-0.90.1/doc/example.lisp”)
; Evaluation aborted
CL-USER> (compile-file “/usr/home/bas/araneida-version-0.90.1/doc/example.lisp”)
; compiling file “/usr/home/bas/araneida-version-0.90.1/doc/example.lisp” (written 02 DEC 2005 05:51:58 PM):
; compiling (DEFPACKAGE “MY-ARANEIDA-EXAMPLE” …)
; compiling (IN-PACKAGE :MY-ARANEIDA-EXAMPLE)
; compiling (DEFUN MY-FQDN …)
; compiling (DEFVAR *DEMO-URL* …)
; compiling (DEFVAR *LISTENER* …)
; compiling (DEFCLASS HELLO-HANDLER …)
; compiling (DEFCLASS RESET-HANDLER …)
; compiling (DEFMETHOD HANDLE-REQUEST-RESPONSE …)
; compiling (DEFMETHOD HANDLE-REQUEST-RESPONSE …)
; compiling (LET (#) …)
; compiling (LET* (#) …)
; /usr/home/bas/araneida-version-0.90.1/doc/example.fasl written
; compilation finished in 0:00:00
#P”/usr/home/bas/araneida-version-0.90.1/doc/example.fasl”
NIL
NIL
CL-USER> (load “/usr/home/bas/araneida-version-0.90.1/doc/example.fasl”)
T
CL-USER> (in-package :my-araneida-example)
#
#
MY-ARANEIDA-EXAMPLE>[/lisp]
Apache
Mmm… I didn’t expect to have these troubles getting Apache 2.2.0 to run on FreeBSD. At first, I couldn’t even get it to build because it failed fetching an image (gif) file. So I updated the ports collection and luckely this did the trick. The rest of the install went fine but I couldn’t get the daemon to run. Checking the logs I noticed configuration failed on mod_unique with:
[alert] (EAI #) hostname nor servname provided, or not known: mod_unique_id: unable to find IPv4 address of ####
After a quick search google came up with this and the suggestion to comment out the mod_unique line in httpd.conf also did the trick for me.
Too
If the desired behaviour is so complex that it cannot be reasonably described in ordinary language then how can we expect our users to actually use and administer the system? Continue reading “Too”