00:03:38 | Araq | Quelklef: that's a tricky one |
00:05:02 | FromGitter | <Araq> ```code paste, see link``` [https://gitter.im/nim-lang/Nim?at=5a779fadb3c4a0d376deb58c] |
00:05:06 | FromGitter | <Araq> works |
00:05:41 | FromGitter | <Araq> because the "convertible" relation is not lifted. maybe it should be for concept matches, @zah ? |
00:06:36 | FromGitter | <Quelklef> What do you mean about the convertible relation? And thanks for a workaround |
00:08:29 | FromGitter | <honewatson> Can I ask in this specific scenario what is the benefit of using concepts over the standard way? ⏎ ⏎ `````` [https://gitter.im/nim-lang/Nim?at=5a77a07cce68c3bc744586ff] |
00:09:44 | FromGitter | <honewatson> ```code paste, see link``` [https://gitter.im/nim-lang/Nim?at=5a77a0c84a6b0dd32b8bfb85] |
00:13:33 | FromGitter | <Quelklef> Means you can use `flatten` on an array (or anything else implementing the correct `items` iterator) |
00:14:12 | Araq | Quelklef: it means seq[T] is convertible to It[T] |
00:14:37 | Araq | but seq[seq[T]] is not convertible to It[It[T]] |
00:15:03 | FromGitter | <honewatson> ok thanks |
00:15:11 | Araq | why? because this can have unforeseen consequences |
00:15:22 | Araq | int16 converts to int32 |
00:15:42 | Araq | but array[N, int16] does not convert to array[N, int32] |
00:16:12 | FromGitter | <Quelklef> What kind of consequences? |
00:16:15 | Araq | mostly because of performance |
00:16:48 | Araq | for concepts we should probably just make it work, but I need to think about it |
00:18:40 | FromGitter | <Quelklef> I notice that `Itrint ([1, 2, 3])` works for explicit annotating but |
00:19:04 | FromGitter | <Quelklef> Trying it on a 2d doesn't, even if each inner array is explicitly converted |
00:19:12 | FromGitter | <Quelklef> ala ```nim |
00:20:05 | FromGitter | <Quelklef> I dunno if that's directly related but |
00:30:47 | * | rockcavera joined #nim |
00:44:07 | * | couven92 quit (Quit: Client Disconnecting) |
01:11:56 | * | MJCaley quit (Quit: MJCaley) |
02:24:24 | * | Ven`` joined #nim |
02:26:35 | * | chemist69 quit (Ping timeout: 276 seconds) |
02:28:45 | * | Ven`` quit (Ping timeout: 260 seconds) |
02:32:40 | * | Tanger quit (Quit: Leaving) |
02:40:11 | * | chemist69 joined #nim |
02:41:10 | * | MJCaley joined #nim |
02:46:33 | * | endragor joined #nim |
03:19:00 | * | MJCaley quit (Quit: MJCaley) |
03:24:21 | * | mostly-harmless quit (Ping timeout: 265 seconds) |
03:25:30 | * | mostly-harmless joined #nim |
03:41:20 | * | yglukhov joined #nim |
03:42:57 | * | BitPuffin joined #nim |
04:12:12 | * | yglukhov quit (Remote host closed the connection) |
04:19:18 | * | yglukhov joined #nim |
04:21:10 | * | radagast quit (Quit: radagast) |
04:25:51 | * | dddddd quit (Remote host closed the connection) |
04:28:28 | * | yglukhov quit (Remote host closed the connection) |
04:32:29 | * | Ven`` joined #nim |
04:44:23 | * | Ven`` quit (Ping timeout: 276 seconds) |
04:53:21 | * | j_rod_s quit (Ping timeout: 248 seconds) |
04:54:28 | * | j_rod_s joined #nim |
05:33:56 | * | Snircle_ quit (Quit: Textual IRC Client: www.textualapp.com) |
06:01:25 | * | nsf joined #nim |
06:09:28 | * | endragor quit (Remote host closed the connection) |
06:45:25 | * | endragor joined #nim |
06:46:26 | * | endragor quit (Remote host closed the connection) |
06:46:33 | * | endragor joined #nim |
06:54:02 | * | sleepyqt joined #nim |
07:01:00 | * | solitudesf joined #nim |
07:29:13 | * | miran_ joined #nim |
07:47:03 | * | user0__ joined #nim |
07:47:44 | user0__ | Does one need to manually prevent object loitering? |
07:49:02 | Araq | no, they are biodegradable |
07:56:35 | * | endragor quit (Remote host closed the connection) |
07:57:02 | * | endragor joined #nim |
07:59:33 | FromGitter | <tim-st> Has anyone an idea how to parse html tags like `<li>` that have optinal end tags `</li>` without backtracking? |
07:59:46 | * | endragor quit (Remote host closed the connection) |
07:59:58 | * | endragor joined #nim |
08:07:10 | Araq | that's pretty easy to accomplish, Nim's HTML parser deals with that |
08:07:25 | FromGitter | <sptorin_twitter> Hello. Why `smtp.sendMail` not sending header "From"? |
08:07:49 | Araq | you keep a stack of open elements, either explicitly or in the recursions and you do |
08:08:20 | FromGitter | <tim-st> ok thanks, but thought about this `<li><li></li>` which belongs to which ^^ |
08:09:03 | Araq | if tag == "</li>": consume(); closeTag() elif tag.startsWith("</"): closeTag() |
08:09:22 | Araq | it's just an optional syntax element, no backtracking required. |
08:09:36 | FromGitter | <tim-st> ok, thanks! |
08:17:18 | * | Vladar joined #nim |
08:21:47 | * | survivorm[m] joined #nim |
08:27:38 | Araq | sptorin: sorry, I don't know. |
08:33:27 | * | Arrrr joined #nim |
08:33:27 | * | Arrrr quit (Changing host) |
08:33:27 | * | Arrrr joined #nim |
08:41:08 | FromGitter | <sptorin_twitter> Looking debug: ⏎ ⏎ ```code paste, see link``` ⏎ ⏎ Local SMTP server looks like get header "From", but send letter without this header. I can receive mail in local postbox (Field "From" is empty), but if trying send to gmail: "not RFC 5322 compliant: 550-5.7.1 'From' header is missing." May be something wrong in local SMTP... [https://gitter.im/nim-lang/Nim?at=5a7818a498927d57457b9825] |
08:45:54 | * | guava88 joined #nim |
09:02:07 | * | guava88 quit (Quit: Page closed) |
09:02:58 | * | user0__ quit (Remote host closed the connection) |
09:03:14 | * | user0__ joined #nim |
09:03:27 | * | gmpreussner quit (Ping timeout: 248 seconds) |
09:05:45 | * | gmpreussner joined #nim |
09:16:34 | * | floppydh joined #nim |
09:17:12 | * | PMunch joined #nim |
09:24:34 | * | yglukhov joined #nim |
09:26:53 | * | yglukhov quit (Read error: Connection reset by peer) |
09:27:29 | * | yglukhov joined #nim |
09:36:48 | Araq | please fix it :-) |
09:54:40 | * | couven92 joined #nim |
09:58:10 | * | Arrrr quit (Ping timeout: 240 seconds) |
09:59:31 | * | Arrrr joined #nim |
10:02:37 | * | Arrrr quit (Client Quit) |
10:04:49 | * | endragor_ joined #nim |
10:08:33 | * | endragor quit (Ping timeout: 248 seconds) |
10:09:24 | * | miran_ quit (Quit: Page closed) |
10:11:29 | * | miran joined #nim |
10:18:21 | * | xet7 quit (Ping timeout: 264 seconds) |
10:29:50 | * | xet7 joined #nim |
10:37:06 | FromGitter | <sptorin_twitter> <Araq> ⏎ If I create message thru `var msg = createMessage("Subj"...)` - don't work. ⏎ If `msg` created as just multiline string with headers (TO:, From:, Subject: and body) - works good. |
10:43:33 | * | vlad1777d joined #nim |
10:45:32 | * | MJCaley joined #nim |
10:52:35 | livcd | How was the FOSDEM ? |
10:53:26 | Yardanico | yeah, I want to ask that too :) |
10:54:58 | PMunch | It was great! :) |
10:55:12 | PMunch | Lot's of people coming to the booth asking questions |
10:55:21 | * | MJCaley quit (Quit: MJCaley) |
10:55:53 | PMunch | I was actually considering to write up a small FOSDEM FAQ to summarise what the most common questions were |
10:56:54 | FromGitter | <andreaferretti> @PMunch please, go ahead, it would be interesting to know! |
10:57:02 | livcd | what were the most common questions ? ^^ |
10:58:38 | PMunch | Well probably the two most asked questions were "What is Nim?" and "Why haven't I heard about it before?" |
10:58:42 | PMunch | :P |
10:59:38 | PMunch | But there were a lot of people asking questions like "Why another programming language?" and "It sounds a bit like X, why is Nim better?" |
11:00:40 | federico3 | and "how long has the language been around" (which is a proxy for "why haven't I heard about it") |
11:01:05 | PMunch | Yeah, that was also a popular one |
11:02:56 | federico3 | nobody asked "why weren't you at FOSDEM before" but I guess many were thinking it :) |
11:10:05 | abeaumont | you may consider organizing a devroom next year if there's interest, that would fix with the "why haven't I heard about it" permanently :) |
11:12:09 | PMunch | Yeah we were talking about at least getting a lightning talk |
11:19:37 | * | yglukhov quit (Remote host closed the connection) |
11:20:12 | * | yglukhov joined #nim |
11:24:45 | PMunch | Hmm, I'm trying to make the parsing library I'm working on accept generic input. But I get an error "Error: cannot instantiate:" on one of my fields. |
11:24:51 | PMunch | https://github.com/PMunch/combparser/blob/generic/combparser.nim#L84 |
11:24:55 | PMunch | That's the offending line |
11:25:08 | * | yglukhov quit (Ping timeout: 268 seconds) |
11:25:47 | PMunch | "combparser.nim(84, 39) Error: cannot instantiate: 'Error'" |
11:26:23 | PMunch | Tried to make a more minimal example, but of course that works: http://ix.io/FhO/ |
11:26:37 | PMunch | So I have no idea what causes this.. |
11:28:15 | user0__ | A language server would be pretty nice imo |
11:28:33 | PMunch | Language server? |
11:29:28 | user0__ | https://langserver.org/ |
11:30:13 | PMunch | Like nimsuggest? |
11:30:42 | PMunch | But following a defined protocol |
11:31:28 | user0__ | Well, ideally lang servers provide more tools, for example https://clang.llvm.org/extra/clangd.html |
11:31:30 | PMunch | https://github.com/nim-lang/nimsuggest/issues/59 |
11:31:40 | PMunch | Ah, seems to already be an issue for it |
11:32:14 | federico3 | oh, nice |
11:57:11 | * | yglukhov joined #nim |
11:59:33 | enthus1ast | is there a usable (for non techies) cms in nim? Or could you open source yours for me? :) |
12:02:09 | * | yglukhov quit (Ping timeout: 264 seconds) |
12:02:28 | * | Snircle joined #nim |
12:04:48 | PMunch | enthus1ast, well there is this: https://github.com/h3rald/hastysite |
12:09:15 | * | yglukhov joined #nim |
12:09:17 | enthus1ast | oh nice hastysite looks more advanced since my last check! |
12:10:28 | enthus1ast | my "client" expects something like joomla or drupal (i think the main reason is that they can easily add new articles etc) |
12:12:14 | * | endragor_ quit (Remote host closed the connection) |
12:12:48 | * | user0__ quit (Quit: user0__) |
12:13:04 | PMunch | I've used CouchCMS before |
12:13:05 | enthus1ast | maybe i can hack something with hasysite karax ormin (maybe the php backend) |
12:13:06 | PMunch | Really nice |
12:13:10 | enthus1ast | ah |
12:13:38 | PMunch | Let's you use a standard HTML template and add in some PHP tags. Then when you enter the online editor it automatically populates all the sections and such based on the tags you added |
12:14:31 | PMunch | So you only have stuff in the editor that actually does something (looking at you WordPress with your bazillion menu items) |
12:15:12 | * | radagast_2 joined #nim |
12:15:15 | enthus1ast | sounds nice PMunch i'will definitly have a look at |
12:15:22 | PMunch | It's pretty neat |
12:15:26 | PMunch | And it's open source :) |
12:15:28 | federico3 | a CMS or just a wiki? |
12:15:56 | enthus1ast | client says: "a website" |
12:15:59 | * | vlad1777d quit (Ping timeout: 248 seconds) |
12:16:24 | PMunch | But you can pay a $39 once in a lifetime fee to be able to configure the design of the editor as well :) |
12:16:34 | federico3 | enthus1ast: or a static site generator with a web editor? |
12:17:28 | enthus1ast | this is what has tought of first, but they think they can add new articles easily, so when static i have to give them some kind of admin interface |
12:17:57 | PMunch | I'd say go with CouchCMS |
12:18:33 | federico3 | enthus1ast: I used pelican and shoebill |
12:18:44 | PMunch | Just create the design (or grab some free template), add a couple of tags to denote what should go where, and voila you have a simple admin interface where they can create and edit all the content |
12:19:20 | enthus1ast | my dream solution would be: minimal nim backend (also compilable to php to run in iis), nim as a template lang, and a 2click admin interface like django |
12:21:43 | enthus1ast | pelican was nice, used it a few years ago |
12:23:19 | enthus1ast | shoebill looks nice as well |
12:23:46 | enthus1ast | maybe i should stop it and be a gardener or so |
12:24:57 | * | dddddd joined #nim |
12:26:32 | * | endragor joined #nim |
12:26:34 | PMunch | Here's the tutorial if you're interested in Couch, should be all you need to get started: http://docs.couchcms.com/tutorials/portfolio-site/building-a-real-world-site.html |
12:26:40 | * | endragor quit (Remote host closed the connection) |
12:26:47 | * | endragor joined #nim |
12:27:53 | enthus1ast | Couch look pretty perfekt |
12:28:40 | PMunch | Yup, for creating simple sites for non-tech people it's pretty awesome |
12:28:52 | PMunch | Well, I used it for my own site as well. And it's still awesome :) |
12:29:31 | PMunch | Gives me full control over the HTML/CSS/JS and just stamps out clones of HTML items with the content from the CMS |
12:48:39 | * | gokr joined #nim |
13:03:39 | enthus1ast | dom96: Araq: i've just heard a nim installation story of a friend of mine (same i heard a few times now): all of them struggle to install nim the way it is exposed on the site. Until they've used the git way of installing. |
13:04:43 | enthus1ast | this time they cannot install nimble cause of this: Error: cannot open 'dist/nimble/src/nimcache/nimble_options.c' FAILURE stack trace: (most recent call last) install_nimble.nims(6) lib/system/nimscript.nim(206) exec lib/system/nimscript.nim(206, 7) Error: unhandled exception: FAILED: ./koch nimble |
13:35:38 | PMunch | Hmm, why doesn't these match: |
13:35:46 | PMunch | Error: type mismatch: got (Maybe[(proc (lhs: Node, rhs: Node): Node{.closure.}, string), system.string], Maybe[(proc (lhs: Node, rhs: Node): Node{.closure.}, string), system.string], string, string) |
13:36:02 | PMunch | proc Nothing[T, U, V, W](left: Maybe[U, W]; right: Maybe[V, W]; error: string; input: W): Maybe[T, W] |
13:40:33 | * | yglukhov_ joined #nim |
13:40:41 | PMunch | Never mind, figured it out |
13:41:09 | * | radagast_2 quit (Remote host closed the connection) |
13:41:29 | * | radagast_2 joined #nim |
13:42:31 | PMunch | Hmm, well the error message isn't very clear. So maybe that could be improved |
13:42:57 | * | yglukhov quit (Ping timeout: 240 seconds) |
13:43:06 | PMunch | The problem was that it had a multiple generic values and I forgot to add one, which meant that they were misaligned |
13:50:10 | * | gokr quit (Ping timeout: 240 seconds) |
13:52:43 | * | radagast_2__ joined #nim |
13:53:37 | shashlick | enthus1ast: is this install failure windows or linux? |
13:54:39 | * | radagast_2 quit (Ping timeout: 248 seconds) |
13:54:42 | * | radagast_2__ is now known as radagast_2 |
14:08:01 | * | yglukhov_ quit (Ping timeout: 248 seconds) |
14:09:33 | * | yglukhov joined #nim |
14:10:40 | PMunch | shashlick, probably Windows, on Linux you could just install it through your package manager.. |
14:10:59 | PMunch | Provided that it's in one of your repos of course |
14:20:40 | shashlick | okay, i'll try it out |
14:21:09 | * | d10n-work joined #nim |
14:26:32 | PMunch | dom96, Araq, what are the features that's lacking from choosenim before it can be put on the site? |
14:28:14 | * | Snircle quit (Read error: Connection reset by peer) |
14:29:24 | * | Snircle joined #nim |
14:31:26 | enthus1ast | shashlick: linux ubuntu |
14:32:10 | enthus1ast | why dont make the git way the defaul install? :) |
14:32:32 | enthus1ast | i bet it was discussed here before |
14:32:58 | shashlick | i think choosenim should become the default |
14:33:23 | enthus1ast | can choosenim pull in the latest changes? |
14:34:49 | PMunch | Yup |
14:34:55 | PMunch | choosenim devel |
14:36:30 | * | endragor quit (Remote host closed the connection) |
14:38:09 | * | solitudesf quit (Ping timeout: 264 seconds) |
14:39:16 | * | radagast_2 quit (Quit: radagast_2) |
14:39:47 | * | solitudesf joined #nim |
14:42:53 | FromGitter | <krux02> what is the correct way to start a system process from nim? |
14:43:03 | FromGitter | <krux02> I would like to start an editor |
14:43:17 | * | Snircle quit (Remote host closed the connection) |
14:43:31 | PMunch | Cross-platform? |
14:43:36 | FromGitter | <krux02> not really |
14:43:37 | FromGitter | <krux02> just linux |
14:43:46 | * | endragor joined #nim |
14:43:49 | FromGitter | <krux02> It's just for example |
14:44:19 | FromGitter | <krux02> I have a simple command interpreter |
14:44:30 | PMunch | Well you can always use execProcess |
14:44:31 | FromGitter | <krux02> and I have a macro that makes nim functions available from the interpreter |
14:44:39 | FromGitter | <krux02> yes I do execProcess |
14:44:51 | FromGitter | <krux02> but for some reason execProcess expects a full path to the executable |
14:45:01 | * | endragor_ joined #nim |
14:45:04 | PMunch | Huh, doesn't do that for me.. |
14:45:15 | FromGitter | <krux02> I can simpley do it with the executable, or I can just execute alwas "/usr/bin/env" |
14:45:23 | FromGitter | <krux02> but I thought there is a way to execute a command from the path |
14:45:44 | FromGitter | <krux02> well to be exact I use start process |
14:45:47 | PMunch | I use execProcess with just the name of the program |
14:45:49 | FromGitter | <krux02> does that make a difference |
14:45:51 | PMunch | And it works fine |
14:45:57 | FromGitter | <krux02> not for me |
14:46:00 | PMunch | Are you sure the program is in your path and not an alias? |
14:46:08 | FromGitter | <krux02> yes I am sure |
14:46:14 | PMunch | Hmm, startProcess might behave differently |
14:46:19 | * | gokr joined #nim |
14:46:20 | PMunch | I've only tried execProcess |
14:48:17 | * | endragor quit (Ping timeout: 256 seconds) |
14:49:40 | * | endragor_ quit (Ping timeout: 256 seconds) |
14:52:05 | enthus1ast | findExe searches the path |
14:52:39 | enthus1ast | os.findExe |
14:54:26 | FromGitter | <krux02> the is an option flag to startProcess poUsePath |
14:54:39 | FromGitter | <krux02> and by default it does not do that |
14:55:06 | FromGitter | <krux02> especially because it execProcess it does use by default the path |
14:55:43 | PMunch | Aha |
14:59:21 | * | yglukhov quit (Remote host closed the connection) |
14:59:57 | * | yglukhov joined #nim |
15:04:16 | * | yglukhov quit (Ping timeout: 256 seconds) |
15:07:33 | * | sleepyqtx joined #nim |
15:08:22 | * | endragor joined #nim |
15:11:04 | * | sleepyqt quit (Ping timeout: 256 seconds) |
15:12:46 | * | endragor quit (Ping timeout: 256 seconds) |
15:22:19 | * | nsf quit (Quit: WeeChat 2.0.1) |
15:25:20 | FromGitter | <krux02> yea my grammer is buggy |
15:25:24 | FromGitter | <krux02> I just realized that |
15:25:49 | FromGitter | <krux02> execProcess does by default look into path, startProcess does not do that. |
15:26:09 | FromGitter | <krux02> In my opition that is making things unnecessarily complicated |
15:32:36 | FromGitter | <cooldome> Hi Araq! I am a bit struggling with codegen here. I want to generate “catch(Type &)”, I can’t figure out what to call to make sure Type is declared in the module |
15:33:03 | FromGitter | <cooldome> Also how to get mangked typ from n.typ |
15:33:36 | FromGitter | <cooldome> mangled type name |
15:34:58 | FromGitter | <cooldome> there is getTypeName, but it wants sigHash as argument, no clue where to get it from |
15:43:06 | FromGitter | <cooldome> found getTypeDesc, it solves both problems |
15:48:46 | * | radagast_04 joined #nim |
15:59:33 | * | xet7 quit (Ping timeout: 268 seconds) |
15:59:57 | * | floppydh quit (Quit: WeeChat 2.0.1) |
16:22:12 | * | xet7 joined #nim |
16:24:01 | * | Trustable joined #nim |
16:24:01 | * | icebattle joined #nim |
16:25:49 | * | natrys joined #nim |
16:28:14 | FromGitter | <tim-st> What is the easiest way to install a nim nightly on windows? I tried command line -> install stable; choosenim -> exception :( |
16:29:15 | FromGitter | <tim-st> On the nim homepage it says: "want a nightly" -> I click on it -> I follow instructions -> 10 minutes later I have compiled a stable version |
16:30:35 | PMunch | Well you need to switch the github repo to devel if you want to get the "nightly" |
16:30:51 | PMunch | It isn't really nightly, it's just the latest commit. |
16:30:55 | PMunch | Might change during the day |
16:31:15 | PMunch | But what exception do you get from choosenim? |
16:32:03 | FromGitter | <tim-st> `Error: unhandled exception: ... OSError` |
16:32:27 | FromGitter | <tim-st> Ok, but I expected to install the nightly, if I follow the link which says "install nightly" |
16:32:50 | PMunch | Could you paste the full error somewhere? |
16:32:58 | FromGitter | <tim-st> It's in german |
16:33:12 | FromGitter | <tim-st> I can give the traceback |
16:33:57 | FromGitter | <tim-st> port 80/tcp is closed and others too (I hope it's not a problem) |
16:34:11 | PMunch | Hmm, that might actually be the issue |
16:34:25 | FromGitter | <tim-st> https://pastebin.com/gG1WEqQZ |
16:34:26 | PMunch | Choosenim might try to get it's sources from http sources |
16:34:41 | PMunch | I can probably understand the german, or at least get a gist of it :P |
16:34:47 | FromGitter | <tim-st> Why would it use an unencrypted connection? that quite a security issue |
16:35:18 | PMunch | Don't ask me :P |
16:35:38 | FromGitter | <tim-st> `http://irclogs.nim-lang.org/packages.json` is in there |
16:35:45 | FromGitter | <tim-st> which is linked to https though |
16:35:55 | PMunch | Hmm |
16:36:07 | FromGitter | <tim-st> I also tried with admin rights |
16:36:27 | PMunch | Did you make sure you had the devel repo when you were getting the GitHub sources? |
16:36:39 | PMunch | https://github.com/nim-lang/Nim/archive/devel.zip |
16:37:08 | FromGitter | <tim-st> When I installed it manually, I just followed the github page step by step. If it was stable by default it was stable |
16:38:37 | PMunch | Hmm, the error message definitely looks like it's related to the TCP/80 port not being available |
16:38:58 | PMunch | Complains about access rights on the socket or something like that. And it's in the low level network stuff |
16:39:33 | FromGitter | <tim-st> some weeks ago I tried it on windows 7 (now windows 10) didnt work too (I dont think I blocked the port there) |
16:39:44 | PMunch | Are you sure you got the stable version by the way? |
16:39:51 | PMunch | What does "nim --version" give you? |
16:41:04 | FromGitter | <tim-st> Nim Compiler Version 0.17.2 (2017-09-07) [Windows: amd64] ⏎ git hash: 811fbdafd958443ddac98ad58c77245860b38620 ⏎ active boot switches: -d:release |
16:41:47 | FromGitter | <tim-st> I try to compile your link with the zip file now |
16:43:19 | PMunch | That should give you the devel version :) |
16:43:58 | FromGitter | <tim-st> ok, thanks for your help! |
16:44:15 | * | floppydh joined #nim |
16:44:20 | * | yglukhov joined #nim |
16:45:42 | FromGitter | <tim-st> Should I use `git clone --depth 1 https://github.com/nim-lang/csources.git` though? |
16:47:52 | PMunch | Yeah |
16:47:57 | PMunch | That's just to bootstrap |
16:48:27 | PMunch | Well I guess you don't need to since you've already got a stable version |
16:48:40 | * | yglukhov quit (Ping timeout: 252 seconds) |
16:48:48 | PMunch | The C sources are just a version of the Nim compiler so that you can compile the new version |
16:50:36 | FromGitter | <tim-st> ok |
16:56:21 | * | gokr quit (Ping timeout: 256 seconds) |
16:58:41 | PMunch | Huh, my termstyle thing became a lot more popular than I thought :P |
16:59:20 | FromGitter | <tim-st> I think I'm doing something wrong... the generated nim.exe file has the same version |
16:59:36 | FromGitter | <tim-st> Than I will stay with the stable |
17:01:12 | PMunch | Hmm, that is very strange.. |
17:07:00 | * | PMunch quit (Quit: Leaving) |
17:07:04 | * | yglukhov joined #nim |
17:11:27 | * | yglukhov quit (Ping timeout: 256 seconds) |
17:12:00 | * | floppydh quit (Quit: WeeChat 2.0.1) |
17:19:03 | FromGitter | <tim-st> Finally got it working 👍 |
17:19:22 | FromGitter | <tim-st> thanks for the help |
17:24:31 | * | skelett quit (Quit: WeeChat 2.0.1) |
17:29:10 | * | fredrik92 joined #nim |
17:30:22 | * | skelett joined #nim |
17:31:06 | * | couven92 quit (Disconnected by services) |
17:31:12 | * | fredrik92 is now known as couven92 |
17:31:36 | * | fredrik92 joined #nim |
17:36:26 | Yardanico | PMunch: wow! https://github.com/PMunch/protobuf-nim |
17:44:42 | * | gokr joined #nim |
17:45:05 | shashlick | what's protobuf |
17:46:55 | * | yglukhov joined #nim |
17:48:22 | skrylar | shashlick, serialization toolkit |
17:49:26 | Yardanico | very popular one |
17:49:27 | Yardanico | https://github.com/google/protobuf |
17:50:46 | shashlick | nice work :) |
17:51:39 | * | federico3 quit (Quit: http://quassel-irc.org - Chat comfortably. Anywhere.) |
17:51:41 | * | yglukhov quit (Ping timeout: 256 seconds) |
17:51:59 | * | federico3 joined #nim |
17:54:05 | * | nsf joined #nim |
18:06:40 | * | tiorock joined #nim |
18:06:40 | * | tiorock quit (Changing host) |
18:06:40 | * | tiorock joined #nim |
18:06:40 | * | rockcavera is now known as Guest72073 |
18:06:40 | * | Guest72073 quit (Killed (adams.freenode.net (Nickname regained by services))) |
18:06:40 | * | tiorock is now known as rockcavera |
18:22:44 | Araq | https://coala.io/#/languages we need a NimQualityBear |
18:30:38 | FromGitter | <alehander42> did you talk with the coala guy :D |
18:30:47 | Yardanico | Araq: lol, I saw coala.io next to your stand at FOSDEM (from photos on twitter) |
18:30:54 | Yardanico | *next to nim stand |
18:33:42 | Araq | actually I tried to use nim on gitmate.io but failed. |
18:33:52 | Araq | incomprehensible UI. |
18:34:24 | federico3 | mine is stuck importing repos on https://gitmate.io/repositories |
18:34:34 | Araq | makes me sad. lots of options to tinker with, but no that says "now run that freaking analysis" |
18:34:45 | Araq | maybe I'm just an idiot though. |
18:36:14 | Yardanico | federico3: it worked for me |
18:36:52 | federico3 | Yardanico: then I suspect the amount of repos in the orgs I'm in broke gitmate a bit |
18:37:12 | Yardanico | hmm, "Attention: GitMate will perform actions in this repository using your account!" |
18:37:32 | Yardanico | should I enable it or no? :D |
18:37:34 | federico3 | it should be given a dedicated account IMO |
18:37:48 | Yardanico | and yeah, analysis works only with coala |
18:38:01 | Yardanico | The analysis uses coala and needs to be configured via a file named .coafile in your repository, as described here. |
18:38:13 | Yardanico | well it can be |
18:38:22 | federico3 | I wouldn't be surprised if they've been "slashdotted" by fosdem and disabled something |
18:38:27 | Yardanico | but is gitmate really useful? |
18:39:17 | federico3 | Yardanico: there's only one way to find out... |
18:39:20 | Yardanico | oh, I can't enable nim repo on gitmate, only Araq can (and other people with admin rights) :) |
18:39:35 | federico3 | ok, they are on gitter |
18:40:21 | Araq | Yardanico: I did enable it. maybe. |
18:40:22 | Yardanico | https://gitmate.io/report/https:%2F%2Fgithub.com%2Fnim-lang%2Fnim lol |
18:40:31 | Araq | as I said, the UI is a mystery |
18:40:49 | federico3 | Araq: isn't that just the "demo" page? |
18:41:03 | Yardanico | hmm wait, issue labels (in example on this page) are actually pretty good |
18:41:17 | Araq | federico3: what Yardanico shows is just the demo, yes |
18:41:58 | Yardanico | we need someone to make a new issue/PR :D |
18:42:45 | shashlick | interesting report |
18:43:43 | Yardanico | Araq: check if nim repo is enabled here https://gitmate.io/repositories |
18:44:00 | Araq | it is. |
18:44:07 | Yardanico | if it is, then gitmate should work (with your account :P ) |
18:44:31 | * | yglukhov joined #nim |
18:44:31 | Araq | yeah, whatever, time to improve some error message |
18:48:56 | * | yglukhov quit (Ping timeout: 252 seconds) |
18:52:19 | Yardanico | 0.18.0 is around the corner? |
18:52:40 | Yardanico | (well ssl/tls checking merged) |
18:52:45 | Yardanico | after* |
19:04:20 | FromGitter | <dom96> Everybody back home safe and sound from FOSDEM? :) |
19:05:15 | shashlick | hope you took lots of photos |
19:05:19 | shashlick | just saw a couple on twitter |
19:06:10 | FromGitter | <dom96> Yeah, I took a video around the stands as well. |
19:06:23 | shashlick | is there a REST API client framework for nim? |
19:06:31 | FromGitter | <dom96> Didn't really get close to any though |
19:06:34 | FromGitter | <mratsim> yep safe and sound |
19:06:41 | FromGitter | <dom96> But took a fair amount of pictures |
19:06:54 | Araq | I'm still in the train lol |
19:06:57 | FromGitter | <dom96> I'll probably end up regretting not taking more though, it always happens :) |
19:07:10 | Araq | the train I wanted to take was cancelled |
19:07:20 | FromGitter | <dom96> I'm in a train now too |
19:08:52 | * | couven92 quit (Ping timeout: 268 seconds) |
19:09:35 | FromGitter | <dom96> Araq: Hope it isn't delaying your trip too much |
19:14:02 | Araq | well I'm 1.5 hours too late, at least. not sure if there are still buses then so I might need to work home from the train station |
19:14:28 | Araq | "work home" lol I mean "walk home" |
19:17:49 | shashlick | https://github.com/swagger-api/swagger-codegen <= need to get nim on this list |
19:18:23 | FromGitter | <dom96> wow, GitMate is really cool |
19:23:22 | federico3 | swagger reminds me of http://www.hug.rest/ |
19:31:36 | * | couven92 joined #nim |
19:37:56 | shashlick | easier to parse the json description of the api |
19:37:56 | shashlick | https://matrix.org/docs/api/client-server/json/api-docs.json |
19:41:06 | shashlick | does anyone care for a full fledged swagger api nimble package |
19:58:18 | * | Trustable quit (Remote host closed the connection) |
20:00:07 | * | yglukhov joined #nim |
20:02:50 | * | BitPuffin quit (Remote host closed the connection) |
20:04:28 | * | yglukhov quit (Ping timeout: 252 seconds) |
20:11:35 | * | couven92 quit (Ping timeout: 260 seconds) |
20:12:02 | FromGitter | <Varriount> Sure. |
20:12:37 | skrylar | huh, neat. always wondered about API tools |
20:13:11 | skrylar | there were those old argouml tools that also had a built-in checklist, was kind of neat if you actually used trhe checklist features |
20:17:26 | * | PMunch joined #nim |
20:19:04 | * | _RPG_ joined #nim |
20:19:10 | * | _RPG_ quit (Remote host closed the connection) |
20:19:29 | skrylar | would be kind of interesting if you did a bunch of interviews on apis people liked adn that broke, and then put those in to a ilst of patterns and then have the editor reference those |
20:19:54 | skrylar | "hey this looks like a badly implemented version of CLOS!" |
20:21:15 | * | arecaceae quit (Remote host closed the connection) |
20:21:38 | * | arecaceae joined #nim |
20:25:37 | FromGitter | <zetashift> How did people receive Nim @dom96 I'd love to hear a quick and a dirty rundown |
20:26:44 | PMunch | zetashift, at FOSDEM? |
20:26:56 | FromGitter | <dom96> It was amazing how many people never heard about Nim before. |
20:27:13 | PMunch | Generally positive, mostly surprised that they hadn't heard about it |
20:27:28 | FromGitter | <dom96> But in general once we explained it I think it was positive. Although there is probably a bit of a bias for that, people are usually to nice to be nasty about your project to your face :) |
20:27:36 | FromGitter | <dom96> *too |
20:28:21 | PMunch | That's true |
20:28:33 | PMunch | But some people seemed to be generally surprised at how good it sounded |
20:28:38 | FromGitter | <zetashift> Yea I guess so, atleast it piqued their interest and if they check it out that would already be great |
20:28:47 | PMunch | So if any of you are here right now, hello! |
20:28:50 | * | PMunch waves |
20:30:04 | FromGitter | <dom96> Yeah, it'd be great to hear from people that were introduced to Nim at FOSDEM. I might make a forum thread for that. |
20:32:51 | * | yglukhov joined #nim |
20:33:55 | * | couven92 joined #nim |
20:34:15 | * | natrys quit (Quit: natrys) |
20:37:06 | * | yglukhov quit (Ping timeout: 252 seconds) |
20:40:37 | shashlick | will be interesting to measure traffic changes on github and nim-lang.org |
20:41:31 | PMunch | Yeah I was considering to write a small script to scour the IRC logs for new usernames and messages/day |
20:52:06 | * | MJCaley joined #nim |
20:53:05 | shashlick | back to vim from vscode |
20:53:08 | shashlick | using 11mb of ram |
20:53:49 | PMunch | I've actually noticed great power improvements after changing to Vim as my editor |
20:54:33 | PMunch | Used my laptop on the plane back from FOSDEM and at 57% it said that it had over 8 hours left, an hour later it was at 51% and said 7 hours, so it even seemed to be accurate! |
20:54:45 | shashlick | which plugin are you using? |
20:55:25 | shashlick | having to use nvim-nim for nim since zah's plugin needs python2 which msys vim doesn't have |
20:56:46 | PMunch | I've got zah's installed |
20:57:03 | PMunch | But I don't really use anything but syntax-highlighting |
20:57:22 | shashlick | am using snip to monitor the file i'm editing and compile it everytime I save |
20:57:25 | shashlick | see errors realtime |
20:59:38 | shashlick | of course that doesn't work for more complex projects but works nicely to check for compile errors |
21:02:21 | * | MJCaley quit (Quit: MJCaley) |
21:09:13 | * | yglukhov joined #nim |
21:13:44 | * | yglukhov quit (Ping timeout: 256 seconds) |
21:17:55 | shashlick | how easy would it be to recurse thru all imports in a nim file and check if those files changed? |
21:18:26 | PMunch | Depends, are you able to get the file paths from nimsuggest? |
21:18:32 | PMunch | In that case it should be really simple |
21:18:52 | shashlick | I haven't integrated nimsuggest yet |
21:19:08 | shashlick | that's a good idea |
21:24:25 | FromGitter | <alehander42> the airport we landed on didn't even have transport to the city |
21:24:54 | FromGitter | <alehander42> brings back the adventore to aviation |
21:24:58 | FromGitter | <alehander42> adventure* |
21:36:09 | shashlick | is it possible to import a module and export one of it's symbols: |
21:36:41 | * | sleepyqtx quit (Quit: Leaving) |
21:40:09 | PMunch | alehander42, when you landed in Bruxelles? |
21:40:37 | shashlick | why do I bother asking: https://nim-lang.org/docs/manual.html#modules-export-statement |
21:42:01 | PMunch | Haha, sorry yeah that's possible :P |
21:46:10 | FromGitter | <honewatson> @shashlick nvim-nim is my preferred plugin for nim and ale is a good companion plugin |
21:46:45 | PMunch | Shit.. |
21:47:16 | PMunch | I was almost done writing my FOSDEM FAQ to summarise some of the most common questions we got |
21:47:52 | PMunch | But instead of hitting Ctrl+B and a Q to bold the next question I hit Ctrl+Q and quit my browser without saving... |
21:48:29 | PMunch | Now I'm left with one question and one answer: |
21:48:38 | PMunch | Q: So what is Nim? A: Nim is a programming language |
21:51:21 | dom96 | GitHub wiki? |
21:51:54 | shashlick | @honewatson: what's ale? |
21:52:17 | PMunch | Yeah I know, just wanted to type up the most common questions in a bit less intimidating format |
21:52:31 | PMunch | For people to just spend 5 minutes and get a good grasp of what it was |
21:53:05 | FromGitter | <honewatson> its an asynchronous linter which has support for Nim. Much better than syntastic which is resource hungry. |
21:53:07 | PMunch | Based on what people asked about on the stand, which should be a good metric of what people are wondering about when they first hear about Nim |
21:54:36 | PMunch | Now I kinda wished I had a keylogger on my own machine :P |
21:55:19 | PMunch | Ugh, I'm heading to bed now.. |
21:56:02 | * | PMunch quit (Quit: leaving) |
21:56:29 | FromGitter | <mratsim> Somehow we met 2 or 3 groups of Ada people. They were very interested in Nim. |
21:58:15 | dom96 | PMunch: I was asking because I was going to say "That's a pro for creating a proper wiki" |
22:00:33 | * | vlad1777d joined #nim |
22:01:11 | skrylar | mratsim: nim is semantically close to ada |
22:01:45 | dom96 | Next year if there is an Ada devroom it would be a good idea to submit a Nim talk there |
22:01:47 | skrylar | although ada has a stricter focus on safety, it has also a stronger type system which nim can have |
22:02:39 | skrylar | though ada is in a situation like smalltalk; they really only have "one" compiler and your choice is outdated GCC (GNAT) or proprietary not-GCC |
22:04:34 | * | nsf quit (Quit: WeeChat 2.0.1) |
22:06:54 | FromGitter | <mratsim> We made sure to explain how to tranlate ADA idioms to Nim (range-based type, distinct types …) |
22:11:44 | FromGitter | <zetashift> Actually looked at some Ada code today(think it was their OpenGL post) and it looks somewhat like Nim(or Nim looks somewhat like Ada) |
22:12:51 | skrylar | There was a time i would have been happy writing Ada or Dylan |
22:13:33 | skrylar | Would have been happy with REBOL but it was always proprietary until v3 was chucked out on its deathbed, now successor Red has gone off in the weeds with cryptocoin crap |
22:13:39 | * | couven92 quit (Quit: Client Disconnecting) |
22:14:09 | FromGitter | <mratsim> Red and crypto? wasn’t it a GUI focused language |
22:14:45 | skrylar | nenad decided he wanted to be an ethereum language so they had a big ICO and are doing that now |
22:15:44 | FromGitter | <honewatson> @mratsim Red wants to raise money to support itself via a crypto coin release |
22:19:25 | FromGitter | <alehander42> @PMunch, no, one local airport in a smaller city |
22:19:44 | * | d10n-work quit (Quit: Connection closed for inactivity) |
22:20:02 | * | vlad1777d quit (Ping timeout: 256 seconds) |
22:21:11 | FromGitter | <alehander42> I also watched a talk about a cool ada-based tool, a lot of ada people there indeed |
22:21:58 | FromGitter | <mratsim> Apparently Red was only supported by a seed investment in 2015. Now that it’s 2018 I suppose Nenad ran short of fund and wants to keep developing it full time. Though I think he should have forked and rebranded the fork so that anyone that wanted to keep Red in spirit could step up |
22:23:08 | * | yglukhov joined #nim |
22:27:45 | * | yglukhov quit (Ping timeout: 248 seconds) |
22:31:01 | * | mal`` quit (Quit: Leaving) |
22:31:02 | * | solitudesf quit (Ping timeout: 276 seconds) |
22:34:02 | shashlick | @honewatson: installed ale but I don't see anything happening when I make mistakes |
22:36:02 | * | mal`` joined #nim |
22:36:38 | dom96 | skrylar: has the Red ICO started yet? |
22:39:35 | FromGitter | <honewatson> (https://files.gitter.im/nim-lang/Nim/TK7t/image.png) |
22:39:41 | shashlick | ok it started working somehow |
22:39:47 | FromGitter | <honewatson> you should see something like this @shashlick |
22:39:59 | FromGitter | <honewatson> maybe you need to set up some auto save function |
22:40:15 | FromGitter | <honewatson> also I have it working with airline so it displays the error in the status line |
22:41:38 | shashlick | don't have airline yet, thinking of installing it |
22:53:05 | FromGitter | <zetashift> @dom96 apparently they succeeded: http://www.red-lang.org/2018/01/red-token-sale-success.html |
23:06:43 | shashlick | honewatson: installed airline but it has no color, i'm in windows terminal though |
23:14:00 | * | xkapastel joined #nim |
23:14:50 | FromGitter | <honewatson> ok works for me on Mac and Ubuntu |
23:14:55 | FromGitter | <honewatson> Not sure about windows |
23:15:22 | FromGitter | <honewatson> you can specify settings as per the Ale documentation |
23:16:52 | shashlick | i guess there's limitations on the terminal, might work in gvim for all i know |
23:20:29 | * | Vladar quit (Quit: Leaving) |
23:32:33 | * | yglukhov joined #nim |
23:37:06 | * | yglukhov quit (Ping timeout: 256 seconds) |
23:43:48 | * | gokr quit (Ping timeout: 240 seconds) |
23:47:54 | * | MJCaley joined #nim |
23:57:42 | * | MJCaley quit (Quit: MJCaley) |
23:59:35 | FromGitter | <honewatson> @shashlick I'm using the terminal |
23:59:59 | FromGitter | <honewatson> I wasn't a fan of gvim |