My Common Lisp and Debian blog. For more off topic rants and stuff please see my livejournal blog.
Monday, December 20, 2004
Heisenbugs
This will some time to resolve, time I don't have :-(.
Wednesday, December 15, 2004
links
- Not being able to boot a debian installer on a "difficult" platform that requires loading a firmware to boot or to install: "If it made any sense at all for a mainboard's BIOS to loaded by the Linux kernel at boot time with a non-free firmware blob, the current consensus (on debian-legal anyway) seems to be that Debian would not support it"
- Thinking that we can "force open" the firmware: "They can open their specifications or we'll fucking implement around them and eventually drive them out of the market."
- PROM good, firmware on CD bad: here
- Extending the GPL to hardware: "..taint his filesystem.."
- A loading non-libre firmware makes the loader non-libre: "...counts as a dependency..."
- Signs that two "groups" are forming: "You are the only person I've seen express views similar to mine on debian-legal."
- It is acceptable to refuse to run on hardware that uses non-DFSG firmware: "Users don't have to install firmware/bios/whatever before linux runs in the normal case. That is the difference."
- The non-existing loading firmware step in debian installer and again refusing to run on difficult platforms: here
Please note these links are just part of a discussion, but the general trend seems set and until there is an "official" policy on this that is all there is to go on.
Finally debian installer was getting hardware aware enough to "just work", with pride I could point people to the test releases and hear they would see all the hardware. What are we going to say to people come next release?
"You cannot install if you have an USB ADSL modem because we don't have the source."
"I don't need the source, I just need to load the firmware"
"Without the source the system is not pure, we don't support non-pure systems"
"But that is the only system they sell here"
"We are the guardians of pureness, nothing can exist that is not pure"
"Your DNA is not readable by me, it is not a preferred form for modification"
"Oh, I'll just pop out and kill myself"
This seems to have become a rather long post. Sorry for that.
Tuesday, December 14, 2004
Debian is turning into LispOS!
Soon we will see post claiming it is "easy" to create a completely new architecture with FPA's and that we should only use that. I have seen this all before in the "LispOS" groups that always seem to degrade into "we should design a scheme/lisp/foo system from the gate up!". The nutters then leave the group, never to be seen again. The bad thing is however that the sane people also left the group, to continue working on attainable goals. I hope Debian can resist so long...
Wednesday, December 08, 2004
lazy allocating sbcl
$ ps -p 19100 -o pid,pmem,rss,size,sz,vsz,args
PID %MEM RSS SZ SZ VSZ COMMAND
19100 0.9 9988 6772 8758 35032 ./src/runtime/sbcl --core output/sbcl.core --userinit /dev/null
with
$ ps -p 19114 -o pid,pmem,rss,size,sz,vsz,args
PID %MEM RSS SZ SZ VSZ COMMAND
19114 0.9 9732 859548 221711 886844 sbcl --userinit /dev/null
I patched sbcl to allocate all memory only when it actually needs to use it, not at startup. The resident size is the same, but the virtual size is quite smaller. The patches are quite ugly, but the resulting sbcl seems to survive the test-suite without problems.
I do think there is a need to add thread awareness to the patches and if someone ports this back to cmucl I can close bug 282716.
Expect an email tonight :-).
//apparent success (reached end of run-tests.sh normally)
Joy!
(edited slighly. Oh it is "Van Eynde, Peter")
Tuesday, November 30, 2004
Unix squeak image
Next time people complain it is difficult to build cmucl they should be pointed at trying to build squeak! There is a rapport of a build problem with autoconf/automake that seems to have been ignored for months. I've tried to work around it but it seems almost hopeless.
It must be because I'm not in the same grove as the squeak hackers but to me it seems a disorganized, chaotic project that I fail to penetrate. Just look at the wiki page for downloading squeak and notice the self-doubting nature of that page. A shame really.
Tuesday, October 19, 2004
So now I can claim a link to p*rn!
Well. At least it is not the Bush campaign :-).
Thursday, October 14, 2004
People stealing code everywhere
Wednesday, September 29, 2004
nugget of code
(araneida:request-send-headers
request
:content-type "text/html"
;; cache this page for 24h
#-debug #-debug
:expires (+ (get-universal-time) (* 60 60 24)))
The #-debug #-debug will exclude both expressions that follow. Another neat trick I've learned from Erik Naggum.
Tuesday, September 28, 2004
Wednesday, September 22, 2004
common-lisp-controller problems
So I published the clc package on alioth a bit more and created two mailing-lists for people to subscribe to. In 6 to 24 hours they should get created.
Most people complain of a lack of RPM's or the ease of adding local packages. The problem with the latter is that I don't have a rh system, nor do I wish to create one. And build farms don't seem to exist. The problem with the last issue is deeper. asdf-install doesn't define user specific system directories for any implementation that isn't sbcl. So to 'fix' clc we have to modify asdf-install or make the world more complex by dividing them in clc-enabled (with user packages) and non-clc-enabled (no user pacakges unless you run sbcl). Sigh.
Let's make it a point to chat about on sunday...
Actually users complaining means that I have users! Good >:-).
Friday, September 17, 2004
pg
Thursday, August 26, 2004
4GB is not enough?
That and the problems I've been having today to get a minimal install of RHAS 2.1 makes me believe nobody is interested in the maxim "small is beautiful". Or as I think "less code are fewer bugs".
Sunday, August 22, 2004
skynet pop3 servers don't like Linux anymore.
So in the end I decided to dump those losers and got me a fastmail.fm account. They have https/imaps/smtps access, even through proxies on port 443, sieves, spamassassin etc. It is so much better then the skynet crap.
I wonder how long it will take them to realise something is wrong. Pretty long I guess, as most people seem to use their useless webmail interface...
Saturday, August 21, 2004
google me: postfix smtp sasl/tls problems
warning: SASL authentication failure: No worthy mechs found
send attr reason = Authentication failed: cannot SASL authenticate to server XXX[YYYY]: no mechanism available
Then the problem could be that the sasl modules are not installed. A quick 'apt-get libsasl2-modules' will solve that.
Tuesday, August 17, 2004
an adventure
On the other hand, giving her windows 98 in dutch would create even more problems I think...
Monday, July 26, 2004
common-lisp-controller v4
Still to come: (aka vapourware) asdf-install-2-deb-package and clc-build-all-packages-for-me :-)
Friday, July 23, 2004
Brown bag time
Tuesday, July 20, 2004
New 19a-pre3 upload
I made a new 19a-pre3 upload of cmucl to experimental. When upstream marks the CVS tag 19a-release on the 28th I hope to upload the packages soon. I cannot seem to fit the whole 'original source' with the fact that the upstream version can change when important fixes are put into CVS. This means that the upstream version will be 19a-release-20040728 with debian version -0. Ugly, not?
In other news I've been working a lot with squeak recently, especially with squeakland. Their online demos of EToys are really wonderful, just look at
this car demo.
The whole AMD64 GR just sucks. GR should be an exception, not the rule! Communication seems to be breaking down. Discussions not unfortunately... All in all I wish there were a cabal :-). So I think I will vote against.
Wednesday, July 14, 2004
Common-Lisp-Controller needs to evolve
clc is having problems. The design is getting Byzantine and in general much to complex to solve even seemingly obvious problems. The current design with build-daemon, cronjobs, spool directory etc. has to die. But what should replace it?
Kevin Rosenberg has a interesting idea: do not build for all users of the system anymore, just has a per-user cache of compiled packages in ~/.clc/
The major problems are that we would be deleting files in every user's homedirectory(!) and that we would not build all libraries on a routine basis, so bugs could go unnoticed for quite some time...
Sunday, July 04, 2004
IBM R40: to pcmcia or not to pcmcia
I keep having problems with my IBM R40: the pcmcia interface just will not work. Very iritatingly I keep getting:
On a kernel that should be able to handle it (2.6.7-mm3) Even without acpi, apic and other magic. The only good fact is that also when using XP it sometimes behaves strangely...
kernel: Yenta: CardBus bridge found at 0000:02:00.0 [1014:0528]
kernel: Yenta: Using INTVAL to route CSC interrupts to PCI
kernel: Yenta: Routing CardBus interrupts to PCI
kernel: Yenta TI: socket 0000:02:00.0, mfunc 0x01d11002, devctl 0x64
kernel: Yenta TI: socket 0000:02:00.0 probing PCI interrupt failed, trying to fix
kernel: Yenta TI: socket 0000:02:00.0 no PCI interrupts. Fish. Please report.
kernel: Yenta: ISA IRQ mask 0x0000, PCI irq 0
kernel: Socket status: ffffffff
Saturday, July 03, 2004
cmucl 19a preview uploaded to experimental
I uploaded a preview of 19a to experimental yesterday. (I could saw the katie email today)
It is called pre1 but is based on the official pre3 version. This confusion is due to the fact that I have to remove the CVS files from the source files. This makes quickly updating the source more difficult than it should be, and I wonder how katie handles ever-changing .orig.tar.gz files. Boh. We will see.
Monday, June 28, 2004
Updating .asd files to handle locked packages
#+cmu
(defclass cl-modifying-file (cl-source-file) ())
#+cmu
(defmethod perform ((op load-op) (c cl-modifying-file))
(ext:without-package-locks
(call-next-method)))
#+cmu
(defmethod perform ((op compile-op) (c cl-modifying-file))
(ext:without-package-locks
(call-next-method)))
#+cmu
(defmethod source-file-type ((c cl-modifying-file) (s module))
"lisp")
Normally in src/tools/build-utils.sh there is (setf lisp::*enable-package-locked-errors* nil). But for .asd packages that might get loaded by the user, such a modification of the system cannot be.
So 19a will have to wait a little more before appearing in experimental.
Friday, June 18, 2004
No LSM for me
The cmucl 19a package is slowly getting there. It already compiles, but I still have to check if everything is included, that the scripts still work etc...