On Sat, Oct 16, 2010 at 9:32 PM, Greg Hendershott
wrote:
> I thought I saw a thread devoted to calling collect-garbage
> periodically, when I browsed the web-server code before ... but I
> can't seem to find it again now.
The command line version used to do that... I think. I routinely
create suc
I have never read or played sound files with Racket, except via system calls.
Some Racketeers have implemented PortAudio. You can check the PLaneT server for
that. Precise synchronization of I/O and sound is tricky. With what kind of
programming are you familiar?
rac
On Oct 16, 2010, at 8:2
I thought I saw a thread devoted to calling collect-garbage
periodically, when I browsed the web-server code before ... but I
can't seem to find it again now.
> Eventually, we should improve the collector (or replace it with a
> better one) to support incremental collection.
My recent (albeit lim
On Sat, Oct 16, 2010 at 07:24:42PM -0600, Matthew Flatt wrote:
> At Sat, 16 Oct 2010 13:40:43 -0400, Neil Van Dyke wrote:
> > Any thoughts on how, by default, timing of garbage collection cycles is
> > affected by whether the process is "idle".
> >
> > For example, if non-GC threads are all waiti
Analyze sounds from a microphone?
rac
On Oct 16, 2010, at 4:56 PM, Sébastien Cano wrote:
> Hi everyone,
>
> I'm a beginner in Racket and I plan to make a rhythm game.
> Do you think it is possible? Would it be easy?
> I don't know where to start from.
> The program has to analyze sounds, and th
At Sat, 16 Oct 2010 13:40:43 -0400, Neil Van Dyke wrote:
> Any thoughts on how, by default, timing of garbage collection cycles is
> affected by whether the process is "idle".
>
> For example, if non-GC threads are all waiting on events, might the
> thread with GC be more likely to trigger a GC
At Sat, 16 Oct 2010 11:52:49 -0700, Sam Phillips wrote:
> Is there a useful rule of thumb for deciding if a module should be in
> the racket
> language or the racket/base language?
Use `racket/base' for any library that you intend to give to others.
Otherwise, use `racket' if you find it more conv
Hi everyone,
I'm a beginner in Racket and I plan to make a rhythm game.
Do you think it is possible? Would it be easy?
I don't know where to start from.
The program has to analyze sounds, and that's the hard part...
Thanks in advance.
_
For list-r
I actually noticed a bug in the code of a large system a couple days
ago, thanks to "require"s of non-base Racket modules.
Finding the bug was prompted by a "Why does this module require *that*
module?" reaction when I was cleaning up "require"s. (Turns out someone
had mistakenly conflated tw
My experience has been the only time I benefit from #lang racket/base
over #lang racket in terms of a noticeable runtime cost is when I'm
writing little scripts and running them via "racket" on the
commandline. FWIW.
Robby
On Sat, Oct 16, 2010 at 4:09 PM, Carl Eastlund wrote:
> On Sat, Oct 16, 2
On Sat, Oct 16, 2010 at 4:31 PM, Neil Van Dyke wrote:
> Sam Phillips wrote at 10/16/2010 02:52 PM:
>>
>> Is there a useful rule of thumb for deciding if a module should be in
>> the racket language or the racket/base language?
>>
>
> I, for one, always use "racket/base".
>
> In a sidebar alongside
Sam Phillips wrote at 10/16/2010 02:52 PM:
Is there a useful rule of thumb for deciding if a module should be in
the racket language or the racket/base language?
I, for one, always use "racket/base".
In a sidebar alongside the table of contents of the Reference (nope,
it's not an ad, nor a
Is there a useful rule of thumb for deciding if a module should be in
the racket
language or the racket/base language?
Cheers,
Sam
_
For list-related administrative tasks:
http://lists.racket-lang.org/listinfo/users
40 minutes ago, Todd O'Bryan wrote:
> I know this has come up on the list before, and I've reread those
> threads but am little confused.
> [...]
> It seems like if I use make-module-evaluator,
For student languages it might be better to use `make-evaluator'.
(With `make-module-evaluator' you sho
On 16.10.10 18:29, Neil Van Dyke wrote:
Jakub Piotr Cłapa wrote at 10/16/2010 11:57 AM:
On 14.10.10 11:44, Noel Welsh wrote:
The distinction is a bit arbitrary, as with a one-to-one mapping you
can convert from one to the other with no loss of information.
AFAIK this is true in general since
I don't think it should be that difficult once you get an evaluator
set up. I've done something like what you want, taking some ideas from
the handin server code. What I came up with (no fancy macros) is you
define a test specification for an assignment like this (in a #lang
racket file):
I know this has come up on the list before, and I've reread those
threads but am little confused.
Here's a sample student program file:
--
; volume-of-solid: number number number -> number
; given the length, w
Any thoughts on how, by default, timing of garbage collection cycles is
affected by whether the process is "idle".
For example, if non-GC threads are all waiting on events, might the
thread with GC be more likely to trigger a GC at that idle time, rather
than when some threads are working?
R
Jakub Piotr Cłapa wrote at 10/16/2010 11:57 AM:
On 14.10.10 11:44, Noel Welsh wrote:
The distinction is a bit arbitrary, as with a one-to-one mapping you
can convert from one to the other with no loss of information.
AFAIK this is true in general since in the raw binary form you have to
disti
On 14.10.10 11:44, Noel Welsh wrote:
The distinction is a bit
arbitrary, as with a one-to-one mapping you can convert from one to
the other with no loss of information.
AFAIK this is true in general since in the raw binary form you have to
distinguish code from data and as far as my knowledge
There is a lot of good information here.
Thank you all who contributed.
Mathew Kurian
--
Mathew Kurian
Seven Lakes High School
Cell: 8324932862 | Home: 2814929526
Do all the good you can, by all the means you can,
In all the ways you can, in all the places you can,
At all the times you can, to a
scouic wrote at 10/16/2010 09:46 AM:
Before, i'm just trying to write a function 'ftp-upload-file, because
it can serve for many users ..
Good luck. Two documents that might be useful:
http://www.ietf.org/rfc/rfc959.txt
http://www.ietf.org/rfc/rfc1579.txt
--
http://www.neilvandyke.org/
thanks.
Before, i'm just trying to write a function 'ftp-upload-file, because it can
serve for many users ..
if i can't do that, i'll post here :)
2010/10/16 Neil Van Dyke
> scouic wrote at 10/16/2010 09:14 AM:
>
> i have written a bash file (ubuntu) and a batch file (windows) who upload
>> my
scouic wrote at 10/16/2010 09:14 AM:
i have written a bash file (ubuntu) and a batch file (windows) who
upload my_file.txt on my server. Can i launch, for example in windows,
ftp-upload.bat via racket for upload my file on my server ?
Yes, you can do that. There are many different procedures yo
sorry, first message has not been sent : this is it :
Hi all,
I have a little problem for ftp connexion : i want to download my_file.txt
at example.com/upload/my_file.txt in my current directory : this is my code
:
(define cd (current-directory))
(define foo (ftp-establish-connection "example.com"
Do you mean how to upload files from Racket via FTP?
I don't see any documentation about uploading in
"http://docs.racket-lang.org/net/ftp.html";. Nor do I see any code for
upload in "collects/net/ftp-unit.rkt".
I think that you would probably have to write an "ftp-upload-file"
procedure yo
nb : i've search a way to launch a file from racket, but i found nothing ...
if you have links, i'm interested
_
For list-related administrative tasks:
http://lists.racket-lang.org/listinfo/users
김태윤 wrote at 10/16/2010 06:49 AM:
these day, I am abstracting some program that uses internet
A tutorial on doing client/server Internet programming at the level of
TCP sockets is at: http://docs.racket-lang.org/more/index.html
Most of the Internet protocols you use are layered atop TCP. TC
hello~
these day, I am abstracting some program that uses internet
but I have no idea where should I start first.
could somebody please give me an advice?
useful link, tutorial, sort of things
thanks in advanced
_
For list-related administrative tas
29 matches
Mail list logo