00:01:23 | * | def-pri-pub|afk is now known as def-pri-pub |
00:03:11 | def-pri-pub | Okay, csources build for me. thans. |
00:03:14 | def-pri-pub | thanks* |
00:06:57 | ftsf | o/ |
00:31:51 | federico3 | wut? was there a new release? |
00:33:42 | def-pri-pub | yeah |
00:33:49 | def-pri-pub | v0.16.0 |
00:35:40 | * | Parashurama quit (Quit: Leaving.) |
00:37:22 | ftsf | oh yeah, need to try that out |
00:38:38 | * | gangstacat quit (Quit: Ĝis) |
00:46:25 | ftsf | hmm koch install fails with a Stack overflow =\ |
00:53:46 | * | ftsf quit (Ping timeout: 255 seconds) |
00:56:25 | def-pri-pub | did you pull? (including the csourcs repo) |
00:57:38 | * | gangstacat joined #nim |
01:02:31 | Araq | 'koch install' is not a thing anymore |
01:05:04 | * | arnetheduck joined #nim |
01:05:41 | * | ftsf joined #nim |
01:11:25 | federico3 | what replaces koch install? |
01:12:28 | * | zevlg quit (*.net *.split) |
01:12:28 | * | askatasuna quit (*.net *.split) |
01:12:28 | * | gmpreussner quit (*.net *.split) |
01:12:28 | * | daekano quit (*.net *.split) |
01:12:28 | * | euantor quit (*.net *.split) |
01:12:28 | * | EastByte quit (*.net *.split) |
01:12:28 | * | Sergio965 quit (*.net *.split) |
01:12:28 | * | SianaGearz quit (*.net *.split) |
01:12:28 | * | Yaiyan quit (*.net *.split) |
01:12:37 | * | SianaGearz joined #nim |
01:12:37 | * | SianaGearz quit (Changing host) |
01:12:37 | * | SianaGearz joined #nim |
01:12:38 | * | zevlg joined #nim |
01:12:44 | * | Sergio965 joined #nim |
01:12:45 | * | EastByte joined #nim |
01:12:46 | * | yaiyan joined #nim |
01:12:55 | * | gmpreussner joined #nim |
01:12:57 | * | daekano_ joined #nim |
01:14:06 | * | askatasuna joined #nim |
01:16:09 | * | euantor joined #nim |
01:18:57 | * | flyx quit (Ping timeout: 245 seconds) |
01:20:49 | * | flyx joined #nim |
01:23:30 | * | corecode quit (*.net *.split) |
01:23:30 | * | Calinou quit (*.net *.split) |
01:23:30 | * | tstm quit (*.net *.split) |
01:23:30 | * | FromGitter quit (*.net *.split) |
01:23:30 | * | kier quit (*.net *.split) |
01:23:30 | * | bknox quit (*.net *.split) |
01:23:30 | * | OnO quit (*.net *.split) |
01:23:30 | * | Syneh_ quit (*.net *.split) |
01:23:30 | * | Xe quit (*.net *.split) |
01:23:40 | * | Calinou joined #nim |
01:23:44 | * | OnO joined #nim |
01:23:46 | * | bknox joined #nim |
01:24:06 | * | tstm joined #nim |
01:24:11 | * | FromGitter joined #nim |
01:25:38 | * | corecode joined #nim |
01:28:48 | * | kier joined #nim |
01:29:02 | * | Syneh_ joined #nim |
01:30:59 | * | Xe joined #nim |
01:38:52 | ftsf | sorry, disconnected |
01:41:49 | ftsf | federico3, koch install is replaced? |
01:44:22 | * | tstm quit (Ping timeout: 245 seconds) |
01:47:21 | * | tstm joined #nim |
01:50:28 | * | ftsf quit (Ping timeout: 255 seconds) |
01:51:21 | * | PMunch quit (Quit: leaving) |
01:53:52 | * | arnetheduck quit (Ping timeout: 240 seconds) |
02:02:37 | * | ftsf joined #nim |
02:03:43 | * | devted quit (Quit: Sleeping.) |
02:33:02 | * | yglukhov joined #nim |
02:37:26 | * | yglukhov quit (Ping timeout: 258 seconds) |
02:39:26 | * | chemist69 quit (Disconnected by services) |
02:39:31 | * | chemist69_ joined #nim |
02:42:01 | * | yglukhov joined #nim |
02:42:51 | * | NhanH quit (Read error: Connection reset by peer) |
02:44:20 | * | OnO quit (Ping timeout: 258 seconds) |
02:44:43 | * | Guest73656[m] quit (Ping timeout: 258 seconds) |
02:44:43 | * | hohlerde quit (Ping timeout: 258 seconds) |
02:45:53 | * | OnO joined #nim |
02:46:42 | * | yglukhov quit (Ping timeout: 255 seconds) |
02:47:45 | * | hohlerde joined #nim |
02:48:16 | * | Guest73656[m] joined #nim |
02:49:11 | * | arnetheduck joined #nim |
02:50:57 | * | NhanH joined #nim |
03:03:57 | * | M-Quora quit (Ping timeout: 245 seconds) |
03:04:08 | * | M-Quora joined #nim |
03:38:53 | subsetpark | The (definitely somewhat out of date) homebrew install script for nim makes sure to install `dist/nimble/src/nimblepkg` along with the compiled `nimble` binary. |
03:39:00 | subsetpark | Does anyone know why that might be, and if it's still necessary? |
03:44:22 | * | arnetheduck quit (Ping timeout: 245 seconds) |
03:51:53 | * | gangstaguy joined #nim |
04:05:56 | FromGitter | <martinium> how can I convert an int to String? |
04:06:29 | FromGitter | <martinium> basically I have an incrementing variable called count that increases by 1 for each iteration in a loop |
04:06:45 | FromGitter | <martinium> need to put it in a echo but have to convert it to string first |
04:07:34 | ftsf | martinium $myint |
04:07:50 | ftsf | echo "myint is: " & $myint |
04:09:14 | FromGitter | <martinium> that solved it |
04:09:28 | FromGitter | <martinium> thanks |
04:09:29 | ftsf | $ is the operator to stringify something |
04:09:37 | FromGitter | <martinium> that stringify operator is really useful |
04:17:35 | * | dyce_ is now known as dyce |
04:26:18 | FromGitter | <moigagoo> Congrats on the new release! The `distros` module docs don't exist http://nim-lang.org/docs/distros.html |
04:26:36 | FromGitter | <moigagoo> But are referred to in the release notes. |
04:29:10 | FromGitter | <martinium> to install latest Nim you have to git pull in directory then recompile with initial steps I assume? |
04:43:47 | * | yglukhov joined #nim |
04:48:07 | * | yglukhov quit (Ping timeout: 256 seconds) |
05:02:08 | * | dyce quit (Changing host) |
05:02:08 | * | dyce joined #nim |
05:02:26 | FromGitter | <martinium> I created a command line app and would like to create a web interface for it |
05:02:44 | FromGitter | <martinium> any suggestions on an easy way to go about this? |
05:02:47 | FromGitter | <martinium> wonder if jester framework would fit the bill |
05:07:47 | def-pri-pub | I'm headed to bed, night people |
05:11:37 | * | def-pri-pub quit (Quit: leaving) |
05:27:30 | ftsf | hmm is there a way to make nim echo during heap allocation/free ? |
05:53:44 | * | Kingsquee joined #nim |
06:12:29 | * | bjz joined #nim |
06:23:27 | Araq | subsetpark: it used to be necessary, now it's not |
06:24:05 | subsetpark | Cool, so I can yank those lines I suppose |
06:29:33 | * | bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
06:33:38 | * | bjz joined #nim |
06:39:38 | * | nsf joined #nim |
06:45:37 | * | yglukhov joined #nim |
06:46:53 | * | krux02 quit (Quit: Leaving) |
06:50:06 | * | yglukhov quit (Ping timeout: 240 seconds) |
06:54:32 | * | s4 joined #nim |
07:03:46 | * | Vladar joined #nim |
07:09:00 | * | lyro joined #nim |
07:13:39 | * | bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
07:15:04 | * | lyro is now known as fifr |
07:17:07 | * | fifr is now known as fifr` |
07:17:10 | * | bjz joined #nim |
07:17:17 | * | fifr` is now known as fifr_ |
07:17:55 | * | fifr_ is now known as fifr |
07:18:00 | * | fifr quit (Quit: WeeChat 1.1.1) |
07:18:24 | * | lyro joined #nim |
07:19:26 | * | ftsf quit (Quit: :q!) |
07:20:26 | * | lyro quit (Client Quit) |
07:20:44 | * | lyro joined #nim |
07:25:38 | * | yglukhov joined #nim |
07:27:09 | * | lyro quit (Quit: WeeChat 1.1.1) |
07:27:37 | * | lyro joined #nim |
07:28:08 | * | lyro quit (Client Quit) |
07:28:22 | * | lyro joined #nim |
07:30:00 | * | lyro quit (Client Quit) |
07:30:22 | * | fifr joined #nim |
07:38:34 | FromGitter | <Varriount> @martinium Jester would probably be a good idea. I know there are other web frameworks out there for Nim too. |
07:39:02 | FromGitter | <martinium> was doing some reading and it looks like my best bet would be via cgi |
07:39:09 | FromGitter | <martinium> at least till I learn some more |
07:39:21 | FromGitter | <martinium> nim has a cgi module |
07:39:27 | FromGitter | <martinium> wish they had some more examples |
07:42:36 | * | bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
07:49:00 | * | bjz joined #nim |
07:55:48 | * | fifr quit (Quit: WeeChat 1.1.1) |
07:56:12 | * | fifr joined #nim |
07:56:20 | * | ritualtears joined #nim |
07:58:27 | * | fifr quit (Client Quit) |
07:58:41 | * | fifr joined #nim |
08:07:50 | * | Andris_zbx joined #nim |
08:18:02 | * | bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
08:21:05 | * | rokups joined #nim |
08:28:17 | FromGitter | <dom96> @martinium CGI requires an external HTTP server, just use jester. |
08:31:00 | * | yglukhov quit (Remote host closed the connection) |
08:36:20 | * | space-wizard quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
08:49:57 | * | yglukhov joined #nim |
08:51:36 | * | yglukhov quit (Remote host closed the connection) |
09:08:47 | * | byte512 joined #nim |
09:14:22 | * | Parashurama joined #nim |
09:38:42 | * | sarlalian quit (Ping timeout: 256 seconds) |
09:38:55 | * | jinshil quit (Quit: Good-bye!) |
09:41:34 | * | Parashurama left #nim (#nim) |
09:49:17 | * | bjz joined #nim |
09:51:08 | * | bjz quit (Client Quit) |
10:06:46 | * | subsetpark quit (Quit: Connection closed for inactivity) |
10:15:45 | * | yglukhov joined #nim |
10:21:27 | * | Parashurama joined #nim |
10:21:36 | Parashurama | hey! |
10:22:29 | Parashurama | Araq: How would you make testament run a test file 2 times with different -d flags. |
10:23:06 | Parashurama | I know I can always duplicate the file and add different tfile.cfg |
10:25:22 | * | bjz joined #nim |
10:30:19 | * | yaiyan is now known as Yaiyan |
10:32:52 | * | yglukhov quit (Remote host closed the connection) |
10:34:47 | * | Arrrr joined #nim |
10:38:28 | * | jinshil joined #nim |
10:38:51 | * | vlad1777d joined #nim |
10:42:47 | Arrrr | Congratulations on 0.16 release. One of these days i have to upadte my compiler |
10:47:58 | FromGitter | <andreaferretti> what is the official way to install c2nim nowadays? |
10:48:30 | FromGitter | <andreaferretti> it does not seem to come with `koch tools` |
10:48:30 | FromGitter | <andreaferretti> is it `nimble install c2nim`? |
10:50:08 | Arrrr | It is time to provide a c2nim web service. |
10:52:38 | FromGitter | <andreaferretti> well, I think most people would want to use it locally anyway |
10:52:53 | FromGitter | <andreaferretti> but yes, a web service would be neat |
10:52:59 | * | yglukhov joined #nim |
10:58:36 | Parashurama | btw when I run the testament test suite it seems to only run on 1 cpu thread. |
11:12:40 | * | yglukhov quit (Remote host closed the connection) |
11:15:29 | * | yglukhov joined #nim |
11:17:59 | * | chemist69_ is now known as chemist69 |
11:33:09 | * | kulelu88 joined #nim |
11:36:39 | * | bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
11:53:15 | FromGitter | <Varriount> @Araq @dom96 Should something be done about this thread? It's getting ridiculous: http://forum.nim-lang.org/t/2687 |
11:54:05 | * | bjz joined #nim |
12:00:03 | FromGitter | <dom96> I would lock it if our forum had that functionality... |
12:00:12 | FromGitter | <dom96> I don't think removing it is the way to go. |
12:13:12 | * | yglukhov quit (Remote host closed the connection) |
12:23:12 | * | kulelu88 quit (Ping timeout: 240 seconds) |
12:37:25 | Arrrr | You could post "This thread has been locked" and see what happens. |
12:39:52 | * | FromGitter quit (Ping timeout: 240 seconds) |
12:40:37 | * | FromGitter joined #nim |
12:50:05 | cheatfate | endragor: ping |
13:10:19 | * | ritualtears quit (Read error: Connection reset by peer) |
13:16:01 | ftsf_ | can i use the effects system to say not allow a proc to use calls that allocate memory? |
13:16:47 | * | byte512 quit (Ping timeout: 258 seconds) |
13:17:03 | federico3 | don't feed the trolls please |
13:17:09 | ftsf_ | federico3, ? |
13:17:16 | ftsf_ | i have a thread that i want to be realtime |
13:17:29 | federico3 | ftsf_: the forum thread |
13:17:42 | ftsf_ | and i don't want to accidentally call functions that might have a long execution time |
13:18:12 | ftsf_ | i don't understand that thread. seems ripe for deletion |
13:26:20 | * | ritualtears joined #nim |
13:27:47 | * | Arrrr quit (Quit: WeeChat 1.5) |
13:30:08 | flyx | meaning of the thread: people think the Nim forum is a viable place to rant about Rust community policies. |
13:30:22 | * | bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
13:31:00 | FromGitter | <Varriount> ftsf_: I don't know if there is a "heap allocation" effect. |
13:31:49 | ftsf_ | Varriount, I guess I could add it to all the system procs that do any heap allocation |
13:32:06 | ftsf_ | I assume that's what tags are supposed to be used for? |
13:32:10 | FromGitter | <Varriount> That's what I was about to suggest |
13:32:12 | ftsf_ | never used them before |
13:32:13 | FromGitter | <Varriount> Yes |
13:32:46 | FromGitter | <Varriount> ftsf_: Keep in mind though that memory allocation isn't the only thing that can show a program down. |
13:33:28 | ftsf_ | Varriount, yeah, there are some algorithms that have slow worst case times |
13:33:47 | FromGitter | <Varriount> Unless you mean "real-time" in the sense that procedures can't cause processor interrupts (which memory allocation can cause) |
13:34:22 | ftsf_ | i'm writing audio code, so it's not life critical real-time or anything |
13:34:38 | ftsf_ | but should be usable for performance |
13:34:49 | FromGitter | <Varriount> Ah. |
13:35:25 | ftsf_ | I just don't want to accidentally do anthing stupid in my audio thread |
13:35:25 | FromGitter | <Varriount> Might want to use the real-time GC settings too |
13:35:30 | ftsf_ | yeah |
14:00:25 | * | xet7 joined #nim |
14:05:38 | * | s4 quit (Quit: Konversation terminated!) |
14:14:37 | * | dmi0 joined #nim |
14:23:59 | * | Gilga joined #nim |
14:27:38 | * | Kingsquee quit (Quit: https://i.imgur.com/qicT3GK.gif) |
14:39:54 | * | Vladar quit (Remote host closed the connection) |
14:49:05 | federico3 | https://news.ycombinator.com/item?id=13355260 HN thread on Nim 0.16.0 |
14:59:06 | * | Jesin quit (Quit: Leaving) |
15:06:41 | * | yglukhov joined #nim |
15:09:34 | * | devted joined #nim |
15:10:16 | * | Parashurama left #nim (#nim) |
15:18:21 | * | couven92 joined #nim |
15:20:23 | * | rinukkusu left #nim ("WeeChat 0.4.1") |
15:22:25 | * | jinshil quit (Quit: client terminated!) |
15:29:36 | * | xet7 quit (*.net *.split) |
15:30:06 | * | xet7 joined #nim |
15:41:38 | FromGitter | <Varriount> Apparently people don't like that Nim has a small community. :/ |
15:42:04 | FromGitter | <Varriount> Which is kinda silly, how do they expect a larger community to develop? |
15:42:58 | zevlg | need a killer production software written in nim for community growth |
15:44:05 | federico3 | or at least a specific use-case to focus on |
15:45:25 | FromGitter | <Varriount> WebAssembly? |
15:45:30 | federico3 | urgh |
15:46:16 | * | Vladar joined #nim |
15:46:20 | FromGitter | <Varriount> I also wish that those that tried Nim 2 years ago would try it again... quite a lot of compiler bugs have been fixed since then. |
15:46:40 | FromGitter | <andreaferretti> I would love if that use case was scientific computing |
15:46:51 | FromGitter | <andreaferretti> I think Nim could steal the place of Julia |
15:47:02 | federico3 | Julia or Python |
15:47:22 | FromGitter | <andreaferretti> fast, with native threading, python syntax, metaprogramming for nice DSLs |
15:47:34 | federico3 | Python has been really propelled by the scientific community |
15:47:45 | FromGitter | <andreaferretti> well, Python will certainly be in better position for a while |
15:47:55 | FromGitter | <andreaferretti> Julia was a much less ambitious proposal :-) |
15:49:09 | federico3 | however the use-case seems to be served fairly well by the large set of Python and Julia libraries |
15:49:40 | zevlg | Most of my friends now uses js-of-ocaml or bucklescript to generate js. Nim could do better with decent js backend |
15:49:53 | federico3 | Nim is ideal for small-ish, fast codebases, like SOA services |
15:50:28 | ftsf_ | and is awesome for games =) |
15:50:35 | ftsf_ | and audio |
15:51:18 | federico3 | ftsf_: a lot of games need stuff like Unity and other big libs |
15:52:53 | ftsf_ | well if they're using unity they don't want nim |
15:53:04 | ftsf_ | but for people who don't want to use an existing engine, nim is lovely |
15:54:46 | FromGitter | <rivasiv> are there any standard way to check if system is 32 or 64 bit ? just to prevent me from invent new bike ) |
15:55:33 | FromGitter | <nigredo-tori> There are some Unreal Engine bindings, as far as I can see: https://github.com/pragmagic/nimue4 |
15:56:09 | ftsf_ | there's SDL bindings |
15:56:17 | ftsf_ | and chipmunk bindings |
15:56:22 | ftsf_ | which i've been using |
15:57:23 | Vladar | kough… soon… kough… https://github.com/Vladar4/nimgame2 |
15:57:36 | ftsf_ | cool =) |
15:57:51 | ftsf_ | i've got a little game engine in nim that i've been using |
15:57:59 | ftsf_ | need to polish it up for human consuption |
15:58:22 | zevlg | rivasiv: in nim ? `when defined(cpu64)' could work |
15:59:37 | * | PMunch joined #nim |
16:00:52 | FromGitter | <rivasiv> @<zevlg> It does .. thanks |
16:01:49 | PMunch | Congratulations on new version :) |
16:01:58 | * | pregressive joined #nim |
16:07:28 | * | daekano_ is now known as daekano |
16:12:17 | FromGitter | <Varriount> @rivasiv I believe there's a symbol defined for certain architectures |
16:12:28 | FromGitter | <Varriount> (Which should probably be documented) |
16:18:58 | * | M-Quora quit (Remote host closed the connection) |
16:18:58 | * | Guest73656[m] quit (Remote host closed the connection) |
16:18:58 | * | zielmicha[m] quit (Remote host closed the connection) |
16:18:59 | * | jivank[m] quit (Remote host closed the connection) |
16:19:00 | * | dyce[m] quit (Write error: Connection reset by peer) |
16:19:00 | * | MrAxilus[m] quit (Write error: Connection reset by peer) |
16:19:00 | * | hohlerde quit (Write error: Broken pipe) |
16:19:01 | * | TheManiac quit (Write error: Connection reset by peer) |
16:19:03 | * | erwana[m] quit (Write error: Connection reset by peer) |
16:21:09 | * | PMunch quit (Quit: leaving) |
16:26:01 | * | Trustable joined #nim |
16:41:32 | * | gangstacat quit (Ping timeout: 240 seconds) |
16:43:44 | * | Andris_zbx quit (Remote host closed the connection) |
16:47:24 | * | dyce[m] joined #nim |
17:01:33 | Trustable | Araq, dom96: congrats to the new release :) |
17:17:35 | * | def-pri-pub joined #nim |
17:22:13 | * | yglukhov quit (Remote host closed the connection) |
17:27:54 | def-pri-pub | Moar blog posts: https://16bpp.net/blog/post/random-art-in-nim |
17:33:18 | * | yglukhov joined #nim |
17:39:15 | dom96 | def-pri-pub: cool, keep them coming :) |
17:40:17 | * | yglukhov quit (Remote host closed the connection) |
17:42:39 | FromGitter | <Varriount> def-pri-pub: And don't forget to post them here and on reddit/hacker news |
17:43:46 | FromGitter | <Varriount> @rivasiv Just so you know, those symbols check if a program is built for a particular architecture, not running on it (say, if a 32-bit exe is running on 64 bit system) |
17:45:11 | FromGitter | <rivasiv> @Varriount got it.. thanks |
17:46:27 | * | space-wizard joined #nim |
17:53:48 | * | yglukhov joined #nim |
17:56:03 | def-pri-pub | Varriount: Okay, I think I've covered all my bases for maximum Karma and internet points |
18:02:08 | * | def-pri-pub is now known as def-pri-pub|afk |
18:08:25 | * | jivank[m] joined #nim |
18:08:25 | * | hohlerde joined #nim |
18:08:25 | * | zielmicha[m] joined #nim |
18:08:26 | * | MrAxilus[m] joined #nim |
18:08:29 | * | M-Quora joined #nim |
18:08:32 | * | erwana[m] joined #nim |
18:08:38 | * | TheManiac joined #nim |
18:08:38 | * | Guest73656[m] joined #nim |
18:13:50 | * | space-wizard quit (Quit: Textual IRC Client: www.textualapp.com) |
18:14:31 | * | space-wizard joined #nim |
18:19:06 | * | Calinou quit (Ping timeout: 240 seconds) |
18:20:02 | * | def-pri-pub|afk is now known as def-pri-pub |
18:20:22 | * | Calinou joined #nim |
18:24:33 | * | brson joined #nim |
18:36:01 | * | brson_ joined #nim |
18:39:09 | * | brson quit (Ping timeout: 252 seconds) |
18:43:07 | * | Calinou quit (Ping timeout: 245 seconds) |
18:44:34 | * | Calinou joined #nim |
18:48:09 | * | def-pri-pub quit (Quit: leaving) |
18:48:18 | * | Matthias247 joined #nim |
19:03:17 | dom96 | Anyone who can answer this? https://www.reddit.com/r/programming/comments/5mwuot/nim_016_released/dc7hlcv/ |
19:08:03 | * | couven92 quit (Read error: Connection reset by peer) |
19:09:34 | * | cyraxjoe quit (Remote host closed the connection) |
19:17:24 | * | confundus joined #nim |
19:20:48 | * | jonafato quit (Ping timeout: 248 seconds) |
19:22:17 | * | confundus quit (Client Quit) |
19:24:04 | * | jonafato joined #nim |
19:32:01 | * | rokups quit (Quit: Connection closed for inactivity) |
19:33:41 | * | Trustable quit (Remote host closed the connection) |
19:34:23 | * | gangstacat joined #nim |
19:35:03 | * | GustavoLapasta joined #nim |
19:35:39 | * | Trustable joined #nim |
19:36:10 | * | yglukhov quit (Remote host closed the connection) |
19:36:51 | * | confundus joined #nim |
19:37:47 | * | xet7 quit (Quit: Leaving) |
19:40:54 | GustavoLapasta | I need to express "255.255.255.255" with a uint32, but if I write |
19:40:56 | GustavoLapasta | var broadcast : uint32 = 0xFFFFFFFF |
19:41:11 | GustavoLapasta | I get "Error: type mismatch: got (int64) but expected 'uint32'" |
19:41:15 | GustavoLapasta | any workaround? |
19:41:44 | def- | GustavoLapasta: var broadcast = 0xFFFFFFFF'u32 |
19:42:10 | * | cyraxjoe joined #nim |
19:42:49 | GustavoLapasta | great, ty def. What was wrong in my approach? |
19:43:16 | def- | I guess for hex literals the compiler always assumes an int type and doesn't auto-convert |
19:51:12 | * | couven92 joined #nim |
19:57:17 | * | irrequietus_ quit () |
19:57:44 | * | irrequietus joined #nim |
19:58:37 | * | gangstacat quit (Quit: Ĝis) |
20:00:19 | * | gangstacat joined #nim |
20:02:22 | * | def-pri-pub joined #nim |
20:03:14 | * | tinAndi joined #nim |
20:06:14 | def-pri-pub | Vladar: you should put some images/gifs in the README. It always helps better advertise projects (especially vidoe game related ones) with pretty pictures. |
20:06:36 | def-pri-pub | Case in point: https://gitlab.com/define-private-public/Masala |
20:08:50 | Vladar | def-pri-pub, sure, when I hit first alpha, probably. Which is on the way, with the asteroids clone. |
20:11:18 | def-pri-pub | Don't forgot a pong clone. It's the hello world of video games. |
20:14:01 | Vladar | Good idea, actually, especially for the intro tutorial. |
20:16:43 | * | couven92 quit (Quit: Client disconnecting) |
20:18:07 | * | bjz joined #nim |
20:18:34 | * | couven92 joined #nim |
20:20:22 | dyce[m] | congrats on 0.16 |
20:27:09 | * | vlad1777d quit (Remote host closed the connection) |
20:33:01 | * | tinAndi quit (Quit: ChatZilla 0.9.93 [Firefox 50.1.0/20161208153507]) |
20:33:59 | def-pri-pub | dom96: Jester runs it's own HTTP server correct? |
20:34:14 | dom96 | yes |
20:35:45 | def-pri-pub | Does it support HTTPS? |
20:36:07 | Calinou | def-pri-pub: for production, use a reverse proxy... |
20:36:14 | Calinou | which can then use HTTPS, HTTP/2, you name it |
20:36:40 | * | yglukhov joined #nim |
20:37:03 | def-pri-pub | Has anyone tried making some sort of ORM for Nim? |
20:40:52 | * | yglukhov quit (Ping timeout: 240 seconds) |
20:42:21 | * | brson_ quit (Ping timeout: 252 seconds) |
20:49:21 | federico3 | def-pri-pub: maybe there's some prototype on github, but none that I know. An ORM with a SQL DSL would be really nice |
20:55:19 | * | bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
21:03:32 | * | Gilga quit (Ping timeout: 240 seconds) |
21:10:53 | * | Jesin joined #nim |
21:14:38 | * | dddddd joined #nim |
21:17:24 | * | xet7 joined #nim |
21:17:26 | def-pri-pub | I was thinking how it could be possible using macros. |
21:17:49 | * | tinAndi joined #nim |
21:17:53 | * | Vladar quit (Quit: Leaving) |
21:17:55 | def-pri-pub | e.g. you define your type with Nim types, then apply a macro that will make a "QueryObject." |
21:18:34 | def-pri-pub | Which makes procs for you. It tells if you've set a value, etc. then it can generate the SQL for you |
21:19:07 | def-pri-pub | for example "myUser.where.email = [email protected]" |
21:19:59 | def-pri-pub | then the SQL it would output whould be something like `SELECT * FROM users WHERE [email protected];` (It's been a while since I wrote hard SQL statemtnts |
21:20:27 | * | pregress_ joined #nim |
21:20:32 | * | pregressive quit (Read error: Connection reset by peer) |
21:21:05 | def-pri-pub | Basically the "QueryObject" macro would generate a type along with some methods that could give you a sweet interface. And you don't have to worry about the SQL at all. Though I don't know macros really yet, it might be a fun project to try out. |
21:22:58 | * | Jesin quit (Quit: Leaving) |
21:23:26 | * | Jesin joined #nim |
21:23:32 | FromGitter | <konqoro> Congrats on the release guys :) |
21:26:34 | * | def-pri-pub is now known as def-pri-pub|eati |
21:26:41 | * | def-pri-pub|eati is now known as def-pri-pub|afk |
21:33:41 | * | PMunch joined #nim |
21:35:37 | * | brson joined #nim |
21:38:34 | * | yglukhov joined #nim |
21:38:53 | * | Salewski joined #nim |
21:42:36 | * | yglukhov quit (Ping timeout: 240 seconds) |
21:45:10 | Salewski | ned.nim(1663, 47) Error: 'find' cannot be passed to a procvar # for Nim 0.16 and gcc 6.3 |
21:45:24 | Salewski | so I have to use ned.nim now: |
21:46:11 | * | confundus quit (Quit: confundus) |
21:46:12 | Salewski | gio.GActionEntryObj(name: "find", activate: ned.find, parameterType: nil, state: nil, changeState: nil), |
21:46:34 | Salewski | Same for open() proc. |
21:47:40 | Salewski | Seems that symbols of current module have lower priority now, so that find/open is used from elsewhere by default. |
21:48:02 | Salewski | But with these two fixes NEd seems to work fine again. |
21:48:30 | Salewski | But I also switch from gcc 5.4 to 6.3 at the same time... |
21:49:09 | * | GustavoLapasta quit (Quit: Leaving) |
21:50:32 | Salewski | And Araq, thanks for adding shuffle() proc! |
21:50:39 | Salewski | Bye. |
21:51:34 | Salewski | s/ned.nim/ned.find/ |
21:57:44 | * | Salewski left #nim (#nim) |
21:59:41 | * | def-pri-pub|afk is now known as def-pri-pub |
22:10:19 | * | vlad1777d joined #nim |
22:19:36 | * | Trustable quit (Remote host closed the connection) |
22:24:15 | * | nsf quit (Quit: WeeChat 1.6) |
22:31:00 | * | aziz joined #nim |
22:36:45 | def-pri-pub | hey, onw the forums, how do I change my profile picture? |
22:36:47 | def-pri-pub | on* |
22:38:05 | euantor | It's a Gravatar from gravatar.com |
22:46:55 | * | Jesin quit (Quit: Leaving) |
23:00:01 | * | tinAndi quit (Quit: ChatZilla 0.9.93 [Firefox 50.1.0/20161208153507]) |
23:00:20 | * | PMunch quit (Quit: leaving) |
23:04:47 | devted | Vladar, thanks for creating nimgame2. I've been learning SDL using Lazy Foo and your sdl2_nim package. Nimgame2 is coming along just as I need it! |
23:11:22 | * | devted quit (Quit: Sleeping.) |
23:28:44 | * | ftsf joined #nim |
23:39:51 | federico3 | anyone wants to test the Debian package for Nim? |
23:40:03 | * | yglukhov joined #nim |
23:45:12 | * | yglukhov quit (Ping timeout: 240 seconds) |
23:46:46 | * | Matthias247 quit (Read error: Connection reset by peer) |
23:48:34 | * | brson quit (Ping timeout: 248 seconds) |
23:58:12 | * | brson joined #nim |
23:59:45 | * | space-wizard quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |