Re: [racket-users] in-directory sorted results

2020-08-06 Thread evdubs
I created a PR <https://github.com/racket/racket/pull/3343> for a possible fix for this. I am unsure if the (directory-list) implementation in kw-file.rkt needs to be calling sort. Evan On Monday, August 3, 2020 at 3:05:55 AM UTC-10 evdubs wrote: > Sorry, I cherry-picked the do

Re: [racket-users] in-directory sorted results

2020-08-03 Thread evdubs
ll directory-list (which seems to call sort) or dir-list, which also calls sort and directory-list. Perhaps I just need to wait for your fix. Evan On Monday, August 3, 2020 at 2:28:33 AM UTC-10 Matthew Flatt wrote: > At Sun, 2 Aug 2020 18:38:18 -0700 (PDT), evdubs wrote: > > However, t

[racket-users] in-directory sorted results

2020-08-02 Thread evdubs
Hello, The docs for in-directory state: > The immediate content of each directory is reported as sorted by path (current-directory (collection-path

[racket-users] Re: Best data structure for ordered data set with insertion and reordering?

2020-07-16 Thread evdubs
Do you think you'll need to try to identify the order that the events were created in? What if user A does: $ touch file.txt $ rm file.txt And what if user A had separately done: $ rm file.txt Error: file not found $ touch file.txt Would those operations both potentially create File-Create P

Re: [racket-users] Re: Typing lag with DrRacket on Linux

2020-05-28 Thread evdubs
ns Axel > > > Den ons. 13. maj 2020 kl. 05.48 skrev evdubs >: > >> I did some more digging and found locations in racket/draw that control >> antialiasing. I tried changing them around, and saw no impact on >> performance. >> >

[racket-users] Re: Practical HTTP requests?

2020-05-17 Thread evdubs
Have you taken a look at net/url ? From there, I see: - make-http-connection , which can allow calls to

[racket-users] Re: raco pkg migrate previous versions

2020-05-15 Thread evdubs
If you're running Linux or (I assume) OS X, I think you might be able to just do the following: $ ls ~/.racket For me, that shows folders for Racket versions that include raco pkg install packages. Maybe that's sufficient? Evan On Friday, May 15, 2020 at 6:55:34 AM UTC-10, Curtis Dutton

Re: [racket-users] Re: Typing lag with DrRacket on Linux

2020-05-12 Thread evdubs
're having typing lag issues on Linux within Dr Racket or other Racket GUI applications, you may want to try PLT_DISPLAY_BACKING_SCALE=1 to see if that affects performance. Evan On Monday, May 11, 2020 at 2:05:06 PM UTC-10, evdubs wrote: > > I think what I have seen previously with setting

Re: [racket-users] Re: Typing lag with DrRacket on Linux

2020-05-11 Thread evdubs
ng to improve > performance, but shrinking the window height significantly improved > performance, even if the canvas area is adjusted to remain the same. > > In addition to some function definitions in unit.rkt describing the > transposing of lines, that leads me to my co

[racket-users] Re: Do you have Racket programs whose performance you care about?

2020-03-01 Thread evdubs
Is this perhaps something that will help improve the available profiling tools? Something like VisualVM would be amazing for Racket! On Friday, February 28, 2020 at 8:31:18 AM UTC-10, Lukas Lazarek wrote: > > PLT @ Northwestern is seeking out programs to help us

Re: [racket-users] Racket 7.3 Plot Performance Regression

2019-10-02 Thread evdubs
in understanding what may have caused the performance drop as well as how to better profile/uncover what is happening in Racket programs in general. On Friday, June 7, 2019 at 4:14:08 PM UTC-10, evdubs wrote: > > The paint times for 7.2 seem inconsistent with your previous tests... > > > Co

Re: [racket-users] Would it help to call racket2 something else?

2019-08-31 Thread evdubs
If "racket" is related to "scheme" by being an illegitimate scheme, I think "cartel" could be a good choice for "an even more illegitimate scheme". Plus, it's almost an anagram of racket. #lang cartel -- You received this message because you are subscribed to the Google Groups "Racket Users"

Re: [racket-users] Advice for porting Interactive Brokers API to Racket

2019-07-14 Thread evdubs
Thanks for the feedback. I will check to see if there's some way to query for capabilities, but I doubt it, given the client code. The client code does most of this version checking in one class, so that seems localized enough and I think it will be straight forward. Maybe if I stumble on a

[racket-users] Advice for porting Interactive Brokers API to Racket

2019-07-10 Thread evdubs
Hi, I am currently investigating the effort required to port the Interactive Brokers Client API to Racket. In general, there is not much complexity in the client; it establishes an open socket, builds byte buffers to send to the server,

Re: [racket-users] Racket 7.3 Plot Performance Regression

2019-06-07 Thread evdubs
events older than, say 50 milliseconds? > > Alex. > > On Friday, June 7, 2019 at 7:27:32 PM UTC+8, evdubs wrote: >> >> I changed the Linux line of code to: >> >> [time-stamp (current-milliseconds)] >> >> Is there a reason why you did not want to do that?

Re: [racket-users] Racket 7.3 Plot Performance Regression

2019-06-07 Thread evdubs
rsanyi wrote: >> >> >> >> On Wednesday, June 5, 2019 at 8:51:48 PM UTC+8, evdubs wrote: >>> >>> I ran the program with your modifications, but counter to the >>> documentation >>> <https://docs.racket-lang.org/gui/event_.html?q=get-time-stamp#%2

Re: [racket-users] Racket 7.3 Plot Performance Regression

2019-06-05 Thread evdubs
'auto > (send snip set-overlay-renderers overlays)) > > > Alex. > > On Wednesday, June 5, 2019 at 8:06:26 PM UTC+8, evdubs wrote: >> >> Thanks for responding, Alex. >> >> Here's what I came up with <http://pasterack.org/pastes/893> that I >

Re: [racket-users] Racket 7.3 Plot Performance Regression

2019-06-05 Thread evdubs
t; > On Tuesday, June 4, 2019 at 11:32:42 AM UTC+8, evdubs wrote: >> >> Thanks for trying it out. >> >> I just tried using the bash installer from >> https://download.racket-lang.org/ and I experience the same issue of >> lagginess in 7.3

Re: [racket-users] Racket 7.3 Plot Performance Regression

2019-06-03 Thread evdubs
I also do not see any > slowdown. Trying with a regular installer would be helpful. > > Sam > > On Fri, May 17, 2019 at 5:09 PM evdubs > > wrote: > > > > Hi All, > > > > I have noticed sluggish performance with my plot overlays in Racket 7.3

[racket-users] Racket 7.3 Plot Performance Regression

2019-05-17 Thread evdubs
Hi All, I have noticed sluggish performance with my plot overlays in Racket 7.3 that I had not noticed in versions 7.2 and prior. Here's the code I am using to test (taken from here ): (require

Re: [racket-users] Re: Typing lag with DrRacket on Linux

2018-11-01 Thread evdubs
be so, or how to better profile this code to determine what can be improved, please share. I do not think my current modifications merit a PR to the DrRacket repository. Evan On Wednesday, February 21, 2018 at 10:50:58 PM UTC-10, evdubs wrote: > > My apologies for the continue

Re: [racket-users] Re: Typing lag with DrRacket on Linux

2018-02-22 Thread evdubs
. Evan On Wednesday, February 21, 2018 at 10:42:22 AM UTC-10, evdubs wrote: > > I played around with is a bit more and noticed that setting > editor-canvas%'s style to (list 'transparent) greatly increases the > performance of the simple editor to where it performs just like any other &

Re: [racket-users] Re: Typing lag with DrRacket on Linux

2018-02-21 Thread evdubs
8 at 11:41:53 AM UTC-10, evdubs wrote: > > I created PR 95 <https://github.com/racket/gui/pull/95> to remove the > call to gdk_window_process_all_updates. I am still unsure if there are > legacy or compatibility reasons for having this call. > > Evan > > On Saturda

Re: [racket-users] Re: Typing lag with DrRacket on Linux

2018-02-11 Thread evdubs
I created PR 95 <https://github.com/racket/gui/pull/95> to remove the call to gdk_window_process_all_updates. I am still unsure if there are legacy or compatibility reasons for having this call. Evan On Saturday, February 10, 2018 at 12:39:58 PM UTC-10, evdubs wrote: > > I made t

Re: [racket-users] Re: Typing lag with DrRacket on Linux

2018-02-10 Thread evdubs
er GTK versions that need this call. Is there a way to check for that? Evan On Saturday, February 10, 2018 at 11:08:16 AM UTC-10, evdubs wrote: > > I had to add a sampler to that code so what I really had was this: > > #lang racket/gui > > (require profile) > (require profile

Re: [racket-users] Re: Typing lag with DrRacket on Linux

2018-02-10 Thread evdubs
I had to add a sampler to that code so what I really had was this: #lang racket/gui (require profile) (require profile/analyzer) (require profile/render-text) (require profile/sampler) (define s (create-sampler (current-thread) 0.0)) (s 'get-snapshots) (define ec% (class editor-canvas%