I like this. Reminds me of `rackjure/threading`, but more involved.
--
You received this message because you are subscribed to 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.
A clickbait title about workshops!? That might just make me "Come and see."
;)
On Monday, March 18, 2019 at 10:31:55 AM UTC-7, Jay McCarthy wrote:
>
> This year from July 8th to the 14th is Racket Week. Come and see.
>
> During the body of the week are the school workshops. Come and see.
>
>
That actually sounds kinda fun. If you make the repo I'll join in.
On Monday, February 4, 2019 at 8:07:58 AM UTC-8, Matt Jadud wrote:
>
> Hi all,
>
> https://www.tensorflow.org/install/lang_c
>
> Would there be interest/value in having FFI bindings for TensorFlow? If I
> poke it with a stick,
I learned to Racket with a combination of "The Scheme Programming Language"
by Kent Dybvig, SICP, and the Racket documentation site. If you're new to
Lisp then The Scheme Programming Language would probably do well.
P.S. I would recommend the Racket style guide, just so you get an idea of
ollection-paths`, that are needed
> to boot Racket.
>
> I think maybe you don't want to set `--config-path`, but you want to
> instead want to store preferences in a different and separately
> configured path. But I may misunderstand.
>
> At Tue, 25 Sep 2018 11:45:01 -0700 (PDT), Lehi Tos
In the docs for raco exe, there exists a switch `--config-path` that you
can specify to tell the executable to look in this directory for a config
file. Is there a way to set this as a runtime path instead? When OS X runs
my test program, it'll have Cmd-, set as the default shortcut for opening
ntry directs `raco setup` to use
> "file-icon.icns" as the icon for files opened by the application.
>
> Hope this helps!
>
> -Philip
>
> P.S.: I'll also mention that I recently started working on a Racket
> library to write .icns icon files instead of shelling
I've been messing around with getting a test application to open files from
Finder in OS X as a default app. The program appears to be operating
properly, except for the part where it tells me information about the file
I double-clicked. I modified the app a little so that it would print out
On Wednesday, March 14, 2018 at 10:10:20 AM UTC-7, Matthew Butterick wrote:
>
>
> probably it requires a combination of peek + read, or copying the port.
>
> That may be true, but I've been messing around getting *anything* to print
from inside that function. I'm beginning to think it's never
Hello, everyone!
I'm trying to get an output port to display text to both the error port and
a text% object every time there's an error or an `eprintf` is called. Now,
I have already accomplished this by using `make-output-port`, but I had
decided to try and use `open-output-text-editor`
On Tuesday, July 25, 2017 at 9:07:14 AM UTC-7, Jens Axel Søgaard wrote:
> The Interaction Window in DrRacket supports snips, picts etc., so it is
> reasonable that is slower than a terminal.
> But ... maybe it is possible to let the user choose a simpler interaction
> window. One that only
One thing I'm curious about is what things can you and can you not pack? In the
README it shows bytes being packed, which seems a little obvious, but what
about (transparent) structs? Hashes? Lists? I'm very interested in this
package... for science!
--
You received this message because you
I have noticed that printing in DrRacket is rather slow and I'm wondering if
that's something I could speed up. If I have a loop that runs and prints a
whole lot of information each loop, were I to become overwhelmed and click the
Stop button, it would take a minute or so before my wishes made
Yes, my first question was definitely answered already.
--
You received this message because you are subscribed to 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
I've read through a few README's in the racket7 repo and I can't find anything
specifically about *why* Racket is being implemented on top of Chez Scheme, so
I suppose I'll be asking here:
Why the rewrite in the first place? Is it because C is ugly and yucky and
poopy? Why Chez Scheme and not,
My general idea for this system is to write a small kernel that would boot and
start a REPL, but now that I'm thinking about it I'd need to do some finagling
to get Racket itself working on this new system --- not to mention learning ARM
ASM if I'm going to implement this on a Raspberry Pi. By
S232 serial/ whatever else the chip offers, and network seem like the
> bare minimum. Are you thinking about some kind of minimal racket running on a
> Raspberry Pi or something more abstract?
>
>
> Deren
>
>
> On Fri, Jul 7, 2017 at 8:16 PM, Lehi Toskin <lehi@gmai
That's an interesting project. It's a little too inclusive, so to speak, for
what I was thinking of implementing.
On Friday, July 7, 2017 at 7:33:32 PM UTC-7, Neil Van Dyke wrote:
> I've made a boot-to-Racket-app appliance image for x86 before, based on
> Debian Live. The bootable filesystem
Well there is the racket-rash project[1]. So you're thinking of more a *NIX
environment inside the REPL?
[1] https://github.com/willghatch/racket-rash
On Friday, July 7, 2017 at 5:38:51 PM UTC-7, Royall Spence wrote:
> How about a full suite of all the usual shell commands? I believe this
> is
I have this idea, this vision. I wish to create a small system that would more
or less only be to turn on the machine (probably an RPi) and then you'd
immediately be inside a Racket REPL. Probably wouldn't be very interesting by
itself, but that seems to be almost exactly what eLua and
Now that I have figured out how to get `force-cache` to run through alternate
means (using the scroll wheel) and have my preferred font selected, I think
I'll be okay until a fix has been added. I think this started to happen when I
upgraded to v6.9 and then downgraded to v6.8. I couldn't say
Yes, that is correct.
--
You received this message because you are subscribed to 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
Since there is only a single choice, on-subwindow-event (line 86) will not be
executed by simply clicking, I need to wheel-up or wheel-down for it to update
the list of fonts. Pressing Enter, however, forces on-subwindow-char (line 92)
to execute and populate the list of fonts. Selecting the
Yeah, that's exactly where I'm looking. In the Font Name, I see only Monospace.
I click on it and there are no choices except that one.
--
You received this message because you are subscribed to the Google Groups
"Racket Users" group.
To unsubscribe from this group and stop receiving emails
Where is "Other..."? I don't see it anywhere. Also, `(get-face-list 'mono)`
shows a whole lot more fonts than just Monospace.
On Sunday, June 25, 2017 at 3:33:22 AM UTC-7, Robby Findler wrote:
> DrRacket uses the result of (get-face-list 'mono) in its dialog. If
> you choose "Other..." you
At some point DrRacket decided it didn't want to use any font other than
Monospace. In fact, Monospace is the only font that is available in the menu.
`(get-font-from-user)` will correctly display all my fonts, but for whatever
reason DrRacket doesn't want to cooperate. I've even tried using a
There appears to be some sort of problem with gui-lib in Racket v6.9 that isn't
apparent in v6.8. In my image viewer program Ivy[1], moving from one image to
the next takes a few seconds even for small images and if I click in a
text-field with lots of text in it, it'll take a half second for
On Friday, April 21, 2017 at 1:35:12 AM UTC-7, Chris Klopfenstein wrote:
> It seems that sometimes when pasting the clipboard in DrRacket (version 6.8),
> it also gets pasted into another (wrong) place. It is very annoying.
>
> It also *seems* to occur when doing cut/paste in a different app
On Windows the easiest way to deal with DLL's is to have them in the same
directory as the program. If they aren't in the same directory, you'll need to
specify their path like `(ffi-lib "C:\\path\\to\\vendor\\dir\\foo")` in the
wrapper file.
--
You received this message because you are
In `get-file-list` there is a filter argument that can be passed to the
function such that when going through a directory it'll only list directories
and those files in the filter (separated by a semicolon). This can get rather
unruly when the filter is rather large. At current count, I have a
> An alternative approach which probably takes less effort is to just have two
> documentation pages. One for core packages, and one for community packages.
> Obviously we should still make 3rd party packages feel like first class build
> in stuff, but if we just host them at a different URL,
Stickers? For free?? Count me in! How would you like me to contact you in
private?
On Tuesday, January 24, 2017 at 1:15:59 PM UTC-8, Ben Greenman wrote:
>
> If you send me your address, I will mail you some stickers. For free!*
>
--
You received this message because you are subscribed to the
That's perfect, Thank you!
On Friday, January 20, 2017 at 2:46:49 PM UTC-8, Matthew Butterick wrote:
> Perhaps a job for `normalize-definition`? It handles all the syntactic
> disentangling in a `define`-like macro.
--
You received this message because you are subscribed to the Google Groups
The program I've been working on is https://github.com/lehitoskin/ivy - it has
a few library dependencies, but those should be easy to get.
On Wednesday, January 18, 2017 at 4:04:01 AM UTC-8, Robby Findler wrote:
> It sounds like there might be a leak somewhere. Is the program you were
>
In DrRacket I had background expansion on for the longest time until I started
to notice that whenever I would work on my programs it would, well, expand in
the background and take up 100% of one of my cores and the memory would slowly
crawl upwards. A few times it got so bad that DrRacket by
On Friday, January 13, 2017 at 5:32:51 AM UTC-8, Tony Garnock-Jones wrote:
>
> Oh, cool. That'd probably be a useful thing for Racket's
> net/git-checkout module, which has a piece of code in `zlib-inflate`
> that reads:
>
> ...
> (inflate i o)
> ;; Verify checksum?
> (read-bytes-exactly
Thanks to Tonyg's links, I figured out that the part I was missing was the
ADLER-32 check of the uncompressed data added to the end of the byte string.
That makes the total byte string composition look like this:
(bytes #x78 #x9c) compressed-data-from-deflate (number->bytes (adler32
On Thursday, January 12, 2017 at 10:59:13 AM UTC-8, Ethan Estrada wrote:
> Then, is this a bug or something that should be an optional argument on the
> function like `#:ignore-initial-bytes #t`? I am not deeply familiar with the
> DEFLATE file format, but this seems like bug since it doesn't
Interesting... If I prepend `(bytes #x78 #x9c)` to the compressed data created
by deflate, zlib-flate will uncompress it. Same thing happens in reverse where
I skip the first two bytes of the zlib-flate'd data and process it with inflate.
--
You received this message because you are subscribed
If I run `gunzip-through-ports`, it errors out with "gnu-unzip: bad header"
--
You received this message because you are subscribed to the Google Groups
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to
I'm looking at some data that was zlib compressed and I thought I'd inflate it
with file/gunzip's deflate function, but I get "inflate: error in compressed
data". I thought to try from the opposite direction, grabbing some deflated
data from Racket and then asking zlib-flate to inflate it
On Sunday, January 8, 2017 at 8:29:49 AM UTC-8, Royall Spence wrote:
> I'm making some bindings for a C library. In the original library, the
> functions are named as "LIBNAME_do_stuff". Should I keep those the same in
> the FFI binding or define them as "libname-do-stuff"? Is there a convention
I've been encountering Gtk-WARNING's on some simple GUI code and it's not
really making any sense to me. Here's the code:
;;;
#lang racket/gui
(define frame
(new frame%
[label "foo"]
[width 500]
[height 500]))
(define lbox
(new list-box%
[parent frame]
> http://docs.racket-lang.org/txexpr/
Hoo-ray! splitf-xexpr is *exactly* what I needed. Thank you for your help!
--
You received this message because you are subscribed to the Google Groups
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
I have some XML - rather, XMP data from an image - that I'd like to mess around
with. I've investigated the xml library and found that I can turn the XML into
an XEXPR so I can play around with it like that and even search through it with
se-path*/list, but how would I go from there to
On Monday, December 5, 2016 at 2:51:26 PM UTC-8, Dan Liebgold wrote:
> Ok, those tests aren't particularly illumating (at least they were easy!)
>
> Is your Racket distribution on a local drive? Network performance can make a
> big difference.
>
The Racket distribution I'm using is on my
On Monday, December 5, 2016 at 12:08:12 PM UTC-8, Dan Liebgold wrote:
> Are you sure you have up to date .zo files for all your .rkt files?
>
> How's the timing if you add '-c' to your Racket commandline? How about '-j'?
>
These first two tests are with the lazy-require code.
If I add '-c':
$
Dupéron Georges I did what you suggested and placed a displayln at the
beginning. There's a wait time between when I execute the program and then
everything happens all at once - the displayln occurs at the same time as when
the GUI spawns.
> On Sunday, December 4, 2016 at 10:05:23 AM UTC-8,
I have a GUI program (located here, for reference:
https://github.com/lehitoskin/ivy.git ) I'm working on and I've found that the
time it takes to go from clicking on the binary (or calling from CLI) to
getting a fully loaded window takes about 2.5 ~ 3 seconds. What I would like is
to get it
The package Racquel creates a neat DB-agnostic interface that you can use with
many different types (basically everything in the db package). You might have
to get creative if you want to use mongo, though there is a mongo package
around. You may be able to create a fork or a pull request to
I've long since passed the point where pulling my hair out and/or sacrificing
virgin goats was the next viable step in my quest to get the libraries working,
so I think I'll quit while I'm still coherent and vaguely "sane". It seems as
though the bundle of DLL's that m.douglas.williams linked
On Monday, September 26, 2016 at 2:54:24 PM UTC-7, m.douglas.williams wrote:
> I downloaded librsvg-2.40.1-2-w32-bin.zip from
> https://sourceforge.net/projects/ezwinports/files/. This contains the file
> librsvg-2-2.dll and all of its dependencies (18 total dlls). When run with
> the 32-bit
Using Dependency Walker, it says I'm missing a whole lot of system files. I'll
have to investigate this thoroughly.
--
You received this message because you are subscribed to the Google Groups
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
I've been trying to make asumu's rsvg package working on Windows, but Racket
keeps complaining that it cannot find librsvg-2-2.dll. I have verified that the
DLL is exporting its symbols, is the correct bit-ness, and is in the right
directories - all to no effect. I have have even recompiled it
On Saturday, September 10, 2016 at 5:45:43 AM UTC-7, Matthew Flatt wrote:
> I think that means information about the source stream's alpha channel
> really is not available through the current interface. A pull request
> to add that would be welcome.
I've been looking through bitmap%'s definition
On Friday, September 9, 2016 at 7:45:32 PM UTC-7, Matthew Flatt wrote:
> You could use 'unknown/mask, which should create a mask bitmap only if
> the source stream has an alpha channel, but at the expense of parsing
> the file an extra time.
Running `(read-bitmap img 'unknown/mask)` produces a
Is there a way to detect if an image has a transparency/alpha channel? I've
been looking around and `(send bmp has-alpha-channel?)` really only works if
`bmp` has been loaded or created specifically with an alpha channel. What I
want to know is if a given path-string has such properties, not if
This is super neat. I'd be interested in using a Racket-based shell once it
gets to be more polished.
--
You received this message because you are subscribed to the Google Groups
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to
> you will sneak off to the bathroom and write a tiny beautiful macro that no
> one will ever be allowed to see or use.
Sadness
--
You received this message because you are subscribed to the Google Groups
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it,
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
On Thursday, February 11, 2016 at 12:51:00 PM UTC-8, Leif Andersen wrote:
> Hello All,
>
> We are in the process of submitting a Google Summer of Code
> application for Racket. If you have an idea for a self contained
> project that would benefit the community, please let us know. These
> should
On Wednesday, January 27, 2016 at 11:41:06 AM UTC-8, Jordan Johnson wrote:
> Hi all,
>
>
> I'm looking at audio again because I have a student doing a game project for
> which he wants background music to play — and I'm feeling some trepidation
> based on most of the audio-tagged packages on
Hi, I'm trying to figure out the best way to display an animated gif inside a
canvas. I had attempted this before, but the only way I could figure out how to
display the animation was by picking apart the gif, frame by frame, and then
displaying the animation by a loop inside the canvas'
Short version:
show-scrollbars seems to be forcing my canvas object to call on-paint. The
problem is that on-paint contains calls to show-scrollbars and thus creates an
infinite loop.
Long version:
I have a canvas that displays an image and will enable or disable the
scrollbars based on how
I've been messing around with GUI programming and I came across
current-text-keymap-initializer which, according to the documentation, may
accept a procedure that itself takes a single parameter (a keymap%).
Now, I've tried to invoke this via
`(current-text-keymap-initializer (lambda (keymap)
On Thursday, October 22, 2015 at 1:08:57 AM UTC-7, Alexey Cherkaev wrote:
> Hi all,
>
> I am interested in creating the Racket wrapping for the Sundials numeric
> library (http://computation.llnl.gov/casc/sundials/main.html). Ivan Raikov
> did a similar job for Chicken
On Tuesday, September 15, 2015 at 7:06:40 PM UTC-7, Anthony Carrico wrote:
> Unfortunately, rackunit doesn't mix that well with typed/racket (see
> problem reports 15153, 15143). I guess this is because of the
> typed/untyped boundary.
>
> The good news is that it is fairly easy to work around
On Thursday, June 11, 2015 at 7:12:48 PM UTC-7, neil wrote:
Matthew Flatt wrote on 06/11/2015 10:00 PM:
Android via NDK is a supported platform.
Matthew, that's great. Thank you.
Anyone implemented `racket/gui` for Android with this, or otherwise
hooked up things so that the Racket
That's unfortunate. I'll wait until the next release and then try out test-case
co.
On Sunday, May 24, 2015 at 11:03:45 PM UTC-7, Alexis King wrote:
Since test-case is a macro, require/typed won't help, and unfortunately,
test-case doesn't work in Racket v6.1.1 (or earlier). It will be fixed
If we have a racket/exn module, would the other exn structs then be placed
there as well?
--
You received this message because you are subscribed to the Google Groups
Racket Users group.
To unsubscribe from this group and stop receiving emails from it, send an email
to
When using typed/rackunit, I find that using test-case doesn't seem to want to
work properly. The code
(test-case foo (check-true (string=? foo foo)))
gives me several Type Checker errors that give me information I don't know what
to do with.
Is this something I need to require/typed for?
--
71 matches
Mail list logo