00:00:34 | * | irrequietus quit () |
00:03:41 | Araq | some package requires devel? and devel gets ~5 commits each day |
00:16:30 | * | space-wi_ quit (Quit: My Mac has gone to sleep. ZZZzzz…) |
00:17:51 | * | space-wizard joined #nim |
00:18:26 | * | space-wizard quit (Max SendQ exceeded) |
00:19:05 | * | space-wizard joined #nim |
00:24:00 | * | space-wizard quit (Quit: My Mac has gone to sleep. ZZZzzz…) |
00:25:47 | * | space-wizard joined #nim |
00:32:45 | * | pregressive joined #nim |
00:38:16 | * | brechtm quit (Read error: Connection reset by peer) |
00:39:00 | * | brechtm joined #nim |
00:44:27 | Demos | that's fair |
00:44:44 | Demos | but the package probably won't work if I'm using the nim on my path and forget to update it |
00:44:50 | Demos | also how do I specify the size of an enum |
00:45:00 | Demos | I remember there is a pragma for it but I forget the name |
00:50:47 | * | brechtm quit (Read error: Connection reset by peer) |
00:50:52 | * | brechtm_ joined #nim |
00:51:20 | * | libman quit (Remote host closed the connection) |
00:57:52 | * | brson quit (Ping timeout: 244 seconds) |
01:05:03 | * | endragor joined #nim |
01:05:06 | * | chemist69_ joined #nim |
01:05:27 | * | michael_campbell quit (Read error: Connection reset by peer) |
01:06:32 | * | chemist69 quit (Ping timeout: 240 seconds) |
01:10:03 | * | endragor quit (Ping timeout: 264 seconds) |
01:13:54 | * | brechtm_ quit (Read error: Connection reset by peer) |
01:13:59 | * | brechtm joined #nim |
01:24:09 | * | ftsf_ joined #nim |
01:25:46 | * | pregressive quit (Remote host closed the connection) |
01:26:22 | * | pregressive joined #nim |
01:30:25 | * | pregressive quit (Ping timeout: 244 seconds) |
01:35:06 | * | pregressive joined #nim |
01:46:41 | * | endragor joined #nim |
01:48:23 | * | freezerburnv joined #nim |
01:48:55 | freezerburnv | Is there a way to start a process from Nim such as less that takes over the console? I attempted doing that earlier and it just seemed to get stuck |
01:50:47 | * | brechtm_ joined #nim |
01:51:04 | * | brechtm quit (Read error: No route to host) |
01:51:07 | * | endragor quit (Ping timeout: 260 seconds) |
01:57:20 | * | ftsf_ quit (Ping timeout: 250 seconds) |
02:00:05 | * | Trixar_za quit (Read error: Connection reset by peer) |
02:00:08 | * | jefuss joined #nim |
02:00:23 | * | pdv joined #nim |
02:03:29 | * | endragor joined #nim |
02:08:21 | * | endragor quit (Ping timeout: 276 seconds) |
02:08:36 | * | Demos quit (Ping timeout: 250 seconds) |
02:08:48 | * | ftsf_ joined #nim |
02:10:58 | * | kssreeram quit (Quit: My Mac has gone to sleep. ZZZzzz…) |
02:13:09 | * | desophos quit (Ping timeout: 244 seconds) |
02:13:47 | * | space-wizard quit (Quit: My Mac has gone to sleep. ZZZzzz…) |
02:15:43 | * | Demon_Fox quit (Ping timeout: 258 seconds) |
02:18:31 | * | space-wizard joined #nim |
02:27:40 | * | Demon_Fox joined #nim |
02:33:33 | * | brechtm_ quit (Read error: Connection reset by peer) |
02:33:38 | * | brechtm joined #nim |
02:57:16 | * | endragor joined #nim |
02:59:18 | * | ftsf_ quit (Ping timeout: 250 seconds) |
03:10:39 | * | ftsf_ joined #nim |
03:10:53 | * | pregressive quit (Remote host closed the connection) |
03:11:25 | * | pregressive joined #nim |
03:15:50 | * | pregressive quit (Ping timeout: 250 seconds) |
03:25:32 | * | mcc joined #nim |
03:27:35 | mcc | So let's say I do type X of rootObj\n\tONE*: float {.importc:"_ONE".} |
03:28:07 | mcc | It doesn't seem to like that. it says "invalid indentation". (also imagine instead of \t i had put four spaces there, i don't know it's hard to describe multiline nim code on irc) |
03:29:23 | * | endragor quit (Remote host closed the connection) |
03:33:42 | * | pregressive joined #nim |
03:33:55 | * | endragor joined #nim |
03:57:17 | * | space-wizard quit (Quit: My Mac has gone to sleep. ZZZzzz…) |
04:04:33 | * | der-landgraf quit (Ping timeout: 240 seconds) |
04:07:03 | * | freezerburnv quit (Ping timeout: 240 seconds) |
04:09:40 | * | space-wizard joined #nim |
04:10:15 | * | space-wizard quit (Max SendQ exceeded) |
04:10:51 | * | space-wizard joined #nim |
04:14:52 | * | pregressive quit (Remote host closed the connection) |
04:15:26 | * | pregressive joined #nim |
04:17:26 | * | Demon_Fox quit (Quit: Leaving) |
04:19:52 | * | pregressive quit (Ping timeout: 252 seconds) |
04:25:21 | * | der-landgraf joined #nim |
04:37:25 | ftsf_ | mcc, use a link to a gist or pastebin |
04:39:27 | * | space-wizard quit (Quit: My Mac has gone to sleep. ZZZzzz…) |
04:43:20 | * | space-wizard joined #nim |
04:46:57 | * | kssreeram joined #nim |
04:48:18 | * | krux02 quit (Remote host closed the connection) |
04:57:54 | * | space-wizard quit (Quit: My Mac has gone to sleep. ZZZzzz…) |
05:06:37 | * | Demos joined #nim |
05:14:12 | * | space-wizard joined #nim |
05:21:51 | * | ftsf_ quit (Ping timeout: 250 seconds) |
05:33:31 | * | ftsf_ joined #nim |
05:42:38 | * | space-wizard quit (Quit: My Mac has gone to sleep. ZZZzzz…) |
05:45:26 | * | desophos joined #nim |
05:58:43 | * | space-wizard joined #nim |
06:13:51 | * | space-wizard quit (Quit: My Mac has gone to sleep. ZZZzzz…) |
06:15:46 | * | jefuss quit (Read error: Connection reset by peer) |
06:30:48 | * | Trustable joined #nim |
06:35:53 | * | hendi__ joined #nim |
06:37:12 | * | mcc quit (Quit: Connection closed for inactivity) |
06:45:59 | * | Demos quit (Read error: Connection reset by peer) |
06:49:05 | * | der-landgraf quit (Ping timeout: 258 seconds) |
07:04:07 | * | ftsf_ quit (Ping timeout: 250 seconds) |
07:11:52 | * | pafmaf joined #nim |
07:15:40 | * | ftsf_ joined #nim |
07:16:17 | * | Arrrr joined #nim |
07:16:17 | * | Arrrr quit (Changing host) |
07:16:17 | * | Arrrr joined #nim |
07:19:40 | * | nairobi joined #nim |
07:29:18 | Arrrr | Mmm, is .explain. implemented already? |
07:52:44 | * | der-landgraf joined #nim |
08:02:53 | * | Matthias247 joined #nim |
08:15:30 | * | bjz joined #nim |
08:27:57 | * | zahary quit (Ping timeout: 276 seconds) |
08:29:49 | * | yglukhov joined #nim |
08:39:33 | * | desophos quit (Read error: Connection reset by peer) |
08:46:12 | * | ftsf_ quit (Quit: :q!) |
08:47:04 | * | Demon_Fox joined #nim |
08:53:22 | * | kssreera_ joined #nim |
08:56:44 | * | kssreeram quit (Ping timeout: 260 seconds) |
08:57:39 | Araq | zahary: oh my, 'type T' and vtables? |
09:04:30 | * | filcuc joined #nim |
09:07:27 | * | nairobi quit (Remote host closed the connection) |
09:10:52 | * | elrood joined #nim |
09:10:57 | * | Arrrr quit (Ping timeout: 260 seconds) |
09:28:08 | * | Arrrr joined #nim |
09:28:08 | * | Arrrr quit (Changing host) |
09:28:08 | * | Arrrr joined #nim |
09:30:40 | * | Demon_Fox quit (Quit: Leaving) |
09:33:01 | * | nairobi joined #nim |
09:38:07 | * | kingofoz quit (Read error: Connection reset by peer) |
09:41:05 | * | kingofoz joined #nim |
09:46:03 | * | kingofoz quit (Ping timeout: 264 seconds) |
09:47:05 | * | kingofoz joined #nim |
09:49:42 | * | nairobi quit (Read error: Connection timed out) |
09:50:30 | * | nairobi joined #nim |
10:00:25 | * | mitnk joined #nim |
10:01:29 | * | brechtm quit (Read error: No route to host) |
10:01:40 | * | brechtm joined #nim |
10:07:22 | * | nairobi quit (Read error: Connection timed out) |
10:08:01 | * | nairobi joined #nim |
10:12:46 | * | nairobi quit (Ping timeout: 265 seconds) |
10:13:31 | * | nairobi joined #nim |
10:19:07 | * | hendi__ quit (Ping timeout: 250 seconds) |
10:29:13 | * | nairobi quit (Read error: Connection timed out) |
10:30:02 | * | nairobi joined #nim |
10:32:28 | * | brechtm_ joined #nim |
10:32:38 | * | brechtm quit (Read error: No route to host) |
10:33:14 | * | kssreeram joined #nim |
10:33:24 | * | literal joined #nim |
10:36:43 | * | kssreera_ quit (Ping timeout: 258 seconds) |
10:45:55 | * | endragor quit (Remote host closed the connection) |
10:51:12 | * | mitnk quit (Ping timeout: 240 seconds) |
11:03:49 | * | pdv quit (Remote host closed the connection) |
11:09:03 | * | themagician joined #nim |
11:14:47 | * | krux02 joined #nim |
11:35:44 | * | nairobi quit (Remote host closed the connection) |
11:40:27 | * | nairobi joined #nim |
11:44:53 | * | hendi__ joined #nim |
11:44:55 | * | namnguyen quit (Ping timeout: 250 seconds) |
11:50:15 | * | brechtm_ quit (Ping timeout: 264 seconds) |
11:50:19 | * | brechtm joined #nim |
11:57:15 | * | namnguyen joined #nim |
12:01:39 | * | bjz quit (Ping timeout: 260 seconds) |
12:03:14 | * | nairobi quit (Remote host closed the connection) |
12:04:58 | * | nairobi joined #nim |
12:05:14 | * | bjz joined #nim |
12:11:33 | * | yglukhov quit (Ping timeout: 276 seconds) |
12:14:50 | * | brechtm quit (Remote host closed the connection) |
12:15:27 | * | brechtm joined #nim |
12:25:27 | * | nairobi quit (Remote host closed the connection) |
12:29:51 | * | kssreeram quit (Ping timeout: 264 seconds) |
12:38:15 | * | nairobi joined #nim |
12:38:30 | * | freezerburnv joined #nim |
12:43:07 | * | hendi__ quit (Ping timeout: 252 seconds) |
12:45:03 | * | nairobi quit (Remote host closed the connection) |
12:47:59 | * | nairobi joined #nim |
13:03:45 | * | Arrrr quit (Read error: Connection reset by peer) |
13:05:15 | * | kingofoz quit (Ping timeout: 264 seconds) |
13:06:06 | * | kingofoz joined #nim |
13:10:09 | * | yglukhov joined #nim |
13:16:08 | * | yglukhov quit (Remote host closed the connection) |
13:28:36 | * | yglukhov joined #nim |
13:38:19 | * | hendi__ joined #nim |
13:42:14 | * | nsf quit (Quit: WeeChat 1.5) |
13:44:52 | * | michael_campbell joined #nim |
13:52:45 | * | nairobi quit (Remote host closed the connection) |
14:01:52 | * | freezerburnv quit (Ping timeout: 265 seconds) |
14:15:03 | * | freezerburnv joined #nim |
14:19:33 | * | freezerburnv quit (Ping timeout: 240 seconds) |
14:21:41 | * | michael_campbell quit (Read error: Connection reset by peer) |
14:23:32 | * | hendi__ quit (Ping timeout: 240 seconds) |
14:30:30 | * | kssreeram joined #nim |
14:30:43 | * | michael_campbell joined #nim |
14:33:59 | * | nairobi joined #nim |
14:38:22 | * | nairobi quit (Remote host closed the connection) |
14:40:40 | * | yglukhov quit (Remote host closed the connection) |
14:40:53 | * | nairobi joined #nim |
14:44:21 | * | nairobi quit (Remote host closed the connection) |
14:47:45 | * | yglukhov joined #nim |
14:48:27 | * | nairobi joined #nim |
14:57:32 | * | kssreeram quit (Quit: My Mac has gone to sleep. ZZZzzz…) |
14:57:56 | * | kssreeram joined #nim |
14:59:32 | * | desophos joined #nim |
15:04:11 | * | brson joined #nim |
15:04:47 | * | brson quit (Client Quit) |
15:12:57 | * | nairobi quit (Remote host closed the connection) |
15:13:42 | * | pregressive joined #nim |
15:21:41 | * | FreezerburnV joined #nim |
15:22:44 | FreezerburnV | Is there a way to hand control of a terminal off to a program (e.g: less) that takes over the entire terminal? (assumedly through curses/something similar) I tried that yesterday and the nim process seemed to just hang until I Ctrl+C'd it |
15:23:28 | FreezerburnV | I didn't see any flags for startProcess that were obviously to be used for this purpose |
15:25:10 | ftsf | FreezerburnV, so you want to make it take over the terminal but have your process keep running in the background? |
15:26:27 | * | nairobi joined #nim |
15:26:39 | FreezerburnV | ftsf, Ideally my process would be the parent, much like running "less someFile.txt" in bash, and would continue once less finishes, again like bash. If that's not possible, I can work around that (the thing I'm working on can handle multiple commands at a time, so it woudl be ideal to continue with the next command after the first one finishes, but it isn't strictly necessary) |
15:27:09 | FreezerburnV | It doesn't use curses to control the terminal, just echos |
15:27:41 | * | brson joined #nim |
15:31:07 | * | ephja joined #nim |
15:31:07 | * | cheatfate quit (Read error: Connection reset by peer) |
15:33:50 | * | kssreeram quit (Quit: My Mac has gone to sleep. ZZZzzz…) |
15:34:12 | ftsf | FreezerburnV, you want to inherit the parent streams i think |
15:34:20 | ftsf | to attach to the terminal |
15:34:34 | FreezerburnV | ftsf, Ah ha. Lemme try that real quick |
15:34:51 | ftsf | (tested with execCmd and it seemed to do the right thing) |
15:35:45 | FreezerburnV | ftsf, That does work, thank you! Would never have guess that |
15:35:52 | ftsf | \o/ |
15:35:56 | FreezerburnV | What exactly does inheriting the parents streams do? And why does it suddenly make less work? |
15:36:49 | ftsf | well less needs to connect to the terminal |
15:37:05 | ftsf | so connecting to the parent process's stdin/stdout which are attached to the terminal |
15:37:32 | FreezerburnV | ...yeah, that makes sense. Seems obvious in retrospect |
15:38:30 | FreezerburnV | Is there a way to connect it to the parent stdin/stdout but still manipulate the data going to less's stdin? e.g.: startProcess with poParentStreams, then call inputStream on the Process? |
15:38:42 | FreezerburnV | Or would it jsut be using the current global stdin in that case? |
15:38:51 | FreezerburnV | (which I'm assuming it would due to being the parent's stdin) |
15:39:16 | FreezerburnV | I'd like to be able to filter the data from a file before it hits less without having to chain greps |
15:40:13 | ftsf | hmm i'm not sure |
15:40:42 | * | libman joined #nim |
15:41:57 | FreezerburnV | Maybe I can call less without giving it an argument, then write to the global stdin? Hm |
15:42:29 | FreezerburnV | Or stdout or whatever |
15:42:37 | * | nairobi quit (Read error: Connection timed out) |
15:43:59 | * | nairobi joined #nim |
15:53:19 | * | filcuc quit (Read error: Connection reset by peer) |
15:59:47 | * | endragor joined #nim |
16:01:23 | * | nairobi quit (Remote host closed the connection) |
16:04:03 | * | endragor quit (Ping timeout: 240 seconds) |
16:10:05 | libman | https://news.ycombinator.com/item?id=12223395 :/ |
16:14:34 | Eyes | is there a way to get the `ord()` of a string instead of just the chars within? |
16:15:05 | * | pafmaf quit (Quit: Leaving) |
16:15:32 | ftsf | what would the ord of a string be? |
16:15:51 | ephja | *shrug* |
16:15:51 | Eyes | badly worded |
16:15:57 | Eyes | sorry, i meant like |
16:16:07 | Eyes | it's hard to explain |
16:16:25 | ftsf | show me a string and what you want the output to be |
16:17:17 | Eyes | the string has a value of 4004 in the underlying bytes |
16:17:48 | ftsf | oh, you want the binary? |
16:18:34 | Eyes | basically like python's `int.from_bytes` |
16:18:41 | ftsf | right |
16:21:36 | * | endragor joined #nim |
16:21:55 | ephja | cast[ptr intN](str[i].addr)[] |
16:21:57 | ephja | http://nim-lang.org/docs/streams.html |
16:24:19 | ephja | there's nothing in there for dealing with endians, but there's this http://nim-lang.org/docs/endians.html which is a little low level atm |
16:25:28 | * | libman left #nim (#nim) |
16:25:34 | * | libman joined #nim |
16:25:52 | * | endragor quit (Ping timeout: 252 seconds) |
16:25:58 | ftsf | /o\ relocation truncated to fit: R_X86_64_PC32 against symbol `gEnv' defined in COMMON section |
16:26:02 | ftsf | never seen that before |
16:26:32 | * | brechtm quit (Remote host closed the connection) |
16:26:46 | ephja | uh oh. ruuuuuuuuuuun! |
16:28:11 | Eyes | the data is big endian so |
16:30:34 | ftsf | https://gist.github.com/ftsf/ca099fe0c06f5e35ebb8f07c2f230875 |
16:31:01 | ftsf | Eyes, ^ |
16:31:21 | Eyes | sec |
16:34:00 | * | Trixar_za joined #nim |
16:34:28 | ephja | bigEndian64(outp = myVar.addr, inp = str[i].addr) |
16:35:26 | ephja | I was trying to add high level interfaces to the endians module, but apparently I never created a PR |
16:36:08 | * | yglukhov quit (Ping timeout: 244 seconds) |
16:36:46 | Trixar_za | How do I add SDL2 to nim? |
16:37:06 | ftsf | import sdl2 |
16:37:20 | ephja | though I'm not sure how much it will help if one is doing endian conversions but doesn't know about pointer operations |
16:37:21 | ftsf | nimble install sdl2 |
16:39:28 | Trixar_za | Thanks - now to actually make git work on Windows |
16:41:04 | ephja | I just run the installer and use the defaults |
16:43:55 | Eyes | alright, thank you ephja and ftsf |
16:50:48 | * | nairobi joined #nim |
16:52:33 | * | allan0 quit (Quit: no) |
16:54:53 | * | allan0 joined #nim |
16:55:36 | * | nairobi quit (Ping timeout: 276 seconds) |
16:56:26 | Trixar_za | That should do it. Also I note somebody wrote a tutorial. Thanks def- |
16:56:42 | * | space-wizard joined #nim |
16:59:26 | * | Trixar_za eye twitches |
17:00:23 | * | allan0 quit (Quit: no) |
17:01:38 | * | allan0 joined #nim |
17:01:49 | Trixar_za | I need Mercurial too? |
17:11:34 | Trixar_za | lol |
17:13:44 | Trixar_za | Needed the dll file, but works. Thanks guys |
17:19:19 | * | nsf joined #nim |
17:21:25 | * | yglukhov joined #nim |
17:21:40 | * | endragor joined #nim |
17:25:45 | * | yglukhov quit (Ping timeout: 244 seconds) |
17:26:12 | * | endragor quit (Ping timeout: 260 seconds) |
17:27:15 | * | nairobi joined #nim |
17:40:48 | * | pregressive quit (Remote host closed the connection) |
17:41:23 | * | pregressive joined #nim |
17:41:58 | * | yglukhov joined #nim |
17:43:16 | * | endragor joined #nim |
17:45:12 | * | yglukhov quit (Remote host closed the connection) |
17:45:26 | * | yglukhov joined #nim |
17:45:32 | * | pregressive quit (Ping timeout: 250 seconds) |
17:47:36 | * | endragor quit (Ping timeout: 250 seconds) |
17:54:31 | Trixar_za | Seems I'm not the only one interested in game engines |
17:55:40 | * | yglukhov quit (Remote host closed the connection) |
18:00:38 | * | yglukhov joined #nim |
18:01:13 | * | endragor joined #nim |
18:05:31 | * | endragor quit (Ping timeout: 244 seconds) |
18:09:07 | * | Trustable_2 joined #nim |
18:10:18 | * | Trustable quit (Ping timeout: 265 seconds) |
18:10:55 | * | nairobi quit (Remote host closed the connection) |
18:11:17 | * | nairobi joined #nim |
18:21:08 | * | _stowa joined #nim |
18:28:27 | * | nairobi quit (Read error: Connection timed out) |
18:29:50 | * | nairobi joined #nim |
18:31:29 | * | _stowa quit (K-Lined) |
18:50:35 | FreezerburnV | Is there a way to ask a user for a password without having the password show up in the console? (similar to read -s -p "Password: " password in bash) |
18:51:18 | Araq | FreezerburnV: terminal.nim has some support for this iirc |
18:57:05 | FreezerburnV | Araq, Will take a look into that, thanks |
19:08:03 | * | nairobi quit (Remote host closed the connection) |
19:08:21 | * | Trustable_2 quit (Remote host closed the connection) |
19:09:21 | * | nairobi joined #nim |
19:10:47 | libman | Araq: speaking of terminal.nim, it could use a proc for changing the terminal title (ex. https://github.com/lbmn/nim/blob/master/warc/lib/libmanisms.nim) |
19:11:36 | libman | And (speaking of my ugly code there), why doesn't strfmt do thousandth separator like in Python? |
19:12:16 | * | AnonymousCoward joined #nim |
19:12:56 | * | Trixar_za quit (Quit: Leaving) |
19:19:22 | * | jefuss joined #nim |
19:21:38 | * | cheatfate joined #nim |
19:27:32 | * | nairobi quit (Remote host closed the connection) |
19:43:02 | * | yglukhov quit (Remote host closed the connection) |
19:46:24 | * | nairobi joined #nim |
19:53:33 | * | themagician quit (Ping timeout: 240 seconds) |
19:59:40 | * | themagician joined #nim |
20:04:16 | * | zahary joined #nim |
20:08:49 | * | yglukhov joined #nim |
20:13:37 | * | yglukhov quit (Ping timeout: 260 seconds) |
20:21:34 | * | brechtm joined #nim |
20:23:23 | * | endragor joined #nim |
20:27:58 | * | zahary1 joined #nim |
20:28:12 | * | endragor quit (Ping timeout: 260 seconds) |
20:28:21 | * | nairobi quit (Remote host closed the connection) |
20:28:47 | * | nairobi joined #nim |
20:37:00 | * | brson quit (Quit: leaving) |
20:37:11 | * | brson joined #nim |
20:45:56 | * | nairobi quit (Read error: Connection timed out) |
20:47:06 | * | brechtm quit (Remote host closed the connection) |
20:47:24 | * | nairobi joined #nim |
21:00:56 | michael_campbell | Guessing, but my guess is because ANSI C doesn't? |
21:01:35 | * | endragor joined #nim |
21:03:54 | * | nairobi quit (Read error: Connection timed out) |
21:05:02 | * | nairobi joined #nim |
21:06:03 | * | endragor quit (Ping timeout: 240 seconds) |
21:11:03 | * | yglukhov joined #nim |
21:14:10 | libman | Yeah, should probably check the env TERM / TERMINAL and do nothing if running without GUI / screen / tmux... |
21:14:49 | Eyes | is there a way to have circular types |
21:15:02 | Eyes | like, on type A you have a field of B, and on type B you have a field of A |
21:16:06 | dom96 | Eyes: Should work as long as they are both 'ref's and defined in the same type section |
21:16:15 | * | yglukhov quit (Ping timeout: 276 seconds) |
21:16:33 | Eyes | they're not, they're defined between files |
21:17:07 | * | FreezerburnV quit (Quit: Leaving) |
21:17:55 | Araq | Eyes: workaround, use subtyping or generics |
21:18:04 | * | nairobi quit (Remote host closed the connection) |
21:18:19 | Eyes | hmm |
21:18:38 | * | nairobi joined #nim |
21:22:14 | * | irrequietus joined #nim |
21:23:56 | * | nairobi quit (Ping timeout: 244 seconds) |
21:44:01 | Eyes | hacky subtyping has worked, thanks |
21:48:27 | * | cheatfate_ joined #nim |
21:48:27 | * | cheatfate quit (Read error: Connection reset by peer) |
21:55:16 | * | space-wizard quit (Quit: My Mac has gone to sleep. ZZZzzz…) |
21:57:01 | * | space-wizard joined #nim |
21:58:57 | * | endragor joined #nim |
22:01:41 | * | endragor_ joined #nim |
22:03:16 | * | endragor quit (Ping timeout: 258 seconds) |
22:05:30 | * | Trixar_za joined #nim |
22:06:18 | * | endragor_ quit (Ping timeout: 250 seconds) |
22:12:34 | * | elrood quit (Quit: Leaving) |
22:13:31 | * | cheatfate_ quit (Ping timeout: 244 seconds) |
22:13:48 | * | cheatfate_ joined #nim |
22:17:08 | krux02 | Araq: what are these tokens for: (. .) [. .] ? They are in the documentation, but I can't find them used anywhere |
22:17:42 | * | ephja quit (Read error: Connection reset by peer) |
22:17:54 | * | zahary1 quit (Quit: Leaving.) |
22:18:42 | * | ephja joined #nim |
22:18:48 | Araq | krux02: they are not used yet. |
22:19:12 | krux02 | are there plans to use them? |
22:20:19 | krux02 | I don't feel there is anything missing in the language that needs them |
22:23:17 | Araq | I argued we should use [. .] for explicit generic instantiations |
22:24:17 | Araq | to fix the current ambiguous mess that's a[i](x, y) |
22:25:45 | ephja | it's less common than indexing, isn't it? |
22:25:57 | Araq | yup |
22:27:12 | * | kingofoz quit (Ping timeout: 250 seconds) |
22:27:28 | Araq | ephja: can you look into this? https://github.com/nim-lang/Nim/issues/4528 |
22:27:30 | ephja | even more so had it been possible to turn them into parameters in more cases, by having the ability to refer to a succeeding parameter |
22:27:38 | Araq | it was you who implemented generic subtyping, right? |
22:27:49 | Araq | most ridiculous open bug IMO. |
22:28:06 | ephja | (typedesc parameters at the end of the list) |
22:28:22 | ephja | well, the majority of my attempts at fixing stuff have failed :p |
22:28:23 | * | irrequietus quit () |
22:30:32 | * | freezerburnv joined #nim |
22:30:46 | Araq | I patched your patch btw |
22:30:51 | Araq | essentially had to rewrite it. |
22:31:03 | Araq | dunno why I review and accept code only to find out it's bonkers |
22:31:18 | * | Araq sucks at code reviews |
22:33:07 | * | yglukhov joined #nim |
22:37:07 | Araq | krux02: also (. .) could be introduced as a macro operator |
22:37:44 | Araq | macro `(. .)`(x: varargs[typed]): typed = ... |
22:38:01 | Araq | (."let's", "construct", 34, "something".) |
22:38:09 | * | yglukhov quit (Ping timeout: 276 seconds) |
22:38:19 | Araq | though m(...) can do the same so it's rather pointless |
22:39:44 | ephja | I need to find a better way to figure things out if I am to give it another go, so as to not drown in a sea of mysterious calls |
22:40:06 | * | jefuss quit (Ping timeout: 250 seconds) |
22:42:26 | * | nairobi joined #nim |
22:42:32 | Araq | well sigmatch.nim is horrible for the best of us |
22:43:59 | * | nairobi_ joined #nim |
22:46:33 | * | nairobi quit (Ping timeout: 240 seconds) |
22:48:42 | * | nairobi_ quit (Ping timeout: 265 seconds) |
22:55:03 | * | minus quit (Ping timeout: 264 seconds) |
23:00:42 | * | minus joined #nim |
23:08:48 | * | Matthias247 quit (Read error: Connection reset by peer) |
23:15:08 | krux02 | Araq, you are right a[i](x, y) actually is very ambigious, I just had never problems with that ambiguity. I was just surprised in the beginning of learning the language, that [] was used for generics array indexing and array literals. That was a bit much in my opinion. |
23:16:03 | * | zahary1 joined #nim |
23:16:43 | * | zahary1 quit (Client Quit) |
23:28:52 | * | krux02 quit (Quit: Verlassend) |
23:35:52 | * | space-wizard quit (Quit: My Mac has gone to sleep. ZZZzzz…) |
23:37:39 | * | space-wizard joined #nim |
23:38:06 | * | freezerburnv quit (Ping timeout: 244 seconds) |
23:47:37 | * | freezerburnv joined #nim |
23:47:55 | * | brson quit (Ping timeout: 258 seconds) |
23:51:33 | * | michael_campbell quit (Read error: Connection reset by peer) |