<< 05-02-2018 >>

00:03:38AraqQuelklef: that's a tricky one
00:05:02FromGitter<Araq> ```code paste, see link``` [https://gitter.im/nim-lang/Nim?at=5a779fadb3c4a0d376deb58c]
00:05:06FromGitter<Araq> works
00:05:41FromGitter<Araq> because the "convertible" relation is not lifted. maybe it should be for concept matches, @zah ?
00:06:36FromGitter<Quelklef> What do you mean about the convertible relation? And thanks for a workaround
00:08:29FromGitter<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:44FromGitter<honewatson> ```code paste, see link``` [https://gitter.im/nim-lang/Nim?at=5a77a0c84a6b0dd32b8bfb85]
00:13:33FromGitter<Quelklef> Means you can use `flatten` on an array (or anything else implementing the correct `items` iterator)
00:14:12AraqQuelklef: it means seq[T] is convertible to It[T]
00:14:37Araqbut seq[seq[T]] is not convertible to It[It[T]]
00:15:03FromGitter<honewatson> ok thanks
00:15:11Araqwhy? because this can have unforeseen consequences
00:15:22Araqint16 converts to int32
00:15:42Araqbut array[N, int16] does not convert to array[N, int32]
00:16:12FromGitter<Quelklef> What kind of consequences?
00:16:15Araqmostly because of performance
00:16:48Araqfor concepts we should probably just make it work, but I need to think about it
00:18:40FromGitter<Quelklef> I notice that `Itrint ([1, 2, 3])` works for explicit annotating but
00:19:04FromGitter<Quelklef> Trying it on a 2d doesn't, even if each inner array is explicitly converted
00:19:12FromGitter<Quelklef> ala ```nim
00:20:05FromGitter<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:44user0__Does one need to manually prevent object loitering?
07:49:02Araqno, they are biodegradable
07:56:35*endragor quit (Remote host closed the connection)
07:57:02*endragor joined #nim
07:59:33FromGitter<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:10Araqthat's pretty easy to accomplish, Nim's HTML parser deals with that
08:07:25FromGitter<sptorin_twitter> Hello. Why `smtp.sendMail` not sending header "From"?
08:07:49Araqyou keep a stack of open elements, either explicitly or in the recursions and you do
08:08:20FromGitter<tim-st> ok thanks, but thought about this `<li><li></li>` which belongs to which ^^
08:09:03Araq if tag == "</li>": consume(); closeTag() elif tag.startsWith("</"): closeTag()
08:09:22Araqit's just an optional syntax element, no backtracking required.
08:09:36FromGitter<tim-st> ok, thanks!
08:17:18*Vladar joined #nim
08:21:47*survivorm[m] joined #nim
08:27:38Araqsptorin: 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:08FromGitter<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:48Araqplease 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:06FromGitter<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:35livcdHow was the FOSDEM ?
10:53:26Yardanicoyeah, I want to ask that too :)
10:54:58PMunchIt was great! :)
10:55:12PMunchLot's of people coming to the booth asking questions
10:55:21*MJCaley quit (Quit: MJCaley)
10:55:53PMunchI was actually considering to write up a small FOSDEM FAQ to summarise what the most common questions were
10:56:54FromGitter<andreaferretti> @PMunch please, go ahead, it would be interesting to know!
10:57:02livcdwhat were the most common questions ? ^^
10:58:38PMunchWell probably the two most asked questions were "What is Nim?" and "Why haven't I heard about it before?"
10:58:42PMunch:P
10:59:38PMunchBut 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:40federico3and "how long has the language been around" (which is a proxy for "why haven't I heard about it")
11:01:05PMunchYeah, that was also a popular one
11:02:56federico3nobody asked "why weren't you at FOSDEM before" but I guess many were thinking it :)
11:10:05abeaumontyou 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:09PMunchYeah 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:45PMunchHmm, 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:51PMunchhttps://github.com/PMunch/combparser/blob/generic/combparser.nim#L84
11:24:55PMunchThat's the offending line
11:25:08*yglukhov quit (Ping timeout: 268 seconds)
11:25:47PMunch"combparser.nim(84, 39) Error: cannot instantiate: 'Error'"
11:26:23PMunchTried to make a more minimal example, but of course that works: http://ix.io/FhO/
11:26:37PMunchSo I have no idea what causes this..
11:28:15user0__A language server would be pretty nice imo
11:28:33PMunchLanguage server?
11:29:28user0__https://langserver.org/
11:30:13PMunchLike nimsuggest?
11:30:42PMunchBut following a defined protocol
11:31:28user0__Well, ideally lang servers provide more tools, for example https://clang.llvm.org/extra/clangd.html
11:31:30PMunchhttps://github.com/nim-lang/nimsuggest/issues/59
11:31:40PMunchAh, seems to already be an issue for it
11:32:14federico3oh, nice
11:57:11*yglukhov joined #nim
11:59:33enthus1astis 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:48PMunchenthus1ast, well there is this: https://github.com/h3rald/hastysite
12:09:15*yglukhov joined #nim
12:09:17enthus1astoh nice hastysite looks more advanced since my last check!
12:10:28enthus1astmy "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:04PMunchI've used CouchCMS before
12:13:05enthus1astmaybe i can hack something with hasysite karax ormin (maybe the php backend)
12:13:06PMunchReally nice
12:13:10enthus1astah
12:13:38PMunchLet'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:31PMunchSo 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:15enthus1astsounds nice PMunch i'will definitly have a look at
12:15:22PMunchIt's pretty neat
12:15:26PMunchAnd it's open source :)
12:15:28federico3a CMS or just a wiki?
12:15:56enthus1astclient says: "a website"
12:15:59*vlad1777d quit (Ping timeout: 248 seconds)
12:16:24PMunchBut you can pay a $39 once in a lifetime fee to be able to configure the design of the editor as well :)
12:16:34federico3enthus1ast: or a static site generator with a web editor?
12:17:28enthus1astthis 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:57PMunchI'd say go with CouchCMS
12:18:33federico3enthus1ast: I used pelican and shoebill
12:18:44PMunchJust 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:20enthus1astmy 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:43enthus1astpelican was nice, used it a few years ago
12:23:19enthus1astshoebill looks nice as well
12:23:46enthus1astmaybe i should stop it and be a gardener or so
12:24:57*dddddd joined #nim
12:26:32*endragor joined #nim
12:26:34PMunchHere'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:53enthus1astCouch look pretty perfekt
12:28:40PMunchYup, for creating simple sites for non-tech people it's pretty awesome
12:28:52PMunchWell, I used it for my own site as well. And it's still awesome :)
12:29:31PMunchGives 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:39enthus1astdom96: 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:43enthus1astthis 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:38PMunchHmm, why doesn't these match:
13:35:46PMunchError: 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:02PMunchproc 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:41PMunchNever mind, figured it out
13:41:09*radagast_2 quit (Remote host closed the connection)
13:41:29*radagast_2 joined #nim
13:42:31PMunchHmm, 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:06PMunchThe 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:37shashlickenthus1ast: 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:40PMunchshashlick, probably Windows, on Linux you could just install it through your package manager..
14:10:59PMunchProvided that it's in one of your repos of course
14:20:40shashlickokay, i'll try it out
14:21:09*d10n-work joined #nim
14:26:32PMunchdom96, 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:26enthus1astshashlick: linux ubuntu
14:32:10enthus1astwhy dont make the git way the defaul install? :)
14:32:32enthus1asti bet it was discussed here before
14:32:58shashlicki think choosenim should become the default
14:33:23enthus1astcan choosenim pull in the latest changes?
14:34:49PMunchYup
14:34:55PMunchchoosenim 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:53FromGitter<krux02> what is the correct way to start a system process from nim?
14:43:03FromGitter<krux02> I would like to start an editor
14:43:17*Snircle quit (Remote host closed the connection)
14:43:31PMunchCross-platform?
14:43:36FromGitter<krux02> not really
14:43:37FromGitter<krux02> just linux
14:43:46*endragor joined #nim
14:43:49FromGitter<krux02> It's just for example
14:44:19FromGitter<krux02> I have a simple command interpreter
14:44:30PMunchWell you can always use execProcess
14:44:31FromGitter<krux02> and I have a macro that makes nim functions available from the interpreter
14:44:39FromGitter<krux02> yes I do execProcess
14:44:51FromGitter<krux02> but for some reason execProcess expects a full path to the executable
14:45:01*endragor_ joined #nim
14:45:04PMunchHuh, doesn't do that for me..
14:45:15FromGitter<krux02> I can simpley do it with the executable, or I can just execute alwas "/usr/bin/env"
14:45:23FromGitter<krux02> but I thought there is a way to execute a command from the path
14:45:44FromGitter<krux02> well to be exact I use start process
14:45:47PMunchI use execProcess with just the name of the program
14:45:49FromGitter<krux02> does that make a difference
14:45:51PMunchAnd it works fine
14:45:57FromGitter<krux02> not for me
14:46:00PMunchAre you sure the program is in your path and not an alias?
14:46:08FromGitter<krux02> yes I am sure
14:46:14PMunchHmm, startProcess might behave differently
14:46:19*gokr joined #nim
14:46:20PMunchI've only tried execProcess
14:48:17*endragor quit (Ping timeout: 256 seconds)
14:49:40*endragor_ quit (Ping timeout: 256 seconds)
14:52:05enthus1astfindExe searches the path
14:52:39enthus1astos.findExe
14:54:26FromGitter<krux02> the is an option flag to startProcess poUsePath
14:54:39FromGitter<krux02> and by default it does not do that
14:55:06FromGitter<krux02> especially because it execProcess it does use by default the path
14:55:43PMunchAha
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:20FromGitter<krux02> yea my grammer is buggy
15:25:24FromGitter<krux02> I just realized that
15:25:49FromGitter<krux02> execProcess does by default look into path, startProcess does not do that.
15:26:09FromGitter<krux02> In my opition that is making things unnecessarily complicated
15:32:36FromGitter<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:03FromGitter<cooldome> Also how to get mangked typ from n.typ
15:33:36FromGitter<cooldome> mangled type name
15:34:58FromGitter<cooldome> there is getTypeName, but it wants sigHash as argument, no clue where to get it from
15:43:06FromGitter<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:14FromGitter<tim-st> What is the easiest way to install a nim nightly on windows? I tried command line -> install stable; choosenim -> exception :(
16:29:15FromGitter<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:35PMunchWell you need to switch the github repo to devel if you want to get the "nightly"
16:30:51PMunchIt isn't really nightly, it's just the latest commit.
16:30:55PMunchMight change during the day
16:31:15PMunchBut what exception do you get from choosenim?
16:32:03FromGitter<tim-st> `Error: unhandled exception: ... OSError`
16:32:27FromGitter<tim-st> Ok, but I expected to install the nightly, if I follow the link which says "install nightly"
16:32:50PMunchCould you paste the full error somewhere?
16:32:58FromGitter<tim-st> It's in german
16:33:12FromGitter<tim-st> I can give the traceback
16:33:57FromGitter<tim-st> port 80/tcp is closed and others too (I hope it's not a problem)
16:34:11PMunchHmm, that might actually be the issue
16:34:25FromGitter<tim-st> https://pastebin.com/gG1WEqQZ
16:34:26PMunchChoosenim might try to get it's sources from http sources
16:34:41PMunchI can probably understand the german, or at least get a gist of it :P
16:34:47FromGitter<tim-st> Why would it use an unencrypted connection? that quite a security issue
16:35:18PMunchDon't ask me :P
16:35:38FromGitter<tim-st> `http://irclogs.nim-lang.org/packages.json` is in there
16:35:45FromGitter<tim-st> which is linked to https though
16:35:55PMunchHmm
16:36:07FromGitter<tim-st> I also tried with admin rights
16:36:27PMunchDid you make sure you had the devel repo when you were getting the GitHub sources?
16:36:39PMunchhttps://github.com/nim-lang/Nim/archive/devel.zip
16:37:08FromGitter<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:37PMunchHmm, the error message definitely looks like it's related to the TCP/80 port not being available
16:38:58PMunchComplains about access rights on the socket or something like that. And it's in the low level network stuff
16:39:33FromGitter<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:44PMunchAre you sure you got the stable version by the way?
16:39:51PMunchWhat does "nim --version" give you?
16:41:04FromGitter<tim-st> Nim Compiler Version 0.17.2 (2017-09-07) [Windows: amd64] ⏎ git hash: 811fbdafd958443ddac98ad58c77245860b38620 ⏎ active boot switches: -d:release
16:41:47FromGitter<tim-st> I try to compile your link with the zip file now
16:43:19PMunchThat should give you the devel version :)
16:43:58FromGitter<tim-st> ok, thanks for your help!
16:44:15*floppydh joined #nim
16:44:20*yglukhov joined #nim
16:45:42FromGitter<tim-st> Should I use `git clone --depth 1 https://github.com/nim-lang/csources.git` though?
16:47:52PMunchYeah
16:47:57PMunchThat's just to bootstrap
16:48:27PMunchWell 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:48PMunchThe C sources are just a version of the Nim compiler so that you can compile the new version
16:50:36FromGitter<tim-st> ok
16:56:21*gokr quit (Ping timeout: 256 seconds)
16:58:41PMunchHuh, my termstyle thing became a lot more popular than I thought :P
16:59:20FromGitter<tim-st> I think I'm doing something wrong... the generated nim.exe file has the same version
16:59:36FromGitter<tim-st> Than I will stay with the stable
17:01:12PMunchHmm, 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:03FromGitter<tim-st> Finally got it working 👍
17:19:22FromGitter<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:26YardanicoPMunch: wow! https://github.com/PMunch/protobuf-nim
17:44:42*gokr joined #nim
17:45:05shashlickwhat's protobuf
17:46:55*yglukhov joined #nim
17:48:22skrylarshashlick, serialization toolkit
17:49:26Yardanicovery popular one
17:49:27Yardanicohttps://github.com/google/protobuf
17:50:46shashlicknice 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:44Araqhttps://coala.io/#/languages we need a NimQualityBear
18:30:38FromGitter<alehander42> did you talk with the coala guy :D
18:30:47YardanicoAraq: lol, I saw coala.io next to your stand at FOSDEM (from photos on twitter)
18:30:54Yardanico*next to nim stand
18:33:42Araqactually I tried to use nim on gitmate.io but failed.
18:33:52Araqincomprehensible UI.
18:34:24federico3mine is stuck importing repos on https://gitmate.io/repositories
18:34:34Araqmakes me sad. lots of options to tinker with, but no that says "now run that freaking analysis"
18:34:45Araqmaybe I'm just an idiot though.
18:36:14Yardanicofederico3: it worked for me
18:36:52federico3Yardanico: then I suspect the amount of repos in the orgs I'm in broke gitmate a bit
18:37:12Yardanicohmm, "Attention: GitMate will perform actions in this repository using your account!"
18:37:32Yardanicoshould I enable it or no? :D
18:37:34federico3it should be given a dedicated account IMO
18:37:48Yardanicoand yeah, analysis works only with coala
18:38:01YardanicoThe analysis uses coala and needs to be configured via a file named .coafile in your repository, as described here.
18:38:13Yardanicowell it can be
18:38:22federico3I wouldn't be surprised if they've been "slashdotted" by fosdem and disabled something
18:38:27Yardanicobut is gitmate really useful?
18:39:17federico3Yardanico: there's only one way to find out...
18:39:20Yardanicooh, I can't enable nim repo on gitmate, only Araq can (and other people with admin rights) :)
18:39:35federico3ok, they are on gitter
18:40:21AraqYardanico: I did enable it. maybe.
18:40:22Yardanicohttps://gitmate.io/report/https:%2F%2Fgithub.com%2Fnim-lang%2Fnim lol
18:40:31Araqas I said, the UI is a mystery
18:40:49federico3Araq: isn't that just the "demo" page?
18:41:03Yardanicohmm wait, issue labels (in example on this page) are actually pretty good
18:41:17Araqfederico3: what Yardanico shows is just the demo, yes
18:41:58Yardanicowe need someone to make a new issue/PR :D
18:42:45shashlickinteresting report
18:43:43YardanicoAraq: check if nim repo is enabled here https://gitmate.io/repositories
18:44:00Araqit is.
18:44:07Yardanicoif it is, then gitmate should work (with your account :P )
18:44:31*yglukhov joined #nim
18:44:31Araqyeah, whatever, time to improve some error message
18:48:56*yglukhov quit (Ping timeout: 252 seconds)
18:52:19Yardanico0.18.0 is around the corner?
18:52:40Yardanico(well ssl/tls checking merged)
18:52:45Yardanicoafter*
19:04:20FromGitter<dom96> Everybody back home safe and sound from FOSDEM? :)
19:05:15shashlickhope you took lots of photos
19:05:19shashlickjust saw a couple on twitter
19:06:10FromGitter<dom96> Yeah, I took a video around the stands as well.
19:06:23shashlickis there a REST API client framework for nim?
19:06:31FromGitter<dom96> Didn't really get close to any though
19:06:34FromGitter<mratsim> yep safe and sound
19:06:41FromGitter<dom96> But took a fair amount of pictures
19:06:54AraqI'm still in the train lol
19:06:57FromGitter<dom96> I'll probably end up regretting not taking more though, it always happens :)
19:07:10Araqthe train I wanted to take was cancelled
19:07:20FromGitter<dom96> I'm in a train now too
19:08:52*couven92 quit (Ping timeout: 268 seconds)
19:09:35FromGitter<dom96> Araq: Hope it isn't delaying your trip too much
19:14:02Araqwell 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:28Araq"work home" lol I mean "walk home"
19:17:49shashlickhttps://github.com/swagger-api/swagger-codegen <= need to get nim on this list
19:18:23FromGitter<dom96> wow, GitMate is really cool
19:23:22federico3swagger reminds me of http://www.hug.rest/
19:31:36*couven92 joined #nim
19:37:56shashlickeasier to parse the json description of the api
19:37:56shashlickhttps://matrix.org/docs/api/client-server/json/api-docs.json
19:41:06shashlickdoes 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:02FromGitter<Varriount> Sure.
20:12:37skrylarhuh, neat. always wondered about API tools
20:13:11skrylarthere 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:29skrylarwould 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:54skrylar"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:37FromGitter<zetashift> How did people receive Nim @dom96 I'd love to hear a quick and a dirty rundown
20:26:44PMunchzetashift, at FOSDEM?
20:26:56FromGitter<dom96> It was amazing how many people never heard about Nim before.
20:27:13PMunchGenerally positive, mostly surprised that they hadn't heard about it
20:27:28FromGitter<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:36FromGitter<dom96> *too
20:28:21PMunchThat's true
20:28:33PMunchBut some people seemed to be generally surprised at how good it sounded
20:28:38FromGitter<zetashift> Yea I guess so, atleast it piqued their interest and if they check it out that would already be great
20:28:47PMunchSo if any of you are here right now, hello!
20:28:50*PMunch waves
20:30:04FromGitter<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:37shashlickwill be interesting to measure traffic changes on github and nim-lang.org
20:41:31PMunchYeah 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:05shashlickback to vim from vscode
20:53:08shashlickusing 11mb of ram
20:53:49PMunchI've actually noticed great power improvements after changing to Vim as my editor
20:54:33PMunchUsed 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:45shashlickwhich plugin are you using?
20:55:25shashlickhaving to use nvim-nim for nim since zah's plugin needs python2 which msys vim doesn't have
20:56:46PMunchI've got zah's installed
20:57:03PMunchBut I don't really use anything but syntax-highlighting
20:57:22shashlickam using snip to monitor the file i'm editing and compile it everytime I save
20:57:25shashlicksee errors realtime
20:59:38shashlickof 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:55shashlickhow easy would it be to recurse thru all imports in a nim file and check if those files changed?
21:18:26PMunchDepends, are you able to get the file paths from nimsuggest?
21:18:32PMunchIn that case it should be really simple
21:18:52shashlickI haven't integrated nimsuggest yet
21:19:08shashlickthat's a good idea
21:24:25FromGitter<alehander42> the airport we landed on didn't even have transport to the city
21:24:54FromGitter<alehander42> brings back the adventore to aviation
21:24:58FromGitter<alehander42> adventure*
21:36:09shashlickis it possible to import a module and export one of it's symbols:
21:36:41*sleepyqtx quit (Quit: Leaving)
21:40:09PMunchalehander42, when you landed in Bruxelles?
21:40:37shashlickwhy do I bother asking: https://nim-lang.org/docs/manual.html#modules-export-statement
21:42:01PMunchHaha, sorry yeah that's possible :P
21:46:10FromGitter<honewatson> @shashlick nvim-nim is my preferred plugin for nim and ale is a good companion plugin
21:46:45PMunchShit..
21:47:16PMunchI was almost done writing my FOSDEM FAQ to summarise some of the most common questions we got
21:47:52PMunchBut 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:29PMunchNow I'm left with one question and one answer:
21:48:38PMunchQ: So what is Nim? A: Nim is a programming language
21:51:21dom96GitHub wiki?
21:51:54shashlick@honewatson: what's ale?
21:52:17PMunchYeah I know, just wanted to type up the most common questions in a bit less intimidating format
21:52:31PMunchFor people to just spend 5 minutes and get a good grasp of what it was
21:53:05FromGitter<honewatson> its an asynchronous linter which has support for Nim. Much better than syntastic which is resource hungry.
21:53:07PMunchBased 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:36PMunchNow I kinda wished I had a keylogger on my own machine :P
21:55:19PMunchUgh, I'm heading to bed now..
21:56:02*PMunch quit (Quit: leaving)
21:56:29FromGitter<mratsim> Somehow we met 2 or 3 groups of Ada people. They were very interested in Nim.
21:58:15dom96PMunch: 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:11skrylarmratsim: nim is semantically close to ada
22:01:45dom96Next year if there is an Ada devroom it would be a good idea to submit a Nim talk there
22:01:47skrylaralthough ada has a stricter focus on safety, it has also a stronger type system which nim can have
22:02:39skrylarthough 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:54FromGitter<mratsim> We made sure to explain how to tranlate ADA idioms to Nim (range-based type, distinct types …)
22:11:44FromGitter<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:51skrylarThere was a time i would have been happy writing Ada or Dylan
22:13:33skrylarWould 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:09FromGitter<mratsim> Red and crypto? wasn’t it a GUI focused language
22:14:45skrylarnenad decided he wanted to be an ethereum language so they had a big ICO and are doing that now
22:15:44FromGitter<honewatson> @mratsim Red wants to raise money to support itself via a crypto coin release
22:19:25FromGitter<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:11FromGitter<alehander42> I also watched a talk about a cool ada-based tool, a lot of ada people there indeed
22:21:58FromGitter<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:02shashlick@honewatson: installed ale but I don't see anything happening when I make mistakes
22:36:02*mal`` joined #nim
22:36:38dom96skrylar: has the Red ICO started yet?
22:39:35FromGitter<honewatson> (https://files.gitter.im/nim-lang/Nim/TK7t/image.png)
22:39:41shashlickok it started working somehow
22:39:47FromGitter<honewatson> you should see something like this @shashlick
22:39:59FromGitter<honewatson> maybe you need to set up some auto save function
22:40:15FromGitter<honewatson> also I have it working with airline so it displays the error in the status line
22:41:38shashlickdon't have airline yet, thinking of installing it
22:53:05FromGitter<zetashift> @dom96 apparently they succeeded: http://www.red-lang.org/2018/01/red-token-sale-success.html
23:06:43shashlickhonewatson: installed airline but it has no color, i'm in windows terminal though
23:14:00*xkapastel joined #nim
23:14:50FromGitter<honewatson> ok works for me on Mac and Ubuntu
23:14:55FromGitter<honewatson> Not sure about windows
23:15:22FromGitter<honewatson> you can specify settings as per the Ale documentation
23:16:52shashlicki 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:35FromGitter<honewatson> @shashlick I'm using the terminal
23:59:59FromGitter<honewatson> I wasn't a fan of gvim