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

2020-07-16 Thread George Neuner
Hi David, On 7/16/2020 11:44 AM, David Storrs wrote: On Thu, Jul 16, 2020 at 10:09 AM George Neuner > wrote: The problem seems under-specified.  Can you say more about the real purpose? Basic version:  It's a peer-to-peer encrypted swarmed file sharing

[racket-users] combo-field% glitch in Linux

2020-07-16 Thread James Platt
I'm seeing a glitch with all Racket combo fields when run in Linux Mint 19.3. When you click on the popup menu, it just flashes open for an instant and then disappears, the first item becomes selected without actually clicking on it with the mouse, and the callback is triggered. If you hold t

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

2020-07-16 Thread David Storrs
On Thu, Jul 16, 2020 at 10:09 AM George Neuner wrote: > > On 7/16/2020 4:29 AM, David Storrs wrote: > > The problem seems under-specified. Can you say more about the real > purpose? > Basic version: It's a peer-to-peer encrypted swarmed file sharing system that presents like Dropbox on the fro

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

2020-07-16 Thread George Neuner
On 7/16/2020 4:29 AM, David Storrs wrote: tl;dr Can anyone recommend a data structure that is ordered and supports efficient reordering, insertion at arbitrary location, and deletion? Long form: I'm working on an operation-log reconciliation problem, where each operation is one of:   Fil

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

2020-07-16 Thread David Storrs
On Thu, Jul 16, 2020, 5:23 AM evdubs wrote: > 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

[racket-users] adding Racket to the languages for the icfp2020 competition

2020-07-16 Thread Stephen De Gabrielle
I’ve just cargo-cult’ed a couple of PR’s to add racket to the languages for the icfp2020 competition - I have no idea if they are right so if anyone knows anything about docker I’d appreciate it if they took a look at my PR’s! https://github.com/icfpcontest2020/dockerfiles/issues/63 all details ar

[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

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

2020-07-16 Thread David Storrs
tl;dr Can anyone recommend a data structure that is ordered and supports efficient reordering, insertion at arbitrary location, and deletion? Long form: I'm working on an operation-log reconciliation problem, where each operation is one of: File-CreateP H File-Update P H File-Delete