00:00:14 | * | tk quit (Quit: Well, this is unexpected.) |
00:00:39 | * | tk joined #nim |
00:06:47 | FromDiscord | <Quibono> Hello everyone. |
00:07:01 | FromDiscord | <Elegantbeef> Hello |
00:08:05 | FromDiscord | <Quibono> How is it going? |
01:03:28 | nixfreak_nim[m] | is main for calling css using karax ? proc loginSection*(ctx: Context, title: string, error: string = ""): VNode = |
01:03:28 | nixfreak_nim[m] | result = buildHtml(main(class = "content")): |
01:15:39 | FromDiscord | <leorize> no |
01:15:50 | FromDiscord | <leorize> everything in `buildHtml` is just an HTML tag |
01:15:57 | FromDiscord | <leorize> it's the `class` that matters |
01:16:06 | FromDiscord | <leorize> which is an html attribute |
01:16:28 | FromDiscord | <leorize> similarly you can use a `style` attribute to embed style |
02:40:35 | * | ormiret quit (Ping timeout: 264 seconds) |
02:43:54 | * | ormiret joined #nim |
02:45:36 | NimEventer | New question by zerodahero: Nim Slack bot Signature Verification Issues, see https://stackoverflow.com/questions/69878174/nim-slack-bot-signature-verification-issues |
02:56:05 | * | krux02 quit (Remote host closed the connection) |
02:56:53 | * | neurocyte0132889 quit (Ping timeout: 244 seconds) |
03:45:34 | * | arkurious quit (Quit: Leaving) |
04:02:14 | * | ormiret quit (Ping timeout: 260 seconds) |
04:03:10 | * | notchris quit (Ping timeout: 260 seconds) |
04:04:03 | * | notchris joined #nim |
04:04:09 | * | ormiret joined #nim |
04:06:02 | * | supakeen quit (Quit: WeeChat 3.3) |
04:06:32 | * | supakeen joined #nim |
05:11:42 | * | rockcavera joined #nim |
05:11:43 | * | rockcavera quit (Changing host) |
05:11:43 | * | rockcavera joined #nim |
05:21:54 | * | vicfred joined #nim |
05:29:05 | * | tiorock joined #nim |
05:29:06 | * | tiorock quit (Changing host) |
05:29:06 | * | tiorock joined #nim |
05:29:06 | * | rockcavera is now known as Guest4406 |
05:29:06 | * | tiorock is now known as rockcavera |
05:29:53 | * | rockcavera quit (Remote host closed the connection) |
05:32:55 | * | Guest4406 quit (Ping timeout: 244 seconds) |
06:04:59 | * | mikko quit (*.net *.split) |
06:05:20 | * | mikko joined #nim |
06:12:53 | * | oz quit (*.net *.split) |
06:12:53 | * | djanatyn quit (*.net *.split) |
06:13:12 | * | ox joined #nim |
06:13:16 | * | djanatyn joined #nim |
07:02:31 | * | kayabaNerve joined #nim |
07:09:29 | * | neurocyte0132889 joined #nim |
07:09:29 | * | neurocyte0132889 quit (Changing host) |
07:09:29 | * | neurocyte0132889 joined #nim |
07:16:42 | FromDiscord | <ynfle (ynfle)> @goat do you still need an example? I can give you one if you'd like |
07:45:42 | * | mahlon quit (Ping timeout: 268 seconds) |
07:53:51 | * | icebattle quit (Ping timeout: 260 seconds) |
07:55:57 | * | PMunch joined #nim |
08:01:07 | * | krux02 joined #nim |
08:10:29 | * | neurocyte0132889 quit (Ping timeout: 250 seconds) |
08:30:42 | * | krux02 quit (Remote host closed the connection) |
09:33:29 | PMunch | Hello everyone :) |
09:33:52 | FromDiscord | <evoalg> Hello 🙂 |
09:34:25 | PMunch | Has anything fun happened over the weekend? I've been gone |
09:35:10 | FromDiscord | <Elegantbeef> Hello |
09:35:32 | FromDiscord | <Rika> No |
09:35:54 | NimEventer | New thread by Miran: Nim v1.2.14 released, see https://forum.nim-lang.org/t/8602 |
09:36:20 | PMunch | Wait 1.2.14? It was 1.2.8 when I left :S |
09:36:25 | FromDiscord | <Elegantbeef> Nothing here aside from abusing opengl here |
09:36:36 | FromDiscord | <Elegantbeef> Here twice, good sentence me |
09:36:40 | PMunch | Wait 1.2? It was 1.4.. |
09:36:40 | FromDiscord | <Elegantbeef> Hear hear |
09:36:54 | FromDiscord | <Elegantbeef> 1.2.14 is a backported update |
09:37:03 | FromDiscord | <Elegantbeef> It was hopefully 1.6 the last time you were here |
09:37:03 | PMunch | Ah right |
09:37:38 | PMunch | Of course -_- |
09:37:45 | PMunch | I'm tired :P |
09:38:20 | FromDiscord | <Rika> Stop being tired |
09:38:54 | PMunch | Good point, I should make some coffee |
09:43:34 | FromDiscord | <impbox [ftsf]> We traveled back in time while you were gone |
09:43:47 | FromDiscord | <impbox [ftsf]> This is a timeline where we never left nim 1.2 |
09:58:14 | * | vicfred quit (Quit: Leaving) |
10:05:17 | PMunch | Damn, I knew I had been gone a little while, but you managed to discover and perfect time travel in that span! Impressive! |
10:06:07 | FromDiscord | <Elegantbeef> Well the first bit took some time, but then it didnt matter |
10:12:31 | PMunch | Haha, good point :P |
10:33:21 | * | vicecea quit (Remote host closed the connection) |
10:34:11 | * | vicecea joined #nim |
10:57:01 | * | krux02 joined #nim |
11:02:05 | NimEventer | New thread by Arnetheduck: Supporting both chronos and asyncdispatch in async code, see https://forum.nim-lang.org/t/8603 |
11:07:11 | * | Vladar joined #nim |
11:11:40 | PMunch | Hmm, is this a regression? |
11:12:09 | FromDiscord | <dom96> Can I tweet out "BREAKING: First time machine invented; firmware implemented using Nim"? |
11:12:17 | FromDiscord | <dom96> welcome back PMunch |
11:13:32 | PMunch | I have statement like `case elem.kind` where `elem.kind` is an enum. In my `of` statements I have a `of String` but it complains that it's ambiguous with another type from an imported module |
11:13:41 | PMunch | I mean it's not very ambiguous is it? |
11:14:04 | PMunch | And it builds fine with 1.4.8 |
11:14:23 | PMunch | And thanks dom96 :) |
11:15:55 | FromDiscord | <Hamid Bluri> does nim work on windows 11? |
11:16:42 | FromDiscord | <Hamid Bluri> my friend just installed Nim and he gets this error when compiling simple echo program |
11:16:43 | FromDiscord | <Hamid Bluri> https://media.discordapp.net/attachments/371759389889003532/907227128947425290/unknown.png |
11:17:28 | PMunch | Seems like he haven't set up his path correctly |
11:19:41 | FromDiscord | <dom96> hm, can your friend share this without --verbosity:0? |
11:20:08 | FromDiscord | <dom96> also does lib/system/basic_types.nim exist? |
11:33:27 | FromDiscord | <Hamid Bluri> In reply to @dom96 "also does lib/system/basic_types.nim exist?": he says no |
11:34:05 | FromDiscord | <Hamid Bluri> he says `lib/system/` is empty |
11:35:19 | FromDiscord | <Hamid Bluri> i'm trying to connect via anydesk to figure out the problem |
11:35:51 | FromDiscord | <dom96> I would suggest giving choosenim a try. Might just be an install issue. |
11:48:38 | FromDiscord | <Hamid Bluri> i don't know how he extracted the nim compiler without `lib/system` : / |
11:48:52 | FromDiscord | <Hamid Bluri> now it works fine |
11:48:58 | PMunch | Weird zipping utility? |
11:49:09 | FromDiscord | <Hamid Bluri> In reply to @PMunch "Weird zipping utility?": yes : - / |
11:49:26 | FromDiscord | <Hamid Bluri> In reply to @dom96 "I would suggest giving": i tried choose nim |
11:49:38 | FromDiscord | <Hamid Bluri> but that gave me extraction error |
11:49:53 | FromDiscord | <Hamid Bluri> i don't know why |
11:50:01 | FromDiscord | <dom96> what was the error? |
11:55:48 | FromDiscord | <Hamid Bluri> In reply to @dom96 "what was the error?": https://media.discordapp.net/attachments/371759389889003532/907236961155186688/unknown.png |
11:56:06 | FromDiscord | <Hamid Bluri> oh |
11:56:27 | FromDiscord | <Hamid Bluri> maybe that's because there is no `.nimble` directory |
11:57:22 | FromDiscord | <Hamid Bluri> actually `.nimble/bin` |
11:57:35 | FromDiscord | <Hamid Bluri> because i have `.nimble/pkgs` |
11:57:58 | FromDiscord | <impbox [ftsf]> Anti virus complaining and deleting files as they're extracted? |
11:58:01 | FromDiscord | <impbox [ftsf]> Happens to me a lot |
11:58:26 | FromDiscord | <Hamid Bluri> In reply to @impbox "Anti virus complaining and": it's fixed in nim 1.6.0 |
11:59:11 | FromDiscord | <Rika> not necessarily |
11:59:14 | FromDiscord | <Rika> check nonetheless |
11:59:37 | FromDiscord | <el__maco> windows defender ate some executable from 1.6.0 for me |
11:59:56 | FromDiscord | <el__maco> a different one from the previous version, but both didn't like one of them |
12:00:24 | FromDiscord | <dom96> In reply to @hamidb80 "": "nim-1.6.0_x8.zip |
12:00:26 | FromDiscord | <dom96> (edit) ""nim-1.6.0_x8.zip" => ""nim-1.6.0_x8.zip"" |
12:00:30 | FromDiscord | <dom96> that looks sus |
12:01:23 | FromDiscord | <evoalg> noob binary question ... if I have 0b0010, I can see the int if I echo it (it says it's 2), and I might be able to convert it to int by doing int(x)? ... how can I convert 2 to binary (something like 0b0010 or so)? |
12:01:58 | FromDiscord | <leorize> all numbers are binary |
12:02:09 | FromDiscord | <leorize> it's just a form of representation |
12:02:23 | FromDiscord | <leorize> I believe you want to know how to print binary, right? |
12:02:33 | FromDiscord | <leorize> strutils.toBin should do it for you |
12:03:07 | FromDiscord | <evoalg> ahh thank you! ... and yea I see what you're saying - makes sense! |
12:04:45 | FromDiscord | <dom96> looks like `getGccArch` might be the cause here, called in: https://github.com/dom96/choosenim/blob/master/src/choosenimpkg/download.nim#L293. (implementation: https://github.com/dom96/choosenim/blob/master/src/choosenimpkg/utils.nim#L124-L143) |
12:06:02 | * | supakeen quit (Quit: WeeChat 3.3) |
12:06:17 | FromDiscord | <dom96> wow, how can this proc not do any error checks :/ |
12:06:32 | * | supakeen joined #nim |
12:06:47 | FromDiscord | <dom96> anyway: https://github.com/dom96/choosenim/issues/284 |
12:07:44 | FromDiscord | <Hamid Bluri> sent a code paste, see https://play.nim-lang.org/#ix=3Eos |
12:08:01 | FromDiscord | <dom96> thanks! |
12:08:20 | FromDiscord | <Hamid Bluri> windows 10 |
12:09:50 | FromDiscord | <dom96> the proc fails to check whether `gcc` is in the path at all, so my guess is for you `gcc` wasn't in the path, error code was `1` |
12:09:54 | FromDiscord | <dom96> and we got `8` lol |
12:11:47 | FromDiscord | <Hamid Bluri> `choosenim` downloads `MingW` before downloading nim |
12:13:31 | FromDiscord | <impbox [ftsf]> In reply to @evoalg "noob binary question ...": You can print as binary with toBin from strutils |
12:15:26 | FromDiscord | <evoalg> In reply to @impbox "You can print as": Thanks! - that's what leorize suggested too and it works 🙂 |
12:15:43 | FromDiscord | <impbox [ftsf]> Oops missed that! |
12:16:27 | FromDiscord | <evoalg> I'm not sure how to convert it back to int (but I'm not sure I need to ... just wondering) |
12:21:04 | FromDiscord | <el__maco> feels like you still might be a bit confused about how numbers are handled? An int is always ultimately stored in binary in the computer's memory. You can format the bits differently to a text string for printing, and this formatting doesn't affect the number itself |
12:25:16 | * | vsantana joined #nim |
12:25:20 | FromDiscord | <evoalg> so you're saying there's not a bin type in nim, right? |
12:25:21 | PMunch | That being said if you want to get binary data from user input then you can use parseBin from strutils |
12:25:32 | PMunch | There's no bin type in any language |
12:25:46 | PMunch | Or rather, it wouldn't be any different than a number type |
12:26:48 | FromDiscord | <evoalg> Thanks, makes sense |
12:26:50 | FromDiscord | <Rika> you dont convert things to binary, you print things in binary notation |
12:26:50 | FromDiscord | <el__maco> well, there is no "binary integer", or "decimal integer", because all integers are ultimately binary |
12:27:24 | FromDiscord | <evoalg> I guess I'm not used to thinking in that way 😉 |
12:28:21 | PMunch | I mean Nim is one of the few languages that allows you to do things like this: https://play.nim-lang.org/#ix=3EoB |
12:28:53 | PMunch | Where Binary is now it's own type, although still stored as an int internally |
12:30:14 | FromDiscord | <evoalg> Nice example! |
12:30:30 | FromDiscord | <impbox [ftsf]> 16, 0x10 and 0b00010000 all refer to the same number |
12:30:39 | PMunch | Note that since it's distinct you can't do anything you can do with normal numbers on it |
12:30:47 | PMunch | So no adding, subtracting, etc |
12:31:47 | PMunch | Unfortunately there is no way I know of to just override one procedure for a type like that |
12:32:06 | FromDiscord | <el__maco> if you were to remove the distinct, then normal integer arithmetic would work? |
12:32:08 | PMunch | Removing the distinct makes echo y also output the binary representation |
12:32:44 | FromDiscord | <el__maco> I just noticed |
12:32:45 | PMunch | But yes, removing the distinct basically means that Binary is the same type as int, and conversely that int is the same type as Binary |
12:32:53 | FromDiscord | <evoalg> I just tried removing distinct, and it echos everything as binary |
12:33:01 | FromDiscord | <el__maco> so you need to cast every time if you want something like that |
12:34:19 | FromDiscord | <evoalg> Thank you all for the binary / number lesson 🙂 |
12:34:28 | PMunch | You could of course delay the cast like this: https://play.nim-lang.org/#ix=3EoG |
12:35:11 | FromDiscord | <el__maco> that's pretty nice |
12:36:08 | FromDiscord | <Rika> i mean you can just |
12:36:14 | FromDiscord | <Rika> !eval import strformat; echo &"{132:b}" |
12:36:19 | NimBot | Compile failed: 10000100 |
12:36:28 | FromDiscord | <Rika> ??? failed why |
12:40:53 | PMunch | @evoalg, the important thing to remember is that binary, hex, octal, etc. are just representations of the same number. They are just different number systems representing the same number |
12:41:49 | PMunch | @Rika, good question |
12:42:07 | FromDiscord | <evoalg> gotcha ok thank you PMunch |
12:42:42 | FromDiscord | <dom96> Huh. How weird. NimBot still gave the result. |
12:43:37 | FromDiscord | <xflywind> !eval import os |
12:43:40 | NimBot | <no output> |
12:44:29 | FromDiscord | <xflywind> !eval import strformat; echo &"{132:b}" |
12:44:32 | NimBot | Compile failed: 10000100 |
12:45:19 | FromDiscord | <willyboar> !eval import strutils; echo &"{132:b}" |
12:45:23 | NimBot | Compile failed: /usercode/in.nim(1, 23) Error: type mismatch: got <string> |
12:45:36 | FromDiscord | <Rika> & is not in strutils |
12:45:46 | FromDiscord | <xflywind> !eval import strformat; echo &"{132}" |
12:45:50 | NimBot | Compile failed: 132 |
12:46:04 | FromDiscord | <xflywind> !eval import strformat; echo 123 |
12:46:07 | NimBot | 123 |
12:47:37 | FromDiscord | <willyboar> It is a bot issue |
12:48:06 | FromDiscord | <willyboar> `import strformat; echo &"{132:b}"` works on playground |
12:48:26 | FromDiscord | <xflywind> !eval import strformat; echo 132 |
12:48:30 | NimBot | 132 |
12:52:18 | FromDiscord | <Zoom> @dom96\: why is there no support for i386 systems for choosenim? It builds just fine on linux, just can't install it without building. Is it too hard to maintain? |
12:55:14 | FromDiscord | <el__maco> I have a question though. Suppose I'm on Linux, and I would like to add a path for nim files that would be checked for when I import something↵in nim.cfg there's a bunch of ``path='$lib/something`` lines, so I tried to add yet another line of those pointing to a location inside my home directory but it didn't work. The only way I was able to make it work was to start the path with the $lib variable and use a relative path to that |
12:57:46 | * | PMunch quit (Ping timeout: 244 seconds) |
13:00:17 | * | vsantana left #nim (Leaving) |
13:02:22 | * | kayabaNerve_ joined #nim |
13:04:18 | NimEventer | New thread by Argl: Proper way to create local packages?, see https://forum.nim-lang.org/t/8604 |
13:04:28 | * | kayabaNerve quit (Ping timeout: 244 seconds) |
13:13:55 | FromDiscord | <dom96> In reply to @Zoom "<@132595483838251008>\: why is there": Afaik Linux x86 is very rare. You’d need choosenim builds for it which is the major hindrance. Don’t think it’s worth the effort. |
13:19:09 | FromDiscord | <el__maco> if someone knows what would be the preferred way to add to the import search path on linux, feel free to educate me |
13:23:21 | * | PMunch joined #nim |
13:30:50 | Amun-Ra | nim.cfg and path = "…" |
13:32:23 | FromDiscord | <el__maco> if I put something like this in there ``path="~/projects/nim/common"`` it does not work. Is there some implicit limitations on what can be put there |
13:32:39 | Amun-Ra | '~' may be a problem |
13:33:59 | FromDiscord | <el__maco> now I'm not sure, but I feel like I tried a path without ~ too, but I have to recheck. I wonder what would be a typical place to store this kind of stuff on linux |
13:34:36 | Amun-Ra | check /etc/nim/nim.cfg |
13:35:19 | Amun-Ra | and $HOME/.config/nim/nim.cfg for user configurable data |
13:35:51 | FromDiscord | <el__maco> maybe $HOME would work instead of ~? |
13:36:01 | FromDiscord | <el__maco> didn't try that |
13:36:15 | FromDiscord | <enthus1ast> does it work when you give an absolute path? |
13:37:02 | FromDiscord | <el__maco> all I know is that I tried several options, and the only thing that seemed to work is when I started the path with "$lib" just like the other entires |
13:37:10 | FromDiscord | <el__maco> but I guess I have to recheck |
13:38:10 | FromDiscord | <el__maco> I literally installed linux for the first time on Friday so I'm not quite up to speed 😳 |
13:39:26 | Amun-Ra | plain absolute path without ~ nor env. vars should work |
13:40:58 | FromDiscord | <el__maco> so in that case, is /etc/ a good place? I don't have multiple users on my pc but still would feel natural to me to have those things stored in my home dir |
13:41:23 | FromDiscord | <enthus1ast> `/etc` is the systemwide configuration |
13:41:52 | FromDiscord | <enthus1ast> in theory, i depends where the folder is, an who has write access to it |
13:42:52 | FromDiscord | <enthus1ast> when you put your userhome on path, and root tries to compile stuff, then the root user would import stuff from YOUR home folder, and since nim can execute stuff on compile time, you have a local privilege exploit \:) |
13:43:26 | FromDiscord | <el__maco> I see |
13:43:32 | * | PMunch quit (Ping timeout: 240 seconds) |
13:44:01 | Amun-Ra | if you want to add modules/whatever only for you .config/nim/nim.cfg is preferred |
13:44:29 | FromDiscord | <el__maco> yea I wasn't aware there's two of those and now I'm not sure which one I edited. Could have been the wrong one |
13:44:59 | FromDiscord | <enthus1ast> but there is another option |
13:45:08 | FromDiscord | <enthus1ast> withouth putting stuff on path manually |
13:45:35 | FromDiscord | <enthus1ast> sent a code paste, see https://play.nim-lang.org/#ix=3Ep1 |
13:46:27 | FromDiscord | <enthus1ast> the this nimble module can be imported from anywhere.↵↵I think this is what you want to achive? |
13:47:41 | FromDiscord | <el__maco> I just want to say ``import foo,bar`` where foo.nim and bar.nim can be in the current directory or in the common directory |
13:48:23 | FromDiscord | <enthus1ast> so you wont do "modules" (each with their own nimble file) but just lonely .nim files ? |
13:49:10 | FromDiscord | <el__maco> I have not used nimble, not sure what it even does tbh |
13:50:34 | FromDiscord | <el__maco> I want to reuse some code across my projects, and putting stuff to "lonely" nim files seems to fit the bill just fine? |
13:50:41 | FromDiscord | <enthus1ast> nimble is Nim's package manager. It installs modules (downloads updates etc), and does some other stuff eg. helps with building modules etc |
13:51:30 | FromDiscord | <enthus1ast> sent a code paste, see https://play.nim-lang.org/#ix=3Ep2 |
13:51:39 | FromDiscord | <enthus1ast> then your're golden |
13:52:05 | FromDiscord | <el__maco> I'll keep that in mind |
13:52:07 | FromDiscord | <el__maco> thanks |
13:52:11 | FromDiscord | <enthus1ast> np |
13:56:40 | * | rockcavera joined #nim |
13:56:40 | * | rockcavera quit (Changing host) |
13:56:40 | * | rockcavera joined #nim |
13:57:18 | FromDiscord | <haxscramper> https://web.archive.org/web/20071223173210/http:/www.concentric.net/~Ttwang/tech/inthash.htm |
14:04:50 | * | PMunch joined #nim |
14:05:19 | * | arkurious joined #nim |
14:13:12 | * | PMunch quit (Ping timeout: 244 seconds) |
14:25:35 | * | PMunch joined #nim |
14:51:06 | nixfreak_nim[m] | can you call out a css file using buildHtml for karax? |
14:51:19 | nixfreak_nim[m] | like results = buildHtml(main(class="content")) |
14:51:39 | nixfreak_nim[m] | if so can someone show me where in the macro is says that? |
14:53:53 | FromDiscord | <xflywind> you can use sth like: https://github.com/planety/prologue/blob/devel/examples/blog/templates/share/head.nim |
14:54:09 | FromDiscord | <willyboar> sent a code paste, see https://play.nim-lang.org/#ix=3Epf |
14:56:54 | FromDiscord | <willyboar> this is a good example i think https://github.com/ajusa/simple-chat/blob/master/index.nim |
15:01:02 | nixfreak_nim[m] | <FromDiscord> "<xflywind> you can use sth like:..." <- what is sth ? |
15:01:24 | FromDiscord | <xflywind> something |
15:01:57 | nixfreak_nim[m] | so you can use buildHtml macro to call out a css file then correct |
15:03:12 | FromDiscord | <willyboar> https://github.com/ajusa/simple-chat/blob/master/index.nim#L9 yeap |
15:03:26 | nixfreak_nim[m] | does that work out because in the macro you call out the body ? macro buildHtml*(tag, children: untyped): VNode =... (full message at https://libera.ems.host/_matrix/media/r0/download/libera.chat/c5fdf614723dc67a66b7479aac57dbefdd2a524e) |
15:13:32 | * | PMunch quit (Ping timeout: 240 seconds) |
15:21:35 | nixfreak_nim[m] | Its in VNode ok |
15:26:49 | * | PMunch joined #nim |
15:32:59 | nixfreak_nim[m] | main is an actual html element , oh ok https://developer.mozilla.org/en-US/docs/Web/HTML/Element/main |
17:10:42 | * | PMunch quit (Quit: leaving) |
17:17:17 | * | mahlon joined #nim |
17:53:47 | FromDiscord | <vazub> Hello everyone! Sorry if this is a stupid question and maybe answered many times elsewhere, but are bundled Nim tests supposed to have 100% pass? For a bit more context, I downloaded and built Nim 1.6.0 from source, on Fedora 34 (x86\_64), but when I run `./koch tests`, quite a lot of them fail. Is this known and/or expected? |
17:55:05 | FromDiscord | <vazub> I mean, I would assume by default, that for a release, these should pass 100%, and yet they don't, at least not in my case. |
18:13:46 | Amun-Ra | is there a way to generate documentation for all the code, no matter whether it's public or private? |
18:14:56 | * | kayabaNerve_ quit (Remote host closed the connection) |
18:16:13 | FromDiscord | <leorize> vazub\: they're supposed to pass |
18:16:30 | FromDiscord | <leorize> there are dependencies though |
18:16:54 | FromDiscord | <IsaacPaul> I decided to run the tests too on the 1.6.0 tag |
18:17:01 | FromDiscord | <IsaacPaul> I get 20+ failures |
18:17:07 | FromDiscord | <leorize> of the top of my head you need\: valgrind, libsdl 1.2, sfml, nodejs |
18:17:22 | FromDiscord | <vazub> I've found only `valgrind` and `nodejs` so far, but not sure about others. Is there a definite list of those? |
18:18:01 | FromDiscord | <leorize> unfortunately not, but you can look at CI configuration |
18:18:19 | FromDiscord | <IsaacPaul> ah |
18:19:50 | FromDiscord | <leorize> however libsdl and sfml is only used in a few tests, so 20 failing tests is weird |
18:20:25 | FromDiscord | <leorize> have you installed libc debug info for valgrind? |
18:20:49 | FromDiscord | <leorize> and it'd be nice to get a list of failing tests on your machine |
18:21:21 | FromDiscord | <leorize> just run `nim r tools/ci_testresults.nim` in the compiler source |
18:27:05 | FromDiscord | <vazub> sent a code paste, see https://play.nim-lang.org/#ix=3Eqq |
18:43:02 | * | mahlon quit (Read error: Connection reset by peer) |
18:45:23 | * | mahlon joined #nim |
19:04:42 | FromDiscord | <treeform> If you look at the github CI they mostly pass: https://github.com/nim-lang/Nim/commits/devel |
19:35:10 | FromDiscord | <vazub> tests.txt https://media.discordapp.net/attachments/371759389889003532/907352568924078121/tests.txt |
19:35:13 | FromDiscord | <vazub> Ok, a bit better this time, with most dependencies installed. A lot less failures, but they are still present. Failed tests log attached, if anyone interested to have a look. |
20:02:09 | FromDiscord | <leorize> the ssl ones fails because our test certificate is too old and insecure |
20:02:23 | FromDiscord | <leorize> others fails due to missing libraries, which is very weird |
20:03:08 | FromDiscord | <leorize> I'm not quite sure why is tosproc failing |
21:19:22 | NimEventer | New thread by Matthesoundman: Collection Help, see https://forum.nim-lang.org/t/8605 |
21:30:35 | FromDiscord | <konsumlamm> i just noticed that deleted forum threads can still be found and read through searching for it |
22:05:36 | * | kayabaNerve joined #nim |
22:09:06 | FromDiscord | <Yardanico> In reply to @konsumlamm "i just noticed that": yes, this is not really something new, threads and posts aren't actually deleted |
22:09:09 | FromDiscord | <Yardanico> they're still kept in the database |
22:09:17 | FromDiscord | <Yardanico> but I don't know if this is intended or a bug :) |
22:10:05 | FromDiscord | <dom96> it's a bug, we should delete threads that have been deleted permanently after some time |
22:10:17 | FromDiscord | <dom96> the deleted ones definitely shouldn't show up in search though |
22:16:40 | FromDiscord | <Yardanico> @dom96 what about storing older edits? |
22:16:43 | FromDiscord | <Yardanico> is this intended or not? |
22:17:02 | FromDiscord | <Yardanico> like if you have 15 edits on your message, nimforum will send all 15 edits and the frontend will pick the last version |
22:18:50 | FromDiscord | <dom96> the backend should probably only store an edit if it happened after some threshold amount of minutes |
22:19:12 | FromDiscord | <dom96> but yes, sending all the edits is intentional because I was hoping to implement support for viewing these on the frontend |
22:26:08 | * | Vladar quit (Quit: Leaving) |
22:43:45 | * | dv^_^ joined #nim |