Re: Please , can we stop spams?

2016-12-23 Thread Libman
I'm not saying that having a GitHub account should be a _requirement_ for joining, but it could be a part of the "business logic" for new account validation. It's very easy to implement. If you're an established Nim developer, the forum rolls out a red carpet. If you're not, your first X posts

Re: Please , can we stop spams?

2016-12-23 Thread Atlas
The admins have to set some rules about posting.

Re: Please , can we stop spams?

2016-12-23 Thread euant
I agree that requiring a GitHub account will do more harm than good. It may be worth hooking in to the StopForumSpam API which would help block bots (but not much help for humans). Realistically, human spam is very difficult to combat without impacting the user experience for legitimate users.

Nim with gcc 5.4 SIMD auto-vectorization

2016-12-23 Thread Stefan_Salewski
Yesterday I did a very short test. Generally SIMD (Single instruction, multiple data) may work best with 16 byte aligned data and restrict modifier to indicate non overlapping data. But even without there is some SIMD available in Nim indeed. First we make gcc output visible with &> output redi

Re: Sequence is unchangeable when passed to a spawned proc

2016-12-23 Thread pegra
Thank you for your posts. I think the behavior is a matter of the Nim compiler. aSeq is deepcopied into aSeqPar and aSeqPar behaves as if it is declared locally within workerTread as "let aSeqPar = aSeq". But I would prefer: "var aSeqPar = aSeq". Obviously there exists no suitable pragma too.

Re: Please , can we stop spams?

2016-12-23 Thread flyx
Having a GitHub account should not be required to participate in the community and I think it's harmful to make people with few original Nim code second-class citizens.

Re: Please , can we stop spams?

2016-12-23 Thread Libman
Another idea is GitHub integration. Make each new user authenticate with GitHub, scan his/her repos for original Nim code, assign reputation rank based on star count. 8)

Re: GTK 3.20 Nim wrapper

2016-12-23 Thread vlad1777d
No, please, do not create RSVG wrapper =) Take your time for rest and making other useful things. Thanks for pointing me to that. I'm confused in all that pointer-reference-object_itself stuff =) I'll try to check this tomorrow. SVG works, I created GdkPixbuf from it with: fill_c

Re: GTK 3.20 Nim wrapper

2016-12-23 Thread Stefan_Salewski
Generally you should check the result of functions which returns a pointer like the "newFromFile" ones. That functions generally return nil if something went wrong, in that case you can find error info in the error var. And you may look for C examples. Do you have the Krause book? And, as GTK m