It's one of the projects I never documented
[https://xmonader.github.io/nimdays/day17_nimsonicclient.html](https://xmonader.github.io/nimdays/day17_nimsonicclient.html)
there's a space for improvement including utilizing a connection pool (I've
already implemented that in python) if any takers.
Q薇936794295
留学生归国服务中心办理留学生英国毕业证文凭,留学生美国毕业证文凭,留学生加拿大毕业证文凭,留学生澳洲毕业证文凭,留学生新西兰毕业证学历,留学生新加坡毕业证学历,留学生德国毕业证学历,留学生法国毕业证学历,留学生荷兰毕业证学历,留学生意大利毕业证学历,留学生奥地利毕业证学历,留学生日本毕业证学历,留学生韩国毕业证、留学生瑞士毕业证学历等国家提供真实大使馆认证,学历认证,网上可查永久存档,实体公司注册经营,质量保证,可视频看样本工艺质量,接受面谈。
留学生提供以下服务: 一、办理毕业证成绩单(学校原版1:1高仿真制作) 二、使馆认证(留学回国人员证明,大使馆存档可查,
Q薇936794295
留学生归国服务中心办理留学生英国毕业证文凭,留学生美国毕业证文凭,留学生加拿大毕业证文凭,留学生澳洲毕业证文凭,留学生新西兰毕业证学历,留学生新加坡毕业证学历,留学生德国毕业证学历,留学生法国毕业证学历,留学生荷兰毕业证学历,留学生意大利毕业证学历,留学生奥地利毕业证学历,留学生日本毕业证学历,留学生韩国毕业证、留学生瑞士毕业证学历等国家提供真实大使馆认证,学历认证,网上可查永久存档,实体公司注册经营,质量保证,可视频看样本工艺质量,接受面谈。
留学生提供以下服务: 一、办理毕业证成绩单(学校原版1:1高仿真制作) 二、使馆认证(留学回国人员证明,大使馆存档可查,
Q薇936794295
留学生归国服务中心办理留学生英国毕业证文凭,留学生美国毕业证文凭,留学生加拿大毕业证文凭,留学生澳洲毕业证文凭,留学生新西兰毕业证学历,留学生新加坡毕业证学历,留学生德国毕业证学历,留学生法国毕业证学历,留学生荷兰毕业证学历,留学生意大利毕业证学历,留学生奥地利毕业证学历,留学生日本毕业证学历,留学生韩国毕业证、留学生瑞士毕业证学历等国家提供真实大使馆认证,学历认证,网上可查永久存档,实体公司注册经营,质量保证,可视频看样本工艺质量,接受面谈。
留学生提供以下服务: 一、办理毕业证成绩单(学校原版1:1高仿真制作) 二、使馆认证(留学回国人员证明,大使馆存档可查,
Hello everyone!
I am trying to make a bunch of http calls using the async http client. Code:
import httpClient, asyncdispatch
proc downloadAll(urls: seq[string]) {.async.} =
var client = newAsyncHttpClient()
for url in urls:
var future = client.get(url)
Currently staticRead/staticExec do not have any limitations, but security of
this procedures can be fixed with limitations, e.g. limited to project
directory, absolute paths and so on.
I dont like async/await and I'm no expert but I would have thought that correct
way was to send all the requests, collect the futures in a sea and then await
all the futures...
So I changed it a little:
proc downloadAll(urls: seq[string]) {.async.} =
var client = newAsyncHttpClient()
var futures = newSeq[Future[string]]()
for url in urls:
var future = client.getContent(url)
futures.add(future)
var results = awai
We are excited to announce a devroom on minimalistic, experimental and/or
emerging languages (with big ideas) at FOSDEM on Sunday February 2nd 2020!
FOSDEM is one of the most important free software conferences and is hosted
annually at Université libre de Bruxelles in Brussels, Belgium. FOSDEM
This room is a merger of our proposed "Emerging languages" devroom, and the
"Minimalistic languages" devroom from last year :)
Hi everyone,
I am wondering if it is possible to define a procedure on a type itself ?
Coming from the Python world, it would be called a _class method_ or a _static
method_.
I really like to use this kind of syntax to create objects, and in Nim I
imagine it could work like:
type
the problem that the client cannot be shared to other download
import httpClient, asyncdispatch
proc download(url: string): Future[string] {.async.} =
await newHttpClient().getContent(url)
}
proc downloadAll(urls: seq[string]) {.async.} =
var asyncr
Thanks!
How/Where would you handle errors that arise during `await all(asyncresult)`.
For example an http 500 from the server which becomes an exception. Would `proc
download` be responsible for handling it?
It is. Replace `Type` with `type` or `typedesc`.
Yes, it's whether you to wait with asyncCheck or go with future.failed is up to
application. But the idea is same.
It's probably a problem with shader linking, I'll try adding the `#version 330`
core directive into all shaders.
Thank you for the valuable suggestions. I will explore those solutions and let
know my success with them. However I suggest (for the friendliness of Nim in
the future) to have something more accessible to usual programmers, like
_SharedTable_ , _SharedSet_ ... (intended to be accessible from par
Your Java chess engine is using bitboards?
The bitops module, for what I have seen, does not include a _bit iterator_ ,
which would be convenient (chess programmers widely use _bitboards_ , which are
nothing else than an unsigned long with 64 logical properties linked to the 64
squares of a chessboard).
I use this:
import
I thinking about playing a bit with audio and the JUCE C++ framework for
creating GUIs and DSP apps/plugins. JUCE comes with Projucer which scaffolds a
project for Xcode or Visual Studio.
If Nim can compile to C++ is it correct to assume I could write Nim code which
then produce C++ files which
I was out there and download the Levenshtein example and saw that it had some
obsolete language features.
I dont want to dis dom's work but at this point your guide provides more value
for free than dom's book. Hopefully at least by buying dom's book we support
the developmen of Nim :<
Hi all, I'm relatively new to nim. I'm wondering if there's an equivalent to
the `_` variable name in python, something that allows us to throw away
individual values of a tuple when it's being unpacked. For example, if I had a
proc that returns three values packaged as a tuple, is there a way t
Thanks! I am so glad it exists :)
I think he was surprised that you used Java for a compute intensive application
that needs low-level bit-twiddling
You can use _ like in Python
Yes both versions (java and nim) of E1 widely use bitboards. Like most chess
engine...
#16 is live at: [https://youtu.be/5sYkUYx5LvA](https://youtu.be/5sYkUYx5LvA)
Tables.
Nim on AVR? :P
Don't update concurrently the same data structure that will create a huge
contention bottleneck due to the heavy synchronization and our program might
become slower than single-threaded due to cache thrashing.
Assuming your algorithm is tree-like (I'm familiar with go bot but not chess
bot) ide
I use this method:
[https://lemire.me/blog/2018/02/21/iterating-over-set-bits-quickly](https://lemire.me/blog/2018/02/21/iterating-over-set-bits-quickly)/
here:
[https://github.com/brentp/slivar/blob/master/src/slivarpkg/fastsets.nim#L20-L24](https://github.com/brentp/slivar/blob/master/src/sliv
To improve the overall understanding of the construction of Aquarium project
[https://www.jmacrylic.com/product/acrylic-fish-tank-aquarium-aquarium-project/](https://www.jmacrylic.com/product/acrylic-fish-tank-aquarium-aquarium-project/),
reasonable design shall be carried out according to the re
32 matches
Mail list logo