james anderson | 2 Dec 2003 20:36
Picon
Gravatar

java to lisp translation tools


i recently needed a java-to-lisp translator. as i couldn't find one, i 
extracted the parser generator from cl-xml, found a tractable bnf and 
implemented one.

in the event that it might be generally useful, i've posted it under 
setf.de.
(see http://www.setf.de/code.html)

...

Alexander Repenning | 3 Dec 2003 23:36
Picon
Favicon

Contribution: GameDevices.lisp for GamePads, JoySticks and 3D mice

if you work on games or scientific tools that could benefit from 
unconventional input devices here's the code. Hook up GamePad, 
JoySticks, 3D mice etc. to your Mac and access it from Lisp. With a 
little help from Apple this worked out well.

Make sure to point the framework path to wherever you put the 
.framework files. Load "frameworks.lisp" then "game-devices.lisp" 
Hookup some funky device and run the example.

http://agentsheets.com/lisp/gameDevices.zip

This is just an early version if you add code please share. It simple 
now to add more devices even multiple devices of the same kind, e.g., 
multiple game pad. Also, if you have especially great/terrible 
experiences with certain device please let me know.

ps: the framework loader is somewhat clobbered together. I remember 
seeing some code but could only find the Gary Byers older framework 
functions.

have fun

Prof. Dr. Alexander Repenning
vCard: http://www.cs.colorado.edu/~ralex/AlexanderRepenning.vcf

Dimitri Simos | 5 Dec 2003 21:39
Picon
Picon

Keeping one listener (processes?)

I need to run with just one listener, so that if the user closes it
it gets replaced automatically. I've been doing this
for awhile, and it's worked fine:

(defmethod window-close :after ((w listener))
   (unless (or ccl::*quitting*
               (windows :class 'listener))
     (ccl::make-new-listener)))

However, with OSX - MCL5.0 I'm finding that if you close the
listener fast a few times (clicking the red button in rapid
succession, preferably with a window behind it so you don't
drop into the finder when you miss), you will end up crashing.

This action seems to pick up dead processes on the way, if you check
the value of *all-processes*.

If you only pick up one dead process, MCL slows down *a lot*, if it's
more it crashes.

Any suggestions? (bearing in mind I'm not really process-educated!)

Dimitri
--

-- 

Dr Dimitri Simos                      http://www.lissys.demon.co.uk
___________________________________________________________________
Lissys Ltd.                

(Continue reading)

Dimitri Simos | 5 Dec 2003 21:47
Picon
Picon

G5 speed?

It's very tempting to go for a 20" iMac instead of a G5 if there
is no speed advantage for mcl...

I'd appreciate any updates from anyone with direct G5 experience
and I'd appreciate even more a hint from Digitool - can we
expect a go-faster patch?

Thanks,

Dimitri

--

-- 

Dr Dimitri Simos                      http://www.lissys.demon.co.uk
___________________________________________________________________
Lissys Ltd.                

Terje Norderhaug | 6 Dec 2003 23:44

Record length of boolean is 1

In MCL5, (record-length :boolean) returns 2. However, #_SetControlData seems to require that the size of
a boolean is 1. At least this is the case for one place where I am using set-control-data. 

I haven't investigated it thouroughly, but I suggest you check out whether record lengths still have to be a
multiple of 2, as the logand in record-length enforces. If this is specific for #_SetControlData, then
perhaps the set-control-data macro of new-control-dialog-item.lisp can be upgraded to use 1 as length
of a :boolean. 

-- Terje <terje@...> | Media Design in*Progress 
   Software for Mac Web Professionals at <http://www.in-progress.com>
   Take Advantage of Server Side XML and XSL with Interaction 4.0!

Alexander Repenning | 13 Dec 2003 02:09
Picon
Favicon

contribution: OS X windows

OS X features many more window types and window attributes. This code 
allows you to make things like metal windows. Includes live resize.

http://agentsheets.com/lisp/OS%20X%20windows.lisp

I hope Digitool will incorporate this because it's pretty low level 
patchwork.

If you hack it let me know.

Alex

Prof. Dr. Alexander Repenning
vCard: http://www.cs.colorado.edu/~ralex/AlexanderRepenning.vcf

Barry Perryman | 14 Dec 2003 00:28
Picon
Favicon

FTP site down?

I've been unable to get the latest patches from digitool as the FTP site
seems to be down.

Does anybody else have the same problem?

Barry

Chris Hancock | 15 Dec 2003 15:48
Picon
Favicon

FTP site down?

I had this problem a few weeks ago. I posted a question like yours and 
no-one wrote back. I'm guessing that occasional gaps in service may be 
not uncommon. /c

Raffael Cavallaro | 15 Dec 2003 19:29
Picon

Re: FTP site down?

On Monday, December 15, 2003, Chris Hancock,
(mailing from ch@...) wrote:

>I'm guessing that occasional gaps in service may be 
>not uncommon.

That's been my experience too. It always comes back up though :^)

Raf

Raffael Cavallaro, Ph.D.
raffaelcavallaro@...

Tyro | 16 Dec 2003 12:33
Picon
Favicon

Re: FTP site down?

Ms. Jennifer Jones, from Digitool, informed me that their FTP site is  
temporarily out of service. However, MCL5 trial version may be download  
from  
<http://www.hotdispatch.com/download/ip/1310991/168479507/mcl-5.0- 
demo.sea.bin>.

I hope this helps. Good luck!


Gmane