Re: [racket-users] Racket Discourse

2021-11-23 Thread Damien Mattei
i apologize ,the confirmation mail  was in the spam folder,
everything is fine now
thanks
Damien

On Tue, Nov 23, 2021 at 6:46 PM John Clements 
wrote:

> I’m sorry to hear that! Several things to check/try
>
> 1) I see the confirmation email coming from “rac...@discoursemail.com”,
> with subject line "[Racket Discussions] Confirm your new account”
>
> Maybe it’s in your junk folder?
>
> 2) You can always ignore the given url and just go to
> racket.discourse.group and sign up manually, perhaps that will work.
>
> Let me know if I can help any further, I do know that people have signed
> up using gmail accounts.
>
> John
>
> > On Nov 23, 2021, at 12:25, damien...@gmail.com 
> wrote:
> >
> > if i create an account following the link at the end of this message , i
> never get verification email at my google address i specified.
> >
> > On Sunday, November 21, 2021 at 7:09:21 PM UTC+1 johnbclements wrote:
> > TL;DR: Go to
> >
> > https://racket.discourse.group/invites/okLTSrQw1T
> >
> > and sign up for Racket Discourse (https://racket.discourse.group/)
> >
> > # Thoughts behind the move:
> >
> > Over time, it has become steadily more apparent that email-only
> > mailing lists are an outdated communication medium for the Racket
> > community. More recent arrivals in our community have generally
> > chosen other platforms like slack or discord to carry on discussions.
> > As a result, the signal-to-noise ratio of the racket users mailing list
> > has dropped below the level of viability.
> >
> > In short, it’s time to give up on the mailing list.
> >
> > After a good deal of research, it looks like there’s room for a whole
> > bunch of discussion platforms for Racket, but it also seems as though
> > there should be a “permanent” one; it should be archived, it should be
> > searchable in its entirety, and it should not tie us to someone else’s
> > plan to monetize user data.
> >
> > Given these criteria, the winner is Discourse, an open-source
> > messaging platform built by Jeff Atwood, Robin Ward, and Sam
> > Saffron. It has a reasonable business model (they host projects like
> > ours unless they get really big, whereupon you can either host it
> > yourself or pay them to do it); it’s widely used by other language
> > communities; and it appears to do most of what we want.
> >
> > # So where can I sign up?
> >
> > Sign up here: https://racket.discourse.group/invites/okLTSrQw1T
> >
> > The discourse platform has been in a “soft opening” phase for about
> > two weeks now, since RacketCon, and we have about a hundred users.
> > You’re receiving this message because we’d like to have *YOU* there
> > as well.
> >
> > # Can I still receive messages like a mailing list?
> >
> > Yes, you can. I have it enabled myself!
> > To use discord as a mailing-list:
> > Sign up, go to Preferences > Email, and tick “Enable mailing list mode'.
> >
> > Yours,
> >
> > John Clements & Stephen De Gabrielle
> >
> > --
> > You received this message because you are subscribed to the Google
> Groups "Racket Users" group.
> > To unsubscribe from this group and stop receiving emails from it, send
> an email to racket-users+unsubscr...@googlegroups.com.
> > To view this discussion on the web visit
> https://groups.google.com/d/msgid/racket-users/a1cc04f5-25f6-4d0e-aeda-a656c18e5604n%40googlegroups.com
> .
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/CADEOadd%2BFw6TBk-Pq51V46zZyFDdikU2xVkU%3D519zfWZNXc-_Q%40mail.gmail.com.


Re: [racket-users] Alternatives to DrRacket

2017-11-27 Thread Damien MATTEI
Le Monday 27 November 2017 05:18:02 pm David Storrs, vous avez écrit :

> 
> > 2. The macro stepper is extremely handy when it works, and being able to
> > inspect syntax objects in the interactions pane is wonderful when the
> > macro stepper doesn't work.
> 
> Offtopic:  This is the one big feature that I've tried DrRacket for,
> but I've never been able to make it work. Everything gets reduced to
> lambdas instead of more high-level forms so that long before I
> actually see anything useful I get a giant mess.   Maybe I don't
> understand it well enough, or maybe there's something I need to do
> differently with it?  I was expecting to just keep clicking the 'step'
> button; is there any sort of context or etc that I need to establish
> first?
> 

not easy to use, i never succeed to use it too , any documentation somewhere 
about the macro-stepper use?

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

2017-11-27 Thread Damien MATTEI
i use emacs with all Scheme implementations and also for Racket,when debugging 
i can use the racket editor that display information about trace calls
but i still modify in emacs and refresh only in DrRacket, in emacs i appeciate 
the syntax highlighting and the search and replace fast short-cuts and because 
i use those features  for a long time.

Damien


Le Sunday 26 November 2017 04:42:14 pm Stephen De Gabrielle, vous avez écrit :
> 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.


Re: [racket-users] Re: Scheme and Javascript

2017-08-01 Thread Damien Mattei


Le 31/07/2017 16:21, Greg Trzeciak a écrit :
> On Monday, July 31, 2017 at 3:48:07 PM UTC+2, Hendrik Boom wrote:
>> As I heard it, the people who made Javascript originally wanted to use 
>> Scheme, and were starting to set that up when management decided tht 
>> it had to look like C.  They ended up with Javascript, which does have 
>> lists and closures and the like.  It's kind of a Lisp with C-ish 
>> syntax.
>>
>> -- hendrik
> 
> I've recently discovered a video recording from that meeting with management:
> https://www.youtube.com/watch?v=BKorP55Aqvg

:-)

whatever say your management team you can use Scheme in web site using a
Scheme interpreter in Javascript,
i do that in this website: http://sidonie.oca.eu/
this page:
https://sidonie.oca.eu/Sidonie/SidonieStatistic.htm
include this tag:
 

(load "scheme/SidonieStatistic.scm")

  
that execute this Scheme program:
https://sidonie.oca.eu/Sidonie/scheme/SidonieStatistic.scm

-- 
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] Turing machines

2017-06-12 Thread Damien MATTEI
Le Saturday 10 June 2017 22:50:19 Jos Koot, vous avez écrit :
> To whom is interested.
> 
> Jay McCarthy has a nice page about how to program Turing machines:
> http://jeapostrophe.github.io/2013-10-29-tmadd-post.html.
> 
> Because I did not immediately see his implementation of producing a Turing 
> machine as a Racket procedure,
> I made one myself : https://github.com/joskoot/turing such as to play with 
> his ideas.
> 
> My version contains much material inspired by Jay McCarthy, but goes further,
> as far as including a universal Turing machine in the document
> https://github.com/joskoot/turing/blob/master/make-TM.scrbl.
> 
> The documentation is long because it contains many elaborated examples.
> Although the Turing machines produced by my procedure make-TM are very fast,
> producing the documentation from make-TM.scrbl may take up to 30 seconds on 
> my simple computer.
> You may need 1 Mbyte or more to run my modules. I use 4 Mbytes.
> 
> Hope you enjoy it.
> Criticisme welcome, of course,
> Jos
> 
> 
> 

Interesting but from a theoretical point of view, when i was student i 
programmed a Turing machine emulator in PASCAL (still somewhere on the net) ,
and as example i started to code in Turing states a 8bit addition number, i 
stopped near the 4th bits, there was so many states...
it is interesting for students but for the theory only.

Damien

-- 
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] Asi64 - a Racket based 6502 assembler

2017-06-08 Thread Damien MATTEI
Le Friday 02 June 2017 23:32:58 'Ross Mckinlay' via Racket Users, vous avez 
écrit :
> Hello Racketeers!
> 
> I just released an early version of my first real Racket project, which 
> extends Racket to become a 6502 assembler.  Thought I would share it here:
> 
> http://pinksquirrellabs.com/blog/2017/05/30/asi64/
> 
> Thanks!
> 

really cool :-)
my Apple ][ used the same processor as C64 

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

2016-10-27 Thread Damien Mattei
Hi,

why this does not work with DrRacket:

#lang racket
(define-syntax then
  (syntax-rules ()
((_ ev)  ev)
((_ ev ...) (begin ev ...

(define-syntax else
  (syntax-rules ()
((_ ev)  ev)
((_ ev ...) (begin ev ...

(if #f
(then 
 1
 2
 3)
(else
 3
 4
 5))

(cond (#f 'never)
  (else 'always))

. else: bad syntax in: else

it works with others schemes as in bigloo or kawa:

--
Bigloo (4.1a),--^, 
`a practical Scheme compiler'  _ ___/ /|/  
Sam 26 sep 2015 04:59:46 CEST  ,;'( )__, ) '   
Inria -- Sophia Antipolis ;;  //   L__.
email: big...@lists-sop.inria.fr  '   \/  '
url: http://www-sop.inria.fr/indes/fp/Bigloo   ^   ^   
--


1:=> (define-syntax then
  (syntax-rules ()
((_ ev)  ev)
((_ ev ...) (begin ev ...
#unspecified
1:=> (define-syntax else
  (syntax-rules ()
((_ ev)  ev)
((_ ev ...) (begin ev ...
#unspecified
1:=> (if #f
(then 
 1
 2
 3)
(else
 3
 4
 5))
5
1:=> (cond (#f 'never)
  (else 'always))
always

Damien

-- 
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] Logos for Scheme (DrRacket,Bigloo)

2016-09-08 Thread Damien MATTEI
Hi,
just a few words to say my enhanced version of Logos (a Scheme program to 
maipulate logical expressions symbolically) is on sourceforge:

https://sourceforge.net/projects/logos1/

improvments are the Quine–McCluskey algorithm implementation and a Bigloo 
version (needed adaptation mainly for hash-tables)
Regards,
Damien

-- 
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] hash-clear*

2016-04-24 Thread Damien Mattei
On Sunday, April 24, 2016 at 12:15:23 PM UTC+2, Ben Greenman wrote:
> I think you want hash-clear! because I think you're using a mutable hashtable.
> 
> 
> hash-clear! is for mutable hashtables (built with make-hash, added to with 
> hash-add!) and returns void after it updates its argument
> hash-clear is for immutable hashes (build with hash or for/hash, added to 
> with hash-add) and returns a new hashtable -- for example:
> 
> > (define h (hash 'a 1))
> > (define i (hash-clear h))
> > (hash-count h)
> 1
> > (hash-count i)
> 0
> 
> 
> 
> 
> 
> 
> 
> 
> 
> The notes on chaperones & impersonators are only about efficiency. They 
> shouldn't affect your choice.
> 
> 
> 
> On Sun, Apr 24, 2016 at 5:11 AM, Damien Mattei <damien...@gmail.com> wrote:
> hi,
> 
> 
> 
> what is the best way to clear a hash table, hash-clear or hash-clear! ? if 
> the hash-table is defined in a code at top-level and used in functions as a 
> global variable, the issue i have is that when at REPL i use a first time my 
> function (that use hash-table) it's ok but when i reuse the function it 
> returns a wrong result as the hash-table is not redefined and cleared and has 
> data in it that make interfere with reuse of hash-table, so i need to clear 
> it ...
> 
> i tried to read the story about chaperone and impersonator in the doc but my 
> english and the specificities of drracket scheme make that i do not 
> understand which of hash-clear or hash-clear!  is more appropriate in this 
> case.
> 
> 
> 
> regards,
> 
> 
> 
> damien
> 
> 
> 
> --
> 
> 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.

thanks you 
thats that what i had finally use,now i had no doubts
thanks
Damien

-- 
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] hash-clear*

2016-04-24 Thread Damien Mattei
hi,

what is the best way to clear a hash table, hash-clear or hash-clear! ? if the 
hash-table is defined in a code at top-level and used in functions as a global 
variable, the issue i have is that when at REPL i use a first time my function 
(that use hash-table) it's ok but when i reuse the function it returns a wrong 
result as the hash-table is not redefined and cleared and has data in it that 
make interfere with reuse of hash-table, so i need to clear it ...
i tried to read the story about chaperone and impersonator in the doc but my 
english and the specificities of drracket scheme make that i do not understand 
which of hash-clear or hash-clear!  is more appropriate in this case.

regards,

damien 

-- 
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] r6rs use

2016-04-02 Thread Damien Mattei
Hi,

i have a code that works well in #lang racket and also with other scheme 
compilers with minor changes,Bigloo,MIT scheme, but it does not work with #!r6rs
 i do not know why,here it is (some extract):

#!r6rs
(import (rnrs))


...

;; sort operands in a logic expression
;; (sort-arguments-in-operation '(or Ci a b)) -> '(or a b Ci)
;; (sort-arguments-in-operation '(or Ci (not a) b)) -> '(or (not a) b Ci)
;; (sort-arguments-in-operation '(or Ci (not a) b (or c d))) -> '(or (not a) b 
(or c d) Ci)
(define (sort-arguments-in-operation expr)
  (if (isOR-AND? expr)
  (let* ((args-list (args expr)) ;;'(or Ci a b) -> '(Ci a b)
 (expression->string (lambda (expr2) (cond ((symbol? expr2) 
(symbol->string expr2)) ;; #t -> "T", #f -> "F"
   ((boolean? expr2) (if 
expr2 "T" "F"))
   (else (error 
"sort-arguments-in-operation: do not know how to handle this expression" 
expr2)
 (lower-litteral-symbol (lambda (s) (string-downcase 
(expression->string (get-first-litteral s) ;; 'Ci -> "ci", '(not A) -> "a"
 (expression '(a b Ci)
 (sorted-args (sort args-list expression or
(cons oper sorted-args))
  expr)) ;; we have not a binary operator but a litteral or negation of 
litteral



...


Bienvenue dans DrRacket, version 6.1.1 [3m].
Langage: r6rs [personnalisé]; memory limit: 256 MB.
. sort: unbound identifier in module in: sort

Interactions disabled: r6rs does not support a REPL (no #%top-interaction)

sort seems unbound, also eval !!! and i suppose a lot more making the basis of 
scheme language
problem is not with the code,i know it works but 
question is "what is the good way to use r6rs compatibility with DrRacket?"

regards,

damien

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