Skip to main content

Posts

Showing posts from February, 2006

CLIM Screencast - Installation and Hello World

Finally, I was able to do my first CLIM screencast. It's about installation and writing a little hello world program to give the viewer a starting point for exploring McCLIM.The intended audience are developers that have never seen McCLIM in action before and that need guidance with the Installation and their first Hello World steps.Get it via bittorrent: CLIM Screencast - Installation and Hello World.torrent. (Please do not link to this torrent directly, as I might change the way I intend to distribute it, please link to the permalink below. I will update this entry when I move things around.)In the video, I forgot to mention that you can use: (define-key slime-doc-map "g" 'clim-lookup)
to bind clim-lookup to a key in Slime. Typing "C-c C-d g" will then invoke clim-lookup. And also here is the code fragment to run hello-world without the SLIME object pasting magic I unintentionally used in the video: (run-frame-top-level (make-application-frame 'hel…

New LUKS spec

http://luks.endorphin.org/spec has an update to the LUKS specification. Changes: Added precise AFsplit specification.Removed lrw-plain mode spec as the LRW standardization process is not about to be finished any time soon; will be reintroduced when a normative documentation is released by SISWG.Extended introduction text. Thanks to Sarah Dean for providing valuable feedback with respect to the AFsplit specification.

Beautiful XEmacs

XEmacs becomes beautiful. Courtesy of Stephen J. Turnbull, we enjoy beautiful subpixel rendered fonts in XEmacs. 21.5.24 is the first release after the sjt-xft branch was merged MAIN.I suggest to read the release notes to get an idea how to enable Xft. It's not on per default. You can also cut&paste my configure "line": ./configure '--with-cflags=-march=i686 -fno-strict-aliasing -O2' \ '--disable-error-checking' '--with-png' '--disable-debug' \ '--with-jpeg' '--with-tiff' '--without-gnome' '--with-xpm' \ '--with-xft=emacs,gauges,menubars' '--with-zlib' '--with-xface' \ '--with-athena=3d' '--enable-pdump' '--enable-dump-in-exec' \ '--enable-bignum=gmp' '--enable-menubars=lucid' \ '--enable-scrollbars=lucid' '--enable-dialogs=athena' \ &…

Screencasting for X11: an FFmpeg screen recorder

vnc2swf, vncrec, xvidcap. Either they can't record audio (vnc2swf, vncrec) or they can't keep audio in sync (xvidcap). xvidcap is the most advanced utility but it seem rather unmaintained and I also dislike the internal code structure (amorphic functions that behaviours strongly depend on semi-global state variables).ffmpeg already comes with grabbing code, but only for V4L. The requirements are not so different from X11 grabbing, so I decided to hack a new X11 grabber into ffmpeg (after verifying that ffmpeg does correct A/V syncing).The result is a working mixture of videograb.c of ffmpeg and capture.c/xtoffmpeg.c of xvidcap. I'm now able to do screencasts from X11 where I'm able to comment the things I'm doing via microphone.Here is the patch for ffmpeg-0.4.9-p20051216: ffmpeg-x11-screen-recorder.diff. Compile like:
./configure --enable-x11grab --enable-gpl Run like: ./ffmpeg -vcodec mpeg4 -b 1000 -r 10 -g 300 -vd x11:0,0 -s 1280x1024 test.avi The -vd option …

#cl-gardeners: a channel for Lisp newcomers!

#lisp on FreeNode is home for many experienced CL wizard, and not primarily a place for asking trivial lisp newcomer questions. Of course, not all of these questions are valid. Some of those people joining #lisp simply want to get their homework done (preferably by others). But sometimes there are people that seriously want to learn Lisp. Every single one that is not sucked into the Common Lisp community is a loss that might not be quantified. And selfish as I am, I simply dislike the idea that there are any obstacles for lisp newcomers to start writing lisp code that someday I might be able to use :).Now we have a channel, where newcomers can ask question and eventually get answer by newcomers. It is #cl-gardeners. You don't have to fortuneteller to predict that sometimes newbies can answer questions by other newbies better than an experienced CL. And in most cases, both parties gain knowledge. The unexperienced newbie by getting an answer, the semi-experienced newbie by repeatin…

twofish-i586

Counterpane published an assembler version for i586 for its twofish cipher. I wrapped it into the CryptoAPI of Linux 2.6. Encryption/decryption works, but there is an unfortunate dependency on Microsoft Assembler (MASM). I have started to convert it to GNU assembler syntax, but I didn't complete the work as everything is moving towards AES anyway. Here is the project website: Project website.