Incredible Nim vs lame rust censorship

2016-12-29 Thread NastyRigger
Thank you guys, Nim is a wonderful idea and it actually works so well! Meanwhile, my post to this reddit [thread](https://www.reddit.com/r/rust/comments/5kwg1e/rust_is_mostly_safety/) has just been shadowbanned (still visible to just me) so I'm posting it here for posterity: I rec

Re: Parallel loop iterator

2016-12-29 Thread nvill
Stumpled upon this. Since this uses #omp parallel for you need to pass -fopenmp to the C compiler. The docs are not very clear about this. Is the parallel for (system.`||`) really supported or should it be deprecated in it's current form?

Re: Type inference side effects

2016-12-29 Thread LeuGim
No, more implicit code of coarse is more compact (less letters to type and read), and this is exactly the reason for type inference to exist.

Re: Getting a segfault when testing my C wrapper on OS X

2016-12-29 Thread def_pri_pub
I put the source of the header in it's own .nim file so my users wouldn't have to add a \--cincludes: option at the compilation step. I do find it odd that import had different behavior on Linux vs. OS X in regards to this, and it effected a return value.

Nim Wrapper for ArrayFire

2016-12-29 Thread bitstorm
Hello, I have just published a Nim wrapper for ArrayFire on github: [https://github.com/bitstormGER/ArrayFire-Nim](https://github.com/bitstormGER/ArrayFire-Nim) This is my first Nim project but the wrapper seems quite usable to me. I hope this helps (ones it is working properly) to make Nim eve

Nim Gitter chatroom not available 404

2016-12-29 Thread Atlas
Why is Nim chatroom on Gitter not available? 'Screenshot <[https://s29.postimg.org/psime2pqf/New_Bitmap_Image.jpg>'](https://s29.postimg.org/psime2pqf/New_Bitmap_Image.jpg>')_

Re: Type inference side effects

2016-12-29 Thread Atlas
So, do you mean that explicit typing has less error and more compact?

Re: Getting a segfault when testing my C wrapper on OS X

2016-12-29 Thread xomachine
I don't think that it is a bug. The **import** keyword is designed to be used with Nim symbols, not with directly emitted C code. It might be just a side effect that your code with **import** worked. Probably, it will be a better solution to use the _header_ pragma instead of including whole he

Re: lib\wrappers\\pdcurses.nim(43, 10) error : cannot open windows

2016-12-29 Thread Stefan_Salewski
> i download oldwinapi.zip, add windows.nim to lib/wrappers, Why did you not try something like nimble install oldwinapi There may be a reason why Dominik wrote the nimble package manager. (I can not test that command, no Windows here.) And of course you may be interested in buyin

forskning med Ipsos MediaCT

2016-12-29 Thread melting
M?nniskor ladda ner program varje dag, men sanningen ?r att m?nga av dem ?r ?vergivna eller aldrig ens anv?nds. Ny Google och Ipsos forskning avsl?jar hur m?nniskor att uppt?cka och samarbeta med appar-och vilka m?rken kan g?ra om det. Chansen finns att du har redan v?nt sig till en mobil app f?

Het is beter om te draaien op een schoen die minder

2016-12-29 Thread melting
Dus, hoe werkt een marathonloper te houden een schoen in haar prime leidt naar een marathon? Hier volgen [url=[http://www.teapartytime.it/nike-roshe-run-c-74/nike-roshe-run-donne-c-74_75/]Nike](http://forum.nim-lang.org///www.teapartytime.it/nike-roshe-run-c-74/nike-roshe-run-donne-c-74_75/\]Nike

Re: Getting a segfault when testing my C wrapper on OS X

2016-12-29 Thread def_pri_pub
Well, I got the unit tests run without any segfaults (on OS X). On a whim, I decided to change the import stb_image_header line (in stb_image.nim) to use the include statement instead; it worked. Is this a bug I should report?

Re: lib\wrappers\\pdcurses.nim(43, 10) error : cannot open windows

2016-12-29 Thread henry75
i download oldwinapi.zip, add windows.nim to lib/wrappers, e:\work\nim> nim c curses01.nim Hint: used config file 'd:\nim0150\config\nim.cfg'[Conf] Hint: system [Processing] Hint: curses01 [Processing] Hint: pdcurses [Processing] Hint: windows [Processing] lib