Re: Alias for proc names -- any progress?

2019-07-25 Thread timothee
> Will you alias work for the result variable too? Would be great -- I had > often procs like it works, I just added a test case for that see [https://github.com/nim-lang/Nim/pull/11822/files#diff-ef6ec6154188e96632ac5bf114a7c1faR131](https://github.com/nim-lang/Nim/pull/11822/files#diff-ef6ec61

Re: Nerve: RPC framework for Nim

2019-07-25 Thread nepeckman
I'm bumping this thread with the 0.2.0 release of Nerve. I put in some time to improve the abstractions and capabilities of the framework. A quick summery: * Rename rpc macro to service * Native target clients * Constructors for clients and servers * Different client drivers * Server in

Re: nimble is not installing nimongo

2019-07-25 Thread dom96
You might have better luck removing Nim and installing it using choosenim: [https://github.com/dom96/choosenim#unix](https://github.com/dom96/choosenim#unix)

Re: Nim standard library on embedded platforms

2019-07-25 Thread dom96
In this case I think a PR to get this done is fine, it shouldn't require much changes. It'll be easier to discuss in the PR and be more efficient time-wise.

Re: Nim vs V language

2019-07-25 Thread mratsim
The topic has been drifiting away from technical merits, design, ergonomics or even marketing strategy. I think it's time to let it rest.

Re: Nim vs V language

2019-07-25 Thread Neil_H
I did use assembler on the commodore 64 a long time ago producing 6502 machine code, but for now ill stick with Nim but maybe switch to Pascal (I tried Python, Perl, Rust, Fortran, D Language) if Nim cannot do what I need. Thank you for your input :-)

Re: nimble is not installing nimongo

2019-07-25 Thread mitai
I also had problems with manjaro package. I prefer now to install from github, it works better

Re: How to Maintain a Nim Chinese Community

2019-07-25 Thread ch4o5
大佬是中国人吗?有没有在Nim开发集中营的qq群里?

Re: How to Maintain a Nim Chinese Community

2019-07-25 Thread ch4o5
很喜欢React中文社区,当时就是靠着它和每天中午吃饭的时间,花了俩礼拜入门了React。 然后我已经在尝试使用NimForum建论坛了,但是我水平太菜了。。玩不明白。。

Re: nimble is not installing nimongo

2019-07-25 Thread marihanz
I just installed it through manjaro's package manager: pamac-manager

Re: How to Maintain a Nim Chinese Community

2019-07-25 Thread ch4o5
> and my feeling is that Chinese people with a scientific background are very > good in English. Sure, the more advanced the education, the more so it is. But we don't want only the experts can use Nim ,do we? I have heard a saying from Lei Jun who is the ceo of Xiaomi co. : Let more people en

Re: How to Maintain a Nim Chinese Community

2019-07-25 Thread ch4o5
> Some will go the extra mile just because of Go/Rust and for some others they > will always rely on Chinese mirrors. Yes,it is right. I won't to talk about the GFW, but we cannot got lots of resource exactly. And i'm very wonder why the Nimble can be used so perfect . If I don't use the Debian

Re: How to Maintain a Nim Chinese Community

2019-07-25 Thread jiyinyiyong
> They're not good at store infomations. For examples: a green hand comes and > asked a question about why he cannot install the Nim v0.20.2,some men told > him warmly. And another new man comes to asked the same questions, the others > told him again. And it will may be happended again and agai

Re: How to Maintain a Nim Chinese Community

2019-07-25 Thread ch4o5
> This shouldn't depend on the core team. People in the FLOSS communities > should be more proactive - don't wait for "The Center" to give orders. I'm agreed to you very much, I also think open source community need more people to do something spontaneously. > (Sad that IRC is no longer the fir

Re: How to Maintain a Nim Chinese Community

2019-07-25 Thread jiyinyiyong
Based on experience of Chinese React community, there are several things we can do: * send Chinese blog posts on Nim to sites like SegmentFault, Zhihu, Juejin, as well as Weibo to gain attractions. * get a Chinese Nim WeChat group for communications, about news and problem solving. * setu

Re: Alias for proc names -- any progress?

2019-07-25 Thread Stefan_Salewski
Will you alias work for the result variable too? Would be great -- I had often procs like [https://github.com/StefanSalewski/cdt/blob/master/src/cdt/dt.nim#L92](https://github.com/StefanSalewski/cdt/blob/master/src/cdt/dt.nim#L92) where the symbol result is used really often. And the disadvantag

Re: How to Maintain a Nim Chinese Community

2019-07-25 Thread ch4o5
Thanks for your introduction! I will try to contact them straight away. I have been found a Tencent QQ Group talk about Nim,but I don't think instant messenger can instead of a forum and a home page. They're not good at store infomations. For examples: a green hand comes and asked a question ab

Re: How to Maintain a Nim Chinese Community

2019-07-25 Thread ch4o5
I don't know if it's necessary for someone to hiring a chinese speaker for community management and engagement . As I know , some companies in China is already beginning try to use Nim to build their Projects and systems . But Nim has not been popularized and promoted .More chinese perfer to tr

Re: How to Maintain a Nim Chinese Community

2019-07-25 Thread ch4o5
感谢,我nim并没有学的太好,但是我很喜欢它,所以就想对社区做点贡献,如果您那已经在用了可以一起交流~

Re: How to Maintain a Nim Chinese Community

2019-07-25 Thread ch4o5
Thanks for first reply ~ I will let the forum and HomePage run first. PS: Exactly, the translators are usually not useful enough .

Re: How to Maintain a Nim Chinese Community

2019-07-25 Thread zulu
> This shouldn't depend on the core team. People in the FLOSS communities > should be more proactive - don't wait for "The Center" to give orders. It > would be awesome if any "special interest group" sponsored special Nim > communities and projects, be it on the basis of spoken language, geogra

Re: FFI: help converting macro into template

2019-07-25 Thread hugogranstrom
Are comp a ModelInstance or is it a pointer to a ModelInstance? In C the "->" operator takes a pointer to a struct and the field we want and then dereferences it. The equivalent Nim code in that case is: template r(vr: untyped): untyped = comp[].r[vr] Run And if you

Re: Alias for proc names -- any progress?

2019-07-25 Thread sschwarzer
As I understand it, this is still a pull request that hasn't been merged. I think having aliases would be great, but I also see the potential conflict with already defined operators that is mentioned in the comments of the PR.