re you running? Perhaps there's something funny about my
build? I don't know anything about distributed/places internals
here, I'm just guessing.
I've tested this on Fedora 17 x64, and on an amazon stock x64 ec2
machine.
Regards,
Matthew Eric
On 12/15/2012 04:05 AM, Ke
The following thunk example works for me.
Uncommenting the message-router line will pump back stdout and stderr
from the remote node so you can see any errors that may be occurring at
the remote-node.
You will have to kill the message router by hitting CTRL-C when you want
to end the program.
Nevermind, my bad, I was using a "uninstalled racket3m" binary.
~/src/racket/build/racket/racket3m
On 12/04/2012 10:06 AM, Sam Tobin-Hochstadt wrote:
Really? What happened with the command I posted? It certainly works
for me here.
On Tue, Dec 4, 2012 at 12:03 PM, Kevin Tew wrote:
On 12/04/2012 08:53 AM, Sam Tobin-Hochstadt wrote:
On Wed, Nov 28, 2012 at 5:23 PM, Daniel Farina wrote:
I have tried the install-plain make target and it is indeed much
smaller, but it compiles/installs very little -- no raco, and
apparently very little byte-compiling, because the racket REPL
It looks stripped to me! no .debug sections.
➜ ~/temp/usr/bin git:(master) ✗ objdump -h racket Fri Nov 16 11 2012
04:07:16 PM:
racket: file format elf64-x86-64
Sections:
Idx Name Size VMA LMA File off Algn
0 .interp 001c 00400270 00400270 0270 2**0
CONTENTS, ALLOC, LO
I'm not sure I understand your question.
But you need to wrap your input events with handle-evt or wrap-evt so
you can close over state that helps you distinguish the events when sync
returns.
Kevin
On 11/10/2012 10:55 AM, Laurent wrote:
Hi,
Can a single 'sync' accept several input-port even
;; (printf "Event ~a\n" event)
(server-loop
(send root handle-event
event))))
On 11/07/2012 11:13 AM, Kevin Tew wrote:
yeah I'm putting it in a subdirectory.
I'm also trying to get XConnectionNumber to work f
Racket threads are green or user threads, they are not scheduled by the
operating system.
Blocking on a socket in XNextEvent blocks the entire Racket VM.
You need to use XConnectionNumber to get the X socket file descriptor
number and then create a port that you can sync on with Racket's sync
f the
form @racket[(#,(racket quote) _sym)] unless the module is predefined
(see
On 11/05/2012 08:52 AM, Kevin Tew wrote:
On 11/05/2012 08:23 AM, Ray Racine wrote:
"If the output ports are file-stream ports
,
then the connected ports in the places share the underlying stream,
otherwis
On 11/05/2012 08:23 AM, Ray Racine wrote:
"If the output ports are file-stream ports
,
then the connected ports in the places share the underlying stream,
otherwise a thread
in
the creating place pumps bytes to the current ports in the creating
place."
Should that be "..., otherwise a thr
I forgot to reply to the list.
On 07/03/2012 10:33 AM, Harry Spier wrote:
I'm starting to look at Racket concurrency functions (futures and
places) to increase the efficiency of my application and I have a few
questions. Its an OCR application so that once I've segmented the
text and created a
On 05/15/2012 09:37 AM, Eli Barzilay wrote:
Yesterday, Kevin Tew wrote:
Attached is a distributed places program that will do what you want.
It requires the latest checkout from git head. You must have ssh
public-key authentication setup on all the nodes. For easy use, it
also requires that
I'm not familiar with the wiki, but I don't mind if it gets included.
Kevin
On 05/14/2012 02:16 PM, Matthias Felleisen wrote:
Is this something for the Wiki on Tricks and Hacks with Racket?
On May 14, 2012, at 1:18 PM, Kevin Tew wrote:
Attached is a distributed places program th
machines.
It communicates with plain sockets, so it assumes a secure environment.
Let me know what problems you have or if it works for you.
I would start by testing it out using just localhost.
Kevin Tew
On 05/13/2012 01:53 PM, HP Wei wrote:
Would you please suggest to me some links so that I
Fix was committed last Friday.
Kevin
Racket Users list:
http://lists.racket-lang.org/users
Thanks for the problem report.
It appears to be a bug, I'm working on it.
Kevin
#0 0x77265473 in poll () from /lib/x86_64-linux-gnu/libc.so.6
#1 0x00575a42 in default_sleep (v=,
fds=0x74bc81b0) at ../../../src/racket/gc2/../src/port.c:9815
#2 0x006104bd in check_s
I'm working on distribute places.
The first version should hit git later today as racket/place/distributed.
The abstraction over places is working pretty well.
The abstraction over threads is planned but not started yet.
Kevin
On 03/05/2012 08:12 PM, Eduardo Bellani wrote:
-BEGIN PGP SIGNED
This is the magic incantation I use to use with valgrind.
valgrind --tool=memcheck --db-attach=yes
--vex-iropt-precise-memory-exns=yes --leak-check=full --num-callers=40
the --vex-iropt-precise-memory-exns=yes is important for running racket.
Kevin
On 02/29/2012 10:29 PM, Simon Haines wrote:
__sync_bool_compare_and_swap is compiler builtin intrinsic only present in gcc
versions>= 4.1.
I'd guess you have gcc 4.0 on the system.
You might want to try Linux i386 (Fedora 12)
Kevin
On 09/02/2011 07:40 AM, Stephen Bloch wrote:
On Sep 2, 2011, at 9:18 AM, Matthias Felleisen wrote:
Does
s or
racket pipes for a new place's standard in, out, and err ports.
In the Drracket case, I'll detect that that the current-error-port isn't
a file port or racket pipe and set up an IO pump that
pumps a place's standard IO ports into the current Drracket ones.
I think that sh
acket uses when the file is not saved.
Robby
On Tue, Aug 30, 2011 at 12:14 PM, Kevin Tew wrote:
When I run the code below in drracket, the code seems to run indefinitely.
When I hit the stop button the (place-channel-get p) sexp is highlighted in
pink.
Kevin
On 08/30/2011 08:54 AM, David Mitche
When I run the code below in drracket, the code seems to run indefinitely.
When I hit the stop button the (place-channel-get p) sexp is highlighted
in pink.
Kevin
On 08/30/2011 08:54 AM, David Mitchell wrote:
#lang racket
(define (super-simple)
(define p
(place ch
The nightly builds should work.
Try them here:
http://pre.plt-scheme.org/installers/
On 07/23/2011 11:04 PM, Andrew Sundstrom wrote:
Hi. Dr. Racket stopped working after my upgrade to OS X Lion. Below
is the detail report from the most recent failed application startup.
-
Process:
On 05/31/2011 09:52 AM, Erich Rast wrote:
Recently I started to wonder why Racket has futures and now also places
but so far lacks traditional OS-level threads and parallel-map,
parallel-for-each, parallel-sort, parallel-filter, for/parallel and the
likes for sequences.
Places is an abstraction o
On 02/23/2011 01:23 PM, Eduardo Bellani wrote:
I was going to experiment with places for parallelism and I have
compiled from source to support it. Then I've encountered a very strange
bug that does not happen with 5.1
Did you compile 5.1 with places also?
;;test.rkt
#lang racket
(require "def
I'll look into it.
I haven't tried places on windows in some time, I'll bring up to date
this week.
Kevin
On 01/17/2011 08:13 AM, Robby Findler wrote:
I think the real reason is actually much sadder: no one on the core
team regularly uses windows. Well, until about a month ago, when I
started
Have you tried
sudo apt-get install build-essential
Kevin
On 12/28/2010 01:03 PM, Nikita B. Zuev wrote:
Well as Matthew Flatt suggested I compiled 5.0.99.5 so the problem is
solved... I think.
But for the purpose of finding The Truth, I still tried to make 5.0.2)))
[nikit...@oni build]$ LDFLAG
I've been wanting to implement a fork-like feature for places where a
new place is created as a clone of its parent.
A deep namespace-copy could be useful in that scenario.
On 11/08/2010 04:49 PM, Jay McCarthy wrote:
Could namespaces be dicts and we could write dict-copy?
Jay
On Mon, Nov 8, 2
void scheme_thread_block(float sleep_time)
#ifdef MZ_USE_FUTURES
scheme_check_future_work();
#endif
-#ifdef MZ_USE_MZRT
+#if defined(MZ_USE_MZRT) && !defined(DONT_USE_FOREIGN)
scheme_check_foreign_work();
#endif
On 07/13/2010 10:03 AM, Kevin Tew wrote:
Try this patch, if it works for you. I
Try this patch, if it works for you. I'll commit it
Kevin
diff --git a/src/racket/src/env.c b/src/racket/src/env.c
index b1c0a8d..68b634b 100644
--- a/src/racket/src/env.c
+++ b/src/racket/src/env.c
@@ -501,7 +501,9 @@ static Scheme_Env *place_instance_init(void
*stack_base, int initial_main_o
30 matches
Mail list logo