Re: [racket-users] Suppress print lines from required modules

2017-08-27 Thread Matthew Butterick
> On Aug 27, 2017, at 7:30 PM, Shu-Hung You > wrote: > > Something along the line of (open-output-file > "/dev/null") sounds a bit better but I'm not sure how to create a > discard-everything output port. `open-output-nowhere`?

Re: [racket-users] Re: Racket dotenv file loading

2017-08-27 Thread Jack Firth
On Sunday, August 27, 2017 at 7:57:52 PM UTC-7, Royall Spence wrote: > And it's ready to consume: > https://pkgd.racket-lang.org/pkgn/package/dotenv > > This is the first Lisp-family code I've published, so that's exciting. > Any feedback the list has to offer regarding style, approach, or >

Re: [racket-users] Re: Racket dotenv file loading

2017-08-27 Thread 'Royall Spence' via Racket Users
And it's ready to consume: https://pkgd.racket-lang.org/pkgn/package/dotenv This is the first Lisp-family code I've published, so that's exciting. Any feedback the list has to offer regarding style, approach, or packaging would be welcome. On Sun, Aug 27, 2017, at 10:09 PM, 'Royall Spence' via

Re: [racket-users] Suppress print lines from required modules

2017-08-27 Thread Shu-Hung You
Parameterizing current-output-port to (open-output-string) redirects the output to a string. Something along the line of (open-output-file "/dev/null") sounds a bit better but I'm not sure how to create a discard-everything output port. (define ns (make-base-namespace)) (parameterize

[racket-users] Suppress print lines from required modules

2017-08-27 Thread Sam Waxman
Let's say I have a module that looks like (module a racket (provide result) (print "Annoying print line!") (define result 2)) and I'd like the value of result in another module, so in another module, I write (require a) or (dynamic-require ''a 'result) In both cases, I get the

Re: [racket-users] Re: Racket dotenv file loading

2017-08-27 Thread 'Royall Spence' via Racket Users
Thanks, Jack. It sounds like a great Rackety solution and easy way to get into trying my own languages. I've already started work, though, and the 40 lines of code I've written looks like it'll do the job once I shake out the bugs. On Sun, Aug 27, 2017, at 05:49 PM, Jack Firth wrote: > On Sunday,

Re: FW: [racket-users] Can't seem to find the blue box(es) in DrRacket anymore

2017-08-27 Thread Robby Findler
I've pushed a fix. Sorry for the delay in looking into this. https://github.com/racket/drracket/issues/118 Robby On Sun, Aug 27, 2017 at 12:06 PM, Jos Koot wrote: > Sorry, ignore my post. > Jos Koot > > -Original Message- > From: Jos Koot

[racket-users] Re: Racket dotenv file loading

2017-08-27 Thread Jack Firth
On Sunday, August 27, 2017 at 11:01:17 AM UTC-7, Royall Spence wrote: > I'm starting work on a Racket library for loading .env files to override > environment variables. This is a common way of doing things for people who > want to run multiple web applications on a single server without their

Re: [racket-users] European Racketeers and conferences

2017-08-27 Thread Matthias Felleisen
HI — we compared constraints with Matthew B. (London) to coordinate but we haven’t heard back from him whether we’ll meet in Oxford or London. Sadly the other 3 (Sam of Typed Racket fame is attending too) are now at a secret-cabal-ifip meeting seem to be off-line too. If anything gets

[racket-users] Spacemacs Light & Dark Color Schemes for DrRacket

2017-08-27 Thread Christopher Walborn
A few years back I added a DrRacket color scheme template to the Base16 project and hosted a collection of these schemes which a few people have found useful. Base16 has since changed and I haven't kept up with it. That old collection should still work, but has always required some fine-detail

[racket-users] Accessing background colors when defining new color schemes

2017-08-27 Thread Christopher Walborn
>From https://docs.racket-lang.org/drracket/color-scheme.html I see that when >creating a new color scheme we can specify foreground color and bold, italic, >underline like this within the colors hash: #hash((name . "some name") (colors . ((framework:paren-match-color ,#(68 65

[racket-users] Racket dotenv file loading

2017-08-27 Thread 'Royall Spence' via Racket Users
I'm starting work on a Racket library for loading .env files to override environment variables. This is a common way of doing things for people who want to run multiple web applications on a single server without their environment variables competing for namespace. The classic example is this

FW: [racket-users] Can't seem to find the blue box(es) in DrRacket anymore

2017-08-27 Thread Jos Koot
Sorry, ignore my post. Jos Koot -Original Message- From: Jos Koot [mailto:jos.k...@gmail.com] Sent: domingo, 27 de agosto de 2017 19:00 To: 'hashim muqtadir'; 'Racket Users' Subject: RE: [racket-users] Can't seem to find the blue box(es) in DrRacket anymore I think you can toggle a

RE: [racket-users] Can't seem to find the blue box(es) in DrRacket anymore

2017-08-27 Thread Jos Koot
I think you can toggle a switch in tab 'background expansion' of the preferences menu. Jos -Original Message- From: racket-users@googlegroups.com [mailto:racket-users@googlegroups.com] On Behalf Of hashim muqtadir Sent: domingo, 27 de agosto de 2017 8:12 To: Racket Users Subject:

[racket-users] Racket PPA updated for v6.10

2017-08-27 Thread Luis Sanjuán
Great! I'm sure Ubuntu users will be grateful. -- 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,

Re: [racket-users] European Racketeers and conferences

2017-08-27 Thread Chris Gallagher
Hi Matthias. I am based near Oxford and would be interested in joining an informal get together while people are at ICFP. Kind Regards Chris On Tuesday, 22 August 2017 15:51:03 UTC+1, Matthias Felleisen wrote: > Matthew F, Robby, and I will be in Oxford for ICFP starting late next week. >

Re: [racket-users] Can't seem to find the blue box(es) in DrRacket anymore

2017-08-27 Thread Laurent
Same problem for me on 6.10.0.3 on Ubuntu 64bits. Unchecking then rechecking the blue box checkbox in the preferences doesn't change anything. I'll make a bug report. On Sun, Aug 27, 2017 at 7:11 AM, hashim muqtadir wrote: > Hello, > I recently updated to Racket 6.10

[racket-users] Can't seem to find the blue box(es) in DrRacket anymore

2017-08-27 Thread hashim muqtadir
Hello, I recently updated to Racket 6.10 and I cannot seem to find the blue boxes in the top right of the definitions and interactions windows anymore. They don't show up by pressing the hotkey (f2) either. There's no error or anything, just nothing happens. External help works, i.e. pressing