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

2021-05-18 Thread kamist...@gmail.com
5. Mai 2021 um 14:51:22 UTC+2: > At Sat, 15 May 2021 05:18:22 -0700 (PDT), "kamist...@gmail.com" wrote: > > Yes it didn't find the libiconv-2.dll in the distribution "lib" > sub-folder, > > only after I added that to my path. > > Oh, right... I h

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

2021-05-18 Thread kamist...@gmail.com
> > > (So I guess the only question that comes up is: is it possible to update > > the sqlite version?) > > [vaguely remember seeing a mailing list thread about this but, currently > I > > only find other ones] > > My libsqlite3[1] package provides recent versions (currently 3.35.5) of >

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

2021-05-15 Thread kamist...@gmail.com
> > > On windows: > > 1. I had to add the lib subfolder in the dist to the path (else the exe > > would not find the dlls in there). > > The intent in a Windows distribution is that the executable and "lib" > folder stay together, as they are in the archive. Was the executable > not able to

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

2021-05-12 Thread kamist...@gmail.com
Personally I use pict and racket/draw instead of htdp/image, because save-image is png only. Pict to transform or load the image, racket/draw's bitmap% to save and/or load the image (sidenote: in general I find pict more pleasant to work with, but that may be subjective): (require pict

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

2021-05-12 Thread kamist...@gmail.com
ng from a different file (define resize (resizer "." "./resized" 1440)) (resize 708 1100 "test.png") ;; works (resize 1708 1100 "test.png")) ;; contract error ;; to execute contract-test submodule use this in drracket-repl: ;; (require (submod ".&

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

2021-05-15 Thread kamist...@gmail.com
I ran raco-cross (installed on racket cs 8.0 [does this cause trouble for racket cs < 8.2 or is it fine because host and target are both bc?]) to run exe and dist: ;; install dependencies raco cross --workspace /tmp/todays-snapshot --target i386-win32 --vm bc pkg install ;; create exe raco

[racket-users] Re: Polished 3D package for some simulations

2021-04-08 Thread kamist...@gmail.com
Have you tried out Pict3D [1]? There is also a library from Matthew Flatt that can create 3D Text / extruded pathes: [2] Personally I currently use opengl [3], these bindings support higher opengl versions than the [4] (which only support opengl 1.5 according to its documentation) I can't say

Re: [racket-users] Typed Racket: type relations

2021-04-16 Thread kamist...@gmail.com
(Not experienced with typed racket) How about something like this, is there something bad about this? (fxquotient (-> Fixnum Fixnum Fixnum)) (fixnum->byte (-> Fixnum Byte)) ;; possible runtime error (fixnum->byte (fxquotient rs n)) (I don't expect a type to always snap to the narrower one

[racket-users] Re: Is there a way to format keys/values like raise-arguments-error

2021-09-09 Thread kamist...@gmail.com
I am not really aware of a function that does this you could try digging into the implementation of raise-arguments-error, usually I roll my own implementation depending on what I really want to output. racket/format and its ~a, ~v, etc. have a lot of useful optional keyword arguments like

Re: [racket-users] Re: Is there a way to format keys/values like raise-arguments-error

2021-09-10 Thread kamist...@gmail.com
I like the apply max instead of foldl, quite a bit easier. Instead of `(format "\t~a" (~a (~a k #:width width) v #:separator "\t"))` I prefer one of these: (~a "\t" (~a k #:width width) "\t" v) (~a #:separator "\t" "" (~a k #:width width) v) -- You received this message because you are

Re: [racket-users] problem of gui layout using side-by-side frames

2021-08-12 Thread kamist...@gmail.com
I think instead of fidgeting around with OS dependent stuff to align frames side by side, I would take another approach (inspired by other applications): 1. per default the application is just a big window with multiple sections divided with panels, splits, tabs, etc. 2. some of those areas

Re: [racket-users] problem of gui layout using side-by-side frames

2021-08-12 Thread kamist...@gmail.com
> Allowing (un)docking is a good idea (if applicable), but switching > between panels and frames is unnecessarily complicated ... a frame can > be drawn floating or docked, resizeable or not, with or without borders, > system menu, captions, toolbar, menubar, etc. - so visually it can be >

Re: the end of the [racket-users] mailing list and the migration to Discourse as a forum for Racket

2021-11-23 Thread kamist...@gmail.com
I searched for "Etan Wexler" on google groups and found other older messages, but they seem more normal, human written. But I can't quite decide whether this latest message is human art, or maybe ai art / an ai or a bot conversing. What I find strange is the repetitions within the text, but