Re: [racket-users] DrRacket preferences error

2017-04-29 Thread Robby Findler
This bug was introduced in 6.9 (but it was in git since a little before 6.8). I learned about it today, sadly. Robby On Sat, Apr 29, 2017 at 6:30 PM 'John Clements' via Racket Users < racket-users@googlegroups.com> wrote: > > > On Apr 29, 2017, at 11:36, Philip McGrath

Re: [racket-users] DrRacket preferences error

2017-04-29 Thread 'John Clements' via Racket Users
> On Apr 29, 2017, at 11:36, Philip McGrath wrote: > > After upgrading to 6.9, I'm getting the following "DrRacket Internal Error" > when I try to open the preferences menu on MacOS: > > preferences:get: tried to get a preference but no default set for >

RE: [racket-users] RE: student project idea: semi-WYSIWYG Scribble editor (Was: Racket 6.9)

2017-04-29 Thread Jos Koot
Hi Matthias, Put it your way it seems managable for a simple user like me. I don't immediately see how to follow all details of your advice, but I'll look into it in due time. I'll need time for that and probably from time to time some more advice. For instance, I would like to avoid repeated

Re: [racket-users] RE: student project idea: semi-WYSIWYG Scribble editor (Was: Racket 6.9)

2017-04-29 Thread Matthias Felleisen
What you need to know is — at a high level — how to write a thread that, in DrRacket, conceptually clicks the ‘render as HTML’ button every time you hit a key. It’s kind of like background syntax checking. except that the result shows up in your browser not in DrRacket. So your GUI skills

[racket-users] RE: student project idea: semi-WYSIWYG Scribble editor (Was: Racket 6.9)

2017-04-29 Thread Jos Koot
Hi Neil, Your idea crossed my mind when I started to use scribble, but I don't think I know enough of Scribble, (let alone HTML etc) for such a task. I hardly have experience in making Guis. I am a simple, but very content user of Racket. Thanks to you and all others of PLT, Jos -Original

RE: [racket-users] Re: Racket 6.9

2017-04-29 Thread Jos Koot
Thanks, I tried again and it works now (6.9 64 bit release) I had to disable part of Bullguard to completely uninstall the 6.8 release. (It didn't recognize me as administrator. Formerly it did.) Have run some tests among which a heavy one. Goes well. Also thanks for your advices concerning buying

[racket-users] Re: Racket 6.9

2017-04-29 Thread George Neuner
On Sat, 29 Apr 2017 16:28:56 -0400, Neil Van Dyke wrote: >Stephen De Gabrielle wrote on 04/29/2017 03:18 PM: >> Ubuntu Linux is cheap, includes an alternative to ms word, gets >> regular updates and (most importantly) runs racket fine. > >Debian, RHEL/CentOS, Fedora,

[racket-users] student project idea: semi-WYSIWYG Scribble editor (Was: Racket 6.9)

2017-04-29 Thread Neil Van Dyke
If some undergrad wanted a summer programming project... make a semi-WYSIWYG editor for Scribble documents. You might have a long scrolling text window, in which things like boldface/italics/color/textsize that Scribble would render are editable text, and Scribble markup itself doesn't appear

Re: [racket-users] DrRacket preferences error

2017-04-29 Thread Philip McGrath
I don't remember what I did last time (it's very possible I'd opened some at-exp file), but I tried this now, and it works fine for me. -Philip On Sat, Apr 29, 2017 at 3:31 PM, Robby Findler wrote: > When you started DrRacket, had you opened a file that uses either

RE: [racket-users] Racket 6.9

2017-04-29 Thread Jos Koot
Thanks for all reponses of Gabrielle and van Dyke. Very useful info. Indeed I like WYSIWYG, but nowadays I use scribble too (most scribble/manual) (frequently rendering in order to see what I get and looking into the docs in order to see how to get what I want) A very nice thing of scribble is

Re: [racket-users] Speeding up graphics / moving away from 2htdp/image

2017-04-29 Thread Daniel Prager
On Sat, Apr 29, 2017 at 11:44 PM, Robby Findler wrote: > On Sat, Apr 29, 2017 at 3:18 AM, Daniel Prager > wrote: > > On Sat, Apr 29, 2017 at 6:04 PM, Philip McGrath < > phi...@philipmcgrath.com> > > wrote: > >> > >> I think that would be

[racket-users] Re: Racket 6.9

2017-04-29 Thread George Neuner
On Sat, 29 Apr 2017 21:05:10 +0200, "Jos Koot" wrote: >I have downloaded 6.9, but was warned that the file does not end >in correct way. Running the exe anyway gave a DrRacket that aborts >after opening it. I have Windows 7 with Bullguard protection. I would say try again

RE: [racket-users] scale of image of scribble with .jpg

2017-04-29 Thread Jos Koot
Thanks for clarifying. Jos _ From: Stephen De Gabrielle [mailto:spdegabrie...@gmail.com] Sent: sábado, 29 de abril de 2017 21:57 To: Jos Koot; Racket Users Subject: Re: [racket-users] scale of image of scribble with .jpg Scaling will always make the image less sharp, but you are right

RE: [racket-users] Racket 6.9

2017-04-29 Thread Jos Koot
Thanks for both replies. I'll remember them when shopping for a new computer. I have 64 bit windows and downloaded 64 bit Racket 6.9. Later I'll try 32 bit Racket, which should be accepted too by 64 bit Windows. Thanks again, Jos _ From: Stephen De Gabrielle

Re: [racket-users] DrRacket preferences error

2017-04-29 Thread Robby Findler
When you started DrRacket, had you opened a file that uses either one of the #lang scribble variants or an at-exp before opening the preferences dialog? I believe that if you don't do that before opening the preferences dialog the first time, you can work around this error. Robby On Sat, Apr

Re: [racket-users] Racket 6.9

2017-04-29 Thread Neil Van Dyke
Stephen De Gabrielle wrote on 04/29/2017 03:18 PM: Ubuntu Linux is cheap, includes an alternative to ms word, gets regular updates and (most importantly) runs racket fine. Debian, RHEL/CentOS, Fedora, ArchLinux, and (maybe) Ubuntu are all good choices for people who don't *have* to run

Re: [racket-users] Racket 6.9

2017-04-29 Thread Stephen De Gabrielle
Wow. Background expansion really kills old hardware. Luckily I can turn it off and use check syntax! S. On Sat, 29 Apr 2017 at 20:32, Stephen De Gabrielle wrote: > I just realised I have a Windows 7 (32bit) toshiba nb 200. > DrRacket (32bit) launched with no problems. >

Re: [racket-users] scale of image of scribble with .jpg

2017-04-29 Thread Stephen De Gabrielle
Scaling will always make the image less sharp, but you are right - scale works with GIF images but not jpg. I have not checked the documentation. S. On Sat, 29 Apr 2017 at 19:06, Jos Koot wrote: > Hi, > > I have the following: > > #lang scribble/manual > ... > @(image

Re: [racket-users] Racket 6.9

2017-04-29 Thread Stephen De Gabrielle
I just realised I have a Windows 7 (32bit) toshiba nb 200. DrRacket (32bit) launched with no problems. Check the operating system type(32-bit/x86 or 64-bit x64) is the same as the DrR download type. Kind regards Stephen On Sat, 29 Apr 2017 at 20:18, Stephen De Gabrielle

Re: [racket-users] Racket 6.9

2017-04-29 Thread Stephen De Gabrielle
Ubuntu Linux is cheap, includes an alternative to ms word, gets regular updates and (most importantly) runs racket fine. https://launchpad.net/~plt/+archive/ubuntu/racket Kind regards Stephen On Sat, 29 Apr 2017 at 20:05, Jos Koot wrote: > Hi > I have downloaded 6.9, but

[racket-users] DrRacket preferences error

2017-04-29 Thread Philip McGrath
After upgrading to 6.9, I'm getting the following "DrRacket Internal Error" when I try to open the preferences menu on MacOS: preferences:get: tried to get a preference but no default set for 'scribble-reindent-paragraph-width context...: /Applications/Racket

[racket-users] scale of image of scribble with .jpg

2017-04-29 Thread Jos Koot
Hi, I have the following: #lang scribble/manual ... @(image #:scale 2 "Turing-machine.jpg") ... Works well, except that the image is not enlarged. What should I do to force the scale? Scaling does work with .gif, but .gif gives less sharp images. Thanks, Jos -- You received this message

Re: [racket-users] DrRacket Accessibility with Screen readers

2017-04-29 Thread Matthew Flatt
At Sat, 29 Apr 2017 09:39:34 -0300, Cleverson Casarin Uliana wrote: > I am blind and can confirm that unfortunately DRRacket isn't accessible > on Windows. This is due to its interface being written in GTK. I haven't > yet tried it on Linux, but it should be accessible on that platform, >

Re: [racket-users] Speeding up graphics / moving away from 2htdp/image

2017-04-29 Thread Robby Findler
On Sat, Apr 29, 2017 at 3:18 AM, Daniel Prager wrote: > On Sat, Apr 29, 2017 at 6:04 PM, Philip McGrath > wrote: >> >> I think that would be because "the draw is called during the dynamic >> extent of the call to dc as part of the contract

[racket-users] DrRacket Accessibility with Screen readers

2017-04-29 Thread Cleverson Casarin Uliana
Hello all, I am blind and can confirm that unfortunately DRRacket isn't accessible on Windows. This is due to its interface being written in GTK. I haven't yet tried it on Linux, but it should be accessible on that platform, because GTK is accessible on Linux but not on Windows. Speaking of

Re: [racket-users] Speeding up graphics / moving away from 2htdp/image

2017-04-29 Thread Daniel Prager
On Sat, Apr 29, 2017 at 6:04 PM, Philip McGrath wrote: > I think that would be because "the *draw* is called during the dynamic > extent of the call to dc >

Re: [racket-users] Speeding up graphics / moving away from 2htdp/image

2017-04-29 Thread Philip McGrath
I think that would be because "the *draw* is called during the dynamic extent of the call to dc as part of the contract checking." -Philip On Sat, Apr 29, 2017 at 2:58 AM, Daniel

Re: [racket-users] Speeding up graphics / moving away from 2htdp/image

2017-04-29 Thread Daniel Prager
Thanks for all the suggestions. I was able to get pict down to "direct to dc"-like performance by making a custom pict that calls my direct-to-dc code ... (define (pict:render block) (pict:dc (λ (dc dx dy) (define old-brush (send dc get-brush)) (define old-pen (send dc