Sound isn't really the forté of windowing applications. I'm not sure why
"play-sound" is in there at all. But to be more helpful, do you have
"portaudio" support? You could try using the planet package for that:
http://planet.racket-lang.org/display.ss?package=rsound.plt&owner=clements
(require (
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 10/23/2010 08:38 PM, 김태윤 wrote:
> there must be easy way to change tint(hue, shade) of image
> but how to?
> thanks in advanced
A way, sure, but not an easy way. Racket doesn't have a full featured
image processor and photo filter chain ala GIMP/Ph
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 10/20/2010 08:38 PM, Danny Yoo wrote:
> Yikes. Ok, is there a way to tell if a filesystem root is
> case-sensitive or not?
Use a POSIX compatible operating system. Bam, your filesystem root is
case-sensitive.
-BEGIN PGP SIGNATURE-
Version:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 10/13/2010 05:36 PM, Mathew Kurian wrote:
> Racket as a language built on top of another base language (i.e.
> Assembly or C)
No, racket is not built on top of another base language.
> or is it directly connected to the processor language?
The l
On 10/03/2010 02:22 PM, A Z wrote:
> Does anybody know how to check for infinite loops programmatically in
> racket?
To check for... wat
http://en.wikipedia.org/wiki/Halting_problem
_
For list-related administrative tasks:
http://lists.racket-la
On 10/03/2010 06:35 AM, 김태윤 wrote:
> since wav file is too big, is there any way I can play ogg or mp3 file
> in scheme?
That shouldn't be too much trouble. There are many sound playing
libraries and programs that can handle both Vorbis and MP3. I would
recommend you do something like this:
(modu
Sadly gdbm does not seem to provide a libdbm.so library itself, instead
instructing every program using it to link with both libgdbm and
libgdbm_compat for similar behavior. It also specifies that, since every
program will be written in the C language using CPP as a preprocessor,
to use CPP macros
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
In my efforts to create a dynamically loading environment, I'd like to
do something like this:
- ---
#lang racket/base
(define-for-syntax db (something))
(define-for-syntax (get-env key) (db-value db key))
(define-syntax env
(lambda (form)
(sy
a named file.
Sure, I did that. I'll attach a quick demonstration.
#lang racket/base
(require (prefix-in perm: (planet synx/util:2/permissions))
(prefix-in user: (planet synx/user:1))
(prefix-in stat: (planet synx/stat:2))
(prefix-in s: (planet synx/stat:2/lo
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 08/23/2010 09:44 AM, Jay McCarthy wrote:
> In fact, it is already written:
>
> http://planet.racket-lang.org/display.ss?package=stat.plt&owner=synx
Anyone who uses this, please let me know anywhere I screwed up on, that
needs f
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 07/22/2010 01:27 AM, John Sampson wrote:
> This would mention the need to escape the backslash, which to
> a newbie like myself is not obvious.
Escaping the backslash is documented under the reader. The reader is the
program that parses your writt
Yeah, I... really have no idea what's going on with this bug. Nowhere in
my code, or any of lizorkin's ssax code or the sxml-tools module is any
reference made to any identifier even resembling the word 'stxloc'.
$ cd /home/synx/code/scheme/exe-broken/
$ racket exe-broken.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 07/19/2010 05:23 PM, Robby Findler wrote:
> That is, create some build directory to
> run configure in,
Okay, I do that.
> but don't pass an install dir and instead let the
> make install phase go directly into the plt tree where you're building
make.log.gz
Description: GNU Zip compressed data
_
For list-related administrative tasks:
http://lists.racket-lang.org/listinfo/users
raco setup: file-or-directory-modify-seconds: expects type as 2nd argument, given: +inf.0; other arguments were:
#
Just noticed this error during install of the latest git. Something
during installation is attempting to set the modified time of the file
to infinitely far in the future. So eithe
On 07/02/2010 04:12 AM, Robby Findler wrote:
> I am able to download that from my home machine and my machine at my office
> without it failing (I'm in Chicago, my office is in Evanston, IL and the
> planet server is in Boston if that matters).
Hmm... if that's true, who else could it be but my
On 07/01/2010 10:20 PM, Noel Welsh wrote:
> The .plt format is designed to allow easy emailing for
> those that don't have a better Internet connection.
Well, I go and run mutt, and it lets me attach binary files,
transparantly base64 encoding and decoding them as I attach and save
attachments, r
On 07/01/2010 08:14 AM, Brad Long wrote:
>
> Yes, that makes sense, for example: (display pt.x)
You might want to check Racket's object system. It's different from
structs, but is at least the kind of abstraction you're probably
thinking of.
(define point% (class object%
(init-field x y)
(s
> I'm having trouble seeing the bad behavior you see. One thing is that
> installing racket doesn't install any planet packages, afaik. Perhaps
> you can say more carefully what it was you did exactly?
>
> Robby
Oh, sorry, yes I should specify more clearly. I install racket in a
DESTDIR temporar
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
For the record, I think it's completely insane that .plt files are
base64 encoded. Sure you can store them base64 encoded in a database, if
the database has poor data separation boundaries, but once you retrieve
them and put them into a file, it shoul
On 06/30/2010 03:04 AM, Noel Welsh wrote:
> I really
> think the Scheme world would be much much much better served by these
> developers contributing their efforts to a single implementation.
In particular, one nice thing about Racket is that it provides not so
much a language implementation, bu
So I was installing racket yesterday and noticed that the installation
was hanging on the sub-installation of a planet package. I looked at the
situation, tried removing any proxies I might have set up, but nothing I
could do would install that package. So I used 'raco planet url' to find
the URL
Okay what. I've long relied on the behavior of regexp-replace* to single
out a number of substrings within a big string, and let me mangle those
substrings in a programmatic fashion. Example:
(regexp-replace*
#rx"([a-z]+) ([a-z]+)" "red fox, blue seal. red trout, blue trout!"
(lambda (total c
I looked over the FastCGI and SCGI protocols, and concluded that they
weren't much more efficient than a protocol known as HTTP. Why not proxy
your data to a webserver, using apache's proxy module?
My apache2.conf has a lot of these in it:
ProxyPass http://127.0.0.1:/ retry=10
If
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 06/14/2010 12:47 PM, Jakub Piotr Cłapa wrote:
> Why do you want to have your context in parameters in the first place?
Eh, I don't really. I just like how they clean themselves up after
leaving a parameterization, without the attendant loss of
tai
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I am trying to represent a situation where there are a number of
"environments" that each contain a number of named procedures. These
environments can be nested, in that there is a base environment and
other environments that add to or replace from it
And now I noticed that my hackish '|'| eliminator sometimes eliminates
the first ( because there is no ' on the expression for reasons I don't
understand. So I made a work around! :D
Someone who actually knows this stuff I'd really appreciate seeing
something like this. ^.^; Not so much to attempt
Here's a little something I was playing with, the notion of context
switching. What does a certain symbol (er, parameter) mean in a given
context? Can parameters be grouped together into meaningful context
objects that change a bunch of parameters at once?
The motivation is for my text adventure t
On 06/10/2010 09:34 PM, Stephen Chang wrote:
> This doesn't seem to do the replacement when the language is just #lang
> scheme.
Oh, yeah it wouldn't. Well it's an easy fix. But seriously, don't use
this on anything you care about. As I said it deletes line-based
comments. It also reformats the w
29 matches
Mail list logo