<< 05-09-2020 >>

00:00:32*opal quit (Remote host closed the connection)
00:01:45*opal joined #nim
00:09:30FromDiscord<Rebel> because I copied from forums and that's what I saw
00:09:36FromDiscord<Rebel> good idea I will try with addr
00:11:05FromDiscord<Rebel> ok maybe I did try with addr a few weeks ago but I remember why not ```Error: expression has no address; maybe use 'unsafeAddr'```
00:11:21FromDiscord<Rika> for addr to work they must be var
00:11:26FromDiscord<Rebel> oh shit
00:11:33FromDiscord<Rebel> it was a let
00:11:51FromDiscord<Rebel> huh
00:11:54FromDiscord<Rebel> it does work with addr
00:12:08FromDiscord<Rebel> what is the benefit of using addr?
00:12:12FromDiscord<Rika> its not unsafe
00:12:14FromDiscord<Rika> well it is
00:12:16FromDiscord<Rebel> lol
00:12:17FromDiscord<Elegant Beef> unsafeaddr is basically the "Ok im certain i want to overwrite the mutabillity"
00:12:18FromDiscord<Rika> but its not unsafeAddr
00:12:53FromDiscord<Rebel> unsafeAddr is just doing &myvar under the hood and addr does some magic before doing dereferencing it?
00:12:55FromDiscord<Elegant Beef> Causue you shouldnt be able to mutate a let without explictly doing so
00:13:25FromDiscord<Elegant Beef> I think it's more just for `let` you have to explictly state you want to modify it to ensure you know what you're doing
00:13:49*a_chou quit (Quit: a_chou)
00:14:18FromDiscord<Rika> unsafeaddr is taking the pointer of anything that exists, addr takes pointers of only mutable objects
00:14:34FromDiscord<exelotl> yeah what rika said
00:14:46FromDiscord<Elegant Beef> Hey that's what i said to basically 😛
00:15:37FromDiscord<exelotl> oh yeah true, I was writing a response to clarify that addr doesn't do any "magic", it's just pickier about where it can be used
00:15:46FromDiscord<exelotl> but rika beat me to it x)
00:19:02FromDiscord<Rebel> Elegant can you explain that code? does not work but curious what it does
00:19:12FromDiscord<Rebel> you are just casting the file?? where do you actually open it
00:19:31FromDiscord<Elegant Beef> Well since it's just a playground the pretend file is `readAll(file`
00:19:33FromDiscord<Elegant Beef> (edit) '`readAll(file`' => '`readAll(file)`'
00:19:38FromDiscord<Rebel> yeah I changed the path lol
00:19:39FromDiscord<Elegant Beef> Just test data to show it working
00:19:40FromDiscord<Rebel> ohh
00:19:43FromDiscord<Rebel> I need to do file = open(path)
00:20:07FromDiscord<Elegant Beef> you can also do `readAll(path)` which should open read then close
00:20:23FromDiscord<Elegant Beef> Or maybe im wrong
00:20:32FromDiscord<Elegant Beef> Ah `readFile`
00:22:21FromDiscord<Rebel> ok
00:26:26FromDiscord<Rebel> yeah none of the above worked and neither did my solution so will need to play around some more
00:27:01FromDiscord<Elegant Beef> What do you mean
00:27:07FromDiscord<Elegant Beef> What i linked works
00:27:37FromDiscord<Rebel> yes it works but not for my use case
00:29:29*krux02_ quit (Read error: Connection reset by peer)
01:02:06*info joined #nim
01:02:59*info quit (Client Quit)
01:03:44FromDiscord<iWonderAboutTuatara> Does Nim have truthy/falsy?
01:04:10FromDiscord<iWonderAboutTuatara> Ie does checking if an str or int is true work, and is it recommended
01:05:03FromDiscord<Elegant Beef> No
01:05:43FromDiscord<Elegant Beef> You can implement it if you so wish using converters, but many people would hate you :d
01:11:29*Zectbumo joined #nim
01:17:34*antranigv quit (Ping timeout: 256 seconds)
01:18:32*antranigv joined #nim
01:20:35disruptekto be fair, many people might hate you even if you don't implement it.
01:22:06FromDiscord<Elegant Beef> Yea
01:27:05FromDiscord<flywind> I use `pkg install nim` in freebsd with virtual machine and `nim -v` works, but seems to miss `nimble`.
01:27:49FromDiscord<Elegant Beef> Cant you use choosenim on BSD?
01:28:07FromDiscord<flywind> bsd doesn't support choosenim
01:28:07FromDiscord<iWonderAboutTuatara> Choosenim?
01:28:26disruptekit's like gitnim but for less discerning folks.
01:28:30FromDiscord<flywind> choosenim doesn't support bsd.
01:30:25*apahl quit (Ping timeout: 240 seconds)
01:30:27FromDiscord<iWonderAboutTuatara> What's gitnim?
01:30:32FromDiscord<iWonderAboutTuatara> What is choosenim?
01:30:34disruptek~gitnim
01:30:35disbotgitnim: 11https://gitnim.com/ -- choosenim for choosey nimions -- disruptek
01:30:39disruptek!repo choosenim
01:30:40disbothttps://github.com/dom96/choosenim -- 9choosenim: 11 15 284⭐ 33🍴 & 2 more...
01:30:50FromDiscord<iWonderAboutTuatara> Oh dom96
01:30:53FromDiscord<iWonderAboutTuatara> He wrote the book
01:31:07disruptekyeah, he's famous.
01:31:14FromDiscord<iWonderAboutTuatara> That seems useful, don't have to do a whole lot manually
01:31:18FromDiscord<iWonderAboutTuatara> What a legend
01:31:21FromDiscord<iWonderAboutTuatara> I'll get that
01:32:22*apahl joined #nim
01:44:00*abm quit (Quit: Leaving)
01:46:21*vicfred joined #nim
02:14:42*muffindrake quit (Ping timeout: 260 seconds)
02:16:27*muffindrake joined #nim
02:26:24*Tlangir joined #nim
02:29:18*Tlanger quit (Ping timeout: 260 seconds)
02:29:26*screens_ quit (Quit: screens_)
02:30:08*screens_ joined #nim
02:34:00*Tlangir quit (Remote host closed the connection)
02:34:24*Tlangir joined #nim
02:34:33*screens_ quit (Client Quit)
02:35:42*snowolf quit (Remote host closed the connection)
02:35:50*screens_ joined #nim
02:41:50*snowolf joined #nim
03:06:24*screens_ quit (Quit: screens_)
03:06:58*screens_ joined #nim
03:07:14*thomasross quit (Ping timeout: 260 seconds)
03:24:25*arecacea1 quit (Remote host closed the connection)
03:25:02*arecacea1 joined #nim
04:01:39*arecacea1 quit (Remote host closed the connection)
04:02:03*arecacea1 joined #nim
04:05:07FromDiscord<Kaynato> https://play.nim-lang.org/#ix=2way Really not sure *where* the wrong access is coming from here - changing line 18 to `data[][0] = ...` doesn't change anything either. Really not sure why viewing the same data as `m128` instead of `array[4, float32]` produces a SIGSEGV. The sizes are the same (16 bytes), and I'm able to use regular arrays - just not pointers with these
04:06:01*supakeen quit (Quit: WeeChat 2.9)
04:06:33*supakeen joined #nim
04:44:40FromDiscord<Kaynato> Would it be that _m128 can't exist on the heap...?
04:57:52FromDiscord<Elegant Beef> Idk if that's true since this works↵https://play.nim-lang.org/#ix=2waC
04:59:35FromDiscord<Kaynato> I mean as the c-defined type, which is, at least for the gcc compiler I'm using, https://github.com/gcc-mirror/gcc/blob/bec05c98b94f22e70187b2d0e0c9ea6d51865aef/gcc/config/i386/xmmintrin.h#L69
05:00:46FromDiscord<Elegant Beef> Yea im speaking out my ass, so no clue
05:16:12*waleee-cl quit (Quit: Connection closed for inactivity)
05:20:35*Avatarfighter quit (Ping timeout: 240 seconds)
05:25:48*solitudesf- joined #nim
05:27:41FromDiscord<Avatarfighter> @Elegant Beef that is a mood
05:27:54FromDiscord<Elegant Beef> Uhh
05:28:18FromDiscord<Avatarfighter> hm i definitely didn't think that was from 27 minutes ago
05:28:38FromDiscord<Elegant Beef> Eh doesnt matter, im just more concerned with what exactly you said means 😛
05:29:00FromDiscord<Avatarfighter> I meant speaking out of my ass is what I do sometimes lmao
05:29:42FromDiscord<Elegant Beef> Back in my day mood was how you felt and met emotion, shit im only 21
05:29:48FromDiscord<Elegant Beef> (edit) 'met' => 'ment'
05:29:53FromDiscord<Avatarfighter> LMAO
05:30:03FromDiscord<Avatarfighter> I'm only 18 😭
05:34:39*narimiran joined #nim
05:36:22*NimBot joined #nim
05:37:24FromDiscord<Kaynato> Ok, so it looks like I can produce usable ptr mm128 fine from arrays and single mm128, but unchecked memory cannot be viewed as mm128, though any builtin or builtin-composited types such as array[4, float32] are fine. I'm not sure if it's that __m128 only can stay on the register - in that case, what does it mean for a struct to have m128 members?
05:42:58FromDiscord<Kaynato> God, I don't get it. Wrapping it in a proxy type does no good. I am barred from having dynamic arrays of mm128s. Do I replace it with array[4, float] entirely and only move to SSE registers in functions that process them? Must I resort to using emit pragma?
06:01:03*gmaggior joined #nim
06:18:36FromDiscord<Elegant Beef> Well kaynato give it time and someone with a brain will certainly help 😄
06:34:16*pietroppeter joined #nim
06:43:37*freddy77 joined #nim
06:46:29gmaggiorHi. Just out of curiosity, is it possible in Nim to have a list where each element (node) points to a different data type so simulating L = [1, "abc", 5.0, ref_object] ?
06:47:21narimirangmaggior: use `json` for that
06:47:47FromDiscord<flywind> or object variant
06:48:14FromDiscord<flywind> https://nim-lang.org/docs/tut2.html#object-oriented-programming-object-variants
06:48:17*freddy77 quit (Client Quit)
06:48:58gmaggiorah thanks!
06:49:46gmaggiorvery nice!
06:54:29*newUser joined #nim
06:55:18*newUser left #nim (#nim)
06:55:22*bouzu_ joined #nim
06:55:44*newUser joined #nim
06:56:34newUsergmaggior: you can use a tuple: https://narimiran.github.io/nim-basics/#_tuples
06:57:55FromDiscord<unquietwiki> Hey everyone. So I'm unquietwiki from r/altprog on Reddit; folks there introduced me to Nim. I just got my copy of Nim in Action. I also started working for ZeroTier lately; I think I might be able to use it for some library stuff via metaprogramming. If I wanted to write Nim code to output wrappers for a C-library in multiple languages, would that be feasible?
06:58:29*Zectbumo quit (Remote host closed the connection)
06:58:36*narimiran quit (Ping timeout: 258 seconds)
06:59:36FromDiscord<unquietwiki> I figure once I understand how the C-library works, I can write a Nim skeleton around it to spit out stuff for Python, Node, Go, whatever
06:59:57gmaggiornewUser, yes and probably is best (but the idea of the list is to be able to add/remove elements at runtime)
07:10:35newUsergmaggior: true, (https://forum.nim-lang.org/t/4969, the same solutions)
07:11:05FromDiscord<haxscramper> @unquietwiki You want to write C wrapper in nim (on top of existing one) & generate wrappers for different languages for it or automatically generate bindings for existing library? First one should be possible to do with some macros, see https://github.com/yglukhov/nimpy , but you will have to write wrappers first, which can be done in semi-automatic way
07:11:45FromDiscord<unquietwiki> Hey @haxscramper . I want to have it generate wrappers
07:12:01FromDiscord<unquietwiki> The existing code is in C
07:12:14gmaggiornewUser, nice link
07:12:18*newUser quit (Remote host closed the connection)
07:13:06*newUser joined #nim
07:13:27FromDiscord<haxscramper> For this one you might try using libclang wrapper - I'm currently working on https://github.com/haxscramper/hcparse - if library API is not macro-based (i.e. don't have lots of defines etc) it should be usable
07:14:04newUsergmaggior: link without comma... sorry
07:14:37FromDiscord<unquietwiki> @haxscramper That looks neat, and timely! BTW, it has no license on it ATM; https://github.com/zerotier/libzt this is what I want to work with.
07:15:13FromDiscord<unquietwiki> I already suggested rewriting it with another altprog, but they want to keep the existing library.
07:16:45*newUser left #nim (#nim)
07:16:53FromDiscord<unquietwiki> If I can't use yours, I at least know I'm not crazy for thinking this. 😆
07:18:26FromDiscord<haxscramper> Header file contains a lot of defines for constants - they won't be wrapped in nim since libclang just runs preprocessor. Otherwise it should be possible to wrap everything
07:19:16FromDiscord<haxscramper> For porting preprocessor you might want to look into `c2nim` - it handles it quite well. Libclang is good when you want to wrap all of these function prototypes in nim
07:20:02FromDiscord<unquietwiki> https://github.com/nim-lang/c2nim ?
07:20:09FromDiscord<haxscramper> yes
07:20:38FromDiscord<unquietwiki> Ah. So you're saying I'd use that + something like your thing to at least partially convert the existing library, and then that can do what I want?
07:22:40FromDiscord<haxscramper> Right now hcparse is usable when you want to have full control over logic of how things are ported. Renaming enums, adding function parameters/ renaming them, adding documentation for wrappers.
07:23:14FromDiscord<haxscramper> I.e. this is not a tool but a library to simplify writing custom wrapper generators as much as possible
07:23:58FromDiscord<haxscramper> *especially* if you want to generate wrappers in other languages
07:25:39FromDiscord<unquietwiki> (nods) Well, I can take a look. I might even be able to contribute some code back if I can do this. I already annoyed the team trying to help with Android stuff. (sigh) But the lead dev on this lib wants more folks using it, and thinks it'd be good for me to work on.
07:26:51FromDiscord<haxscramper> This library not finished and I would appreciate any kind of feedback on usage - not only contribution. I haven't actually used it for anything except for bootstrapping clang wrappers, so maybe there are some underdocumented things, missing API parts etc.
07:27:49FromDiscord<haxscramper> There are no examples as of now but you might take a look at unit tests
07:27:51FromDiscord<unquietwiki> Learning experience for both of us! 😆
07:28:25FromDiscord<haxscramper> :)
07:29:12FromDiscord<haxscramper> * tries to remember whether this thing can even be installed without errors *
08:21:14*muffindrake quit (Ping timeout: 246 seconds)
08:36:38FromDiscord<whisperdev> Hi all what is the most usable ssh lib out there?
08:37:05*hnOsmium0001 quit (Quit: Connection closed for inactivity)
08:44:01*pietroppeter quit (Quit: Connection closed for inactivity)
08:45:32*bouzu__ joined #nim
08:45:48FromDiscord<haxscramper> There are wrappers for both libssh and libssh2, but AFAIK they only provide access to low-level C interface, no additional sugar on top, so they are pretty much identical in terms of usability.
08:46:49FromDiscord<whisperdev> Oh no 😦
08:47:02FromDiscord<whisperdev> I have a hard time to use winapi I am not sure I can handle low-level C interface
08:47:03FromDiscord<whisperdev> XD
08:47:49*bouzu_ quit (Ping timeout: 244 seconds)
08:48:11FromDiscord<whisperdev> But I guess at least for shashlick's wrapper I can get some support
08:55:39FromDiscord<whisperdev> I hate this import
08:55:54FromDiscord<whisperdev> It never seems to work out of the box for me when I need to import a git cloned project (#*%(#!*%(#!
09:05:18FromDiscord<j$> is there a way to around recursive dependencies, other than restructuring my code?
09:11:10Zevvnot really.
09:11:33FromDiscord<j$> I didn't think so
09:11:40FromDiscord<j$> I need a melting pot
09:11:51Zevvit's a bit of a pain. usually the dependencies only exists because of recursive types, so putting your types into one type block is usually enough
09:12:06Zevvthe limitiation is caused by nim doing only one compilation pass, for performance reasons
09:12:23ZevvI think is the single final annoyance I still have with Nim
09:13:31FromDiscord<j$> yeah it's been bothering me, I don't like having to structure my project bc of language limitations
09:13:32ZevvI bet some would argue having recursive types is a smell of bad design, but it just happens sometimes
09:13:36Zevvsame
09:13:54FromDiscord<j$> yeah I agree but like Im just trying to get some code down
09:14:31ZevvI'm not sure what the official opinion of the Creators is on this, actually
09:15:09FromDiscord<j$> im interested in that myself
09:17:18FromDiscord<Clyybber> recursive types are not a bad smell
09:17:32Zevvyes but you are not some
09:17:38*Vladar joined #nim
09:17:39FromDiscord<Clyybber> recursive imports you could argue that they are
09:17:54Zevvok, fair enough - wrong wording
09:17:54FromDiscord<whisperdev> I really like error like this when you have no fucking clue whatsoever why it does not load the dll I placed in the same directory
09:17:57FromDiscord<whisperdev> "could not load: libssh2.dll"
09:18:03FromDiscord<whisperdev> THANK YOU THAT IS SO HELPFUL
09:18:12Zevvwell, it could also not tell you, right
09:19:23Zevvclyybber: do you know if the recursive problem is or ever has been on a roadmap?
09:19:29Zevvit's far from trivial I bet
09:19:44Zevvbut it's one of the things everyone hits every now and then
09:20:06Zevvit's worse then nimble import version dependencies :)
09:21:59FromDiscord<Clyybber> Araq said hes ok with making them work
09:22:16FromDiscord<whisperdev> It could tell me if it's because it does not see it or....
09:23:13solitudesf-its 32bit dll and you have 64bit application?
09:23:18*solitudesf- is now known as solitudesf
09:24:04FromDiscord<whisperdev> I dont know...you know why? Because it's difficult to find a correct dll that you need because you just dont want to download random dlls from the internet
09:24:43solitudesfthats unfortunate
09:25:45FromDiscord<whisperdev> We need more pure nim libraries. This is so much pain
09:30:40FromDiscord<Elegant Beef> Blame windows for not have a package manager
09:30:52FromDiscord<Elegant Beef> *Ok blame them for not having one until 2020*
09:31:38solitudesfthere is scoop and chocolatey
09:32:22FromDiscord<Elegant Beef> Yea not official though, but winget is here now
09:56:29*rokups joined #nim
10:11:36shashlick@whisperdev might be dll dependencies
10:11:58shashlickTry dependency walker
10:12:45shashlickI'd use http://binarybuilder.org
10:17:31shashlick@unquietwiki try nimterop on libzt - if you need help, ping
10:18:41FromDiscord<unquietwiki> Thanks shash
10:21:47FromDiscord<whisperdev> thanks shash
10:23:52shashlickNeed to convert nimssh2 to nimterop at some point
10:34:19*krux02 joined #nim
10:36:53*Sembei joined #nim
10:39:33*gmaggior quit (Quit: Leaving)
10:54:46FromDiscord<19> i dont know if this helps but u can build the dll from source: https://github.com/libssh2/libssh2/blob/master/docs/INSTALL_CMAKE.md
10:56:32FromDiscord<19> there is also vcpkg. we should totally link nim with vcpkg
10:56:56FromDiscord<19> has anyone tried it before?
10:58:26shashlickJust use https://github.com/JuliaBinaryWrappers/LibSSH2_jll.jl
10:58:43shashlickNimterop already supports jbb and Conan
10:59:02shashlickI looked at vcpkg but don't know if it's worth the effort
11:00:19FromDiscord<19> what is jbb?
11:00:50shashlickhttps://binarybuilder.org/
11:00:57shashlickRun by the Julia folks
11:01:16shashlickPrebuilt binaries of many popular libs
11:02:24FromDiscord<19> nice! how does the nim compiler automatically find stuff installed by jbb/conan?
11:02:53FromDiscord<19> vcpkg is supported by microsoft so maybe its worth it?
11:12:34shashlickCheck out nimgit2 and nimarchive for how they use jbb and Conan
11:13:08shashlickI didn't go too far with vcpkg since they don't post precompiled binaries
11:13:12shashlickIt's cool tho
11:16:10FromDiscord<19> yeah i like it with vs or vscode. ill try conan + nim
11:17:11shashlickNimterop directly pulls from their repos
11:17:24shashlickSo you don't need to have any tools installed
11:17:34shashlickThere's also conda
11:17:35FromDiscord<19> perfection
11:17:46FromDiscord<19> conda the python thingy?
11:18:05shashlickhttps://anaconda.org/anaconda/libssh2/files
11:18:16shashlickThey also build many binaries
11:18:37FromDiscord<19> oh nice
11:19:04FromDiscord<19> nimterop supports it too?
11:19:35shashlickNot yet
11:20:11shashlickSome of these don't include static binaries since those make no sense for dynamic languages like python or Julia
11:20:42FromDiscord<19> there was someone who was trying to fix this build issues things in an elegant way with https://github.com/dascandy/evoke but looks like it’s abandoned
11:24:35shashlickSeems more like a cmake competitor
11:25:02shashlickBy the way nimterop also sorts cmake and autoconf
11:25:30FromDiscord<19> in his talk he was saying that cmake/ninja and such suck for beginners and it was too complicated. so he wanted to make it beginner friendly.
11:26:15shashlickNone of this is fun
11:26:22FromDiscord<19> i totally need to give nimterop a spin. i will do that right now. im gonna try it with glad + glfw + assimp + stb_image
11:26:48shashlickNote only c support as of today
11:27:06FromDiscord<19> yeah its definitely not fun but there is a strange satisfaction from getting the dlls xD
11:27:13FromDiscord<19> yeah all of these have C apis
11:28:08FromDiscord<19> sadistic satisfaction i must add :p
11:28:13shashlickCool, feel free to ping if you need any help
11:28:34FromDiscord<19> awesome! much appreciated
11:28:47shashlickAnd if for fun, okay, but some of those have wrappers so
11:30:37FromDiscord<19> good for testing, but i will definitely end up using the wrappers. coz there is a lib i want to bind to nim later when i fetch it’s dlls.
11:36:08shashlickWhich one
11:37:29*pietroppeter joined #nim
11:39:32*natrys joined #nim
11:45:17FromDiscord<19> Kinc
11:45:48FromDiscord<19> https://github.com/Kode/Kinc
11:53:56FromDiscord<19> would be nice to try nimterop with
11:55:30*waleee-cl joined #nim
11:55:56FromDiscord<19> it has a nodejs build system
12:00:38*rockcavera quit (Remote host closed the connection)
12:06:01*supakeen quit (Quit: WeeChat 2.9)
12:06:33*supakeen joined #nim
12:21:35*arecacea1 quit (Remote host closed the connection)
12:22:18*arecacea1 joined #nim
12:26:44FromDiscord<Recruit_main707> it has a c api?
12:27:28FromDiscord<Clyybber> it is written in C/C++
12:28:55FromDiscord<19> yes Kore is C++ and Kinc is Kore in C
12:46:14*rokups quit (Quit: Connection closed for inactivity)
13:01:35FromDiscord<Clyybber> Araq: ping
13:25:27*FromDiscord quit (Remote host closed the connection)
13:25:45*FromDiscord joined #nim
13:29:14*lritter joined #nim
13:44:13*natrys quit (Ping timeout: 260 seconds)
14:31:33*thomasross joined #nim
14:37:17*pietroppeter quit (Quit: Connection closed for inactivity)
14:42:17*noonien joined #nim
14:42:24*rockcavera joined #nim
14:45:03disruptekwhy is everyone interested in jason?
14:45:36disrupteklike 12 people starred it in the last day though it's just a tiny demo from months ago.
14:45:44disruptek!requires jason
14:45:45disbotjason: 11beef331[oodwm,3nico-helper,3unity-auto-builder,3nim_pty,3constructor,3nim_rofi], 11jasonk000[3nimbpf,3nimpmda,3nim-libbpf], 11jasonrbriggs[3baker,3topfew,3proton-nim], 11runvnc[3noscriptweb,3bcryptnim], 11bio-nim/3nim-DALIGNER, 11jasonprogrammer/3gerbil, 11jerdmann/3thesoulforge, 11elbow-jason/3nim-how-i-start, 11TokenChingy/3chimpsky 719 total
14:45:54disruptekwut
14:46:03disruptek!repo goodwm
14:46:04disbothttps://github.com/beef331/goodwm -- 9goodwm: 11 15 2⭐ 0🍴
14:46:17disruptekoh, Jason.
14:46:23disruptekjeesh
14:46:49disruptek!requires disruptek/jason
14:46:50disbotdisruptek/jason: no results 😢
14:46:56disruptek!requires disruptek/cutelog
14:46:57disbotdisruptek/cutelog: 11disruptek[s,3pulseauto,3gully,3datamuse,3nimph,3bump,3testes] 77 total
14:47:04disruptekhmm. wtf people.
14:47:30disruptekomg jason has cutlery.
14:47:33disruptek!repo jason
14:47:33disbothttps://github.com/disruptek/jason -- 9jason: 11JSON done right 15 12⭐ 1🍴
14:48:08disruptekyou are really making me rethink life choices.
14:48:10FromDiscord<Rika> who cutleried jason?
14:48:40disruptek@doytsujin
14:48:51disrupteka forth coder, apparently.
14:49:58disruptekjason has more stars than frosty, which was the original impetus.
14:50:09disruptekit doesn't even decode json.
14:50:10FromDiscord<Rika> `anything that isn't fatal gets a cute emoji` nice
14:50:23disruptekwhat is that?
14:50:32FromDiscord<Rika> from your cutelog docs
14:50:36disruptekoh.
14:51:43*natrys joined #nim
14:52:14disruptekso dumb.
14:52:31disrupteki guess i will support it, though.
14:52:32FromDiscord<whisperdev> How the heck do you import a package in the same directory???
14:52:35FromDiscord<whisperdev> And why is it so hard to do???
14:52:40disruptek`import somefile`
14:53:03FromDiscord<Rebel> Does nim support inline masm assembly?
14:53:11disruptekwhisperdev: blame dom96; that's usually my first approach.
14:53:27disruptekrebel: if you can do it in c, you can do it in nim.
14:54:33FromDiscord<whisperdev> https://pastebin.ubuntu.com/p/SK38bTKCpH/
14:54:38FromDiscord<whisperdev> Does this make sense? Do I want so much?
14:55:00disruptekimport module_A
14:55:10FromDiscord<whisperdev> it does not work
14:55:18disruptekshow me.
14:55:46FromDiscord<whisperdev> That's what I have.
14:56:17FromDiscord<Rika> what is the error
14:56:23disruptekshow us the output.
14:56:23disruptekfrom the compiler, preferably.
14:56:25FromDiscord<Rika> is it about the package import or something totally unrelated
14:56:42FromDiscord<whisperdev> https://pastebin.ubuntu.com/p/X3Nnjgndxh/
14:57:43FromDiscord<Rika> asyncssh is not a nim file
14:58:30FromDiscord<whisperdev> so it has to be a path to a nim file?
14:58:32FromDiscord<Rebel> don't you need to install it since it's a package?
14:58:32FromDiscord<whisperdev> jesus christ
14:58:42FromDiscord<whisperdev> treeform did not publish it
14:59:01FromDiscord<whisperdev> this kinda worked ... import "./asyncssh/src/asyncssh"
14:59:04disruptekif you have a strong opinion about this, please weigh in.
14:59:19disruptekwe love talking about package structure here.
14:59:40disruptekLOVE IT
14:59:55FromDiscord<whisperdev> an unpublished nimble package should be treated as nimble package if it looks like one
15:00:29FromDiscord<whisperdev> ok now i need a shared library of libssh2
15:01:23FromDiscord<Rika> you can copy everything in `./asyncssh/src/` and put it in `./` and itll work as a normal import
15:01:35FromDiscord<Rika> aka `import asyncssh` will work then
15:01:55disruptekor just add a --path statement to your nim.cfg.
15:02:10disrupteklike a normal person.
15:05:14FromDiscord<Clyybber> default params were really broken
15:05:22disruptekno kidding.
15:06:00FromDiscord<Clyybber> to be fair, only those who reference other params
15:06:16disruptekguess what i'm careful never to do.
15:06:18disruptekjust guess.
15:06:38FromDiscord<Clyybber> heh
15:06:48FromDiscord<Clyybber> also they were unprocessable by typed macros
15:07:01FromDiscord<Clyybber> since there sym was in there, but the declaration was only introduced in transf
15:07:14FromDiscord<Clyybber> .s/there/their
15:07:29FromDiscord<Clyybber> I did it. I wrote like a monke
15:07:48disruptekeh.. esl, you are forgiven, my child.
15:08:31FromDiscord<Clyybber> thank disruptek
15:09:00FromDiscord<Clyybber> I feel like this CI batching doesn't really help anymore
15:10:03disruptekbatching?
15:10:06FromDiscord<Clyybber> (on sr.ht OpenBSD I mean
15:10:28FromDiscord<Clyybber> disruptek: Look at the Nim CI, we have openbsd and windows(pkg) split up into 3 batches
15:10:39FromDiscord<Clyybber> so that they can potentially run parallel
15:10:46FromDiscord<Clyybber> which is pretty cool
15:10:48disruptekwe should just have tiers.
15:15:17*vqrs quit (Ping timeout: 272 seconds)
15:16:43*vqrs joined #nim
15:16:53FromDiscord<Clyybber> hey its green
15:17:03disruptekship it.
15:17:17disruptekdude, what's up with the fix we need in cps?
15:17:19FromDiscord<Clyybber> its right there https://github.com/nim-lang/Nim/pull/15270
15:17:19disbotExpand hoisted default params in sem
15:17:36FromDiscord<Clyybber> disruptek: What fix? I can't rember
15:17:41FromDiscord<Clyybber> emem
15:17:43FromDiscord<Clyybber> inem
15:17:48disrupteksemytiped
15:18:01FromDiscord<Clyybber> ah, that should go hand in hand with that one
15:18:09FromDiscord<Clyybber> I want to get this one merged first though
15:18:22FromDiscord<Clyybber> and I gotta figure out why I'm getting aliased nodes
15:18:26FromDiscord<Clyybber> because those suck
15:19:34disrupteki want a commit to dump filenames from a repo, ignoring submodules.
15:19:39disrupteks/commit/command/
15:20:02disrupteki can do the ignore in git but hmm.
15:20:10FromDiscord<Clyybber> yeah
15:20:18disruptekmaybe what i really want is the diffs themselves.
15:20:20FromDiscord<Clyybber> I wanted ripgrep to ignore submodules
15:20:36FromDiscord<Clyybber> and theres an issue about it, but its closed without being fixed /shrug
15:20:43disrupteki would put this feature into nimph if i could figure out what it means in a general sense.
15:20:45FromDiscord<Clyybber> so I have to git grep
15:21:25FromDiscord<Clyybber> did you know submodules can follow a branch?
15:21:30disruptekof course.
15:21:32FromDiscord<Clyybber> instead of constantly being pinned and detached
15:21:58disruptekwell, they are pinned to the ref afaik.
15:22:27disrupteki don't do this but i expect nimph to do it for me.
15:22:30FromDiscord<Clyybber> not sure if they are pinned when they follow a branch
15:22:35FromDiscord<Clyybber> I wanted to test that
15:22:53FromDiscord<Clyybber> because its kinda annoying going into a submodule, changing something and then being detached
15:23:08disruptekhuh?
15:23:23disruptekif you set your origin it works as expected, doesn't it?
15:23:45disruptekthis is why nimph needs a tui.
15:23:51FromDiscord<Clyybber> well, its "expected"
15:23:52FromDiscord<Clyybber> but annoying
15:23:59disruptekwhich part?
15:24:05disrupteki'm not sure we have the same workflow.
15:24:07FromDiscord<Clyybber> so submodule add -b master is less annoying
15:24:29FromDiscord<Clyybber> disruptek: The part where you go into the submodule try some things, but then can't commit them because you are detached
15:24:34FromDiscord<Clyybber> so you gotta switch back to master
15:24:47FromDiscord<Clyybber> I mean it makes sense, but if you are the owner of your submodule itself
15:25:01FromDiscord<Clyybber> you can just follow the master branch
15:25:11disruptekwell, that's why i'm saying if you set the remote it works as expected.
15:25:22disruptekbut i don't necessarily want to follow master.
15:25:26FromDiscord<Clyybber> yeah
15:25:49disrupteki mean, ideally, i never do. a patch against an earlier version should follow the same development process.
15:25:55disruptekwe're just lazy.
15:26:31disruptekbut you're right; i should pin more of my submodules to refs manually until i finish nimph-2.
15:27:02FromDiscord<Clyybber> oh, that wasn't my suggestion
15:27:07FromDiscord<Clyybber> I mean, do as you like
15:27:14disrupteki know, but you raise a good point.
15:28:04FromDiscord<Clyybber> but for example for two repos that are developed hand in hand, you don't care about pinning, you only seperated them for order or something
15:28:11FromDiscord<Clyybber> then its better to follow a branch
15:28:13FromDiscord<Clyybber> IMO
15:30:28disruptekhmm, you can't just use any ref from the cli tool.
15:30:37disruptekcurious.
15:31:30disrupteki wonder if we should use branches instead of semver.
15:31:55disruptekit's basically what we want.
15:34:56disruptekfrom the command-line, the syntax is -b tag/sometag
15:37:42FromDiscord<whisperdev> @treeform I am trying to run your example but it does not seem to work :X
15:37:54FromDiscord<whisperdev> @treeform For your asyncssh
15:48:10*Trustable joined #nim
16:07:42*gmaggior joined #nim
16:10:28FromDiscord<treeform> are you on Linux or Windows?
16:10:58FromDiscord<treeform> what error do you get?
16:11:02FromDiscord<treeform> get you ssh nomrally?
16:11:21FromDiscord<treeform> can*
16:15:28disruptekshashlick: Error: Cannot develop packages that are binaries only.
16:15:40disruptekwhat do i do to work around this for CI purposes?
16:16:01disruptekhttps://github.com/disruptek/bump/runs/1075820694
16:25:36*pietroppeter joined #nim
16:25:52alehander92okk
16:26:07alehander92trying cool cli tools today
16:26:35shashlickdisruptek just nimble install -d
16:27:15shashlick-y -d will install dependencies only
16:27:24shashlickThat's what I usually do
16:28:31disrupteki guess build works. but now i really gotta figure out how to test git repos.
16:28:50shashlickYa you don't have any deps
16:29:00disruptekwhat?
16:31:05*arecacea1 quit (Remote host closed the connection)
16:31:23*arecacea1 joined #nim
16:33:49shashlickBump doesn't depend on anything right
16:33:58shashlickSo there's no need to install deps
16:34:06disruptekit uses cligen and cutelog at least.
16:34:17shashlickI see
16:34:31disrupteki think it's find just with `build`. i didn't know if i was doing it wrong.
16:34:46shashlickI don't know why nimble develop isn't allowed for binary packages
16:35:04shashlickWill have to resolve that as well
16:35:17disrupteki think bump is weird because it's hybrid, or something.
16:35:27shashlickPackage structure stuff should improve that as well
16:35:30disrupteki forget what the problem is, but i do use it as a library.
16:35:35shashlickYa same with nimterop
16:35:40disruptekright.
16:36:00disruptekwell, with a new package library i won't use bump.
16:36:31shashlickYou could move some of the bump functionality also to the new lib
16:37:35disruptekyeah, i'm debating whether i want to maintain bump or just let it get replaced by something else.
16:38:00disruptekprobably will just leave it alone.
16:38:56shashlickI'll pull it into nimble at some point
16:39:12disruptekdoes `build` install binaries?
16:39:17disruptekthat's a stupid question.
16:39:19shashlickI use it all the time
16:39:24disruptekwhat i mean is, binaries of dependencies.
16:39:26shashlickNo just builds
16:39:45disruptekdoes nimterop work if i `build` a lib that depends on it?
16:39:54shashlickYes, that should happen in process deps
16:40:00disruptekokay, that's good.
16:40:31disruptekso what is `develop` for? just setting the .nimble-link and that's it?
16:40:38shashlickYep
16:40:41disruptekgah.
16:41:36disruptekwhat does nimble do if package B produces a binary with the same name as previously-installed package A?
16:43:31disruptekthis is from github actions ci on windows: could not load: pcre64.dll
16:43:48disruptekhappens with all versions of nim.
16:45:25disruptekleorize[m]: ^ you know anything about this? expected?
16:45:27shashlickNimble will prompt you and overwrite
16:45:44disruptekso --yes should allow it, right?
16:45:45shashlickYou don't get the dlls.zip?
16:45:49shashlickYep
16:45:52disruptekcool.
16:46:03shashlickThe Travis script covers it
16:46:21shashlickMight want to check out elijahr work on it
16:46:26disruptekoh, i have to download them separately?
16:46:57disruptekhow do we successfully test nre, i wonder.
16:47:12shashlickhttps://github.com/elijahr/nim-ci/tree/github-workflows
16:47:22FromDiscord<Clyybber> disruptek: Oh, heh about semytiped
16:47:24shashlickThe CI should be doing that mostly
16:47:26FromDiscord<Clyybber> guess what pkg fails
16:47:34FromDiscord<Clyybber> bumpity bump bump
16:48:01FromDiscord<Clyybber> but its not your fault. Cligen matches idents and the PR changes them to syms so its confused
16:48:13leorize[m]"disruptek" (https://matrix.to/#/@freenode_disruptek:matrix.org): yea I didn't install the dll pack
16:49:17disruptekshashlick: yeah, elijahr looks further along here.
16:49:43FromDiscord<Clyybber> the only weird thing is that I can't repro it
16:49:49FromDiscord<Clyybber> disruptek: Can you try?
16:49:52disruptekyeah.
16:49:56FromDiscord<Clyybber> thanks <3
16:51:54*tane joined #nim
16:53:39disruptekclyybber: can't seem to repro.
16:53:48disruptekwhat are the args that cause it in ci?
16:54:16disruptekNim Compiler Version 1.3.5 [Linux: amd64]
16:54:16disruptekCompiled at 2020-09-05
16:54:16disruptekCopyright (c) 2006-2020 by Andreas Rumpf
16:54:17disruptek
16:54:18disruptekgit hash: e8319b6bea2fb31c412250195d3ee123e27e7ec0
16:54:19disruptekactive boot switches: -d:release
16:54:33FromDiscord<Clyybber> nim c --gc:arc -r tests/tbump
16:54:47disruptekworks for me.
16:54:52FromDiscord<Clyybber> same
16:55:09disruptekgot a link to the ci output?
16:55:15disruptekit's probably git-related.
16:56:12FromDiscord<Clyybber> https://dev.azure.com/nim-lang/Nim/_build/results?buildId=7573&view=logs&jobId=c6054849-8341-5e23-b888-79fd7ec95d3a
16:58:55disrupteki have no idea how to find the failure output.
16:59:29*superbia1 joined #nim
17:01:06disrupteki only see jsffi output.
17:02:01FromDiscord<Clyybber> oh eh
17:02:04FromDiscord<Clyybber> huh
17:02:11FromDiscord<Clyybber> thats.. I can't find it either
17:02:17FromDiscord<Clyybber> seems like its gone /shrug
17:02:33*superbia quit (Ping timeout: 260 seconds)
17:02:52disruptekif it tests against bump head then, well, i was breaking it earlier.
17:02:58disruptekalso, that's dumb.
17:05:30*Zectbumo joined #nim
17:09:51FromDiscord<whisperdev> @treeform i get no output https://pastebin.ubuntu.com/p/wsrFZSTqCJ/
17:09:54*the-oaks joined #nim
17:10:40*the-oaks left #nim (#nim)
17:13:59FromDiscord<Clyybber> @lqdev You had some problems with default args before right?
17:14:06FromDiscord<lqdev> yeah
17:14:19FromDiscord<lqdev> couldn't reference an arg from a default arg
17:14:22FromDiscord<Clyybber> If you want to you can try https://github.com/nim-lang/Nim/pull/15270
17:14:23disbotExpand hoisted default params in sem
17:14:28FromDiscord<Clyybber> It should fix those issues
17:14:46FromDiscord<lqdev> i'll try when i have some time
17:21:55Oddmongeris it possible to have a forward declaration in a module, for a procedure defined elsewhere ?
17:23:21Oddmongerit says implementation is expected (in the same module)
17:26:35*root joined #nim
17:26:57*root is now known as Guest70661
17:28:20Guest70661this
17:28:52*the-oaks joined #nim
17:29:11Guest70661that
17:31:31disruptekOddmonger: why would you need that?
17:32:32leorize[m]disruptek, @Clyybber: tip: just go to the "Tests" tab: https://dev.azure.com/nim-lang/Nim/_build/results?buildId=7573&view=ms.vss-test-web.build-test-results-tab&runId=123132&resultId=100424&paneView=debug
17:33:04FromDiscord<Clyybber> Oooh, nice thanks!
17:33:26*hnOsmium0001 joined #nim
17:33:27FromDiscord<Clyybber> @Yardanico Is the bridge open source?
17:33:47FromDiscord<Yardanico> It's not the first time you're asking that. :P
17:33:52FromDiscord<Yardanico> ~bridge
17:33:52disbotno footnotes for `bridge`. 🙁
17:33:56FromDiscord<Yardanico> ~ircord
17:33:56disbotircord: 11https://github.com/Yardanico/ircord/ -- Yardanico
17:34:06FromDiscord<Clyybber> oh, right heh :D
17:34:24disruptekYardanico: are you planning on supporting it?
17:35:12*zyklon quit (Remote host closed the connection)
17:35:30disruptekshashlick: i can't make elijahr's stuff work, though i'd like to. i'm not a fan of curling random shit outta his repo inside my ci, either.
17:35:33*zyklon joined #nim
17:35:40disrupteki hope it develops further.
17:36:30FromDiscord<Clyybber> ah, I was about to make a PR to ping discord people without @ but I see why its not that way
17:36:31*Guest70661 quit (Quit: leaving)
17:36:39disruptekwhy?
17:36:41FromDiscord<Clyybber> maybe allow it at the start of the message?
17:36:46FromDiscord<Yardanico> @disrupter of course, I just have to do some stuff first
17:36:48FromDiscord<Clyybber> disruptek: Because then parsing is tricky
17:36:56FromDiscord<Clyybber> disruptek: Because you can't simply scan for @
17:37:00FromDiscord<Yardanico> @Clyybber that would make sense, yes
17:38:44FromDiscord<Yardanico> @disruptek when you mention someone in discord, you actually mention them by the ID, not just text
17:38:55FromDiscord<Clyybber> findMentions returns the nick with the @ still attached right?
17:38:57FromDiscord<Yardanico> Official client automatically converts the name to the ID
17:39:26FromDiscord<Yardanico> @Clyybber no
17:39:29Oddmongerdisruptek: i have a function in a module which is execute(init, run, quit)
17:39:38FromDiscord<Yardanico> mention <- >("@" * nick)
17:39:39Oddmongerrun & quit are always the same, so no problem
17:39:48FromDiscord<Yardanico> @ is discarded
17:39:51Oddmongerbut init() always change
17:39:55FromDiscord<Yardanico> Ah wait
17:39:57FromDiscord<Clyybber> @Yardanico huh, why do you do 1..^1 there https://github.com/Yardanico/ircord/blob/master/src/ircord.nim#L209 then?
17:40:07Oddmongerso i wanted forward declaration of init()
17:40:32Oddmongerbut nevermind, i put my execute(…) function in the same mode module than init() and voilà
17:40:43FromDiscord<Yardanico> @Clyybber yeah you're right, maybe I have an error in mentParser though
17:40:56FromDiscord<Yardanico> It captures both in nick and mention
17:41:52*noonien quit (Quit: Connection closed for inactivity)
17:42:45*the-oaks is now known as oaks7
17:42:59*the-oaks joined #nim
17:45:20*the-oaks left #nim (#nim)
17:45:42*the-oaks joined #nim
17:48:34*the-oaks quit (Quit: WeeChat 2.3)
17:53:59*krux02 quit (Read error: Connection reset by peer)
17:54:29*krux02 joined #nim
17:58:19FromDiscord<Clyybber> Zevv: Whats the best way to match the start of a string?
17:58:26FromDiscord<Clyybber> with npeg
17:58:53FromDiscord<Clyybber> @Yardanico or maybe we should do it manually? its probably going to be faster than using npeg for it? WDYT
17:59:19FromDiscord<Yardanico> I don't think there would be any bad performance implications from using npeg
17:59:28FromDiscord<Yardanico> It's really simple to match the start of the string
17:59:35FromDiscord<Yardanico> It's what npeg does by default
17:59:42FromDiscord<Clyybber> ah, anchored I see
18:01:11FromDiscord<Yardanico> @ is to search in the whole string
18:01:24FromDiscord<Clyybber> yeah, just noticed that now
18:01:47FromDiscord<Clyybber> I guess we also want to support name1, name2: msg
18:01:52FromDiscord<Clyybber> or name1 name2: msg
18:03:03FromDiscord<Clyybber> not sure if we should support pings without the `:` or the `@`
18:09:59disruptekprobably not.
18:10:23*audiofile joined #nim
18:11:11*audiofile quit (Read error: Connection reset by peer)
18:14:37FromDiscord<Clyybber> @Yardanico I opened a PR https://github.com/Yardanico/ircord/pull/2, but not sure how to test it
18:14:38disbotAllow "leading mentions" without '@'
18:15:59*FromDiscord quit (Remote host closed the connection)
18:16:17*FromDiscord joined #nim
18:16:22*oaks7 quit (Remote host closed the connection)
18:20:55*Vladar quit (Quit: Leaving)
18:22:13Zevvclyybber: still need help or got it?
18:22:29Zevvpegs always matches at the start, it's not like a regexp
18:22:56Zevvoh you got that
18:22:57Zevvgood
18:31:47*narimiran joined #nim
18:31:56Zevvclyybber: in my irc graph I have pings with '@' or explict 'ping' in the line only
18:32:08Zevv':' is a high "talk" score between sender and receiver
18:32:32Zevvand succesive messages between two people are a low talk score, but these add up as the conversation grows longer
18:36:39FromDiscord<Clyybber> Interesting
18:37:09FromDiscord<Clyybber> I guess an explicit ping is also a good idea to support
18:39:17*kungtotte quit (Read error: Connection reset by peer)
18:41:18*kungtotte joined #nim
18:46:09*the-oaks1 joined #nim
18:46:14FromDiscord<Clyybber> @Yardanico I guess the reason you yielded the @ too was so that replacing it is easier?
18:46:38*the-oaks1 quit (Client Quit)
18:46:38FromDiscord<Yardanico> Not sure, maybe :P
18:46:46FromDiscord<Yardanico> I'll look into it in a few days
18:46:54*the-oaks1 joined #nim
18:47:09*the-oaks1 is now known as the-oaks
18:47:09FromDiscord<Clyybber> I made a PR, if you want to test it, we do have a test channel right?
18:47:18the-oaksexit
18:47:22*the-oaks quit (Client Quit)
18:47:26disruptekquit
18:47:42FromDiscord<Clyybber> launch
18:48:13disruptekman, my ic branch is pretty stale.
18:49:07FromDiscord<Yardanico> @Clyybber well I checked the PR - you added new rules, but you didn't enable them :P
18:49:24FromDiscord<Clyybber> oh?
18:49:25FromDiscord<Yardanico> The main rule is "mentions"
18:49:31FromDiscord<Clyybber> ah damn
18:49:51FromDiscord<Yardanico> So I guess you could first check your new rule to see if there are mentions at the start
18:49:57FromDiscord<Clyybber> yeah
18:50:04*the-oaks1 joined #nim
18:50:05FromDiscord<Yardanico> And otherwise search the whole string the old way for @
18:50:19*the-oaks1 quit (Client Quit)
18:50:39*the-oaks1 joined #nim
18:51:15FromDiscord<Clyybber> Zevv: WDYT about allowing the `>` operator on the LHS of a rule?
18:51:22*the-oaks1 left #nim (#nim)
18:51:49*the-oaks1 joined #nim
18:51:52shashlickdisruptek: you just need the yml file for the CI of interest
18:52:13shashlickjust like the original travis script which gave you a sample yml
18:52:21FromDiscord<Yardanico> @Clyybber what would that mean?
18:52:26disrupteki know, dude.
18:52:31disruptekit doesn't work well.
18:52:34FromDiscord<Yardanico> It's the same as capturing the whole thing right now, but it won't really work for us
18:52:41FromDiscord<Yardanico> Since we might have multiple captures
18:52:48FromDiscord<Yardanico> From one string
18:53:06FromDiscord<Clyybber> I mean >nick <- ... would work the same way
18:53:17FromDiscord<Clyybber> as if you were to replace nick in the whole grammar by >nick
18:53:25*the-oaks1 is now known as the-oaks
18:53:29FromDiscord<Clyybber> its the same as saying
18:53:37FromDiscord<Clyybber> nick <- > (...)
18:53:44ZevvClyybber: why would you put > on the LHS?
18:53:52FromDiscord<Clyybber> it looks cool
18:54:08FromDiscord<Clyybber> and its easy to spot
18:54:12ZevvThe whole rule is always captured in $0
18:54:23Zevvso what does add?
18:54:38Zevv /what does it add /
18:54:57*the-oaks quit (Client Quit)
18:55:08disruptekclyybber: can you fix it so it doesn't suck while you're in there?
18:55:23*pietroppeter quit (Quit: Connection closed for inactivity)
18:55:32FromDiscord<Clyybber> It adds nothing, but its the only operator for which you can do that while still staying a peg :D
18:55:50FromDiscord<Clyybber> it just looks neat IMO
18:56:10FromDiscord<Clyybber> can add clarity
18:56:27FromDiscord<Clyybber> disruptek: What?
18:56:54disruptekso pastes aren't fucked up in the playground.
18:56:59FromDiscord<Clyybber> aaah
18:58:18FromDiscord<Clyybber> Zevv: 'ping nick' only or also 'nick ping'?
18:58:19FromDiscord<Yardanico> well I thought about doing that, yes
18:58:26FromDiscord<Yardanico> I mean pastes
18:58:35FromDiscord<Clyybber> Maybe only do it for codeblocks?
18:58:40FromDiscord<Yardanico> Adding # to text before and after ```
18:58:44FromDiscord<Yardanico> And removing the ```
18:58:45*dddddd quit (Ping timeout: 240 seconds)
18:59:00FromDiscord<Clyybber> oh, that works too I guess
18:59:03disruptekwhen you put it like that it sounds pretty fucking trivial.
18:59:14disruptekand yet, here we are, in 2020, with broken pastes.
18:59:26FromDiscord<Clyybber> my paste is well
19:00:19FromDiscord<Yardanico> @disruptek it's much better than it was before anyway :)
19:01:11FromDiscord<Yardanico> And I still do other stuff too, sometimes you just don't feel like working on anything, y'know
19:01:42disruptekwhat?
19:02:18FromDiscord<Yardanico> I'm talking about the dark times of matterbridge
19:03:49disruptekwhat?
19:04:05disrupteki don't understand what this has to do with broken pastes.
19:04:28FromDiscord<Clyybber> they arent "broken"
19:04:32FromDiscord<Yardanico> They're not "broken", they are just not the best :)
19:04:35FromDiscord<Clyybber> they are less broken than before at least
19:04:41disruptekhow so?
19:04:54FromDiscord<Clyybber> someone punch disruptek
19:06:29FromDiscord<Yardanico> @disruptek I guess you like it when 15-line messages are pasted into IRC with each line as a separate message more :)
19:06:49disruptekyeah, i would.
19:07:00disruptekthen i wouldn't have to use a web-browser and scroll sideways.
19:07:21FromDiscord<Clyybber> oh, thats your issue. linebreaks
19:07:34FromDiscord<Clyybber> no wait
19:07:40FromDiscord<Clyybber> well anyways disruptek make a PR
19:07:56disrupteki'm not PR'ing your platform to fix your platform.
19:07:57FromDiscord<Yardanico> Scroll sideways?
19:08:04FromDiscord<Yardanico> That's not really my problem at all
19:08:08FromDiscord<Clyybber> whose platform
19:08:08FromDiscord<Yardanico> You'll always have to do that
19:08:12FromDiscord<Yardanico> No matter how you paste
19:08:19disruptekbzzt. /ignore FromDiscord
19:08:30disruptekproblem solved. 😁
19:09:21FromDiscord<Clyybber> for real though, what do you mean with scrolling sideways
19:09:24FromDiscord<Clyybber> why ?
19:09:51FromDiscord<Yardanico> @Clyybber I guess he opens browser not full screen, but with other apps
19:09:54FromDiscord<Yardanico> Tiling WM
19:10:04FromDiscord<Clyybber> thats a "disruptek platform" problem then
19:10:08FromDiscord<Yardanico> So there might be not enough space for full line
19:10:09FromDiscord<Yardanico> Yeah
19:10:12FromDiscord<Clyybber> #notourjob
19:11:18FromDiscord<Yardanico> I wouldn't think it would make sense to read code with wrapping anyway
19:11:22FromDiscord<Yardanico> don't*
19:13:14FromDiscord<Yardanico> Seems like Disruptek doesn't see us anymore :)
19:13:42*clyybber joined #nim
19:13:50clyybberdisruptek: fuck you :p
19:14:04disruptekwb to a rational client.
19:14:46clyybberrational sure, but what do I care if I have discord open anyways for VC with friends and stuff
19:14:59clyybberthen its only rational to cut down the amount of open clients
19:15:10disrupteksure.
19:15:17disruptekwell, we can always chat on github.
19:15:57clyybberI don't chat on github /shrug
19:16:47disruptekdo you think the old ic approach is worth reproducing?
19:17:05clyybberwhat differentiates the old one from the new one again?
19:17:09clyybberexcept that it doesn't work
19:17:16disruptekthe new one doesn't exist.
19:17:54clyybbersure, if you don't have a better design lets go with the "old" one
19:18:11disruptekthe old one is 1) prevent sym.loc.r rewrite, 2) record and playback backend transforms
19:18:19clyybberI gotta say, I like the blue colored bot avatar ircord gave me
19:19:02disruptekthe diff between my ic branch and devel is >40,000 lines.
19:19:06clyybberdisruptek: Doesn't seem too insane to me, do you have another idea?
19:19:22disruptekalso 3) we prevent ast mutation via sons.add
19:19:23clyybberdisruptek: lol, thats 2/3 of the whole codebase
19:19:27disrupteki know.
19:19:40clyybberwell start overloading `bla=`
19:19:47FromDiscord<haxscramper> `choosenim` fails to find C compiler even though clang is installed in `/usr/bin/clang` & available via `which`/`whereis`
19:20:10clyybberdisruptek: I think a lot of your diff is due to you wanting to be "explicit" abotu stuff
19:20:23disrupteklike what?
19:20:48clyybberlike your setters
19:20:52disrupteki will say that i really hate the dirty template araq made me use.
19:20:54clyybberor maybe you got rid of them, then I'm sorry
19:20:59disruptekclyybber: we can try r= again this time.
19:21:04FromDiscord<haxscramper> I installed it via setup script but also tried using compiled one from github releases
19:21:05disruptekmaybe i grew smarter.
19:21:08clyybberyeah, please
19:21:35clyybberdisruptek:choosenim talk on discord
19:21:46disrupteki do think that `clearRope` versus = nil is smarter.
19:21:51FromDiscord<Clyybber> why does choosenim need a C compiler?
19:22:00disruptekit lets us change the semantics more easily.
19:22:22disrupteki don't use choosenim.
19:22:33clyybberdisruptek: I know, but you can advertise your own stuff
19:22:40disruptek~gitnim
19:22:40disbotgitnim: 11https://gitnim.com/ -- choosenim for choosey nimions -- disruptek
19:22:41clyybberalso you wouldn't want to block haxscramper
19:22:42disruptekthere.
19:22:55disruptekeveryone has to grow up sometime.
19:23:14disrupteklol we have hash() for tlineinfo now.
19:23:20*haxscramper joined #nim
19:23:20disruptekwhat's next, $?
19:23:54clyybberwhy do we have a has for tlineinfo
19:24:02disruptekno idea.
19:24:10clyybberwhere is it?
19:24:19disrupteklineinfos i imagine.
19:24:26disrupteki'm only 28% of the way through the diff.
19:24:34disruptekjust reading all the changes to the compiler.
19:25:07haxscramperIf I install gcc choosenim works, but when I only have clang it fails with 'no c compiler found'
19:25:33clyybberseems kinda useless to hash something thats 64bits to something thats 64 bits lol
19:25:49disrupteki'm sure it's for tables or something.
19:26:45FromDiscord<Yardanico> @haxscramper nim by default assumes that you have GCC on Linux I think
19:27:03disruptekhaxscramper: that sounds like a defect in clang. submit a bug report to the llvm folks.
19:27:15FromDiscord<Yardanico> No
19:27:22FromDiscord<Yardanico> That's a problem with Nim :)
19:27:55FromDiscord<Yardanico> As I said, Nim assumes the C compiler to be GCC on Linux by default
19:28:05FromDiscord<Yardanico> choosenim doesn't change that
19:28:33*superbia1 is now known as superbia
19:28:49FromDiscord<Yardanico> And yes, that's not very good, even though .cfg seems to support environment variables
19:28:49disruptekclyybber: yeah, it's for the vm profile data table.
19:29:04FromDiscord<Yardanico> At right Disruptek doesn't see me anymore
19:29:31clyybberdisruptek: unblock discord already, this is stupid
19:29:34*clyybber quit (Quit: WeeChat 2.9)
19:30:23disruptekclyybber really hates irc. that's wild.
19:31:17*clyybber joined #nim
19:31:38clyybberI actually prefer IRC, its simple and it works. But I I'm using discord anyways. so I cut down on open clients
19:31:39*clyybber quit (Client Quit)
19:31:50disruptekmakes sense.
19:31:59disruptekput adults on one screen and children on the other.
19:33:24*clyybber joined #nim
19:33:36clyybberdisruptek: guess what screen I put you on :p
19:33:59*arecacea1 quit (Remote host closed the connection)
19:34:23*arecacea1 joined #nim
19:36:08disrupteki dunno, but it's kinda amazing how much trouble you are willing to go to to avoid impl a string substitution that benefits almost 200 people.
19:36:17FromDiscord<Yardanico> ?
19:37:13disruptekwhat does TParser->Parser mean?
19:37:17clyybberare you crazy?
19:37:36disrupteksome would say, "yes."
19:37:59clyybberI don't know what string substitution you even want
19:38:02disrupteki mean, did you rename this stuff? just because it reads better?
19:38:07clyybberyes I did
19:50:20FromDiscord<whisperdev> @treeform any idea?
19:52:25FromDiscord<whisperdev> Also I get illegal storage access when I run your test. with -d:release -d:danger --gc:orc
19:55:42*NimBot joined #nim
19:59:16FromDiscord<Yardanico> on devel?
20:01:20FromDiscord<Yardanico> or on 1.2.6?
20:07:07*narimiran quit (Ping timeout: 258 seconds)
20:07:17*lritter quit (Ping timeout: 265 seconds)
20:12:51*lritter joined #nim
20:14:15*go|dfish quit (Quit: WeeChat 1.4)
20:15:33*dddddd joined #nim
20:16:41*go|dfish joined #nim
20:21:51shashlick@haxscramper can you open a defect with more details
20:23:20FromDiscord<Avatarfighter> lmao did disruptek block discord
20:24:37FromDiscord<Clyybber> yeah
20:24:58FromDiscord<Elegant Beef> He tends to do that if someone/thing makes his balls throb
20:25:09FromDiscord<Avatarfighter> oh i am fully aware as to why he would block it lmao
20:25:36FromDiscord<Clyybber> nah, the reason he blocks it is to get me to "fix" something that he considers broken
20:25:48FromDiscord<Elegant Beef> That's literally what i said
20:25:51FromDiscord<Clyybber> mainly that when I type↵this long message↵the bridge↵will post it on playground
20:26:20FromDiscord<Clyybber> ah it needs to be 5lines + I think
20:27:01FromDiscord<Avatarfighter> that's so funny
20:28:51FromDiscord<Elegant Beef> I still just wish that there was a matrix client with channel based VOIP 😄
20:29:33FromDiscord<haxscramper> About choosenim - the fact I'm doing it in docker container probably has absolutely nothing to do with the error itself?
20:30:09FromDiscord<haxscramper> Want to clarify this before submitting issue
20:46:59FromDiscord<Yardanico> @haxscramper as I said above, it's probably not a choosenim issue at all
20:47:11FromDiscord<Yardanico> Nim itself just expects the C compiler on Linux to be GCC and nothing else
20:47:11*Jesin quit (Quit: Leaving)
20:47:30FromDiscord<Yardanico> Unless you specify it explicitly in the config or via command line switches
20:47:33FromDiscord<Avatarfighter> @Clyybber are you able to get if a message contains a codeblock?
20:49:02FromDiscord<Clyybber> @Yardanico is the guy to ask, but I of course
20:49:05FromDiscord<Yardanico> Nim doesn't do stuff like "if GCC isn't available, use clang"
20:49:12FromDiscord<Clyybber> (edit) 'I' => ''
20:49:26FromDiscord<Clyybber> (edit) 'of course' => 'it should be possible'
20:49:33FromDiscord<19> ping: shashlick↵i have successfully binded a function from Kinc to Nim thanks to Nim in Action book. im going to give nimterop a shot
20:49:47FromDiscord<haxscramper> > Nim itself just expects the C compiler on Linux to be GCC and nothing else↵@Yardanico well, I already opened the issue ... will close it and PR error message fix then.
20:50:19FromDiscord<Yardanico> Well I guess Nim should be fixed to use CC variable to choose a compiler
20:50:22FromDiscord<Yardanico> On Linux at least
20:50:34FromDiscord<haxscramper> Since i't is not `C compiler not found`, but rather `GCC not found`
20:51:09FromDiscord<Yardanico> Ah wait I found what you mean
20:51:11shashlick19: what's up
20:51:27clyybberdisruptek: Does this sound fine to your native english eaars: https://github.com/nim-lang/Nim/pull/15264/files#diff-d48a4a282bdbb4254c40b51e199e0a2cR1529-R1530 ?
20:51:27disbotAdd strutils.indentation and make unindent use it
20:52:24disrupteki would just use a comma versus (); they are usually "incorrect". otherwise looks perfectly fine to me.
20:52:30FromDiscord<Yardanico> Choosenim is behaving incorrectly too @haxscramper
20:52:47FromDiscord<Yardanico> It only checks for GCC, but that's the same as Nim itself does
20:52:54FromDiscord<Yardanico> So you'll need to fix both for it to work with clang
20:52:54disruptekis there a better way to say, "have in common"?
20:53:00disruptek"share"?
20:53:17FromDiscord<Yardanico> https://github.com/dom96/choosenim/blob/master/src/choosenimpkg/switcher.nim#L51
20:53:19FromDiscord<haxscramper> sent a code paste, see https://play.nim-lang.org/#ix=2weV
20:53:24*Jesin joined #nim
20:53:26disruptek"amount of indentation" -> "number of spaces"?
20:53:27FromDiscord<Yardanico> Well clang is for osx
20:53:54FromDiscord<Yardanico> Choosenim only checks GCC on Linux and only clang on macOS
20:54:18disruptek"greatest common quantity of leading spaces"?
20:54:41disrupteki guess it's tricky to say much more simply.
20:55:18shashlickY that's what i suspected - an issue is warranted
20:55:27disruptekcan you remind me what happened to declaredInScope?
20:55:39clyybbernothing
20:55:40disruptekyou did discover it was broken, right?
20:55:46clyybberno, you said so
20:55:51clyybberbut didn't provide any example
20:55:59clyybberand you weren't sure if you understood its purpose
20:56:00disruptektypical.
20:56:08clyybberI fixed it for shadowscopes
20:56:18clyybbersince async relies on it (or at least chronos' async
20:56:47disruptekwas i dreaming or did someone say they wanted to consolidate/enumerate scope-opening nodes?
20:57:33clyybberAraq said something about scoping
20:57:45clyybberbut tell me how declaredInScope is broken please
20:58:03disruptekif i ever try to use it again, i will.
20:58:05clyybberits probably not, since its used pretty heavily in chronos and chronos isn't broken
20:58:25disruptekcheatfate probably just understands it.
20:58:49disruptekunderstanding is not always a prerequisite of use.
20:59:52*rockcavera quit (Remote host closed the connection)
20:59:59clyybberok, so in short it tells you wether a symbol is defined in *the current* scope
21:00:14disruptekyeah, great.
21:00:17clyybberit might be defined somewehere else and be available but definedInScope will still return false
21:00:36disruptekdefinedInScope != declaredInScope?
21:00:43clyybberits the same thing
21:00:48disruptekalias?
21:00:54clyybberno one doesn't exist
21:00:58disruptekokay.
21:00:59clyybberonly in the compiler impl
21:01:05disruptekonly in magic.
21:01:07clyybberbut I changed it
21:01:11clyybberthe magics are now seperated
21:01:17clyybberand named more clearly
21:01:23disrupteki see.
21:01:37disrupteki think that's what i was remembering.
21:02:18clyybberyeah probably
21:29:52*natrys quit (Quit: natrys)
21:37:25disruptekfrosty has to handle infinite graphs but i'm not sure how i want to do that. i was going to use cps but if it's going into the compiler i'm not sure i want to worry about it. 😉
21:43:40*solitudesf quit (Ping timeout: 256 seconds)
22:18:06FromDiscord<Clyybber> planetis[m]: ping
22:18:21planetis[m]pong
22:19:17FromDiscord<Elegant Beef> Gong?
22:19:55clyybberplanetis[m]: So I did this conversion to use byRef pragmas
22:20:01clyybberbut there are some issues
22:20:15clyybberone is, we can't pass nil this way
22:20:29planetis[m]oh
22:20:33clyybberactually, thats the only one I think
22:21:23clyybberplanetis[m]: Maybe converters are the way to go
22:21:32planetis[m]...that's an issue i haven't thought
22:23:37*haxscramper quit (Remote host closed the connection)
22:23:54planetis[m]that means my cairo wrapper has the same issue
22:24:54FromDiscord<Clyybber> I mean, I guess its fine as long as the API doesn't require you to pass nil
22:25:03FromDiscord<Clyybber> but vulkan does so unfortunately
22:27:24planetis[m]anyway its 1:30 here, good night
22:27:46FromDiscord<Clyybber> good night!
22:33:03*clyybber quit (Quit: WeeChat 2.9)
22:35:34*lritter quit (Quit: Leaving)
22:41:07*AndroUser joined #nim
22:42:00AndroUserHello all, learning Nim but having trouble finding much about Nim with GC disabled.
22:42:46*tane quit (Quit: Leaving)
22:43:05FromDiscord<19> https://rosettacode.org/wiki/Pointers_and_references#Nim
22:43:13FromDiscord<19> this is the only link i know
22:44:16AndroUserThank you. Yeah I was hoping there might be something more systems oriented in Nim in Action, but there isn't
22:44:30FromDiscord<Recruit_main707> AndroUser, gc:none?
22:44:37FromDiscord<Recruit_main707> Or just avoiding the gc
22:44:58AndroUserGC none. My pet project is a small MUD
22:45:15AndroUserunless GC has really changed, gc'd miss aren't a thing
22:45:22AndroUserMiss*
22:46:05FromDiscord<Recruit_main707> If you are only looking for performance, using arc will get you close to no gc speeds
22:46:08FromDiscord<Rika> may i ask why you want gc none
22:46:14FromDiscord<Kiloneie> Nim in action was written with Nim's defaukt GC in mind i believe
22:46:23FromDiscord<Kiloneie> Ask dom96 the author
22:46:41AndroUserIt was, it's a great book. I'm still working through it with j e ster
22:46:42FromDiscord<Kiloneie> Still a good book
22:47:15AndroUserAs for why, because a mud is a real time game
22:47:26AndroUserIt's just old school
22:47:32FromDiscord<Rika> how real time is it
22:47:39AndroUserMilliseconds matter
22:47:58FromDiscord<Recruit_main707> There is regions too, which is gc none with some extra things to help you manage things, it’s only documentation is it’s source code though
22:48:09AndroUserUsually a pulse every 100ms
22:48:13FromDiscord<Rika> perhaps gc:arc is a better choice
22:48:25FromDiscord<Recruit_main707> But yeah, arc is really fast
22:48:29AndroUserI'll look into it, thanks!
22:49:37FromDiscord<Elegant Beef> You can also customize the GC, but yea ARC
22:49:47FromDiscord<Kiloneie> Quick question, video vs written tutorials? Which do you prefer?
22:49:48FromDiscord<Hearthstone (LGBTQ+)> Wait what?
22:49:52FromDiscord<Hearthstone (LGBTQ+)> Written
22:49:56FromDiscord<Hearthstone (LGBTQ+)> Written is way better
22:49:56FromDiscord<Recruit_main707> Video
22:49:57FromDiscord<Hearthstone (LGBTQ+)> Imo
22:50:08AndroUserWritten
22:50:08FromDiscord<Recruit_main707> But it depends on how it’s done
22:50:14FromDiscord<Rika> written
22:50:16FromDiscord<Hearthstone (LGBTQ+)> I prefer reading over listening
22:50:21AndroUserOld fogies like me have to go into town for internet
22:50:27FromDiscord<Rika> i can read faster than i can watch
22:50:32AndroUserAnd downloading is as slow as dial up
22:50:44FromDiscord<Kiloneie> I actually bought a domain a year and didnt use it for written tutorials...
22:50:49FromDiscord<Recruit_main707> > i can read faster than i can watch↵Technically not :p
22:51:15FromDiscord<Kiloneie> If the subject is hard... You cant read and understand that fast xD
22:51:16FromDiscord<Rika> if you mean the in place word reading, thats still reading
22:51:19FromDiscord<Hearthstone (LGBTQ+)> I actually can-
22:51:21FromDiscord<Rika> do you watch words?
22:51:43FromDiscord<19> i prefer reading, but sometimes i get bored of reading, so watching is a good change.
22:52:12FromDiscord<Recruit_main707> Doing at the same time as I am being explained helps me understand it better
22:52:39FromDiscord<Rika> i only would prefer watching when the topic is abstract and the animations (if any) help with the understanding, if none, i probably will not watch
22:52:39AndroUserOn a slightly different note, I really like the style of Learn X The Hard Way
22:52:49FromDiscord<Kiloneie> Would having video + written tutorial on the same thing of the same thing be good?
22:52:57AndroUserYes
22:53:07AndroUserThat's like Learn X The Hard Way
22:53:09FromDiscord<Hearthstone (LGBTQ+)> I'd say yeah
22:53:11FromDiscord<Rika> yes
22:53:13FromDiscord<Rika> of course
22:53:17AndroUser(insert language here)
22:53:20FromDiscord<19> yes for me
22:53:21FromDiscord<Rika> more choices is always good
22:53:34FromDiscord<Recruit_main707> But tbh only I said video
22:53:41FromDiscord<Rika> i mean sure not for you but for the consumers yeah
22:53:56FromDiscord<Recruit_main707> ^
22:54:24AndroUserThanks for the help guys
22:54:35*AndroUser quit (Quit: AndroIRC - Android IRC Client ( http://www.androirc.com ))
22:58:11FromDiscord<Kiloneie> I should put more effortvin the editing, some animations i guess... For inheritance video it would work well...
22:59:07FromDiscord<19> what are you making @Kiloneie
22:59:38FromDiscord<Kiloneie> I make Nim for beginners videos
23:00:03FromDiscord<19> that's awesome
23:00:12FromDiscord<19> beginners to programming
23:00:14FromDiscord<Kiloneie> Og plan was to make written tutorials alongside... But i didnt get to that, but now i am thinking of a redesign
23:00:17FromDiscord<19> or beginners to nim
23:00:23FromDiscord<Kiloneie> To both
23:00:38FromDiscord<Kiloneie> I try to leave nothing unexplained
23:00:51FromDiscord<19> you could have a video and a "companion" text for each video
23:00:59FromDiscord<Elegant Beef> Shit i still never got around to attempting a video tutorial 😄
23:01:20FromDiscord<19> i did it once, its fun
23:01:28FromDiscord<19> you should give it a shot
23:01:43FromDiscord<19> you can make one on udemy and make money
23:01:49FromDiscord<Elegant Beef> Lol
23:02:11FromDiscord<19> if you wish to :P
23:02:23FromDiscord<Elegant Beef> Yes make educational content, but charge for it!
23:02:49FromDiscord<Kiloneie> My biggest problem is recording... Im Slovenian, my english is very goid but i tend to get stuck reading my own script or trying to improvise explanation for my own code, or find a word i have trouble pronounciating, sometimes what should be 30 min of recording becomes 3x of that
23:02:51FromDiscord<19> well, i dont think its entirely wrong
23:03:37FromDiscord<Kiloneie> I think the better idea is free + patreon, but... I havent gotten anyone on patreon yet...
23:04:13FromDiscord<19> im always down for free education. but its also not wrong to charge for it. depends on the content.
23:04:57FromDiscord<Kiloneie> Thing is, it helps Nim grow if its free
23:04:58FromDiscord<Elegant Beef> I think for all electronic education it should be pay what you want
23:05:40FromDiscord<Kiloneie> If all i made was payed... And i made hundreds by now... It wouldnt help nim grow much
23:05:51FromDiscord<Elegant Beef> Well there is also the thing is your goal to educate or to profit
23:06:00FromDiscord<19> yes but you cannot generalize, what if it is some extremely sophisticated subject that requires effort to explain
23:06:25FromDiscord<Kiloneie> Well i want to make a living out of it... But atm im broke xD...
23:07:09FromDiscord<19> @Kiloneie it could be a way for you to sharpen your spoken english and perhaps alleviate your broke state :p
23:07:23FromDiscord<Elegant Beef> Do you see how small the nim community is?
23:07:41FromDiscord<19> im not talking about nim in specific
23:07:45FromDiscord<Elegant Beef> But he is
23:07:59FromDiscord<19> yeah, sorry i took a tangent. i always do that xD
23:08:14FromDiscord<Elegant Beef> Like dom isnt living in a golden castle due to nim in action sales 😄
23:08:31FromDiscord<Elegant Beef> *Or atleast i dont imagine he is* 😄
23:08:42FromDiscord<Rika> i like how i bought nim in action yet havent read half of it
23:08:49FromDiscord<19> well, the guy is broke :P
23:08:53FromDiscord<Kiloneie> Hes not, he told me xD
23:09:09FromDiscord<Rika> he means yo
23:09:10FromDiscord<19> @Rika same here
23:09:11FromDiscord<Rika> (edit) 'yo' => 'you'
23:09:13FromDiscord<Kiloneie> Dom said he gets just a bit here andvthere
23:09:23FromDiscord<Rika> he means you with "the guy"
23:09:32FromDiscord<19> the guy = Kiloneie
23:09:33FromDiscord<Kiloneie> I know
23:09:51FromDiscord<Kiloneie> I read nim in action also half xD
23:10:09FromDiscord<Kiloneie> Hes got better explanation on some subjects that the manual has
23:11:01FromDiscord<Kiloneie> I was thinking of putting in text to support me on patreon and offer fiver services in the outro... Idk probably would get nothing still
23:12:02FromDiscord<Kiloneie> If i was making like 400 a month by now, id be making way way more videos, but its what it is atm
23:12:38FromGitter<iffy> Is there a way to have variants share some fields but not all? For instance First and Second both have `name`: https://play.nim-lang.org/#ix=2wfD What are my other options?
23:12:57FromDiscord<Rika> have them have different names and use a proc to simulate a field
23:13:04FromDiscord<Elegant Beef> Yea there cannot be name overlaps atm
23:13:23FromDiscord<Elegant Beef> so you can have a proc named `name=` which checks the kind and sets it accordingly
23:13:41FromGitter<iffy> Oh, good call both of you; thank you!
23:16:11FromDiscord<Kiloneie> I think a logo and animated intro and outro would help add some profesionalism to my videos
23:16:59FromDiscord<19> i always wanted to animate that nice nim crown :D :nim2:
23:17:32FromDiscord<19> its such a good logo, kudos to the designer
23:18:40FromDiscord<Kiloneie> I think it could ve better
23:18:50FromDiscord<Kiloneie> Ray trace it :P
23:29:58FromDiscord<Kiloneie> How would a god king crown look like?
23:31:54FromDiscord<19> ping : shashlick↵sorry to distrub you, i have a few questions, the library im trying to wrap has alot of headers and 1 dll. how should i set it up from the getHeader() function? also, are all the params required or are some of them optional?
23:32:26*Trustable quit (Remote host closed the connection)
23:32:45FromDiscord<demotomohiro> I wrote simple raytracer to render nim crown before.↵https://colab.research.google.com/drive/1J0B0qVvovrJZJI1OU75jIMUjWnymi_6G
23:32:58FromDiscord<19> wow awesome
23:33:06*audiofile joined #nim
23:33:21audiofilewhats new with nim
23:33:41audiofilemy professor asked me what my favourite language right now is and I spread the gospel of nim
23:33:45audiofiledo I get to enter heaven now??
23:33:53FromDiscord<Elegant Beef> I think so
23:34:10audiofileI need a confirmation from the boss man
23:34:30FromDiscord<19> @demotomohiro that's just sick dude
23:38:10disruptekno.
23:38:17disruptekfirst you must write something useful.
23:39:01*krux02_ joined #nim
23:39:50*krux02_ quit (Read error: Connection reset by peer)
23:40:03disruptekwho knows how i can learn about androuser's mud?
23:40:23*krux02_ joined #nim
23:40:33FromDiscord<dk> When was macro quoting fixed? I didn't even notice
23:40:48audiofileis there good cross platform gui library for nim
23:40:56audiofilei dont want to fight opengl
23:42:49*krux02 quit (Ping timeout: 264 seconds)
23:44:22FromDiscord<Elegant Beef> Fidget
23:44:33FromDiscord<Elegant Beef> Atleast i like fidget 😄
23:45:19FromDiscord<19> fidget looks amazing
23:54:35*Zectbumo quit (Remote host closed the connection)
23:55:23shashlick19: best to see nimgit2 or nimarchive
23:55:35shashlickgetHeader is simply to get the header and library
23:55:39shashlickwrapping is handled by cImport
23:55:50shashlickwhat are you trying to wrap