Re: Nimble: Refresh failed

2017-11-08 Thread dom96
Like I said, it's probably fixed in that PR.

Re: Why splitWhitespace() from strutils lacks maxsplit parameter?

2017-11-08 Thread olwi
The optional `maxsplit` parameter was added to `strutils.splitWhitespace`. For details see: [https://github.com/nim-lang/Nim/issues/6503](https://github.com/nim-lang/Nim/issues/6503)

Re: ANSI vs ASCII in Windows Shells?

2017-11-08 Thread frogEye
I have installed oldwinapi and it exists in .nimblepkgs folder. But when I am trying to import windows its giving me an error as Error: cannot open 'windows' Any help will be highly appreciated.

Re: floating point output formating

2017-11-08 Thread Araq
> It seems Araq doesn't really like my way of thinking. I can also see how Araq > reacted to pointing out formatFloat's odd behaviour for 0 (which was quite > odd to me, too). I, for instance, didn't notice it myself as I don't really > use Nim for numerical calculations (I use Fortran). And I

Re: Nimble: Refresh failed

2017-11-08 Thread frogEye
Thanks. I figured out that yesterday and nimble got installed. But still nimble refresh wont work. Do we have any fix for it?

Re: Source filter indentation problem

2017-11-08 Thread random898989
Thanks Dom, I didn't realize you could run code right here but yes I've seen this error before too on the same script! I think I finally got it work by moving the above code to its own file and including it at the call site. Given that I take it templates need to be defined in their own files,

Re: Nim hashtable mapping strings to any type

2017-11-08 Thread random898989
Thanks everyone for the insight and the suggestions! Guess I'll design with this constraint in mind then. Just one little thing, I'm not sure how I can get "any" to work as recommended since I've tried it and it refused to work. Can someone share some code please?

Re: floating point output formating

2017-11-08 Thread Udiknedormin
@dom96 > Doc writing is boring > > Creating documentation PRs is the easiest thing in the world (but also the > most boring) It depends. I, for instance, quite like it. I care (although "deeply" may be a big word) about my users so even if I have no time, energy or I'd like to move to

Re: Nim hashtable mapping strings to any type

2017-11-08 Thread Udiknedormin
@cdome Plus it's not that handy when using with objects, as far as I know?

Re: floating point output formating

2017-11-08 Thread mratsim
>From a formatting point of view, please don't use the `code` syntax for bold, >it's painful to read. I think it's completely misplaced to criticize dom96 for not contributing to documentation, he took two years of his time to write an excellent book, make sure that his examples are useful and

Re: floating point output formating

2017-11-08 Thread jzakiya
@dom96 if you want people to voluntarily, out of their concern for the project, and goodness of their own `heart`, contribute to Nim, first you need to `check your attitude`, and learn how not to chase people away.