Re: The Linux Game Jam 2017 - itch.io

2017-03-20 Thread hcorion
Cool! Do you think you could try a Web Assembly build of it?

Re: The Linux Game Jam 2017 - itch.io

2017-03-20 Thread Vladar
@Fungi, thanks! I hope it'll help to spread out the word about Nim too.

Re: The Linux Game Jam 2017 - itch.io

2017-03-20 Thread Fungi
@Vladar, I played it, it was fun. Thank you.

Re: The Linux Game Jam 2017 - itch.io

2017-03-20 Thread Vladar
Sure thing! [https://vladar.itch.io/glorious-glacier-grotto](https://vladar.itch.io/glorious-glacier-grotto) [https://github.com/Vladar4/ng2gggrotto](https://github.com/Vladar4/ng2gggrotto)

Re: Image variable, how?

2017-03-20 Thread Krux02
You should know, that when you want to be able to see a variable as an image in the editor, it is more an editor feature, than a language feature. You would have to implement that in the editor of your choice on your own. But even then it is not trivial, because you would also have some support

Re: Image variable, how?

2017-03-20 Thread sky_khan
This will not show an image but you can embed binary data at compile time with something like this import os, macros, base64 macro embed_binary_file(var_name:untyped,filename:string) : typed = let bin64 = base64.encode(slurp(filename.strVal)) result = newStmtList

Re: Image variable, how?

2017-03-20 Thread Krux02
I think this could be done as an emacs plugin. Emacs already has a mode that allows you to see paths to images as the image themself in the editor. [iimage.el](https://github.com/typester/emacs/blob/master/lisp/iimage.el) is the [*mode* (emacs term)](https://www.gnu.org/software/emacs/manual/ht

Re: Mascot

2017-03-20 Thread Araq
I'd rather have a new website today than a new website with a nice mascot tomorrow. So please help dom96 in finishing the website.

Re: Mascot

2017-03-20 Thread andrea
I think that every rationalization about why to pick a mascot will not be understood. It has to be something that just looks nice. Unfortunately, I don't like very much any of the previous proposals. If a mascot is needed (is it?), make sure it is drawn by a professional designer

Re: Mascot

2017-03-20 Thread moigagoo
I don't like the octopus, sorry. Not only is GitHub the immediate association with octopus, but I don't like the actual image. Sorry. Also, I think @dom96 and @Araq should just pick the mascot without an open discussion. It's the kind of decision that doesn't require opinions from the public, m

Re: concat(seqs: varargs[seq[T]]) doesn't compile when T is seq[int]

2017-03-20 Thread slangmgh
Test more, find this code works: echo concat([@[@[1,2]], @[@[3,4]]]) Turn the arguments into array, then the varargs parameter works.

concat(seqs: varargs[seq[T]]) doesn't compile when T is seq[int]

2017-03-20 Thread slangmgh
This code is ok: echo concat(@[1,2], @[3,4]) But this code doesn't compile: echo concat(@[@[1,2]], @[@[3,4]])