John B Nelson

Results 21 comments of John B Nelson

Sorry for the delay, @Yensan! I was unable to replicate this. Are you on windows? I think the default encoding for command line is not unicode for windows, so when...

Hi @Yensan. I read up a bit on the problem and would like to fix it. Any chance I could get you to run this script: https://gist.github.com/jbn/6b87f180cff5dae4b6554ef58ba26c6f in the directory...

```python import sys, locale exprs = """ locale.getpreferredencoding() type(fp) fp.encoding sys.stdout.isatty() sys.stdout.encoding sys.stdin.isatty() sys.stdin.encoding sys.stderr.isatty() sys.stderr.encoding sys.getdefaultencoding() sys.getfilesystemencoding() """ with open("./YOUR_NOTEBOOK_FILE.ipynb", "r") as fp: for expr in exprs.strip().split(): print(expr.rjust(30), eval(expr))...

I think that has two problems. ### 1) The error messages are noisy. ``` julia @fact 9.0 in 10.0:12.0 --> true ``` ``` Failure :: (line:507) :: fact was false...

Hrm. I made a mistake with the example. The non-inclusive `within` is not captured by a range. But, that's an edge case, even for distribution testing. And, I think it...

Reimplemented, as per discussion with @jakebolewski. It does feel cleaner than my original implementation. The failure presentation is mostly better. It shows `lower:step:upper` for `FloatRange`. But, that doesn't run afoul...

Actually, no. That's not right either. It doesn't work for `FloatRange`s. The `step` field is honored by `in`. This won't work for the most common use case of continuous distribution...

It's been a while since I wrote this. And, I don't get to play with Julia that much these days. Vaguely, I remember NLTK's wordnet not being version 3.0, ergo...

I just told Siri to remind me to try and patch this later. Sorry I never followed through.

I haven't use the Semcor stuff. Interesting. Thanks for the WIP :)