<< 13-03-2020 >>

00:03:00*krux02 quit (Remote host closed the connection)
00:13:21FromDiscord<Varriount> Hm, this is interesting: http://www.open-std.org/JTC1/SC22/WG21/docs/papers/2018/p1364r0.pdf
00:13:27FromDiscord<Varriount> https://devblogs.microsoft.com/oldnewthing/20191011-00/?p=102989
00:14:00FromDiscord<Varriount> Wasn't Ruby moving towards using fibers?
00:15:26*gmpreussner_ joined #nim
00:15:43*gmpreussner quit (Ping timeout: 255 seconds)
00:20:23FromDiscord<mratsim> wow andreaferretti book looks mind-blowing (literally) (https://github.com/andreaferretti/commutative-algebra)
00:24:24FromDiscord<mratsim> I'm skeptical @Varriount
00:25:40*azed joined #nim
00:25:50FromDiscord<mratsim> in the report: http://www.open-std.org/JTC1/SC22/WG21/docs/papers/2018/p1364r0.pdf it says no blocking allowed
00:26:20FromDiscord<mratsim> AFAIk fibers are used to handle blocking and are an alternative or complement to the event API provided by the kernel
00:26:30FromDiscord<mratsim> and threads are the same
00:27:04FromDiscord<mratsim> stackful and thread-local-storage: use heap memory and a GC
00:27:09*hax-scramper quit (Ping timeout: 258 seconds)
00:28:46FromDiscord<mratsim> Split stacks/segmented stacks: that's a hard problem. I solved it by using a thread-safe memory pool and another layer of caching on top
00:38:19disruptekdid ioselects get brox0red?
00:38:27disruptekselectors?
00:38:39disrupteki cannot make them work right now.
01:00:22*Hideki_ joined #nim
01:12:32*Zectbumo joined #nim
01:18:33*MightyJoe is now known as cyraxjoe
01:25:07*hax-scramper joined #nim
01:32:37FromDiscord<Winton> Hello, a friend was building a browser in Vala but he found it a bit cumbersome since the syntax is similar to Java or C #, I told him about nim and well he has his plans with the renderizago gecko engine
01:32:58FromDiscord<Winton> any recommendation and library for the user interface ?
01:34:07*NimBot joined #nim
01:37:49*Hideki_ quit (Remote host closed the connection)
01:38:35*Hideki joined #nim
01:38:58*Hideki is now known as Guest92181
01:39:25*dwdv quit (Ping timeout: 255 seconds)
01:41:23FromDiscord<flywind> Some libraries like `nimx` `nigui` or `wnim`
01:41:43FromDiscord<flywind> you can find much more libraries in https://github.com/nim-lang/Nim/wiki/Curated-Packages#gui
01:42:00FromDiscord<Winton> Windowx?
01:42:50*Guest92181 quit (Ping timeout: 240 seconds)
01:43:17FromDiscord<flywind> don't need cross-platform?
01:45:41FromDiscord<Winton> Windows at the moment is for learning purposes for the
01:46:45FromDiscord<flywind> `nimx` ,`nigui` and `wnim` can work in windows.
01:47:03FromDiscord<Winton> thanx
02:09:22*Zectbumo quit (Remote host closed the connection)
02:09:33*jholland__ quit (Quit: Connection closed for inactivity)
02:20:10*hax-scramper quit (Remote host closed the connection)
02:20:55*hax-scramper joined #nim
02:42:23*leorize quit (Ping timeout: 240 seconds)
02:43:55*leorize joined #nim
02:46:14*chemist69_ joined #nim
02:49:03*leorize quit (Ping timeout: 240 seconds)
02:49:10*chemist69 quit (Ping timeout: 255 seconds)
02:49:35*Zectbumo joined #nim
02:53:47*leorize joined #nim
02:53:57*Hideki joined #nim
02:54:20*Hideki is now known as Guest21103
02:58:37*Guest21103 quit (Ping timeout: 255 seconds)
03:03:01*cgfuh quit (Quit: WeeChat 2.7.1)
03:15:00*muffindrake quit (Ping timeout: 256 seconds)
03:15:22*azed quit (Ping timeout: 268 seconds)
03:16:49*muffindrake joined #nim
03:19:19*Guest10224 quit (Ping timeout: 255 seconds)
03:21:19*dadada joined #nim
03:21:42*dadada is now known as Guest46290
03:46:18*Hideki_ joined #nim
03:47:37*Hideki_ quit (Remote host closed the connection)
03:48:33*Hideki_ joined #nim
03:50:10*Hideki_ quit (Remote host closed the connection)
03:50:52*Hideki_ joined #nim
03:51:06*Zectbumo quit (Remote host closed the connection)
03:53:35*Hideki_ quit (Remote host closed the connection)
03:54:19*Hideki_ joined #nim
03:56:53*rockcavera joined #nim
03:58:45*Hideki_ quit (Ping timeout: 258 seconds)
04:05:44*Hideki_ joined #nim
04:09:52*Zectbumo joined #nim
04:12:23*leorize quit (Ping timeout: 240 seconds)
04:40:38*Hideki_ quit (Remote host closed the connection)
04:45:03*Hideki_ joined #nim
04:48:18*Hideki_ quit (Remote host closed the connection)
04:48:35*Hideki_ joined #nim
04:49:56*nsf joined #nim
04:52:29*leorize joined #nim
04:56:42*marmotini_ joined #nim
05:03:33*Hideki_ quit (Remote host closed the connection)
05:04:10*Hideki_ joined #nim
05:08:26*Hideki_ quit (Ping timeout: 240 seconds)
05:37:51*rockcavera quit (Remote host closed the connection)
05:42:49*oculux joined #nim
05:44:10*oculuxe quit (Ping timeout: 258 seconds)
05:51:00*silvernode joined #nim
05:57:22*okcy joined #nim
06:01:46*narimiran joined #nim
06:02:43*Hideki_ joined #nim
06:10:57silvernodeWell I got all the basic items added to the prototype code for my space game
06:11:28silvernodeJust pushed a commit
06:11:42*narimiran quit (Quit: leaving)
06:11:56silvernodehttps://github.com/silvernode/space-nim
06:12:27*Hideki_ quit (Ping timeout: 260 seconds)
06:13:26silvernodeAll the new code is in the experimental branch
06:13:41*dddddd quit (Ping timeout: 258 seconds)
06:21:34*okcy quit (Remote host closed the connection)
06:24:41silvernodeI decided to use all of the custom types such as 'Item' in procs so I can pass information and change attributes when needed. Any feedback on that method of doing things would be appreciated.
06:25:47silvernodeI might add a parameter to all the items that allows me to change the worth of an item based on station prices
06:31:43*silvernode quit (Ping timeout: 265 seconds)
06:36:37*silvernode joined #nim
06:37:02*hax-scramper quit (Ping timeout: 265 seconds)
06:37:10*hax-scramper joined #nim
06:56:08*silvernode quit (Ping timeout: 268 seconds)
07:00:00*gmpreussner_ quit (Quit: kthxbye)
07:04:43*gmpreussner joined #nim
07:19:54*solitudesf joined #nim
07:35:37alexander92wow andreaferretti
07:35:42alexander92such a book
07:35:43alexander92nice
07:45:24*Hideki_ joined #nim
07:51:34*tdc joined #nim
07:52:06*Hideki_ quit (Remote host closed the connection)
07:52:43*Hideki_ joined #nim
07:57:16*Hideki_ quit (Ping timeout: 265 seconds)
07:58:48*hoijui joined #nim
08:05:25*Hideki_ joined #nim
08:06:40*Hideki_ quit (Remote host closed the connection)
08:09:03*Hideki_ joined #nim
08:13:47*Hideki_ quit (Ping timeout: 260 seconds)
08:16:49*s4mu3lbk joined #nim
08:25:43*PMunch joined #nim
08:25:55*Hideki_ joined #nim
08:27:12*Hideki_ quit (Remote host closed the connection)
08:29:17*vqrs quit (Ping timeout: 246 seconds)
08:30:26*vqrs joined #nim
08:30:58*Hideki_ joined #nim
08:32:17Araqbye bye Marathon, cancelled
08:32:27Araqunsurprisingly
08:35:24*Hideki_ quit (Ping timeout: 256 seconds)
08:36:46*marmotini_ quit (Remote host closed the connection)
08:37:21*marmotini_ joined #nim
08:41:53FromDiscord<Rika> oh hello silvernode
08:41:56FromDiscord<Rika> ah
08:41:57FromDiscord<Rika> shit
08:42:02FromDiscord<Rika> i'm hours late
08:42:12*marmotini_ quit (Ping timeout: 268 seconds)
08:45:47*marmotini_ joined #nim
08:49:38*s4mu3lbk quit (Ping timeout: 240 seconds)
08:50:08*s4mu3lbk joined #nim
08:55:39*aeverr_ joined #nim
08:56:15*aeverr quit (Ping timeout: 260 seconds)
09:03:32*Hideki_ joined #nim
09:05:06PMunchAraq, yeah everything is cancelled here
09:05:21PMunchAnd all gyms, cinemas, etc. are closed
09:06:39*rockcavera joined #nim
09:08:15*krux02 joined #nim
09:10:21*Hideki_ quit (Remote host closed the connection)
09:10:32AraqPMunch, oh really? I didn't know
09:10:34*Hideki_ joined #nim
09:10:46Araqhow many cases do you have?
09:11:16PMunch819 total
09:11:19PMunch1 dead
09:11:59PMunchMight not sound like much, but we're only 5mil people in total
09:12:09PMunchSo we have one of the highest per-capita number..
09:13:15PMunchBars and restaurants are also closing, although it's not 100% certain if they are required to
09:13:19*marmotini_ quit (Remote host closed the connection)
09:13:32PMunchPretty much only stores are left open..
09:13:38Araqschools?
09:13:54*marmotini_ joined #nim
09:14:23PMunchHigh schools are closed
09:14:45PMunchPrimary and middle schools are closed in some parts of the country
09:15:00*Vladar joined #nim
09:15:34FromDiscord<Rika> ah yes the younger the child the less prone they are to sickness
09:15:57Araqyeah and they don't have parents or great parents and they never interact with them
09:16:44PMunchYeah it's dumb, but it has to do with how it's organised. High schools are organised by a different layer of the government
09:17:03FromDiscord<Rika> then the govt layer the lower schools are in are dumb
09:17:20PMunchPretty much, those are the local government
09:17:21Araqschool is still open here and I am furious about it
09:17:39FromDiscord<Rika> whole city is lockdown here for one month
09:17:39PMunchHigh schools across the country closed yesterday
09:18:28*marmotini_ quit (Ping timeout: 256 seconds)
09:18:30PMunchI'm working for home and have enough food here to probably last me comfortably for a week or two, months if I want to eat different kinds of flavoured rice
09:19:54*nick34348 joined #nim
09:22:29PMunchPeople have of course started hoarding food..
09:22:45PMunchSo the stores are running out, which are going to cause more people to hoard..
09:22:49PMunchIt's a mess
09:22:56Zevvpeople like you :)
09:23:17PMunchOh no, I just always have plenty of food in the pantry :P
09:23:43PMunchWent to the store yesterday and got some ingredients to make pizza, but not more than I would've normally bought
09:26:13PMunchNow that I think about it I also have a large stash of freeze-dried hiking meals
09:26:24PMunchThat's at least a weeks worth of food :P
09:32:02*s4mu3lbk quit (Ping timeout: 240 seconds)
09:34:08*s4mu3lbk joined #nim
09:47:56*s4mu3lbk quit (Ping timeout: 256 seconds)
09:55:38*theelous3 quit (Ping timeout: 258 seconds)
09:58:35*hoijui quit (Ping timeout: 265 seconds)
10:01:49*dwdv joined #nim
10:03:21PMunchHahaha, they just announced on the news that a lot of the students who were going to have e-classes couldn't because the e-classes solution they use is down across all of Europe
10:11:49*Hideki_ quit (Remote host closed the connection)
10:13:01*Hideki_ joined #nim
10:14:34*Tanger quit (Ping timeout: 256 seconds)
10:17:29*Hideki_ quit (Ping timeout: 258 seconds)
10:24:50FromDiscord<flywind> It's strange.My package name is basicregex, when I import ../../src/core/basicRegex, it's ok in windows devel but fails in 1.06 and it fails in linux both devel and 1.06.πŸ˜„
10:26:59PMunchimports are not case-insensitive
10:27:10PMunchBut on Windows they are, because Windows file-names are case-insensitive
10:27:51PMunchAnd it looks like 1.0.6 added an extra check to ensure that people wouldn't write packages on Windows that wouldn't work on Linux because of the underlying file system
10:30:20FromDiscord<flywind> sorry, it works in windows 1.06.
10:31:11PMunchAh, so no extra check was added..
10:31:59*Hideki_ joined #nim
10:32:42FromDiscord<flywind> Thanks for help.
10:35:05FromDiscord<flywind> looks like macos behaves like windows
10:35:09FromDiscord<flywind>
10:35:09FromDiscord<flywind> https://cdn.discordapp.com/attachments/371759389889003532/687972008184512522/unknown.png
10:46:47FromDiscord<Kiloneie> Let's not talk about this crap, because if you can't tell, it's insanely over exagerated on how serious it is, just google how bad the previous ones were, many of which came from China as well.
10:47:21PMunchflywind, yes MacOS is also case-insensitive
10:47:43PMunchOr rather HFS+ (the file system MacOS most commonly uses) is case-insensitive
10:48:13PMunchKiloneie, I think the problem with this one is how aggressively it spread
10:48:35PMunchI mean H1N1 had an R0 of about 1.3 I think, Covid is at about 2.4
10:48:47FromDiscord<Kiloneie> it's only a danger to older people with pre existing conditions
10:49:14PMunchOlder people and/or people with pre-existing conditions
10:50:22FromDiscord<Kiloneie> Sure it spreads fast based on data we don't really have access to, but seriously people are panicking way too freaking much
10:50:55FromDiscord<Kiloneie> if this was a really dangerous one, we would all be dead already as the preventives countries have made are absolute crap.
10:52:02FromDiscord<Kiloneie> Also it doesn't help that some people are already running around in shorts with this wacky weather.
10:52:31FromDiscord<mratsim> That's not the main issue
10:53:05FromDiscord<mratsim> At this rate it will become a seasonal disease like H1N1 from 2009, so we will have outbreak every year but 20x more fatality rates
10:53:18PMunchYeah I'm not afraid of doing from it myself..
10:54:11FromDiscord<Kiloneie> Well hopefully China will learn not to have those crapy stands of meat from oh so many animals all mixed together in open air
10:54:41PMunchMore worried about my grandparents and such. And if everyone gets it at the same time the health system is just absolutely going to break down, which isn't great..
10:54:43FromDiscord<mratsim> Culture and traditions are very hard to change
10:55:03PMunchDidn't they actually pass some new laws about that like this week?
10:55:32PMunchhttps://edition.cnn.com/2020/03/05/asia/china-coronavirus-wildlife-consumption-ban-intl-hnk/index.html
10:55:49alexander92oh
10:55:53alexander92in bulgaria we just got into
10:56:08alexander92uh no idea how is it called in english
10:56:11Araqit's not from meat, it's a bio-weapon that escaped the lab
10:56:14alexander92emergent state?
10:56:26alexander92state of emergency*
10:56:57FromDiscord<mratsim> The Yunnan region proverb is going the way of the dodo "You can eat anything that has four legs other than a table, anything that flies other than an airplane, and anything that swims other than a submarine."
10:57:26PMunchI mean you can, but possibly only once
10:57:45alexander92Kiloneie it doesnt matter at all if mostly old people are dying, because younger people can still be carriers of disease and infect them/overwhelm ICU-s
10:57:47PMunchalexander92, oh wow. I don't think that has been officially declared here
10:57:53PMunchAraq <_<
10:57:56Araq(I'm not entirely serious but how knows)
10:57:59FromDiscord<mratsim> France was in a state of emergency between 1995 and 2005 after a terrorist attack, it was hard to see what was the difference after 2 years
10:58:00Araq*who
10:58:12Araqlol
10:58:22alexander92praise God we dont have any cases in Plovdiv actually
10:58:30PMunchI mean it would be a weird weapon to push, like who would benefit from it?
10:58:44alexander92we have mostly 23 at all, so its a bit surprising
10:58:51PMunchI guess the fact that it takes mostly old/sick people might be positive for the pensions system..
10:58:53alexander92mratsim wow 10 years
10:59:22alexander92but its mostly because we're not very disciplined about quarantine
10:59:23*marmotini_ joined #nim
11:00:05PMunchalexander92, better safe than sorry I guess..
11:00:10*s4mu3lbk joined #nim
11:00:19alexander92PMunch yeah i was a bit surprised, i hope the north is cold enough for it to not spread
11:00:37alexander92like i cant imagine an epidemic in such cold places for some reason
11:01:31alexander92Araq yeah i also doubt it: its almost impossible to control such a thing, and there have been many outbreaks from China before and in history anyway
11:01:58alexander92its the simplest explanation and it fits
11:02:56vegaiI thought cold was good for this virus
11:03:06vegaiand a warmer weather will make transmissions less likely
11:03:10FromDiscord<Recruit_main70007> it is
11:04:19FromDiscord<Recruit_main70007> im with Araq, they had the corona in a lab, and they fucked it up, in fact i think it could be a cross between the flu and HIV, since the people that die are usually old with other diseases before
11:04:56PMunchBut why
11:05:05alexander92but there have been so many outbreaks through history, what is so different about this one to require a lab: it just feels forced
11:05:14FromDiscord<Recruit_main70007> as a bio weapon
11:05:16PMunchWith all conspiracies it's important to follow the money, who would benefit from that
11:05:45alexander92but how can you control such a bio weapon: you need to somehow vaccinate *all of your citizens* without getting anyone to be suspicious and without leaking it
11:05:50PMunchBut it's completely indiscriminate..
11:06:35alexander92or yeah to just attack certain kinds of people, but why would you attack old people
11:06:41PMunchI mean a vaccine could just be part of your vaccination program for a long time. But no country seems to be particularly immune to it so far..
11:06:44FromDiscord<Recruit_main70007> i think it wasnt on purpose, although the chineese goverment could know that in the case of a pandemy, they could manage the situation with their regime, and other countries would not be able to.
11:07:18alexander92if this was true, this would leak 100 times and other countries would literally wage war for stuff like this
11:07:33alexander92i really doubt such an operation is achievable
11:08:14FromDiscord<Recruit_main70007> communism can hide things from the rest of the world, they ve done it before
11:08:35alexander92i can imagine something leaking from a lab as a result of simply experimenting, as they do some very weird stuff in china sadly, but i really doubt it and i dont think it would be intended
11:08:51FromDiscord<Recruit_main70007> i also doubt it
11:08:53alexander92Recruit meh, not really
11:09:05alexander92people generally knew about the stuff communists do around here
11:09:18alexander92even with some delay
11:09:48FromDiscord<Recruit_main70007> a lot of them, yes, but im sure they still hide a lot of things
11:10:18FromDiscord<Recruit_main70007> gotta work :p
11:10:18FromDiscord<Recruit_main70007> bye
11:10:25alexander92bye bye
11:11:21alexander92btw the gitter bridge doesnt work
11:16:54*s4mu3lbk quit (Ping timeout: 258 seconds)
11:29:07*s4mu3lbk joined #nim
11:32:48*Tanger joined #nim
11:34:08*hoijui joined #nim
11:37:40*s4mu3lbk quit (Ping timeout: 265 seconds)
11:41:07*Hideki_ quit (Remote host closed the connection)
11:44:09*Hideki_ joined #nim
11:44:56*lritter joined #nim
11:45:22*nsf quit (Quit: WeeChat 2.7)
11:46:17*clyybber joined #nim
11:48:38*Hideki_ quit (Ping timeout: 256 seconds)
11:52:26PMunchKiloneie, if you're around I made a little recording using my $0.63 lapel mic: https://uploads.peterme.net/lapeltest.mp3
11:52:52PMunchI mean this keyboard isn't super noisy to begin with. But the only clicks you can really hear in that recording is when I'm slapping the spacebar
11:53:12*aeverr joined #nim
11:53:19*aeverr_ quit (Ping timeout: 258 seconds)
11:53:44*aeverr quit (Client Quit)
11:55:49PMunchJust remembered that I have a switch tester with MX switches, this is what they sound like when clicked at about the same distance as where I keep my keyboard: https://uploads.peterme.net/lapeltest_switches.mp3
11:58:50*Vladar quit (Ping timeout: 256 seconds)
11:59:50*s4mu3lbk joined #nim
12:10:08FromDiscord<Kiloneie> it's weird how good the voice quality is on something that cheap oO
12:10:20FromDiscord<Kiloneie> gotta see if i can find it as cheap here
12:11:01PMunchYeah, I was very surprised :P
12:11:23PMunchIt does have a slight hiss to it, but nothing that the PulseAudio echo-filter can't handle
12:12:29*s4mu3lbk quit (Ping timeout: 258 seconds)
12:20:55*solitudesf- joined #nim
12:23:27*solitudesf quit (Ping timeout: 260 seconds)
12:24:54*s4mu3lbk joined #nim
12:25:03PMunchKiloneie, I think this is pretty much the one I have: https://www.aliexpress.com/item/4000592902319.html?spm=a2g0o.productlist.0.0.25c32021t7Xk3l&algo_pvid=63fc5c48-4dd3-4b35-b9f3-86ed0fa3108a&algo_expid=63fc5c48-4dd3-4b35-b9f3-86ed0fa3108a-2&btsid=0ab6f82315841022619814158e666c&ws_ab_test=searchweb0_0,searchweb201602_,searchweb201603_
12:31:34FromDiscord<Kiloneie> If i only knew the name of this in my language, all im getting are every other kind of microphone D:...
12:32:02PMunchWhich language?
12:32:08FromDiscord<Kiloneie> Slovenian
12:32:56FromDiscord<Kiloneie> this seems to be the best i can get with a quick search on website that tries to find cheapest prices for a product, and it seems very popular: https://www.mimovrste.com/pc-mikrofoni/tracer-mikrofon-studio-pro-set
12:33:03FromDiscord<Kiloneie> not seeing any lapel ones...
12:33:25PMunchhttps://www.heureka.sk/?h[fraze]=lavalier+mikrofon
12:33:36PMunchThere's plenty, but not any really cheap ones..
12:33:56FromDiscord<Kiloneie> https://www.ceneje.si/L3/432/avdio-video/glasbena-oprema/mikrofoni?sort=3
12:34:08FromDiscord<Kiloneie> same here, put on cheapest to highest filter, and...
12:34:15FromDiscord<Kiloneie> across many stores this is it...
12:34:35PMunchhttps://www.ceneje.si/Izdelek/1436089/avdio-video/glasbena-oprema/mikrofoni/proel-mikrofon-kravatni-lcm1
12:34:41PMunch€10, not too bad
12:35:05PMunchOh wait, that was a head-mounted thing
12:35:12PMunchI guess that would work too though
12:35:23FromDiscord<Kiloneie> yeah but for 33.7€ more € - 5€ on delivery cause i got VIP there as in free delivery, it's a much better deal
12:35:38PMunchhttps://www.ceneje.si/Iskanje/Izdelki?q=kravatni+mikrofon
12:35:39*clyybber quit (Quit: WeeChat 2.7.1)
12:35:52PMunchKravatni mikrofon seems to be the word you're looking for
12:36:05FromDiscord<Kiloneie> which translates to tie mic
12:36:11FromDiscord<Kiloneie> as in tuxido tie...
12:36:18alexander92guys this exception handling thing starts to look very wild
12:37:00alexander92i am afraid if we get several kinds of error + flags for it this will be just a combinatorial explosion of edge cases/lib signatures
12:37:16alexander92is it easy to make all this orhtogonal
12:37:17PMunchMakes sense, they are commonly attached to your tie, or lapel (the thing either side as an extension to your collar in a suit jacket)
12:37:28alexander92all those *
12:38:12FromDiscord<Kiloneie> https://www.mimovrste.com/pc-mikrofoni/tracer-mikrofon-studio-pro-set?tab=reviews 43.70€ + 2€ for home delivery take over, this seems like a really good deal, great opinions on it too from 20 people, hopefully it lasts thougfh the arm and everything
12:38:41FromDiscord<Kiloneie> no 50 cent replacement for me here xD...
12:39:07FromDiscord<Kiloneie> still really cheap though, my current mic with boom filter cost me like 120€ about 10 years ago, i guess everything got much cheaper now
12:39:10PMunchHaha, can't you order from AliExpress? Or do you just not want to wait for shipping?
12:39:26FromDiscord<Kiloneie> idk about quality there...
12:39:26PMunchYeah I think microphones and such have gotten quite a bit cheaper
12:39:34*Hideki_ joined #nim
12:39:34*Hideki_ quit (Remote host closed the connection)
12:39:57FromDiscord<Kiloneie> i ordered a VGA to digital... or vice versa converter once, and it never delivered
12:40:02PMunchTypical chinese quality :P But the one I linked looks exactly like the one I have, and it sounds very good for 40.63
12:40:04FromDiscord<Kiloneie> till then i bought my new pc setup
12:40:07PMunch$0.63*
12:40:10*Hideki_ joined #nim
12:40:24FromDiscord<Kiloneie> where did you get it ? 63 cents what
12:40:32*Hideki_ quit (Read error: Connection reset by peer)
12:41:18*Hideki_ joined #nim
12:41:46PMunchThe one I linked you: https://www.aliexpress.com/item/4000592902319.html
12:42:02PMunchApparently they're down to $0.53 now :P
12:42:16PMunchWith free worldwide shipping
12:42:31PMunchI got mine from AliExpress
12:42:53*Hideki_ quit (Remote host closed the connection)
12:43:08*Hideki_ joined #nim
12:43:09*Hideki_ quit (Read error: Connection reset by peer)
12:43:11FromDiscord<Kiloneie> this will arrive in like 2 months due to corona crap though D:
12:43:46*Hideki_ joined #nim
12:44:03FromDiscord<Kiloneie> also if i buy the mic with the arm i linked, i can for sure get at least 20€ for my current mic and boom filter since boom filters can't just drop in price
12:44:24FromDiscord<Kiloneie> so that's about 15-20€ for the setup i need
12:45:31FromDiscord<Kiloneie> occasionally i find some sets at extremely good prices
12:45:42*dddddd joined #nim
12:45:52*s4mu3lbk quit (Ping timeout: 256 seconds)
12:47:04*Hideki_ quit (Remote host closed the connection)
12:47:19*Hideki_ joined #nim
12:47:20*Hideki_ quit (Remote host closed the connection)
12:47:49*Vladar joined #nim
12:47:54*Hideki_ joined #nim
12:48:15FromDiscord<Kiloneie> Like this is a really good deal: https://www.mimovrste.com/miske-in-tipkovnices/redragon-gaming-komplet-4-v-1-s101-ba
12:48:15FromDiscord<Kiloneie>
12:48:15FromDiscord<Kiloneie> Im planning a lan party system for the future, 5 computers and this is like amazing good price.
12:49:41*alexander92 quit (Ping timeout: 265 seconds)
12:49:53*alexander92 joined #nim
12:50:39*jholland__ joined #nim
12:52:40*Hideki_ quit (Ping timeout: 256 seconds)
12:52:53disruptek!last livcd
12:52:54disbotlivcd never seen.
12:53:21disruptekπŸ™
12:55:05Araqok, so now schools are closing here too
12:56:35FromDiscord<Kiloneie> same here
12:57:23*sz0 joined #nim
12:58:06disruptekgood.
12:58:18disruptek!last rika
12:58:19disbotRika spoke in 12#nim 22 hours ago
12:58:35disruptek!last aeverr
12:58:35disbotaeverr quit 764 minutes ago and last spoke 22 hours ago
12:59:32FromDiscord<Rika> hello?
12:59:56disruptekhow are you feeling?
13:00:47FromDiscord<Rika> better regards sickness, more annoyed regards the lockdown, even more annoyed regards the code i've been trying to improve the speed of
13:01:12*Hideki_ joined #nim
13:02:07disruptekgood.
13:02:10disruptekπŸ˜‰
13:02:41FromDiscord<Rika> wtf do you mean good ;~;
13:03:15disruptekcould be worse. livcd was in quarantine and we haven't heard from him in days.
13:03:24PMunchUhoh
13:03:39PMunchI mean, he could just be sick and not on IRC :P
13:03:53PMunchBut he's probably dead
13:08:08alexander92huh really
13:08:15alexander92how do you know he was in quarantine
13:08:33FromDiscord<Rika> perhaps he said so
13:10:03AraqI think you have internet in quarantine
13:16:11*nsf joined #nim
13:16:57FromDiscord<Rika> oh my god
13:17:05FromDiscord<Rika> its not the requests making my process lag
13:17:10FromDiscord<Rika> oh my god
13:18:46PMunchAraq, but what about computer viruses. One can never be too careful!
13:19:01PMunchRika, did you find your bottleneck?
13:19:06FromDiscord<Kiloneie> that is so 2000...
13:19:21FromDiscord<Kiloneie> viruses in these days ? lmao D:
13:19:22alexander92rika oh did you find it
13:19:37alexander92Araq btw what about effects in async code
13:19:52alexander92is there any difference in how are they handled currently
13:20:16FromDiscord<Rika> pmunch, i have a hunch on what it is
13:21:15alexander92wow this is almost poetry :)
13:21:37alexander92if one imagines munch being pronounced like hunch
13:21:45*marmotini_ quit (Remote host closed the connection)
13:21:55PMunchHaha :P
13:22:00FromDiscord<Rika> O_O internal error
13:22:21*marmotini_ joined #nim
13:22:28FromDiscord<Rika> when using defer in a block that returns last expression
13:22:38Araqalexander92: I dunno, it's all non-sense
13:22:41FromDiscord<Rika> yield in expr not lowered
13:22:46FromDiscord<Rika> interesting
13:23:10AraqRika: report it please
13:23:19PMunchUnfortunately it isn't, Munch is pronounced more like punk than hunch. But with the u pronounced more like the u in university.
13:24:08FromDiscord<Rika> like "myunk"? or something?
13:24:29*marmotini_ quit (Read error: Connection reset by peer)
13:24:38FromDiscord<Rika> ill try making a reproducible first
13:24:44*marmotini_ joined #nim
13:26:46PMunchFuck it, since I had my mic set up: https://uploads.peterme.net/name.mp3
13:26:51*shadowbane joined #nim
13:27:00alexander92Araq dont be a nichilist!
13:27:03alexander92PMunch i know
13:27:19alexander92hmm no i pronounce it like munich but without i
13:27:27FromDiscord<Rika> huh, i cant seem to replicate the issue
13:27:37*hax-scramper quit (Read error: Connection reset by peer)
13:27:50*hax-scramper joined #nim
13:27:53FromDiscord<Rika> so "myunkh"
13:28:35PMunchWhere do you get the y from? :P
13:28:41disrupteksomewhere between moonk and monk. americans pronounce it `monk`.
13:28:59FromDiscord<Rika> english pronunciation of munich
13:29:05*shadowbane quit (Client Quit)
13:29:20PMunchOur Brazilian relatives actually changed their names to "Munk" in order to have people pronounce the name closer to how it's intended
13:29:27alexander92yeah in bulgarian its like m strong-german-u n k
13:29:53PMunchalexander92, yeah that's pretty much exactly it
13:30:33FromDiscord<Rika> i have no idea how european pronunciation works
13:30:45FromDiscord<Rika> all i know are american pronunciations and asian ones
13:36:17disruptekmy family name is actually kimmich; german. but no one pronounces it with a hard k correctly in the states.
13:36:53PMunchWait what, how do they pronounce it?
13:37:20disruptekthey get the first k right but it should be `kimmick`.
13:37:50*marmotini_ quit (Remote host closed the connection)
13:38:23*marmotini_ joined #nim
13:38:41PMunchAah
13:38:44*marmotini_ quit (Read error: Connection reset by peer)
13:38:51PMunchSo same as my -ch
13:38:58*marmotini_ joined #nim
13:39:10disruptekyep.
13:39:30PMunchI thought they somehow messed up the first one :P
13:39:49disruptekwherever there is stupid, there is an american.
13:39:58disruptekwe will find a way.
13:44:35PMunchArgh, back to my issue from yesterday, how can I pass one node tree through an identifier, and one through a block to a macro..
13:45:15FromDiscord<Rika> THERE IT IS
13:45:27FromDiscord<Rika> god it took me so long
13:46:13*shadowbane joined #nim
13:46:54Araqalexander92, I personally still think "quirky exceptions" are best, all things considered. The only reason I'm not pushing for them is that it's mostly unexplored territory
13:47:06*abm joined #nim
13:49:23FromDiscord<Rika> ok wtf xd its not just that wtfffff
13:49:30FromDiscord<Rika> ill go insane before i realize that im an idiot
13:50:21PMunchhttps://play.nim-lang.org/#ix=2e72
13:50:49PMunchWeird error, why is the argument to a macro not possible to evaluate on compiletime?
13:51:07PMunchRika, haha :P
13:51:34*Guest46290 quit (Ping timeout: 255 seconds)
13:52:48PMunchSame error without the template: https://play.nim-lang.org/#ix=2e75
13:54:05FromDiscord<mratsim> because in the VM context there is no compile-time, everything is at runtime for the VM
13:54:22FromDiscord<mratsim> i.e. use let instead of const and use if instead of when
13:54:28FromDiscord<mratsim> and no "static" block
13:54:51PMunchThat is all well and good
13:55:10PMunchBut I still can't figure out how to do this
13:57:07alexander92Araq i have to try them, however i like radical methods :P
14:00:53alexander92rika what was the error
14:01:28FromDiscord<flywind> sink can't work with varargs?
14:02:28*dadada joined #nim
14:02:52*dadada is now known as Guest75767
14:16:40*okcc joined #nim
14:17:51*Hideki_ quit (Remote host closed the connection)
14:17:57okcchow i can get value of a ptr like *(some_ptr) in C?
14:18:08disrupteksomeptr[]
14:18:39disruptekquirky /is/ best, but how can we support progressive use of quirky so i can use it in libs?
14:18:50disruptekthis is the problem afaik.
14:19:56*hax-scramper quit (Ping timeout: 256 seconds)
14:20:03*Hideki_ joined #nim
14:20:24*hax-scramper joined #nim
14:22:43okccdisrupttek: it's that the default way?
14:22:56okccalso thank you :)
14:23:01disruptekyep.
14:26:35*okcc quit (Read error: Connection reset by peer)
14:26:57*okcc joined #nim
14:27:39PMunchHmm, is there seriously no way to pass a NimNode tree to a macro?
14:29:51*okcc quit (Remote host closed the connection)
14:30:04*okcc joined #nim
14:30:59*okcc quit (Remote host closed the connection)
14:52:55FromDiscord<mratsim> okcc: use ptr UncheckedArray[T]
14:54:16FromDiscord<mratsim> ah misread you wanted to dereference
14:54:50ZevvPMunch: why would you do that?
14:56:22*Vindaar joined #nim
14:57:25PMunchBecause I'm trying to do magical things with macros :P
14:57:46*marmotini_ quit (Remote host closed the connection)
14:57:46PMunchBut I think I've found a way to do it
14:57:52PMunchOr rather to do what I wanted to do
14:58:04disruptekjust have the macro call a compile-time proc. use the proc to do the work.
14:58:10Zevvright
14:58:19*marmotini_ joined #nim
14:58:19ZevvThe first thing I always do from a macro is go into procs
14:58:24Zevvso that I do understand what is happening
15:00:03FromDiscord<mratsim> Magical things with macros: Summon poney
15:00:04PMunchdisruptek, that doesn't work, because I want to pass one node tree by an identifier
15:00:35disruptek~stream
15:00:36disbotstream: 11https://twitch.tv/disruptek (live video/audio) and mumble://uberalles.mumbl.io/ (live voice chat) -- disruptek
15:03:00*marmotini_ quit (Ping timeout: 256 seconds)
15:06:50*theelous3 joined #nim
15:10:04*Trustable joined #nim
15:17:24*Zectbumo quit (Remote host closed the connection)
15:24:23PMunchUhm, wut: Error: type mismatch: got <untyped> but expected 'NimNode = ref NimNodeObj'
15:26:18*marmotini_ joined #nim
15:32:10*nsf quit (Quit: WeeChat 2.7)
15:42:43*solitudesf- quit (Ping timeout: 260 seconds)
15:44:37FromDiscord<mratsim> are you passing a NimNode to a template?
15:45:06*solitudesf joined #nim
15:45:41disruptek!last leorize
15:45:41disbotleorize spoke in 12#nim 24 hours ago
15:46:46disrupteknimsuggest not working. my life is broken.
15:47:51*sacredfrog quit (Quit: ZNC 1.7.5 - https://znc.in)
15:48:08*solitudesf- joined #nim
15:48:45*sacredfrog joined #nim
15:49:50*solitudesf quit (Ping timeout: 258 seconds)
15:52:09leorizedisruptek: o/
15:52:27disruptekhey, i don't get it. it works fine until i change branches.
15:52:50disrupteki think that's the problem, anyway. exits with code 1.
15:53:17*arecaceae quit (Remote host closed the connection)
15:53:39*arecaceae joined #nim
15:55:21leorizetry calling it yourself then?
15:55:50disruptekhow?
15:56:26leorizenimsuggest --find /path/to/file.nim
15:57:00disruptek/home/adavidoff/git/Nim/lib/system/assertions.nim(29, 7) Error: type mismatch: got <proc (msg: string){.noinline, noSideEffect, gcsafe, locks: 0.}> but expected 'Hide = proc (msg: string){.noinline, noSideEffect.}'
15:57:04disruptek.raise effects differ
15:58:28livcdif anyone is wondering i might be infected so yeah
15:58:40disruptekoh hey
15:58:43disruptekare you sick?
15:59:07livcdi was released from quarantine just a few days ago and there were 3 people infected in our office :D
15:59:32disruptekdude, get away from me.
15:59:33*disruptek left #nim (#nim)
15:59:51leorizelol
15:59:54*Hideki_ quit (Remote host closed the connection)
16:00:12leorizelivcd: stay safe :)
16:01:06livcd:F what can I do i am gonna die
16:01:11livcdi have asthma and weak lungs
16:01:15*Hideki_ joined #nim
16:01:30*disruptek joined #nim
16:01:34disruptekis he gone?
16:02:35livcddont get too stressed :-)
16:03:30FromDiscord<mratsim> you have an excuse to work on Nim all day
16:05:54*Hideki_ quit (Ping timeout: 256 seconds)
16:11:16shashlickI've implemented https://github.com/nimterop/nimterop/issues/169 in a branch for nimterop - do folks have any concerns with the change?
16:11:17disbotβž₯ Skip `{.header.}` generation
16:14:18disruptekleorize: any ideas? just a quirk of the devel compiler?
16:14:32leorizeyea
16:14:52leorizeiirc 4raq pushed a change that disallow hiding {.raises.} via casting
16:15:07disruptekthat punk.
16:15:13leorizewhich assert and friends do
16:15:22leorizeso you gotta update your nimsuggest to deal with that
16:19:01disruptekthank $deity for tests.
16:19:03disruptekoh wait.
16:27:50shashlickdisruptek: does gittyup have tests?
16:28:00disrupteki think a couple.
16:28:39shashlicki need to verify that wrappers are still working correctly with that change
16:30:01shashlickdoes nimph have tests??
16:30:07disrupteka couple.
16:30:26disrupteknimble doesn't work in devel, though.
16:30:32disrupteksame problem as nimsuggest.
16:31:28*NimBot joined #nim
16:33:02shashlickwhat's the issue
16:34:21disruptekhttp://ix.io/2e7E
16:34:58alexander92ok they are closing our gyms
16:35:06disruptekNO
16:35:52alexander92it's actually very radical
16:36:11disruptekit's due to a0eca7518223a18f3633150de2c8d3c1c9e71560
16:36:14alexander92they're closing everything except grocery stores, apothekes and drogeries
16:37:21alexander92livcd is alive
16:38:07FromDiscord<Rika> apothekes?
16:38:13FromDiscord<Rika> drogeries? drug stores?
16:39:06disruptekyep.
16:39:24disrupteki'm trying a build all just before the sink inference.
16:39:46shashlickdisruptek: http://ix.io/2e7H
16:40:07disruptekknown failure. unrelated.
16:41:05shashlickokay
16:41:31disrupteki wonder why no one else has this issue i'm having, though.
16:41:52disruptekpre-sink-inference works.
16:43:29disruptekshashlick: segv for me testing nimph, sadly.
16:44:12disruptek~stream
16:44:13disbotstream: 11https://twitch.tv/disruptek (live video/audio) and mumble://uberalles.mumbl.io/ (live voice chat) -- disruptek
16:44:44disruptekgittyup is fine, though.
16:45:12shashlickdo you mean with the test nimterop or nim
16:45:20alexander92rika yeah sorry, not sure what are the english words
16:45:36disrupteksince i ran the gittyup tests, now it seems that nimph is working.
16:45:38alexander92pharmacies* and drug stories
16:45:43alexander92stores*
16:46:00disruptekit's so weird the way that happens with nimterop.
16:46:47shashlickare you talking about my {.header.} change
16:46:58disrupteki have no idea.
16:47:38Araqhi livcd, I'm glad you're around
16:48:00disrupteknimph is back to dumping extra hintConf again.
16:48:31disruptekwhy did that change in the compiler?
16:49:48Araqwhat do you mean?
16:50:24Araqwhat change?
16:50:57disrupteki'm getting extra nimConf. more than i'm used to.
16:51:00leorizegah, some nimsuggest features are just painful to use
16:51:16leorizeit offloads too much work to the user
16:51:17disruptekanyway, different problem... nimsuggest is crashing on my edited files, but not when i revert my changes.
16:51:45*mattmurr quit (Quit: ZNC 1.7.5 - https://znc.in)
16:52:21Araqjust fix the crash and don't fuck around with git history
16:52:47Araqthere is a debug mode somewhere, enable it, look at the stack trace, done
16:52:54disruptekkk
16:53:12Araqusually 'nim check' replicates the bug
16:53:16*mattmurr joined #nim
16:53:19Araqso that you don't even have to start nimsuggest
16:53:42*tane joined #nim
16:53:44disrupteknot this time.
16:53:58disrupteki can't even build nimsuggest now.
16:55:15Araqthat's covered by our CIs though
16:55:32disruptekour CIs don't have my edited source in them. bad data.
17:01:09*rockcavera quit (Remote host closed the connection)
17:02:13*Jesin quit (Quit: Leaving)
17:03:46*nsf joined #nim
17:06:55*Hideki_ joined #nim
17:08:40*Jesin joined #nim
17:14:00*marmotini_ quit (Remote host closed the connection)
17:14:36*marmotini_ joined #nim
17:17:37*Hideki_ quit (Ping timeout: 258 seconds)
17:19:47*marmotini_ quit (Ping timeout: 260 seconds)
17:24:50PMunchHmm, why did this only run one check? https://github.com/nim-lang/Nim/pull/13620
17:24:51disbotβž₯ Improve deque, tables, and set modules
17:25:35*PMunch quit (Quit: leaving)
17:28:44*xace quit (Ping timeout: 258 seconds)
17:37:28*Vindaar quit (Ping timeout: 268 seconds)
17:42:26disruptekmy nimsuggest crash is due to `Something {.deprecated.} = object` πŸ™
17:43:30disruptekwell, the one that isn't due to the assertion issue with sink inference, i mean.
17:47:04Araqnow ... instead of fixing bugs I'm gonna make another exception handling proposal...
17:47:15*disruptek sighs.
17:47:37Araq:-)
17:47:55disruptekluckily, i can gdb this segv. i'm amazed. it's threaded.
17:51:22*Trustable quit (Remote host closed the connection)
17:51:52disruptekeven with color syntax hi-lighting. what a world.
17:53:24*leorize quit (Quit: WeeChat 2.7.1)
18:06:43*opal quit (Ping timeout: 240 seconds)
18:06:54*s4mu3lbk joined #nim
18:08:38alexander92Araq oh yeah
18:08:53alexander92exception handling is like solving the korea conflict
18:09:15alexander92it's not, ok
18:09:23alexander92disruptek why are you debugging nimsuggest
18:09:40disrupteki seem to have a parse issue, incredibly.
18:09:49disruptekno ast for deprecated object nodes.
18:10:16*opal joined #nim
18:10:45disrupteki don't need deprecated object nodes as much as i need nimsuggest, but perhaps others would like their compilers to not crash when such an animal is encountered.
18:11:40alexander92computers crashing no bug splashing flashing in our mood
18:11:56alexander92animals are not computers, computers are not bugs
18:12:17disruptekat least we have an application for our nim-powered id-tags for fosdem2021.
18:12:32disruptekan alarm goes off when two id-tags get within 7' of each other.
18:12:39disruptekprevents infection.
18:12:39alexander92the face thing right
18:12:44alexander92i just thought about this today!
18:12:50alexander92i am probably only the 829392-st
18:13:08alexander92but imagine how hard would it be to eat
18:13:16disruptekyou don't eat your id-tag.
18:13:24alexander92you'll have to throw stuff to your mouth
18:13:27alexander92i dont like it
18:13:31disruptekwait, what?
18:13:44alexander92well if the first id tag is on your hands
18:13:48alexander92and the other one on your face
18:13:57disruptekevery person wears a single tag.
18:14:06alexander92but no, you shouldnt touch your face
18:14:09disruptekas long as your burger doesn't wear a tag, too, you should be okay.
18:14:11alexander92i am not sure why tho
18:14:20alexander92but what if my burger wears a tie
18:14:21disruptekif you had ever seen my face, you'd know.
18:14:24disruptekmostly teeth.
18:15:16alexander92your dentist must feel like a facelifter!
18:15:24Araqalexander92: anyhow here is the idea
18:16:02alexander92i hope we ca nhandle it
18:16:36Araqthere are 3 ways to deal with an error: 1) on error die, 2) on error propagate, 3) on error continue until X
18:17:10Araqwe support 1 and 2 well, quirky does (3)
18:17:13FromDiscord<mratsim> 4) on error reboot
18:17:33Araqmratsim: same as 'die' for me, but maybe you're right
18:18:03Araq(3) is almost always what I want in a destructor
18:18:18*xace joined #nim
18:18:45alexander92we can ignore an error right
18:18:54Araqand if enable-able for a section of code it's generally useful
18:18:54Zevvaraq: practical example?
18:19:38AraqZevv: for x in fields(obj): =destroy(x) # destroy all the field, remember the first error for later
18:19:38alexander92but how hard is for one to write such code
18:19:40disruptekyou are iterating and adding to a result; you would like to get whatever work you have done in the loop despite raising at some point.
18:19:52alexander92that independently on what error strategy/flags are used
18:19:59alexander92it kinda works as expected
18:20:00ZevvAraq: right, that makes sense indeed
18:20:14Zevvbut what about consequent errors?
18:20:39Araqyou can stack them but it quickly can take up lots of memory
18:20:48Zevvexactly
18:21:02Zevvbut not stacking them is throwing them away, which is also not right
18:21:05AraqIMO the first error is almost the most important one and the rest can be ignored
18:21:22Zevvpfew that makes it hard to reason about things
18:21:28Araqit's what the Nim compiler does by default, nobody complained
18:21:33*alexander92 quit (Quit: leaving)
18:21:58Zevvhow so? it does not "complete until X" now, does it?
18:22:09Zevvyou are referring to exceptions leading to more execptions
18:22:13disruptekit does with quirky.
18:22:23Zevvno one uses quirky
18:22:32Araqthe 'X' is to be determined
18:22:44AraqI suggest it means "until the current function returns"
18:23:11Zevvhm does that hold? In your example =destroy(x) might throw
18:23:24Zevvso *that* is the throwing function, not the one doing the for loop
18:23:55disruptekno
18:24:21disrupteki mean, yes, this is the problem. but the original exception was presumably in the loop func.
18:24:55Zevvhmm
18:25:00Araq1. destroy calls 'dealloc'. no error possible, easy.
18:25:20Araq2. destroy calls 'close', 'close' errors because it triggers an IO op
18:25:26Zevv3. destroy does stupid things because people are stupid
18:25:37Zevvbut let's go for 2
18:25:40Araqother 'close' calls still run but we remember the error
18:26:03Araqsounds ok, it's pretty much what I would code by hand
18:26:33*FromGitter joined #nim
18:26:36Zevvand how would you tell the compiler to handle like this instead of proagating down the call chain right away?
18:27:10Zevvwrong worded, let me retry:
18:27:14Araqyet-another-pragma or yet-another runtime hook
18:27:25Zevvis that the default behaviour or can you choose somehow
18:28:08Zevvpragma makes sense
18:28:57disruptekis this currently impl as a transform?
18:30:56Araqit's not implemented at all
18:31:09disrupteki mean quirky.
18:31:28Araqquirky is in the C backend
18:31:34disruptekahh.
18:35:16*crem quit (Ping timeout: 256 seconds)
18:36:40*crem joined #nim
18:38:16FromGitter<kaushalmodi> Araq: Is there isn't way to expose all export marker procs in a .so, right?
18:38:32FromGitter<kaushalmodi> ..as is I manually annotated each with `{.exportc, dynlib.}`
18:38:34Araqno.
18:38:49FromGitter<kaushalmodi> trying to figure out how to debug a crash
18:39:01FromGitter<kaushalmodi> because it happens only in a regression suite that runs like 1000 simulations
18:39:15FromGitter<kaushalmodi> and when I run just that one seed manually, the crash does not happen
18:39:59*fanta1 joined #nim
18:40:14FromGitter<kaushalmodi> as each symbol is not exposed, the stacktrace is not very helpful: ⏎ ⏎ ```code paste, see link``` ⏎ ⏎ even when g++ compiled with -O0 [https://gitter.im/nim-lang/Nim?at=5e6bd38e1f0d285eb278f046]
18:40:31FromGitter<kaushalmodi> .. I need to figure out what those "don't know"'s are
18:40:57Araqhuh?
18:41:09Araqyou don't need to expose symbols, you need a debug build
18:41:23FromGitter<kaushalmodi> above is with debug build
18:41:28FromGitter<kaushalmodi> with --debugger:native
18:41:59FromGitter<kaushalmodi> I cannot invoke gdb because I cannot reproduce this crash interactively
18:42:21FromGitter<kaushalmodi> the crash happens 1/1000 times in a regression suite kicked off on a CI machine farm
18:42:35FromGitter<kaushalmodi> so the only info I get back is that stack trace
18:43:41Araqyou can attach the debugger to a running process
18:43:47*hax-scramper quit (Ping timeout: 260 seconds)
18:44:31*dwdv quit (Ping timeout: 255 seconds)
18:44:56FromGitter<kaushalmodi> but that process is running on a remote machine that I cannot access
18:45:07*hax-scramper joined #nim
18:45:14FromGitter<kaushalmodi> this is how I generate the debug builds: ⏎ ⏎ > nim cpp --out:libdpi_64.dbg.so --app:lib --nimcache:./.nimcache -f --opt:none --debugger:native --listCmd --gcc.cpp.options.debug="-O0 -g3 -ggdb3" --gc:none libdpi.nim
18:47:01FromGitter<kaushalmodi> btw I pasted the wrong part of the stack trace but this shows the same issue: ⏎ ⏎ ```code paste, see link``` [https://gitter.im/nim-lang/Nim?at=5e6bd5259f25f2238b7dc010]
18:47:14FromGitter<kaushalmodi> libdpi_64.dbg.so is what I built using above command
18:47:33FromGitter<kaushalmodi> cffg_psd_from_arrays has exportc, dynlib so that's visible in the stacktrace
18:47:59FromGitter<kaushalmodi> it then calls stuff from the ggplotnim and ginger nimber packages.. but I cannot see what all it is calling
18:49:07*dwdv joined #nim
18:52:59disruptekleorize[m]: how do i run nimsuggest tests?
18:56:08*sekao joined #nim
18:56:51sekaohas anyone written a treesitter parser for nim yet? i know there's a nim wrapper for the library itself, but i haven't found any parser yet
18:57:54shashlickNot to my knowledge
18:58:01shashlickI use it in nimterop
19:02:18sekaocool i might give it a try at some point. maybe it would help to start with the python grammer. not sure how any of it works yet
19:05:49FromGitter<mratsim> @alehander92 lol, what’s my signature on HN?
19:07:48*oz quit (Quit: EOF)
19:08:26*sekao quit (Remote host closed the connection)
19:12:19*hoijui quit (Quit: Leaving)
19:14:31*Hideki_ joined #nim
19:19:10*Hideki_ quit (Ping timeout: 255 seconds)
19:22:03*silvernode joined #nim
19:24:07shashlick@mratsim - do you have any wrappers based on nimterop in production?
19:24:53*silvernode quit (Client Quit)
19:25:08FromDiscord<Recruit_main70007> @mratsim ^
19:27:05disruptekstatus is pretty anti-nimterop afaik.
19:28:44shashlickthey've been pretty supportive in terms of feedback, cept for stefan who thinks it is a bad idea in principal
19:30:14*oz joined #nim
19:32:31disruptekit's amazing how many bad ideas have working implementations compared to good ideas.
19:36:54*zyklon joined #nim
19:38:46*uvegbot quit (Ping timeout: 240 seconds)
19:44:22FromDiscord<Kiloneie> because bad ideas are usually easier to implement ?
19:46:03FromDiscord<mratsim> @shashlick, our wrappers predate nimterop
19:46:14FromDiscord<mratsim> nim-blscurve and nim-secp256k1
19:46:45FromDiscord<mratsim> for my own project I'm still using nimgen for clblast
19:54:51*sagax quit (Ping timeout: 240 seconds)
20:03:01dwdvInteresting discussion on the safety mode RFC. Is this yet another step towards pony- or parasail-like error handling where runtime-exception simply aren't a thing? Wonderful! ;)
20:06:23*solitudesf- quit (Ping timeout: 260 seconds)
20:07:58FromDiscord<mratsim> https://nim-lang.org/araq/destructors.html
20:08:04FromDiscord<mratsim> first language cited is parasail πŸ˜‰
20:08:19Araqdwdv: actually I revived my branch for it
20:08:28Araq"araq-static-bound-checks"
20:09:01Araqwhen you use .defects: [] you have to write code so simple that Nim's proof engine can handle it
20:09:21FromDiscord<mratsim> "parallel" has issue with simble bound checks though :/
20:09:36Araqin my branch it's a tiny bit smarter :P
20:10:00Araqbut explain to me what "simple" means for you
20:10:58FromDiscord<mratsim> it failed with a[i], a[i+1], a[i+2] a[i+3] when unrolling a loop iirc, but maybe I was also in global context and not in a function, it was a long-time ago
20:11:07FromDiscord<mratsim> I was trying to implement parallel reduction
20:12:18Araqthese are supposed to work
20:12:32*fanta1 quit (Quit: fanta1)
20:13:53Araqbut tbh I sometimes wonder if arnetheduck simply wants a .correct pragma
20:14:09Araqyou write .correct to your proc. and the compiler says "nope".
20:14:34Araqand it always says that because it never is correct.
20:15:05Araqproblem solved, the compiler catches all of your bugs at compile-time
20:16:39FromDiscord<mratsim> "nope nope nope"
20:17:11FromDiscord<mratsim> That said I'm really interested in the Z3 work
20:17:13shashlickOk thanks
20:17:41FromDiscord<mratsim> People are using Coq to generate C, Go and Rust code now: https://github.com/mit-plv/fiat-crypto
20:23:06*sagax joined #nim
20:26:37*abm quit (Quit: Leaving)
20:35:25*al_ joined #nim
20:35:25*al_ is now known as Guest94576
20:38:16dwdv"<Araq> 'araq-static-bound-checks'" -- interesting. Were there similar experiments done along the way of pony's not-so-clever forced approach? `try arr(idx)? else foo end`
20:45:28*sz0 quit (Quit: Connection closed for inactivity)
20:50:01FromDiscord<mratsim> that's like Python's "exceptions are control flow"
20:50:18disruptekno, thank you.
20:51:53disruptekmaybe .correct just implements the proc n*m ways and throws out any that aren't viable. so you get undefined behavior, but at least it's "correct".
20:58:29dwdvWell, when used as an expression then the above isn't much different from rust's unwrap_or(foo).
21:08:07*nsf quit (Quit: WeeChat 2.7)
21:11:11*machine21 joined #nim
21:19:26*machine21 quit (Remote host closed the connection)
21:22:04*jjido joined #nim
21:22:21*Guest94576 quit (Quit: Guest94576)
21:22:39*Trustable joined #nim
21:26:03FromDiscord<djazz> late stream again... did some nice progress on my web framework https://www.twitch.tv/daniel_hede
21:53:29*jxy_ quit (Quit: leaving)
21:54:30*hax-scramper quit (Read error: Connection reset by peer)
21:54:48*hax-scramper joined #nim
21:56:49*tdc quit (Ping timeout: 265 seconds)
21:57:30*jjido quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
21:57:48*jxy joined #nim
22:06:35FromDiscord<Spy653> yo anyone with experience with gui's know what the difference between FLTK and IUP is?
22:07:08FromDiscord<Spy653> is there ever a right gui lib to use or is it always just preference
22:07:51*oz quit (Quit: EOF)
22:08:09*Vladar quit (Read error: Connection reset by peer)
22:18:58*tane quit (Quit: Leaving)
22:23:24*oz joined #nim
22:27:48FromDiscord<exelotl> IUP doesn't have good mac support, but I've used it and it's quite nice and simple yet full featured
22:28:04FromDiscord<exelotl> but FLTK has a rather impressive showcase of things that are actually made in it
22:31:22FromDiscord<Spy653> the only thing thats ever really been important to me personally is visuals as I've never built anything to be sed by other
22:34:24FromDiscord<Spy653> I'm really loving the Internet explorer/VBS UI style at the moment don't know if that kind of thing is controlled by the OS or not though
22:47:44federico3a static "table" at compile time would be nice
22:47:56disruptekwe can do that.
22:59:49*lritter quit (Quit: Leaving)
23:06:32*filcuc_ joined #nim
23:06:33*nick34348 quit (Read error: Connection reset by peer)
23:13:19*jjido joined #nim
23:15:29*filcuc_ quit (Quit: Konversation terminated!)
23:19:44*filcuc joined #nim
23:33:48*filcuc quit (Quit: Konversation terminated!)
23:48:00leorize[m]disruptek: you compile the tester in nimsuggest/tests and run jt
23:48:11leorize[m]* disruptek: you compile the tester in nimsuggest/tests and run it
23:48:53leorize[m]make sure that the new nimsuggest is in your PATH, it won't work otherwise
23:51:28*sealmove joined #nim