Re: [racket-users] Automated method for making racket package installs consistent?

2020-10-12 Thread schle...@gmail.com
This is just a suggestion, that does not help with your current dilemma, a strategy how you could prevent it in the future: Create or expand your personal dotfile repository, within that repository create a folder my-racket-packages, within that folder create a info.rkt: #lang info (define

[racket-users] Re: Permutations ind Racket

2020-12-16 Thread schle...@gmail.com
Stepping through the code with the drracket debugger and inspecting the values on the way may also be a good way to identify areas where your code doesn't work like you had expected. Maybe write some more testcases / example applications of your function and see which inputs already work and

Re: [racket-users] DrRacket complete word more convenient setting

2021-06-17 Thread schle...@gmail.com
> > In fact, Emacs suits me very well, but for working with images I would > like to use DrRaket. > I wonder what about images makes you want to leave emacs, when you run `racket-run` (racket mode) from a racket module file in emacs it executes (and enters) that module and then opens a split

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

2021-05-14 Thread schle...@gmail.com
This is like being a child, waking up and realizing its christmas (and easter at the same time), thank you for working on this, I will test out this shiny new toy/gift (meant in the best possible way). Because I am on linux, I will try to cross compile to windows (time to dust off my windows

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

2021-05-22 Thread schle...@gmail.com
Actually the flag version does not work for me. (I thought it did because on-paint was fast enough not to be noticed that it was sequentially processing every mouse event with a paint call) #(struct:v2 109 80) ;; mouse pos draw ;; beginning of draw cpu time: 8 real time: 8 gc time: 0 ;;

[racket-users] Re: Embedded Racket reimplementation for constrained hardware?

2021-06-06 Thread schle...@gmail.com
I think in such an environment I would like to control memory usage myself, or maybe have a #lang that allows very fine grained and low level control over resources. (outputting lowerlevel code than racket/base). If you need persistent data-structures they are nice, but often times you don't

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

2021-05-22 Thread schle...@gmail.com
that always the latest version is saved. So many different tradeoffs possible ;) Thank you, for your perspective! Simon alexha...@gmail.com schrieb am Samstag, 22. Mai 2021 um 08:03:30 UTC+2: > On Saturday, May 22, 2021 at 12:42:30 PM UTC+8 schle...@gmail.com wrote: > >> Maybe

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

2021-05-22 Thread schle...@gmail.com
to the cursor, but that would take to much programmer time for now. schle...@gmail.com schrieb am Samstag, 22. Mai 2021 um 06:42:30 UTC+2: > I tested with Racket v7.8 bc and it was also slow. > I also tested it with a year old version of my code and added similar > `time` cal

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

2021-05-21 Thread schle...@gmail.com
I have a racket gui app that uses a canvas% with overridden on-event and on-paint methods. When the user hovers over drawn elements the on-paint is called via (send this refresh) to display the element under the cursor with a selection/outline. Recently I noticed that this has gotten extremely

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

2021-05-21 Thread schle...@gmail.com
is useful for snappier user-feedback. So the next step for me is to look at the differences between the old and new code. schle...@gmail.com schrieb am Samstag, 22. Mai 2021 um 05:37:32 UTC+2: > I have a racket gui app that uses a canvas% with overridden on-event and > on-paint methods. > When t

[racket-users] Re: Racket web-server question

2021-07-08 Thread schle...@gmail.com
That is strange, I haven't had that problem. I assume you are using a sqlite db that is stored in a file? (not an in memory one because that would be reset everytime?) Are you sure you aren't doing your updates in some kind of transaction that remains unfinished for some reason for a long time?

[racket-users] Re: Trying to specify resize-border for instance of dialog

2021-06-26 Thread schle...@gmail.com
The docs say style: (listof (or/c 'no-caption 'resize-border 'no-sheet 'close-button)) = null so either (style (list 'resize-border)) or (style '(resize-border)) -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group

[racket-users] Re: Is it possible to specify a hierarchy of menu-item options in racket/gui more than 2 deep?

2021-06-26 Thread schle...@gmail.com
Here is an example in a gist: https://gist.github.com/SimonLSchlee/e496830a7872e224b7afbd4fa6ef5fd8 You can't create a hierarchy of menu-items%, because menu-items are always leaf nodes (a "terminating" node in the hierarchy). But you can have many nested menu% elements which can have

[racket-users] Why are there seemingly unnecessary if expressions shown by the Macro stepper?

2021-03-21 Thread schle...@gmail.com
The [WordCount] thread caused me to play around with the solutions to see whether I could see anything else that can be tweaked, I tried a few things but they didn't improve performance, but it was fun anyway. Then I though I could try the macro stepper and look at the expansion of

Re: [racket-users] Why are there seemingly unnecessary if expressions shown by the Macro stepper?

2021-03-21 Thread schle...@gmail.com
- > (lambda (instance-variable-reference .get-syntax-literal!1 > .set-transformer!2 displayln3 print-values4) > (call-with-module-prompt > (lambda () > (#%call-with-values > (lambda () (displayln3 #t)) > print-values4))) > (#2%void

[racket-users] Re: key combos at the command line

2021-03-12 Thread schle...@gmail.com
I don't really understand what you want to do exactly. I think mostly you have to implement it yourself, possibly by using something like https://docs.racket-lang.org/charterm/index.html or maybe https://docs.racket-lang.org/lux-charterm/index.html

[racket-users] Re: key combos at the command line

2021-03-12 Thread schle...@gmail.com
;jobs" command then lists background processes, "fg" brings back the most recent one (your terminal app). Thats the simplified description see the manpages or google for more info on that. But I have the impression that you want to do all these things within your application? schle.

Re: [racket-users] fluent: unix style pipes and lambda shorthand to make your code more readable

2021-03-12 Thread schle...@gmail.com
I am not sure about the technical details, but would it be possible to rename those identifiers with?: (require (rename-in fluent [→ ~>] [→→ ~~>])) I think if you define those arrows as syntax parameters they could be renamed, but I don't know whether that is the "right" way to do it in

Re: [racket-users] Add Link to the racket Discord to the racket website?

2021-04-20 Thread schle...@gmail.com
gt; Adam Golding writes: > > > I'm not so sure now: > https://groups.google.com/g/racket-users/c/SkJAKkQhlgw > > > > > > On Mon, 19 Apr 2021 at 03:39, Adam Golding wrote: > > > >> seconded > >> > >> On Sun, 18 Apr 2021 at 14:56, schle...@gm

[racket-users] Add Link to the racket Discord to the racket website?

2021-04-18 Thread schle...@gmail.com
The racket discord is managed quite well, I think it should be added to the racket website so that newcomers can find it easier, just a thought. Maybe below the link to slack? -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe

Re: [racket-users] Rationale for package structure

2021-10-19 Thread schle...@gmail.com
But you can also define two single collection packages that use the same `(define collection "...")` within the info.rkt. And that allows you to add modules with single collection packages. Only tested locally but seems to work. ded...@gmail.com schrieb am Donnerstag, 14. Oktober 2021 um

[racket-users] Re: raco docs only sometimes installed?

2021-10-20 Thread schle...@gmail.com
I am not sure what your intent is with 2 exactly. Is it to install the package you have checked out with git? If that's the case change the sequence to: git clone https://github.com/rebcabin/bleir-sandbox.git cd bleir-sandbox git checkout master raco pkg install raco setup bleir-sandbox raco test