| 00:03:32 | * | gunn joined #nim |
| 00:16:18 | * | brson quit (Quit: leaving) |
| 00:32:19 | * | Matthias247 quit (Read error: Connection reset by peer) |
| 00:32:52 | * | wb quit (Ping timeout: 244 seconds) |
| 00:33:26 | * | gunn quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
| 00:48:53 | * | sillesta64 quit (Ping timeout: 244 seconds) |
| 00:49:03 | * | reem_ joined #nim |
| 00:50:35 | * | davidhq quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
| 00:52:07 | * | reem_ quit (Remote host closed the connection) |
| 00:53:29 | * | reem joined #nim |
| 01:20:54 | * | Var|Mobile quit (Ping timeout: 246 seconds) |
| 01:25:11 | * | Var|Mobile joined #nim |
| 01:28:33 | * | reem quit (Remote host closed the connection) |
| 01:33:18 | * | reem joined #nim |
| 01:33:56 | * | gunn joined #nim |
| 01:36:05 | akiradeveloper | Question about nimble. Here I have a github repository with fuse.nim and fuse.nimble https://github.com/akiradeveloper/nim-fuse . How do I install this library to local nimble package system? |
| 01:36:56 | def- | akiradeveloper: "nimble install https://github.com/akiradeveloper/nim-fuse" |
| 01:37:11 | def- | I thought, but doesn't seem to work |
| 01:37:52 | def- | Then just download it, enter the directory and type "nimble install" |
| 01:38:22 | akiradeveloper | AILURE: Specified directory does not contain a .nimble file. |
| 01:38:32 | def- | yeah, i noticed as well |
| 01:38:41 | akiradeveloper | what is the problem? |
| 01:38:44 | akiradeveloper | I have fuse.nimble |
| 01:38:57 | def- | i'd guess a nimble bug |
| 01:39:03 | akiradeveloper | should be nim-fuse.nimble? |
| 01:39:36 | def- | i don't think that matters |
| 01:39:59 | def- | the proper way would of course be to get fuse into https://github.com/nim-lang/packages/ |
| 01:40:55 | akiradeveloper | yeah but before that I am testing |
| 01:40:58 | * | Var|Mobile quit (Read error: Connection reset by peer) |
| 01:41:31 | akiradeveloper | I enter the directory and type nimble install then it succeeded |
| 01:41:56 | akiradeveloper | but nim c hello.nim seems to link with the local fuse.nim not the nimble one |
| 01:42:15 | def- | the local fuse.nim probably has higher priority |
| 01:42:22 | * | Var|Mobile joined #nim |
| 01:42:47 | * | johnsoft quit (Ping timeout: 245 seconds) |
| 01:43:26 | * | johnsoft joined #nim |
| 01:43:36 | * | Jesin joined #nim |
| 01:44:18 | akiradeveloper | ok. I move hello.nim to other directory and tested. |
| 01:44:42 | * | Var|Mobile quit (Read error: No route to host) |
| 01:44:54 | * | Var|Mobile joined #nim |
| 01:44:57 | * | reem quit (Quit: Leaving...) |
| 01:45:07 | akiradeveloper | I think I will send this to nim-lang/packages |
| 01:47:23 | * | Var|Mobile quit (Read error: Connection reset by peer) |
| 01:49:05 | * | Var|Mobile joined #nim |
| 01:56:35 | * | Var|Mobile quit (Ping timeout: 256 seconds) |
| 01:59:30 | * | Var|Mobile joined #nim |
| 01:59:50 | def- | akiradeveloper: yeah, that's the way to go if it's usable and useful |
| 01:59:50 | * | Var|Mobile quit (Read error: Connection reset by peer) |
| 02:03:06 | * | TylerE quit (Ping timeout: 276 seconds) |
| 02:06:08 | * | Var|Mobile joined #nim |
| 02:08:22 | * | Var|Mobile quit (Read error: Connection reset by peer) |
| 02:12:31 | akiradeveloper | pull requested ^^ |
| 02:22:31 | * | akiradeveloper quit (Remote host closed the connection) |
| 02:25:00 | * | reem joined #nim |
| 02:27:08 | * | davidhq joined #nim |
| 02:29:34 | * | darkf joined #nim |
| 02:48:55 | * | ARCADIVS joined #nim |
| 02:52:28 | * | Jesin quit (Quit: Leaving) |
| 02:53:10 | * | VinceAddons quit (Read error: Connection reset by peer) |
| 02:57:42 | flaviu | def-: please rebase the brainfuck pr onto head |
| 02:58:01 | flaviu | I wish the github UI had an option for that. |
| 03:01:32 | dom96 | def-: Also, fix the git url, the repo name is 'nim-brainfuck' |
| 03:01:36 | def- | yes, i noticed |
| 03:01:49 | def- | and the fuse one has a comma too much :P |
| 03:04:51 | * | EXetoC quit (Ping timeout: 246 seconds) |
| 03:11:36 | def- | flaviu: pull please |
| 03:15:44 | flaviu | def-: pulled |
| 03:15:47 | def- | thanks |
| 03:23:00 | * | akiradeveloper joined #nim |
| 03:24:55 | def- | akiradeveloper: i know why it failed |
| 03:25:10 | def- | akiradeveloper: nimble gets the master branch |
| 03:25:20 | def- | while you develop in another one |
| 03:26:01 | def- | maybe nimble should use the git default branch |
| 03:27:39 | * | akiradeveloper quit (Ping timeout: 264 seconds) |
| 03:40:35 | * | TylerE joined #nim |
| 03:41:58 | * | akiradeveloper joined #nim |
| 03:44:28 | * | Puffin joined #nim |
| 03:45:40 | * | Puffin quit (Excess Flood) |
| 03:46:03 | * | Puffin joined #nim |
| 03:56:03 | * | akiradeveloper quit (Remote host closed the connection) |
| 04:14:21 | * | akiradeveloper joined #nim |
| 04:33:44 | * | kniteli quit (Quit: Leaving) |
| 04:35:14 | * | Puffin quit (Ping timeout: 245 seconds) |
| 04:35:41 | * | brson joined #nim |
| 04:38:11 | * | akiradeveloper quit () |
| 05:07:30 | * | nande quit (Read error: Connection reset by peer) |
| 05:17:52 | * | saml_ quit (Quit: Leaving) |
| 05:19:24 | * | reem quit (Remote host closed the connection) |
| 05:22:44 | * | reem joined #nim |
| 05:24:44 | * | reem quit (Remote host closed the connection) |
| 05:35:42 | * | Jesin joined #nim |
| 05:45:58 | * | mal`` joined #nim |
| 06:12:33 | * | kapil__ joined #nim |
| 06:13:18 | * | ARCADIVS quit (Quit: ARCADIVS) |
| 06:37:42 | * | akiradeveloper joined #nim |
| 07:19:49 | * | dtscoder joined #nim |
| 07:32:05 | * | Puffin joined #nim |
| 07:36:21 | * | Puffin quit (Ping timeout: 245 seconds) |
| 07:42:16 | * | Jesin quit (Ping timeout: 255 seconds) |
| 07:47:12 | * | dtscode quit (Quit: ZNC - http://znc.in) |
| 07:47:12 | * | dtscoder quit (Quit: ZNC - http://znc.in) |
| 07:47:42 | * | dtscode joined #nim |
| 07:48:14 | * | dtscoder joined #nim |
| 07:49:59 | * | dtscode quit (Disconnected by services) |
| 07:50:05 | * | dtscoder is now known as dtscode |
| 08:13:40 | * | shodan45 quit (Read error: Connection reset by peer) |
| 08:13:49 | * | shodan45 joined #nim |
| 08:14:53 | * | ehaliewicz quit (Ping timeout: 250 seconds) |
| 08:21:51 | * | akiradeveloper quit (Remote host closed the connection) |
| 08:30:20 | * | JinShil joined #nim |
| 08:45:17 | * | reem joined #nim |
| 08:50:48 | * | brson quit (Quit: leaving) |
| 08:55:16 | * | reem quit (Remote host closed the connection) |
| 08:56:47 | * | kuzy000_ joined #nim |
| 08:59:53 | * | reem joined #nim |
| 08:59:57 | * | reem quit (Remote host closed the connection) |
| 09:00:54 | * | wb joined #nim |
| 09:01:26 | * | reem joined #nim |
| 09:22:32 | * | vendethiel joined #nim |
| 09:23:39 | * | VinceAddons joined #nim |
| 09:37:30 | * | akiradeveloper joined #nim |
| 09:38:09 | * | JinShil quit (Quit: Konversation terminated!) |
| 09:41:37 | * | akiradeveloper quit (Remote host closed the connection) |
| 09:42:20 | * | akiradeveloper joined #nim |
| 10:06:56 | * | dumdum joined #nim |
| 10:30:24 | * | Matthias247 joined #nim |
| 10:50:03 | * | akiradeveloper quit (Remote host closed the connection) |
| 10:51:37 | * | akiradeveloper joined #nim |
| 10:52:22 | * | akiradeveloper quit (Client Quit) |
| 11:01:20 | * | sillesta64 joined #nim |
| 11:01:42 | wb | So apparently Nim arrays are a "non-destructible context". Could someone point me to the docs on what this means exactly? |
| 11:03:27 | Araq | http://nim-lang.org/manual.html#destructors |
| 11:03:47 | Araq | A destructible context is currently only the following: |
| 11:03:48 | Araq | The expr in var x = expr. |
| 11:03:50 | Araq | The expr in let x = expr. |
| 11:03:52 | Araq | The expr in return expr. |
| 11:03:53 | Araq | The expr in result = expr where result is the special symbol introduced by the compiler. |
| 11:03:55 | Araq | These rules ensure that the construction is tied to a variable and can easily be destructed at its scope exit. Later versions of the language will improve the support of destructors. |
| 11:07:02 | Araq | (The jury is still out deciding whether it's a brilliant design idea, or horrible.) |
| 11:08:32 | wb | Thanks. Are destructors common in Nim code, or relatively rare? |
| 11:12:42 | Araq | I never use them and rarely encounter them |
| 11:16:01 | * | BlaXpirit joined #nim |
| 11:17:40 | wb | Hah, good timing. Just googled destructor-related stuff and the biggest hit is an irc conversation about their use in the CSFML bindings! |
| 11:19:07 | wb | (i ran into this when trying to fill an array with RectangleShape's -- ptr objects with destructors) |
| 11:20:09 | * | JinShil joined #nim |
| 11:21:14 | Araq | wb: I spent the last weeks with improving Nim's C++ support tremendously |
| 11:21:44 | Araq | when you use 'cpp' instead of 'c' to compile your stuff, C++ will invoke the destructors for you without any wrapping efforts whatsoever |
| 11:22:11 | Araq | it's worth a try |
| 11:22:40 | wb | Interesting, will try that out. Thanks |
| 11:25:23 | BlaXpirit | hi, Araq and wb |
| 11:25:34 | BlaXpirit | I don't understand what you mean here, Araq |
| 11:26:09 | BlaXpirit | can you explain in some other words? |
| 11:27:59 | BlaXpirit | also, I don't think it's relevant :| |
| 11:31:33 | BlaXpirit | it's probably about C++ destructors |
| 11:35:50 | * | EXetoC joined #nim |
| 11:35:51 | BlaXpirit | but man, wrapping a C++ library directly might be realistic now, and I have no idea |
| 11:45:02 | * | Matthias247 quit (Read error: Connection reset by peer) |
| 11:47:37 | * | dumdum quit (Ping timeout: 256 seconds) |
| 11:59:11 | * | dumdum joined #nim |
| 12:02:54 | * | bjz_ quit (Ping timeout: 265 seconds) |
| 12:05:10 | * | bjz joined #nim |
| 12:16:36 | Araq | onionhammer: I implemented "nimsuggest knows how to deal with files not belonging to the project" |
| 12:16:48 | Araq | please try it, I barely tested it |
| 12:16:59 | Araq | (but I did test it) |
| 12:17:03 | Araq | bbl |
| 12:26:08 | * | akiradeveloper joined #nim |
| 12:41:50 | * | akiradeveloper quit () |
| 12:46:42 | BlaXpirit | how to elegatly cycle through an enum? |
| 12:47:09 | BlaXpirit | inc with wraparound |
| 12:47:31 | def- | if x > x.high: x = x.low ? |
| 12:52:49 | BlaXpirit | it can't be > |
| 12:52:52 | BlaXpirit | but yeah, that's good |
| 12:53:51 | BlaXpirit | x = if x==T.high: T.low else: succ(x) |
| 12:55:24 | * | Trustable joined #nim |
| 12:59:38 | BlaXpirit | i hoped httpclient would work with static |
| 13:00:50 | def- | static? |
| 13:01:44 | BlaXpirit | const ipsum = getContent("http://loripsum.net/api/12/short/plaintext") |
| 13:02:19 | * | mytrile joined #nim |
| 13:05:53 | def- | you could hack around it with curl if you want: const ipsum = staticExec("curl http://loripsum.net/api/12/short/plaintext") |
| 13:06:29 | def- | but yes, using C FFI at compiletime would be very nice |
| 13:13:12 | * | Angry joined #nim |
| 13:14:37 | * | mytrile quit (Read error: Connection reset by peer) |
| 13:26:09 | * | alexruf joined #nim |
| 13:36:52 | * | alexruf quit (Quit: My Mac has gone to sleep. ZZZzzz…) |
| 13:36:59 | * | gokr quit (Ping timeout: 250 seconds) |
| 13:38:02 | * | mytrile joined #nim |
| 13:43:44 | * | alexruf joined #nim |
| 13:55:08 | Araq | def-: bug #2084 works according to the spec. which ... needs to be written. |
| 13:55:35 | def- | Araq: why does it not work with result, but any other variable? |
| 13:55:49 | Araq | 'result = ...' triggers a void context |
| 13:56:02 | Araq | because anything else would be confusing and break code |
| 13:56:54 | def- | i don't understand it |
| 13:58:10 | Araq | well just look at your example |
| 13:58:24 | Araq | you assign to 'result' and then that's not the result value |
| 13:58:45 | Araq | as you yield 4 for the case expression which will then be assigned implicitly to 'result' |
| 13:59:36 | Araq | essentially, you either use implicit 'result = ...' assignments in the form of body = expression |
| 13:59:55 | Araq | or you use explicit 'result = ...' assignments in the form of body = statement |
| 14:00:14 | Araq | mixing both is weird, IMHO |
| 14:00:21 | def- | alright, now it makes sense |
| 14:00:28 | def- | thanks |
| 14:13:54 | BlaXpirit | is there a way to call a function by unpacking items of a tuple? |
| 14:14:10 | BlaXpirit | instead of f(t[0], t[1], t[2]) |
| 14:23:26 | * | Puffin joined #nim |
| 14:26:13 | * | Puffin is now known as BitPuffin |
| 14:29:45 | flaviu | BlaXpirit: make a macro! |
| 14:29:57 | BlaXpirit | bleh |
| 14:33:43 | Araq | omg, we need this in the stdlib: https://github.com/mjdominus/cf |
| 14:34:01 | Araq | much better than "fractions" (sorry) |
| 14:34:10 | Araq | http://www.plover.com/~mjd/cftalk/ |
| 14:38:27 | * | mytrile1 joined #nim |
| 14:39:24 | flaviu | Idea might be better, but that library leaves lots to be desired. |
| 14:39:25 | * | mytrile1 left #nim (#nim) |
| 14:40:12 | flaviu | It's missing pow, log, log2, ln, sin, cos, ... |
| 14:40:58 | def- | What's the best we have for testing in nim? asserts and unittest? |
| 14:41:32 | * | mytrile quit (Ping timeout: 245 seconds) |
| 14:41:42 | BlaXpirit | hey, unittest is quite impressive |
| 14:41:54 | def- | i thought unittest had problems |
| 14:42:05 | flaviu | yep, I don't think I've seen anything like unittest in other places |
| 14:42:12 | EXetoC | a few problems remain |
| 14:42:20 | flaviu | This is how I do testing: https://github.com/flaviut/nre/blob/master/test/testall.nim https://github.com/flaviut/nre/blob/master/runtests.sh |
| 14:43:22 | BlaXpirit | flaviu, naah, there are many crazy hacky libs |
| 14:43:53 | def- | flaviu: should be #!/bin/sh |
| 14:44:09 | BlaXpirit | oh yeah, for sure |
| 14:45:03 | BlaXpirit | flaviu, that thing may well work only on arch linux |
| 14:45:20 | * | kuzy000_ quit (*.net *.split) |
| 14:45:20 | * | davidhq quit (*.net *.split) |
| 14:45:20 | * | fowl quit (*.net *.split) |
| 14:45:20 | * | xeizlif quit (*.net *.split) |
| 14:45:20 | * | Varriount_ quit (*.net *.split) |
| 14:45:20 | * | Mimbus quit (*.net *.split) |
| 14:45:22 | * | sdw_ quit (*.net *.split) |
| 14:45:22 | * | joebo quit (*.net *.split) |
| 14:45:22 | * | fowlmouth joined #nim |
| 14:45:23 | def- | also, i can't import optional_t strangely |
| 14:45:24 | * | Varriount__ joined #nim |
| 14:45:36 | * | xeizlif joined #nim |
| 14:45:47 | flaviu | def-, BlaXpirit: Ok, I'll fix it. |
| 14:45:50 | * | sdw_ joined #nim |
| 14:45:55 | * | davidhq joined #nim |
| 14:46:17 | EXetoC | no one has experienced missing information in the stacktrace generated by a 'check' condition failure? |
| 14:46:25 | * | joebo joined #nim |
| 14:46:42 | * | kuzy000_ joined #nim |
| 14:47:55 | def- | maybe it would be nice to have "nimble test" |
| 14:48:03 | def- | to run tests automatically |
| 14:48:25 | flaviu | I'd also like a way to tell the compiler to print nothing but warnings and errors |
| 14:48:45 | flaviu | I don't like having to use grep -vE 'ProveInit|instantiation from here' |
| 14:48:49 | def- | flaviu: agreed, the compiler is quite verbose |
| 14:49:23 | BlaXpirit | def-, optional_t is a different lib |
| 14:49:35 | def- | BlaXpirit: yeah, somehow "nimble install" did not install it for me =/ |
| 14:56:01 | Araq | hey, and I thought hints have [NameHere] so every single of them can be deactivated individually |
| 14:56:11 | Araq | same for warnings |
| 14:57:27 | Araq | and then there is --hints:off |
| 14:58:26 | Araq | and --verbosity:0 |
| 14:58:32 | def- | nice |
| 14:58:41 | def- | should have read the nim options more carefully |
| 14:59:24 | Araq | nah, reading doesn't go well with ranting. and I like to read rants. so no worries. |
| 15:00:39 | * | jjj joined #nim |
| 15:04:48 | * | gokr joined #nim |
| 15:08:30 | * | BlaXpirit quit (Read error: Connection reset by peer) |
| 15:08:33 | flaviu | Araq: I'm using `--verbosity:0 --hints:off` already |
| 15:09:19 | EXetoC | def-: "when isMainModule or defined(unittest):"? |
| 15:09:23 | * | BlaXpirit joined #nim |
| 15:09:28 | * | gokr quit (Ping timeout: 265 seconds) |
| 15:09:39 | def- | EXetoC: what for? |
| 15:10:08 | EXetoC | oh, nimble |
| 15:11:41 | * | Matthias247 joined #nim |
| 15:20:44 | * | jjj quit (Quit: Page closed) |
| 15:22:23 | * | dumdum quit (Ping timeout: 256 seconds) |
| 15:25:25 | def- | hm, streams return \0 instead of EOF when finished |
| 15:32:28 | * | kapil__ quit (Quit: Connection closed for inactivity) |
| 15:40:45 | * | JinShil quit (Quit: Konversation terminated!) |
| 15:41:11 | * | alexruf quit (Quit: Textual IRC Client: www.textualapp.com) |
| 15:41:50 | * | mal`` quit (Quit: Leaving) |
| 15:49:02 | * | irrequietus joined #nim |
| 15:59:45 | reactormonk | def-, sounds bad |
| 16:00:49 | * | mal`` joined #nim |
| 16:04:05 | * | sdw_ quit (Ping timeout: 265 seconds) |
| 16:07:35 | * | LMB_ joined #nim |
| 16:11:50 | onionhammer | cool araq, i should have some time to test today |
| 16:13:07 | * | darkf quit (Quit: Leaving) |
| 16:21:37 | * | mytrile joined #nim |
| 16:21:48 | * | saml_ joined #nim |
| 16:22:24 | * | pouledodue joined #nim |
| 16:39:41 | * | pouledodue left #nim ("Textual IRC Client: www.textualapp.com") |
| 16:44:31 | * | Matthias247 quit (Read error: Connection reset by peer) |
| 17:05:10 | * | irrequietus quit () |
| 17:06:06 | * | wan joined #nim |
| 17:20:21 | Araq | def-: btw what is the "output baud rate"? |
| 17:22:11 | * | mytrile1 joined #nim |
| 17:23:41 | * | mytrile quit (Ping timeout: 246 seconds) |
| 17:28:15 | * | mytrile1 left #nim (#nim) |
| 17:39:46 | * | dumdum joined #nim |
| 17:43:00 | * | saml_ quit (Quit: Leaving) |
| 17:44:12 | def- | Araq: ehm, if your terminal is connected to an actual console i guess |
| 17:45:19 | Araq | can I also give it my IRQ and DMA information? ;-) |
| 17:46:07 | def- | can i set my own nimdoc variables? |
| 17:47:23 | Araq | yup |
| 17:47:31 | Araq | create your own nimdoc.cfg |
| 18:15:23 | def- | hm, but can i get access to these variables in nim code and nimble as well? namely I want to write version = "1.0" just once |
| 18:18:19 | flaviu | Ah, I see why I was unable to use --warning[ProveInit]:off! |
| 18:18:45 | flaviu | zsh interprets it as a glob. |
| 18:20:59 | reactormonk | flaviu, yeah, I think bash interprets [] as well |
| 18:21:21 | ekarlso | def-: you there ? |
| 18:22:16 | def- | ekarlso: yes? |
| 18:22:28 | ekarlso | what about the doc question earlier ? |
| 18:22:37 | def- | just curious |
| 18:22:49 | ekarlso | though unsure of how to do it yet ;P |
| 18:22:56 | ekarlso | I got a free server to run the stuff on so |
| 18:23:13 | ekarlso | friend at a norwegian provider |
| 18:23:15 | def- | i believe all nimble libraries and the std library should be documented at the same location |
| 18:23:23 | def- | on each user's system, as well as online |
| 18:23:24 | BlaXpirit | that's crazy |
| 18:23:34 | ekarlso | BlaXpirit: what's crazy ? |
| 18:23:46 | BlaXpirit | what def- said |
| 18:23:56 | def- | something like hacakge, where I can look up the documentation of every package |
| 18:24:08 | ekarlso | def-: that can mean alot of docs though ;P |
| 18:24:22 | flaviu | ekarlso: compression does wonders. |
| 18:24:42 | def- | when i want to read about a nim library, where do i get its documentation right now? |
| 18:25:02 | def- | there is no standard place, i have to build it myself or find the one the author may have uploaded somewhere |
| 18:25:10 | flaviu | I document my modules in the github readme |
| 18:25:10 | BlaXpirit | github.io is ok... |
| 18:25:12 | def- | and then the links to other modules inside of that will not work anyway |
| 18:25:56 | def- | BlaXpirit: not that it matters, but github.io doesn't work if your username ends with a dash |
| 18:26:06 | BlaXpirit | D: |
| 18:26:38 | flaviu | change your name? |
| 18:27:08 | def- | i just wanted to try out gh-pages, not actually use them |
| 18:35:48 | * | reem quit (Remote host closed the connection) |
| 18:36:58 | * | Jesin joined #nim |
| 18:37:49 | ekarlso | why isn't there |
| 18:37:52 | ekarlso | docs.nim-lang.org |
| 18:37:57 | ekarlso | or nimdoc |
| 18:37:59 | ekarlso | :P |
| 18:51:11 | Araq | def-: you can do that via |version| in RST and then ... dunno. look at how koch does it |
| 18:53:36 | * | Boscop__ joined #nim |
| 18:55:57 | * | Boscop_ quit (Ping timeout: 244 seconds) |
| 18:59:25 | * | dumdum quit (Ping timeout: 256 seconds) |
| 18:59:52 | def- | some way so i can pass a string literal and a const string to a macro in the same way? |
| 19:11:32 | * | Boscop_ joined #nim |
| 19:13:27 | ekarlso | Soo |
| 19:13:41 | ekarlso | dom96: when I make a new module for the registry stuff that depends on options |
| 19:13:47 | ekarlso | wont I get circular deps ? |
| 19:14:14 | ekarlso | registry needs Options in nimble.nim but nimble.nim needs register proc and others from registry.nim |
| 19:14:59 | * | Boscop__ quit (Ping timeout: 250 seconds) |
| 19:25:52 | BlaXpirit | str, num, fnum, bval |
| 19:26:50 | ekarlso | anyone got a clue on ^? |
| 19:29:00 | BlaXpirit | these field names look like someone came up with them within 5 seconds |
| 19:31:49 | ekarlso | BlaXpirit: where's that ? |
| 19:31:55 | BlaXpirit | json |
| 19:33:14 | BlaXpirit | would be so awesome if it actually was string, int, float, bool |
| 19:33:32 | BlaXpirit | I tried to define such procedures, but it shadows normal type conversions |
| 19:44:13 | * | Jesin quit (Quit: Leaving) |
| 19:47:38 | * | Jesin joined #nim |
| 19:51:56 | * | flaviu quit (Read error: Connection reset by peer) |
| 19:53:23 | * | gokr joined #nim |
| 19:55:34 | * | flaviu joined #nim |
| 20:03:02 | * | UberLambda joined #nim |
| 20:07:18 | def- | We don't have any continuous integration stuff for Nim that auto-builds github repos after each commit, right? |
| 20:14:55 | UberLambda | I don't think Travis integration would be too hard |
| 20:15:36 | UberLambda | Oh, Nim is indeed built with travis |
| 20:16:09 | BlaXpirit | ??? |
| 20:16:32 | BlaXpirit | what are you talking about, UberLambda |
| 20:17:15 | UberLambda | BlaXpirit: I thought def- asked if nim's compiler repo was continuously integrated |
| 20:17:24 | BlaXpirit | well, is it? |
| 20:17:33 | UberLambda | Yep, via Travis CI |
| 20:17:59 | BlaXpirit | where |
| 20:18:05 | UberLambda | https://github.com/Araq/Nim |
| 20:18:15 | UberLambda | scroll to the bottom, there are the status markers |
| 20:18:37 | BlaXpirit | umm |
| 20:18:39 | BlaXpirit | it's just pictures |
| 20:19:17 | UberLambda | BlaXpirit: I can't search Travis right now, but if you go to travis-ci.org and search for "nim" it will yield the build log |
| 20:19:30 | BlaXpirit | There are no builds for this repository. |
| 20:19:44 | BlaXpirit | it's empty |
| 20:19:52 | BlaXpirit | you may be mistaken |
| 20:19:54 | UberLambda | Then why is it building on Travis? |
| 20:19:59 | BlaXpirit | who told you |
| 20:20:11 | UberLambda | Well atleast it's testing |
| 20:20:15 | BlaXpirit | where |
| 20:20:27 | UberLambda | wait a sec, travis' search doesn't seem to work |
| 20:20:45 | BlaXpirit | you don't need no search. https://travis-ci.org/Araq/Nim |
| 20:21:11 | UberLambda | oh |
| 20:21:24 | UberLambda | Wait, no builds? |
| 20:21:32 | BlaXpirit | ... |
| 20:21:50 | UberLambda | Why is arm's version reporting as build succesful then? |
| 20:21:55 | UberLambda | And the others failing? |
| 20:22:06 | UberLambda | I saw some logs there some time ago... dunno what happened to them |
| 20:23:03 | BlaXpirit | look, UberLambda, i'm pretty sure Travis is not involved in any way |
| 20:23:36 | UberLambda | BlaXpirit: ok, I'm an idiot |
| 20:23:49 | UberLambda | The images don't actually link to a travis status |
| 20:23:56 | UberLambda | they're just there as markers it seems |
| 20:24:34 | UberLambda | still, this is a bit confusing |
| 20:24:46 | UberLambda | I mean, the travis icon... |
| 20:24:51 | BlaXpirit | where |
| 20:25:02 | UberLambda | These "build passing" "build failed" tags |
| 20:25:09 | UberLambda | are from Travis CI |
| 20:25:15 | UberLambda | The images themselves |
| 20:25:28 | * | Mat4 joined #nim |
| 20:25:36 | Mat4 | hello |
| 20:25:38 | UberLambda | but they are usually updated directly by Travis via direct link |
| 20:26:20 | UberLambda | e.g. https://travis-ci.org/Araq/Nim.svg is the current status. People usually embed them in their README so that it gets updated automatically |
| 20:27:11 | UberLambda | Seeing the emblematic tags, I thought these were autogenerated by travis |
| 20:27:18 | UberLambda | But they're just there as images |
| 20:27:44 | BlaXpirit | UberLambda, http://178.62.143.63:8010/ |
| 20:27:54 | reactormonk | wow, that c-blake writes essays ^^ |
| 20:27:56 | BlaXpirit | https://raw.githubusercontent.com/Araq/Nim/devel/readme.md |
| 20:28:41 | UberLambda | BlaXpirit: these are generated by Buildbot? |
| 20:28:45 | UberLambda | Oh |
| 20:28:48 | UberLambda | WTF |
| 20:29:08 | def- | I'm also wondering about using travis-ci (or something similar) for programs written in Nim |
| 20:29:22 | BlaXpirit | well you'll be left wondering, because there is no such thing |
| 20:29:34 | BlaXpirit | and the likelihood of it happening is abysmal, as far as i understand |
| 20:36:53 | def- | BlaXpirit: why? |
| 20:37:08 | BlaXpirit | travis has few languages |
| 20:37:12 | BlaXpirit | only popular ones |
| 20:37:27 | def- | that's why i wrote "(or something similar)" |
| 20:37:37 | BlaXpirit | well is there anything similar? |
| 20:37:38 | def- | I don't mind which service we use, but might be nice to have one working |
| 20:37:49 | BlaXpirit | for any language, that is |
| 20:38:15 | BlaXpirit | there probably is, admittedly, but whatever |
| 20:39:04 | def- | I've heard of Drone and Circle, but no idea |
| 20:40:37 | def- | Maybe someone should just ask Travis (or any other) if they'd be willing to have Nim and what would be necessary for it |
| 20:45:49 | BlaXpirit | that is the only way |
| 20:46:08 | UberLambda | Rust built before rust support in travis |
| 20:46:16 | BlaXpirit | wha |
| 20:46:26 | UberLambda | Travis scripts are just shell scripts running on a Debian VM I think |
| 20:46:43 | BlaXpirit | i saw ubuntu 12.04 mentioned |
| 20:46:52 | UberLambda | Oh, it's Ubuntu then |
| 20:50:38 | BlaXpirit | we could go to #travis to start with |
| 20:50:52 | BlaXpirit | actually, it's not that good of an idea... |
| 21:03:28 | * | reem joined #nim |
| 21:07:56 | * | brson joined #nim |
| 21:08:11 | flaviu | I'm using circleci for nim |
| 21:08:25 | * | nande joined #nim |
| 21:08:32 | flaviu | https://github.com/nimlets/nimlets/blob/master/circle.yml |
| 21:10:24 | BlaXpirit | oh really |
| 21:11:16 | BlaXpirit | flaviu, well you definitely should tell more |
| 21:12:24 | def- | flaviu: oh, nice! |
| 21:12:34 | flaviu | Not much to tell. The relevant portions are https://github.com/nimlets/nimlets/blob/master/circle.yml#L5-L21 and sudo apt-get install gcc, it's just running the compiler like usual after that |
| 21:13:09 | def- | that looks really nice |
| 21:13:37 | BlaXpirit | flaviu, why aren't you testing nre with it? |
| 21:13:48 | flaviu | BlaXpirit: Good idea! |
| 21:13:52 | BlaXpirit | "idea" |
| 21:13:55 | def- | yeah, i even looked in nre (and many other libraries) to see if anyone is using something =/ |
| 21:14:13 | BlaXpirit | flaviu, how about some articles |
| 21:14:19 | BlaXpirit | people have no clue |
| 21:14:23 | * | wan quit (Quit: WeeChat 1.1.1) |
| 21:14:23 | BlaXpirit | me foremost |
| 21:14:43 | def- | I haven't heard about "continuous integration" before today, count me in as clueless^^ |
| 21:15:12 | flaviu | Ok, sure. I can set up a GH pages blog. |
| 21:15:44 | BlaXpirit | def-, I learned a bit about it just today |
| 21:36:42 | flaviu | btw, circleci is very nice. They let you ssh in and see what's wrong if you screw things up. |
| 21:38:03 | * | pwernersbach joined #nim |
| 21:38:22 | pwernersbach | Wow lots of people in here now |
| 21:38:31 | pwernersbach | good good |
| 21:39:52 | BlaXpirit | flaviu, but it's too good to be true |
| 21:41:13 | flaviu | Venture capital does wonders ;) |
| 21:41:23 | * | reem quit (Remote host closed the connection) |
| 21:41:39 | Mat4 | it's not all about monex |
| 21:41:45 | Mat4 | sorry money |
| 21:41:47 | pwernersbach | who's getting VC? |
| 21:42:19 | flaviu | pwernersbach: CircleCI, it was a response to "flaviu, but it's too good to be true" |
| 21:42:20 | * | brson quit (Quit: leaving) |
| 21:42:49 | flaviu | Mat4: In this case it is, money pays for free S3 servers. |
| 21:42:52 | pwernersbach | oh poop, congrats was in order |
| 21:43:00 | pwernersbach | Congrats anyways circleci |
| 21:47:28 | * | brson joined #nim |
| 21:51:17 | * | ARCADIVS joined #nim |
| 21:51:43 | * | desal joined #nim |
| 22:07:27 | reactormonk | pwernersbach, what are you building with nim? |
| 22:12:14 | * | UberLambda quit (Quit: Leaving the Matrix) |
| 22:12:28 | * | reem_ joined #nim |
| 22:12:29 | * | UberLambda joined #nim |
| 22:14:07 | pwernersbach | reactormonk, its a SaaS for group organization, end-to-end in Nim |
| 22:14:29 | reactormonk | pwernersbach, jquery with nim? ^^ |
| 22:14:32 | gokr | Wasn't the buildbot supposed to be on build.nim-lang.org? |
| 22:14:38 | reactormonk | gokr, yes |
| 22:14:50 | gokr | Oh well, I can still see it here: http://178.62.143.63:8010 |
| 22:15:32 | * | reem_ quit (Remote host closed the connection) |
| 22:16:13 | * | brson quit (Quit: leaving) |
| 22:16:37 | pwernersbach | ractormonk I'm undecided on the Javascript portion. Probably enderjs but might use CoffeeScript for the JS instead of Nim |
| 22:16:52 | * | desal quit (Ping timeout: 246 seconds) |
| 22:16:57 | pwernersbach | The JS that Nim generates is a little unreadable for my tastes |
| 22:18:11 | * | reem joined #nim |
| 22:18:15 | * | reem quit (Remote host closed the connection) |
| 22:20:05 | dom96 | gokr: no, buildbot.nim-lang.org |
| 22:27:18 | * | LMB_ left #nim (#nim) |
| 22:30:44 | * | no_name quit (Remote host closed the connection) |
| 22:32:00 | dom96 | ekarlso: Create a new type and put it in the registry module then. |
| 22:32:38 | * | Demon_Fox joined #nim |
| 22:32:57 | * | kuzy000_ quit (Ping timeout: 244 seconds) |
| 22:36:13 | * | Varriount|Laptop joined #nim |
| 22:36:52 | Varriount|Laptop | Meep |
| 22:37:08 | ekarlso | dom96: isn't that code duplication though ? |
| 22:44:21 | * | UberLambda quit (Quit: Leaving the Matrix) |
| 22:49:58 | * | clone1018__ joined #nim |
| 22:50:10 | * | endou_______ joined #nim |
| 22:50:33 | * | clone1018 quit (Ping timeout: 245 seconds) |
| 22:50:33 | * | Angry quit (Ping timeout: 245 seconds) |
| 22:50:34 | * | Gonzih quit (Ping timeout: 245 seconds) |
| 22:50:34 | * | endou______ quit (Ping timeout: 245 seconds) |
| 22:50:34 | * | ramnes quit (Ping timeout: 245 seconds) |
| 22:50:34 | * | phira quit (Ping timeout: 245 seconds) |
| 22:50:38 | * | phi_freenode joined #nim |
| 22:50:43 | * | Gonzih joined #nim |
| 22:50:59 | * | clone1018__ is now known as clone1018 |
| 22:51:12 | * | ramnes joined #nim |
| 22:53:37 | * | Varriount|Laptop quit (Ping timeout: 246 seconds) |
| 22:54:19 | * | Angry joined #nim |
| 23:01:36 | * | reem joined #nim |
| 23:06:38 | Varriount__ | gokr: We have buildbot, although at the moment builds are failing because CPP compilation is broken |
| 23:06:59 | Varriount__ | (I should probably makes C++ bootstrapping a non-halting failure. :/) |
| 23:07:09 | * | Varriount__ is now known as Varriount |
| 23:07:29 | def- | Varriount: definitely |
| 23:08:58 | * | no_name joined #nim |
| 23:09:33 | Varriount | Which, in fact, I'm doing right now. |
| 23:12:37 | Varriount | There, done (I think) |
| 23:19:16 | * | Mat4 quit (Quit: Verlassend) |
| 23:25:56 | * | sillesta64 quit (Ping timeout: 252 seconds) |
| 23:42:08 | BlaXpirit | how can I parse Nim? |
| 23:42:22 | Varriount | BlaXpirit: For what purpose? |
| 23:42:36 | BlaXpirit | for modifying the output of c2nim |
| 23:43:01 | Varriount | BlaXpirit: You can use the compiler's parsing code... or you could just modify c2nim |
| 23:46:06 | * | saml_ joined #nim |
| 23:55:35 | * | BlaXpirit quit (Quit: Quit Konversation) |
| 23:59:51 | * | JinShil joined #nim |