Re: [racket-users] Math-quiz program

2022-09-06 Thread 'John Clements' via Racket Users
users mailing list is much less frequently used. https://racket.discourse.group/ John Clements > On Sep 5, 2022, at 07:25, Hrvoje Blazevic wrote: > > I've been working last several months on a GUI math training/understanding > program for my 6 year old daughter who just st

[racket-users] Racket v8.4 released

2022-02-09 Thread 'John Clements' via Racket Users
ing people contributed to this release: Alex Harsányi, Alex Knauth, Alexander Shopov, Alexis King, Andrew Mauer-Oats, Andy Keep, Ayman Osman, Ben Greenman, Bob Burger, Bogdan Popa, Cameron Moy, D. Ben Knoble, Fred Fu, Greg Hendershott, Gustavo Massaccesi, Jamie Taylor, Jarhmander, Jesse Alama, Joel Dueck,

Re: [racket-users] Vectors, boxes and places

2022-02-03 Thread 'John Clements' via Racket Users
Sounds like a good question to me. Perhaps it would make sense to post it to the discourse group, instead? I’m happy to ask on your behalf if you don’t feel like it. https://racket.discourse.group/ John > On Feb 3, 2022, at 5:58 AM, Tim Jervis wrote: > > Dear Racketeers, > > Is there someth

Re: [racket-users] HTDP 2ed Learning resources and solutions to exercises

2021-12-22 Thread 'John Clements' via Racket Users
Solutions for the first edition are available at https://htdp.org/2003-09-26/Solutions/ Also, you will probably find a faster response for questions like this at the racket discourse, https://racket.discourse.group/ (You might even find a pointer to 2e solutions? not sure) Best, John

Re: [racket-users] Discourse - Mailing list mode

2021-12-09 Thread 'John Clements' via Racket Users
>> ocean with sendgrid or mailgun). Receiving email is handled by the 'mail >> receiver container' if you are self hosting. >> >> It was a casual conversation, and I don't know him well. It would be good >> to know if other PL communities have done

Re: [racket-users] Discourse - Mailing list mode

2021-12-08 Thread 'John Clements' via Racket Users
Your points are well taken, and moving away from a traditional mailing list is not a decision that we took lightly; the fact is that we were simply *failing* when it came to moderating the mailing list as run by google groups, and running one through mailman was even worse. It appears that disco

[racket-users] deleting terms of service for discourse group

2021-12-02 Thread 'John Clements' via Racket Users
Following up on feedback from y’all, we’ve deleted the terms of service for the racket discourse group. https://racket.discourse.group/tos Hopefully this (lack of) TOS allays concerns about participation in the discourse group. John -- You received this message because you are subscribed to

Re: [racket-users] Racket Discourse

2021-11-23 Thread 'John Clements' via Racket Users
for about > two weeks now, since RacketCon, and we have about a hundred users. > You’re receiving this message because we’d like to have *YOU* there > as well. > > # Can I still receive messages like a mailing list? > > Yes, you can. I have it enabled myself! >

Re: the end of the [racket-users] mailing list and the migration to Discourse as a forum for Racket

2021-11-22 Thread 'John Clements' via Racket Users
> Discourse here. > > Terms of service: Can't believe I signed my rights away to company_name > without even reading applicable_laws in jurisdiction_here. > > > > > On Mon, Nov 22, 2021 at 9:19 AM Sage Gerard wrote: > Mozilla's notes on their own inst

Re: the end of the [racket-users] mailing list and the migration to Discourse as a forum for Racket

2021-11-22 Thread 'John Clements' via Racket Users
Yes, I believe that replies by email are currently enabled. Here, let me test that. … Oh, yeah… can’t do that, the incoming email address isn’t the one that I send from. Sigh. Perhaps someone else can try this? One thing that I know isn’t set up yet is starting a new topic by email. I know it

Re: [racket-users] Racket Discourse

2021-11-22 Thread 'John Clements' via Racket Users
gt; • Were "rank-and-file" Racket contributors alerted to this change in > advance? Say, in a RacketCon speech? I may have missed it. > • Did a sponsor play any role in this transition? > On 11/22/21 9:49 AM, John Clements wrote: >> I’m actually very heartened

Re: the end of the [racket-users] mailing list and the migration to Discourse as a forum for Racket

2021-11-22 Thread 'John Clements' via Racket Users
I’m … super confused by this message. Did I miss something? I feel like this message has a subtext that I’m completely missing. John > On Nov 22, 2021, at 08:06, Etan Wexler wrote: > > The stewards of Racket have decided that it’s time to give up on the mailing > list (that is, racket-users,

Re: [racket-users] Racket Discourse

2021-11-22 Thread 'John Clements' via Racket Users
I’m actually very heartened to see the boilerplate here; it sounds like this is something we can edit, and not something imposed by Discourse. If that’s the case, then it certainly seems likely that we can find some language (or, more importantly, *lack* of language) that makes more of us happy.

Re: [racket-users] Racket Discourse

2021-11-21 Thread 'John Clements' via Racket Users
Many thanks for your thoughts. I appreciate that your time and inbox space is at a premium, and I’ll try to be careful about posting things to more than one forum. Best, John Clements > On Nov 21, 2021, at 22:53, Sorawee Porncharoenwase > wrote: > > My personal opinion is that

Re: [racket-users] Racket Discourse

2021-11-21 Thread 'John Clements' via Racket Users
ple, FAQs probably should > go to the wiki. There's no need to clutter anyone's inbox for this type of > content. > > On Sun, Nov 21, 2021 at 10:09 AM 'John Clements' via Racket Users > wrote: > TL;DR: Go to > >https://racket.d

[racket-users] Racket Discourse

2021-11-21 Thread 'John Clements' via Racket Users
ist mode'. Yours, John Clements & Stephen De Gabrielle -- 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...@googlegr

Re: [racket-users] How to learn the *core* of Racket?

2021-11-11 Thread 'John Clements' via Racket Users
an immutable ideal. Apologies as always if you knew all this already, John Clements > > On Sunday, November 7, 2021 at 6:53:53 AM UTC+8 david@gmail.com wrote: > Hi Yushuo, > > On Sat, Nov 6, 2021 at 5:33 AM Yushuo Xiao wrote: > I've learned some Racket, and can com

[racket-users] Racket v8.3

2021-11-06 Thread 'John Clements' via Racket Users
i, J. Ryan Stinnett, Jason Hemann, Jay McCarthy, Jesse Alama, Joel Dueck, John Clements, Jonathan Simpson, Kartik Sabharwal, Laurent Orseau, Lehua Ding, Maciej Barć, Marc Burns, Matthew Flatt, Matthias Felleisen, Michael Ballantyne, Mike Sperber, Noah Ma, Paulo Matos, Pavel Panchekha, Philip McGr

Re: [racket-users] How to discover a struct's interface without Dr Racket?

2021-10-29 Thread 'John Clements' via Racket Users
In the text below, you refer to the “public” interface. Can I ask what you mean by “public” in this context? John > On Oct 29, 2021, at 11:16 AM, Brian Beckman wrote: > > I believe that run time will be the most plausible use case. I may write > macros that refer to struct-procedure names at

Re: [racket-users] using neg-propositions in partition?

2021-10-05 Thread 'John Clements' via Racket Users
n` work like you'd want? Based on Alex's last comment > on the issue, it seems hard to give a predicate that matches the type. > > > (Whenever I've wanted `partition` in typed code, I was always able to > use 2 filters instead.) > > On 10/5/21, 'John Cle

[racket-users] using neg-propositions in partition?

2021-10-05 Thread 'John Clements' via Racket Users
I was somewhat surprised to see today that I can’t use a predicate with both positive and negative propositions in the way I would expect with partition: > (:print-type partition) (All (a b) (case-> (-> (-> b Any : #:+ a) (Listof b) (values (Listof a) (Listof b))) (-> (-> a Any) (Listof a

Re: [racket-users] What is the correct name for non-list parenthesized forms?

2021-09-24 Thread 'John Clements' via Racket Users
I think I wouldn’t say “accepts”; I usually reserve this term for functions, but that’s a minor quibble. I think I would call these “clauses”, as in “With-handlers allows the user to specify exception-handling clauses. Each one includes two parts: a predicate, indicating whether blah blah blah,

Re: [racket-users] Bootstrap on Racket

2021-09-04 Thread 'John Clements' via Racket Users
I use Greg Hendershott’s excellent and trouble-free ‘frog’ library. How would your code relate to this? John > On Aug 30, 2021, at 10:57, Dexter Lagan wrote: > > Hi again, > > I've been working on porting my Newstrap Web framework from newLISP to > Racket. I got most of it done and am abou

[racket-users] Racket v8.2

2021-07-18 Thread 'John Clements' via Racket Users
ameron Moy, Crystal Jacobs, Dale Vaillancourt, Diego A. Mundo, Fred Fu, Greg Hendershott, Gustavo Massaccesi, Jack Firth, Jamie Taylor, Jarhmander, Jason Hemann, Jay McCarthy, Jeffrey D. Swan, Jens Axel Søgaard, Jesse Alama, John Clements, Laurent Orseau, Lazerbeak12345, Matthew Flatt, Matthias Felle

Re: [racket-users] Question from a beginner. Why Racket Over Scheme?

2021-07-13 Thread 'John Clements' via Racket Users
Allow me to be very slightly less cautious than Robby: it may not be clear from this text that nearly every BSL program is also a Racket program *and* a Scheme program. If you work through HtDP—or even a part of it—you will be, I claim, both a Scheme and a Racket programmer. (And perhaps also a

Re: [racket-users] Question from a beginner. Why Racket Over Scheme?

2021-07-13 Thread 'John Clements' via Racket Users
Good to hear from you! There are actually a number of different books that I might suggest. In order to best direct you, it might be useful to know something about your programming background? Best, John Clements > On Jul 13, 2021, at 10:13, joseph turco wrote: > > Hello, > >

Re: [racket-users] Racket Slack archive [help wanted]

2021-06-08 Thread 'John Clements' via Racket Users
Hearing about this for the first time, seems like a fantastic idea. 10 seconds of experience: 1) It wasn’t immediately clear to me that the links were the names of channels. It seems painfully obvious to me now, but perhaps it’s worth starting all the names with hashes? 2) Clicking on the chan

Re: [racket-users] student produces absolutely bonkers environment lookup code

2021-05-13 Thread 'John Clements' via Racket Users
Yep, I think that’s probably on the money. I guess this is really a classic example of the problem with writing code using internet search. Many thanks! > On May 7, 2021, at 4:38 PM, Ben Greenman wrote: > > On 5/7/21, Shu-Hung You wrote: >> Not that I have any idea of what's going on, but int

Re: [racket-users] Is there a good Racket DSL alternative to Image Magick?

2021-05-11 Thread 'John Clements' via Racket Users
Racket has the ability to read a variety of different image files. I would go first to 2htdp/image’s “bitmap/file” to read images. “save-image” can write images (but only as png files). I believe there are also an array of lower-level image manipulation functions that are likely to have a less

Re: [racket-users] Racket v8.1

2021-05-09 Thread 'John Clements' via Racket Users
alye, Ben Greenman, Bert De Ketelaere, Bob Burger, > Bogdan Popa, Brian Adkins, Cameron Moy, David Van Horn, Dexter Lagan, > Dominik Pantůček, Fred Fu, Greg Hendershott, Gustavo Massaccesi, Hazel > Levine, Ismael Luceno, Jack Firth, Jarhmander, John Clements, Jörgen > Brandt, Laurent Ors

[racket-users] student produces absolutely bonkers environment lookup code

2021-05-07 Thread 'John Clements' via Racket Users
Background: I teach a PL course, using Shriram’s PLAI. Many of the assignments require students to maintain an environment mapping symbols to values. Shriram illustrates a nice easy way to do this, as a list of two-element structures. You can also use an immutable hash. Fine. So I’m grading a st

Re: [racket-users] Tell require where to find C libraries ?

2021-05-06 Thread 'John Clements' via Racket Users
installation of drracket: - edit /config.rktd to contain (lib-search-dirs . (#f "/opt/local/lib”)) Let me know if I misunderstood your situation! John Clements > On May 6, 2021, at 3:54 AM, krs...@gmail.com wrote: > > > Hi!, > > I am doing: (require taglib) and I g

[racket-users] Racket v8.1

2021-05-05 Thread 'John Clements' via Racket Users
, Brian Adkins, Cameron Moy, David Van Horn, Dexter Lagan, Dominik Pantůček, Fred Fu, Greg Hendershott, Gustavo Massaccesi, Hazel Levine, Ismael Luceno, Jack Firth, Jarhmander, John Clements, Jörgen Brandt, Laurent Orseau, Lazerbeak12345, Matthew Flatt, Matthias Felleisen, Micah Cantor, Mike Sperber

Re: [racket-users] limitation of TR contract translation?

2021-04-30 Thread 'John Clements' via Racket Users
robably make this work, but Typed > Racket should probably avoid this situation. > > Sam > > On Fri, Apr 30, 2021, 2:07 AM 'John Clements' via Racket Users > wrote: > It seems that the conversion of TR types to contracts can result in contracts > like (or/c (co

[racket-users] limitation of TR contract translation?

2021-04-29 Thread 'John Clements' via Racket Users
It seems that the conversion of TR types to contracts can result in contracts like (or/c (cons/c any/c any/c) (cons/c any/c any/c)) that apparently cause errors when run. I’m too tired to do a good job of providing a full example… no, actually, it’s pretty easy. Run this program: #lang racket

Re: [racket-users] Add Link to the racket Discord to the racket website?

2021-04-22 Thread 'John Clements' via Racket Users
This is the second time I’ve heard of matrix.org this week. Time to check it out. John > On Apr 20, 2021, at 1:45 AM, Yury Bulka > wrote: > > Just my 5 cents... > > Recently I had to register on a discord "server" to ask a question > within another community - and the experience was of a hig

Re: [racket-users] Understanding recursion in the function normalize-definition form the racket sources

2021-04-17 Thread 'John Clements' via Racket Users
I’m confused by your assertion that define-values can’t be used recursively. Here’s a program that does this: #lang racket (define-values (fact) (λ (x) (if (= x 0) 1 (* x (fact (sub1 x)) (fact 14) Am I misunderstanding your message? John Clements > On Apr 17, 2021, at 05:02, Dan Sy

Re: [racket-users] Is this a good uninstall then install Racket plan...

2021-04-13 Thread 'John Clements' via Racket Users
What if he has directories that aren’t part of an installed package? That was my concern, and why I suggested manually deleting compiled subdirs. John > On Apr 13, 2021, at 18:58, Philip McGrath wrote: > > On Tue, Apr 13, 2021 at 8:21 PM 'John Clements' via Racket Users &g

Re: [racket-users] Is this a good uninstall then install Racket plan...

2021-04-13 Thread 'John Clements' via Racket Users
would be downloading > version: 7.8) > Does this sound like a plan sound okay? > > I gather from the comments I have received from John Clements, that he > suspects I am having some sort of problem that is motivating the desire to > return to an earlier version > of Racket.

Re: [racket-users] inadvertently upgraded Racket version. Would like to make an older installed version current.

2021-04-13 Thread 'John Clements' via Racket Users
ger is part of the installation, on > the “inside”. > > However, you can certainly have multiple versions of Racket installed at the > same time. > > The details of which one is “active”, and what that word even means, is > highly dependent on what operating system you’r

Re: [racket-users] "You do not have permission to respond to author in this group."

2021-04-13 Thread 'John Clements' via Racket Users
Hmm… that’s a new one to me. It sounds like there’s a setting that can be toggled, I’m not quite sure what the ramifications of toggling that setting would be. John > On Apr 13, 2021, at 1:05 PM, Don Green wrote: > > "You do not have permission to respond to author in this group." > upon clic

Re: [racket-users] inadvertently upgraded Racket version. Would like to make an older installed version current.

2021-04-13 Thread 'John Clements' via Racket Users
operating system you’re using. What operating system are you using? John Clements > On Apr 13, 2021, at 11:29, infodeveloperdon > wrote: > > I inadvertently upgraded Racket version. Would like to make an older > installed version current. > So now when I start DrRacket v8 is cur

Re: [racket-users] Questions Regarding My First Program

2021-02-23 Thread 'John Clements' via Racket Users
automatically indented to the appropriate column. Finally, you can highlight a block of text and hit “tab”, and it will all be re-indented. Is this different from what you’re observing, or from what you’re expecting? John Clements > On Feb 23, 2021, at 4:05 PM, Sage Gerard wrote: > >

Re: [racket-users] New to Racket

2021-02-17 Thread 'John Clements' via Racket Users
Definitely! What’s up? John Clements > On Feb 17, 2021, at 10:36 PM, Rohan Posthumus > wrote: > > Good morning, > > I am new to Racket and want to know where I can ask questions if I do not > understand something. Is this the correct platform? > > Kind reg

Re: [racket-users] Racket v8.0 (!)

2021-02-16 Thread 'John Clements' via Racket Users
.) Let me know if I’ve forgotten any other options! John > On Feb 16, 2021, at 15:27, Hendrik Boom wrote: > > On Tue, Feb 16, 2021 at 12:26:50PM -0500, John Clements wrote: >> Help me out: which platform are you referring to? > > The Linux one that was on everybody's

Re: [racket-users] Racket v8.0 (!)

2021-02-16 Thread 'John Clements' via Racket Users
Help me out: which platform are you referring to? John > On Feb 16, 2021, at 8:10 AM, Hendrik Boom wrote: > > On Sat, Feb 13, 2021 at 09:17:26PM -0500, 'John Clements' via Racket Users > wrote: >> *** Racket 8.0 is here! *** >> >> Racket version 8

[racket-users] Racket v8.0 (!)

2021-02-13 Thread 'John Clements' via Racket Users
, Florian Weimer, Fred Fu, Gustavo Massaccesi, Jack Firth, James Wilcox, Joel Dueck, John Clements, Jonathan Chan, Lîm Tsú-thuàn, Mark, Matthew Flatt, Matthias Felleisen, Michael Ballantyne, Mike Sperber, Paulo Matos, Pavel Panchekha, Peter Zhong, Phil Nguyen, Philip McGrath, Robby Findler, Ryan

Re: [racket-users] requiring a file on windows

2021-02-02 Thread 'John Clements' via Racket Users
In order to allow static compilation, the path in a (file …) require must be a literal string. It sounds like you might be looking for “dynamic-require” ? Apologies if I’m misunderstanding you. John Clements > On Feb 2, 2021, at 3:20 PM, thro...@gmail.com wrote: > > I can't

Re: [racket-users] Does password reset work on pkgs.racket-lang.org?

2021-02-01 Thread 'John Clements' via Racket Users
FWIW, I recall problems like this as well, about four years ago. I think we wound up resetting it manually, at the time. John > On Feb 1, 2021, at 8:48 AM, Jay McCarthy wrote: > > I just checked it and I got an email, but it was put into spam. > > If you can't identify a problem on your side

Re: [racket-users] 32bit linux downloads

2021-01-26 Thread 'John Clements' via Racket Users
I don’t think we were planning on having those. It looks like the last time we made 32-bit binaries available was for version 7.3, in May 2019. John Clements > On Jan 26, 2021, at 5:31 AM, Ed Kademan wrote: > > > Will Racket 8 have 32-bit linux binaries available for download? &g

[racket-users] Racket v7.9.0.900 is available for testing

2021-01-22 Thread 'John Clements' via Racket Users
“BC” (“before chez”) on the pre-release download page. Many thanks! John Clements -- 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-user

Re: [racket-users] Permutations ind Racket

2020-12-16 Thread 'John Clements' via Racket Users
. Specifically: you need purpose statements, input/output specifications, and examples/test cases. These are part of systematic design. I strongly suggest that you take a look at How To Design Programs to understand how to design functions like this methodically! Hope this helps, John Clements

Re: [racket-users] Unusable mail group

2020-11-29 Thread 'John Clements' via Racket Users
It looks to me like there is a “My membership settings” pane in the left of the google groups web interface that allows you to specify the “email used for membership”. I conjecture that this would control the delivery of group e-mails. I also strongly suspect that this will only allow you to cho

Re: [racket-users] compiler books

2020-11-27 Thread 'John Clements' via Racket Users
If you’re specifically interested in 1) Compilers, and 2) Racket, I think it’s hard to do better than Jeremy Siek’s Essentials of Compilation. He comes from the Indiana group, as, indirectly, does just about everything around here, and his approach is very closely related to Dybvig/Chez, inclu

Re: [racket-users] Racket v7.9

2020-11-02 Thread 'John Clements' via Racket Users
version of libedit is included with Racket. Best to everyone, John > On Nov 2, 2020, at 4:10 PM, 'John Clements' via Racket Users > wrote: > > Racket version 7.9 is now available from > >https://racket-lang.org/ > > > * Racket CS may become the

[racket-users] Racket v7.9

2020-11-02 Thread 'John Clements' via Racket Users
Alama, Jin-Ho King, John Clements, Jon Zeppieri, Juan Francisco Cantero Hurtado, Jéssica Milaré, Jörgen Brandt, Laurent Orseau, Leo Uino, Matthew D. Miller, Matthew Flatt, Matthias Felleisen, Michael Lenaghan, Mike Sperber, Mohamed Akram, Neal Alexander, Nick Fitzgerald, Oscar Waddell, Paulo Matos,

Re: [racket-users] FYI, build from HEAD fails in realloc()

2020-10-27 Thread 'John Clements' via Racket Users
tory. > > Sam > > On Tue, Jun 30, 2020 at 4:47 PM 'John Clements' via Racket Users > wrote: >> >> D’oh! Closing the loop on this one… it appears to me that this problem >> occurred after running a “make” (that is, a BC make) in a directory in which >

Re: [racket-users] garbage collection

2020-10-25 Thread 'John Clements' via Racket Users
It depends a lot on what you mean by a “Lisp-y” language. I’m certainly not going to disagree with the sentiments expressed in the stack overflow post that Dan Prager posted… after all, I wrote the top-posted one! You’re asking a question about persuading a co-worker, though. In my opinion, the

[racket-users] Re: [racket-dev] RacketCon is next weekend!

2020-10-09 Thread 'John Clements' via Racket Users
Just checked out the gather space. It looks very cool. How about some easter eggs? John > On Oct 9, 2020, at 7:07 AM, Jay McCarthy wrote: > > To the friends and followers of Racket, > > You have produced thousands of commits since last Con. You have honored your > ancestors and brought glory

Re: [racket-users] package manager woes on Windows 10?

2020-09-15 Thread 'John Clements' via Racket Users
I have a question about the new behavior. (ObResearch: actually, I checked the drracket, racket, and gui repos, and I couldn’t find any new push, so I couldn’t check the code myself.) Does it simply strip newlines, as Jack suggested, or does it signal an error? The latter seems less likely to

Re: [racket-users] package manager woes on Windows 10?

2020-09-10 Thread 'John Clements' via Racket Users
Shriram, have you ruled out the classic multi-paste prolem? It looks very much like that’s what you’re seeing here. That is, if you paste a string that ends with a newline into the “do what I mean” box, it will appear still to be blank. So you paste it again. So you paste it again. Eventually y

Re: [racket-users] Advice for beginner

2020-09-08 Thread 'John Clements' via Racket Users
Can you be more specific? Are there particular programs that you can point to? I think the solution to your problem is going to depend a bit on the kind of slowdowns that you’re seeing. Best, John Clements > On Sep 7, 2020, at 05:04, Denis Maier wrote: > > > Hi, > > I&

[racket-users] slideshow -> google slides?

2020-08-06 Thread 'John Clements' via Racket Users
Has anyone here developed a reasonable workflow for exporting slideshow presentations to google slides? It appears that google slides cannot import PDFs or SVGs. It looks like it has support for importing PPT files, unsurprisingly, but AFAIK slideshow won’t export ppt files. I have no idea how

Re: [racket-users] Racket v7.8

2020-08-04 Thread 'John Clements' via Racket Users
gt; Brown, and Dionna Amalie Glaze. Many thanks for their help! > > John Clements > > > On Aug 3, 2020, at 09:35, John Clements wrote: > > > > Racket version 7.8 is now available from > > > > https://racket-lang.org/ > > > > > > * Ra

[racket-users] Re: Racket v7.8

2020-08-03 Thread 'John Clements' via Racket Users
This release announcement mistakenly omitted two important contributors: Tim Brown, and Dionna Amalie Glaze. Many thanks for their help! John Clements > On Aug 3, 2020, at 09:35, John Clements wrote: > > Racket version 7.8 is now available from > >https://

[racket-users] Racket v7.8

2020-08-03 Thread 'John Clements' via Racket Users
Yeung, Bert De Ketelaere, Bogdan Popa, David Christiansen, David Florness, Diego Crespo, Fred Fu, Gary Baumgartner, Georges Dupéron, Gustavo Massaccesi, J. Ian Johnson, Jack Firth, Jay McCarthy, Jens Axel Søgaard, Jesse Alama, John Clements, Laurent Orseau, Leif Andersen, Luka Hadži-Đokić, Marc, Ma

Re: [racket-users] with-continuation-marks in errortrace

2020-07-27 Thread 'John Clements' via Racket Users
Let me jump in here and say a few things that maybe everyone already knows :). The stepper’s annotation places a *ton* of annotation on a computation, and allows the reconstruction of the full computation. Errortrace does less, and provides less. The both share a goal of allowing the programmer

Re: [racket-users] note about parsing speed of xml vs sxml?

2020-07-01 Thread 'John Clements' via Racket Users
Ryan, I just tested your pull request, and… it doesn’t make much difference in my example. One important thing that I realize that I *totally neglected* to mention is that I’m running CS racket here, not BC. Based on my experiments, it appears that 1) CS is much faster than BC for both xml(re

Re: [racket-users] FYI, build from HEAD fails in realloc()

2020-06-30 Thread 'John Clements' via Racket Users
sue? > > Thanks, > > Paulo Matos > > 'John Clements' via Racket Users writes: > >> Bang! I was wrong. Here’s another similar trace: >> >> raco setup: 6 running: >> /pfds/pfds/scribblings/functional-data-structures.scrbl >> raco setup: 4

[racket-users] note about parsing speed of xml vs sxml?

2020-06-26 Thread 'John Clements' via users-redirect
I’m parsing a large-ish apple plist file, (18 megabytes), and I find that the built-in xml parsing (read-xml) takes about five times as long as the sxml version (11 seconds vs 2.4 seconds on my machine), and that the plist parser is way longer, at 18 seconds. Would anyone object if I added a ma

[racket-users] Sound scrubbing with rsound

2020-06-15 Thread 'John Clements' via Racket Users
t file, to convince yourself that something like this is possible. 3) Write your own program using the pstream interface to implement a scrubber. Let me know if you run into problems! John Clements -- You received this message because you are subscribed to the Google Groups "Racket U

Re: [racket-users] Finite state machine

2020-05-28 Thread 'John Clements' via Racket Users
Good to hear from you! Unfortunately, it’s going to be really hard to help you without more information. Can you give us some context on what your goal is, here? Is this part of a class? Your problem seems very under-specified. John > On May 27, 2020, at 8:53 PM, Med Ra wrote: > > Dear All,

Re: [racket-users] Migrating from a "model-driven" language framework to Racket

2020-05-26 Thread 'John Clements' via Racket Users
Okay, I could just be putting my foot in my mouth, here, but it sounds like you’re describing the kinds of things that are typically done by a type-checker. Have you considered adding a type-checking pass? It would contain an environment that maps names like “h1” to “types” that indicate that h1

Re: [racket-users] Migrating from a "model-driven" language framework to Racket

2020-05-25 Thread 'John Clements' via Racket Users
> ... > So far, I have made two attempts to work around these issues: (1) by creating > a metamodel-like data structure using Racket structs, and transforming syntax > objects into struct instances; or (2) using syntax objects only and attaching > context data to each of them as a syntax proper

Re: [racket-users] running Racket inside gradescope

2020-05-19 Thread 'John Clements' via Racket Users
100% yes but no. I am a long-time gradescope user, and I’ve been very happy with it. However, my usage has been entirely with scanned paper exams. I like the work that Gradescope has been doing, but I haven’t engaged with any of their tools beyond the paper-scanning ones, so I definitely don’t h

[racket-users] "Concolic Testing with Higher-Order Inputs"

2020-05-18 Thread 'John Clements' via users-redirect
Am I the first one to post about this? Looks like Robby’s giving a talk for the Chalmers online functional programming seminar series! http://chalmersfp.org/ (and yes, this URL is non-ssl only, sigh) Date: June 15th, 7am PDT / 10am EDT / 1400 UTC / 16:00 CEST Title: “Concolic Testing with High

[racket-users] I should probably stop ignoring this internal error on startup

2020-05-05 Thread 'John Clements' via Racket Users
I think I maybe get this error every time I start up. Is this normal? I tried moving all prefs files aside to see if it was a configuration error, and … same thing. In fact, even when I go into the three listed directories (pkgs/algol60, collects/racket, collects/syntax/parse/lib) and delete al

[racket-users] Racket v7.7

2020-05-02 Thread 'John Clements' via Racket Users
Fred Fu, Greg Hendershott, Gustavo Massaccesi, Ilnar Salimzianov, Jack Firth, James Bornholt, Jay McCarthy, Jens Axel Søgaard, Jesse Alama, John Clements, Jon Zeppieri, Kartik Singhal, Laurent Orseau, Leo Shen, Luka Hadži-Đokić, Matthew Butterick, Matthew Flatt, Matthias Felleisen, Mike Sperber, No

Re: [racket-users] FrTime magic updating seconds

2020-04-28 Thread 'John Clements' via Racket Users
Wait! I got it! I forgot. It’s not hash-lang. I have to choose the language via the “choose language…” menu. Sorry for the noise, folks. John > On Apr 28, 2020, at 3:28 PM, 'John Clements' via Racket Users > wrote: > > Okay, I have several things to say about Fathe

[racket-users] FrTime magic updating seconds

2020-04-28 Thread 'John Clements' via Racket Users
Okay, I have several things to say about Father Time. Thing one: running through these demos (frtime/demos) is kind of astonishing. There just doesn’t seem to be enough code for it to do what it’s doing. The father time programs are *incredibly* concise distillations of behavior. The ball-pushi

Re: [racket-users] New week, new Racket! What are you folks up to?

2020-04-22 Thread 'John Clements' via Racket Users
CRAPL-licensed starter kit as a package. John Clements > On Apr 19, 2020, at 10:04 AM, Stephen De Gabrielle > wrote: > > New week, new Racket! What are you folks up to? > > Answer here or on > - https://racket.slack.com/ (Sign up at https://racket-slack.herokuapp.com/

Re: [racket-users] Typed version of sxml?

2020-04-21 Thread 'John Clements' via Racket Users
Are you asking because you’d like your own code using SXML to be typed, or because you’d like the sxml implementation to be typed? I think another way of asking this is: are you worried about bugs in your code, or about bugs in Oleg’s code? I think that rewriting the sxml library into TR would b

Re: [racket-users] visit a sequence of files

2020-04-21 Thread 'John Clements' via Racket Users
p > you with the aesthetics, sorry. > > On Tue, Apr 21, 2020 at 4:38 PM John Clements > wrote: > Well, sure… once you open all the files. Opening all the files is the painful > part. Also, the display of tabs is not totally great when you have sixty or > seventy of them open. Sorr

Re: [racket-users] visit a sequence of files

2020-04-21 Thread 'John Clements' via Racket Users
t window: Cmd + > > On Tue, Apr 21, 2020 at 4:29 PM 'John Clements' via Racket Users > wrote: > Here’s a question I have about both DrRacket and Emacs. It often happens in > my workflow (grading files, for instance) that I want to set up a list of > files, and then have

[racket-users] visit a sequence of files

2020-04-21 Thread 'John Clements' via Racket Users
Here’s a question I have about both DrRacket and Emacs. It often happens in my workflow (grading files, for instance) that I want to set up a list of files, and then have an easy way to move forward or back in that list (“next file”, “previous file”). I see that emacs has a function called “next

Re: [racket-users] New to racket, help with coursework question

2020-04-19 Thread 'John Clements' via Racket Users
of (vector-ref months x). To be more concrete, suppose I tell you the year is 2234 and the month is 4 and the result of (vector-ref months x) is 30. How many days would that month have? Can you explain how to compute the answer for each of the test cases below? John Clements > On Apr 19, 2

[racket-users] http basic auth needed for github

2020-04-01 Thread 'John Clements' via Racket Users
Relevance: our build scripts make automated queries to GitHub. Historically, GitHub has allowed authentication using query parameters; both a user token and a client user/password pair could be specified as part of the URL. It now appears that this is being deprecated, per https://developer.git

Re: [racket-users] auto-indentation... off by one^H^H^Hsome?

2020-03-21 Thread 'John Clements' via Racket Users
Many thanks! Should I cancel my pull request? John > On Mar 21, 2020, at 18:34, Robby Findler wrote: > > I've pushed something so that racket:text% will indent better when it > doesn't have a display. > > Robby > > On Fri, Mar 20, 2020 at 4:32 PM John Clem

Re: [racket-users] trace facility in Racket?

2020-03-21 Thread 'John Clements' via Racket Users
o leave the trace statements in and use a > conditional when delivering production code. > > >> On Mar 21, 2020, at 2:27 PM, John Clements wrote: >> >> It sounds like you’re looking for a way to have the trace inserted for you >> by a debugging tool, so you don’t

Re: [racket-users] trace facility in Racket?

2020-03-21 Thread 'John Clements' via Racket Users
It sounds like you’re looking for a way to have the trace inserted for you by a debugging tool, so you don’t have to remember to take it out again later. This wouldn’t be hard to do, but (as far as I know) no one’s taken the time to do it. John > On Mar 21, 2020, at 8:43 AM, Nicholas Papadonis

Re: [racket-users] FYI, build from HEAD fails in realloc()

2020-03-20 Thread 'John Clements' via Racket Users
ake[1]: *** [plain-in-place] Error 2 make: *** [in-place] Error 2 make 240.77s user 75.70s system 398% cpu 1:19.32 total > On Mar 20, 2020, at 3:11 PM, 'John Clements' via Racket Users > wrote: > > Here’s the tail of a build of racket HEAD that just failed during a call to > rea

[racket-users] FYI, build from HEAD fails in realloc()

2020-03-20 Thread 'John Clements' via Racket Users
Here’s the tail of a build of racket HEAD that just failed during a call to realloc(). I went back far enough to be sure I had a full record of what was running on cores 0-7. I strongly suspect this is not reproducible, and I don’t think there’s any further information that would be useful her

Re: [racket-users] auto-indentation... off by one^H^H^Hsome?

2020-03-20 Thread 'John Clements' via Racket Users
Made a pull request, many thanks! John > On Mar 20, 2020, at 1:36 PM, Robby Findler wrote: > > Looks right to me! > > On Fri, Mar 20, 2020 at 3:26 PM John Clements > wrote: > Could I add a note like this to the docs for the indentation function? > > “NB: indent

Re: [racket-users] auto-indentation... off by one^H^H^Hsome?

2020-03-20 Thread 'John Clements' via Racket Users
t not actually be accurate… John > On Mar 20, 2020, at 1:16 PM, John Clements wrote: > > Ah! this solves the issue. many thanks. > >> On Mar 20, 2020, at 1:03 PM, Robby Findler wrote: >> >> Looks like you need a display or the text gets confused about how big &

Re: [racket-users] auto-indentation... off by one^H^H^Hsome?

2020-03-20 Thread 'John Clements' via Racket Users
7;framework:tabify > (list table rx1 rx2 rx3 rx4)) > (send t tabify-all) > (send t get-text))) > (values untabbed tabbed lambda-tabbed))) > > On 3/20/20 3:12 PM, ‘John Clements’ via Racket Users wrote: > > > >> That

Re: [racket-users] auto-indentation... off by one^H^H^Hsome?

2020-03-20 Thread 'John Clements' via Racket Users
[label ""])) > (define t (new racket:text%)) > (define ec (new editor-canvas% [parent f] [editor t])) > (send t insert "(+3\n4)") > (send t freeze-colorer) > (send t tabify-all) > (display (send t get-text)) > > On Fri, Mar 20, 2020 at 2:1

[racket-users] Re: auto-indentation... off by one^H^H^Hsome?

2020-03-20 Thread 'John Clements' via Racket Users
? (cc:ing racket-users without permission, hope that’s okay?) John > On Mar 20, 2020, at 12:05 PM, John Clements wrote: > > Ah! That’s probably a better solution, I’ll just do that. I searched for > “indent”, should I try to add that as a search term for the “tabify-all” > me

[racket-users] Test message sent to racket-users@googlegroups.com

2020-03-20 Thread 'John Clements' via Racket Users
Please ignore, thanks. -- 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. To view this discussion on the web visit htt

[racket-users] graphql library?

2020-03-14 Thread 'John Clements' via users-redirect
Uh oh… another protocol! Has anyone done any work on a GraphQL client library in Racket? https://graphql.org/code/#graphql-clients John -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails f

Re: [racket-users] re-run really fast!

2020-03-11 Thread 'John Clements' via users-redirect
spiky green ball to know when it will > work). It doesn't work in error trace mode tho. > > Could that be it? > > Robby > > On Thu, Mar 5, 2020 at 12:25 AM 'John Clements' via users-redirect > wrote: > Okay, I’m probably under a rock and just haven’t

  1   2   3   4   5   6   7   8   9   10   >