<< 19-08-2018 >>

00:13:14*cspar joined #nim
00:17:59*Omnious joined #nim
00:21:31*Omnious quit (Remote host closed the connection)
00:22:38FromGitter<kayabaNerve> Idea: Ambiguous calls should be allowed if two return types are distinct with no direct conversion. ⏎ ⏎ proc parse takes string, returns A ⏎ proc parse takes string, returns B ⏎ ... [https://gitter.im/nim-lang/Nim?at=5b78b84de40fdf5fb15a5b75]
00:22:53FromGitter<kayabaNerve> Am I insane here/missing something or should I create a GitHub issue?
00:23:13FromGitter<kayabaNerve> Not saying it's an issue it doesn't exist. Saying an RFC.
00:34:56*Whooa21 joined #nim
00:37:45FromGitter<dom96> Return type overloading isn't supported
00:37:52FromGitter<dom96> And won't be
00:39:57*Whooa21 quit (Ping timeout: 240 seconds)
00:41:10FromGitter<kayabaNerve> Mind if I ask why/the best solution if I want that functionality?
00:41:22FromGitter<kayabaNerve> I tried doing a generic but got a compiler SIGSEGV
00:41:35FromGitter<kayabaNerve> And for some reason, I really dislike Serialize.ParseSend.parse
00:41:42FromGitter<kayabaNerve> Over .parse
00:42:04FromGitter<kayabaNerve> Just use unique function names?
00:43:20*smt joined #nim
00:57:44*noonien quit (Quit: Connection closed for inactivity)
01:04:19*Code_Red27 joined #nim
01:05:57*Code_Red27 quit (Remote host closed the connection)
01:07:57*tribly quit (Quit: WeeChat 2.2)
01:08:56*tribly joined #nim
01:09:03*PrimHelios quit (Quit: Leaving)
01:24:34*deadman5 quit (Quit: Leaving)
01:58:37*arooni25 joined #nim
02:01:57*arooni25 quit (Killed (Sigyn (Spam is off topic on freenode.)))
02:01:58*Krenair5 joined #nim
02:10:45FromGitter<kaushalmodi> I'm on Mastodon at @mastodon.technology@kaushalmodi
02:11:06*Krenair5 quit (Ping timeout: 272 seconds)
02:14:30*DataComputist joined #nim
02:23:27*DataComputist quit (Ping timeout: 240 seconds)
02:24:49*Hobbyboy3 joined #nim
02:28:26*Hobbyboy3 quit (Remote host closed the connection)
02:47:33*c24 joined #nim
02:53:27*c24 quit (Ping timeout: 240 seconds)
03:17:53cow_2001kaushalmodi flip the two names. it's @[email protected]
03:18:50cow_2001@username@domain
03:19:15cow_2001like email, but with an extra @ at the beginning
03:21:10FromGitter<kaushalmodi> cow_2001: yes :) I realized my mistake as soon as I typed it ..
03:21:27FromGitter<kaushalmodi> But wasn't sure if anyone would care
03:29:53cow_2001i hate pointless pedantry and i ended up a pointless pedant ~_~
03:29:54*leorize joined #nim
03:30:32*Altarrel joined #nim
03:36:47FromGitter<Quelklef> @kayabaNerve return type overloading use-case?
03:42:35*Altarrel quit (Quit: Page closed)
03:47:07FromGitter<kayabaNerve> @Quelklef Allowing me to do this: ⏎ var a: A = parse(str) ⏎ var b: B = parse(str)
03:47:23FromGitter<Quelklef> What are `A` and `B` though
03:47:28FromGitter<Quelklef> What do they repr
03:48:58FromGitter<kayabaNerve> Types
03:49:11FromGitter<kayabaNerve> That's Nim code lol.
03:49:20FromGitter<Quelklef> I know but what
03:49:22FromGitter<Quelklef> what are they in context
03:51:16FromGitter<kayabaNerve> One's a Block. One's a Send object. One's a Receive object. One's a Data object..
03:51:46leorizeI personally think this is better `var a = parse(str, A); var b = parse(str, B)`
03:51:59FromGitter<kayabaNerve> Custom data types that I serialized and need parsed.
03:52:13*SkyPatrol joined #nim
03:52:13FromGitter<kayabaNerve> leorize: Right now it's parseBlock() parseSend() parseReceive
03:52:27FromGitter<kayabaNerve> But I wish I could've kept it as parse
03:52:40leorizeMake a parse(string, type) template
03:53:03*SkyPatrol quit (Killed (Sigyn (Spam is off topic on freenode.)))
03:53:05FromGitter<Quelklef> yeah I think `parseX` is the idiomatic way
03:53:09FromGitter<Quelklef> unfortunately
03:53:55FromGitter<kayabaNerve> leorize: I tried a generic + case but it wouldn't assume the generic so it was parse[Receive]. That caused a sigsegv in the compiler
03:54:13FromGitter<kayabaNerve> So then I was back to parseBlock. I think that's better than parse(x, Block) tbh
03:54:19FromGitter<kayabaNerve> Two characters less/more obvious
03:54:30*vosper joined #nim
03:56:33*aOssed13 joined #nim
03:57:54*dddddd quit (Remote host closed the connection)
04:05:35*cspar quit (Ping timeout: 240 seconds)
04:06:26*aOssed13 quit (Ping timeout: 276 seconds)
04:12:09*cspar joined #nim
04:52:53*vosper quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
05:01:37*vosper joined #nim
05:10:42*Erynnn7 joined #nim
05:13:33*Erynnn7 quit (Remote host closed the connection)
05:19:54*NimBot joined #nim
05:38:17*vosper quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
05:46:05*vosper joined #nim
05:53:24*vosper quit (Ping timeout: 272 seconds)
05:55:04*neptune joined #nim
05:57:02*neptune quit (Read error: Connection reset by peer)
06:02:49*nsf joined #nim
06:24:12*bairdmich joined #nim
06:25:45*bairdmich quit (Remote host closed the connection)
06:55:27*captainkraft quit (Ping timeout: 240 seconds)
06:57:48*Guest79336 joined #nim
07:01:38*Guest79336 quit (Remote host closed the connection)
07:06:46*Blendify_i5 joined #nim
07:07:18*Cthalupa joined #nim
07:07:36*Blendify_i5 quit (Killed (Sigyn (Spam is off topic on freenode.)))
07:08:51*hammer06529 joined #nim
07:12:48*alehander42 joined #nim
07:12:55*hammer06529 quit (Remote host closed the connection)
07:14:28*stefanos82 joined #nim
07:39:49*captainkraft joined #nim
08:02:11*Vladar joined #nim
08:07:17*gmpreussner joined #nim
08:25:32*MissionCritical joined #nim
08:29:05*pokk16 joined #nim
08:29:38*MissionCritical quit (Remote host closed the connection)
08:29:57*pokk16 quit (Killed (Sigyn (Spam is off topic on freenode.)))
08:35:51*echotangoecho joined #nim
08:44:00*yar2 joined #nim
08:49:11*yar2 quit (Ping timeout: 276 seconds)
09:02:57*Croepha23 joined #nim
09:05:40*Croepha23 quit (Remote host closed the connection)
09:17:05*echotangoecho quit (Remote host closed the connection)
09:38:27*pwntus quit (Ping timeout: 240 seconds)
09:41:01*pwntus joined #nim
09:42:52*nsf quit (Quit: WeeChat 2.2)
09:43:53*BitPuffin joined #nim
09:44:30FromGitter<alehander42> you can write a macro that does `b <- parse x ` and internally calls `b = parse(x, b.type)`
09:44:35FromGitter<alehander42> that would be horrible
09:44:37FromGitter<alehander42> but possible :D
09:51:08*pwntus quit (Ping timeout: 244 seconds)
09:51:31*pwntus joined #nim
09:54:48FromGitter<ZarsBranchkin> I guess you'd use generic, not pass it as argument, but either way ugly template, haha
09:57:04*BitPuffin quit (Read error: Connection reset by peer)
09:57:33*BitPuffin joined #nim
10:03:07*enthus1ast joined #nim
10:05:11*xeroks20 joined #nim
10:06:55stefanos82Araq: isNil shouldn't be labeled as deprecated here? https://nim-lang.org/docs/typeinfo.html#isNil,Any
10:08:41*xeroks20 quit (Remote host closed the connection)
10:28:24Araqstefanos82: no, only strings and seqs are affected
10:28:34stefanos82ah OK
10:28:59stefanos82maybe a note somewhere to point this out?
10:30:22Araqhmm yeah, I think I can use .deprecated: "message here" without bootstrappping because 0.18 already has it
10:31:38stefanos82cool
10:31:41stefanos82that would do
10:36:27stefanos82question: when we install a module that has dependencies, why those dependencies don't get recursively uninstalled when we remove the module with nimble uninstall?
10:39:52leorizeI think nimble don't have the concept of a package being installed as a dependency
10:43:24stefanos82well, it does install dependencies based on a module's needs
10:43:39leorizeI mean it doesn't keep track of that info
10:44:28stefanos82I see another problem right now. I have two different versions of a module; why and how does a system knows which one to use?
10:46:44leorizeyou can test it yourself
10:47:38leorizeI think it will use the latest one, unless you forced the older with .nimble file
10:48:16stefanos82I guess it follows some kind of queue, because I run nimble uninstall httpbeast and removed the old version
10:50:29*alehander42 quit (Remote host closed the connection)
10:51:08*dddddd joined #nim
10:51:12*developers joined #nim
10:53:09*developers quit (K-Lined)
10:56:53*EXCEPTS joined #nim
10:57:01*EXCEPTS quit (Killed (Sigyn (Spam is off topic on freenode.)))
11:02:41FromGitter<gogolxdong> regression report: ⏎ variable named `name` will be parsed as `proc (zone: Timezone): string{.noSideEffect, gcsafe, locks: 0.}`
11:04:57*cspar quit (Ping timeout: 240 seconds)
11:11:48FromGitter<gogolxdong> in template
11:12:19FromGitter<gogolxdong> ```code paste, see link``` [https://gitter.im/nim-lang/Nim?at=5b795093e7971d5f10a38961]
11:20:49FromGitter<data-man> @gogolxdong use ```import times except name``` :)
11:27:22*ofelas joined #nim
11:28:01dom96stefanos82: yeah, Nimble doesn't track this right now
11:28:30stefanos82dom96: do you want me to open a ticket for reminding?
11:28:49dom96Pretty sure there already is an issue for this
11:28:55stefanos82cool
11:30:18*BrianBlaze21 joined #nim
11:30:56*BrianBlaze21 quit (Killed (Sigyn (Spam is off topic on freenode.)))
11:38:05stefanos82could we make the documentation's left sidebar toggle (hide / show)? It would be more readable in my humble opinion
11:43:25*wildlander quit (Quit: Konversation terminated!)
11:46:31FromGitter<gogolxdong> @data-man it's a workaround , is it supposed to be like this?
11:47:28FromGitter<gogolxdong> what if they need use the proc and variable named `name`?
11:48:23stefanos82Araq: is ^/ something like a syntactic sugar for parentheses that takes place behind the scenes? It's an excellent mechanism you designed here, I have to admit.
11:49:04FromGitter<data-man> @gogolxdong I'd prefer rename it to zoneName
11:49:24FromGitter<gogolxdong> problem parser parses variable as proc with a parameter.
11:51:48FromGitter<gogolxdong> which might cause more problems, since I have no idea of parser details.
11:53:34FromGitter<gogolxdong> `proc name*(zone: Timezone): string` takes an object as parameter.
12:02:49*ksft27 joined #nim
12:12:38*ksft27 quit (Ping timeout: 276 seconds)
12:15:56*smt quit (Ping timeout: 272 seconds)
12:32:54FromGitter<Clyybber> Araq: Do you have plans on when to implement #3250 ? Is it very hard or can somebody else attempt at it?
12:47:39*PrimHelios joined #nim
12:49:04*sulvone4 joined #nim
12:51:42*sulvone4 quit (Remote host closed the connection)
12:55:27stefanos82since system module is implicitly imported, under what circumstances will you use its module name with a module procedure or whatsoever? E.g.: system.cmp() vs cmp()
12:55:44*thor77 quit (Quit: ZNC 1.7.1 - https://znc.in)
12:58:15*thor77 joined #nim
13:00:47*nsf joined #nim
13:01:23FromGitter<data-man> @stefanos82 I'm working on splitting the system module (firstly as RFC). Maybe it will be deprecated. :-D
13:01:50stefanos82splitting in which parts exactly?
13:01:59*xCore joined #nim
13:02:32FromGitter<data-man> system.types ⏎ system.iterators ⏎ system.builtins ⏎ etc. [https://gitter.im/nim-lang/Nim?at=5b796a68157b9d34efaaf3fd]
13:03:17FromGitter<data-man> Or ⏎ std.types ⏎ etc.
13:03:30dom96data-man: no chance that will get merged
13:03:50dom96Start by splitting out ffi functions into an `ffi` module
13:04:00dom96and the GC_* functions into a `gc` module
13:06:43*xCore quit (Killed (Sigyn (Spam is off topic on freenode.)))
13:08:33stefanos82dom96: are there any duplicates in standard modules that could be merged into one central module?
13:10:50FromGitter<data-man> @dom96 ⏎ ⏎ > no chance that will get merged ⏎ ⏎ https://irclogs.nim-lang.org/04-06-2018.html#13:05:36 [https://gitter.im/nim-lang/Nim?at=5b796c59d7901b2c605ccf29]
13:10:56*krux02 joined #nim
13:16:25*SenasOzys joined #nim
13:17:00*data-man joined #nim
13:17:03krux02zacharycarter[m], if you are online, I wonder how your roguelike is going.
13:17:18*pierte joined #nim
13:17:32*echotangoecho joined #nim
13:17:45*SenasOzys quit (Remote host closed the connection)
13:18:07dom96data-man: Separating system.nim by type, iterator, proc doesn't really make sense IMO
13:18:10*SenasOzys joined #nim
13:18:57*SenasOzys quit (Remote host closed the connection)
13:19:17*SenasOzys joined #nim
13:19:24*pierte quit (Remote host closed the connection)
13:20:30FromGitter<data-man> Easy maintance, faster compilation, ...
13:30:21*data-man quit (Quit: Konversation terminated!)
13:32:57*couven92 joined #nim
13:40:14*HackMaster1 joined #nim
13:45:08*HackMaster1 quit (Ping timeout: 260 seconds)
13:48:27*pwntus quit (Ping timeout: 240 seconds)
13:51:34*pwntus joined #nim
13:57:48*egos13 joined #nim
14:00:49*egos13 quit (Killed (Sigyn (Spam is off topic on freenode.)))
14:04:16*purrdeta3 joined #nim
14:05:02*purrdeta3 quit (Killed (Sigyn (Spam is off topic on freenode.)))
14:28:08*unknown24 joined #nim
14:28:56*pwntus quit (Ping timeout: 272 seconds)
14:32:43*echotangoecho quit (Quit: Lost terminal)
14:33:37*Waggie12 joined #nim
14:33:48*unknown24 quit (Ping timeout: 265 seconds)
14:34:15*Waggie12 quit (Killed (Sigyn (Spam is off topic on freenode.)))
14:43:00*pwntus joined #nim
14:50:04*arecaceae quit (Remote host closed the connection)
14:50:22*arecaceae joined #nim
14:57:59*rayman237 joined #nim
14:59:33*nsf quit (Quit: WeeChat 2.2)
15:06:32stefanos82can someone explain to me how the last example from https://nim-lang.org/docs/tut1.html#statements-and-indentation works?
15:06:39stefanos82how can I compile this?
15:11:19stefanos82what does :test: "nim c $1" supposed to do?
15:12:01leorizeI think it's a documentation bug
15:20:19stefanos82I think so too, because when I removed it, it compiled as expected
15:25:11leorizemake a PR for it :)
15:28:11stefanos82I'm trying to find it; it's somewhere inside the .rst doc files
15:28:19*noonehere4u25 joined #nim
15:28:32*noonehere4u25 quit (Killed (Sigyn (Spam is off topic on freenode.)))
15:40:01*edcragg quit (Quit: ZNC - http://znc.in)
15:40:24*edcragg joined #nim
15:44:31leorizestefanos82: it's in doc/tut1.rst
15:45:20stefanos82yeah, I found it
15:45:50stefanos82leorize: my question now is; I have forked Nim repo, but if I PR-ed it, it would mess things up
15:46:03leorizewhat do you mean?
15:46:29stefanos82I cloned the repo and pull updates daily if possible
15:46:43stefanos82but with PR, things get messier with already cloned repos
15:46:48leorizeoh, create a branch
15:46:55stefanos82I suck with Git
15:47:04leorizefirst make sure you're on devel branch
15:47:15leorizegit branch
15:47:23leorizeit will show you what branch you're in
15:48:20leorizeif you're not on devel, run git checkout devel
15:49:37stefanos82devel is my branch
15:50:05leorizenow run git checkout -b tut1-fix
15:50:20leorizeit will create a new branch called tut1-fix based on devel
15:51:46leorizeafter that make your changes and commit
15:51:48stefanos82it won't work
15:51:52stefanos82I have had again this issue
15:52:13stefanos82because I need to first to do the whole procedure from github
15:52:51leorizewhat issue did you have?
15:53:58stefanos82the default clone option from github is https
15:54:06stefanos82whereas to allow to push is git
15:54:41leorizeit should be fine
15:54:45stefanos82I hope
15:54:47leorizeas long as you don't enable 2fa
15:55:03leorizethen you can login with your username and password when you push
15:57:43stefanos82it won't let me
15:57:58leorizewhat error did you get?
15:58:12stefanos82unable to access https://...
15:58:19stefanos82error 403
15:58:37leorize403 is forbidden IIRC
15:58:51leorizedo you have 2fa enabled in your github account?
15:59:03leorizetwo-factor authentication
15:59:04stefanos82yes
15:59:18leorizein that case then you either need:
15:59:20stefanos82as I have told you before, the problem lies with protocol use
15:59:24leorizean app password
15:59:28leorizeor ssh key
15:59:38leorizeno it's not
15:59:54leorizeI've 2fa enabled and I can still push via https when I want
16:02:38leorizeI recommend having ssh key however
16:02:40leorizehttps://help.github.com/articles/connecting-to-github-with-ssh/
16:03:16stefanos82leorize: I have told you already...
16:03:58*xet7 joined #nim
16:07:39leorizethen you should probably setup ssh access for github...
16:08:56*kambiz9 joined #nim
16:10:20*april joined #nim
16:11:08stefanos82lol I have already
16:11:16stefanos82you just did not understand the issue
16:11:24stefanos82let me try to make it clearer with you
16:11:41stefanos82in order to push changes on a repo, you need to have it forked first
16:11:50stefanos82then you have to have it cloned locally
16:12:15*april quit (Remote host closed the connection)
16:13:38leorizeso if I understand this correctly
16:13:47leorizeyou've cloned the upstream repo
16:13:54leorizeand your branch is done there
16:13:58leorizeis that correct?
16:14:27stefanos82Originally, I have cloned the actual repo from https://github.com/nim-lang/Nim
16:14:30*kambiz9 quit (Ping timeout: 244 seconds)
16:14:58stefanos82doing so does not let you have write permissions
16:15:06stefanos82in order to do so, you need to have a local fork first
16:15:10leorizeoh I understand now
16:15:15leorizeit's simple then
16:15:16stefanos82and then sync it with upstream master
16:15:36leorizegrab your fork clone URL (the ssh one)
16:15:46stefanos82I already did
16:15:49leorizegit remote set-url --push origin <url>
16:16:45leorizeit will override the url used for git push of that repo, then you should be able to push directly into your fork
16:18:53dom96better to just add a new name: git remote add fork <url>
16:18:59dom96then push via `git push fork`
16:19:12dom96you can then easily pull from upstream using `origin`
16:22:00*krux02 quit (Remote host closed the connection)
16:22:27leorizeI personally prefer the set-url --push method
16:22:36leorizegit pull will pull from upstream
16:22:44leorizethen git push will push to your repo
16:22:48leorizepretty neat :)
16:22:56*pwntus quit (Ping timeout: 272 seconds)
16:24:57*dom96 quit (*.net *.split)
16:24:57*d10n quit (*.net *.split)
16:24:57*awal quit (*.net *.split)
16:25:11*dom96 joined #nim
16:25:31*awal joined #nim
16:26:01stefanos82I hate git so freaking much
16:26:03*d10n joined #nim
16:26:12stefanos82I can't understand how hard I try
16:26:14*woddf214 joined #nim
16:26:22*woddf214 quit (Killed (Sigyn (Spam is off topic on freenode.)))
16:26:44*pwntus joined #nim
16:27:33*dom96 quit (Changing host)
16:27:33*dom96 joined #nim
16:27:34*awal is now known as Guest51883
16:27:51*d10n quit (Changing host)
16:27:51*d10n joined #nim
16:30:27stefanos82it's a whole scientific procedure to commit a fork :S
16:57:15*rayman22201 joined #nim
16:59:18shashlickCreate fork, git clone your fork, git branch, make changes, git commit, git push, then create PR
16:59:32shashlickTakes some time to get comfortable
16:59:46*rayman237 quit (Ping timeout: 256 seconds)
16:59:55*Yoda28 joined #nim
17:02:54*Yoda28 quit (K-Lined)
17:06:17*poutine21 joined #nim
17:08:05*SenasOzys quit (Ping timeout: 240 seconds)
17:10:11*poutine21 quit (Remote host closed the connection)
17:21:44*SenasOzys joined #nim
17:24:57*Aprexer joined #nim
17:25:40*Aprexer quit (Killed (Sigyn (Spam is off topic on freenode.)))
17:30:36FromDiscord<treeform> Finally using my openGL plus my typography librarry to draw text in openGL
17:30:38FromDiscord<treeform>
17:30:38FromDiscord<treeform> https://cdn.discordapp.com/attachments/371759389889003532/480790707821608971/unknown.png
17:31:58FromDiscord<treeform>
17:31:58FromDiscord<treeform> https://cdn.discordapp.com/attachments/371759389889003532/480791044812963844/unknown.png
17:35:16*riidom joined #nim
17:36:41FromGitter<data-man> @treeform: Great! Where is I can grab your OpenGL? ;)
17:38:01FromDiscord<treeform> My openGL is very convoluted, you probably don't want it.
17:38:19FromDiscord<treeform> But you can integrate my typography library with your openGL.
17:38:27FromDiscord<treeform> Or any other graphics API 2d or 3d.
17:40:04FromGitter<data-man> So how users can repeat your results without your lib?
17:40:07*Dread28 joined #nim
17:40:45FromDiscord<treeform> Just use my typography library?
17:40:53FromDiscord<treeform> Game engines don't make good libraries.
17:41:04FromDiscord<treeform> I want not want to use my openGL thingy if I did not make it.
17:42:00FromDiscord<treeform> My typography library has an example 2d renderer that you can use as bases for your engine.
17:42:24FromDiscord<treeform> Another cool thing I have done is I used Figma to lay out the UI stuff:
17:42:55FromDiscord<treeform>
17:42:56FromDiscord<treeform> https://cdn.discordapp.com/attachments/371759389889003532/480793801233793024/unknown.png
17:42:57*Dread28 quit (Killed (Sigyn (Spam is off topic on freenode.)))
17:43:34FromDiscord<treeform> So I can use Figma UI tool, layout stuff -> convert it to openGL code and use it.
17:44:09*noonien joined #nim
17:44:47FromGitter<data-man> BTW your vmath depends on fixmath. Please add this dependency to vmath.nimble.
17:45:03FromDiscord<treeform> you mean mine?
17:45:39FromGitter<data-man> Yes
17:45:57FromDiscord<treeform> It should only depend on fixmath, if you include xmath
17:46:03FromDiscord<treeform> does it through an error for you?
17:46:15FromDiscord<treeform> I should probably have xmath as a separate package
17:46:30FromGitter<data-man> Also depends on print
17:47:01FromDiscord<treeform> hmm that I should add
17:51:00FromDiscord<treeform> data-man, I have removed print and fixmath dependecy
17:51:56FromGitter<data-man> I saw. :) Thanks!
17:52:30*Guest1727 joined #nim
17:52:48FromDiscord<treeform> data-man, feel free to send me feedback or on new feature you might need.
17:53:40FromGitter<data-man> Sure!
17:53:48*Guest1727 quit (Killed (Sigyn (Spam is off topic on freenode.)))
17:56:34stefanos82shashlick: I did not create any branch; I just edited the file with typo and submitted it for pull request
18:01:52*kobi7 joined #nim
18:04:49FromGitter<xmonader> aren't var parameters in functions supposed to be passed by reference in nim ?
18:06:16Araqthey are
18:07:43*nsf joined #nim
18:08:08FromGitter<xmonader> @Araq I wrote that in python https://pastebin.com/zPrvBX3q ⏎ and doing port line by line https://pastebin.com/U2LmbT1G ⏎ ⏎ the deps parameter i used var, but it never gets updated [https://gitter.im/nim-lang/Nim?at=5b79b208e7971d5f10a5a30b]
18:08:15FromGitter<xmonader> anything i'm overlooking?
18:16:32FromDiscord<treeform> Have you tried `this: var Bake` ?
18:16:45*Code_Red11 joined #nim
18:17:09FromDiscord<treeform> if you are going to modify it you should pass it in as a `var`
18:17:57FromGitter<xmonader> @treefrom isn't that the point of type Bake = ref object ?
18:18:08*Code_Red11 quit (Killed (Sigyn (Spam is off topic on freenode.)))
18:18:34FromDiscord<treeform> I don't think so. ref just means it will use a pointer and not copy it about
18:19:01FromDiscord<treeform> var is about mutability
18:20:33FromDiscord<treeform> ref is about storage type of the object (stack vs heap), var and not var is about if you are going to modify it at some point.
18:21:01Araqno, 'ref' is also mutable
18:21:19Araqwell the thing the ref points to is mutable the 'ref' itself is not
18:21:42FromDiscord<treeform> why does his thing does not work then?
18:23:26Araqwho knows it's not a real port from Python, in Python there is a taskqueue
18:24:40FromDiscord<treeform> hmm you right it does work
18:24:56FromDiscord<treeform> I been putting var in front of refs... should I stop?
18:24:59FromDiscord<treeform> Does not seem to hurt it
18:25:58FromDiscord<treeform> xmonader, this works for me: https://gist.github.com/treeform/beb4fff30a14911a08b17f7b854b2355
18:26:03FromGitter<xmonader> @Araq it's basically a list that i want to append values to with recursive calls
18:26:47FromGitter<xmonader> so I end up with a populated list from each call, so var seq[string] makes sense to me. I don't know why it doesn't work
18:27:52FromGitter<xmonader> @treeform the thing is "i'm not modifying the object Bake" at all in `runTask` proc, i'm just creating a list and passing it along and expecting it to get populated while passing it by reference
18:34:40FromDiscord<treeform> I don't see where your bug is, your code seems to work on my computer
18:36:59stefanos82mine as well
18:37:15stefanos82of course, there were some unnecessary tab keys and removed them
18:37:21stefanos82Vim for the win lol
18:38:39FromGitter<xmonader> ```code paste, see link``` ⏎ ⏎ this works, i was suspecting their might be a problem with passing refs to sequences [https://gitter.im/nim-lang/Nim?at=5b79b92fdd0b74601e2da834]
18:38:59FromGitter<xmonader> @stefanos @treeform can you guys please send the output of the application?
18:40:19FromDiscord<treeform> https://gist.github.com/treeform/c3bab949ed8146ea3f0e22a6423b0004
18:40:29FromDiscord<treeform> sorry going now
18:42:41*Cthalupa quit (Quit: ZNC 1.6.6+deb1ubuntu0.1 - http://znc.in)
18:43:28FromGitter<xmonader> @treeform thanks, but it's still not working, see ` DEPS NOW@[]` it's always empty never adds elements
18:44:39FromGitter<xmonader> pffft, wrong mapping of (for-else) loop from python to nim, i'm sorry guys
18:47:47*milky16 joined #nim
18:48:09*milky16 quit (Killed (Sigyn (Spam is off topic on freenode.)))
18:48:45*Cthalupa joined #nim
18:49:08*pwntus quit (Ping timeout: 256 seconds)
18:50:24*SporkWitch17 joined #nim
18:52:18*pwntus joined #nim
18:52:19*SporkWitch17 quit (Remote host closed the connection)
18:53:35*stefanos82 quit (Quit: Quitting for now...)
18:57:19*smt joined #nim
18:58:02*smt quit (Remote host closed the connection)
18:58:26*Guest51883 is now known as awal
18:58:49*smt joined #nim
18:59:25*smt quit (Max SendQ exceeded)
19:05:05*ofelas quit (Quit: shutdown -h now)
19:07:44*Selfsigned joined #nim
19:08:31*Selfsigned quit (Killed (Sigyn (Spam is off topic on freenode.)))
19:09:34*m4v1 joined #nim
19:11:32*m4v1 quit (Remote host closed the connection)
19:21:46*SenasOzys quit (Remote host closed the connection)
19:22:09*SenasOzys joined #nim
19:23:08*pwntus quit (Ping timeout: 256 seconds)
19:25:13*pwntus joined #nim
19:39:57*pwntus quit (Ping timeout: 240 seconds)
19:40:08*couven92 quit (Ping timeout: 244 seconds)
19:40:09*fredrik92 joined #nim
19:40:29*pwntus joined #nim
19:42:49*Aprexer joined #nim
19:43:24*Aprexer quit (Remote host closed the connection)
19:44:47*SenasOzys quit (Remote host closed the connection)
19:45:07*SenasOzys joined #nim
19:48:17*kobi7 quit (Ping timeout: 276 seconds)
20:06:30*gb00s joined #nim
20:28:52*vosper joined #nim
20:39:06*vosper quit (Quit: Textual IRC Client: www.textualapp.com)
20:50:06*Vladar quit (Remote host closed the connection)
20:51:16*nsf quit (Quit: WeeChat 2.2)
20:53:19*cspar joined #nim
21:10:28*lannister joined #nim
21:11:57*lannister quit (Remote host closed the connection)
21:12:55*RaptorJesus29 joined #nim
21:16:19*RaptorJesus29 quit (Remote host closed the connection)
21:36:15*gb00s quit (Remote host closed the connection)
21:37:51*gb00s joined #nim
22:00:50*SenasOzys quit (Read error: Connection reset by peer)
22:10:04*BitPuffin quit (Remote host closed the connection)
22:12:54*SenasOzys joined #nim
22:17:05shashlickstefanos82: reason I prefer branches is that your master branch doesn't get stuck until that change gets accepted
22:17:18shashlickyou can work on other stuff if the PR takes time
22:22:29*ski_ joined #nim
22:23:23*ski_ quit (Killed (Sigyn (Spam is off topic on freenode.)))
22:23:36*rayman267 joined #nim
22:24:01*shashlick quit (Remote host closed the connection)
22:24:37*shashlick joined #nim
22:25:50*shashlick quit (Remote host closed the connection)
22:26:14*rayman22201 quit (Ping timeout: 276 seconds)
22:26:21*shashlick joined #nim
22:26:26*shashlick quit (Remote host closed the connection)
22:27:36*shashlick joined #nim
22:29:45*SenasOzys quit (Remote host closed the connection)
22:44:41*shashlick quit (Remote host closed the connection)
22:45:08*shashlick joined #nim
22:54:39shashlickaraq: just posted nimui - libui wrapper online for perusal - appreciate any feedback on getting it working. it is still not compatible with your wrapper but will get there once basic functionality is working
22:54:42shashlickhttps://github.com/genotrance/nimui
23:03:50shashlickI think ropes is broken
23:07:21*syntonym[m] joined #nim
23:45:51*jesse23 joined #nim
23:54:47*jesse23 quit (Ping timeout: 268 seconds)
23:59:45*ftsf joined #nim