<< 27-06-2021 >>

00:39:17*Gustavo6046 quit (Remote host closed the connection)
00:39:32*Gustavo6046 joined #nim
00:42:01*fn quit (Remote host closed the connection)
00:42:16*fn joined #nim
00:42:19FromDiscord<Avahe> Test
00:42:38fn<Prestige99> Well didn't quite work, hmm
00:49:16*fn quit (Remote host closed the connection)
00:49:38*fn joined #nim
00:51:45FromDiscord<Avahe> Okay last test
00:52:06fn<Prestige99> \o/ colored nicks from discord on irc
00:56:20*fn quit (Remote host closed the connection)
00:56:34*fn joined #nim
01:04:16*bkay joined #nim
01:05:13*beshr quit (Ping timeout: 265 seconds)
01:12:07fn<<termer>99> good to see
01:12:26*Gustavo6046_ joined #nim
01:12:57*Gustavo6046 quit (Ping timeout: 265 seconds)
01:14:57*Gustavo6046_ is now known as Gustavo6046
01:18:43FromDiscord<@bracketmaster-5a708063d73408ce4> I'm trying to get colors in nim with limited success\:
01:18:50FromDiscord<@bracketmaster-5a708063d73408ce4> sent a code paste, see https://play.nim-lang.org/#ix=3res
01:18:58FromDiscord<@bracketmaster-5a708063d73408ce4> any pointers?
01:24:34FromDiscord<@bracketmaster-5a708063d73408ce4> nvm as this seems to work\: https://nim-lang.github.io/Nim/terminal.html
01:26:27fn<<Prestige>99> Bridge needs a little cleaning up I suppose but it works
01:27:46*fn quit (Remote host closed the connection)
01:28:01*fn joined #nim
01:28:01fn<<Prestige>99> yep
01:28:31*fn quit (Remote host closed the connection)
01:28:46*fn joined #nim
01:30:39*arkurious quit (Quit: Leaving)
02:10:04mstPrestige, it's IRC, "needa a little cleaning up but works" is why everything basically works, because we might be annoyed by the shoddy but we run it anyway
02:10:53fn<Prestige99> I mean I was working on formatting for my bridge but it's not exactly how I'd like it, yet
02:49:51*vicfred_ joined #nim
02:50:14FromDiscord<@bracketmaster-5a708063d73408ce4> @elegantbeef\:matrix.org - how did you do the debug flag in your code?
02:50:21FromDiscord<@bracketmaster-5a708063d73408ce4> in your example from yesterday
02:50:24FromDiscord<@bracketmaster-5a708063d73408ce4> I can't seem to remember
02:50:36FromDiscord<Elegantbeef> `when defined(someFlag)` -d\:someFlag\`
02:50:44FromDiscord<@bracketmaster-5a708063d73408ce4> thx
02:52:39*vicfred quit (Ping timeout: 268 seconds)
02:52:49*deshordash joined #nim
02:54:26FromDiscord<@bracketmaster-5a708063d73408ce4> I've got a string. Any clever/elegant ways to take that string and insert a space every 8 characters?
02:55:19FromDiscord<Elegantbeef> Abuse procedures
02:55:20FromDiscord<Elegantbeef> `s.insertSep(' ', digits = 8)`
02:56:04*deshordash quit (Client Quit)
02:59:52FromDiscord<Elegantbeef> Well if that doesnt work copy the logic 😛
02:59:56FromDiscord<@bracketmaster-5a708063d73408ce4> it worked
02:59:59FromDiscord<@bracketmaster-5a708063d73408ce4> thx again
03:01:25*deshordash joined #nim
03:29:28*deshordash quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
03:34:37*deshordash joined #nim
03:53:19*deshordash quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
04:06:02*supakeen quit (Quit: WeeChat 3.2)
04:06:39*supakeen joined #nim
04:11:57*vicfred_ quit (Quit: Leaving)
04:16:39*deshordash joined #nim
04:21:26*deshordash quit (Client Quit)
04:25:54*deshordash joined #nim
04:39:23*deshordash quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
05:36:45*deshordash joined #nim
06:16:24FromDiscord<garett> has it been considered to shorten `converter` to `conv` and `iterator` to `iter`?
06:17:31FromDiscord<garett> the truncation would align nicely with `proc`
06:18:03fn<Prestige99> I doubt they'd want to change it but you could probably just make your own keywords to use
06:18:23FromDiscord<garett> perhaps using longer keywords is intended to make `converter` and `iterator` more visually distinct from `proc`
06:18:56FromDiscord<garett> it just seems strange to truncate `procedure` to `proc` then be verbose elsewhere 🙂
06:19:24fn<Prestige99> Yeah I agree, proc and func I guess are typed a lot more though
06:19:33fn<Prestige99> I'd be fine with iter but maybe not conv
06:19:53FromDiscord<garett> interesting distinction
06:22:00FromDiscord<ElegantBeef> So... matrix isnt bridging?
06:22:26FromDiscord<ElegantBeef> I am a bridge now 😄 ↵well proc and func are the only 4 letter words so method, converter, iterator all would break all the code 😀↵Well you're mostly writing procs and funcs so arent really saving much for the others arguably↵oh and template and macros are not 4 letters
06:23:29fn<Prestige99> nim needs more "meth" :P
06:24:04FromDiscord<ElegantBeef> `temp` `meth` `conv` `macr` `iter` all fun things 😄
06:25:09*deshordash quit (Remote host closed the connection)
06:34:43FromDiscord<hamidb80> hey
06:34:53fn<Prestige99> hello
06:38:54FromDiscord<hamidb80> https://play.nim-lang.org/#ix=3rfd
06:39:41FromDiscord<hamidb80> sent a code paste, see https://paste.rs/aIF
06:39:58FromDiscord<richard stallmen(crazy GNU guy)> what does it do btw
06:40:45FromDiscord<hamidb80> In reply to @richard stallmen(crazy GNU guy) "what does it do": nothing, it just prints tree representation of `a and b`
06:41:01FromDiscord<richard stallmen(crazy GNU guy)> but is a and b defined?
06:41:34FromDiscord<richard stallmen(crazy GNU guy)> (edit) "but is a and b defined? ... " added "(noob)"
06:41:37FromDiscord<hamidb80> it doesn't matter
06:41:41FromDiscord<richard stallmen(crazy GNU guy)> (edit) "(noob)" => "(i am noob)"
06:42:23FromDiscord<richard stallmen(crazy GNU guy)> ok
06:44:52FromDiscord<hamidb80> seems like it does work in nim 19
06:45:00FromDiscord<hamidb80> i mean nim 0.19
06:46:53fn<Prestige99> should that work? 🤔
06:48:30FromDiscord<hamidb80> it does work until nim 1.2.4
06:48:41FromDiscord<hamidb80> nim 1.2.12
06:49:12FromDiscord<hamidb80> the breaking change occurs after version 1.4.0
06:49:22FromDiscord<hamidb80> (edit) removed "nim 1.2.4"
06:58:25FromDiscord<hamidb80> i love nim btw
07:02:39FromDiscord<richard stallmen(crazy GNU guy)> evrybody in dis sarvar dos
07:02:40FromDiscord<richard stallmen(crazy GNU guy)> lol
07:34:21*fn quit (Remote host closed the connection)
07:34:34*fn joined #nim
07:46:15*max22- joined #nim
08:30:15fn<Prestige99> Yep
08:32:26FromDiscord<konsumlamm> 🤔
08:40:38*fn quit (Remote host closed the connection)
08:40:52*fn joined #nim
08:45:50FromDiscord<Avahe> hm?
09:00:09FromDiscord<Rika> In reply to @richard stallmen(crazy GNU guy) "evrybody in dis sarvar": Not necessarily
09:00:15FromDiscord<Rika> Some just like it
09:02:08*ormiret quit (*.net *.split)
09:02:13*ormiret_ joined #nim
09:06:53FromDiscord<dom96> Would be cool to test Nim with this https://github.com/AbsInt/CompCert
09:06:55fn<R2D299> itHub: 7"The CompCert formally-verified C compiler"
09:08:04FromDiscord<Rika> You saw that HN post too huh lol
09:08:16FromDiscord<Rika> It’s RISC only though
09:08:28FromDiscord<Rika> Ah misread
09:08:40FromDiscord<Rika> Somehow missed it saying x86 :pepega:
09:21:10fn<bung99> re"(?ms:-{3,}(.*)-{3,})" , how to do back reference ? the second - count should be same as first one
09:21:34fn<bung99> am using nim-regex
09:39:13fn<bung99> oh , the doucment says its lack backreference
09:44:47fn<ForumUpdaterBot99> New thread by Stu002: Associating a type with a concept?, see https://forum.nim-lang.org/t/8161
10:05:51*SebastianM joined #nim
10:09:55FromDiscord<abisxir> Guys is it possible to have multi-line closures in nim?
10:14:25FromDiscord<Rika> Yes, you can mark regular procedures as closures
10:17:50FromDiscord<abisxir> @Rika have you an example?
10:18:04FromDiscord<Rika> Add the closure pragma to a proc
10:24:02FromDiscord<abisxir> @Rika Thanks 🙂
10:27:05*leehbi joined #nim
10:31:05*leehbi quit (Client Quit)
10:32:02*leehbi joined #nim
10:35:12*leehbi quit (Remote host closed the connection)
10:35:14*SebastianM quit (Quit: Bye)
10:54:55fn<ForumUpdaterBot99> New thread by Jasonfi: Formatting a float to currency, see https://forum.nim-lang.org/t/8162
11:35:09*xet7 quit (Remote host closed the connection)
11:36:39*xet7 joined #nim
12:06:02*supakeen quit (Quit: WeeChat 3.2)
12:06:38*supakeen joined #nim
12:16:51*arkurious joined #nim
12:43:51FromDiscord<dom96> In reply to @Rika "You saw that HN": yeah 🙂
13:22:07FromDiscord<ajusa> Is there any way to have a variant type automatically call a correct proc? For example, could I make a proc that only works on JInts without accepting JsonNode and then checking the kind field explicitly?
13:24:57FromDiscord<vindaar> No, unfortunately there isn't. Aside from some template that automates the case statement + calling the correct proc it clashes between runtime (the kind) / compile time (the proc to select) information
13:26:56FromDiscord<ajusa> Got it... Seems like I might be better off using methods/dynamic dispatch then
13:29:05FromDiscord<vindaar> I personally don't mind it too much. In your own code you can usually abstract most of it away with a template. It only becomes complicated if you need to return different types for different kinds
13:30:24FromDiscord<ajusa> My specific use case is making a simple interpreter - I was considering storing each type of statement as a variant object (say kind: add, subtract, divide, multiply) and then having some sort of statement.process function that would pick the right proc defined based on the variant kind. Not sure if this is the "right" solution to this problem but it is the best I could come up with
13:31:17fn<ForumUpdaterBot99> New thread by Geohuz: "No handles or timers registered in dispatcher" in Chapter 3.17 example of Nim In Action, see https://forum.nim-lang.org/t/8163
13:32:54FromDiscord<vindaar> Sure, that works. As long as you have some sort of variant type for values it's even quite easy to implement. Makes me think of my first dataframe impl. in ggplotnim with a fully dynamic formula syntax here\:↵https://github.com/Vindaar/ggplotnim/blob/fixFormulaImpl/src/ggplotnim/dataframe/fallback/formula.nim
13:33:41FromDiscord<vindaar> I have an `enum` for different operations and build a tree for formulas which I could evaluate (procs at the bottom)
13:37:12FromDiscord<haxscramper> Usually, interpreters dispatch on `.kind` field value inside a `while` loop. It is the fastest implementation approach as well (at least from different ways to implement dispatching)↵(@ajusa)
13:41:39FromDiscord<ajusa> Got it, I'll try that out then. Thanks for the information!
13:48:42FromDiscord<haxscramper> vindaar\: I pushed `hpprint` v2 to `hmisc` (along with some additional features). It is not fully done as of now, but all functionality of `hpprint v1` is now available. You can import new version as `hmisc/other/hpprint`. Api is the same - `pprint` on any value will pretty-print it.
13:49:15FromDiscord<vindaar> Cool, thanks for the heads up!
13:49:33FromDiscord<haxscramper> sent a code paste, see https://paste.rs/GOq
13:51:48FromDiscord<vindaar> so many features 😁
13:52:16FromDiscord<haxscramper> well, I mostly use it as `pprint` a well
13:52:53FromDiscord<haxscramper> But sometimes is is necessary to configure things in a very detailed manner, but I"m not sure if I need to make too much accend on that
13:53:51FromDiscord<vindaar> Certainly sounds useful for specific use cases. I guess not for debugging or anything, so the verbose API isn't too much of a problem maybe?
13:54:14FromDiscord<haxscramper> I use it solely for debugging purposes
13:55:08FromDiscord<haxscramper> And I tend of think of it as two APIs - first one is dead simple\: `pprint <thing>` and it works
13:55:08FromDiscord<haxscramper> always
13:55:09FromDiscord<haxscramper> zero configuration is necessary
13:55:17FromDiscord<haxscramper> But then you can get very nuanced and start writing custom hooks, or doing callside configuration, but that is rarely needed
13:55:21FromDiscord<vindaar> so you need the config for debugging when there'd be too much random output?
13:56:38FromDiscord<haxscramper> yes, quickly cut out some unnecessary noise. I think I could just add helpers `pglob().star().field("cpack").match()`, something like `matchFields(@["cpack"])`, or `matchType(@["GCovLine"]): forceLine()`
13:57:13FromDiscord<haxscramper> \`ignore = matchFields(@["cpack"])
13:57:29FromDiscord<vindaar> that sounds like a useful feature, yes
13:59:12FromDiscord<haxscramper> But there is a ton of control already, especially because I built it on top of generic layout solver
13:59:27FromDiscord<haxscramper> Is is just very verbose
14:06:33*TakinOver quit (Read error: Connection reset by peer)
14:09:01FromDiscord<Rika> is there a way to change compiler options within strictly .nim files? i was just wondering how people would enable define switches in a code competition context
14:14:47FromDiscord<Rika> actually thinking a bit more about it, rarely in a compet. context do defines need to be defined hm
14:14:49*PMunch joined #nim
14:15:50PMunchOh cool, I see the bot has colours now
14:16:10FromDiscord<Rika> imagine having colors, discord moment
14:16:30FromDiscord<idf> its pride month after all↵(<@709044657232936960_=50=4dunch=5b=49=52=43=5d>)
14:17:12PMunchThat is true
14:17:24PMunchHmm, FromDiscord on Libera doesn't have colours thought
14:17:38FromDiscord<vindaar> care to share a screenshot?
14:19:05PMunchOf the colours?
14:19:14FromDiscord<vindaar> yeah, I'm curious what you see
14:19:40PMunchhttps://uploads.peterme.net/2021-06-27-161920_684x178_scrot.png
14:20:29FromDiscord<vindaar> so that the names are colored or what's new here?
14:20:47FromDiscord<idf> yeah they used to be just bold iirc
14:20:55FromDiscord<vindaar> ah, I see
14:54:55*SebastianM joined #nim
15:04:55*stkrdknmibalz quit (Quit: WeeChat 3.0.1)
15:17:58fn<bung99> an reason I call a dll's proc sucessfully, then the passed args becoming nil
15:18:03fn<bung99> any
15:24:52*SebastianM quit (Quit: Bye)
15:30:56FromDiscord<dom96> Dealing with CI has got to be the most boring thing
15:32:48FromDiscord<vindaar> above boring it's frustrating
15:33:21FromDiscord<vindaar> in the age of containers and all this stuff, why not have it easy to download some container to debug the CI locally?
15:33:31federico3...because most implementations are pretty rudimentary
15:35:24FromDiscord<vindaar> in what sense?
15:37:31FromDiscord<leorize> redhat's toolkit is one of the very interesting application of containers
15:38:20FromDiscord<leorize> the issue with how most containers work is that they're designed for daemon isolation
15:38:43FromDiscord<leorize> toolkit take an approach of integrating a container with your main system
15:39:02FromDiscord<leorize> it's kinda like a chroot, but no permission meddling
15:39:23FromDiscord<leorize> and you also don't run as root
15:39:55FromDiscord<dom96> I think the problem is I have too many projects
15:40:02FromDiscord<dom96> all with old CI that's been broken for a while
15:40:10FromDiscord<dom96> getting the motivation to fix them all is tough
15:40:22FromDiscord<leorize> you should let go the ones you no longer maintain
15:40:39federico3vindaar: stuff like github actions & similar barely spawn a bunch of containers and runs scripts. They don't have mechanisms to plan tests dynamically and track down errors; snapshot checkpoints during the process; not even ssh into the vm after a failure
15:40:50FromDiscord<dom96> I'm adding a cron schedule to all of them now
15:41:01FromDiscord<dom96> so I can hopefully see when the CI starts to fail earlier
15:41:32FromDiscord<leorize> there are plenty of active members in the community that will want to adopt your projects, should you no longer want to maintain them
15:43:59FromDiscord<vindaar> but that's my point no? It shouldn't be too difficult to set it up such that each action / etc. is run in one container that the user can download if need be? I mean maybe it's super hard I know barely anything about containers. I only hear hype hype hype around them↵(<@709044657232936960_federico3=5b=49=52=43=5d>)
15:44:26FromDiscord<dom96> the way all CIs work is a poor model
15:45:00FromDiscord<dom96> the CI just runs some arbitrary code which is really unhelpful to figure out flakiness
15:45:14federico3dom96: that's what I said
15:45:45FromDiscord<leorize> [vindaar](https://matrix.to/#/@vindaar:matrix.org)\: the issue of containers is that right now they are only useful for running their own environment
15:45:46FromDiscord<dom96> +1 then 🙂
15:46:43FromDiscord<leorize> toolbox is a pretty cool approach though, so maybe it will gain some traction
15:46:54FromDiscord<zetashift> Toolbox?
15:46:56FromDiscord<dom96> grr https://github.com/nim-lang/nimble/runs/2925797003
15:47:28FromDiscord<leorize> https://github.com/containers/toolbox↵(@zetashift)
15:48:24FromDiscord<zetashift> Ah isee
15:48:31FromDiscord<leorize> containers are very isolated by nature. this project let a container integrate so you can keep using your favorite tools while debugging containerized code
16:05:31fn<bung99> https://play.nim-lang.org/#ix=3rhP any idea? the p become nil
16:07:23PMunchAnd there isn't a nil in the posts sequence?
16:07:54FromDiscord<dom96> omg who the hell decided to automatically scroll the GitHub Actions output as it updates
16:14:03fn<bung99> yeah, I echo item one by one that added to posts
16:17:07fn<bung99> echo anyIt(postsNodes, it == nil), when I add this line before call render , the error change to other place access nil..
16:17:54*stkrdknmibalz joined #nim
16:18:52nisstyreDoes anyone know if there are raygui nim bindings that exist?
16:19:08nisstyreI can use it directly I suppose
16:21:05FromDiscord<dom96> Figured it out. What a subtle bug that strangely wasn't reproducing before. Very odd.
16:22:47FromDiscord<dom96> nisstyre: have you tried searching using nimble or nimble.directory? 🙂
16:23:22nisstyredom96: yes
16:23:26nisstyrenothing I could find
16:25:50nisstyrelooks like it's meant to be used as a header only library
16:26:33fn<ForumUpdaterBot99> New Nimble package! todoist - A Nim client for Todoist's REST API, see https://ruivieira.github.io/nim-todoist/index.html
16:38:11FromDiscord<aleclarson> is there a `case` syntax for type checking a ref object with `of` or do i just use if statements?
16:38:46FromDiscord<aleclarson> sent a code paste, see https://play.nim-lang.org/#ix=3ri4
16:39:13FromDiscord<aleclarson> (edit) "https://play.nim-lang.org/#ix=3ri4" => "https://play.nim-lang.org/#ix=3ri5"
16:40:25FromDiscord<haxscramper> https://nim-lang.github.io/fusion/src/fusion/matching.html#matching-different-things-ref-object-matching
16:40:48FromDiscord<haxscramper> requires `import fusion/matching` and `{.experimental: "caseStmtMacros".}`
16:42:38FromDiscord<haxscramper> If you need compile-time checking you can use `when`, or something like that https://play.nim-lang.org/#ix=2Vj2
16:43:48FromDiscord<zetashift> In reply to @nisstyre "Does anyone know if": https://github.com/greenfork/nimraylib_now
16:43:51FromDiscord<haxscramper> ah, no wrong link
16:43:51fn<R2D299> itHub: 7"The Ultimate Raylib gaming library wrapper for Nim"
16:44:49FromDiscord<haxscramper> no, it is the correct one, just got confused by example code. I showed as a quick implementation for json serialization
16:54:16FromDiscord<aleclarson> In reply to @haxscramper "If you need compile-time": interesting, thx. i think i'll stick with proc overloads for now and if statements when necessary
16:55:00FromDiscord<aleclarson> is it possible to override the type of an inherited property? seems like it should be, especially if the inherited type is `any`
17:04:37FromDiscord<haxscramper> What do you mean by "inherited property"? Superclass fields in derived objects?
17:32:54FromDiscord<Avatarfighter> In reply to @leorize "there are plenty of": @dom96 what's your opinion on letting other community members maintain your projects via an org or something ? I know you are rather busy, but it sucks seeing some of your projects like jester/httpbeast(this was pretty recently updated though) amass PRs and issues with seemingly no future :L I love using jester and httpbeast but it's a turn off for me to see them rarely getting updated.
17:41:52*PMunch quit (Quit: leaving)
17:52:34FromDiscord<dom96> You're worrying about the wrong things, I bet you use software that is significantly older than the last time Jester/httpbeast was updated.
17:54:31FromDiscord<Avatarfighter> Well I would be using updated software if the software libraries I used actually got updated tbf
17:55:49fn<bung99> any clue an item in loop becaming nil ? in dll's proc , I echo the item , part of items are not nil.
17:57:37fn<bung99> in my karax vdom some places throw this kind of errors, am sure items I added to sequence are not nil.
18:07:48FromDiscord<willyboar> I don't think it is all about be updated. We all use and love nim and we want to see it grow and the only way is the most usable apps grow first.
18:08:41FromDiscord<willyboar> For example i like jester and prolly it works on most of my cases
18:10:37FromDiscord<willyboar> but i want to see it grow. I want to see a website, a better documentation, tutorials, blog posts, a plugin system, examples, production apps etc
18:10:54FromDiscord<willyboar> things that cannot be done if you don't spare time
18:12:44FromDiscord<Rika> ~~stuff that made me look at prologue~~
18:14:49FromDiscord<saem> Is it possible to take in a string parameter and generate comments as part of a template?
18:15:26FromDiscord<Rika> Documentation comments yes I believe but I don’t know if you can using a template
18:15:29*saem[m] left #nim (#nim)
18:15:42federico3does ./koch tools support -d:release ?
18:16:35FromDiscord<vindaar> I think so, yes federico3
18:16:47FromDiscord<vindaar> at least my tools are built with danger flag and I always put it on the `tools` command
18:18:09federico3the help from koch seems to imply that it's only for "boot"
18:20:31FromDiscord<dom96> In reply to @willyboar "but i want to": I want to see those things too 🙂
18:20:52FromDiscord<dom96> The forum is already a pretty awesome example of a production app
18:23:08FromDiscord<willyboar> I know that, but a new user of Nim not.
18:23:17FromDiscord<willyboar> This is why all the above are important
18:23:19FromDiscord<saem> [vindaar](https://matrix.to/#/@vindaar:matrix.org)\: same thing, I don't like waiting.
18:25:24FromDiscord<konsumlamm> In reply to @dom96 "You're worrying about the": so worrying about bugs not being fixed is "worrying about the wrong things"?
18:26:22FromDiscord<willyboar> anyway you are the one you would decide what to do with your libs.
18:27:03FromDiscord<Avatarfighter> ^ I only wanted to point out that it would be nice to see the number of PRs/issues on your libraries decrease instead of grow but if you'd rather they accumulate that's up to you dom
18:27:11FromDiscord<dom96> lol
18:27:31FromDiscord<dom96> If people want to help I am very welcoming to contributions
18:27:53FromDiscord<dom96> And not just code, this also includes PR reviews
18:28:10FromDiscord<Avatarfighter> I'm curious what's stopping you from making an org for jester ?
18:28:27FromDiscord<Avatarfighter> you'd still have control over it, it would just have a bit more autonomy
18:28:52FromDiscord<dom96> What would it change? I can add contributors to Jester's repo just fine
18:30:44FromDiscord<dom96> I've created an org for Karax, there was a good reason for it: it was under another org's account which wasn't really active in Nim anymore.
18:31:01FromDiscord<Avatarfighter> I was just about to use karax as an example lol
18:32:14FromDiscord<willyboar> in a separate org you can have more things
18:32:26FromDiscord<willyboar> like the website or official plugins
18:32:33*supakeen quit (Remote host closed the connection)
18:32:49FromDiscord<dom96> Sure, but that's more things to maintain
18:32:57*supakeen joined #nim
18:33:08FromDiscord<dom96> plugins should preferably be created and maintained by the community
18:33:12FromDiscord<willyboar> yes but necessary things for a project to grow
18:33:26FromDiscord<dom96> Rocket has its website in its own repo
18:33:33FromDiscord<dom96> seems to work quite well for them
18:34:58FromDiscord<dom96> also other Nim web frameworks don't have their own orgs either
18:35:03FromDiscord<Avatarfighter> Maybe it would be time to find a more active maintainer to jester ?
18:35:07FromDiscord<dom96> why am I getting all the bother about it? 🙂
18:35:29FromDiscord<willyboar> prologue is in a separate org
18:37:03FromDiscord<Avatarfighter> At the end of the day it is your project so you do what you see fit, but it would be nice to at least consider handing over the keys of jester to someone that is more actively maintaining the libraries maybe ? I don't want us to flood #main with more of this lol
18:37:10FromDiscord<haxscramper> To be honest I don't quite understand the reason to shuffle github project in different repos, it does not seem to solve any code-related problems
18:37:25FromDiscord<haxscramper> Or things like documentation etc.
18:38:01FromDiscord<dom96> if someone wants to work on Jester they just need to let me know. Finding someone truly passionate to work on somebody else's project is hard though
18:38:01FromDiscord<Avatarfighter> (edit) "libraries" => "library"
18:38:02FromDiscord<haxscramper> In reply to @dom96 "What would it change?": this
18:38:05FromDiscord<haxscramper> In reply to @Avatarfighter "At the end of": and this
18:38:17FromDiscord<haxscramper> Seems to be most of what is necessary
18:38:18FromDiscord<willyboar> It looks more official and professional
18:38:25FromDiscord<haxscramper> "looks"
18:38:33FromDiscord<haxscramper> (edit) ""looks"" => "`> "looks"`"
18:38:53FromDiscord<Avatarfighter> An org is not the most optimal solution, I just thought it could attract a maintainer
18:39:23FromDiscord<Avatarfighter> In reply to @dom96 "if someone wants to": I'll keep that in mind, I love jester I would just hate for it to die it's a pretty incredible library
18:39:27FromDiscord<haxscramper> I don't think just adding organization could easily attract a person, especially considering how much time this should take
18:39:40FromDiscord<haxscramper> Maybe write a forum post like "maintainers wanted"
18:40:19FromDiscord<Avatarfighter> Yeah that would probably be more effective :p
18:40:27FromDiscord<haxscramper> Or write about current state of these projects, current goals, who we need, why do we need them
18:40:43FromDiscord<haxscramper> That's the problem with other parts,
18:40:48*SebastianM joined #nim
18:40:50FromDiscord<dom96> In reply to @Avatarfighter "I'll keep that in": I'm considering setting up a GitHub sponsor thing, maybe that would be a good way to help me maintain my projects. Would you donate if I offered that? 🙂
18:40:56FromDiscord<Avatarfighter> Yeah probably
18:41:10FromDiscord<haxscramper> I literally don't know what is going on about a lot of things and I would not bother to look up to being maintainer
18:41:23FromDiscord<haxscramper> And I do spend quite some time around here
18:41:38FromDiscord<dom96> btw the bigger problem I have now is choosenim, my maintainer is gone and now I have a lot of changes that I'm no longer familiar with :/
18:41:40FromDiscord<haxscramper> I'm talking in general now
18:42:34FromDiscord<dom96> so just from that experience I'm not sure finding more maintainers is a good idea for my other projects
18:43:03FromDiscord<Avatarfighter> My original idea for an org was to group together httpbeast and jester since the latter depends on the first and it would be nice to have them centralized together
18:46:09FromDiscord<haxscramper> Btw, @dom96 , I finally decided to take some time this week and write and RFC for nimble. For now, I don't have any concrete suggestions, so it should mostly be a compilation of issues like #890 (that do propose concrete improvements) as well as some minor suggestions. Well, maybe not the next week, but after https://forum.nim-lang.org/t/8146 https://forum.nim-lang.org/t/8147 and stefantalpalaru's comments on nim conf I think this c
18:46:54FromDiscord<haxscramper> If you have any links
18:46:59FromDiscord<dom96> Cool, yeah, honestly I think we just need to set up some milestones that group together the issues that are important
18:47:03FromDiscord<haxscramper> That are especially important or something like that
18:47:13FromDiscord<haxscramper> In reply to @dom96 "Cool, yeah, honestly I": yep, that's exactly what I'm aiming for
18:47:26FromDiscord<dom96> and then Araq/others can work on them
18:47:33FromDiscord<haxscramper> not especially opinionated, just collect everything into coherent list
18:47:55FromDiscord<dom96> if you (or anyone) has the time it would be awesome to test https://github.com/nim-lang/nimble/pull/913
18:48:15FromDiscord<dom96> we'll need to review it and a good first step is to test it 🙂
18:48:27FromDiscord<haxscramper> yeah, that is a good idea actually
18:53:21*ormiret_ is now known as ormiret
18:53:53FromDiscord<Avatarfighter> I really wish I had the knowledge to help maintain these libraries
18:55:46*Guest0 joined #nim
18:55:51*Guest0 quit (Client Quit)
19:31:03*sagax quit (Remote host closed the connection)
19:36:07*SebastianM quit (Quit: Bye)
19:56:17fn<ForumUpdaterBot99> New thread by Masiarek2: Print Unicode names e.g 'SPACE', 'NO-BREAK SPACE', HORIZONTAL TAB , see https://forum.nim-lang.org/t/8164
20:11:38*foufoutos joined #nim
20:12:17*foufoutos is now known as lightspot21
20:12:47*lightspot21 quit (Client Quit)
20:13:02*lightspot21 joined #nim
20:21:20*Kioshi joined #nim
20:21:49*Kioshi quit (Client Quit)
20:43:36*pro joined #nim
21:08:32prowhen are we going to test windows builds
21:09:08probecause we can't really support windows if every build is flagged by windows defender
21:11:30*pro quit (Quit: WeeChat 3.2)
21:12:33*pro joined #nim
21:14:04FromDiscord<Elegantbeef> They did test 1.4.8 to try to get that to stop happening, but it's pretty hard to manage when you arent exactly told "Hey this is what's causing the flag" 😛
21:15:36proI have no antivirus and can't download binary from chrome
21:16:41FromDiscord<Elegantbeef> Well you can usually tell AV and browsers "I know best", but if you cannot, you can try building from source
21:16:59FromDiscord<willyboar> this is a cool idea for a nim project
21:17:10FromDiscord<Elegantbeef> Bypassing antivirus checks? 😛
21:17:18FromDiscord<willyboar> lol
21:17:54prohow was this event called yesterday
21:18:10proon yt
21:18:13FromDiscord<willyboar> nimconf?
21:18:20proyeah nimconf
21:18:32prosome projects are really really good
21:19:14FromDiscord<willyboar> agree
21:19:22prosome are not that good though :)
21:19:36probut yeah, it's nice that we have a conf
21:19:47FromDiscord<willyboar> personaly i keep an eye on nicoru
21:20:07FromDiscord<willyboar> despite the fact i dont use containers
21:20:10FromDiscord<willyboar> 😛
21:34:42fn<ForumUpdaterBot99> New thread by Stbalbach: Include a file variably, see https://forum.nim-lang.org/t/8165
21:57:08FromDiscord<tomck> Hello↵How can I generate a nnkTripleStrLit node in a macro? There is no corresponding `newLit` proc and I can't access the `kind` field of `NimNode`
21:57:37FromDiscord<tomck> a 'triple string lit' is a string like `"""hello↵world"""`
22:04:07FromDiscord<tomck> sent a code paste, see https://play.nim-lang.org/#ix=3rjD
22:06:37*PersonMcGuy joined #nim
22:06:54*pro quit (Quit: WeeChat 3.2)
22:07:19PersonMcGuyHello all. Quick question, is there an equivalent to javascript's setInterval?
22:08:59*lightspot21 quit (Quit: leaving)
22:10:33FromDiscord<tomck> PersonMcGuy: You probably want to look into setting up an async event loop before you could get something like setInterval running, nim is a bit lower level than javascript so it doesn't set it up by default↵↵You could try looking at the asyncdispatch module
22:11:42PersonMcGuy@tomck Ah, okay, I figured as much, but if there was an easy way out, I wanted to take it lol. Thank you for your help.
22:11:48FromDiscord<tomck> Once you have that setup, you can `await` on a `sleepAsync` call https://nim-lang.org/docs/asyncdispatch.html#sleepAsync
22:18:16FromDiscord<Bung> you can use addTimer in asyncdispatch module
22:19:54FromDiscord<exithead> Is "seq[seq.maxIndex]" the correct way to access the last element in a seq?
22:20:18FromDiscord<Bung> you can use `^1`
22:20:24PersonMcGuy@bung that's perfect!
22:21:31PersonMcGuyalso you could use seq[seq.high]
22:38:48FromDiscord<j-james> What are pointers used for in Nim?
22:39:02FromDiscord<Elegantbeef> C interop and when you need them
22:57:48fn<bung99> is nim generated dll really in used ? I face kinds of errors
23:09:29*max22- quit (Remote host closed the connection)
23:19:49FromDiscord<aleclarson> sent a code paste, see https://play.nim-lang.org/#ix=3rjO
23:21:04FromDiscord<Elegantbeef> sent a code paste, see https://play.nim-lang.org/#ix=3rjP
23:21:48FromDiscord<Elegantbeef> sent a code paste, see https://play.nim-lang.org/#ix=3rjQ
23:24:17FromDiscord<Elegantbeef> Ah nvm thought that'd just work, but nope i'm a numpty