miniblog.
← Back to all posts
Sep 9, 2017 at 07:10
Interesting SO topic on writing a good hash function for ints:
https://stackoverflow.com/q/664014/509706
(tricky to handle ints divisible by a common factor)
c - What integer hash function are good that accepts an integer hash key? - Stack Overflow
Wilfred Hughes
Related Posts
Jun 27, 2023 at 15:47
Here's a tricky diff situation I haven't seen before: a minimal text diff can be ugly. It would be nicer to match line 6 on the left with line 3 on the right, so the removed region is contiguous. (git-diff handles this case nicely already.)
Wilfred Hughes
Shared words: tricky, SO, handle Score: 54.5
Sep 8, 2017 at 18:42
Interesting library for infix syntax in Common Lisp:
https://github.com/rigetticomputing/cmu-infix
(ironically I find it tricky to read,but I blame unfamiliarity)
GitHub - quil-lang/cmu-infix: Updated infix.cl of the CMU AI repository, originally written by Mark Kantrowitz
Updated infix.cl of the CMU AI repository, originally written by Mark Kantrowitz - quil-lang/cmu-infix
Wilfred Hughes
Shared words: tricky, Interesting, common Score: 50.3
Aug 4, 2016 at 02:38
Good error reporting in macro systems is tricky. An interesting Rust RFC to provide better messages:
rfcs/text/0000-add-error-macro.md at sg-add-error-macro · sgrif/rfcs
RFCs for changes to Rust. Contribute to sgrif/rfcs development by creating an account on GitHub.
Wilfred Hughes
Shared words: tricky, Interesting, good Score: 48.4