News for hackers. Stuff that matters.
Re:Declarative Dragging by amelius on Sunday November 08, 2026 @04:26PM (#50417473)
Does this also work when the search space becomes large?

I fear this might lead to an exponential blowup.

(The examples shown are all tiny)

Re:Declarative Dragging by jnpnj on Sunday November 08, 2026 @06:38PM (#50418927)
I didn't read the paper yet, but do you they do space partitioning based on events direction ?
Re:Declarative Dragging by pratikdeoghare on Monday November 09, 2026 @01:41AM (#50421911)
I suspect this might almost never be a problem. Because say there are n things on the canvas and they have occupied n slots, you lift one of them and want to drop it somewhere, there are only n spots to drop it to. This gives only n next states, even though there are n! permuatations. You have to drag and drop again to reach some other state.
Re:Declarative Dragging by pratikdeoghare on Monday November 09, 2026 @01:48AM (#50421951)
One artificial example that can generate exponential number of states is this.

You have a list of sets and their subsets below them shown on screen. Now you take one element from one of the sets and add it to another set want things updated, this will trigger exponential computation. Since we (human) can't really visually look at all the exponential subsets anyway it will be not a very useful visulalization.

So exponential state space will be a problem only in the cases we don't care about it. Even then we could choose only few of the states by some criteria.

Re:Declarative Dragging by Groxx on Monday November 09, 2026 @09:49AM (#50426416)
[delayed]