00:03:18 | * | krux02 quit (Remote host closed the connection) |
00:06:20 | * | Tanger joined #nim |
01:12:17 | * | Tanger quit (Quit: Leaving) |
01:13:03 | * | Tanger joined #nim |
01:53:34 | * | njoseph quit (Quit: http://quassel-irc.org - Chat comfortably. Anywhere.) |
01:53:56 | * | njoseph joined #nim |
02:01:42 | * | a_chou joined #nim |
02:30:41 | * | sixtyten joined #nim |
02:50:39 | * | Lord_Nightmare quit (Quit: ZNC - http://znc.in) |
02:52:25 | * | Lord_Nightmare joined #nim |
03:22:53 | * | wasted_youth2 quit (Quit: Leaving) |
03:24:33 | * | vicfred quit (Quit: Leaving) |
03:27:49 | * | vicfred joined #nim |
03:34:45 | FromDiscord | <Yardanico> I did a similar thing a few years ago in my social network bot - https://github.com/Yardanico/nickel/blob/master/src/utils.nim#L69 (ignore the Russian comments) |
03:37:06 | * | a_chou quit (Quit: a_chou) |
03:51:38 | * | muffindrake quit (Ping timeout: 264 seconds) |
03:53:30 | * | muffindrake joined #nim |
04:27:34 | * | leorize quit (Quit: WeeChat 2.9) |
04:46:09 | * | leorize joined #nim |
04:49:24 | * | spiderstew joined #nim |
04:50:21 | * | spiderstew_ quit (Ping timeout: 272 seconds) |
04:50:59 | * | vicfred quit (Quit: Leaving) |
05:45:15 | FromGitter | <Yardanico> > *<FromDiscord>* <ElegantBeef> Might only work on windows oddly enough ⏎ ⏎ test quote gitter |
05:45:24 | FromGitter | <Yardanico> oh, > and two newlines, got it |
05:47:23 | FromDiscord | <ElegantBeef> Huh? |
05:47:38 | FromDiscord | <Yardanico> doing ircord stuff as usual |
05:48:00 | FromDiscord | <Yardanico> fixed the empty edit bug with embeds, adding reply support to discord now and I plan to do the same for the FromGitter bridge |
05:48:01 | FromDiscord | <ElegantBeef> Ah i suspected asmuch but was a bit confused |
05:48:09 | FromDiscord | <Yardanico> because we have timo and 4raq who use Gitter |
05:48:56 | FromDiscord | <Yardanico> I mean I can only process gitter messages for Discord side (so if someone quotes a FromDiscord message in Gitter, the person in Discord gets notified) |
05:49:05 | FromDiscord | <Yardanico> (edit) "gets" => "will get" |
05:49:18 | * | njoseph quit (Quit: http://quassel-irc.org - Chat comfortably. Anywhere.) |
05:49:24 | * | njoseph joined #nim |
05:49:24 | * | njoseph quit (Client Quit) |
05:49:30 | * | njoseph joined #nim |
05:49:40 | * | njoseph quit (Client Quit) |
05:49:46 | * | njoseph joined #nim |
05:49:48 | * | njoseph quit (Client Quit) |
05:49:55 | * | njoseph joined #nim |
05:50:05 | * | njoseph quit (Client Quit) |
05:50:11 | * | njoseph joined #nim |
05:53:23 | leorize[m] | just use the matrix bridge to deal with gitter :p |
05:53:29 | leorize[m] | gitter is a matrix server now |
05:53:41 | Yardanico | well, idk how to set it up for our gitter |
05:53:49 | Yardanico | and I don't have access to admin tools in our gitter room anyway :D |
05:55:44 | Yardanico | leorize[m]: as far as I've checked you can't join matrix rooms that are not on gitter from it |
05:56:02 | Yardanico | you can post to Gitter rooms via a matrix.org gitter bridge though, but that's not what we want |
05:56:16 | leorize[m] | wdym? |
05:56:33 | Yardanico | people on Gitter can't join matrix channels on other matrix servers |
05:56:35 | leorize[m] | https://matrix.org/blog/2020/12/07/gitter-now-speaks-matrix |
05:56:39 | * | letto quit (Ping timeout: 246 seconds) |
05:56:52 | leorize[m] | ah yea, but the reverse work atm |
05:56:59 | Yardanico | yes, but that'd make the situation even worse |
05:57:30 | Yardanico | right now it's IRC <-> Gitter, with matrix.org gitter bridge it would be IRC <-> Gitter <-> Matrix (kind of, I know Gitter is a matrix server itself) |
05:57:54 | Yardanico | sorry if my point is not clear: I just don't understand how we can improve the current situation from the fact that gitter now speaks matrix |
05:58:24 | Yardanico | they have "Ability to plumb existing Matrix rooms into Gitter natively" in "What remains", so we should wait for that I guess |
05:58:40 | Yardanico | ah maybe not |
05:58:41 | Yardanico | "Ability to join arbitrary rooms on Matrix from Gitter. This could consume huge resources on Gitter, and we’re not in a rush to mirror all of Matrix into Gitter. This will get addressed when Gitter merges with Element into a pure Matrix client." |
05:58:46 | Yardanico | "not planning to support" |
05:58:51 | leorize[m] | gitter replies and all that stuff is matrix-native, so you don't have to mess with gitter's api? |
05:59:39 | Yardanico | oh you mean we can reuse the same matrix bridging bot you used for nim matrix rooms? |
06:01:18 | leorize[m] | yea, so I can bridge gitter to discord and freenode natively |
06:01:35 | Yardanico | not sure how to invite the bot to a gitter room, but yes, the idea might work |
06:02:53 | Yardanico | with that we'll also be able to bridge gitter with more nim rooms |
06:03:22 | Yardanico | right now only #nim and #nim-offtopic are bridged (and offtopic is named "twitch" because it was only added when 4raq and dom96 did some twitch streams) |
06:03:37 | leorize[m] | yep, gotta test it first though |
06:03:55 | Yardanico | yeah sure, you can do it with the #test channel on Discord and your own gitter room |
06:03:57 | leorize[m] | would be hard since I don't know who is the admin on gitter |
06:04:16 | Yardanico | i mean you can make your own gitter room to try first |
06:04:16 | leorize[m] | ah yea I can try it with a temp org |
06:04:19 | Yardanico | yeah |
06:04:42 | Yardanico | you don't even need to have an org |
06:04:44 | Yardanico | https://gitter.im/nim-lang/home#createcommunity |
06:05:11 | Yardanico | basically click "+" -> Create community |
06:05:21 | Yardanico | having a GitHub org/repo is optional for Gitter nowadays |
06:06:43 | Yardanico | anyways, time to push new ircord to the nim server |
06:14:04 | saem | nkEmpty seems to be used for more than just error cases. Guess it's time to push nkError in more places? |
06:14:18 | saem | I'll need to do some of that for the stability fixes. |
06:19:13 | * | NimBot joined #nim |
06:23:08 | Yardanico | ~stopping the discord bridge for a few mins hopefully~ |
06:23:12 | * | FromDiscord quit (Remote host closed the connection) |
06:23:40 | * | narimiran joined #nim |
06:24:46 | * | FromDiscord joined #nim |
06:24:46 | * | FromDiscord quit (Remote host closed the connection) |
06:27:26 | * | FromDiscord joined #nim |
06:29:23 | * | FromDiscord quit (Remote host closed the connection) |
06:29:43 | * | FromDiscord joined #nim |
06:31:10 | * | FromDiscord quit (Remote host closed the connection) |
06:31:32 | * | FromDiscord joined #nim |
06:31:38 | Yardanico | ok, kinda done I guess |
06:34:35 | * | fredrikhr joined #nim |
06:36:22 | FromDiscord | <Yardanico> In reply to @Yardanico "ok, kinda done I": reply |
06:36:48 | FromDiscord | <Yardanico> @dom96 not sure if it's the best way, but I added support for replies |
06:36:50 | FromDiscord | <Yardanico> https://media.discordapp.net/attachments/371759389889003532/808224802497364009/unknown.png |
06:36:53 | FromDiscord | <Yardanico> also fixed the embed edit bug |
06:38:11 | FromDiscord | <Yardanico> maybe there's a better way to represent a reply than the current `In reply to @Username: "first 4 words from the original message": reply` |
06:38:33 | FromDiscord | <Yardanico> also the reply thing is in italics (just like the code paste) |
06:44:31 | * | sixtyten_ joined #nim |
06:47:28 | * | waleee-cl quit (Quit: Connection closed for inactivity) |
06:48:13 | * | FromDiscord quit (Remote host closed the connection) |
06:48:37 | * | FromDiscord joined #nim |
06:48:57 | * | FromDiscord quit (Remote host closed the connection) |
06:49:29 | * | FromDiscord joined #nim |
06:50:57 | Yardanico | @dom96 also, about the systemd service thing - you need to do the thing in https://superuser.com/a/1119686, otherwise my user systemd service is killed whenever I log out from ssh (I use screen for now) |
06:51:20 | FromDiscord | <Yardanico> asd |
06:51:22 | Yardanico | @Yardanico |
06:51:47 | FromDiscord | <Yardanico> In reply to @Yardanico "@dom96 also, about the": @dom96 ^ |
06:55:24 | * | GreaseMonkey quit (Remote host closed the connection) |
06:58:05 | * | fredrikhr quit (Read error: Connection timed out) |
06:58:34 | * | fredrikhr joined #nim |
07:00:55 | * | krux02 joined #nim |
07:07:42 | * | fredrikhr quit (Read error: Connection reset by peer) |
07:08:07 | * | fredrikhr joined #nim |
07:18:45 | * | letto joined #nim |
07:19:14 | Yardanico | !status |
07:19:15 | FromDiscord | Uptime - 30 minutes |
07:26:14 | * | letto quit (Quit: Konversation terminated!) |
07:28:04 | * | letto joined #nim |
07:35:38 | saem | Araq: I have a vague memory of you mentioning a possible existing enum field in NodeKind that could be changed to nkError, was that just my imagination? I need to give that a whirl for the stability fixes because the nkEmpty ambiguity is biting us in a bunch of places. |
07:35:57 | FromGitter | <Araq> look at my araq-nkerror branch |
07:36:02 | FromGitter | <Araq> it already has the enum |
07:36:29 | saem | got it, I'll use that as a starting point. |
07:38:49 | saem | Oh yeah, I found Wirth's 2017 compiler design book (turns out it's a freely available), has a section on attributed grammars and semantics, pretty cool so far. |
07:39:27 | saem | If people are curious here are the links for both parts of the book: https://people.inf.ethz.ch/wirth/CompilerConstruction/ |
07:40:30 | krux02 | saem, just downloaded them. Thank you. |
07:40:48 | saem | NP |
07:52:31 | * | liblq-dev joined #nim |
07:56:56 | * | hyiltiz quit (Ping timeout: 240 seconds) |
07:57:11 | * | pbb quit (Ping timeout: 272 seconds) |
07:57:19 | * | hyiltiz joined #nim |
07:57:19 | * | hyiltiz quit (Changing host) |
07:57:19 | * | hyiltiz joined #nim |
08:00:03 | * | pbb joined #nim |
08:10:32 | * | PMunch joined #nim |
08:11:37 | * | greaser|q joined #nim |
08:47:40 | * | Tlangir joined #nim |
08:50:23 | * | Tanger quit (Ping timeout: 256 seconds) |
09:24:00 | * | haxscramper joined #nim |
09:36:49 | ForumUpdaterBot | New thread by KnorrFG: Problem with sugar.capture and the js backend, see https://forum.nim-lang.org/t/7486 |
09:41:35 | * | xet7 joined #nim |
09:55:19 | * | lf joined #nim |
09:55:43 | * | lf is now known as Guest18487 |
09:57:24 | * | Vladar joined #nim |
10:08:10 | * | abm joined #nim |
10:08:16 | * | a_b_m joined #nim |
10:09:51 | * | a_b_m quit (Client Quit) |
10:55:21 | * | Guest18487 quit (Quit: Guest18487) |
10:55:37 | * | Guest18487 joined #nim |
10:59:17 | * | vicfred joined #nim |
11:05:36 | * | tane joined #nim |
11:38:22 | * | liblq-dev quit (Quit: WeeChat 3.0) |
11:38:31 | * | liblq-dev joined #nim |
11:39:44 | * | liblq-dev quit (Remote host closed the connection) |
11:39:57 | * | liblq-dev joined #nim |
11:55:30 | * | Guest18487 quit (Quit: Guest18487) |
11:55:46 | * | Guest18487 joined #nim |
12:00:27 | * | liblq-dev quit (Quit: WeeChat 3.0) |
12:00:38 | * | liblq-dev joined #nim |
12:05:30 | * | liblq-dev quit (Client Quit) |
12:05:40 | * | liblq-dev joined #nim |
12:44:56 | krux02 | @Araq: Still waiting on your promised fix here https://github.com/nim-lang/Nim/issues/5795 |
12:46:36 | FromGitter | <Araq> will do it later |
12:55:34 | * | Guest18487 quit (Quit: Guest18487) |
12:55:49 | * | Guest18487 joined #nim |
12:58:47 | PMunch | How much later? That issue is 3 years old.. |
12:58:57 | PMunch | Almost 4 |
13:04:38 | FromGitter | <Araq> *shrug* we don't have the policy of closing old issues automatically |
13:05:19 | FromGitter | <Araq> there was heavy resistance to such a policy |
13:18:41 | giaco | I've finally completed "Nim In action". It was a pleasant read, is there any other book/blog/prosaic reading that you would suggest next? |
13:19:32 | FromDiscord | <mratsim> not really prosaic but this is pretty hands on with lots of various tasks: https://xmonader.github.io/nimdays/book_intro.html |
13:21:55 | PMunch | @Araq, no I agree that closing unfixed issues just because they are old is stupid |
13:22:15 | * | Vladar quit (Quit: Leaving) |
13:23:16 | krux02 | Araq: so you want to say you wanted to "fix" the issue by just closing it unsolved. |
13:25:08 | Clonkk[m] | giaco I found http://ssalewski.de/nimprogramming.html useful |
13:26:16 | FromGitter | <Araq> no, we should replace 'linenoise' by nim code |
13:26:36 | * | d10n-work quit (Ping timeout: 246 seconds) |
13:26:49 | FromDiscord | <Rika> I tried |
13:26:52 | giaco | mratsim, thanks for the link, also thanks for Synthetis, I've just started playing with it |
13:27:09 | * | euantorano quit (Read error: Connection reset by peer) |
13:27:09 | * | robertmeta quit (Read error: Connection reset by peer) |
13:27:14 | * | Kaivo joined #nim |
13:27:17 | * | sirn quit (Read error: Connection reset by peer) |
13:27:33 | * | kinkinkijkin quit (Read error: Connection reset by peer) |
13:27:33 | * | r4vi quit (Read error: Connection reset by peer) |
13:27:33 | * | sz0 quit (Read error: Connection reset by peer) |
13:27:33 | * | kwilczynski quit (Read error: Connection reset by peer) |
13:28:02 | PMunch | Is there some place I can search all the nim-docs with a query string? |
13:28:06 | FromDiscord | <Rika> I think someone also made this before but this is just a direct port https://github.com/de-odex/linenoise-nim |
13:28:14 | PMunch | I want to set up a keyword in my browser to search nim docs |
13:28:53 | Clonkk[m] | <PMunch "Is there some place I can search"> You can try https://devdocs.io/nim/ |
13:28:53 | FromDiscord | <mratsim> In reply to @PMunch "I want to set": theindex |
13:29:28 | giaco | Clonkk[m]: thanks! I didn't know that Mr Salewski was also author of that manual. I do know him for gintro as he implemented most of gstreamer bindings for nim just for me (*much gratitude*) |
13:29:40 | * | sz0 joined #nim |
13:29:42 | PMunch | @mratsim, theindex is Ctrl+f searchable, I can't do nim-lang.org/docs/theindex.html?q=my+query can I? |
13:29:54 | * | euantorano joined #nim |
13:29:57 | * | sirn joined #nim |
13:29:59 | FromDiscord | <mratsim> ^ing @haxscramper |
13:30:04 | * | kinkinkijkin joined #nim |
13:30:13 | FromDiscord | <Rika> Tbh I use module names to query search |
13:30:24 | FromDiscord | <Rika> I don’t remember function names as well as module names |
13:30:30 | * | kwilczynski joined #nim |
13:30:54 | FromDiscord | <Clyybber> In reply to @Rika "I think someone also": nice! |
13:31:18 | * | robertmeta joined #nim |
13:31:31 | FromDiscord | <Rika> I don’t remember why I made the port but it’s there |
13:31:35 | * | r4vi joined #nim |
13:32:17 | FromDiscord | <Rika> I was gonna put some niceties for Nim since this isn’t C anymore but I didn’t bother because it always feels like no one seems interested in what I make lol |
13:33:33 | * | d10n-work joined #nim |
13:36:10 | PMunch | Rika, well most of the time I do as well |
13:36:20 | PMunch | But sometimes I just can't remember which module something comes from |
13:41:05 | FromDiscord | <haxscramper> I have ` 'nd' : 'https://nim-lang.org/docs/{}.html',` for for documentation in qutebrowser |
13:41:17 | FromDiscord | <haxscramper> So I just do `o nd os` to jump to module name for example |
13:41:25 | FromDiscord | <haxscramper> And then `/ funname` from it |
13:43:06 | * | zedeus quit (Ping timeout: 272 seconds) |
13:43:17 | FromDiscord | <haxscramper> In reply to @mratsim "^ing <@!608382355454951435>": I you meant my haxdoc idea for `rofi` etc. it is not really ready as of now, though something like this could be supported |
13:43:24 | * | wasted_youth2 joined #nim |
13:43:45 | FromDiscord | <mratsim> I don't know what rofi is, but just an idea of API. |
13:43:45 | * | zedeus joined #nim |
13:45:30 | * | rockcavera joined #nim |
13:46:02 | FromDiscord | <haxscramper> Noted. I think it shouldn't be that hard to support, though fault-tolerance (fuzzy name search) might require some work |
13:46:13 | PMunch | @Clonkk[m] can't quite get that to work either |
13:50:07 | PMunch | haxscramper, that is a decent option |
13:55:42 | * | Guest18487 quit (Quit: Guest18487) |
13:55:56 | * | Guest18487 joined #nim |
13:57:05 | FromDiscord | <mratsim> In reply to @haxscramper "Noted. I think it": if you allow fuzzy search you might open yourself to DOS-ing |
13:57:33 | FromDiscord | <haxscramper> I wanted to roll static site generator first, with something like flexjs |
13:58:02 | FromDiscord | <haxscramper> E.g. zero-setup, just put docs on github pages and done |
13:58:45 | FromDiscord | <haxscramper> Though it kind of conflicts with this API thing, but to be honest I don't have enough expertise to properly implement this |
13:58:49 | FromDiscord | <mratsim> I think for docs static site are likely the best |
13:59:31 | FromDiscord | <haxscramper> So I'd opt for static site, and ensure that people who know how to write more complex services can reuse my documentation generator for their tooling |
13:59:35 | FromDiscord | <haxscramper> As a library |
13:59:54 | FromDiscord | <haxscramper> And then provide any kind of API they see fit |
14:00:46 | FromDiscord | <mratsim> With section names you can use nim-lang.org/docs/theindex.html#my-proc |
14:01:08 | FromDiscord | <mratsim> nim-lang.org/docs/{module}.html?q={myproc} |
14:01:28 | * | sixtyten_ quit (Ping timeout: 272 seconds) |
14:20:06 | * | Kaivo quit (Quit: WeeChat 3.0) |
14:20:41 | * | Kaivo joined #nim |
14:20:53 | FromDiscord | <haxscramper> In reply to @mratsim "if you allow fuzzy": Although I have client-size fuzzy search implementation in nim, and I wanted to add it too |
14:21:03 | FromDiscord | <haxscramper> subltime-text-stdyle fuzzy search |
14:21:08 | FromDiscord | <haxscramper> (edit) "subltime-text-stdyle" => "subltime-text-style" |
14:21:14 | FromDiscord | <Clyybber> In reply to @Rika "I was gonna put": heh, now there is :D |
14:21:20 | FromDiscord | <Clyybber> (edit) "In reply to @Rika "I was gonna put": heh, now there is :D ... " added "(interest I mean)" |
14:22:28 | FromDiscord | <Rika> yeah let me see what my plans were |
14:28:32 | FromDiscord | <Rika> holy wow this is old (and shit) code lmao |
14:40:33 | * | zedeus quit (Ping timeout: 265 seconds) |
14:43:09 | * | hyiltiz quit (Ping timeout: 264 seconds) |
14:43:33 | * | hyiltiz joined #nim |
14:59:41 | ForumUpdaterBot | New thread by Bobd: CreateInterpreter in a DLL, see https://forum.nim-lang.org/t/7487 |
15:07:41 | reversem3 | since there is no trim method what do you guys do to remove white space and return chars? |
15:10:10 | FromDiscord | <pointystick> strutils.strip? |
15:12:47 | reversem3 | ok so this then https://nim-lang.org/docs/strutils.html#strip%2Cstring%2Cset%5Bchar%5D |
15:13:04 | FromDiscord | <pointystick> yep |
15:13:11 | * | zedeus joined #nim |
15:14:52 | FromDiscord | <pointystick> https://play.nim-lang.org/#ix=2OKC |
15:16:01 | reversem3 | sweet thanks |
15:16:32 | * | Vladar joined #nim |
15:37:15 | * | waleee-cl joined #nim |
16:25:26 | FromDiscord | <CodeHz> Does anyone use nim extensions with vscode? seems it is still leaking the nimsuggest process https://media.discordapp.net/attachments/371759389889003532/808372931767697448/unknown.png |
16:25:34 | narimiran | PMunch: is https://github.com/PMunch/protobuf-nim/pull/25 ready to be merged or should i send some more fixes? |
16:25:36 | * | Tlangir quit (Remote host closed the connection) |
16:27:39 | saem | @CodeHz that the extension I wrote and did you set the nim.project setting? |
16:29:05 | FromDiscord | <CodeHz> I didn't set nim.project yet.. |
16:29:23 | saem | That's likely not a leak |
16:29:37 | FromDiscord | <CodeHz> but I just switch file forth and back |
16:29:43 | saem | It'll create one nimsuggest process per file by default |
16:29:47 | FromDiscord | <CodeHz> a.nim -> b.nim -> a.nim |
16:29:52 | saem | Hmm |
16:30:24 | FromDiscord | <CodeHz> https://user-images.githubusercontent.com/13158903/107247990-d35c8400-6a6c-11eb-8a4a-60dc5661ec98.png -> and can easily hit 68 process |
16:30:27 | saem | Then it's possibly a combination of nimsuggest and the extension not getting along. |
16:31:25 | FromDiscord | <CodeHz> Trying disable another extension |
16:31:45 | saem | Oh wait, how many files in your project? |
16:32:02 | saem | Nim files |
16:32:28 | saem | First easy thing is set the project setting |
16:32:49 | saem | If the problems go away it's likely indexing that's causing process creation |
16:35:34 | FromDiscord | <CodeHz> ok, when I set the nim.project, the problem is fixed |
16:36:46 | FromDiscord | <CodeHz> In reply to @saem "Oh wait, how many": only 10 files |
16:37:42 | saem | Hmm, ok, not quite sure about that leak, something to poke at at some point. Hmm |
16:37:48 | FromDiscord | <CodeHz> to compare, when I removed the settings, the process go back to 10+ https://media.discordapp.net/attachments/371759389889003532/808376038923960340/unknown.png |
16:39:11 | saem | I'm guessing the way processes are uniquely identified is wonky maybe or there is a recovery path that's doing dumb things. |
16:41:17 | saem | Also should make the extension easier to contribute to, it'd be pretty cool if Nimions could fearlessly fix things. It's be a cool community superpower. |
16:41:20 | FromDiscord | <CodeHz> wait, it only happens when I open the c++ language file at the same time |
16:42:05 | saem | Weird, it _should not_ care about that |
16:42:08 | saem | Weird |
16:43:14 | FromDiscord | <CodeHz> ohhh. .json file can also hit this |
16:45:04 | saem | Hmm, I wonder if the extension is being activated and deactivated and that's causing it to kick off a bunch of processes. |
16:45:51 | saem | I'm not at my computer to really look into it, but you could take a quick peek of you want |
16:46:19 | saem | I think the log even puts in a message ever time the extension activates and that'd be the first clue. |
16:47:09 | FromDiscord | <CodeHz> I got only one line log :↵`2021-01-02 00:0045:06.000474 - [info] Extension Activated` |
16:47:40 | FromDiscord | <CodeHz> I record a video about it https://media.discordapp.net/attachments/371759389889003532/808378526888755240/nim.mp4 |
16:50:00 | FromDiscord | <CodeHz> hmmm, suspicious log from the log (window) https://media.discordapp.net/attachments/371759389889003532/808379110044336158/unknown.png |
16:50:07 | * | Guest18487 quit (Quit: Guest18487) |
16:50:41 | * | Guest18487 joined #nim |
16:52:41 | FromDiscord | <CodeHz> the cpuprofile that can be loaded from chrome devtools https://media.discordapp.net/attachments/371759389889003532/808379789311606844/exthost-17bb8c.cpuprofile |
16:53:34 | FromDiscord | <CodeHz> tons of spawnSync call https://media.discordapp.net/attachments/371759389889003532/808380008431091722/unknown.png |
16:58:47 | * | zedeus quit (Ping timeout: 272 seconds) |
16:59:16 | * | zedeus joined #nim |
17:02:30 | FromDiscord | <CodeHz> it seems only spawn nimble... so it is unrelated problem |
17:46:22 | FromDiscord | <mratsim> can we do something about the nim.project setting? |
17:46:34 | FromDiscord | <mratsim> I don't think there is another language that needs that |
17:49:42 | stefantalpalaru | Any idea why I'm getting this in the "version-1-4" HEAD? "Nim/lib/system/memory.nim(38, 5) Error: cannot 'importc' variable at compile time; c_memcmp" |
17:52:18 | * | liblq-dev quit (Quit: WeeChat 3.0) |
17:53:01 | FromDiscord | <haxscramper> stefantalpalaru: most likely you are trying to use something like `nimCmpMem` in compile-time context |
17:53:10 | FromDiscord | <haxscramper> E.g. in macro, or `static:` block |
17:53:21 | leorize[m] | @mratsim: most languages with an LSP need something like that |
17:53:58 | FromDiscord | <haxscramper> Is it possible to do `nimble build` without nimble trying to pull/install all dependencies? |
17:54:17 | leorize[m] | no |
17:54:42 | FromDiscord | <haxscramper> I fee like I'm going to just work on nimph in couple of weeks |
17:55:14 | stefantalpalaru | haxscramper: I think I'm just comparing strings at compile time. |
17:55:37 | FromDiscord | <haxscramper> Can you show the code? |
17:55:58 | FromDiscord | <haxscramper> https://play.nim-lang.org/ |
17:56:23 | stefantalpalaru | https://github.com/status-im/nimbus-eth2/blob/596b8c6009ce893bbafcbefc74bc3edeecf967ce/beacon_chain/spec/keystore.nim#L234-L245 |
17:58:11 | stefantalpalaru | There's an operator overload for Eth2Digest that calls "equalMem()". |
17:58:40 | FromDiscord | <haxscramper> yes, most likely this is the problem |
17:59:12 | stefantalpalaru | Thanks. |
18:00:58 | stefantalpalaru | Is "defined(nimscript)" still the best way to check if the code is executed at compile time? |
18:01:54 | * | lqdev[m]3 joined #nim |
18:04:08 | FromDiscord | <haxscramper> Maybe `when nimvm` can be used too |
18:07:53 | * | Guest18487 quit (Quit: Guest18487) |
18:08:14 | * | Guest18487 joined #nim |
18:11:40 | * | natrys joined #nim |
18:13:22 | stefantalpalaru | Yep. |
18:16:47 | * | SebastianM joined #nim |
18:20:59 | * | SebastianM quit (Quit: Lost terminal) |
18:23:31 | * | SebastianM joined #nim |
18:27:27 | FromDiscord | <Clyybber> Araq: https://github.com/nim-lang/Nim/pull/16849 is ready |
18:28:12 | FromDiscord | <Clyybber> @Araq ^ |
18:30:22 | saem | @mratsim the project setting is unfortunate, but right now there really isn't enough information to do anything remotely sensible. I have a tough sketch on an idea but it's not going to move the needle until a bunch of other work lands. |
18:31:06 | * | SebastianM left #nim (#nim) |
18:38:41 | * | lqdev[m]3 left #nim ("User left") |
18:38:57 | * | lqdev[m]3 joined #nim |
19:01:13 | * | haxscramper quit (Remote host closed the connection) |
19:01:36 | * | haxscramper joined #nim |
19:01:40 | * | haxscramper quit (Remote host closed the connection) |
19:07:57 | * | Guest18487 quit (Quit: Guest18487) |
19:08:21 | * | Guest18487 joined #nim |
19:20:54 | FromGitter | <Araq> saem: bad news, my nkerror branch looks far away from being ready |
19:21:24 | FromGitter | <Araq> your improvements are better done against devel |
19:22:37 | saem | Araq: I know, but that's maybe ok, the thing is what I'm working on is really running into needing it so I'll either have to inflate scope, accept a regression or two, or hope I can come up with enough creative little fixes to keep it relatively sane. |
19:23:10 | FromGitter | <Araq> "running into needing it"? |
19:23:25 | saem | I'll try that last option and resort to others if only necessary. |
19:23:42 | FromGitter | <Araq> well if you feel like it |
19:23:52 | FromGitter | <Araq> all that remains is to make all the tests green |
19:23:56 | saem | I can hack around it in pretty sure, but VM is pretty grumpy with some of the changes. |
19:24:10 | saem | Green tests is fun! |
19:24:11 | FromGitter | <Araq> nothing more, nothing less |
19:24:52 | saem | I'll give it a whirl, but that's usually a nice game to play. |
19:25:08 | saem | nkError will make people happy, so win win |
19:29:48 | FromDiscord | <Clyybber> Araq: Addressed the review |
19:30:59 | FromDiscord | <Clyybber> @Araq ^ |
19:31:09 | FromDiscord | <Clyybber> always forget that gitter requires the `@` |
19:37:03 | FromDiscord | <Kiloneie> sent a long message, see http://ix.io/2OM3 |
19:48:01 | FromDiscord | <no name fits> Yeah the new audio is way better. The echo in the old one is pretty noticeable |
20:08:06 | * | Guest18487 quit (Quit: Guest18487) |
20:08:19 | * | Guest18487 joined #nim |
20:10:15 | * | natrys quit (Quit: natrys) |
20:14:08 | FromDiscord | <demotomohiro> new mic is better |
20:24:44 | * | vicfred quit (Quit: Leaving) |
20:43:45 | FromDiscord | <Kiloneie> and the headphone rattle/banging, cable whatever is causing it ? passable ? |
20:43:51 | FromDiscord | <Kiloneie> annoying ? |
20:44:38 | FromDiscord | <Kiloneie> i spent like over an hour in audacity trying to remove it with both noise gate and noise reduction and,.... not happening without making me sound really weird |
20:46:33 | FromDiscord | <Kiloneie> this sample recording didn't record any keyboard and mouse sounds which were a problem before, but from my other sample that i didn't upload, keyboard and mouse is now like 10% of the volume of my voice, pretty much noone should be annoyed by it |
20:53:41 | FromDiscord | <Daniel> In my experience, mic will pickup most of sounds in the environment, if its half a meter from your mouth, however, if its few inches away, your voice be very clear. |
20:53:56 | FromDiscord | <Daniel> (edit) "In my experience, mic will pickup most of sounds in the environment, if its half a meter from your mouth, however, if its few inches away, your voice ... be" added "will" |
20:55:01 | FromDiscord | <Daniel> it also depends to what you microphone is attached to, as the object to which it is attached to can also soak and transfer vibrations(sounds) into your mic |
20:55:11 | FromDiscord | <Daniel> (edit) "you" => "your" |
21:03:01 | FromDiscord | <Daniel> Have you tried using Noise reduction in a Audacity?@Kiloneie |
21:04:42 | FromDiscord | <Kiloneie> noise reduction is already applied via obs andd the mic is attachable boom mic |
21:05:01 | FromDiscord | <Kiloneie> im will take a pic in a few min |
21:05:58 | * | sunwukong joined #nim |
21:08:08 | * | Guest18487 quit (Quit: Guest18487) |
21:08:21 | * | Guest18487 joined #nim |
21:09:56 | * | Q-Master quit (Ping timeout: 240 seconds) |
21:12:34 | * | rockcavera is now known as Guest21508 |
21:12:35 | * | Guest21508 quit (Killed (rothfuss.freenode.net (Nickname regained by services))) |
21:12:36 | * | rockcavera joined #nim |
21:14:42 | * | tiorock joined #nim |
21:14:42 | * | rockcavera quit (Killed (card.freenode.net (Nickname regained by services))) |
21:14:42 | * | tiorock is now known as rockcavera |
21:18:55 | FromDiscord | <Kiloneie> https://media.discordapp.net/attachments/371759389889003532/808446787140190208/IMG_20210208_221807.jpg |
21:18:56 | FromDiscord | <Kiloneie> Thats the mic |
21:21:42 | FromDiscord | <lqdev> the new audio is better yes |
21:26:23 | FromDiscord | <Kiloneie> With this mic i dont need a noise gate and i did try it and so far its not possible i think to remove headphone rattle/whatevervwith it, its for sure transfered via vibration |
21:26:57 | FromDiscord | <Kiloneie> Yes and no, lower sens. On mic lowered it |
21:27:08 | FromDiscord | <Kiloneie> But i cant go any lower |
21:27:26 | FromDiscord | <Kiloneie> Already at - 25 db with a 30 dB gain over that |
21:28:18 | FromDiscord | <Kiloneie> 30 dB gain is max for obs, yeh i can increase it further in edit but it makes the sound worse |
21:29:42 | FromDiscord | <Kiloneie> Maybe reattaching the double sided glue a bit further would help idk, i only got one left, gotta buy some |
21:29:55 | FromDiscord | <Kiloneie> Or 2... Cant remember |
21:34:49 | * | narimiran quit (Ping timeout: 256 seconds) |
21:35:59 | * | rockcavera quit (Read error: Connection reset by peer) |
21:36:51 | * | rockcavera joined #nim |
21:43:36 | * | letto quit (Quit: Konversation terminated!) |
21:51:16 | * | letto joined #nim |
22:01:15 | * | Guest18487 quit (Quit: Guest18487) |
22:20:55 | * | Guest18487 joined #nim |
22:21:10 | * | Guest18487 quit (Remote host closed the connection) |
22:22:40 | * | oprypin quit (Quit: Bye) |
22:22:48 | * | oprypin joined #nim |
22:38:52 | ForumUpdaterBot | New thread by Pumpus: TA functions in NIM, see https://forum.nim-lang.org/t/7488 |
22:42:11 | * | letto quit (Read error: Connection reset by peer) |
22:43:15 | * | letto joined #nim |
22:50:40 | * | tane quit (Quit: Leaving) |
23:04:39 | * | euantorano quit (Read error: Connection reset by peer) |
23:04:49 | * | euantorano joined #nim |
23:15:17 | FromDiscord | <Pixtum> is there a reason I can't name a task clean in my .nimble file? |
23:16:53 | Clonkk[m] | That should be possible |
23:22:41 | FromDiscord | <Pixtum> ok correction, that's not the problem, apparently the issue is a function call within the task but the initial error says "generic instantiation of `task` " which is why I was confused |
23:22:52 | FromDiscord | <Pixtum> how do I delete a file from within nim? |
23:23:47 | Clonkk[m] | ``rmDir, rmFile`` from Nimscript https://nim-lang.org/docs/nimscript.html should work |
23:25:18 | FromDiscord | <Pixtum> thanks |
23:27:05 | FromDiscord | <Pixtum> is it possible to assign types to task? |
23:27:09 | Clonkk[m] | Nimscript uses a different API than os for some operation |
23:27:34 | Clonkk[m] | AFAIK, no but you can define & call proc in nimscript |
23:32:36 | * | sunwukong quit (Ping timeout: 246 seconds) |
23:46:02 | * | fredrikhr quit (Ping timeout: 265 seconds) |
23:59:04 | ForumUpdaterBot | New thread by Alexeypetrushin: Questions about collect macro, and inconsistency in namings, see https://forum.nim-lang.org/t/7489 |