Re: [racket-users] Is there a function to find and update all compiled directories?

2020-11-01 Thread George Neuner
On 11/1/2020 9:20 PM, Sam Tobin-Hochstadt wrote: On Sun, Nov 1, 2020, 9:11 PM George Neuner > wrote: On 11/1/2020 6:50 PM, Shu-Hung You wrote: > Using the command-line instruction `raco setup` will update all > obsolete bytecodes. If you are looking f

Re: [racket-users] Is there a function to find and update all compiled directories?

2020-11-01 Thread Sam Tobin-Hochstadt
On Sun, Nov 1, 2020, 9:11 PM George Neuner wrote: > > On 11/1/2020 6:50 PM, Shu-Hung You wrote: > > Using the command-line instruction `raco setup` will update all > > obsolete bytecodes. If you are looking for a programmable interface, > > `compiler/cm` is a good starting point. > > Note that "r

Re: [racket-users] Is there a function to find and update all compiled directories?

2020-11-01 Thread George Neuner
On 11/1/2020 6:50 PM, Shu-Hung You wrote: Using the command-line instruction `raco setup` will update all obsolete bytecodes. If you are looking for a programmable interface, `compiler/cm` is a good starting point. Note that "raco setup" rebuilds *only* Racket's own modules and installed ext

Re: [racket-users] Should I enter racket questions here: https://groups.google.com/g/racket-users

2020-11-01 Thread Sorawee Porncharoenwase
You can certainly ask questions here, but please keep in mind that it is also a mailing list. If you have many related questions, it would be nice to create only one thread to ask all related questions, to avoid spamming emails to the mailing list recipients. Another place to ask questions is Slac

Re: [racket-users] Is there a function to find and update all compiled directories?

2020-11-01 Thread Shu-Hung You
Using the command-line instruction `raco setup` will update all obsolete bytecodes. If you are looking for a programmable interface, `compiler/cm` is a good starting point. On Sun, Nov 1, 2020 at 5:43 PM infodeveloperdon wrote: > > I've never had problems with the .zo files being auto-created dur

[racket-users] Is there a function to find and update all compiled directories?

2020-11-01 Thread infodeveloperdon
I've never had problems with the .zo files being auto-created during development, only when update the Racket version because of course then a new compiler is involved. If I am remembering correctly, any time I've had issues with the compiled files, I've resolved them by deleting the compiled d

Re: [racket-users] Which action should I take: (a) go back to using Racket v.7.7 or (b) resolve issues.

2020-11-01 Thread George Neuner
On 11/1/2020 5:10 PM, infodeveloperdon wrote: I'm nervous. After installing racket version 7.8 on linux (Ubuntu) at a time when I really should not have done only because I'm in the middle of development and would much prefer to change the version at a later date.  The installation did not go

Re: [racket-users] After installing new racket version it seems that I need to find and delete all 'compiled' dirs...

2020-11-01 Thread George Neuner
On 11/1/2020 4:37 PM, infodeveloperdon wrote: How do I avoid the auto-creation of the 'compiled' directory which currently occurs every time I create a module? If you're using DrRacket, it's an option:  under "Language -> Choose Language ..." Select the Racket language and press "Show Detail

Re: [racket-users] After installing new racket version it seems that I need to find and delete all 'compiled' dirs...

2020-11-01 Thread Robby Findler
On Sun, Nov 1, 2020 at 4:12 PM George Neuner wrote: > > On 11/1/2020 4:45 PM, Robby Findler wrote: > > It is true that running just "racket x.rkt" will not notice some > > situations where your .zo files are wrong and thus lead to the bad > > behavior George describes below but I find it quite ha

Re: [racket-users] After installing new racket version it seems that I need to find and delete all 'compiled' dirs...

2020-11-01 Thread George Neuner
On 11/1/2020 4:45 PM, Robby Findler wrote: It is true that running just "racket x.rkt" will not notice some situations where your .zo files are wrong and thus lead to the bad behavior George describes below but I find it quite handy to use .zo files during development, as they can speed thing

[racket-users] Which action should I take: (a) go back to using Racket v.7.7 or (b) resolve issues.

2020-11-01 Thread infodeveloperdon
I'm nervous. After installing racket version 7.8 on linux (Ubuntu) at a time when I really should not have done only because I'm in the middle of development and would much prefer to change the version at a later date. The installation did not go without a hitch this time, meaning the problem

Re: [racket-users] After installing new racket version it seems that I need to find and delete all 'compiled' dirs...

2020-11-01 Thread Robby Findler
It is true that running just "racket x.rkt" will not notice some situations where your .zo files are wrong and thus lead to the bad behavior George describes below but I find it quite handy to use .zo files during development, as they can speed things up considerably depending on what's happening i

Re: [racket-users] After installing new racket version it seems that I need to find and delete all 'compiled' dirs...

2020-11-01 Thread infodeveloperdon
How do I avoid the auto-creation of the 'compiled' directory which currently occurs every time I create a module? Don On Sunday, November 1, 2020 at 2:27:57 PM UTC-7 gneuner2 wrote: > > On 11/1/2020 11:34 AM, infodeveloperdon wrote: > > so that when I run Racket it recreates the 'compiled' direc

Re: [racket-users] After installing new racket version it seems that I need to find and delete all 'compiled' dirs...

2020-11-01 Thread George Neuner
On 11/1/2020 11:34 AM, infodeveloperdon wrote: so that when I run Racket it recreates the 'compiled' directories using the latest compiler. Or is there a better way? Yeah ... don't use 'compiled' directories for development - they can get out of sync and screw up your debugging. They real

Re: [racket-users] Where to specify a previously installed racket version or...

2020-11-01 Thread George Neuner
On 11/1/2020 11:15 AM, infodeveloperdon wrote: Where to specify a previously installed racket version or... is the only way to change back from version 7.8 to 7.7 to re-install version 7.7? You can install multiple versions in parallel as long as they are kept aprat in separate directory hi

[racket-users] Should I enter racket questions here: https://groups.google.com/g/racket-users

2020-11-01 Thread infodeveloperdon
Should I enter racket questions here: https://groups.google.com/g/racket-users -- 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...@googleg

[racket-users] Re: Help implementing an early return macro

2020-11-01 Thread George Neuner
On Sat, 31 Oct 2020 03:25:32 -0700 (PDT), "jackh...@gmail.com" wrote: >Wow, these are a lot of great responses. First of all, *awesome* job Ryan. >That implementation is exactly what I needed to figure out. I'm definitely >starting there first. > >> Are you looking for `let/ec`? > >I'd forgotte

Re: [racket-users] multi line scribble text body in web-server template

2020-11-01 Thread krs...@gmail.com
This is so cool, thank you both! So my quick fix is: @when[#t]{ @list{ line1 line2 line3 } } And I have been using that Iteration Gotchas code, but I was using it blindly. Now I can reason thru it better. On Sunday, November 1, 2020 at 12:41:22 PM UTC-5 jay.mc...@gmail.com wrote: > This sec

Re: [racket-users] multi line scribble text body in web-server template

2020-11-01 Thread Jay McCarthy
This section of the documentation discusses a similar issue that may help you: https://docs.racket-lang.org/web-server/templates.html?q=web%20server#%28part._.Gotchas__.Iteration%29 -- Jay McCarthy Associate Professor @ CS @ UMass Lowell http://jeapostrophe.github.io Vincit qui se vincit. On Su

Re: [racket-users] multi line scribble text body in web-server template

2020-11-01 Thread Ben Greenman
Thats the nor On 11/1/20, krs...@gmail.com wrote: > > Hi!, > > I am using web-server/templates > . > I am confused why this just displays the last line?: > > @when[#t]{ > first > second > } That's normal "when" behavior ```

[racket-users] multi line scribble text body in web-server template

2020-11-01 Thread krs...@gmail.com
Hi!, I am using web-server/templates . I am confused why this just displays the last line?: @when[#t]{ first second } I including html only when a user is logged in, and my issue can be distilled to the above template synt

[racket-users] After installing new racket version it seems that I need to find and delete all 'compiled' dirs...

2020-11-01 Thread infodeveloperdon
so that when I run Racket it recreates the 'compiled' directories using the latest compiler. Or is there a better way? -- 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 ema

[racket-users] Where to specify a previously installed racket version or...

2020-11-01 Thread infodeveloperdon
Where to specify a previously installed racket version or... is the only way to change back from version 7.8 to 7.7 to re-install version 7.7? -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving ema