Re: [racket-users] The case, and a proposal, for elegant syntax in #lang racket2

2019-07-15 Thread Jack Rosenthal
On Mon, 15 Jul 2019 at 08:47 -0400, Hendrik Boom wrote: > On Mon, Jul 15, 2019 at 01:22:20PM +0100, Jack Rosenthal wrote: > > One of my gripes from writing and reading (reviewing) C code on a daily > > basis is that I have a hard time remembering the precedence of the > > op

Re: [racket-users] The case, and a proposal, for elegant syntax in #lang racket2

2019-07-15 Thread Jack Rosenthal
I think you make valid points, I just wanted to provide an alternate opinion... On Sun, 14 Jul 2019 at 13:44 -0400, Christopher Lemmer Webber wrote: > - The challenge with s-expressions is largely in anxiety with something >that looks extremely alien. I suspect there's more fear from >in

Re: [racket-users] Racket development on ARM

2019-05-15 Thread Jack Rosenthal
On Wed, 15 May 2019 at 18:25 -0400, James Platt wrote: > I'm looking at the idea of writing Racket code on an ARM device. > Specifically, I have a tablet, which shipped with Android, with an external > keyboard. I have a few questions but I think I should start with the most > fundamental.

Re: [racket-users] finding the package that a function is defined in

2019-04-27 Thread Jack Rosenthal
If you're looking for a way to speed up your workflow, if you use racket-mode in Emacs, you can press "C-c C-." with the symbol in question at point, and you'll get a handy search page with this in your browser: contract-out provided from racket/contract/base, racket/contract, racket "provided f

Re: [racket-users] Claim free Discourse hosting for open source projects?

2019-03-27 Thread Jack Rosenthal
On Tue, 26 Mar 2019 at 21:00 -0700, jestar...@gmail.com wrote: > https://blog.discourse.org/2018/11/free-hosting-for-open-source-v2/ > > A lot of open source projects are transitioning to Discourse from > google groups. Discourse is an open source discussion platform and it > seems that Racket qua

Re: [racket-users] issue tracker for course management?

2019-02-14 Thread Jack Rosenthal
On Thu, 14 Feb 2019 at 18:14 -0500, 'John Clements' via Racket Users wrote: > Here’s the question: Do any of you that run classes with multiple > instructors/TAs/etc. use some kind of issue tracker to manage course > issues? Ideally, it would be possible for students to submit issues > but not to s

[racket-users] modules as a data format

2019-02-03 Thread Jack Rosenthal
Hi Racketeers, I've got what seems like a common way to use a #lang, make the #%module-begin provide a certain name and use a local-require to get the contents. I'm using Jens Axel's urlang and including the compiled JavaScript in some Xexpressions later on. Here's how I've set up my #%module-begi

Re: [racket-users] Beginning of the end for googlegroups?

2019-01-25 Thread Jack Rosenthal
On Fri, 25 Jan 2019 at 23:59 +0100, 'Paulo Matos' via Racket Users wrote: > Not sure of the size of the mailing list but I wonder if this is the > beginning of the end and we should have instead a plan B. We could always go back to Mailman... Or, if someone started working on a Racket-based alter

Re: [racket-users] ann: forms

2019-01-21 Thread Jack Rosenthal
> Documentation: http://docs.racket-lang.org/forms/index.html > Source code: https://github.com/Bogdanp/racket-forms Bogdan, That looks really cool! I'll have to make use of it in a future project ;) Thanks for sharing! -- Jack M. Rosenthal http://jack.rosenth.al Be kind to everyone that you

Re: [racket-users] Collections and data structures wishlist?

2019-01-19 Thread Jack Rosenthal
On Fri, 18 Jan 2019 at 14:22 -0800, jackhfi...@gmail.com wrote: > When it comes to collections and data structures, what would you all like > to see in Racket2? New APIs? Changes to existing APIs? Whole new paradigms? > Something else? Maybe you'll need to clarify what Racket2 is? I am not familia

Re: [racket-users] My gmail auto receives new top-level entries from [Racket Users] but not reply entries...

2019-01-15 Thread Jack Rosenthal
On Tue, 15 Jan 2019 at 15:04 -0800, infodeveloperdon wrote: > Can anyone advise how I might begin to configure somewhere so that I > receive all reply entries in addition to the top-level entries that I > currently receive in my gmail account? I have this list set up on my own personal mail server

Re: [racket-users] Racket-openCV package use?7

2019-01-15 Thread Jack Rosenthal
On Sat, 12 Jan 2019 at 16:30 +, Stephen De Gabrielle wrote: > Hi > > Can can anyone point me to any package or other Racket code that uses the > Racket OpenCV package ? > > https://github.com/oetr/racket-opencv There is the "tutorials" directory in that repository (but this might be obvious;

Re: [racket-users] Help understanding cond expression

2019-01-12 Thread Jack Rosenthal
On Sat, 12 Jan 2019 at 21:12 -0800, Hassan Shahin wrote: > When I apply the procedure to 'John it will evaluate to 'symbol. The idea > of the procedure is to check the "type" of the given item, which is not > decided aprior. If I give it 'John I know it is a symbol. > May be my question should be

Re: [racket-users] Long live SDRAW.LISP -- in Racket pict!

2019-01-03 Thread Jack Rosenthal
Thanks Jens Axel! I think your metapict library is very cool --- I will have to play with it a bit more in the future. I linked your code in my GitHub README as a potential alternative. I made substantial improvements to my code, and it's a Racket package now (raco pkg install sdraw), complete wi

Re: [racket-users] Escaping strings for the shell

2018-12-28 Thread Jack Rosenthal
On Fri, 28 Dec 2018 at 23:09 -0500, David Storrs wrote: > I am using 'system' to offload some work onto wget and other > applications in a few one-off scripts. Is there an easy way to escape > a string so it's suitable for usage in the shell? Things like > backwhacking all the quotes and relevant

[racket-users] Long live SDRAW.LISP -- in Racket pict!

2018-12-28 Thread Jack Rosenthal
Greetings Racketeers, In case you are not familiar with the SDRAW program from Touretzky's "Common Lisp: A Gentle Intro to Symbolic Computation", it is a program which draws cons-cell diagrams in an X-window using CLX. The program is pretty dated, and getting it up and running on a modern machine

Re: [racket-users] Reasons not to use match or define/match?

2018-12-17 Thread Jack Rosenthal
On Mon, 17 Dec 2018 at 07:58 -0800, Will Jukes wrote: > After learning more Haskell I've been playing around with match and > define/match, and I'm wondering if there's any particular reason to > prefer more traditional Scheme forms over match (I vastly prefer match > in most cases). Glancing at th

Re: [racket-users] The performance of ‘set’ vs. lists+‘remove-duplicates’

2018-12-04 Thread Jack Rosenthal
On Tue, 04 Dec 2018 at 15:50 -0500, 'Leandro Facchinetti' via Racket Users wrote: > I rewrote a codebase that was using ‘set’s to use lists that I > ‘remove-duplicates’ whenever I ‘cons’. The result is orders of > magnitude faster. Do you have any idea why? Why not member before cons? I imagine