<< 09-03-2020 >>

00:00:49dadadakrux02: when you convert the openArray with @v into a seq inside ip1 and use that the issue disappears
00:01:42*Hideki_ joined #nim
00:04:18krux02dadada: no I am not converting the openArray into anything.
00:04:43dadadakrux02: neither do I want to do that, it's just meant as a hint at where the issue is hiding
00:04:54krux02I am just wrapping openarray with an empty stmtListExpr, which is supposed to have no semantic value at all.
00:05:12krux02I know where the issue is hiding
00:06:38krux02it is here: https://github.com/nim-lang/Nim/blob/devel/compiler/transf.nim#L545
00:06:57krux02The problem is this stupid branching on the node kind
00:07:08*Zectbumo quit (Remote host closed the connection)
00:15:47FromDiscord<clyybber> triggering silvernode
00:22:03dadadaclyybber: are you the guy talking about real names and the law?
00:22:25*NimBot joined #nim
00:22:26clyybberyeah
00:23:07dadadadisruptek: I'm sometimes putting your stream in the background and only listening
00:26:54dadadaclyybber: I can only agree with those that find it curious that politicians rightfully claim they want to uphold the importance of privacy of data on the internet, but then they are the ones that want national laws forcing us to give up private data to 3rd parties (with the laws you're talking about), the most ridiculous thing about it is, that this can never really be enforced, what if someone invents their
00:27:00dadadaown chat protocol, or simply uses ie. argentinian websites ... unless they establish a worldwide control system this can only really control the people that have the least technical clues, and it also hampers innovation, because it makes it less likely for small companies or individuals to develop web services
00:27:20clyybberyeah
00:34:11dadadaclyybber: your terminal lib sounds comparable to this go lib https://github.com/gdamore/tcell
00:38:29shashlickhas anyone implemented feature flags in nim
00:52:23FromDiscord<Varriount> What do you mean shashlick?
00:54:37shashlickhttps://medium.com/@thysniu/coding-with-feature-flags-how-to-guide-and-best-practices-3f9637f51265
01:00:38clyybberdadada: Yeah, I was inspired by it partly
01:04:21*Hideki_ quit (Ping timeout: 268 seconds)
01:04:46silvernodeheadset died
01:05:03clyybberdefibrillator
01:05:35silvernodeWhen I tried out lisp I was taken for a fun ride and my concepts did change a little.
01:08:13rayman22201@shashlick: for compile time feature flags, use when statements. That's how it's done in the stdlib / compiler.
01:08:22rayman22201The different gc modes for example
01:08:26disruptek~stream
01:08:26disbotstream: 11https://twitch.tv/disruptek (live video/audio) and mumble://uberalles.mumbl.io/ (live voice chat) -- disruptek
01:08:39disruptekc'mere and complain, shashlick.
01:08:41FromDiscord<Elegant Beef> Progress on my terminal, it's got image support now!
01:08:42FromDiscord<Elegant Beef> https://streamable.com/6cdsk
01:09:51clyybbergood boye support
01:10:01FromDiscord<Elegant Beef> Indeed
01:10:54*rockcavera joined #nim
01:10:54disruptekgood progress!
01:11:09FromDiscord<Elegant Beef> Well i have to refactor a bit already, do want legacy support
01:11:13rayman22201Nim terminal emulator? Fun
01:11:19dadadathere are just too many languages that looked really interesting to many at some point, no time to learn them all unfortunately ... haskell ada spark ocaml ... to really learn something you have to put in a lot of time, so unfortunately I can't commit that time right now ... but I still always appreciate to hear/read others opinions on them (like currently on disruptek 's stream)
01:11:29dadadas/to many/to me
01:11:32FromDiscord<Elegant Beef> Not just nim, but GL based terminal emulator
01:12:15FromDiscord<Elegant Beef> Next thing will be video/music support, then comes actually making it a terminal
01:12:28FromDiscord<Elegant Beef> instead of just a weird file browser 😄
01:12:33shashlickrayman22201: i need these at runtime
01:12:55rayman22201An actual terminal... In other words the hard part lol
01:12:55shashlickjust using an enum + cligen for now
01:13:17rayman22201shashlick: honestly, that's good enough.
01:13:27FromDiscord<Elegant Beef> I mean the hardest part is using imgui for this
01:13:40FromDiscord<Elegant Beef> I have a shitty ansi parse atm
01:13:52FromDiscord<Elegant Beef> and it cant display columns or anything
01:14:03FromDiscord<Elegant Beef> so making it replicate legacy applications is going to be hassle
01:14:14rayman22201If you want to actually be posix compliant, you have to understand all the weird TTY edge cases and such
01:14:25FromDiscord<Elegant Beef> yea which is going to be a PITA
01:15:16shashlickagreed - i have a new version of the wrapper backend in a branch but it is gating real nimterop development
01:15:29shashlicksince i don't want to maintain two diverging branches
01:15:42shashlickso am going to pull it into the main code and use feature flags to keep it separate
01:23:35rayman22201I have done both. The pros to feature flags are: no merge conflicts (diverging branches). The cons are: it lets old code live longer before getting cleaned up. As long as you do good house keeping, I think feature flags are useful IMHO.
01:26:22disruptekshashlick: c'mon the stream and defend your code.
01:26:39FromDiscord<Rika> Disruptek what are you making
01:26:58rayman22201Lol. disruptek only wants shashlick 😝
01:28:10FromDiscord<Rika> The fuck do you mean
01:28:18*ptdel quit (Ping timeout: 256 seconds)
01:30:15disrupteki'm trying to fix nimph.
01:32:26*dwdv quit (Ping timeout: 240 seconds)
01:34:00*Zectbumo joined #nim
01:34:48silvernodeDecided to let the headset charge up
01:35:51clyybberkk
01:36:03shashlickdefend what?
01:36:50clyybberyour code
01:37:14clyybberthough it may not be yours :p
01:39:41*Tanger joined #nim
01:40:27*marmotini_ quit (Remote host closed the connection)
01:41:01*marmotini_ joined #nim
01:41:30silvernodedisruptek: Looks like you are going to have to start paying more attention to Nimph
01:42:05silvernodeJust like everything, it works until it doesn't
01:43:56silvernodedisruptek: Nimble in the current version?
01:45:27*marmotini_ quit (Ping timeout: 260 seconds)
01:46:11*zahary joined #nim
01:51:09silvernodeclyybber: Is this issue he is experiencing in the current stable version?
01:51:27clyybbernope
01:51:30clyybberafaict
01:53:28silvernodeGahh this is unacceptable, I just noticed Fedora still uses a version of Mumble that has the lips icons...
01:54:51clyybberliterally unplayable
01:56:39*zahary quit (Quit: Leaving.)
01:57:10silvernodeIt's not 18:57 here in AZ
01:57:34silvernodenow*
02:01:10silvernodeI wish the USA used 24 hour clock
02:03:34*ptdel joined #nim
02:26:21*krux02 quit (Remote host closed the connection)
02:33:06*marmotini_ joined #nim
02:38:29*rockcavera quit (Remote host closed the connection)
02:43:51*ptdel quit (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.)
02:45:06FromDiscord<Rika> I wish I could stream at not sleeping time for most nim users
02:45:28disrupteksoon it's time for germans to wake up.
02:45:50clyybberno, its time for me to go to bed soon
02:46:51disruptekwell, ar4q usually logs in around, i dunno, 2-3a my time.
02:50:26*marmotini_ quit (Remote host closed the connection)
02:50:51clyybberaraq is proto german
02:50:58*marmotini_ joined #nim
02:53:25*chemist69 quit (Ping timeout: 240 seconds)
02:54:29FromDiscord<Rika> Proto?
02:55:46*chemist69 joined #nim
02:55:47*marmotini_ quit (Ping timeout: 265 seconds)
02:57:51clyybberhe is awake pretty early
03:12:07*muffindrake quit (Ping timeout: 272 seconds)
03:14:12*muffindrake joined #nim
03:15:43*SunDwarf quit (Ping timeout: 255 seconds)
03:15:43watzonsilvernode you're in az? I just left there in September.
03:18:29*Zectbumo quit (Remote host closed the connection)
03:19:06*SunDwarf joined #nim
03:22:55*dadada quit (Ping timeout: 255 seconds)
03:24:22*dadada joined #nim
03:24:45*dadada is now known as Guest95932
03:26:26*marmotini_ joined #nim
03:35:01clyybbergn8 p33ps, l33t n8 y4ll
03:35:04*clyybber quit (Quit: WeeChat 2.7.1)
03:35:46*marmotini_ quit (Remote host closed the connection)
03:36:21*marmotini_ joined #nim
03:38:40*okcy joined #nim
03:40:46*marmotini_ quit (Ping timeout: 258 seconds)
03:48:29*leorize joined #nim
03:53:36*theelous3 quit (Ping timeout: 256 seconds)
04:12:04silvernodewatzon: yep AZ mountains
04:12:46watzonOh really? Near Flagstaff or over by Payson/Show low?
04:12:58watzonMy wife's family is from Snowflake
04:13:43silvernodeShow Low
04:49:49*nsf joined #nim
04:56:32*dddddd quit (Remote host closed the connection)
05:05:45*zahary joined #nim
05:16:16*zahary quit (Quit: Leaving.)
05:16:26*silvernode quit (Ping timeout: 265 seconds)
05:17:45*Zectbumo joined #nim
05:30:11*muffindrake quit (Quit: muffindrake)
05:37:05*rmt joined #nim
05:41:30*alexander92 joined #nim
05:46:15watzonHaha would be funny if you knew the Hamiltons
05:49:19*okcy quit (Remote host closed the connection)
05:49:42*okcy joined #nim
06:01:56*narimiran joined #nim
06:03:26*cornfeedhobo quit (Ping timeout: 268 seconds)
06:16:01*alexander92 quit (Quit: Lost terminal)
06:31:31*okcy quit (Remote host closed the connection)
06:32:43*okcy joined #nim
06:55:19*rmt quit (Ping timeout: 255 seconds)
07:00:00*gmpreussner quit (Quit: kthxbye)
07:04:35*gmpreussner joined #nim
07:08:39*PMunch joined #nim
07:12:16*solitudesf joined #nim
07:18:05*circ-user-jDhQ6 joined #nim
07:21:00*okcy quit (Ping timeout: 256 seconds)
07:22:03*okcy joined #nim
07:33:51*FromGitter quit (Remote host closed the connection)
07:34:11*FromGitter joined #nim
07:40:15*Zectbumo quit (Remote host closed the connection)
07:49:08*cornfeedhobo joined #nim
07:50:37*Vladar joined #nim
07:57:41*muffindrake joined #nim
08:01:17PMunchAlways a pleasant surprise when a complicated macro you've written just works
08:05:12*circ-user-jDhQ6 quit (Ping timeout: 256 seconds)
08:06:54*hax-scramper quit (Ping timeout: 256 seconds)
08:07:38FromDiscord<Lantos> Whats the macro do?
08:09:10*thomasross quit (Remote host closed the connection)
08:09:26*thomasross joined #nim
08:11:16PMunchIt takes a simple DSL and creates an initialiser procedure, and long setter/getter methods for the arguments to work with NimNodes
08:11:30*rmt joined #nim
08:15:14PMunchIf that makes any sense :P
08:23:38Araqwhat's a "proto german"?
08:26:08ZevvA german who fits nicely in all the stereotypes the rest of the world has about germans
08:26:47*rmt quit (Ping timeout: 260 seconds)
08:27:09Araqah ok
08:29:51PMunchWait, what context is this in Araq?
08:31:04ZevvIt's about getting up early in the morning, a virtue clyybber thinks is part of the german heritage
08:33:55PMunchTIL I'm definitely not german..
08:34:35*circ-user-jDhQ6 joined #nim
08:36:23narimiranTIL i might be german
08:37:33FromGitter<sheerluck> I would like you to confess your stereotypes about russians
08:38:16narimirani will confess nothing to a drunk man!
08:38:59FromGitter<sheerluck> Well I am ukrainian so feel free
08:39:13FromGitter<sheerluck> I just live in Russia
08:47:20FromGitter<sheerluck> Ok, I agree, that topic is just too sad, new topic of discussion: how to move Araq from Windows to Linux
08:51:10FromGitter<sheerluck> I heard that whole city in Germany moved from Windows to Linux years ago (according to Süddeutsche Zeitung)
08:52:09*fanta1 joined #nim
08:54:57livcdquintessential german then
08:55:01*circ-user-jDhQ6 quit (Ping timeout: 255 seconds)
08:55:20*floppydh joined #nim
08:57:24okcyhello there, any terminal user interface library recommended?
08:57:58okcyin nim, or easy to wrap, I'm a newbie in FFI..
08:57:58FromDiscord<Elegant Beef> Illwill is a nice little terminal drawerer
08:58:31okcyThanks, I'll check it out
08:59:41okcyIt has no widget support
09:00:06okcyBut I'll try it
09:01:34FromGitter<sheerluck> okcy illwillWidgets
09:01:49FromGitter<sheerluck> https://github.com/enthus1ast/illwillWidgets
09:05:27FromDiscord<Rika> illwillgets
09:05:38FromDiscord<Rika> bad joke sorry
09:06:56*aeverr joined #nim
09:07:26*aeverr quit (Client Quit)
09:07:41*aeverr joined #nim
09:09:53okcylol, thanks sheerluck
09:20:01PMunchAnyone wants to chip in and buy some oil?
09:21:07FromDiscord<Rika> for
09:28:24*hax-scramper joined #nim
09:45:10lqdev[m]@sheerluck you should also know that they moved back to windows...
09:45:53lqdev[m]if you're talking about Munich
09:45:58livcdwho moved to Windows?
09:46:18livcdah..i am not following..
09:47:15lqdev[m]Munich
09:47:26lqdev[m]it's a German city
09:50:08AraqI'll move to Redox once it's ready, relax
09:51:24Guest95932okcy: clyybber is developing one
09:51:32*Guest95932 is now known as dadada
09:54:06AraqI'm looking forward to looking at my Redox /usr/lib so full of lib prefixes that it's become unreadable
09:56:42*okcy quit (Remote host closed the connection)
09:57:46*okcy joined #nim
09:58:56*okcy quit (Client Quit)
09:59:08*okcy joined #nim
10:02:07*okcy quit (Remote host closed the connection)
10:02:50*okcy joined #nim
10:04:52*zahary joined #nim
10:12:08*mfiano joined #nim
10:16:11*mfiano is now known as axion
10:16:44*krux02 joined #nim
10:17:54*abm joined #nim
10:18:51*dwdv joined #nim
10:28:00*marmotini_ joined #nim
10:28:56*marmotini_ quit (Remote host closed the connection)
10:29:29*marmotini_ joined #nim
10:34:00*marmotini_ quit (Ping timeout: 258 seconds)
10:44:49*okcy quit (Ping timeout: 255 seconds)
10:49:08*okcy joined #nim
10:54:25*lritter joined #nim
10:55:05*gangstacat quit (Ping timeout: 272 seconds)
10:55:54*okcy quit (Read error: Connection reset by peer)
10:56:13*okcy joined #nim
10:58:43*rmt joined #nim
11:07:13*oculuxe joined #nim
11:08:14*oculux quit (Ping timeout: 256 seconds)
11:13:48*dddddd joined #nim
11:21:03*rmt quit (Ping timeout: 272 seconds)
11:21:04FromDiscord<Kiloneie> Does anyone know of any cheap and very quiet keyboard ? I got one but when i tested in obs minutes ago it's barely 20-30% quieter than my very loud mechanical keyboard and that is just not enough...
11:23:30FromDiscord<Rika> use an insanely mushy membrane i think would work
11:24:37FromDiscord<Kiloneie> the one i have is somewhat mushy, but i tend to hit my keys pretty hard and then it makes heavy boom sounds, imma google some, it can't be aynthing over 20€, im broke.
11:26:29FromDiscord<Kiloneie> might just make a video with the membrane one i have with the same settings from the last video(which are the same as the ones from last half a dozen videos and yet the audio is very different... obs update maybe ? idk)
11:26:39*marmotini_ joined #nim
11:28:39narimiranwhere's your mic?
11:29:34FromDiscord<Kiloneie> left from my monitor, closer to my keyboard than my mouth is, if i could figure out a way, i would glue my mic on my monitor D:
11:30:36narimirantry with a simple small mic that you put on your t-shirt
11:30:37FromGitter<sheerluck> I tried redox_0.3.3.iso in VirtualBox-6.1.4 but it fails to boot. Not to mention there is no KDE Plasma for Redox :)
11:30:44FromDiscord<Kiloneie> i could put in on the right under my second monitor, but then it's closer to my computer
11:31:00FromDiscord<Kiloneie> i think i will try the difference
11:31:25FromDiscord<Kiloneie> might be better to have my computer slightly heard over my keyboard sounding higher than my voice D:...
11:32:26*gangstacat joined #nim
11:36:02FromDiscord<Kiloneie> third option would be to put my mic infront of me and push my keyboard to my monitor, would that be a good idea ?, i do wonder what happens if i were to hold my mic.
11:40:20*okcy_ joined #nim
11:42:33*okcy_ quit (Client Quit)
11:43:05narimiranyou could do a voiceover
11:46:40*xet7 joined #nim
11:46:51FromDiscord<Kiloneie> I tried once, but it makes it just ridiculously harder for me to record, as i have my the entire video written down and then when i am recording i very often improvise/improve on the spot if something doesn't sound well, bad wording, bad example etc... i don't think this is an option for me...
11:48:12PMunchI've got a Cherry Stream 3.0 at work, it's pretty quiet, and fairly nice to type on as well
11:49:40FromDiscord<Rika> get a lapel or something
11:49:46PMunchBut if you are spending money anyways why not get a lapel mic?
11:49:52FromDiscord<Rika> exactly!
11:50:00FromDiscord<Kiloneie> i got some kind of cherry membrane keyboard infront me, but it didn't sound quiet enough idk
11:50:18FromDiscord<Kiloneie> i really punch my keys D:
11:50:33narimiranyour priority should be putting mic as close to your mouth as possible
11:51:36narimiranyeah, lapel mic is what i had in mind, but i didn't know its name
11:51:55FromDiscord<Kiloneie> thanks for all the info guys, i will try something, probably my spare membrane keyboard and put my mic to a different location. I wish i could put my mic on my monitor, but i don't have anything to keep it steady
11:52:13narimiranmonitor is not "as close to your mouth as possible"
11:52:14FromDiscord<Rika> tape your mic to your head
11:52:25FromDiscord<Kiloneie> xD
11:52:32FromDiscord<Rika> i did that once ngl
11:52:42FromDiscord<Kiloneie> it weighs a lot D:
11:52:53FromDiscord<Rika> add more tape duh
11:55:22*okcc joined #nim
11:57:00*okcc quit (Client Quit)
12:01:32*okcc joined #nim
12:02:04*rockcavera joined #nim
12:04:04*okcc quit (Quit: Leaving)
12:06:43PMunchMore tape is always the solution
12:07:47PMunchKiloneie, have you tried putting a keyboard over your hands as you type?
12:08:00PMunchAssuming of course that you are able to type without looking at the keyboard
12:11:18FromDiscord<Rika> my keyboard's on a drawer that can be hidden w/o "locking it up"
12:11:20PMunchHmm, why is this: "Internally, the node kind nnkRange is used, but when constructing the AST, construction with .. as an infix operator should be used instead."
12:11:30FromDiscord<Rika> like the drawer is just a plane, it doesnt have a wall
12:11:37FromDiscord<Kiloneie> what oO
12:11:48FromDiscord<Kiloneie> now you are just trolling me
12:11:55PMunchHuh?
12:12:10PMunchEh, s/keyboard/towel
12:12:58*okcc joined #nim
12:13:20*thomasross quit (Read error: Connection reset by peer)
12:13:25*okcc quit (Client Quit)
12:13:39*okcc joined #nim
12:14:50narimiranPMunch: and s/over/under ?
12:15:08PMunchNo, over
12:15:16*zahary quit (Ping timeout: 255 seconds)
12:15:28narimiranif your mic is on a table (or even on a monitor, which is on a table), you also transfer the vibrations from typing to the table and then to your mic
12:15:29PMunchGoogled how to get rid of this kind of noise and someone reccomended doing that
12:16:08PMunchOh for sure, but it will also pick up noise in the room
12:16:25PMunchKiloneie, do you have a link to one of your vids, I just wanna see how loud this actually is
12:16:29narimiranTL;DR there are solutions which don't include buying a new keyboard
12:16:34narimiranjust some experimenting
12:17:33FromDiscord<Kiloneie> yeah i do
12:17:42FromDiscord<Kiloneie> you can erven compare the last 2 videos and sewe the difference
12:18:07FromDiscord<Kiloneie> my #19's keyboard is insane, and everything about my config is the same, except my obs auto updated itself...
12:18:23FromDiscord<Kiloneie> https://youtu.be/uZ7jdkx4pKE
12:18:37FromDiscord<Kiloneie> https://youtu.be/kogpTd0IlAw
12:19:31FromDiscord<Kiloneie> Same settings, everything, except i put 2 thick books under the towel my mic was sitting on in #19, but it's barely a difference when i tested the difference a few minutes ago
12:20:13FromDiscord<Kiloneie> putting my mic on the right has improved keyboard noise by a ton, although my mouse is now loud as hell, but i do type a ton more than i click when making these videos, so it shouldn't be a problem
12:21:44PMunchOkay, yeah that is pretty bad..
12:22:05PMunchI think you sound overall better in #18 though
12:22:09PMunchA lot warmer sound
12:22:33*okcc quit (Quit: Leaving)
12:22:50*okcc joined #nim
12:29:59*thomasross joined #nim
12:31:22FromDiscord<Kiloneie> And i don't understand why, i recorded exactly the same as before, i talked slightly more relaxed, slightly quieter, but even when i did talk as i do in other videos i was still really quiet, same settings... it's just odd.
12:32:08PMunchHave you tried downgrading OBS? Or looked in the changelog to see if they changed something?
12:32:43PMunchAre you sure that your mic is the one being used and that it's not recording from something built into a webcam or something?
12:32:50FromDiscord<Kiloneie> i will try to remove my mic and re do my settings, if it will magically work then... ugh...
12:33:14FromDiscord<Kiloneie> no i don't have a webcam, my ONLY audio input is my mc crypt usb-s1 mic
12:35:45FromDiscord<Rika> im betting it really is a matter of distance
12:36:09*krux02_ joined #nim
12:38:01narimiranof course it is
12:39:00okccshould I use the official lua wrapper or here https://github.com/jangko/nimLUA ?
12:39:51okccI want to embedded lua vm into nim executable
12:40:59okccthe official one seems to be a bit of outdated https://github.com/nim-lang/lua
12:41:25Araqit depends and current one has to make an analysis
12:41:37Araqusually the stdlib / "official" stuff is pretty bad
12:42:11*thomasross quit (Read error: Connection reset by peer)
12:44:17*thomasross joined #nim
12:44:24okccwhy, I think the official developers are usually genius
12:44:31okccxD
12:45:58krux02_official developers? Plural?
12:46:27krux02_as far as I know official developer is only Araq
12:47:06krux02_everybody else is at least currently only spare time contributor.
12:48:00disruptekyou really won't believe how much bloodletting i went through last night to recover from the recent path changes.
12:48:12disruptekjoinPath, i mean.
12:48:53disruptekhttps://github.com/disruptek/nimph/blob/master/src/nimph/spec.nim#L16
12:48:56krux02_disruptek, hmm I have a feeling who wanted to change joinpath
12:49:31PMunchHaha, what the hell
12:49:39disruptek"foo" / "" == "foo/" # old way
12:50:11disruptek"foo/" / "" == "foo/" # old way
12:50:37disruptekif anyone has a better way, i'm all ears.
12:50:38Araqkrux02_, narimiran is working too
12:50:49krux02_back on contract?
12:51:21disruptekalso, i had like 30 instances of the "foo" / "" pattern to change. twice, as it turned out, because my fix for 1.1 didn't work in 1.0.
12:51:39disruptekin just this one project.
12:51:40okccswtsplin thanks for the explanation
12:51:48Araqokcc, we're only "good" at the stuff we are working on, stdlib is seeing some improvements but we don't work on e.g. Lua support
12:52:07Araqkrux02_, yeah
12:52:17Araqdisruptek, the next time don't do it
12:52:23Araqbut instead complain on our issue tracker
12:52:41Araqit needs to be visible that the "bugfixes" are not.
12:53:01disruptekwell, clyybber was on stream and we discussed it. i think nim's behavior is probably more consistent/correct now.
12:53:18krux02_disruptek: generally you can also join path via simple string concatenation, because at least for unix multiple slashes usually do no harm at all
12:53:20disruptekbut it's still surprising how hard it is to accomplish this.
12:53:40FromDiscord<Rika> disruptek i dont get it ;;
12:53:45Araqpath handling is not solvable
12:53:58disrupteki know it's not harmful. i'm trying to produce tight output, though.
12:55:00krux02_yea but with links in the file system things become complicated.
12:55:08krux02_so i have to go catch a train
12:55:20Araqsee you later
12:55:24disruptekpeace
12:55:31krux02_see you
12:56:54disruptekrika: did you stream?
12:57:21*krux02_ quit (Remote host closed the connection)
12:57:46axioni feel asleep 5 hours into your path join fixing
12:57:54axionfell*
12:59:26shashlickdisruptek: was that the issue you were debugging last night?
12:59:46disrupteki couldn't reproduce it after successfully running toast under gdb.
13:00:09disrupteki want to believe it was a simple cache issue, but i swear i blew the cache away and still had the problem.
13:00:20shashlickI saw that on the stream
13:00:23axionyeah you did, even with -f
13:00:33disruptekthe path fixing is fixed, at least.
13:01:05disruptekthe toast that solved it was a debugging build, of course.
13:01:21axionanyway, i'm on mumble today if you decide to stream again
13:01:34disruptekand all i did was copy-paste the command-line into gdb verbatim.
13:01:54disrupteklet's pretend the heisenbug doesn't exist.
13:02:16disruptekaxion: yeah, lemme get some coffee.
13:02:36FromDiscord<Rika> disruptek: i ended up not doing it today
13:02:45FromDiscord<Rika> i passed out for 5 hours
13:12:40*thomasross quit (Remote host closed the connection)
13:13:48*marmotini_ quit (Remote host closed the connection)
13:14:20*marmotini_ joined #nim
13:19:08*marmotini_ quit (Ping timeout: 256 seconds)
13:19:53*marmotini_ joined #nim
13:20:07*marmotini_ quit (Remote host closed the connection)
13:20:40*marmotini_ joined #nim
13:23:56*thomasross joined #nim
13:24:50*marmotini_ quit (Ping timeout: 240 seconds)
13:36:27*marmotini_ joined #nim
13:39:26PMunchHuh, how come I've never heard of using: https://nim-lang.org/docs/manual.html#statements-and-expressions-using-statement
13:39:53*jholland__ joined #nim
13:40:22FromDiscord<Rika> what
13:40:23FromDiscord<Rika> how
13:40:38FromDiscord<Rika> i use that feature a lotmtits pretty damn handy
13:40:51FromDiscord<Rika> lotmtits -> lot, it
13:41:04FromDiscord<Rika> ah
13:41:05FromDiscord<Rika> using
13:41:09*marmotini_ quit (Remote host closed the connection)
13:41:13FromDiscord<Rika> i misread sorry
13:41:21*marmotini_ joined #nim
13:41:26PMunchHaha, what did you think I meant?
13:41:43FromDiscord<Rika> uh
13:41:45FromDiscord<Rika> lets not discuss that
13:43:26FromGitter<Varriount> Disruptek: might join Mumble in a bit. Depends on how long it takes to get through TSA
13:46:02*nsf quit (Quit: WeeChat 2.7)
13:46:31*sammich quit (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.)
13:47:28PMunchWhat are these for? https://github.com/nim-lang/Nim/blob/devel/compiler/ast.nim#L195-L196
13:48:33*sammich joined #nim
13:48:46livcdAraq is looking really serious in the interview :D
13:49:01PMunchInterview?
13:49:35livcdhttps://www.youtube.com/watch?v=-9SGIB946lw&feature=emb_title
13:50:35PMunchOh cool
13:50:54shashlickNice find PMunch
13:51:22PMunchHuh?
13:52:38shashlickUsing
13:57:32*krux02 quit (Remote host closed the connection)
14:02:03PMunchOh yeah
14:02:16PMunchThat's what happens when you are going through all the NimNodeKinds..
14:02:21PMunchYou find some stuff
14:02:35axionWhat's the preferred naming convention for constants? NEP1 says not to use uppercase, but math module uses PI etc
14:03:01PMunchJust normal lowercase names
14:03:05PMunchOr camelCase rather
14:03:13FromGitter<kaushalmodi> axion: ⏎ ⏎ > What's the preferred naming convention for constants? NEP1 says not to use uppercase ⏎ ⏎ That's correct. [https://gitter.im/nim-lang/Nim?at=5e664ca18011bb652a013182]
14:03:19FromGitter<kaushalmodi> Use lowerCamelCase
14:03:37FromGitter<kaushalmodi> PI might be just of the outliers
14:03:38PMunchlowerCamelCase?
14:03:39axionSo why does the math module not conform to this?
14:03:52FromGitter<kaushalmodi> PMunch: Yes :) vs UpperCamelCase
14:03:59PMunchPretty sure the math module is older than NEP1
14:04:11PMunchkausholmodi, isn't that called PascalCase?
14:04:18FromGitter<kaushalmodi> https://en.wikipedia.org/wiki/Camel_case
14:04:32FromGitter<kaushalmodi> we are both correct
14:04:38FromGitter<kaushalmodi> *Dromedary case* would be more confusing :P
14:04:42*marmotini_ quit (Remote host closed the connection)
14:04:49FromGitter<Vindaar> @axion wooah, why is your username axion? :O
14:04:58axion?
14:05:06axionWhy is yours Vindaar?
14:05:07FromGitter<Vindaar> the washing detergent or the particle?
14:05:17*marmotini_ joined #nim
14:06:05FromGitter<kaushalmodi> haha, I was just reading https://threadreaderapp.com/thread/1236549305189597189.html
14:06:16FromGitter<kaushalmodi> > Why does soap work so well on the SARS-CoV-2, the coronavirus and indeed most viruses?
14:06:30FromDiscord<Rika> because of the outer shell of the virus
14:06:42FromDiscord<Rika> it's constructed from the outer shell of the normal cell
14:07:31FromGitter<kaushalmodi> Rika: That thread is pretty good for non-virogists and folks without molecular biology/chemistry background like me
14:08:05PMunchMan, that interviewer doesn't sound interested at all, just reads the questions he has written down, no follow up, not even a "uh huh"..
14:10:02*marmotini_ quit (Ping timeout: 265 seconds)
14:10:18FromGitter<kaushalmodi> PMunch: I am irked by people who create long threads on Twitter instead of creating a nice blog post. threadreaderapp.com is really a savior
14:11:11FromGitter<kaushalmodi> you would need to scroll through this mess on twitter: https://twitter.com/PalliThordarson/status/1236549305189597189
14:12:36FromDiscord<Rika> kaushalmodi i aint a bio/chem major
14:12:52FromGitter<sheerluck> PMunch, I think interviewer was interested and was uh-huh-ing, but then he re-recorded his audio
14:12:54FromDiscord<Rika> i just inferred a LOT so i guess it's still p. useful
14:13:24FromDiscord<Rika> do i use "n in arr.low..arr.high" to bounds check a number?
14:13:59PMunchkaushalmodi? Huh I was thinking about the YouTube interview that livcd posted
14:14:13PMunchsheerluck, aah that's a shame..
14:14:21PMunchBecause this sounds a bit awkward..
14:14:33FromGitter<kaushalmodi> PMunch: I was certainly confused.. not seeing reference to that interview on gitter
14:14:57FromGitter<kaushalmodi> ok.. seeing it now after Ctrl+F5
14:15:12PMunchYeah it was posted about half an hour ago :P
14:16:27*Kaivo quit (Quit: WeeChat 2.7.1)
14:17:32disruptekwell, the interviewer says it's async.
14:17:36FromGitter<kaushalmodi> Rika: this? https://play.nim-lang.org/#ix=2dO4
14:18:17FromGitter<kaushalmodi> may be using `range` is better
14:19:54FromDiscord<Rika> what range/
14:19:56FromDiscord<Rika> ?*
14:20:03PMunchOh he did? So he records/writes down all the questions, Andreas records his answers, and then he cuts it together?
14:20:11FromGitter<kaushalmodi> Rika: https://play.nim-lang.org/#ix=2dO5
14:20:18FromGitter<kaushalmodi> https://nim-lang.github.io/Nim/manual#types-subrange-types
14:20:30disruptekPMunch: yeah.
14:21:11*Kaivo joined #nim
14:21:34*marmotini_ joined #nim
14:25:12FromDiscord<Rika> kaushalmodi, this is bounds checking a seq
14:25:50FromGitter<kaushalmodi> Rika: Do you mean that you need to bound check a seq length?
14:26:15FromDiscord<Rika> number is within indexes of a seq/openarray yes
14:28:27reversem3Hello, I want to try to create Solid apps using nim since it compiles to JS. I just don't know where to start . since all examples are either react or angular and I haven't used any kind JS frameworks. What is good way to get started with this ? https://solid.inrupt.com/docs/writing-solid-apps-with-angular. Is it even possible to use nim to create SOLID apps ?
14:28:30FromGitter<kaushalmodi> then I think that `n in arr.low..arr.high` (as you said) is what I'd do too
14:29:29FromDiscord<Rika> okay, thanks kaushalmodi
14:32:28*dddddd quit (Remote host closed the connection)
14:32:34*opal quit (Remote host closed the connection)
14:33:49*opal joined #nim
14:34:50*ikan-keli_ quit (Ping timeout: 240 seconds)
14:34:53FromDiscord<Rika> hhhhhh, classes suspended over here due to covid-19
14:35:02FromDiscord<Rika> guess im streaming tomorrow lol
14:36:34*shadowbane quit (Quit: Konversation terminated!)
14:36:46reversem3what ttf.nim do for stdlib ?
14:37:27*ikan-keli_ joined #nim
14:37:59*shadowbane joined #nim
14:38:16disruptekrika: nice.
14:40:48*marmotini_ quit (Remote host closed the connection)
14:41:01PMunchHmm, is there a good minimal caching package for Nim?
14:41:15disruptekwhat kind of caching?
14:41:24*marmotini_ joined #nim
14:41:31PMunchWell I want to cache HTTP replies
14:41:43PMunchI have a GET path/<id>
14:41:56PMunchAnd I want to cache <id> -> reply
14:42:09PMunchBut not too many, and only for a certain amount of time
14:43:08disrupteki think you want a deque of keys and a table of key/value.
14:43:28disruptekthe deque lets you control quantity/time and the table maps id->reply.
14:43:50PMunchNot a bad idea
14:44:11PMunchSo the reply to my question if anyone has written something like this already would be no?
14:44:25disrupteki don't know of anything.
14:45:09disruptek~stream
14:45:10disbotstream: 11https://twitch.tv/disruptek (live video/audio) and mumble://uberalles.mumbl.io/ (live voice chat) -- disruptek
14:45:20disruptektoday we get the tests working.
14:45:28FromDiscord<Varriount> Anyone know what the discussion in this thread means when saying that tables can have duplicate keys?
14:45:38*marmotini_ quit (Ping timeout: 240 seconds)
14:45:43FromDiscord<Varriount> https://github.com/nim-lang/RFCs/issues/200
14:45:58*s4mu3lbk joined #nim
14:46:09PMunchYes, a table can have multiple values for a key
14:46:14PMunchAnd it's random which one you get
14:46:21PMunchWell, "random"
14:46:23disrupteki like that feature.
14:47:17PMunchBy the way it only happens for .add, not []=
14:47:56AraqI consider this solved, we will deprecate the 'add' proc
14:49:00disrupteknoooo!
14:49:06Araqno?
14:50:11disruptekwhy remove this feature?
14:50:11*marmotini_ joined #nim
14:50:27FromDiscord<Rika> oh shit
14:50:57FromDiscord<Rika> araq werent you for keeping the add proc??
14:50:58disruptekjust make a new table that uses []= under add.
14:53:37Araqpeople told me it's bad, that's why. we should have a MultiTable instead that offers this feature
14:54:48FromDiscord<Rika> slated for 1.2?
14:55:57disruptekwhy not have a Unitable instead?
14:56:39*marmotini_ quit (Remote host closed the connection)
14:57:13*marmotini_ joined #nim
14:57:30*PMunch quit (Quit: Leaving)
14:58:01disruptekaxion suggests using the lisp-style predicate for the table.
15:01:38*marmotini_ quit (Ping timeout: 240 seconds)
15:03:43*opal quit (Ping timeout: 240 seconds)
15:11:56*opal joined #nim
15:20:40*hax-scramper quit (Ping timeout: 255 seconds)
15:21:41*hax-scramper joined #nim
15:29:47*s4mu3lbk quit (Ping timeout: 265 seconds)
15:39:13lqdev[m]disruptek: because most people don't even need to store duplicate entries.
15:39:30*NimBot joined #nim
15:39:43disruptekthose people can use a different table type, a different assignment ([]=), or test for membership first.
15:41:01narimiran"those people" are 98% of nim users, i'd say. so it should be tailored to them/us
15:41:15disruptekbut then you break all the old tables.
15:42:01narimirancan you give me some numbers how often was `add` used? and of those, how many times the author wanted `[]=` but they mistakenly used `add`?
15:42:13disruptekimpossible to know. this is the problem.
15:42:48lqdev[m]do you even use this feature?
15:43:11disruptekyeah.
15:43:13narimirani also don't have any numbers, but i think that having `add` there by default caused more problems (unintended behaviour) than it was useful (when used purposefully for duplicate keys)
15:43:58*paxis quit (Ping timeout: 256 seconds)
15:44:00narimiranand yeah, it is documented, but.... "nobody reads documentation"
15:44:13disruptekimpossible to know. this is the problem.
15:44:13FromDiscord<Rika> this should be slated for 2.0 no? because this would be a breaking change nonetheless?
15:44:35disruptekif you can argue the issues, that would help. 😉
15:45:57*nsf joined #nim
15:48:20FromDiscord<Yepoleb> is there a standard library function i can use for simple ipv4/6 parsing?
16:02:53reversem3So choosenim works now and builds correctly for 10.15 OSx , I had to remove nim and choosenim and re-installed everything again
16:07:19disruptekwhich version of choosenim?
16:13:15FromDiscord<Prodigle> What's the correct way to do
16:13:16FromDiscord<Prodigle> var nearbyBoids: seq[Sprite]
16:13:16FromDiscord<Prodigle> for i, agent in boids:
16:13:16FromDiscord<Prodigle> if(GetDistance(b,agent) < BOID_DISTANCE)
16:13:16FromDiscord<Prodigle> nearbyBoids.add(agent)
16:13:52reversem3The stable one choosenim v0.6.0 (2020-03-06 18:25:57) [macosx/amd64]
16:14:03disruptek~choosenim
16:14:04disbotchoosenim: 11https://github.com/dom96/choosenim/releases/tag/v0.5.1 -- disruptek
16:14:18disruptek~choosenim is https://github.com/dom96/choosenim/releases/tag/v0.6.0
16:14:25disruptek🎉
16:15:12FromDiscord<Rika> @Prodigle i dont see the issue? whats the error youre getting
16:15:21FromDiscord<Prodigle> Error: expected: ':', but got: 'nearbyBoids'
16:15:29FromDiscord<Rika> unindent the for loop
16:15:31FromDiscord<Rika> by one
16:15:39reversem3nimx finally compiles correctly also
16:16:27FromDiscord<Prodigle> I don't understand @Rika the for loop is only indented by 1?
16:16:40*Vladar quit (Quit: Leaving)
16:16:40reversem3 * Hello, I want to try to create Solid apps using nim since it compiles to JS. I just don't know where to start . since all examples are either react or angular and I haven't used any kind JS frameworks. What is good way to get started with this ? https://solid.inrupt.com/docs/writing-solid-apps-with-angular. Is it even possible to use nim to create SOLID apps ? I guess I'm looking to talk to someone that know a lot of nim
16:16:40reversem3and javascript
16:17:05narimirannop, you're missing `:` in if statement
16:17:14narimiran@Prodigle ^
16:17:35FromDiscord<Prodigle> Where am I placing it?
16:17:44narimiranat the end of the line
16:17:55FromDiscord<Prodigle> Ah
16:17:57FromDiscord<Prodigle> gotcha, thanks
16:18:00narimirannim way of doing things would be: `if getDistance(b, agent) < BoidDistance:`
16:19:01FromDiscord<Rika> ah i thought your var and for were indented differently
16:19:14narimiranproc names are lowercase, constansts are PascaCase, no need for parentheses, etc.
16:19:39FromDiscord<Rika> successfully shilled nim in another discord server haha
16:36:13FromDiscord<Kiloneie> Just randomly found out thjat like 2 weeks after i started my beginner tutorials someone else also did starting with also no subs, how weird
16:40:38*enthus1ast quit (Ping timeout: 256 seconds)
16:41:04*rockcavera quit (Ping timeout: 268 seconds)
16:41:20FromDiscord<Kiloneie> and also quit 2 weeks after i did xD, bizzare
16:41:29*marmotini_ joined #nim
16:41:37FromDiscord<Rika> you quit?
16:42:50FromDiscord<Kiloneie> with my #18 video, i had a long thinking and depression period
16:43:14FromDiscord<Kiloneie> im back to making videos now, but they will be 4-6 minutes now, with changes done to make it easier for me
16:43:42FromDiscord<Kiloneie> one video in particular hit me really hard, it was 4.5 hours of work for about 10 minutes of content, it really burned me
16:43:55*s4mu3lbk joined #nim
16:44:36FromDiscord<Rika> what's causing such a large amount of time to be used?
16:45:15FromDiscord<Kiloneie> Making sure the tutorial is well made, easy to follow, not using any jargon words people will not understand etc
16:45:26FromDiscord<Kiloneie> which lead to a 2 hour synopsis/script writting
16:45:58FromDiscord<Rika> maybe do like 20 minutes every day, then record on the 6th day
16:46:00FromDiscord<Kiloneie> then 50 minutes of editing time which is all because i didn't speak as fluently and over did editing
16:46:01FromDiscord<Rika> release on 7th day
16:46:12FromDiscord<Rika> do it weekly or biweekly
16:46:41FromDiscord<Kiloneie> well i was making a video a day back then, now my goal is 4-5 videos a week and a bit shorter
16:46:50FromDiscord<Kiloneie> and do it more relaxed
16:47:16FromDiscord<Kiloneie> i once took 20 minutes for the intro, i kept screwing a word somewhere and it would look bad
16:47:38*marmotini_ quit (Remote host closed the connection)
16:47:46FromDiscord<Rika> really think that you should do this weekly and not 4 a week
16:48:04*marmotini_ joined #nim
16:48:10FromDiscord<Kiloneie> i got nothing better to do atm, as i can't seem to get a job atm
16:48:25FromDiscord<Kiloneie> gotta spend the time somehow and not play games all day then worry how i did nothing
16:48:40FromDiscord<Kiloneie> i can stress myself so hard
16:49:28FromDiscord<Rika> and that's not healthy
16:49:30*theelous3 joined #nim
16:49:44FromDiscord<Rika> its no better than playing games all day
16:51:09FromDiscord<Kiloneie> i guess, but i do have to refresh people's minds that i got new stuff more than once a week, bump that thread on the forum to the top and not let it sink to the bottom in a few days and such
16:51:29FromDiscord<Kiloneie> and have people subcribed actually check if there is anything new
16:51:49FromDiscord<Rika> then ask someone to help you
16:51:59FromDiscord<Rika> ~~sorry that i cannot~~
16:52:39*marmotini_ quit (Ping timeout: 260 seconds)
16:53:50*enthus1ast joined #nim
16:54:32FromDiscord<Kiloneie> greatest help to me would be that lonenly patreon page i made 2 days ago xD
16:54:48FromDiscord<Kiloneie> will take time for people to help out that way anyways
16:56:48narimiran@Kiloneie i told you back then that you should make videos less frequently because you might burn out. but you didn't listen ;)
16:57:03FromDiscord<Kiloneie> I often don't xD...
16:57:22narimiranand i agree with @Rika - do one video per week, it will be better for everybody
17:06:26*floppydh quit (Quit: WeeChat 2.7.1)
17:15:19*Trustable joined #nim
17:27:00*dwdv quit (Quit: quit)
17:30:06FromDiscord<Rika> my linenoise port is complete 😄 just need to make it idiomatic now
17:31:43*dwdv joined #nim
17:32:03leorizelinenoise port? like a full rewrite?
17:33:07*rockcavera joined #nim
17:37:43FromDiscord<Rika> in nim yes
17:37:49FromDiscord<Rika> well
17:37:50FromDiscord<Rika> translation
17:37:58leorizenice
17:38:04FromDiscord<Rika> but anything that was C specific was ofc converted into the nim counterpart
17:39:07*okcc quit (Ping timeout: 258 seconds)
17:39:22FromDiscord<Rika> oh, is it possible to "emit a control+c/sigterm" because that's my last hurdle
17:39:33FromDiscord<Rika> since linenoise goes into raw mode and captures the control+c
17:41:36FromGitter<kaushalmodi> Rika: Not sure if this is related: https://gist.github.com/dom96/908782
17:41:42disrupteki think signals are a little weird, but, yes. they do work.
17:42:56leorizeRika: posix.raise
17:43:01leorizeyou would want to raise SIGINT
17:43:09leorizewhich is the Ctrl-C signal
17:43:39*fanta1 quit (Quit: fanta1)
17:43:57FromDiscord<Rika> ah
17:43:59FromDiscord<Rika> sorry
17:44:05FromDiscord<Rika> im not good at remembering signals
17:52:15*filcuc joined #nim
17:57:25*paxis joined #nim
18:02:58FromDiscord<Kiloneie> Does anyone know of any good gantt chart/road map program ? I gotta write down in a clearer way what i have done to better plan my videos.
18:04:27FromDiscord<Rika> excel
18:04:30FromDiscord<Rika> 😛
18:07:00Zevvdisruptek: can you teach your bot to report when someone was last seen in the channe?
18:07:10disrupteksure.
18:07:26Zevvsweet
18:07:41Zevvand then deliver a message when the person is detected :)
18:08:03disruptekaight.
18:08:33Zevvwoot
18:10:36FromDiscord<exelotl> @Kiloneie I've been trying this out lately https://solarlune.itch.io/masterplan
18:12:11FromDiscord<Kiloneie> Seems neat, will check it out
18:12:56FromDiscord<Kiloneie> especially since i don't really wanna use xmind again(zen version is fast but lacks oh so many features it's 8th version has which is unbelievably slow, lags on my 8 core cpu...)
18:17:45FromGitter<kaushalmodi> Kiloneie: I use https://simplemind.eu/how-to-mind-map/basics/ when not using Emacs/Orgmode
18:18:16*couven92 joined #nim
18:25:27*dddddd joined #nim
18:30:07FromDiscord<Kiloneie> xmind beats is though, i've read about simple mind
18:30:56FromDiscord<Kiloneie> also don't buy ANYTHING from Mind Master's company
18:31:48FromDiscord<Kiloneie> it kept crashing for me after adding some pro features even after i upgraded from trial to paid, and they didn't respond to me at all about it, nor after requesting refund, had to use paypal to force a refund
18:41:34*dddddd quit (Ping timeout: 256 seconds)
18:44:33FromGitter<kaushalmodi> Kiloneie: hmm... I have been happily using SimpleMind on Android and Windows for few years now.
18:44:51FromGitter<kaushalmodi> I am surprised to read about your bad experience.
18:52:10FromDiscord<Kiloneie> it's just the lack of features really
18:54:17*dddddd joined #nim
19:07:28*abm quit (Ping timeout: 255 seconds)
19:10:59*okcy quit (Ping timeout: 272 seconds)
19:20:49*s4mu3lbk quit (Quit: WeeChat 2.3)
19:21:24*s4mu3lbk joined #nim
19:31:08*s4mu3lbk quit (Quit: WeeChat 2.3)
19:33:45*samuel joined #nim
19:34:09*samuel is now known as Guest75590
19:35:27*Guest75590 quit (Client Quit)
19:35:56*s4mu3lbk joined #nim
19:43:28disruptek~stream
19:43:29disbotstream: 11https://twitch.tv/disruptek (live video/audio) and mumble://uberalles.mumbl.io/ (live voice chat) -- disruptek
19:43:31disruptekstep next.
19:45:48FromDiscord<Rika> huh, twitch doesnt load
19:46:28disruptek😦
19:48:41FromDiscord<Rika> huh literally only twitch doesnt load
19:48:44FromDiscord<Rika> anything else does
19:48:45FromDiscord<Rika> wtf
19:51:41*inv2004 joined #nim
19:55:13*abm joined #nim
19:56:04*couven92 quit (Read error: Connection reset by peer)
19:56:31*couven92 joined #nim
19:59:16*inv2004 quit (Remote host closed the connection)
20:00:06*krux02 joined #nim
20:08:09*solitudesf quit (Remote host closed the connection)
20:15:42*nsf quit (Quit: WeeChat 2.7)
20:22:27*silvernode joined #nim
20:22:40silvernodeGood afternoon
20:22:40*filcuc quit (Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/)
20:23:57disrupteksup dawg
20:26:25silvernodedisruptek: Just enjoying the nice weather. It's about 60 degrees F today
20:26:36disruptekyeah, it's awesome here, too.
20:28:28leorizedisruptek: oh, what's the problem in nim.nvim that you found again?
20:28:52disrupteki dunno, but there's plenty of red on my screen.
20:29:50leorizecompiler bug then
20:29:59*silvernode quit (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.)
20:30:50disruptekright.
20:35:42*silvernode joined #nim
20:37:13Araqdo you stream the whole day long?
20:37:14*paxis quit (Quit: Client exiting)
20:37:27disruptekyep.
20:38:12shashlickThis is how celebrities are made
20:40:11*Trustable quit (Remote host closed the connection)
20:41:08*abm quit (Read error: Connection reset by peer)
20:45:34*FromDiscord <djazz> is streaming too <https://www.twitch.tv/danielhede/>
20:46:03*opal quit (Ping timeout: 240 seconds)
20:46:33leorizeit said offline over here
20:49:09*opal joined #nim
21:02:48*narimiran quit (Ping timeout: 265 seconds)
21:05:22*tane joined #nim
21:09:06silvernodeFedora needs to update their Mumble client
21:10:02silvernodeThey still have version 1.2.19....
21:19:06*lritter quit (Ping timeout: 256 seconds)
21:35:40*letto quit (Ping timeout: 265 seconds)
21:36:34*pielago joined #nim
21:38:25pielagoHello everyone question which is the built-in library to make GUI in Nim?? buttons etc...
21:39:15Araqnim-lang/ui ? cannot even remember what I called it
21:40:05disrupteknimsuggest bug leorize? i cannot jump to a proc defined in the current file?
21:40:15disruptek!repos gui
21:40:18disbothttps://github.com/yglukhov/nimx -- 9nimx: 11GUI library 15 619⭐ 55🍴
21:40:18disbothttps://github.com/trustable-code/NiGui -- 9NiGui: 11Cross-platform desktop GUI toolkit written in Nim 15 302⭐ 29🍴
21:40:18disbothttps://github.com/khchen/wNim -- 9wNim: 11Nim's Windows GUI Framework 15 114⭐ 3🍴 7& 27 more...
21:41:01pielagothank you guys ya the best! btw i am new any tutorials for super new ppl ??
21:41:18disruptekleorize: no, it's jumping to a forward decl. 🙁
21:41:54pielagoso to make the gui i have to download the library? how do i do it using mac brew?
21:41:56disruptek~stream
21:41:57disbotstream: 11https://twitch.tv/disruptek (live video/audio) and mumble://uberalles.mumbl.io/ (live voice chat) -- disruptek
21:43:18disruptek~tutorial
21:43:19disbottutorial: 11intro to sacred manuscripts: https://nim-lang.org/docs/tut1.html
21:44:10reversem3to install nim curl https://nim-lang.org/choosenim/init.sh -sSf | sh
21:44:10reversem3
21:44:18Araqhttps://github.com/nim-lang/ui comes with examples and uses native OSX widgets
21:44:23reversem3then nimble install nimx
21:44:51pielagoi used brew to install nim right but wonder if the GUI was install as well?
21:45:08Araqusually that's nimble's job then
21:45:21reversem3I don't use brew to install nim
21:45:26reversem3use choosenim instead
21:45:41*letto joined #nim
21:46:22pielagosweet my friend your gold !thanks araq
21:46:26silvernodechoosenim works on MacOS?
21:46:37reversem3yes
21:47:08silvernodeGood to know, I think I just downloaded a binary or probably used Brew last time I used MacOS
21:47:14pielagoso let me get this right to install nim under OSX i got to use curl? and not brew
21:47:31reversem3correct
21:47:52pielagoawwww okay so ill do this i will format my pc (have too) and will do that
21:47:56leorizedisruptek: if that's what nim give me I gotta use that :(
21:48:20reversem3format your pc ?
21:48:29pielagohard clean the pc
21:48:34reversem3why
21:48:36silvernodeI have a Clonezilla backup of Catalina 10.15.3 for my Thinkpad T420. MacOs works great on it even with Intel HD 3000 graphics
21:48:36pielagoliek erase all
21:48:45FromDiscord<Rika> why
21:48:59pielagoi want to clean the pc i want it factory ready again XD
21:49:06FromDiscord<Rika> why would curl require a clean install
21:49:08FromDiscord<Rika> huh?
21:49:16reversem3its doesn't
21:49:17pielagoi got all back up anyways lol
21:49:23reversem3brew install curl
21:49:35pielagoi know
21:49:38reversem3curl https://nim-lang.org/choosenim/init.sh -sSf | sh
21:49:59pielagobut here i will get nim from curl and for the GUI? what was it to get it?
21:50:16pielagoohh install ui right?
21:50:24reversem3no ui yet
21:50:35reversem3your installing just nim and other tools
21:50:54reversem3Kind of GUI are you looking for ?
21:50:56pielagoi know python has tkinter for GUI
21:51:03pielagoso for nim is?
21:51:10reversem3IDE or library to actually develop code
21:51:20reversem3oh its UI
21:51:31reversem3!ui
21:51:42pielagoit comes with the nim download right?
21:51:51pielagois it part of the doc?
21:51:51reversem3yah
21:51:59pielagogood thats all i need to know
21:52:20silvernodeHmm I didn't know UI was included just like Tk is with Python
21:52:20pielagothe last question i am so use to work with nano but sucks there no syntax for nim yet -.-
21:52:38reversem3I though it was ?
21:52:53pielagoit is or its not people?
21:52:53*couven92 quit (Read error: Connection reset by peer)
21:53:16*couven92 joined #nim
21:53:30lqdev[m]pielago: there's micro, it's wayy better than nano
21:53:53pielagofor terminal? i use terminal i love terminal
21:54:21pielagoi have visual studio i want terminal back but no syntax :(
21:54:35FromDiscord<Rika> neovim + plugin
21:55:09leorizedisruptek: do you have a reproducible test case? I can investigate to see if I could make the compiler returns the implementation
21:55:20pielagobrew install micro
21:55:26disrupteknot really?
21:55:37disruptekcompiler code.
21:55:55leorizeyea, the problem is that I just tested that with semTemplateExpr and it works
21:55:56silvernodepielago: It is also in Fedora Linux too. I just installed it, they are right, Micro is awesome and really intuitive.
21:56:11reversem3neovim + plugin + coc +css
21:56:26silvernodepielago: It is a terminal editor just like Nano
21:57:49pielagosweet i just got it now ..
21:57:56pielagoi want to see if it will work with nim
21:58:22silvernodepielago: I opened a nim file, syntax highlighting seems to work out of the box for nim
21:58:41reversem3it does
21:58:45pielagounder macro yes i never heard of macro i got to get a tutorial about it
21:59:03reversem3use atom editor then
21:59:46pielagodo they have buit-in syntax for nim? i am lazy to keep installing more stuff XD
22:00:18reversem3umm I dunno I don't use atom
22:00:25reversem3only nvim
22:00:27silvernodepielago: the highlighting works but I don't think it comes with a linter
22:00:41reversem3or intellisense
22:00:52silvernodepielago: Ctrl+q quits micro btw
22:01:00leorizeuse neovim with nim.nvim :)
22:01:08disruptek^
22:01:29pielagoyou guys are the best i just found iup under the nim standard library to make GUIs hope it works
22:01:47pielagoand ill use macro i want somethin close to nano i like simple :) so fast code
22:01:53leorizewe don't have any gui libraries in the standard library
22:01:59reversem3This is money right here - > https://ianding.io/2019/07/29/configure-coc-nvim-for-c-c++-development/
22:02:02silvernodepielago: I used iuplua once, great little toolkit that works everywhere
22:02:10reversem3lsp is amazing
22:02:54leorizecoc.nvim seems to be popular, maybe I should add a guide on how to configure nim.nvim to work with it
22:03:08reversem3its amazing
22:03:19pielagohere is the main question guys ya got more experience than i am and why do programs languages
22:03:29pielagodont include everything ?
22:03:34pielagoto make it better
22:03:49pielagoit sucks looking for plug ins for this and that grrrrr
22:04:00*reversem3 uploaded an image: Screen Shot 2020-03-09 at 5.02.59 PM.png (179KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/xwOKcYxeLGTDtbWjcVMEvUHi >
22:04:03silvernodepielago: Python includes Tk for Gui and Ncurses for terminal gui
22:04:09silvernodejust saying
22:04:12leorizepielago: turns out not everything is the best
22:04:26FromDiscord<Rika> pielago: because sometimes things are just unnecessary to include on the stdlib
22:05:06pielagoi guess well i need to start learning this lenguage so i can start making beginners tutorials XD
22:05:27silvernodePython has the kitchen sink which is not the goal of some other languages. Some like to be minimal
22:05:36*reversem3 uploaded an image: Screen Shot 2020-03-09 at 5.05.23 PM.png (211KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/agpReyXbWqDwYcraFsFixMzX >
22:05:37pielagolast step is to compile the app to distribute but that will be in future ...
22:05:50reversem3My setup makes me cry
22:05:54reversem3lol
22:05:58silvernodebrb
22:06:10pielagolol
22:07:17pielagowow IUP library looks simple i don't even get it ?
22:22:01*pielago left #nim (#nim)
22:32:40*tane quit (Quit: Leaving)
22:38:59*filcuc joined #nim
22:41:53*hax-scramper quit (Read error: Connection reset by peer)
22:42:10*hax-scramper joined #nim
22:43:14*filcuc quit (Ping timeout: 240 seconds)
22:43:27*filcuc joined #nim
22:46:26*hax-scramper quit (Ping timeout: 240 seconds)
22:47:15*hax-scramper joined #nim
22:58:38disruptekthe nim beer flu pool.
22:58:52disrupteksend me $100 with your best guess for the winner.
23:03:47FromDiscord<Spy653> Yo
23:05:17FromDiscord<Recruit_main70007> sup
23:06:27*hax-scramper quit (Read error: Connection reset by peer)
23:06:44*hax-scramper joined #nim
23:07:27FromDiscord<Spy653> Am I right in thinking the discord is used by like 3 people
23:08:17FromDiscord<exelotl> hmm it's used by at least 4
23:08:35FromDiscord<Elegant Beef> Atleast 2
23:11:23*couven92 quit (Read error: Connection reset by peer)
23:11:47*couven92 joined #nim
23:12:03FromDiscord<Rika> 2 is a bit too littly
23:12:09FromDiscord<Rika> little*
23:12:15FromDiscord<Rika> i think it's around 4.5
23:15:49FromDiscord<exelotl> looking forward to when @Yardanico's bot lands in #general
23:16:39FromDiscord<Rika> which sounds like it'll take a while
23:16:45FromDiscord<Rika> because of the discord issue
23:17:00*ikan-keli_ quit (Quit: ZNC 1.8.x-git-125-e415d9f5 - https://znc.in)
23:17:14*ikan-keli_ joined #nim
23:17:25FromDiscord<djazz> twitch stream ended, past midnight now xD
23:17:25FromDiscord<djazz> here is the thing I coded today. https://gist.github.com/daniel-j/5ca92c86dce04b436691e6c4f696ab4d
23:17:38disruptekdude, i could not see you.
23:17:39FromDiscord<djazz> making a web server module inspired by KoaJS
23:18:42FromDiscord<Rika> bane of my existence is the usage of auto
23:19:59FromDiscord<exelotl> ohh I hadn't heard of Koa
23:20:19FromDiscord<djazz> Koa is like express, but async/await-powered
23:20:26FromDiscord<djazz> instead of callbacks
23:20:30FromDiscord<exelotl> sounds dope
23:21:03FromDiscord<Rika> nim rarely uses callbacks i think? only times ive seen them are in implementation of the async await system
23:22:20*letto_ joined #nim
23:23:12*letto quit (Ping timeout: 256 seconds)
23:23:31leorize@djazz: your stream wasn't shown as being online
23:23:46FromDiscord<exelotl> huh I was able to tune in no problem
23:24:03disruptektwitch may have constrained regions.
23:24:16FromDiscord<djazz> I had a max of 3 viewers
23:24:44FromDiscord<Rika> wish i had 3 viewers
23:24:47FromDiscord<Rika> my max was one
23:24:50disrupteki couldn't see it, either.
23:26:13FromDiscord<djazz> watch the vod then 😛 https://www.twitch.tv/videos/564560103
23:26:36FromDiscord<exelotl> I'm tempted to try streaming some Nim GBA development some time
23:26:53FromDiscord<exelotl> but I'm scared of streaming lol
23:26:58leorizeI'd stream if y'all can deal with coding and zero interactions :P
23:27:16disrupteksure.
23:28:07FromDiscord<Spy653> I couldn't really see any usage statistics for nim, is it very well used?
23:28:34FromDiscord<Spy653> I'm thinking about using it to develop a few small applications
23:28:37leorizewell enough I s'pose
23:28:37YardanicoWell, what usage statistics do you expect?
23:28:51Yardanicoit's not like nim has telemery built-in into the compiler lol
23:29:15FromDiscord<Spy653> no lol I mean like statistics reported by other sources
23:29:26Yardanicowell there's https://nim-lang.org/blog/2020/02/18/community-survey-results-2019.html
23:29:34Yardanicobut it's not what you want I think
23:30:20Yardanicofor some stats - there's around 1.2k nimble packages, 900 replies for this survey, see for yourself :P
23:30:28FromDiscord<Spy653> nice
23:30:52FromDiscord<Spy653> is there much of a community on like stack overflow or is it mainly around the forums?
23:31:08Yardanicoit's mainly in the IRC (which is bridged to discord and gitter) and on the forum
23:31:14Yardanicoand of course on github itself
23:31:34FromDiscord<exelotl> I've seen some activity on stackoverflow and reddit, but yeah irc and forums are your best bet
23:31:48leorizewe should appear more on stack overflow though
23:31:56leorizeI think there are people asking nim-related questions there
23:32:23FromDiscord<Spy653> I'm not much of a forums guy sadly but so far you all seem friendly enough to ask
23:32:37shashlickyes and i believe languages are measured by their stack overflow presence
23:32:38leorizeirc is super friendly :)
23:33:02FromDiscord<Spy653> damn irc shills are everywhere these days
23:33:06FromDiscord<Spy653> ❤️
23:33:13Yardanicoyes
23:33:44leorizecome join us, it's better here :)
23:34:07FromDiscord<exelotl> In terms of usage, it's of course not as widely used as Go or Rust ofc. But it's mature enough that you can write basically any application you want, and it will perform well and work for years to come
23:34:18FromDiscord<exelotl> oops I ofc'd twice
23:36:07FromDiscord<Spy653> is nim 'going places'? are the developers hoping for it to become a big player one day or will it realistically fade away? I don't want to hurt the way visual basic hurt me again
23:36:42leorizewe do strive to be a big player in the future :)
23:37:00FromDiscord<Spy653> it seems fun and I've read the tutorials and it looks fantastic
23:37:45leorizeeverytime we said "fun" on HN people was like: "how can it be fun?"
23:38:26FromDiscord<Spy653> yeah I think fun programming is a bit weird
23:39:13leorizewell but I gotta say most that use Nim (if not all) do say that Nim is fun, even if we can't describe it :P
23:39:40FromDiscord<Spy653> it gets me the way VBS and Batch files do, they're not necessarily the best but you use them anyway
23:40:37FromDiscord<Spy653> does this irc bot support edited messages or is it live only?
23:40:50leorizeit does but please never do that
23:40:55Yardanicoit does, but we just see the new one
23:41:04leorizewhen you edit it echos the new message again
23:41:05FromDiscord<Spy653> fair
23:41:50leorizealso please avoid multiline messages if you can
23:43:07FromDiscord<Spy653> is textwrap fine? I'm in fullscreen so can't tell if its too long
23:44:23FromDiscord<Spy653> essentially I'm trying to pick a language to learn for some new projects and nim was suggested and its just kind of stuck in my head
23:44:31Yardanicowell, just don't paste code into discord really
23:44:51Yardanicoit's even mentioned in the channel description but people don't read :(
23:45:13FromDiscord<Spy653> yeah fair I'd probably just post a link to SO
23:45:16Yardanico"...PLEASE don't use multi-line messages or code snippets (use some paste service instead)."
23:45:17dadadaSpy653: it will not fade away, it's definitely gotten more attention since it has reached 1.0 and slowly but surely the ecosystem is growing, the language exists for more than a decade, there's not a chance that it will suddenly disappear, especially because new modules/libs for it appear every other day, the learning curve is also really decent, I feel like I'm getting the hang of macros now and I'm still a
23:45:22Yardanicoand some people ignore that
23:45:23dadadabeginner
23:46:25*couven92 quit (Read error: Connection reset by peer)
23:46:39FromDiscord<Spy653> I take it that multi-line comments get really mangled then
23:46:50*couven92 joined #nim
23:46:54Yardaniconot really, they just get sent line-by-line
23:47:05FromDiscord<Spy653> oof
23:47:14Yardanicoexactly
23:47:45FromDiscord<Spy653> guessing irc doesn't typically support multi-line
23:48:03FromDiscord<Spy653> or is it just a bot problem
23:48:10FromDiscord<Rika> irc doesnt support
23:48:22FromDiscord<Spy653> fairs
23:49:14*aeverr quit (Ping timeout: 240 seconds)
23:49:24*aeverr_ joined #nim
23:49:43FromDiscord<Spy653> is there a quick guide to gui's? I've read a small tictactoe tutorial so is there anything existing thats more advanced
23:50:15*aeverr joined #nim
23:51:26Yardanicowell, there's kinda a lot of options for GUI, but most of them are not really complete, if I were to pick I'd prefer gintro (GTK bindings for Nim)
23:51:36YardanicoGTK works on all 3 major OSes and these bindings are very nice
23:51:41Yardanicohttps://github.com/StefanSalewski/gintro
23:51:56Yardanicoalthough there's no "quick guide" that I know of
23:52:38FromDiscord<Spy653> I was under the impression that gtk took a lot of effort to get running on windows
23:53:07Yardaniconot really, you just have to have the DLLs
23:53:41Yardanicofor example I've found http://www.tarnyko.net/dl/gtk.htm with a few secs of googling
23:53:54*aeverr_ quit (Ping timeout: 265 seconds)
23:54:17FromDiscord<Spy653> I just remember days of failure with gtk3 and mono
23:54:27FromDiscord<Spy653> But thanks I'll have a read
23:56:05*chemist69 quit (Ping timeout: 240 seconds)
23:57:18*chemist69 joined #nim