[racket] webcam hooks in racket?

2011-01-10 Thread Ben Dean
I'm wondering how much it would take to get frame-by-frame output from a webcam using Racket. My desultory searching hasn't turned anything up, so I'm hoping someone has a hint or two. This wouldn't involve any networking or remote access, but I would like to be able to acquire a stream of frames (

Re: [racket] How to keep comments when reading a file?

2011-01-10 Thread John Clements
On Jan 10, 2011, at 10:51 AM, Todd O'Bryan wrote: > Thanks for the pointer. I had hoped to avoid making two passes with > different readers. > > Can anyone give me a hint? It looks like the pieces are there, but > there are no examples in the documentation that explain how to get at > the pieces

Re: [racket] Input Issues

2011-01-10 Thread Bill Hager
I just saw the string Alexandre Moreira started a few days ago. No need to repeat anything from there. I guess it's just worth noting that he isn't the only one that wants to (read-line) from a function invoked on the REPL. My use case is similar to his. I have functions that take several argum

[racket] Fwd: Input Issues

2011-01-10 Thread Bill Hager
Hi All. I'm having an issue with (read-line). Below is some output from running the attached rkt file on my system(Ubuntu 10.10, Racket 5.0.2). In the first instance the script runs, and as I expect I can enter a string such as "Hello". When I use the repl it does not work like I expect it to, a

Re: [racket] Scribble experience

2011-01-10 Thread Matthew Flatt
At Mon, 10 Jan 2011 22:12:15 +0100, Jens Axel Søgaard wrote: > 2011/1/10 Shriram Krishnamurthi : > >> On my 64-bit Linux box, Chromium displays the "broken image" icon > >> for your elements. > > > > Ditto on Windows 7. > > It sounds as if I should look into using svg instead of pdf. I've added

Re: [racket] users Digest, Vol 65, Issue 39

2011-01-10 Thread Sayth Renshaw
Message: 2 > Date: Sun, 9 Jan 2011 21:54:08 -0500 > From: Stephen Chang > To: Ken Hegeland > Cc: us...@lists.racket-lang.org > Subject: Re: [racket] Couldn't find a step matching that criterion > Message-ID: > > > > > Content-Type: text/plain; charset="iso-8859-1" > > I get the following

Re: [racket] racket http server, major GC: -216 bytes collected

2011-01-10 Thread Greg Hendershott
Racket is the first time I've used a system with GC and been able to see stats for it like this. As a result, maybe this is a dumb question and the answer is obvious to the rest of you, but: What does it mean for the GC to collect a negative number of bytes? My (naive?) mental model is that the G

Re: [racket] Scribble experience

2011-01-10 Thread Jens Axel Søgaard
2011/1/10 Shriram Krishnamurthi : >> On my 64-bit Linux box, Chromium displays the "broken image" icon >> for your elements. > > Ditto on Windows 7. It sounds as if I should look into using svg instead of pdf. >> Good job on the book, though, makes me wonder if I could use it >> to learn reading

Re: [racket] Scribble experience

2011-01-10 Thread Shriram Krishnamurthi
> On my 64-bit Linux box, Chromium displays the "broken image" icon > for your elements. Ditto on Windows 7. > Good job on the book, though, makes me wonder if I could use it > to learn reading Danish :-) Ditto -- doesn't look too hard to reverse-engineer. (-: Shriram _

[racket] Scribble "seclink" breaking PLaneT and local documentation cache?

2011-01-10 Thread Neil Van Dyke
A servlet for the PLaneT site seems broken, and I think that a use of Scribble "seclink" in a PLaneT package might be breaking both this and my local documentation cache. The documentation for a PLaneT package contains a link to a manual, like: @seclink["top" #:doc '(lib "scribblings/scribble/

Re: [racket] Emacs mode for Scribble coming

2011-01-10 Thread Neil Van Dyke
There is a new version of the Scribble Emacs mode. You can install/upgrade by evaluating: (require (planet neil/scribble-emacs:1:2/install-in-my-emacs)) I won't be announcing each new version here. If you want to get announcements for each version of this and other PLaneT packages, you cou

Re: [racket] Emacs mode for Scribble coming

2011-01-10 Thread Manfred Lotz
On Sun, 09 Jan 2011 10:50:31 -0500 Neil Van Dyke wrote: > I've released an Emacs mode for Scribble. > > Documentation at: http://www.neilvandyke.org/scribble-emacs/ > > If you're feeling brave, evaluating the following expression will > install the package and also try to modify your ".emacs"

Re: [racket] How to keep comments when reading a file?

2011-01-10 Thread Todd O'Bryan
Thanks for the pointer. I had hoped to avoid making two passes with different readers. Can anyone give me a hint? It looks like the pieces are there, but there are no examples in the documentation that explain how to get at the pieces I need and how to plug them in. Todd On Sat, Jan 8, 2011 at 5

Re: [racket] Emacs mode for Scribble coming

2011-01-10 Thread Vincent St-Amour
At Sun, 09 Jan 2011 10:50:31 -0500, Neil Van Dyke wrote: > > I've released an Emacs mode for Scribble. I like it! It would be nice to have automatic indentation for the at syntax. Also, it would probably be convienient if the installation script associated the .scrbl extension with scribble-mode

[racket] [CfP] European Lisp Symposium deadline extension

2011-01-10 Thread Didier Verna
~~ 4th European Lisp Symposium Special Focus on Parallelism & Efficiency March 31 - April 1st, 2011 TUHH, Hamburg University of Technology

Re: [racket] Emacs mode for Scribble coming

2011-01-10 Thread Stephen Bloch
On Jan 10, 2011, at 7:48 AM, Neil Van Dyke wrote: > At last, a legitimate use for the fact that a PLaneT "require" alone can > execute arbitrary code. :) > > In case anyone is wondering, that "require" form will of course make sure > that the PLaneT package is installed, and then it will go an

Re: [racket] Scribble experience

2011-01-10 Thread Stefan Schmiedl
On Mon, 10 Jan 2011 15:20:34 +0100 Jens Axel Søgaard wrote: > Can Internet Explorer 9 show inline pdfs? Hint: Do not equate inline display of non-image objects with modern browsers. Most of my browsers on most of my machines store the pdf and open it using the "canonical" viewer. Actually, I ha

Re: [racket] racket http server, major GC: -216 bytes collected

2011-01-10 Thread Stefan Schmiedl
On Mon, 10 Jan 2011 06:53:36 -0700 Matthew Flatt wrote: > At Sun, 9 Jan 2011 20:19:23 +0100, Stefan Schmiedl wrote: > > Well, that was about two hours ago. The reference GC instance is > > still idling away at 18330232 bytes, just as before, but the web server > > instance has "grown" from 479233

Re: [racket] Scribble experience

2011-01-10 Thread Jens Axel Søgaard
2011/1/10 Matthew Flatt : > At Mon, 10 Jan 2011 10:38:55 +0100, Jens Axel Søgaard wrote: >> Another small issue (for me): Since Asymptote is used to produce the >> geometric figures, I can produce both a pdf and a png version of each image. >> I was expecting/hoping that the Scribble would pick the

Re: [racket] Scribble experience

2011-01-10 Thread Jens Axel Søgaard
2011/1/10 Jens Axel Søgaard : > I am in the process of writing a small geometry book using Scribble. > So far I am pleased with the results. > > The html version is available here: > >    http://jensaxel.dk/1x/geometribogen/ > >    Username: racket >    Password: racket The above url uses pdf imag

Re: [racket] racket http server, major GC: -216 bytes collected

2011-01-10 Thread Matthew Flatt
At Sun, 9 Jan 2011 20:19:23 +0100, Stefan Schmiedl wrote: > Well, that was about two hours ago. The reference GC instance is > still idling away at 18330232 bytes, just as before, but the web server > instance has "grown" from 47923392 (first GC of -672 bytes) to 47957512 > (first GC of -672 bytes

Re: [racket] Emacs mode for Scribble coming

2011-01-10 Thread Laurent
After a few minutes trying it, I like it a lot. A few suggestions if I may: - Every @something could be in a different font? (if you can scan definitions and requires, that's even better, but I don't expect that) - It would be nice if you could add the @;{ blah blah blah blah ;} comment style. - C

Re: [racket] Emacs mode for Scribble coming

2011-01-10 Thread Laurent
Worked for me too. Thanks a lot, that is very handy! Laurent On Mon, Jan 10, 2011 at 13:48, Neil Van Dyke wrote: > At last, a legitimate use for the fact that a PLaneT "require" alone can > execute arbitrary code. :) > > In case anyone is wondering, that "require" form will of course make sure

Re: [racket] Scribble experience

2011-01-10 Thread Matthew Flatt
At Mon, 10 Jan 2011 10:38:55 +0100, Jens Axel Søgaard wrote: > Another small issue (for me): Since Asymptote is used to produce the > geometric figures, I can produce both a pdf and a png version of each image. > I was expecting/hoping that the Scribble would pick the pdf version > when the output

Re: [racket] Finndesign Liitin: Computing rethought

2011-01-10 Thread Jukka Tuominen
Hi Noel, I think different people would benefit from Liitin differently, or in a different phase of life. I could try to guess some features that you might find interesting. Let's suppose your username (=namespace) would be nwe100. - If you come up with a nice function that you would like to use

Re: [racket] Emacs mode for Scribble coming

2011-01-10 Thread Neil Van Dyke
At last, a legitimate use for the fact that a PLaneT "require" alone can execute arbitrary code. :) In case anyone is wondering, that "require" form will of course make sure that the PLaneT package is installed, and then it will go and try to find your Emacs initialization file and add/update

Re: [racket] Emacs mode for Scribble coming

2011-01-10 Thread Noel Welsh
Not brave but reckless. Worked for me. N. On Sun, Jan 9, 2011 at 3:50 PM, Neil Van Dyke wrote: > I've released an Emacs mode for Scribble. > > Documentation at: http://www.neilvandyke.org/scribble-emacs/ > > If you're feeling brave, evaluating the following expression will install > the package

Re: [racket] Finndesign Liitin: Computing rethought

2011-01-10 Thread Noel Welsh
On Wed, Jan 5, 2011 at 3:04 PM, Jukka Tuominen wrote: > > Hi all, > > after about a decade's development work, we (Finndesign) are about to > release something that we feel very exited about. It's a network OS called > Liitin and it uses Scheme (Racket) as built-in language. BTW, Liitin means > 'c

Re: [racket] Scribble experience

2011-01-10 Thread Neil Van Dyke
Jens Axel Søgaard wrote at 01/10/2011 04:38 AM: It turned out to be happy coincidence though - I discovered that modern browers can display pdfs inline - which means that the user can zoom in on the geometric figures with no problems. (But still it requires a modern browser) For figures li

[racket] Scribble experience

2011-01-10 Thread Jens Axel Søgaard
Hi All, I am in the process of writing a small geometry book using Scribble. So far I am pleased with the results. The html version is available here: http://jensaxel.dk/1x/geometribogen/ Username: racket Password: racket The html version uses MathJax to display the mathematical eq