Re: GTK 3.20 Nim wrapper

2016-12-22 Thread Stefan_Salewski
> @Stefan_Salewski, seems that RsvgHandle has not svg data it's nil instead Of course making such a gtk related wrapper is not fully trivial. I think I once said that RSVG is not a very big library, so it should not be too much work to make the wrapper. Unfortunately I have never used RSVG

Getting a segfault when testing my C wrapper on OS X

2016-12-22 Thread def_pri_pub
I'm working on my stb_image wrapper right now. It's almost ready for release. But to be a good little developer I want to test it on the three major platforms (Linux, OS X, and Windows) before saying it's v1.0. I developed it on Linux and it passes all of the unit tests. But when I tried to

Re: GTK 3.20 Nim wrapper

2016-12-22 Thread vlad1777d
@dom96, ok, I'll look there from time to time. @Stefan_Salewski, seems that RsvgHandle has not svg data it's nil instead... I have troubles with RSVG: [https://pp.vk.me/c638428/v638428447/163f4/kS8kbEjzctU.jpg](https://pp.vk.me/c638428/v638428447/163f4/kS8kbEjzctU.jpg) If I'll comment line 59

Re: Building a Android App in NIM ?

2016-12-22 Thread Mennohexo
Hello Libman , thank you for your suggestion. i Really appreciate. Realized that there IS a way in NIM to do that. For me i can make an approach when i am at the stage of programming knowledge. But .. good to know before running the road. WBR Hexo

Re: How to embed a header file into a .nim file

2016-12-22 Thread Araq
Sorry for this late response but usually your `nim` file doesn't have to depend on a C header file at all. `importc` the identifiers and either use `.dynlib` or some `{.link: "lib.a".}` command to link against the library.

Re: GTK 3.20 Nim wrapper

2016-12-22 Thread dom96
It looks like Manning is doing some sort of discounts throughout December. So keep checking this page: [http://freecontent.manning.com](http://forum.nim-lang.org///freecontent.manning.com)/

Re: Please , can we stop spams?

2016-12-22 Thread dom96
There are two solutions: * Ever new user's first post needs to be approved by a moderator. * We introduce a flagging mechanism, so that forum users can flag spam and once enough people flag it the post becomes invisible. Of course, we can do both too. I think this is how HN works and it's

Re: Please , can we stop spams?

2016-12-22 Thread Krux02
I would prefer what Araq suggested. Spammers are almost always new accounts, and that information should be used to not make the life of people harder who contribute. I don't know what is currently done, but I would suggest when someones first post is Spam, the accounts should be banned. I

Re: Please , can we stop spams?

2016-12-22 Thread dom96
Making the life of legitimate users difficult is not a good way to fight spam.

technology change application

2016-12-22 Thread xiao1236
Evaluation committee expert listened to the report of unit of program work out seriously, check and approve relevant data, the expert thinks consistently: " program " the work out fulfils national innovation drive to develop the strategy to carrying out, lead and promote industry of lumber of

Re: Please , can we stop spams?

2016-12-22 Thread Araq
Last time investigations showed that spammers might be real human beings. The better solution is manual approval of new members, I think.

Re: Please , can we stop spams?

2016-12-22 Thread Arrrrrrrrr
That's actually a good idea, and everyone could give it a shot [https://github.com/nim-lang/nimforum/pulls](https://github.com/nim-lang/nimforum/pulls)

Learn about wood plastics

2016-12-22 Thread Qizhenbi
Wood-plastic composite material (WPC) is a new kind of composite material which is booming at home and abroad in recent years. It refers to the use of polyethylene, polypropylene and polyvinyl chloride instead of ordinary resin adhesives, and wood powder, rice husk, straw and other waste Plant

nature floor exemple

2016-12-22 Thread xiao1236
It is with nature floor exemple. In July 2015, nature floor hand in hand famous and indoor stylist, architect wears China elder brother, the nature floor that rolled out

Re: Sequence is unchangeable when passed to a spawned proc

2016-12-22 Thread Krux02
Ok, I have not yet worked with threads so far. I did not have anything yet that needed them. It could be that for spawn the sequence is copied for the parameter, and I just don't know it. But however spawn works, my explanation, why you can't modify the argument still holds. When I really want