Posts

Es werden Posts vom Januar, 2010 angezeigt.

SLIME, Lisp, Editing - the lost slime-close-parens-at-point

Once upon a time there was a rich SLIME version that had all bateries included in a few files. Now this old, old version is long gone. The Powers Of SLIME deleted the function slime-close-parens-at-point whose use and benefit is described in this blog post of Bill Clementson . For those requiring this exact feature here's the original code of that function: (setq slime-close-parens-limit 16) (defun slime-close-parens-at-point () "Close parenthesis at point to complete the top-level-form. Simply inserts ')' characters at point until `beginning-of-defun' and `end-of-defun' execute without errors, or `slime-close-parens-limit' is exceeded." (interactive) (loop for i from 1 to slime-close-parens-limit until (save-excursion (slime-beginning-of-defun) (ignore-errors (slime-end-of-defun) t)) do (insert ")"))) In addition to putting this in my .emacs file I have also the following line in it: (define-key slime-mode-map (kbd "

I'm a hero ! ;-)))

A good friend made me being a hero: http://en.tackfilm.se/?id=1263510185725RA80 That really put me to burst into a serious laugh attack - Thanks so much, Harry, for sharing this...

Compiling ACE+TAO on Mac OS X

So, what's ACE+TAO? It's big, it's complex, it's middleware! See more info at http://www.cs.wustl.edu/~schmidt/ACE.html and at http://www.cs.wustl.edu/~schmidt/TAO.html . In trying to compile ACE 5.7.5 and TAO 1.7.5 on my Mac OS X 10.5.8 system I encountered some strange error messages while linking. These were duplicate symbol errors I couldn't really track down to their root cause but was able to find simple cures. For those poor souls also hitting those faults the following list of changes may help: File $ACE_ROOT/ace/Based_Pointer_Repository.h File $ACE_ROOT/ace/Obstack.h Re 1. : File $ACE_ROOT/ace/Based_Pointer_Repository.h I had to comment out the ACE_SINGLE_DECLARATION on lines 82 to 84: /* - frgo, 2010-01-03 /// Declare a process wide singleton ACE_SINGLETON_DECLARE (ACE_Singleton, ACE_Based_Pointer_Repository, ACE_SYNCH_RW_MUTEX) */ Re 2. : File $ACE_ROOT/ace/Obstack.h I had to comment out the ACE_SINGLE_DE

Photovoltaics plant - Part II

Bild
This is a follow-up to Part 1 . We're making progress: The panels are mounted on the tracking mast and we now have an impression of what 20 square meters look like when mounted on top of a 5 m mast... But see for yourself: Impressive, ha? Yep. Hope the neighbours will not complain ... It's our ground, sure, but the neighbours may still not be that happy... We'll see. Maybe a Sun Power Party will help ;-) Next step: Monitoring software and web publishing software to be installed and configured... To be continued. Cheers - Frank