Re: [racket-users] Re: Impromptu racket meetup in London Friday, 19 July at 12pm-3pm

2019-07-19 Thread Stephen De Gabrielle
I’m running a little late... will be there by 1230
S.

On Tue, 16 Jul 2019 at 11:41, Laurent  wrote:

> Good idea. I might come between 12pm and 1pm.
>
> On Fri, Jul 12, 2019 at 8:36 PM zeRusski  wrote:
>
>> argh, wish you'd go with after work hours or the weekend. Sorry, won't be
>> able to make it.
>>
>> On Friday, 12 July 2019 09:20:58 UTC-6, Stephen De Gabrielle wrote:
>>>
>>> Hi,
>>>
>>> Next Friday, 19 July at 12pm-3pm there will be an impromptu Racket
>>> meetup at the cafe at the British Library 'The Last Word'.
>>> https://goo.gl/maps/M62e4b9JK7c1oaA69
>>>
>>> No agenda. All welcome. Spread the word!
>>>
>>> I'll be drinking tea, eating cake(I hope), and will be easily identified
>>> as a the man with racket logo on his laptop. Updates on this thread.
>>>
>>> Stephen
>>>
>>> --
>> 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
>> https://groups.google.com/d/msgid/racket-users/08648123-28e8-46ff-9bf8-20f0cb11d1dd%40googlegroups.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.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/racket-users/CABNTSaETaLbbQ9_6jns8%2Byn5hcSheWQqhxYObtr2cb4zV6MzYQ%40mail.gmail.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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/CAGHj7-%2BCZ-vT0YV9bOA7pBF8CKpvNrCs72NkGdk2S1cvg1_yLQ%40mail.gmail.com.


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

2019-07-19 Thread Brian Adkins
This may seem like a nitpick, but I think there would be a *huge* shift in 
attitudes if the suggestion for an infix syntax was framed in a similar 
manner to Typed Racket as opposed to Racket 2. The latter seems to imply a 
premature conclusion, where the former proposes a question to be answered 
by the community i.e. if people do flock to #lang infix, then the people 
will have spoken. Let #lang infix win by merit, not by decree!

Required re-reading: "The Evolution of Lisp" 
https://www.dreamsongs.com/Files/HOPL2-Uncut.pdf

Thanks to @rplevy for the reminder of that paper.

Brian

-- 
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 
https://groups.google.com/d/msgid/racket-users/6c9ef7be-6172-4bfb-b5ac-5a2064921325%40googlegroups.com.


[racket-users] images in racket files

2019-07-19 Thread Stephen De Gabrielle
Hi,
I'm trying to export an 'pict' image i have pasted in a DrRacket file,
e.g.
#lang racket
(require pict)
(define my-pasted-image )
(provide  my-pasted-image )

I can specify it in (provide ..) , but attempting to reference it causes
this error

../../../../Applications/Racket
v7.3/collects/racket/private/more-scheme.rkt:261:28: write: cannot marshal
value that is embedded in compiled code
  value: (object:image-snip% ...)
>


any ideas?

-- 
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 
https://groups.google.com/d/msgid/racket-users/CAGHj7-%2B-cP2zYHSODSASqDGYb1NUPCDy_hscoT4RU5VqQhr%3D2A%40mail.gmail.com.


[racket-users] Re: Impromptu racket meetup in London Friday, 19 July at 12pm-3pm

2019-07-19 Thread Stephen De Gabrielle
Thank you to all those who came to the meet-up today

S

On Fri, 12 Jul 2019 at 16:20, Stephen De Gabrielle 
wrote:

> Hi,
>
> Next Friday, 19 July at 12pm-3pm there will be an impromptu Racket meetup
> at the cafe at the British Library 'The Last Word'.
> https://goo.gl/maps/M62e4b9JK7c1oaA69
>
> No agenda. All welcome. Spread the word!
>
> I'll be drinking tea, eating cake(I hope), and will be easily identified
> as a the man with racket logo on his laptop. Updates on this thread.
>
> Stephen
>
> --


-- 
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 
https://groups.google.com/d/msgid/racket-users/CAGHj7-KqV5iTnBAfhET18a8EB%3D4n5X416FjUOa3f2VV0q4fiCw%40mail.gmail.com.


Re: [racket-users] images in racket files

2019-07-19 Thread Laurent
Looks like your best bet is to save the pict as a bitmap in a separate
file, then load it in your module and export this value.
>From the top of my head:
where the pic is produced:
(send (pict->bitmap my-pict) save-bitmap "path-to/the-bitmap-file.png" 'png)
(or maybe: right click on the snip then save?)
then
(provide my-pic)
(define my-pic (bitmap "path-to/the-bitmap-file.png"))


On Fri, Jul 19, 2019 at 4:56 PM Stephen De Gabrielle <
spdegabrie...@gmail.com> wrote:

> Hi,
> I'm trying to export an 'pict' image i have pasted in a DrRacket file,
> e.g.
> #lang racket
> (require pict)
> (define my-pasted-image )
> (provide  my-pasted-image )
>
> I can specify it in (provide ..) , but attempting to reference it causes
> this error
>
> ../../../../Applications/Racket
> v7.3/collects/racket/private/more-scheme.rkt:261:28: write: cannot marshal
> value that is embedded in compiled code
>   value: (object:image-snip% ...)
> >
>
>
> any ideas?
>
> --
> 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
> https://groups.google.com/d/msgid/racket-users/CAGHj7-%2B-cP2zYHSODSASqDGYb1NUPCDy_hscoT4RU5VqQhr%3D2A%40mail.gmail.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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/CABNTSaF5v9iekEx8br4qe8j_N2JYrN7spJb-fv0sPGZqsVJzpQ%40mail.gmail.com.


Re: [racket-users] Scheme Coding Competition

2019-07-19 Thread David Storrs
Are there specifics anywhere?  I mean, if all we have to do is use
Scheme-ish to turn text into HTML on our local machine then I could just do:

#lang racket
(require racket/system)
(system "pod2html foo.pod >out.html")



On Thu, Jul 18, 2019 at 9:56 AM amz3  wrote:

> Hello racketeers,
>
> I am organizing a Scheme coding competition where you have
> to build a static blog generator with a mystery feature (that will
> be revealed little by little in the next few months).
>
> We already have sourcehut.org as a sponsor and I am actively looking
> for other sponsors to reward the participants (goodies, cloud credits,
> books...).
>
> You can use any racket-based language but you get maximum bonus points if
> you rely on R7RS!
>
> More information after the jump:
>
>
> https://git.sr.ht/~schemers/competition-2019-static-blog-generator#schemers-competition-2019
>
> Ultimately the goal is to contribute a scheme and racket presence at
> https://www.staticgen.com/
>
> Follow @schemers@mastodon.technology
>  for more regular updates.
>
> Good read and good luck!
>
> --
> 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
> https://groups.google.com/d/msgid/racket-users/9b185296-01ea-4191-b267-6259350bb188%40googlegroups.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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/CAE8gKoe-tJoWuzi%3DWD5MwH%2Bpou7Hg3fVJ5cspktDr%2B4po7XNWg%40mail.gmail.com.


Re: [racket-users] Scheme Coding Competition

2019-07-19 Thread David Storrs
Oh, wait.  I didn't scroll down far enough.  There's a bunch of irrelevant
stuff at the top, then a giant image, and the requirements are down at the
bottom.  My bad.

Huh.  Why is Racket worth only 25 points while everything else is 50 or
75?  Is the idea is that Racket is too powerful and needs a handicap?

On Fri, Jul 19, 2019 at 2:53 PM David Storrs  wrote:

> Are there specifics anywhere?  I mean, if all we have to do is use
> Scheme-ish to turn text into HTML on our local machine then I could just do:
>
> #lang racket
> (require racket/system)
> (system "pod2html foo.pod >out.html")
>
>
>
> On Thu, Jul 18, 2019 at 9:56 AM amz3  wrote:
>
>> Hello racketeers,
>>
>> I am organizing a Scheme coding competition where you have
>> to build a static blog generator with a mystery feature (that will
>> be revealed little by little in the next few months).
>>
>> We already have sourcehut.org as a sponsor and I am actively looking
>> for other sponsors to reward the participants (goodies, cloud credits,
>> books...).
>>
>> You can use any racket-based language but you get maximum bonus points if
>> you rely on R7RS!
>>
>> More information after the jump:
>>
>>
>> https://git.sr.ht/~schemers/competition-2019-static-blog-generator#schemers-competition-2019
>>
>> Ultimately the goal is to contribute a scheme and racket presence at
>> https://www.staticgen.com/
>>
>> Follow @schemers@mastodon.technology
>>  for more regular updates.
>>
>> Good read and good luck!
>>
>> --
>> 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
>> https://groups.google.com/d/msgid/racket-users/9b185296-01ea-4191-b267-6259350bb188%40googlegroups.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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/CAE8gKofEHAa2Fc__h%2BhYGe5BhKOX27Fem%2Bj26Ugchg7fRUX_QA%40mail.gmail.com.


[racket-users] (ninth RacketCon) videos

2019-07-19 Thread Matthew Flatt
Individual videos for this year's RacketCon talks are now available:

 https://www.youtube.com/playlist?list=PLXr4KViVC0qJp4_2uTTAOjt-4URQBAR4c

-- 
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 
https://groups.google.com/d/msgid/racket-users/5d3217ce.1c69fb81.1683.0318SMTPIN_ADDED_MISSING%40gmr-mx.google.com.


Re: [racket-users] images in racket files

2019-07-19 Thread Stephen De Gabrielle
 thanks.

I was trying to help Connie with her language idea.

Her eyes lit up when I pasted a pic of a waffle into DrRacket

S.


On Fri, 19 Jul 2019 at 18:22, Laurent  wrote:

> Looks like your best bet is to save the pict as a bitmap in a separate
> file, then load it in your module and export this value.
> From the top of my head:
> where the pic is produced:
> (send (pict->bitmap my-pict) save-bitmap "path-to/the-bitmap-file.png"
> 'png)
> (or maybe: right click on the snip then save?)
> then
> (provide my-pic)
> (define my-pic (bitmap "path-to/the-bitmap-file.png"))
>
>
> On Fri, Jul 19, 2019 at 4:56 PM Stephen De Gabrielle <
> spdegabrie...@gmail.com> wrote:
>
>> Hi,
>> I'm trying to export an 'pict' image i have pasted in a DrRacket file,
>> e.g.
>> #lang racket
>> (require pict)
>> (define my-pasted-image )
>> (provide  my-pasted-image )
>>
>> I can specify it in (provide ..) , but attempting to reference it causes
>> this error
>>
>> ../../../../Applications/Racket
>> v7.3/collects/racket/private/more-scheme.rkt:261:28: write: cannot marshal
>> value that is embedded in compiled code
>>   value: (object:image-snip% ...)
>> >
>>
>>
>> any ideas?
>>
>> --
>> 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
>> https://groups.google.com/d/msgid/racket-users/CAGHj7-%2B-cP2zYHSODSASqDGYb1NUPCDy_hscoT4RU5VqQhr%3D2A%40mail.gmail.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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/CAGHj7-K-UX6WZ6Z0Z0Xm1_bm8RjKxrk7kJLX%3D-w_oOc3e0JGeg%40mail.gmail.com.


Re: [racket-users] (ninth RacketCon) videos

2019-07-19 Thread Neil Van Dyke
If you want to youtube-dl the videos, this script might work: 
https://www.neilvandyke.org/racket/download-racketcon-2019-videos.sh


(My living room airgapped Blu-ray player delights houseguests, with a 
curated collection of fine videos on Racket and other CS topics.)


--
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 
https://groups.google.com/d/msgid/racket-users/86bb57bb-1ab7-a55d-3efa-6c28a3daf702%40neilvandyke.org.


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

2019-07-19 Thread Hendrik Boom
On Fri, Jul 19, 2019 at 08:54:41AM -0700, Brian Adkins wrote:
> This may seem like a nitpick, but I think there would be a *huge* shift in 
> attitudes if the suggestion for an infix syntax was framed in a similar 
> manner to Typed Racket as opposed to Racket 2. The latter seems to imply a 
> premature conclusion, where the former proposes a question to be answered 
> by the community i.e. if people do flock to #lang infix, then the people 
> will have spoken. Let #lang infix win by merit, not by decree!

And, presumaby we'll also get #lang typed-infix

> 
> Required re-reading: "The Evolution of Lisp" 
> https://www.dreamsongs.com/Files/HOPL2-Uncut.pdf

-- hendrik

-- 
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 
https://groups.google.com/d/msgid/racket-users/20190720021517.fufbqjrzb2s6cpoe%40topoi.pooq.com.


[racket-users] Gui editable grid/table

2019-07-19 Thread Raoul Schorer
Hi,

I am trying to make a gui editable table. Is that possible in racket/gui?

It seems list-box% is not editable by default. Apparently, one can't stick 
editors as list-box% choices either.

Can you please help?

Thanks!
Raoul

-- 
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 
https://groups.google.com/d/msgid/racket-users/d9050e43-b528-4e9c-bbd4-3037d02a3b17%40googlegroups.com.


[racket-users] Re: Gui editable grid/table

2019-07-19 Thread Travis Hinkelman
Hi Raoul,

Matthias Felleisen is working on a Racket implementation of the 7GUIs 
project, which includes a simple spreadsheet as one of the tasks.

https://github.com/mfelleisen/7GUI

Perhaps that will suit your needs.

Best,

Travis


On Friday, July 19, 2019 at 8:17:58 PM UTC-7, Raoul Schorer wrote:
>
> Hi,
>
> I am trying to make a gui editable table. Is that possible in racket/gui?
>
> It seems list-box% is not editable by default. Apparently, one can't stick 
> editors as list-box% choices either.
>
> Can you please help?
>
> Thanks!
> Raoul
>
>

-- 
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 
https://groups.google.com/d/msgid/racket-users/0eff2c7c-e9c3-458a-a433-137656df7b6b%40googlegroups.com.