News for hackers. Stuff that matters.

gregsexton

Re:A good day to trie-hard: saving compute 1% at a time on Wednesday September 11, 2024 @10:55AM (#41511967)
The presented data for demonstrating a win doesn't have enough power to actually show this - not enough samples were taken.

A very simple analysis in R:

    > prop.test(c(9, 4), c(1103,1171))

    2-sample test for equality of proportions with continuity correction

    data:  c(9, 4) out of c(1103, 1171)
    X-squared = 1.4915, df = 1, p-value = 0.222
    alternative hypothesis: two.sided
    95 percent confidence interval:
    -0.002409831  0.011897193
    sample estimates:
        prop 1      prop 2 
    0.008159565 0.003415884
A p-value of 0.22 isn't below the magic 0.05 and the 95% confidence interval suggests that the trie might actually be slightly worse.

I imagine the trie is better, given the prior analysis, and there is weak evidence for this. But take (a lot) more samples and know with confidence how much better.

Re:How a car works (2012) on Friday July 17, 2015 @02:09PM (#9904219)
I would love to own a print copy. Do you have any plans to publish?
Re:Show HN: Emacs org mode integration with IPython on Tuesday June 09, 2015 @03:08PM (#9687932)
Yes. I use evil mode with it.
Re:The single most useful Emacs feature on Wednesday December 07, 2011 @04:51AM (#3323184)
Have you tried `:help :match`? I'm not sure if I'm missing anything but this seems to do the same thing.