Re: [racket-users] Re: Experience with REST APIs in Racket

2018-04-11 Thread Philip McGrath
I can second having used net/url to call simple REST APIs, though apparently slightly differently than Alex: I typically use `http-sendrecv/url` to do the data-fetching (rather than `get-pure-port`, and I build instances of the `url` struct directly rather than using `format` and `string->url`.

[racket-users] Re: Experience with REST APIs in Racket

2018-04-11 Thread Alex Harsanyi
I used the built-in url package (http://docs.racket-lang.org/net/url.html) from Racket to fetch data from Wunderground weather API and it was simple enough that I did not feel the need for a separate REST library. I just used `format` to construct the URL, `get-pure-port` to fetch the data

[racket-users] Racket "google" package

2018-04-11 Thread Philip McGrath
Does anyone actively use the "google" Racket package? ( https://pkgs.racket-lang.org/package/google) There are some things I'm interested in doing, especially with the Google Drive API, but I see that the latest commit to the GitHub repository is from 2016, which seems like a long time ago in

Re: [racket-users] IEEE 754 single precision float support

2018-04-11 Thread Philip McGrath
>From one following along who knows fairly little about floating-point math (the Toronto/McCarthy paper looks very informative!): On Tue, Apr 10, 2018 at 12:13 AM, George Neuner wrote: > As Philip McGrath mentioned already, you can specify single precision at > least for

Re: [racket-users] Re: IEEE 754 single precision float support

2018-04-11 Thread dkim
> > Have you looked at Neil Toronto's paper Practically Accurate > Floating-Point Math ( > https://www.cs.umd.edu/~ntoronto/papers/toronto-2014cise-floating-point.pdf). > It is an excellent paper that discusses the use of Racket to analyze the > accuracy of floating-point computations. No, I

Re: [racket-users] Re: IEEE 754 single precision float support

2018-04-11 Thread Doug Williams
> > > To be clear, I was just mentioning that I use single precision floats in > our main application that is all written in C++, which is where the > performance is critical/required. I'm trying to use Racket as a tool for > understanding how we can maximize accuracy of our numerical algorithms >

[racket-users] Re: IEEE 754 single precision float support

2018-04-11 Thread dkim
> > I don't know your definition of "handful", and you made a big deal about > the speed of single floats ... To be clear, I was just mentioning that I use single precision floats in our main application that is all written in C++, which is where the performance is critical/required. I'm

Re: [racket-users] IEEE 754 single precision float support

2018-04-11 Thread George Neuner
Sorry for the delay.  My ISP's service has been flaky of late.  It was down much of Tuesday.  I'm still getting caught up. On 4/10/2018 2:30 PM, d...@insomniacgames.com wrote: How long do you want to wait for "truth" calculations.  Done using either rationals (software bigint /

[racket-users] Experience with REST APIs in Racket

2018-04-11 Thread 'Paulo Matos' via Racket Users
Hi, I am interested in developing a Racket wrapper for hetzner cloud rest api. This is a REST API defined in: https://docs.hetzner.cloud/ I however, have no experience with accessing REST APIs in racket much less developing one. 1. Are there any examples out there of wrapping rest apis in