00:05:12 | * | vendethiel joined #nim |
00:18:36 | * | irrequietus quit () |
00:26:09 | * | vendethiel quit (Ping timeout: 246 seconds) |
00:31:20 | * | Matthias247 quit (Read error: Connection reset by peer) |
00:34:34 | * | dorei quit () |
01:04:55 | * | jaco60 quit (Ping timeout: 268 seconds) |
01:21:00 | * | PMunch quit (Ping timeout: 244 seconds) |
01:56:22 | * | brson joined #nim |
02:06:53 | * | francisl quit (Quit: francisl) |
02:25:25 | * | endragor joined #nim |
02:51:32 | * | vendethiel joined #nim |
03:01:39 | * | brson quit (Ping timeout: 276 seconds) |
03:04:59 | * | francisl joined #nim |
03:16:16 | * | vendethiel quit (Ping timeout: 268 seconds) |
03:23:57 | * | Cyrus joined #nim |
03:24:01 | * | Cyrus left #nim ("Leaving") |
03:44:22 | * | Demon_Fox joined #nim |
04:00:48 | * | ekarlso- quit (Ping timeout: 276 seconds) |
04:11:39 | * | brson joined #nim |
04:15:19 | * | ekarlso- joined #nim |
04:19:37 | * | desophos quit (Read error: Connection reset by peer) |
05:07:09 | * | francisl quit (Quit: francisl) |
05:51:20 | * | Kingsquee quit (Quit: https://i.imgur.com/qicT3GK.gif) |
06:11:42 | cncl | been away from nim for a few months. does the windows distribution (0.13) no longer come with mingw/gcc bundled? |
06:21:25 | * | endragor_ joined #nim |
06:25:29 | * | endragor quit (Ping timeout: 260 seconds) |
06:30:35 | * | endragor_ quit (Remote host closed the connection) |
06:31:04 | * | endragor joined #nim |
06:51:23 | * | rok joined #nim |
06:53:16 | * | rok quit (Client Quit) |
06:55:10 | * | darkf quit (Quit: Leaving) |
06:55:32 | * | rok joined #nim |
07:01:50 | * | vangroan joined #nim |
07:05:05 | * | Varriount joined #nim |
07:15:28 | * | Varriount_ quit (*.net *.split) |
07:15:29 | * | mlitwiniuk quit (*.net *.split) |
07:16:15 | * | mlitwiniuk joined #nim |
07:17:33 | * | vendethiel joined #nim |
07:25:27 | * | vangroan quit (Quit: Leaving) |
07:34:25 | * | endragor quit (Remote host closed the connection) |
07:36:24 | * | yglukhov joined #nim |
07:39:19 | * | brson quit (Ping timeout: 250 seconds) |
07:42:03 | * | vendethiel quit (Ping timeout: 268 seconds) |
07:46:35 | * | vendethiel joined #nim |
08:01:23 | * | Matthias247 joined #nim |
08:01:27 | * | Kingsquee joined #nim |
08:07:58 | * | vendethiel quit (Ping timeout: 248 seconds) |
08:08:53 | * | Matthias247 quit (Read error: Connection reset by peer) |
08:10:30 | * | rok quit (Quit: rok) |
08:11:21 | * | rok joined #nim |
08:26:29 | * | Mloc joined #nim |
08:35:08 | * | endragor joined #nim |
08:39:00 | * | endragor quit (Read error: Connection reset by peer) |
08:39:24 | * | endragor joined #nim |
08:45:28 | * | rok quit (Quit: rok) |
08:47:13 | * | gokr joined #nim |
08:47:58 | * | rok joined #nim |
09:17:42 | * | Trustable joined #nim |
09:24:28 | * | sarlalian quit (Ping timeout: 264 seconds) |
09:29:16 | * | endragor quit (Remote host closed the connection) |
09:30:15 | * | toaoMgeorge joined #nim |
09:31:31 | * | BitPuffin|osx joined #nim |
09:33:13 | * | endragor joined #nim |
09:43:09 | * | endragor quit (Remote host closed the connection) |
09:44:34 | * | endragor joined #nim |
09:48:19 | Araq | cncl: it's an optional download in the installer |
09:53:57 | * | dorei joined #nim |
09:54:58 | * | jaco60 joined #nim |
10:13:34 | * | rok quit (Quit: rok) |
10:18:09 | * | jaco60 quit (Quit: Leaving) |
10:18:33 | * | jaco60 joined #nim |
10:24:51 | * | themagician quit (Ping timeout: 268 seconds) |
10:29:42 | * | themagician joined #nim |
10:30:26 | * | bbl joined #nim |
10:37:57 | * | vendethiel joined #nim |
10:44:19 | * | endragor quit (Remote host closed the connection) |
11:01:03 | * | vendethiel quit (Ping timeout: 246 seconds) |
11:06:24 | * | arnetheduck joined #nim |
11:13:37 | * | gokr quit (Quit: Leaving.) |
11:15:13 | cncl | ah! ok. that's why i didn't see it :) (i was just extracting the installer contents) |
11:24:37 | * | Demon_Fox quit (Quit: Leaving) |
11:39:45 | * | irrequietus joined #nim |
11:45:02 | * | endragor joined #nim |
11:48:23 | * | endragor quit (Read error: Connection reset by peer) |
11:48:45 | * | endragor joined #nim |
12:06:46 | * | Kingsquee quit (Quit: https://i.imgur.com/qicT3GK.gif) |
12:14:58 | * | cheatfate_ quit (Read error: Connection reset by peer) |
12:15:16 | * | cheatfate_ joined #nim |
12:21:56 | Varriount | cncl: Don't trust us? |
12:22:01 | * | jaco60 quit (Ping timeout: 268 seconds) |
12:30:47 | * | vqrs quit (Quit: ZNC 1.6.1 - http://znc.in) |
12:58:53 | * | sarlalian joined #nim |
13:01:36 | * | irrequietus quit (Ping timeout: 276 seconds) |
13:16:51 | * | toaoMgeorge quit (Ping timeout: 248 seconds) |
13:21:11 | * | toaoMgeorge joined #nim |
13:28:00 | * | huonw_ quit (Ping timeout: 268 seconds) |
13:28:20 | * | huonw joined #nim |
13:37:53 | * | Ven joined #nim |
13:38:53 | * | vendethiel joined #nim |
13:51:25 | * | PMunch joined #nim |
13:53:15 | * | Mloc left #nim ("WeeChat 1.4") |
14:00:11 | * | arnetheduck quit (Remote host closed the connection) |
14:01:22 | * | arnetheduck joined #nim |
14:02:14 | * | vendethiel quit (Ping timeout: 260 seconds) |
14:14:27 | * | toaoMgeorge quit (Ping timeout: 244 seconds) |
14:20:46 | gmpreussner_ | does anyone know how to specify additional library directories in MinGW? gcc does not find my libraries unless i give it an absolute path |
14:21:08 | gmpreussner_ | i tried LIBRARY_PATH, and the directory is listed in -print-search-dirs, but it still can't find the libs |
14:21:46 | * | vqrs joined #nim |
14:33:04 | * | Ven quit (Read error: Connection reset by peer) |
14:34:48 | * | Varriount quit (Read error: Connection reset by peer) |
14:36:30 | * | Varriount joined #nim |
14:36:59 | * | Ven joined #nim |
14:37:41 | * | irrequietus joined #nim |
14:40:13 | * | Varriount quit (Disconnected by services) |
14:40:13 | * | Varriount_ joined #nim |
14:42:06 | * | francisl joined #nim |
14:42:43 | * | Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
14:44:14 | * | endragor quit (Ping timeout: 260 seconds) |
14:44:50 | * | Ven joined #nim |
14:44:59 | def- | gmpreussner_: -L |
14:47:42 | * | Ven quit (Client Quit) |
14:55:02 | * | Ven joined #nim |
14:55:53 | * | themagician quit () |
14:57:05 | * | vendethiel joined #nim |
14:57:05 | * | Ven quit (Client Quit) |
15:00:34 | * | Ven joined #nim |
15:02:54 | * | Ven quit (Read error: No route to host) |
15:03:02 | * | Ven joined #nim |
15:12:15 | * | arnetheduck quit (Ping timeout: 276 seconds) |
15:18:04 | * | vendethiel quit (Ping timeout: 260 seconds) |
15:18:49 | * | jaco60 joined #nim |
15:23:18 | * | pregressive joined #nim |
15:27:23 | * | Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
15:28:30 | * | bbl quit (Ping timeout: 276 seconds) |
15:34:49 | * | bbl joined #nim |
15:40:08 | * | Ven joined #nim |
15:41:00 | * | Ven quit (Read error: Connection reset by peer) |
15:43:01 | * | Ven joined #nim |
15:44:54 | * | bbl quit (Ping timeout: 268 seconds) |
15:46:21 | * | Ven quit (Client Quit) |
15:51:17 | gmpreussner_ | @def-: i don't want to hardcode it in my config |
15:51:27 | * | Ven joined #nim |
15:51:32 | gmpreussner_ | it's for a nimble library. different users will have different paths |
15:57:06 | * | PMunch quit (Ping timeout: 276 seconds) |
15:58:50 | * | Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
16:05:01 | * | Ven joined #nim |
16:05:32 | def- | gmpreussner_: strange that LIBRARY_PATH doesn't work then, pretty sure I used that before |
16:10:14 | * | Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
16:11:48 | * | Ven joined #nim |
16:15:14 | * | Trustable quit (Ping timeout: 260 seconds) |
16:16:31 | * | Ven quit (Client Quit) |
16:16:59 | gmpreussner_ | i read that gcc/ld will ignore it when cross-compiling. maybe it thinks it's cross-compiling? |
16:17:19 | * | Trustable joined #nim |
16:17:19 | * | Trustable quit (Client Quit) |
16:17:29 | * | Trustable joined #nim |
16:24:42 | * | Ven joined #nim |
16:27:15 | * | vonh quit (Ping timeout: 246 seconds) |
16:28:31 | * | Ven quit (Client Quit) |
16:32:23 | * | exebook quit (Ping timeout: 268 seconds) |
16:34:16 | gmpreussner_ | i'm gonna try tdm-gcc... seems to include a more recent version of the compiler |
16:41:48 | * | desophos joined #nim |
16:45:01 | * | exebook joined #nim |
16:47:33 | * | bozaloshtsh quit (Ping timeout: 240 seconds) |
16:53:31 | * | gokr joined #nim |
16:59:12 | gmpreussner_ | not working either. what a pile of crap. |
16:59:19 | ldlework | :( |
16:59:28 | gmpreussner_ | just once in my life i wanna download some software that just works |
16:59:37 | gmpreussner_ | everything has to be a huge a pain in the ass, always |
16:59:48 | * | PMunch joined #nim |
16:59:48 | gmpreussner_ | i should have become a farmer, not a programmer |
16:59:50 | ldlework | gmpreussner_: This is not an expectation that will lead to a happy life. |
17:01:07 | * | brson joined #nim |
17:01:25 | * | bbl joined #nim |
17:09:38 | * | exebook quit (Read error: Connection reset by peer) |
17:11:58 | * | yglukhov quit (Ping timeout: 248 seconds) |
17:39:47 | * | exebook joined #nim |
17:49:29 | * | exebook quit (Read error: Connection reset by peer) |
17:53:03 | * | yglukhov joined #nim |
17:58:00 | * | yglukhov quit (Ping timeout: 276 seconds) |
18:13:39 | * | mrkishi quit (Ping timeout: 260 seconds) |
18:14:40 | * | exebook joined #nim |
18:17:47 | * | darkf joined #nim |
18:19:05 | * | mrkishi joined #nim |
18:20:29 | * | bozaloshtsh joined #nim |
18:20:49 | * | vonh joined #nim |
18:25:08 | * | Matthias247 joined #nim |
18:50:55 | * | rok joined #nim |
18:52:15 | * | yglukhov joined #nim |
19:07:22 | * | yglukhov quit (Remote host closed the connection) |
19:16:20 | * | yglukhov joined #nim |
19:17:46 | * | vendethiel joined #nim |
19:21:29 | * | boopsiesisaway is now known as boopsies |
19:39:34 | * | yglukhov quit (Read error: Connection reset by peer) |
19:40:26 | * | yglukhov joined #nim |
20:06:17 | PMunch | Error: type mismatch: got (seq[Schema], Schema) |
20:06:17 | PMunch | but expected one of: |
20:06:17 | PMunch | system.add(x: var seq[T], y: T) |
20:06:39 | PMunch | Is this a bug or am I misunderstanding something? |
20:06:56 | flyx | PMunch: well, it expects a *var* seq[Schema] |
20:07:12 | PMunch | Hmm |
20:07:19 | PMunch | So my seq isn't a var? |
20:07:24 | flyx | aye |
20:07:36 | flyx | var means modifyable |
20:07:39 | PMunch | I know |
20:07:47 | PMunch | I made the seq with @[] |
20:07:57 | flyx | yeah, that's obviously not modifyable |
20:08:02 | PMunch | I have a type Database = tuple[json:JsonNode, schemas:seq[Schema]] |
20:08:13 | flyx | because `@` doesn't return a var seq |
20:08:17 | PMunch | Which I initialize with db = (json: jsonRep, schemas: @[]) |
20:08:18 | PMunch | Aaah |
20:08:52 | flyx | but, if you store it in a tuple, it is modifyable if the tuple is modifyable |
20:09:44 | PMunch | So then it should be modifiable in my case shouldn't it? |
20:09:51 | PMunch | As I store it in a tuple |
20:09:59 | flyx | paste your code |
20:10:31 | PMunch | http://hastebin.com/oqupeguzuq.coffee |
20:10:32 | * | desophos_ joined #nim |
20:11:03 | PMunch | Error is on line 53 |
20:11:49 | flyx | yeah, as you see, db is defined as "db:Database" |
20:11:53 | flyx | so, it is not var |
20:11:58 | flyx | (in the proc header) |
20:12:14 | flyx | change the proc header to "db: var Database" |
20:12:24 | * | yglukhov quit (Remote host closed the connection) |
20:12:28 | * | gokr quit (Quit: Leaving.) |
20:12:36 | PMunch | Aaah |
20:12:42 | PMunch | Didn't know that was a thing |
20:13:10 | PMunch | So if they aren't specified as var they are immutable? |
20:13:14 | flyx | yes |
20:13:18 | PMunch | That's neat! |
20:13:54 | flyx | without var is pass-by-value, with is pass-by-reference |
20:14:07 | * | desophos quit (Ping timeout: 244 seconds) |
20:15:37 | PMunch | Thanks for the help |
20:21:52 | * | gokr joined #nim |
20:37:18 | * | yglukhov joined #nim |
20:58:43 | * | tinAndi joined #nim |
21:08:28 | * | desophos_ is now known as desophos |
21:19:27 | * | tinAndi quit (Quit: ChatZilla 0.9.92 [Firefox 44.0.2/20160210153822]) |
21:29:11 | federico3 | is there a script to build the released Nim tarball? |
21:59:54 | * | pregressive quit (Remote host closed the connection) |
22:10:04 | PMunch | federico3, http://nim-lang.org/download.html |
22:10:22 | PMunch | Below the download there are instructions. |
22:10:39 | PMunch | Basically unpack and run sh build.sh and then add bin to your path |
22:12:07 | federico3 | oops, no PMunch I meant how to generate the tarball :) |
22:13:09 | federico3 | very poor phrasing, sorry :) |
22:15:40 | PMunch | Aaah |
22:15:48 | PMunch | That's something else entirely :P |
22:16:41 | PMunch | Hmm |
22:17:12 | * | toaoMgeorge joined #nim |
22:17:42 | PMunch | Judging from the instructions on the GitHub page I think the tarball is just a tarred version of this: https://github.com/nim-lang/csources |
22:18:30 | PMunch | But that doesn't actually seem to build Nim entirely |
22:18:41 | federico3 | nah, there's probably more |
22:18:46 | PMunch | Just the stuff required to compile Nim |
22:20:31 | PMunch | The build.sh file in the tarball has this in it's header: # Generated from niminst |
22:20:41 | PMunch | And # To regenerate run ``niminst csource`` or ``koch csource`` |
22:22:29 | PMunch | Which, according to the niminst file, is: csource build C source code for source based installations |
22:22:59 | PMunch | So I assume that by running niminst csource you would end up with the contents of the tarball. And then simply tar it |
22:24:21 | PMunch | federico3, ^ |
22:24:49 | federico3 | maybe |
22:25:01 | * | Kingsquee joined #nim |
22:46:03 | * | Demon_Fox joined #nim |
23:02:57 | * | rok quit (Quit: rok) |
23:06:28 | * | vendethiel quit (Ping timeout: 264 seconds) |
23:07:19 | * | Toad__ joined #nim |
23:07:39 | Toad__ | was the windows module entirely removed? |
23:08:39 | * | Matthias247 quit (Read error: Connection reset by peer) |
23:12:30 | PMunch | http://nim-lang.org/docs/winlean.html that thing? |
23:16:58 | Toad__ | There was another module called "windows" that had more types and functions than winlean |
23:17:01 | Toad__ | seems to be missing now |
23:25:08 | * | boopsies is now known as boopsiesisaway |
23:25:24 | * | irrequietus quit () |
23:29:32 | cheatfate_ | Toad__, module name now oldwinapi and it can be installed by nimble |
23:32:12 | * | yglukhov quit (Remote host closed the connection) |
23:32:57 | * | bozaloshtsh quit (Ping timeout: 260 seconds) |
23:34:56 | Toad__ | Thanks cheatfate :) |
23:35:16 | Toad__ | I noticed there's a lack of macro libraries for nim, so I'm working on one |
23:37:03 | Toad__ | yay it's working :) |
23:37:07 | Toad__ | Cheers. |
23:45:24 | * | francisl quit (Quit: francisl) |
23:47:31 | PMunch | Is there a way to merge two JSON objects using the JSON module? |