Hi, I am using DrRacket 6.0.1 with language R5RS when I try to evaluate the
statement:
(eval '(+ 1 2) user-initial-environment)
I get the error:
"user-initial-environment: undefined;"
Am I doing something wrong? Thank you.
-Tim O.
Racket Users list:
http
I am using R5RS because I have to learn Scheme for a class.
When I looked up some examples of using eval and all the ones that I saw
for some reason had that
user-initial-environment. So now it works thank you.
On 06/02/2014 02:31 PM, Danny Yoo wrote:
> On Mon, Jun 2, 2014 at 10:45 AM,
I am using DrRacket 6.0.1 with language R5RS when I try to evaluate the
statement:
(eval '(+ 1 2) user-initial-environment)
I get the error:
"user-initial-environment: undefined;"
Am I doing something wrong? Thank you.
-Tim O.
Racket Users list:
http
* Shriram Krishnamurthi [100609 10:27]:
<...> Since Google has some investment in Kawa, I'm
> sure it's in good shape.
Very interesting! Could you elaborate on this Google
investment in kawa? Or just post some links?
thanks
--
Tim
tim at johnsons-web.com or
* Karl Winterling [100611 11:21]:
> On Fri, Jun 11, 2010 at 11:40 AM, Tim Johnson wrote:
>
> > Very interesting! Could you elaborate on this Google
> > investment in kawa? Or just post some links?
> > thanks
>
> I think that Google uses Scheme as a configuratio
if I try to switch cgc off, with:
./configure --disable-cgc --disable-cgcdefault --srcdir=../ \
--prefix=/usr/local/plt-5.0/SunOS-5.10-amd64\
CC="gcc -m64" CXX="g++ -m64" LD="ld -m64"
It still won't get past this error, it insists on using racketcgc.
What c
written, this behaviour seems to be what you would
expect.
Is there anything I can do to intercept `racketcgc' before it calls
whatever it calls to throw this error?
Regards,
Tim
--
Tim Brown | City Computing Limited|
T: +44 20 8770 2110| City House, Sutt
re? It *is* a bit niche!
I've checked the FFI (which is the main reason I need the 64-bit build),
and it works (for getenv(), anyway).
I can now apply scheme, er, racket to our existent C applications.
Truly, this is very exciting.
Thanks again,
Tim
--
Tim Brown | City Computing Limit
cket/mzdyn3m.o
ld: fatal: relocations remain against allocatable but non-writable sections
collect2: ld returned 1 exit status
make: failed to make compiled/gl-info_rkt.zo; link-extension: command failed
raco setup: --- compiling collections ---
Regards,
Tim
--
Tim Brown | City Computing Limited
if
the entire expression could be marked as "from-...@-form".
Could someone with a better overview of what options are available for me
to label my data in such a way point me in the right direction?
Regards,
Tim
--
Tim Brown | City Computing Limited|
T: +44 2
-form".
Could someone with a better overview of what options are available for me
to label my data in such a way point me in the right direction?
Regards,
Tim
--
Tim Brown | City Computing Limited|
T: +44 20 8770 2110| City House, Sutton Park Road |
F:
Say that I have a strange character group that I want to find in a binary
file.
I wanted to use something like this:
(define needle (list->string (map integer->char (list #xab #xcd #xef
(define needle-offset
(call-with-input-file "big_binary_blob.bin"
#:mode 'binary
(λ (p)
(reg
IMHO, Racket's documentation is the gold standard. I tell everyone I work
with that we should document things this well.
Until now, I haven't seen any room for potential improvements.
Now, I like ASCII art as much as the next person, but when I was reading
the documentation for the GUI class hiera
d want to use image
> > <
> https://docs.racket-lang.org/scribble/base.html?q=image#%28def._%28%28lib._scribble%2Fbase..rkt%29._image%29%29
> >
> > as the tag function. You might also need to use define-runtime-path
> > <
> https://docs.racket-lang.org/reference/
When I was using Racket v6, I had to add (require readline/rep) to my
~/.racketrc to enable readline support in the REPL. I have recently
upgraded to Racket v7.2 on Ubuntu 20.04. It seems that readline support
is automatically enabled even if I remove (require readline/rep) from
my ~/.racketrc.
Ca
> Using *fluent*, the same racket code can be written according to the UNIX
> philosophy:
>
> ("data.txt" > file->lines >> filter (line : line > string-contains?
> "active") >> map (line : line > string-split > list-ref 4) >
> remove-duplicates > sort)
This reminds me of Clojure's threadin
I noticed that SRFI 216 "SICP Prerequisites" reached "final" status in
January 2021. How will this affect #lang sicp? What are the differences
between these two SICP aids?
SRFI 216 link: https://srfi.schemers.org/srfi-216/srfi-216.html
#lang sicp link: https://docs.racket-lang.org/sicp-manual/SICP
Is it possible that the documentation is outdated?
According to
https://docs.racket-lang.org/readline/index.html#%28part._.Normal_.Use_of_.Readline%29:
> You can also put (require readline) in your "~/.racketrc", so that Racket
> automatically loads Readline support in interactive mode.
Is this
Where in the repository are macros like "and" and "or" defined?
I tried searching for "and" and "or" ... but you probably know how that
worked out.
Thanks folks!
--
You received this message because you are subscribed to the Google Groups
"Racket Users" group.
To unsubscribe from this group and
ual? (my-and 1 #f 2) #f))
>
>
>
>> On Sun, May 9, 2021 at 9:30 AM Jens Axel Søgaard
>> wrote:
>> Hi Tim,
>>
>> In this case Ryan's method leads to:
>>
>> https://github.com/racket/racket/blob/master/racket/collects/racket/private/qq-and-
f))
#t
>
c.f.
https://docs.racket-lang.org/reference/boxes.html
<https://docs.racket-lang.org/reference/boxes.html>
A <>box is like a single-element vector, normally used as minimal mutable
storage.
Best,
Tim
--
You received this message because you are subscribed to the Google
Many thanks John, I’ve just posted it there.
Tim
> On 3 Feb 2022, at 23:17, 'John Clements' via Racket Users
> wrote:
>
> Sounds like a good question to me. Perhaps it would make sense to post it to
> the discourse group, instead? I’m happy to ask on your behalf if
dule `xxx' in:
[...]/compiled/native/x86_64-linux/3m/xxx_rkt.so
Everything is xxx!
What have I missed?
Help much appreciated.
Racket 5.2 (downloaded from website today) 3m linux x86_64
Thanks,
Tim
--
Tim Brown | City Computing Limited|
T: +44 20 8770 2110| Ci
Thanks Matt.
My original problem was with SWIG (which, by default uses
scheme_make_symbol()).
Poking about (and reading documentation):
swig -declaremodule -mzscheme ...
does everything splendidly.
Tim
Matthew Flatt wrote:
Use scheme_intern_symbol() instead of scheme_make_symbol
FFI module -- I'd hope the code to
be far cleaner than these C middle-layer wrappers.
Is there a CFFI -> racket FFI conversion floating about in the world of
men?
All the best,
Norman
To you too.
Tim
--
Tim Brown | City Computing Limited|
T: +44 20 8770 2110
Hello,
I've been trying to translate the prolog tutorial -
http://www.csupomona.edu/~jrfisher/www/prolog_tutorial/2_1.html
- into racklog.
I'm stumped at the conflict rule.
My code attempts are at http://paste.lisp.org/display/127408
Any hi
g with my logic?
(Happy to accept that as an option)
Otherwise... what's up? Can I do owt to help?
tim-brown on #racket, ping me if you need to know more
Tim Brown
(gdb) where
#0 0x7f78f77a90e3 in select () from /lib/libc.so.6
#1 0x7f78f84d59dc in default_sleep (v=,
fd
-number-youll-find-so-often-in-PE k) 100)
[i (in-range 0 10)]
[j (in-range 0 10)]
...)))
You'll know when you'll need it!
#:when (printf ...)
will become your friend!
Tim
Eli Barzilay wrote:
20 minutes ago, Rodolfo Carvalho wrote:
(define (pythagorean-t
therefore be the style I would prefer, if I
had a mind about me!
"when" might have been even more appropriate, since it takes a boolean
condition and then arbitrary forms -- but I didn't really want to see:
#:when (when (> ...) print flush)
It's just odd.
Hope that hasn
ince it is a system that supports poll().
(And I assume that even if there is a version that doesn't support poll(),
configure would switch the facility off anyway).
Or is this detected in another way during the build process?
Regards,
Tim
--
Tim Brown | City Computing Limited
limit setrlimit64
#pragma redefine_extname getrlimit getrlimit64
which causes the not provided functions to be used.
At a glance, can anyone either give me a solution, or a pointer to help me
out here; otherwise, I'll be delving in
rts of this being a problem on the mailing list.
Should it be handled though?
Tim
--
Tim Brown | City Computing Limited|
T: +44 20 8770 2110| City House, Sutton Park Road |
F: +44 20
Matthew Flatt wrote:
This sounds like an `--enable-shared' and libtool issue. Maybe we need
to upgrade some libtool files?
Do you import libtool into the racket source tree, thereby freezing
the version and needing maunal update?
--
Tim Brown | City Computing Limited|
T: +
ne of the CGC's
isn't it)?
--
Tim Brown | City Computing Limited|
T: +44 20 8770 2110| City House, Sutton Park Road |
F: +44 20 8770 2130| Sutton, Surrey, SM1 2AE, GB |
Matthew Flatt wrote:
No, I think we still rely on Racket-specific changes to the Boehm GC,
but revisiting that is on my list of things to do one day.
Do you have a published LOTTDOD?
--
Tim Brown | City Computing Limited|
T: +44 20 8770 2110| City House, Sutton
Matt,
Just saw you commit: "configure: use installed `libtool' by default"
Did you look to see whether up-to-date libtool handles the
LD_LIBRARY_PATH_nn variables?
Tim
Matthew Flatt wrote:
Maybe the default these days should be to use an installed `libtool' if
one is a
Folks,
Are there any racket (or scheme) social groups in London,
Surrey or the South East of England?
Tim
--
Tim Brown | City Computing Limited|
T: +44 20 8770 2110| City House, Sutton Park Road |
F: +44 20 8770 2130| Sutton, Surrey, SM1 2AE
Paulo J. Matos wrote:
On 11/06/12 10:06, Tim Brown wrote:
Folks,
Are there any racket (or scheme) social groups in London,
Surrey or the South East of England?
Is Cambridge good enough? :)
It's pushing it... but what have you to offer?
Tim
--
Tim Brown | City Computing Li
, and it seemed
to me to be plenty appropriate for the situation!
In other news, from what I see on Google, a "Rackaholic" seems to be some
kind of 4x4 Driving, Deer Shooting, Barbecue addict. Living one
interpretation of the American Dream, maybe, but probably not interested
in the hygi
Neil Van Dyke wrote:
Tim Brown wrote at 06/14/2012 04:22 AM:
a "Rackaholic" seems to be some
kind of 4x4 Driving, Deer Shooting, Barbecue addict.
Racket is originally from Texas.
Nuff said.
--
Tim Brown | City Computing Limited|
T: +44 20 8770 2110|
to hint to the FFI that I want this reference
kept visible?
Regards,
Tim
--
Tim Brown | City Computing Limited|
T: +44 20 8770 2110| City House, Sutton Park Road |
F: +44 20 8770 2130
table'd pointer to my GC_malloc'd pointer --
which keeps life simpler)
In any case, I will need to invisibleise the pointer when it is no
longer in use by racket (i.e. "legitimately" collectable). What would be
the best way/hook to detect the pointers' end-of-life?
Re
Matthew Flatt wrote:
At Mon, 16 Jul 2012 17:33:23 +0100, Tim Brown wrote:
In any case, I will need to invisibleise the pointer when it is no
longer in use by racket (i.e. "legitimately" collectable). What would be
the best way/hook to detect the pointers' end-of-life?
Pro
be "initiated afresh"?
Why not?
Is there a bug in the documentation of (in-cycle)?
Or should (in-value) be documented as "cannot be initiated afresh"?
Regards.
Tim
--
Tim Brown | City Computing Limited|
T: +44 20 8770 2110| City House
ving problems with a
pencil and paper than user racket. Let's change that.
Tim
--
Tim Brown | City Computing Limited|
T: +44 20 8770 2110| City House, Sutton Park Road |
F: +44 20 8770 2130| Su
of range: 1 to 1,000,000 cannot be reproduced with
set-range, and cannot have a value set to it. Is this inconsistency a bug?
Or is there some intention behind it?
Tim
--
Tim Brown | City Computing Limited|
T: +44 20 8770 2110| City House, Sutton Park Road |
On 26/09/12 15:31, Marco Morazan wrote:
1. Is eq? the most natural way to test the equality of numbers? (minor quibble)
I was wondering this, myself, earlier, but is zero? the fastest way to
test for zero-ness?
Tim
--
Tim Brown | City Computing Limited|
T: +44 20 8770 2110
perform 10^12 times?
Maybe I'm thinking a bit too much like a C programmer -- (!x)... works for
me as a test in so many ways; that I tend to want to use something like it
when I'm writing in other languages. (Where I should be using zero? false?
and/or null?).
Tim
On 27/09/12 16:50, Matthia
put-port)])
(flush-output)
(write msg p)
(flush-output p))
Should that first flush-output be on p?
Thanks, in advance, for your help with this.
Regards,
Tim
--
Tim Brown CEng MBCS
City Computing
Matthew,
Thanks for the pointers.
On 20/03/15 11:52, Matthew Flatt wrote:
At Fri, 20 Mar 2015 10:14:12 +, Tim Brown wrote:
I have written a remote-server (as in
racket/place/define-remote-server), which I am then trying to use from a
web-server. The remote-server is running on a remote
#lang web-server and racket command line
- #lang web-server and drracket.
REQUEST @ 1430151106
RESPONSE @ 1430151116 :: #f
REQUEST @ 1430151116
RESPONSE @ 1430151126 :: #f
So, a pair of requests which could be serviced in 10s + a tiny bit are
taking 20s.
How do I serve this servlet so that it h
to answer this or not, I'm about to JFGI]
Thanks again.
Tim
--
Tim Brown CEng MBCS
City Computing Limited · www.cityc.co.uk
City House · Sutton Park Rd · Sutton · Surrey · SM1 2AE · GB
t
performing (apparently), that I forgot to do good science to find out why.
> Or even script the requests using a separate Racket instance! :-)
Or even that!
Tim
--
You received this message because you are subscribed to the Google Groups
"Racket Users" group.
To unsubscribe from
tta Code.
WELL DONE AND THANKS TO EVERYONE WHO HAS CONTRIBUTED (especially Racket)
CODE ONTO ROSETTA CODE!
And many, many thanks to the Racket team for producing a language which
is now demonstrably as competent as any. (Although we all knew that before
anyway, didn't we?)
Tim
--
You rece
Oh dear!
That didn't last long. It seems, that Racket now has 846 tasks.
It is now no longer the /joint/ most popular programming language
on Rosetta Code.
Tim
On Wednesday, 29 April 2015 00:38:53 UTC+1, Tim Brown wrote:
> I do believe that Tcl and Racket are now jointly the
> m
rite a program that
can hand on heart say that it's not implemented in a language named
after a reptile" would serve them right for breathing down Racket's
neck for the last few months. They even drew *level* at one point
(according to my now discredited popular languages report)
I hope I'm not coming over too tribal here.
On 29/04/15 13:07, Tim Brown wrote:
That said, anything that slows Python down like "Write a program that
can hand on heart say that it's not implemented in a language named
after a reptile" would serve them right for breathing do
I'm afraid that I have a lot on personally, so I'll put up something
short and sweet, since “800” covered most of what I have to say on the
subject. Won't be till tomorrow, though.
Tim
On 29/04/15 07:57, Jens Axel Søgaard wrote:
Great news!
Worth a blog post to foll
pare:
http://rosettacode.org/wiki/Category:Tcl#mw-pages
http://rosettacode.org/wiki/Category:Racket#mw-pages
This is what I based my announcement on.
Which give Tcl 851 and Racket 850.
So it looks like game on, people!
Tim
--
Tim Brown
be a comma between the nonce and
opaque.
I've put together a patch for your perusal.
"tim-brown-patch-1" raised for racket/web-server.
Regards,
Tim
(*) in pkgs/web-server-lib/web-server/http/digest-auth.rkt l.11
--
Tim Brown CEng MBCS
City Computing Limited · www.
I wonder if base64-encode should rather be patched with a #:last-newline?
(Default #t) argument.
Tim
On 7 May 2015 17:37:18 BST, Tim Brown wrote:
>Folks,
>
>I've just tried to use web-server/http-digest-auth, and
>it seems that make-digest-auth-header generates an invalid hea
Jay,
I agree with Greg, too. For me, that involves abandoning my patch, and
a whole load of git admin the sum of which effort is greater than you
just doing it. So, please do and reject my pull request (if you can).
Regards,
Tim
On 08/05/15 11:20, Jay McCarthy wrote:
I agree with Greg, that
ave applied those changes (temporarily) to my install?
Should I have used raco?
Some fancy gittery?
Regards,
Tim
-- Tim Brown CEng MBCS
City Computing Limited · www.cityc.co.uk
City House · Sutton Park R
ept the annotation of the return
from shuffler-composer.
What am I missing?
Do I not understand something?
Am I not hinting TR quite well enough?
Is there a bug in TR stopping me?
Is this a fundamental limitation of TR's type system?
Please could someone help.
Thanks.
Tim
---
This email has
Thanks Sam,
I swear I came *so* close to that!
I'll take a good hard look over the TR Guide; I'm sure it'll make sense.
Tim
On 18/05/15 17:16, Sam Tobin-Hochstadt wrote:
Typed Racket doesn't bring the type variable `A` into scope on the
right-hand side of the `define`
but the issue first caused me concern on
Linux x86-64.
Can anyone help?
Tim Brown
--
You received this message because you are subscribed to the Google Groups
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to ra
;t the end of it... *it* requires parser tools, network
libraries and all sorts; which make it even less economical to
include.
Regards,
Tim
--
Tim Brown CEng MBCS
City Computing Limited · www.cityc.co.uk
Thank you Matt. I'm glad that, for once, it wasn't the result of my failure to
set something up!
Regards,
Tim
(Apologies for whatever format this message comes in... I'm using the google
mobile groups app)
--
You received this message because you are subscribed to the Google
Thank you Matt. I'm glad that, for once, it wasn't the result of my failure to
set something up!
Regards,
Tim
(Apologies for whatever format this message comes in... I'm using the google
mobile groups app)
--
You received this message because you are subscribed to the Google
Thank you Matt. I'm glad that, for once, it wasn't the result of my failure to
set something up!
Regards,
Tim
(Apologies for whatever format this message comes in... I'm using the google
mobile groups app)
--
You received this message because you are subscribed to the Google
there is a `scribble/lp2' language
Is it now possible to write test cases in a `test' sub-module of a
literate program for testing with `raco test'?
Tim
--
Tim Brown CEng MBCS
City Computing
rest
of my plt/racket fork -- so I need to identify a conflict in my branch
changes)
· Do I reimplement the changes (not a problem except a new PR would lose
the old PR's comments which I'm not sure is a good thing)
· Can someone take it over? (That would be me inflicting work o
t and test2 complain about:
x: unbound identifier in module in: x
What is the correct pattern for writing unit tests in scribble/lp
modules (basically so I can "raco test" all my .rkt files)?
· Am I just /missing something/ as per usual?
· Should I use the first st
member how no one likes a dirty
fork, so we’re diligently using git pull --ff-only upstream
master?
That's been well drilled into my (mostly by Greg's doc). Which is why
I'm asking before doing anything!
Tim
--
Tim Brown CEng MBCS
Is there something wrong with this question? This issue has been bugging
me for a while :-/
Tim
On Thursday, July 2, 2015 at 12:24:00 PM UTC+1, Tim Brown wrote:
> I have the following scribble module (in /tmp/tim.rkt)
>
> #lang scribble/lp
> @(chunk
><*>
assume due to
being inside a transaction or lock -- but I cannot find a handle to
anything syncable.
Any help would be appreciated.
[1] Ironically: if this query is included, NH is called, because the
notifcation is posted before the query returns.
Marc,
Thanks. I’ll look at that.
Tim
On 14/07/15 15:46, Marc Burns wrote:
Hi Tim,
I wanted the same thing a few months ago. I couldn’t find a nice way to
modify `db', so I wrote a small C library that links with libpq and some
FFI bindings. This was probably not the right thing to do.
I've just noticed that Ryan Culpepper pushed:
https://github.com/racket/db/commit/e6b28703c5f04084565deb2aee34691ccc9b35fa
to the database library; titled:
“add async-message-evt method to postgresql connections”
Thanks Ryan.
Tim
On Tuesday, July 14, 2015 at 3:21:16 PM UTC+1, Tim Brown
ith my
failed attempt at adding a side-channel.
Eventually I’d like to broadcast to this place -- but that’s for a later
day.
Thanks,
Tim
;; -
#lang racket/base
(require racket/place/distributed
racket/place
On 06/08/15 11:29, Tim Brown wrote:
> (define node (create-place-node "localhost" #:listen-port 6344))
> ;; [!] this prints out (to stdout) "(6344)"
As a minor side issue, create-place-node prints what looks like a
list of the listen port number to standard out. (Or
Thanks, Matthew.
Tim
On 8 August 2015 15:13:01 BST, Matthew Flatt wrote:
>I fixed the minor issue, but I haven't been able to figure out how
>`send-new-place-channel-to-named-dest` is meant to work, either. (I'll
>try again to contact Kevin.)
>
>At Thu, 6 Aug 2015
Folks,
The “PLT Scheme” website, as was, had a set of preview pictures along
the left hand side which scrolled in a “fish-eyed” kind of way (you
either know what I’m talking about or not).
Is the source of this (or anything similar) available anywhere for me
to “learn” from?
Regards,
Tim
; but please could someone look at
this PR and let me know whether there is anything wrong with it,
anything I can do, or any other feedback.
Again apologies for the impatience; but, in my experience, occasionally
things need a nudge :-)
Tim
https://github.com/plt/racket/pull/948
--
Tim Brown
Thank you Vincent.
Tim
On 12/08/15 15:19, Vincent St-Amour wrote:
> Hi Tim,
>
> It looks like your PR accidentally fell through the cracks. Sorry about
> that.
>
> I'll have a look at it today.
>
> Thanks again for your contributions!
>
>
On 12/08/15 17:20, Vincent St-Amour wrote:
> Pull request merged.
Super!
> Thanks again for your contributions, and sorry again for the delay.
They're nothing compared to what you guys are doing all the time. :-)
Tim
--
Tim Brow
Thanks Eli.
On 13/08/15 18:30, Eli Barzilay wrote:
> On Mon, Aug 10, 2015 at 5:35 AM, Tim Brown wrote:
>> Folks,
>>
>> The “PLT Scheme” website, as was, had a set of preview pictures along
>> the left hand side which scrolled in a “fish-eyed” kind of way (you
>
; are all considered reachable, instead of unreachable.
And I don’t see how a call to (place-channel) can put it in a state as
described above.
Verision info:
racket-6.2.1 (3m)
$ uname -a
Linux tim-8 3.2.0-4-amd64 #1 SMP Debian 3.2.68-1+deb7u1 x86_64 GNU/Linux
(debug version built with)
$ ../src
On 17/08/15 15:02, Tim Brown wrote:
> I am observing a memory leak with place-channels. I have long-lived (or
> very busy server “places” ) which I think are exhausting VM memory and
> causing spectacular failures -- core dumps, spins and other fun I came
> to Racket to avoid. Please c
On 17/08/15 15:15, Tim Brown wrote:
> To explain my need of insane numbers of places, I [...]
I mean place-channels, the population of places is fixed.
--
Tim Brown CEng MBCS
City Computing Limi
falling off its radar.
Could you see if your favourite system memory monitor shows any growth?
Thanks,
Tim
On 17/08/15 15:45, Sam Tobin-Hochstadt wrote:
> Hi Tim,
>
> I just tried this out on HEAD, and I don't see the leak you mention.
> Here's some representative outpu
That's why we all rely on the GC; because the alternative is just too
horrible to contemplate :-O . And send brave souls like you to face the
horrors. Thanks for volunteering.
> I've pushed a repair as commit 641c56b6e9. I expect tha
racket/match
racket/sandbox
db)
(provide server-place)
(define (server-place pl)
(define pgc (postgresql-connect #:database "my_db"
#:user "tim"
#:password "letmein"))
(define bcast
Has anyone had the chance to look at, or been able to reproduce this?
Tim
--
You received this message because you are subscribed to the Google Groups
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to racket-user
k at the moment, but I'll definitely check out the fix
on my return.
Tim
On Saturday, August 29, 2015 at 12:06:31 AM UTC+1, Matthew Flatt wrote:
> I don't think my guess was right. Happily, my accounting-related test
> is like yours in that it passes place channels over place channe
I see that memory accounting in the GC has a
> problem with places, and I can provoke a crash by targeting that
> problem directly.
Out of interest - is there much overhead in having memory accounting
active in the GC?
I can’t avoid it, since I’ll be using sandboxes...
but is there any
ing->url "http://www.bbc.co.uk/";
#:break (string=? p ""))
p)
3. Poking around url.rkt, I notice that `http-conn-impure-port' makes
a pipe with a limit of 4096 bytes. http-client.rkt, which is directly
required by url.rkt, defines (b
third party with no
back up in the racket community-space). If Racketbin exists, a. I would like to
know about it, and b. It might be somewhere to start with the RC capture.
If it doesn't exist, I'll consider more seruously plotting my own.
Tim
--
You received this message because you
fiably me that can do that. [Others might be more professional about
life and want to properly version control their snippets]; I think this goes
a against the spirit on anonymity of a “paste bin”
Tim
--
You received this message because you are subscribed to the Google Groups
"Racket Users
.rkt") .
"lifted.3") ((quote program) . "lifted.376") ((quote program) .
"lifted.367") ((quote program) . "lifted.33")) 2 ((0 (h - ())) (1 (? .
0) ())) () (1 (? . 0) (c (v! (2 (? . 1)) #f #f) c (v! (3 tim (? . 1)) #f
#f) c (v! (4 (? . 1)) #f #f
dynamic-req
please excuse the hyper precision).
Thanks,
Tim Brown
--
(define (find-sandbox-min-memory lower upper rv iterations)
(cond
[(zero? iterations) rv]
[else
(define trial (* (+ lower upper) 0.5))
(printf "attem
1 - 100 of 337 matches
Mail list logo