00:15:25 | * | SchweinDeBurg joined #nim |
00:35:59 | FromDiscord | <DetermiedNim1> wait so hypothetically https://media.discordapp.net/attachments/371759389889003532/1372371902240391309/image.png?ex=6826886e&is=682536ee&hm=7356d0c18b47b5c05521571592f33f3199ef69e45d2b4ebaaf74c71c3cd96833& |
00:36:07 | FromDiscord | <DetermiedNim1> is there a way to make that work |
00:38:51 | FromDiscord | <leorize> yes, you file a bug with nim |
00:39:02 | FromDiscord | <Elegantbeef> Though that's cursed coded |
00:39:57 | FromDiscord | <DetermiedNim1> i love cursed code |
00:40:06 | FromDiscord | <DetermiedNim1> so fun |
00:40:45 | FromDiscord | <Elegantbeef> Hmph my d key really is making me spell coded every time instead of code |
01:51:28 | * | SchweinDeBurg quit (Quit: WeeChat 4.7.0-dev) |
03:07:29 | * | rockcavera quit (Remote host closed the connection) |
04:04:32 | * | SchweinDeBurg joined #nim |
05:38:48 | * | redj joined #nim |
08:11:37 | * | nils` quit (Ping timeout: 276 seconds) |
08:35:33 | * | xet7 quit (Ping timeout: 252 seconds) |
08:42:54 | * | jjido joined #nim |
08:47:55 | * | xet7 joined #nim |
09:00:23 | * | ntat joined #nim |
09:13:01 | * | ntat quit (Quit: leaving) |
09:13:52 | * | nils` joined #nim |
09:19:47 | FromDiscord | <jseb> sent a code paste, see https://play.nim-lang.org/#pasty=nfrpILjj |
09:21:47 | FromDiscord | <jseb> (edit) "https://play.nim-lang.org/#pasty=rXuXZJpW" => "https://play.nim-lang.org/#pasty=PioUjYSh" |
09:27:03 | * | thunder joined #nim |
09:32:51 | * | jjido quit (Quit: My laptop has gone to sleep. ZZZzzz…) |
09:44:30 | FromDiscord | <gyatsoyt> Best video tutorials for nim ? Which are updated constantly and cover the most part of it |
09:47:58 | Amun-Ra | PMunch made a few |
10:03:14 | * | beholders_eye joined #nim |
10:07:56 | * | thunder quit (Remote host closed the connection) |
10:08:24 | * | thunder joined #nim |
10:15:51 | FromDiscord | <pmunch> I did? |
10:27:38 | * | skippy8 joined #nim |
10:29:19 | * | beholders_eye quit (Ping timeout: 268 seconds) |
10:29:45 | FromDiscord | <lainlaylie> In reply to @jseb "Good morning (artist wake": I would expect either what it gave you or [3, 12] (math?), not [[1,2],[8,4]]. after all the ord of O is 3, not 8. |
10:52:36 | Amun-Ra | pmunch: well, I missed "tutorials" part in the question |
11:25:09 | * | jjido joined #nim |
11:53:42 | * | xet7 quit (Ping timeout: 272 seconds) |
11:54:12 | * | bioinfo quit (Quit: WeeChat 4.6.3) |
12:12:09 | * | beholders_eye joined #nim |
12:23:42 | * | ntat joined #nim |
12:28:34 | * | thunder quit (Killed (NickServ (GHOST command used by metasintactic))) |
12:28:35 | * | metasintactic joined #nim |
12:31:28 | * | thunder joined #nim |
12:35:36 | * | metasintactic quit (Ping timeout: 264 seconds) |
12:37:16 | FromDiscord | <jseb> In reply to @lainlaylie "I would expect either": [3,12] could be expanded to {1,2,4,8} (unique set) as it's not delimited, but indeed [[3],[12]] would be better if stocked in decimal. Anyway it must be stored as power of two so you don't have the choice to store them separatly. And order doesn't count (my initial mistake) as {O,S} == {S,O} |
12:38:22 | FromDiscord | <jseb> ah i'm wrong again with the first part ( [3,12] ). You just store additions of set, so it's ok, each number is a set |
12:45:58 | * | ntat quit (Read error: Connection reset by peer) |
13:02:26 | * | jjido quit (Quit: My laptop has gone to sleep. ZZZzzz…) |
13:54:10 | * | xet7 joined #nim |
14:06:12 | * | thunder quit (Killed (NickServ (GHOST command used by metasintactic))) |
14:06:12 | * | metasintactic joined #nim |
14:13:38 | FromDiscord | <heysokam> In reply to @jseb "ah i'm wrong again": marshal return must be stringifized to the 2x array, because `[3,12]` is the actual binary representation of the data↵can check by passing an enum set to a C function that expects int as flags. it will work no issues |
14:15:48 | * | jjido joined #nim |
14:24:56 | * | jjido quit (Quit: My laptop has gone to sleep. ZZZzzz…) |
14:26:14 | * | skippy8 quit (Quit: WeeChat 4.5.2) |
14:27:44 | * | jjido joined #nim |
15:00:29 | FromDiscord | <jseb> just to be sure, you say you must have two subarrays ? One array returned should be enough , as each set element is a power of two |
15:13:01 | * | jkl__ quit (Ping timeout: 252 seconds) |
15:13:04 | * | om3ga joined #nim |
15:13:32 | * | thunder joined #nim |
15:14:19 | FromDiscord | <heysokam> if you were replying to me, I was saying that marshal could be responsible for that weird output you didn't expect, because the internal repr is what you explained |
15:14:31 | * | jkl joined #nim |
15:15:12 | * | metasintactic quit (Ping timeout: 264 seconds) |
15:17:41 | * | Ekho quit (Ping timeout: 248 seconds) |
15:21:38 | * | jjido quit (Quit: My laptop has gone to sleep. ZZZzzz…) |
15:23:33 | * | Amun-Ra quit (Ping timeout: 248 seconds) |
15:24:48 | * | thunder quit (Ping timeout: 264 seconds) |
15:25:29 | * | xutaxkamay quit (Ping timeout: 252 seconds) |
15:25:43 | * | xutaxkamay joined #nim |
15:33:25 | FromDiscord | <lainlaylie> marshal seems to serialize sets as (unordered) lists of ords, whereas [3,12] would be treating a set as an int. they are both representations of the same thing. as long as marshal knows how to deserialize it back to a set it doesn't matter |
15:33:45 | FromDiscord | <lainlaylie> (edit) "sets" => "a set" | "a setas ... (unordered)list" added "an" | "lists" => "list" |
15:36:13 | * | xet7 quit (Ping timeout: 276 seconds) |
15:38:21 | * | Amun-Ra joined #nim |
15:39:51 | FromDiscord | <heysokam> `for file in "./tests".walkDirRec(relative=true).reversed:`↵Is there an existing way to do this `.reversed` idea? |
15:40:16 | FromDiscord | <heysokam> for some reason `walkDirRec` walks in inverse alphabetical order 😕 |
15:42:14 | FromDiscord | <griffith1deadly> In reply to @heysokam "`for file in "./tests".walkDirRec(relative=true).re": `walkDirRec(...).toSeq().reversed:`? |
15:43:10 | FromDiscord | <heysokam> that worked, ty |
15:43:21 | FromDiscord | <heysokam> couldn't remember how to do it |
15:46:35 | FromDiscord | <lainlaylie> I'm not sure that you can count on walkDirRec being in any particular order, reversed or otherwise |
15:48:15 | * | xet7 joined #nim |
16:31:05 | * | Ekho joined #nim |
17:05:43 | FromDiscord | <xxccxcx> In reply to @lainlaylie "I'm not sure that": Hi |
17:05:53 | FromDiscord | <xxccxcx> What is this server about? |
17:06:47 | * | SchweinDeBurg quit (Quit: WeeChat 4.7.0-dev) |
17:09:32 | * | disso-peach joined #nim |
17:18:37 | * | ntat joined #nim |
17:38:30 | * | beholders_eye quit (Ping timeout: 265 seconds) |
17:38:45 | * | jjido joined #nim |
17:43:28 | FromDiscord | <hgo0935> In reply to @xxccxcx "What is this server": Nim, the programming language |
17:45:35 | FromDiscord | <nnsee> they left |
17:45:39 | FromDiscord | <nnsee> likely a scammer |
18:00:26 | FromDiscord | <kapendev> probably a cute girl |
18:00:32 | Amun-Ra | that's not even a proper roman numeral |
18:33:37 | FromDiscord | <Phil> Went ahead and removed the messages given that nothing of value happened and the profile was just advertising from what I could tell |
18:57:09 | * | jjido quit (Quit: My laptop has gone to sleep. ZZZzzz…) |
18:57:58 | * | andy-turner joined #nim |
19:51:57 | * | xet7 quit (Quit: Leaving) |
20:31:13 | * | ntat quit (Quit: leaving) |
20:38:40 | FromDiscord | <aintea> sent a code paste, see https://play.nim-lang.org/#pasty=aCjeJgPc |
20:39:23 | FromDiscord | <aintea> thanks past me for giving me such precious informations |
20:41:42 | * | skippy8 joined #nim |
21:21:54 | * | rockcavera joined #nim |
21:32:16 | * | andy-turner is now known as andy-turner2 |
21:32:24 | * | andy-turner2 is now known as andy-turner |
21:35:46 | * | andy-turner quit (Quit: Leaving) |
23:30:42 | * | skippy8 quit (Quit: WeeChat 4.5.2) |
23:31:39 | * | disso-peach quit (Quit: Leaving) |
23:48:28 | * | SchweinDeBurg joined #nim |