Re: [racket-users] How to add undo functionality to text% editor?

2016-09-20 Thread Alex Harsanyi
On Wednesday, September 21, 2016 at 10:42:33 AM UTC+8, Robby Findler wrote: > It is a performance issue and the default saves memory when one creates a lot > of little text% objects.  > > > Maybe we should add something to the docs. Where did you look? The overview section for editors could

Re: [racket-users] How to add undo functionality to text% editor?

2016-09-20 Thread Robby Findler
It is a performance issue and the default saves memory when one creates a lot of little text% objects. Maybe we should add something to the docs. Where did you look? Robby On Wednesday, September 21, 2016, Alex Harsanyi wrote: > Thanks for that, it worked. > > Is there

Re: [racket-users] How to add undo functionality to text% editor?

2016-09-20 Thread Alex Harsanyi
Thanks for that, it worked. Is there a reason why a new text% object has undo disabled? I could not find any mention of it in the documentation and 'set-max-undo-history' is not the first place one would look :-) Thanks again, Alex. On Tuesday, September 20, 2016 at 10:14:03 PM UTC+8,

Re: [racket-users] Has anyone generated Open Office or Google Docs from scribble source?

2016-09-20 Thread Matt Jadud
Hi Kathi, PrinceXML makes pretty PDFs of the output Scribble documentation. I downloaded it, installed it, pointed it at a Scribbled page, and the PDF was nice; links were preserved, mostly. prince https://docs.racket-lang.org/scribble/ -o scribble.pdf I don't know if PDFs will work for your

Re: [racket-users] Thanks for slideshow, racket/gui, and the rest!

2016-09-20 Thread Robby Findler
I saw the talk and thought it was great! Robby On Tue, Sep 20, 2016 at 9:22 AM, David Christiansen wrote: > Today I delivered a talk at ICFP with slides written in slideshow, > with an embedded Idris interactive editor and REPL. The slides got > good feedback from

Re: [racket-users] Re: Why is 3d3 a number?

2016-09-20 Thread Robby Findler
Patches to the reader for a more sane number syntax to be used in the teaching languages are welcome. Note that we already have some of these in place, as 1.2 reads as a rational in the teaching languages. Robby On Tue, Sep 20, 2016 at 10:39 AM, Ben Greenman wrote:

Re: [racket-users] Web-server and IDN

2016-09-20 Thread Jay McCarthy
On Wed, Sep 21, 2016 at 5:39 AM, Tobias Gerdin wrote: > Hello, > > Thanks for Racket, it really is great. > > Is the web-server of production quality? There are commercial sites that are built using it. > Does it support IDN[1] hostnames? I believe so, as it leaves hostnames

[racket-users] Web-server and IDN

2016-09-20 Thread Tobias Gerdin
Hello, Thanks for Racket, it really is great. Is the web-server of production quality? Does it support IDN[1] hostnames? -Tobias [1]: https://en.wikipedia.org/wiki/Internationalized_domain_name -- You received this message because you are subscribed to the Google Groups "Racket Users"

Re: [racket-users] Re: Why is 3d3 a number?

2016-09-20 Thread Asumu Takikawa
On 2016-09-20 11:32:35 -0400, Asumu Takikawa wrote: > For example, an implementation with two internal representations may map > short and single together and long and double together. BTW, I think this is what Racket does. It just has single and double. > 283403902385293s1 2.834039f+15

Re: [racket-users] Re: Why is 3d3 a number?

2016-09-20 Thread Ben Greenman
Whew, fantastic! Thank you. (Should I tell the Fundamentals I students about R6RS?) On Tue, Sep 20, 2016 at 11:32 AM, Asumu Takikawa wrote: > On 2016-09-20 11:27:07 -0400, Ben Greenman wrote: > >Oh! Just found that common lisp used these for types: > >- s = short

Re: [racket-users] Re: Why is 3d3 a number?

2016-09-20 Thread Asumu Takikawa
On 2016-09-20 11:27:07 -0400, Ben Greenman wrote: >Oh! Just found that common lisp used these for types: >- s = short >- f = single >- d = double >- l = long I think it's more specifically an R6RS thing. Quoth the standard: In systems with inexact number objects of varying

[racket-users] Re: Why is 3d3 a number?

2016-09-20 Thread Ben Greenman
Oh! Just found that common lisp used these for types: - s = short - f = single - d = double - l = long http://www.gigamonkeys.com/book/numbers-characters-and-strings.html Is this still true for Racket? On Tue, Sep 20, 2016 at 11:25 AM, Ben Greenman wrote: > Just

[racket-users] Why is 3d3 a number?

2016-09-20 Thread Ben Greenman
Just confused, is there any reason that 'd' 'e' 'f' 's' 'l' are all accepted as exp-mark s? http://docs.racket-lang.org/reference/reader.html%20numbers#%28part._parse-number%29 Before I came here I asked Wolfram Alpha. It says: - 3d3 is probably "3 dice with 3 sides each" and prints a histogram

Re: [racket-users] DrRacket 6.5 + OS X El Capitan = slow execution

2016-09-20 Thread An Onlooker
By a stopwatch. вторник, 16 августа 2016 г., 11:16:19 UTC+3 пользователь Ivan Kuzmin написал: > P.S. May be it is just some strange cognitive effect. Is there a way to > measure time from run button pressing to printing execution results precisely > and objectively somehow? -- You received

[racket-users] Re: DrRacket 6.5 + OS X El Capitan = slow execution

2016-09-20 Thread An Onlooker
The same issue. Evaluating "apple" takes 4.5 seconds, a middle-size function takes 12 seconds. user@>pacman -Q racket racket 6.6-1 Linux 4.6.2-1-ARCH #1 SMP PREEMPT x86_64 GNU/Linux CPU: Athlon, 2 GHz. -- You received this message because you are subscribed to the Google Groups "Racket

Re: [racket-users] Importing untyped class into typed racket

2016-09-20 Thread Sourav Datta
On Tuesday, September 20, 2016 at 7:41:23 PM UTC+5:30, Matthias Felleisen wrote: > > On Sep 20, 2016, at 4:23 AM, Sourav Datta wrote: > > > > Is it possible to import an untyped class into typed Racket? I know how to > > require for functions or structs but there seems to

[racket-users] Thanks for slideshow, racket/gui, and the rest!

2016-09-20 Thread David Christiansen
Today I delivered a talk at ICFP with slides written in slideshow, with an embedded Idris interactive editor and REPL. The slides got good feedback from the audience. I used a similar setup for my PhD defense in January. Thanks so much to Matthew, Robby, and the rest of you for all the hard work

Re: [racket-users] note about info.rkt in package conflicts docs?

2016-09-20 Thread Matthew Flatt
Yes, the documentation should be revised to exclude "info.rkt" as a source of conflicts. At Mon, 19 Sep 2016 12:29:52 -0400, "'John Clements' via Racket Users" wrote: > I’m separating a package into -lib and -test packages for the first time, and > I’m wondering about the collection-level

Re: [racket-users] How to add undo functionality to text% editor?

2016-09-20 Thread Matthew Flatt
Use the `set-max-undo-history` method to enable undo history: (send m-edit set-max-undo-history 1000) At Tue, 20 Sep 2016 06:24:49 -0700 (PDT), Alex Harsanyi wrote: > Consider the following example (this is pretty much the code from >

Re: [racket-users] Importing untyped class into typed racket

2016-09-20 Thread Matthias Felleisen
> On Sep 20, 2016, at 4:23 AM, Sourav Datta wrote: > > Is it possible to import an untyped class into typed Racket? I know how to > require for functions or structs but there seems to be no documentation about > classes. Thanks! That is the break-though of Asumu’s

[racket-users] How to add undo functionality to text% editor?

2016-09-20 Thread Alex Harsanyi
Consider the following example (this is pretty much the code from http://docs.racket-lang.org/gui/editor-overview.html?q=text%25 except I also added a text-field%): #lang racket/gui (define f (new frame% [label "Simple Edit"] [width 200] [height

Re: [racket-users] Is it neccessary to learn how to define new language?

2016-09-20 Thread Lin Lee
thanks for your advice . Recently,I want to rewrite a web application ,it's about a survey system. I plan to use Racket to do this. -- 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

Re: [racket-users] Has anyone generated Open Office or Google Docs from scribble source?

2016-09-20 Thread Jens Axel Søgaard
Worth a try: Use the html-backend for Scribble and import it in Google Docs. /Jens Axel 2016-09-20 12:54 GMT+02:00 Kathi Fisler : > We have a bunch of exercise handouts (for Bootstrap) in scribble format, > and users who want them as editable Google Docs (for distribution

[racket-users] Has anyone generated Open Office or Google Docs from scribble source?

2016-09-20 Thread Kathi Fisler
We have a bunch of exercise handouts (for Bootstrap) in scribble format, and users who want them as editable Google Docs (for distribution within their school's LMS). Does anyone have a backend for scribble docs that produces a format that can upload as an editable Gdoc? It looks like

[racket-users] Importing untyped class into typed racket

2016-09-20 Thread Sourav Datta
Is it possible to import an untyped class into typed Racket? I know how to require for functions or structs but there seems to be no documentation about classes. Thanks! -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this