00:06:13 | * | jinshil_ joined #nim |
00:09:46 | * | jinshil quit (Ping timeout: 245 seconds) |
00:36:41 | * | yglukhov joined #nim |
00:40:53 | * | yglukhov quit (Ping timeout: 246 seconds) |
01:00:12 | * | devted joined #nim |
01:13:52 | * | irrequietus quit (*.net *.split) |
01:13:53 | * | beaumonta quit (*.net *.split) |
01:13:53 | * | kunev quit (*.net *.split) |
01:13:53 | * | Gonzih quit (*.net *.split) |
01:13:53 | * | acidx quit (*.net *.split) |
01:13:53 | * | xet7 quit (*.net *.split) |
01:13:53 | * | mal`` quit (*.net *.split) |
01:13:54 | * | gsingh93 quit (*.net *.split) |
01:13:54 | * | joebo quit (*.net *.split) |
01:13:54 | * | ekarlso_ quit (*.net *.split) |
01:13:54 | * | pigmej quit (*.net *.split) |
01:14:00 | * | flyx quit (*.net *.split) |
01:14:00 | * | boop quit (*.net *.split) |
01:14:00 | * | cyraxjoe quit (*.net *.split) |
01:14:00 | * | BlaXpirit quit (*.net *.split) |
01:14:00 | * | zama quit (*.net *.split) |
01:14:00 | * | abruanese quit (*.net *.split) |
01:14:01 | * | joshbaptiste quit (*.net *.split) |
01:14:01 | * | vqrs quit (*.net *.split) |
01:14:01 | * | zielmicha_ quit (*.net *.split) |
01:14:01 | * | r4vi quit (*.net *.split) |
01:14:01 | * | SirCmpwn quit (*.net *.split) |
01:14:01 | * | jivank quit (*.net *.split) |
01:14:07 | * | pigmej joined #nim |
01:14:11 | * | acidx joined #nim |
01:14:13 | * | beaumonta joined #nim |
01:14:15 | * | kunev joined #nim |
01:14:15 | * | joebo joined #nim |
01:14:18 | * | jivank joined #nim |
01:14:21 | * | joshbaptiste joined #nim |
01:14:24 | * | irrequietus joined #nim |
01:14:24 | * | Gonzih joined #nim |
01:14:27 | * | zama_ joined #nim |
01:14:29 | * | ekarlso_ joined #nim |
01:14:40 | * | boop joined #nim |
01:14:41 | * | zama_ quit (Changing host) |
01:14:41 | * | zama_ joined #nim |
01:14:41 | * | BlaXpirit joined #nim |
01:14:43 | * | zama_ is now known as zama |
01:14:43 | * | flyx joined #nim |
01:14:49 | * | abruanese joined #nim |
01:15:05 | * | irrequietus quit (Changing host) |
01:15:05 | * | irrequietus joined #nim |
01:15:17 | * | mal`` joined #nim |
01:15:38 | * | SirCmpwn joined #nim |
01:16:39 | * | gsingh93 joined #nim |
01:16:46 | * | xet7 joined #nim |
01:17:03 | * | vqrs joined #nim |
01:18:05 | * | cyraxjoe joined #nim |
01:34:38 | * | Matthias247 quit (Read error: Connection reset by peer) |
01:40:31 | * | zielmicha_ joined #nim |
01:44:27 | * | r4vi joined #nim |
01:45:22 | * | dddddd quit (Remote host closed the connection) |
01:46:19 | * | subsetpark joined #nim |
02:10:17 | * | Sentreen quit (Read error: Connection reset by peer) |
02:10:54 | * | Sentreen joined #nim |
02:15:48 | * | arnetheduck quit (Ping timeout: 248 seconds) |
02:16:27 | * | chemist69 quit (Ping timeout: 258 seconds) |
02:28:12 | * | vasher_ quit (Quit: Connection closed for inactivity) |
02:30:25 | * | chemist69 joined #nim |
02:38:48 | * | yglukhov joined #nim |
02:43:07 | * | yglukhov quit (Ping timeout: 245 seconds) |
02:51:33 | * | brson quit (Quit: leaving) |
03:37:00 | * | devted quit (Quit: Sleeping.) |
03:39:31 | * | devted joined #nim |
03:41:33 | * | space-wizard quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
03:42:22 | * | devted quit (Client Quit) |
03:46:45 | * | subsetpark quit (Quit: Connection closed for inactivity) |
03:48:12 | * | subsetpark joined #nim |
04:10:31 | * | adeohluwa joined #nim |
04:17:33 | * | chemist69 quit (Ping timeout: 240 seconds) |
04:20:06 | * | chemist69 joined #nim |
04:41:08 | * | yglukhov joined #nim |
04:41:28 | * | Snircle quit (Quit: Textual IRC Client: www.textualapp.com) |
04:45:41 | * | yglukhov quit (Ping timeout: 248 seconds) |
04:46:13 | * | Jesin quit (Ping timeout: 248 seconds) |
04:59:25 | * | Jesin joined #nim |
05:03:48 | * | adeohluwa quit (Remote host closed the connection) |
05:23:57 | * | ARCADIVS joined #nim |
05:33:13 | * | ekianjo2 joined #nim |
05:46:27 | * | def-pri-pub quit (Quit: leaving) |
05:56:45 | * | subsetpark quit (Quit: Connection closed for inactivity) |
06:16:33 | * | ekianjo2 left #nim (#nim) |
06:22:13 | * | chemist69 quit (Ping timeout: 240 seconds) |
06:22:36 | * | chemist69 joined #nim |
06:25:39 | * | nsf joined #nim |
06:45:40 | * | bjz joined #nim |
06:55:12 | * | space-wizard joined #nim |
06:59:17 | * | yglukhov joined #nim |
07:03:33 | * | yglukhov quit (Ping timeout: 240 seconds) |
07:04:08 | * | bjz quit (Read error: Connection reset by peer) |
07:16:59 | * | bjz joined #nim |
07:26:17 | hohlerde | docopt is pretty cool |
07:35:44 | * | chemist69 quit (Ping timeout: 258 seconds) |
07:54:14 | * | chemist69 joined #nim |
08:10:51 | * | rokups joined #nim |
08:16:56 | * | bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
08:17:23 | * | yglukhov joined #nim |
08:18:27 | * | yglukhov quit (Read error: Connection reset by peer) |
08:20:15 | * | Vladar joined #nim |
08:20:24 | * | yglukhov joined #nim |
08:21:50 | * | jinshil_ quit (Read error: Connection reset by peer) |
08:21:54 | * | space-wizard quit (Read error: Connection reset by peer) |
08:22:13 | * | jinshil_ joined #nim |
08:24:24 | * | irrequietus quit (Remote host closed the connection) |
08:24:48 | * | irrequietus joined #nim |
08:25:25 | * | ekarlso_ quit (Ping timeout: 248 seconds) |
08:25:25 | * | Gonzih quit (Ping timeout: 248 seconds) |
08:25:26 | * | federico3 quit (Ping timeout: 248 seconds) |
08:25:37 | * | gsingh93 quit (Ping timeout: 245 seconds) |
08:25:37 | * | zama quit (Ping timeout: 245 seconds) |
08:25:37 | * | ldleworker quit (Ping timeout: 245 seconds) |
08:25:37 | * | zxtx quit (Ping timeout: 245 seconds) |
08:25:37 | * | fold4 quit (Ping timeout: 245 seconds) |
08:26:02 | * | mjanssen quit (Ping timeout: 245 seconds) |
08:26:41 | * | zama joined #nim |
08:26:44 | * | mjanssen joined #nim |
08:31:29 | * | pafmaf quit (*.net *.split) |
08:31:29 | * | qwertfisch quit (*.net *.split) |
08:31:29 | * | rektide quit (*.net *.split) |
08:31:30 | * | jackv quit (*.net *.split) |
08:31:30 | * | lenstr quit (*.net *.split) |
08:31:30 | * | ofelas quit (*.net *.split) |
08:31:30 | * | def- quit (*.net *.split) |
08:31:31 | * | d10n quit (*.net *.split) |
08:31:31 | * | derlafff quit (*.net *.split) |
08:31:32 | * | rinukkusu quit (*.net *.split) |
08:31:32 | * | dyce_ quit (*.net *.split) |
08:31:32 | * | javax quit (*.net *.split) |
08:31:33 | * | corecode quit (*.net *.split) |
08:31:33 | * | Calinou quit (*.net *.split) |
08:31:33 | * | tstm quit (*.net *.split) |
08:31:33 | * | FromGitter quit (*.net *.split) |
08:31:33 | * | kier quit (*.net *.split) |
08:31:33 | * | bknox quit (*.net *.split) |
08:31:34 | * | OnO quit (*.net *.split) |
08:31:34 | * | Syneh_ quit (*.net *.split) |
08:31:34 | * | NhanH quit (*.net *.split) |
08:31:34 | * | Xe quit (*.net *.split) |
08:31:35 | * | bodie_ quit (*.net *.split) |
08:31:35 | * | sarlalian quit (*.net *.split) |
08:31:36 | * | zevlg quit (*.net *.split) |
08:31:36 | * | askatasuna quit (*.net *.split) |
08:31:36 | * | gmpreussner quit (*.net *.split) |
08:31:36 | * | jtremback____ quit (*.net *.split) |
08:31:36 | * | daekano quit (*.net *.split) |
08:31:37 | * | euantor quit (*.net *.split) |
08:31:37 | * | EastByte quit (*.net *.split) |
08:31:37 | * | Sergio965 quit (*.net *.split) |
08:31:37 | * | SianaGearz quit (*.net *.split) |
08:31:37 | * | Amun_Ra quit (*.net *.split) |
08:31:37 | * | Yaiyan quit (*.net *.split) |
08:31:38 | * | athie quit (*.net *.split) |
08:31:38 | * | pleiosaur quit (*.net *.split) |
08:31:39 | * | MonsterAbyss quit (*.net *.split) |
08:32:03 | * | zxtx joined #nim |
08:34:06 | * | ldlework joined #nim |
08:34:53 | * | r4vi quit (Ping timeout: 240 seconds) |
08:35:27 | * | bjz joined #nim |
08:37:38 | * | bodie_ joined #nim |
08:37:38 | * | pafmaf joined #nim |
08:37:38 | * | qwertfisch joined #nim |
08:37:38 | * | rektide joined #nim |
08:37:38 | * | sarlalian joined #nim |
08:37:38 | * | corecode joined #nim |
08:37:38 | * | Calinou joined #nim |
08:37:38 | * | d10n joined #nim |
08:37:38 | * | athie joined #nim |
08:37:38 | * | tstm joined #nim |
08:37:38 | * | FromGitter joined #nim |
08:37:38 | * | zevlg joined #nim |
08:37:38 | * | kier joined #nim |
08:37:38 | * | gmpreussner joined #nim |
08:37:38 | * | askatasuna joined #nim |
08:37:38 | * | bknox joined #nim |
08:37:38 | * | derlafff joined #nim |
08:37:38 | * | jackv joined #nim |
08:37:38 | * | lenstr joined #nim |
08:37:38 | * | ofelas joined #nim |
08:37:38 | * | jtremback____ joined #nim |
08:37:38 | * | OnO joined #nim |
08:37:38 | * | daekano joined #nim |
08:37:38 | * | def- joined #nim |
08:37:38 | * | euantor joined #nim |
08:37:38 | * | Syneh_ joined #nim |
08:37:38 | * | EastByte joined #nim |
08:37:38 | * | Sergio965 joined #nim |
08:37:38 | * | SianaGearz joined #nim |
08:37:38 | * | rinukkusu joined #nim |
08:37:38 | * | Amun_Ra joined #nim |
08:37:38 | * | Yaiyan joined #nim |
08:37:38 | * | dyce_ joined #nim |
08:37:38 | * | Xe joined #nim |
08:37:38 | * | pleiosaur joined #nim |
08:37:38 | * | javax joined #nim |
08:37:38 | * | MonsterAbyss joined #nim |
08:38:08 | * | dyce_ quit (Max SendQ exceeded) |
08:38:21 | * | ekarlso_ joined #nim |
08:38:32 | * | Gonzih joined #nim |
08:39:18 | * | irrequietus is now known as Guest16372 |
08:39:25 | * | ldlework quit (Changing host) |
08:39:25 | * | ldlework joined #nim |
08:39:33 | * | federico3 joined #nim |
08:39:50 | * | fold4 joined #nim |
08:39:52 | * | dyce_ joined #nim |
08:39:59 | * | space-wizard joined #nim |
08:40:11 | * | zama quit (Changing host) |
08:40:11 | * | zama joined #nim |
08:40:16 | * | gsingh93 joined #nim |
08:41:44 | * | jtremback____ quit (Ping timeout: 258 seconds) |
08:46:31 | * | Andris_zbx joined #nim |
08:48:24 | * | odc joined #nim |
08:48:32 | * | cheatfate_ joined #nim |
08:50:52 | * | r4vi joined #nim |
08:51:33 | * | cheatfate quit (Ping timeout: 248 seconds) |
08:52:18 | * | jtremback____ joined #nim |
08:54:09 | chemist69 | Hi dom96, thanks a lot for the Nimble update. I understood that Nimble is now bundled with Nim, but when I update Nim via `git pull` and call both build commands `./koch boot -d:release && ./koch tools`, Nimble is still at v0.7.10. |
08:56:28 | * | NhanH joined #nim |
09:11:42 | * | gokr joined #nim |
09:13:53 | * | jinshil_ quit (Quit: Good-bye!) |
09:49:44 | * | Trustable joined #nim |
09:52:04 | mjanssen | chemist69: you'll need koch nimble |
09:52:59 | chemist69 | but koch tools did install nimble in the first place. |
09:53:55 | mjanssen | I think that changed recently (tools doesn't include nimble) |
09:54:11 | chemist69 | let me have a look... |
09:55:16 | mjanssen | brb |
09:55:22 | * | mjanssen quit (Quit: leaving) |
09:55:31 | * | mjanssen joined #nim |
10:00:44 | chemist69 | mjanssen: looks like you are right, thanks for the clarification. |
10:01:09 | chemist69 | but, running ./koch nimble gives the following git-related error: Your local changes to the following files would be overwritten by merge: .travis.yml |
10:04:31 | chemist69 | cancel that. That was me forgetting to rebuild koch again. Now it works. Nimble is at v0.8.0. Great!! |
10:08:32 | chemist69 | with the Nim compiler and koch written in Nim, you always have this hen and egg problem... ;-) |
10:27:08 | * | space-wizard quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
10:34:23 | * | byte512 joined #nim |
10:50:06 | * | Ven joined #nim |
10:58:38 | * | couven92 joined #nim |
11:04:06 | * | Matthias247 joined #nim |
11:15:13 | * | chemist69 quit (Ping timeout: 240 seconds) |
11:15:36 | * | chemist69 joined #nim |
11:16:12 | * | rbergmair joined #nim |
11:23:39 | * | couven92 quit (Read error: Connection reset by peer) |
11:24:35 | dom96 | mjanssen: chemist69: nope, koch tools also runs 'koch nimble', or at least it should |
11:26:09 | chemist69 | maybe it was my outdated version of koch that did not do it. I have now written a script that performes the update in a sensible order, so that these effects should disappear for me. |
11:30:25 | Araq | buildTools calls buildNimble |
11:31:13 | Araq | btw koch.nim is still less than 500 lines, so get over it and read it :-) |
11:33:45 | chemist69 | yes, thanks. It all works now. I probably messed it up with a not-up-to-date version of the koch binary. |
11:41:28 | * | Vladar quit (Remote host closed the connection) |
11:50:31 | * | byte512 quit (Ping timeout: 256 seconds) |
11:52:18 | * | couven92 joined #nim |
11:58:58 | * | byte512 joined #nim |
12:04:57 | * | Snircle joined #nim |
12:48:50 | * | Guest16372 quit () |
12:49:27 | * | irrequietus joined #nim |
12:54:38 | * | vlad1777d joined #nim |
12:55:54 | * | irrequietus_ joined #nim |
12:56:15 | * | irrequietus quit (Ping timeout: 256 seconds) |
13:00:37 | * | dddddd joined #nim |
13:03:00 | * | d10n quit (Ping timeout: 265 seconds) |
13:07:01 | * | d10n joined #nim |
13:07:01 | * | d10n quit (Changing host) |
13:07:01 | * | d10n joined #nim |
13:33:49 | * | bjz_ joined #nim |
13:35:25 | * | bjz quit (Ping timeout: 246 seconds) |
13:50:11 | * | gokr quit (Ping timeout: 248 seconds) |
13:51:10 | yglukhov | Araq: can't koch boot: lib/pure/ospaths.nim(605, 19) Error: 'x' cannot be assigned to |
13:52:36 | yglukhov | line 591: s/let/var |
14:38:32 | * | bjz_ quit (Quit: Textual IRC Client: www.textualapp.com) |
14:39:31 | * | gokr joined #nim |
14:39:39 | * | bjz joined #nim |
15:02:25 | dom96 | Fixed. |
15:05:52 | * | bjz_ joined #nim |
15:07:04 | * | bjz quit (Ping timeout: 255 seconds) |
15:08:37 | * | yglukhov quit (Ping timeout: 248 seconds) |
15:08:52 | * | Gilga joined #nim |
15:13:09 | * | devted joined #nim |
15:14:56 | * | yglukhov joined #nim |
15:15:44 | * | krux02 joined #nim |
15:18:42 | * | gokr quit (Ping timeout: 272 seconds) |
15:19:57 | * | yglukhov quit (Ping timeout: 272 seconds) |
15:27:46 | dom96 | The visual studio code Nim extension is actually very good. |
15:34:34 | * | def-pri-pub joined #nim |
15:41:30 | * | avsej quit (Ping timeout: 240 seconds) |
15:42:27 | * | Andris_zbx quit (Remote host closed the connection) |
15:44:45 | * | avsej joined #nim |
15:44:45 | * | avsej quit (Changing host) |
15:44:45 | * | avsej joined #nim |
15:59:10 | * | bjz_ quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
16:04:04 | * | pregressive joined #nim |
16:09:10 | * | krux02 quit (Read error: Connection reset by peer) |
16:09:31 | * | krux02 joined #nim |
16:19:21 | * | pregressive quit (Remote host closed the connection) |
16:21:26 | * | adeohluwa joined #nim |
16:26:24 | * | dddddd quit (Remote host closed the connection) |
16:29:43 | * | adeohluwa quit (Ping timeout: 246 seconds) |
16:30:06 | Calinou | yes, tried it a bit, it works well |
16:30:11 | Calinou | has linting built-in too |
16:30:16 | * | odc quit () |
16:35:42 | dom96 | Currently missing Aporia's F5 for compiling and running |
16:36:54 | * | pregressive joined #nim |
16:54:18 | * | yglukhov joined #nim |
16:54:19 | * | Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
16:59:23 | * | yglukhov quit (Ping timeout: 272 seconds) |
17:00:28 | * | beaumonta quit (Remote host closed the connection) |
17:00:45 | * | beaumonta joined #nim |
17:01:58 | * | yglukhov joined #nim |
17:06:29 | * | yglukhov quit (Ping timeout: 258 seconds) |
17:10:54 | * | odc joined #nim |
17:11:15 | * | Sentreen quit (Ping timeout: 248 seconds) |
17:29:21 | * | mwoodruff joined #nim |
17:34:52 | mjanssen | that's F6 in VSC |
17:35:09 | cheatfate_ | dom96, how about to handle 1m lines? because vsc doesn't support it :) |
17:35:19 | dom96 | mjanssen: yes, but it doesn't work as well as in Aporia. |
17:35:49 | dom96 | cheatfate_: really? How often do you open such files? |
17:37:46 | mjanssen | dom96: I work with XML exports a lot, that's a no-go in VSC. But for code it's great and I still have vim for huge stuff. |
17:39:23 | * | fredrik92 joined #nim |
17:39:43 | * | yglukhov joined #nim |
17:41:04 | * | fredrik92 quit (Client Quit) |
17:42:27 | cheatfate_ | dom96, i mean 1 million lines in one file :) |
17:42:45 | cheatfate_ | but happens sometime |
17:42:58 | dom96 | I know |
17:43:14 | dom96 | Then you can do precisely what mjanssen does |
17:43:52 | * | space-wizard joined #nim |
17:44:20 | * | yglukhov quit (Ping timeout: 272 seconds) |
17:45:44 | cheatfate_ | dom96, i think gtksourceview can handle it :) |
17:46:00 | * | couven92 quit (Disconnected by services) |
17:46:17 | dom96 | gtksourceview can't even handle 10k characters on a single line |
17:46:25 | dom96 | although that is a bug |
17:46:26 | * | fredrik92 joined #nim |
17:46:35 | dom96 | and is probably fixed in gtk3 |
17:49:41 | * | Jesin quit (Quit: Leaving) |
17:52:07 | * | Jesin joined #nim |
17:53:12 | * | nsf quit (Quit: WeeChat 1.6) |
17:57:27 | * | couven92 joined #nim |
18:04:15 | * | mwoodruff left #nim (#nim) |
18:12:00 | * | ARCADIVS quit (Quit: ARCADIVS) |
18:18:13 | * | brson joined #nim |
18:35:08 | * | space-wi_ joined #nim |
18:36:49 | * | space-wizard quit (Ping timeout: 256 seconds) |
18:40:32 | * | nsf joined #nim |
18:46:35 | * | couven92 quit (Quit: Leaving) |
18:48:21 | * | fredrik92 quit (Quit: Client disconnecting) |
19:12:13 | * | Gilga quit (Ping timeout: 240 seconds) |
19:27:13 | * | aedigix quit (Remote host closed the connection) |
19:27:39 | * | aedigix joined #nim |
19:28:24 | * | yglukhov joined #nim |
19:31:10 | krux02 | I think it's weird. 1 million lines with 80 characters each is 80mb. Todays computers have gigabytes of memory. I know that smart context sensitive stuff might fail here, but data in that size can be processed in milliseconds. |
19:32:42 | * | yglukhov quit (Ping timeout: 245 seconds) |
19:42:01 | * | rokups quit (Quit: Connection closed for inactivity) |
19:44:34 | * | GustavoLapasta joined #nim |
19:45:39 | GustavoLapasta | Hello, I see in the manual that I can do forward declaration for procs. How do I do forward declaration for types/objects? |
19:47:01 | * | Jesin quit (Quit: Leaving) |
19:48:42 | dom96 | GustavoLapasta: I'm afraid you can't. |
19:50:21 | krux02 | GustavoLapasta: you should be able to work around it. within one type section, you do not need to forward declare anything, because later types are visible to older types |
19:58:12 | GustavoLapasta | krux02 I'm not sure I understand what you mean, here's what I'm trying to do https://paste.kde.org/pugil9qdp |
19:59:50 | * | cheatfate_ is now known as cheatfate |
20:00:11 | krux02 | GustavoLapasta: https://paste.kde.org/pzvwwml9o |
20:00:36 | krux02 | why do you have enet_uint32? |
20:00:45 | krux02 | i think uint32 is enough |
20:01:55 | GustavoLapasta | Just trying to rewrite libenet to learn nim. |
20:02:14 | GustavoLapasta | I'll eventually get rid of all those typedefs |
20:02:48 | GustavoLapasta | anyway thanks krux02, seems like an appropriate solution |
20:03:34 | krux02 | in c those typedefs are used, because builtin types lack a fixed defined size. |
20:04:29 | GustavoLapasta | yes, there's plenty of things that can be than in a more Nim-ish way |
20:05:47 | * | gokr joined #nim |
20:06:50 | GustavoLapasta | wtf did I write? "Done", not "than". |
20:08:31 | * | yglukhov joined #nim |
20:11:54 | * | brson quit (Ping timeout: 272 seconds) |
20:11:55 | * | yglukhov quit (Read error: Connection reset by peer) |
20:12:05 | * | yglukhov joined #nim |
20:16:10 | * | yglukhov quit (Ping timeout: 246 seconds) |
20:20:23 | * | yglukhov joined #nim |
20:23:06 | * | yglukhov quit (Read error: Connection reset by peer) |
20:23:21 | * | yglukhov joined #nim |
20:27:33 | * | yglukhov quit (Ping timeout: 248 seconds) |
20:32:58 | * | yglukhov joined #nim |
20:33:46 | * | couven92 joined #nim |
20:34:15 | * | Sentreen joined #nim |
20:37:13 | * | yglukhov quit (Ping timeout: 240 seconds) |
20:40:19 | * | Sentreen quit (Ping timeout: 246 seconds) |
20:57:54 | * | Jesin joined #nim |
21:02:41 | * | yglukhov joined #nim |
21:03:24 | * | Sentreen joined #nim |
21:06:02 | * | gokr quit (Ping timeout: 245 seconds) |
21:07:38 | * | yglukhov quit (Ping timeout: 272 seconds) |
21:07:47 | GustavoLapasta | any usage examples for DoublyLinkedLists? Google has none |
21:17:55 | * | Mat4 joined #nim |
21:23:44 | * | yglukhov joined #nim |
21:24:02 | * | Mat4 quit (Quit: Leaving) |
21:25:57 | * | yglukhov_ joined #nim |
21:27:57 | * | pie_ quit (Ping timeout: 256 seconds) |
21:28:33 | * | yglukhov quit (Ping timeout: 272 seconds) |
21:30:06 | * | yglukhov joined #nim |
21:30:29 | * | yglukhov_ quit (Ping timeout: 248 seconds) |
21:30:42 | cheatfate | How properly check if seq[T] was initialized or not? |
21:33:39 | * | boop quit (Ping timeout: 258 seconds) |
21:34:13 | * | yglukhov quit (Ping timeout: 246 seconds) |
21:35:45 | cheatfate | Araq, can i just check isNil(seq[T])? |
21:39:26 | Araq | sure |
21:40:51 | * | rbergmair quit (Quit: Leaving.) |
21:43:37 | * | dddddd joined #nim |
21:46:48 | * | brson joined #nim |
22:08:49 | * | bjz joined #nim |
22:11:53 | * | yglukhov joined #nim |
22:16:21 | * | yglukhov quit (Ping timeout: 248 seconds) |
22:44:54 | FromGitter | <grumblygibson> Anyone get the nim libui wrapper to work recently?[https://github.com/nim-lang/ui] I had it working some months ago on another system, but now the demo exec is complaining: could not import: uiInit Am I forgetting to specify a path or something? nim --app:lib c ui && nim c controllgallery |
22:48:50 | * | GustavoLapasta quit (Quit: Leaving) |
22:49:36 | * | bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
22:51:26 | * | Matthias247_ joined #nim |
22:54:22 | * | Matthias247 quit (Ping timeout: 246 seconds) |
22:55:44 | Araq | nim --app:lib c ui ? |
22:56:12 | Araq | libui uses a DLL, but shouldn't be built as a DLL |
22:57:01 | FromGitter | <grumblygibson> ...okay. but then if I only compile the example, it will complain: could not load: libui.dylib |
22:57:55 | FromGitter | <grumblygibson> That's why I thought ui.nim should be compiled as a library. |
22:58:54 | FromGitter | <grumblygibson> oh... libui.dylib comes from the libui repo then I suspect. |
22:59:13 | FromGitter | <grumblygibson> Well that was stupid of me! |
22:59:14 | Araq | there is a PR with binaries |
22:59:25 | Araq | which we could host |
23:00:21 | Araq | ah but none for osx |
23:07:44 | * | bjz joined #nim |
23:12:16 | FromGitter | <grumblygibson> Okay, I'm back to my project working. Now I've been trying to get a static build of this to use the libui.a. It looks like --dynlibOverride:ui and --clib:libui are meant for enforcing static linking. Is this wrong and is there a better approach? |
23:12:38 | krux02 | GustavoLapasta: don't use DoublyLinkedLists, use seq instead. There is almost no example where that type is useful. |
23:14:23 | Araq | grumblygibson sounds right. |
23:16:05 | krux02 | Araq: did you see my pull request? |
23:16:12 | FromGitter | <grumblygibson> I saw the one with binaries. |
23:16:46 | FromGitter | <grumblygibson> Araq thanks for the help. |
23:16:57 | krux02 | I did not add binaries |
23:17:47 | krux02 | just changed the implementation of htmlgen.nim to not use expr and immediate anymore and with it fix a bug that was reported |
23:19:26 | FromGitter | <grumblygibson> krux02, sorry erroneous post on my part. |
23:19:28 | krux02 | but I am not sure if everything works with my change since I am not working with html, I am just working with macros and saw that as an easy to fix problem |
23:19:58 | Araq | krux02: please test if nimforum compiles with this change |
23:20:08 | krux02 | how do I do that? |
23:20:28 | Araq | git clone https://gitthub.com/nim-lang/nimforum |
23:20:31 | Araq | cd nimforum |
23:20:37 | Araq | nim c forum.nim |
23:21:13 | * | def-pri-pub quit (Ping timeout: 240 seconds) |
23:21:18 | Araq | without the typo |
23:22:01 | krux02 | nimble build did work |
23:22:21 | krux02 | yes it does work |
23:22:51 | Araq | ok, good enough for me then :-) |
23:23:00 | Araq | is this module deprecated already? |
23:23:21 | * | def-pri-pub joined #nim |
23:23:21 | * | def-pri-pub quit (Changing host) |
23:23:21 | * | def-pri-pub joined #nim |
23:24:52 | krux02 | which one? |
23:25:27 | Araq | htmlgen, oh well. |
23:25:31 | * | yglukhov joined #nim |
23:25:49 | krux02 | `expr` and `immediate` is depricated as far as I know |
23:27:02 | Araq | yeah but we should have a better htmlgen in the stdlib |
23:27:27 | cheatfate | `Error: obsolete usage of 'defined', use 'declared' instead` is `declared` == `defined`? |
23:27:43 | krux02 | yes maybe |
23:29:07 | krux02 | I haven't used it, but I used the macros module, and often I wished a few more fucntional concepts |
23:29:25 | krux02 | wait that is not correct |
23:30:21 | * | yglukhov quit (Ping timeout: 256 seconds) |
23:30:47 | * | Gilga joined #nim |
23:30:49 | krux02 | I wanted a better quote in the macros module, that allows to have arbitrary layers of quoted and unquoted nim code |
23:32:50 | krux02 | something like this: quote: [ +{ for i in 1 .. 3: yield newLit(i) }+ ] |
23:32:50 | Araq | cheatfate: no, these are very different |
23:33:03 | Araq | defined(foo) refers to -d:foo command line |
23:33:18 | Araq | declared(foo) is whether some Nim identifier 'foo' is known. |
23:34:24 | Araq | krux02: I dislike quoting so I use templates+getAst |
23:34:28 | krux02 | that would then evaluate to the ast with this repr: [1,2,3] |
23:34:42 | krux02 | Araq: I use it heavyly |
23:35:52 | krux02 | I realised that the templates I write are often short and used only once. The code becomes easier to read, when the templates are written inline (with quote) |
23:37:29 | dom96 | krux02: maybe you could write a macro that implements nice quoting |
23:38:04 | Araq | the existing quote can be done with macros already |
23:38:22 | krux02 | that's nice |
23:38:27 | Araq | zahary wrote it as a compiler builtin for performance |
23:40:59 | krux02 | maybe someday in the future nim internally doesn't use an interpreter, but can compile macros the same way as normal code, and then they become super fast, and nothing needs to be compiler builtin for performance anymore |
23:40:59 | Araq | hmm, why does gorgeEx requrie a new VM instruction format? a double ABC instruction? |
23:41:48 | Araq | krux02: no, well get efficient compiler caches instead. |
23:45:55 | Araq | the interpreter is fast btw, it uses a register based VM |
23:50:25 | * | dddddd quit (Remote host closed the connection) |
23:53:36 | * | Matthias247_ quit (Read error: Connection reset by peer) |