00:02:21 | FromDiscord | <Elegantbeef> For destroy you could use finalizers/destructors |
00:02:33 | FromDiscord | <Elegantbeef> You really should just use valgrind with `-d:useMalloc` |
00:11:27 | FromDiscord | <bulletxbt> sent a code paste, see https://play.nim-lang.org/#pasty=dAWKqqUE |
00:12:15 | FromDiscord | <Elegantbeef> `setPosition` |
00:12:26 | FromDiscord | <bulletxbt> Literally just saw it in the docs |
00:12:29 | FromDiscord | <bulletxbt> Idk how I missed it |
00:12:37 | FromDiscord | <Elegantbeef> Reading is hard |
00:12:50 | FromDiscord | <bulletxbt> With 2hr sleep yeah |
00:19:33 | FromDiscord | <xkonti> In reply to @sys64 "Is it normal I": I get that roughly 15 times an hour. VsCode connected to WSL2.↵Purely on Windows, NimSuggest doesn't even try. It just crashes 100% of time. |
00:20:34 | FromDiscord | <System64 ~ Flandre Scarlet> In reply to @xkonti "I get that roughly": very weird!↵Well, this is the Nim's big con |
00:21:46 | FromDiscord | <xkonti> In reply to @sys64 "very weird! Well, this": Yup 😦 |
00:32:03 | FromDiscord | <bulletxbt> sent a code paste, see https://play.nim-lang.org/#pasty=lNlgUkwh |
00:33:35 | FromDiscord | <polylokh_39446> sounds like that .getInt is returning 0 |
00:33:39 | FromDiscord | <bulletxbt> `info["offset"].getInt` is returning 0 |
00:33:53 | FromDiscord | <bulletxbt> But I get JsonNode errors when I don't use .getInt |
00:34:49 | FromDiscord | <bulletxbt> sent a code paste, see https://play.nim-lang.org/#pasty=EQLcbztq |
00:34:55 | FromDiscord | <polylokh_39446> .getInt returns 0 if it's not a JInt. Probably because it's a string |
00:35:24 | FromDiscord | <polylokh_39446> try `.getStr.parseInt` |
00:36:24 | FromDiscord | <bulletxbt> In reply to @polylokh_39446 "try `.getStr.parseInt`": `undeclared field: 'getInt' for type system.string` |
00:36:38 | FromDiscord | <polylokh_39446> ok, now try .getStr.parseInt |
00:37:22 | FromDiscord | <polylokh_39446> parseInt is provided by strutils |
00:38:12 | FromDiscord | <bulletxbt> In reply to @polylokh_39446 "ok, now try .getStr.parseInt": Worked :) |
00:38:13 | FromDiscord | <bulletxbt> Thanks |
00:38:15 | FromDiscord | <polylokh_39446> sent a code paste, see https://play.nim-lang.org/#pasty=HilwrjGi |
00:52:08 | FromDiscord | <zumi.dxy> In reply to @xkonti "I get that roughly": i think its problem is that it polls continuously and it can't exactly handle incomplete syntax |
00:52:28 | FromDiscord | <zumi.dxy> yet, hopefully |
01:10:51 | FromDiscord | <__nycto__> In reply to @Elegantbeef "For destroy you could": Is there a generic way to do this for all types? |
01:11:31 | FromDiscord | <__nycto__> In reply to @Elegantbeef "You really should just": I’m integrating with an emulator that has its own allocators, which has made this tougher than I was expecting |
01:11:35 | FromDiscord | <Elegantbeef> Nope sadly not |
01:13:48 | * | xet7 joined #nim |
01:28:01 | FromDiscord | <sOkam! 🫐> what could make `HashSet[Path].items` fail as if it didn't exist, but `HashSet[Path].pairs` work normally? |
01:30:40 | FromDiscord | <Elegantbeef> Are you explicitly calling the iterator inside a generic? |
01:37:28 | FromDiscord | <sOkam! 🫐> nope, afaik. its in a for loop |
01:42:03 | FromDiscord | <sOkam! 🫐> sent a code paste, see https://play.nim-lang.org/#pasty=QvUdwQCr |
01:42:46 | FromDiscord | <sOkam! 🫐> (edit) "https://play.nim-lang.org/#pasty=uZBsvSAY" => "https://play.nim-lang.org/#pasty=UmVzehsT" |
01:57:57 | FromDiscord | <Elegantbeef> and does `connectors.items` work? |
02:22:52 | * | beholders_eye quit (Ping timeout: 260 seconds) |
02:59:24 | * | def- quit (Quit: -) |
02:59:40 | * | def- joined #nim |
03:13:47 | * | def- quit (Quit: -) |
03:13:59 | * | def- joined #nim |
03:50:30 | * | xet7 quit (Ping timeout: 256 seconds) |
03:51:46 | * | adigitoleo quit (Server closed connection) |
03:51:57 | * | adigitoleo joined #nim |
04:03:11 | * | xet7 joined #nim |
04:14:44 | * | SchweinDeBurg quit (Quit: WeeChat 4.3.0-dev) |
04:19:55 | FromDiscord | <odexine> How do you import sets |
04:20:07 | FromDiscord | <odexine> Maybe you excluded it by mistake |
04:28:50 | * | rockcavera quit (Remote host closed the connection) |
04:36:55 | FromDiscord | <horizon.firefly> Is there smth like .replace() in nim |
04:37:02 | FromDiscord | <horizon.firefly> For strings |
04:37:52 | FromDiscord | <horizon.firefly> So like `"abcd".replace("cd", "ba")` |
04:38:10 | FromDiscord | <horizon.firefly> (edit) ""ba")`" => ""ba") = "abba"`" |
04:39:37 | FromDiscord | <polylokh_39446> strutils has that |
04:41:17 | * | SchweinDeBurg joined #nim |
04:45:54 | * | def- quit (Quit: -) |
04:46:05 | * | def- joined #nim |
04:46:57 | FromDiscord | <horizon.firefly> In reply to @polylokh_39446 "strutils has that": Aight ty |
04:58:49 | * | dio joined #nim |
05:31:38 | FromDiscord | <brotherbrother1> Hey everyone, in windows. I dont succeed to list other running process by name and pid.↵do you think its possible with nim ? |
06:19:08 | PMunch | @brotherbrother1, you should be able to do something like this: https://stackoverflow.com/questions/4102569/get-process-name-from-process-id-win32 |
06:19:25 | * | ntat joined #nim |
06:19:35 | PMunch | Using either winim if things are wrapper there, or Futhark to automatically wrap the required headers |
06:35:04 | * | PMunch quit (Read error: Connection reset by peer) |
06:55:53 | FromDiscord | <m4ul3r> sent a code paste, see https://play.nim-lang.org/#pasty=FhmWKEMT |
07:46:28 | * | redj quit (Remote host closed the connection) |
07:47:49 | * | redj joined #nim |
07:59:28 | FromDiscord | <gogolxdong666> https://github.com/huggingface/lerobot |
08:19:32 | * | ntat quit (Quit: Leaving) |
08:28:27 | FromDiscord | <brotherbrother1> In reply to @PMunch "<@986206304584491069>, you should be": @m4ul3r and @pmunch , thank you very much for your usefull and fast response !!↵↵I will test that right now! |
09:07:37 | FromDiscord | <jmgomez> In reply to @sys64 "I just open VS": the issue is with your code, not because you open vscode 🙂 |
09:11:27 | FromDiscord | <System64 ~ Flandre Scarlet> In reply to @jmgomez "the issue is with": My code is fine? |
09:13:57 | FromDiscord | <jmgomez> In reply to @sys64 "My code is fine?": so nimsuggest doesnt crash? |
09:24:01 | FromDiscord | <System64 ~ Flandre Scarlet> In reply to @jmgomez "so nimsuggest doesnt crash?": It does↵And I don't have good autocompletion |
09:27:44 | FromDiscord | <jmgomez> So fill an issue with the code that makes it crash |
09:27:53 | FromDiscord | <System64 ~ Flandre Scarlet> sent a code paste, see https://play.nim-lang.org/#pasty=VJdTdfpi |
09:27:57 | FromDiscord | <System64 ~ Flandre Scarlet> Is that normal? |
09:28:31 | FromDiscord | <System64 ~ Flandre Scarlet> this file is stored in /usr/lib/nim |
09:29:44 | FromDiscord | <System64 ~ Flandre Scarlet> I wonder if it's the reason, and if it's possible to override this path |
09:38:08 | FromDiscord | <System64 ~ Flandre Scarlet> I think using the right path would solve the problem |
09:40:52 | * | coldfeet joined #nim |
09:42:54 | FromDiscord | <goerge_lsd> simplest way to set -d:ssl in project settings :-? |
09:43:44 | FromDiscord | <System64 ~ Flandre Scarlet> In reply to @jmgomez "So fill an issue": I think I solved the issue??↵https://github.com/nim-lang/Nim/issues/23201 |
09:45:08 | FromDiscord | <polylokh_39446> sent a code paste, see https://play.nim-lang.org/#pasty=PPUDGYmD |
09:46:00 | FromDiscord | <polylokh_39446> <https://nim-lang.org/docs/nimc.html#compiler-usage-configuration-files> |
09:47:08 | * | def- quit (Quit: -) |
09:54:33 | * | beholders_eye joined #nim |
09:54:48 | FromDiscord | <jmgomez> In reply to @sys64 "I think I solved": does the solution work for you then? |
10:05:18 | * | gst joined #nim |
10:05:40 | * | def- joined #nim |
10:17:19 | * | coldfeet quit (Remote host closed the connection) |
10:26:29 | FromDiscord | <dawidek.2137> is there a command in nimble to "install" the project I am working on (just like you would install an external library) or do I have to expose the generated binaries to system path myself? |
10:26:50 | FromDiscord | <nnsee> er, `nimble install`? |
10:27:15 | FromDiscord | <dawidek.2137> 🤦 |
10:30:30 | FromDiscord | <System64 ~ Flandre Scarlet> In reply to @jmgomez "does the solution work": Yes! |
10:30:46 | FromDiscord | <System64 ~ Flandre Scarlet> I finally have autocompletion! |
10:57:48 | FromDiscord | <ravinder387> what is NimNode? |
11:08:36 | * | def- quit (Quit: -) |
11:08:53 | * | def- joined #nim |
11:09:16 | * | beholders_eye quit (Ping timeout: 260 seconds) |
11:29:01 | FromDiscord | <Zoom> It's an object, representing a node in an abstract syntax tree - a data structure used to parse, manipulate and compile Nim.↵(@ravinder387) |
11:31:50 | FromDiscord | <System64 ~ Flandre Scarlet> Is it a good idea to do an iterator that yelds mutable objects? |
11:32:31 | * | def- quit (Quit: -) |
11:32:48 | * | def- joined #nim |
11:43:45 | FromDiscord | <griffith1deadly> In reply to @sys64 "Is it a good": depends of use case |
11:44:07 | FromDiscord | <griffith1deadly> if object very big - maybe good, because dont cause copies |
12:02:42 | FromDiscord | <System64 ~ Flandre Scarlet> In reply to @griffith1deadly "if object very big": I want the object to be mutable↵It's an array of Colors, and I wrote some converters |
12:17:05 | FromDiscord | <System64 ~ Flandre Scarlet> sent a code paste, see https://play.nim-lang.org/#pasty=BGHjvxLo |
12:18:02 | FromDiscord | <daichimpo> Who the mods? |
12:18:54 | FromDiscord | <daichimpo> <@&371760044473319454> got a steam scam DM from a user here |
12:19:42 | FromDiscord | <pmunch> Did you report the user to Discord? |
12:19:46 | FromDiscord | <daichimpo> Ye |
12:19:57 | FromDiscord | <pmunch> Could you PM me the username? |
12:21:50 | FromDiscord | <daichimpo> Done |
12:22:01 | FromDiscord | <daichimpo> Thanks, Munch! |
12:22:34 | FromDiscord | <System64 ~ Flandre Scarlet> sent a code paste, see https://play.nim-lang.org/#pasty=sTAJIGVC |
12:27:20 | FromDiscord | <nervecenter> sent a code paste, see https://play.nim-lang.org/#pasty=vrLVOnYb |
12:28:21 | FromDiscord | <nervecenter> sent a code paste, see https://play.nim-lang.org/#pasty=CHAAcvvJ |
12:29:30 | FromDiscord | <System64 ~ Flandre Scarlet> In reply to @nervecenter "You may need to": ``invalid type: 'openArray[Color]' for var`` |
12:30:31 | FromDiscord | <System64 ~ Flandre Scarlet> sent a code paste, see https://play.nim-lang.org/#pasty=IJEarKGd |
12:30:49 | FromDiscord | <nervecenter> Should probably be a `seq` then, `openarray` is technically just a receptor for either `array` or `seq` |
12:32:20 | FromDiscord | <System64 ~ Flandre Scarlet> In reply to @nervecenter "Should probably be a": and what if I implement an iterator in my Span object? |
12:36:28 | FromDiscord | <nervecenter> What's the point of it? To give a window into a raw array from a pointer? |
12:36:37 | FromDiscord | <nervecenter> A "slice" so to speak? |
12:36:39 | * | beholders_eye joined #nim |
12:37:33 | FromDiscord | <demotomohiro> Here is how to implement an iterator:↵https://nim-lang.org/docs/manual.html#iterators-and-the-for-statement |
12:53:36 | FromDiscord | <System64 ~ Flandre Scarlet> thanks! |
12:53:43 | FromDiscord | <System64 ~ Flandre Scarlet> Bruh fuck CPU endianess |
12:57:13 | * | ntat joined #nim |
13:47:07 | * | def- quit (Quit: -) |
13:49:24 | * | def- joined #nim |
13:53:51 | Amun-Ra | chainsaw it even |
13:59:42 | * | om3ga quit (Ping timeout: 255 seconds) |
14:03:52 | FromDiscord | <pmunch> In reply to @sys64 "Bruh fuck CPU endianess": Without endianess all the bits would just be stored in a big jumble! |
14:03:57 | FromDiscord | <pmunch> That'd be terrible! |
14:06:55 | FromDiscord | <odexine> mixed endian |
14:07:06 | FromDiscord | <odexine> every odd byte is little, every even byte is big |
14:07:52 | FromDiscord | <zidsal> everything should use big endian as bigger is always better |
14:08:58 | * | krux02 joined #nim |
14:09:25 | FromDiscord | <odexine> bigger endian↵across 8 bytes, all LSBs are on byte 1, next on byte 2, until MSB on byte 8 |
14:16:17 | FromDiscord | <zidsal> I think endian should be tied to daylight savings of the server. little endian if we're +1 hour ahead else +0. servers on time zones without daylight savings are undefined behaviour and are left to the implementation detail of the server |
14:25:33 | FromDiscord | <odexine> RIP asia |
14:28:34 | * | coldfeet joined #nim |
14:31:24 | * | rockcavera joined #nim |
14:34:41 | * | om3ga joined #nim |
14:35:03 | strogon14 | I promote use of the imperial byte, which is 12 bits. |
14:36:13 | FromDiscord | <odexine> 12 sounds neat for imperial. try 11.647 |
14:36:32 | strogon14 | 1 foot = 12 inch |
14:36:45 | FromDiscord | <odexine> bit isnt imperial |
14:36:50 | FromDiscord | <odexine> 1 foot = ? cm |
14:41:07 | Amun-Ra | $1 = 1€ |
14:42:10 | FromDiscord | <odexine> i dont know what the current values for both are |
14:42:21 | Amun-Ra | same |
14:42:28 | * | Amun-Ra lives in non-euro country |
14:44:04 | FromDiscord | <odexine> lives in neither-europe-nor-north-america |
14:44:20 | strogon14 | $ = € * 1.085 |
14:45:30 | * | def- quit (Quit: -) |
14:47:01 | * | def- joined #nim |
14:48:02 | FromDiscord | <odexine> lets make that the constant for the imperial bit |
14:48:16 | FromDiscord | <odexine> imperial bit = SI bit 1.085 |
14:48:30 | FromDiscord | <odexine> then an imperial byte can be 12 imperial bits |
14:49:12 | Amun-Ra | and imperial yardbyte 60 imperial bytes |
14:50:57 | FromDiscord | <odexine> sounds great |
14:51:08 | Amun-Ra | and fun |
14:51:14 | FromDiscord | <odexine> why note call it a yarte |
14:51:16 | FromDiscord | <odexine> not |
14:51:19 | Amun-Ra | :P |
14:51:28 | FromDiscord | <odexine> then a myle |
14:51:38 | Amun-Ra | yarte looks british to me, let's call it yart |
14:51:47 | FromDiscord | <odexine> isnt imperial british |
14:52:17 | Amun-Ra | yes, but some uk and us units differ |
14:52:58 | FromDiscord | <odexine> oh does that mean we'll have long bytes and short bytes too then |
14:53:01 | Amun-Ra | ounce, gallon, cup… |
14:53:26 | * | ntat quit (Quit: Leaving) |
14:56:20 | Amun-Ra | let's 1 implerial nibble be an 1/3 of imperial byte |
14:58:00 | FromDiscord | <odexine> implerial sounds cool as a new kind of unit category ngl |
14:58:52 | Amun-Ra | right, until you look in the details |
14:59:20 | * | gst quit (Quit: Client closed) |
15:09:18 | * | gst joined #nim |
15:23:29 | * | ntat joined #nim |
17:08:20 | * | gst quit (Quit: Client closed) |
17:14:11 | * | krux02_ joined #nim |
17:17:00 | * | krux02 quit (Ping timeout: 268 seconds) |
17:18:42 | * | def- quit (Quit: -) |
17:22:10 | * | def- joined #nim |
17:44:59 | FromDiscord | <System64 ~ Flandre Scarlet> sent a code paste, see https://play.nim-lang.org/#pasty=JKZukiVS |
17:45:40 | FromDiscord | <zidsal> just because you can make custom dsl's doesn't mean you should make custom dsls at every opportunity |
17:46:35 | FromDiscord | <nervecenter> sent a code paste, see https://play.nim-lang.org/#pasty=bcZCLJgC |
17:47:36 | FromDiscord | <System64 ~ Flandre Scarlet> In reply to @nervecenter "Just use `add` without": Oh wait, you don't have to use the ``()``? |
17:48:22 | FromDiscord | <nervecenter> Not if it's just one argument, or a second argument but the first is using UFCS |
17:48:34 | FromDiscord | <System64 ~ Flandre Scarlet> what is UFCS? |
17:49:12 | FromDiscord | <nervecenter> sent a code paste, see https://play.nim-lang.org/#pasty=LqrXedmb |
17:49:21 | FromDiscord | <nervecenter> (edit) "https://play.nim-lang.org/#pasty=vcWZwCXH" => "https://play.nim-lang.org/#pasty=dAcTazLS" |
17:49:52 | FromDiscord | <nervecenter> First arguments can be brought out front and the proc/func can be called almost like a method |
17:50:04 | FromDiscord | <nervecenter> This allows for easy chaining so long as the return types check out |
17:50:46 | FromDiscord | <threefour> And they are equivalent. One's not necessarily better than the other. |
17:50:46 | FromDiscord | <System64 ~ Flandre Scarlet> Ah yeah |
17:50:54 | FromDiscord | <System64 ~ Flandre Scarlet> they're equivalent |
17:51:00 | FromDiscord | <System64 ~ Flandre Scarlet> just different notations |
17:51:08 | FromDiscord | <nervecenter> In reply to @threefour "And they are equivalent.": Situational, and the use should be appropriate to the context, as with everything |
18:00:04 | FromDiscord | <polylokh_39446> dropping the parens isn't about UFCS though, but about <https://nim-lang.org/docs/manual.html#procedures-command-invocation-syntax> |
18:03:12 | * | def- quit (Quit: -) |
18:08:48 | * | beholders_eye quit (Ping timeout: 268 seconds) |
18:22:09 | * | def- joined #nim |
18:25:00 | * | beholders_eye joined #nim |
18:36:13 | FromDiscord | <.bobbbob> why might defer: db.close() work in debug mode but not in release mode? |
18:36:20 | * | def- quit (Quit: -) |
18:36:46 | * | def- joined #nim |
18:39:43 | * | def- quit (Client Quit) |
18:39:55 | * | def- joined #nim |
18:44:42 | FromDiscord | <morgan> are nimble tasks available in a repo which imports the package? |
18:44:58 | FromDiscord | <morgan> i am guessing no |
18:45:52 | FromDiscord | <morgan> i am splitting out my clap bindings from my plugin framework, and for the bindings, i'd like to have a nimble task to bundle the executable |
18:46:06 | FromDiscord | <morgan> i suppose i could write it as its own nimscript file though |
18:46:49 | FromDiscord | <morgan> but i'd like to have it in the bindings package, be usable in the framework package which imports the bindings, and if someone imports the framework library, to still have it be usable |
19:12:31 | * | rockcavera quit (Read error: Connection reset by peer) |
19:12:50 | * | rockcavera joined #nim |
19:12:50 | * | rockcavera quit (Changing host) |
19:12:51 | * | rockcavera joined #nim |
19:13:28 | FromDiscord | <Robyn [She/Her]> In reply to @morganalyssa "are nimble tasks available": You could make a hybrid package and then the main package would have the tasks available as a command perhaps? |
19:13:57 | FromDiscord | <Robyn [She/Her]> Or you could write a file that isn't imported by the main package, and is imported in the nimble file itself |
19:14:06 | * | lucerne quit (Quit: Ping timeout (120 seconds)) |
19:14:43 | * | krux02__ joined #nim |
19:15:21 | * | lucerne joined #nim |
19:16:35 | * | noeontheend quit (Read error: Connection reset by peer) |
19:16:35 | * | johuck quit (Read error: Connection reset by peer) |
19:16:37 | * | ursa-major quit (Read error: Connection reset by peer) |
19:16:44 | * | johuck joined #nim |
19:16:44 | * | noeontheend joined #nim |
19:17:10 | FromDiscord | <morgan> oh hm yea having it build a binary thats then made available |
19:17:19 | * | madprops_ joined #nim |
19:17:23 | * | oprypin quit (Quit: No Ping reply in 180 seconds.) |
19:17:43 | * | krux02_ quit (Read error: Connection reset by peer) |
19:18:08 | * | Goodbye_Vincent quit (Quit: Ping timeout (120 seconds)) |
19:18:28 | * | Goodbye_Vincent joined #nim |
19:18:32 | * | oprypin joined #nim |
19:18:46 | * | ursa-major joined #nim |
19:18:48 | * | madprops quit (Ping timeout: 268 seconds) |
19:19:59 | * | ntat quit (Quit: Leaving) |
19:20:06 | * | pmp-p quit (Quit: No Ping reply in 180 seconds.) |
19:21:34 | * | coldfeet quit (Ping timeout: 268 seconds) |
19:21:58 | * | coldfeet joined #nim |
19:25:48 | * | pmp-p joined #nim |
19:32:48 | FromDiscord | <morgan> either way it's cool to finally release a package |
19:33:25 | FromDiscord | <morgan> and i can pull that code out of my plugin framework and restructure its code a bit |
19:35:22 | * | def- quit (Quit: -) |
19:35:36 | * | def- joined #nim |
19:46:09 | FromDiscord | <grumblygibson> sent a code paste, see https://play.nim-lang.org/#pasty=eVWMTPqt |
20:07:45 | FromDiscord | <kdot_227> # Teen content and onlyfans leaks here :peach: :underage: : https://discord.gg/xxxhubs @everyone @here |
20:08:27 | FromDiscord | <kdot_227> # Teen content and onlyfans leaks here :peach: :underage: : https://discord.gg/xxxhubs @everyone @here |
20:10:11 | FromDiscord | <griffith1deadly> <@&371760044473319454> |
20:10:41 | * | FromDiscord quit (Remote host closed the connection) |
20:10:54 | * | FromDiscord joined #nim |
20:14:46 | FromDiscord | <Elegantbeef> Damn that was a real user at a pooint |
20:14:48 | FromDiscord | <Elegantbeef> point\ |
20:14:55 | FromDiscord | <Elegantbeef> Seems their account was compromised |
20:18:55 | Amun-Ra | hmm |
20:19:20 | FromDiscord | <Elegantbeef> I figured they just were making bot accounts |
20:30:26 | NimEventer | New Nimble package! clap - Clap audio plugin bindings, see https://github.com/morganholly/nim-clap |
20:30:38 | * | beholders_eye quit (Ping timeout: 268 seconds) |
20:32:25 | * | beholders_eye joined #nim |
20:38:22 | strogon14 | morgan: congrats on getting your package released. |
20:38:22 | strogon14 | I would consider changing the name 'nimplugin' to something more specific, though. |
20:39:11 | FromDiscord | <Elegantbeef> I still like the dumb idea to name it quarterinch |
20:39:36 | strogon14 | or pluck |
20:43:24 | * | def- quit (Quit: -) |
20:43:39 | FromDiscord | <morgan> it's now called offbeat |
20:43:49 | FromDiscord | <morgan> im still renaming stuff |
20:45:28 | * | def- joined #nim |
20:46:23 | FromDiscord | <Elegantbeef> I don't see any git tags! https://github.com/beef331/graffiti |
20:47:43 | FromDiscord | <morgan> yea i should |
20:48:45 | FromDiscord | <Elegantbeef> I religiously use graffiti after any commit, like someone that is holding on tight for sensible builds |
20:49:51 | * | xutaxkamay_ joined #nim |
20:49:52 | * | xutaxkamay quit (Read error: Connection reset by peer) |
20:49:57 | * | xutaxkamay_ is now known as xutaxkamay |
20:55:42 | * | coldfeet quit (Remote host closed the connection) |
20:55:57 | FromDiscord | <threefour> Do you have it in a Git hook? |
20:56:28 | FromDiscord | <Elegantbeef> I have thought about it 😄 |
20:57:10 | FromDiscord | <Elegantbeef> I do have a git hook to run `nimble test --silent` on a commit |
20:58:18 | FromDiscord | <Elegantbeef> sent a code paste, see https://play.nim-lang.org/#pasty=oiKLFLto |
20:59:40 | FromDiscord | <horizon.firefly> how do I remove the first 2 lines in a multiline string |
21:00:45 | FromDiscord | <Robyn [She/Her]> In reply to @morganalyssa "either way it's cool": Fair! I've released a few ~~but don't know if anyone has actually used em~~ |
21:02:33 | FromDiscord | <Elegantbeef> `std/strutils` has `delete` |
21:04:44 | * | xutaxkamay quit (Ping timeout: 260 seconds) |
21:08:40 | FromDiscord | <morgan> In reply to @morganalyssa "it's now called offbeat": i added build instructions to offbeat and nim-clap, but the bundling part is just for mac at the moment |
21:11:19 | FromDiscord | <Robyn [She/Her]> Random question: How hard would it be to make it so that the AST of an unchanged Nim file could be loaded from a cache instead of parsing the code and simplifying it? |
21:11:33 | FromDiscord | <Robyn [She/Her]> Is that possible? Or do generics and macros ruin that? |
21:11:47 | FromDiscord | <Robyn [She/Her]> As well as compile time variables I'd imagine |
21:11:57 | FromDiscord | <Robyn [She/Her]> ...and code that uses `staticRead` ig |
21:13:08 | FromDiscord | <Elegantbeef> The amount of times you've asked about IC indirectly robyn is too often |
21:14:11 | FromDiscord | <Robyn [She/Her]> I know :> |
21:14:34 | FromDiscord | <Robyn [She/Her]> This time it's on purpose |
21:14:48 | FromDiscord | <Elegantbeef> Nim uses pointers for the AST so it's not possible without fixing the pointers |
21:15:18 | FromDiscord | <Robyn [She/Her]> As in the ref objects and such? |
21:15:32 | FromDiscord | <Robyn [She/Her]> `PNode = ref TNode`, etc |
21:19:51 | FromDiscord | <Elegantbeef> Right |
21:20:02 | FromDiscord | <Elegantbeef> Nim uses pointer equality as matching for many things |
21:20:19 | FromDiscord | <Elegantbeef> Which means to have IC work without changing to a packed AST you need to remap pointers to their proper values |
21:21:06 | FromDiscord | <Robyn [She/Her]> Wouldn't that be possible to fix via `NodeIndex`es and such? I think Nimskull talked about it, is there a reason why it's not already done? |
21:21:24 | FromDiscord | <Elegantbeef> I mean that requires rewriting to a packed DOD AST |
21:21:34 | FromDiscord | <Robyn [She/Her]> Ah |
21:21:38 | FromDiscord | <Elegantbeef> Nim does have a packed AST for the IC but only for serialization |
21:21:50 | FromDiscord | <Robyn [She/Her]> Via rod files? |
21:21:57 | FromDiscord | <Elegantbeef> Yes |
21:21:57 | FromDiscord | <Robyn [She/Her]> Weren't those also very buggy anyway? |
21:22:13 | FromDiscord | <Elegantbeef> No? |
21:22:19 | FromDiscord | <Robyn [She/Her]> not buggy, incomplete |
21:22:29 | FromDiscord | <Elegantbeef> Well yea cause IC is not done |
21:22:40 | FromDiscord | <Robyn [She/Her]> Fair enough |
21:22:53 | FromDiscord | <Elegantbeef> Araq keeps working on other things, and we don't even know what he's working on now |
21:23:15 | FromDiscord | <Robyn [She/Her]> So if it does get done, it'd be done by the community and likely not him? |
21:24:12 | FromDiscord | <Elegantbeef> I'm not going to say anything for certain, but yea there are few public commits in Araq |
21:25:16 | FromDiscord | <Robyn [She/Her]> Yeah fair enough |
21:25:20 | FromDiscord | <Robyn [She/Her]> Oh well |
21:25:47 | FromDiscord | <Elegantbeef> As it stands I think Ringabout now makes the most PRs |
21:26:22 | FromDiscord | <Robyn [She/Her]> Yeah I remember |
21:26:34 | FromDiscord | <Robyn [She/Her]> I seen their commits and fixes semi-often |
21:30:04 | FromDiscord | <.bobbbob> god I finally found the fucking problem, I was sending image data to ImageMagick through execCmdEx with a pipe but if two threads did that at the same time imagemagick got stuck in an infinite loop for some reason, causing the db to never close and the client to eventually time out and of course no error message printed, so I write it to a tmp file first and it works |
21:37:26 | FromDiscord | <brotherbrother1> Hey everyone, do you know how to deals with TLS/SSL in nim ?↵I dont see easy way to do that 😦 |
21:37:57 | FromDiscord | <michaelb.eth> In reply to @brotherbrother1 "Hey everyone, do you": what’s the context? |
21:38:18 | FromDiscord | <Elegantbeef> `SSLContext` 😛 |
21:38:18 | * | beholders_eye quit (Read error: Connection reset by peer) |
21:39:05 | FromDiscord | <michaelb.eth> you may want to look at nim-bearssl and how its used by e.g. nim-chronos if you don’t want to involve OpenSSL |
21:39:45 | FromDiscord | <michaelb.eth> In reply to @Elegantbeef "`SSLContext` 😛": i knew that was coming, was counting down from 10, only got to 6 |
21:39:55 | FromDiscord | <Elegantbeef> I forgive you |
21:42:46 | FromDiscord | <brotherbrother1> sent a long message, see https://pasty.ee/kCezwZJy |
21:43:23 | FromDiscord | <brotherbrother1> it was not nice with the additionnals DLL of openssl |
21:43:50 | * | beholders_eye joined #nim |
21:48:52 | FromDiscord | <michaelb.eth> In reply to @brotherbrother1 "it was not nice": maybe give nim-websock a look: https://github.com/status-im/nim-websock |
21:49:14 | FromDiscord | <michaelb.eth> it uses chronos so bearssl will be baked in |
21:49:26 | FromDiscord | <Robyn [She/Her]> In reply to @michaelb.eth "you may want to": BearSSL itself doesn't seem like it has many recent commits, isn't that Not Great™️ with a project regarding internet security? |
21:49:34 | FromDiscord | <brotherbrother1> In reply to @michaelb.eth "i knew that was": I think i already find this library but i dont find a usefull example to use socket with it |
21:49:58 | FromDiscord | <brotherbrother1> So i stop using it |
21:50:53 | FromDiscord | <michaelb.eth> In reply to @chronos.vitaqua "BearSSL itself doesn't seem": just depends, if it has implemented the functionality correctly for the subset of tls it satisfies, there’s not necessarily much to do |
21:53:02 | FromDiscord | <Robyn [She/Her]> Fair |
21:57:42 | FromDiscord | <brotherbrother1> In reply to @michaelb.eth "maybe give nim-websock a": I will thank youuu ! |
21:59:17 | * | zgasma quit (Quit: Lost terminal) |
22:21:47 | * | rockcavera quit (Remote host closed the connection) |
22:22:11 | * | rockcavera joined #nim |
22:38:46 | FromDiscord | <zidsal> @ElegantBeef I guess you'll need to make a new library just to use the name quarterinch |
22:39:04 | FromDiscord | <Elegantbeef> Nah I do not do VST plugins |
22:40:16 | FromDiscord | <Elegantbeef> It only makes sense as an audio plugin or a dick joke! |
22:40:37 | FromDiscord | <zidsal> I was about to suggest the later but decided against it |
22:41:03 | FromDiscord | <zidsal> I'm going to go brainstorm library ideas that can use the name quarterinch |
22:44:37 | FromDiscord | <zidsal> congrats elegentbeef you're now writing a digital signal processing library and calling it quarterinch |
22:45:15 | FromDiscord | <Elegantbeef> Insert sad lion meme here |
22:45:52 | FromDiscord | <zidsal> I legitimately just signed up for a chatgpt account just to ask for suggestions |
22:46:04 | FromDiscord | <Elegantbeef> I'm sorry for your loss |
22:46:30 | FromDiscord | <Elegantbeef> It's not a name searching for a library |
22:46:37 | FromDiscord | <Elegantbeef> It was a library searching for a name |
22:46:56 | FromDiscord | <Elegantbeef> Quarter inch for a audio plugin is obscure enough that it tickles my brain |
22:47:03 | FromDiscord | <zidsal> tell me with a straight face that you don't just make librarys because you thin of cool names |
22:47:10 | FromDiscord | <zidsal> (edit) "thin" => "think" |
22:47:13 | FromDiscord | <Elegantbeef> I don't |
22:47:34 | FromDiscord | <Elegantbeef> Though I did make an image comparison library like diffimg named pam for testing my game's rendering |
22:47:35 | FromDiscord | <zidsal> well played sir, I can't currently see your face |
22:47:53 | FromDiscord | <Elegantbeef> Pam is a great name for an image diff library |
22:48:35 | FromDiscord | <zidsal> testing? we do that here? I thought we just slapped an early access label on it and charged users for the opportunity to test for you |
22:49:44 | FromDiscord | <Robyn [She/Her]> In reply to @zidsal "tell me with a": For me it's the other way around :) |
22:50:07 | FromDiscord | <Robyn [She/Her]> Napkins for a library describing a packet format for a protocol :P |
22:53:24 | * | beholders_eye quit (Ping timeout: 268 seconds) |
22:54:13 | FromDiscord | <Elegantbeef> I just like puns or obscure names |
22:54:54 | FromDiscord | <Robyn [She/Her]> Like Traitor? :p |
22:55:02 | FromDiscord | <Elegantbeef> Yes |
22:55:31 | FromDiscord | <Elegantbeef> Kashae, Micros, Gooey, Seeya, Dodger, .... |
22:56:09 | FromDiscord | <Elegantbeef> The aforementioned Graffiti is the best methinks |
22:56:59 | FromDiscord | <Robyn [She/Her]> Lol |
22:57:22 | FromDiscord | <Elegantbeef> Dodger might be a bit of a think, but idk |
22:57:40 | FromDiscord | <Elegantbeef> "What does dodging have to do with matrix" is not a long path |
23:02:24 | FromDiscord | <Robyn [She/Her]> I never seen the movies and I can guess :p |
23:35:01 | * | xet7 quit (Ping timeout: 268 seconds) |
23:37:44 | strogon14 | Elegantbeef: btw, VST is the name of a specific audio plugin format, not a generic term for audio plugins. Though, I guess, it has become that in the minds of the computer audio users (not audio developers). Like we use "Tempo" as a generic term for paper handkerchiefs in Germany (I know US examples exists, but I don't know them off the top of my head). |
23:38:12 | FromDiscord | <Elegantbeef> Kleenex is the Americanism for Tempo |
23:38:20 | strogon14 | Ah, yes. |
23:38:50 | FromDiscord | <Elegantbeef> It's just genericized trademark |
23:39:43 | strogon14 | Yeah, I think there's a specific term for those, but I can't remember/didn't find it. |
23:42:03 | strogon14 | Anyway, today VST is just one format (though the the one with overwhelmingly the most support) amongst about half a dozen (AU, CLAP, LV2, whatever Protools uses, etc.) |
23:46:46 | * | xet7 joined #nim |