| 00:02:20 | * | Jesin quit (Quit: Leaving) |
| 00:19:53 | * | yglukhov quit (Remote host closed the connection) |
| 00:23:43 | * | ftsf joined #nim |
| 00:31:46 | * | yglukhov joined #nim |
| 00:35:01 | krux02 | Araq: yes it does reallocate on push_back. Sorry I did not mention that I mean an object pool with a constant amount of objects. |
| 00:36:09 | * | yglukhov quit (Ping timeout: 244 seconds) |
| 00:41:16 | * | roose left #nim (#nim) |
| 01:19:10 | * | yglukhov joined #nim |
| 01:21:34 | * | chemist69_ quit (Ping timeout: 260 seconds) |
| 01:23:41 | * | yglukhov quit (Ping timeout: 244 seconds) |
| 01:34:39 | * | chemist69_ joined #nim |
| 02:06:36 | * | yglukhov joined #nim |
| 02:10:42 | * | yglukhov quit (Ping timeout: 244 seconds) |
| 02:33:37 | * | chrisheller joined #nim |
| 02:36:06 | * | desophos joined #nim |
| 03:02:10 | * | kssreeram joined #nim |
| 03:02:47 | * | Demon_Fox joined #nim |
| 03:16:38 | * | chrisheller quit (Remote host closed the connection) |
| 03:44:59 | * | yglukhov joined #nim |
| 03:49:39 | * | yglukhov quit (Ping timeout: 276 seconds) |
| 03:51:26 | * | kssreeram quit (Quit: My Mac has gone to sleep. ZZZzzz…) |
| 04:00:36 | * | kssreeram joined #nim |
| 04:09:32 | * | pdv joined #nim |
| 04:09:40 | * | yglukhov joined #nim |
| 04:14:11 | * | yglukhov quit (Ping timeout: 244 seconds) |
| 04:15:37 | * | zaquest quit (Ping timeout: 260 seconds) |
| 04:16:39 | * | zaquest joined #nim |
| 04:33:44 | * | chrisheller joined #nim |
| 04:34:23 | * | kssreeram quit (Quit: My Mac has gone to sleep. ZZZzzz…) |
| 04:46:08 | * | yglukhov joined #nim |
| 04:51:24 | * | yglukhov quit (Ping timeout: 276 seconds) |
| 05:00:12 | * | GangstaCat quit (Quit: Leaving) |
| 05:10:34 | * | yglukhov joined #nim |
| 05:15:09 | * | yglukhov quit (Ping timeout: 244 seconds) |
| 05:21:10 | * | krux02 quit (Quit: Verlassend) |
| 05:35:03 | * | yglukhov joined #nim |
| 05:40:09 | * | yglukhov quit (Ping timeout: 276 seconds) |
| 05:40:26 | * | pafmaf joined #nim |
| 05:59:32 | * | yglukhov joined #nim |
| 06:04:12 | * | yglukhov quit (Ping timeout: 276 seconds) |
| 06:19:03 | * | der-landgraf quit (Ping timeout: 240 seconds) |
| 06:24:00 | * | yglukhov joined #nim |
| 06:27:29 | * | hendi__ joined #nim |
| 06:28:31 | * | yglukhov quit (Ping timeout: 244 seconds) |
| 06:48:24 | * | yglukhov joined #nim |
| 06:53:36 | * | yglukhov quit (Ping timeout: 276 seconds) |
| 07:12:54 | * | yglukhov joined #nim |
| 07:13:59 | * | hendi__ quit (Ping timeout: 265 seconds) |
| 07:17:39 | * | yglukhov quit (Ping timeout: 276 seconds) |
| 07:41:34 | * | kssreeram joined #nim |
| 07:57:44 | * | gokr joined #nim |
| 08:08:02 | * | cyraxjoe quit (Ping timeout: 250 seconds) |
| 08:09:36 | * | cyraxjoe joined #nim |
| 08:23:08 | * | ftsf quit (Remote host closed the connection) |
| 08:23:39 | * | yglukhov joined #nim |
| 08:45:03 | * | kssreeram quit (Ping timeout: 240 seconds) |
| 08:49:55 | * | zodiak quit (Ping timeout: 244 seconds) |
| 09:12:11 | * | LeNsTR|away is now known as lenstr |
| 09:12:13 | * | lenstr quit (Changing host) |
| 09:12:13 | * | lenstr joined #nim |
| 09:17:15 | * | kingofoz quit (Ping timeout: 264 seconds) |
| 09:17:56 | * | kingofoz joined #nim |
| 09:25:34 | * | kssreeram joined #nim |
| 09:32:24 | * | Ven_ joined #nim |
| 09:47:15 | * | Demon_Fox quit (Quit: Leaving) |
| 09:57:21 | * | kssreeram quit (Read error: Connection reset by peer) |
| 10:04:04 | * | kssreeram joined #nim |
| 10:07:36 | * | kssreeram quit (Read error: Connection reset by peer) |
| 10:09:54 | * | kssreeram joined #nim |
| 10:18:12 | * | kssreera_ joined #nim |
| 10:20:15 | * | kssreeram quit (Ping timeout: 264 seconds) |
| 10:20:41 | * | ephja joined #nim |
| 10:29:21 | ephja | is var/non-var overloading supposed to work? my use case is having the ability to do "vec.x = val" where 'x' is a proc, but if the object is immutable then it needs to select the non-var overload |
| 10:31:11 | ephja | though maybe it's better to have 3 separate vector types, but it might make sense in other situations |
| 10:32:14 | * | hendi__ joined #nim |
| 10:33:21 | ephja | maybe it's possible to achieve this with metaprogramming |
| 10:33:23 | Araq | ephja: it is used extensively in Nim's stdlib |
| 10:35:18 | * | elrood joined #nim |
| 10:35:30 | ephja | I'll see if it works with non-generic procs then |
| 10:35:40 | * | ftsf joined #nim |
| 10:36:33 | Araq | it's used in the stdlib with generics ... :P |
| 10:36:48 | Araq | I think it's just some misunderstanding on your part |
| 10:45:38 | ephja | Araq: were you referring to this or something else? "proc x(v: var Vec): var float = v[0] ... proc x(v: Vec): float = v[0]" |
| 10:46:01 | ephja | there was some reason why I did not define `x=` etc but I can't remember what |
| 10:53:38 | * | arnetheduck joined #nim |
| 10:55:08 | ephja | I think it was this: "vec.x += 1" |
| 11:02:12 | * | gokr quit (Ping timeout: 260 seconds) |
| 11:06:50 | * | pdv quit (Remote host closed the connection) |
| 11:07:38 | ephja | "proc `$`*[S: static[int]; T](v: Vec[S, T]): string" works but "proc `$`*(v: Vec): string" matches equally well as the generic proc in 'system'. do you know if this has been reported? I found an issue with a similar bug, but it was resolved some time ago |
| 11:17:31 | * | gernest joined #nim |
| 11:31:47 | * | gokr joined #nim |
| 11:44:42 | * | xet7_ quit (Remote host closed the connection) |
| 11:45:19 | * | xet7_ joined #nim |
| 12:07:36 | * | DecoPerson_ quit (Quit: Connection closed for inactivity) |
| 12:09:30 | * | yglukhov quit (Ping timeout: 276 seconds) |
| 12:49:33 | * | kssreera_ quit (Ping timeout: 240 seconds) |
| 12:59:53 | * | kssreeram joined #nim |
| 13:02:11 | * | gernest quit (Ping timeout: 240 seconds) |
| 13:05:32 | * | gernest joined #nim |
| 13:21:42 | * | ftsf quit (Quit: Leaving) |
| 13:26:12 | * | kssreeram quit (Ping timeout: 276 seconds) |
| 13:35:08 | * | yglukhov joined #nim |
| 13:35:37 | kier | can I construct a seq at compile time, then convert it to an array for use as a runtime const? |
| 13:36:41 | * | ftsf joined #nim |
| 13:39:41 | * | saml joined #nim |
| 13:40:49 | * | yglukhov quit (Remote host closed the connection) |
| 13:41:13 | * | Jesin joined #nim |
| 13:41:21 | * | yglukhov joined #nim |
| 13:47:28 | Araq | yes |
| 13:59:34 | * | gernest quit (Ping timeout: 244 seconds) |
| 14:07:35 | * | syndikate joined #nim |
| 14:08:44 | * | gernest joined #nim |
| 14:12:40 | * | michael_campbell quit (Quit: My Mac has gone to sleep. ZZZzzz…) |
| 14:17:06 | * | nsf quit (Quit: WeeChat 1.5) |
| 14:22:39 | * | gernest quit (Quit: gernest) |
| 14:22:56 | * | kssreeram joined #nim |
| 14:27:02 | * | krux02 joined #nim |
| 14:27:16 | krux02 | how does nimble publish work? |
| 14:28:05 | krux02 | when I type nimble publish, it opens the browers to create a "public access" token, which I did, and then? |
| 14:29:38 | krux02 | Then I have the token, but when I enter it in the console it just breaks with Error: unhandled exception: 401 Unauthorized [HttpRequestError] |
| 14:33:08 | ephja | don't you need to select certain scopes? |
| 14:33:45 | ephja | when generating a token. that's just a guess since I haven't used it yet |
| 14:35:36 | ephja | or does it fail here? let resp = getContent("https://api.github.com/user", ... |
| 14:41:00 | ephja | krux02: perhaps it's not necessary with PRs |
| 14:41:03 | * | kssreeram quit (Quit: My Mac has gone to sleep. ZZZzzz…) |
| 14:43:19 | * | michael_campbell joined #nim |
| 14:49:18 | krux02 | ephja: I don't know where it fails, it just does. Also it does not tell me the rights I need to give to the token. I just said it can read my public repositories. |
| 15:01:14 | ephja | krux02: "Personal access token:" is that the last output? |
| 15:02:57 | * | michael_campbell quit (Quit: My Mac has gone to sleep. ZZZzzz…) |
| 15:03:03 | ephja | if so, did you paste the token? pasting to stdin seems to work in windows but usually not on linux I think |
| 15:03:25 | * | syndikate left #nim ("Leaving") |
| 15:05:02 | dom96 | krux02: best to just fork the repo yourself, `nimble publish` is a bit broken at the minute. |
| 15:07:08 | krux02 | yes I did paste the token, and yes I am on linux |
| 15:08:13 | * | gernest joined #nim |
| 15:08:53 | * | gernest quit (Client Quit) |
| 15:09:19 | ephja | maybe it's possible with terminals that have their own interface that can inject event |
| 15:11:16 | ephja | but why bother trying if it's broken :p |
| 15:13:20 | krux02 | ok I tried it now several times, and then when I paste at the exact right time, I get further, but not really far, this is my last line in output: FAILURE: No .git nor .hg directory found. Stopping. |
| 15:15:53 | * | arnetheduck quit (Ping timeout: 258 seconds) |
| 15:16:25 | dom96 | krux02: Even if it does work it will produce an incorrect PR. |
| 15:16:26 | * | libman joined #nim |
| 15:16:37 | krux02 | meh |
| 15:16:53 | krux02 | I was so happy, because it just worked now :/ |
| 15:17:36 | ephja | it uses it when generating metadata: { ... "method": %downloadMethod ... } |
| 15:18:10 | * | yglukhov_ joined #nim |
| 15:21:33 | * | yglukhov quit (Ping timeout: 240 seconds) |
| 15:22:27 | * | yglukhov_ quit (Ping timeout: 258 seconds) |
| 15:51:22 | * | nicanaca0 quit (Quit: Leaving) |
| 15:56:07 | * | ephja2 joined #nim |
| 15:58:39 | * | ephja quit (Ping timeout: 264 seconds) |
| 16:06:51 | * | ephja2 quit (Ping timeout: 240 seconds) |
| 16:22:37 | * | yglukhov joined #nim |
| 16:33:30 | * | elrood quit (Quit: Leaving) |
| 16:34:56 | * | zaquest quit (Read error: Connection reset by peer) |
| 16:36:29 | * | gokr quit (Ping timeout: 244 seconds) |
| 16:37:40 | * | michael_campbell joined #nim |
| 16:38:19 | * | zaquest joined #nim |
| 16:55:00 | * | yglukhov quit (Remote host closed the connection) |
| 16:57:19 | * | zodiak joined #nim |
| 17:01:41 | * | Trustable joined #nim |
| 17:19:48 | * | michael_campbell quit (Read error: Connection reset by peer) |
| 17:28:36 | * | AnonymousCoward joined #nim |
| 17:32:59 | * | AnonymousCoward quit (Quit: Leaving) |
| 17:33:11 | * | AnonymousCoward joined #nim |
| 17:40:11 | * | yglukhov joined #nim |
| 17:42:28 | * | yglukhov quit (Remote host closed the connection) |
| 17:42:39 | * | brson joined #nim |
| 17:42:44 | * | yglukhov joined #nim |
| 17:43:21 | * | AnonymousCoward quit (Quit: Leaving) |
| 17:43:35 | * | AnonymousCoward joined #nim |
| 17:52:26 | ftsf | hmm is it just me or is %% weird with negative numbers |
| 17:53:07 | ftsf | -1 %% 10 should be 8 right? but returns 5 |
| 17:54:59 | cheatfate | a %% b unsigned integer modulo operation |
| 17:55:37 | cheatfate | depends on high number of your unsigned integer |
| 17:55:43 | ftsf | ahh I see |
| 17:56:13 | ftsf | how do you get the behaviour of -1 mod 10 == 8? -1 mod 10 == -1 in nim |
| 17:57:38 | EastByte | shouldn't -1 mod 10 be 9 ? |
| 17:58:03 | ftsf | uhh yes |
| 17:58:04 | ftsf | sorry |
| 17:58:20 | ftsf | this modulo stuff is hurting my brain |
| 17:59:06 | EastByte | hm, not sure why nim returns -1 |
| 17:59:48 | ftsf | mmm I don't mind that behaviour, if there's a way to get the other behaviour... |
| 18:00:06 | * | Matthias247 joined #nim |
| 18:01:28 | * | gokr joined #nim |
| 18:07:50 | ftsf | yay! defined `%%/` as a modulo that works how i want it |
| 18:08:25 | EastByte | so, the modulo operator in nim and C is actually a 'remainder' operator, good to know |
| 18:11:27 | * | michael_campbell joined #nim |
| 18:11:35 | ftsf | uh oh, 4am time to sleep! |
| 18:11:36 | ftsf | thanks! |
| 18:16:23 | * | Jesin quit (Quit: Leaving) |
| 18:19:52 | * | nsf joined #nim |
| 18:23:46 | * | hendi__ quit (Ping timeout: 258 seconds) |
| 18:32:56 | * | gokr left #nim (#nim) |
| 18:33:44 | * | Jesin joined #nim |
| 18:57:52 | * | brechtm joined #nim |
| 18:59:59 | * | Jesin quit (Quit: Leaving) |
| 19:02:30 | * | Jesin joined #nim |
| 19:09:27 | * | brechtm quit (Remote host closed the connection) |
| 19:39:41 | * | Ven_ quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
| 19:43:30 | * | brechtm joined #nim |
| 19:51:16 | * | afrigginelf joined #nim |
| 20:01:35 | * | fastrom joined #nim |
| 20:05:09 | avsej | dom96, do you have a minute to talk about https://github.com/nim-lang/nimforum/pull/89? |
| 20:12:20 | * | brechtm quit (Remote host closed the connection) |
| 20:23:49 | dom96 | avsej: sure |
| 20:24:10 | avsej | is there any reason to use <document> there? |
| 20:24:24 | avsej | maybe just replace it with toplevel <div>? |
| 20:24:45 | avsej | it will also fix rss issue, and will not introduce extra argument |
| 20:26:21 | dom96 | That sounds fine, I have no idea why I used "document" there |
| 20:26:42 | dom96 | Must have just been a mistake that the browsers happily accepted |
| 20:27:22 | avsej | okay. 1 sec. I will update pr |
| 20:29:21 | dom96 | thanks |
| 20:30:38 | avsej | dom96, updated |
| 20:31:53 | dom96 | avsej: tested that it still works? |
| 20:32:02 | dom96 | and displays properly? |
| 20:32:40 | avsej | yes, the output still the same in RSS |
| 20:32:49 | avsej | but 1 sec, I will check the site itself |
| 20:34:43 | avsej | dom96, yes. it still good |
| 20:34:52 | dom96 | awesome |
| 20:38:06 | dom96 | avsej: Should be deployed now |
| 20:47:40 | avsej | works thank you |
| 20:53:30 | * | brechtm joined #nim |
| 20:58:16 | * | Trustable quit (Remote host closed the connection) |
| 21:07:42 | * | jeffc joined #nim |
| 21:12:15 | * | afrigginelf quit (Quit: soundcloud.com/wacastle glueparty.bandcamp.com) |
| 21:12:41 | * | afrigginelf joined #nim |
| 21:43:30 | * | gokr joined #nim |
| 21:47:23 | * | der-landgraf joined #nim |
| 22:00:13 | * | fastrom quit (Quit: Leaving.) |
| 22:04:51 | * | Matthias247 quit (Read error: Connection reset by peer) |
| 22:27:59 | * | gokr quit (Ping timeout: 244 seconds) |
| 22:36:14 | * | AnonymousCoward quit (Ping timeout: 244 seconds) |
| 22:36:50 | * | brechtm quit (Remote host closed the connection) |
| 22:37:19 | * | brechtm joined #nim |
| 22:37:24 | * | brechtm quit (Remote host closed the connection) |
| 22:40:08 | * | roose joined #nim |