Craig
November 28, 2022, 10:15pm
7
I implemented a PRNG to order page results from Dataview that don’t re-order every time a page is changed. You might be able to do something similar with tasks?
BIG EDIT: I discovered an improvement to this method that overcomes most of the cons of the previous strategy. Look at the post history if you’d like to see the original.
This is a way to order rows in a DQL query in a pseudorandom order. To do this, we generate a pseudorandom value for each file and then sort by that value.
To generate a pseudorandom value for each file, we start with building a hash for the file, using fields that change often as inputs, for example the file modification …