Lars Marius Garshol

Results 294 comments of Lars Marius Garshol

The task itself is trivial to do. But if there isn't anything to add in the non-core part then we might as well wait. :-)

Thanks a lot for this bug report! Excellent work. I've worked the test into the test suite now, and made it reliably fail.

Commit 3e5e473 fixes the issue by simply creating a new `MessageDigest` each time. Performance on the test, which runs 32000 invocations of the function, still seems OK. But perhaps we...

From googling a little and looking at the `MessageDigest` source it looks like this may be good enough. Thoughts @fuchsst?

We have people asking for a release of a fix: discussion #263 @fuchsst and @tlfdz: any thoughts on the fix I merged? If not, I'll just release the fix.

Great, then let's close. This issue.

This gets pretty close: ``` def unique(values) let obj = {for ($values) . : .} [for ($obj) .value] let chapters = [for (.) .chapters] let parents = [for (unique([for ($chapters)...

Yes, we create a JSON object on the second line where the values are used as the key. This causes duplicate keys to overwrite each other, so that when we...

Stage 0: that's what the `group by` does. Simply including the `group by` in the for expression makes you loop over that structure. That's basically how `group by` works. Maybe...

If support for the for loop is implemented now. So you have a solution now. Group by is easy to implement, but I want to research alternatives a little more...