David Purdy

Results 10 comments of David Purdy

Thanks, I tested your fork, the example works for me now. Make a pull request to this repo?

I'm following docs which I can reach online: https://vladar4.github.io/nimgame2/tut101_bounce.html https://github.com/Vladar4/nimgame2/ Which is what leads me to the compiler warning. Is there a different, preferable set of links I should be...

Thanks! (I'll need to wait until Debian Unstable gets a new enough version of sdl2 dev before I can play more with this). How about avbin? http://avbin.github.io/AVbin/Home/Home.html It's used by...

Can confirm, this is is still the case in Nim 1.4.8.

Still broken in Nim 0.17.2. My test code in hello.nim: ``` import nimborg/py/high_level let py_math = pyImport("math") ``` Attempting to compile and run: ``` david@david-pc:/tmp/x/y/z$ nim c -r hello.nim Hint:...

I've been hitting this problem too (as part of following a tut for getting Haskell support working in VS Code). As a temporary workaround - in case it helps other...

Typically something like additional sanity checking, in overly-defensively-written code. eg: you have a function with a several pre-conditions, one of which is that no file/dir/symlink/whatever that exists with that name....

It's not racy if other parts of your system are already ensuring a race-free environment. eg, lock file usage that ensures that only a single instance of your service can...

A more specific example - converting existing Python code that uses os.path.exists, over to Nim. One way you'd do that currently in Nim: ```nim import os let p = "/tmp/help"...

An error getting file info isn't the same as the file not existing. For Linux, I think it's a bit more correct to do things this way: ```nim import posix...