Alex
Alex
@iridakos, can you update the brew-version of goto? The lastest version of goto on brew is 1.2.3 (from 14 Mar 2018).
``` ➜ ~ brew upgrade goto ==> Upgrading 1 outdated package: goto 1.2.3 -> 2.0.0 ==> Upgrading goto ==> Downloading https://github.com/iridakos/goto/archive/v2.0.0.tar.gz ==> Downloading from https://codeload.github.com/iridakos/goto/tar.gz/v2.0.0 ######################################################################## 100.0% ==> Caveats Bash...
Maybe, something like https://rcoh.me/posts/linear-time-median-finding/ or https://www.geeksforgeeks.org/kth-smallestlargest-element-unsorted-array-set-3-worst-case-linear-time/ can be used. Or maybe a fallback method if https://github.com/ndsvw/Fluent-Random-Picker/blob/1985c027a6435f1fefbba77ccf1c5dedc8b8fe69/FluentRandomPicker/Shuffle/PrioritizedLeftShuffle.cs#L73 is getting too low.
For now: Switched to [SortingBasedWeightedLeftShuffle](https://github.com/ndsvw/Fluent-Random-Picker/blob/main/FluentRandomPicker/Shuffle/SortingBasedWeightedLeftShuffle.cs) with consistent O(n*log(n)) performance until there is a better solution.
Both shuffle algorithms can't be parallelized because the swapping has to happen on the whole array/list rather than on a part of it.
Hi, It's my try to automate the process of checking for broken links in projects with lots of Markdown links (like the awesome XY projects) and removing them automatically. It's...
Staying with [SortingBasedWeightedLeftShuffle](https://github.com/ndsvw/Fluent-Random-Picker/blob/main/FluentRandomPicker/Shuffle/SortingBasedWeightedLeftShuffle.cs)... Benchmark (all generated prios are between 1 and 4, number of elements = 8.000.000): ```c# [MemoryDiagnoser] public class PickDistinctWithPrioritiesBenchmark { private static readonly System.Random _random = new();...
No problem. > I'm planning to add a script that checks if the links are reachable. BTW, there are already tools for this: You could use https://github.com/tcort/markdown-link-check Or as GitHub...
Hi @KetanParmar02, this is not my project, so I can't assign the issue to you. But I guess, you could just fix this issue (create a pull request with the...
What you want to do is **creating a pull request**. [This is a video about it](https://yewtu.be/watch?v=rgbCcBNZcdQ). 1) Fork the repository 2) Clone the fork 3) Create a new branch and...