[racket-users] Can someone fix links to slides in https://con.racket-lang.org/?

2018-11-09 Thread Alexander Shopov
All links to slides are broken
They point to (example) slides/jesse-tov.pdf which the browser turns to
http://slides/jesse-tov.pdf  and there is nothing at that address.
There is nothing on https://con.racket-lang.org/slides/jesse-tov.pdf either
Kind regards:
al_shopov

-- 
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-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [racket-users] Racket Guide, REs, section 9.5

2018-11-09 Thread Jussi Salmela
Thanks for answering. I was at my wits’ end trying to think how the behavior of 
those two would differ and even tried a couple of experiments, to no avail 
unfortunately.

-- 
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-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[racket-users] riposte: language for testing json-based http apis

2018-11-09 Thread jesse
I'm pleased to announce a new tool for testing JSON-based HTTP
APIs. It's called Riposte, and it's made in Racket. Just do

  raco pkg install riposte

to get it.

I made Riposte to facilitate testing of JSON-based HTTP APIs in my day
job as a web developer at an ecommerce shop. ("JSON-based" means that
every HTTP request and response is either empty or has a JSON for its
body. No HTML, no XML, no images. Just JSON.)

Riposte is a language for tests. I deliberately chose a
non-S-expression-based syntax because I wanted to help make the tool
more or less immediately useful to my teammates, none of whom are
Lisp/Scheme programmers.

You can see some snippets of the language at its homepage:

  https://riposte.in

The aim was to make a command line tool that can be used in a team of
people (web developers, more precisely) who aren't Racket
programmers. They don't need to know that the tool they're using is
implemented in Racket; it just needs to work and be helpful. The tool
is useful during development (to test that your code really does
change the system as you intend) as well as in a continuous
integration system.

Riposte is an external DSL (at least, that's the way it's currently
implemented). Although it is a #lang, and can be (sort of) used in
DrRacket, it wasn't built in the canonical Racket way (internal DSLs
and linguistic abstraction. The most accurate description of Riposte,
as it exists now, is that it's a Racket program that uses the brag parser
generator, which produces a parse tree, which then gets evaluated.

Although Riposte is currently as an external DSL, I'd very much like to
take a second look at it and make it in the Racket way. Would this be
something that I might learn more about at the upcoming Racket Summer
School?

Feedback welcome. Documentation is rough, but not entirely
absent. Reply to me here (or privately), or submit an issue using
GitHub Issues (https://github.com/vicampo/riposte).

Jesse

-- 
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-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[racket-users] Re: plot library: legend outside plot?

2018-11-09 Thread Alex Harsanyi

It is not currently possible to draw the legend outside the plot area.  The 
code that draws the legend is at the link below, however, this code assumes 
that the position will be inside the plot area and will not reserve extra 
space outside this area:

https://github.com/racket/plot/blob/8dcfd7745e2595b8d517fd8cd7c59510efab84a9/plot-lib/plot/private/common/plot-device.rkt#L587

Alex.

On Thursday, November 8, 2018 at 11:18:14 PM UTC+8, Dmitry Pavlov wrote:
>
> Hello, 
>
> Is it possible to render a plot with the legend outside the plotting 
> area, like gnuplot does with "set key outside" option? 
>
> I see only (plot-legend-anchor) parameter for placement of the legend in 
> different places inside the plot area. 
>
> Best regards, 
>
> Dmitry 
>
>
>

-- 
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-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.