Re: How about we start trying to make nim a well funded/backed project?

2016-07-23 Thread Libman
Free money is nice. I'm sure no one here will turn it down. :P It seems that everyone has some Big Ideas for Araq, which isn't always helpful because these ideas pile more and more effort in his already overloaded plate. (I have a zillion ideas too, and not enough time to follow through on any o

Re: nim plus webdriver?

2016-07-23 Thread OderWat
Here how to close the session (I struggled at first on how to do it) # add something this after the code of my last post sleep(5_000) response = request(endpoint / "session" / sessionId, httpDELETE, headers) echo $response.status # and so on...

Re: agar wrapper

2016-07-23 Thread OderWat
Keep an eye on: [https://github.com/andlabs/libui](https://github.com/andlabs/libui)

Re: nim plus webdriver?

2016-07-23 Thread moigagoo
Thanks a lot!

Re: nim plus webdriver?

2016-07-23 Thread OderWat
Well you find quite a lot of documentation about it: [https://sites.google.com/a/chromium.org/chromedriver/getting-started](https://sites.google.com/a/chromium.org/chromedriver/getting-started) Basically you download the Google Chrome webdriver: [https://sites.google.com/a/chromium.org/chromedri

Re: nim plus webdriver?

2016-07-23 Thread moigagoo
Hi! Yeah, I've seen this spec, and I plan to use http client with json module just like you suggest. However, I can't find where I should send the requests to, like what port each browser uses.

Re: agar wrapper

2016-07-23 Thread cjxgm
FLTK does have [some sort of automatic layout](http://forum.nim-lang.org///fltk.org/articles.php?L415+I20+T+P1+Qresize) feature, although it's based on pixel positions/sizes.

Re: nim plus webdriver?

2016-07-23 Thread cjxgm
> a RESTful / JSON Protocol Then [httpclient](http://forum.nim-lang.org///nim-lang.org/docs/httpclient.html) \+ [json](http://forum.nim-lang.org///nim-lang.org/docs/json.html) will do. And the protocol is here: [Webdriver Spec](https://w3c.github.io/webdriver/webdriver-spec.html) (Just scroll

Re: nim plus webdriver?

2016-07-23 Thread moigagoo
@OderWat Could you please tell a bit more about how you managed to make it work? I'm struggling to find any tutorials or at least detailed docs that I could use to implement a WebDriver client in Nim. You seem to have a good understanding, so, if it's not too much to ask for, I'm asking for some

How about we start trying to make nim a well funded/backed project?

2016-07-23 Thread v3ss0n
These day , i saw a few opensource projects getting funding not just from grants , but also from VC and angels. [Ipython , anaconda , swift based webframework- perfect , RethinkDB , Docker] to name a few. Current bounty source campaign going well but 1400$ won't be enough make it a serious proje

Re: Windows Subclassing

2016-07-23 Thread Sixte
WNDPROC(value) is a C++ replacement: "functional style" for the c-cast (WNDPROC)value. Convenient, but you don't know that it is basically a cast. Nim uses casts explicitly. Not so convenient, but an explicit cast remembers you always that you have to know what you are doing. By the way, what i

Re: Windows Subclassing

2016-07-23 Thread LeuGim
Like that: `someType(someValue)` (or, what's the same, `someValue.someType`) means "convert this value to this type", and compiler should consider these types (that of the value, and to which you convert) as compatible to allow this operation, and it can use an additional transformation for thi

agar wrapper

2016-07-23 Thread geezer9
Is there a nim wrapper for the agar gui library? (see libagar.org) Does anyone know how big the libagar.so or libagar.dll are? I am still trying to find a lightweight cross platform gui library which has automatic layout features (think Java LayoutManager). FLTK is great - but programmer needs

new winapi

2016-07-23 Thread geezer9
I have been using the oldwinapi library? Is there a NEW winapi library? Or will there BE a new winapi library? If not, why is it called OLDwinapi ???

Re: Windows Subclassing

2016-07-23 Thread geezer9
That FIXED it. Many Thanks. Although I need to understand better why cast[WNDPROC]value works but value.WNDPROC i.e. **WNDPROC(value)** does not ?