[racket] distributed place messages: write isn't atomic

2015-03-20 Thread Tim Brown
)) Should that first flush-output be on p? Thanks, in advance, for your help with this. Regards, Tim -- Tim Brown CEng MBCS tim.br...@cityc.co.uk City Computing Limited · www.cityc.co.uk City House

Re: [racket] distributed place messages: write isn't atomic

2015-03-20 Thread Tim Brown
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

[racket] bytes, bit-vectors and sieving numbers

2014-05-01 Thread Tim Brown
of it is here: https://gist.github.com/tim-brown/87b05c16f41aa86a1421 Am I missing something fundamental here? Can I (require data/bit-vector) in a different way or something like that? Am I better off hand-rolling this? I would like to use bit-vectors for things like cellular automata

[racket] reading and writing sets

2014-05-01 Thread Tim Brown
) is, at the very least, inconvenient. Tim -- Tim Brown tim.br...@cityc.co.uk | City Computing Limited| T: +44 20 8770 2110| City House, Sutton Park Road | F: +44 20 8770 2130| Sutton, Surrey, SM1 2AE, GB

Re: [racket] bytes, bit-vectors and sieving numbers

2014-05-01 Thread Tim Brown
the vector (of bits or bytes); and I would guess it requires O(N²) reads. The performance for a simple PRIME sieve (which doesn't do that much reading, -- O(N), vs. O(N²)) is illustrated with: https://gist.github.com/tim-brown/789239fa40c734d512e4 cpu time: 1429 real time: 1431 gc time: 0 cpu time: 24 real

[racket] typed/racket: type of sequence-filter

2014-04-11 Thread Tim Brown
FYI: Welcome to DrRacket, version 6.0 [3m]. -- Tim Brown tim.br...@cityc.co.uk | City Computing Limited| T: +44 20 8770 2110| City House, Sutton Park Road | F: +44 20 8770 2130| Sutton, Surrey, SM1 2AE, GB

Re: [racket] Where to learn advanced programming skills?

2013-07-26 Thread Tim Brown
you get to problem #100, your head will hurt (but in a fun kind of way) :-) It's well worth checking out the math/number-theory module; there is a *lot* of cool stuff in there. Only big omission I have found for PE is that there is no way to prepare a cache of primes. Regards, -joe Tim -- Tim

Re: [racket] Using future and touch

2013-07-25 Thread Tim Brown
style (I see plenty of scope for inner defines and matches and the likes); but it works for me. I've just committed a tested, but poorly documented version to GitHub: https://github.com/tim-brown/place-farm YMMV (a lot). Tim PS Please could you try to obfuscate your PE solutions if you post them

[racket] Error summary in `raco setup` makes me think it's broken

2013-07-25 Thread Tim Brown
. Something along the lines of: ... raco setup: post-installing: racket/gui raco setup: raco setup: ERROR SUMMARY: raco setup: error: during making for contract-profile ... It'll stop me (at least) from thinking that it has all gone horribly wrong. Tim -- Tim Brown tim.br...@cityc.co.uk | City

[racket] Rosetta Code: 700 tasks implemented

2013-07-11 Thread Tim Brown
700 Tasks have now been implemented on Rosetta Code. Remaining at #2, and pulling away from Python. Now only 46 behind TCL! Good going folks, Tim https://plus.google.com/104522910766067522260/posts/fTxSDnoQDQM -- Tim Brown tim.br...@cityc.co.uk | City Computing Limited| T: +44 20

Re: [racket] Question about sandbox.rktl failing its unit test

2013-07-04 Thread Tim Brown
sandboxes don't play nice with symlinks on purpose. Apache HTTPD, for example, looks upon them with deep suspicion. Is there any merit to this kind of paranoia when it comes to racket? Tim -- Tim Brown tim.br...@cityc.co.uk | City Computing Limited| T: +44 20 8770 2110

[racket] Rosetta Code Silver Spot

2013-06-12 Thread Tim Brown
According to: http://www.timb.net/popular-languages.html: Racket has now taken the second slot in the most popular languages on Rosetta Code (http://rosettacode.org). Well done contributors. Yay! Tim -- Tim Brown tim.br...@cityc.co.uk | City Computing Limited| T: +44 20 8770 2110

Re: [racket] Adding new Rosetta tasks

2013-06-12 Thread Tim Brown
totally lazy!) while still in draft. -- Dan -- Tim Brown tim.br...@cityc.co.uk | City Computing Limited| T: +44 20 8770 2110| City House, Sutton Park Road | F: +44 20 8770 2130| Sutton, Surrey, SM1 2AE, GB

Re: [racket] (floor (/ ....))

2013-06-11 Thread Tim Brown
://lists.racket-lang.org/users -- | Tim Brown tim.br...@timb.net | M:+44(0)7771714159 | H:+44(0)1372747875 | Racket Users list: http://lists.racket-lang.org/users

Re: [racket] Size matters

2013-06-10 Thread Tim Brown
Eli, Matthias, thanks to both of you for your comments on this code (for whose creation I am responsible / to blame). I hope I'm not too out of order addressing your responses together in this one email. I thought I was doing pretty well when I changed the original style to struct item from a

Re: [racket] Size matters

2013-06-10 Thread Tim Brown
On 09/06/13 18:54, Matthias Felleisen wrote: (define item (first items)) (define weight (item-weight item)) (define volume (item-volume item)) (define value (item-value item)) Now I understand that the three lines of extracting the content of the first struct are

Re: [racket] Size matters

2013-06-10 Thread Tim Brown
On 10/06/13 14:08, Matthias Felleisen wrote: Thanks for the reply. On Jun 10, 2013, at 8:20 AM, Tim Brown wrote: Am I missing a trick? Why not struct-copy: Why not? Because I couldn't see it in the documentation for looking! Seriously, it's really useful having that pointed out. Thanks

Re: [racket] Rosetta Sokoban Solution

2013-06-10 Thread Tim Brown
On 10 Jun 2013 19:03, Asumu Takikawa as...@ccs.neu.edu wrote: I wonder if that's not at least partly due to syntax coloring. I'm still on their case! Cheers, Asumu Tim Racket Users list: http://lists.racket-lang.org/users

[racket] Rosetta Code Status

2013-06-06 Thread Tim Brown
promotion, may I suggest that you follow this G+ thread: https://plus.google.com/104522910766067522260/posts/LMMssYHAVpx Tim -- | Tim Brown tim.br...@timb.net | M:+44(0)7771714159 | H:+44(0)1372747875 | Racket Users list: http://lists.racket-lang.org/users

[racket] Intro Project: Racket support in MediaWiki's GeSHi highligher

2013-05-14 Thread Tim Brown
Projects Wiki page to this effect; I hope nobody objects. FYI racket.php can be found at https://github.com/tim-brown/geshi-racket/blob/master/racket.php and you can put it into your GeSHi syntaxes directory if you want to use/ test it. Tim -- Tim Brown tim.br...@cityc.co.uk | City Computing Limited

Re: [racket] 5.3.4 on windows .. minor gripe

2013-05-09 Thread Tim Brown
Barzilay e...@barzilay.org wrote: 40 minutes ago, Tim Brown wrote: I've just installed 5.3.4 for windows 64 bit. I've ended up with a GRacket icon in my start menu, whereas I'd rather expect a DrRacket. I think that Windows 7 uses some obscure guess about programs that it shows you

[racket] 5.3.4 on windows .. minor gripe

2013-05-08 Thread Tim Brown
Folks, I've just installed 5.3.4 for windows 64 bit. I've ended up with a GRacket icon in my start menu, whereas I'd rather expect a DrRacket. DrRacket is installed and running lovely from the Programs menu. But it's at least one (if not two) more clicks away! Tim -- | Tim Brown tim.br

Re: [racket] DRRacket right-click menu fragility in Linux.

2013-05-02 Thread Tim Brown
Back on the subject of right menu fragility... I ran a drracket up in an Xnest server. No window manager nor desktop environment. Fragility still there. The more exciting stuff I did (selection, allowing arrows to appear with their respective n bindings popups) the more fragile. But still

Re: [racket] Why is this slow?

2013-04-25 Thread Tim Brown
On 24 Apr 2013 10:42, Shannon Severance s...@s53.me wrote: (define sqrt-n (inexact-exact (ceiling(sqrt n Racket has integer-sqrt, which saves you defining sqrt-n every time. Also worth noting is sqr, which covers the occasions you want (* x x) or (expt x 2) Customer testimonial: I

Re: [racket] Unable to use Racket for CGI...

2013-04-19 Thread Tim Brown
Neil wrote, then my stupid phone over-edited: By the way, Racket has been used very successfully in Web CGI and SCGI for a decade. Not according to wikipedia it doesn't! ;-) I just looked (which is about all this device is any good for). And racket is neither a language with an SCGI API nor a

Re: [racket] DRRacket right-click menu fragility in Linux.

2013-04-18 Thread Tim Brown
As an aside, I changed from GNOME to KDE as my Desktop Environment -- I seem to have better luck* with the right menus on the latter. Don't know if handles menu/transient windows differently. * where luck is measure of apparent stability of the right menus. Although it doesn't seem to work any

[racket] Cross compile to PowerPC

2013-04-16 Thread Tim Brown
Folks, I've just uploaded an (AFICT) working script to build racket on for PowerPC. https://github.com/tim-brown/racket-powerpc-cross I have racket running on a small embedded P1021 device. From a 300MB NFS installation! It runs small scripts, and has proven a neat little (ahem!) tool. I have

[racket] Racket Syntax Highlighting for GeSHi

2013-03-31 Thread Tim Brown
Folks, I've just committed a first release of a GeSHi plugin for racket. I believe that I can get it merged into GeSHi via the Rosetta Code folks; it'll be nice to have racket highlighting in Media Wiki (especially after Asumu's call to arms with R.C.)! https://github.com/tim-brown/geshi

Re: [racket] reader.html: documentation for complex number reading

2013-03-29 Thread Tim Brown
On 29/03/2013 03:03, Matthew Flatt wrote: Let's fix the docs. My current attempt is The grammar in the docs may not be wrong. I re-read it, in conjunction with the preamble on Reading Numbers. Although, strictly, it is correct and covers all cases, it is (IMHO) quite hard to read. I wonder

Re: [racket] reader.html: documentation for complex number reading

2013-03-29 Thread Tim Brown
Matthew, On 29 Mar 2013 03:03, Matthew Flatt mfl...@cs.utah.edu wrote: FWIW, there are number-parsing regexp constructions in collects/r6rs/private/readtable.rkt (see `rx:number') [...] The first, as the path suggests, is R6RS instead of Racket. I've just looked at the R6RS regexps.

[racket] reader.html: documentation for complex number reading

2013-03-26 Thread Tim Brown
can use, I'd be interested. Or I could stick with [0-9]+ Tim Brown The regex... should work with everything but: 2+3i #b)(#e)|(#i)))-)|(\+)))?)((([0-9]+)(\\/)([0-9]+)(((-)|(\+)))((([0-9]+)(\\/)([0-9]+)))(i)))|((-)|(\+)))?)((([0-9]+)(\\/)([0-9]+)|((-)|(\+)))?)([0

Re: [racket] Rosetta Code

2013-02-25 Thread Tim Brown
to see if there's a more Rackety way of doing it. Tim Brown Racket Users list: http://lists.racket-lang.org/users

[racket] Kudos: match and performance

2013-02-24 Thread Tim Brown
-- | Tim Brown tim.br...@timb.net | Racket Users list: http://lists.racket-lang.org/users

Re: [racket] Rosetta Code

2013-02-20 Thread Tim Brown
for the Right Thing, namely that Racket is a separate language. On Mon, Feb 18, 2013 at 4:27 PM, Asumu Takikawa as...@ccs.neu.edu mailto:as...@ccs.neu.edu wrote: On 2013-02-18 12:47:21 +, Tim Brown wrote: I've just had a poke around and seen that Racket is considered

[racket] The Racket Reference PDF first page ugliness

2013-02-20 Thread Tim Brown
when building the LaTeX? (I _do_ see how a footnote wouldn't be a appropriate for HTML rendering). Tim -- Tim Brown tim.br...@cityc.co.uk | City Computing Limited| T: +44 20 8770 2110| City House, Sutton Park Road | F: +44 20 8770 2130| Sutton

[racket] Rosetta Code

2013-02-18 Thread Tim Brown
I noticed on the intro project list for racket is a task to provide some rosetta code examples. https://github.com/plt/racket/wiki/Intro-Projects I've just had a poke around and seen that Racket is considered a dialect of scheme, and there are many tasks that have the scheme entry marked as

Re: [racket] Dynamic Require of Syntax

2013-02-01 Thread Tim Brown
On 01/02/13 13:13, Matthias Felleisen wrote: Actually what does it mean to access syntactic extensions at run-time? Just a thought, but is there a case for pulling the syntaxes into a run-time test suite (raco test, or even the GUI tester?) and testing them there... e.g. do they transform a

Re: [racket] Dynamic Require of Syntax

2013-02-01 Thread Tim Brown
On 01/02/13 14:39, Tim Brown wrote: (define/test (add-four a) (check-= (add-four 2) 6 0) (+ 4 a)) This won't compile; I can't get off the starting line. However, it *does* go all golden-background in DrRacket, which explains to me that there's a syntax error (and DrRacket doesn't blow up

Re: [racket] Dynamic Require of Syntax

2013-02-01 Thread Tim Brown
Ryan, Thanks for the pointers. On 01/02/13 15:44, Ryan Culpepper wrote: On 02/01/2013 09:39 AM, Tim Brown wrote: I have an outstanding question about unit-testing syntactic extensions from a couple of weeks ago. What do the heavier users of syntaxes use to unit test their macros? Either

[racket] Test Post

2013-01-30 Thread Tim Brown
I don't seem to be able to post to this list. This mail is to test this address. Sorry for the inconvenience. Tim Racket Users list: http://lists.racket-lang.org/users

Re: [racket] How to invoke a blocking foreign function without blocking whole racket?

2013-01-30 Thread Tim Brown
Resend... original (and previous resend!) sent from an address not valid for the list. -- Forwarded message -- From: Tim Brown tim.br...@timb.net Date: 30 January 2013 10:01 Subject: Re: [racket] How to invoke a blocking foreign function without blocking whole racket? To: Haiwei

Re: [racket] How to invoke a blocking foreign function without blocking whole racket?

2013-01-30 Thread Tim Brown
There are internal FFI calls: scheme_make_fd_input_port and scheme_make_fd_output_port, documented in http://docs.racket-lang.org/inside/Ports_and_the_Filesystem.html?q=to%20port#(idx._(gentag._480._(lib._scribblings/inside/inside..scrbl))) If you would normally be able to poll (or select) from

[racket] scribble/lp and module+

2013-01-29 Thread Tim Brown
of programs: When running the program, all of the chunk expressions are collected and stitched together into a program What is the situation here? Regards, Tim -- Tim Brown tim.br...@cityc.co.uk | City Computing Limited| T: +44 20 8770 2110| City House, Sutton Park

Re: [racket] Standard references in the docs

2013-01-27 Thread Tim Brown
On 26 Jan 2013 15:44, Matthias Felleisen matth...@ccs.neu.edu wrote: We don't quite understand what exactly you mean. We believe you have a related work section in mind. Perhaps it would be best to mock up a few pages from the documentation so that we can see what exactly you have in mind.

Re: [racket] CAM

2013-01-25 Thread Tim Brown
there are certain spacial problems that are more appropriately solved using Prolog. It might be worth raising a question over there, too. [Nobody's done anything with datalog have they?] Tim -- Tim Brown tim.br...@cityc.co.uk | City Computing Limited| T: +44 20 8770 2110

Re: [racket] define-match-expander and embedded racket

2013-01-25 Thread Tim Brown
. Tim -- Tim Brown tim.br...@cityc.co.uk | City Computing Limited| T: +44 20 8770 2110| City House, Sutton Park Road | F: +44 20 8770 2130| Sutton, Surrey, SM1 2AE, GB

Re: [racket] define-match-expander and embedded racket

2013-01-25 Thread Tim Brown
using that, but to no avail. Tim On 25/01/13 17:13, Tim Brown wrote: On 25/01/13 17:04, Matthew Flatt wrote: I wasn't able to replicate the error that you get, but I notice that your C code doesn't cooperate with the GC. I'm following the recipe in 1.5.1 CGC Embedding in http://docs.racket

Re: [racket] define-match-expander and embedded racket

2013-01-25 Thread Tim Brown
On 25 Jan 2013 18:27, Matthew Flatt mfl...@cs.utah.edu wrote: So, I think the bug was the same one that shows up with `raco exe' and `match' in v5.3.1, and that bug has been fixed for the upcoming release. Hurrah for just too late big reporting! As an aside, would you expect 'raco --cgc' to

[racket] define-match-expander and embedded racket

2013-01-23 Thread Tim Brown
/iatm-MQ/wm_mq_iatm8/src/test-match-expander/main.rkt:23:15 4) scheme_namespace_require test-match-expander main: 42 That covers my 2^2 test cases! Am I doing anything fundmentally dim here? Tim Brown Environments: LINUX: $ racketcgc Welcome to Racket v5.3.1 [cgc]. (system-library-subpath

Re: [racket] variables within macros

2013-01-21 Thread Tim Brown
On 20/01/13 22:26, Matthias Felleisen wrote: On Jan 20, 2013, at 6:35 AM, Tim Brown wrote: On Jan 18, 2013, at 12:36 PM, Tim Brown wrote: A concrete example is that I am trying to write a #lang language. Honestly, I would never ever try to write a #lang first. That's more than most people

Re: [racket] variables within macros

2013-01-21 Thread Tim Brown
. But, if this sounds properly useful to anyone (I'm not sure if racket needs *more* choice in testing/contracting/typing environments), giz a shout. Tim -- Tim Brown tim.br...@cityc.co.uk | City Computing Limited| T: +44 20 8770 2110| City House, Sutton Park Road | F: +44 20

Re: [racket] variables within macros

2013-01-20 Thread Tim Brown
, but I won't [because they don't, really]. Anyway, I say luck rather than judgement, since I used no recipe for development and testing rather than write code, scream when it doesn't work. So I am most grateful for this framework. On 19/01/2013 19:01, Tim Brown wrote: Excuse me everyone, I'm

Re: [racket] variables within macros

2013-01-20 Thread Tim Brown
On 01/19/2013 06:31 PM, Matthias Felleisen wrote: [quoting depth out by one] On Jan 18, 2013, at 12:36 PM, Tim Brown wrote: Here is one way to justify this answer. You really may wish to make define/test orthogonal to which testing framework you use: -- rackunit -- test engine -- the Eli

Re: [racket] variables within macros

2013-01-19 Thread Tim Brown
how to do better with this aspect of Racket, which is by far its most innovative part and unrivaled in the world of PLs. On Jan 18, 2013, at 12:36 PM, Tim Brown wrote: On 18/01/13 15:54, Matthias Felleisen wrote: Is there a single stumbling block or do you feel overwhelmed by the broad API

Re: [racket] variables within macros

2013-01-18 Thread Tim Brown
*so reasonable*... but everything anyone writes about macros sounds *so reasonable*. Until I put the page down! I feel like one of those Zen disciples who just doesn't get it. But quite often they do. After a while. So I'm keeping up hope. Tim -- Tim Brown tim.br...@cityc.co.uk | City Computing

[racket] variables within macros

2013-01-16 Thread Tim Brown
' Which returns me 0 -- Tim Brown tim.br...@cityc.co.uk | City Computing Limited| T: +44 20 8770 2110| City House, Sutton Park Road | F: +44 20 8770 2130| Sutton, Surrey, SM1 2AE, GB

[racket] Don't New Line in scribble/text

2012-11-26 Thread Tim Brown
? I don't really want to be doing things like: --- blah blah blah @(define f woo )@f @f @f --- Tim [tim-brown on #racket, if you want to poke me there] -- Tim Brown tim.br...@cityc.co.uk | City Computing Limited| T: +44 20 8770 2110

[racket] powerpc: Book E JIT instructions

2012-11-06 Thread Tim Brown
. If you've any pointers, I'd be grateful. Tim -- Tim Brown tim.br...@cityc.co.uk | City Computing Limited| T: +44 20 8770 2110| City House, Sutton Park Road | F: +44 20 8770 2130| Sutton, Surrey, SM1 2AE, GB

Re: [racket] Find nth term of a List

2012-09-27 Thread Tim Brown
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 tim.br...@cityc.co.uk | City Computing Limited| T

Re: [racket] How fast is zero? was: Find nth term of a List

2012-09-27 Thread Tim Brown
irrelevant for this question. Correct is what really matters. On Sep 27, 2012, at 11:45 AM, Tim Brown wrote: 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

[racket] range of the guage% control

2012-09-26 Thread Tim Brown
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 tim.br...@cityc.co.uk | City Computing Limited| T: +44 20 8770 2110| City House, Sutton Park Road

[racket] Project Euler now has a Racket language

2012-08-17 Thread Tim Brown
and paper than user racket. Let's change that. Tim -- Tim Brown tim.br...@cityc.co.uk | City Computing Limited| T: +44 20 8770 2110| City House, Sutton Park Road | F: +44 20 8770 2130| Sutton, Surrey, SM1 2AE, GB

[racket] interaction between in-cycle and in-value

2012-08-03 Thread Tim Brown
of (in-cycle)? Or should (in-value) be documented as cannot be initiated afresh? Regards. Tim -- Tim Brown tim.br...@cityc.co.uk | City Computing Limited| T: +44 20 8770 2110| City House, Sutton Park Road | F: +44 20 8770 2130| Sutton, Surrey, SM1 2AE

Re: [racket] FFI/3m and Boehm GC compatibility

2012-07-17 Thread Tim Brown
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? Probably `register

[racket] FFI/3m and Boehm GC compatibility

2012-07-16 Thread Tim Brown
this reference kept visible? Regards, Tim -- Tim Brown tim.br...@cityc.co.uk | City Computing Limited| T: +44 20 8770 2110| City House, Sutton Park Road | F: +44 20 8770 2130| Sutton, Surrey, SM1 2AE, GB

Re: [racket] FFI/3m and Boehm GC compatibility

2012-07-16 Thread Tim Brown
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? Regards, Tim -- Tim Brown tim.br...@cityc.co.uk | City Computing Limited| T

Re: [racket] Racket Social/Support Groups in London

2012-06-14 Thread Tim Brown
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 hygiene of their macros (or maybe hygiene at all). Tim -- Tim Brown tim.br

[racket] Racket Social/Support Groups in London

2012-06-11 Thread Tim Brown
Folks, Are there any racket (or scheme) social groups in London, Surrey or the South East of England? Tim -- Tim Brown tim.br...@cityc.co.uk | City Computing Limited| T: +44 20 8770 2110| City House, Sutton Park Road | F: +44 20 8770 2130

Re: [racket] SunOS-5.10-amd64: Issue with lseek64 etc. functions in xform'ed source

2012-05-31 Thread Tim Brown
it be handled though? Tim -- Tim Brown tim.br...@cityc.co.uk | City Computing Limited| T: +44 20 8770 2110| City House, Sutton Park Road | F: +44 20 8770 2130| Sutton, Surrey, SM1 2AE, GB

Re: [racket] SunOS-5.10-amd64: Issue with lseek64 etc. functions in xform'ed source

2012-05-31 Thread Tim Brown
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 tim.br...@cityc.co.uk | City Computing Limited

Re: [racket] SunOS-5.10-amd64: Issue with lseek64 etc. functions in xform'ed source

2012-05-31 Thread Tim Brown
of the CGC's isn't it)? -- Tim Brown tim.br...@cityc.co.uk | City Computing Limited| T: +44 20 8770 2110| City House, Sutton Park Road | F: +44 20 8770 2130| Sutton, Surrey, SM1 2AE, GB

Re: [racket] SunOS-5.10-amd64: Issue with lseek64 etc. functions in xform'ed source

2012-05-31 Thread Tim Brown
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 tim.br...@cityc.co.uk | City Computing Limited| T: +44 20 8770 2110

Re: [racket] SunOS-5.10-amd64: Issue with lseek64 etc. functions in xform'ed source

2012-05-31 Thread Tim Brown
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 available? -- Tim Brown

Re: [racket] Racket style question

2012-03-22 Thread Tim Brown
condition and then arbitrary forms -- but I didn't really want to see: #:when (when ( ...) print flush) It's just odd. Hope that hasn't exposed you too much to the darker corners of my thinking, but you did ask! Tim -- Tim Brown tim.br...@cityc.co.uk | City Computing Limited| T: +44 20

Re: [racket] Racket style question

2012-03-21 Thread Tim Brown
)) (and (right-triangle? a b c) (list a b c -- Tim Brown tim.br...@cityc.co.uk | City Computing Limited| T: +44 20 8770 2110| City House, Sutton Park Road | F: +44 20 8770 2130| Sutton, Surrey, SM1 2AE, GB

[racket] Problem with places and sync/timeout

2012-03-13 Thread Tim Brown
? (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=value optimized out, fds

Re: [racket] 'C' module extension, expected `xxx'

2012-01-12 Thread Tim Brown
(). -- Tim Brown tim.br...@cityc.co.uk | City Computing Limited| T: +44 20 8770 2110| City House, Sutton Park Road | F: +44 20 8770 2130| Sutton, Surrey, SM1 2AE, GB | ---| BEAUTY

Re: [racket] 'C' module extension, expected `xxx'

2012-01-12 Thread Tim Brown
-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 tim.br...@cityc.co.uk | City Computing Limited| T: +44 20 8770 2110| City House, Sutton Park Road | F: +44 20 8770

[racket] 'C' module extension, expected `xxx'

2012-01-11 Thread Tim Brown
/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 tim.br...@cityc.co.uk | City Computing Limited| T: +44 20 8770 2110| City House, Sutton

Re: [racket] USE_SINGLE_FLOATS_AS_DEFAULT stops racket-5.1.1 build on Solaris x86

2011-05-24 Thread Tim Brown
' is defined as a type by some header and xform.rkt can't deal with the collision. -- Tim Brown tim.br...@cityc.co.uk | City Computing Limited| T: +44 20 8770 2110| City House, Sutton Park Road | F: +44 20 8770 2130| Sutton, Surrey, SM1 2AE, GB

Re: [racket] flock() stops racket-5.1.1 build on Solaris x86

2011-05-24 Thread Tim Brown
On 24/05/11 03:28, Matthew Flatt wrote: At Mon, 23 May 2011 12:52:12 +0100, Tim Brown wrote: Solaris seems to take quite a dim view of flock(); from man flock(): That's nothing compared to the dim view of F_SETLK in the BSD world. Ooh... this sounds like it could get religious! From

[racket] flock() stops racket-5.1.1 build on Solaris x86

2011-05-23 Thread Tim Brown
solution, then that would be appreciated. Reagrds, Tim -- Tim Brown tim.br...@cityc.co.uk | City Computing Limited| T: +44 20 8770 2110| City House, Sutton Park Road | F: +44 20 8770 2130| Sutton, Surrey, SM1 2AE, GB

[racket] USE_SINGLE_FLOATS_AS_DEFAULT stops racket-5.1.1 build on Solaris x86

2011-05-23 Thread Tim Brown
-- only building on this a.t.m. configure: ../configure --srcdir=.. --prefix=/usr/local CC=gcc CXX=g++ (I'm using a target-specific build directory) gcc: gcc (GCC) 3.4.3 (csl-sol210-3_4-branch+sol_rpath) Regards, Tim -- Tim Brown tim.br...@cityc.co.uk | City Computing Limited

Re: [racket] USE_SINGLE_FLOATS_AS_DEFAULT stops racket-5.1.1 build on Solaris x86

2011-05-23 Thread Tim Brown
On 23/05/11 13:04, Tim Brown wrote: racket: racket-5.1.1-src-unix.tgz -- only building on this a.t.m. Checked... seems not to be a problem on 5.1. Tim -- Tim Brown tim.br...@cityc.co.uk | City Computing Limited| T: +44 20 8770 2110| City House, Sutton Park Road

[racket] Literate programming: help with @chunks

2011-05-20 Thread Tim Brown
something horribly wrong (again). Regards, Tim -- Tim Brown tim.br...@cityc.co.uk | City Computing Limited| T: +44 20 8770 2110| City House, Sutton Park Road | F: +44 20 8770 2130| Sutton, Surrey, SM1 2AE, GB

[racket] scribble secref does not render consistently between HTML and PDF

2011-04-04 Thread Tim Brown
): --- 1 First Section 2 Second Section Check out section 1 for more info! 5.1 --- -- Tim Brown tim.br...@cityc.co.uk  | City Computing Limited            | T: +44 20 8770 2110                | City House, Sutton Park

[racket] ssl-listener not an evt?

2010-11-17 Thread Tim Brown
-listener? to be and evt? ? Can you ever put too many question marks in one email? Regards, Tim -- Tim Brown tim.br...@cityc.co.uk | City Computing Limited| T: +44 20 8770 2110| City House, Sutton Park Road | F: +44 20 8770 2130| Sutton, Surrey, SM1

[racket] How to scribble HTML with no-toc

2010-11-03 Thread Tim Brown
be with toc ... Suggestions please. Thanks, Tim -- Tim Brown tim.br...@cityc.co.uk | City Computing Limited| T: +44 20 8770 2110| City House, Sutton Park Road | F: +44 20 8770 2130| Sutton, Surrey, SM1 2AE, GB

Re: [racket] How to scribble HTML with no-toc

2010-11-03 Thread Tim Brown
2010 09:49:02 +, Tim Brown wrote: Hello, I'm trying to 'scribble' a simple HTML document, but without the TOC sidebar. Is there a simple way to make the top level part (i.e. my document have the 'no-toc style)? I really want to be able to have: #lang scribble/doc @(some no-toc magic

[racket] Is there a name for: (lambda (x) (x)) ?

2010-09-23 Thread Tim Brown
) (lambda () 3))) - '(1 2 3) Is there a standard name for the (lambda (x) (x)) in racket? Or do I have to write my own (define (call x) (x))? Tim -- Tim Brown tim.br...@cityc.co.uk | City Computing Limited| T: +44 20 8770 2110| City House, Sutton Park Road | F: +44 20

Re: [racket] Bulding for Solaris 5.10 AMD64

2010-07-21 Thread Tim Brown
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 tim.br...@cityc.co.uk | City Computing Limited| T: +44

Re: [racket] Bulding for Solaris 5.10 AMD64

2010-07-19 Thread Tim Brown
you've 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 tim.br...@cityc.co.uk | City Computing Limited| T: +44 20 8770 2110