00:00:10 | Araq | boydgreenfield: they are slow when you don't cast to 'ptr' |
00:00:34 | Araq | as it otherwise performs a deepcopy for memory safety |
00:01:04 | Araq | the threadpool is however much nicer to use |
00:02:56 | * | kniteli quit (Ping timeout: 258 seconds) |
00:05:53 | boydgreenfield | Araq: But if I have a lot of very lightweight operations, e.g., adding an element to a data structure I’d like to shard, what’s the preferred/idiomatic pattern? Launching a thread for each `add` op is obviously a non-starter (unless I’m misunderstanding some under-the-hood magic of the threadpool) |
00:06:16 | boydgreenfield | Araq: But good to know re channels, sounds like that warning is probably not relevant for said use case |
00:06:56 | Araq | boydgreenfield: 'spawn' does not create a thread |
00:07:26 | * | saml_ joined #nimrod |
00:07:26 | boydgreenfield | Araq: Well clearly I have misunderstood / not looked closely enough. |
00:08:31 | Araq | it depends on your problem, but usually you batch these "lots of very lightweight operations" or else the communication overhead overwhelms the computation |
00:09:05 | Araq | that's true for every system even Go's "cheap" channels and goroutines |
00:09:40 | Araq | you have to pick the granularity carefully |
00:13:18 | boydgreenfield | Araq: Of course. Ok, will look more closely at the spawn mechanics; based on just the name I understood that to be actually creating a thread. |
00:14:44 | Araq | boydgreenfield: there is also spawnX which can be an interesting optimization |
00:14:59 | * | Trustable quit (Quit: Leaving) |
00:15:11 | * | kniteli joined #nimrod |
00:16:51 | * | brson quit (Quit: leaving) |
00:24:28 | * | BlaXpirit quit (Quit: Quit Konversation) |
00:24:36 | Araq | good night |
00:29:11 | * | flaviu joined #nimrod |
00:30:10 | flaviu | Varriount: Very nice, it's all green above the fold. |
00:33:49 | flaviu | Araq: I haven't had that issue with firefox, perhaps you should make a bug report at https://bugzilla.mozilla.org/buglist.cgi?product=Firefox&component=General&resolution=--- |
00:33:54 | * | Matthias247 quit (Read error: Connection reset by peer) |
00:43:11 | flaviu | Looking at the tester schema, why is varchar being used? It is a compatibility name, it doesn't actually mean anything. |
00:44:43 | flaviu | Also, the Commit table is enclosed in `[]`, which " This is not standard SQL. This quoting mechanism ... is included in SQLite for compatibility". It can easily be replaced with the more correct `'`, without any change in meaning |
00:52:10 | * | boydgreenfield quit (Quit: boydgreenfield) |
00:59:35 | * | vendethiel quit (Ping timeout: 255 seconds) |
01:00:03 | * | kniteli quit (Ping timeout: 258 seconds) |
01:05:28 | * | vendethiel joined #nimrod |
01:12:52 | * | kniteli joined #nimrod |
01:16:46 | * | darkf joined #nimrod |
01:21:12 | * | nande quit (Remote host closed the connection) |
01:23:59 | * | def- joined #nimrod |
01:24:07 | * | boydgreenfield joined #nimrod |
01:26:53 | * | vendethiel quit (Ping timeout: 264 seconds) |
01:27:22 | * | johnsoft quit (Ping timeout: 245 seconds) |
01:27:45 | * | johnsoft joined #nimrod |
01:29:05 | * | vendethiel joined #nimrod |
01:49:35 | * | kniteli quit (Ping timeout: 258 seconds) |
01:50:42 | * | vendethiel quit (Ping timeout: 250 seconds) |
01:52:41 | * | vendethiel joined #nimrod |
02:00:47 | * | gokr_ quit (*.net *.split) |
02:00:47 | * | Sembei quit (*.net *.split) |
02:00:47 | * | AMorpork quit (*.net *.split) |
02:00:47 | * | heinrich5991 quit (*.net *.split) |
02:00:47 | * | mko quit (*.net *.split) |
02:00:47 | * | endou quit (*.net *.split) |
02:00:47 | * | onionhammer quit (*.net *.split) |
02:00:47 | * | Varriount quit (*.net *.split) |
02:00:47 | * | bjz quit (*.net *.split) |
02:00:47 | * | uber quit (*.net *.split) |
02:00:48 | * | skroll1 quit (*.net *.split) |
02:03:16 | * | will quit (Read error: Connection reset by peer) |
02:11:56 | * | AMorpork joined #nimrod |
02:32:45 | * | kniteli joined #nimrod |
02:32:45 | * | Varriount joined #nimrod |
02:32:45 | * | onionhammer joined #nimrod |
02:32:45 | * | endou joined #nimrod |
02:32:45 | * | bjz joined #nimrod |
02:32:45 | * | uber joined #nimrod |
02:32:45 | * | skroll1 joined #nimrod |
02:32:51 | * | bjz quit (*.net *.split) |
02:32:51 | * | uber quit (*.net *.split) |
02:32:51 | * | skroll1 quit (*.net *.split) |
02:32:59 | * | gokr_ joined #nimrod |
02:32:59 | * | Sembei joined #nimrod |
02:32:59 | * | heinrich5991 joined #nimrod |
02:33:59 | * | c74d quit (Remote host closed the connection) |
02:38:30 | * | c74d joined #nimrod |
02:40:12 | * | gokr_ quit (*.net *.split) |
02:40:12 | * | Sembei quit (*.net *.split) |
02:40:12 | * | heinrich5991 quit (*.net *.split) |
02:41:34 | * | flaviu quit (Remote host closed the connection) |
02:41:44 | * | bjz joined #nimrod |
02:41:44 | * | uber joined #nimrod |
02:41:44 | * | skroll1 joined #nimrod |
02:42:45 | * | uber quit (Max SendQ exceeded) |
02:43:10 | * | kniteli quit (Ping timeout: 258 seconds) |
02:43:13 | * | uber joined #nimrod |
02:44:53 | * | wan joined #nimrod |
02:46:31 | * | gokr_ joined #nimrod |
02:46:31 | * | Sembei joined #nimrod |
02:46:31 | * | heinrich5991 joined #nimrod |
02:46:55 | * | BitPuffin quit (Ping timeout: 244 seconds) |
02:47:11 | * | Sembei quit (Max SendQ exceeded) |
02:47:56 | * | perturbation quit (Quit: Leaving) |
02:48:42 | * | Sembei joined #nimrod |
02:49:57 | * | EXetoC quit (Quit: WeeChat 1.0.1) |
02:55:20 | * | kniteli joined #nimrod |
03:02:20 | * | kniteli quit (Ping timeout: 258 seconds) |
03:14:22 | * | kniteli joined #nimrod |
03:19:28 | * | vendethiel quit (Ping timeout: 244 seconds) |
03:26:29 | * | kniteli quit (Ping timeout: 258 seconds) |
03:29:04 | * | vendethiel joined #nimrod |
03:32:18 | * | dapz joined #nimrod |
03:38:50 | * | kniteli joined #nimrod |
03:45:02 | * | dapz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
03:48:41 | * | flaviu joined #nimrod |
03:49:52 | * | kniteli quit (Ping timeout: 258 seconds) |
03:50:44 | * | vendethiel quit (Ping timeout: 250 seconds) |
03:54:14 | * | boydgreenfield quit (Quit: boydgreenfield) |
04:02:07 | * | kniteli joined #nimrod |
04:04:08 | * | boydgreenfield joined #nimrod |
04:20:53 | * | boydgreenfield quit (Quit: boydgreenfield) |
04:23:56 | * | q66 quit (Quit: Leaving) |
04:26:53 | * | boydgreenfield joined #nimrod |
04:34:47 | * | gour joined #nimrod |
04:43:37 | * | flaviu quit (Ping timeout: 240 seconds) |
05:01:32 | * | darkf_ joined #nimrod |
05:02:48 | * | darkf quit (Ping timeout: 244 seconds) |
05:05:13 | * | shodan45 quit (Quit: Konversation terminated!) |
05:05:57 | * | darkf_ quit (Ping timeout: 240 seconds) |
05:06:24 | * | darkf joined #nimrod |
05:07:07 | * | saml_ quit (Ping timeout: 265 seconds) |
05:18:14 | * | vendethiel joined #nimrod |
05:23:38 | * | darkf_ joined #nimrod |
05:24:10 | * | darkf quit (Ping timeout: 258 seconds) |
05:35:13 | * | darkf_ is now known as darkf |
05:39:56 | * | vendethiel quit (Ping timeout: 250 seconds) |
05:43:22 | * | johnsoft quit (Ping timeout: 240 seconds) |
05:44:08 | * | johnsoft joined #nimrod |
05:49:10 | * | untitaker quit (Ping timeout: 265 seconds) |
05:55:52 | * | untitaker joined #nimrod |
06:04:37 | * | vendethiel joined #nimrod |
06:13:10 | Varriount | Araq: So, I'm starting work on test display... displaying the test results for individual builds is fine, however I'm having some trouble understanding how test databases for each platform are supposed to be merged, in order to generate a comparitive view of test results. |
06:20:08 | * | kniteli quit (Ping timeout: 258 seconds) |
06:21:39 | * | boydgreenfield quit (Quit: boydgreenfield) |
06:23:28 | * | darkf_ joined #nimrod |
06:24:27 | * | darkf quit (Ping timeout: 265 seconds) |
06:26:22 | * | vendethiel quit (Ping timeout: 240 seconds) |
06:30:42 | * | boydgreenfield joined #nimrod |
06:34:12 | * | kniteli joined #nimrod |
06:40:35 | * | vendethiel joined #nimrod |
06:40:38 | * | darkf joined #nimrod |
06:42:20 | * | darkf_ quit (Ping timeout: 265 seconds) |
06:47:11 | * | boydgreenfield quit (Quit: boydgreenfield) |
07:05:06 | * | darkf_ joined #nimrod |
07:06:57 | * | darkf quit (Ping timeout: 272 seconds) |
07:14:50 | * | Varriount quit (Read error: Connection reset by peer) |
07:27:21 | * | dapz joined #nimrod |
07:41:05 | * | darkf joined #nimrod |
07:42:45 | * | darkf_ quit (Ping timeout: 265 seconds) |
08:04:23 | * | boydgreenfield joined #nimrod |
08:15:12 | * | boydgreenfield quit (Quit: boydgreenfield) |
08:20:08 | * | dapz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
08:24:32 | * | boydgreenfield joined #nimrod |
08:33:32 | * | boydgreenfield quit (Quit: boydgreenfield) |
09:02:44 | * | darkf_ joined #nimrod |
09:03:49 | * | darkf quit (Ping timeout: 258 seconds) |
09:05:39 | * | darkf joined #nimrod |
09:08:18 | * | darkf_ quit (Ping timeout: 265 seconds) |
09:28:56 | * | BlaXpirit joined #nimrod |
09:43:10 | * | AMorpork is now known as ZzZMorpork |
10:21:00 | * | kniteli quit (Ping timeout: 256 seconds) |
10:35:31 | * | darkf_ joined #nimrod |
10:37:14 | * | darkf quit (Ping timeout: 265 seconds) |
10:37:18 | * | darkf_ is now known as darkf |
10:43:31 | * | Matthias247 joined #nimrod |
10:48:02 | * | johnsoft quit (Ping timeout: 250 seconds) |
10:50:54 | * | johnsoft joined #nimrod |
11:07:14 | * | wan quit (*.net *.split) |
11:07:14 | * | endou quit (*.net *.split) |
11:07:14 | * | onionhammer quit (*.net *.split) |
11:10:26 | * | wan joined #nimrod |
11:10:26 | * | endou joined #nimrod |
11:10:26 | * | onionhammer joined #nimrod |
11:11:31 | * | c74d quit (Remote host closed the connection) |
11:11:49 | * | vendethiel quit (*.net *.split) |
11:11:49 | * | gokr_ quit (*.net *.split) |
11:11:49 | * | heinrich5991 quit (*.net *.split) |
11:13:09 | * | vendethiel joined #nimrod |
11:13:09 | * | gokr_ joined #nimrod |
11:13:09 | * | heinrich5991 joined #nimrod |
11:13:27 | * | heinrich5991 quit (Max SendQ exceeded) |
11:13:43 | * | heinrich5991 joined #nimrod |
11:16:01 | * | Matthias247 quit (Read error: Connection reset by peer) |
11:16:39 | * | c74d joined #nimrod |
11:29:01 | * | c74d quit (Remote host closed the connection) |
11:33:15 | * | c74d joined #nimrod |
11:35:14 | * | BitPuffin joined #nimrod |
11:40:26 | * | c74d quit (Remote host closed the connection) |
11:45:51 | * | c74d joined #nimrod |
11:53:06 | * | c74d quit (Remote host closed the connection) |
11:57:37 | * | c74d joined #nimrod |
11:59:16 | * | EXetoC joined #nimrod |
12:52:46 | gokr | Ugh, finally blimp works it seems on all 3 platforms. |
12:53:03 | gokr | (my little utility to handle big files in git, written in nim) |
14:01:59 | * | gour quit (Quit: WeeChat 1.0.1) |
14:06:42 | * | q66 joined #nimrod |
14:06:57 | * | gour joined #nimrod |
14:10:40 | * | Sembei quit (Read error: Connection reset by peer) |
14:11:31 | * | Sembei joined #nimrod |
14:28:14 | * | darkf_ joined #nimrod |
14:29:17 | * | darkf quit (Ping timeout: 264 seconds) |
14:35:25 | * | darkf_ quit (Ping timeout: 264 seconds) |
14:44:07 | * | gokr_ quit (Remote host closed the connection) |
14:44:21 | * | gokr_ joined #nimrod |
14:50:53 | * | dom96_ quit (Ping timeout: 264 seconds) |
15:06:35 | * | gokr_ quit (Remote host closed the connection) |
15:06:50 | * | gokr_ joined #nimrod |
15:07:26 | * | flaviu joined #nimrod |
15:16:01 | * | Varriount joined #nimrod |
15:18:23 | Varriount | gokr: What was the hardest/most frustrating part about developing blimp? |
15:21:36 | * | gokr_ quit (Remote host closed the connection) |
15:22:17 | * | gokr_ joined #nimrod |
15:27:45 | * | q66[lap] quit (Read error: Connection reset by peer) |
15:28:25 | * | q66[lap] joined #nimrod |
15:33:19 | gokr | Mmmm |
15:33:53 | gokr | One silly thing was the fact that readAll(stdin) doesn't work on Windows. But thats basically a "bug", I will file it. |
15:35:09 | gokr | I mostly had issues with finding external tools that can copy files remotely and working reasonably the same cross platform. |
15:35:15 | gokr | Ended up with scp. |
15:35:21 | gokr | So that's not really Nim related. |
15:36:02 | gokr | Most things were quite easy in nim. I used md5 sum since sha1 was not in the stdlib. But there is such a lib, so perhaps we can add it to stdlib. |
15:36:48 | gokr | The parsecfg code ... yeah, no real issue there, although one could add some "easy" variant where you simply get a nested table or something. |
15:37:01 | * | j3rky joined #nimrod |
15:37:16 | gokr | Now I just copied some sample and in the end that worked out fine |
15:37:19 | Varriount | gokr: Um, what would readAll(stdin) normally do? |
15:37:47 | gokr | Well, I want to read all input from stdin. |
15:38:14 | gokr | Its being piped in. |
15:38:57 | gokr | I am not entirely sure ... it uses fread at the bottom, and... I am not sure about the semantics. |
15:39:09 | gokr | I presume it reads until EOF is given. |
15:39:41 | gokr | It seemed to work fine on OSX and Linux. But on windows it fails since it fiddles around trying to find the filesize there. |
15:39:58 | gokr | If I simply copied readAllBuffer - then it works on Windows too. |
15:42:27 | j3rky | does Nimrod have any mechanisms for unit testing built in? i couldn't find anything in the docs. |
15:49:31 | * | Matthias247 joined #nimrod |
15:50:39 | gokr | j3rky: There are some libs, although... I fund the one by Zahary to be too complex. |
15:50:44 | gokr | I would like a decent xUnit port. |
15:52:10 | j3rky | are there any syntactical capabilities? for example, D has the unittest keyword |
15:52:43 | j3rky | Go has some testing support built into the compiler as well |
15:54:53 | EXetoC | no. either define tests in the same module (usually in a "when isMainModule" block), or use separate files for that. I prefer the latter |
15:55:26 | j3rky | ok thanks |
15:56:05 | EXetoC | gokr: making 'check' usable on its own is what I miss the most |
15:57:31 | EXetoC | the whole suite thing is fine, except when some information is omitted upon failure. that's a big issue though |
16:03:47 | * | BitPuffin quit (Remote host closed the connection) |
16:05:42 | * | BitPuffin joined #nimrod |
16:06:00 | onionhammer | hola gents |
16:12:22 | Araq | hi j3rky. the unittest module now should work well with devel |
16:12:32 | Araq | (it triggered some compiler bugs) |
16:12:34 | * | dom96_ joined #nimrod |
16:12:53 | Araq | there is no need to have anything "built-in", that's what macros are for |
16:13:28 | Araq | however, when isMainModule: doAssert foo == bar is usually sufficient |
16:14:40 | Araq | ping Varriount |
16:16:23 | EXetoC | the lack of output in some cases was a bitch though. has it been updated? |
16:16:30 | EXetoC | I'll check the history |
16:18:49 | j3rky | thanks Araq, I'll check it out! |
16:20:00 | EXetoC | it's easy to migrate to good old assert though. just don't use check as a block and converting will be easy |
16:23:03 | EXetoC | at least some of the issues have been reported at this point |
16:25:03 | Araq | btw guys, I found a way to make 'it' work without 'mixin' and no special casing |
16:25:18 | Araq | turned out the mechanism already existed ... |
16:29:11 | Araq | bbl |
16:32:58 | EXetoC | convenient |
16:34:37 | * | pink-rg joined #nimrod |
16:43:43 | gokr | In Smalltalk sUnit we also have stuff like should:raise: and shouldnt:raise: etc |
16:44:20 | EXetoC | I know you can check for the former |
16:45:46 | EXetoC | I wanted that to be usable separately too |
16:50:52 | * | rpag quit (Ping timeout: 256 seconds) |
17:03:53 | * | nande joined #nimrod |
17:46:40 | Varriount | Araq: Pong |
17:47:04 | * | shodan45 joined #nimrod |
17:48:46 | * | onionhammer quit (Quit: WeeChat 1.0.1) |
18:17:09 | * | onionhammer joined #nimrod |
18:23:30 | * | Trustable joined #nimrod |
18:35:09 | * | ZzZMorpork is now known as AMorpork |
18:35:17 | * | q66[lap] quit (Read error: Connection reset by peer) |
18:36:20 | * | q66[lap] joined #nimrod |
18:40:04 | * | dapz joined #nimrod |
18:45:56 | Araq | so Varriount what's the concrete question? you have to ensure that the list of machines is complete and then you only need to copy the entries in the TestResult table |
18:46:39 | Araq | though you also need to do some sanity checking that the testers agree on the commits |
18:48:38 | Araq | want me to write the query? |
18:48:46 | * | nande quit (Remote host closed the connection) |
18:49:16 | Araq | flaviu: well my sqlite is influenced from sql server ... |
18:50:35 | flaviu | ok |
18:50:37 | * | gour quit (Disconnected by services) |
18:50:37 | * | gour_ joined #nimrod |
18:51:06 | * | flaviu quit (Remote host closed the connection) |
18:51:29 | * | q66[lap]_ joined #nimrod |
18:52:45 | * | flaviu joined #nimrod |
18:53:08 | Varriount | Araq: Well, could it be reasonably done in one query? I know how to copy table contents and such, but the trick is incrementing the various ID's |
18:53:23 | * | q66[lap] quit (Read error: Connection timed out) |
18:53:50 | Araq | do |
18:53:52 | Araq | not |
18:53:54 | Araq | touch |
18:53:56 | Araq | the IDs |
18:54:07 | * | nande joined #nimrod |
18:54:24 | flaviu | Varriount: Yeah, just let the ids be. It doesn't matter if they're consistant |
18:54:28 | Araq | let the DB generate them, so they differ between machines, doesn't matter |
19:20:21 | * | Stefan_Salewski joined #nimrod |
19:21:55 | Stefan_Salewski | #{.deadCodeElim: on.} |
19:22:05 | Stefan_Salewski | #! replace(sub = "_:", by = "_uuu:") |
19:22:16 | Stefan_Salewski | proc x(i_: int): int = |
19:22:25 | Stefan_Salewski | result = 0 |
19:22:35 | Stefan_Salewski | #t.nim(4, 7) Error: invalid token: _ |
19:22:45 | Stefan_Salewski | #took me one hour to find that deadCodeElim: on will kill source text substitution. |
19:22:54 | Stefan_Salewski | #Strange. (for recent bigbreak) |
19:23:02 | * | Stefan_Salewski quit (Client Quit) |
19:23:34 | * | gour_ is now known as gour |
19:24:37 | * | gokr_ quit (Ping timeout: 240 seconds) |
19:26:32 | * | dapz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
19:28:29 | * | gokr_ joined #nimrod |
19:30:34 | * | gokr_ quit (Read error: Connection reset by peer) |
19:38:38 | * | gokr_ joined #nimrod |
19:41:45 | * | gokr_ quit (Remote host closed the connection) |
19:42:02 | * | gokr_ joined #nimrod |
19:44:42 | * | Stefan_Salewski joined #nimrod |
19:46:13 | Stefan_Salewski | Maybe there is even more that breaks source code substitution. I tried to remove leading and trailing underscores for glib/gtk3 this way. |
19:47:29 | Stefan_Salewski | While it seems to work for small examples, it seems to fail for larger wrapper files -- maybe pragma {..} stuff breaks it? |
19:48:14 | Araq | well as you noticed there can only be a single #! |
19:48:36 | Araq | you should use #mangle in c2nim to handle the underscores |
19:49:27 | Stefan_Salewski | OK, not a big problem, I will use sed as before -- maybe later post a more detailed example. But my example above is valid, {.deadCodeElim: on.} makes it not working. Bye! |
19:49:31 | * | Stefan_Salewski quit (Client Quit) |
19:50:30 | * | Ven joined #nimrod |
19:54:37 | * | Stefan_Salewski joined #nimrod |
19:55:35 | Araq | bbl |
19:57:17 | Stefan_Salewski | Araq: mangle for c2nim is uglier, because I will get uglier intermediate source code, i.e. replace __clear__ with underscoreunderscoreclearunderscoreunderscore. Did that in my initial release. |
19:58:59 | * | gokr_ quit (Remote host closed the connection) |
19:59:12 | Stefan_Salewski | My hope was, that Nims's source code substitution allows to have unchanged identifiers in source code but make Nim compiler happy at the same time. OK, now I know that is not easy possible. Thanks. |
19:59:15 | * | Stefan_Salewski quit (Client Quit) |
19:59:17 | * | gokr_ joined #nimrod |
20:03:13 | * | Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
20:10:37 | * | Ven joined #nimrod |
20:12:25 | * | Ven quit (Client Quit) |
20:18:38 | * | rpag joined #nimrod |
20:46:45 | * | perturbation joined #nimrod |
20:55:08 | * | flaviu quit (Quit: Leaving.) |
20:55:18 | * | flaviu joined #nimrod |
21:06:32 | Araq | hrm why didn't he replace leading and trailing underscores by nothing? |
21:07:59 | Araq | and why can't the pegs that #mangle supports not be used to mangle a series of underscores? |
21:08:21 | Araq | and even if it could not, how hard is it to special case 2 underscores? |
21:09:36 | * | gour quit (Quit: WeeChat 1.0.1) |
21:21:12 | * | q66[lap]_ quit (Read error: Connection reset by peer) |
21:21:54 | * | q66[lap] joined #nimrod |
21:27:45 | * | nande quit (Remote host closed the connection) |
21:30:08 | * | Stefan_Salewski joined #nimrod |
21:30:35 | Araq | wb Stefan_Salewski |
21:30:45 | Araq | I don't understand why mangle doesn't work for you |
21:32:39 | Stefan_Salewski | araq: well, replacing underscores by nothing can be dangerous -- removing the __ or _ can result in an already existing identifier. |
21:34:14 | Araq | how does: |
21:34:22 | Araq | proc foo(bar_: int) |
21:34:33 | Araq | --> proc foo(barUnderscore: int) |
21:34:40 | Stefan_Salewski | Of course instead of useing sed I can use a more smart script which searches for the resulting term to check for conflicts. For this I have to do a case insensitive search. |
21:34:46 | Araq | improve anything? |
21:35:19 | Araq | ever ran "nim doc" over the result? |
21:35:56 | Stefan_Salewski | Yes, no problem for proc parameters, but but GTK3 used underscores everywhere, i.e. in type definitions. |
21:36:02 | Araq | I don't want to use a wrapper that uses "Underscore" crap everywhere because the alternative would have been "dangerous" |
21:36:39 | Araq | the gtk2 wrapper managed to do it without this hack |
21:38:37 | Stefan_Salewski | In summer I asked in Forum for a good solution, but nobody offered one. |
21:40:04 | Araq | that's always easy to say |
21:40:13 | Stefan_Salewski | So replacing each _ with a unique string which is not alredy part of the file is a simple and secure solution, but not really nice. |
21:40:35 | Araq | personally I can't think of a worse solution than "Underscore" |
21:40:47 | Araq | and again |
21:40:54 | Araq | Gtk3 is not that different from Gtk2 |
21:41:07 | Araq | and we have a Gtk2 wrapper you can use as a guideline |
21:41:28 | Stefan_Salewski | When we manually replace each _ in text editor we may we may just delete it and hope that it makes no damage. |
21:41:58 | Araq | yeah. and it won't. |
21:42:21 | Araq | worst case: the compiler complains afterwards for a few identifiers |
21:43:26 | Stefan_Salewski | But I do a fully automatic processing, which will work for all GTK3.xx and hopefully for 4.xx. So I care mistakes. |
21:44:22 | * | q66[lap] quit (Read error: Connection reset by peer) |
21:44:48 | dom96_ | Stefan_Salewski: That's awesome. Removing underscores should be fine though. |
21:44:58 | Stefan_Salewski | OK, so your proposal is to delete underscores when there is no conflict. Then I will try that -- still woder why GTK authors add them at all when not necessary. Yes indicator for privat... i know. |
21:45:14 | * | q66[lap] joined #nimrod |
21:46:52 | dom96_ | Anybody wanna write a Nim lexer for Rouge (what learnxinyminutes uses)? |
21:47:02 | Stefan_Salewski | Bye -- my current web IRC client is not really nice, please excuse all the typing errors. |
21:47:05 | * | Stefan_Salewski quit () |
21:53:25 | * | flaviu quit (Read error: Connection reset by peer) |
21:55:50 | * | flaviu joined #nimrod |
22:13:58 | NimBot | Araq/Nimrod devel 2a1acbd Araq [+0 ±2 -0]: fixes #1669 |
22:13:58 | NimBot | Araq/Nimrod devel 83c6552 Araq [+0 ±1 -0]: more robust against unknown line info |
22:19:10 | perturbation | dom96: I'll take a look at Rouge... I've been wanting to learn more about lexing/parsing for a while |
22:19:22 | perturbation | no guarantees I'll succed tho ;) |
22:19:35 | Araq | what's Rouge? |
22:19:49 | perturbation | Jekyll uses it for highlighting (and apparently so does learnXinY minutes) |
22:20:00 | dom96_ | perturbation: Awesome, thanks! Base it on the Pygments lexer. You can improve the Pygments lexer while you're at it too, there is a wiki page describing the problems the nim lexer has. |
22:24:18 | dom96_ | Also I created a forum thread for this so may be a good idea to reply there saying you will work on it: http://forum.nimrod-lang.org/t/636 |
22:36:14 | * | Demos joined #nimrod |
22:46:04 | perturbation | dom96: link to wiki about the pygments lexer? |
22:46:22 | perturbation | (I posted in the thread you had linked) |
22:47:19 | dom96_ | https://github.com/Araq/Nimrod/wiki/Pygments-issues |
22:48:59 | perturbation | thanks! |
22:52:33 | * | johnsoft quit (Read error: Connection reset by peer) |
22:59:31 | * | johnsoft joined #nimrod |
23:02:03 | * | BlaXpirit quit (Quit: Quit Konversation) |
23:04:52 | Araq | Varriount: is https://github.com/Araq/Nimrod/issues/1601 still relevant with your c++ fixes? |
23:07:33 | * | kniteli joined #nimrod |
23:08:13 | * | Jesin joined #nimrod |
23:11:25 | * | brson joined #nimrod |
23:16:22 | * | fowl quit (Ping timeout: 240 seconds) |
23:23:27 | * | gokr_ quit (Quit: IRC for Sailfish 0.8) |
23:24:24 | * | kniteli quit (Ping timeout: 258 seconds) |
23:36:34 | * | kniteli joined #nimrod |