20 minutes ago, Noel Welsh wrote:
> On Fri, Jan 14, 2011 at 8:12 PM, Harry Spier wrote:
> > From whats been said perhaps the way to go is to make a C wrapper
> > to the C interface to the latest version of ImageMagick and then
> > go through the FFI to interface to Racket.
>
> I doubt you need th
On Fri, Jan 14, 2011 at 8:12 PM, Harry Spier wrote:
> From whats been said perhaps the way to go is to make a C wrapper to the C
> interface to the latest version of ImageMagick and then go through the FFI
> to interface to Racket.
I doubt you need that C wrapper. The ImageMagick API is large but
I was looking at the documentation on how continuation-marks work, and
the documented behavior is different than what I observed.
The following programs add a continuation mark, then a prompt, then
try to look at the current continuation marks. According to the
documentation I would expect the pro
An enum is not a structure, so it has no fields. That ctype will
convert the numbers 0 and 1 to the symbols 'a and 'b respectively.
Jay
2011/1/14 Lewis :
> Hi all,
>
> Take the simple example below;
>
> (require ffi/unsafe)
> (define _foo (_enum '(a b)))
>
> how would one access the a field of _f
Hi all,
Take the simple example below;
(require ffi/unsafe)
(define _foo (_enum '(a b)))
how would one access the a field of _foo? I could find nothing about
this in the FFI section on ctypes.
thanks,
Lewis
_
For list-related administrative task
The construct 'thread' is as you describe. The construct 'future',
however, could easily (in a generic sense) be called a 'thread which
multi-threaded enabled cpu will run truly in parallel'. A place, too.
They have different restrictions. The words have precise technical
meanings in our language m
Thanks.
Perhaps some one could explain this aside in section 18.9 "Parallelism with
futures"
Other functions, such as thread, support the
creation of reliably concurrent tasks. However, thread never run truly
in parallel, even if the hardware and operating system support
parallelism.
Does th
There was a convenient button on the launchpad website (where the ppa
lives) to copy the package to 10.10 so I did that and it seems to work.
So if racket failed to install before, try it again.
On 01/14/2011 01:10 PM, Jon Rafkind wrote:
> It appears this build only works for lucid (10.04). I'll h
> It looks like you've constructed your namespace with
> "module->namespace". The provides the bindings from inside the
> module, not the ones it provides. I think you want to use
> namespace-require or something similar.
Ah, thank you! That works. Here's what I have now, just in case it
help
Please look at the future and the places library. These are still
relatively new parts of Racket, but we'd love to have your feedback.
Here's an overview, leading to futures:
http://docs.racket-lang.org/guide/performance.html
Robby
On Fri, Jan 14, 2011 at 2:12 PM, Harry Spier wrote:
> Thanks
Danny,
It looks like you've constructed your namespace with
"module->namespace". The provides the bindings from inside the
module, not the ones it provides. I think you want to use
namespace-require or something similar.
Carl Eastlund
On Fri, Jan 14, 2011 at 3:51 PM, Danny Yoo wrote:
> Hi eve
It was added during the time between the last release and the current
release (which will come out imminently.)
Jay
2011/1/14 Alexander Asteroth :
> Hello,
>
> I'm trying out the racket web-server. Unfortunately response/xexpr seems to
> be missing in the current distribution of DrRacket.
> When
On 1/14/11 3:48 PM, Alexander Asteroth wrote:
Hello,
I'm trying out the racket web-server. Unfortunately response/xexpr seems to be
missing in the current distribution of DrRacket.
When tryint to run the example code I always get the following error message:
expand: unbound identifier
Hi everyone,
I'm trying to use the following to get the bytecodes for a non-module
interaction:
;;
#lang racket/base
(define (get-interaction-bytecode x #:language-module
Hello,
I'm trying out the racket web-server. Unfortunately response/xexpr seems to be
missing in the current distribution of DrRacket.
When tryint to run the example code I always get the following error message:
expand: unbound identifier in module in: response/xexpr
I even grep'ed th
Thanks Matthias.
>From whats been said perhaps the way to go is to make a C wrapper to the
C interface to the latest version of ImageMagick and then go through
the FFI to interface to Racket.
Also someone mentioned the use of parallel processing. It seems to me
that an OCR application
It appears this build only works for lucid (10.04). I'll have to make
new packages for 10.10.
On 01/13/2011 03:10 PM, Jon Rafkind wrote:
> I have built a ppa for racket on Ubuntu. This is pretty alpha so let me
> know if there are any issues with it (besides the one outlined below).
>
> Informatio
Here's an idea for a project (maybe for a motivated undergrad?): a Racket
sub-language that, like Node.js:
- restricts you to only non-blocking I/O
- restricts you not to have access to Racket threads
- uses the control-flow model of JS where a single event loop invokes only one
user callback at
David Van Horn wrote:
I have basically the same problem that 2htdp/universe has -- I need to
document two forms (from the same module) that have overlapping literals
in their subforms. For example, big-bang and universe both use on-tick.
The problem (beside warnings about duplicate keys when
It's an experimental package under development for use with teaching materials.
It's not ready for anything really -- Matthias (I know, I wrote it)
On Jan 14, 2011, at 9:59 AM, Harry Spier wrote:
>
> I thought I saw somewhere in the Racket documentation a few weeks ago that
> there is anoth
I have basically the same problem that 2htdp/universe has -- I need to
document two forms (from the same module) that have overlapping literals
in their subforms. For example, big-bang and universe both use on-tick.
The problem (beside warnings about duplicate keys when running scribble)
is t
I thought I saw somewhere in the Racket documentation a few weeks ago that
there is another graphics package in Racket that even has a function to create
a binary matrix from a picture. But when I tried to find it yesterday I
couldn't (I don't remember the name or where in the documentation I
20 minutes ago, David Nolen wrote:
> On Fri, Jan 14, 2011 at 9:21 AM, Eli Barzilay wrote:
>
> > 9 hours ago, David Nolen wrote:
> > >
> > > With a good FFI it seems like someone could write a great Racket DSL
> > > for evented network programming a la Node.js minus all the JS
> > > callback cruft
12 hours ago, Harry Spier wrote:
> 2) interface to ImageMagick (which I use to create my binary page
> representation)
Note BTW that the ImageMagick interface that comes with racket was
made as an example for an interface, so it wasn't kept up to date with
the current API. (I don't know what chan
Eli Barzilay wrote at 01/14/2011 09:21 AM:
9 hours ago, David Nolen wrote:
With a good FFI it seems like someone could write a great Racket DSL for
evented network programming a la Node.js minus all the JS callback cruft.
I know very little about it, but it looks like it covers stuff
Dear list members,
Thank you for this. 3 x C should be efficient enough.
I am thinking that Racket would be an ideal choice for the OCR application
for the following reasons:
1) 3 x C efficiency for tight loops should be good enough (far better than
Ruby)
2) interface to ImageMagick (which I use
On Fri, Jan 14, 2011 at 9:21 AM, Eli Barzilay wrote:
> 9 hours ago, David Nolen wrote:
> >
> > With a good FFI it seems like someone could write a great Racket DSL
> > for evented network programming a la Node.js minus all the JS
> > callback cruft.
>
> I know very little about it, but it looks l
9 hours ago, David Nolen wrote:
>
> With a good FFI it seems like someone could write a great Racket DSL
> for evented network programming a la Node.js minus all the JS
> callback cruft.
I know very little about it, but it looks like it covers stuff that
racket includes as built in functionality.
On Jan 14, 2011, at 12:12 AM, Benjamin Rahn wrote:
> Is there any way to suporess the inserted newline?
Submit a bug report.
_
For list-related administrative tasks:
http://lists.racket-lang.org/listinfo/users
Check and see if the text% object is drracket:rep:text<%>, I believe.
Robby
On Thu, Jan 13, 2011 at 11:43 PM, Benjamin Rahn wrote:
> I'm creating some custom key bindings. Is there a way to make the key
> bindings different for the interaction frame vs. the definitions window?
>
> Specifics: I
On Fri, Jan 14, 2011 at 12:18 AM, David Nolen wrote:
> I'm curious if there's something more like along the lines of a step-by-step
> tutorial for the FFI? I can see that it's well documented, but it would
> great if there was something more along the lines of an introductory
> tutorial.
It's not
31 matches
Mail list logo