Re: [racket-users] Defining a function with the same name as a struct with a different constructor name

2021-06-04 Thread flirora
onstructor-name bar) > > > > I then can't define something named foo in the same module, even though > there's no constructor called foo? > > > > -- > > You received this message because you are subscribed to the Google > Groups "Racket Users" group. &g

Re: [racket-users] Regarding collections ...

2021-06-04 Thread Matthew Flatt
u received this message because you are 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 http

[racket-users] Regarding collections ...

2021-06-03 Thread Don Green
of the 3 desired collection paths. Should I use info.rkt to specify the 3 desired collection 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

Re: [racket-users] Defining a function with the same name as a struct with a different constructor name

2021-06-03 Thread Shu-Hung 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. > To view this discussion on the web visit > https

Re: [racket-users] Defining a function with the same name as a struct with a different constructor name

2021-06-03 Thread Sage Gerard
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/02598ee4-44

[racket-users] Defining a function with the same name as a struct with a different constructor name

2021-06-03 Thread flirora
Am I correct in assuming that given a definition like (struct foo (x) #:constructor-name bar) I then can't define something named foo in the same module, even though there's no constructor called foo? -- You received this message because you are subscribed to the Google Groups "Racket

[racket-users] Re: How do I debug this "invalid memory reference"?

2021-06-02 Thread Sage Gerard
current guess is that I passed a pointer to GC-managed memory, and the > pointer referenced an old location. > > Besides continuing to throw prints around, how should I go about debugging > this? > > -- > ~slg -- ~slg -- You received this message because you are subscribe

[racket-users] How do I debug this "invalid memory reference"?

2021-06-02 Thread Sage Gerard
gle 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/424c0500-4f09-784a-eab6-8967310b5869%40sagegerard.com.

[racket-users] Web application with websockets

2021-05-29 Thread Ruben Sevaldson
? And does anyone have any tips on how to add javascript to a racket web server in a good way? Thanks in advance for any help. -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving e

Re: [racket-users] Cross-VM method for sending any input port to C runtime?

2021-05-27 Thread Sage Gerard
ese use-cases: maybe > they're different enough that the answer is "no".) > > -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

[racket-users] Add your own, language-specific keybindings to DrRacket

2021-05-26 Thread aowen...@gmail.com
like to see any keybindings you've written using this tool as well, so please feel free to contact me here or on the Racket slack if you want to chat about this project! Best, Alex Owens -- You received this message because you are subscribed to the Google Groups "Racket Users" gr

[racket-users] Ubuntu PPA now updated to v8.1

2021-05-26 Thread Asumu Takikawa
On 2021-05-05 16:39:14 +, 'John Clements' via Racket Users wrote: > Racket version 8.1 is now available from > > https://racket-lang.org/ The Ubuntu PPA is also now updated to v8.1 on all supported releases (now includes 21.04): https://launchpad.net/~plt/+archive/ubuntu/rack

Re: [racket-users] Registered on irc.libera.chat

2021-05-26 Thread David Bremner
You received this message because you are 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.co

Re: [racket-users] Registered on irc.libera.chat

2021-05-26 Thread Yury Bulka
xpect to control what happens on freenode in my > absence. > > 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...@googlegro

Re: [racket-users] Registered on irc.libera.chat

2021-05-24 Thread David Bremner
I don't expect to control what happens on freenode in my absence. 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...@

Re: [racket-users] Registered on irc.libera.chat

2021-05-24 Thread Hendrik Boom
ship > > of #racket and #racket-*. > > > > Would those who have served as chanops on freenode who are willing to > > also do the same for libera.chat please email me privately to let me > > know your nick etc.? > > > > Thanks! > > > > Tony >

Re: [racket-users] Registered on irc.libera.chat

2021-05-24 Thread Dominik Pantůček
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 > <mailto:racket-users+u

Re: [racket-users] Cross-VM method for sending any input port to C runtime?

2021-05-23 Thread Philip McGrath
t enough that the answer is "no".) -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 email to racket-users+unsubscr...@googlegroups.com. To view

Re: [racket-users] Cross-VM method for sending any input port to C runtime?

2021-05-23 Thread Matthew Flatt
n various ways with BC, too.) Matthew -- You received this message because you are 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 discussi

[racket-users] CFP: Scheme 2021 - 22nd Scheme and Functional Programming Workshop (Co-located with ICFP 2021)

2021-05-23 Thread web...@gmail.com
. Friedman, Indiana University Olin Shivers, Northeastern University William E. Byrd, University of Alabama at Birmingham -- You received 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

[racket-users] Cross-VM method for sending any input port to C runtime?

2021-05-23 Thread Sage Gerard
rts. Is there a cross-VM way to pass an arbitrary input port to the C runtime (e.g. via open-input-bytes), such that the C runtime can read bytes on its own? -- ~slg -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe fr

Re: [racket-users] canvas% mouse event handling difference in Racket CS?

2021-05-22 Thread schle...@gmail.com
at changes the color of a grid of rounded rectangles based on mouse position, it also prints mouse position and draw timings to the console. Simon -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop r

[racket-users] Registered on irc.libera.chat

2021-05-22 Thread Tony Garnock-Jones
received this message because you are 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/ms

Re: [racket-users] How to write a program to catch every SIGINT and print "hello"

2021-05-22 Thread Nathaniel W Griswold
inate or exn:break:hang-up, or... ? > > 2) Are there any glaring mistakes in what i wrote other than the problems of > (1)? > > Any good way to do this? > > Nate > > -- > You received this message because you are subscribed to the Google Groups > "

Re: [racket-users] canvas% mouse event handling difference in Racket CS?

2021-05-22 Thread Jens Axel Søgaard
to be ;; atomic. At the same time, we need some atomic callbacks to be able ;; to escape with an exception. It matches your observations. https://github.com/racket/draw/blob/master/draw-lib/racket/draw/unsafe/callback.rkt /Jens Axel -- You received this message because you are subsc

Re: [racket-users] Freenode -> libera.chat

2021-05-22 Thread Yury Bulka
>> > >> >> > Is this to become the canonical IRC chat room for Racket? >> >> >> >> ¯\_(ツ)_/¯ >> >> >> >> I'd be in favour of moving off Freenode, myself. >> >> >> >> What would need updating? Presumably

[racket-users] Re: canvas% mouse event handling difference in Racket CS?

2021-05-22 Thread schle...@gmail.com
fresh > was initially called. > > Also, if you choose to use a timer% object, you don't need to create one > each time, they can be reused. > > Alex. > -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscri

[racket-users] Re: canvas% mouse event handling difference in Racket CS?

2021-05-22 Thread Alex Harsányi
en the time refresh was initially called. Also, if you choose to use a timer% object, you don't need to create one each time, they can be reused. Alex. -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop r

[racket-users] Re: canvas% mouse event handling difference in Racket CS?

2021-05-22 Thread schle...@gmail.com
fresh) >> directly >> ;; this effectively waits at least 50 ms before trying to refresh thus >> allowing most on-event >> ;; calls to complete before on-paint is executed the first/next time, >> thus only drawing the last frame or a few in-between frames if the mouse

[racket-users] Re: canvas% mouse event handling difference in Racket CS?

2021-05-21 Thread schle...@gmail.com
plete before on-paint is executed the first/next time, thus > only drawing the last frame or a few in-between frames if the mouse is > moved for a long time > > I may try to construct a minimal example, but wanted to put the info out > there, because the behavior seems so different from

[racket-users] canvas% mouse event handling difference in Racket CS?

2021-05-21 Thread schle...@gmail.com
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/9298249c-3d3d-4f1f-a18d-945

Re: [racket-users] how to convert encoded path to something build-path can use?

2021-05-21 Thread Stephen Chang
" #"racket-lib") > > > > Any recommendations would be appreciated. Thanks! > > Steve > > -- > You received this message because you are subscribed to the Google Groups > "Racket Users" group. > To unsubscribe from this group and s

[racket-users] How to write a program to catch every SIGINT and print "hello"

2021-05-21 Thread Nathaniel W Griswold
i just check that it's not a exn:break:terminate or exn:break:hang-up, or... ? 2) Are there any glaring mistakes in what i wrote other than the problems of (1)? Any good way to do this? Nate -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To uns

Re: [racket-users] Freenode -> libera.chat

2021-05-21 Thread Nathaniel W Griswold
pdating? Presumably little more than the following: > >> > >>- https://racket-lang.org/irc-chat.html > >> > >> ? Is freenode mentioned anywhere else? > >> > >> Cheers, > >>Tony > >> > >> -- > >> You received

Re: [racket-users] how to convert encoded path to something build-path can use?

2021-05-21 Thread Matthew Flatt
> > Any recommendations would be appreciated. Thanks! > Steve -- You received this message because you are 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...@googlegrou

[racket-users] how to convert encoded path to something build-path can use?

2021-05-21 Thread Stephen Chang
? path-for-some-system? 'up 'same) given: '(up up #"pkgs" #"racket-lib") Any recommendations would be appreciated. Thanks! Steve -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group

Re: [racket-users] Is there a good Racket DSL alternative to Image Magick?

2021-05-21 Thread James Platt
>> On 5/11/21 9:26 AM, Robert Haisfield wrote: >>> I have to do a bunch of .jpg and .png image resizings and was looking for a >>> programmatic way to do it. Is their a Racket DSL for this? -- >>> You received this message because you are subscribed to the Google Groups &

Re: [racket-users] eq? behavior changed on Racket CS?

2021-05-20 Thread Matthew Flatt
> > Steve > > -- > You received this message because you are 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 t

[racket-users] eq? behavior changed on Racket CS?

2021-05-20 Thread Stephen Chang
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/CAFfiA1LQw_ECHrgRN%3DfrK9H%

Re: [racket-users] Freenode -> libera.chat

2021-05-20 Thread Stephen De Gabrielle
ng: > >> > >>- https://racket-lang.org/irc-chat.html > >> > >> ? Is freenode mentioned anywhere else? > >> > >> Cheers, > >>Tony > >> > >> -- > >> You received this message because you are subscribed to th

Re: [racket-users] Freenode -> libera.chat

2021-05-20 Thread Tony Garnock-Jones
for Racket? >> >> ¯\_(ツ)_/¯ >> >> I'd be in favour of moving off Freenode, myself. >> >> What would need updating? Presumably little more than the following: >> >>- https://racket-lang.org/irc-chat.html >> >> ? Is freenode mentioned an

Re: [racket-users] Freenode -> libera.chat

2021-05-20 Thread David Storrs
://racket-lang.org/irc-chat.html > > ? Is freenode mentioned anywhere else? > > Cheers, >Tony > > -- > You received this message because you are subscribed to the Google Groups > "Racket Users" group. > To unsubscribe from this group and stop receiving email

Re: [racket-users] Freenode -> libera.chat

2021-05-20 Thread Tony Garnock-Jones
. What would need updating? Presumably little more than the following: - https://racket-lang.org/irc-chat.html ? Is freenode mentioned anywhere else? Cheers, Tony -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from

Re: [racket-users] Freenode -> libera.chat

2021-05-20 Thread Paulo Matos
ome the canonical IRC chat room for Racket? -- 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, send an email to racket-users+unsubscr...@googlegrou

[racket-users] Freenode -> libera.chat

2021-05-20 Thread Tony Garnock-Jones
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/b60d3ddc-601b-4166-89ce-98b

Re: [racket-users] I want a package at installation scope but also to keep my install clean

2021-05-20 Thread Nathaniel W Griswold
>>>>> $RACKET/share/pkgs? >>>>>> If it is reasonable then what is the best way to set this up? >>>>>> >>>>>> Just FYI I did an in-place install of Racket in "/opt/Racket/Racket\ 8.1" >>>>>> symlinked t

Re: [racket-users] I want a package at installation scope but also to keep my install clean

2021-05-20 Thread Nathaniel W Griswold
o /opt/Racket... >>>>> >>>>> I think maybe what i want is to set to something like >>>>> >>>>> (in /opt/Racket/etc/config.rktd) >>>>> >>>>> #hash(... (pkgs-search-dirs . "/opt/Racket 8.1/share/pkgs-s

Re: [racket-users] I want a package at installation scope but also to keep my install clean

2021-05-20 Thread Nathaniel W Griswold
opt/Racket/bin/raco pkg install --scope-dir >>>> /opt/Racket/share/pkgs-system rash` >>>> >>>> ... and the new package seems to be working fine for my users. >>>> >>>> Is that what i wanted or is there something better? Is there a wa

Re: [racket-users] I want a package at installation scope but also to keep my install clean

2021-05-20 Thread Nathaniel W Griswold
orking fine for my users. >>> >>> Is that what i wanted or is there something better? Is there a way to >>> configure >>> config.rktd additions that will persist across upgrades or will i have to >>> update my config.rktd for every racket release? Do

Re: [racket-users] Sharing scope in setup/cleanup for dynamic-wind?

2021-05-19 Thread George Neuner
s helps, 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 view this discussion on the web visit http

Re: [racket-users] DrRacket run button needs several clicks to work...

2021-05-19 Thread Matthew Flatt
trating aspect? > Thanks > Don. > (Racket is installed on Ubuntu v.16.04). -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to racket-

[racket-users] DrRacket run button needs several clicks to work...

2021-05-19 Thread Don Green
the 'run' function executes. Any suggestions? Seems like the run button does not acquire focus reliably. Anyone else experiencing this frustrating aspect? Thanks Don. (Racket is installed on Ubuntu v.16.04). -- You received this message because you are subscribed to the Google Groups "Racket

Re: [racket-users] Racket News - Issue 50

2021-05-19 Thread Sage Gerard
ml > > Enjoy! > > -- > 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, send an > email to racket-users+unsubscr...@googlegroups.com.

Re: [racket-users] Sharing scope in setup/cleanup for dynamic-wind?

2021-05-19 Thread David Storrs
ontinuation-barrier > (λ () > (send-message conn "hi" >(λ () > (finalize-connection conn > > I think I don't understand cwcb well enough to get this, but the connect call is not in the pre thunk so it's not guaranteed to happen...right? -- > You recei

[racket-users] Racket News - Issue 50

2021-05-19 Thread Paulo Matos
Hello all, We have hit 50 issues! :) https://racket-news.com/2021/05/racket-news-issue-50.html Enjoy! -- 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 fro

Re: [racket-users] Sharing scope in setup/cleanup for dynamic-wind?

2021-05-18 Thread Philip McGrath
his message because you are 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/racke

Re: [racket-users] Sharing scope in setup/cleanup for dynamic-wind?

2021-05-18 Thread Sam Tobin-Hochstadt
> > with-handlers but haven't been able to get there without losing the >> > guarantee of running. Is there a way? >> > >> > Example of what I'd like to do: >> > >> > (my-dynamic-wind >> > (thunk (define conn (connect-to-serv

Re: [racket-users] Sharing scope in setup/cleanup for dynamic-wind?

2021-05-18 Thread David Storrs
ing the > guarantee of running. Is there a way? > > > > Example of what I'd like to do: > > > > (my-dynamic-wind > > (thunk (define conn (connect-to-server))) > > (thunk (send-message conn "foo")) > > (thunk (finalize-connection conn)

Re: [racket-users] Sharing scope in setup/cleanup for dynamic-wind?

2021-05-18 Thread Sam Tobin-Hochstadt
ind > (thunk (define conn (connect-to-server))) > (thunk (send-message conn "foo")) > (thunk (finalize-connection conn))) > > -- > You received this message because you are subscribed to the Google Groups > "Racket Users" group. > To unsubscribe fr

Re: [racket-users] recent sqlite3 versions (was Re: preview of a cross-compilation tool)

2021-05-18 Thread kamist...@gmail.com
don't understand that the db-lib version of sqlite is not wanted and has a different version, so it thinks libsqlite3 is not needed: raco setup: unused dependency detected for package: "myapp" on package: "libsqlite3" -- You received this message because you are sub

[racket-users] Sharing scope in setup/cleanup for dynamic-wind?

2021-05-18 Thread David Storrs
t;foo")) (thunk (finalize-connection conn))) -- You received this message because you are 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 d

Re: [racket-users] I want a package at installation scope but also to keep my install clean

2021-05-18 Thread Sam Tobin-Hochstadt
t what i wanted or is there something better? Is there a way to > > configure > > config.rktd additions that will persist across upgrades or will i have to > > update my config.rktd for every racket release? Do other people do this > > kind of > > thing or just dump stuff

[racket-users] recent sqlite3 versions (was Re: preview of a cross-compilation tool)

2021-05-18 Thread Bogdan Popa
ently 3.35.5) of SQLite for Linux, macOS and Windows. If you add it to your app's `deps`, everything should just work. [1]: https://pkgd.racket-lang.org/pkgn/package/libsqlite3 -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsub

Re: [racket-users] I want a package at installation scope but also to keep my install clean

2021-05-18 Thread Matthew Flatt
igure > config.rktd additions that will persist across upgrades or will i have to > update my config.rktd for every racket release? Do other people do this kind > of > thing or just dump stuff in the installation scope? Maybe there are more > options with a unix-style install, i ha

Re: [racket-users] Re: preview of a cross-compilation tool

2021-05-18 Thread kamist...@gmail.com
the moment manages to cover the > combination of Linux and 32-bit Windows. We'll get the snapshot sites > in line soon, I hope. > > > Matthew > -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscri

[racket-users] I want a package at installation scope but also to keep my install clean

2021-05-16 Thread Nathaniel W Griswold
really tried one yet. Thanks! 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 from it, send an email to racket-users+unsubscr...@googlegroups.com. To view

Re: [racket-users] Packages not being listed after reinstalling

2021-05-15 Thread Philip McGrath
> routines:tls_process_server_certificate:certificate verify failed) > > -- > You received this message because you are subscribed to the Google Groups > "Racket Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > e

[racket-users] Re: Packages not being listed after reinstalling

2021-05-15 Thread Dimaugh Silvestris
rtificate verify failed) > -- You received this message because you are 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 t

[racket-users] Packages not being listed after reinstalling

2021-05-15 Thread Dimaugh Silvestris
ect failed (error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed) -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to racket-use

Re: [racket-users] Re: preview of a cross-compilation tool

2021-05-15 Thread Matthew Flatt
the snapshot sites in line soon, I hope. Matthew -- You received this message because you are 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 v

Re: [racket-users] Re: preview of a cross-compilation tool

2021-05-15 Thread kamist...@gmail.com
ging this, any tips about values to look at would be appreciated. -- You received this message because you are 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...@googlegroup

Re: [racket-users] Re: preview of a cross-compilation tool

2021-05-15 Thread Matthew Flatt
r your code, though, the v8.l release builds should work for BC. Matthew -- You received this message because you are 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+unsu

[racket-users] Re: preview of a cross-compilation tool

2021-05-15 Thread kamist...@gmail.com
s`. All other commands are prefixed by `raco`.) >> >> >> For more information see >> >> https://docs.racket-lang.org/raco-cross/index.html >> >> >> [*] Running a cross-built CS executable fails at the very last step of >> startup, and that's due

[racket-users] Re: preview of a cross-compilation tool

2021-05-14 Thread schle...@gmail.com
> startup, and that's due to an expander bug for handling top-level > `begin` forms compiled in machine-independent form. We didn't > detect this problem before, because it wasn't part of Bogdan's use > case for cross builds, and because cross-compilation was painful > enough that w

Re: [racket-users] Redirecting shared lib stdout

2021-05-14 Thread Sage Gerard
ffi/unsafe >>>ffi/unsafe/define >>>ffi/unsafe/port) >>> >>> (define libhello (ffi-lib "/home/pmatos/dev/tmp/ffi-hello-world/hello.so")) >>> >>> (define-ffi-definer define-libc (ffi-lib #f)) >>> (de

Re: [racket-users] Help in understanding 'letrec' example

2021-05-14 Thread Utkarsh Singh
gt; you want to start in > (equal? target (file-name-from-path item))) Thanks! This looks good. -- Utkarsh Singh http://utkarshsingh.xyz -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receivin

Re: [racket-users] Redirecting shared lib stdout

2021-05-14 Thread Paulo Matos
-lib #f)) >> (define-ffi-definer define-hello libhello) >> >> (define-libc dup2 (_fun _int _int -> _int)) >> (define-hello hello (_fun -> _void)) >> >> (define-values (in out) (make-pipe)) >> >> ;; FAILS because (unsafe-port-> ...) return #f

Re: [racket-users] Redirecting shared lib stdout

2021-05-14 Thread Paulo Matos
int -> _int)) >> (define-hello hello (_fun -> _void)) >> >> (define-values (in out) (make-pipe)) >> >> ;; FAILS because (unsafe-port-> ...) return #f >> (dup2 (unsafe-port->file-descriptor out) 1) >> >> ;;... >> ;; connect t

Re: [racket-users] student produces absolutely bonkers environment lookup code

2021-05-13 Thread 'John Clements' via Racket Users
_typed-racket%2Fbase-env%2Fbase-types-extra..rkt%29._-~3e%2A%29%29 >> >> Shu-Hung > > +1, that example in the docs looks _very_ similar to the student code > > -- > You received this message because you are subscribed to the Google Groups > "Racket Use

Re: [racket-users] Help in understanding 'letrec' example

2021-05-13 Thread David Storrs
ng a file with (name? > "tarzan") or something else? > > -- > Utkarsh Singh > http://utkarshsingh.xyz > > -- > You received this message because you are subscribed to the Google Groups > "Racket Users" group. > To unsubscribe from this group and stop receivin

Re: [racket-users] Is there a good Racket DSL alternative to Image Magick?

2021-05-13 Thread David Storrs
where there's only one character to escape, but it gets helpful as you do more): #lang at-exp racket (filter (compose1 (curry regexp-match? @~a{\.png}) path->string) (directory-list ".")) -- You received this message because you are subscribed to the Google Groups "Racket Users

[racket-users] preview of a cross-compilation tool

2021-05-13 Thread Matthew Flatt
s. -- You received this message because you are 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.g

[racket-users] CFP: SLE 2021 - 14th ACM SIGPLAN International Conference on Software Language Engineering

2021-05-13 Thread Andrei Chis
hman Zamani, University of Isfahan, Iran --- Contact --- For additional information, clarification, or answers to questions, please contact the Program Chairs (Emma Söderberg and Dimitris Kolovos). -- You received this message because you are subscribed to the Google Grou

Re: [racket-users] Re-defined constant when dynamically evaluating module forms

2021-05-12 Thread Matthew Flatt
ay to > dynamically evaluate them and pull out a provided value without running > into that error? > > -- > > ~slg > > > -- > You received this message because you are subscribed to the Google Groups > "Racket Users" group. > To unsubscribe f

[racket-users] Re-defined constant when dynamically evaluating module forms

2021-05-12 Thread Sage Gerard
thout running into that error? -- ~slg -- You received this message because you are 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

Re: [racket-users] Is there a good Racket DSL alternative to Image Magick?

2021-05-12 Thread kamist...@gmail.com
ideas? >>>> >>>> *No, I'm not trying to just resize photos (this would be much easier if >>>> that's all I had to do), the thing I'm working with requires me to add >>>> whitespace to the sides of the images to have them display properly.* >>>&g

Re: [racket-users] Is there a good Racket DSL alternative to Image Magick?

2021-05-12 Thread Ben Greenman
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/CAFUu9R76maG1O1Z40UL0CUwnMHZ3vg0H9mmE_BvVgozKGN2b1w%40mail.gmail.com.

Re: [racket-users] Redirecting shared lib stdout

2021-05-12 Thread Jon Zeppieri
> (define-hello hello (_fun -> _void)) > > (define-values (in out) (make-pipe)) > > ;; FAILS because (unsafe-port-> ...) return #f > (dup2 (unsafe-port->file-descriptor out) 1) > > ;;... > ;; connect the other end of the port to current-output-port > ;; and use

Re: [racket-users] Is there a good Racket DSL alternative to Image Magick?

2021-05-12 Thread Robert Haisfield
path")] #:when (regexp-match? "\\.png$" f)) > (displayln f)) > > Dan > -- You received this message because you are 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

Re: [racket-users] Is there a good Racket DSL alternative to Image Magick?

2021-05-12 Thread kamist...@gmail.com
3:06:20 PM UTC-6 Jens Axel Søgaard wrote: >>> >>>> Hi Robert, >>>> >>>> There are some bindings for Magick in the example folder for the FFI >>>> library. >>>> >>>> >>>> https://github.com/racket/racket/t

[racket-users] Error in DrRacket "Couldn't find a browser"

2021-05-12 Thread Chae Cramb
t\share\pkgs\gui-lib\mred\private\wx\common\queue.rkt:634:3 I'm on Windows 10 Home 21H1. Can anyone offer any advice? -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it,

Re: [racket-users] Redirecting shared lib stdout

2021-05-12 Thread Sage Gerard
; ;; FAILS because (unsafe-port-> ...) return #f > (dup2 (unsafe-port->file-descriptor out) 1) > > ;;... > ;; connect the other end of the port to current-output-port > ;; and use a thread to copy-port > ``` > > Surely there must be a better way than this

Re: [racket-users] Injecting local contracts for prefab constructors

2021-05-12 Thread David Storrs
I break compatibility > with `match` and `defstruct*`. > > If you were in my position, what would you do? > > -- > > ~slg > > -- > You received this message because you are subscribed to the Google Groups > "Racket Users" group. > To unsubscribe from

Re: [racket-users] Is there a good Racket DSL alternative to Image Magick?

2021-05-12 Thread Robert Haisfield
at 3:06:20 PM UTC-6 Jens Axel Søgaard wrote: >> >>> Hi Robert, >>> >>> There are some bindings for Magick in the example folder for the FFI >>> library. >>> >>> https://github.com/racket/racket/tree/master/pkgs/racket-doc/ffi/examples >

[racket-users] Redirecting shared lib stdout

2021-05-12 Thread Paulo Matos
ere must be a better way than this and I would be surprised if there isn't already something out there in a library but I haven't found anything yet. Any help here would be great. Thanks, -- Paulo Matos -- You received this message because you are subscribed to the Google Groups "Racket Users

Re: [racket-users] Is there a good Racket DSL alternative to Image Magick?

2021-05-11 Thread Daniel Prager
ot;/some/path")] #:when (regexp-match? "\\.png$" f)) (displayln f)) Dan -- You received this message because you are 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

Re: [racket-users] Is there a good Racket DSL alternative to Image Magick?

2021-05-11 Thread Robert Haisfield
gt;> >> https://github.com/racket/racket/tree/master/pkgs/racket-doc/ffi/examples >> >> The bindings are in magic.rkt and examples of use are in use-magick.rkt >> (see the bottom). >> >> /Jens Axel >> >> >> Den tir. 11. maj 2021 kl. 22.15 skrev 'Joh

Re: [racket-users] Is there a good Racket DSL alternative to Image Magick?

2021-05-11 Thread Jens Axel Søgaard
. 22.15 skrev 'John Clements' via Racket Users < racket-users@googlegroups.com>: > Racket has the ability to read a variety of different image files. I would > go first to 2htdp/image’s “bitmap/file” to read images. “save-image” can > write images (but only as png files). I believe

Re: [racket-users] Is there a good Racket DSL alternative to Image Magick?

2021-05-11 Thread 'John Clements' via Racket Users
probably help point you in the right direction, >> >> On 5/11/21 9:26 AM, Robert Haisfield wrote: >>> I have to do a bunch of .jpg and .png image resizings and was looking for a >>> programmatic way to do it. Is their a Racket DSL for this? -- >>> You received this m

Re: [racket-users] Is there a good Racket DSL alternative to Image Magick?

2021-05-11 Thread Robert Haisfield
/21 9:26 AM, Robert Haisfield wrote: >> >> I have to do a bunch of .jpg and .png image resizings and was looking for >> a programmatic way to do it. Is their a Racket DSL for this? -- >> You received this message because you are subscribed to the Google Groups >>

<    5   6   7   8   9   10   11   12   13   14   >