| 00:06:51 | * | rockcavera quit (Remote host closed the connection) |
| 00:26:04 | * | rockcavera joined #nim |
| 01:01:10 | FromDiscord | <gdisuperi> In reply to @mratsim "I hav achieved AGI:": tattletail↵↵that's a name i've not heard in a long time |
| 02:21:08 | * | rockcavera quit (Read error: Connection reset by peer) |
| 02:21:28 | * | rockcavera joined #nim |
| 02:21:28 | * | rockcavera quit (Changing host) |
| 02:21:28 | * | rockcavera joined #nim |
| 02:25:26 | * | rockcavera quit (Remote host closed the connection) |
| 02:52:01 | * | zero` quit (Ping timeout: 265 seconds) |
| 03:03:37 | * | anddam quit (Ping timeout: 265 seconds) |
| 03:04:07 | * | oprypin quit (Ping timeout: 265 seconds) |
| 03:04:08 | * | GnuYawk1 quit (Ping timeout: 265 seconds) |
| 03:04:19 | * | oprypin joined #nim |
| 03:04:31 | * | GnuYawk1 joined #nim |
| 03:04:44 | * | anddam joined #nim |
| 03:06:59 | * | zero` joined #nim |
| 08:01:40 | * | xet7 joined #nim |
| 08:04:34 | * | xet7 quit (Read error: Connection reset by peer) |
| 08:04:41 | * | xutaxkamay quit (Read error: Connection reset by peer) |
| 08:05:39 | * | xutaxkamay joined #nim |
| 08:28:05 | * | beholders_eye joined #nim |
| 10:18:34 | * | oculux joined #nim |
| 10:21:00 | * | kick455 quit (Ping timeout: 245 seconds) |
| 10:25:35 | * | kick455 joined #nim |
| 10:28:55 | * | oculux quit (Ping timeout: 245 seconds) |
| 11:24:10 | * | oculux joined #nim |
| 11:27:40 | * | kick455 quit (Ping timeout: 245 seconds) |
| 12:06:27 | * | om3ga quit (Read error: Connection reset by peer) |
| 12:10:40 | * | om3ga joined #nim |
| 12:54:34 | * | redj quit (Ping timeout: 248 seconds) |
| 13:08:54 | * | redj joined #nim |
| 13:47:01 | FromDiscord | <mratsim> In reply to @mratsim "I hav achieved AGI:": Got working bidirectional zero-copy Nim<->PyTorch↵↵https://github.com/mratsim/tattletale/blob/master/workspace/libtorch/tests/python_integration/test_tensor_bridge.nim https://media.discordapp.net/attachments/371759389889003532/1504117767090081824/image.png?ex=6a05d254&is=6a0480d4&hm=48b80138e65b4820c6b1a613c6e69b652c28f36cb77177592483510b2c11777e& |
| 14:35:28 | * | adigitoleo quit (Read error: Connection reset by peer) |
| 14:41:34 | * | adigitoleo joined #nim |
| 15:02:17 | FromDiscord | <nervecenter> In reply to @mratsim "Got working bidirectional zero-copy": That's pretty insane, dang. So are these matching Tensor structures going to be a special Arraymancer type? |
| 15:02:29 | FromDiscord | <nervecenter> (edit) "matching" => "compatible" |
| 15:03:59 | FromDiscord | <randomstranger0812> Im trying to read the output from a process I started with osproc startprocess↵Anyway to do that nonblocking?↵Or at least block while there is something to read and release when I got everything If you know what I mean |
| 15:17:47 | FromDiscord | <mratsim> In reply to @nervecenter "That's pretty insane, dang.": No, that would bring PyTorch as a dependency and that's huge, like 5GiB minimum, and it's a pain to compile the thousands of line of C++ headers all the time. |
| 15:19:25 | FromDiscord | <mratsim> In reply to @nervecenter "That's pretty insane, dang.": I plan to do an LLM inference engine using torch/pytorch as a base first.↵↵Then, I'll think of writing a new tensor library and swap torch/pytorch out. Or make it a compile-time option (i.e. pure Nim vs PyTorch for fuzzing). |
| 15:38:12 | * | przmk quit (Remote host closed the connection) |
| 15:40:17 | * | przmk_ joined #nim |
| 15:40:45 | karolyi | hello, quick question: what if I don't like things that nph does? the nimlangserver seems to only use it and doesn't use nimpretty at all, which I'd prefer because it doesn't reformat things I don't want to get reformatted |
| 15:55:06 | FromDiscord | <asviest> @mr_rowboto why henka uses CXTranslationUnit_SingleFileParse by default? |
| 16:09:32 | FromDiscord | <artiklamartik> hellow guys |
| 16:10:25 | FromDiscord | <asviest> In reply to @artiklamartik "hellow guys": hi |
| 16:10:39 | FromDiscord | <artiklamartik> In reply to @asviest "hi": hru mate |
| 16:36:45 | FromDiscord | <mr_rowboto> In reply to @asviest "<@176460389662457856> why henka uses": @heysokam. Henka v2 underwent a huge rewrite. |
| 16:36:56 | FromDiscord | <mr_rowboto> (edit) "rewrite." => "rewrite, because we're supporting more languages." |
| 16:37:13 | FromDiscord | <mr_rowboto> (Sokam changed my mind about not supporting CPP) |
| 16:37:37 | FromDiscord | <mr_rowboto> So, a lot of details will be lost to me |
| 16:38:07 | FromDiscord | <heysokam> In reply to @asviest "<@176460389662457856> why henka uses": Because it was the easiest way to be able to stop clang from recursing into the stdlib. it felt like that as a default was safer |
| 16:38:27 | FromDiscord | <mr_rowboto> In reply to @heysokam "Because it was the": Ok, this is basically the same behaviour and solution as v1 then. |
| 16:38:30 | FromDiscord | <heysokam> if you pass in multiple files, it does the right thing and understands it needs to process multiple files |
| 16:39:11 | FromDiscord | <asviest> In reply to @heysokam "Because it was the": This is small part of problems that it creates:↵https://github.com/RowDaBoat/henka/issues/3 |
| 16:39:41 | FromDiscord | <asviest> (edit) removed "that" |
| 16:40:20 | FromDiscord | <heysokam> In reply to @asviest "This is small part": call `henka.generate` and override whatever options you need |
| 16:40:50 | FromDiscord | <mr_rowboto> It's a good catch tho. |
| 16:41:29 | FromDiscord | <mr_rowboto> basically the option ignores all prepro? |
| 16:41:40 | FromDiscord | <mr_rowboto> (edit) "prepro?" => "prepro if I'm understanding this correctly @asviest ?" |
| 16:43:15 | FromDiscord | <heysokam> this sounds not right at all. we might simply not be tracking undefs, and thats the issue↵or the ast might have extra information for undefs that I didn't see |
| 16:43:43 | FromDiscord | <heysokam> singleparse breaking macros makes no sense |
| 16:43:56 | FromDiscord | <mr_rowboto> Ok, I can start by making tests with ASVI's issue. |
| 16:44:17 | FromDiscord | <heysokam> its an option for an entirely different goal, so it feels like a bug that this is happening 🤔 |
| 16:44:24 | FromDiscord | <mr_rowboto> t -4h 15m |
| 16:44:27 | FromDiscord | <mr_rowboto> (edit) "t" => "`t" | "15m" => "15m`" |
| 16:46:03 | FromDiscord | <asviest> In reply to @mr_rowboto "basically the option ignores": It replaces it with very stupid preprocessor that much worse than c2nim preprocessor |
| 16:47:00 | FromDiscord | <mr_rowboto> fair, we'll look into it |
| 16:49:21 | FromDiscord | <demotomohiro> In reply to @randomstranger0812 "Im trying to read": You probably need to use: https://github.com/status-im/nim-chronos/blob/master/chronos/asyncproc.nim |
| 16:52:08 | FromDiscord | <asviest> sent a code paste, see https://play.nim-lang.org/#pasty=MdBRQpRW |
| 16:52:46 | FromDiscord | <asviest> (edit) "https://play.nim-lang.org/#pasty=FzFthVcC" => "https://play.nim-lang.org/#pasty=LHOuZXiI" |
| 16:53:15 | FromDiscord | <mr_rowboto> sent a code paste, see https://play.nim-lang.org/#pasty=WCtUiZdV |
| 16:54:46 | FromDiscord | <heysokam> well, its only the default option. Still, it can be fixed with the macro information that it gives |
| 16:55:17 | FromDiscord | <heysokam> you can override it for now, and a fix could use the macros to know which symbols to skip |
| 16:56:57 | FromDiscord | <heysokam> ty for catching it. its an edge case our test cases didn't catch so far |
| 16:57:01 | FromDiscord | <mr_rowboto> wouldn't it be better to just not use that option for default? |
| 16:57:10 | FromDiscord | <mr_rowboto> (edit) "for" => "by" |
| 16:57:22 | FromDiscord | <heysokam> In reply to @mr_rowboto "wouldn't it be better": and provide bindings for the entire stdlib all at once on every parse? 🤔 |
| 16:57:46 | FromDiscord | <mr_rowboto> clearly not, but there must be a way to stop it |
| 16:57:57 | FromDiscord | <heysokam> I didn't find a way to make it stop at X depth or similar |
| 16:58:00 | FromDiscord | <mr_rowboto> "How does Futhark do it?" moment |
| 16:58:07 | FromDiscord | <heysokam> there might be one, I just didn't see it |
| 16:58:37 | FromDiscord | <heysokam> In reply to @mr_rowboto ""How does Futhark do": single header merger, thats how |
| 16:58:41 | FromDiscord | <mr_rowboto> yep |
| 16:59:04 | FromDiscord | <heysokam> thats the hack they went with, and I didn't want to go that route |
| 16:59:28 | FromDiscord | <mr_rowboto> so you're planning on actually resolving the macros, reimplementing the prepro logic? |
| 16:59:59 | FromDiscord | <heysokam> thats a big statement for solving such a small issue 🤔 |
| 17:00:15 | FromDiscord | <mr_rowboto> how should we solve it tho |
| 17:00:32 | FromDiscord | <heysokam> "reimplementing macro logic" is one thing↵"skipping symbols based on ifdefs" different thing |
| 17:00:50 | FromDiscord | <mr_rowboto> still it's prepro logic |
| 17:00:52 | FromDiscord | <mr_rowboto> not all of it ofc |
| 17:01:06 | FromDiscord | <heysokam> "resolve the macros" thats the problem. its not resolving anything |
| 17:02:08 | FromDiscord | <heysokam> anyway, this feels like not a topic for #main. dont want to take over the entire channel with minutia 🤷♂️↵lets talk about the how on other threads, and the gh issue ✍️ |
| 17:02:21 | * | beholders_eye quit (Quit: WeeChat 4.9.0) |
| 17:51:31 | * | beholders_eye joined #nim |
| 18:52:51 | * | Lord_Nightmare quit (Quit: ZNC - http://znc.in) |
| 19:01:07 | * | Lord_Nightmare joined #nim |
| 19:38:13 | * | beholders_eye quit (Ping timeout: 276 seconds) |