Đá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
Hi, Why can't I find stui in nimble package directory?
They are all single-line.
There are already several libraries for this in Github
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
Hi, Can I clarify that yours can be use for protobuf 2? PMunch's protobuf-nim
is great. But only work for protobuf 3.
(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.
hello
translate nim gintro
Display* display = XOpenDisplay(NULL); int screen = DefaultScreen(display);
thank
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
I am just trying to see if it is possible to compile for Windows, Ubuntu,
Android, MacOSX from a primary UBUNTU instance.
Brilliant! Very kind of you. Thanks!
> 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.
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
> 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
> 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.
well, try this:
chmod +x hello
./hello
Run
and also show output of file hello command
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
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.
Hi, If you have access to a MacOS machine, why not just compile natively from
MacOS?
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.
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
So, in practice the question is transformed to "the status of LSP in nim" ?
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
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.
24 matches
Mail list logo