Re: [racket-users] [handin-client] `raco pkg install $URL` vs `raco setup -A $localPath`: getting lost with Racket packages

2015-09-06 Thread Matthew Flatt
The package system knows the currently installed checksum. There's not currently a simple function to look up the checksum for a given package name, but you could use (require pkg/lib) (define (get-pkg-checksum pkg-name) (define info (for/or ([scope (in-list (get-all-pkg-scopes))])

Re: [racket-users] Overriding sexp highlighting in drracket

2015-09-06 Thread Robby Findler
I am not quite following what you want to do. Can you give an example interaction? Robby On Sunday, September 6, 2015, Martin DeMello wrote: > I'm trying to override the automatic backward-sexp highlighting in > drracket to highlight the sexp based on the ) after the

Re: [racket-users] PR accepted but didn't wind up on master?

2015-09-06 Thread Vincent St-Amour
Yes, that is correct. Vincent On Sun, 06 Sep 2015 12:36:46 -0500, 'John Clements' via Racket Users wrote: > > A few days ago, I made a pull request (#1030) against plt/racket. Jay > McCarthy approved it… but now I don’t see it on master. I’m guessing… that > these commits need to be made to

[racket-users] Re: Official Docker images for Racket

2015-09-06 Thread Jack Firth
On Sunday, September 6, 2015 at 10:56:16 AM UTC-7, Juan Francisco Cantero Hurtado wrote: > On 09/06/2015 01:05 PM, Jack Firth wrote: > > Alpine provides a glibc package, could I just swap out for that instead? > > No, they don't provide glibc: >

Re: [racket-users] Overriding sexp highlighting in drracket

2015-09-06 Thread Robby Findler
The highlighting you're interested in changing is the (by default) grey highlighting that moves around when you change the insertion point (when you use the arrow keys, say), right? If so, I think the code you're looking for is the match-parens private method in framework/private/color. You can

[racket-users] Racket in a web page (via Whalesong)

2015-09-06 Thread Anton Vodonosov
Hi, Does anyone use Whalesong to script web pages? As far as I understand the Racket design, Whalesong is enough to bootstrap full Racket in a JS environment. It's a great opportunity. I would like very much to have an interactive lisp development where I can develop both server side and

Re: [racket-users] [handin-client] `raco pkg install $URL` vs `raco setup -A $localPath`: getting lost with Racket packages

2015-09-06 Thread Matthew Flatt
An easier way is: * Create a Git repo (e.g., at GitHub) for your handin client. It's a good idea to name the repo something specific to your class, as opposed to just "handin". For example, the one for my class is https://github.com/mflatt/uu-cs5510.git * Optionally, register

Re: [racket-users] [handin-client] `raco pkg install $URL` vs `raco setup -A $localPath`: getting lost with Racket packages

2015-09-06 Thread Paolo Giarrusso
Thanks a lot! It sounds... amazingly simpler. It even supports branches! Even readding support for auto-update sounds easy, to prevent human errors by students. (It's certainly less work than I spent working around the current system). I might even integrate this in the docs. The "hard part" is

Re: [racket-users] Overriding sexp highlighting in drracket

2015-09-06 Thread Asumu Takikawa
On 2015-09-06 20:41:18 -0500, Robby Findler wrote: > Some suggestions about the method you linked to: > > - Don't create the brush inside on-paint (use the brush-list or stick > it in a field). > > - Don't assume that the width of "a" is the same as the other widths > (it isn't in common racket

[racket-users] Re: Official Docker images for Racket

2015-09-06 Thread Juan Francisco Cantero Hurtado
On 09/06/2015 10:33 PM, Jack Firth wrote: On Sunday, September 6, 2015 at 10:56:16 AM UTC-7, Juan Francisco Cantero Hurtado wrote: On 09/06/2015 01:05 PM, Jack Firth wrote: Alpine provides a glibc package, could I just swap out for that instead? No, they don't provide glibc:

Re: [racket-users] Overriding sexp highlighting in drracket

2015-09-06 Thread Martin DeMello
Let's say I have the following: (let ([x (foo bar)] ... ) In the regular drracket editor, when I move the cursor between the ) and ] it highlights (foo bar). In the vim emulator, the cursor has been replaced by a block that highlights a character, rather than a line just before it. So the same

[racket-users] [handin-client] `raco pkg install $URL` vs `raco setup -A $localPath`: getting lost with Racket packages

2015-09-06 Thread Paolo Giarrusso
Hi all, my research group is going to teach using How to Design Programs (2nd ed.), and I'm currently automating deployment of the handin-client with auto-update. Since the handin-client (and the auto-updater) was written for the old "package management system" (Planet), I'm having some trouble

[racket-users] DrRacket runs on SteamOS beta

2015-09-06 Thread Neil Van Dyke
The official DrRacket build for Debian installs and runs easily on SteamOS beta: http://www.neilvandyke.org/temporary/steamos-drracket-gears.png There is an appeal to being able to develop OpenGL or GTK programs directly on your living room media/gaming appliance, in DrRacket. Valve is

[racket-users] Re: Official Docker images for Racket

2015-09-06 Thread Jack Firth
On Saturday, September 5, 2015 at 2:54:42 PM UTC-7, Juan Francisco Cantero Hurtado wrote: > On 09/04/2015 10:32 PM, Jack Firth wrote: > >> > >> Virtualbox -> Linux -> Docker -> Alpine > >> ^ > >> > >> Which Linux distro? > >> > >> I'm asking because the usual Racket errors in

[racket-users] PR accepted but didn't wind up on master?

2015-09-06 Thread 'John Clements' via Racket Users
A few days ago, I made a pull request (#1030) against plt/racket. Jay McCarthy approved it… but now I don’t see it on master. I’m guessing… that these commits need to be made to git.racket-lang.org instead, and then they get force-pushed to the github account. Is this correct? If so, I’ll just

[racket-users] Re: Official Docker images for Racket

2015-09-06 Thread Juan Francisco Cantero Hurtado
On 09/06/2015 01:05 PM, Jack Firth wrote: On Saturday, September 5, 2015 at 2:54:42 PM UTC-7, Juan Francisco Cantero Hurtado wrote: On 09/04/2015 10:32 PM, Jack Firth wrote: Virtualbox -> Linux -> Docker -> Alpine ^ Which Linux distro? I'm asking because the usual