00:03:00 | * | krux02 quit (Remote host closed the connection) |
00:13:21 | FromDiscord | <Varriount> Hm, this is interesting: http://www.open-std.org/JTC1/SC22/WG21/docs/papers/2018/p1364r0.pdf |
00:13:27 | FromDiscord | <Varriount> https://devblogs.microsoft.com/oldnewthing/20191011-00/?p=102989 |
00:14:00 | FromDiscord | <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:23 | FromDiscord | <mratsim> wow andreaferretti book looks mind-blowing (literally) (https://github.com/andreaferretti/commutative-algebra) |
00:24:24 | FromDiscord | <mratsim> I'm skeptical @Varriount |
00:25:40 | * | azed joined #nim |
00:25:50 | FromDiscord | <mratsim> in the report: http://www.open-std.org/JTC1/SC22/WG21/docs/papers/2018/p1364r0.pdf it says no blocking allowed |
00:26:20 | FromDiscord | <mratsim> AFAIk fibers are used to handle blocking and are an alternative or complement to the event API provided by the kernel |
00:26:30 | FromDiscord | <mratsim> and threads are the same |
00:27:04 | FromDiscord | <mratsim> stackful and thread-local-storage: use heap memory and a GC |
00:27:09 | * | hax-scramper quit (Ping timeout: 258 seconds) |
00:28:46 | FromDiscord | <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:19 | disruptek | did ioselects get brox0red? |
00:38:27 | disruptek | selectors? |
00:38:39 | disruptek | i 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:37 | FromDiscord | <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:58 | FromDiscord | <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:23 | FromDiscord | <flywind> Some libraries like `nimx` `nigui` or `wnim` |
01:41:43 | FromDiscord | <flywind> you can find much more libraries in https://github.com/nim-lang/Nim/wiki/Curated-Packages#gui |
01:42:00 | FromDiscord | <Winton> Windowx? |
01:42:50 | * | Guest92181 quit (Ping timeout: 240 seconds) |
01:43:17 | FromDiscord | <flywind> don't need cross-platform? |
01:45:41 | FromDiscord | <Winton> Windows at the moment is for learning purposes for the |
01:46:45 | FromDiscord | <flywind> `nimx` ,`nigui` and `wnim` can work in windows. |
01:47:03 | FromDiscord | <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:57 | silvernode | Well I got all the basic items added to the prototype code for my space game |
06:11:28 | silvernode | Just pushed a commit |
06:11:42 | * | narimiran quit (Quit: leaving) |
06:11:56 | silvernode | https://github.com/silvernode/space-nim |
06:12:27 | * | Hideki_ quit (Ping timeout: 260 seconds) |
06:13:26 | silvernode | All 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:41 | silvernode | I 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:47 | silvernode | I 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:37 | alexander92 | wow andreaferretti |
07:35:42 | alexander92 | such a book |
07:35:43 | alexander92 | nice |
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:17 | Araq | bye bye Marathon, cancelled |
08:32:27 | Araq | unsurprisingly |
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:53 | FromDiscord | <Rika> oh hello silvernode |
08:41:56 | FromDiscord | <Rika> ah |
08:41:57 | FromDiscord | <Rika> shit |
08:42:02 | FromDiscord | <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:06 | PMunch | Araq, yeah everything is cancelled here |
09:05:21 | PMunch | And 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:32 | Araq | PMunch, oh really? I didn't know |
09:10:34 | * | Hideki_ joined #nim |
09:10:46 | Araq | how many cases do you have? |
09:11:16 | PMunch | 819 total |
09:11:19 | PMunch | 1 dead |
09:11:59 | PMunch | Might not sound like much, but we're only 5mil people in total |
09:12:09 | PMunch | So we have one of the highest per-capita number.. |
09:13:15 | PMunch | Bars 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:32 | PMunch | Pretty much only stores are left open.. |
09:13:38 | Araq | schools? |
09:13:54 | * | marmotini_ joined #nim |
09:14:23 | PMunch | High schools are closed |
09:14:45 | PMunch | Primary and middle schools are closed in some parts of the country |
09:15:00 | * | Vladar joined #nim |
09:15:34 | FromDiscord | <Rika> ah yes the younger the child the less prone they are to sickness |
09:15:57 | Araq | yeah and they don't have parents or great parents and they never interact with them |
09:16:44 | PMunch | Yeah 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:03 | FromDiscord | <Rika> then the govt layer the lower schools are in are dumb |
09:17:20 | PMunch | Pretty much, those are the local government |
09:17:21 | Araq | school is still open here and I am furious about it |
09:17:39 | FromDiscord | <Rika> whole city is lockdown here for one month |
09:17:39 | PMunch | High schools across the country closed yesterday |
09:18:28 | * | marmotini_ quit (Ping timeout: 256 seconds) |
09:18:30 | PMunch | I'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:29 | PMunch | People have of course started hoarding food.. |
09:22:45 | PMunch | So the stores are running out, which are going to cause more people to hoard.. |
09:22:49 | PMunch | It's a mess |
09:22:56 | Zevv | people like you :) |
09:23:17 | PMunch | Oh no, I just always have plenty of food in the pantry :P |
09:23:43 | PMunch | Went to the store yesterday and got some ingredients to make pizza, but not more than I would've normally bought |
09:26:13 | PMunch | Now that I think about it I also have a large stash of freeze-dried hiking meals |
09:26:24 | PMunch | That'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:21 | PMunch | Hahaha, 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:50 | FromDiscord | <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:59 | PMunch | imports are not case-insensitive |
10:27:10 | PMunch | But on Windows they are, because Windows file-names are case-insensitive |
10:27:51 | PMunch | And 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:20 | FromDiscord | <flywind> sorry, it works in windows 1.06. |
10:31:11 | PMunch | Ah, so no extra check was added.. |
10:31:59 | * | Hideki_ joined #nim |
10:32:42 | FromDiscord | <flywind> Thanks for help. |
10:35:05 | FromDiscord | <flywind> looks like macos behaves like windows |
10:35:09 | FromDiscord | <flywind> |
10:35:09 | FromDiscord | <flywind> https://cdn.discordapp.com/attachments/371759389889003532/687972008184512522/unknown.png |
10:46:47 | FromDiscord | <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:21 | PMunch | flywind, yes MacOS is also case-insensitive |
10:47:43 | PMunch | Or rather HFS+ (the file system MacOS most commonly uses) is case-insensitive |
10:48:13 | PMunch | Kiloneie, I think the problem with this one is how aggressively it spread |
10:48:35 | PMunch | I mean H1N1 had an R0 of about 1.3 I think, Covid is at about 2.4 |
10:48:47 | FromDiscord | <Kiloneie> it's only a danger to older people with pre existing conditions |
10:49:14 | PMunch | Older people and/or people with pre-existing conditions |
10:50:22 | FromDiscord | <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:55 | FromDiscord | <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:02 | FromDiscord | <Kiloneie> Also it doesn't help that some people are already running around in shorts with this wacky weather. |
10:52:31 | FromDiscord | <mratsim> That's not the main issue |
10:53:05 | FromDiscord | <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:18 | PMunch | Yeah I'm not afraid of doing from it myself.. |
10:54:11 | FromDiscord | <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:41 | PMunch | More 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:43 | FromDiscord | <mratsim> Culture and traditions are very hard to change |
10:55:03 | PMunch | Didn't they actually pass some new laws about that like this week? |
10:55:32 | PMunch | https://edition.cnn.com/2020/03/05/asia/china-coronavirus-wildlife-consumption-ban-intl-hnk/index.html |
10:55:49 | alexander92 | oh |
10:55:53 | alexander92 | in bulgaria we just got into |
10:56:08 | alexander92 | uh no idea how is it called in english |
10:56:11 | Araq | it's not from meat, it's a bio-weapon that escaped the lab |
10:56:14 | alexander92 | emergent state? |
10:56:26 | alexander92 | state of emergency* |
10:56:57 | FromDiscord | <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:26 | PMunch | I mean you can, but possibly only once |
10:57:45 | alexander92 | Kiloneie 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:47 | PMunch | alexander92, oh wow. I don't think that has been officially declared here |
10:57:53 | PMunch | Araq <_< |
10:57:56 | Araq | (I'm not entirely serious but how knows) |
10:57:59 | FromDiscord | <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:00 | Araq | *who |
10:58:12 | Araq | lol |
10:58:22 | alexander92 | praise God we dont have any cases in Plovdiv actually |
10:58:30 | PMunch | I mean it would be a weird weapon to push, like who would benefit from it? |
10:58:44 | alexander92 | we have mostly 23 at all, so its a bit surprising |
10:58:51 | PMunch | I guess the fact that it takes mostly old/sick people might be positive for the pensions system.. |
10:58:53 | alexander92 | mratsim wow 10 years |
10:59:22 | alexander92 | but its mostly because we're not very disciplined about quarantine |
10:59:23 | * | marmotini_ joined #nim |
11:00:05 | PMunch | alexander92, better safe than sorry I guess.. |
11:00:10 | * | s4mu3lbk joined #nim |
11:00:19 | alexander92 | PMunch yeah i was a bit surprised, i hope the north is cold enough for it to not spread |
11:00:37 | alexander92 | like i cant imagine an epidemic in such cold places for some reason |
11:01:31 | alexander92 | Araq 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:58 | alexander92 | its the simplest explanation and it fits |
11:02:56 | vegai | I thought cold was good for this virus |
11:03:06 | vegai | and a warmer weather will make transmissions less likely |
11:03:10 | FromDiscord | <Recruit_main70007> it is |
11:04:19 | FromDiscord | <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:56 | PMunch | But why |
11:05:05 | alexander92 | but 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:14 | FromDiscord | <Recruit_main70007> as a bio weapon |
11:05:16 | PMunch | With all conspiracies it's important to follow the money, who would benefit from that |
11:05:45 | alexander92 | but 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:50 | PMunch | But it's completely indiscriminate.. |
11:06:35 | alexander92 | or yeah to just attack certain kinds of people, but why would you attack old people |
11:06:41 | PMunch | I 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:44 | FromDiscord | <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:18 | alexander92 | if this was true, this would leak 100 times and other countries would literally wage war for stuff like this |
11:07:33 | alexander92 | i really doubt such an operation is achievable |
11:08:14 | FromDiscord | <Recruit_main70007> communism can hide things from the rest of the world, they ve done it before |
11:08:35 | alexander92 | i 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:51 | FromDiscord | <Recruit_main70007> i also doubt it |
11:08:53 | alexander92 | Recruit meh, not really |
11:09:05 | alexander92 | people generally knew about the stuff communists do around here |
11:09:18 | alexander92 | even with some delay |
11:09:48 | FromDiscord | <Recruit_main70007> a lot of them, yes, but im sure they still hide a lot of things |
11:10:18 | FromDiscord | <Recruit_main70007> gotta work :p |
11:10:18 | FromDiscord | <Recruit_main70007> bye |
11:10:25 | alexander92 | bye bye |
11:11:21 | alexander92 | btw 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:26 | PMunch | Kiloneie, if you're around I made a little recording using my $0.63 lapel mic: https://uploads.peterme.net/lapeltest.mp3 |
11:52:52 | PMunch | I 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:49 | PMunch | Just 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:08 | FromDiscord | <Kiloneie> it's weird how good the voice quality is on something that cheap oO |
12:10:20 | FromDiscord | <Kiloneie> gotta see if i can find it as cheap here |
12:11:01 | PMunch | Yeah, I was very surprised :P |
12:11:23 | PMunch | It 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:03 | PMunch | Kiloneie, 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:34 | FromDiscord | <Kiloneie> If i only knew the name of this in my language, all im getting are every other kind of microphone D:... |
12:32:02 | PMunch | Which language? |
12:32:08 | FromDiscord | <Kiloneie> Slovenian |
12:32:56 | FromDiscord | <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:03 | FromDiscord | <Kiloneie> not seeing any lapel ones... |
12:33:25 | PMunch | https://www.heureka.sk/?h[fraze]=lavalier+mikrofon |
12:33:36 | PMunch | There's plenty, but not any really cheap ones.. |
12:33:56 | FromDiscord | <Kiloneie> https://www.ceneje.si/L3/432/avdio-video/glasbena-oprema/mikrofoni?sort=3 |
12:34:08 | FromDiscord | <Kiloneie> same here, put on cheapest to highest filter, and... |
12:34:15 | FromDiscord | <Kiloneie> across many stores this is it... |
12:34:35 | PMunch | https://www.ceneje.si/Izdelek/1436089/avdio-video/glasbena-oprema/mikrofoni/proel-mikrofon-kravatni-lcm1 |
12:34:41 | PMunch | β¬10, not too bad |
12:35:05 | PMunch | Oh wait, that was a head-mounted thing |
12:35:12 | PMunch | I guess that would work too though |
12:35:23 | FromDiscord | <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:38 | PMunch | https://www.ceneje.si/Iskanje/Izdelki?q=kravatni+mikrofon |
12:35:39 | * | clyybber quit (Quit: WeeChat 2.7.1) |
12:35:52 | PMunch | Kravatni mikrofon seems to be the word you're looking for |
12:36:05 | FromDiscord | <Kiloneie> which translates to tie mic |
12:36:11 | FromDiscord | <Kiloneie> as in tuxido tie... |
12:36:18 | alexander92 | guys this exception handling thing starts to look very wild |
12:37:00 | alexander92 | i 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:16 | alexander92 | is it easy to make all this orhtogonal |
12:37:17 | PMunch | Makes 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:28 | alexander92 | all those * |
12:38:12 | FromDiscord | <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:41 | FromDiscord | <Kiloneie> no 50 cent replacement for me here xD... |
12:39:07 | FromDiscord | <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:10 | PMunch | Haha, can't you order from AliExpress? Or do you just not want to wait for shipping? |
12:39:26 | FromDiscord | <Kiloneie> idk about quality there... |
12:39:26 | PMunch | Yeah 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:57 | FromDiscord | <Kiloneie> i ordered a VGA to digital... or vice versa converter once, and it never delivered |
12:40:02 | PMunch | Typical 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:04 | FromDiscord | <Kiloneie> till then i bought my new pc setup |
12:40:07 | PMunch | $0.63* |
12:40:10 | * | Hideki_ joined #nim |
12:40:24 | FromDiscord | <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:46 | PMunch | The one I linked you: https://www.aliexpress.com/item/4000592902319.html |
12:42:02 | PMunch | Apparently they're down to $0.53 now :P |
12:42:16 | PMunch | With free worldwide shipping |
12:42:31 | PMunch | I 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:11 | FromDiscord | <Kiloneie> this will arrive in like 2 months due to corona crap though D: |
12:43:46 | * | Hideki_ joined #nim |
12:44:03 | FromDiscord | <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:24 | FromDiscord | <Kiloneie> so that's about 15-20β¬ for the setup i need |
12:45:31 | FromDiscord | <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:15 | FromDiscord | <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:15 | FromDiscord | <Kiloneie> |
12:48:15 | FromDiscord | <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:53 | disruptek | !last livcd |
12:52:54 | disbot | livcd never seen. |
12:53:21 | disruptek | π |
12:55:05 | Araq | ok, so now schools are closing here too |
12:56:35 | FromDiscord | <Kiloneie> same here |
12:57:23 | * | sz0 joined #nim |
12:58:06 | disruptek | good. |
12:58:18 | disruptek | !last rika |
12:58:19 | disbot | Rika spoke in 12#nim 22 hours ago |
12:58:35 | disruptek | !last aeverr |
12:58:35 | disbot | aeverr quit 764 minutes ago and last spoke 22 hours ago |
12:59:32 | FromDiscord | <Rika> hello? |
12:59:56 | disruptek | how are you feeling? |
13:00:47 | FromDiscord | <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:07 | disruptek | good. |
13:02:10 | disruptek | π |
13:02:41 | FromDiscord | <Rika> wtf do you mean good ;~; |
13:03:15 | disruptek | could be worse. livcd was in quarantine and we haven't heard from him in days. |
13:03:24 | PMunch | Uhoh |
13:03:39 | PMunch | I mean, he could just be sick and not on IRC :P |
13:03:53 | PMunch | But he's probably dead |
13:08:08 | alexander92 | huh really |
13:08:15 | alexander92 | how do you know he was in quarantine |
13:08:33 | FromDiscord | <Rika> perhaps he said so |
13:10:03 | Araq | I think you have internet in quarantine |
13:16:11 | * | nsf joined #nim |
13:16:57 | FromDiscord | <Rika> oh my god |
13:17:05 | FromDiscord | <Rika> its not the requests making my process lag |
13:17:10 | FromDiscord | <Rika> oh my god |
13:18:46 | PMunch | Araq, but what about computer viruses. One can never be too careful! |
13:19:01 | PMunch | Rika, did you find your bottleneck? |
13:19:06 | FromDiscord | <Kiloneie> that is so 2000... |
13:19:21 | FromDiscord | <Kiloneie> viruses in these days ? lmao D: |
13:19:22 | alexander92 | rika oh did you find it |
13:19:37 | alexander92 | Araq btw what about effects in async code |
13:19:52 | alexander92 | is there any difference in how are they handled currently |
13:20:16 | FromDiscord | <Rika> pmunch, i have a hunch on what it is |
13:21:15 | alexander92 | wow this is almost poetry :) |
13:21:37 | alexander92 | if one imagines munch being pronounced like hunch |
13:21:45 | * | marmotini_ quit (Remote host closed the connection) |
13:21:55 | PMunch | Haha :P |
13:22:00 | FromDiscord | <Rika> O_O internal error |
13:22:21 | * | marmotini_ joined #nim |
13:22:28 | FromDiscord | <Rika> when using defer in a block that returns last expression |
13:22:38 | Araq | alexander92: I dunno, it's all non-sense |
13:22:41 | FromDiscord | <Rika> yield in expr not lowered |
13:22:46 | FromDiscord | <Rika> interesting |
13:23:10 | Araq | Rika: report it please |
13:23:19 | PMunch | Unfortunately it isn't, Munch is pronounced more like punk than hunch. But with the u pronounced more like the u in university. |
13:24:08 | FromDiscord | <Rika> like "myunk"? or something? |
13:24:29 | * | marmotini_ quit (Read error: Connection reset by peer) |
13:24:38 | FromDiscord | <Rika> ill try making a reproducible first |
13:24:44 | * | marmotini_ joined #nim |
13:26:46 | PMunch | Fuck it, since I had my mic set up: https://uploads.peterme.net/name.mp3 |
13:26:51 | * | shadowbane joined #nim |
13:27:00 | alexander92 | Araq dont be a nichilist! |
13:27:03 | alexander92 | PMunch i know |
13:27:19 | alexander92 | hmm no i pronounce it like munich but without i |
13:27:27 | FromDiscord | <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:53 | FromDiscord | <Rika> so "myunkh" |
13:28:35 | PMunch | Where do you get the y from? :P |
13:28:41 | disruptek | somewhere between moonk and monk. americans pronounce it `monk`. |
13:28:59 | FromDiscord | <Rika> english pronunciation of munich |
13:29:05 | * | shadowbane quit (Client Quit) |
13:29:20 | PMunch | Our Brazilian relatives actually changed their names to "Munk" in order to have people pronounce the name closer to how it's intended |
13:29:27 | alexander92 | yeah in bulgarian its like m strong-german-u n k |
13:29:53 | PMunch | alexander92, yeah that's pretty much exactly it |
13:30:33 | FromDiscord | <Rika> i have no idea how european pronunciation works |
13:30:45 | FromDiscord | <Rika> all i know are american pronunciations and asian ones |
13:36:17 | disruptek | my family name is actually kimmich; german. but no one pronounces it with a hard k correctly in the states. |
13:36:53 | PMunch | Wait what, how do they pronounce it? |
13:37:20 | disruptek | they 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:41 | PMunch | Aah |
13:38:44 | * | marmotini_ quit (Read error: Connection reset by peer) |
13:38:51 | PMunch | So same as my -ch |
13:38:58 | * | marmotini_ joined #nim |
13:39:10 | disruptek | yep. |
13:39:30 | PMunch | I thought they somehow messed up the first one :P |
13:39:49 | disruptek | wherever there is stupid, there is an american. |
13:39:58 | disruptek | we will find a way. |
13:44:35 | PMunch | Argh, 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:15 | FromDiscord | <Rika> THERE IT IS |
13:45:27 | FromDiscord | <Rika> god it took me so long |
13:46:13 | * | shadowbane joined #nim |
13:46:54 | Araq | alexander92, 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:23 | FromDiscord | <Rika> ok wtf xd its not just that wtfffff |
13:49:30 | FromDiscord | <Rika> ill go insane before i realize that im an idiot |
13:50:21 | PMunch | https://play.nim-lang.org/#ix=2e72 |
13:50:49 | PMunch | Weird error, why is the argument to a macro not possible to evaluate on compiletime? |
13:51:07 | PMunch | Rika, haha :P |
13:51:34 | * | Guest46290 quit (Ping timeout: 255 seconds) |
13:52:48 | PMunch | Same error without the template: https://play.nim-lang.org/#ix=2e75 |
13:54:05 | FromDiscord | <mratsim> because in the VM context there is no compile-time, everything is at runtime for the VM |
13:54:22 | FromDiscord | <mratsim> i.e. use let instead of const and use if instead of when |
13:54:28 | FromDiscord | <mratsim> and no "static" block |
13:54:51 | PMunch | That is all well and good |
13:55:10 | PMunch | But I still can't figure out how to do this |
13:57:07 | alexander92 | Araq i have to try them, however i like radical methods :P |
14:00:53 | alexander92 | rika what was the error |
14:01:28 | FromDiscord | <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:57 | okcc | how i can get value of a ptr like *(some_ptr) in C? |
14:18:08 | disruptek | someptr[] |
14:18:39 | disruptek | quirky /is/ best, but how can we support progressive use of quirky so i can use it in libs? |
14:18:50 | disruptek | this 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:43 | okcc | disrupttek: it's that the default way? |
14:22:56 | okcc | also thank you :) |
14:23:01 | disruptek | yep. |
14:26:35 | * | okcc quit (Read error: Connection reset by peer) |
14:26:57 | * | okcc joined #nim |
14:27:39 | PMunch | Hmm, 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:55 | FromDiscord | <mratsim> okcc: use ptr UncheckedArray[T] |
14:54:16 | FromDiscord | <mratsim> ah misread you wanted to dereference |
14:54:50 | Zevv | PMunch: why would you do that? |
14:56:22 | * | Vindaar joined #nim |
14:57:25 | PMunch | Because I'm trying to do magical things with macros :P |
14:57:46 | * | marmotini_ quit (Remote host closed the connection) |
14:57:46 | PMunch | But I think I've found a way to do it |
14:57:52 | PMunch | Or rather to do what I wanted to do |
14:58:04 | disruptek | just have the macro call a compile-time proc. use the proc to do the work. |
14:58:10 | Zevv | right |
14:58:19 | * | marmotini_ joined #nim |
14:58:19 | Zevv | The first thing I always do from a macro is go into procs |
14:58:24 | Zevv | so that I do understand what is happening |
15:00:03 | FromDiscord | <mratsim> Magical things with macros: Summon poney |
15:00:04 | PMunch | disruptek, that doesn't work, because I want to pass one node tree by an identifier |
15:00:35 | disruptek | ~stream |
15:00:36 | disbot | stream: 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:23 | PMunch | Uhm, 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:37 | FromDiscord | <mratsim> are you passing a NimNode to a template? |
15:45:06 | * | solitudesf joined #nim |
15:45:41 | disruptek | !last leorize |
15:45:41 | disbot | leorize spoke in 12#nim 24 hours ago |
15:46:46 | disruptek | nimsuggest 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:09 | leorize | disruptek: o/ |
15:52:27 | disruptek | hey, i don't get it. it works fine until i change branches. |
15:52:50 | disruptek | i 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:21 | leorize | try calling it yourself then? |
15:55:50 | disruptek | how? |
15:56:26 | leorize | nimsuggest --find /path/to/file.nim |
15:57:00 | disruptek | /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:04 | disruptek | .raise effects differ |
15:58:28 | livcd | if anyone is wondering i might be infected so yeah |
15:58:40 | disruptek | oh hey |
15:58:43 | disruptek | are you sick? |
15:59:07 | livcd | i was released from quarantine just a few days ago and there were 3 people infected in our office :D |
15:59:32 | disruptek | dude, get away from me. |
15:59:33 | * | disruptek left #nim (#nim) |
15:59:51 | leorize | lol |
15:59:54 | * | Hideki_ quit (Remote host closed the connection) |
16:00:12 | leorize | livcd: stay safe :) |
16:01:06 | livcd | :F what can I do i am gonna die |
16:01:11 | livcd | i have asthma and weak lungs |
16:01:15 | * | Hideki_ joined #nim |
16:01:30 | * | disruptek joined #nim |
16:01:34 | disruptek | is he gone? |
16:02:35 | livcd | dont get too stressed :-) |
16:03:30 | FromDiscord | <mratsim> you have an excuse to work on Nim all day |
16:05:54 | * | Hideki_ quit (Ping timeout: 256 seconds) |
16:11:16 | shashlick | I've implemented https://github.com/nimterop/nimterop/issues/169 in a branch for nimterop - do folks have any concerns with the change? |
16:11:17 | disbot | β₯ Skip `{.header.}` generation |
16:14:18 | disruptek | leorize: any ideas? just a quirk of the devel compiler? |
16:14:32 | leorize | yea |
16:14:52 | leorize | iirc 4raq pushed a change that disallow hiding {.raises.} via casting |
16:15:07 | disruptek | that punk. |
16:15:13 | leorize | which assert and friends do |
16:15:22 | leorize | so you gotta update your nimsuggest to deal with that |
16:19:01 | disruptek | thank $deity for tests. |
16:19:03 | disruptek | oh wait. |
16:27:50 | shashlick | disruptek: does gittyup have tests? |
16:28:00 | disruptek | i think a couple. |
16:28:39 | shashlick | i need to verify that wrappers are still working correctly with that change |
16:30:01 | shashlick | does nimph have tests?? |
16:30:07 | disruptek | a couple. |
16:30:26 | disruptek | nimble doesn't work in devel, though. |
16:30:32 | disruptek | same problem as nimsuggest. |
16:31:28 | * | NimBot joined #nim |
16:33:02 | shashlick | what's the issue |
16:34:21 | disruptek | http://ix.io/2e7E |
16:34:58 | alexander92 | ok they are closing our gyms |
16:35:06 | disruptek | NO |
16:35:52 | alexander92 | it's actually very radical |
16:36:11 | disruptek | it's due to a0eca7518223a18f3633150de2c8d3c1c9e71560 |
16:36:14 | alexander92 | they're closing everything except grocery stores, apothekes and drogeries |
16:37:21 | alexander92 | livcd is alive |
16:38:07 | FromDiscord | <Rika> apothekes? |
16:38:13 | FromDiscord | <Rika> drogeries? drug stores? |
16:39:06 | disruptek | yep. |
16:39:24 | disruptek | i'm trying a build all just before the sink inference. |
16:39:46 | shashlick | disruptek: http://ix.io/2e7H |
16:40:07 | disruptek | known failure. unrelated. |
16:41:05 | shashlick | okay |
16:41:31 | disruptek | i wonder why no one else has this issue i'm having, though. |
16:41:52 | disruptek | pre-sink-inference works. |
16:43:29 | disruptek | shashlick: segv for me testing nimph, sadly. |
16:44:12 | disruptek | ~stream |
16:44:13 | disbot | stream: 11https://twitch.tv/disruptek (live video/audio) and mumble://uberalles.mumbl.io/ (live voice chat) -- disruptek |
16:44:44 | disruptek | gittyup is fine, though. |
16:45:12 | shashlick | do you mean with the test nimterop or nim |
16:45:20 | alexander92 | rika yeah sorry, not sure what are the english words |
16:45:36 | disruptek | since i ran the gittyup tests, now it seems that nimph is working. |
16:45:38 | alexander92 | pharmacies* and drug stories |
16:45:43 | alexander92 | stores* |
16:46:00 | disruptek | it's so weird the way that happens with nimterop. |
16:46:47 | shashlick | are you talking about my {.header.} change |
16:46:58 | disruptek | i have no idea. |
16:47:38 | Araq | hi livcd, I'm glad you're around |
16:48:00 | disruptek | nimph is back to dumping extra hintConf again. |
16:48:31 | disruptek | why did that change in the compiler? |
16:49:48 | Araq | what do you mean? |
16:50:24 | Araq | what change? |
16:50:57 | disruptek | i'm getting extra nimConf. more than i'm used to. |
16:51:00 | leorize | gah, some nimsuggest features are just painful to use |
16:51:16 | leorize | it offloads too much work to the user |
16:51:17 | disruptek | anyway, 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:21 | Araq | just fix the crash and don't fuck around with git history |
16:52:47 | Araq | there is a debug mode somewhere, enable it, look at the stack trace, done |
16:52:54 | disruptek | kk |
16:53:12 | Araq | usually 'nim check' replicates the bug |
16:53:16 | * | mattmurr joined #nim |
16:53:19 | Araq | so that you don't even have to start nimsuggest |
16:53:42 | * | tane joined #nim |
16:53:44 | disruptek | not this time. |
16:53:58 | disruptek | i can't even build nimsuggest now. |
16:55:15 | Araq | that's covered by our CIs though |
16:55:32 | disruptek | our 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:50 | PMunch | Hmm, why did this only run one check? https://github.com/nim-lang/Nim/pull/13620 |
17:24:51 | disbot | β₯ 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:26 | disruptek | my nimsuggest crash is due to `Something {.deprecated.} = object` π |
17:43:30 | disruptek | well, the one that isn't due to the assertion issue with sink inference, i mean. |
17:47:04 | Araq | now ... instead of fixing bugs I'm gonna make another exception handling proposal... |
17:47:15 | * | disruptek sighs. |
17:47:37 | Araq | :-) |
17:47:55 | disruptek | luckily, i can gdb this segv. i'm amazed. it's threaded. |
17:51:22 | * | Trustable quit (Remote host closed the connection) |
17:51:52 | disruptek | even 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:38 | alexander92 | Araq oh yeah |
18:08:53 | alexander92 | exception handling is like solving the korea conflict |
18:09:15 | alexander92 | it's not, ok |
18:09:23 | alexander92 | disruptek why are you debugging nimsuggest |
18:09:40 | disruptek | i seem to have a parse issue, incredibly. |
18:09:49 | disruptek | no ast for deprecated object nodes. |
18:10:16 | * | opal joined #nim |
18:10:45 | disruptek | i 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:40 | alexander92 | computers crashing no bug splashing flashing in our mood |
18:11:56 | alexander92 | animals are not computers, computers are not bugs |
18:12:17 | disruptek | at least we have an application for our nim-powered id-tags for fosdem2021. |
18:12:32 | disruptek | an alarm goes off when two id-tags get within 7' of each other. |
18:12:39 | disruptek | prevents infection. |
18:12:39 | alexander92 | the face thing right |
18:12:44 | alexander92 | i just thought about this today! |
18:12:50 | alexander92 | i am probably only the 829392-st |
18:13:08 | alexander92 | but imagine how hard would it be to eat |
18:13:16 | disruptek | you don't eat your id-tag. |
18:13:24 | alexander92 | you'll have to throw stuff to your mouth |
18:13:27 | alexander92 | i dont like it |
18:13:31 | disruptek | wait, what? |
18:13:44 | alexander92 | well if the first id tag is on your hands |
18:13:48 | alexander92 | and the other one on your face |
18:13:57 | disruptek | every person wears a single tag. |
18:14:06 | alexander92 | but no, you shouldnt touch your face |
18:14:09 | disruptek | as long as your burger doesn't wear a tag, too, you should be okay. |
18:14:11 | alexander92 | i am not sure why tho |
18:14:20 | alexander92 | but what if my burger wears a tie |
18:14:21 | disruptek | if you had ever seen my face, you'd know. |
18:14:24 | disruptek | mostly teeth. |
18:15:16 | alexander92 | your dentist must feel like a facelifter! |
18:15:24 | Araq | alexander92: anyhow here is the idea |
18:16:02 | alexander92 | i hope we ca nhandle it |
18:16:36 | Araq | there are 3 ways to deal with an error: 1) on error die, 2) on error propagate, 3) on error continue until X |
18:17:10 | Araq | we support 1 and 2 well, quirky does (3) |
18:17:13 | FromDiscord | <mratsim> 4) on error reboot |
18:17:33 | Araq | mratsim: same as 'die' for me, but maybe you're right |
18:18:03 | Araq | (3) is almost always what I want in a destructor |
18:18:18 | * | xace joined #nim |
18:18:45 | alexander92 | we can ignore an error right |
18:18:54 | Araq | and if enable-able for a section of code it's generally useful |
18:18:54 | Zevv | araq: practical example? |
18:19:38 | Araq | Zevv: for x in fields(obj): =destroy(x) # destroy all the field, remember the first error for later |
18:19:38 | alexander92 | but how hard is for one to write such code |
18:19:40 | disruptek | you 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:52 | alexander92 | that independently on what error strategy/flags are used |
18:19:59 | alexander92 | it kinda works as expected |
18:20:00 | Zevv | Araq: right, that makes sense indeed |
18:20:14 | Zevv | but what about consequent errors? |
18:20:39 | Araq | you can stack them but it quickly can take up lots of memory |
18:20:48 | Zevv | exactly |
18:21:02 | Zevv | but not stacking them is throwing them away, which is also not right |
18:21:05 | Araq | IMO the first error is almost the most important one and the rest can be ignored |
18:21:22 | Zevv | pfew that makes it hard to reason about things |
18:21:28 | Araq | it's what the Nim compiler does by default, nobody complained |
18:21:33 | * | alexander92 quit (Quit: leaving) |
18:21:58 | Zevv | how so? it does not "complete until X" now, does it? |
18:22:09 | Zevv | you are referring to exceptions leading to more execptions |
18:22:13 | disruptek | it does with quirky. |
18:22:23 | Zevv | no one uses quirky |
18:22:32 | Araq | the 'X' is to be determined |
18:22:44 | Araq | I suggest it means "until the current function returns" |
18:23:11 | Zevv | hm does that hold? In your example =destroy(x) might throw |
18:23:24 | Zevv | so *that* is the throwing function, not the one doing the for loop |
18:23:55 | disruptek | no |
18:24:21 | disruptek | i mean, yes, this is the problem. but the original exception was presumably in the loop func. |
18:24:55 | Zevv | hmm |
18:25:00 | Araq | 1. destroy calls 'dealloc'. no error possible, easy. |
18:25:20 | Araq | 2. destroy calls 'close', 'close' errors because it triggers an IO op |
18:25:26 | Zevv | 3. destroy does stupid things because people are stupid |
18:25:37 | Zevv | but let's go for 2 |
18:25:40 | Araq | other 'close' calls still run but we remember the error |
18:26:03 | Araq | sounds ok, it's pretty much what I would code by hand |
18:26:33 | * | FromGitter joined #nim |
18:26:36 | Zevv | and how would you tell the compiler to handle like this instead of proagating down the call chain right away? |
18:27:10 | Zevv | wrong worded, let me retry: |
18:27:14 | Araq | yet-another-pragma or yet-another runtime hook |
18:27:25 | Zevv | is that the default behaviour or can you choose somehow |
18:28:08 | Zevv | pragma makes sense |
18:28:57 | disruptek | is this currently impl as a transform? |
18:30:56 | Araq | it's not implemented at all |
18:31:09 | disruptek | i mean quirky. |
18:31:28 | Araq | quirky is in the C backend |
18:31:34 | disruptek | ahh. |
18:35:16 | * | crem quit (Ping timeout: 256 seconds) |
18:36:40 | * | crem joined #nim |
18:38:16 | FromGitter | <kaushalmodi> Araq: Is there isn't way to expose all export marker procs in a .so, right? |
18:38:32 | FromGitter | <kaushalmodi> ..as is I manually annotated each with `{.exportc, dynlib.}` |
18:38:34 | Araq | no. |
18:38:49 | FromGitter | <kaushalmodi> trying to figure out how to debug a crash |
18:39:01 | FromGitter | <kaushalmodi> because it happens only in a regression suite that runs like 1000 simulations |
18:39:15 | FromGitter | <kaushalmodi> and when I run just that one seed manually, the crash does not happen |
18:39:59 | * | fanta1 joined #nim |
18:40:14 | FromGitter | <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:31 | FromGitter | <kaushalmodi> .. I need to figure out what those "don't know"'s are |
18:40:57 | Araq | huh? |
18:41:09 | Araq | you don't need to expose symbols, you need a debug build |
18:41:23 | FromGitter | <kaushalmodi> above is with debug build |
18:41:28 | FromGitter | <kaushalmodi> with --debugger:native |
18:41:59 | FromGitter | <kaushalmodi> I cannot invoke gdb because I cannot reproduce this crash interactively |
18:42:21 | FromGitter | <kaushalmodi> the crash happens 1/1000 times in a regression suite kicked off on a CI machine farm |
18:42:35 | FromGitter | <kaushalmodi> so the only info I get back is that stack trace |
18:43:41 | Araq | you 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:56 | FromGitter | <kaushalmodi> but that process is running on a remote machine that I cannot access |
18:45:07 | * | hax-scramper joined #nim |
18:45:14 | FromGitter | <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:01 | FromGitter | <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:14 | FromGitter | <kaushalmodi> libdpi_64.dbg.so is what I built using above command |
18:47:33 | FromGitter | <kaushalmodi> cffg_psd_from_arrays has exportc, dynlib so that's visible in the stacktrace |
18:47:59 | FromGitter | <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:59 | disruptek | leorize[m]: how do i run nimsuggest tests? |
18:56:08 | * | sekao joined #nim |
18:56:51 | sekao | has 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:54 | shashlick | Not to my knowledge |
18:58:01 | shashlick | I use it in nimterop |
19:02:18 | sekao | cool 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:49 | FromGitter | <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:07 | shashlick | @mratsim - do you have any wrappers based on nimterop in production? |
19:24:53 | * | silvernode quit (Client Quit) |
19:25:08 | FromDiscord | <Recruit_main70007> @mratsim ^ |
19:27:05 | disruptek | status is pretty anti-nimterop afaik. |
19:28:44 | shashlick | they'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:31 | disruptek | it'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:22 | FromDiscord | <Kiloneie> because bad ideas are usually easier to implement ? |
19:46:03 | FromDiscord | <mratsim> @shashlick, our wrappers predate nimterop |
19:46:14 | FromDiscord | <mratsim> nim-blscurve and nim-secp256k1 |
19:46:45 | FromDiscord | <mratsim> for my own project I'm still using nimgen for clblast |
19:54:51 | * | sagax quit (Ping timeout: 240 seconds) |
20:03:01 | dwdv | Interesting 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:58 | FromDiscord | <mratsim> https://nim-lang.org/araq/destructors.html |
20:08:04 | FromDiscord | <mratsim> first language cited is parasail π |
20:08:19 | Araq | dwdv: actually I revived my branch for it |
20:08:28 | Araq | "araq-static-bound-checks" |
20:09:01 | Araq | when you use .defects: [] you have to write code so simple that Nim's proof engine can handle it |
20:09:21 | FromDiscord | <mratsim> "parallel" has issue with simble bound checks though :/ |
20:09:36 | Araq | in my branch it's a tiny bit smarter :P |
20:10:00 | Araq | but explain to me what "simple" means for you |
20:10:58 | FromDiscord | <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:07 | FromDiscord | <mratsim> I was trying to implement parallel reduction |
20:12:18 | Araq | these are supposed to work |
20:12:32 | * | fanta1 quit (Quit: fanta1) |
20:13:53 | Araq | but tbh I sometimes wonder if arnetheduck simply wants a .correct pragma |
20:14:09 | Araq | you write .correct to your proc. and the compiler says "nope". |
20:14:34 | Araq | and it always says that because it never is correct. |
20:15:05 | Araq | problem solved, the compiler catches all of your bugs at compile-time |
20:16:39 | FromDiscord | <mratsim> "nope nope nope" |
20:17:11 | FromDiscord | <mratsim> That said I'm really interested in the Z3 work |
20:17:13 | shashlick | Ok thanks |
20:17:41 | FromDiscord | <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:16 | dwdv | "<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:01 | FromDiscord | <mratsim> that's like Python's "exceptions are control flow" |
20:50:18 | disruptek | no, thank you. |
20:51:53 | disruptek | maybe .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:29 | dwdv | Well, 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:03 | FromDiscord | <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:35 | FromDiscord | <Spy653> yo anyone with experience with gui's know what the difference between FLTK and IUP is? |
22:07:08 | FromDiscord | <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:48 | FromDiscord | <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:04 | FromDiscord | <exelotl> but FLTK has a rather impressive showcase of things that are actually made in it |
22:31:22 | FromDiscord | <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:24 | FromDiscord | <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:44 | federico3 | a static "table" at compile time would be nice |
22:47:56 | disruptek | we 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:00 | leorize[m] | disruptek: you compile the tester in nimsuggest/tests and run jt |
23:48:11 | leorize[m] | * disruptek: you compile the tester in nimsuggest/tests and run it |
23:48:53 | leorize[m] | make sure that the new nimsuggest is in your PATH, it won't work otherwise |
23:51:28 | * | sealmove joined #nim |