00:18:48 | * | gokr joined #nim |
00:39:58 | * | Matthias247 quit (Read error: Connection reset by peer) |
00:53:06 | * | gokr quit (Ping timeout: 256 seconds) |
00:57:04 | * | ephja quit (Ping timeout: 250 seconds) |
01:04:27 | * | arnetheduck joined #nim |
01:05:35 | * | derka quit (Quit: derka) |
01:09:16 | * | Jesin joined #nim |
01:16:38 | * | jaco60 quit (Ping timeout: 250 seconds) |
01:21:27 | * | wireddude joined #nim |
01:30:04 | * | wireddude quit (Ping timeout: 250 seconds) |
01:31:53 | * | wireddude joined #nim |
01:40:50 | * | derka joined #nim |
01:42:47 | * | wireddude quit (Ping timeout: 264 seconds) |
01:43:48 | * | derka quit (Client Quit) |
01:53:31 | * | brson quit (Quit: leaving) |
02:31:44 | * | wireddude joined #nim |
02:35:12 | * | wireddude quit (Read error: Connection reset by peer) |
02:35:23 | * | Sornaensis quit (Excess Flood) |
02:35:38 | * | wireddude joined #nim |
02:35:46 | * | Sornaensis joined #nim |
02:42:15 | * | dashed joined #nim |
02:49:31 | * | Dildosan joined #nim |
02:49:50 | * | wireddude quit (Ping timeout: 256 seconds) |
03:02:20 | * | Dildosan quit (Quit: Leaving) |
03:31:32 | * | arnetheduck quit (Ping timeout: 265 seconds) |
03:43:07 | * | arnetheduck joined #nim |
05:57:51 | * | pregressive quit (Remote host closed the connection) |
05:58:24 | * | pregressive joined #nim |
06:02:40 | * | pregress_ joined #nim |
06:02:46 | * | pregressive quit (Ping timeout: 240 seconds) |
06:13:53 | * | wireddude joined #nim |
06:20:26 | * | lompik quit (Ping timeout: 240 seconds) |
06:22:29 | * | gokr joined #nim |
06:30:22 | * | wireddude quit (Ping timeout: 265 seconds) |
06:40:59 | * | wireddude joined #nim |
06:44:30 | * | endragor joined #nim |
06:47:58 | * | darkf joined #nim |
06:48:40 | * | wireddude quit (Ping timeout: 260 seconds) |
06:51:02 | * | pregress_ quit () |
06:55:20 | * | endragor quit (Remote host closed the connection) |
06:57:57 | * | endragor joined #nim |
07:13:14 | * | gour joined #nim |
07:19:26 | * | gokr quit (Ping timeout: 240 seconds) |
07:30:21 | * | dashed quit (Quit: Connection closed for inactivity) |
07:51:17 | * | Senketsu quit (Quit: Leaving) |
08:04:39 | * | yglukhov joined #nim |
08:08:50 | * | yglukhov quit (Ping timeout: 245 seconds) |
08:09:56 | * | desophos quit (Read error: Connection reset by peer) |
08:27:36 | * | Demon_Fox quit (Quit: Leaving) |
08:37:29 | * | yglukhov joined #nim |
09:07:19 | * | yglukhov quit (Remote host closed the connection) |
09:08:12 | * | yglukhov joined #nim |
09:08:25 | * | cyraxjoe quit (Ping timeout: 265 seconds) |
09:10:44 | * | cyraxjoe joined #nim |
09:12:35 | * | yglukhov quit (Ping timeout: 245 seconds) |
09:15:22 | * | cyraxjoe quit (Client Quit) |
09:19:37 | * | Salewski joined #nim |
09:21:48 | Salewski | Araq: For open arrays as proc parameters we have: proc testOpenArray(x: openArray[int]) = echo repr(x) # do we really need the open prefix, why not just proc testOpenArray(x: Array[int]) = echo repr(x) |
09:22:44 | Salewski | Should be clear for the compiler when there is only a type but no range given for that array, that it is a open one? |
09:46:10 | * | gokr joined #nim |
09:52:06 | Salewski | Currently forum reply/edit does not work: "An error has occured in one of your routes." :-) |
09:52:26 | Salewski | Bye. |
09:52:29 | * | Salewski quit () |
09:57:49 | * | yglukhov joined #nim |
10:02:10 | * | yglukhov quit (Ping timeout: 245 seconds) |
10:24:11 | * | Matthias247 joined #nim |
10:27:52 | * | yglukhov joined #nim |
10:28:48 | * | darkf_ joined #nim |
10:29:15 | * | yglukhov quit (Remote host closed the connection) |
10:32:06 | * | darkf quit (Ping timeout: 240 seconds) |
10:36:11 | * | endragor quit (Remote host closed the connection) |
10:36:45 | * | theduke quit (Ping timeout: 245 seconds) |
10:41:55 | * | Dildosan joined #nim |
10:47:02 | * | theduke joined #nim |
10:51:52 | * | endragor joined #nim |
11:00:12 | * | derka joined #nim |
11:04:26 | * | derka quit (Ping timeout: 240 seconds) |
11:11:08 | * | gokr quit (Quit: Leaving.) |
11:12:05 | * | derka joined #nim |
11:17:36 | * | jaco60 joined #nim |
11:22:33 | * | ephja joined #nim |
11:29:43 | * | yglukhov joined #nim |
11:31:07 | wuehlmaus | i try to use the os module and walkDirRec with getFileSize but i Error: unhandled exception: No such device or address [OSError] |
11:31:12 | wuehlmaus | i got |
11:31:43 | * | yglukhov quit (Read error: Connection reset by peer) |
11:31:51 | wuehlmaus | where can i put that ignorePermissionError = true stuff? |
11:34:27 | wuehlmaus | sorry, ignorePermissionErrors |
11:48:46 | * | darkf_ is now known as darkf |
11:51:30 | * | yglukhov joined #nim |
11:53:40 | endragor | wuehlmaus: what are you trying to ignore? you can catch and ignore the exception if you want to. ignorePermissionError flag is only valid for methods that try to copy file attributes |
12:04:55 | * | yglukhov quit (Remote host closed the connection) |
12:06:27 | endragor | how can I output the code that a statement macro has generated? it seems `getAst` only works with expression macros |
12:07:48 | wuehlmaus | that was my misconception. i thought that i could getFileSize to just ignore the error cause. keep in mind, i am a rather stupid programmer, i am just playing around ;) |
12:17:24 | * | darkf_ joined #nim |
12:19:10 | * | darkf_ quit (Client Quit) |
12:25:00 | * | Sornaensis quit (*.net *.split) |
12:25:00 | * | Jesin quit (*.net *.split) |
12:25:00 | * | silven_ quit (*.net *.split) |
12:25:00 | * | RGeisel_4 quit (*.net *.split) |
12:25:01 | * | dv-_ quit (*.net *.split) |
12:25:01 | * | vendethiel quit (*.net *.split) |
12:25:02 | * | RGeisel_3 quit (*.net *.split) |
12:25:02 | * | RGeisel_ quit (*.net *.split) |
12:25:02 | * | RGeisel__ quit (*.net *.split) |
12:25:02 | * | dyce quit (*.net *.split) |
12:25:02 | * | rinukkusu_ quit (*.net *.split) |
12:25:02 | * | biscarch quit (*.net *.split) |
12:25:02 | * | Guest78691 quit (*.net *.split) |
12:25:03 | * | apotheon quit (*.net *.split) |
12:25:03 | * | def- quit (*.net *.split) |
12:25:03 | * | jsudlow quit (*.net *.split) |
12:25:03 | * | ludocode_ quit (*.net *.split) |
12:25:03 | * | dthrvr quit (*.net *.split) |
12:25:04 | * | r-ku quit (*.net *.split) |
12:25:04 | * | M-max quit (*.net *.split) |
12:25:04 | * | so quit (*.net *.split) |
12:25:04 | * | liori quit (*.net *.split) |
12:25:05 | * | devn_ quit (*.net *.split) |
12:25:06 | * | gsingh93 quit (*.net *.split) |
12:25:06 | * | federico3 quit (*.net *.split) |
12:25:06 | * | Amrykid quit (*.net *.split) |
12:25:06 | * | jck quit (*.net *.split) |
12:25:06 | * | clone1018 quit (*.net *.split) |
12:25:06 | * | DecoPerson quit (*.net *.split) |
12:25:06 | * | zxtx quit (*.net *.split) |
12:25:06 | * | flyx quit (*.net *.split) |
12:25:07 | * | \u quit (*.net *.split) |
12:25:07 | * | mlitwiniuk quit (*.net *.split) |
12:25:07 | * | JStoker quit (*.net *.split) |
12:25:08 | * | theduke quit (*.net *.split) |
12:25:08 | * | mikolalysenko quit (*.net *.split) |
12:25:08 | * | Varriount_ quit (*.net *.split) |
12:25:08 | * | mountaingoat quit (*.net *.split) |
12:25:08 | * | delian66_ quit (*.net *.split) |
12:25:08 | * | lg_` quit (*.net *.split) |
12:25:08 | * | MyMind quit (*.net *.split) |
12:25:09 | * | huonw quit (*.net *.split) |
12:25:09 | * | zama quit (*.net *.split) |
12:25:09 | * | cncl quit (*.net *.split) |
12:25:10 | * | CARAM__ quit (*.net *.split) |
12:25:10 | * | Learath2 quit (*.net *.split) |
12:25:11 | * | Araq_ quit (*.net *.split) |
12:25:11 | * | Dildosan quit (*.net *.split) |
12:25:11 | * | gour quit (*.net *.split) |
12:25:11 | * | vegansk quit (*.net *.split) |
12:25:12 | * | RGeisel_2 quit (*.net *.split) |
12:25:12 | * | ldlework quit (*.net *.split) |
12:25:12 | * | thotypous quit (*.net *.split) |
12:25:12 | * | Roin quit (*.net *.split) |
12:25:12 | * | sarlalian quit (*.net *.split) |
12:25:12 | * | dom96 quit (*.net *.split) |
12:25:13 | * | rektide quit (*.net *.split) |
12:25:13 | * | Xe quit (*.net *.split) |
12:25:13 | * | OmIkRoNiXz quit (*.net *.split) |
12:25:14 | * | tstm quit (*.net *.split) |
12:25:14 | * | cratuki quit (*.net *.split) |
12:25:14 | * | mrkishi quit (*.net *.split) |
12:25:14 | * | nsf quit (*.net *.split) |
12:25:14 | * | RGeisel_1 quit (*.net *.split) |
12:25:15 | * | RGeisel quit (*.net *.split) |
12:25:15 | * | Wildefyr quit (*.net *.split) |
12:25:15 | * | RushPL quit (*.net *.split) |
12:25:15 | * | _stowa quit (*.net *.split) |
12:25:15 | * | SianaGearz quit (*.net *.split) |
12:25:16 | * | Matthias247 quit (*.net *.split) |
12:25:17 | * | BlaXpirit quit (*.net *.split) |
12:25:17 | * | lankanmon_ quit (*.net *.split) |
12:25:18 | * | fold3 quit (*.net *.split) |
12:25:18 | * | wh1t3r0s3 quit (*.net *.split) |
12:25:18 | * | regtools quit (*.net *.split) |
12:25:18 | * | OnO quit (*.net *.split) |
12:25:19 | * | derka quit (*.net *.split) |
12:25:19 | * | bozaloshtsh quit (*.net *.split) |
12:25:19 | * | nchambers quit (*.net *.split) |
12:25:19 | * | gmpreussner quit (*.net *.split) |
12:25:19 | * | vqrs quit (*.net *.split) |
12:25:20 | * | EastByte quit (*.net *.split) |
12:25:20 | * | lyro quit (*.net *.split) |
12:25:20 | * | mal``` quit (*.net *.split) |
12:25:20 | * | Amun_Ra quit (*.net *.split) |
12:25:21 | * | lenstr quit (*.net *.split) |
12:25:21 | * | avsej quit (*.net *.split) |
12:25:21 | * | themagician quit (*.net *.split) |
12:25:21 | * | SirCmpwn quit (*.net *.split) |
12:25:22 | * | sjums quit (*.net *.split) |
12:25:22 | * | reactormonk quit (*.net *.split) |
12:25:22 | * | niv quit (*.net *.split) |
12:25:22 | * | jaco60 quit (*.net *.split) |
12:25:22 | * | darkf quit (*.net *.split) |
12:25:22 | * | arnetheduck quit (*.net *.split) |
12:25:23 | * | k1io quit (*.net *.split) |
12:25:23 | * | NhanH quit (*.net *.split) |
12:25:23 | * | AckZ quit (*.net *.split) |
12:25:23 | * | zaquest quit (*.net *.split) |
12:25:23 | * | onionhammer quit (*.net *.split) |
12:25:24 | * | mtj_ quit (*.net *.split) |
12:25:24 | * | pleiosau1 quit (*.net *.split) |
12:25:25 | * | nim-buildbot quit (*.net *.split) |
12:25:25 | * | Guest4360 quit (*.net *.split) |
12:25:25 | * | Gonzih quit (*.net *.split) |
12:25:25 | * | jackv quit (*.net *.split) |
12:25:26 | * | someplace quit (*.net *.split) |
12:25:26 | * | cnu- quit (*.net *.split) |
12:25:26 | * | heinrich5991 quit (*.net *.split) |
12:25:26 | * | pigmej quit (*.net *.split) |
12:28:22 | * | mrkishi joined #nim |
12:28:22 | * | tstm joined #nim |
12:28:22 | * | cratuki joined #nim |
12:28:22 | * | SirCmpwn joined #nim |
12:28:22 | * | darkf_ joined #nim |
12:28:22 | * | theduke joined #nim |
12:28:22 | * | Sornaensis joined #nim |
12:28:22 | * | Jesin joined #nim |
12:28:22 | * | silven_ joined #nim |
12:28:22 | * | mikolalysenko joined #nim |
12:28:22 | * | apotheon joined #nim |
12:28:22 | * | def- joined #nim |
12:28:22 | * | Varriount_ joined #nim |
12:28:22 | * | vendethiel joined #nim |
12:28:22 | * | jsudlow joined #nim |
12:28:22 | * | RGeisel_4 joined #nim |
12:28:22 | * | mountaingoat joined #nim |
12:28:22 | * | dv-_ joined #nim |
12:28:22 | * | delian66_ joined #nim |
12:28:22 | * | liori joined #nim |
12:28:22 | * | ludocode_ joined #nim |
12:28:22 | * | devn_ joined #nim |
12:28:22 | * | lg_` joined #nim |
12:28:22 | * | MyMind joined #nim |
12:28:22 | * | huonw joined #nim |
12:28:22 | * | RGeisel_3 joined #nim |
12:28:22 | * | RGeisel_ joined #nim |
12:28:22 | * | RGeisel__ joined #nim |
12:28:22 | * | dyce joined #nim |
12:28:22 | * | rinukkusu_ joined #nim |
12:28:22 | * | dthrvr joined #nim |
12:28:22 | * | r-ku joined #nim |
12:28:22 | * | zama joined #nim |
12:28:22 | * | biscarch joined #nim |
12:28:22 | * | Guest78691 joined #nim |
12:28:22 | * | M-max joined #nim |
12:28:22 | * | gsingh93 joined #nim |
12:28:22 | * | so joined #nim |
12:28:22 | * | federico3 joined #nim |
12:28:22 | * | cncl joined #nim |
12:28:22 | * | Amrykid joined #nim |
12:28:22 | * | \u joined #nim |
12:28:22 | * | flyx joined #nim |
12:28:22 | * | zxtx joined #nim |
12:28:22 | * | DecoPerson joined #nim |
12:28:22 | * | clone1018 joined #nim |
12:28:22 | * | jck joined #nim |
12:28:22 | * | CARAM__ joined #nim |
12:28:22 | * | mlitwiniuk joined #nim |
12:28:22 | * | Learath2 joined #nim |
12:28:22 | * | JStoker joined #nim |
12:28:22 | * | Araq_ joined #nim |
12:29:46 | * | jaco60 joined #nim |
12:29:46 | * | arnetheduck joined #nim |
12:29:46 | * | k1io joined #nim |
12:29:46 | * | NhanH joined #nim |
12:29:46 | * | AckZ joined #nim |
12:29:46 | * | zaquest joined #nim |
12:29:46 | * | onionhammer joined #nim |
12:29:46 | * | mtj_ joined #nim |
12:29:46 | * | pleiosau1 joined #nim |
12:29:46 | * | cnu- joined #nim |
12:29:46 | * | Guest4360 joined #nim |
12:29:46 | * | Gonzih joined #nim |
12:29:46 | * | jackv joined #nim |
12:29:46 | * | someplace joined #nim |
12:29:46 | * | heinrich5991 joined #nim |
12:29:46 | * | pigmej joined #nim |
12:29:58 | * | Matthias247 joined #nim |
12:29:58 | * | BlaXpirit joined #nim |
12:29:58 | * | lankanmon_ joined #nim |
12:29:58 | * | fold3 joined #nim |
12:29:58 | * | regtools joined #nim |
12:29:58 | * | wh1t3r0s3 joined #nim |
12:29:58 | * | OnO joined #nim |
12:29:59 | * | aziz joined #nim |
12:30:13 | * | _stowa joined #nim |
12:30:15 | * | derka joined #nim |
12:30:15 | * | bozaloshtsh joined #nim |
12:30:15 | * | gmpreussner joined #nim |
12:30:15 | * | vqrs joined #nim |
12:30:15 | * | EastByte joined #nim |
12:30:15 | * | sjums joined #nim |
12:30:15 | * | lyro joined #nim |
12:30:15 | * | mal``` joined #nim |
12:30:15 | * | Amun_Ra joined #nim |
12:30:15 | * | lenstr joined #nim |
12:30:15 | * | avsej joined #nim |
12:30:15 | * | themagician joined #nim |
12:30:15 | * | reactormonk joined #nim |
12:30:15 | * | niv joined #nim |
12:30:20 | * | Xe joined #nim |
12:30:23 | * | Dildosan joined #nim |
12:30:23 | * | gour joined #nim |
12:30:23 | * | vegansk joined #nim |
12:30:23 | * | RGeisel_2 joined #nim |
12:30:23 | * | ldlework joined #nim |
12:30:23 | * | thotypous joined #nim |
12:30:23 | * | Roin joined #nim |
12:30:23 | * | sarlalian joined #nim |
12:30:23 | * | dom96 joined #nim |
12:30:23 | * | rektide joined #nim |
12:30:23 | * | OmIkRoNiXz joined #nim |
12:30:37 | * | Amun_Ra quit (Max SendQ exceeded) |
12:30:44 | * | nchambers joined #nim |
12:30:52 | * | Amun_Ra joined #nim |
12:31:13 | * | nsf joined #nim |
12:31:13 | * | RGeisel_1 joined #nim |
12:31:13 | * | RGeisel joined #nim |
12:31:13 | * | Wildefyr joined #nim |
12:31:13 | * | RushPL joined #nim |
12:31:13 | * | SianaGearz joined #nim |
12:31:40 | * | tstm quit (*.net *.split) |
12:31:40 | * | cratuki quit (*.net *.split) |
12:31:40 | * | mrkishi quit (*.net *.split) |
12:31:42 | * | M-max quit (Ping timeout: 250 seconds) |
12:32:07 | * | cratuki joined #nim |
12:32:07 | * | tstm joined #nim |
12:32:07 | * | mrkishi joined #nim |
12:33:07 | * | Rush_ joined #nim |
12:33:46 | * | M-max joined #nim |
12:35:48 | * | RushPL quit (Quit: No Ping reply in 180 seconds.) |
12:35:49 | * | Wildefyr quit (Ping timeout: 272 seconds) |
12:35:50 | * | RGeisel quit (Ping timeout: 272 seconds) |
12:35:50 | * | RGeisel joined #nim |
12:37:17 | * | Wildefyr joined #nim |
12:38:05 | * | M-max quit (Ping timeout: 260 seconds) |
12:38:28 | * | allan0 quit (Quit: no) |
12:41:15 | * | allan0 joined #nim |
12:42:49 | Araq_ | endragor: echo repr result as the last macro statement |
12:44:00 | * | darkf_ is now known as darkf |
12:46:50 | endragor | Araq_: thank you! |
12:55:22 | * | M-max joined #nim |
13:04:27 | endragor | can I somehow make Nim know about inheritance relationship between C++ classes I'm interfacing with? So that the pointer to child class instance can be passed where the pointer to base class instance is expected. |
13:05:24 | * | yglukhov joined #nim |
13:06:05 | Araq_ | object of Foo works for .importcpp |
13:06:46 | endragor | oh, nice! |
13:10:55 | * | yglukhov quit (Ping timeout: 245 seconds) |
13:12:14 | * | M-max quit (Ping timeout: 272 seconds) |
13:16:33 | * | M-max joined #nim |
13:28:33 | * | yglukhov joined #nim |
13:34:49 | * | yglukhov quit (Remote host closed the connection) |
13:37:43 | * | yglukhov joined #nim |
13:49:23 | * | yglukhov quit (Remote host closed the connection) |
13:56:50 | * | M-max quit (Ping timeout: 260 seconds) |
14:07:59 | * | gokr joined #nim |
14:14:52 | Wildefyr | hey looking at the loops section and alittle bit confused to why when echoing a statement we need to use $ infront of the variable name but then with inc() we do not |
14:15:03 | Wildefyr | seems inconsistent |
14:15:30 | * | yglukhov joined #nim |
14:18:06 | * | kungtotte joined #nim |
14:19:40 | * | arnetheduck quit (Ping timeout: 250 seconds) |
14:19:40 | * | yglukhov quit (Ping timeout: 245 seconds) |
14:28:26 | * | kungtotte quit (Quit: Page closed) |
14:28:35 | * | M-max joined #nim |
14:29:08 | flyx | Wildefyr: $ is actually not needed. |
14:29:27 | Wildefyr | does it do anything at all? |
14:29:44 | flyx | but if you think about it, it's not inconsistent: inc() takes a numeric parameter. echo outputs a string |
14:29:45 | Wildefyr | tutorial probably needs some clarification |
14:30:00 | flyx | if you give echo something else than a string, it will use $ implicitly |
14:30:13 | Wildefyr | right |
14:30:18 | flyx | so the tutorial just shows how to do it explicitly |
14:30:37 | Wildefyr | yeah that was the detail i was looking for |
14:30:39 | Wildefyr | thanks |
14:32:14 | * | lompik joined #nim |
14:58:06 | * | mal``` quit (K-Lined) |
15:03:51 | * | mal`` joined #nim |
15:37:16 | * | Trustable joined #nim |
15:37:17 | gour | do you find that nimscript is good-enough for most use-cases as build system, iow. no need for cmake/scons/waf/etc. ? |
15:40:08 | * | Dildosan quit (Remote host closed the connection) |
15:42:44 | flyx | gour: I use cmake excessively in a C++ project. it's mainly useful for code and documentation generation, as well as configuring dependencies. I think that nim doesn't really need much code generation as you can do most of it with metaprogramming. for dependencies, we have nimble. documentation generation can be done with nim for dev doc, and even if the software is complex enough to require a manual, that wouldn't be too hard to generate with nimscript, I guess |
15:43:07 | * | derka_ joined #nim |
15:44:06 | gour | flyx: i'm asking in order not to have learning cmake or something else...and no need for C(++) in my projects, except nim bindings for some C lib |
15:44:26 | * | derka quit (Ping timeout: 240 seconds) |
15:44:26 | * | derka_ is now known as derka |
15:46:23 | flyx | gour: well, linking to C libs is always a pain if you want a platform-independent build configuration. you probably want to call pkg-config for that - that might be a good add-on to nimscript |
15:47:13 | flyx | (or do whatever you do on Windows to link to C libs, I don't know) |
15:49:00 | flyx | I wouldn't suggest cmake for a non-C(++) project. |
15:51:07 | gour | thanks ;) |
15:56:00 | * | derka_ joined #nim |
15:57:35 | * | derka quit (Ping timeout: 240 seconds) |
15:57:35 | * | derka_ is now known as derka |
16:03:03 | * | derka quit (Quit: derka) |
16:17:42 | gokr | Araq_: Odd question, is there somewhere a parseString() proc similar to parseFloat() that handles the Nim literal string syntax (escapes etc)? |
16:18:15 | gokr | Ni currently uses parseInt and parseFloat from Nim for ints and floats, and I would like to copy Nim for strings too - but IIRC I didn't find a proper proc last time I looked. |
16:19:33 | * | gokr running off, cya later |
16:38:19 | * | wireddude joined #nim |
16:41:53 | * | wireddude_ joined #nim |
16:41:58 | * | gokr1 joined #nim |
16:43:01 | * | gokr quit (Read error: Connection reset by peer) |
16:45:56 | * | wireddude quit (Ping timeout: 240 seconds) |
16:58:54 | def- | gokr1: strutils.unescape? |
16:58:58 | * | wireddude_ quit (Ping timeout: 272 seconds) |
17:27:33 | * | Trustable quit (Remote host closed the connection) |
18:14:47 | * | johnsoft joined #nim |
18:25:04 | * | cfrantz joined #nim |
18:31:12 | * | Jesin quit (Quit: Leaving) |
18:50:48 | Araq_ | hmmm --gc:v2 now just works (tm) |
19:06:22 | * | Jesin joined #nim |
19:07:09 | Varriount_ | Araq_: What's the difference between the default GC? |
19:08:01 | Araq_ | it's faster, fixes the known leaks and the cycle collector adheres to the given deadlines (incremental) |
19:08:41 | reactormonk | Araq_, how come it's not the default? |
19:09:44 | Araq_ | it's in development |
19:12:59 | Varriount_ | Araq_: Any major algorithm/backend changes, or is it general improvement upon the default GC? |
19:13:15 | Varriount_ | (Garbage collectors are interesting) |
19:13:42 | Araq_ | I threw away the broken-beyond-repair trial deletion algorithm |
19:14:05 | Araq_ | and wrote an incremental mark&sweep Gc to collect cycles |
19:17:27 | Araq_ | it used to crash when I stress test it |
19:17:54 | Araq_ | but now I cannot reproduce it and everything I throw at it works |
19:18:01 | Araq_ | which is not good. |
19:19:52 | Varriount_ | Araq_: Wait, the broken-beyond-repair algorithm works, or the new one works? |
19:20:08 | Araq_ | the new one |
19:20:51 | wuehlmaus | hmm, could it be that getFileInfo in the os module has a bug? it stops when it encounters a socket file |
19:23:24 | Varriount_ | Araq_: Isn't that a good thing? |
19:23:39 | Varriount_ | wuehlmaus: What OS are you using? Windows or Linux |
19:23:43 | Araq_ | getFileInfo works with *files* not with *sockets* |
19:24:39 | wuehlmaus | Varriount_: archlinux |
19:24:41 | Varriount_ | wuehlmaus: It calls fstat on the given filehandle |
19:24:52 | Araq_ | if a file is not persistent, it's not a file, but a stream. I don't care that Unix cannot even name its core abstractions properly. |
19:25:30 | Varriount_ | wuehlmaus: Don't mind Araq_, Linux gives him a rash. |
19:25:54 | Araq_ | no, I loathe Unix. |
19:26:17 | Araq_ | never worked, never will. |
19:27:16 | Varriount_ | wuehlmaus: Well, as long as the file descriptor or path works with stat or lstat, it should work. |
19:27:41 | Varriount_ | wuehlmaus: What exactly happens when you give it the socket? |
19:28:35 | Araq_ | Varriount_: it's bad since I'm sure it's wrong and indeed I now have something that fails |
19:32:24 | * | [1]iggy joined #nim |
19:32:31 | * | wireddude_ joined #nim |
19:36:01 | [1]iggy | Hi, I am trying to setup nim to use vcc and I got most of it working except I can't find a way to solve this last problem: |
19:36:02 | [1]iggy | C:\Nim\lib\nimbase.h(184): fatal error C1083: Cannot open include file: 'stddef.h': No such file or directory |
19:36:26 | [1]iggy | Can anyone help? |
19:38:07 | reactormonk | Time ti write nim-mode in nim? http://git.savannah.gnu.org/cgit/emacs.git/tree/etc/NEWS?h=emacs-25#n146 |
19:41:06 | Araq_ | [1]iggy: update your vcc? |
19:41:21 | Araq_ | or change nimbase.h to not depend on stddef.h |
19:42:50 | [1]iggy | I have Visual Studio 2015... Should I just remove include stddef.h from nimbase? |
19:49:57 | Araq_ | maybe you can read the header and think about it |
19:50:29 | [1]iggy | Araq_: Thanks. I'll look into it some more. |
19:56:37 | * | [1]iggy quit (Quit: I love my HydraIRC -> http://www.hydrairc.com <-) |
19:58:21 | * | filwit joined #nim |
19:58:59 | * | wireddude_ quit (Ping timeout: 264 seconds) |
20:16:43 | * | yglukhov joined #nim |
20:26:59 | Varriount_ | wuehlmaus: Any luck? |
20:28:31 | wuehlmaus | i try to get fstat testing |
20:33:44 | * | cyraxjoe joined #nim |
20:40:17 | endragor | if I have an identifier of a type in compile-time context, can I get the C++ name of the type that was associated via .importcpp pragma? |
20:41:16 | Araq_ | endragor: no |
20:49:46 | endragor | Araq_: thanks |
20:57:37 | gokr1 | def-: Nah, the more complete literal parsing can be found in lexer.nim - based on getEscapedChar - seems to be similar code in parsecfg.nim and pegs.nim |
21:00:00 | * | mat4 joined #nim |
21:00:09 | mat4 | hello |
21:00:24 | Varriount_ | Hey mat4! |
21:00:55 | mat4 | hi Varriount_ |
21:00:59 | * | Varriount_ is now known as Varriount |
21:11:44 | bbl_ | Araq_: You aware that nimsuggest gives no docstrings? |
21:12:09 | Araq_ | it should |
21:12:14 | bbl_ | There were also some odd inconsistencies between v1 and v2 |
21:12:38 | * | theduke quit (Ping timeout: 240 seconds) |
21:12:39 | * | _stowa quit (Ping timeout: 240 seconds) |
21:13:13 | * | theduke joined #nim |
21:13:26 | * | gokr1 quit (Ping timeout: 240 seconds) |
21:14:26 | bbl_ | Araq_: in case "myVar.myFunc(|" should con give me something that fits as the first parameter of the function or the myFunc information instead? |
21:14:52 | Araq_ | the myFunc information |
21:14:55 | bbl_ | also def doesn't work with --v2 |
21:15:26 | * | gokr joined #nim |
21:15:42 | bbl_ | Araq_: what is the last number that comes after docstring? |
21:15:58 | * | _stowa joined #nim |
21:16:09 | mat4 | does there exist an Allegro 5 wrapper for Nim ? |
21:16:13 | Araq_ | matching quality. |
21:16:23 | bbl_ | ah nice :P |
21:19:33 | mat4 | found it |
21:25:29 | * | Jesin quit (Quit: Leaving) |
21:25:40 | * | gour quit (Quit: WeeChat 1.3) |
21:32:48 | * | darkf quit (Quit: Leaving) |
21:34:05 | * | Ivan__ joined #nim |
21:37:10 | * | yglukhov quit (Remote host closed the connection) |
21:38:33 | filwit | is it possible to make your own iterator like system.fields which unrolls the loop? Or is that a special case in the compiler? |
21:38:49 | Ivan__ | hi all, is it possible in nim to stringify an argument passed to a template and use it, without actually creating the identifier? i've been looking through language manual and couldn't find it so far |
21:38:50 | filwit | I can't seem to find the system.fields iterator in the Nim source :\ |
21:40:22 | filwit | Ivan__: maybe not a template, but a macro, yes: `macro foo(e:untyped)` |
21:45:43 | Varriount | filwit: A macro might be able to simulate it, to a certain extent. |
21:46:07 | Varriount | filwit: Use the getImpl (I think that's the name?) and process the returned ast |
21:47:13 | Ivan__ | okey, i have tried this: macro stringify(n: untyped): string = result = newNimNode(nnkStmtList, n) result.add(toStrLit(n)) |
21:47:27 | Ivan__ | and it works, even when called from a template |
21:47:46 | filwit | Varriount: yeah i know, that's what I'm doing now.. just wondering if there was a way to unroll a 'for' loop via an iterator like `fields`.. doesn't really look like it, seems that function is a bit of a special case |
21:59:14 | * | Matthias247 quit (Read error: Connection reset by peer) |
22:07:10 | * | Trustable joined #nim |
22:27:13 | * | wireddude_ joined #nim |
22:27:47 | mat4 | does Nim support binary numbers ? |
22:28:30 | * | endragor quit (Ping timeout: 256 seconds) |
22:29:56 | mat4 | (I mean binary literals) |
22:30:10 | mat4 | like 010110111110101010b |
22:30:13 | filwit | found a pretty bad bug with using a ptr inside a concept: https://github.com/nim-lang/Nim/issues/3805 |
22:31:18 | filwit | asking `x is ptr[]` will silently prevent all procs which accept a concept from being called :\ |
22:32:17 | * | Dildosan joined #nim |
22:32:33 | filwit | mat4: looks like it: http://nim-lang.org/docs/tut1.html#lexical-elements-numbers |
22:33:19 | mat4 | thanks, the same prefix as supported by C++ 14 |
22:37:39 | * | yglukhov joined #nim |
22:39:26 | mat4 | (that's nice) |
22:39:28 | * | Jesin joined #nim |
22:39:50 | * | wireddude_ quit (Ping timeout: 256 seconds) |
22:41:45 | * | yglukhov quit (Ping timeout: 245 seconds) |
22:47:33 | * | filwit quit (Quit: Leaving) |
22:54:36 | * | wireddude_ joined #nim |
22:59:23 | * | Demon_Fox joined #nim |
23:02:12 | * | wireddude_ quit (Quit: Mutter: www.mutterirc.com) |
23:14:16 | * | mat4 quit (Quit: Verlassend) |
23:18:00 | * | Dildosan quit (Ping timeout: 245 seconds) |
23:19:36 | * | AckZ quit (Ping timeout: 250 seconds) |
23:19:56 | * | DecoPerson quit (Read error: Connection reset by peer) |
23:20:41 | * | clone1018 quit (Read error: Connection reset by peer) |
23:20:42 | * | k1io quit (Read error: Connection reset by peer) |
23:20:49 | * | DecoPerson joined #nim |
23:22:04 | * | AckZ joined #nim |
23:23:29 | * | k1io joined #nim |
23:23:57 | * | johnsoft quit (Quit: Leaving) |
23:25:35 | * | gsingh93 quit (Ping timeout: 240 seconds) |
23:25:44 | * | ephja quit (Ping timeout: 256 seconds) |
23:25:55 | * | Amrykid quit (Ping timeout: 240 seconds) |
23:26:33 | * | pleiosau1 quit (Ping timeout: 250 seconds) |
23:26:33 | * | nim-buildbot quit (Ping timeout: 250 seconds) |
23:26:33 | * | Ivan__ quit (Ping timeout: 252 seconds) |
23:26:35 | * | federico3 quit (Ping timeout: 240 seconds) |
23:26:55 | * | devn_ quit (Ping timeout: 240 seconds) |
23:27:12 | * | pleiosaur joined #nim |
23:27:48 | * | devn joined #nim |
23:28:20 | * | clone1018 joined #nim |
23:30:36 | * | Trustable quit (Remote host closed the connection) |
23:33:02 | * | gsingh93 joined #nim |
23:33:15 | * | Amrykid joined #nim |
23:34:45 | gmpreussner | Varriount, you around? |
23:35:07 | gmpreussner | i just updated to latest NimLime, and now Sublime will no longer start. it says it can't find nim.exe and nimsuggest.exe anymore, even though they're in the PATH |
23:37:01 | Varriount | gmpreussner: Huh? The IDE should start.. |
23:37:24 | Varriount | I mean, the error windows will pop up, but they're just warnings |
23:37:25 | gmpreussner | one sec... the pull may not have succeeded |
23:37:41 | gmpreussner | i get the error window, the process keeps running, but the main window never opens |
23:37:47 | * | ephja joined #nim |
23:37:53 | gmpreussner | and i can't open any other instances. anyway, let me try to pull from upstream one more time |
23:38:06 | Varriount | gmpreussner: Huh. What OS are you running sublime text on? |
23:39:01 | * | aziz quit (Remote host closed the connection) |
23:39:14 | * | yglukhov joined #nim |
23:39:41 | gmpreussner | i'm on Windows 10. git says i'm at head revision :/ |
23:39:54 | * | federico3 joined #nim |
23:40:26 | gmpreussner | one sec, making sure nimsuggest is ok |
23:40:47 | Varriount | gmpreussner: The only thing that normally stops the main window from appearing is a configuration file issue. |
23:40:55 | Varriount | Is this ST2 or ST3? |
23:41:54 | gmpreussner | ST2 |
23:42:18 | Varriount | Hm. |
23:42:49 | gmpreussner | nim, nimsuggest and NimLime are all head revision. lemme check the config |
23:43:25 | * | yglukhov quit (Ping timeout: 245 seconds) |
23:45:01 | Varriount | gmpreussner: If you can, open up the main configuration file (NimLIme.sublime-settings) in another text editor, and add they key "check_configuration": true |
23:45:16 | gmpreussner | ok |
23:45:32 | Varriount | Er, make it false |
23:45:53 | Varriount | That should disable the warning messages |
23:46:55 | gmpreussner | yeah, it did. but still no window. process is running. i think it's trying to restore my previously closed Nim project session and fails somewhere |
23:47:14 | Varriount | gmpreussner: Have you killed the background process? |
23:47:33 | gmpreussner | i killed the ST2 process in task manager, yes |
23:47:38 | Varriount | Hrm. |
23:48:13 | gmpreussner | now, i should perhaps add that i updated NimLime while ST2 was open (i didn't realize that it was) |
23:48:26 | gmpreussner | i wonder if that screwed up the project or something |
23:48:37 | gmpreussner | let me delete the project... |
23:48:42 | Varriount | gmpreussner: Delete the cache files in the plugin's directory |
23:49:01 | Varriount | Including the .pyc files. |
23:50:59 | gmpreussner | still same problem. let me wipe the plugin and start over |
23:51:54 | Varriount | The only thing that might prevent the window from opening in ST2 is if a plugin was doing a long running blocking operation on start. |
23:57:58 | Varriount | gmpreussner: It seems that ST2 has a bug that prevents the main window from appearing if a message box is created at startup. |
23:58:29 | Varriount | Hm... how to fix this... |