00:55:24 | * | yglukhov joined #nim |
00:59:17 | * | ftsf_ joined #nim |
00:59:33 | * | yglukhov quit (Ping timeout: 240 seconds) |
01:22:30 | * | chemist69_ joined #nim |
01:26:00 | * | chemist69 quit (Ping timeout: 276 seconds) |
01:27:23 | * | fastrom joined #nim |
01:40:51 | * | brson quit (Quit: leaving) |
02:12:08 | * | saml joined #nim |
02:14:34 | * | saml quit (Read error: Connection reset by peer) |
02:18:02 | * | fastrom quit (Ping timeout: 260 seconds) |
02:31:02 | * | kulelu88 quit (Quit: Leaving) |
02:40:13 | * | brson joined #nim |
02:57:35 | * | yglukhov joined #nim |
03:02:55 | * | yglukhov quit (Ping timeout: 258 seconds) |
03:54:32 | * | saml joined #nim |
03:54:38 | * | saml quit (Read error: Connection reset by peer) |
03:55:04 | * | saml joined #nim |
04:29:15 | * | Demon_Fox joined #nim |
05:00:35 | * | yglukhov joined #nim |
05:02:38 | * | brson quit (Quit: leaving) |
05:05:42 | * | yglukhov quit (Ping timeout: 276 seconds) |
05:08:23 | * | shodan45 quit (Quit: Konversation terminated!) |
05:35:32 | * | kssreeram joined #nim |
05:48:18 | * | endragor joined #nim |
05:53:48 | * | kssreeram quit (Read error: Connection reset by peer) |
06:16:15 | * | endragor_ joined #nim |
06:19:39 | * | endragor quit (Ping timeout: 264 seconds) |
06:20:37 | * | kssreeram joined #nim |
06:49:03 | * | Matthias247 joined #nim |
06:52:08 | * | yglukhov joined #nim |
06:53:11 | * | yglukhov1 joined #nim |
06:54:16 | * | pafmaf joined #nim |
06:56:36 | * | kssreeram quit (Read error: Connection reset by peer) |
06:59:34 | * | Matthias247 quit (Read error: Connection reset by peer) |
07:05:42 | * | rok joined #nim |
07:07:12 | * | endragor_ quit (Remote host closed the connection) |
07:09:55 | * | rusua joined #nim |
07:11:13 | * | Varriount quit (Disconnected by services) |
07:11:13 | * | Varriount_ joined #nim |
07:14:56 | * | Trustable joined #nim |
07:18:44 | * | kssreeram joined #nim |
07:34:28 | * | endragor joined #nim |
07:36:20 | * | akamaus joined #nim |
07:38:55 | * | kssreeram quit (Read error: Connection reset by peer) |
07:40:40 | * | bjz joined #nim |
07:42:11 | * | hendi__ joined #nim |
07:44:57 | * | kssreeram joined #nim |
07:51:22 | chemist69_ | "Araq: chemist69: can you add this information to tables.nim docs?" - done: https://github.com/nim-lang/Nim/pull/4480 |
07:54:39 | * | bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
07:57:07 | * | CcxCZ quit (Quit: WeeChat 1.0-dev) |
07:59:56 | * | vendethiel- joined #nim |
08:00:31 | * | vendethiel quit (Ping timeout: 240 seconds) |
08:03:01 | * | ftsf_ quit (Quit: :q!) |
08:14:51 | * | kssreeram quit (Read error: Connection reset by peer) |
08:15:33 | * | der-landgraf quit (Quit: WeeChat 1.5) |
08:15:53 | * | der-landgraf joined #nim |
08:18:06 | * | akamaus quit (Ping timeout: 276 seconds) |
08:21:56 | * | kssreeram joined #nim |
08:34:02 | * | der-landgraf quit (Quit: WeeChat 1.5) |
08:44:35 | zielmicha | Should I report bugs if compiler crashes (or generates invalid code) instead of giving error message? I don't want to spam issues with unimportant problems (as I can generate a lot of them :) ) |
08:45:20 | Araq | zielmicha: tough question :-) |
08:46:52 | Araq | perhaps create a new github repo and add the issues there and then have a single issue in Nim referring to this "bug" repo? |
08:47:44 | * | der-landgraf joined #nim |
08:48:17 | * | kssreeram quit (Read error: Connection reset by peer) |
08:49:50 | * | chemist69_ quit (Ping timeout: 258 seconds) |
08:50:09 | * | chemist69_ joined #nim |
08:51:15 | zielmicha | good idea |
08:54:27 | * | Arrrr joined #nim |
08:58:04 | * | bjz joined #nim |
09:00:33 | * | TheLemonMan joined #nim |
09:05:15 | * | yglukhov1 quit (Ping timeout: 250 seconds) |
09:05:33 | * | yglukhov quit (Ping timeout: 240 seconds) |
09:06:36 | * | kssreeram joined #nim |
09:08:53 | * | rusua quit (Quit: Textual IRC Client: www.textualapp.com) |
09:10:50 | * | Demon_Fox quit (Quit: Leaving) |
09:11:00 | flyx | wouldn't it be better to just have a tag for these kind of issues in the Nim repo? |
09:25:00 | * | Amelie joined #nim |
09:30:33 | * | kssreeram quit (Ping timeout: 240 seconds) |
09:44:50 | * | yglukhov joined #nim |
09:48:32 | * | bjz_ joined #nim |
09:49:45 | * | bjz quit (Ping timeout: 276 seconds) |
09:50:05 | * | endragor quit (Remote host closed the connection) |
09:51:04 | * | yglukhov quit (Ping timeout: 252 seconds) |
09:51:54 | * | kssreeram joined #nim |
09:53:44 | Araq | no. |
10:04:10 | * | yglukhov joined #nim |
10:07:40 | * | endragor joined #nim |
10:18:45 | * | girvo joined #nim |
10:19:08 | * | girvo quit (Client Quit) |
10:19:51 | * | girvo joined #nim |
10:20:42 | * | girvo quit (Client Quit) |
10:22:03 | * | girvo joined #nim |
10:22:08 | girvo | Hey all |
10:24:04 | * | kssreeram quit (Read error: Connection reset by peer) |
10:26:04 | girvo | Quick q: how do people go about overriding dependencies when unit-testing nim modules? |
10:30:42 | * | girvo quit (Quit: Leaving) |
10:40:47 | * | elrood joined #nim |
10:53:34 | * | kssreeram joined #nim |
11:19:32 | * | nsf quit (Quit: WeeChat 1.5) |
11:23:36 | * | fastrom joined #nim |
11:27:03 | * | kssreeram quit (Ping timeout: 240 seconds) |
11:27:49 | * | fastrom quit (Ping timeout: 250 seconds) |
11:30:25 | * | fastrom joined #nim |
11:35:50 | * | trusion quit (Ping timeout: 272 seconds) |
11:36:25 | * | trusion joined #nim |
11:53:01 | * | pafmaf quit (Read error: Connection reset by peer) |
11:59:27 | * | Arrrr quit (Read error: Connection reset by peer) |
12:01:59 | * | pafmaf joined #nim |
12:12:19 | * | Pow joined #nim |
12:12:35 | Pow | Hello |
12:14:46 | Pow | Araq, what's up? |
12:16:46 | Pow | Araq: would you change your nickname, please?, because you really don't want to know its meaning in my native language :-) |
12:17:37 | Pow | So guys I was wondering if Nim is a joke or something? |
12:18:25 | Amelie | :O |
12:18:50 | Amelie | please, be no joke, I'm learning the tutorials atm |
12:19:13 | Pow | Amelie, dude, Nim is just a project by students |
12:19:46 | Pow | dom96, is the main developer, and guess what?, he is a first-year computer science student. |
12:20:19 | Amelie | oh :/ But the Aporia editor works rather well. |
12:20:29 | Amelie | What other language would you recommend me? |
12:20:47 | Pow | Amelie, Python |
12:21:24 | elrood | Amelie, just ignore the troll. some people simply are bored and trying to find a way to waste their and other people's time |
12:23:30 | Amelie | Ah, ok. Wasting time is not worth it. Looking forward to learn Nim more every day |
12:23:58 | * | Pow left #nim (#nim) |
12:24:47 | * | Pow joined #nim |
12:28:14 | * | Pow joined #nim |
12:30:39 | Amelie | dom96, my friend bought me your book recently. Looking forward to start reading it, probably in the begin of August |
12:31:06 | dom96 | Amelie: Awesome! Let me know what you think and/or if you have any questions :) |
12:31:12 | Amelie | I will report back whenever I see a typo (not likely) or have problems with the examples |
12:32:11 | Amelie | This is a really valuable asset for the Nim project in a whole |
12:32:55 | Amelie | might be the new Kernighan/Ritchie ...^^ |
12:34:38 | dom96 | heh, I doubt I can even be compared to those legends. |
12:35:24 | Amelie | well, time will tell. Nim for sure has a bright future |
12:36:40 | Amelie | Aporia already is one of the best editors out there |
12:36:57 | Amelie | compared with Geany or Medit etc. |
12:37:57 | elrood | you'd be amazed how many people have assumed that bright-future-bit for how many languages.. ;) |
12:38:19 | Amelie | haha, maybe. But this time it will happen |
12:40:13 | elrood | nim sure shows some promise. let's give it time and not raise expectations too high |
12:40:52 | elrood | have fun with it, and see and decide for yourself if it feels right for you and your projects |
12:41:01 | * | xet7_ quit (Remote host closed the connection) |
12:41:40 | * | xet7_ joined #nim |
12:43:15 | Amelie | thanks, I will for sure. Need a forum account too |
12:43:26 | Amelie | just the whole Nim package |
12:43:35 | Amelie | (book, IRC, forum) |
12:47:32 | elrood | *cough* github fork, own nimble packages, programming blog, game engine.. *cough* |
12:47:54 | Amelie | wait a sec |
12:47:58 | Amelie | game engine? |
12:48:01 | Amelie | link plis |
12:48:29 | Amelie | and for the other things too |
12:49:09 | * | Amelie prepares Nim bookmark folders |
12:49:24 | elrood | isn't that what most ki.. young and aspiring coders are after these days? |
12:49:32 | elrood | alright, i'll see myself out.. |
12:50:16 | Amelie | that's true, gaming might get way too much attention |
12:52:17 | Araq | hi Amelie, welcome |
12:52:35 | Amelie | hello Araq |
12:52:46 | Araq | there are wrappers for Urho 3D and for Unreal Engine 4 |
12:53:33 | Araq | but since these are both really huge beasts I don't think they are good material for learning Nim :-) |
12:55:50 | Amelie | haha, probably |
12:56:00 | Amelie | but it's good to have them around |
12:56:47 | Amelie | some appealing flagship projects always bring new people in |
12:57:04 | Amelie | maybe even the industry |
12:57:12 | * | Flox42 quit (Ping timeout: 244 seconds) |
12:57:51 | * | M-Quora quit (Ping timeout: 258 seconds) |
12:57:51 | * | M-max quit (Ping timeout: 258 seconds) |
13:06:46 | * | Flox42 joined #nim |
13:30:42 | * | rok quit (Quit: rok) |
13:44:45 | derlafff | http://nim-lang.org/docs/httpclient.html#request,string,string,string,string,Proxy I want to use Response.body when server responds with 403 |
13:44:59 | derlafff | but an exception is generated and it seems to interrupt assigment |
13:45:04 | derlafff | how can I suppress exception? |
13:47:21 | * | kssreeram joined #nim |
13:51:55 | derlafff | oh, I can't |
13:52:12 | derlafff | looks like a major fault in httpclient |
13:52:38 | * | kssreeram quit (Ping timeout: 272 seconds) |
13:53:38 | * | pafmaf quit (Quit: Leaving) |
14:15:43 | * | asdf quit (Ping timeout: 246 seconds) |
14:15:52 | dom96 | derlafff: what exception? |
14:15:54 | * | asdf joined #nim |
14:15:56 | * | ludocode quit (Quit: No Ping reply in 180 seconds.) |
14:16:04 | dom96 | `request` shouldn't raise exceptions for 403 |
14:16:11 | derlafff | hmm |
14:16:17 | * | asdf is now known as Guest38978 |
14:18:16 | * | ludocode joined #nim |
14:27:18 | derlafff | dom96: btw, thanks for jester |
14:43:26 | * | kssreeram joined #nim |
14:46:13 | * | endragor quit (Ping timeout: 244 seconds) |
14:57:50 | * | endragor joined #nim |
15:00:55 | derlafff | how to use named parameters? |
15:01:00 | derlafff | let resp = await client.request(URL, httpGet) # this is OK |
15:01:10 | derlafff | let resp = await client.request(URL, httpGet, timeout=30) # this generates tonns of errors |
15:02:03 | derlafff | client -- httpClient |
15:08:01 | * | endragor quit (Remote host closed the connection) |
15:10:06 | derlafff | ah. future version does not have "timeout" |
15:11:36 | * | M-Quora joined #nim |
15:11:44 | * | M-max joined #nim |
15:13:57 | * | kssreeram quit (Quit: My Mac has gone to sleep. ZZZzzz…) |
15:15:59 | * | Jesin quit (Quit: Leaving) |
15:16:14 | * | endragor joined #nim |
15:28:35 | * | Guest38978 is now known as asdf |
15:29:41 | * | Jesin joined #nim |
15:34:11 | * | hendi__ quit (Ping timeout: 240 seconds) |
15:43:33 | * | kulelu88 joined #nim |
15:54:05 | * | Jesin quit (Quit: Leaving) |
16:08:33 | * | nd_ quit (Ping timeout: 240 seconds) |
16:10:34 | * | endragor quit (Remote host closed the connection) |
16:12:11 | * | Amelie quit (Quit: Lost terminal) |
16:15:51 | * | yglukhov quit (Ping timeout: 276 seconds) |
16:15:54 | * | brson joined #nim |
16:16:55 | * | vendethiel joined #nim |
16:18:27 | * | vendethiel- quit (Ping timeout: 276 seconds) |
16:22:01 | * | nd_ joined #nim |
16:26:44 | * | endragor joined #nim |
16:29:15 | * | fastrom quit (Ping timeout: 264 seconds) |
16:30:44 | * | kssreeram joined #nim |
16:31:15 | * | fastrom joined #nim |
16:37:39 | * | kulelu88 quit (Quit: Leaving) |
16:37:41 | * | euantor joined #nim |
16:47:26 | * | endragor quit (Remote host closed the connection) |
16:51:19 | * | nsf joined #nim |
16:53:28 | * | euantor quit () |
17:03:37 | kier | what's the 'out' keyword used for? |
17:03:44 | kier | can't seem to find it in the manual |
17:08:38 | flyx | currently unused afaik |
17:11:06 | * | TheLemonMan quit (Quit: "It's now safe to turn off your computer.") |
17:12:22 | * | fredrik92 joined #nim |
17:12:59 | kier | also, I have some Nim functions that I'm exporting to C with the exportc pragma. Is there a portable way to export the function declarations to a .h file? |
17:13:04 | * | kssreeram quit (Read error: Connection reset by peer) |
17:25:06 | * | fastrom1 joined #nim |
17:28:07 | * | fastrom quit (Ping timeout: 252 seconds) |
17:29:49 | * | fredrik92 left #nim ("Leaving channel") |
17:29:52 | * | fastrom1 quit (Ping timeout: 272 seconds) |
17:36:38 | * | yglukhov joined #nim |
17:38:37 | * | yglukhov_ joined #nim |
17:42:33 | * | yglukhov_ quit (Remote host closed the connection) |
17:45:27 | * | yglukhov quit (Ping timeout: 264 seconds) |
17:50:24 | * | yglukhov joined #nim |
17:51:52 | Araq | kier: --genHeader |
17:53:34 | * | yglukhov1 joined #nim |
17:57:06 | * | kssreeram joined #nim |
17:58:53 | * | ldlework quit (Quit: co'o ro pendo be mi) |
17:59:23 | * | yglukhov quit (Remote host closed the connection) |
17:59:23 | * | yglukhov1 is now known as yglukhov |
17:59:41 | * | ldlework joined #nim |
18:00:41 | * | xet7_ left #nim ("AndroIRC") |
18:01:19 | * | xet7_ joined #nim |
18:04:12 | * | yglukhov quit (Ping timeout: 260 seconds) |
18:08:10 | flyx | so I tried compiling NimYAML to JS, but apparently, there is no `finished` for iterators. is this correct for the js backend? |
18:11:19 | * | yglukhov joined #nim |
18:11:23 | * | yglukhov1 joined #nim |
18:12:41 | * | shodan45 joined #nim |
18:15:23 | * | ldlework quit (Quit: co'o ro pendo be mi) |
18:23:50 | * | xet7 quit (Quit: Leaving) |
18:28:39 | * | kssreeram quit (Ping timeout: 264 seconds) |
18:30:10 | * | xet7 joined #nim |
18:36:38 | kier | Araq: thanks, just what I was looking for (though it seems the option is --header rather than --genHeader) |
18:44:18 | * | pafmaf joined #nim |
19:22:07 | * | shodan45 quit (Quit: Konversation terminated!) |
19:27:36 | * | TheLemonMan joined #nim |
19:46:48 | * | kssreeram joined #nim |
19:47:06 | * | yglukhov quit (Remote host closed the connection) |
19:47:06 | * | yglukhov1 is now known as yglukhov |
19:48:39 | * | yglukhov_ joined #nim |
19:54:11 | * | kssreeram quit (Ping timeout: 240 seconds) |
19:58:55 | * | yglukhov_ quit (Remote host closed the connection) |
19:59:29 | * | yglukhov_ joined #nim |
20:03:42 | * | nsf quit (Quit: WeeChat 1.5) |
20:07:34 | * | Matthias247 joined #nim |
20:32:48 | * | ldlework joined #nim |
20:59:12 | * | TheLemonMan quit (Quit: "It's now safe to turn off your computer.") |
21:02:15 | dom96 | It seems people still have a problem with style insensitivity in Nim https://www.reddit.com/r/programming/comments/4o0h0u/writing_a_2d_platform_game_in_nim_with_sdl2/d59b7xg?context=3 :\ |
21:05:38 | * | Araq shrugs |
21:20:05 | ldlework | Just answer his question |
21:20:07 | ldlework | About what it solves |
21:20:11 | ldlework | dom96: ^ |
21:24:29 | dom96 | I don't even know what to reply to be honest. |
21:27:09 | * | pafmaf quit (Read error: Connection reset by peer) |
21:27:29 | Araq | it solves that I don't have to make my compiler enforce fooBar everywhere, though tbh I think I'll do it instead. compiler will get a --fascist mode and enforce NEP-1 everywhere. |
21:32:15 | elrood | you could reply that it's just a matter of different priorities. some like their language of choice to be a rock-solid and dependable tool that doesn't get in their way and just does the job, others like to have it as a playground and field for experimentation. nim will mature, eventually |
21:32:22 | * | couven92 joined #nim |
21:37:04 | * | freddy92 joined #nim |
21:37:25 | * | rok joined #nim |
21:37:48 | * | freddy92 quit (Client Quit) |
21:38:00 | * | couven92 quit (Quit: Shutting down...) |
21:39:32 | * | brson_ joined #nim |
21:40:06 | * | brson quit (Ping timeout: 250 seconds) |
21:40:09 | * | fastrom joined #nim |
21:43:49 | * | brson_ quit (Read error: Connection reset by peer) |
21:43:58 | * | fredrik92 joined #nim |
21:44:34 | * | brson joined #nim |
21:47:54 | * | fastrom quit (Ping timeout: 250 seconds) |
21:50:48 | * | pafmaf joined #nim |
21:53:51 | * | brson quit (Ping timeout: 276 seconds) |
21:54:00 | * | brson joined #nim |
21:56:36 | Araq | Python code with its foo_bar_baz surely gets in my way all the time... |
21:56:45 | Araq | because it's ugly and hard to type. |
21:58:15 | dom96 | Maybe we should indeed simply enforce camelCase |
21:58:33 | dom96 | but then we'll have people complaining about that... |
21:59:42 | cheatfate | Araq, i need your advice |
22:00:16 | cheatfate | i want to make some kind of pluggable request processing to my server |
22:00:22 | cheatfate | some kind of middleware |
22:01:19 | cheatfate | and i dont know how to do it |
22:02:24 | Araq | I don't even know what "middleware" means |
22:03:06 | cheatfate | let me explain for basic web server works like get/parse request and make response |
22:03:26 | cheatfate | middleware works between get/parse and make response |
22:03:32 | cheatfate | like session handling |
22:04:04 | * | Trustable quit (Remote host closed the connection) |
22:04:32 | cheatfate | so some code included and handle sessions so user can easily access it, because some module (lets call it session.nim) is processed request and made some variables inside `request` object |
22:05:17 | cheatfate | http authorization is also can be made as middleware |
22:05:44 | * | rok quit (Quit: rok) |
22:06:28 | cheatfate | server is receiving and parsing request... then it call sequence of middlewares (which can modify request object) then it can pass request to application |
22:11:06 | * | elrood quit (Quit: Leaving) |
22:11:35 | * | afrigginelf joined #nim |
22:19:01 | * | ob_ joined #nim |
22:25:14 | * | fastrom joined #nim |
22:28:18 | * | ob_ quit (Ping timeout: 276 seconds) |
22:32:51 | * | fastrom quit (Ping timeout: 276 seconds) |
22:35:06 | * | GangstaCat joined #nim |
22:35:24 | * | yglukhov_ quit (Remote host closed the connection) |
22:38:50 | Araq | cheatfate: ok, but what kind of advice I could give to you? |
22:39:45 | cheatfate | Araq, as i know i can't create types with macro |
22:39:53 | cheatfate | ? |
22:40:31 | * | yglukhov quit (Ping timeout: 252 seconds) |
22:45:25 | * | Matthias247 quit (Read error: Connection reset by peer) |
22:51:25 | * | fredrik92 quit (Quit: Shutting down...) |
22:54:14 | * | fastrom joined #nim |
22:54:46 | Araq | what does that have to do with anything? |
22:58:51 | * | fastrom quit (Ping timeout: 276 seconds) |
23:11:45 | cheatfate | Araq, ok forget it :) |
23:13:30 | Araq | cheatfate: middleware: pastParsing: seq[proc (r: ref Request)] ? |
23:13:53 | Araq | a list of callbacks that is called, what else should it be |
23:19:02 | * | kulelu88 joined #nim |
23:19:04 | Araq | the type differences are hidden in the closures, as usual |
23:21:19 | * | ephja joined #nim |
23:26:07 | * | pafmaf quit (Quit: This computer has gone to sleep) |
23:30:39 | cheatfate | Araq, i'm just trying to figure how to make plugin system for this middlewares... so user can just 'import session_middlware' and got it |
23:31:28 | Araq | session_middle registers a callback as a top level statement |
23:35:10 | cheatfate | Araq, yep i think you are right |
23:35:14 | cheatfate | this is nice way |
23:36:40 | * | yglukhov joined #nim |
23:41:00 | * | yglukhov quit (Ping timeout: 250 seconds) |