Re: How to call runForever()?

2018-01-30 Thread mikra
@monster please take a look into nim's thread implementation. The nim-type "Thread" contains the systems thread handle and so on. So I think it's a good habit to keep this reference vital You need it also later on for cleanup. Hope this helps you.

Re: Can't send email via port 587 with TLS

2018-01-30 Thread woggioni
Anyway that error is related to the SSL protocol version the client and the server are trying to negotiate. See [here](http://openssl.6102.n7.nabble.com/quot-SSL3-GET-RECORD-wrong-version-number-quot-td8310.html) for example. I think it little nothing to do with Nim SSL wrapper, you could try t

Re: How to call runForever()?

2018-01-30 Thread monster
OK, I've got it! It has _nothing_ to do with runForever() or asyncdispatch. Here another example that crashes: import os proc whatever() {.thread, nimcall.} = echo("TEST") proc initProcessX(): void = echo("In initProcess()") var thread: Thread[void

How to use WMI?

2018-01-30 Thread GOLD_9
skinte please use the example of the WMI. Let's output the value of SELECT * FROM Win32_Processor (ProcessorId) Sorry for mistakes, use google translate

Re: Nimgame 2

2018-01-30 Thread adamrezich
Sorry to bump this thread but, the above link is expired now; where can I find an sdl2_gfx.dll for x64 Windows? I'm having trouble building it myself and the above link seems to be the only one on the Internet. I'm just trying to get basic SDL stuff working in x64 Nim on Windows

Re: The Morning Paper Haskell paper and Destructors (cross post from Reddit)

2018-01-30 Thread rayman22201
> I haven't studied Haskell's solution enough to be able to answer this > question. lol. That's a good reason

Re: Can't send email via port 587 with TLS

2018-01-30 Thread alexsad
@woggioni no, here other issue if set parameter useSsl = true in newSmtp then error raise in net.nim when defineSsl: #in our case true! if socket.isSSL: #in our case true! # RFC3546 for SNI specifies that IP addresses are not allowed. if not isIpAddress(ad

Re: Nim Syntax ''Skins''

2018-01-30 Thread jlindsay
@dom96 Thank you very much for your reply. Having an open and transparent pathway to 1.0 is going to be so important for the community and for fostering adoption. Thank you for all of your efforts. I just had my new Nim book arrive in the mail this week. Can't wait to read it!