Re: [racket-users] Why does my package have no build status?

2018-10-04 Thread David Storrs
On Thu, Oct 4, 2018 at 9:34 AM Greg Hendershott 
wrote:

> > As to the dependency, there's no reason that people need to have
> handy/test-more (the testing framework I use for struct-plus-plus)
> installed in order to use the module.
>
> Would it help to put `handy` in `build-deps` instead of `deps`?
>

I could do that but it's only using handy/test-more and the build server is
going to have no idea what to do with test-more tests as opposed to
rackunit tests.

What I suppose I could do is make test-more run a rackunit test at the end
that verifies no tests failed so that the build server could do something
useful with it.  Will the build server care if there is STDOUT ouput from
the tests?



>
> > It's not clear to me how to use compile-omit-files in an info.rkt file.
> Are there examples I could look at?
>
> Near the bottom of https://docs.racket-lang.org/raco/setup-info.html
> where the compile-* options are mentioned, it links to the docs for
> `compile-collection-zos` where there's more explanation:
>

Doh.  I went through that page, but clearly not carefully enough.  Thanks
for the pointer.



>
> https://docs.racket-lang.org/raco/API_for_Raw_Compilation.html#%28def._%28%28lib._compiler%2Fcompiler..rkt%29._compile-collection-zos%29%29
>
>
> As for usage examples: I usually grep the Racket source and/or use
> GitHub search:
>
>   https://github.com/search?=Codel=Racket=compile-omit-paths
>
> [ In fact I should probably make that into a little Emacs command that
> prompts for the last query parameter then does `browse-url`. :) ]
>

-- 
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.
For more options, visit https://groups.google.com/d/optout.


[racket-users] add set-subset?

2018-10-04 Thread 'John Clements' via Racket Users
It seems strange to me that we have (AFAICT) set-union, set-subtract, and 
set-member?, but not set-subset?. Would it make sense for me to propose a pull 
request for this? (it would just be (set-empty? (set-subtract b a)), I realize…)

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 from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [racket-users] add set-subset?

2018-10-04 Thread 'John Clements' via Racket Users
D’oh! It’s just called subset?

Sorry,

John


> On Oct 4, 2018, at 11:16 AM, 'John Clements' via Racket Users 
>  wrote:
> 
> It seems strange to me that we have (AFAICT) set-union, set-subtract, and 
> set-member?, but not set-subset?. Would it make sense for me to propose a 
> pull request for this? (it would just be (set-empty? (set-subtract b a)), I 
> realize…)
> 
> 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 from it, send an 
> email to racket-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.



-- 
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.
For more options, visit https://groups.google.com/d/optout.


Re: [racket-users] add set-subset?

2018-10-04 Thread David Storrs
I am so glad that I'm not the only one who does this.

On Thu, Oct 4, 2018 at 2:16 PM 'John Clements' via Racket Users <
racket-users@googlegroups.com> wrote:

> D’oh! It’s just called subset?
>
> Sorry,
>
> John
>
>
> > On Oct 4, 2018, at 11:16 AM, 'John Clements' via Racket Users <
> racket-users@googlegroups.com> wrote:
> >
> > It seems strange to me that we have (AFAICT) set-union, set-subtract,
> and set-member?, but not set-subset?. Would it make sense for me to propose
> a pull request for this? (it would just be (set-empty? (set-subtract b a)),
> I realize…)
> >
> > 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 from it, send
> an email to racket-users+unsubscr...@googlegroups.com.
> > For more options, visit https://groups.google.com/d/optout.
>
>
>
> --
> 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.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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.
For more options, visit https://groups.google.com/d/optout.


Re: [racket-users] package for the RacketCon 2018 web devel workshop

2018-10-04 Thread Jesse Alama

On 4 Oct 2018, at 15:10, Cam wrote:


Was this workshop video-recorded? Can we expect to see it on the
`racketlang' YouTube channel?


I believe the workshops weren't recorded.

One of the workshop attendees had the great idea of using gitter.im to 
facilitate live discussion, as well as make a transcript available 
afterwards (though you may find the written record somewhat incomplete, 
since we were often clarifying things verbally and face-to-face, in 
addition to using the chat). See


  https://gitter.im/racketon-web-devel-workshop/Lobby

(Getting into the "room" may be a bit fussy; let me know if you need 
help.)


I intend to polish the code and notes (that is, the package docs). If 
there's any topic that you're especially interested in, I'm happy to 
help; you're welcome to write to me privately, if you wish, with 
questions.


--
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.
For more options, visit https://groups.google.com/d/optout.


Re: [racket-users] add set-subset?

2018-10-04 Thread Ben Greenman
How about a pull request that redirects searches for "set-subset?" to
the `subset?` function?

-- 
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.
For more options, visit https://groups.google.com/d/optout.


Re: [racket-users] package for the RacketCon 2018 web devel workshop

2018-10-04 Thread Sage Gerard
Hey all,

Thanks again for the workshop, Jesse!

After setting up the room I went ahead and escalated use of chats to Jay
for next year.
We should be able to get something relatively more complete by then.

The transcript is only really necessary if you specifically need the text
file, and it's near
the bottom of the chat. It may be hard to see since Gitter just displays
the uploaded file as
a vanilla link.

On Thu, Oct 4, 2018 at 2:42 PM Jesse Alama  wrote:

> On 4 Oct 2018, at 15:10, Cam wrote:
>
> > Was this workshop video-recorded? Can we expect to see it on the
> > `racketlang' YouTube channel?
>
> I believe the workshops weren't recorded.
>
> One of the workshop attendees had the great idea of using gitter.im to
> facilitate live discussion, as well as make a transcript available
> afterwards (though you may find the written record somewhat incomplete,
> since we were often clarifying things verbally and face-to-face, in
> addition to using the chat). See
>
>https://gitter.im/racketon-web-devel-workshop/Lobby
>
> (Getting into the "room" may be a bit fussy; let me know if you need
> help.)
>
> I intend to polish the code and notes (that is, the package docs). If
> there's any topic that you're especially interested in, I'm happy to
> help; you're welcome to write to me privately, if you wish, with
> questions.
>


-- 
*Sage Gerard*
http://www.sagegerard.com

-- 
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.
For more options, visit https://groups.google.com/d/optout.


[racket-users] Re: Racket Language Track for Exercism

2018-10-04 Thread Dave McDaniel
Little necrobump here, I did find exercism recently in my efforts of 
getting up to speed on racket, in addition to the racket-koans 
 collection on github, which 
is great!  The idea of having real people give you feedback on the code is 
awesome.  That said, with the racket track there are only 2 mentors and 
this impacts the pace at which you can proceed, a simple little exercise 
may sit for a couple weeks before someone takes a look.  Looks like they 
need some more racket mentors over there ; ).

Even with the slow pace I still recommend it to anyone wanting to take a 
look at learning a new language, having real people give you feedback is 
great compared to just a unit test passing.



On Wednesday, August 19, 2015 at 5:06:14 PM UTC-4, Floyd Arguello wrote:
>
> Hi all -
>
> I'm adding Racket to exercism.io: http://exercism.io
>
> Basically, Exercism is an app where users submit solutions to problems, 
> and receive feedback for said solutions. Exercism currently supports 26 
> languages, with a minimum of 10 exercises for each language. Most, if not 
> all, languages provide more than 10 problem sets.
>
> For Racket, I've set it so that each exercise provides a stub file along 
> with the required test file. There's also an example file, which isn't 
> provided to the user. The example files are viewable through the public 
> repo, however.
>
> I want to make sure that Racket is properly represented in Exercism - I 
> don't want users to see poor code in the examples and test files.
>
> With that in mind, I'm asking anyone willing to please fork the repo and 
> submit improvements to the existing exercises: 
> https://github.com/exercism/xracket
>
> You're also welcome to contribute new exercises; here's the list of 
> exercise ideas: https://github.com/exercism/x-common Feel free to add 
> unlisted exercises, as well.
>
> Also on the lookout for "nitpickers" to provide feedback for user 
> submissions, and track implementors to help mentor the language track: 
> https://github.com/exercism/xracket/issues/1
>
> Cheers,
> Floyd
>
>
>

-- 
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.
For more options, visit https://groups.google.com/d/optout.


Re: [racket-users] servlet development in REPL

2018-10-04 Thread Greg Hendershott
I just wanted to chime in and say I share Philip's preference.

I think programming is hard enough without multiple sources of truth.


p.s. Replacing expensive startup items with a no-op is a good idea. Or
sometimes, keep the "real-op" but postpone using one of:

- `delay/sync` and `force` from `racket/promise`:


https://docs.racket-lang.org/reference/Delayed_Evaluation.html#(form._((lib._racket%2Fpromise..rkt)._delay%2Fsync))

- `lazy-require`:


https://docs.racket-lang.org/reference/lazy-require.html#(form._((lib._racket%2Flazy-require..rkt)._lazy-require))

The former for individual definitions, the latter for entire modules.

-- 
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.
For more options, visit https://groups.google.com/d/optout.


Re: [racket-users] Why does my package have no build status?

2018-10-04 Thread Greg Hendershott
> As to the dependency, there's no reason that people need to have 
> handy/test-more (the testing framework I use for struct-plus-plus) installed 
> in order to use the module.

Would it help to put `handy` in `build-deps` instead of `deps`?


> It's not clear to me how to use compile-omit-files in an info.rkt file.  Are 
> there examples I could look at?

Near the bottom of https://docs.racket-lang.org/raco/setup-info.html
where the compile-* options are mentioned, it links to the docs for
`compile-collection-zos` where there's more explanation:

  
https://docs.racket-lang.org/raco/API_for_Raw_Compilation.html#%28def._%28%28lib._compiler%2Fcompiler..rkt%29._compile-collection-zos%29%29


As for usage examples: I usually grep the Racket source and/or use
GitHub search:

  https://github.com/search?=Codel=Racket=compile-omit-paths

[ In fact I should probably make that into a little Emacs command that
prompts for the last query parameter then does `browse-url`. :) ]

-- 
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.
For more options, visit https://groups.google.com/d/optout.


Re: [racket-users] package for the RacketCon 2018 web devel workshop

2018-10-04 Thread Cam
Jesse Alama  writes:

> I made a package to go along with the web programming workshop held at
> RacketCon 2018.
>
> Install:
>
> $ raco pkg install racketcon-2018-web-devel-workshop
>
> Docs:
>
> $ raco docs racketcon-2018-web-devel-workshop
>
> The package contains a little raco command that exposes four HTTP
> servers/applications, each illustrating different aspects of web devel
> in Racket. Run
>
> $ raco 2018-web-workshop help
>
> to see how to invoke the different servers.
>
> Code: https://github.com/jessealama/racketcon-2018-web-devel-workshop
>
> -- 
> 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.
> For more options, visit https://groups.google.com/d/optout.


Was this workshop video-recorded? Can we expect to see it on the
`racketlang' YouTube channel?

-- 
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.
For more options, visit https://groups.google.com/d/optout.