What error do you get?
The other two GLFW wrappers just use cstring and it works for them?
[https://github.com/ephja/nim-glfw/search?utf8=%E2%9C%93&q=GetVersionString&type](https://github.com/ephja/nim-glfw/search?utf8=%E2%9C%93&q=GetVersionString&type)=
[https://github.com/rafaelvasco/nimrod-gl
In the last days I wrote a first draft following the Guttman paper.
While the algorithm is very simple and well explained in the paper, there are
two points which makes the implementation not that easy: 1. We want a fully
generic RTree (dimension, data type for location, data type for contained
Hi, sorry for the trouble but I'm having difficulties wrapping a const char* I
can't use cstring since the compiler complains that it's char* and not a const
char* I have read the docs but no luck for me Thanks in advance.
Code:
{.link: "libglfw.3.2.dylib".}
const
ICO and cryptocurrency news in telegram channel
[https://t.me/blockchaininvestio](https://t.me/blockchaininvestio) . ICO
calendar & review ICO. Cryptocurrency news. Blockchain startup reviews &
reports. Lawyers&Traders analytics. Interview with founders.
I know all the three languages and attended to embedded systems course during
my studies but know virtually nothing about p2p. Is it for me, too?
@mratsim Well, it seemed to me the current idea is to push the GC aside so that
Nim will become scope-based "by default" with optional GC just where it's
needed. Thanks for the explanation though.
@Araq Thank you, I didn't know that (I don't really use Nim's parallel
capabilities). That's something new for me, especially comparing to how it
works in, say, Rust.
You will need to clone them manually:
`git clone https://github.com/flaviut/easy-bcrypt.git` and the same for the
scrypt package (only using hg)
Then rename the package (by modifying their .nimble file), then install them by
running `nimble install` in the package's dir.
In my slow navigation of the nim learning curve, I had reason to use the
javascript output function for modifying contents of a web page. In short it
was a simple exercise to learn with. However there were some things that took
me a lot longer to figure out than I expected. So I over-commented m
Yes, the client should wait for the response. The default timeout is "-1"
(infinite).
I think that error message (`"Connection was closed before full request has
been made"`) is misleading because the error happens while the client is
attempting to read the response from the server.
A lot of t
Issues with httpclient timeout
import httpclient
let callav =
"https://github.com/nim-lang/Nim/blob/devel/tests/arithm/tand.nim";
var zcli = newHttpClient()
echo zcli.getContent(callav,timeout = 1) # < fails
#echo zcli.getContent(callav)
Very interesting lihf8515! Could you post an example or link me up to your git
repo? Thanks in advance!
There is also:
> * there is also manual cleanup proc with defer
>
let vao = createVao()
defer: vao.delete
> * don't clean up at all. Resources are freed at program exit anyway.
>
There is no best way. There are only advantages and disadvantages. Choose
wisely depe
Hey Everyone, thanks for your help!
@ boia01: I've read about the HTTP 307 meanwhile and also have implemented it.
While it works good on HTTP Clients that support 307-code, some tools like curl
or other APIs need special flags or are incompatible with this temporary
redirect.
Thats why I've d
Hello,
Some Nimble packages can't be install because of some characters in there name:
$ nimble install easy-bcrypt
Downloading https://github.com/flaviut/easy-bcrypt.git using git
Tip: 2 messages have been suppressed, use --verbose to show them.
Error: easy-b
Yes we will certainly consider part-time, we'll also have a bounty program for
people who can only commit under 10 hours, which tends to be more suitable.
If there is a standard lifecycle for your resource, e.g. can be disposed after
the request or easy wrapped in a try .. defer block, then I feel manual cleanup
is usually the better approach. It's more deterministic and deliberate.
If the lifecycle is more ad-hoc, less deterministic, then finaliz
Are you accepting part-time applications?
Say I have the following:
type
Vao = object
glId: cint
What is the best way to ensure that the resource is released? I can think of 3
ideas:
* Manual cleanup proc
* Garbage collect with finalizer
* Use experimental destructors
I would prefer not to use e
19 matches
Mail list logo