00:06:27 | dtscode | i really hope im doing this right :D |
00:07:53 | reactormonk | dtscode, what can happen if you're wrong? |
00:08:29 | dtscode | reactormonk, last time i did it wrong, Matrix 3 was made |
00:09:00 | Araq | hey Matrix 3 was better than Matrix 2 ... maybe |
00:09:26 | dtscode | meh. i dont like either of them |
00:11:51 | EXetoC | there's not much to get wrong. they're not raw bsd sockets after all :p |
00:12:29 | Araq | dtscode: yeah, I can't blame you |
00:12:37 | reactormonk | I've read some of the original story of matrix, which was cut because "too complicted" :-/ |
00:13:02 | dtscode | well, we know at least the logic is sound |
00:13:08 | dtscode | futurama taught us that |
00:13:41 | dtscode | EXetoC, meh... i still might have someone review it just in case |
00:14:39 | EXetoC | start with a simple client and server |
00:14:53 | flaviu | dtscode: Have afl review it! |
00:15:27 | dtscode | EXetoC, it wont help |
00:15:31 | flaviu | http://lcamtuf.coredump.cx/afl/ |
00:15:34 | dtscode | flaviu, whos afl? oh |
00:16:15 | def- | flaviu: i have some half-baked code to replicate the display of AFL in Nim btw |
00:16:17 | EXetoC | why not? |
00:16:52 | dtscode | because writing a simple client server is going to teach me the same as my irc bot. |
00:17:41 | * | gtrundle_ joined #nim |
00:17:47 | * | beatmox joined #nim |
00:18:07 | flaviu | dtscode: If you're really lucky, afl might even find a nice kernel bug! |
00:18:22 | EXetoC | and then you extend it as you see fit |
00:18:57 | EXetoC | but show some code if you want |
00:19:30 | dtscode | if im writing it wrong what difference would writing a simple client make? im still getting it wrong |
00:20:37 | EXetoC | practice makes perfect |
00:21:23 | dtscode | i am praticing |
00:21:31 | dtscode | i am practicing** |
00:21:52 | * | gtrundle quit (Quit: Bye) |
00:22:11 | dtscode | this bot is a collection of practicing |
00:34:20 | Araq | hi beatmox welcome |
00:35:55 | EXetoC | dtscode: there you go :-p |
00:40:04 | * | flaviu quit (Read error: Connection reset by peer) |
00:40:04 | * | Mimbus quit (Read error: Connection reset by peer) |
00:41:32 | * | Mimbus joined #nim |
00:44:33 | * | Danjcla joined #nim |
00:45:35 | beatmox | hello! moin moin! |
00:46:28 | BlaXpirit | nite nite |
00:46:36 | * | BlaXpirit quit (Quit: Quit Konversation) |
00:47:26 | Danjcla | So the "Online IRC" link that's on the footer of the we site is links to "#nimlang" which is an invite-only channel. Is here a good place to report that, or should I open a bug or a forum thread? |
00:47:36 | Danjcla | s/we/web/g |
00:48:36 | * | flaviu joined #nim |
00:48:42 | def- | Danjcla: thanks for the report, will make a PR to fix it |
00:49:04 | Danjcla | def-: cool thanks; was thinking nim community was all exclusive and shit :-p |
00:49:08 | def- | haha |
00:49:34 | * | test_ joined #nim |
00:49:40 | * | test_ quit (Client Quit) |
00:49:46 | * | dtscode is now known as PresidentTriscui |
00:50:43 | * | PresidentTriscui is now known as dtscode |
00:57:54 | reactormonk | Araq, well. Any way to rename "NimrodVM" to "NimVM"? |
00:59:05 | reactormonk | ah, found an idea. How can I set a symbol to "defined" in the compiler? |
01:01:21 | dtscode | theres a function in system isnt there? |
01:01:37 | Araq | reactormonk: compiler/condsyms.nim |
01:03:51 | Danjcla | Is http://forum.nim-lang.org/t/363 up to date? (tl;dr: it's not nearly as easy to use c++ libraries from nim vs. chaiscript or some of the lua extentions) |
01:04:20 | Araq | no it's not |
01:04:32 | reactormonk | Araq, thanks |
01:04:47 | Araq | the devel version has quite good c++ support, Danjcla |
01:04:55 | reactormonk | Any way to dump all defined symbols? You got some magic somewhere? |
01:05:05 | Danjcla | Is it doc'ed somewhere? |
01:05:06 | Araq | "nim dump"? |
01:05:28 | Araq | Danjcla: for now only in doc/nimc.txt |
01:05:39 | Araq | under 'importcpp' pragma |
01:05:51 | reactormonk | Araq, does that work for compilation magic such as NimrodVM? |
01:06:03 | flaviu | Araq: Can the compiler be updated for TFoo? |
01:06:04 | Danjcla | k thanks will take a look... |
01:07:16 | Araq | Danjcla: c2nim knows about the new C++ interop features, so it can generate the code for you |
01:07:50 | reactormonk | I've ran sed "s/\(nim\)rod/\1/gI" -i **/*.{nim, cfg} and fixed the deprecated in system.nim, now I get lib/system.nim(3050, 2) Error: redefinition of 'TNimNode' |
01:07:57 | Danjcla | Araq: Okay, I guess time to play :-) |
01:09:20 | * | JinShil joined #nim |
01:10:09 | Araq | reactormonk: yes. there is a TNimNode in hti.nim |
01:10:40 | reactormonk | Araq, yes, I know. But why doesn't it collide without the changes? |
01:11:03 | reactormonk | I suspected it to be the nimrodvm symbol, but when I add |
01:11:05 | reactormonk | when defined(NimrodVM): |
01:11:07 | reactormonk | defineSymbol("NimVM") |
01:11:07 | Araq | reactormonk: because the other is named TNimrodNode then? |
01:11:11 | reactormonk | ... it still doesn't compile |
01:11:19 | reactormonk | Araq, no, I renamed everything |
01:11:46 | Araq | A, B |
01:11:58 | Araq | s/A/B |
01:12:02 | Araq | B, B |
01:12:15 | * | JinShil quit (Client Quit) |
01:12:17 | reactormonk | hm, let's see |
01:13:44 | * | JinShil joined #nim |
01:14:20 | * | JinShil quit (Client Quit) |
01:14:53 | Danjcla | Araq: Actually might as well give you the use case to see if you think nim would be a good fit. I'm comfortable with scripting languages, nut C++ not so much. Want to write simple software for a platform where library APIs are only supported via C++. So it would be an app written in nim calling a bunch of C++ APIs, then all compiled by nim to C++ code (because it's not a platform nim compiler can cross-compile |
01:14:55 | Danjcla | to) |
01:15:10 | Danjcla | s/you/anyone/g |
01:16:59 | * | JinShil joined #nim |
01:17:15 | * | VinceAddons quit (Read error: Connection reset by peer) |
01:20:17 | Araq | Danjcla: depends on how the C++ API looks like. if it requires you to override every single function via inheritance Nim is still not good at that |
01:21:02 | reactormonk | Araq, ah you're right. What's the difference betwen TNimNode and TNimrodNode in the current compiler? |
01:21:22 | Araq | they have nothing in common whatsoever |
01:21:43 | Araq | TNimNode should be renamed to something else |
01:21:55 | Araq | but iirc that's a .compilerproc so good luck with that |
01:23:31 | reactormonk | TNimNode {.codegenType, final.} = object |
01:23:36 | Araq | hrm 'goto definition' simply works within flaviu's class macro |
01:23:49 | Araq | reactormonk: yeah don't mess with that |
01:24:05 | reactormonk | Araq, how come? |
01:27:21 | Araq | omg |
01:27:30 | Araq | it even knows where the 'this' comes from! |
01:27:43 | Araq | and its type! |
01:32:22 | Danjcla | Araq: Is overriding functions via inheritance the same thing as method overriding? |
01:32:34 | Araq | yes |
01:34:18 | * | WillDabeast joined #nim |
01:47:51 | * | johnsoft quit (Ping timeout: 252 seconds) |
01:48:48 | * | johnsoft joined #nim |
01:51:23 | Danjcla | I'm guessing pervasive use of "::" would indicate that is the case. (e.g. https://github.com/blackberry/Cascades-Samples/blob/master/pushCollector/src/app.cpp) |
01:52:25 | Danjcla | Araq: if so thanks a lot anyway, know better what to look for in general now. |
01:55:17 | Araq | Danjcla: :: is just namespacing |
01:59:07 | Danjcla | Oh I thought it was syntax for accessing an overridden function in the base class from a derived class |
02:02:05 | reactormonk | Araq, why shouldn I mess with the TNimNode stuff? Will break lotsa things? |
02:02:07 | Danjcla | Actually classes don't seem to be used at all as far as I can find in samples so far |
02:02:50 | Araq | reactormonk: you need to touch the codegen for this rename to work and then you break bootstrapping for everybody |
02:03:17 | reactormonk | Araq, so a new csources in order? |
02:03:58 | * | testuser_ joined #nim |
02:03:59 | Araq | no. why do you rename it to TNimNode anyway? |
02:04:03 | * | testuser_ quit (Client Quit) |
02:04:13 | Synatra | Hello |
02:04:17 | Araq | TNimrodNode should become NimNodeObj |
02:04:24 | Araq | and then there is no collision |
02:05:13 | Danjcla | Or rather the only place overriding seems to be used is with QT code. |
02:05:30 | Araq | Danjcla: we have some Qt wrapper. check the forum please |
02:05:38 | Danjcla | k will do |
02:05:49 | Danjcla | This is looking promising :-) |
02:05:58 | reactormonk | Araq, PNimrodNode* {.magic: "PNimrodNode".} = ref NimNodeObj should go to? |
02:06:10 | Synatra | jeez |
02:06:19 | Synatra | the 7th time I say hello with no hello back :( |
02:07:02 | reactormonk | dom96, make the bot say "hello" back |
02:07:11 | * | sampwing joined #nim |
02:09:30 | def- | hello Synatra |
02:09:42 | Synatra | def-: hi |
02:09:46 | * | dymk quit (Ping timeout: 272 seconds) |
02:11:17 | Araq | reactormonk: yeah |
02:11:23 | Araq | Synatra: hello |
02:11:25 | Araq | good night. |
02:11:37 | Synatra | Oh i see |
02:11:41 | Synatra | good night :( |
02:14:56 | * | fizzbooze joined #nim |
02:15:15 | * | dymk joined #nim |
02:17:55 | * | sampwing quit (Ping timeout: 252 seconds) |
02:37:51 | * | johnsoft quit (Ping timeout: 264 seconds) |
02:44:08 | * | darkf joined #nim |
02:44:45 | * | nande quit (Remote host closed the connection) |
02:47:18 | * | dymk quit (Ping timeout: 265 seconds) |
02:49:54 | * | dymk joined #nim |
02:54:32 | * | dymk quit (Ping timeout: 265 seconds) |
02:55:19 | * | dymk joined #nim |
03:06:46 | * | dymk quit (Ping timeout: 272 seconds) |
03:09:20 | * | dymk joined #nim |
03:12:53 | * | gtrundle_ quit (Quit: Leaving) |
03:17:22 | * | WillDabeast quit (Ping timeout: 246 seconds) |
03:27:40 | * | dymk quit (Ping timeout: 272 seconds) |
03:28:52 | * | dymk joined #nim |
03:30:02 | * | brson quit (Quit: leaving) |
03:39:57 | * | vendethiel quit (Ping timeout: 256 seconds) |
03:42:44 | * | EXetoC quit (Ping timeout: 245 seconds) |
03:45:42 | flaviu | Varriount, Araq, dom96: http://forum.nim-lang.org/t/807 |
03:46:49 | flaviu | can you give fadg44a3w4fe mod powers so I can deal with this sort of stuff myself? |
03:47:03 | reactormonk | Araq, well, renaming PNimrodNode magic doesn't work too well either |
03:48:29 | dtscode | wait you are fadg44a3w4fe flaviu ? |
03:48:37 | flaviu | yes? |
03:49:14 | dtscode | thats quite an interesting username |
03:49:19 | fowlmouth | thats his legal name dtscode |
03:49:25 | dtscode | ah ok |
03:49:39 | flaviu | lol, fowl is a bit confused |
03:49:50 | fowlmouth | flaviu is cybertronian |
03:49:54 | fowlmouth | thats why he speaks ASM |
03:50:05 | dtscode | o.O |
03:50:31 | flaviu | idivq %edx 0x45 |
03:50:46 | flaviu | see? I probably butchered that though. |
03:50:51 | dtscode | wait i thought flaviu's real name was flaviu ? |
03:51:23 | fowlmouth | joke sounded better in my head |
03:51:54 | dtscode | just like my code/ideas |
03:53:55 | fowlmouth | or my wife |
03:58:07 | dtscode | your wife sounds a lot like my gf |
03:59:46 | Trixar_za | How do they sound in your head? |
03:59:53 | Trixar_za | or is it just silence? |
04:00:11 | Trixar_za | Slience and Sandwitches :) |
04:00:18 | Trixar_za | Silence* |
04:06:16 | dtscode | the only thing in my head is the pokemon theme song |
04:21:47 | * | Synatra quit (Quit: Connection closed for inactivity) |
04:43:27 | * | SilentNuke joined #nim |
04:52:00 | * | brson joined #nim |
04:54:16 | * | JinShil quit (Quit: Konversation terminated!) |
05:08:24 | * | vendethiel joined #nim |
05:32:12 | * | fizzbooze quit (Quit: WeeChat 1.1) |
05:32:58 | * | SilentNuke quit () |
05:33:42 | * | vendethiel quit (Ping timeout: 272 seconds) |
07:23:33 | * | chemist69 joined #nim |
07:24:52 | * | BitPuffin quit (Ping timeout: 240 seconds) |
07:36:22 | * | kashyap_ quit (Ping timeout: 246 seconds) |
07:42:14 | ekarlso | this packages stuff makes me realize how terrible I am at webpages :| |
07:49:56 | chemist69 | \quit |
07:50:09 | * | chemist69 quit (Quit: leaving) |
08:04:27 | * | brson quit (Ping timeout: 245 seconds) |
08:05:48 | * | JinShil joined #nim |
08:10:01 | * | bjz joined #nim |
08:15:41 | * | bjz quit (Max SendQ exceeded) |
08:18:35 | * | bjz joined #nim |
08:19:38 | * | JinShil quit (Quit: Konversation terminated!) |
08:21:00 | * | JinShil joined #nim |
08:22:15 | * | reem joined #nim |
08:28:03 | * | JinShil quit (Quit: Konversation terminated!) |
08:31:11 | * | bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
08:31:33 | * | Sphax joined #nim |
08:39:25 | * | Sphax quit (Quit: CYA!!) |
08:39:55 | * | Sphax joined #nim |
08:45:34 | * | Matthias247 joined #nim |
08:51:11 | * | bjz joined #nim |
08:51:23 | * | BitPuffin joined #nim |
08:53:20 | * | Demon_Fox quit (Quit: Leaving) |
08:53:50 | * | ehaliewicz joined #nim |
08:54:00 | * | Trustable joined #nim |
08:55:52 | * | BitPuffin quit (Ping timeout: 240 seconds) |
09:08:44 | * | BlaXpirit joined #nim |
09:46:48 | * | dumdum joined #nim |
09:52:10 | * | reem quit (Remote host closed the connection) |
09:55:28 | * | BitPuffin joined #nim |
10:00:15 | * | ehaliewicz quit (Ping timeout: 276 seconds) |
10:06:47 | * | VinceAddons joined #nim |
10:40:57 | * | vendethiel joined #nim |
10:42:52 | * | EXetoC joined #nim |
10:42:55 | dumdum | Since ';' almost unnecessary in nim source but ':' is used a lot, to avoid pressing 'shift' to type colon, in linux X systems use this; |
10:42:59 | dumdum | xmodmap -e "keycode 47 = colon semicolon semicolon colon dead_acute dead_doubleacute" |
10:43:15 | * | JinShil joined #nim |
10:43:43 | dumdum | and this to revert: xmodmap -e "keycode 47 = semicolon colon semicolon colon dead_acute dead_doubleacute" |
10:44:20 | * | ARCADIVS quit (Quit: ARCADIVS) |
10:46:34 | Araq | dumdum: but both : and ; require the shift key :P |
10:48:10 | BlaXpirit | huh |
10:48:29 | dumdum | hmm? mine does not anymore for : , I have a single key for :; with ; default |
10:49:07 | Triplefox | depends on keyboard locale |
10:49:18 | dumdum | well use: xmodmap -pke <-- to see your current settings and then change them using xmodmap -e ".." |
10:50:06 | BlaXpirit | honestly typing shift+; is one of the least uncomfortable things to type |
10:50:30 | dumdum | ah, yes, i will switch that too :D |
10:50:33 | BlaXpirit | this change is worth less than readapting |
10:50:54 | BlaXpirit | that it requires |
10:52:12 | * | JinShil quit (Read error: Connection reset by peer) |
10:52:33 | * | kuzy000_ joined #nim |
10:54:03 | * | kuzy000_ quit (Remote host closed the connection) |
11:03:02 | * | JinShil joined #nim |
11:04:09 | * | kashyap_ joined #nim |
11:04:18 | * | johnsoft joined #nim |
11:04:57 | kashyap_ | I tried to use macros in my kernel project but it appears that it has dependencies at the moment that may not let it be used for kernel development ... is that right? |
11:06:42 | kashyap_ | The moment I add --os:standalone during compilation, I get lib/pure/parseutils.nim(297, 42) Error: type mismatch: got (string, Slice[int]) |
11:09:03 | * | JinShil quit (Ping timeout: 264 seconds) |
11:15:26 | Araq | kashyap_: yeah that's a problem. please report it, it's easy to fix, I think |
11:15:43 | kashyap_ | glad to hear...will report it right away |
11:18:51 | kashyap_ | filed https://github.com/Araq/Nim/issues/2041 |
11:33:08 | * | gunn_ joined #nim |
11:33:18 | * | TylerE quit () |
11:33:28 | * | TylerE joined #nim |
11:33:50 | * | gunn quit (Ping timeout: 246 seconds) |
12:02:57 | * | Sphax quit (Quit: ZZZZZzzzzz) |
12:10:47 | * | kapil__ quit () |
12:11:05 | * | kapil__ joined #nim |
12:12:56 | * | jasondotstar quit (Quit: Leaving) |
12:26:53 | * | Sphax joined #nim |
12:30:21 | * | gtrundle joined #nim |
12:32:27 | * | BitPuffin quit (Ping timeout: 264 seconds) |
12:36:01 | * | dumdum quit (Ping timeout: 256 seconds) |
12:47:03 | * | BitPuffin joined #nim |
12:49:28 | * | BlaXpirit quit (Read error: Connection reset by peer) |
12:50:32 | * | BlaXpirit joined #nim |
12:58:31 | * | BlaXpirit quit (Quit: Quit Konversation) |
12:58:48 | * | BlaXpirit joined #nim |
13:22:13 | * | sillesta joined #nim |
13:48:21 | * | springbok quit (Ping timeout: 252 seconds) |
13:55:13 | ekarlso | anyone know howto make a column in bootstrap not overflow ? |
14:01:51 | * | gunn_ quit (Ping timeout: 264 seconds) |
14:02:25 | * | gunn joined #nim |
14:15:38 | * | NimBot joined #nim |
14:29:21 | * | gunn quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
14:30:39 | * | darkf quit (Quit: Leaving) |
14:41:50 | * | daniel_cp quit (Quit: daniel_cp) |
14:43:30 | * | kuzy000 joined #nim |
14:51:39 | * | BitPuffin quit (Ping timeout: 264 seconds) |
14:51:42 | * | Synatra joined #nim |
14:52:02 | * | Synatra is now known as AtomicBool |
14:53:17 | AtomicBool | Hello |
14:55:17 | Araq | hi AtomicBool. welcome |
14:55:32 | AtomicBool | how r u Araq? |
14:57:04 | Araq | I'm fine |
14:57:42 | AtomicBool | Thats good |
15:10:48 | * | kapil__ quit (Quit: Connection closed for inactivity) |
15:11:44 | * | BitPuffin joined #nim |
15:20:10 | * | Demos joined #nim |
15:20:31 | Demos | is devel broken? |
15:27:07 | * | Demos quit (Ping timeout: 255 seconds) |
15:27:24 | * | Trustable quit (Remote host closed the connection) |
15:51:57 | * | dumdum joined #nim |
15:55:45 | * | MajorWork quit (Quit: Leaving) |
16:16:54 | * | ehaliewicz joined #nim |
16:24:46 | * | reem joined #nim |
16:28:00 | * | ehaliewicz quit (Remote host closed the connection) |
16:46:58 | * | sampwing joined #nim |
16:51:19 | * | sampwing quit (Ping timeout: 252 seconds) |
17:02:43 | * | Sphax quit (Quit: CYA!!) |
17:07:23 | * | quasinoxen quit (Read error: Connection reset by peer) |
17:16:56 | * | vendethiel quit (Quit: q+) |
17:20:00 | ekarlso | is it like cricket sounds here today ? :p |
17:35:10 | * | sampwing joined #nim |
17:39:13 | * | Etheco quit (Read error: Connection reset by peer) |
17:49:11 | * | BitPuffin quit (Ping timeout: 244 seconds) |
17:50:01 | * | NimBot joined #nim |
17:56:04 | * | gsingh93 joined #nim |
17:57:29 | * | gsingh93 quit (Client Quit) |
17:57:45 | * | gsingh93 joined #nim |
18:05:38 | * | sampwing quit (Read error: Connection reset by peer) |
18:08:41 | * | kniteli quit (Ping timeout: 252 seconds) |
18:08:41 | * | eigenlicht quit (Ping timeout: 252 seconds) |
18:09:03 | * | skroll3 quit (Ping timeout: 252 seconds) |
18:09:03 | * | ramnes quit (Ping timeout: 252 seconds) |
18:09:30 | ekarlso | dom96: you there ? ^ |
18:09:37 | dom96 | yes |
18:09:39 | * | ramnes joined #nim |
18:10:37 | ekarlso | sitting here wondering how to do nimble -,,- |
18:14:00 | ekarlso | dom96: any reason why one doesn't use toml format or alike vs custom ? |
18:14:11 | dom96 | yes |
18:14:16 | dom96 | parsecfg is in the stdlib |
18:14:28 | ekarlso | oook :p |
18:14:50 | ekarlso | is there a manual on what the diff options mean like installext etc? |
18:20:49 | Araq | these questions are so backwards |
18:20:56 | * | skroll3 joined #nim |
18:20:59 | * | kniteli joined #nim |
18:21:04 | Araq | parsecfg was modelled after ini long before "toml" existed |
18:22:04 | Araq | there is nothing "custom" about it, there was no "toml standard" we could have used instead |
18:22:32 | * | eigenlicht joined #nim |
18:22:48 | ekarlso | :p |
18:23:20 | ekarlso | yay |
18:23:26 | ekarlso | first pkg installed via nimble via registry! |
18:24:04 | ekarlso | no cheers for that ? :( |
18:24:06 | ekarlso | nooo |
18:26:59 | * | kniteli quit (Remote host closed the connection) |
18:28:32 | * | kniteli joined #nim |
18:29:05 | Araq | ekarlso: cheers! :-) |
18:29:24 | Araq | but I'm hardly aware of what you're doing ;-) |
18:32:11 | * | ehaliewicz joined #nim |
18:35:10 | EXetoC | ekarlso: via a web interface? |
18:42:39 | * | dumdum quit (Ping timeout: 256 seconds) |
19:00:56 | ekarlso | EXetoC: more like nimble going to nim-pkg grabbing the metadata vs package.json |
19:01:26 | ekarlso | Araq: making the package.json > a program (: |
19:03:00 | ekarlso | Araq: nimble api backend with sqlite atm with a html / js frontend page as well as nimble |
19:04:06 | ekarlso | adding "nimble register" > useful to have after "nimble init" that reads the nimble file and posts it up to the registry and a "nimble release" to package up the current version up to the registry |
19:05:15 | ekarlso | should be useful to have in stuff like CI tools etc |
19:06:17 | * | Demon_Fox joined #nim |
19:07:04 | ekarlso | Araq: so then you know ;p |
19:11:10 | * | dumdum joined #nim |
19:12:14 | ekarlso | dom96: would it be a bad idea to unify Package / PackageInfo ? |
19:12:28 | dom96 | yes |
19:12:45 | ekarlso | why so ? |
19:27:14 | * | Matthias247 quit (Read error: Connection reset by peer) |
19:27:25 | * | irrequietus joined #nim |
19:56:57 | * | matkuki_ joined #nim |
19:57:40 | * | nande joined #nim |
19:58:13 | * | matkuki_ is now known as matkuki |
20:00:19 | * | matkuki quit (Client Quit) |
20:01:01 | * | brson joined #nim |
20:03:57 | ekarlso | hmmms |
20:04:03 | ekarlso | how do you add a newline in nim ? |
20:04:05 | * | matkuki joined #nim |
20:04:15 | * | dumdum quit (Ping timeout: 256 seconds) |
20:05:45 | * | dtscode is now known as notdtscode |
20:06:12 | notdtscode | & "\n"? |
20:06:33 | * | notdtscode is now known as dtscode |
20:07:53 | * | matkuki quit (Client Quit) |
20:08:10 | * | matkuki joined #nim |
20:10:10 | * | rational joined #nim |
20:14:40 | * | matkuki quit (Quit: ChatZilla 0.9.91.1 [Firefox 35.0.1/20150122214805]) |
20:17:04 | ekarlso | dom96: does nimble have a "config" file itself ? |
20:17:18 | dom96 | yes |
20:17:27 | ekarlso | where does that get loaded ? |
20:17:44 | ekarlso | and I dont mean the per package one |
20:20:14 | ekarlso | dom96: ? |
20:20:49 | dom96 | https://github.com/nim-lang/nimble/blob/master/src/nimblepkg/config.nim |
20:21:41 | ekarlso | kewl! |
20:29:28 | * | sampwing joined #nim |
20:32:01 | BlaXpirit | Please tell me if it should be possible to use this library at compile time if "re" is not used. https://github.com/BlaXpirit/docopt.nim/blob/master/src/docopt.nim |
20:46:36 | BlaXpirit | And, is it possible to use C code (header-only lib) at compile time? |
20:47:53 | def- | BlaXpirit: don't think you can do C code at compile time |
20:48:50 | BlaXpirit | is there any interest in some very lightweight regex library, which is not nearly feature-complete? |
20:49:38 | BlaXpirit | been looking at this https://github.com/BlaXpirit/slre (this is not mine, just cloned it for preservation) |
20:53:08 | flaviu | BlaXpirit: It's already on github: https://github.com/cesanta/slre |
20:53:15 | flaviu | also, no lookarounds :( |
20:53:37 | BlaXpirit | flaviu, the author deleted MIT-licensed repository and uploaded it in GPL-licensed |
20:53:55 | BlaXpirit | or he thought he deleted, because that googlecode MIT code cloned just fine |
20:53:59 | * | nande quit (Read error: Connection reset by peer) |
20:54:32 | flaviu | I see. That's nasty. :/ |
20:54:54 | BlaXpirit | still, there is no way he can un-license what's on the internet |
20:55:12 | BlaXpirit | the reason i'm mentioning this, is maybe docopt can be compile-time |
20:55:22 | BlaXpirit | but I don't have a good idea of how to approach it |
20:55:35 | BlaXpirit | getting rid of C dependency seems completely possible though |
20:55:51 | flaviu | bug araq to fix VM FFI :P |
20:56:20 | flaviu | But why would you want it to be compile-time? |
20:56:31 | def- | for efficiency! |
20:56:33 | BlaXpirit | there is no real reason for it |
20:56:44 | def- | first thing i tried with docopt was to make it work at compile time |
20:57:04 | BlaXpirit | just a whim of some people, and I completely understand it |
20:57:04 | flaviu | def-: you only need to parse arguments once, efficiency doesn't matter much. |
20:57:17 | BlaXpirit | it's more to advertise nim's awesomeness |
20:57:26 | def- | flaviu: it matters if you have a program that gets run very often |
20:57:26 | flaviu | BlaXpirit: If you're looking for a fun time, try writing compile-time PEGs! |
20:57:30 | BlaXpirit | def-, and what have you achieved? |
20:57:41 | def- | BlaXpirit: nothing, but i think only regular expressions were the problem |
20:58:07 | BlaXpirit | i am not completely sure if the data type is always the same for the same doc string |
20:58:13 | BlaXpirit | data types of all values, that is |
21:00:04 | flaviu | BlaXpirit: slre might not be a good choice, it seems buggy and unmaintaned. |
21:00:22 | BlaXpirit | but it might work for what is needed here |
21:00:57 | flaviu | I don't like it, the bugs are fairly major too. |
21:01:09 | BlaXpirit | let's take it somewhere else |
21:01:12 | flaviu | ok |
21:01:46 | * | BitPuffin joined #nim |
21:02:41 | * | nande joined #nim |
21:06:21 | BlaXpirit | oh, and what about functions like sscanf, are they available in nim? |
21:07:30 | * | gsingh93 quit (Quit: Connection closed for inactivity) |
21:11:18 | * | fizzbooze joined #nim |
21:13:57 | ekarlso | soo |
21:14:05 | ekarlso | should the api take a pre-set of allowed licenses |
21:14:13 | ekarlso | or user defined ? |
21:15:24 | BlaXpirit | this is difficult |
21:15:42 | BlaXpirit | predefined sure is nice, but you can't disallow custom licenses |
21:17:49 | EXetoC | GPLed libs :\ |
21:18:10 | ekarlso | there's a API for licenses management |
21:18:11 | flaviu | Yeah, you can be certain that someone will make typos while spelling out the licence if it isn't predefined. |
21:18:13 | ekarlso | so that's ok |
21:27:03 | * | reem quit (Remote host closed the connection) |
21:30:13 | ekarlso | hmm |
21:30:22 | ekarlso | can you toSeq(jarray) ? |
21:31:34 | EXetoC | ekarlso: yes, if there's an item iterator for that type. try it :p |
21:34:46 | * | reem joined #nim |
21:41:48 | ekarlso | License BSD is invalid.. Needs to be one of: |
21:41:49 | * | AtomicBool quit (Quit: Connection closed for inactivity) |
21:41:50 | ekarlso | 'MIT' |
21:41:52 | ekarlso | yarp |
21:55:28 | BlaXpirit | how to get all members of a set[char] as a string? |
21:59:12 | def- | BlaXpirit: similarly to `$` for set? |
21:59:27 | BlaXpirit | {'a'..'c'} -> "abc" |
22:00:29 | def- | https://gist.github.com/def-/da16bfa4934a8639d158 |
22:00:59 | BlaXpirit | right... thanks |
22:01:07 | BlaXpirit | was expecting something very clever |
22:01:32 | dtscode | everything def- says is clever |
22:25:08 | * | fizzbooze quit (Ping timeout: 272 seconds) |
22:26:30 | * | dumdum joined #nim |
22:29:53 | * | kuzy000 quit (Ping timeout: 240 seconds) |
22:33:09 | * | vendethiel joined #nim |
22:40:21 | flaviu | def-: re docopt performance: If the test suite is representative of real-world use, it costs 89.71µs per invocation. I don't think that's worth optimizing. |
22:41:11 | def- | flaviu: oh, nice |
22:56:24 | * | saml quit (Quit: Leaving) |
23:01:08 | onionhammer | Araq you got a timeline for when nimsuggest will be built by default? |
23:01:17 | onionhammer | (by koch?) |
23:03:02 | * | BlaXpirit quit (Quit: Quit Konversation) |
23:03:32 | def- | onionhammer: alternatively nimsuggest could move into its own repo |
23:03:46 | * | Jesin quit (Ping timeout: 272 seconds) |
23:04:56 | onionhammer | def- well. the advantage to having it built w/ nim is that ides can rely on it being around if nim is installed on the machine |
23:05:13 | * | reem quit (Remote host closed the connection) |
23:06:30 | EXetoC | it can still be done |
23:08:30 | * | reem joined #nim |
23:11:15 | * | dumdum quit (Ping timeout: 256 seconds) |
23:12:42 | * | reem quit (Remote host closed the connection) |
23:24:16 | * | reem joined #nim |
23:25:59 | * | sillesta quit (Ping timeout: 256 seconds) |
23:28:22 | * | sillesta joined #nim |
23:48:15 | * | dapz joined #nim |
23:53:25 | * | reem quit (Remote host closed the connection) |
23:55:57 | * | dapz quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
23:57:49 | * | brson quit (Quit: leaving) |