[racket-users] JSON type provider (ish) for Typed Racket

2019-08-14 Thread Phil Nguyen
Github repo: https://github.com/philnguyen/json-type-provider I read this PLDI 2016 paper about Type Provider for F# and attempted to implement it as a Racket macro. Then I realized it worked great in F# mostly because of dot notation and

Re: [racket-users] Using the top level to fix unbound identifier

2019-08-14 Thread Jonathan Simpson
I will take a look at this as well. It may be a few days before I have time to devote to this again, but I appreciate everyone's help so far. -- Jonathan On Wednesday, August 14, 2019 at 1:00:54 AM UTC-4, Matthew Butterick wrote: > > > On 13 Aug 19, at 7:03 PM, Jonathan Simpson > wrote: > > In

Re: [racket-users] Re: [standard-fish] Summer competiton 2019

2019-08-14 Thread Stephen De Gabrielle
Amazing face! I'm trying to get it to work in DrRacket and pasterack but I'm having trouble with with parametric-surface3d: unbound identifier in: parametric-surface3d Stephen On Thu, Aug 15, 2019 at 5:52 AM bedeke wrote: > A cap for an Escher-like egg-face. > > long live the plot library. >

Re: [racket-users] Re: [standard-fish] Summer competiton 2019

2019-08-14 Thread Stephen De Gabrielle
Awesome caps! Entry registered! I hope you are having a great summer - keep the entries coming! Stephen On Tue, Aug 13, 2019 at 9:06 AM Justin Zamora wrote: > > > On Sun, Aug 11, 2019 at 9:30 PM Stephen De Gabrielle < > spdegabrie...@gmail.com> wrote: > >> I know you are all motivated by the

[racket-users] Seeking good benchmark code for immutable hash and hash set usage

2019-08-14 Thread Jon Zeppieri
Hello Racketeers, I'm looking for examples of code that would make good benchmarks for evaluating the performance of immutable hashes. Some background: Immutable hashes used to be implemented in Racket as red-black trees. That was changed to hash array mapped tries (HAMTs) a number of years

Re: [racket-users] Re: [standard-fish] Summer competiton 2019

2019-08-14 Thread bedeke
A cap for an Escher-like egg-face. long live the plot library. code at http://pasterack.org/pastes/39958 B. -- 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

Re: [racket-users] Re: Retina display for OpenGL

2019-08-14 Thread Thomas Dickerson
It seems like the issue here is not with the OpenGL setup, but with figuring out whether or not the draw context passed to a snip supports high-resolution drawing. Presumably the answer is "yes" somewhere in the pipeline, since the font rendering in the REPL doesn't look noticeably worse than

Re: [racket-users] web-server: how to save database results in memory across all requests?

2019-08-14 Thread 'Wayne Harris' via Racket Users
On Tuesday, August 13, 2019 5:46 PM, George Neuner wrote: > On 8/13/2019 2:24 PM, 'Wayne Harris' via Racket Users wrote: > > > With Chrome, I visited localhost:/main a first time and refreshed it. > > (So I got a cache miss followed by a cache hit.) With Firefox, I did the > > same and got

Re: [racket-users] Re: Racket v7.4

2019-08-14 Thread Sam Tobin-Hochstadt
I've opened https://github.com/racket/racket-lang-org/pull/99 which ought to fix this for now. Sam On Wed, Aug 14, 2019 at 1:23 PM 'Joel Dueck' via Racket Users wrote: > > On Wednesday, August 14, 2019 at 12:18:30 PM UTC-5, Sam Tobin-Hochstadt wrote: >> >> Thanks, that's helpful. Looking at the

Re: [racket-users] Re: Racket v7.4

2019-08-14 Thread 'Joel Dueck' via Racket Users
On Wednesday, August 14, 2019 at 12:18:30 PM UTC-5, Sam Tobin-Hochstadt wrote: > > Thanks, that's helpful. Looking at the source, it seems that > `navigator.appVersion` is what's being looked at. What does > `navigator.userAgent` return for your two browsers? > Win10 / Firefox: >

Re: [racket-users] Re: Racket v7.4

2019-08-14 Thread Sam Tobin-Hochstadt
Thanks, that's helpful. Looking at the source, it seems that `navigator.appVersion` is what's being looked at. What does `navigator.userAgent` return for your two browsers? Sam On Wed, Aug 14, 2019 at 1:08 PM 'Joel Dueck' via Racket Users wrote: > > On Wednesday, August 14, 2019 at 11:54:03 AM

Re: [racket-users] Re: Racket v7.4

2019-08-14 Thread 'Joel Dueck' via Racket Users
On Wednesday, August 14, 2019 at 11:54:03 AM UTC-5, Sam Tobin-Hochstadt wrote: > > Just to confirm this, what does > https://www.whatismybrowser.com/detect/what-is-my-user-agent report > for both of your browsers? > > On Win10 / FF that website says: Mozilla/5.0 (Windows NT 10.0; Win64; x64;

Re: [racket-users] Re: Racket v7.4

2019-08-14 Thread Sam Tobin-Hochstadt
Just to confirm this, what does https://www.whatismybrowser.com/detect/what-is-my-user-agent report for both of your browsers? Sam On Wed, Aug 14, 2019 at 12:51 PM Sam Tobin-Hochstadt wrote: > > I believe Firefox decided to remove 64/32 bit information in the user > agent. See >

Re: [racket-users] Re: Racket v7.4

2019-08-14 Thread Sam Tobin-Hochstadt
I believe Firefox decided to remove 64/32 bit information in the user agent. See https://groups.google.com/forum/#!search/firefox$20user$20agent$2064/mozilla.dev.platform/vEMIqgnMxRw/ODlignEQAQAJ I think this suggests that we should serve the Variant information in more cases. Sam On Wed, Aug

Re: [racket-users] Clarify project policy on racket2 syntax

2019-08-14 Thread Brian Adkins
On Wednesday, August 14, 2019 at 10:39:52 AM UTC-4, Matthew Flatt wrote: > > The Racket project leadership [see signature at end] hasn't had a > chance to meet and discuss since RacketCon. When it does meet, we > should be able to offer a plan for both the future development of > Racket and the

Re: [racket-users] Re: Racket v7.4

2019-08-14 Thread 'Joel Dueck' via Racket Users
On Wednesday, August 14, 2019 at 7:24:25 AM UTC-5, johnbclements wrote: > > What distribution and platform do you have selected? The “variant” menu > will only appear for certain choices of distribution and platform. > > That was it…In Win/FF the platform selector defaults to the Windows x86_32

Re: [racket-users] on-boarding new racketeers

2019-08-14 Thread Paulo Matos
On 14/08/2019 14:44, Hendrik Boom wrote: > But there's also the issue tracking. How easy is it to export that > from github and install it on another system? > > And there is an MIT-licenced alternative to github showing up > soon: gitea. They let you use your own machines instead of >

Re: [racket-users] Re: on-boarding new racketeers

2019-08-14 Thread Stephen De Gabrielle
Hi Alexis, On Wed, Aug 14, 2019 at 3:58 AM Alexis King wrote: > I think the time and energy Stephen has dedicated to the community should > be thanked and appreciated, Thank you. I can't express how much this means to me. I'd like to personally thank you for your efforts. Your 'outreach'

[racket-users] acceptable drracket definitions for interaction

2019-08-14 Thread rick
Hello Racketeers, I am brand new to Racket. I am interested in Blame Calculus and Gradual Types. Thanks for all the great work. I have successfully validated the interaction increment example [1] in DrRacket. However, running the combined modules in the definitions window reports that

Re: [racket-users] Honu thoughts and clarification

2019-08-14 Thread Matthew Flatt
At Wed, 07 Aug 2019 14:15:29 -0400, Christopher Lemmer Webber wrote: > - I was confused a bit by the $ foo ... $ delimiting. Why $ for both >the start and end? I would have thought to do `$( foo ... $)` or >`^ foo ... $` or something. Then it hit me: is this the same reason >we

Re: [racket-users] Clarify project policy on racket2 syntax

2019-08-14 Thread Matthew Flatt
The Racket project leadership [see signature at end] hasn't had a chance to meet and discuss since RacketCon. When it does meet, we should be able to offer a plan for both the future development of Racket and the process of involving everyone in that development. Let's start by reminding everyone

Re: [racket-users] Re: on-boarding new racketeers

2019-08-14 Thread Stephen De Gabrielle
Thanks for this Neil. On Wed, Aug 14, 2019 at 2:28 AM Neil Van Dyke wrote: > I know this particular one is a minor thing, but they add up, over time... > > Please consider approaches that are open, rather than owned, and try not > to increase lock-in by big-business plays. > > It's pragmatic to

Re: [racket-users] Racket Jupyter/nextJournal

2019-08-14 Thread Ryan Culpepper
On 8/14/19 2:57 PM, tbrooke wrote: There has been some discussion about Racket on Jupyter. nextJournal is a fairly new project for hosted notebooks that is written in Clojure and has support for Clojure as well as several other languages. In addition to Clojure they have templates for Julia, 

Re: [racket-users] on-boarding new racketeers

2019-08-14 Thread Stephen De Gabrielle
Hi, On Wed, Aug 14, 2019 at 9:45 PM Hendrik Boom wrote: > > But there's also the issue tracking. How easy is it to export that > from github and install it on another system? > > there is an API :) https://developer.github.com/v3/issues/ could be easily scripted in racket...or you can also

[racket-users] Racket Jupyter/nextJournal

2019-08-14 Thread tbrooke
There has been some discussion about Racket on Jupyter. nextJournal is a fairly new project for hosted notebooks that is written in Clojure and has support for Clojure as well as several other languages. In addition to Clojure they have templates for Julia, Haskell, and Scala and they support

Re: [racket-users] on-boarding new racketeers

2019-08-14 Thread Hendrik Boom
On Wed, Aug 14, 2019 at 02:25:40PM +0900, Stephen De Gabrielle wrote: > I’m travelling so haven’t been able to properly read the discussion :( > > I do want to add: > > A) Keep local git repos (backups) on storage you control- this is important > as you never know when you will lose access to a

Re: [racket-users] Re: Racket v7.4

2019-08-14 Thread 'John Clements' via Racket Users
What distribution and platform do you have selected? The “variant” menu will only appear for certain choices of distribution and platform. John > On Aug 9, 2019, at 12:04, 'Joel Dueck' via Racket Users > wrote: > > On Win10 / Firefox the "variant" selector does not appear for me, I'm not >