Gợi ý 3 nhà cái chơi lô đề uy tín cho dân cá cược

2020-02-14 Thread hieu16005
Đánh lô đề online hiện nay là xu thế thế tất khi nó quá thuần tuý, thuận lợi tiết kiệm cho người chơi không ít, Thêm nữa là tỷ lệ trúng cao hơn so với lô đề truyền thống Vậy nên người chơi dần chuyển hết sang đánh lô đề online. Cộng với đấy là rất nhiều nhà cái lô đề online mọc lên như nấm sau

Re: please advise: threading/GC - how make it work?

2020-02-14 Thread whospal
Hi, Why can't I find stui in nimble package directory?

Re: Pipe operator in Nim

2020-02-14 Thread schmidh
They are all single-line.

Re: Pipe operator in Nim

2020-02-14 Thread honhon
There are already several libraries for this in Github

Pipe operator in Nim

2020-02-14 Thread schmidh
Is there any chance to get hold of the AST in a language construct where you define your own pipe operator as found e.g. in F#? (The point being that it should span multiple lines.) "Hello" |> echo Run It parses but it seems impossible to get access to the whole

Re: Protocol Buffer library for Nim

2020-02-14 Thread andrewgohlk
Hi, Can I clarify that yours can be use for protobuf 2? PMunch's protobuf-nim is great. But only work for protobuf 3.

Re: Suggestion for reading the docs?

2020-02-14 Thread lagerratrobe
(Smiles) RTFM, fair enough. The advice on what T and S are in the square brackets was useful though. That's all I'm really after, to understand how to read that stole of proc signature.

XopenDisplay

2020-02-14 Thread JPLRouge
hello translate nim gintro Display* display = XOpenDisplay(NULL); int screen = DefaultScreen(display); thank

Re: Newbie - trying to compile for macos from windows

2020-02-14 Thread Yardanico
You can for sure compile for windows/ubuntu/android, it might be harder for macOS though, although you can set up a VM for it

Re: Newbie - trying to compile for macos from windows

2020-02-14 Thread iwcoetzer
I am just trying to see if it is possible to compile for Windows, Ubuntu, Android, MacOSX from a primary UBUNTU instance.

Re: Idiomatic sequence functions

2020-02-14 Thread schmidh
Brilliant! Very kind of you. Thanks!

Re: Newbie With Several (Likely Dumb) Questions

2020-02-14 Thread doofenstein
> Are there any good libraries floating around for low-level work with binaries > akin to the Bitstrings library in Python? normally you would just use a seq[byte] for something like that.

Re: Suggestions for optimization?

2020-02-14 Thread cblake
Incidentally, in the small alphabet case (and realistically anagrams are usually related to word games over small alphabets) there is a neat trick for rapid signature computation: map the 26 letters to the first 26 primes (2, 3, 5, 7, .., 97, 101). Then make the signature of a word the product

Re: Newbie With Several (Likely Dumb) Questions

2020-02-14 Thread jyapayne
> 1\. What are some of the common "gotchas" coming to Nim from Python? Treating Nim like Python :) Nim has a similar syntax and library names, but it's not Python. The semantics are quite different and it takes time to get used to. > 2\. Are there any good libraries floating around for

Re: Newbie With Several (Likely Dumb) Questions

2020-02-14 Thread trivium
> For your first question: Some people coming from Python have not even a basic > computer science background... I get you. I have gone out of my way to understand the basics of computer science plus algorithms and design patterns. I've also tinkered with assembly, too.

Re: Newbie - trying to compile for macos from windows

2020-02-14 Thread Yardanico
well, try this: chmod +x hello ./hello Run and also show output of file hello command

Re: Idiomatic sequence functions

2020-02-14 Thread Hlaaftana
The idiomatic way to do this is to use an iterator. The [itertools](https://github.com/narimiran/itertools) library has this iterator under the name `islice`. Here is how the implementation for `take` would look anyway: var lst = @[1, 2, 3, 4, 5, 6, 7, 8, 9, 10] iterator

Re: IntelliJ / Netbeans plugin for Nim

2020-02-14 Thread moigagoo
I'm using it with Sublime Text. It more or less works, but there's one really nasty issue: it won't see my local modules. So, I'm having a ton of errors all the time.

Re: Newbie - trying to compile for macos from windows

2020-02-14 Thread mp035
Hi, If you have access to a MacOS machine, why not just compile natively from MacOS?

Re: Suggestion for reading the docs?

2020-02-14 Thread Araq
This came up before and most procs have examples how to use them, unfortunately `find` doesn't. Having to assume for every proc that we write that the reader might not understand Nim's basics isn't all that healthy as a development process though, so here is my suggestion: Read the tutorials.

Re: Can I use IOCP / async on startProcess?

2020-02-14 Thread akavel
Weee, seems with your awesome help I mostly [got it to work](https://github.com/akavel/mana/blob/b9b57011b7a598f0963d01a0d235c8a5b71c8352/q_async.nim)! (At least on Windows; I'm planning to test on other OSes soon too.) Though it seems not perfect yet: **(a)** If I use the code as presented, I

Re: IntelliJ / Netbeans plugin for Nim

2020-02-14 Thread teras
So, in practice the question is transformed to "the status of LSP in nim" ?

Re: Newbie - trying to compile for macos from windows

2020-02-14 Thread iwcoetzer
Hi, I have tried that on macOS Sierra. I simply receive something like this "Command not Found" Then I tried the bash ./hello and it said permissions denied so i tried sudo bas ./hello and it said "Cannot run Binary File" <\- something like this

Re: Newbie With Several (Likely Dumb) Questions

2020-02-14 Thread schmidh
Rust doesn't have a garbage collector but uses its borrow checker instead to make sure there are no memory leaks or dangling pointers. So Rust is supposed to be very fast. Nim plays in the same league although it's using GC to provide memory safety.