Re: [racket-users] FOSDEM: Flyers, posters, and overall Racket visuals/communication material

2019-01-11 Thread Stephen De Gabrielle
How about a poster of the examples from the home page?

On Wed, 9 Jan 2019 at 08:11, Jérôme Martin 
wrote:

> Hello Racketeers!
>
> I'm going to FOSDEM in February, giving some talks and workshops about
> Racket in the "Minimalistic Languages Room".
> https://fosdem.org/2019/schedule/track/minimalistic_languages/
>
> In order to promote our beloved language there, I'd like to print out some
> big posters.
> Do you have some promotional material and/or ideas we could display?
>
> I'm thinking of catch phrases like:
> - Racket: the language-oriented programming language
> - Racket: visit the new Tower of Babel today!
> - Can't code it? Did you try your own language?
>
> I'm open to any suggestion, may it be phrases or visuals.
>
> See you around, folks!
> Jérôme
>
> --
> 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] triggering servlet on GET parameters

2019-01-06 Thread Stephen De Gabrielle
Thank you Jay and David,

Your suggestions were good, #:servlet-regexp #rx"" lets me capture the
request for a page and server the original file, or the edit servlet:
http://localhost:8000/mouse.html
http://localhost:8000/mouse.html?action=edit

I've been reading a little more and I think I've made a mistake!  I'm using
'Stateful Servlets'(require web-server/servlet), and I *think* I should be
using (require web-server/dispatch), so I can  capture the situation where
a static file is not found.

Do you think web-server/dispatch is the right approach?

My design is;

GET http(s)://server/
-> serve static file at specified path
GET http(s)://server/?action=edit
-> serve edit page servlet that retrieves scribble source
GET http(s)://server/
-> serve edit page adding parameters ?action=edit or maybe new
POST http(s)://server/
-> update scribble source file,  generate target html file in
#:server-root-path and redirect to target html file at
http(s)://server/



On Thu, Jan 3, 2019 at 4:35 PM David Storrs  wrote:

> Stephen, you might also find this useful as a reference to crib from:
> http://matt.might.net/articles/low-level-web-in-racket/
>
> On Thu, Jan 3, 2019 at 11:10 AM Jay McCarthy 
> wrote:
>
>> Use normal racket/base and web-server/servlet-env ‘s serve/servlet
>>
>> On Thu, Jan 3, 2019 at 10:53 AM David Storrs 
>> wrote:
>>
>>>
>>>
>>> On Wed, Jan 2, 2019 at 7:12 PM Jay McCarthy 
>>> wrote:
>>>
>>>> You need to stop using `web-server/insta`
>>>
>>>
>>> What would you recommend he use instead of web-server/insta?
>>>
>>>
>>>> so you can customize more.
>>>> Then, you need to intercept ALL requests with your servlet. Then, your
>>>> servlet just needs to call (next-dispatcher) and the static file
>>>> handler will kick in, because it comes after servlets.
>>>>
>>>> Jay
>>>>
>>>> On Wed, Jan 2, 2019 at 7:08 PM Stephen De Gabrielle
>>>>  wrote:
>>>> >
>>>> > Hi,
>>>> >
>>>> > I'm fooling around with #lang web-server/insta, and I can serve .html
>>>> files by setting (static-files-path page-root), but I'd like to trigger my
>>>> servlet if there is a '?action=edit' parameter set.
>>>> >
>>>> > e.g
>>>> > https://localhost/start.html just serves the file (I can do this!)
>>>> > https://localhost/start.html?action=edit  calls my servlet (I can't
>>>> work out how to do this :( )
>>>> >
>>>> > (There is a lot of documentation but I'm a beginner with webdev so
>>>> don't know where to look)
>>>> >
>>>> > Kind regards
>>>> >
>>>> > Stephen
>>>> >
>>>> > PS the project is a scribble based wiki. If you create a new page you
>>>> enter raw scribble/manual in a form (my servlet) and it gets saved in a
>>>> folder and transformed into html that is served directly by
>>>> (static-files-path page-root), the conversion from raw scribble goes like
>>>> this:
>>>> > (require raco/all-tools)
>>>> > (define raco-scribble-spec (hash-ref (all-tools) "scribble"))
>>>> > ;;scribble-to-html : source target body
>>>> > ;; generate html file from scribble file
>>>> > (define (scribble-to-html source target) ;-> list of strings
>>>> >   (parameterize ([current-command-line-arguments (vector "--html"
>>>> source)]
>>>> >  [current-directory target])
>>>> > (dynamic-require (cadr raco-scribble-spec) #f)))
>>>> >
>>>> >
>>>> > --
>>>> > 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.
>>>>
>>>>
>>>>
>>>> --
>>>> -=[ Jay McCarthy   http://jeapostrophe.github.io]=-
>>>> -=[ Associate ProfessorPLT @ CS @ UMass Lowell ]=-
>>>> -=[ Moses 1:33: And worlds without number have I created; ]=-
>>>>
>>>> --
>>>> 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.
>>>>
>>> --
>> -=[ Jay McCarthy   http://jeapostrophe.github.io]=-
>> -=[ Associate ProfessorPLT @ CS @ UMass Lowell ]=-
>> -=[ Moses 1:33: And worlds without number have I created; ]=-
>>
> --


-- 
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] triggering servlet on GET parameters

2019-01-02 Thread Stephen De Gabrielle
Hi,

I'm fooling around with #lang web-server/insta, and I can serve .html files
by setting (static-files-path page-root), but I'd like to trigger my
servlet if there is a '?action=edit' parameter set.

e.g
https://localhost/start.html just serves the file (I can do this!)
https://localhost/start.html?action=edit  calls my servlet (I can't work
out how to do this :( )

(There is a lot of documentation but I'm a beginner with webdev so don't
know where to look)

Kind regards

Stephen

PS the project is a scribble based wiki. If you create a new page you enter
raw scribble/manual in a form (my servlet) and it gets saved in a folder
and transformed into html that is served directly by (static-files-path
page-root), the conversion from raw scribble goes like this:
(require raco/all-tools)
(define raco-scribble-spec (hash-ref (all-tools) "scribble"))
;;scribble-to-html : source target body
;; generate html file from scribble file
(define (scribble-to-html source target) ;-> list of strings
  (parameterize ([current-command-line-arguments (vector "--html" source)]
 [current-directory target])
(dynamic-require (cadr raco-scribble-spec) #f)))

-- 
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] hackernews

2018-12-27 Thread Stephen De Gabrielle
I always wanted to ask if the prototype object model is a good idea or bad idea?

The same question applies to Morphic User Interface Construction Environment - 
good idea or bad idea?

Given neither idea seems to have caught on I’m assuming both are dead ends?

Kind regards,

Stephen


> On 27 Dec 2018, at 18:46, Neil Van Dyke  wrote:
> 
> Matthew Butterick wrote on 12/27/18 12:00 PM:
>> According to Brendan Eich, "The good parts of [JavaScript] go back to Scheme 
>> and Self" [1] combined with "a lot of stupid". [2]
> 
> I appreciate Eich's candor and thoughtfulness there.
> 
> From Self, I think JavaScript initially got the prototype object model, and 
> possibly whatever slot access/dispatch optimizations Self used.
> 
> Self did some even more novel/noteworthy things, which PL enthusiasts would 
> want to know about: JIT or runtime incremental optimization, visual/concrete 
> programming active morphs worlds, and (I include this) the morphs world 
> object editors.
> 
> Self was very neat and exotic at the time I used it.  And the set of 
> innovations suggests such a pleasing causal chain of necessity being the 
> mother of invention, that I don't want to know if it's not the truth:  morphs 
> world => loose prototype-delegation concurrent objects => runtime 
> optimization.
> 
> Regarding Scheme, I suppose Eich might've just used a simple Scheme with a 
> prototype object model (it's very simple to implement).  But Java was already 
> out there, the original purpose of LS/JS (IIRC) was merely glue to load Java 
> applets (not full-GUI-application DOM manipulation and logic like today), and 
> Sun had made Java have a C++/C syntax, because that's the kind of programmer 
> they thought would be developing in it.  I suppose, as soon as I was whipping 
> up a "Java-ish light scripting language" back then, even if Scheme was my 
> inspiration, as soon as I was figuring out the different syntax anyway, I 
> probably would've simplified semantics (e.g., free tail calls and first-class 
> continuations would seem unnecessary).
> 
> -- 
> 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] hackernews

2018-12-26 Thread Stephen De Gabrielle
Hi Matthew, Neil,

> the people who are persuadable.
So who are the ‘persuadable’? And where to find them if not on hn?

I’m one of the ‘corporate MIS programmers’, but in the public
sector(health), and I get to interact with a variety of software vendors as
well as and build forms, worklists, reports and business logic on their
platforms. I certainly don’t get to choose.

My role does put me in the lucky position to ask ISV’s what languages their
systems are written in;
Example include (from older to newer)
* COBOL
* VB.6 (two vendors)
* ASP.net, C# & JavaScript (more recent vendor)
* PHP w/Symfony & Python
* Ruby on Rails
* Java
* Perl
* Cache/MUMPS (two vendors - one is actually the customer of the other)
[ these are all ‘single product vendors’ - I don’t know if that is unusual
in industry ]

In all the cases it seems the language is determined by the founder, and
has not changed for the life of the product & company, in some cases for
many years (the cobol and VB products have been around for 20+ years)

I’ve even met some of the founders - 3 out of 4 are specialty doctors.

I will have to ask next time I meet a founder, but at this stage I don’t
think any ‘choosing a language’ was involved - I think the founders I have
met just chose whatever was available at the time. (if you a meet a
potential founder please say ‘have you looked at Racket?’)

I had to type this to put it together in my head - maybe I shouldn’t have
sent it and bored you with my thought processes.

So who are the ‘persuadable’? And where to find them?

Kind regards,

Stephen

PS in my workplace the biggest competitor isn’t other languages, it is the
spreadsheet; sometimes stand alone, sometimes linked or shared, but mostly
with no VBA.

PPS I think the Jupyter enhanced REPL idea is worth pursuing and extending
as this might be a way generate interest in the Racket runtime and
associated languages.




On Wed, 26 Dec 2018 at 18:50, Matthew Butterick  wrote:

> I agree that success stories are helpful. I'll go one better — I think it
> would be great to have a section of the main Racket website devoted to
> these stories that show who uses Racket and how / why (inside & outside
> academia). This could be done in an interview-style format, like Jesse
> Alama's recent book about language-making in Racket [1]. Photos also. I
> would be happy to contribute design & layout if a sufficiently motivated
> collaborator — you, Neil? — wanted to conduct the interviews & gather the
> material.
>
> I find the idea of doing language advocacy *on* Hacker News (or Stack
> Overflow, or Quora, etc.) to be weird. Not because I'm a curmudgeon. But
> rather because it's inherently low-leverage, and misses a lot of the people
> who are persuadable.
>
> [1] https://languagemakers.net/anthropology/
>
>
>
> On Dec 26, 2018, at 6:51 AM, Neil Van Dyke  wrote:
>
> I want to see more people making a living working with/on Racket (outside
> of professorships, and grad student slave stipends), and I think that means
> a lot more companies using it for substantial projects, and I suspect the
> best bet is startups who can choose their tools (and are funded as
> gambles), and I suspect the best bet for that is getting HN startup success
> stories like: "we got to launch and ___ funding round, with Racket, because
> DSLs, and Racket is the best for that".  Then other HN people will see a
> success story, a couple might be inspired to think about DSLs for their own
> startup idea, and then somehow this becomes RACKET EXPONENTIAL EXPLOSION.
> Or at least more people making a living working with/on Racket.
>
>
> --
> 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] hackernews

2018-12-26 Thread Stephen De Gabrielle
Maybe a high profile social media patron - I’m sure JA is doing wonders for
TiddlyWiki:
https://twitter.com/joeerl/status/1077842077705293824?s=21

How did other languages grow their audience? e.g. Ruby-on-Rails, Perl,
Python, PHP, C++, Rust ?
(All fine languages with  many strengths - but there are many fine
languages with the same strengths that are not objectively worse. Some may
be better e.g. Haskell, ML family, Lisp family, prolog family)

happy Boxing Day
Stephen

On Thu, 13 Dec 2018 at 23:53, Neil Van Dyke  wrote:

> This might be a bad idea, and normally I disapprove of this sort of
> thing, but... does anyone want to take on the job of RACKET EVANGELISM
> STRIKE FORCE, among a concentration of startup-types and other software
> practitioners?
>
> Specifically, you'd participate regularly in Y Combinator's popular
> "Hacker News" Web forum, "https://news.ycombinator.com/;, and, when the
> not-unusual occasion to mention/show a strength of Racket presents
> itself, do so.
>
> I occasionally see Racket mentioned on HN, but not nearly as often as it
> legitimately could be.
>
> (There are also other strategic targets for the RACKET EVANGELISM STRIKE
> FORCE operator or cell, and I recall Eli Barzilay and others active on a
> lot of them years ago, but HN might be first priority right now.)
>
> --
> 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] project idea: drracket notebook mode

2018-12-26 Thread Stephen De Gabrielle
Like Maxima?

DrRacket interactions already does most of what Jupyter and Maxima does,
but lacks the functionality of cells, and the ability to re-evaluate them.

Would this replace ‘interactions’, or would it be a new editor<%>?

It’s a great idea - it seems a little like  ‘code bubbles’, but for the
repl.

S.

On Thu, 20 Dec 2018 at 10:47, Neil Van Dyke  wrote:

> If anyone is looking to avoid relatives over the winter holiday season,
> here's an idea for a big feature to add to DrRacket (which I really wish
> I could do myself right now)...
>
> If you've not seen a "notebook" interface, like in Jupyter Notebook and
> some other data science-oriented tools, one way to look at it is like a
> literate programming REPL that can be edited, stored to a file, and
> loaded.  You can also share these notebooks with others, or generate
> formats like HTML or Markdown (such as for blog posts).
>
> The notebook is a document that's a sequence of text cells and code
> cells, and the code cells include the output (e.g., expression results,
> displayed plots) from the last time the code cell was evaluated (if it
> was).  Each code cell also displays a small serial number that indicates
> in what order it was last evaluated (if it has been), which is not
> necessarily the top-to-bottom order of the document while you're working
> with it.  Of course, you can clear this code evaluation and output at
> any time, and cause all the code cells to be evaluated in-order.
>
> IIRC, DrRacket emphasizes the Definitions window over the Interactions
> window (aka REPL), to reduce confusion for students.  I think the
> confusion level of the Notebook interface is somewhere between that of
> Definitions window and a REPL.  So the notebook interface might not be
> good for new students, unless they're already comfortable with the
> notebook interface from other classes.
>
> Implementation-wise... the people here who built DrRacket can correct me
> or say more about this, but it seems DrRacket implementation might
> already include most of the difficult work of implementing a notebook
> interface.  The evaluation engine is there, and there's UI for snips in
> the Interaction window, and UI for embedding blocks of other formats in
> the Definitions window.  Maybe combine/adapt that in a new Notebook
> window, or implement this as features of the Definitions window.  Then
> you can decide whether to also implement the JSON save format of Jupyter
> Notebook, for possible later interoperation.  And other things after
> that, like in-buffer Markdown or Scribble rendering of text cells.
>
> --
> 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.


[racket-users] Re: Why enter/run a submodule in the REPL?

2018-12-13 Thread Stephen De Gabrielle
Hi,

I suppose a better question is what do any racketeers use ‘submodules to
run’ in DrRacket? And if so- what for?

Stephen

On Wed, 12 Dec 2018 at 00:21, Stephen De Gabrielle 
wrote:

> Hi,
>
> #lang racket
> (displayln "This is the main module")
> (module+ drracket
>   (define foo 'FOO)
>   (displayln "This is the drracket submodule"))
>
> Execute and DrRacket displays "This is the main module" in the
> interactions window
> type
> (require (only-in racket/enter dynamic-enter!)
>   (only-in syntax/location quote-module-path))
> (dynamic-enter! (quote-module-path drracket))
>
> and bindings defined in the submodule are then available; e.g.
> > foo
> 'FOO
>
> Why and how do I use this for interactive development, scripting and
> debugging?
>
> There is also a DrRacket function (Submodules to Run), but I can't find
> any documentation for it.
>
>
> 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.
For more options, visit https://groups.google.com/d/optout.


[racket-users] Why enter/run a submodule in the REPL?

2018-12-11 Thread Stephen De Gabrielle
Hi,

#lang racket
(displayln "This is the main module")
(module+ drracket
  (define foo 'FOO)
  (displayln "This is the drracket submodule"))

Execute and DrRacket displays "This is the main module" in the interactions
window
type
(require (only-in racket/enter dynamic-enter!)
  (only-in syntax/location quote-module-path))
(dynamic-enter! (quote-module-path drracket))

and bindings defined in the submodule are then available; e.g.
> foo
'FOO

Why and how do I use this for interactive development, scripting and
debugging?

There is also a DrRacket function (Submodules to Run), but I can't find any
documentation for it.

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


Re: [racket-users] Licence guidance

2018-09-24 Thread Stephen De Gabrielle
Thank you all. Sounds like a case-by-case approach is probably best.

 I did find the github licence advice pages. It seems that not choosing a
licence is probably a bad choice when publishing a racket package:
https://choosealicense.com/no-permission/

I can't believe I missed the Racket licence pages!
https://download.racket-lang.org/license.html and
https://docs.racket-lang.org/license/index.html

Thanks again,
Stephen

On Mon, Sep 24, 2018 at 8:55 PM Neil Van Dyke  wrote:

> Yes, it could be that LGPL is not the best for Racket package authors
> who intend something analogous to LGPL for C libraries.  (Or who intend
> not necessarily that, but something in the neighborhood of that flavor
> or degree.)
>
> Law quickly gets way outside my expertise, and the finer points seem to
> need the most masochistic brainiac lawyers to wrestle, so I'd only like
> to throw out 3 quick comments at this time:
>
> * The Racket package system, and ways that systems using Racket are
> distributed in practice, as well as the market potential, have changed
> since I picked a license.
>
> * I think industry and open source practice, the information technology
> infrastructure, and the world have all changed substantially since open
> source people really-really rethought licenses.
>
> * Having been engaged with GNU and FSF for many years, and occasionally
> talking with RMS, including about "linking" subtleties and
> implications... the various FSF technicalities are usually imperfect, or
> not entirely clear.  (The reason seems to be difficulty of legal
> constructs that capture intent over decades, for evolving technology,
> and without the benefit/curse of a legislative system.  Though the FSF
> remains an interactive component, for one-on-one interpretation, as well
> as leaving the "or any later version" evolutionary hook in the language.)
>
> --
> 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.


[racket-users] Licence guidance

2018-09-24 Thread Stephen De Gabrielle
Hi,

I sometimes see Racket packages on PLaneT or Github, but lack a licence.

I don’t feel I can redistribute or fork abandoned code if it lacks a
licence. (I can give an example of an 11yo abandoned project that I’d love
to fork but can’t because it lacks a licence)

With that in mind- what licences should be used when making code available
on the package repository/github in the following situations:

a) general purpose library that I am happy for the broader community of
evelopers to use without restraint - but is unlikely to ever meet to be
included in Racket e.g. I have an number checksum validator (UK NHS ID
number)
- is dual licence Apache/MIT appropriate? or is it completely up to me.

b) library, tool or DrRacket plugin that may(or may not) become part of the
Racket distribution
- is dual licence Apache/MIT appropriate or should it also be LGPL?

c) anything else?

Kind regards,

Stephen


-- 
Kind regards,
Stephen
--
Ealing (London), UK

-- 
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] Racket-[con|summer school] and podcasts

2018-04-27 Thread Stephen De Gabrielle
Hi
There are a number of podcasts that do conference announcements - is it
worth sending details of the racket-con/summer-school to ‘cognicast’,
‘functional geekery’ and any others?
https://con.racket-lang.org
https://summer-school.racket-lang.org/2018/

cont...@functionalgeekery.com

As I can’t justify the con/school (my day job is cache/MUMPS) so I rely on
podcasts and the YouTube videos from racketcon, I’d be interested to know
if racketeers would recommend any other podcasts (or YouTube channels) for
aspiring Racketeers?

Kind Regards,

Stephen

-- 
Kind regards,
Stephen
--
Ealing (London), UK

-- 
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] deprecating a package (and redirecting users to new version)

2018-04-12 Thread Stephen De Gabrielle
Hi,

What is the best way to deprecate a package on pkgs.racket-lang.org ?

Is there a way to redirect users to a new package (with a different name)?

Kind regards,

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


Re: [racket-users] Splitting up a GUI source file?

2018-03-23 Thread Stephen De Gabrielle
May be relevant

https://pkgs.racket-lang.org/package/spreadsheet-editor

s.

On Fri, Mar 23, 2018 at 5:09 PM, James Platt  wrote:

>
> > I am trying to create a GUI program, my problem is that the source code
> for the
> > GUI portion is growing out of control and I don't know how to split it
> up.
>
> I'm not sure if this will really answer your question but you may want to
> look at some code from MrEd Designer and see how it splits stuff up.  It
> generates all the GUI code in a file which you then include in a file with
> the logic you write.  Following this approach, you could probably have more
> than one GUI file which you could include in your top level file.
>
> >
> > Here is some background info: the GUI is basically just a specialised
> frontend
> > to a database, the users clicks some stuff, the corresponding query is
> > constructed and sent off to SQLite using the db library.
>
> Actually, I've been thinking about learning about how to create MrEd
> Designer widgets in order to add some elements which would be useful for
> database clients.  This would include editable tables, like you mention.
>
> James
>
> --
> 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.


[racket-users] nightly build version is 6.90.0.20 ?

2018-03-12 Thread Stephen De Gabrielle
Hi,

Am I going mad or has the version number on the nightly build gone back
from 6.12 to 6.90.0.20?   (or is that a massive jump forwards?)

Kind regards,

Stephen

--

Process:   DrRacket [1813]
Path:
 /private/var/folders/*/DrRacket.app/Contents/MacOS/DrRacket
Identifier:org.racket-lang.DrRacket
Version:   6.90.0.20 (6.90.0.20)
Code Type: X86-64 (Native)
Parent Process:??? [1]
Responsible:   DrRacket [1813]
User ID:   502

Date/Time: 2018-03-13 00:14:00.322 +
OS Version:Mac OS X 10.13.3 (17D47)
Report Version:12
Anonymous UUID:818EA46D-C579-9E4C-5EAF-344B941ADCEB

Sleep/Wake UUID:   399CC752-0959-427C-A233-C5086B6847D2

Time Awake Since Boot: 1900 seconds
Time Since Wake:   760 seconds

System Integrity Protection: enabled

Notes: Translocated Process

Crashed Thread:0

Exception Type:EXC_CRASH (SIGABRT)
Exception Codes:   0x, 0x
Exception Note:EXC_CORPSE_NOTIFY

Termination Reason:DYLD, [0x1] Library missing

Application Specific Information:
dyld: launch, loading dependent libraries

Dyld Error Message:
  Library not loaded:
@executable_path/../../../lib/Racket.framework/Versions/6.90.0.20_3m/Racket
  Referenced from:
/private/var/folders/*/DrRacket.app/Contents/MacOS/DrRacket
  Reason: image not found

Binary Images:
   0x10f05c000 -0x10f064fff +org.racket-lang.DrRacket
(6.90.0.20 - 6.90.0.20) <35E0E338-9545-367A-80D7-193F5A5CF229>
/var/folders/*/DrRacket.app/Contents/MacOS/DrRacket
   0x117aac000 -0x117af698f  dyld (519.2.2)
<6695F30B-4E88-3C0B-9867-7D738C44A3E6> /usr/lib/dyld

Model: MacBookPro9,

-- 
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] Re: OSX racket install problem - "sudo racket" works, but running as a user fails...

2018-01-21 Thread Stephen De Gabrielle
Hi Scott,

Did you identify the issue? Were you able to resolve ti?

Kind regards,

Stephen


On Thu, Jan 18, 2018 at 9:40 PM, Scott Watson  wrote:

> Also, I've tried both:
>
> brew cask install racket
>  and
> brew install racket
>
>
> On Thursday, January 18, 2018 at 1:38:54 PM UTC-8, Scott Watson wrote:
>>
>> Here's what I see... any ideas?
>>
>> I've been running it under dtruss/dtrace to try and spot what is
>> different, but so far no luck.
>>
>> If run the IDE it also works!
>>
>> bash-3.2$ racket
>> Welcome to Racket v6.11.
>> standard-module-name-resolver: collection not found
>>   for module path: (submod (lib "racket/init") configure-runtime)
>>   collection: "racket"
>>   in collection directories:
>>/usr/local/collects
>>/usr/local/Cellar/minimal-racket/6.11/share/racket/pkgs/racket-lib
>>   context...:
>>show-collection-err
>>standard-module-name-resolver
>> standard-module-name-resolver: collection not found
>>   for module path: racket/interactive
>>   collection: "racket"
>>   in collection directories:
>>/usr/local/collects
>>/usr/local/Cellar/minimal-racket/6.11/share/racket/pkgs/racket-lib
>>   context...:
>>show-collection-err
>>standard-module-name-resolver
>> standard-module-name-resolver: collection not found
>>   for module path: racket/base
>>   collection: "racket"
>>   in collection directories:
>>/usr/local/collects
>>/usr/local/Cellar/minimal-racket/6.11/share/racket/pkgs/racket-lib
>>   context...:
>>show-collection-err
>>standard-module-name-resolver
>>
>> bash-3.2$ sudo racket
>> Password:
>> Welcome to Racket v6.11.
>> > "totally works"
>> "totally works"
>> >
>>
> --
> 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] Blockly-Like Interface in DrRacket

2017-12-30 Thread Stephen De Gabrielle
Hi Stephen,

I'm assuming you meant something like Snap (http://snap.berkeley.edu) in Dr
Racket?

Snips are powerful; they can inserted in text and pasteboard editors; they
can be dynamic(e.g. plot), and they can contain other editors(text or
pasteboard).

The only possibly related prior work I’m aware of was an insert-gui
functionality in DrRacket (maybe even DrScheme?) which allowed you to
insert GUI elements into program text.

There was a query about 'Extending DrRacket with non-text tabs' that might
be helpful (see
https://groups.google.com/d/msg/racket-users/Iu2XtxNX_Kk/SiavnnkYDEoJ)

The DrRacket plugins documentation has a example of extending DrRacket
https://docs.racket-lang.org/tools/implementing-tools.html

Kind regards,
Stephen D

some documentation links:
 * DrRacket Plugins: http://docs.racket-lang.org/tools/index.html

 * Graphical Interface Toolkit: http://docs.racket-lang.org/gui/
* Pasteboard(editor): http://docs.racket-lang.org/gui/pasteboard_.html


On Thu, 28 Dec 2017 at 04:30, Stephen Foster 
wrote:

> If I wanted to build a drag-and-drop, visual programming interface for
> programming in DrRacket, is there any prior work I can build on?  Ideally,
> I'd like to implement this as a DrRacket "snip", so that my students can
> make programs that are partially text-based and partially visual.  Any
> suggestions?  Has anyone done something in the ballpark?
>
> --
> 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] Retrieving some data from a module without evaluating it

2017-12-17 Thread Stephen De Gabrielle
Is this what you are after?

https://github.com/racket/racket/blob/master/racket/collects/racket/private/submodule.rkt

/Applications/Racket v6.11/collects/racket/private/submodule.rkt


Stephen


On Sun, Dec 17, 2017 at 10:36 AM, Laurent  wrote:

> Also, I can't find where module+ is defined. Anyone has a pointer?
>
> On Sun, Dec 17, 2017 at 9:34 AM, Laurent  wrote:
>
>> Excellent, thanks a lot!
>>
>> On Sat, Dec 16, 2017 at 8:44 PM, Matthew Flatt 
>> wrote:
>>
>>> [...]
>>>
>>  (set! submodule-content
>>>(cons (syntax-local-introduce
>>>   #`(begin
>>>   (provide proc)
>>>   (define proc (list (cons 'prop prop-val) ...
>>>
>>
>> 1) I put all these macros in a separate module, to keep only the calls to
>> `my-define` in "my-file.rkt". But then Racket was complaining about "no
>> #%datum syntax transformer is bound" on "some value", that is, on
>> `prop-val`. Some digging on the list told me that I could simply quote
>> prop-val since this is supposed to be only data. And that works great.
>>
>> But for the sake of understanding, suppose that I have a racket/base
>> expression like `(+ 3 4)` instead of "some value", then IIUC I need to give
>> it some syntax location so that it can be interpreted correctly. Here, this
>> location seems to be (inside?) the newly created submodule, but how do I
>> refer to this place with `syntax/loc`?
>>
>>
>> 2) Instead of `racket/base` for the submodule, I was thinking of using
>> the `info` language, as it seems to be lighter and is made for data
>> (although it does not seem to 'export' bindings). If I have to load many
>> submodules of files like my-file.rkt, would there be a practical difference
>> in terms of speed or memory, or can I just stick to racket/base (in the
>> relatively unlikely case the user wants to use expressions in the
>> `prop-val`s)?
>>
>>
>> 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.
> 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] Re: stumped

2017-12-13 Thread Stephen De Gabrielle
Thanks Alex,
Much appreciated!
Stephen
On Thu, 14 Dec 2017 at 04:50, Alex Harsanyi  wrote:

> I built a similar control, although it does not represent directory paths,
> just labels which are stacked vertically. I ended up defining a structure
> to hold the text and width + height of each label and keep these structures
> in a list. In my case, all labels have the same size so converting a mouse
> coordinate to a list index is just arithmetic, but it could be extended to
> support variable width labels and just search the list in linear time to
> convert a mouse coordinate to a list index. The number of items in the
> control should be small enough that linear search should not be a
> disadvantage.
>
> You can find the definition of the control here:
>
> https://github.com/alex-hhh/ActivityLog2/blob/master/rkt/widgets.rkt#L1910
>
> To convert it to variable width labels, the `hover-candiate` function
> would have to be changed (third `cond` option) to do a linear search on the
> label widths. `label-box-dimensions` would also have to change to report
> the actual label width and height for all labels (currently all labels have
> the dimensions of the largest one).
>
> Best Regards,
> Alex.
>
> --
> 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.
>
-- 
Kind regards,
Stephen
--
Ealing (London), UK

-- 
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] stumped

2017-12-13 Thread Stephen De Gabrielle
Hi,

I'm working on a 'directory' like you would find in VScode, xcode, or clion*
https://github.com/spdegabrielle/dir-control/blob/master/dir-control.rkt

I's pretty enough, but 'm not sure how to best to store the values against
the respective parts of the control, so they can be passed via a callback.

I'd appreciate any suggestions!

* https://www.jetbrains.com/help/clion/navigation-bar.html

Kind regards,

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


Re: [racket-users] DrRackGit & LibGit2

2017-12-08 Thread Stephen De Gabrielle
HI John,

Thanks for taking the time to look at this - anytime you have is
appreciated.

As I'm not familiar with FFI and I'm not clear what the benefits over git
that lib2git brings on Windows/Linux/Macos I was honestly considering
leaving 'as-is' libgit2 and adding using git as an option in DrRackGit (via
racket/system) on the grounds that users will have git installed anyway.
(I'm pretty sure 'Github desktop' uses git, though it might have changed to
libgit2 in an update)

If you feel FFI/Libgit2 is worth the effort I'll follow you lead - please
don't hesitate to give me any task that will help.

> I definitely don’t have any time before next Tuesday.
Not a problem - I'm enthusiastic but DrRacket isn't my day job either. 

Thanks again,

Stephen

---
Welcome to DrRacket, version 6.11 [3m].
Language: racket, with debugging; memory limit: 128 MB.
#
1

repository > libgit2 > git repo path
. FAILURE
name:   check-equal?
location:   test-libgit2.rkt:100:16
actual:
#
expected:
#


config > libgit2 > open level
. ERROR

git_config_open_level: contract violation
  expected: 0
  received: "7: no config file exists for the given level '1'"

45 success(es) 1 failure(s) 1 error(s) 47 test(s) run
2
>


On Thu, Dec 7, 2017 at 10:57 PM, John Clements <cleme...@brinckerhoff.org>
wrote:

>
>
> > On Dec 7, 2017, at 2:34 PM, Stephen De Gabrielle <
> spdegabrie...@gmail.com> wrote:
> >
> > I should be clear, I ran the libgit2 tests by hard coding the location
> of the library and running them manually. I don’t really know what I’m
> doing so that was the best I could muddle through.
>
> That doesn’t sound ideal. Probably it’s better to deliver the library with
> the package on macos & windows, & ask user to install using package manager
> on linux. Sounds like entertaining work, and I’ve been meaning to take a
> look at this for quite a while now, but I definitely don’t have any time
> before next Tuesday.
>
> John
>
> > S.
> >
> > On Thu, 7 Dec 2017 at 22:28, Stephen De Gabrielle <
> spdegabrie...@gmail.com> wrote:
> > Only on macOS, but most tests passed.
> > S.
> > On Thu, 7 Dec 2017 at 22:15, John Clements <cleme...@brinckerhoff.org>
> wrote:
> > Bradley was a student of mine, so I’m interested generally. Have you
> checked to see whether adding the libgit2 dependency allows the tests to
> pass?
> >
> > John
> >
> > > On Dec 7, 2017, at 10:27 AM, Stephen De Gabrielle <
> spdegabrie...@gmail.com> wrote:
> > >
> > >
> > > Hi,
> > > https://pkgs.racket-lang.org/package/Drrackgit
> > > https://github.com/bbusching/drrackgit
> > > https://pkgs.racket-lang.org/package/libgit2
> > > https://github.com/bbusching/libgit2
> > > https://libgit2.github.com/
> > >
> > > I was very excited when I found the DrRackGit tool in the Racket
> packages, but saddened to find it is currently failing.
> > >
> > > Bradley, the original developer was kind enough to diagnose the issue
> ( it is missing the dependency on the libgit2 library.) and add a
> compatible licence, but isn’t able to maintain it at the moment.
> > >
> > > Is anyone interested in fixing the libgit2 package?
> > >
> > > Kind regards,
> > >
> > > Stephen
> > >
> > > PS I have built the lib2git library on macOS, but I lack the required
> experience in FFI and I can’t currently build for Linux or windows.
> > >
> > >
> > >
> > >
> > >
> > >
> > > --
> > > Kind regards,
> > > Stephen
> > > --
> > > Ealing (London), UK
> > >
> > > --
> > > 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.
> >
> >
> >
> > --
> > Kind regards,
> > Stephen
> > --
> > Ealing (London), UK
> > --
> > Kind regards,
> > Stephen
> > --
> > Ealing (London), UK
>
>
>
>

-- 
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] DrRackGit & LibGit2

2017-12-07 Thread Stephen De Gabrielle
I should be clear, I ran the libgit2 tests by hard coding the location of
the library and running them manually. I don’t really know what I’m doing
so that was the best I could muddle through.
S.

On Thu, 7 Dec 2017 at 22:28, Stephen De Gabrielle <spdegabrie...@gmail.com>
wrote:

> Only on macOS, but most tests passed.
> S.
> On Thu, 7 Dec 2017 at 22:15, John Clements <cleme...@brinckerhoff.org>
> wrote:
>
>> Bradley was a student of mine, so I’m interested generally. Have you
>> checked to see whether adding the libgit2 dependency allows the tests to
>> pass?
>>
>> John
>>
>> > On Dec 7, 2017, at 10:27 AM, Stephen De Gabrielle <
>> spdegabrie...@gmail.com> wrote:
>> >
>> >
>> > Hi,
>> > https://pkgs.racket-lang.org/package/Drrackgit
>> > https://github.com/bbusching/drrackgit
>> > https://pkgs.racket-lang.org/package/libgit2
>> > https://github.com/bbusching/libgit2
>> > https://libgit2.github.com/
>> >
>> > I was very excited when I found the DrRackGit tool in the Racket
>> packages, but saddened to find it is currently failing.
>> >
>> > Bradley, the original developer was kind enough to diagnose the issue (
>> it is missing the dependency on the libgit2 library.) and add a compatible
>> licence, but isn’t able to maintain it at the moment.
>> >
>> > Is anyone interested in fixing the libgit2 package?
>> >
>> > Kind regards,
>> >
>> > Stephen
>> >
>> > PS I have built the lib2git library on macOS, but I lack the required
>> experience in FFI and I can’t currently build for Linux or windows.
>> >
>> >
>> >
>> >
>> >
>> >
>> > --
>> > Kind regards,
>> > Stephen
>> > --
>> > Ealing (London), UK
>> >
>> > --
>> > 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.
>>
>>
>>
>> --
> Kind regards,
> Stephen
> --
> Ealing (London), UK
>
-- 
Kind regards,
Stephen
--
Ealing (London), UK

-- 
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] DrRackGit & LibGit2

2017-12-07 Thread Stephen De Gabrielle
Only on macOS, but most tests passed.
S.
On Thu, 7 Dec 2017 at 22:15, John Clements <cleme...@brinckerhoff.org>
wrote:

> Bradley was a student of mine, so I’m interested generally. Have you
> checked to see whether adding the libgit2 dependency allows the tests to
> pass?
>
> John
>
> > On Dec 7, 2017, at 10:27 AM, Stephen De Gabrielle <
> spdegabrie...@gmail.com> wrote:
> >
> >
> > Hi,
> > https://pkgs.racket-lang.org/package/Drrackgit
> > https://github.com/bbusching/drrackgit
> > https://pkgs.racket-lang.org/package/libgit2
> > https://github.com/bbusching/libgit2
> > https://libgit2.github.com/
> >
> > I was very excited when I found the DrRackGit tool in the Racket
> packages, but saddened to find it is currently failing.
> >
> > Bradley, the original developer was kind enough to diagnose the issue (
> it is missing the dependency on the libgit2 library.) and add a compatible
> licence, but isn’t able to maintain it at the moment.
> >
> > Is anyone interested in fixing the libgit2 package?
> >
> > Kind regards,
> >
> > Stephen
> >
> > PS I have built the lib2git library on macOS, but I lack the required
> experience in FFI and I can’t currently build for Linux or windows.
> >
> >
> >
> >
> >
> >
> > --
> > Kind regards,
> > Stephen
> > --
> > Ealing (London), UK
> >
> > --
> > 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.
>
>
>
> --
Kind regards,
Stephen
--
Ealing (London), UK

-- 
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] DrRackGit & LibGit2

2017-12-07 Thread Stephen De Gabrielle
Hi,
https://pkgs.racket-lang.org/package/Drrackgit
https://github.com/bbusching/drrackgit
https://pkgs.racket-lang.org/package/libgit2
https://github.com/bbusching/libgit2
https://libgit2.github.com/

I was very excited when I found the DrRackGit tool in the Racket packages,
but saddened to find it is currently failing.

Bradley, the original developer was kind enough to diagnose the issue ( it
is missing the dependency on the libgit2 library
.) and add a compatible licence, but isn’t
able to maintain it at the moment.

Is anyone interested in fixing the libgit2
 package?

Kind regards,

Stephen

PS I have built the lib2git library on macOS, but I lack the required
experience in FFI and I can’t currently build for Linux or windows.






-- 
Kind regards,
Stephen
--
Ealing (London), UK

-- 
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] Divascheme, Paredit and Parinfer

2017-11-30 Thread Stephen De Gabrielle
Hi

I recently asked about DrRacket and a number of users remarked that they
missed the features like those in Paredit in Emacs and Parinfer in Atom.

This reminded me of the DivaScheme plugin where ‘commands operate on sexps
by default’.

It is still on PLaneT but lacks a licence declaration.

It sounds like an it is worth resurrecting.

Are the owners able to put a DrRacket  compatible licence on it?

Aside: What licence should a plugin have?  MIT and/or Apache2?

Kind regards
Stephen

http://cs.brown.edu/research/plt/software/divascheme/
-- 
Kind regards,
Stephen
--
Ealing (London), UK

-- 
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: Alternatives to DrRacket

2017-11-27 Thread Stephen De Gabrielle
I don’t want to stop the responses, but I do want to say thank you to all
of you. You have given me a lot to think about.

Kind regards,

Stephen

-- 
Kind regards,
Stephen
--
Ealing (London), UK

-- 
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] Alternatives to DrRacket

2017-11-26 Thread Stephen De Gabrielle
Hi,

I’ve noticed some list members use other editors or IDE’s.

I know two big reasons for using a complex tool is it’s stickiness factors;
normally a combination of familiarity (hence speed) with a lot of powerful
features and non-transportable customisation.

Putting stickiness factors aside, what features in other editors/IDE’s
would you like to see in DrRacket?

Kind regards,

Stephen


-- 
Kind regards,
Stephen
--
Ealing (London), UK

-- 
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] Diff tool

2017-11-23 Thread Stephen De Gabrielle
Does DrRacket have an integrated diff tool?

Kind regards

Stephen
-- 
Kind regards,
Stephen
--
Ealing (London), UK

-- 
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] DrRacket (6.11) issue on Windows 10

2017-11-13 Thread Stephen De Gabrielle
I don't know if this is what the student is experiencing, but sometimes
windows places a window off screen and it persists in keeping it there.

Changing the screen resolution (temporarily) may cause windows to
reposition the application back on screen, using the windows 'window
manager' 'move' function.

Try googling 'windows 10 window off screen'.

HTH
Stephen


On Mon, Nov 13, 2017 at 8:14 PM, David Van Horn  wrote:

> I have a student who is has a strange problem that is preventing him
> from using DrRacket.
>
> When he opens DrRacket, it goes through the launch window, all the
> tools load, etc., but then when the main DrRacket window should
> appear, it doesn't.  Or rather it does, but not somewhere visible or
> accessible.
>
> There's a DrRacket icon on the taskbar, indicating it's running, and
> if you hover over it, it shows a preview of the DrRacket window, but
> clicking on it does not bring it up.
>
> If he opens a saved file from the filesystem, you can see in the
> preview that the file has been opened in the inaccessbile DrRacket
> window.
>
> He's tried restarting, uninstalling/reinstalling Racket, but gets the
> same issue.
>
> Any ideas how to resolve this?  (Sorry I haven't used Windows in many
> years, so I really don't know how to help.)
>
> David
>
> --
> 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.


[racket-users] using threads in gui

2017-11-06 Thread Stephen De Gabrielle
Hi,

I'm tooling around with a current-user-directory and hierarchical-list% in
#lang racket/gui and it seems to be working adding folders works ok, but
when I delete a group of folders I get the following error;

hierarchical-list-compound-item::delete-item: item not found:
#(struct:object:hierarchical-list-item% ...)
. sequence-contract-violation: negative: method delete cannot be called,
except in states (unlocked), args 0 3

I'm guessing the  '(map (λ (i) (send this delete-item i)) (send this
get-items))' is happening too fast? I'm going to try switching to deleting
one at a time.

More importantly, if anyone is familiar with threads and can spare a moment
I'd appreciate a quick code review.

The final goal is to have make a Dr racket tool/plugin that shows the
current directory, functions/methods/classes like {visual-studio xcode atom
emacs vim eclipse netbeans etc.}. (Working on the directory control helps
me get my head around hierarchical-list%, and I can make it into a small
package)

Kind regards,

Stephen


--
#lang racket/gui
(require framework mrlib/hierlist)
(define window (new frame% [label "directory-hlist"] [width 600] [height
600]))
(define directory-hlist%
  (class hierarchical-list%
(inherit get-dc refresh)
(init-field [directory-path (current-directory-for-user)])
(super-new)
(define (dir-name-from-path path)
  (define-values (base name must-be-dir?) (split-path path))
  name)
(define/private (populate-d-hlist)
  (map
   (λ (path)
 (if (directory-exists? path)
 (send (send (send this new-list) get-editor)
   insert (path->string (dir-name-from-path path)))
 (send (send (send this new-item) get-editor)
   insert (path->string (file-name-from-path path)
   (directory-list directory-path)))

(define/private (directory-change-catcher)
  (define f (filesystem-change-evt (current-directory-for-user)))
  (thread (λ ()
(sync f)
(directory-change-catcher)
(displayln "caught2!")
(map (λ (i) *(send this delete-item i)*) (send this
get-items))
 (populate-d-hlist)
)))

(directory-change-catcher)
(populate-d-hlist)
))

(define nav-hlist (new directory-hlist% [parent window]
   [directory-path (current-directory-for-user)]))


(send window show #t)

-- 
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] Open source projects

2017-10-31 Thread Stephen De Gabrielle
I've added the sha256 suggestion to
https://github.com/racket/racket/wiki/Intro-Projects

s.

On Tue, Oct 31, 2017 at 3:50 PM, David Storrs 
wrote:

> One other relatively easy project would be to add sha256 to the
> openssl library.  https://docs.racket-lang.org/openssl/index.html
>
> There is a version of sha256 implemented in
> https://github.com/RayRacine/grommet but it's for Typed Racket only.
> I know that it's possible to use TR from untyped code, but it would be
> nice to have it all in one place.
>
> On Tue, Oct 31, 2017 at 11:29 AM, Hendrik Boom 
> wrote:
> > On Sun, Oct 29, 2017 at 06:42:39PM -0400, Neil Van Dyke wrote:
> >
> > this above all if you want to contribute::
> >>
> >> While you're first learning Racket by using it, it might also be
> helpful to
> >> others if you kept written notes on things that you found confusing.
> >> Eventually, this list might help improve the documentation for others.
> >
> > WHile Racket is much better documented than most free software, it
> > could be improved.  Debugging documentation requires a supply of
> > ignorance, which is repidly used up as documentation testers
> > learn what the documentation means.  So when you find the
> > documentation obscure, treat it as a documentation bug and report it.
> > Maybe, when you become an expert and your supply of ignorance has run
> > out, you can even propose patches to improve that documentation!
> >
> > -- 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.
> > 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] New wiki page ‘friends of Racket’

2017-10-31 Thread Stephen De Gabrielle
Thank you!

On Tue, 31 Oct 2017 at 20:52, Dmitry Pavlov <dpav...@iaaras.ru> wrote:

>
> I have added some Racket-related information about the Institute of
> Applied Astronomy I work in.
>
> Stephen or Racket-devs: feel free to edit it if needed.
>
>
> Regards,
>
> Dmitry
>
>
> On 28.10.2017 12:56, Stephen De Gabrielle wrote:
> > I created a new wiki page
> > https://github.com/racket/racket/wiki/Friends-of-Racket
> >  (yes, I got the idea from rust-lang)
> >
> > I did it because it is a question that keeps turning up.
> >
> > Racket-devs: If it is not appropriate for the wiki please delete it.
> >
> > Kind regards,
> > Stephen
> >
> >
>
> --
Kind regards,
Stephen
--
Ealing (London), UK

-- 
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] Open source projects

2017-10-31 Thread Stephen De Gabrielle
Double apologies Hendrik - I didn’t notice when my phone incorrectly
‘corrected’ your name.

Kind regards
Stephen
On Tue, 31 Oct 2017 at 20:29, Stephen De Gabrielle <spdegabrie...@gmail.com>
wrote:

> Hi Hendrix,
>
> I hope you don’t mind, but I was so moved by your eloquent plea  I quoted
> it (without attribution) on the page
> https://github.com/racket/racket/wiki/Contributing-to-Racket
>
> Kind regards
> Stephen
>
> PS the github wiki is really easy to use - anyone could contribute - I did
> it on my phone while handing out Halloween candy.
> PPS I wish it was Scribble...
>
> On Tue, 31 Oct 2017 at 15:30, Hendrik Boom <hend...@topoi.pooq.com> wrote:
>
>> On Sun, Oct 29, 2017 at 06:42:39PM -0400, Neil Van Dyke wrote:
>>
>> this above all if you want to contribute::
>> >
>> > While you're first learning Racket by using it, it might also be
>> helpful to
>> > others if you kept written notes on things that you found confusing.
>> > Eventually, this list might help improve the documentation for others.
>>
>> WHile Racket is much better documented than most free software, it
>> could be improved.  Debugging documentation requires a supply of
>> ignorance, which is repidly used up as documentation testers
>> learn what the documentation means.  So when you find the
>> documentation obscure, treat it as a documentation bug and report it.
>> Maybe, when you become an expert and your supply of ignorance has run
>> out, you can even propose patches to improve that documentation!
>>
>> -- 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.
>> For more options, visit https://groups.google.com/d/optout.
>>
> --
> Kind regards,
> Stephen
> --
> Ealing (London), UK
>
-- 
Kind regards,
Stephen
--
Ealing (London), UK

-- 
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] Open source projects

2017-10-31 Thread Stephen De Gabrielle
Hi Hendrix,

I hope you don’t mind, but I was so moved by your eloquent plea  I quoted
it (without attribution) on the page
https://github.com/racket/racket/wiki/Contributing-to-Racket

Kind regards
Stephen

PS the github wiki is really easy to use - anyone could contribute - I did
it on my phone while handing out Halloween candy.
PPS I wish it was Scribble...

On Tue, 31 Oct 2017 at 15:30, Hendrik Boom  wrote:

> On Sun, Oct 29, 2017 at 06:42:39PM -0400, Neil Van Dyke wrote:
>
> this above all if you want to contribute::
> >
> > While you're first learning Racket by using it, it might also be helpful
> to
> > others if you kept written notes on things that you found confusing.
> > Eventually, this list might help improve the documentation for others.
>
> WHile Racket is much better documented than most free software, it
> could be improved.  Debugging documentation requires a supply of
> ignorance, which is repidly used up as documentation testers
> learn what the documentation means.  So when you find the
> documentation obscure, treat it as a documentation bug and report it.
> Maybe, when you become an expert and your supply of ignorance has run
> out, you can even propose patches to improve that documentation!
>
> -- 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.
> For more options, visit https://groups.google.com/d/optout.
>
-- 
Kind regards,
Stephen
--
Ealing (London), UK

-- 
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] Open source projects

2017-10-31 Thread Stephen De Gabrielle
Add it to the wiki?

https://github.com/racket/racket/wiki



On Tue, 31 Oct 2017 at 15:50, David Storrs  wrote:

> One other relatively easy project would be to add sha256 to the
> openssl library.  https://docs.racket-lang.org/openssl/index.html
>
> There is a version of sha256 implemented in
> https://github.com/RayRacine/grommet but it's for Typed Racket only.
> I know that it's possible to use TR from untyped code, but it would be
> nice to have it all in one place.
>
> On Tue, Oct 31, 2017 at 11:29 AM, Hendrik Boom 
> wrote:
> > On Sun, Oct 29, 2017 at 06:42:39PM -0400, Neil Van Dyke wrote:
> >
> > this above all if you want to contribute::
> >>
> >> While you're first learning Racket by using it, it might also be
> helpful to
> >> others if you kept written notes on things that you found confusing.
> >> Eventually, this list might help improve the documentation for others.
> >
> > WHile Racket is much better documented than most free software, it
> > could be improved.  Debugging documentation requires a supply of
> > ignorance, which is repidly used up as documentation testers
> > learn what the documentation means.  So when you find the
> > documentation obscure, treat it as a documentation bug and report it.
> > Maybe, when you become an expert and your supply of ignorance has run
> > out, you can even propose patches to improve that documentation!
> >
> > -- 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.
> > 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.
>
-- 
Kind regards,
Stephen
--
Ealing (London), UK

-- 
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] New wiki page ‘friends of Racket’

2017-10-30 Thread Stephen De Gabrielle
it was nice to see Alex and Philip contribute too!

Stephen


On Mon, Oct 30, 2017 at 4:20 PM, Vincent St-Amour <
stamo...@eecs.northwestern.edu> wrote:

> Thanks Stephen for giving our wiki some much-needed love!
>
> Vincent
>
>
> On Sat, 28 Oct 2017 04:56:37 -0500,
> Stephen De Gabrielle wrote:
> >
> > I created a new wiki page
> > https://github.com/racket/racket/wiki/Friends-of-Racket
> > (yes, I got the idea from rust-lang)
> >
> > I did it because it is a question that keeps turning up.
> >
> > Racket-devs: If it is not appropriate for the wiki please delete it.
> >
> > Kind regards,
> > Stephen
> >
> > ―
> >
> > Organizations using Racket or a language built on Racket
> >
> > * Web-based books Practical Typography, Typography for Lawyers, are
> build with Pollen
> > * YouPatch
> > * Hacker News runs on Arc, which is developed in Racket
> > * Naughty Dog
> >
> > --
> > Kind regards,
> > Stephen
> > --
> > Ealing (London), UK
> >
> > --
> > 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] DrR compilation progress bar

2017-10-29 Thread Stephen De Gabrielle
What about a simple timer and an indicator of compilation time compared to
the previous compilation?
The reasoning is that for a small project compilation time is short so it
doesn’t matter that it will be wildly inaccurate, but for longer projects
where compilation time is long, the number of changes you make will be
proportionately smaller so you will at least have a rough estimate. I’m
guessing that sometimes this will be poor, but for most compilations it
will be okay.

Kr
Stephen
On Sat, 28 Oct 2017 at 22:15, Shu-Hung You <
shu-hung@eecs.northwestern.edu> wrote:

> I think printing which file is currently being loaded can also help,
> like the logs given by enter! #:verbose. These logs can also be
> printed to the interaction window and be erased after the loading
> process is finished. This can let the user know that something is
> actually running.
>
> --Shu-Hung
>
> On Sat, Oct 28, 2017 at 3:42 PM, Ben Greenman
>  wrote:
> > I like the output `raco make -v ` gives on the command-line.
> >
> > How about piping that into the interactions window?
> >
> > --
> > 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.
>
-- 
Kind regards,
Stephen
--
Ealing (London), UK

-- 
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] New wiki page ‘friends of Racket’

2017-10-28 Thread Stephen De Gabrielle
I created a new wiki page
https://github.com/racket/racket/wiki/Friends-of-Racket
 (yes, I got the idea from rust-lang)

I did it because it is a question that keeps turning up.

Racket-devs: If it is not appropriate for the wiki please delete it.

Kind regards,
Stephen

—

Organizations using Racket or a language built on Racket

   - Web-based books Practical Typography, Typography for Lawyers, are
   build with Pollen 
   - YouPatch 
   - Hacker News  runs on Arc,
   which is developed in Racket
   - Naughty Dog
   

-- 
Kind regards,
Stephen
--
Ealing (London), UK

-- 
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] Community or Junior Colleges using Racket for Introductory or Other Courses

2017-10-27 Thread Stephen De Gabrielle
There is the wiki page but I don’t know if any of the places listed meet
your criteria:

https://github.com/racket/racket/wiki/Courses-using-Racket

Kind Regards

Stephen
On Thu, 26 Oct 2017 at 18:40, ben.rudgers  wrote:

> My child is a High School junior and has some interest (and some healthy
> disinterest) in pursuing computer science/engineering/programming/etc.
>
> As a Lisphead and in the interest of presenting a diversity of options if
> it winds up being computer etcetera, I am curious if there are an
> Junior/Community Colleges with Racket oriented curricula.
>
> I have a reasonable idea about four year institutions using Racket from
> PLT page.
>
> Thanks, Ben
>
> --
> 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.
>
-- 
Kind regards,
Stephen
--
Ealing (London), UK

-- 
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] Open source projects

2017-10-24 Thread Stephen De Gabrielle
I think the ‘doable exercise for a budding Racket programmer‘ was scoped to
be an achievable, but important piece that someone else could use to make a
DrRacket plugin.(or more likely change DrRacket core)

Kind regards,

Stephen

On Tue, 24 Oct 2017 at 00:52, Guthrie Price  wrote:

> Thank you all so much for your comments (the resulting discussion was also
> entertaining and unexpected).
>
> If I were to implement path auto-completion, would it be useful if it
> wasn’t integrated into DrRacket? I am not precisely sure what I would be
> adding this functionality to if not DrRacket.
>
>
> On Sunday, October 22, 2017, Neil Van Dyke  wrote:
>
>> I could be missing something, but I think a filename completion procedure
>> (not the DrRacket integration part) might be a doable exercise for a
>> budding Racket programmer, so long as they already have a basic familiarity
>> with using the filesystem and shell as a normal user.
>>
>> Point them to the "Paths" and "Filesystem" sections of the Racket
>> Reference, and tell them they just need a few procedures from each
>> (probably including `split-path` and `directory-list`).
>>
>> They might want to first make a procedure like this:
>>
>> (path-completions path-or-string?)
>> ==> (listof completion-string)
>>
>> And then make a second procedure, which uses the first procedure, then
>> adds an additional step, to let it return two values instead of one:
>>
>> (path-completion-prefix-and-suffixes path-or-string?)
>> ==> (values prefix-string-shared-by-all-completions
>> (listof completion-remainder-after-any-shared-prefix-string))
>>
>> Then, when a user is interactively doing completion (like when they hit
>> the Tab key in a shell), the first value returned by that second procedure
>> is what would get added automatically to the path.  The second value is the
>> list of possible completions following that shared prefix.
>>
>> There are a few special cases to consider, but most should be easy to
>> recognize and work through, just by thinking methodically about each point
>> in your code.  For example, what do you do when the input path is relative,
>> or when when there are no completions, or when the path is invalid or
>> nonexistent or permissions-inaccessible, or when your path is already
>> complete.  One case that's not obvious from the code: if the path is
>> already complete and is a directory, a shell usually completes a directory
>> separator, so consider whether you want to do that.
>>
>> To make unit tests for these, they'll have to also look at more of the
>> "Filesystem" section of the Racket Reference, to create and remove files
>> and directories.
>>
>> (I think wrapping a shell process, robustly, is much more difficult.)
>>
>> --
>>
> You received this message because you are subscribed to a topic in the
>> Google Groups "Racket Users" group.
>> To unsubscribe from this topic, visit
>> https://groups.google.com/d/topic/racket-users/0sNHzZx3JPc/unsubscribe.
>> To unsubscribe from this group and all its topics, 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.
>
-- 
Kind regards,
Stephen
--
Ealing (London), UK

-- 
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] Define/override for mouse event?

2017-10-22 Thread Stephen De Gabrielle
They way I look at it is the Racket/gui libraries are already calling the
‘on-event’ method, you have to override their calls so your code can pass
mouse events to your code.

I suppose the trade-off is your code should work on windows, Linux and
macOS with no change.

Kind regards,

Stephen
On Sat, 21 Oct 2017 at 07:50, Andreas Olsson  wrote:

> Why do one have to use define/override to get the mouse working on a
> canvas? Why not just call the method? It’s a little bit confusing.
>
> --
> 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.
>
-- 
Kind regards,
Stephen
--
Ealing (London), UK

-- 
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] Can anyone help me with a change?

2017-10-22 Thread Stephen De Gabrielle
I don’t think packages on PLaneT can be updated but I may be wrong.

I have moved things from PLaneT to the Racket Package system, and it isn’t
very hard, certainly wasn’t time consuming (an evening).

1. Make a new github repo
2. add the old code,
3. Run it to see what breaks
4. Fix it - I don’t mean to sound flippant - the Racket docs and release
notes are very helpful
5. Repeat 3-4 till it works

Another option, given the book was released in 1999 for (MIT? R4RS?) Scheme
and noting the select language dialog in DrRacket allows you to select the
Scheme language; it may be easier to adapt the scheme library that came
with the book to the more recent version of scheme available in DrRacket.

There are also professional educators (I’m not) on this list who can
probably give better advice, but they probably not checking the Racket
mailing list on Sunday night!

Kind regards,

S.


On Tue, 17 Oct 2017 at 04:46, Josh Paley  wrote:

> Racket Community,
>
> We use the book Simply Scheme at my high school.  Danny Yoo did a
> wonderful job adapting the library content for that book, but he left the
> code for random numbers in place.  The book assumed versions of Scheme that
> might not have *random* and provided a fixed seed, meaning every time a
> new session is run, the seed goes back to the same thing.
>
> What I was hoping was that Danny would have time to do an update that
> would remove the *random* code in the simply.scm file, but he's unable to
> do so and suggested that I see if someone in racket-users might be able to
> help by forking planet-dyoo-simply-scheme2 and doing whatever it is that
> needs to be done to create an update.  If someone could guide me on how the
> process of modifying an existing package, I'd do it as I know exactly what
> code I am looking for and it ought to be an easy change.
>
> If you can help, please let me know.  My fellow teachers and I would be
> extremely grateful.
>
> Regards,
>
> Josh
>
> --
> 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.
>
-- 
Kind regards,
Stephen
--
Ealing (London), UK

-- 
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] European Racketeers and conferences

2017-10-22 Thread Stephen De Gabrielle
Hi,

I’ve taken it upon myself to add the map link to the github wiki homepage
https://github.com/racket/racket/wiki - with the hope that it will help
provide a way for Racketeers to meetup.

The wiki incidentally includes some advice on starting a local meetup
https://github.com/racket/racket/wiki/Start-a-Meetup , as well as a place
to list your meetup: https://github.com/racket/racket/wiki/Racket-Meetups -
that badly needs updating

Kind Regards,

Stephen


On Sun, 22 Oct 2017 at 05:28,  wrote:

> On Tuesday, October 17, 2017 at 7:16:13 PM UTC+2, Ben Greenman wrote:
>
> I just changed the map settings so anyone can edit it.
>>
>
> Great idea; thanks for this, Ben. I've just added myself.
>
> --
> 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.
>
-- 
Kind regards,
Stephen
--
Ealing (London), UK

-- 
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] Open source projects

2017-10-22 Thread Stephen De Gabrielle
>
> auto-completion of filenames in DrRacket, probably using a pop-up. That
> is: I type a string containing a path fragment, and then I hit, say, C-c
> C-r or some other unused combination (ha!), and I get a dialog that will
> allow me with a small number of keystrokes to auto-complete to the filename
> that I’m looking for.


I'd like that too.  While cmd-shift-O is great fro require paths, I find
navigating after the " difficult to use get to my ~/Dev/projectname folder
(I may be doing it wrong).

I have added 'auto-completion of filenames in DrRacket' to
https://github.com/racket/racket/wiki/Larger-Projects
Kind regards,

Stephen


On Sat, Oct 21, 2017 at 5:16 AM, Robby Findler <ro...@eecs.northwestern.edu>
wrote:

> Do you want drr to open the files? If so, is cmd-shift-O followed by
> typing an open double quote close enough?
>
> Robby
>
> On Fri, Oct 20, 2017 at 11:42 AM 'John Clements' via Racket Users <
> racket-users@googlegroups.com> wrote:
>
>>
>> > On Oct 20, 2017, at 8:06 AM, Vincent St-Amour <
>> stamo...@eecs.northwestern.edu> wrote:
>> >
>> > That page is pretty out of date.
>> >
>> > This list is more focused on contributing to Racket itself, but is more
>> > up to date. It was compiled for the "office hours" portion of the last
>> > RacketCon, ~2 weeks ago.
>> >
>> >  https://github.com/racket/racket/wiki/Racketeer-Office-
>> Hours-2017-Task-Ideas
>>
>> There’s something that I now want, and I’m not sure which list to add it
>> to. Following a discussion with William Hatch about shell usage in Racket,
>> what I think I really want is auto-completion of filenames in DrRacket,
>> probably using a pop-up. That is: I type a string containing a path
>> fragment, and then I hit, say, C-c C-r or some other unused combination
>> (ha!), and I get a dialog that will allow me with a small number of
>> keystrokes to auto-complete to the filename that I’m looking for.
>>
>> Should be not-too-impossible.
>>
>> If I get a spare ten hours, I’d love to do it myself…
>>
>> Which list should I add this to?
>>
>> John
>>
>> cc: william hatch except I’m too busy to
>>
>> >
>> > Vincent
>> >
>> >
>> > On Fri, 20 Oct 2017 05:14:28 -0500,
>> > Stephen De Gabrielle wrote:
>> >>
>> >> There is also a suggested projects page on the wiki
>> >>
>> >> https://github.com/racket/racket/wiki/Intro-Projects
>> >>
>> >> I don’t know if it is still accurate.
>> >>
>> >> Kind regards,
>> >>
>> >> Stephen
>> >>
>> >> On Fri, 20 Oct 2017 at 06:45, Jack Firth <jackhfi...@gmail.com> wrote:
>> >>
>> >> Welcome, we're very glad to have you!
>> >>
>> >> Open source Racket projects are scattered all over the place, but here
>> are some good ways to find actively maintained and hopefully accessible
>> projects that might interest you:
>> >>
>> >> - Watch some talks from recent RacketCons, especially the most recent
>> one (which, conveniently, was barely a week and a half ago). A lot of talks
>> are on interesting and wildly unusual open source projects, and as a bonus
>> most presenters
>> >> give out their contact information so people can reach out if they
>> have questions or might be interested in contributing. You can find
>> information on the most recent RacketCon at con.racket-lang.org
>> including video and livestream recordings,
>> >> talk descriptions, and slides for each talk. Info for previous
>> RacketCons are available at con.racket-lang.org/2016/,
>> con.racket-lang.org/2015/, etc. Alas we don't yet have individual
>> prettily-edited videos for each talk at RacketCon 2017; they're
>> >> only viewable via the saved livestream on youtube.
>> >> - Search the official package catalog at pkgs.racket-lang.org for
>> packages whose descriptions sound interesting and which are hosted on
>> GitHub / GitLab / some other platform that makes it easy to contribute.
>> Every package includes links to its
>> >> docs and repostiory, as well as a contact email address for whoever
>> maintains it. If you're not looking for a package in a particular problem
>> domain your best bet is probably to restrict your search to only packages
>> that build, have passing tests,
>> >> and have docs. Decent issue / todo lists in the project repo are a
>> nice bonus.
>> >> - Browse around the front page

Re: [racket-users] European Racketeers and conferences

2017-10-21 Thread Stephen De Gabrielle
And I’m in London(Ealing), and while I can’t own a computer without
installing DrRacket, sadly my day job is using ObjectScript(mumps), not
Racket. (ObjectScript isn’t bad, but it’s not Racket)

Stephen
On Sat, 21 Oct 2017 at 12:07, Andreas Olsson  wrote:

> I’m a Swede and a programming hobbyist. I love Racket and as of now I’m
> making a space shooter with Pict3D.
> Had to make a Quaternion module to make flying around possible. I know
> Racket is thought in  Linköpings Universitet here in Sweden, might be good
> place for a meeting.
>
> I might have time for a meeting if it’s in reach.
>
> --
> 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.
>
-- 
Kind regards,
Stephen
--
Ealing (London), UK

-- 
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] Re: Open source projects

2017-10-20 Thread Stephen De Gabrielle
There is also a suggested projects page on the wiki

https://github.com/racket/racket/wiki/Intro-Projects

I don’t know if it is still accurate.

Kind regards,

Stephen

On Fri, 20 Oct 2017 at 06:45, Jack Firth  wrote:

> Welcome, we're very glad to have you!
>
> Open source Racket projects are scattered all over the place, but here are
> some good ways to find actively maintained and hopefully accessible
> projects that might interest you:
>
> - Watch some talks from recent RacketCons, especially the most recent one
> (which, conveniently, was barely a week and a half ago). A lot of talks are
> on interesting and wildly unusual open source projects, and as a bonus most
> presenters give out their contact information so people can reach out if
> they have questions or might be interested in contributing. You can find
> information on the most recent RacketCon at con.racket-lang.org including
> video and livestream recordings, talk descriptions, and slides for each
> talk. Info for previous RacketCons are available at
> con.racket-lang.org/2016/, con.racket-lang.org/2015/, etc. Alas we don't
> yet have individual prettily-edited videos for each talk at RacketCon 2017;
> they're only viewable via the saved livestream on youtube.
> - Search the official package catalog at pkgs.racket-lang.org for
> packages whose descriptions sound interesting and which are hosted on
> GitHub / GitLab / some other platform that makes it easy to contribute.
> Every package includes links to its docs and repostiory, as well as a
> contact email address for whoever maintains it. If you're not looking for a
> package in a particular problem domain your best bet is probably to
> restrict your search to only packages that build, have passing tests, and
> have docs. Decent issue / todo lists in the project repo are a nice bonus.
> - Browse around the front page of the online Racket documentation at
> docs.racket-lang.org. The online docs includes all docs from all
> successfully built user packages at pkgs.racket-lang.org, grouped into
> top level categories. Once you find some docs for a project that's
> interesting, it's (hopefully!) not difficult to find the package containing
> those docs by searching pkgs.racket-lang.org.
> - Hop in the Racket IRC (#racket on freenode) or the Racket Slack channel
> (signup at racket-slack.herokuapp.com) and ask around about what people
> are working on. I'm sure many folks will be delighted to talk about their
> projects. And this mailing list isn't a bad place to ask either.
> - If you want to try something more ambitious, you can take a peek at the
> Github repos in the "racket" organization (https://github.com/racket).
> These are all (or mostly? not sure) packages in the "main distribution",
> meaning they ship directly with Racket and don't have to be installed by
> users. Contributing to these packages can be a little trickier because
> sometimes they depend on the latest version of Racket's core, meaning
> you'll have to compile Racket's core from source.
>
> Also, all throughout this month Github and DigitalOcean are hosting an
> online event called Hacktoberfest. By signing up at
> https://hacktoberfest.digitalocean.com/ you'll get a free tshirt mailed
> to you if you submit four or more pull requests to any public repositories
> on Github before October ends. It doesn't matter how large each pull
> request is and a pull request to your own repo counts. And speaking from
> experience, they're very comfortable shirts.
>
>> --
> 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.
>
-- 
Kind regards,
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.
For more options, visit https://groups.google.com/d/optout.


Re: [racket-users] European Racketeers and conferences

2017-09-04 Thread Stephen De Gabrielle
I remember a few years ago every community would have a world map of where
participants were based(1) - it seems to have gone out of fashion but I'd
love to know where racket users are based.

I'm in London, and it sounds like there might be two or three others in
London plus a few in other regions of the uk. I'm guessing there are
probably twice as many across the European continent.

Are there any racketeers in Africa, South America, China, Japan, SE Asia,
Middle East, Central Asia, South Asia, Australia or the South Pacific?


Stephen

(1) city or region for privacy
On Mon, 4 Sep 2017 at 14:25, Matthew Eric Bassett 
wrote:

> I regret that I am not able to make it and that I didn't organise
> anything. Best wishes to everyone!
>
> Sent from my iPad
>
> On 4 Sep 2017, at 10:07, Tim Jervis  wrote:
>
> Looking forward to meeting you.
>
> Tim
>
> On 3 Sep 2017, at 11:04, Matthew Flatt  wrote:
>
> For anyone who can make the trip to Oxford, we'll be at the Swan & Castle
> at 6:30pm on Monday. We hope to see you there!
>
> Matthew
>
> On Aug 27, 2017, at 8:12 PM, Matthias Felleisen 
> wrote:
>
>
> HI — we compared constraints with Matthew B. (London) to coordinate but we
> haven’t heard back from him whether we’ll meet in Oxford or London. Sadly
> the other 3 (Sam of Typed Racket fame is attending too) are now at a
> secret-cabal-ifip meeting seem to be off-line too. If anything gets
> organized still, we’ll get i touch with the Oxford/London people. — Matthias
>
>
>
>
> On Aug 27, 2017, at 7:16 AM, Chris Gallagher 
> wrote:
>
> Hi Matthias.  I am based near Oxford and would be interested in joining an
> informal get together while people are at ICFP.
>
> Kind Regards
> Chris
>
> On Tuesday, 22 August 2017 15:51:03 UTC+1, Matthias Felleisen  wrote:
> Matthew F, Robby, and I will be in Oxford for ICFP starting late next
> week. None of us thought of this before but I am sure we could at least
> arrange for some dinner or afternoon get-together. — Matthias
>
>
>
>
>
> On Aug 22, 2017, at 10:44 AM, Tim Jervis  wrote:
>
> Hi Matthew,
>
> I’m based in London and would be interested in a get-together.
>
> Kind regards,
>
>
>
> Tim
>
> On 22 Aug 2017, at 15:20, Daniel Brunner  wrote:
>
> Hey Matthew,
>
> I live in Germany and use Racket for teaching students, teaching our
> apprentices (dual education system in Germany) and use it "in
> production" for some tasks.
>
> Best wishes,
> Daniel
>
> Am 22.08.2017 um 15:15 schrieb Matthew Eric Bassett:
> Hi all,
>
> Gutted I can't make it to RacketCon this year.  Really glad to see it
> growing.
>
> Question for y'all - how many Racketeers are active on this side of the
> Atlantic?  Enough for a specific get-together over here?  Or are there
> already appropriate venues for that that I'm unaware of (I am already
> familiar with the European lisp symposium)
>
> Best,
>
>
>
> --
> 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.
>
>
>
> Tim Jervis
>
> http://timjervis.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.
>
>
>
> --
> 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.
>
>
>
>
> *Tim Jervis*
>
> http://timjervis.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.
>
> --
> 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.
>
-- 
Kind regards,
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.
For more options, visit https://groups.google.com/d/optout.


[racket-users] How to find code in the racket distro

2017-06-20 Thread Stephen De Gabrielle
Hi

There  was a recent question on the list about how to capitalise the first
letter of a string.

There were a number of good approaches, but I thought I would try look for
the implementation of string-titlecase.

I found it surprisingly difficult despite having the search for code
functionality and the syntax highlighting.  In the end I gave up and went
to bed. :(

Does anyone have any suggestions about how to find definitions of core
functions?

Kind regards,

Stephen


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


Re: [racket-users] RacketCon Code of Conduct

2017-06-19 Thread Stephen De Gabrielle
I would suggest that it is more important to get a COC on the RacketCon
website than it is to argue over the wording. I would suggest that every
day that passes without a CoC on the website adds to the risk that possible
racketcon participants might decide not to go... to the detriment of the
Racket community.

I really love how welcoming this community is - even more than I love the
ideas you put into or expressed with Racket. It is your greatest strength.

Kind regards

Stephen
On Mon, 19 Jun 2017 at 18:55, Norman Gray  wrote:

>
> Greetings.
>
> On 19 Jun 2017, at 16:18, John Berry wrote:
>
> > Nothing about a document saying "hey, don't be an ass" implies that
> > the
> > reader themselves, or the community, are asses. Only that the
> > community
> > values not being an ass, and those who might wish to join that
> > community
> > and not be an ass are welcome, and that those who have had to deal
> > with too
> > many asses will hopefully find fewer here.
>
> If the document literally said just 'hey, don't be an ass', or 'don't be
> a git', or 'c'mon, behave', then that would be fine.  Perhaps it could
> have a footnote saying 'Surely you can tell when you're being a git --
> if you for some reason have difficulty with this, then see [link]'.  A
> text like that presumes that the reader is grown-up, but indicates, for
> the avoidance of doubt, that adult civility is indeed expected in the
> meeting.
>
> The problem with the longer text, such as the Strange Loop one[1], is
> that it's manifestly _very_ hard to come up with a text that doesn't
> radiate censoriousness; and however much this isn't the literal
> implication of the text, it does implant the notion that the reader or
> the community has behaviour problems.  That text does not radiate 'you
> are welcome' -- it tells me, 'we have so many gits roaming the corridors
> of our conference that we have to police them'.  In its phrasing, a text
> like this appears to presume that the reader is an undersocialised thug,
> who needs to be given an extensive but non-exhaustive list of things to
> remember not to do.  One has to carefully suppress one's initial
> reaction to it, and smile sweetly.
>
> Also, any text like that almost inevitably acquires a legalistic air,
> and just screams out for disputation, and the reddit thread...
>
> > For the unconvinced, I really appreciated Graydon Hoare's perspective
> > on
> > why he implemented the Rust CoC.
> > https://www.reddit.com/r/rust/comments/6ewjt5/question_
> > about_rusts_odd_code_of_conduct/didrult/
> > https://www.reddit.com/r/rust/comments/6ewjt5/question_
> > about_rusts_odd_code_of_conduct/dif1xvb/
>
> ...seems to corroborate this.
>
> To clarify, this remark is about communication and presentation.  The
> underlying wish to encourage civility is entirely laudable, and the
> experience of being on the wrong end of careless or careful incivility
> would be entirely unpleasant and deplorable, and a conference should aim
> to discourage such incivility by any available effective mechanisms.
>
> If, after all, the only effective mechanism is a rule-book such as is
> being discussed, then can I commend the FreeBSD code [2] which I think
> communicates the underlying goals very well, even though it's primarily
> intended to cover behaviour online, rather than face-to-face.  To my ear
> it benefits from a very slightly old-fashioned air, including the rather
> old-fashioned implication that 'we're sure this stuff doesn't really
> need to be said, but since you ask...'
>
> Best wishes,
>
> Norman
>
>
> [1] https://www.thestrangeloop.com/policies.html
> [2] https://www.freebsd.org/internal/code-of-conduct.html
>
> --
> Norman Gray  :  https://nxg.me.uk
> SUPA School of Physics and Astronomy, University of Glasgow, UK
>
> --
> 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.
>
-- 
Kind regards,
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.
For more options, visit https://groups.google.com/d/optout.


Re: [racket-users] RacketCon Code of Conduct

2017-06-18 Thread Stephen De Gabrielle
As a middle-aged white heterosexual male I've never needed a COC.

It is my understanding that clear COCs (that are enforced) are valuable in
that they reduce the both the incidence and impact of discrimination and
harassment.

Kind regards

Stephen

On Sat, 17 Jun 2017 at 19:53, Matthias Felleisen 
wrote:

>
> A code of conduct is a totally stupid idea for RacketCon. Racketeers were
> raised properly by their parents and are well behaved. I really hate
> attending conferences that need to impose a code.
>
> --
> 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.
>
-- 
Kind regards,
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.
For more options, visit https://groups.google.com/d/optout.


Re: [racket-users] RacketCon Code of Conduct

2017-06-16 Thread Stephen De Gabrielle
Awesome. (It's an opinion)
On Fri, 16 Jun 2017 at 19:48, Alexis King  wrote:

> +1 from me. I think the Strange Loop CoC is a good one to emulate.
>
> > On Jun 16, 2017, at 11:44 AM, Leif Andersen 
> > wrote:
> >
> > RacketCon 2017 should have a code of conduct, as pointed out by Claire
> > on twitter [1], and I absolutely agree. It doesn't have to be anything
> > fancy, and can be a fairly standard one.
> >
> > Although we are not co-located with Strange Loop this year, they have
> > a fairly sensible one that we could use [2], which is adapted from the
> > one from the geek feminism wiki [3].
> >
> > Does anyone have any opinions on what we use? I would also be happy
> > to add it to the RacketCon web page.
> >
> > [1]: https://twitter.com/chckadee/status/874345544977707008
> > [2]: https://www.thestrangeloop.com/policies.html
> > [3]: https://geekfeminism.org/about/code-of-conduct/
> >
> > ~Leif Andersen
>
> --
> 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.
>
-- 
Kind regards,
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.
For more options, visit https://groups.google.com/d/optout.


Re: [racket-users] Racket for Kids in 2017

2017-05-29 Thread Stephen De Gabrielle
I'm no expert either :)
I *am* keen that any kid (like my 12yo son)  doesn't end up having a bad
experience. I think there is a big difference between the TRS-80 I typed
BASIC into and the options kids have now & I'm not sure regular parents who
like me, aren't education professionals, can provide the right guidance &
support.

S.


On Mon, 29 May 2017 at 04:20, Neil Van Dyke <n...@neilvandyke.org> wrote:

> Stephen De Gabrielle wrote on 05/28/2017 09:08 AM:
> > > But don't discount the potential of throwing a young child at a
> > computer with
> > > only non-child software on it, and let them figure out
> > > how to do what they want, much on their own. That's how the early-1980s
> > > home computer kids got started, and that worked out pretty well.
>
> > Survivorship bias?
>
> Could be; good point.  (I've seen and suspected a lot of survivor bias
> in academia, in various ways, especially around the fancy-pants schools,
> and around narrow STEM paths; but that's another conversation.)
>
> I know only a little of the work that has been done on this, by
> education and developmental researchers, so I overstated my
> non-specialist's opinion.  My bad.
>
> My *anecdotal experience and inexpert intuition* is that self-motivated
> play by young children, who are in sponge mode, can be a powerful
> learning machine, especially when given helpful nudges/nurturing.
> Seymour Papert and others have worked on this.
>
> And I believe I've observed the influence of people feeling that they
> are doing well, or doing badly, at something new.  So I suspect that
> nudging that, as needed, can be key to the learner putting in enough
> time and effort to do well.
>
> I doubt that these general ideas would be controversial among actual
> experts, but of course there must also be a lot more going on and
> important, which they also know something about.
>
> --
Kind regards,
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.
For more options, visit https://groups.google.com/d/optout.


Re: [racket-users] Racket 6.9

2017-04-29 Thread Stephen De Gabrielle
Wow. Background expansion really kills old hardware. Luckily I can turn it
off and use check syntax!

S.
On Sat, 29 Apr 2017 at 20:32, Stephen De Gabrielle <spdegabrie...@gmail.com>
wrote:

> I just realised I have a Windows 7 (32bit) toshiba nb 200.
> DrRacket (32bit) launched with no problems.
>
> Check the operating system type(32-bit/x86 or 64-bit x64) is the same as
> the DrR download type.
>
> Kind regards
>
> Stephen
> On Sat, 29 Apr 2017 at 20:18, Stephen De Gabrielle <
> spdegabrie...@gmail.com> wrote:
>
>> Ubuntu Linux is cheap, includes an alternative to ms word, gets regular
>> updates and (most importantly) runs racket fine.
>>
>> https://launchpad.net/~plt/+archive/ubuntu/racket
>>
>> Kind regards
>> Stephen
>>
>> On Sat, 29 Apr 2017 at 20:05, Jos Koot <jos.k...@gmail.com> wrote:
>>
>>> Hi
>>> I have downloaded 6.9, but was warned that the file does not end in
>>> correct way.
>>> Running the exe anyway gave a DrRacket that aborts after opening it.
>>> I have Windows 7 with Bullguard protection.
>>>
>>> In the past I saw the warning often for dayly night builds,
>>> but ignoring the warning (almost) never gave problems.
>>>
>>> Soon I'll switch to a more modern system
>>> (preferably not with windows; what would be a cheap and yet good choice?
>>> I also need a good replacement for Microsoft Office 2003.
>>> I ask these questions here, because Racket (besides email and
>>> a replacement for Microsoft Word) is my most important tool.)
>>>
>>> Thanks, Jos
>>>
>>> --
>>> 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.
>>>
>> --
>> Kind regards,
>> Stephen
>> --
>>
> --
> Kind regards,
> Stephen
> --
>
-- 
Kind regards,
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.
For more options, visit https://groups.google.com/d/optout.


Re: [racket-users] scale of image of scribble with .jpg

2017-04-29 Thread Stephen De Gabrielle
Scaling will always make the image less sharp, but you are right - scale
works with GIF images but not jpg.

 I have not checked the documentation.

S.


On Sat, 29 Apr 2017 at 19:06, Jos Koot  wrote:

> Hi,
>
> I have the following:
>
> #lang scribble/manual
> ...
> @(image #:scale 2 "Turing-machine.jpg")
> ...
>
> Works well, except that the image is not enlarged.
> What should I do to force the scale?
> Scaling does work with .gif,
> but .gif gives less sharp images.
>
> Thanks, Jos
>
> --
> 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.
>
-- 
Kind regards,
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.
For more options, visit https://groups.google.com/d/optout.


Re: [racket-users] Racket 6.9

2017-04-29 Thread Stephen De Gabrielle
I just realised I have a Windows 7 (32bit) toshiba nb 200.
DrRacket (32bit) launched with no problems.

Check the operating system type(32-bit/x86 or 64-bit x64) is the same as
the DrR download type.

Kind regards

Stephen
On Sat, 29 Apr 2017 at 20:18, Stephen De Gabrielle <spdegabrie...@gmail.com>
wrote:

> Ubuntu Linux is cheap, includes an alternative to ms word, gets regular
> updates and (most importantly) runs racket fine.
>
> https://launchpad.net/~plt/+archive/ubuntu/racket
>
> Kind regards
> Stephen
>
> On Sat, 29 Apr 2017 at 20:05, Jos Koot <jos.k...@gmail.com> wrote:
>
>> Hi
>> I have downloaded 6.9, but was warned that the file does not end in
>> correct way.
>> Running the exe anyway gave a DrRacket that aborts after opening it.
>> I have Windows 7 with Bullguard protection.
>>
>> In the past I saw the warning often for dayly night builds,
>> but ignoring the warning (almost) never gave problems.
>>
>> Soon I'll switch to a more modern system
>> (preferably not with windows; what would be a cheap and yet good choice?
>> I also need a good replacement for Microsoft Office 2003.
>> I ask these questions here, because Racket (besides email and
>> a replacement for Microsoft Word) is my most important tool.)
>>
>> Thanks, Jos
>>
>> --
>> 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.
>>
> --
> Kind regards,
> Stephen
> --
>
-- 
Kind regards,
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.
For more options, visit https://groups.google.com/d/optout.


Re: [racket-users] Racket 6.9

2017-04-29 Thread Stephen De Gabrielle
Ubuntu Linux is cheap, includes an alternative to ms word, gets regular
updates and (most importantly) runs racket fine.

https://launchpad.net/~plt/+archive/ubuntu/racket

Kind regards
Stephen

On Sat, 29 Apr 2017 at 20:05, Jos Koot  wrote:

> Hi
> I have downloaded 6.9, but was warned that the file does not end in
> correct way.
> Running the exe anyway gave a DrRacket that aborts after opening it.
> I have Windows 7 with Bullguard protection.
>
> In the past I saw the warning often for dayly night builds,
> but ignoring the warning (almost) never gave problems.
>
> Soon I'll switch to a more modern system
> (preferably not with windows; what would be a cheap and yet good choice?
> I also need a good replacement for Microsoft Office 2003.
> I ask these questions here, because Racket (besides email and
> a replacement for Microsoft Word) is my most important tool.)
>
> Thanks, Jos
>
> --
> 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.
>
-- 
Kind regards,
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.
For more options, visit https://groups.google.com/d/optout.


Re: [racket-users] Re: inspecting a table error 'error 'query: multiple statements given'

2017-04-19 Thread Stephen De Gabrielle
Thanks!
On Mon, 17 Apr 2017 at 16:42, Alexander McLin  wrote:

> The error message is unclear but I believe SQLite do not support
> parameters for PRAGMA statements.
>
> The SQLite documentation at http://www.sqlite.org/lang_expr.html#varparam
> specifically says parameters are supported by expressions. PRAGMA
> statements are not expressions.
>
> If you examine the SQL syntax structure defined for expressions at
> http://www.sqlite.org/lang_expr.html, you'll see PRAGMA is not part of
> the definition.
>
> If you execute the following: (query db "PRAGMA table_info($1)"). It
> generates the same error without any parameter arguments being passed
> along. It makes me think the error may be arising from an internal parsing
> error and probably could be improved on.
>
> --
> 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.
>
-- 
Kind regards,
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.
For more options, visit https://groups.google.com/d/optout.


[racket-users] inspecting a table error 'error 'query: multiple statements given'

2017-04-14 Thread Stephen De Gabrielle
Hi,

Having a little trouble with the db library.

In the following test the first '(query db "PRAGMA' works, but the second
fails with the error 'query: multiple statements given
  given: "PRAGMA table_info($1)"'

Any ideas about what I'm doing wrong?

Not including the single quotes in the PRAGMA function (an example from the
sqlite documentation: PRAGMA index_info('idx52');), but while adding to the
first instance succeeds, adding it to the second instance stops the

#lang racket/base
> (require db)
> (define db (sqlite3-connect #:database "test.db" #:mode 'create))
> (query-exec db
>  "CREATE TABLE comments (pid INTEGER, content TEXT)")
> (define dbtables (list-tables db))
> 'cols
> (query db "PRAGMA table_info(comments)")
> (query db "PRAGMA table_info($1)" "comments")


returns

Welcome to DrRacket, version 6.9.0.1--2017-04-08(73d28d8/a) [3m].
> Language: racket/base, with debugging; memory limit: 128 MB.
> 'cols
> (rows-result
>  '(((name . "cid") (decltype . #f))
>((name . "name") (decltype . #f))
>((name . "type") (decltype . #f))
>((name . "notnull") (decltype . #f))
>((name . "dflt_value") (decltype . #f))
>((name . "pk") (decltype . #f)))
>  '(#(0 "pid" "INTEGER" 0 # 0) #(1 "content" "TEXT" 0 #
> 0)))
> . . query: multiple statements given
>   given: "PRAGMA table_info($1)"


with quotes

> (query db "PRAGMA table_info('$1')" "comments")


stops 'query' from identifying the '$1' argument in the statement

>  query: wrong number of parameters for query
>   expected: 0
>   given: 1


Kind regards,

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


Re: [racket-users] refactoring help/tools?

2017-03-13 Thread Stephen De Gabrielle
Sorry  - I meant to reply all. My questions weren't directed at anyone
specific.
S.

On Mon, 13 Mar 2017 at 21:24, Stephen De Gabrielle <spdegabrie...@gmail.com>
wrote:

> Do you mean a drracket plugin that
> i. Expands #lang racket into racket/base and requires,
> ii. removes the unneeded requires
>
> Should there be a complimentary function that suggests and adds requires
> if an error triggers for an undefined function?
>
> Are there any other gaps between DrRacket and Emacs? (specifically for
> Racket dev/languages - I'm not suggesting org-mode or anything like that)
>
> Is it easier to develop extensions to Emacs than plugins for DrRacket?
>
> Kind regards
>
> Stephen
>
> On Mon, 13 Mar 2017 at 18:20, Matthias Felleisen <matth...@ccs.neu.edu>
> wrote:
>
>
> I know that one. I want the refactoring.
>
>
> > On Mar 13, 2017, at 1:40 PM, Robby Findler <ro...@eecs.northwestern.edu>
> wrote:
> >
> > Not the same thing, but if you mouse over the requires in DrRacket, it
> > will put a red background on the ones that have no apparent use (of
> > course, requires may have an effect too; neither tool picks that up,
> > IIUC).
> >
> > Robby
> >
> >
> > On Mon, Mar 13, 2017 at 12:38 PM, Jay McCarthy <jay.mccar...@gmail.com>
> wrote:
> >> Actually it is the trim option. I prefer racket-base-requires though
> >>
> >> Jay
> >>
> >> On Mon, Mar 13, 2017 at 1:37 PM Jay McCarthy <jay.mccar...@gmail.com>
> wrote:
> >>>
> >>> M-x racket-tidy-requires
> >>>
> >>> Jay
> >>>
> >>> On Mon, Mar 13, 2017 at 1:29 PM Matthias Felleisen <
> matth...@ccs.neu.edu>
> >>> wrote:
> >>>>
> >>>>
> >>>> Does Emacs really give you this refactoring? If so, I may have to
> >>>> reconsider DrRacket.
> >>>>
> >>>>
> >>>>> On Mar 13, 2017, at 1:18 PM, Jay McCarthy <jay.mccar...@gmail.com>
> >>>>> wrote:
> >>>>>
> >>>>> racket-mode in Emacs does this
> >>>>>
> >>>>> Jay
> >>>>>
> >>>>> On Mon, Mar 13, 2017 at 1:17 PM Dan Liebgold
> >>>>> <dan_liebg...@naughtydog.com> wrote:
> >>>>> Hi -
> >>>>>
> >>>>> In refactoring a some Racket code I'd love to have a "require and
> >>>>> provide only what you need" tool to help trim down the require and
> provide
> >>>>> lists. Is there such a thing? Or at least a better approach for this
> than
> >>>>> inspection or trial and error?
> >>>>>
> >>>>> Thanks,
> >>>>> Dna
> >>>>>
> >>>>> --
> >>>>> 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.
> >>>>> --
> >>>>> -=[ Jay McCarthy   http://jeapostrophe.github.io
> ]=-
> >>>>> -=[ Associate ProfessorPLT @ CS @ UMass Lowell ]=-
> >>>>> -=[ Moses 1:33: And worlds without number have I created; ]=-
> >>>>>
> >>>>> --
> >>>>> 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.
> >>>>
> >>> --
> >>> -=[ Jay McCarthy   http://jeapostrophe.github.io
> ]=-
> >>> -=[ Associate ProfessorPLT @ CS @ UMass Lowell ]=-
> >>> -=[ Moses 1:33: And worlds without number have I created; ]=-
> >>
> >> --
> >> -=[ Jay McCarthy   http://jeapostrophe.github.io]=-
> >> -=[ Associate ProfessorPLT @ CS @ UMass Lowell ]=-
> >> -=[ Moses 1:33: And worlds without number have I created; ]=-
> >>
> >> --
> >> 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.
>
> --
> Kind regards,
> Stephen
> --
>
-- 
Kind regards,
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.
For more options, visit https://groups.google.com/d/optout.


[racket-users] Is there any way I can use the terse forms of quasiquote with at-exp?

2017-03-11 Thread Stephen De Gabrielle
Hi,

Is there any way I can use the terse forms of quasiquote with at-exp?

I want to use @expressions{} inside a quasi quoted list, but the unquote
comma captures the at-sign at ,@a~{}

I'm trying to achieve the following with the at-exp

;working example
#lang at-exp racket
(require racket/random)
(define (path)
  (random-ref '["stream""brook" "path" "ravine" "forest" "fence" "stone
wall"]))

(~a "beyond the " (path) ", ")
@~a{beyond the @(path), }


(random-ref
 `(
   ,(~a "beyond the " (path) ", ")
  ;,@~a{beyond the @(path) })
   ,(~a "along the " (path) ", ")
  ;,@~a{beyond the @(path) })
   ))

My reason is I find at-expressions more readable.

Kind regards,

Stephen

PS: Ive been very excited by at-exp since I read
http://www.greghendershott.com/2015/08/at-expressions.html
I despise double escaping, because I always make a mistake, so this made me
very happy:

@pregexp{\d\.\d}  ; #px"\\d\\.\\d"

-- 
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] Client side web applications in Racket

2017-01-27 Thread Stephen De Gabrielle
Thank you all!

I'm still getting my head around how modern (client side)web applications
are developed and work on the users browser - the last web application I
worked on was perl and fast-cgi.

My understanding of modern web apps is
a) you are served a base (x?)HTML(5?) page and JavaScript by the webserver
b) the JavaScript then populates the DOM with any dynamic elements
c) the JavaScript responds user events and  polls the server, updating the
DOM accordingly

I think I can do JavaScript side with RacketScript or Urlang* combined with
HTML without resorting to one of the web frameworks.  I'll try a
Frankenstein monster combining 'Instaweb with space invaders  to see if I
can serve JavaScript  and go from there.


 Thanks again for the kind responses,
Stephen


* I'm undecided because I only know a little js, and know nothing about
nodejs


On Sun, 22 Jan 2017 at 21:37, Neil Van Dyke  wrote:

You can also do HTML 5 (possibly Offline), together with whatever JS
libraries you want for UX and for cross-browser differences (especially
for client-side storage of larger data), and have it talk with your
HTTPS Web server that's implemented in Racket using XML or JSON.

Your webservice XML/JSON messages will normally be in terms of the
model, nothing view/controller-specific.  Which is good for many
reasons, though sometimes you can make a good argument for cheating, but
be very careful with cheating, because you will tend to pay for it for a
long time.

Depending on your app, you might also find (as I did, with a complicated
data-driven app), that it can help to have Racket generate much of the
static client-side HTML/JS/CSS.

This can let you do things that clerical-worker-oriented frameworks do
not, and more efficiently.  It does mean, however, that you need
non-clerical-workers to do much of the work, unlike many Web frameworks.

-- 
Kind regards,
Stephen
--
Bigger than Scheme, cooler than Clojure & more fun than CL.(n=1)
--

-- 
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] Client side web applications in Racket

2017-01-22 Thread Stephen De Gabrielle
Thanks

- is there a JavaScript MVC framework that is suitable to use with
racketscript? (should I be using react or angular ?)

- can I use Racketscrips with racket web applications stuff for the backend
or am I compiling racketscript to nodejs to run on the server?

Thanks again
On Sun, 22 Jan 2017 at 14:11, Jens Axel Søgaard <jensa...@soegaard.net>
wrote:

> Hi Stephen,
>
> If you want to write real Racket on the client side, your best bet is to
> use racketscript.
>
>  https://github.com/vishesh/racketscript
>
> Try it out here:
>
>  http://rapture.twistedplane.com:8080/
>
> Note that tail recursion is not supported.
>
> Urlang as-is will allow you to write JavaScript using S-expression syntax
> and
> also allow you to write macros using the standard Racket tools such as
> syntax-parse.
>
> An example: http://soegaard.github.io/urlang/space-invaders.html
>
> The plan is to use Urlang as backed for a Racket to JavaScript compiler,
> but that project [*] is not ready for use yet (I plan to hack on this
> during the
> summer vacation).
>
> [*]
> https://github.com/soegaard/urlang/blob/master/compiler-rjs/compiler.rkt
>
>
> Whalesong implements full Racket with tco and correct error reporting.
> The Whalesong compiler only runs on old versions of Racket and Danny
> stopped worked on it years ago.
>
> /Jens Axel
>
>
>
> 2017-01-22 14:13 GMT+01:00 Stephen De Gabrielle <spdegabrie...@gmail.com>:
>
> Hi,
>
> What are my options for doing client side web applications in Racket ?
>
> I've been getting my head around server side - I can auth a user and set a
> cookie - but I'm not sure what my options for client side web apps:
>
> - Should I be using Whalesong and/or Urlang?
> - Is there a right/wrong [WhaleSong | Urlang | JavaScript] framework?
> - Can I write both the front and back end in Racket?
> - Is WeScheme a Racket web app?
>
> I'm not sure where to start - the last time I did any significant
> JavaScript it was writing a pong game using the adobe svg plugin!
>
> Any feedback/advice appreciated,
>
> Kind regards,
>
> Stephen
>
> --
> Kind regards,
> Stephen
> --
> Bigger than Scheme, cooler than Clojure & more fun than CL.(n=1)
> --
>
> --
> 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.
>
>
>
>
> --
> --
> Jens Axel Søgaard
>
> --
Kind regards,
Stephen
--
Bigger than Scheme, cooler than Clojure & more fun than CL.(n=1)
--

-- 
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] Client side web applications in Racket

2017-01-22 Thread Stephen De Gabrielle
Hi,

What are my options for doing client side web applications in Racket ?

I've been getting my head around server side - I can auth a user and set a
cookie - but I'm not sure what my options for client side web apps:

- Should I be using Whalesong and/or Urlang?
- Is there a right/wrong [WhaleSong | Urlang | JavaScript] framework?
- Can I write both the front and back end in Racket?
- Is WeScheme a Racket web app?

I'm not sure where to start - the last time I did any significant
JavaScript it was writing a pong game using the adobe svg plugin!

Any feedback/advice appreciated,

Kind regards,

Stephen

-- 
Kind regards,
Stephen
--
Bigger than Scheme, cooler than Clojure & more fun than CL.(n=1)
--

-- 
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] What is the difference between the window snapshot builds?

2017-01-13 Thread Stephen De Gabrielle
I just noticed that the Utah builds failed.
The 64 bit has succeeded now, but a different sha1 is to be expected

Thanks

S.

On Fri, 13 Jan 2017 at 12:26, Matthew Flatt <mfl...@cs.utah.edu> wrote:

> The builds at Northwestern are created by cross-compilation using
>
> MingGW, while the builds at Utah use MSVC on Windows.
>
>
>
> But that difference is not supposed to be visible, since the end result
>
> should be the same. Are you seeing a difference between the builds?
>
>
>
> At Fri, 13 Jan 2017 09:24:48 +, Stephen De Gabrielle wrote:
>
> > Hi,
>
> >
>
> > What is the difference between the windows snapshot builds from Utah and
>
> > northwestern?
>
> >
>
> > Kind regards,
>
> > Stephen
>
> >
>
> >
>
> > --
>
> > Kind regards,
>
> > Stephen
>
> > --
>
> > Bigger than Scheme, cooler than Clojure & more fun than CL.(n=1)
>
> > --
>
>
>
> --
Kind regards,
Stephen
--
Bigger than Scheme, cooler than Clojure & more fun than CL.(n=1)
--

-- 
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] What is the difference between the window snapshot builds?

2017-01-13 Thread Stephen De Gabrielle
Hi,

What is the difference between the windows snapshot builds from Utah and
northwestern?

Kind regards,
Stephen


-- 
Kind regards,
Stephen
--
Bigger than Scheme, cooler than Clojure & more fun than CL.(n=1)
--

-- 
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] hello, where can I find the distribution 6.7.0.3.

2017-01-04 Thread Stephen De Gabrielle
there is an 'other available snapshots' at the bottom of the snapshots
screen

e.g.

https://www.cs.utah.edu/plt/snapshots/20161228-f039a4c/index.html

they have dates but I don't know what snapshot version numbers they
correspond to.
HTH

Stephen




On Wed, Jan 4, 2017 at 8:51 AM, WarGrey Gyoudmon Ju 
wrote:

> I cannot deploy my typed desktop application on Windows.
>
> In the download home page, 6.7 does not work, and that bug seemed to be
> solved (I started 6.7 from 6.7.0.3, do not know whether it was okay on
> macOS).
>
> The latest snapshot has a new bug shown both on macOS and Windows:
>
> in-list: contract violation
>   expected: list?
>   given: (hash (Object) #t b #t)
>   compilation context...:
> context...:
>C:\Program Files\Racket-6.7.0.4\collects\racket\private\for.rkt:633:2:
> in-list
>f184
>C:\Program 
> Files\Racket-6.7.0.4\share\pkgs\typed-racket-lib\typed-racket\rep\type-rep.rkt:656:4:
> for-loop
>C:\Program 
> Files\Racket-6.7.0.4\share\pkgs\typed-racket-lib\typed-racket\rep\type-rep.rkt:653:0:
> Union-map
>f152
>C:\Program Files\Racket-6.7.0.4\share\pkgs\typed-racket-lib\typed-
> racket\rep\rep-utils.rkt:191:8: Rep-fmap
>C:\Program Files\Racket-6.7.0.4\share\pkgs\typed-racket-lib\typed-
> racket\typecheck\tc-subst.rkt:98:0: subst-tc-result
>C:\Program Files\Racket-6.7.0.4\share\pkgs\typed-racket-lib\typed-
> racket\typecheck\tc-subst.rkt:35:0: values->tc-results5
>C:\Program Files\Racket-6.7.0.4\share\pkgs\typed-racket-lib\typed-
> racket\typecheck\tc-funapp.rkt:45:0: tc/funapp
>temp101
>C:\Program Files\Racket-6.7.0.4\share\pkgs\typed-racket-lib\typed-
> racket\typecheck\tc-expr-unit.rkt:329:0: core914
>C:\Program Files\Racket-6.7.0.4\share\pkgs\typed-racket-lib\typed-
> racket\typecheck\tc-if.rkt:13:0: core16
>temp101
>C:\Program Files\Racket-6.7.0.4\share\pkgs\typed-racket-lib\typed-
> racket\typecheck\tc-expr-unit.rkt:326:0: tc-expr
>temp101
>C:\Program Files\Racket-6.7.0.4\share\pkgs\typed-racket-lib\typed-
> racket\typecheck\tc-expr-unit.rkt:79:0: tc-expr/check
>...
>
> Would you please take me to the download page of 6.7.0.3? or one commit
> before this bug? (I don't want to build it from source because real users
> of this application have no knowledge on programming. Also I am working
> remotely, we should have an agile feedback and update process). Thank you.
>
> --
> 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] Does anyone have a CRC-16-CCITT implementation in Racket?

2017-01-03 Thread Stephen De Gabrielle
Is it the CRC mentioned in this article?
http://www.drdobbs.com/implementing-the-ccitt-cyclical-redundan/199904926


s.


On Tue, Jan 3, 2017 at 3:54 PM,  wrote:

> Hi Racketeers,
>
> Does anyone have a CRC-16-CCITT implementation in Racket?  I didn't see it
> in the pkgs site, I thought someone might have an unpublished version they
> might like to share.
>
> Thanks,
> Jerry
>
> --
> 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] New website design feedback

2017-01-02 Thread Stephen De Gabrielle
Great new design
FWIW I noticed the following
- when you select the code examples the grey is replaced with documentation
style linked code
- it resizes nicely to the small screen of my phone (i don't see the point
as I can't use DrRacket on my iPhone...this is not a bad thing as typing
code on a phone is a terrible idea)

I'm guessing the 2htdp/image library was used to generate the nice
backgrounds as per the #lang racket Sierpinski example. You could also use
the racket/draw library.

Kind regards
Stephen

On Mon, 2 Jan 2017 at 10:13, Greg Trzeciak  wrote:

> On Thursday, December 29, 2016 at 6:46:12 PM UTC+1, Matthew Butterick
> wrote:
>
>
>
> > I darkened them a bit. But grey text has been used in screen interfaces
> for 30 yrs to indicate de-emphasis, and is widely used on today's web (e.g.
> Github). That particular horse is long out of the barn.
>
>
>
> I'd rather think of myself as being ahead of time ;)
>
>
>
> Now to the serious points - it looks really good now and satisfies all of
> the issues I had. One new minor issue - when you resize your browser to the
> minimum width possible the top 3 buttons (docs, packages, download) are the
> only elements that don't fit in one line and slightly distort the
> eye-pleasing layout .
>
>
>
> BTW What did you use to generate those images used behind eg. "Powerful
> macros & languages"?
>
>
>
> --
>
> 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.
>
> --
Kind regards,
Stephen
--
Bigger than Scheme, cooler than Clojure & more fun than CL.(n=1)
--

-- 
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] Errors in (Dr)Racket

2017-01-01 Thread Stephen De Gabrielle
Hi All,

I occasionally write code with errors* that cause the DrRacket error
message to link to an internal Racket file, rather than my own incorrect
code.

The last time I did this it was doing web server code, but I've also
managed it with GUI code.(and playing with DrRacket Plugins)

I've not filed a report (or attempted a patch) on this before, mostly out
of embarrassment, but also because because I feel out of my depth in the
racket internals and the error was in my own code.

Should I report these when I find them? Should I attempt to work out the
cause and attempt a patch?

Kind Regards (and Happy New Year)

Stephen

* who am I kidding? my code is *mostly* errors  :)
-- 
Kind regards,
Stephen
--
Bigger than Scheme, cooler than Clojure & more fun than CL.(n=1)
--

-- 
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] Plot multiple lines from data set

2016-11-30 Thread Stephen De Gabrielle
Hi,

I'm trying to work out how I can include multiple datasets in a single plot.
(plot (list (function) ...)) works,

Should I write a macro that creates an enormous plot statement? Is there
another way to build the list of renderers?

I've attached my example

Kind regards,

Stephen

-- 
Kind regards,
Stephen
--
Bigger than Scheme, cooler than Clojure & more fun than CL.(n=1)
--

-- 
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.


HbA1Cplot-test.rkt
Description: Binary data


[racket-users] Twenty six low-risk ways to use Racket at work You can start right now

2016-09-29 Thread Stephen De Gabrielle
Hi all,

I was listening to a podcast about F# That mentioned an article like this
As I've used a racket at work a number of times for small job, it occurs to
me that this might be a nice thing to pop on the wiki. Please let me know
if you have any objections.

Kind regards,

Stephen

Ref
https://fsharpforfunandprofit.com/posts/low-risk-ways-to-use-fsharp-at-work/
-- 
Kind regards,
Stephen
--
Bigger than Scheme, cooler than Clojure & more fun than CL.(n=1)
--

-- 
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] Racket module creation in org-mode?

2016-09-07 Thread Stephen De Gabrielle
Sorry, I'm not sure I understand what you mean.

You can use the module form to define more than one module in a file.
There is also the sub-modules functionality.

Both are documented at
https://docs.racket-lang.org/guide/Module_Syntax.html#%28part._module-syntax%29

Kind regards
Stephen
On Tue, 6 Sep 2016 at 19:59, Lawrence Bottorff  wrote:

> Just wondering if creating a module always has to be based on a .rkt file?
> Would there be any way to create, say, modules (one or more) in an org-mode
> file, perhaps one module per babel code block? . . . Trying to get org-mode
> to be more "modular."
>
> --
> 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.
>
-- 
Kind regards,
Stephen
--
Bigger than Scheme, cooler than Clojure & more fun than CL.(n=1)
--

-- 
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] Mixin questions

2016-08-13 Thread Stephen De Gabrielle
Excellent write-write up !
On Fri, 12 Aug 2016 at 13:40, Matthias Felleisen 
wrote:

>
> You may want to scan this little write-up on first-class classes and
> mixins:
>
>
> http://www.ccs.neu.edu/home/matthias/Thoughts/Programming_with_Class_in_Racket.html
>
> I intended to push into the docs at some point, but we dropped the ball on
> it.
>
>
>
>
> > On Aug 12, 2016, at 8:13 AM, Normal Loone 
> wrote:
> >
> > How do I call the methodes of each mixin? When I tried something like
> (define/public ...) the other mixins could not access these.
> >
> >
> > Am Donnerstag, 11. August 2016 20:19:02 UTC+2 schrieb Robby Findler:
> >> Although, with these two particular interfaces, there is no single
> >> class that implements both. You would instead have two separate mixins
> >> that would communicate by calling each others methods.
> >>
> >> Robby
> >
> > --
> > 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.
>
-- 
Kind regards,
Stephen
--
Bigger than Scheme, cooler than Clojure & more fun than CL.(n=1)
--

-- 
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] Run Button interaction

2016-08-04 Thread Stephen De Gabrielle
My apologies - it is in the tools docs:

http://docs.racket-lang.org/tools/drracket_unit.html#%28meth._%28%28%28lib._drracket%2Ftool-lib..rkt%29._drracket~3aunit~3aframe~25%29._execute-callback%29%29
On Thu, 4 Aug 2016 at 15:43, Robby Findler 
wrote:

> Did you try
>
>   (define/override ...
>
> ?
>
> Robby
>
>
> On Thu, Aug 4, 2016 at 9:41 AM, Normal Loone 
> wrote:
> > I tried
> >
> > (define/augment (execute-callback)
> > ...)
> >
> > So I'd just use another additional function of mine when the run button
> is used, but execute-callback is apparently not augmentable? At least I got
> an error message stating that.
> >
> > Is there another function that you can modify?
> >
> > --
> > 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.
>
-- 
Kind regards,
Stephen
--
Bigger than Scheme, cooler than Clojure & more fun than CL.(n=1)
--

-- 
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] Run Button interaction

2016-08-03 Thread Stephen De Gabrielle
Hi,

The DrRacket tools documentation is good but I don't think it answers this
sort of question.

You may find the right 'hook' in the Racket GUI Application Framework
http://docs.racket-lang.org/framework/index.html

I'd start with searching the source of the translations file (strings I
think) to find where 'run' is called in the code.

You may then be able to use one of the functions documented in 'get-extend'
( http://docs.racket-lang.org/tools/drracket_get_extend.html ) to capture
the run button.

Similar process for file renaming events but you probably need
'drracket:get/extend:extend-tab'.

This stuff *is* tricky and hard to find in the manuals.

Stephen

On Tue, 2 Aug 2016 at 18:41, 'John Clements' via Racket Users <
racket-users@googlegroups.com> wrote:

>
> > On Aug 2, 2016, at 6:02 AM, Normal Loone  wrote:
> >
> > Hello,
> >
> > I am writing a plugin that tracks the development of code. Currently I
> want to save the times the run button is pressed (i.e. the code is
> executed).
> > How can I access when the run button is pressed?
> >
> > Additionally I'd like to mark when the code is saved under a new name
> (as a new .rkt file).
>
> Take a look at the “DrRacket Plugins” manual, probably available on your
> own machine as part of the installed docs (try hitting the F1 key in
> DrRacket), or by visiting
>
> http://docs.racket-lang.org/tools/index.html
>
> Apologies if you already knew about this resource!
>
> Best,
>
> 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-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>
-- 
Kind regards,
Stephen
--
Bigger than Scheme, cooler than Clojure & more fun than CL.(n=1)
--

-- 
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] How to differentiate between files and directories?

2016-07-21 Thread Stephen De Gabrielle
http://docs.racket-lang.org/reference/Filesystem.html#%28def._%28%28quote._~23~25kernel%29._file-exists~3f%29%29

in http://docs.racket-lang.org/reference/Filesystem.html



(file-exists?

 path) → boolean?

(link-exists?

 path) → boolean?


(directory-exists?

 path) → boolean?


  path : path-string?


Returns #t if path refers to a directory, #f otherwise.


On Thu, Jul 21, 2016 at 7:44 PM, David Storrs 
wrote:

> Silly question: given a <#path>, how do I tell if it's to a file,
> directory, link, etc?  I'd like to know this in general, although the
> proximate issue is that I would like to use (in-directory) to process
> all the files in a directory, but I need a way to ignore everything
> that isn't a file.
>
> I saw 'file-exists?' but I don't want to check the disk twice, I just
> want to know what type it is.  That information should have been
> available when the path was constructed.
>
>
> In a related question, is there a way to introspect a struct to find
> out what its fields are?
>
>
> Dave
>
> --
> 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.


[racket-users] Fwd: [racket-london]

2016-07-10 Thread Stephen De Gabrielle
Hi,

I've made a racket-London mailing list with the idea of organising a
regular meet up as per the guidance at

https://github.com/racket/racket/wiki/Start-a-Meetup


https://groups.google.com/group/racket-london

S.

-- Forwarded message -
From: 
Date: Sun, 10 Jul 2016 at 10:57
Subject: [racket-london] spdegabrie...@gmail.com has shared a calendar with
you
To: racket-london 


Hello racket-london,

We are writing to let you know that spdegabrie...@gmail.com has given you
access to edit events on the Google Calendar called "Racket-London".

Click this link to add the calendar

.
- The Google Calendar Team


-- 
You received this message because you are subscribed to the Google Groups
"racket-london" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to racket-london+unsubscr...@googlegroups.com.
To post to this group, send email to racket-lon...@googlegroups.com.
Visit this group at https://groups.google.com/group/racket-london.
To view this discussion on the web visit
https://groups.google.com/d/msgid/racket-london/001a114d35660c8a28053745109c%40google.com

.
For more options, visit https://groups.google.com/d/optout.
-- 
Kind regards,
Stephen
--
Bigger than Scheme, cooler than Clojure & more fun than CL.(n=1)
--

-- 
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] Re: ispell

2016-02-29 Thread Stephen De Gabrielle
Cool!
On Mon, 29 Feb 2016 at 10:24, Jens Axel Søgaard <jensa...@soegaard.net>
wrote:

> I guess we now have a new project to add on the Wiki: write a Racket
> program that parses an ispell dictionary.
>
> /Jens Axel
>
>
> 2016-02-29 11:09 GMT+01:00 Jos Koot <jos.k...@gmail.com>:
>
>> Tabks for the replies.
>> I tried your last pointer, but without luck.
>> I decided to let it go. It is not that much important for me
>> (it may be important for others, though)
>> Thanks again, Jos
>>
>> --
>> *From:* Stephen De Gabrielle [mailto:spdegabrie...@gmail.com]
>> *Sent:* sábado, 27 de febrero de 2016 14:32
>>
>> *To:* Jos Koot; Lehi Toskin; Racket Users
>> *Subject:* Re: [racket-users] Re: ispell
>>
>> Lyx FTP site for Aspell for Windows
>> <ftp://ftp.lyx.org/pub/lyx/contrib/aspell6-windows/>
>>
>> sorry pasting the shortcut did work
>> ftp://ftp.lyx.org/pub/lyx/contrib/aspell6-windows/
>> (use 'guest')
>> I unfortunately don't have access to a machine 64bit windows 7.
>> - Are you able to try the lyx aspell?
>>
>> As for the idea of packaging it - I was looking at racket poppler as an
>> example that uses different binaries for different platforms:
>> (define deps '("draw-lib"
>> "slideshow-lib"
>> "web-server-lib"
>> "base" "pict"
>> ("poppler-x86-64-macosx" #:platform "x86_64-macosx")
>> ("poppler-i386-macosx" #:platform "i386-macosx")
>> ("poppler-ppc-macosx" #:platform "ppc-macosx")
>> ("poppler-win32-x86-64" #:platform "win32\\x86_64")
>> ("poppler-win32-i386" #:platform "win32\\i386")))
>> https://github.com/soegaard/racket-poppler/blob/master/info.rkt
>> (As you can see it includes different binaries for 32 and 64 bit versions
>> of OS X and windows.)
>> It looks like packaging up executables should straightforward, but I've
>> never done this before - and noting is ever as simple as it looks
>>
>> https://github.com/soegaard/poppler-libs/tree/master/poppler-win32-x86_64/racket-poppler
>>
>> s.
>>
>>
>>
>> On Sat, Feb 27, 2016 at 10:00 AM Stephen De Gabrielle <
>> spdegabrie...@gmail.com> wrote:
>>
>>> I think the problem is probably the windows port is too old (2002) and
>>> unmaintained.
>>>
>>> try Lyx FTP site for the Aspell for Windows  - the builds are newer.
>>>
>>>
>>> S
>>>
>>> On Sat, Feb 27, 2016 at 12:48 AM Jos Koot <jos.k...@gmail.com> wrote:
>>>
>>>> I have tried aspell-eo-0.50-2-3.exe
>>>> <http://ftp.gnu.org/gnu/aspell/w32/Aspell-eo-0.50-2-3.exe> from
>>>> http://aspell.net/win32/.
>>>> I suppose that would have to run on a 64 bit processor too, isn't it?
>>>> Anyway, I don't se problems when downloading and running 32 bit
>>>> versions of Racket.
>>>> (I usually use the 64 bit version)
>>>> Thanks for your help.
>>>> Jos
>>>>
>>>> --
>>>> *From:* Stephen De Gabrielle [mailto:spdegabrie...@gmail.com]
>>>> *Sent:* viernes, 26 de febrero de 2016 18:15
>>>> *To:* Jos Koot; Lehi Toskin; Racket Users
>>>> *Subject:* Re: [racket-users] Re: ispell
>>>>
>>>> It's been a while but I believe the Windows installers for emacs and
>>>> latex install ispell as part of their installation. It's a bit heavy
>>>> handed, but it might be an expedient way to get it done.
>>>>
>>>> If you can identify the right executable we can take a crack at a
>>>> package to install it.
>>>>
>>>> S.
>>>> On Fri, 26 Feb 2016 at 13:20, Jos Koot <jos.k...@gmail.com> wrote:
>>>>
>>>>> Thanks,
>>>>> I tried to download the english dictionary, but my computer can't run
>>>>> the
>>>>> .exe file.
>>>>> Jos
>>>>>
>>>>> -Original Message-
>>>>> From: racket-users@googlegroups.com [mailto:
>>>>> racket-users@googlegroups.com]
>>>>> On Behalf Of Lehi Toskin
>>>>> Sent: viernes, 26 de febrero de 2016 0:30
>>>>> To: Racket Users
>>>>> Subject: [racket-users] Re: ispell
>>>>>
>>>>> On Thursday, February 25, 2016 at 1:54:42 PM UTC-8, jos.koot wrote:
>>&g

[racket-users] Export Pict3d pict3ds composite objects as STL?

2016-02-28 Thread Stephen De Gabrielle
Hi

My son has been doing 3D printing using blender to construct objects, but
it just occurred to me the pict3ds data type might be a nice way of
constructing objects?

Is it possible to export Pict3d pict3ds composite objects to STL? Failing
that, any tips on how to do it myself would be appreciated!

Kind regards,

Stephen


-- 
Kind regards,
Stephen
--
Bigger than Scheme, cooler than Clojure & more fun than CL.(n=1)
--

-- 
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] Re: ispell

2016-02-27 Thread Stephen De Gabrielle
Lyx FTP site for Aspell for Windows
<ftp://ftp.lyx.org/pub/lyx/contrib/aspell6-windows/>

sorry pasting the shortcut did work
ftp://ftp.lyx.org/pub/lyx/contrib/aspell6-windows/
(use 'guest')
I unfortunately don't have access to a machine 64bit windows 7.
- Are you able to try the lyx aspell?

As for the idea of packaging it - I was looking at racket poppler as an
example that uses different binaries for different platforms:
(define deps '("draw-lib"
"slideshow-lib"
"web-server-lib"
"base" "pict"
("poppler-x86-64-macosx" #:platform "x86_64-macosx")
("poppler-i386-macosx" #:platform "i386-macosx")
("poppler-ppc-macosx" #:platform "ppc-macosx")
("poppler-win32-x86-64" #:platform "win32\\x86_64")
("poppler-win32-i386" #:platform "win32\\i386")))
https://github.com/soegaard/racket-poppler/blob/master/info.rkt
(As you can see it includes different binaries for 32 and 64 bit versions
of OS X and windows.)
It looks like packaging up executables should straightforward, but I've
never done this before - and noting is ever as simple as it looks
https://github.com/soegaard/poppler-libs/tree/master/poppler-win32-x86_64/racket-poppler

s.



On Sat, Feb 27, 2016 at 10:00 AM Stephen De Gabrielle <
spdegabrie...@gmail.com> wrote:

> I think the problem is probably the windows port is too old (2002) and
> unmaintained.
>
> try Lyx FTP site for the Aspell for Windows  - the builds are newer.
>
>
> S
>
> On Sat, Feb 27, 2016 at 12:48 AM Jos Koot <jos.k...@gmail.com> wrote:
>
>> I have tried aspell-eo-0.50-2-3.exe
>> <http://ftp.gnu.org/gnu/aspell/w32/Aspell-eo-0.50-2-3.exe> from
>> http://aspell.net/win32/.
>> I suppose that would have to run on a 64 bit processor too, isn't it?
>> Anyway, I don't se problems when downloading and running 32 bit versions
>> of Racket.
>> (I usually use the 64 bit version)
>> Thanks for your help.
>> Jos
>>
>> --
>> *From:* Stephen De Gabrielle [mailto:spdegabrie...@gmail.com]
>> *Sent:* viernes, 26 de febrero de 2016 18:15
>> *To:* Jos Koot; Lehi Toskin; Racket Users
>> *Subject:* Re: [racket-users] Re: ispell
>>
>> It's been a while but I believe the Windows installers for emacs and
>> latex install ispell as part of their installation. It's a bit heavy
>> handed, but it might be an expedient way to get it done.
>>
>> If you can identify the right executable we can take a crack at a package
>> to install it.
>>
>> S.
>> On Fri, 26 Feb 2016 at 13:20, Jos Koot <jos.k...@gmail.com> wrote:
>>
>>> Thanks,
>>> I tried to download the english dictionary, but my computer can't run the
>>> .exe file.
>>> Jos
>>>
>>> -Original Message-
>>> From: racket-users@googlegroups.com [mailto:
>>> racket-users@googlegroups.com]
>>> On Behalf Of Lehi Toskin
>>> Sent: viernes, 26 de febrero de 2016 0:30
>>> To: Racket Users
>>> Subject: [racket-users] Re: ispell
>>>
>>> On Thursday, February 25, 2016 at 1:54:42 PM UTC-8, jos.koot wrote:
>>> > Hi,
>>> >
>>> > Trying to check
>>> > spelling in DrRacket for a scrbl document, I get the message that
>>> aspell
>>> or
>>> > ispell cannot be found. Where can I find it? How to install
>>> > it?
>>> >
>>> > I work with Windows
>>> > 7.
>>> >
>>> > Thanks,
>>> > Jos
>>>
>>> aspell is a dictionary library that you can download over here:
>>> http://aspell.net/win32/
>>>
>>> --
>>> 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.
>>>
>> --
>> Kind regards,
>> Stephen
>> --
>> Bigger than Scheme, cooler than Clojure & more fun than CL.(n=1)
>> --
>>
> --
> Kind regards,
> Stephen
> --
> Bigger than Scheme, cooler than Clojure & more fun than CL.(n=1)
> --

-- 
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] Re: ispell

2016-02-27 Thread Stephen De Gabrielle
I think the problem is probably the windows port is too old (2002) and
unmaintained.

try Lyx FTP site for the Aspell for Windows  - the builds are newer.

S

On Sat, Feb 27, 2016 at 12:48 AM Jos Koot <jos.k...@gmail.com> wrote:

> I have tried aspell-eo-0.50-2-3.exe
> <http://ftp.gnu.org/gnu/aspell/w32/Aspell-eo-0.50-2-3.exe> from
> http://aspell.net/win32/.
> I suppose that would have to run on a 64 bit processor too, isn't it?
> Anyway, I don't se problems when downloading and running 32 bit versions
> of Racket.
> (I usually use the 64 bit version)
> Thanks for your help.
> Jos
>
> ----------
> *From:* Stephen De Gabrielle [mailto:spdegabrie...@gmail.com]
> *Sent:* viernes, 26 de febrero de 2016 18:15
> *To:* Jos Koot; Lehi Toskin; Racket Users
> *Subject:* Re: [racket-users] Re: ispell
>
> It's been a while but I believe the Windows installers for emacs and latex
> install ispell as part of their installation. It's a bit heavy handed, but
> it might be an expedient way to get it done.
>
> If you can identify the right executable we can take a crack at a package
> to install it.
>
> S.
> On Fri, 26 Feb 2016 at 13:20, Jos Koot <jos.k...@gmail.com> wrote:
>
>> Thanks,
>> I tried to download the english dictionary, but my computer can't run the
>> .exe file.
>> Jos
>>
>> -Original Message-
>> From: racket-users@googlegroups.com [mailto:racket-users@googlegroups.com
>> ]
>> On Behalf Of Lehi Toskin
>> Sent: viernes, 26 de febrero de 2016 0:30
>> To: Racket Users
>> Subject: [racket-users] Re: ispell
>>
>> On Thursday, February 25, 2016 at 1:54:42 PM UTC-8, jos.koot wrote:
>> > Hi,
>> >
>> > Trying to check
>> > spelling in DrRacket for a scrbl document, I get the message that aspell
>> or
>> > ispell cannot be found. Where can I find it? How to install
>> > it?
>> >
>> > I work with Windows
>> > 7.
>> >
>> > Thanks,
>> > Jos
>>
>> aspell is a dictionary library that you can download over here:
>> http://aspell.net/win32/
>>
>> --
>> 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.
>>
> --
> Kind regards,
> Stephen
> --
> Bigger than Scheme, cooler than Clojure & more fun than CL.(n=1)
> --
>
-- 
Kind regards,
Stephen
--
Bigger than Scheme, cooler than Clojure & more fun than CL.(n=1)
--

-- 
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] Re: ispell

2016-02-26 Thread Stephen De Gabrielle
It's been a while but I believe the Windows installers for emacs and latex
install ispell as part of their installation. It's a bit heavy handed, but
it might be an expedient way to get it done.

If you can identify the right executable we can take a crack at a package
to install it.

S.
On Fri, 26 Feb 2016 at 13:20, Jos Koot  wrote:

> Thanks,
> I tried to download the english dictionary, but my computer can't run the
> .exe file.
> Jos
>
> -Original Message-
> From: racket-users@googlegroups.com [mailto:racket-users@googlegroups.com]
> On Behalf Of Lehi Toskin
> Sent: viernes, 26 de febrero de 2016 0:30
> To: Racket Users
> Subject: [racket-users] Re: ispell
>
> On Thursday, February 25, 2016 at 1:54:42 PM UTC-8, jos.koot wrote:
> > Hi,
> >
> > Trying to check
> > spelling in DrRacket for a scrbl document, I get the message that aspell
> or
> > ispell cannot be found. Where can I find it? How to install
> > it?
> >
> > I work with Windows
> > 7.
> >
> > Thanks,
> > Jos
>
> aspell is a dictionary library that you can download over here:
> http://aspell.net/win32/
>
> --
> 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.
>
-- 
Kind regards,
Stephen
--
Bigger than Scheme, cooler than Clojure & more fun than CL.(n=1)
--

-- 
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] Programming language popularity (there's no accounting for taste!)

2016-02-24 Thread Stephen De Gabrielle
No need to stop at packages - whole languages. (I fancy doing Self when I
am a better programmer)

On Wed, 24 Feb 2016 at 21:23, Neil Van Dyke  wrote:

> Brian Adkins wrote on 02/24/2016 02:49 PM:
> > it appears to me that Racket is the strongest of the Scheme-ey lisps, so
> that's where I'm investing my time.
>
> After maintaining my open source packages on ~10 different
> R4/5RS+SRFI-ish Scheme implementations, I came to a similar conclusion:
> now I just develop in straight Racket, taking advantage of all the
> Racket libraries and tools.
>
> I do keep a few other Schemes in mind as diversity backups, in case I
> ever need the special properties of one for a particular project. So, in
> that way, I'm glad when the other Schemes have active user communities,
> even though would be also nice to have those people more involved in
> Racket.  And some of them kindly maintain ports of some of my Racket
> packages.
>
> Maybe some Racketeers would scout Gambit, Chicken, Bigloo, Guile, etc.,
> communities for any useful packages that Racket doesn't yet have, and
> talk with the package authors about whether they'd be interested in
> somehow also having those packages in Racket.  That might give Racket
> the benefit of more packages and engagement, while also maintaining a
> healthy diversity -- not everything Scheme needs be governed by the
> shadowy but benevolent Racket cabal.
>
> Neil V.
>
> --
> 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.
>
-- 
Kind regards,
Stephen
--
Bigger than Scheme, cooler than Clojure & more fun than CL.(n=1)
--

-- 
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] Racket machine image

2016-02-24 Thread Stephen De Gabrielle
Thank you,
I thought you might be exaggerating until I saw the Fox Project web page
http://www.cs.cmu.edu/~fox/

Sadly I can't find fluxkit. It sometimes seems like history is written by
Google and Wikipedia. Doing a literature review is expensive and time
consuming.

> Computer science is the discipline of reinvention. Until everyone who
knows how
>to write 10 lines of code has invented a programming language and solved
the
>Halting Problem, nothing will be settled :-)

I don't blame them, this computing stuff is like magic and it's hard not to
get excited.

Kind regards
Stephen

On Wed, 24 Feb 2016 at 15:44, Matthias Felleisen <matth...@ccs.neu.edu>
wrote:

>
>
> In the late 90s, all of us had a FluxKit image on our laptops that would
> boot PLT Scheme on the raw machine. Matthew, with help from the Flux
> people, put it together in a relatively short time. I am sure more could
> have done with that, but we went in different directions.
>
> At Strange Loop I saw a talk from the first group. It was mostly about the
> networking part of the OS, the TCP stack. Strangely enough, the presenter
> did not know anything about the Fox project at CMU, which had done all of
> this in the mid 90s, following the X project from UofA.
>
> Computer science is the discipline of reinvention. Until everyone who
> knows how to write 10 lines of code has invented a programming language and
> solved the Halting Problem, nothing will be settled :-)
>
>
>
>
>
>
> On Feb 24, 2016, at 8:51 AM, Stephen De Gabrielle <spdegabrie...@gmail.com>
> wrote:
>
> > Hi,
> > Has anyone ever done a racket machine image like:
> > • Mirage https://mirage.io
> > • LING/Erlang on Xen http://erlangonxen.org
> > • Rumprum https://github.com/rumpkernel/rumprun
> >
> > I heard a podcast and recently saw an old  presentation [1] that was
> interesting. I'm interested, but never had the motivation to do something
> like LinuxFromScratch.
> >
> > Stephen
> >
> >
> > [1]
> https://www.slideshare.net/mobile/AnilMadhavapeddy/mirage-ml-kernels-in-the-cloud-ml-workshop-2010
> >
> >
> > --
> > 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.


[racket-users] Racket machine image

2016-02-24 Thread Stephen De Gabrielle
Hi,
Has anyone ever done a racket machine image like:
• Mirage https://mirage.io
• LING/Erlang on Xen http://erlangonxen.org
• Rumprum https://github.com/rumpkernel/rumprun

I heard a podcast and recently saw an old presentation [1] that was
interesting. I'm interested, but never had the motivation to do something
like LinuxFromScratch.

Stephen


[1]
https://www.slideshare.net/mobile/AnilMadhavapeddy/mirage-ml-kernels-in-the-cloud-ml-workshop-2010

-- 
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] Detect version of OS X

2016-02-24 Thread Stephen De Gabrielle
Thank you - very good advice - I'll have to change my pull request.
S.
On Wed, 24 Feb 2016 at 10:57, Norman Gray  wrote:

>
> Greetings
>
> On 23 Feb 2016, at 20:46, Jens Axel Søgaard wrote:
>
> > Use case: The paths to LaTeX has changed on El Capitan,
> > which makes it difficult to choose a default path, that works
> > for all.
>
> Addressing that particular use-case (following the motto that one should
> test the functionality rather than switch on the version), and if a
> system call is OK, then adapting Stephen De Gabrielle's example you
> could try
>
> #lang racket/base
> (require racket/system racket/port)
>
> (let-values (((base name must-be-dir?)
>(split-path
> (string->path
>  (with-output-to-string (λ ()
>   (system "which tex")))
>(printf "binaries in ~a~%" base))
>
> or call out to "tlmgr conf" or one of its subcommands (if your
> installation is based on TeXLive).  This would obviously work on other
> unixes, and there might be a path-searching equivalent on Windows, too.
>
> All the best,
>
> Norman
>
>
> --
> Norman Gray  :  https://nxg.me.uk
> SUPA School of Physics and Astronomy, University of Glasgow, UK
>
> --
> 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] Detect version of OS X

2016-02-23 Thread Stephen De Gabrielle
what about this?

#lang racket/base
(require racket/system
 racket/port)

(substring (with-output-to-string (lambda () (system "sw_vers
-productVersion"))) 3 5)

I get "10" or "11" respectively, and I believe it will run on older
versions OS X.

s.



On Tue, Feb 23, 2016 at 9:38 PM Jens Axel Søgaard 
wrote:

> The system-type approach looks like this (it ignores the optional third
> version counter):
>
> (match (regexp-match #px".*Kernel Version ([\\d]+[.][\\d]+).*"
> (system-type 'machine))
>   [(list _ version-str) (string->number version-str)]
>   [_ #f])
>
> The expression returns 15.0 on my machine.
>
> The AppKit approach seems to be less likely to break over time?
>
> /Jens Axel
>
>
>
> 2016-02-23 22:23 GMT+01:00 Matthew Flatt :
>
>> You could parse the result of `(system-type 'machine)`, but you might
>> just as well use a little `ffi/unsafe` binding to get
>> `NSAppKitVersionNumber`:
>>
>>  #lang racket/base
>>  (require ffi/unsafe)
>>
>>  (define appkit
>>(ffi-lib "/System/Library/Frameworks/AppKit.framework/AppKit"))
>>  (define NSAppKitVersionNumber
>>(and appkit (get-ffi-obj 'NSAppKitVersionNumber appkit _double)))
>>
>>  (define (version-10.11-or-later?)
>>(NSAppKitVersionNumber . >= . 1389))
>>
>>
>> At Tue, 23 Feb 2016 21:46:55 +0100, Jens Axel Søgaard wrote:
>> > Hi All,
>> >
>> > The function system-type can be used to detect the system type.
>> > Is there a function that returns the version of the operating system?
>> >
>> > Use case: The paths to LaTeX has changed on El Capitan,
>> > which makes it difficult to choose a default path, that works
>> > for all.
>> >
>> > /Jens Axel
>> >
>> > --
>> > 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.
>>
>
>
>
> --
> --
> Jens Axel Søgaard
>
> --
> 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] pict3d trouble

2016-02-19 Thread Stephen De Gabrielle
awesome thanks.

On Fri, Feb 19, 2016 at 3:05 AM Matthew Flatt <mfl...@cs.utah.edu> wrote:

> Thanks for the info!
>
> The problem was not specific to 10.11 (obviously) and not related to GL
> bitmaps. It was in the way Pict3D creates and hides a frame to get a
> screen-compatible GL context. Between v6.3 and v6.4, I changed the way
> `racket/gui` hides a frame on OS X, and the new way destroys the GL
> context that Pict3D is trying to get.
>
> One workaround is for Pict3D to not show and hide the GL-context frame
> on OS X. (The show-and-hide step is still needed to initialize the
> context on Gtk.) A better solution would be to more directly support
> the creation of screen-compatible GL contexts, but I'll leave that for
> another day.
>
> For now, I've pushed a change to Pict3D, and the catalog should pick up
> the change soon.
>
> At Fri, 19 Feb 2016 00:02:04 +, Stephen De Gabrielle wrote:
> > I'm running 10.10 Yosemite. (should I do a bug report to capture machine
> > details?)
> >
> > macosx "Darwin Miriams-MacBook-Pro.local 14.5.0 Darwin Kernel Version
> > 14.5.0: Tue Sep  1 21:23:09 PDT 2015; root:xnu-2782.50.1~1/RELEASE_X86_64
> > x86_64" (x86_64-macosx/3m) (get-display-depth) = 32
> >
> > thanks,
> >
> > S.
> >
> >
> >
> >
> > On Thu, Feb 18, 2016 at 11:31 PM Matthew Flatt <mfl...@cs.utah.edu>
> wrote:
> >
> > > I see the same problem on my machine with v6.4 and 6.4.0.8, and not
> > > with v6.3.
> > >
> > > Using `pict3d/universe` works for me in all versions, but the Pict3D
> > > snip that's shown in DrRacket doesn't. So, I think the problem must be
> > > due to a change since v6.3 in `racket/gui` related to GL bitmaps. I'll
> > > investigate more.
> > >
> > > Are you running 10.11 (El Capitan)?
> > >
> > >
> > > At Thu, 18 Feb 2016 22:27:05 +, Stephen De Gabrielle wrote:
> > > > [image: Screen Shot 2016-02-18 at 22.22.50.png]Hi,
> > > >
> > > > Does anyone have any ideas why pict3d is giving me white on white?
> > > > I can tell it is drawing the sphere because the mouseover coords
> appear -
> > > > but I'm at a loss as to what I've done.
> > > >
> > > > 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.
> > > > 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.
>

-- 
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] pict3d trouble

2016-02-18 Thread Stephen De Gabrielle
I'm running 10.10 Yosemite. (should I do a bug report to capture machine
details?)

macosx "Darwin Miriams-MacBook-Pro.local 14.5.0 Darwin Kernel Version
14.5.0: Tue Sep  1 21:23:09 PDT 2015; root:xnu-2782.50.1~1/RELEASE_X86_64
x86_64" (x86_64-macosx/3m) (get-display-depth) = 32

thanks,

S.




On Thu, Feb 18, 2016 at 11:31 PM Matthew Flatt <mfl...@cs.utah.edu> wrote:

> I see the same problem on my machine with v6.4 and 6.4.0.8, and not
> with v6.3.
>
> Using `pict3d/universe` works for me in all versions, but the Pict3D
> snip that's shown in DrRacket doesn't. So, I think the problem must be
> due to a change since v6.3 in `racket/gui` related to GL bitmaps. I'll
> investigate more.
>
> Are you running 10.11 (El Capitan)?
>
>
> At Thu, 18 Feb 2016 22:27:05 +, Stephen De Gabrielle wrote:
> > [image: Screen Shot 2016-02-18 at 22.22.50.png]Hi,
> >
> > Does anyone have any ideas why pict3d is giving me white on white?
> > I can tell it is drawing the sphere because the mouseover coords appear -
> > but I'm at a loss as to what I've done.
> >
> > 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.
> > 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] Re: How to put image background?

2015-12-17 Thread Stephen De Gabrielle
Do you mean
http://docs.racket-lang.org/graphics/Draw__Clear__and_Flip_Operations.html?q=Viewport#%28part._.Pixmaps%29

I've not used the viewports stuff

For the racket/gui toolkit I think you can do this by overriding on-paint
for a canvas on a frame
http://docs.racket-lang.org/gui/canvas___.html

Happy holidays

Stephen
On Wed, 16 Dec 2015 at 11:02, Taro Annual  wrote:

> 2015年12月16日水曜日 1時43分03秒 UTC+9 Alejandro López:
> > I want to know how to put a background image in a viewport
>
> In graphic use, I recommend 2htdp/image library.
> If you need to treat .bmp or .png so on, you can paste the file images
> into your code.
> (Dr. Racket's menubar, select [Insert] - [Insert Image...])
>
> --
> 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] Virtual files

2015-11-05 Thread Stephen De Gabrielle
It occurs to me that if I treat my file system as a database I am making
assumption about locking and access that may not be consistent across file
systems - but the operations are so fast and writes are so rare that this
is unlikely to be an issue I ever experience with my little web app.

I also like how everything in a database is typed. I like to try follow
good engineering practice & Little scripts have a disturbing habit of
becoming production systems.

Thanks for your advice.

Stephen
On Thu, 5 Nov 2015 at 04:02, Hendrik Boom <hend...@topoi.pooq.com> wrote:

> On Wed, Nov 04, 2015 at 10:00:16PM +0000, Stephen De Gabrielle wrote:
> > Thanks. 1972- now I'm embarrassed !
>
> Don't be.  A lot of OS's after that failed to put their files in
> memory.  But I believe that current Linux's can make /tmp a ramdisk,
> making it fast.  If RAM runs out, of course it's paged out to the swap
> partition.
>
> But that is a system configuration issue.  It *can* be doen otherwise.
>
> About a decade ago, a friend noticed that using floppy disks for
> temporary space was really fast, though limited in size.  I puzzled
> about that...  Turns out the floppy driver was buffering the entire disk
> in RAM.
>
> -- hendrik
>
> > On Wed, 4 Nov 2015 at 20:13, Hendrik Boom <hend...@topoi.pooq.com>
> wrote:
> >
> > > On Wed, Nov 04, 2015 at 04:53:50PM +, Stephen De Gabrielle wrote:
> > > > I'd prefer to do it in memory.
> > > > Writing to disk just to read it straight back seems like a lot of
> effort,
> > > > and I lose the ability to make pages that are updated on-the-fly.
> > >
> > > Writing to disk may not cost as much as it seems, since modern
> operation
> > > systems cache temporary files in memory and they may never reach the
> > > disk.  Whether your OS is modern in thie sense I don't know, though.
> It
> > > was already implemented in VSAM in OS/370.  There is still, of course,
> > > system-call overhead.
> > >
> > > -- 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.
> > > 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.
>

-- 
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] Re: Scribble-string->xexpr ?

2015-11-04 Thread Stephen De Gabrielle
Thanks. 1972- now I'm embarrassed !



On Wed, 4 Nov 2015 at 20:13, Hendrik Boom <hend...@topoi.pooq.com> wrote:

> On Wed, Nov 04, 2015 at 04:53:50PM +, Stephen De Gabrielle wrote:
> > I'd prefer to do it in memory.
> > Writing to disk just to read it straight back seems like a lot of effort,
> > and I lose the ability to make pages that are updated on-the-fly.
>
> Writing to disk may not cost as much as it seems, since modern operation
> systems cache temporary files in memory and they may never reach the
> disk.  Whether your OS is modern in thie sense I don't know, though.  It
> was already implemented in VSAM in OS/370.  There is still, of course,
> system-call overhead.
>
> -- 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.
> 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] Re: Scribble-string->xexpr ?

2015-11-04 Thread Stephen De Gabrielle
Thanks Matthew,

I have two question that I didn't express clearly:
1. A renderer that would create xexpr's for direct consumption of the
racket web server. It sounds like pollen will be perfect! (I quickly
dismissed writing my own wiki-markup renderer on the basis that scribble
already existed)
2. A renderer that would accept a string rather than a path. Both the
scribble and pollen renderers seem to require a path to a file, but I'm
keen to store pages in a database[1].

I think you have solved (1) thanks! - do you have any suggestions for (2)?

I have another concern that I haven't thought through...can I (should I)
enable users to enter executable code - I quite like the idea though it
obviously holds risks :)

Kind regards,

Stephen


[1] as an alternative I could just store my wiki pages as text files in a
git repository and get history for free but I wanted to keep it simple.

On Wed, 4 Nov 2015 at 02:27, Matthew Butterick  wrote:

> I found this task challenging too, so I made a Scribble-derived DSL that's
> natively oriented toward making X-expressions, for instance:
>
>
> #lang pollen/markup
>
> ◊title{Bottles --- ◊italic{Abridged}}
>
> ◊(apply itemlist
>   (for/list ([n (in-range 100 0 -1)])
> ◊item{◊(format "~a" n) bottles.}))
>
>
>
>
>
> On Tuesday, November 3, 2015 at 4:08:01 PM UTC-8, spdegabrielle wrote:
> > Hi,
> >
> > is there a way to to generate xexprs for consumption of the web server
> >
> > I thought making a simple wiki with scribble as the syntax might be fun,
> but I'm tripping at this first hurdle  i.e. (scribblestring->xexpr
> a-string) ->xexpr
> >
> > Any suggestions appreciated
> >
> > Stephen
> >
> >
> > #lang racket
> > (require scribble/decode)
> > (require scribble/render)
> > ;(require scribble/html-render)
> > ;(require scribble/text-render)
> > (require scribble/markdown-render)
> >
> > (define a
> >   "@title{Bottles --- @italic{Abridged}}
> > @(apply itemlist
> >   (for/list ([n (in-range 100 0 -1)])
> > @item{@(format \"~a\" n) bottles.}))")
> > a
> >
> > (render (list (decode (decode-string a))) (list
> "/Users/spdegarielle/Desktop/")   #:render-mixin render-mixin )
>
> --
> 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] Re: Scribble-string->xexpr ?

2015-11-04 Thread Stephen De Gabrielle
I'd prefer to do it in memory.
Writing to disk just to read it straight back seems like a lot of effort,
and I lose the ability to make pages that are updated on-the-fly.

I'll have a look at the source for the pollen and scribble renderers to see
if I can separate reading a file from transforming markup.

Thanks again

Stephen
On Wed, 4 Nov 2015 at 15:42, Matthew Butterick  wrote:

> I haven't spent much time thinking about database / live web server
> integration. Pollen (and Greg Hendershott's Frog, which also supports
> Scribble syntax) are built around a static model. Of course, you could
> retrieve source from your database, write it to a temp file, and render
> that path.
>
>
>
> On Wednesday, November 4, 2015 at 3:44:33 AM UTC-8, spdegabrielle wrote:
> > Thanks Matthew,
> >
> > I have two question that I didn't express clearly:
> > 1. A renderer that would create xexpr's for direct consumption of the
> racket web server. It sounds like pollen will be perfect! (I quickly
> dismissed writing my own wiki-markup renderer on the basis that scribble
> already existed)
> > 2. A renderer that would accept a string rather than a path. Both the
> scribble and pollen renderers seem to require a path to a file, but I'm
> keen to store pages in a database[1].
> >
> > I think you have solved (1) thanks! - do you have any suggestions for
> (2)?
> >
> > I have another concern that I haven't thought through...can I (should I)
> enable users to enter executable code - I quite like the idea though it
> obviously holds risks :)
> >
> > Kind regards,
> >
> > Stephen
> >
> >
> >  [1] as an alternative I could just store my wiki pages as text files in
> a git repository and get history for free but I wanted to keep it simple.
> >
> >
> > On Wed, 4 Nov 2015 at 02:27, Matthew Butterick 
> wrote:
> > I found this task challenging too, so I made a Scribble-derived DSL
> that's natively oriented toward making X-expressions, for instance:
> >
> >
> >
> >
> >
> > #lang pollen/markup
> >
> >
> >
> > ◊title{Bottles --- ◊italic{Abridged}}
> >
> >
> >
> > ◊(apply itemlist
> >
> >   (for/list ([n (in-range 100 0 -1)])
> >
> > ◊item{◊(format "~a" n) bottles.}))
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > On Tuesday, November 3, 2015 at 4:08:01 PM UTC-8, spdegabrielle wrote:
> >
> > > Hi,
> >
> > >
> >
> > > is there a way to to generate xexprs for consumption of the web server
> >
> > >
> >
> > > I thought making a simple wiki with scribble as the syntax might be
> fun, but I'm tripping at this first hurdle  i.e. (scribblestring->xexpr
> a-string) ->xexpr
> >
> > >
> >
> > > Any suggestions appreciated
> >
> > >
> >
> > > Stephen
> >
> > >
> >
> > >
> >
> > > #lang racket
> >
> > > (require scribble/decode)
> >
> > > (require scribble/render)
> >
> > > ;(require scribble/html-render)
> >
> > > ;(require scribble/text-render)
> >
> > > (require scribble/markdown-render)
> >
> > >
> >
> > > (define a
> >
> > >   "@title{Bottles --- @italic{Abridged}}
> >
> > > @(apply itemlist
> >
> > >   (for/list ([n (in-range 100 0 -1)])
> >
> > > @item{@(format \"~a\" n) bottles.}))")
> >
> > > a
> >
> > >
> >
> > > (render (list (decode (decode-string a))) (list
> "/Users/spdegarielle/Desktop/")   #:render-mixin render-mixin )
> >
> >
> >
> > --
> >
> > 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...@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] Save as Scribble file extension

2015-04-14 Thread Stephen De Gabrielle
Found the reference. I'm assuming this applies to scribble too:

-quote-
On Thursday, May 9, 2013, Jay McCarthy wrote:
On Thu, May 9, 2013 at 10:02 AM, Stephen De Gabrielle

stephen.degabrie...@acm.org wrote:
 Weirdly Datalog on planet seems to have a editor mode, but it doesn't
 seem to be
 in datalog as distrubuted with DrRacket (full?) version
 5.3.2.2--2013-01-26(295bb1e/a) [3m].
 (maybe I'm not looking hard enough - or I have an old instance - I'll
 check again wehn I get home)

I switched Datalog to be a #lang and they can't communicate edit-modes
to DrRacket.

Jay

-end-
It was two years ago so I don't know if it still applies.

Stephen



On Mon, 13 Apr 2015 at 20:14, Stephen De Gabrielle spdegabrie...@gmail.com
wrote:

 I think this is the bit

 http://www.cs.utah.edu/plt/snapshots/current/doc/tools/Editor_Modes.html

 Link to this section with
 @secref[General-purpose_Modes #:doc '(lib
 scribblings/tools/tools.scrbl)]

 I keep meaning to look at the source of DrRacket to see how this is
 implemented for text and Racket (and Scheme) files.

 I might be wrong, but I seem to remember some limitation in #lang
 languages that stopped Datalog from having its own extension.

 Stephen
 On Mon, 13 Apr 2015 at 19:03, Alexis King lexi.lam...@gmail.com wrote:

 I’ve done this, too. Could there be some way for #langs to report a
 default file extension to DrRacket?

  On Apr 9, 2015, at 15:31, Prabhakar Ragde plra...@uwaterloo.ca wrote:
 
  When I am editing a Scribble file in DrRacket and use Save Definitions
 As... to start a new version, the system file dialog comes up (I am using
 OS X) and the file name defaults to Untitled.rkt with the Untitled
 highlighted (so I can type in my file name). But the file extension is
 wrong. I usually want myfile.scrbl in this case, but I have saved so many
 instances of myfile.rkt. Is it possible to have the file extension default
 to the current one?
 
  This is not the only or greatest annoyance I encounter while editing
 Scribble files in DrRacket, but this one might have an easy fix, while I
 suspect some of the others (e.g. indentation) are going to be thornier and
 more long-term. Thanks. --PR
 
  --
  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] Save as Scribble file extension

2015-04-13 Thread Stephen De Gabrielle
I think this is the bit

http://www.cs.utah.edu/plt/snapshots/current/doc/tools/Editor_Modes.html

Link to this section with
@secref[General-purpose_Modes #:doc '(lib
scribblings/tools/tools.scrbl)]

I keep meaning to look at the source of DrRacket to see how this is
implemented for text and Racket (and Scheme) files.

I might be wrong, but I seem to remember some limitation in #lang languages
that stopped Datalog from having its own extension.

Stephen
On Mon, 13 Apr 2015 at 19:03, Alexis King lexi.lam...@gmail.com wrote:

 I’ve done this, too. Could there be some way for #langs to report a
 default file extension to DrRacket?

  On Apr 9, 2015, at 15:31, Prabhakar Ragde plra...@uwaterloo.ca wrote:
 
  When I am editing a Scribble file in DrRacket and use Save Definitions
 As... to start a new version, the system file dialog comes up (I am using
 OS X) and the file name defaults to Untitled.rkt with the Untitled
 highlighted (so I can type in my file name). But the file extension is
 wrong. I usually want myfile.scrbl in this case, but I have saved so many
 instances of myfile.rkt. Is it possible to have the file extension default
 to the current one?
 
  This is not the only or greatest annoyance I encounter while editing
 Scribble files in DrRacket, but this one might have an easy fix, while I
 suspect some of the others (e.g. indentation) are going to be thornier and
 more long-term. Thanks. --PR
 
  --
  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.


<    1   2   3   4