<< 01-10-2020 >>

00:10:20*bung joined #nim
00:13:11*vicfred quit (Quit: Leaving)
00:14:27*bung quit (Ping timeout: 240 seconds)
00:39:01*bung joined #nim
00:50:42voidpidisruptek: what problem were you trying to solve with persist?
00:54:12disrupteki was gonna replace the sqlite in incremental compilation with lmdb and i wanted a dead-simple persistence system.
00:54:27disruptekbasically, frosty deprecated persist.
00:57:59*krux02 quit (Remote host closed the connection)
00:58:48voidpiI don't know what lmdb is
00:58:55voidpibut thanks disruptek
01:13:24*Tanger joined #nim
01:47:36*apahl quit (Ping timeout: 244 seconds)
01:49:42*apahl joined #nim
01:56:16FromGitter<deech> How are named blocks used? eg. `block: someBlock ...`. I can't find examples of those names are used.
01:56:52FromDiscord<Elegant Beef> Those names are for breaking
01:57:14FromDiscord<Elegant Beef> https://nim-lang.org/docs/manual.html#statements-and-expressions-block-statement
01:57:41FromGitter<deech> Oh nice! Is that the onl
01:58:07FromGitter<deech> y use? Can I pass them around or use them as labeled gotos?
01:59:01*vicfred joined #nim
01:59:42FromDiscord<Elegant Beef> You can use them to exit nested loops
02:01:25FromGitter<simonmcconnell> when compiling, is it possible to bundle required dlls (pcre64.dll for example) so there is a single .exe?
02:02:19FromDiscord<Elegant Beef> https://nim-lang.org/docs/nimc.html#dynliboverride
02:02:43leorizethat doesn't do it
02:03:08leorizeon windows you'd either want to pack all of those into a self-extracting app
02:03:17leorizeor statically link them
02:03:21*arecacea1 quit (Remote host closed the connection)
02:03:32FromDiscord<Elegant Beef> Hey leorize im just a glorified docs linker, i dont know anything!
02:03:55*arecacea1 joined #nim
02:08:22FromDiscord<Avatarfighter> @Vindaar lets say I dont know the length what then? Do I cry?
02:10:11FromGitter<simonmcconnell> kthx
02:16:26leorize[m]1@Avatarfighter it depends on the api
02:16:40leorize[m]1read the api docs to know what you should be passing into the variable
02:17:11FromDiscord<Avatarfighter> im actually receiving an N length `char**ˋ
02:17:20FromDiscord<Avatarfighter> Well that didnt quote
02:17:34FromDiscord<Avatarfighter> Whatever ill do something stupid and assume the amount
02:17:43leorize[m]1uh... what are you wrapping?
02:17:43FromDiscord<Avatarfighter> a little memory error cant hurt that bad right
02:17:47leorize[m]1I might be able to help
02:17:57FromDiscord<Avatarfighter> not at my pc atm
02:18:15FromDiscord<Avatarfighter> but i will hit you up on matrix bc i really want to try lol
02:19:24leorize[m]1lol, sure
02:21:32*lritter joined #nim
02:57:27*muffindrake quit (Ping timeout: 240 seconds)
02:59:55*muffindrake joined #nim
03:43:12*EastByte quit (Ping timeout: 260 seconds)
03:43:31*EastByte joined #nim
03:57:03*opal quit (Ping timeout: 240 seconds)
04:02:30*opal joined #nim
04:06:01*supakeen quit (Quit: WeeChat 2.9)
04:06:41*supakeen joined #nim
04:11:20disruptekvan morrison can kiss my ass.
04:23:13*thomasross quit (Ping timeout: 260 seconds)
04:26:50*oculuxe quit (Ping timeout: 256 seconds)
04:28:32Zevvyeah, take than, Van
04:28:44Zevvaaa-men
04:43:31FromDiscord<acek7> Hey nerds
04:43:38FromDiscord<acek7> Hope ya had a good day
05:09:48Zevvnight
05:17:33*solitudesf joined #nim
05:22:32*narimiran joined #nim
05:34:03bungcan I get cpu processors count compile time ? countProcessors needs run time.
05:49:50*waleee-cl quit (Quit: Connection closed for inactivity)
05:53:49*Tanger quit (Quit: Leaving)
05:55:48leorizebung: why would you need that at compile time?
05:58:27bungreduce runtime time cusome
05:58:54leorizethat's a terrible reason
05:59:26leorizeon runtime it would bear the cost of one syscall, which is very cheap
05:59:55leorizehardcoding the value into your program at compile time makes it non-deterministic
06:00:10leorizesince the number differs depending on the machine that compiled it
06:02:59bungoh, I dont know that's a cheep call, thank you!
06:08:46*NimBot joined #nim
06:36:07*Vladar joined #nim
06:39:39*nature joined #nim
06:54:35*EastByte quit (*.net *.split)
06:54:35*apahl quit (*.net *.split)
06:54:35*voltist quit (*.net *.split)
06:54:36*silvernode[m] quit (*.net *.split)
06:54:36*OMGOMG quit (*.net *.split)
07:02:31Araqbung, and if not, use this at startup
07:02:39Araqlet pn = countProcessors()
07:19:25*Tanger joined #nim
07:20:58bungI dont want global variable
07:25:17Araqfair enough
07:34:23*Vladar quit (Remote host closed the connection)
07:34:49FromDiscord<unquietwiki> https://www.reddit.com/r/nim/comments/j33o9j/some_nim_project_ideas_to_consider/ need some input on this. Basically... how do I sink my teeth into this with limited time?
07:34:57FromDiscord<unquietwiki> Thanks.
07:38:09*pangey quit (Ping timeout: 272 seconds)
07:39:34PMunch@unquietwiki, not quite sure exactly what you seek help with
07:40:52FromDiscord<unquietwiki> @PMunch I have a wife & kiddo that eat up a lot of my time, and also in the middle of a job hunt. So I have a limited amount of bandwidth to dedicate to a project that #1 shows I'm employable, and #2 meets a useful need.
07:43:40Araqwriting custom interpreters in Nim is currently popular
07:44:06FromDiscord<unquietwiki> @Araq got an example or two I can look at?
07:44:25Araqwe can never enough of these simple things that cause endless compatibility problems later on
07:45:37AraqI'd write a jump&run game
07:49:55FromDiscord<lqdev> would anyone be interested in a pure nim realtime audio library?
07:50:53FromDiscord<unquietwiki> @lqdev Port an existing one, or one from scratch?
07:52:54FromDiscord<lqdev> i'd want to make one from scratch, abstracting over wasapi/alsa/pulseaudio/jack/etc
07:54:04FromDiscord<unquietwiki> I have a brother that does audio stuff. Some other folks too. I could ping for interest.
07:55:20FromDiscord<iWonderAboutTuatara> I wouldn't mind it
07:55:38FromDiscord<Recruit_main707> > I'm using a similar design in my game because I needed VTable kind of behaviour. But this is because I'm working without the GC and needed more control than Nim's `method`s↵@exelotl whats the issue with the methods?
07:57:39FromDiscord<iWonderAboutTuatara> If I wanted to port a library to Nim, how do I go about it?
07:57:56FromDiscord<iWonderAboutTuatara> I see some stuff with c2nim and nimterop but they confuse me so much
07:58:15FromDiscord<Recruit_main707> c2nim is relatively easy
07:58:17*mmohammadi9812 joined #nim
07:58:27FromDiscord<iWonderAboutTuatara> Does it work for full libraries?
07:58:35FromDiscord<Recruit_main707> sometimes :P
07:58:47Araqyou need to have a good understanding of C and Nim, c2nim is for avoiding all the typing you would otherwise have to do
07:58:47FromDiscord<iWonderAboutTuatara> It says it only does header files?
07:59:17FromDiscord<Recruit_main707> it can also transpile code, but its usually used for wrapping
07:59:27FromDiscord<iWonderAboutTuatara> I have incredibly little familiarity with c
07:59:32FromDiscord<iWonderAboutTuatara> Wrapping is fine
07:59:36Araqactually it supports more than header files, but it always needs a helping hand as C code is not amendable to automatic translations
07:59:55FromDiscord<iWonderAboutTuatara> Meaning?
07:59:58FromDiscord<Recruit_main707> what library are you trying to wrap?
08:00:02FromDiscord<iWonderAboutTuatara> Raylib
08:00:10FromDiscord<Recruit_main707> we alreay have a raylib wrapper
08:00:25FromDiscord<Recruit_main707> up to date
08:00:35Araq^ that's the right, good answer here.
08:00:35FromDiscord<iWonderAboutTuatara> I couldn't find one that's updated
08:00:40FromDiscord<Recruit_main707> https://github.com/Guevara-chan/Raylib-Forever
08:00:55FromDiscord<iWonderAboutTuatara> Oh that's wonderful
08:01:03FromDiscord<iWonderAboutTuatara> I also just wanted to try wrapping to see if I could do it
08:01:12Araqif you find an outdated one, updating it is much less effort than wrapping from scratch
08:01:26FromDiscord<Recruit_main707> you enter this url, and it generates and downloads the latest ones iirc https://guevara-chan.github.io/Raylib-Forever/main.html
08:01:47FromDiscord<iWonderAboutTuatara> That is pretty good
08:01:56FromDiscord<Recruit_main707> you still need to download the binaries yourself, but thats it
08:01:58*hnOsmium0001 quit (Quit: Connection closed for inactivity)
08:02:00FromDiscord<iWonderAboutTuatara> I can't ask for much more from a wrapper lmao
08:02:04FromDiscord<iWonderAboutTuatara> That's nbd
08:02:15FromDiscord<iWonderAboutTuatara> Ideally it would be in nimble, but no big deal
08:02:44FromDiscord<iWonderAboutTuatara> I do want to try making a wrapper though, just to see if I can
08:02:49Araqnimble should simply start to search github IMO
08:03:32FromDiscord<iWonderAboutTuatara> Agreed
08:03:35FromDiscord<Recruit_main707> the repo doesnt contain the actual wrapper though
08:03:53FromDiscord<Recruit_main707> only the web code that generates it
08:04:17FromDiscord<Recruit_main707> i guess thats why
08:07:28*EastByte joined #nim
08:07:28*apahl joined #nim
08:07:28*voltist joined #nim
08:07:28*silvernode[m] joined #nim
08:07:28*OMGOMG joined #nim
08:20:48*JustASlacker joined #nim
08:23:37FromDiscord<Varriount> Araq: Why is it that view types must be derived from the first parameter of a procedure?
08:27:00Araqbecause nobody has yet convinced me that we need more than that
08:27:12*bung_ joined #nim
08:27:45Araqthe extensions are rather natural, proc p(x, y: T): var[T, y] # borrows from 'y' instead
08:30:49*bung quit (Ping timeout: 264 seconds)
08:33:45narimiranHacktoberfest is here! https://nim-lang.org/blog/2020/10/01/hacktoberfest-with-nim.html
08:39:08PMunchNice, time to make some high quality PRs :)
08:39:46TangerMaintainers better prepare for some spam
08:40:33PMunchYeah, that's a potential issue..
08:41:05FromDiscord<Vindaar> I don't think we have a big problem with spammy PRs in our community. Even if though, it's not exactly hard to recognize and close low effort PRs (unless you get > 50 PRs in a day maybe)
08:41:09narimiranTanger: it was ok in previous years
08:42:11TangerThat's cool
08:42:41TangerI hear some folks are already copping it with "Removed whitesapce from end of file" requests, haha
08:44:21FromDiscord<Vindaar> they could just restrict sign up to github accounts older than X or with > Y activity in the last year or so. But w/e
08:45:14supakeenTanger: Yea, there's a *lot* of spammy PRs.
08:45:53supakeenhttps://github.com/archlinux/conf.archlinux.org/pull/32/files I liked this one.
08:45:54disbotimproves docs
08:46:07TangerXD
08:46:11TangerHigh value PR
08:46:15TangerCredit to community
08:46:17narimiranaaaah, that's why we have a similar PR in our website repo
08:46:41narimiranhttps://github.com/nim-lang/website/pull/216
08:46:42disbotImproved Docs
08:47:21supakeenYeaaa. You should tag it "invalid".
08:47:44FromDiscord<Vindaar> not "GTFO w/ low effort PRs"?
08:48:00supakeenIf you tag them with invalid then Digital Ocean will not accept them.
08:48:25supakeenhttps://hacktoberfest.digitalocean.com/details#spam
08:48:45FromDiscord<Vindaar> oh, that's nice. Was actually not aware of that
08:49:04narimiransupakeen: now tagged with both 'invalid' and 'spam'
08:49:19supakeenGood :)
08:49:56supakeenI'm very sad about how Hacktoberfest is slowly turning into a Spamfest, it was a good thing when it was small.
08:51:25FromDiscord<mratsim> What people would do for a T-shirt
08:51:57FromDiscord<Varriount> I got to show off my Nim mug in an interview recently
08:52:11supakeenNim mugs!?
08:52:16FromDiscord<Varriount> Nobody commented on it though. 😔
08:52:26narimiransupakeen: yeah, for people who spam extra hard :P
08:52:35*supakeen prepares the PRs.
08:52:42*EastByte quit (*.net *.split)
08:52:42*apahl quit (*.net *.split)
08:52:42*voltist quit (*.net *.split)
08:52:42*silvernode[m] quit (*.net *.split)
08:52:43*OMGOMG quit (*.net *.split)
08:52:47supakeenI do need to extend that testcase thing.
08:52:50*mmohammadi9812 quit (Ping timeout: 256 seconds)
08:53:06FromDiscord<Varriount> I don't know if they're still available. dom96 set something up a couple years ago
08:53:27supakeenNah, I wouldn't do it for the mug. At work I have a "Mr. Grumpy" mug and it suits me too well.
08:54:12FromDiscord<lqdev> mug
08:54:33Araqhmm Mr. Grumpy, does it have my face?
08:54:54supakeen:D
08:55:20supakeenhttps://external-content.duckduckgo.com/iu/?u=http%3A%2F%2Fimages.esellerpro.com%2F2243%2FI%2F148%2F40%2Fmr-grumpy-mug%2520(1).JPG&f=1&nofb=1
08:55:21supakeenIs the mug.
08:55:32Araqyep, that's me
08:55:36Araqwith a hat
08:55:55FromDiscord<lqdev> https://media.discordapp.net/attachments/371759389889003532/761149380492918814/mug_root_beer.jpg
08:55:59FromDiscord<lqdev> mug.
08:57:29FromDiscord<Rika> mug root beer is good
09:10:11*EastByte joined #nim
09:10:11*apahl joined #nim
09:10:11*voltist joined #nim
09:10:11*silvernode[m] joined #nim
09:10:11*OMGOMG joined #nim
09:14:19*mmohammadi9812 joined #nim
09:24:24Araqhttps://github.com/nim-lang/Nim/issues/15430 Hacktoberfest!
09:24:27disbotpop pragma takes invalid input ; snippet at 12https://play.nim-lang.org/#ix=2zmt
09:28:50supakeenI have not yet ascended.
09:29:46*Tanger quit (Quit: Leaving)
09:31:21*dv-^_^6 quit (Quit: Ping timeout (120 seconds))
09:31:39*dv-^_^6 joined #nim
09:55:55FromDiscord<dom96> yesss, tag all the issues with Hacktoberfest
09:58:50*Vladar joined #nim
10:04:53*Trustable joined #nim
10:14:53*mmohammadi9812 quit (Quit: I quit (╯°□°)╯︵ ┻━┻)
10:19:37FromDiscord<fwsgonzo> has anyone written a CMake build function for nim c or cpp backend?
10:19:54*krux02 joined #nim
10:20:36*opal quit (Remote host closed the connection)
10:21:51*opal joined #nim
10:22:07*abm joined #nim
10:27:41PMunchzielmicha__, still not here?
10:36:15Araqhmm what do you guys do when you're hungry and Lunch is far away
10:36:41FromDiscord<Rika> nothing, it passes
10:36:44FromDiscord<Rika> at least for me...
10:37:07Araqhmm it used to be the same for me, I grew old
10:37:58FromDiscord<Vindaar> depends on how motivated I am to work. If I'm not, I'll have a coffee / tea and hope it lessens my hunger 🙂
10:39:05FromDiscord<Rika> a candy works too
10:39:51*apahl quit (Ping timeout: 244 seconds)
10:40:55*apahl joined #nim
10:47:18PMunchAn apple is a good choice
10:51:04*NimBot joined #nim
10:51:45*FromDiscord joined #nim
11:03:21FromDiscord<Kiloneie> Apples and milk :P
11:38:38*JustASlacker quit (Ping timeout: 260 seconds)
11:50:22PMunchAnyone got a good lib for doing terminal programs with options?
11:51:56FromDiscord<himu> Any good guide for circular dependencies? How to resolve them?
11:53:41FromDiscord<mratsim> @PMunch, confutils and cligen
11:53:53FromDiscord<exelotl> docopt
11:54:20FromDiscord<mratsim> @himu, use concepts or put your types in common files
11:56:08FromDiscord<exelotl> if you don't have mutually recursive types or whatever, you can often solve cyclic imports by moving the offending import further down in the file to the place where it's first needed.
11:56:18PMunch@exelotl, I like the idea of docopt, but the fact that it isn't more Nim-esque is a real shame
11:57:57FromDiscord<Vindaar> @PMunch agree with that. I still use docopt (and cligen for simple things), but not a fan of the implementation tbh
11:59:58FromDiscord<exelotl> ah, you mean e.g. it should have some compile-time capabilities?
12:00:22FromDiscord<exelotl> rather than putting everything into a generic table
12:01:37FromDiscord<Vindaar> yes, for one it should deviate a bit from the "docopt spec" and make use of our fancy compile time features and also it's one of the libraries with the biggest OOP focus Nim I'm aware of. Just not a fan of that 🙂
12:02:31FromDiscord<Vindaar> Imo it should replace the "everything is string" approach with a mix of string (for doc), and a DSL to define the options
12:02:47FromDiscord<Vindaar> but I suppose then it's not docopt anymore and yeah
12:04:01FromDiscord<Vindaar> Or one could at least parse the string at CT and create typed information that way
12:05:49PMunchYeah
12:06:02*supakeen quit (Quit: WeeChat 2.9)
12:06:05PMunchAnd subcommands should be parsed into an enum or procedure calls
12:06:38*supakeen joined #nim
12:06:45FromDiscord<Vindaar> good point
12:06:47PMunchI mean best case would be parse the subcommand as procedures, then read the signature of the procedure to decide the type information
12:07:39PMunchNo changes to the docopt format, but now it supports types and automatic conversion/input handling and all you need to do is implement procedures for all the subcommands
12:08:12PMunchCould of course also have "setup"/"teardown" procedures for initialising state the is required across the various procedures
12:13:02*oculux joined #nim
12:13:59*lritter quit (Remote host closed the connection)
12:14:52PMunchI really don't like the help output format of cligen..
12:16:11FromDiscord<Vindaar> guess you need to make more free time to build your version of docopt ❤️
12:16:15FromGitter<iffy> I have some procs that operate on MyType. I also have a global singleton instance myType: MyType. How do I expose versions of the procs that work on the singleton instance without duplicating the proc signatures? Real example: https://github.com/iffy/nim-sentry/blob/master/src/sentry.nim#L154
12:17:00FromGitter<iffy> In Python, I might do `init = myType.init`
12:20:04*PMunch quit (Remote host closed the connection)
12:20:32*PMunch joined #nim
12:20:48PMunch@Vindaar, to make more free time I think I'd have to quit my job :P
12:21:05FromDiscord<Vindaar> We all know the feeling I fear 😐
12:21:30*PMunch quit (Remote host closed the connection)
12:21:42FromDiscord<mratsim> you mean you have `proc foo(T: type MyType, a: int, b: string)` and `proc foo(T: MyType, a: int, b: string)`? @iffy?
12:23:10FromGitter<iffy> mratsim, no I have `proc foo(m: MyType, a: int, b: string)` and I want to have `proc foo(a: int, b: string) = myType.foo(a, b)` without having to keep the 2 foo proc signatures synced
12:24:04FromDiscord<mratsim> sent a long message, see https://paste.rs/8EO
12:24:13FromDiscord<mratsim> the last one strategy can be adapted for what you want
12:25:28FromDiscord<mratsim> just make the body a `newCall(bindSym"yourProcSymbol", bindSym"singleton")` then a for loop to append all parameters
12:26:07*PMunch joined #nim
12:26:49PMunchSorry, my IRC client was acting up..
12:30:09FromGitter<iffy> mratsim: Okay, I was hoping for a built-in way, but I suppose writing a macro's not too bad. Thank you!
12:45:53*PMunch quit (Remote host closed the connection)
12:46:40*PMunch joined #nim
12:52:10*evilkhaoskat joined #nim
13:07:33PrestigePMunch: I'm here now
13:10:43*opal quit (Ping timeout: 240 seconds)
13:13:25*opal joined #nim
13:16:32FromDiscord<himu> How to catch and get a custom exception object? When I call `let e = getCurrentException()` I get `e` as `Exception` object and not my custom object. I have already done: `try: ... except ReturnError: ...` where `ReturnError` is my custom error object inherited from std `ValueError` object. What am I missing?
13:16:52Araqexcept ReturnError as e:
13:17:54FromDiscord<himu> Thanks that helped!
13:19:43FromDiscord<malfong> Hi, I have a question: what is the biggest advantage of Nim? Especially compared to game development and c/c++.
13:20:02disruptekit's easier to read.
13:20:25Araqit has a better type system that isn't confused about pointers and arrays or what 'bool' means
13:20:32PrestigeAnd write ^
13:20:46disrupteksympathetic memory management.
13:21:34Araqyeah with --gc:orc it's a game changer, custom MM works well with Nim's builtin solutions
13:23:58disruptekmangled names that never clash.
13:24:17Araqpff, implementation detail
13:24:30PMunchPrestige, I had a comment about nimdow, but I can't remember what it was :P
13:24:33Araqspeaking of which ... want me to review your new mangling?
13:24:51disrupteki have a new suite of problems now.
13:25:05disruptektrying to remove first-proc-arg-is-inside-mangled-name.
13:25:30Araqdon't talk about "problems", they are "challenges" and "opportunities"
13:25:37PrestigePMunch: oh :P well if you remember let me know. If it's a bug you can always write an issue, too
13:25:46Araqor even "excercises for the reader"
13:25:55disruptekterminal.setStyle() is a clash against set[terminal.Style]. so, that's fun.
13:26:05AraqXD
13:26:26disruptekbut worse, the proc gets picked up first, so the type becomes _1 in some contexts and fails link.
13:26:52disruptekit's a total clusterfuck^Wopportunity.
13:27:00PMunchPrestige, will do
13:27:12Araqhmm interesting problem
13:27:17PMunchI think it might've just been something about the bar
13:27:24PrestigePMunch: I'm doing a small refactor to implement window tagging that should fix a few small bugs
13:27:25Araqyou can use '__' vs '_' separators
13:27:27disruptekyou mean, exercise for the reader.
13:27:27PrestigeHmm okay
13:27:32disruptekAraq: that's what i do now.
13:27:46FromDiscord<malfong> Thank you for answers!! I'll try it :)b
13:27:54Araqsmart
13:28:07*hello joined #nim
13:28:15disruptekit's doesn't solve the second, and more disturbing part.
13:28:22hellohello
13:28:32*PMunch is now known as hi
13:28:33hihi
13:28:37*hi is now known as PMunch
13:29:02Prestige@mailfong there are a few game engines/frameworks written in Nim as well - nico, nimgame2, etc
13:29:05hellowhy shud i use nim?
13:29:14Prestigehello: hello
13:29:32PMunchhello, depends on what you're doing to be honest
13:29:38PMunchBut there are plenty of good reasons
13:29:39*hello quit (Remote host closed the connection)
13:30:10AraqI regard these questions as trolling tbh
13:30:27Araq"I cannot read anything, here I am, convince me"
13:31:22disruptekhello: why don't you want to use nim?
13:32:03Araqdisruptek, he already left
13:32:17FromDiscord<Rika> kicked or left?
13:32:21Araqleft
13:32:29FromDiscord<Rika> sounds like a troller to me
13:32:41AraqI didn't kick him.
13:34:03FromDiscord<Rika> well you just said that
13:34:31FromDiscord<Rika> i mean they sound like a troll because they left pretty much immediately after asking
13:34:38disruptekwe just lost a promising new member of the community. nice goin'.
13:35:11AraqRika: pretty sure it was a single person
13:38:07*waleee-cl joined #nim
13:50:05*arecacea1 quit (Remote host closed the connection)
13:51:29*arecacea1 joined #nim
13:54:05PMunchHmm, is docopt broken in recent versions of Nim?
13:54:50PMunchSomewhere between 1.0.0 and 1.2.0 it seems
13:55:13FromDiscord<Yardanico> By the way, I didn't know until a week ago that `"_field"` actually works for json.to
13:55:14FromDiscord<Yardanico> https://play.nim-lang.org/#ix=2znm
13:56:27FromDiscord<lqdev> wat
13:56:57*PMunch quit (Remote host closed the connection)
13:56:57Araqyeah, sombody could document that...
13:57:20disruptekit's a pita for mangling and i'm done chasing that shit.
13:57:22*PMunch joined #nim
13:57:44disruptekbecause you can do `"foo__"` and set my world on fire.
13:58:02disrupteki assume these people know what they're doing.
13:58:34*PMunch quit (Remote host closed the connection)
13:58:47*apahl quit (Ping timeout: 240 seconds)
13:58:47Araqdisruptek, you can mangle '_' to 'U'
13:58:58Araqand 'U' to '_U_'
13:59:02*PMunch joined #nim
13:59:07disrupteknow yer talkin'.
13:59:15Araqmangling is so much fun, I hope to join you soon
13:59:16disruptekaraq must have gotten a lot of sleep last night.
13:59:22disruptekhe's full of good ideas today. 😉
13:59:26disrupteklol
13:59:58PMunchhttp://ix.io/2znn <- this is the error I'm facing now
14:00:05Araqname mangling is the ultimate proof that everything-is-text is a the biggest design mistake in the history of computing
14:00:08*apahl joined #nim
14:00:31FromDiscord<exelotl> Araq: "they" is grammatically a valid way to refer to a person whose gender you don't know - doesn't always mean multiple people
14:00:53Araqnah, it's not
14:01:15Araqit's wrong English
14:02:09PMunchAraq, it's literally not though
14:02:27PMunchIt's been used for ages to refer to non-gendered people
14:02:39Araqif what you said were true it would be 'they is going to the cinema', pronouns don't change the verb form
14:03:07PMunchWell not quite
14:03:09FromDiscord<exelotl> You still say "they are" when talking about 1 person
14:03:22AraqI use "he/she is"
14:03:37Araqbecause "they are" is plural
14:03:49Araqand you know it's plural because it is not "they is"
14:04:11PMunch"Examples of the singular "they" being used to describe someone features as early as 1386 in Geoffrey Chaucer's The Canterbury Tales and also in famous literary works like Shakespeare's Hamlet in 1599." - https://www.bbc.com/news/newsbeat-49754930
14:04:55PMunchI'm sorry Araq, but on this you are simply just wrong. They (are) have been used for singular non-specified gendered for hundreds of years
14:04:57disruptekPMunch: ask them about the use of them.
14:05:07Araqand kings used "we" instead of "I"
14:05:16Araqand "we" is plural too
14:05:31FromDiscord<exelotl> It's weird but trust me I'm a native speaker and have been using singular "they" since I was like 6 years old. It's definitely valid English :P
14:05:39PMunchAnd if you try to apply logic rules like "are is plural" to english I have some bad news for you :P
14:05:44PMunchEnglish is a hot mess
14:06:24PMunchWe use the plural form here in Norway as well, I'm actually a bit surprised that German doesn't have a similar concept
14:07:35AraqI remain entirely unconvinced as pronouns do not change the verb form. In English or otherwise.
14:08:03disrupteki'm okay with that.
14:08:46FromDiscord<exelotl> It absolutely doesn't make sense if you sit down and think about it, but it *is* still how English works, and its the only way we have to express this besides "he or she" (which is awkward and arguably exclusionary) and "it" which is only considered acceptable when referring to pets/objects, not people
14:08:51PMunchAh, updating to a newer version of the regex library fixed my issue with docopt
14:08:53AraqI am, you are, he/she/it is, we are, you are, they are.
14:09:05Araqis how everybody learns English.
14:09:29PMunchYeah, and you can be both singular and plural
14:09:30disrupteki think maybe araq started a new medication.
14:09:38PMunchAnd it still uses "are" in both meaning
14:11:04PMunchOh well, I'm heading home
14:11:11*PMunch quit (Quit: Leaving)
14:11:32FromGitter<topcheese> Who is this person you arguing with, because I believe THEY ARE right?
14:12:07Araqlol.
14:12:29FromGitter<topcheese> Sorry, hate to jump in like a lurker. I've been here before though.
14:12:32Araqyep, totally doesn't work, wrong English for me
14:12:53disruptekwhen he finishes nim, araq is going to work on English.
14:13:06FromDiscord<acek7> are we arguing about things
14:13:11FromGitter<topcheese> Whatever works for you, works for me.
14:13:15Araqand IMHO it's wrong for you too if you're honest about it.
14:13:19disruptekthey are arguing about them, yes.
14:13:31FromGitter<topcheese> probably.
14:13:42disruptekthem is arguing about they, rather.
14:13:53narimiranAraq pretending that there's no "Sie" in german ;)
14:14:40FromDiscord<acek7> ya know i took english almost every year in high school, still terrible at it
14:14:52FromDiscord<Rika> Man the fuck did I get back to
14:15:03Araqnarimiran, that's comparable to English's "you" though
14:15:05FromDiscord<acek7> oh thank goodness
14:15:13FromDiscord<acek7> Rika get this straightened out
14:15:23FromDiscord<Rika> How
14:15:42FromDiscord<acek7> find something else for them to argue about
14:15:43disruptekwe need a native english speaker.
14:16:03FromDiscord<hugogranstrom> is the dress white or blue? 😛
14:16:09disruptekyes.
14:16:09FromDiscord<Rika> Define "native"
14:16:16FromDiscord<hobbledehoy> Is it pronounced gif or gif?
14:16:19FromDiscord<exelotl> I already used the "I'm a native speaker" argument and it didn't work :P
14:16:22FromDiscord<Rika> Gif
14:16:44FromDiscord<hobbledehoy> Wrong sadly
14:16:45FromDiscord<Yardanico> It's pronounced APNG
14:16:50FromDiscord<Rika> Webp
14:17:00FromDiscord<Yardanico> That's not animated
14:17:14FromGitter<topcheese> I know this one it's pronounced potato.
14:17:18FromDiscord<exelotl> Its pronounced hif with a hard H
14:17:30disruptekaiche?
14:17:31Araqsorry I developed my own feel for the language after decades
14:17:35disruptekor haiche?
14:17:45FromDiscord<Clyybber> It makes sense if you consider plural a superset of singular
14:17:49FromDiscord<Rika> @Yardanico https://media.discordapp.net/attachments/371759389889003532/761230390085550091/Screenshot_20201001-231735.jpg
14:18:01disruptekenglish doesn't make sense, unfortunately.
14:18:03Araqwhich also aligns well with how everybody is taught English world-wide, mind you.
14:18:03FromDiscord<Clyybber> But it truly doesn't make sense coming from german
14:18:06FromGitter<topcheese> I'm not the one to argue with a person who can create LANGUAGES. hahaha
14:18:53disruptekthey is just being difficult.
14:18:53FromDiscord<Rika> English is not a strict set of rules
14:18:56FromDiscord<Rika> It changes
14:19:09FromDiscord<Rika> Languages change, if they don't, they're considered dead
14:19:11FromDiscord<Idefau> my pronouns are gnu/linux
14:19:12FromGitter<topcheese> Yessum massa
14:19:18Araqit doesn't change as quickly as you want it to change.
14:19:20FromDiscord<lqdev> @Yardanico that's where you're wrong, kiddo https://raw.githubusercontent.com/liquid600pgm/pan/master/hello.webp
14:19:29FromDiscord<Yardanico> well okay
14:19:31FromDiscord<Rika> It changes with the speakers
14:19:32FromDiscord<lqdev> (open in browser, discord doesn't like animated webp)
14:19:37FromDiscord<Yardanico> But apng
14:19:46FromDiscord<Rika> And if there are enough speakers that say that this is valid then it is
14:19:47FromDiscord<Clyybber> Araq: The native english speakers shall decide :)
14:20:10FromDiscord<exelotl> Regardless of what you think, you should get used to singular "they" so that you don't think someone is talking about multiple people when they're talking about one person.
14:20:26FromDiscord<acek7> wait who made a language
14:20:34FromDiscord<Idefau> the anglo saxons
14:20:51FromGitter<topcheese> Well it's your world, and I'm just a squirrel trying to get the nim.
14:21:05FromDiscord<acek7> we should all just learn to talk to each other in Nim
14:21:16FromDiscord<lqdev> idf04: the anglo klaxons?
14:21:19FromDiscord<Clyybber> echo "ok"
14:21:36FromDiscord<lqdev> sorry, i had to say that.
14:21:39disruptekassert false
14:21:57FromDiscord<Clyybber> x = not x
14:22:27FromDiscord<Idefau> `if true: return false else: return true`
14:22:43FromDiscord<exelotl> echo "echo is to English as emit is to C"
14:23:01Araqexelotl: I prefer to read correct English
14:23:30FromDiscord<acek7> Wait is Araq the guy that made Nim
14:23:37FromDiscord<Idefau> no i made nim
14:23:39FromDiscord<Clyybber> Araq: Well the oxford dictionary has it since 1998
14:24:09FromDiscord<Clyybber> and just like we changed our spelling officially they can change their grammar officially
14:24:15FromDiscord<lqdev> idf04: that's what an impostor would say
14:24:28FromDiscord<Clyybber> idf04 was ejected.
14:24:29FromDiscord<Idefau> lqdev sus
14:24:48Araqyeah, that's exactly what doesn't really work. Spelling is very different from grammar
14:24:49FromDiscord<exelotl> Araq: what would it take for you to think that singular "they" is correct English?
14:25:18Araqit would take me an exelotl who says "they is"
14:25:26FromDiscord<Clyybber> Araq: Its not really grammar though
14:25:31FromDiscord<Clyybber> Its just meaning
14:25:43FromDiscord<Clyybber> Add: You can use they to refer to singular to your rules
14:25:47FromDiscord<Clyybber> no grammar changed
14:26:02FromDiscord<Clyybber> There is no "they is" it stays "they are"
14:26:09FromDiscord<Clyybber> the semantics changed but not the grammar
14:26:15FromDiscord<exelotl> I don't say "they is" in the same way I don't say "you is".
14:26:21Araqlook, it's fine that you all don't understand pronouns nor grammar. But I do.
14:26:27FromDiscord<Clyybber> bruh
14:26:32Araqand for me that's the end of the dicussion.
14:26:55FromGitter<topcheese> Well from my understanding the English language isn't perfect.
14:27:12FromDiscord<Idefau> ok lets talk esperanto
14:27:15FromDiscord<Clyybber> Araq: Can you check telegram
14:27:20FromDiscord<acek7> so what is everyone working on today
14:27:40FromDiscord<Clyybber> Araq: Or this > we really need a hidden type parameter for lent/var/openArray for convienence :D
14:28:16FromDiscord<Idefau> im working on random issues for the hacktoberfest
14:28:34FromDiscord<Idefau> stdlib mostly
14:29:20FromGitter<topcheese> Well stay safe and take care! I'll be back when I start fiddling with Nim again.
14:29:48Araqexelotl: but 2nd person is not comparable because you cannot subsitute the 'you' for <Name here>
14:29:48*arecacea1 quit (Remote host closed the connection)
14:30:12*arecacea1 joined #nim
14:30:23AraqMr Miller, would you like a coffe? - 2nd person.
14:30:43Araqwould Mr Miller like a coffee? switched to 3rd person.
14:31:30FromDiscord<Idefau> Mr Miller is milling at his mill
14:31:33Araqwould he like a coffee? 3rd person singular.
14:31:41Araqwould they like a coffee? 3rd person plural.
14:31:52disruptekthey is not drinking coffee today; they is arguing grammar in #nim instead.
14:32:07FromDiscord<Clyybber> Araq: Is your argument that its wrong? Its true by definition now, since the defacto spec of the english language includes it now :p
14:32:12FromGitter<topcheese> What do you mean. Mr Miller says to Peter, would Sally like a coffe?
14:32:53Araqnot to mention that 'you' is super bad in English, you never know if it's one or many...
14:32:57FromGitter<topcheese> oops, you were saying you.
14:33:27Araqbrave new world where singular forms got nuked
14:33:29FromGitter<topcheese> This is why I've been lurking instead. hahaha
14:34:22FromDiscord<Vindaar> cool, I always wanted #nim to turn into #EnglishGrammar. Btw, "haiche" master race, disruptek
14:34:30FromGitter<topcheese> I was waiting until I can contribute something good.
14:34:50FromGitter<topcheese> and I thought I was leaving. lol
14:35:10FromDiscord<Clyybber> lol
14:35:15FromDiscord<exelotl> Sure, 'you' and 'they' are both messy and ambigious in English, so you have to go by context.
14:35:36FromDiscord<exelotl> You can't logic you way to a solution :P
14:36:01Araqiirc they passed a law in Canada about 'se' for a gender neutral form
14:36:14Araqwell I forgot the word
14:36:57Araqbut by your logic that was all completely unnecessary because everybody can simply use 'they'. Apparently Canada doesn't understand English.
14:37:23Prestigeusing 'they' for a single person doesn't work in my brain
14:37:38Araqmillions of native speakers, all not aware that 'they' is singular now...
14:38:06PrestigeI can't tell if that's sarcasm
14:38:39Araqit is sarcasm.
14:39:18PrestigeGood haha. Can't even tell with people on this subject, now
14:39:59Araqthe truth is simply that 'they' is plural. In 2020, for most native speakers. Prove me wrong...
14:41:02FromDiscord<Idefau> can't
14:41:41FromGitter<topcheese> A good friend of mine passed away recently. They were good people ... if you're counting body AND soul.
14:42:08FromDiscord<hugogranstrom> Isn't these kinds of discussions perfect for <#371759607934353448>? ;P
14:43:33AraqClyybber: I added it to the views spec
14:43:59Araqbut here it is in a different form:
14:44:41Araqwe need to add a lifetime parameter to the view type
14:44:59FromGitter<topcheese> ooh, but I'm glad I'm still here. what "views" spec, if you don't mind me asking?
14:44:59Araqa borrow then is a type inference of this lifetime parameter
14:46:39FromDiscord<acek7> is the guy who does the nim plugin for VSCode in here
14:46:43Araqhttps://nim-lang.github.io/Nim/manual_experimental.html#view-types
14:48:13FromGitter<topcheese> Thanks!
14:51:59*bung_ quit (Ping timeout: 260 seconds)
14:53:04FromDiscord<exelotl> > [...] for most native speakers. Prove me wrong...↵Typically these discussions start when 1 person misunderstands a message due to thinking "they" is only plural, and several other people explain that's not the case. So I'd be very doubtful that "most native speakers" think that the singular usage is invalid. I've never seen this argument happen IRL among native speakers.
14:53:15FromDiscord<XxDiCaprioxX> `continuations: Table[string, string]` `let continuationTypes = ["", "", ""]` `continuations: array[3, string]` `continuations.add(continuationTypes[i], continuations[i])` does anyone see the problem?
14:55:08FromDiscord<Rika> You redefined continuations
14:55:55*tane joined #nim
14:56:14disruptek~views is https://nim-lang.github.io/Nim/manual_experimental.html#view-types
14:56:14disbotviews: 11https://nim-lang.github.io/Nim/manual_experimental.html#view-types
15:05:41FromDiscord<Clyybber> Araq: Makes sense, but this is still algorithm internal right?
15:05:52Araqright
15:06:07FromDiscord<Clyybber> cool
15:06:51disruptekc-blake just wrote a new package manager for nim.
15:07:21*hnOsmium0001 joined #nim
15:07:27Araqdisruptek, link?
15:08:05disrupteki'm sure he will publish it soon.
15:08:26disruptekhe just emailed it to me for comments.
15:09:12Araqbah, should have told us after he made it public
15:09:22Araqmaybe he didn't want us to know just yet
15:09:39disruptekhe shouldn't have told me, then.
15:09:46Araqlol
15:10:10Araqgood to know you're a trustworthy friend
15:10:43disruptekhe's pretty verbose, and there's no mention of the secretive nature of package manager development.
15:10:53disruptekhe wrote it as a forum post, originally.
15:11:01disrupteki'm pretty sure it's safe to disseminate.
15:11:23Araqalright
15:11:41disruptekjust sayin'; it's good to have more package managers.
15:12:01AraqI'd rather have a single one that works well
15:12:39Araqbut it's ok
15:13:28disrupteki feel bad that you can't install nimph, but not bad enough to try to debug windows for you.
15:13:43Araqer, I didn't tell you
15:13:49Araqbut 'bump' crashes for me now
15:13:54disrupteklol why
15:13:59Araqdunno
15:14:05FromDiscord<Clyybber> bumped too hard
15:14:06Araqit's probably project specific
15:14:21FromDiscord<acek7> whats the benefit of having one good package manager over multiple
15:14:33leorizeAraq: #15443 shouldn't change anything other than reducing code
15:14:34disbothttps://github.com/nim-lang/Nim/pull/15443 -- 3koch: unify nimble building scripts [backport:1.4]
15:14:49leorizeI made cloneDependency accept bundled directory recently
15:14:53PrestigeI need to try nimph, still
15:14:53FromDiscord<Clyybber> @acek7 > one good package manager
15:15:00Araqleorize, hmmm
15:15:40Araqacek7: what's the benefit of one beautiful girlfriend over three ugly ones?
15:15:49FromDiscord<acek7> you got a point
15:16:00FromDiscord<acek7> also who ever made the nim logo did a damn fine job
15:16:04disrupteki think araq just called nimph ugly.
15:16:09Prestigelmao
15:16:21FromDiscord<Clyybber> Araq bad example, cheerleader effect :P
15:16:54FromDiscord<acek7> the nim logo gives me medieval ninja feels
15:17:02disruptekleorize: what is cloneDependency and what are bundled directories?
15:17:03FromDiscord<Clyybber> :nimrawr:
15:17:28leorizedisruptek: it's a helper proc for koch to clone an external dep because araq hates submodules
15:17:32Araqdisruptek, lol
15:17:42Araqleorize, alright merge it yourself
15:17:54disruptekhe just doesn't understand them. they. it. is. whatever.
15:18:13leorizeAraq: I don't have commiter permission lol
15:21:07Araqwe should change that
15:21:51FromDiscord<acek7> Araq whatever happened to nimedit
15:22:34Araqpeople paid me for compiler development, not for crappy IDEs
15:23:16FromDiscord<acek7> another crappy IDE was just what i needed
15:23:31Araqfeel free to create PRs
15:23:35disruptekand there are so few to choose from.
15:23:56PrestigeI really need to contrib to nimlsp.
15:24:23AraqI really need to finish my nimsuggest reimplementation...
15:26:01*bung joined #nim
15:26:31PrestigeAraq: Let's make it a race. First one done gets 1 million internet points
15:26:40*evilkhaoskat quit ()
15:27:51*mmohammadi9812 joined #nim
15:30:27*bung quit (Ping timeout: 240 seconds)
15:30:50leorizeAraq: no more project separation (on the user side) please :P
15:31:11leorizeI can tell you that 70% of nim.nvim is dedicated to managing nimsuggest instances
15:31:26leorizeI really just want to have exactly one
15:32:06disruptekone per each nvim instance?
15:33:36disruptekwhen you edit files in disparate environments, nimsuggest configuration needs to vary accordingly. so a suggestion server is really the right approach long-term.
15:35:35leorizeyep
15:35:59leorizenimsuggest configuration is just an implementation detail tbh
15:36:37disruptekyes, but it's senseless to run multiple instances that share the same config, right?
15:37:10leorizeyep, but nimsuggest can also be a server managing all different nimsuggest instances
15:37:25leorizethen abstract the interface over them so that plugin writers don't have to care
15:37:32disruptekyeah, that's my point.
15:38:39leorizeI'm waiting for PMunch's nimlsp to gain semantic highlighting to explore a direction for nim.nvim that lets me remove like 70% of the current code :P
15:38:59disruptekit would be good to unify those efforts, yes.
15:39:11leorizein the mean time I still have to write a logger module for nim.nvim...
15:42:35*JustASlacker joined #nim
15:47:26*JustASlacker quit (Ping timeout: 246 seconds)
15:52:05*FromDiscord quit (Remote host closed the connection)
15:52:19*FromDiscord joined #nim
15:52:35*FromDiscord quit (Remote host closed the connection)
15:52:51*FromDiscord joined #nim
16:02:12FromDiscord<himu> Is there something like `instanceof` in Nim?
16:02:30disruptektry `of`
16:02:48*dv-^_^6 quit (Quit: The Lounge - https://thelounge.chat)
16:03:29Prestigefor type comparisons?
16:05:23FromDiscord<himu> Yeah. Related to inheritance.
16:06:35FromDiscord<himu> I am passing a parent object as parameter to a proc. Just wanted to check what is the type of the child inside the body of the proc
16:06:44FromDiscord<Rika> As disruptek said
16:06:46FromDiscord<Rika> Use of
16:06:53FromDiscord<himu> Yeah. It's working.
16:06:55FromDiscord<himu> Thanks
16:07:11disruptekweird.
16:28:28reversem3Does anyone get nimsuggest errors when using neovim ? like example Process failed to start: too many open files
16:28:43reversem3or this nimsuggest is only available to files on disk
16:28:43reversem3Error detected while processing function nim#suggest#ProjectFindOrStart[4]..nim#suggest#ProjectStart[1]..ni
16:28:43reversem3m#suggest#ProjectFileStart[7]..nim#suggest#manager#NewInstance[37]..<SNR>69_instance_start:
16:34:57leorizereversem3: are you on the latest nim.nvim?
16:35:02leorizewhat is your nimsuggest version?
16:35:25leorizeand the "nimsuggest is only available to files on disk" is intentional :P
16:35:37leorizenimsuggest can't process files that are not on disk, unfortunately
16:36:47FromDiscord<kodkuce> hmm what you guys use for wrting stuff you so you dont froget, like writing on notebooks is bad i allwies lose them around house, i need like some note taking app like where i can post foramted code too and stuff
16:37:00*reversem3 sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/VpXetRbhPilJFXqsTqMqutgK/message.txt >
16:37:09leorizeemacs diehard would use org-mode
16:37:16leorizeI just write a bunch of markdown
16:37:18FromDiscord<kodkuce> anygood suggestion for this, i guess i can self host matrix too and send msg to myself
16:37:41FromDiscord<kodkuce> probbaly should asked in offtopick sorry
16:37:43reversem3Use JoplinApp for all your notes
16:37:48FromDiscord<lqdev> @kodkuce synapse (the official matrix server) is really heavy because it's written in node.js
16:37:52FromDiscord<lqdev> so it's a bad idea
16:38:01FromDiscord<kodkuce> dont they have some new one
16:38:03leorizenah, synapse is a python app
16:38:07leorizeit's even worse :P
16:38:29leorize[m]1nixfreak: hmm that's weird, maybe try updating nim.nvim?
16:38:31FromDiscord<kodkuce> somthing named on D i think they sey that will be really light
16:38:44leorizedentrite is the new thing but it's not production ready yet
16:38:54FromDiscord<lqdev> leorize iirc when friends were setting up their own homeserver it used node.js
16:39:13FromDiscord<lqdev> waiting for npm packages to install
16:39:18FromDiscord<lqdev> at least
16:39:29supakeenThe big matrix homeserver is Python I believe.
16:39:31leorizematrix bots are usually written in js
16:39:42supakeenAh this was already said.
16:39:42leorizewhich is probably why your friends needed node
16:39:45*supakeen runs away
16:39:45reversem3JoplinApp is really good , I have probably used the majority of note taking apps , including CLI and GUI based and JoplinApp is opensource , free, and you can encrypt everything , plus you can use a cli if you want also , I have home, work, all my notes on it now , uses MD, github flavor , latex and much much more
16:40:19FromDiscord<kodkuce> nice does it have some backup option too?
16:40:26reversem3https://joplinapp.org
16:41:24FromDiscord<kodkuce> yep allredy reading
16:41:35FromDiscord<mratsim> Is there a reason why terminal.nim doesn't have gray/light gray?
16:43:51disruptekracist.
16:44:35FromDiscord<Avatarfighter> I don't know why I excepted more when I woke up
16:45:14leorizelol, the true reason is that those are not in ansi 16-color set iirc
16:45:39FromDiscord<lqdev> there's light black and normal white
16:45:46leorize7 and 15 should be the values you're looking for, don't know if they have it in there though
16:54:24reversem3leorize: thanks I had to do some updates with the Plug manager
16:57:52reversem3Still get segmantation faults when saving but at least it works now
16:58:11reversem3vi floats.nim [11:55:12]
16:58:11reversem3[1] 99267 segmentation fault /usr/local/bin/nvim floats.nim
16:58:51leorize[m]1Araq: re: views, are we gonna see a `borrow(x)` proc/tempate?
16:59:01leorize[m]1or are you aiming for `lent` inferrence?
16:59:12leorize[m]1template*
17:00:07leorize[m]1reversem3: you might need to update your nvim if it segfault :P
17:03:46disruptek!requires cligen
17:03:48disbotcligen: 11jiro4989[iler,3termnovel,3coc-radar], 11snus-kin[3aggregate,3mmb], 11ikarino[3DeepTownOpt,3nimSCS], 11disruptek[3wet,3gully], 11yglukhov[3clurp,3gplay], 11cwpearson/3graph-datasets2, 11treeform/3fidget, 11jonasrauber/3norm, 11momeemt/3BlackvasCli, 11oxfordmmm/3catwalk, 11ba0f3/3rcon2tele, 11andreas-wilm/3lofreq3, 11ixalender/3dopic, 11gis-rpd/3fluidemux
17:04:18reversem3I don't see in the style guid if you should use parenthesis for echo? Should I be using () when printing something to the screen or no?
17:04:33reversem3 * I don't see in the style guide if you should use parenthesis for echo? Should I be using () when printing something to the screen or no?
17:04:39FromDiscord<Rika> there is none afaik
17:04:44FromDiscord<Rika> use with or without if you want
17:05:06disruptek()-free is called "command syntax" and it's equivalent and optional.
17:06:04reversem3and this doesn't have any kind of performance impact , like the compiler has to do more computations because of parenthesis ?
17:06:19disruptekno.
17:06:36reversem3kk thx
17:06:57FromDiscord<Rika> and if it did your project would need to be absolutely gargantuan to see enough of an impact
17:09:17voidpi''
17:09:24voidpisorry
17:12:12*natrys joined #nim
17:14:29FromDiscord<haxscramper> Is it possible to hide singe field for object when importing? Something `import X except Y` but for single object field
17:19:49*xace quit (Ping timeout: 246 seconds)
17:26:57*bung joined #nim
17:27:07FromDiscord<Rika> no
17:27:16FromDiscord<Rika> if its exported its exporte
17:27:17FromDiscord<Rika> (edit) 'exporte' => 'exported'
17:31:03*thomasross joined #nim
17:32:54*haxscramper joined #nim
17:35:52*bung quit (Ping timeout: 256 seconds)
17:43:20*vicfred quit (Quit: Leaving)
17:48:35FromDiscord<Yardanico> hacktoberfest spam already started lol
17:48:39FromDiscord<Yardanico> Saw these two PRs
17:49:23*opal quit (Ping timeout: 240 seconds)
17:51:34FromDiscord<Avatarfighter> Does nimble allow you to have a certain file in a project be a dependency?
17:51:55FromDiscord<Avatarfighter> i assume no but I feel bad borrowing a file from someone repo
17:52:41*opal joined #nim
17:53:46FromDiscord<Yardanico> just credit them
17:53:52FromDiscord<Yardanico> Link to the repo
17:54:03FromDiscord<Avatarfighter> Yeah I should probably just do that
17:54:08FromDiscord<Yardanico> and license
17:54:20*vicfred joined #nim
17:54:34FromDiscord<Yardanico> There's a problem by the way - if there's no license in a GitHub repo, it's technically "all rights reserved" and you can't use it
17:54:46FromDiscord<Avatarfighter> Ah
17:54:52FromDiscord<Avatarfighter> Well then I'll just pretend I didn't know
17:54:59FromDiscord<Avatarfighter> 🤷‍♂️
17:55:08FromDiscord<Yardanico> so it's better to ask the creator although most of them just forget to add a license
17:55:50FromDiscord<Avatarfighter> Yeah ofc
17:57:53FromDiscord<Rika> ......unless the license is on the files themselves
17:59:20FromDiscord<Clyybber> Araq: https://github.com/nim-lang/Nim/commit/800d6204cd1e55919fb608ed8f151774894ee2b7 lol
18:00:57*EastByte quit (*.net *.split)
18:00:57*voltist quit (*.net *.split)
18:00:57*silvernode[m] quit (*.net *.split)
18:00:57*OMGOMG quit (*.net *.split)
18:01:27FromDiscord<Avatarfighter> hm I regret toggling nimble dark mode on
18:01:38FromDiscord<Yardanico> You should've made a PR @Clyybber
18:01:41FromDiscord<Yardanico> xdd
18:01:44FromDiscord<Avatarfighter> LMAO
18:01:49FromDiscord<Clyybber> heh, for the emojis
18:02:00FromDiscord<Yardanico> For hacktoberfest
18:02:54FromDiscord<Avatarfighter> This is crazy
18:02:54FromDiscord<Avatarfighter> https://nimble.directory/pkg/neel
18:03:01FromDiscord<Avatarfighter> I never knew that someone did this!!
18:03:42FromDiscord<Yardanico> It's very simple at the moment though
18:03:58FromDiscord<Yardanico> There are already nim bindings to webview and the like
18:04:02FromDiscord<Avatarfighter> Yes but just the fact that someone is interested in making such a library is very exciting
18:05:25*bung joined #nim
18:07:47FromDiscord<Yardanico> Found this look
18:07:49FromDiscord<Yardanico> Lol*
18:07:54FromDiscord<Yardanico> https://media.discordapp.net/attachments/371759389889003532/761288291966124083/IMG_20201001_210740_113.jpg
18:08:13FromDiscord<Avatarfighter> I wish the shirts for hacktoberfest were of better quality
18:08:30FromDiscord<Avatarfighter> I got one either last year or the year before and the quality was meh
18:08:36FromDiscord<Yardanico> Well, they're free
18:08:41FromDiscord<Avatarfighter> I know
18:08:50FromDiscord<Rika> tfw too picky with shirt cloth
18:09:15FromDiscord<Avatarfighter> The only reason I'm being picky is because getting a deal with a printing company isn't as hard as it seems lmao
18:09:16FromDiscord<Rika> my skin seems really sensitive to certain types of cloth
18:09:17FromDiscord<Yardanico> I have one from 2018 (chose the wrong size though) and its quality is pretty good
18:09:37FromDiscord<Rika> avatar i mean myself
18:09:48FromDiscord<Clyybber> @Yardanico lol
18:10:01FromDiscord<Avatarfighter> Rika: Ohhh that makes sense lmao
18:10:19FromDiscord<Clyybber> I don't want that t-shirt, probably produced with child labor
18:10:21FromDiscord<Avatarfighter> I thought I was being called picky I was ready to pack up all my `:)` PRs and typo fixes smh
18:10:39FromDiscord<Yardanico> @Clyybber you can plant a tree or something instead
18:11:34*bung quit (Ping timeout: 260 seconds)
18:13:00FromDiscord<Avatarfighter> is 18 cm a lot?
18:13:03FromDiscord<Clyybber> I'd rather do it myself
18:13:08FromDiscord<Yardanico> "T-shirts (or the option to plant a tree) will be awarded on a first-come, first-serve basis to the first 70,000 participants who successfully complete the Hacktoberfest challenge. We’ll start sending out emails with more details on redeeming T-shirts throughout the month, so stay tuned."
18:13:13FromDiscord<Clyybber> @Avatarfighter depends on what you are measuring lol
18:13:16FromDiscord<Yardanico> @Avatarfighter it depends on what you're measuring
18:13:23FromDiscord<Avatarfighter> Well
18:13:25FromDiscord<Rika> > is 18 cm a lot?↵@Avatarfighter are we gonna be whipping out the "is one hour long" rhetorical questions again
18:13:33FromDiscord<Avatarfighter> nono
18:13:36FromDiscord<Clyybber> nah its a dick contest
18:13:37FromDiscord<Rika> lol
18:13:40FromDiscord<Rika> DAMN
18:13:45FromDiscord<Avatarfighter> Im just trying to measure my e-peen smh
18:13:51FromDiscord<Yardanico> what
18:13:59FromDiscord<Rika> his electronic penis
18:14:07FromDiscord<Yardanico> yes, but what is that
18:14:18FromDiscord<juan_carlos> If someone makes all my tests and I never see him/her again, works for me. 🤷‍
18:14:30FromDiscord<Yardanico> @disruptek we need your expert opinion
18:14:35*bung joined #nim
18:14:45FromDiscord<Clyybber> (edit) 'I'd' => 'I'
18:14:51FromDiscord<Avatarfighter> E-peen mean Online Penis
18:15:00FromDiscord<Avatarfighter> e-peen equates to your online ego
18:15:07FromDiscord<Avatarfighter> the bigger the e-peen the bigger the online ego
18:15:13FromDiscord<Rika> never knew the ego is stored in the penis
18:15:25FromDiscord<Avatarfighter> how else do you think ego on the internet is stored?
18:15:25FromDiscord<Rika> you learn new things every day
18:15:34FromDiscord<Rika> its just like how pee is stored in the balls right?
18:15:42FromDiscord<Avatarfighter> Yeah exactly
18:15:59FromDiscord<Rika> now that i think about it, do girls pee, or have egos
18:16:16FromDiscord<Avatarfighter> Ugh I need a ruler I can't tell if 18cm is tall or not for a case
18:16:31FromDiscord<Rika> for what case
18:16:32FromDiscord<Clyybber> wtf
18:17:02FromDiscord<Avatarfighter> I'm changing my NAS because the current SOC that I have is like 20 years old and it can barely do SMB
18:17:20FromDiscord<Avatarfighter> I also want to be able to run a nim webserver on it without it choking to death
18:17:36FromDiscord<Yardanico> Don't fuck [with] electronics
18:17:53FromDiscord<Avatarfighter> psh
18:17:59FromDiscord<Avatarfighter> I'm expert electronic man
18:18:04FromDiscord<Avatarfighter> with all the experience
18:18:24FromDiscord<Rika> man cases arent usually measured by the length of one side
18:18:31FromDiscord<Avatarfighter> I know
18:18:45FromDiscord<Avatarfighter> The actual dimensions are `D262mm * W187mm * H180mm`
18:18:59FromDiscord<Avatarfighter> I just was trying to figure out if the case was taller than my current NAS
18:19:04*bung quit (Ping timeout: 260 seconds)
18:19:09FromDiscord<Rika> dont you have a ruler or a measuring tape
18:19:25FromDiscord<Avatarfighter> I do now smh
18:19:41FromDiscord<Avatarfighter> the new case would be taller by 6cm ish
18:19:44FromDiscord<Avatarfighter> whatever though
18:24:32*bung joined #nim
18:29:16disruptekAraq: yeah, the cligen stuff is fixed in 1.8.22+.
18:29:18*bung quit (Ping timeout: 260 seconds)
18:31:22*vicfred quit (Quit: Leaving)
18:32:23*xace joined #nim
18:33:21*bung joined #nim
18:37:58*bung quit (Ping timeout: 258 seconds)
18:40:31*vicfred joined #nim
18:44:16*bung joined #nim
18:45:21*Vladar quit (Quit: Leaving)
18:47:30*EastByte joined #nim
18:47:30*voltist joined #nim
18:47:30*silvernode[m] joined #nim
18:47:30*OMGOMG joined #nim
18:48:27*bung quit (Ping timeout: 240 seconds)
18:52:52*bung joined #nim
18:56:59*bung quit (Ping timeout: 240 seconds)
19:03:41*bung joined #nim
19:08:08*bung quit (Ping timeout: 240 seconds)
19:10:12*bung joined #nim
19:16:49*bung quit (Ping timeout: 260 seconds)
19:17:26haxscramperHow to launch X11 applications via `startProcess`? Aside from setting `DISPLAY` I couldn't find any examples on this.
19:18:19haxscramperMaybe not even in nim, example with `exec` (or alternative of `startProcess`) should also be sufficient
19:20:48disrupteksame way you launch anything else.
19:21:01disruptekwhat problem have you found?
19:23:18*bung joined #nim
19:23:28*dv-^_^6 joined #nim
19:28:25*bung quit (Ping timeout: 264 seconds)
19:28:56*bung joined #nim
19:33:41haxscramperIf I pass any non-default (non-nil) `env` value it cannot find connection to display even if I pass `DISPLAY=:0` as env. I actually haven't tested clean program starting (without env at all) earlier, so it must be due to some weird interactions of environment variables
19:34:56disruptekis your display on :0?
19:35:09*bung quit (Ping timeout: 240 seconds)
19:35:41*bung joined #nim
19:36:13FromDiscord<haxscramper> yes
19:36:59ZevvI never met anyone in real life whose display was not on :0
19:37:20disrupteknonsense.
19:37:22PrestigeI've never met anyone in real life that would know
19:38:39disruptekmy display is on HDMI-A-2.
19:39:40haxscramperI just pass `env = {"DISPLAY" : ":0"}.newStringTable()` and it stops working.
19:40:07*bung quit (Ping timeout: 240 seconds)
19:40:09disruptekit probably needs other shit from your env, too.
19:41:36*bung joined #nim
19:42:36haxscramperLooks like using `setEnv`/`delEnv` is better idea for this kind of things in the end
19:44:04FromDiscord<Avatarfighter> Does anyone know of a good library for making terminal UIs?
19:44:17FromDiscord<haxscramper> !repo illwill
19:44:18disbothttps://github.com/johnnovak/illwill -- 9illwill: 11 15 128⭐ 13🍴 & 1 more...
19:44:23FromDiscord<Avatarfighter> thanks
19:44:26FromDiscord<Avatarfighter> never heard of this 🙂
19:45:47*bung quit (Ping timeout: 240 seconds)
19:52:55*bung joined #nim
19:57:30*bung quit (Ping timeout: 260 seconds)
20:00:36*bung joined #nim
20:01:00FromDiscord<Yardanico> Wow Hacktoberfest this year is so useful! Already tons of useful PRs to the Nim website repo!
20:04:11FromDiscord<mratsim> someone said it's a DOS against open-source maintainers
20:04:51FromDiscord<mratsim> this one takes the cake https://github.com/nim-lang/website/pull/218
20:04:52disbotrename gem file to gamefile
20:05:01*bung quit (Ping timeout: 246 seconds)
20:06:05FromDiscord<Idefau> what the fuck haha
20:06:16FromDiscord<Idefau> you gotta appreciate tho, he explained his PR in the comments
20:06:21FromDiscord<Idefau> thats way more effort than the others
20:06:51FromDiscord<Yardanico> @mratsim it's mostly caused by Indian skids who have only recently got access to the internet and they're trying a lot of stuff
20:07:02*bung joined #nim
20:07:04FromDiscord<Yardanico> This "an amazing project" PR comes from https://youtu.be/v9902nonYas
20:07:11FromDiscord<Idefau> im the guy in the vid
20:07:16FromDiscord<Yardanico> Imagine promoting hurting open source
20:07:24FromDiscord<Yardanico> and they don't even realize
20:07:40FromDiscord<Idefau> their brain is set on the free tshirt part
20:07:45FromDiscord<Idefau> (edit) 'tshirt' => 'stuff'
20:08:17FromDiscord<Yardanico> exactly
20:08:18*Trustable quit (Remote host closed the connection)
20:09:31FromDiscord<Yardanico> I'm not saying Indian people are bad - no, there's a lot of cool Indian people, but since there are people (in the whole world) who don't realise that they're doing something bad - India has more of them on the absolute scale
20:09:42FromDiscord<Yardanico> And their internet access got much better in the last few years
20:09:59FromDiscord<Yardanico> There's also China, but they have GFW so we don't see Chinese people often
20:10:56FromDiscord<mratsim> seems like I submitted 4 PRs today xD
20:11:04FromDiscord<Idefau> damn that fast
20:11:10FromDiscord<Idefau> i only got one 😦
20:11:52FromDiscord<Rika> i havent programmed in days now i think
20:11:55FromDiscord<Avatarfighter> not to flex but my personal projects have been getting PRs from myself 🥱
20:11:56*bung quit (Ping timeout: 272 seconds)
20:12:07FromDiscord<Idefau> wait
20:12:08FromDiscord<Yardanico> That's totally okay
20:12:12FromDiscord<Yardanico> And allowed
20:12:12FromDiscord<Idefau> PRs to yourself count?
20:12:14FromDiscord<Avatarfighter> Yeah
20:12:14FromDiscord<Yardanico> yes
20:12:16FromDiscord<mratsim> sure
20:12:16FromDiscord<Yardanico> Of course
20:12:20FromDiscord<Idefau> ...
20:12:24FromDiscord<Rika> sounds like an exploit
20:12:26FromDiscord<Yardanico> Just don't tell the spammers
20:12:28FromDiscord<haxscramper> Can I add something to default proc parameter without writing default value again? Like in this https://play.nim-lang.org/#ix=2zpG
20:12:29FromDiscord<Avatarfighter> I just like to make valuable PRs to myself
20:12:38FromDiscord<mratsim> I did 5 PRs actually
20:12:39FromDiscord<Avatarfighter> I use branches anyways so I have free PRs 😛
20:12:50FromDiscord<Yardanico> @haxscramper i don't think that this is possible
20:13:38*bung joined #nim
20:14:20FromDiscord<Idefau> meh i'll just work on random nim issues
20:14:25FromDiscord<Idefau> fun
20:14:36FromDiscord<Idefau> most of my current projects are in a finished state anyway
20:14:46FromDiscord<Rika> congrats
20:14:52FromDiscord<Rika> doing things most devs cannot do
20:14:57FromDiscord<Idefau> wowang
20:14:58FromDiscord<Idefau> thanks
20:15:23FromDiscord<Avatarfighter> that's super exciting
20:15:48FromDiscord<Idefau> i wish i didnt have these long homeworks
20:15:54FromDiscord<Idefau> so i can do epic PRs instead
20:16:06*narimiran quit (Ping timeout: 258 seconds)
20:16:18FromDiscord<haxscramper> The only thing you get for hacktoberfest is these shirts right?
20:16:29FromDiscord<Idefau> or you can plant a tree
20:17:12FromDiscord<dom96> wow, definitely a lot more spam for Hacktoberfest than in the past
20:17:22FromDiscord<Idefau> that's a good sign I guess
20:17:27FromDiscord<Idefau> means more popularity
20:20:04FromDiscord<dom96> hm, they've got 70k t-shirts
20:20:10FromDiscord<dom96> damn, I feel like that's gonna go quick
20:20:18FromDiscord<Avatarfighter> I don't think so tbh
20:20:22FromDiscord<dom96> AFAIK there was no limit in previous years
20:20:42*bung quit (Ping timeout: 258 seconds)
20:21:12FromDiscord<Avatarfighter> I wouldn't be surprised if many coders are timid about their abilities and are unsure to do PRs
20:21:31FromDiscord<Yardanico> @dom96 i think there was a 100k limit in 2019
20:21:59FromDiscord<Yardanico> Or even earlier
20:22:35Jjp137it was 50k in 2019 but my last PR last year was pretty late and I still got one
20:23:08FromDiscord<dom96> oh really, interesting
20:23:11*bung joined #nim
20:23:19FromDiscord<dom96> afaik I was pretty late too and got one nonetheless
20:25:21FromDiscord<demotomohiro> Im trying to wrap libnice with nimterop and libnice uses glib, gio and gobjects.↵Should I use oldgtk3 or gintro for this wrapper project?↵gintro seems newer better project but they doesn't have some types (guint, gpointer, etc) used in libnice.↵But oldgtk3 doesn't have g_networking_init proc that is used in example code of libnice.
20:27:50*bung quit (Ping timeout: 260 seconds)
20:31:05disruptekuse the better code and improve it.
20:31:46FromDiscord<shashlick> There's a nimterop gtk wrapper on github gist
20:32:01*bung joined #nim
20:32:08FromDiscord<shashlick> But it's ridiculously huge
20:32:14FromDiscord<shashlick> The output
20:32:38FromDiscord<dom96> So my current Hacktoberfest plan: fix some choosenim bugs and maybe write a blog post about using Nim's async await
20:33:03leorize[m]1@demotomohiro if libnice support gobject introspection you can use gintro to create a wrapper for it
20:33:47FromDiscord<shashlick> https://gist.github.com/genotrance/755a1aff57989840f867a03015592aa8
20:34:24FromDiscord<shashlick> Maybe just copy paste the minimal stuff you need
20:34:55leorize[m]1the way to wrap gtk is via gobject introspection
20:35:24leorize[m]1the introspection system is a bunch of xml describing the native interface iirc
20:35:32leorize[m]1and it's officially supported by gtk developers
20:35:44disrupteklikely how gintro works, right?
20:35:48leorize[m]1yep
20:35:58disruptekso use gintro and improve it. please.
20:36:33FromDiscord<demotomohiro> @leorize↵Thank you! I dont know about gobject-introspection, but it seems libnice build system have an option about gobject-introspection.↵https://github.com/libnice/libnice/blob/master/meson_options.txt
20:36:42*bung quit (Ping timeout: 260 seconds)
20:37:32leorize[m]1I present you the change needed to wrap libnotify with gintro: https://github.com/StefanSalewski/gintro/commit/a4f845f987fed04316a941371c2e7e89ff2ab19a
20:38:00FromDiscord<Yardanico> lol
20:38:46leorize[m]1I do wish that he made the generator into a proper library though, that would makes it easier for 3rd parties to wrap libraries (and maybe even add a high-level interface on top)
20:38:47FromDiscord<demotomohiro> gintro doesn't have some types used in libnice but I cannot simply add these type definition to the gintro code because they are generated from xml.
20:39:00FromDiscord<Yardanico> you don't need to
20:39:06FromDiscord<Yardanico> wouldn't it generate them automatically?
20:40:28*bung joined #nim
20:40:41FromDiscord<XxDiCaprioxX> When reading a string that goes `"foo \n bar"` from a json how do I make nim turn it into a multiline?
20:40:58FromDiscord<demotomohiro> I cannot find Guint or guint type in gintor/glib.nim.↵I think gintro uses cuint or uint as guint type.
20:41:10leorize[m]1@XxDiCaprioxX it should be multiline by default
20:41:28leorize[m]1@demotomohiro just try adding the library to the gintro generator
20:41:46leorize[m]1gintro knows what it's doing :P
20:42:00leorize[m]1it's unlikely that he wrapped the entirety of gtk without uint
20:43:04FromDiscord<XxDiCaprioxX> > @XxDiCaprioxX it should be multiline by default↵@leorize[Matrix]1#0000 nope. Maybe because string and multiline string are two different types?
20:43:24leorize[m]1@XxDiCaprioxX can I see how you're doing it?
20:43:33leorize[m]1and no, multiline string is not a type
20:43:52FromDiscord<XxDiCaprioxX> Give me a minute
20:44:27FromDiscord<demotomohiro> @leorize↵Thank you! I will try it but I need to learn how to do that.
20:44:50FromDiscord<XxDiCaprioxX> `"If you forget the rules of Chess don't worry... \n... you're allowed to check"` ```proc readJokes() =↵ let dbfile = parseFile(jokesPath)↵ for joke in dbFile["jokes"]:↵ jokes.add(unescape($joke))```
20:45:04FromDiscord<Rika> leorize, i think they mean reading a json string that has the chars " \n " in it
20:45:19FromDiscord<Rika> they want to convert that into a newline
20:45:26FromDiscord<XxDiCaprioxX> Yes
20:45:28FromDiscord<XxDiCaprioxX> Exactly
20:45:39leorize[m]1o no Yardanico what has your bot done to that message
20:46:22FromDiscord<Rika> dicap, you can always do the easy but naiive approach to do `theString.replace("\\n", "\n")
20:46:23FromDiscord<Rika> (edit) '"\n")' => '"\n")`'
20:46:52leorize[m]1a replace table is how you should do it
20:46:53FromDiscord<XxDiCaprioxX> Oh okay
20:46:59FromDiscord<XxDiCaprioxX> What is that
20:47:06leorize[m]1alternatively write your jokes in an actual format
20:47:16leorize[m]1you can write those in json...
20:47:25FromDiscord<XxDiCaprioxX> Wdym by that
20:48:29leorize[m]1I think we are going a bit too fast, what's the format of your jokes file?
20:48:40FromDiscord<XxDiCaprioxX> json
20:48:57FromDiscord<XxDiCaprioxX> And json does not support multiline strings
20:49:15FromDiscord<XxDiCaprioxX> Or let's say you have to use \n for new lines
20:49:28leorize[m]1`s/unescape($joke)/joke.getStr()/`
20:49:42FromDiscord<XxDiCaprioxX> What is s/ ?
20:49:59FromDiscord<haxscramper> sed
20:50:07*mmohammadi9812 quit (Quit: I quit (╯°□°)╯︵ ┻━┻)
20:50:10leorize[m]1it's a sed expression, tl;dr: `s/original/replaced/'
20:50:22FromDiscord<XxDiCaprioxX> Oh okay
20:50:42FromDiscord<XxDiCaprioxX> So I should write unescape($joke) with joke.getStr()?
20:50:56leorize[m]1it means use joke.getStr()
20:51:06leorize[m]1`$` on a JsonNode gives you the JSON representation of the node
20:51:43*NimBot joined #nim
20:51:57leorize[m]1yep, Nim json parser already parsed the newline for you
20:52:09leorize[m]1it just that by using `$` it has to encode it back into valid json
20:52:27FromDiscord<XxDiCaprioxX> Okay perfect, thank you
21:03:24FromDiscord<juan_carlos> http://hacktoberfail.com
21:05:08leorize[m]1https://hacktoberfest.digitalocean.com/hacktoberfest-update
21:05:17leorize[m]1they gave up it seems
21:05:54leorize[m]1this is kinda stupid
21:06:57leorize[m]1they made the competition to encourage open source contribution with a prize, then announce how to cheat your way to get the prize.
21:07:18FromDiscord<dom96> olwtf
21:07:20FromDiscord<dom96> (edit) 'olwtf' => 'lolwtf'
21:07:31FromDiscord<dom96> they are encouraging people to create PRs on their own repos?
21:08:11leorize[m]1you read it right
21:08:23FromDiscord<Avatarfighter> ok who leaked the strategy we discussed here
21:09:03leorize[m]170k shirts/trees are now officially worthless lol
21:09:52FromDiscord<dom96> Ugh, makes me trying to bother and create some quality PRs feel like I'm just wasting time and potentially losing the opportunity to get a t-shirt
21:11:42disruptekman, that's terrible.
21:11:53FromDiscord<Avatarfighter> imo what would be nice is if open source projects could opt in their projects to hacktoberfest
21:12:46disruptekit takes me like 10-15 years to kill a t-shirt. what i really need are socks.
21:13:25FromDiscord<Avatarfighter> you gotta get coding socks
21:13:46leorize[m]1@Avatarfighter wdym? hacktoberfest is open to all
21:13:58FromDiscord<Avatarfighter> ik leorize, I meant to stop spam
21:14:07FromDiscord<Avatarfighter> have a way for repos to opt-in or out
21:15:01leorize[m]1that sounds terrible though
21:15:04FromDiscord<haxscramper> Should opt-in so that only those maintainers who are willing to participate were affected to this
21:18:20*nature quit (Ping timeout: 256 seconds)
21:29:36reversem3Don't use coc.nvim for neovim plugin , otherwise you will have nothing but issues , I just got rid of it and now everything is working with nim
21:30:20FromGitter<alehander92> man
21:30:23FromGitter<alehander92> what happened
21:30:24FromGitter<alehander92> today
21:30:40*Nimy joined #nim
21:31:01FromDiscord<Avatarfighter> alehander: disruptek enslaved the world today
21:31:13FromDiscord<lqdev> @dom96 how about we organize a nim hacktoberfest
21:31:32FromDiscord<lqdev> first 50 people to make a _useful_ contribution to the compiler get a nim hacktoberfest themed t-shirt
21:31:57FromDiscord<lqdev> problem is, who would be the sponsor 🤔
21:32:24FromDiscord<dom96> if you can get someone to design a cool Nim hacktoberfest t-shirt then yes
21:32:30FromDiscord<dom96> but that's always the blocker
21:35:31leorizeI think if we ask Status nicely they would sponsor for something like that :P
21:36:01FromDiscord<Avatarfighter> honestly mattering on how much the shirts cost I could sponsor it lol
21:37:05reversem3I just saw post for Hackertoberfest for nim
21:37:26reversem3its also on reddit
21:37:56FromDiscord<dom96> money isn't the problem
21:37:59FromDiscord<dom96> it's finding a good designer
21:38:14FromDiscord<Avatarfighter> im sure we have someone creative right?
21:38:32FromDiscord<dom96> reversem3: aw, you got me thinking it was on HN
21:38:59FromDiscord<dom96> it's not even on r/programming?
21:39:21*haxscramper quit (Remote host closed the connection)
21:39:37FromDiscord<dom96> also, no tweet, do I have to do everything myself? 😛
21:39:41reversem3no /r/nim
21:39:48FromDiscord<Avatarfighter> lmao
21:40:08FromDiscord<Avatarfighter> what repo is the nimble directory site on if anyone knows?
21:40:10leorizeyou're the head of marketing sir @dom96 :P
21:40:32reversem3He's "deligating"
21:40:59FromDiscord<dom96> lol, I have a full-time job
21:41:01reversem3Thats what they do at facebook (: j/k
21:41:02FromDiscord<dom96> Ain't getting paid for this
21:41:26leorizemost of us aren't getting paid to work on nim :P it's done with love xd
21:41:54reversem3I say the people w/o kids should do it
21:43:01*tane quit (Quit: Leaving)
21:44:09FromDiscord<dom96> https://twitter.com/nim_lang/status/1311783955440504835
21:45:14leorizeiirc narimiran was hired to manage the community, though I think now he covers a lot more than that
21:46:12FromDiscord<Avatarfighter> Wow Nim's Head of Nim Marketing sure is fast 😛
21:47:47*Nimy quit (Remote host closed the connection)
21:48:41FromGitter<alehander92> Avatarfighter no
21:48:48FromGitter<alehander92> about the disruptek world thing
21:48:52FromDiscord<Avatarfighter> ahaha
21:48:56FromDiscord<Avatarfighter> what do you mean
21:49:01FromDiscord<Avatarfighter> its all true
21:49:06FromGitter<alehander92> i am anti enslavement
21:49:08FromGitter<alehander92> by people
21:49:09FromGitter<alehander92> meh
21:49:28*bung quit (Ping timeout: 272 seconds)
21:49:49FromDiscord<Elegant Beef> So by aliens is fine?
21:51:10*bung joined #nim
21:51:20FromGitter<alehander92> somehow worse
21:52:34FromDiscord<juan_carlos> Hacktoberfest for Nim socks, used socks
21:55:59*solitudesf quit (Read error: Connection reset by peer)
21:57:37*solitudesf joined #nim
22:02:32*bung quit (Ping timeout: 256 seconds)
22:04:52FromDiscord<demotomohiro> @leorize↵gintro/tests/gen.nim generated libnice wrapper code just by adding `main("Nice")` to gen.nim!↵I tried to add main("libnice") but that was wrong.
22:05:35leorizetold you it's gonna be easy :)
22:05:59FromDiscord<Yardanico> Nice
22:07:21FromDiscord<demotomohiro> I will test it if it really works by rewriting example code in libnice with Nim.
22:07:29*bung joined #nim
22:12:17*bung quit (Ping timeout: 272 seconds)
22:17:45FromDiscord<Elegant Beef> I'm still trying to figure out who thought it'd end to reward people for commits 😄
22:18:22*natrys quit (Ping timeout: 246 seconds)
22:29:07*solitudesf quit (Ping timeout: 240 seconds)
22:30:42disruptekcommittment never ends well.
22:43:37FromDiscord<Avatarfighter> my pull request to update my website failed CI because I forgot to run prettier on my file this is the saddest thing to ever happen to me
22:43:51FromDiscord<Avatarfighter> failed the CI tests*
22:56:42FromDiscord<dom96> So 3 issues in choosenim that I think are doable for someone new as part of hacktoberfest, https://github.com/dom96/choosenim/issues/123, https://github.com/dom96/choosenim/issues/141 and https://github.com/dom96/choosenim/issues/55. Anyone up for it? 🙂
22:56:43disbotAllow custom branches on custom repo: `choosenim ~/projects/nim#mybranch`
22:57:01FromDiscord<dom96> the first link in particular is very simple
23:01:01FromDiscord<himu> any guidelines for naming files in nim? `common_utils.nim` vs `commonUtils.nim` vs `CommonUtils.nim`. What is the general preferred way? Or does everyone use whatever suits them?
23:01:14disrupteksnake_case
23:01:26FromDiscord<himu> Cool!
23:05:18FromDiscord<dom96> commonutils.nim
23:05:29FromDiscord<dom96> or better yet, common/utils.nim
23:05:52Prestige@himu woah did I just talk to you in cordless? lol
23:06:00PrestigeI'm Avahe
23:06:08FromDiscord<dom96> oh man, the Nim repo is really becoming inconsistent here
23:06:18FromDiscord<himu> About circular dependencies errors. Doesn't tree shaking make them go away? What causes them in the first place?
23:07:18FromDiscord<himu> @Prestige Yes.
23:07:34disruptektree-shaking has nothing to do with it.
23:07:58PrestigeWeird.
23:08:09disruptekmaybe i'm not understanding the question, but tree-shaking is the removal of unused code.
23:09:25disruptekcircular deps are a problem because we don't currently allow circular imports.
23:12:02FromGitter<Knaque> A non-Nim question: what are some flavors of Emacs worth looking at?
23:12:03FromDiscord<himu> I am assuming the imports in nim are like `import * from "module.js"` like in TypeScript or `use module::*` in Rust. In both the languages we import particular components/structs/types one by one most of the time. That kind of resolves circular dependencies. I guess. Because this is the first time I am worrying about something like this here.
23:12:11disruptekspacemacs
23:13:20FromGitter<Knaque> I'm aware of Spacemacs, but I'd like to see some other options too.
23:18:41*krux02 quit (Remote host closed the connection)
23:19:53disruptekask krux02.
23:54:57*EastByte quit (*.net *.split)
23:54:57*voltist quit (*.net *.split)
23:54:57*silvernode[m] quit (*.net *.split)
23:54:57*OMGOMG quit (*.net *.split)
23:57:04*oculux quit (Ping timeout: 256 seconds)