#lisp - Wed 14 Mar 2007 between 01:33 and 01:46

NY Lost Funds



nyefHeh. I got into Lisp over writing computer emulators. Unsigned bytes come second nature to me.
_3bed-t8: comprehensible/maintainable is a good place tos tart :)
jonathonOh believe me, I was raised on them. I just enjoyed the break. Actually, that reminds me, I need to install vice and grab some of those old c64 games I used to play
nyef: do you have any docs on the device you are working with?
nyef... Nope.
ed-t8jaoswald: its not really a university exercise, its my final year project. it involves graphics programming and the representation of genes. I don't think they really expect me to go through the optimization process but it would be cool to learn how. :)
jonathonnyef: nice.
nyefIt's a Buslink MP3-14XS.
(Rebadged Hansori HAN-14XS.)
jonathonso, an mp3 player driver in lisp?
nyefGot it basically all nailed down except for two functions, and some fragility in the uploads.
Yeah. Just file transfers, really.
Thing maintains a FAT filesystem internally, near as I can tell.
ed-t8_3b: How do you know when your code is comprehensible/maintainable? I mean I can understand it but how will I know anyone else will? heh
nyef(Directory format is vfat with 16-bit character LFNs, upload commands take two filenames, delete command takes the short filename, etc.)
araujoed-t8, you never know
jonathonnyef: sometimes i wonder if there are win-specific tricks that keep non-authorized drivers from working as well
ModiusIs it considered good (Common) Lisp programming form to not assume tail call optimization?
Zhivagoit is considered prudent
nyefWell, in this case, I suspect that the real problem is that the device is a piece of crap.
Even the windows drivers don't work worth a damn.
jaoswalded-t8: genes can refer to relatively large data sets. you may have to learn optimization in order to run your program more than once before your deadline. :-)
nyefAnd I don't dare plug it into my WinXP box because of the chances of a bluescreen while coLinux is running.
jaoswalded-t8: http://dept-info.labri.fr/~strandh/Teaching/MTP/Common/David-Lamkins/chapter28.html may give some helpful tips.
ed-t8jaoswald: lol, it is not real genes that I am representing. The genes control basic drawing functions.
jonathonnyef: so basically you want to write a file copy utility?
ed-t8jaoswald: I am basically doing a slightly more complicated replica of Richard Dawkins Biomorph program.
nyefjonathon: That's what it amounts to.
I -think- I have the date and time encoding down, and I know I have the filesize and filename encodings down.
jonathonWhat are the 2 functions you have left?
nyefI just need to spend a day or so wrapping up loose ends, and then add a #@%@ UI.
Oh, reordering the playlist and downloading files from the device to the computer.
jonathonAh, the UI. What are you think of there?
nyefI'm not really bothered about the missing commands, and acquiring the traces is fairly easy anyway thanks to qemu having usb passthrough on linux and then usbmon in the kernel...
I'm not at all sure what to do about the UI.
I mean, conceptually it's a couple of file lists and a fileselector.
ed-t8jaoswald: Actually, currently I'm using lispbuilder-sdl for the graphics, do you know if this is good for 2D? Do you know of any other package like this which is less C-like?
jaoswalded-t8: I don't do much graphics in Lisp, sorry.
jonathonI've never done anything but a couple of UI tutorials on Lispworks CAPI
nyefUI isn't really my strong point either.

Page: 1 8 15 22 29 36 43 

IrcArchive

NY Lost Funds