[racket-users] Re: Modify Scribble HTML for integration with site

2018-08-19 Thread Tom Gillespie
I'm not sure if this is exactly what you are looking for, but it is possible to use style [0] along with xexpr-property [1] and cdata [2] to augment the html inside a scribble doc see [3]. I have only tested this inside of scribble/core, not in scribble directly, but I don't see why you

Re: [racket-users] distributed computation support for handin-server?

2018-10-25 Thread Tom Gillespie
That is inviting the students with a more hackerish mentality to find ... alternative ways of scoring points. Probably better to not even entice them with the possibility, given the bureaucratic headaches that it could cause. Tom On Wed, Oct 24, 2018 at 11:11 PM 'John Clements' via Racket Users <

Re: [racket-users] Racket-on-Chez snapshots

2018-10-01 Thread Tom Gillespie
If by lately you mean any time in 2018 there is Matthew's report from back in January. https://blog.racket-lang.org/2018/01/racket-on-chez-status.html http://www.cs.utah.edu/~mflatt/racket-on-chez-jan-2018/ If you are feeling adventurous you can also build it from source

[racket-users] Re: Upgrading Racket

2018-09-28 Thread Tom Gillespie
The compiled versions of all your modules are stale. One way to fix this is to run `raco setup`. On my system I have to run it as root, but you may be able to run it as the user that installed Racket. On Friday, September 28, 2018 at 5:49:21 PM

Re: [racket-users] project idea: drracket notebook mode

2018-12-26 Thread Tom Gillespie
Neil mentioned Ryan's work on this in the thread about hacker news. There are a number of issues with getting jupyter to play nicely with #langs some of which I have submitted a pr for, but my solution is partial and very suboptimal. A drracket-like solution, even just for kernels is likely not

[racket-users] Re: What is the best way to daemonize a Racket program on linux?

2018-11-28 Thread Tom Gillespie
If you're not into systemd https://gist.github.com/tgbugs/c2990382b3fdfef86a2a3a1bc0516099 is an example of an openrc init script that I use to daemonize a servlet (running behind nginx) which is an echo server that responds with the ip of the requester and that is initialized like this:

[racket-users] Where to start in DrRacket to support highlighting for Syntax Warnings?

2018-09-14 Thread Tom Gillespie
Hi all, The language I'm developing has a strong use case for syntax warnings for reporting cases of missing information (aka optional syntactic elements) to the user. I have done a first pass integration, and after reading Jack Firth's slides

Re: [racket-users] Error location in test submodules

2019-04-05 Thread Tom Gillespie
Hi Greg, Thank you for the very detailed explanation. I was also very much not my intention to belittle racket-mode and I will evoke my "yes indeed my knowledge was quite incomplete." I have learned many very useful things from this thread (C-u C-c C-c is a reminder that stopping by the manual

Re: [racket-users] vi-mode for racket cli

2019-04-15 Thread Tom Gillespie
I'm not sure if this will fix your vi-mode issues, but here is some info on the readline situation. You should be able to get readline support by installing readline-gpl via `raco pkg install readline-gpl` (as the name suggests it was removed from core racket due to gpl compatibility concerns).

Re: [racket-users] Haskell

2019-05-14 Thread Tom Gillespie
Hackett comes to mind, but that might be going in the opposite direction of what you are thinking. On Tue, May 14, 2019 at 11:40 AM 'John Clements' via Racket Users < racket-users@googlegroups.com> wrote: > Hmm… While I certainly agree that functional

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

2019-08-13 Thread Tom Gillespie
Without have read this carefully, are you maybe looking for https://docs.racket-lang.org/reference/syntax-util.html#%28def._%28%28lib._racket%2Fsyntax..rkt%29._format-id%29%29? If you just pass string->symbol and then use datum->syntax you will get binding errors. Tom On Tue, Aug 13, 2019 at 7:03

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

2019-08-13 Thread Tom Gillespie
g format-id where >> I use the name, with no change either. Am I using this correctly? >> >> The format-id change is easier to read, so it is worth keeping even if it >> doesn't solve this issue. >> >> -- Jonathan >> >> On Tuesday, August 13, 2019 at

Re: [racket-users] Directory-specific installation of packages?

2019-07-23 Thread Tom Gillespie
I have periodically investigated installing racket packages via gentoo in a dev-racket/package way that matches how python packages are installed (a far saner experience than any of python's native packaging tools). I always hit roadblocks because raco wants to hit an sqlite database that is

Re: [racket-users] The case, and a proposal, for elegant syntax in #lang racket2

2019-07-18 Thread Tom Gillespie
I was going to mention that common lisp has a notion of return arity, and that certain functions can return zero results. I didn't realize that (values) also worked in racket. Zero return arity has some nasty consquences in existing systems. Both racket and guile barf on expressions like (eq?

Re: [racket-users] The case, and a proposal, for elegant syntax in #lang racket2

2019-07-18 Thread Tom Gillespie
Apologies for the long mail. I wanted to get these thoughts out now while they are fresh. Tom Can Racket make semantics a matter of syntax? If it can, can it produce errors when certain syntactic forms are incompatible with the specified semantics? Can all forms in the language be mapped to all

Re: [racket-users] The search for routy

2019-06-14 Thread Tom Gillespie
https://github.com/Junker/routy found via `racket routy git` seems right? On Thu, Jun 13, 2019 at 11:56 PM Gregor Kopp wrote: > Hi! > I found here docs: https://docs.racket-lang.org/routy/ > I'd like to try this for fast prototyping, but can't find the package as > my google-fu is sloppy I

Re: [racket-users] download catalog down?

2020-02-27 Thread Tom Gillespie
g/releases/7.6/catalog/pkgs > > But fetching the catalog URL without extending it is not part of the > catalog protocol. > > At Thu, 27 Feb 2020 15:43:57 -0800, Tom Gillespie wrote: > > Hi Matthew, > > Thanks, this would seem to suggest that something in the set

[racket-users] download catalog down?

2020-02-27 Thread Tom Gillespie
Hi, I (and raco) get a 404 error when trying to access https://download.racket-lang.org/releases/7.6/catalog/. I'm seeing the following error on the page. > ((uncaught-exception-handler) (*(+(*)(*(+(*)(*)(*)(*)(*))(+(*)(*)(*)(*)(*))(+(*)(*)(*)(*(+(*)(*)(*)(* uncaught exception:

Re: [racket-users] download catalog down?

2020-02-27 Thread Tom Gillespie
ket-lang.org/releases/7.6/catalog/pkg/racket-lib > > or > > https://download.racket-lang.org/releases/7.6/catalog/pkgs > > should work (and does work for me). > > At Thu, 27 Feb 2020 14:22:55 -0800, Tom Gillespie wrote: > > Hi, > > I (and raco)

Re: [racket-users] Need advice on XML representation

2020-03-10 Thread Tom Gillespie
Hi Hendrik, I explored this question when I had to decide how to implement an exchange format for identifier metadata. SXML supports more of the standard, specifically for my use cases it was critical that I have support and representation for xml namespaces, which xexprs in racket do not