[racket-users] typed/rackunit and test-case

2015-05-24 Thread Lehi Toskin
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

[racket-users] Re: exn->string

2015-05-24 Thread Lehi Toskin
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 racket-users+unsubscr.

Re: [racket-users] typed/rackunit and test-case

2015-05-24 Thread Lehi Toskin
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 fix

Re: [racket-users] racket on android (Was: Racket modules in R6RS?)

2015-06-12 Thread Lehi Toskin
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 Rac

[racket-users] Re: typed/racket + rackunit = trouble

2015-09-17 Thread Lehi Toskin
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 the

[racket-users] Re: Sundials FFI wrapper

2015-10-30 Thread Lehi Toskin
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 (http://wiki.call-cc.org/

[racket-users] current-text-keymap-initializer problems in v6.2.1

2015-11-25 Thread Lehi Toskin
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) (v

[racket-users] Re: current-text-keymap-initializer problems in v6.2.1

2015-11-25 Thread Lehi Toskin
Oh boy. I just realized the error with init-editor-keymap is from a different part of the code where I messed up and has nothing to do with current-text-keymap-initializer. I should stop trying to debug things at 3 in the morning. -- You received this message because you are subscribed to the

[racket-users] Windows show-scrollbars forcing call to on-paint

2015-12-02 Thread Lehi Toskin
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 lar

Re: [racket-users] Windows show-scrollbars forcing call to on-paint

2015-12-03 Thread Lehi Toskin
Thank you very much! Time to get hacking. -- You received this message because you 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 http

[racket-users] Display Animated GIFs

2015-12-06 Thread Lehi Toskin
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' paint-c

[racket-users] Re: Playing sound

2016-01-27 Thread Lehi Toskin
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 pk

[racket-users] Re: Call for Google Summer of Code Project Suggestions

2016-02-11 Thread Lehi Toskin
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 b

[racket-users] Re: ispell

2016-02-25 Thread Lehi Toskin
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 as

[racket-users] Output Port Shenanigans

2018-03-13 Thread Lehi Toskin
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` instea

Re: [racket-users] Output Port Shenanigans

2018-03-14 Thread Lehi Toskin
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 a

[racket-users] Racket and OS X Finder

2018-09-05 Thread Lehi Toskin
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 an

Re: [racket-users] Racket and OS X Finder

2018-09-05 Thread Lehi Toskin
TypeIconFile" entry 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

[racket-users] raco config-path

2018-09-25 Thread Lehi Toskin
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

Re: [racket-users] raco config-path

2018-10-07 Thread Lehi Toskin
library-collection-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

[racket-users] Re: Resource recommendations for a Haskeller?

2018-10-14 Thread Lehi Toskin
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 what'

[racket-users] Re: Tensorflow bindings?

2019-02-04 Thread Lehi Toskin
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, are

[racket-users] Re: ANN: RacketCon Keynote Speakers; You won't believe #9!

2019-03-18 Thread Lehi Toskin
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. > > ht

[racket-users] Re: tilda - a threading macro full of itself

2019-05-07 Thread Lehi Toskin
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. To

[racket-users] Re: with apologies to the surfing bumper sticker.

2016-05-08 Thread Lehi Toskin
> 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, s

[racket-users] Re: Racket Shell

2016-08-20 Thread Lehi Toskin
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 racket-use

[racket-users] Image Transparency Detection

2016-09-09 Thread Lehi Toskin
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

Re: [racket-users] Image Transparency Detection

2016-09-10 Thread Lehi Toskin
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 bit

Re: [racket-users] Image Transparency Detection

2016-09-10 Thread Lehi Toskin
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

[racket-users] Windows and librsvg-2-2.dll

2016-09-26 Thread Lehi Toskin
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 w

Re: [racket-users] Windows and librsvg-2-2.dll

2016-09-26 Thread Lehi Toskin
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

Re: [racket-users] Windows and librsvg-2-2.dll

2016-09-26 Thread Lehi Toskin
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 ver

[racket-users] Re: Windows and librsvg-2-2.dll

2016-09-27 Thread Lehi Toskin
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 to

Re: [racket-users] Redefining a function or aliasing a function

2016-11-11 Thread Lehi Toskin
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 Rac

[racket-users] Reducing Program Startup Time

2016-12-02 Thread Lehi Toskin
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 do

Re: [racket-users] Reducing Program Startup Time

2016-12-04 Thread Lehi Toskin
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, Ma

Re: [racket-users] Reducing Program Startup Time

2016-12-05 Thread Lehi Toskin
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': $

Re: [racket-users] Reducing Program Startup Time

2016-12-05 Thread Lehi Toskin
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 local

[racket-users] XML Modification

2016-12-14 Thread Lehi Toskin
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 replacing

Re: [racket-users] XML Modification

2016-12-14 Thread Lehi Toskin
> 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 to

[racket-users] Re: MongoDB API change

2016-12-26 Thread Lehi Toskin
Sounds like a good idea to send a pull request to the mongodb package. -- You received this message because you 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.

[racket-users] list-box% Gtk-WARNING

2017-01-04 Thread Lehi Toskin
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] [la

[racket-users] Re: FFI Library Naming Conventions

2017-01-08 Thread Lehi Toskin
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

[racket-users] inflate/deflate

2017-01-11 Thread Lehi Toskin
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 again,

[racket-users] Re: inflate/deflate

2017-01-11 Thread Lehi Toskin
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 racket-users+unsubscr...@googlegroups

[racket-users] Re: inflate/deflate

2017-01-11 Thread Lehi Toskin
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

[racket-users] Re: inflate/deflate

2017-01-12 Thread Lehi Toskin
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 int

Re: [racket-users] Re: inflate/deflate

2017-01-12 Thread Lehi Toskin
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 uncompressed

Re: [racket-users] Re: inflate/deflate

2017-01-13 Thread Lehi Toskin
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

[racket-users] DrRacket Background Expansion Memory Usage

2017-01-17 Thread Lehi Toskin
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 it

Re: [racket-users] DrRacket Background Expansion Memory Usage

2017-01-18 Thread Lehi Toskin
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 > editing

[racket-users] Re: Custom define macro

2017-01-20 Thread Lehi Toskin
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 "

[racket-users] Re: Stickers!

2017-01-24 Thread Lehi Toskin
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

Re: [racket-users] Package layout in docs

2017-01-30 Thread Lehi Toskin
> 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, th

[racket-users] get-file-list filter

2017-02-20 Thread Lehi Toskin
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

[racket-users] Re: Standalone Executables and shared libraries

2017-02-24 Thread Lehi Toskin
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 subscr

[racket-users] Re: Cut/copy/paste buggy in DrRacket 6.8 (on my dual boot system)

2017-04-23 Thread Lehi Toskin
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 (wit

[racket-users] Racket v6.9 gui-lib Sluggishness

2017-05-20 Thread Lehi Toskin
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 th

[racket-users] DrRacket Font Selection

2017-06-24 Thread Lehi Toskin
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 f

Re: [racket-users] DrRacket Font Selection

2017-06-25 Thread Lehi Toskin
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 should

Re: [racket-users] DrRacket Font Selection

2017-06-25 Thread Lehi Toskin
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 fro

Re: [racket-users] DrRacket Font Selection

2017-06-25 Thread Lehi Toskin
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 fon

Re: [racket-users] DrRacket Font Selection

2017-06-26 Thread Lehi Toskin
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 https://groups.google.co

Re: [racket-users] DrRacket Font Selection

2017-06-29 Thread Lehi Toskin
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 *w

[racket-users] Boot To Racket

2017-07-07 Thread Lehi Toskin
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 MicroPyth

Re: [racket-users] Boot To Racket

2017-07-07 Thread Lehi Toskin
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 t

Re: [racket-users] Boot To Racket

2017-07-08 Thread Lehi Toskin
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 im

Re: [racket-users] Boot To Racket

2017-07-08 Thread Lehi Toskin
USB/RS232 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 wrote: &

[racket-users] Re: Boot To Racket

2017-07-10 Thread Lehi Toskin
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 n

[racket-users] Racket7 Conceit

2017-07-19 Thread Lehi Toskin
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,

Re: [racket-users] Racket7 Conceit

2017-07-20 Thread Lehi Toskin
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 optio

[racket-users] Printing Quickly

2017-07-24 Thread Lehi Toskin
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 i

[racket-users] Re: [ANN] MessagePack implementation for Racke

2017-07-25 Thread Lehi Toskin
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 ar

Re: [racket-users] Printing Quickly

2017-07-28 Thread Lehi Toskin
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 suppor

Re: [racket] Blog post on learning Racket

2014-04-17 Thread Lehi Toskin
On Sun, 13 Apr 2014 16:23:16 -0400, Asumu Takikawa wrote: > Hi all, > > I found this blog post by Artyom. The author, a Haskell programmer, has > documented their process of learning Racket (seemingly step-by-step > through the Guide). > > http://artyom.me/learning-racket-1 > > It might have

[racket] Introducing Blight - A Tox Client in Racket

2014-04-17 Thread Lehi Toskin
I've recently started programming a GUI client for Tox (http://tox.im), a GPLv3+ licensed, totally distributed, P2P secure instant messenger that aims to supplant Skype in all areas: text, voice, and video. Blight is in early development, so it doesn't do too much except display a few GUI frame

Re: [racket] Introducing Blight - A Tox Client in Racket

2014-04-25 Thread Lehi Toskin
On Thu, 17 Apr 2014 20:48:04 +, Lehi Toskin wrote: > I've recently started programming a GUI client for Tox (http://tox.im), > a GPLv3+ licensed, totally distributed, P2P secure instant messenger > that aims to supplant Skype in all areas: text, voice, and video. Blight

Re: [racket] Introducing Blight - A Tox Client in Racket

2014-05-26 Thread Lehi Toskin
On Thu, 17 Apr 2014 20:48:04 +, Lehi Toskin wrote: > I've recently started programming a GUI client for Tox (http://tox.im), > a GPLv3+ licensed, totally distributed, P2P secure instant messenger > that aims to supplant Skype in all areas: text, voice, and video. Blight

[racket] Windows FFI Problem

2015-01-15 Thread Lehi Toskin
I am attempting to use this C library I've written with the Racket FFI, but (ffi-lib "mylib") reports "The specified module could not be found.; errno=126". This only happens on Windows. On Linux the library gets loaded properly and I can use it fine. What could be the problem? signature.asc De

Re: [racket] Windows FFI Problem

2015-01-15 Thread Lehi Toskin
On Thu, 15 Jan 2015 18:55:41 -0700, Matthew Flatt wrote: > At Thu, 15 Jan 2015 22:10:35 + (UTC), Lehi Toskin wrote: >> I am attempting to use this C library I've written with the Racket FFI, >> but (ffi-lib "mylib") reports "The specified module could no

Re: [racket] Windows FFI Problem

2015-01-16 Thread Lehi Toskin
script is nonstandard), try >> registering the DLL. See >> http://stackoverflow.com/questions/4897685/how-do-i-register-a-dll- file-on-wind >> ows-7-64-bit >> >> Lehi Toskin writes: >> > On Thu, 15 Jan 2015 18:55:41 -0700, Matthew Flatt wrote: >> >

Re: [racket] Windows FFI Problem

2015-01-17 Thread Lehi Toskin
On Fri, 16 Jan 2015 11:40:38 -0800, Ben Goetter wrote: > On 1/16/2015 11:00 AM, Lehi Toskin wrote: >> Good news is it's giving me a new error! Yay! "%1 is not a valid Win32 >> application.; errno=193" > > This is /the/ classical 32-versus-64-bit mismatch err