..
--
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 vi
d after being set to an
> absolute path at line 2008 in the first place. The current behavior results
> in the non-compliant ~/.racket being used, to my great frustration.
>
> Thank you for your work.
>
> --
> You received this message because you are subscribed to the Go
to an
absolute path at line 2008 in the first place. The current behavior results
in the non-compliant ~/.racket being used, to my great frustration.
Thank you for your work.
--
You received this message because you are subscribed to the Google Groups
"Racket Users" group.
To unsubs
he 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/cd8675e8-95d0-4552-badc-d4ec7a430109n%40googlegroups.com.
e the button to the entire frame or pane in the frame?
>
>
> --
> 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...@
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/565
not the GUI
> definitions themselves.
>
> --
> 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...@g
Can I break my racket/gui program be broken down into multiple modules?
I am able to require modules through the callback function but not the GUI
definitions themselves.
--
You received this message because you are subscribed to the Google Groups
"Racket Users" group.
To unsubs
3)
> > > >
> > > > (define (uncontracted-string->number v)
> > > > (string->number v))
> > > >
> > > > (define/contract (contracted-string->number v)
> > > > (-> string? number?)
> > > > (string->number v))
> &g
>
> > > (define/contract (contracted-string->number v)
> > > (-> string? number?)
> > > (string->number v))
> > >
> > > (define/contract p4 (parameter/c string? integer?) (make-parameter "7"
> > > uncontracted-strin
ract (contracted-string->number v)
> > (-> string? number?)
> > (string->number v))
> >
> > (define/contract p4 (parameter/c string? integer?) (make-parameter "7"
> > uncontracted-string->number))
> > (displayln "before set p4&qu
->number v))
>
> (define/contract p4 (parameter/c string? integer?) (make-parameter "7"
> uncontracted-string->number))
> (displayln "before set p4")
> (p4 "8")
> (displayln "before read p4")
> (p4)
>
> (define/contract p
ng->number v))
>
> (define/contract p4 (parameter/c string? integer?) (make-parameter "7"
> uncontracted-string->number))
> (displayln "before set p4")
> (p4 "8")
> (displayln "before read p4")
> (p4)
>
> (define/contract p5
quot;8")
(displayln "before read p4")
(p4)
(define/contract p5 (parameter/c string? integer?) (make-parameter "7"
contracted-string->number))
(displayln "before set p5")
(p5 "8")
(displayln "before read p5")
(p5) ; invalid memory refe
/sisal-is
[2]: http://sisal.sourceforge.net/
--
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
ce between the two new implementations
was in the noise.
Overall, although there's not much difference, the revised adaptive
implementation seems like a win for a small and easily maintained
change to the code, so I expect to push that change.
There's likely still room for improvement. Anyone who is
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
> [ht
run down to C# and let the C# compiler and project toolchain take care
of the rest? Essentially it's only a syntax—the semantics is "turn it into
this C# code."
--
You received this message because you are subscribed to the Google Groups
"Racket Users" group.
To unsubscribe
g will reach us directly.
>>
>> Jay McCarthy
>> John Clements
>> Matthew Flatt
>> Robby Findler
>> Sam Tobin-Hochstadt
>>
>> [Matthew Butterick's recent post]:
>>
>> https://beautifulracket.com/appendix/why-i-no-longer-contribute-to-rac
terick's recent post]:
>
> https://beautifulracket.com/appendix/why-i-no-longer-contribute-to-racket.html
> [his own apology]: https://felleisen.org/matthias/Thoughts/Apology.html
>
> --
> You received this message because you are subscribed to the Google Groups
> "Racket Users&
u generate a valid C#
>>>> AST, I should be able to compile it for you.
>>>>
>>>> The #lang mechanism and Scribble are two other nice things that could
>>>> probably be adapted into the new C# if desired.
>>>>
>>>> I can unde
://beautifulracket.com/appendix/why-i-no-longer-contribute-to-racket.html
[his own apology]: https://felleisen.org/matthias/Thoughts/Apology.html
--
You received this message because you are subscribed to the Google Groups
"Racket Users" group.
To unsubscribe from this group and stop receiving emails fro
pre-allocated buffer, the I/O call
will spend only what time is necessary to copy new data. That would
seem to be the fastest implementation possible.
Anyway, thank you very much for explaining it.
George
--
You received this message because you are subscribed to the Google Groups "Racke
ing write, because MzScheme was very slow in the old days, and
it was worth looping and trying harder in the low layers instead of
having to go back out to slow MzScheme code. For Racket CS, that
slow--fast boundary isn't there, and so the lower layer core tries to
stay as fast as possible by br
uage, and with IDE,
so now my judgments can easily be wrong.
--
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.
y-function expand to both a provide and to
>
> (set! all-binary-functions (cons 'id all-binary-functions))
>
> where id is from the use (define-binary-function id).
>
> In the definition of handle, you will then need to make use
> of all-binary-functions.
>
>
> If y
ll give you a good
start.
If not, the overview skipped a lot of details, so you will need to look at
an
introduction to macros first.
If you are interested, I'll be happy to send you a work-in-progress macro
tutorial
I am working. I am always looking for feedback to make it better.
/Jens Axel
--
there any way to provide the functions in the list?
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.
oogle 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/b2c1a8ee-5da0-464d-8ed0-06582cfb5fc9n%40googlegroups.com.
auto-complete)))
>>>
>>> It works but I wonder is it possible to setup it like in emacs in
>>> racket-mode:
>>>
>>> 1. Repeating key pressing complete common part and then moves between
>>> suggestions
>>> 2. Ctrl-N and Ctrl-P moves beet
Ctrl-P moves beetween suggestions.
>>
>> 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
>>
Forgot to mention this is using CS 8.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.
To view this
1
written: 1 starting at 16383
written: 0 starting at 16384
buffer full
--
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...@go
ten, for whatever
> > reason.
>
> It is not a problem, per se, but it is an issue that with a long string,
> you may be forced to call write-bytes-avail multiple times just to be
> filling up the port buffer. That seems very inefficient and is at odds
> with how native non-blocking I/
just to be
filling up the port buffer. That seems very inefficient and is at odds
with how native non-blocking I/O calls behave (completing or filling the
buffer before returning).
YMMV,
George
--
You received this message because you are subscribed to the Google Groups "Racket
Users" gr
> until all bytes are written (maybe because you know that will be soon
>> enough, for whatever reason). But when using `write-bytes-avail`, be
>> prepared for a fraction of the bytes to be written, for whatever
>> reason.
>>
>
--
You received this messag
not being an `exn:break:terminate?` or a
`exn:break:hang-up?`. Am i thinking about this wrong or is there something
missing here?
Nate
--
You received this message because you are subscribed to the Google Groups
"Racket Users" group.
To unsubscribe from this group and stop receiving e
reason). But when using `write-bytes-avail`, be
> prepared for a fraction of the bytes to be written, for whatever
> reason.
>
--
You received this message because you are subscribed to the Google Groups
"Racket Users" group.
To unsubscribe from this group and stop receiving ema
ns
> 2. Ctrl-N and Ctrl-P moves beetween suggestions.
>
> 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-u
ant to wait
until all bytes are written (maybe because you know that will be soon
enough, for whatever reason). But when using `write-bytes-avail`, be
prepared for a fraction of the bytes to be written, for whatever
reason.
--
You received this message because you are subscribed to the Google Gro
write-bytes-avail* et al depend on flush and so they won't
>> work. *write-bytes* works fine, but will block if you fill the pipe.
>>
>> This looks like something for the development team.
>>
>> George
>>
>
> Yup! That was the problem. It works fine in 7.6,
's
> pipes. *write-bytes-avail* et al depend on flush and so they won't
> work. *write-bytes* works fine, but will block if you fill the pipe.
>
> This looks like something for the development team.
>
> George
>
Yup! That was the problem. It works fine in 7.6, not in 8.0. Thanks,
uot; is not defined ... or simply doesn't work ... on
Racket's pipes. *write-bytes-avail* et al depend on flush and so they
won't work. *write-bytes* works fine, but will block if you fill the pipe.
This looks like something for the development team.
George
--
You received this message becaus
tute *write-bytes-avail* (no *) or have
> something read from the pipe before writing to it.
>
> I've never used Racket's pipes, but this looks very much like a connect
> handshake issue.
>
> George
>
> --
> You received this message because you are subscribed to the Goo
es, but this looks very much like a connect
handshake issue.
George
--
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...@googl
output is:
--- output
avail: 16777216
space available? #t
pipe content length: 0
rx buffer overflow. pipe content length: 15, written 15, expected 509
done
--- /output
--
You received this message because you are subscribed to the Google Groups
"Racket Users" group.
To unsub
Hello,
Issue 51 of RN is online. Enjoy!
https://racket-news.com/2021/06/racket-news-issue-51.html
--
Paulo Matos
--
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, sen
ckage would have discarded those as well. For some examples how why this
plot feature is useful, see this
comment: https://github.com/racket/plot/issues/97#issuecomment-861887283
Alex.
--
You received this message because you are subscribed to the Google Groups
"Racket Users" group.
ommon part and then moves between
suggestions
2. Ctrl-N and Ctrl-P moves beetween suggestions.
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 em
t; the empty plot.
>
> Next time, I'd write tests for my function before sending it to plot's
> `function` renderer.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Racket Users" group.
> To unsubscribe from this group
gs on my own going forward.
There's nothing in this program that could have clued you in besides
the empty plot.
Next time, I'd write tests for my function before sending it to plot's
`function` renderer.
--
You received this message because you are subscribed to the Google Groups
"Ra
a picture.
>
> To fix, I'd change `norm-prior` to make a flonum:
>
> (define (norm-prior mu)
> (lambda (sd)
> (lambda (ind)
> (* ind (flnormal-pdf mu sd (exact->inexact ind) #f)
>
> [[ Maybe plot should check if a function renderer produces no output
> and t
John Carmack did so for his 10 year old. His notes may be of interest.
https://groups.google.com/g/racket-users/c/yjRuIxypUQc
On 6/15/21 1:42 PM, Nathaniel W Griswold wrote:
> Has anyone taught racket to kids, like middle school and above?
>
> I see some really basic articles when
smaller though, for a low-pressure introduction to
programming, control flow, making an algorithm, that kinda stuff.
Nate
--
You received this message because you are subscribed to the Google Groups
"Racket Users" group.
To unsubscribe from this group and stop receiving emails fro
sisting of paper presentations, discussions and virtual social
gatherings.
Registered participants can take part from anywhere in the world.
[image: beacon]
--
You received this message because you are subscribed to the Google Groups
"Racket Users" group.
To unsubscribe from this group and stop
an troubleshoot what's causing this?
> > What's the best information to supply to make a good bug report?
> >
> > Thanks very much!
> >
> > --
> > You received this message because you are subscribed to the Google
> Groups
> > "Racket Users"
exact ind) #f)
[[ Maybe plot should check if a function renderer produces no output
and throw an error then. ]]
--
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, sen
rmation to supply to make a good bug report?
>
> Thanks very much!
>
> --
> 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
screenshot from
Process Explorer).
Is there any way I can troubleshoot what's causing this?
What's the best information to supply to make a good bug report?
Thanks very much!
--
You received this message because you are subscribed to the Google Groups
"Racket Users" group.
To u
(range 0.0 1.0 0.01))
--
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 vi
han
--
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
he second argument is the message shown in the title of
>> the
>> > pop-up window. You can include a path as the fourth argument:
>> >
>> > (get-file #f f "/home/don/projects")
>> >
>> > -Crystal
>>
> --
> You received this m
;/home/don/projects")
> >
> > -Crystal
>
--
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 vie
in the title of the
pop-up window. You can include a path as the fourth argument:
(get-file #f f "/home/don/projects")
-Crystal
--
You received this message because you are subscribed to the Google Groups "Racket
Users" group.
To unsubscribe from this group and stop r
I expected the following to display the popup showing the specified directory
but it does not:
(get-file (string->path "/home/don/projects") f)
Any suggestions?
Don
--
You received this message because you are subscribed to the Google Groups "Racket
Users" group.
To unsubscribe f
not:
(get-file (string->path "/home/don/projects") f)
Any suggestions?
Don
--
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+unsub
are we
going to explain that to people? What will opt-in/opt-out look like?
More
details in Slack.
[1] https://racket.slack.com/
[2] https://racket-slack.herokuapp.com/
--
You received this message because you are subscribed to the Google Groups
"Racket Users" group.
To unsubs
off Ruby + Jekyll, which may be unfamiliar to the community).
> Again, I think it’s great that you’re doing this!
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 fr
rting the Jekyll + Ruby stuff to Racket, feel
> free.
>
> --
> 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-us
free.
--
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 vi
-Hung You, Sorawee Porncharoenwase, Stephen De
>> Gabrielle, William J. Bowman, bmitc, xxyzz, yjqww6, and ymdarake
>>
>> Feedback Welcome
>> ------
>>
>>
--
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/51e8dccf-385a-49e1-8a5d-9f3e6fba95c4n%40googlegroups.com.
as the periods when the mutator must
be stopped are short enough for the purpose.
YMMV,
George
--
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-
ain, especially since (AFAIK) you can't provide the struct
> as a whole anymore. (And I need to write about 12 of these structs to boot.)
>
> --
> You received this message because you are subscribed to the Google Groups
> "Racket Users" group.
> To unsubscribe from this group a
adt,
> Sergiu Ivanov, Shu-Hung You, Sorawee Porncharoenwase, Stephen De
> Gabrielle, William J. Bowman, bmitc, xxyzz, yjqww6, and ymdarake
>
> Feedback Welcome
> ----------
>
>
--
You received this message because you are s
can run these `raco setup`
commands regardless of your current working directory.
I hope this helps!
-Philip
--
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 ema
"natipkg" use the "racket-lib" package
to pull in platform-specific dependencies, but this discrepancy seems
unrelated to that difference.
-Philip
--
You received this message because you are subscribed to the Google Groups "Racket
Users" group.
To unsubsc
ace%29>
>>
>> to go straight to its documentation.
>>
>> Over time, packages may be refactored so that a library moves to a
>> different package, but the original package should continue to provide the
>> library, too, by declaring a dependency on the new package.
an understand why Microsoft wouldn't do this. But I've seen enough
>>> hobby languages, and I'm surprised that none of them do this. Reusing a
>>> backend (like dotnet or the JVM) is common, reusing a "frontend" is
>>> something I've never seen. Is Racket's macr
e 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/da72cdd
end (like dotnet or the JVM) is common, reusing a "frontend" is
>> something I've never seen. Is Racket's macro system too specific to
>> Racket's definition of a fully-expanded program? (The little bit I've done
>> with local-expand and stop-ids makes me think it would
make this approach more trouble than it's worth?
>
> --
> 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...@googleg
ich would compile to source code in Java/C# and then use
the "native" compiler to type check.
???
--
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
re trouble than it's worth?
--
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 vi
kages may be refactored so that a library moves to a
> different package, but the original package should continue to provide the
> library, too, by declaring a dependency on the new package. More generally,
> a package is intended to have an interface that only grows in terms of
> librarie
s from other packages.
`#lang reprovide` is a nice way to get this done:
https://docs.racket-lang.org/reprovide/index.html
--
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, se
Can a new user defined pkg encompass nothing more than references to
previously defined pkgs so that every user created module references a
single user defined pkg?
--
You received this message because you are subscribed to the Google Groups
"Racket Users" group.
To unsubs
about. If no project like this
> >exists, I am not starting one soon.
>
> Racket can run in less than 64MB, but severely limited memory
> typically results in a lot of GC churn.
>
> George
>
>
--
You received this message because you are subscribed to the Google
ere".
--
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 vi
quot;collects" is as intended there. Packages are found
via `current-library-collection-links` (although, as I mentioned in the
other reply, that's not a parameter that you normally need to set).
--
You received this message because you are subscribed to the Google Groups
"Racket Users" gr
a configuration panel roughly in the
middle of the right-hand side for adding collects paths.
--
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 ra
n effect as
> evidenced by:
> (current-library-collection-paths) returns:
> '(#
> # #)
>
> however when I open drracket by clicking on a .rkt file
> (current-library-collection-paths) returns:
> '( #
> #)
>
> How to fix this?
>
> --
> You received this messag
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:
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/b21
ted memory
typically results in a lot of GC churn.
George
--
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 vi
s.
This is just something I have been musing about. If no project like this
exists, I am not starting one soon.
--
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
te about 12 of these structs to boot.)
>
> --
> 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.
&
, especially since (AFAIK) you can't provide the struct
as a whole anymore. (And I need to write about 12 of these structs to boot.)
--
You received this message because you are subscribed to the Google Groups
"Racket Users" group.
To unsubscribe from this group and stop receivin
(current-library-collection-paths)
'(#
# #)
I suspect the above is incorrect because I think the 8.1 path should be to
dir: /pkgs rather than /collects. Like this:
#
--
You received this message because you are subscribed to the Google Groups
"Racket Users" group.
To unsubs
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/3ca2d559-93bf-4a90-9188-f1f
are
> added through packages. Those packages are found through the
> `current-library-collection-links` parameter, which points to files
> that contain more paths.
>
>
> Matthew
>
--
You received this message because you are subscribed to the Google Groups
"Racket
801 - 900 of 20218 matches
Mail list logo