Which version of Racket are you using?
With v5.3.6, I ran
git clone https://github.com/LawrenceWoodman/xdgbasedir_rkt
raco pkg install --name xdgbasedir --link xdgbasedir_rkt
raco docs
and I see a xdgbasedir document. Note that `raco docs' opens my
user-specific documentation (since the
On Aug 11, 2013, at 6:38 PM, grant centauri wrote:
I've rewritten a number of times, and was just hoping for some design advice
before I start banging my head against the wall
Use the design recipe completely until it becomes second nature:
1. Separate global constants from values that
On Mon, Aug 12, 2013 at 12:48 AM, Lawrence Woodman
lwood...@vlifesystems.com wrote:
Hello,
I'm a little confused with regard to how to document packages and
collections
within them, and how to access that documentation when installing a package.
I have been working on a package:
2013/8/12 Jay McCarthy jay.mccar...@gmail.com:
On Mon, Aug 12, 2013 at 12:48 AM, Lawrence Woodman
lwood...@vlifesystems.com wrote:
Hello,
I'm a little confused with regard to how to document packages and
collections
within them, and how to access that documentation when installing a
On 2013-08-12 16:59:19 +0200, Jens Axel Søgaard wrote:
I like to browse the documentation on a collection before I install it.
It is somewhat inconvenient to find out on pkg.racket-lang.org
whether a package is part of a documented collection or not.
I agree with this. Is there any reason why
There is a task to count the ten most offen occoured words in a text
file(about 300M), since the excuting time is the most important issue, I
want to use divide-conquer algorithm(maybe the file is not so big, but I
need to make the program run as fast as possible).
Is the map/reduce in racket
On Mon, Aug 12, 2013 at 9:27 AM, Asumu Takikawa as...@ccs.neu.edu wrote:
On 2013-08-12 16:59:19 +0200, Jens Axel Søgaard wrote:
I like to browse the documentation on a collection before I install it.
It is somewhat inconvenient to find out on pkg.racket-lang.org
whether a package is part of a
I like to browse the documentation on a collection before I install it.
It is somewhat inconvenient to find out on pkg.racket-lang.org
whether a package is part of a documented collection or not.
I agree with Jens. This is the feature from planet1 that I miss the most.
For my packages, I
See https://github.com/mental/bloopsaphone which (IIRC) uses a variant
of ABC notation.
Neil Van Dyke n...@neilvandyke.org writes:
Anyone currently working with music mini-languages in Racket?
Reason I ask... In my iRobot Roomba Racket interface, I currently have a
simple music mini-language
Sorry I'm late. :D
You can make your plots more robust to can't determine bounds errors
by including an `invisible-rect' or `invisible-rect3d' renderer in the
plot, with fully specified (i.e. non-#f) bounds. The plots' bounds will
always include the invisible rectangle.
Another option is to
I haven't tried this, but you might try setting
(latex-dpi 600)
That should make dvipng generate PNGs at 600 DPI instead of 150. If
that doesn't seem to work, it'll probably *print* nicely even if it
doesn't display nicely. (Which may not be a big consolation.)
This package needs
2013/8/6 Laurent laurent.ors...@gmail.com:
When generating pdf with the very useful slideshow-latex, equations have a
very poor quality.
A long term solution would be to include libpoppler with Racket.
Poppler is a pdf-renderer that uses Cairo as a backend.
An equation could then be rendered
On Mon, Aug 12, 2013 at 6:23 PM, Neil Toronto neil.toro...@gmail.comwrote:
I haven't tried this, but you might try setting
(latex-dpi 600)
That should make dvipng generate PNGs at 600 DPI instead of 150. If that
doesn't seem to work, it'll probably *print* nicely even if it doesn't
On 2013-08-12 09:51:49 -0600, Jay McCarthy wrote:
We could make it so you could have that link on the
server too, but I'm skeptical
that the lack of one redirection would be very compelling.
If I understand correctly, you're suggesting that developers upload
their docs to their github repo and
On Mon, Aug 12, 2013 at 11:58 AM, Asumu Takikawa as...@ccs.neu.edu wrote:
On 2013-08-12 09:51:49 -0600, Jay McCarthy wrote:
We could make it so you could have that link on the
server too, but I'm skeptical
that the lack of one redirection would be very compelling.
If I understand correctly,
On 2013-08-12 12:05:00 -0600, Jay McCarthy wrote:
No, I'm not suggesting that. We already have a plan for how the
package catalog will show documentation: by building the real
documentation and showing it. You said that you don't want to wait for
that and want something else as a stop gap. I
Building documentation requires running Racket code, so only ring-0
packages can be trusted. BTW, the hope is that all packages will be
ring-0, unless they are on probation or deliberately malicious.
Jay
On Mon, Aug 12, 2013 at 12:23 PM, Asumu Takikawa as...@ccs.neu.edu wrote:
On 2013-08-12
At Mon, 12 Aug 2013 12:28:30 -0600,
Jay McCarthy wrote:
Building documentation requires running Racket code, so only ring-0
packages can be trusted. BTW, the hope is that all packages will be
ring-0, unless they are on probation or deliberately malicious.
I agree that building the docs for
40 minutes ago, Vincent St-Amour wrote:
If we're going to have different rings at all (which I think we should),
then we should have a way to present documentation for all rings, not
just ring 0. Allowing package authors to provide a link to external docs
(as Asumu was suggesting) sounds like
If someone implements a sandboxed way to build Scribble documentation,
then we can use it on everything. But that doesn't exist and it would
be hard to make by my estimation, so I don't think it's appropriate to
dream of it existing unless you have an idea on how to do it.
On Mon, Aug 12, 2013 at
At Mon, 12 Aug 2013 15:42:23 -0400,
Eli Barzilay wrote:
40 minutes ago, Vincent St-Amour wrote:
If we're going to have different rings at all (which I think we should),
then we should have a way to present documentation for all rings, not
just ring 0. Allowing package authors to provide a
I discussed this with Vincent and Asumu today in person. Here are some of
the results of our conversation:
What I really want is a function like async-channel-non-empty-event that
returns an event that's ready for synchronization when async-channel-get
would not block (but the event does not
A few minutes ago, Vincent St-Amour wrote:
I don't think documentation format is really a big problem, as long
as it's human-readable. How to find it in the first place is the big
problem IMO.
Yes, that comes first, of course. It's a problem of making it easy to
do exactly the kind of package
20 minutes ago, Jay McCarthy wrote:
If someone implements a sandboxed way to build Scribble documentation,
then we can use it on everything. But that doesn't exist and it would
be hard to make by my estimation, so I don't think it's appropriate to
dream of it existing unless you have an idea
An easy way to get around such things is to add a level of
indirection: wrap the original channel in another one where you
implement your own peeking.
10 minutes ago, Jonathan Schuster wrote:
I discussed this with Vincent and Asumu today in person. Here are
some of the results of our
A few minutes ago, Robby Findler wrote:
Oh, yeah? Well, I don't think it's appropriate to tell people when
their appropriateness is wrong at anything other than phase 0. ;)
[I'm obviously tempted to climb another level, but that would be
inappropriate...]
--
((lambda (x) (x x))
What are keyboard shortcuts for the Step, Over, Out buttons in DrRacket?
I could not find them in the Keybindings dialog.
Thanks
Igor
Racket Users list:
http://lists.racket-lang.org/users
On Mon, Aug 12, 2013 at 04:11:14PM -0400, Eli Barzilay wrote:
An easy way to get around such things is to add a level of
indirection: wrap the original channel in another one where you
implement your own peeking.
Once you peek, if you decde that's not what you want, might you want to
let
This contract intends to check if the rest argument is a) a list of symbols
and b) has an even number of elements.
The only difference (apparent to me) between proc1 and proc2 is the
ordering of the contract predicates. Yet they give different results --
proc1 seems to ignore the even? condition.
Use and/c
Currently it's just checking if your function is truish (it is) and then
returns the second contract as the result of the expression.
-Ian
- Original Message -
From: Matthew Butterick mb.list.a...@gmail.com
To: Racket mailing list users@racket-lang.org
Sent: Monday, August 12,
Both contracts are wrong, but the error manifests itself differently. i fixed
the first one and rewrote the test:
#lang racket/base
(require racket/contract)
(define/contract (proc1 . items)
(() #:rest (and/c (λ(items) (even? (length items))) (listof symbol?)) . -* .
symbol?)
Guys: the main thing to keep in mind when programming with CML is that you
can jut build your own sync abstractions easily.
In this case you would have a separate thread that mediates all access to
one of these channels and that makes it easy to get such concerns right.
Don't just rely on the
See kill safety paper.
On Aug 12, 2013, at 6:40 PM, Robby Findler wrote:
Guys: the main thing to keep in mind when programming with CML is that you
can jut build your own sync abstractions easily.
In this case you would have a separate thread that mediates all access to one
of these
An hour ago, Hendrik Boom wrote:
On Mon, Aug 12, 2013 at 04:11:14PM -0400, Eli Barzilay wrote:
An easy way to get around such things is to add a level of
indirection: wrap the original channel in another one where you
implement your own peeking.
Once you peek, if you decde that's not
34 matches
Mail list logo