If someone pings me after SPLASH, I can probably find some time to update
the tutorial.
On Wed, Oct 16, 2013 at 9:46 PM, Sam Tobin-Hochstadt
wrote:
> I'm happy to help with this. I think it would be better to do it with
> you asking me questions, though -- that will expose more of the real
> is
On Oct 16, 2013, at 6:03 PM, Jay McCarthy wrote:
> I just fixed it.
Thanks!
John
Racket Users list:
http://lists.racket-lang.org/users
I'm happy to help with this. I think it would be better to do it with
you asking me questions, though -- that will expose more of the real
issues than me writing something.
Sam
On Wed, Oct 16, 2013 at 8:56 PM, Greg Hendershott
wrote:
> I'd be happy to help if help is wanted. I don't think I und
I just fixed it.
Jay
On Wed, Oct 16, 2013 at 6:11 PM, John Clements
wrote:
> This feels like a browser compatibility issue, but it happens for me with
> both Safari and Firefix on OS X: I load
>
> pkg.racket-lang.org
>
> and log in. I then see an "upload" link in the upper right corner of the
I'd be happy to help if help is wanted. I don't think I understand it
sufficiently to write this solo. But I could start by "interviewing"
someone who does understand it about the goals and mechanics -- and
flesh that out into a full article or blog post with examples, plus a
few rounds of copy edi
I'm using Travis CI for a number of my projects, to test them against
recent Racket releases.
Sam had a great suggestion: Add 5.90.x to the build matrix. [1]
I could update my .travis.yml to use e.g.
http://www.cs.utah.edu/plt/snapshots/current/installers/racket-5.90.0.9-x86_64-linux-precise.sh
This feels like a browser compatibility issue, but it happens for me with both
Safari and Firefix on OS X: I load
pkg.racket-lang.org
and log in. I then see an "upload" link in the upper right corner of the page.
When I click on it, nothing appears to happen, until I scroll down to the
bottom
On 16 October 2013 23:30, Sam Tobin-Hochstadt wrote:
> You may find this library:
> http://planet.racket-lang.org/display.ss?package=simply-scheme.plt&owner=dyoo
> useful for working with Simply Scheme in DrRacket.
>
> Sam
Sam, thanks.
I put this in the DrRacket definitions area:
(require (plane
On 16 October 2013 23:11, Matthias Felleisen wrote:
>
> 0. Racket is not Scheme and this an example where the difference shows up.
>
> 1. Use the legacy language Pretty Big:
>
> Welcome to DrRacket, version 5.90.0.9--2013-10-15(efaa5bd1/d) [3m].
> Language: Pretty Big.
>> (load "functions.scm")
T
You may find this library:
http://planet.racket-lang.org/display.ss?package=simply-scheme.plt&owner=dyoo
useful for working with Simply Scheme in DrRacket.
Sam
On Wed, Oct 16, 2013 at 6:02 PM, Piscium wrote:
> I am reading the book Simply Scheme that makes use of some Scheme source
> files.
>
>
0. Racket is not Scheme and this an example where the difference shows up.
1. Use the legacy language Pretty Big:
Welcome to DrRacket, version 5.90.0.9--2013-10-15(efaa5bd1/d) [3m].
Language: Pretty Big.
> (load "functions.scm")
>
2. Even then, some functions are simply not defined in "Schem
I am reading the book Simply Scheme that makes use of some Scheme source files.
One such source file is "simply.scm":
ftp://ftp.cs.berkeley.edu/pub/scheme/functions.scm
I put this in the DrRacket definitions area:
#lang racket
(load "/home/myself/develt/scheme/simply.scm")
When I clicked the Run
I've just finished reading your (beautiful!) book and am excitedly looking
forward to what you come up with. Do let us know if you get stuck anywhere.
(And yes: we apparently like all the colors of the rainbow more than you
seem to; hopefully you won't hold that against us :).
Robby
On Fri, Oct
> When you use `(for/list ((line (in-lines in))) ...)` the `in-lines`
> sequence doesn't end until an EOF is available --- but a line can be
> received anyway, as long as newline is found to terminate the line.
Damn, I'm accumulating here! Subtle but I think I get it now! Sensible behavior
but I
At Wed, 16 Oct 2013 13:48:57 -0400, Vlad Kozin wrote:
> Yep, closing the port did the trick. Thanks David and Matthew.
>
> I wonder though if this is practical in a general case. Say, I expect
> more data and want to grab it as it appears. Something like calling
> "tail -10" on a file that's bein
Also if you are primarily interested in getting the output of "system"
calls, you can use "process" or "subprocess" instead to get results back
asynchronously. Remember to close ports as per the documentation.
On 10/16/2013 02:30 PM, Matthew Flatt wrote:
At Wed, 16 Oct 2013 13:48:57 -0400, Vl
Yep, closing the port did the trick. Thanks David and Matthew.
I wonder though if this is practical in a general case. Say, I expect more data
and want to grab it as it appears. Something like calling "tail -10" on a file
that's being updated. I thought flushing the port would do, but it doesn'
You can also simplify the reading in part with port->lines
#lang racket
(define-values (in out) (make-pipe))
(parameterize ([current-output-port out])
(system (format "find . ~a ~a" "-name \"*.c\"" "-print"))
(close-output-port (current-output-port))
(port->lines in))
On Wed, Oct 16, 2013
On 10/16/2013 12:35 PM, Vlad Kozin wrote:
assuming I have a number of .c files I expect "find" to write corresponding
lines to (current-output-port). I want to collect them in a list. Here's a solution I
thought would work:
(define-values (in out) (make-pip
Hi.
I want to read whatever a process writes to (current-output-port). There has to
be a simple pattern for that which unfortunately I've failed to come up with.
Here's a process: (system (format "find . ~a ~a" "-name \"*.c\"" "-print"))
assuming I have a number of .c files I expect "find" to
On Wed, Oct 16, 2013 at 4:31 AM, Konrad Hinsen
wrote:
> But I still wonder what someone in my situation should do. It looks
> like SSAX does all I need, and well. But with all those
> similar-but-not-quite-the-same packagings, how to pick the one most
> likely to be available and working a few yea
Neil Van Dyke writes:
> The name ``SXML'' is a bit confusing.
A good understatement ;-)
> What happened is that, a long time ago, Oleg Kiselyov defined an XML
> representation, called SXML. He also wrote a series of Scheme code and
> papers on tools that used SXML, including his XML parse
10 hours ago, Jonathan Schuster wrote:
> For anyone interested, I'd like to announce the release of my IRC
> client library for Racket. It packages up the client side of the IRC
> protocol and does most of the hard processing for you, wrapping
> everything into a simple API. It's available as a pac
23 matches
Mail list logo