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
https://pkgd.racket-lang.org/pkgn/search?tags=t
;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.
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
racket
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
[crowdsource
-
> (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-values
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 fro
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, s
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 v
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 s
bounce 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.
&
close 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` ca
rt is very important 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:
&
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 ;; duratio
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 ne
>
> 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 w
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 an
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 menu-item%
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?
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 21:45:15
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
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 colle
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 whi
22 matches
Mail list logo