💾 Archived View for gemini.ctrl-c.club › ~phoebos › logs › freenode-kisslinux-2020-10-06.txt captured on 2022-07-17 at 03:18:22.
⬅️ Previous capture (2021-12-17)
-=-=-=-=-=-=-
2020-10-06T02:43:35 #kisslinux <dilynm> uutils requires 179 different rust packages 2020-10-06T02:43:46 #kisslinux <dilynm> This seems supremely excessive for some coreutils 2020-10-06T04:03:20 #kisslinux <muevoids> o/ 2020-10-06T04:06:12 #kisslinux <muevoids> Does anyone here know decent c and some opengl? 2020-10-06T04:09:20 #kisslinux <sh4rm4^bnc> decent c ? a new PL ? 2020-10-06T04:09:45 #kisslinux <muevoids> I'm confused? 2020-10-06T04:09:56 #kisslinux <muevoids> decent c ? a new PL? 2020-10-06T04:10:05 #kisslinux <sh4rm4^bnc> asking whether "decent C" is a new programming lang 2020-10-06T04:10:19 #kisslinux <muevoids> know lol I meant like a decent amount of c 2020-10-06T04:10:21 #kisslinux <muevoids> no 2020-10-06T04:10:22 #kisslinux <muevoids> * 2020-10-06T04:10:50 #kisslinux <sh4rm4^bnc> i do know a decent amount of C, but none of openGL 2020-10-06T04:11:24 #kisslinux <muevoids> I don't know if you could help at all but I am trying to modularize a program I am working on do you think you could check it out? 2020-10-06T04:11:34 #kisslinux <sh4rm4^bnc> sure, why not 2020-10-06T04:12:15 #kisslinux <muevoids> https://github.com/muevoid/2dGLESframework I know you said you don't know any gl but does how I have the header files and source files set up look right? 2020-10-06T04:15:06 #kisslinux <sh4rm4^bnc> well i see vingl.h defines Vec4 but the shapes.h header uses vec4 2020-10-06T04:15:11 #kisslinux <sh4rm4^bnc> lowercase 2020-10-06T04:15:50 #kisslinux <muevoids> Thanks I missed that 2020-10-06T04:17:06 #kisslinux <sh4rm4^bnc> and the src stuff uses #include "..." but there doesn't seem to be an -I include path pointing to the headers in the Makefile 2020-10-06T04:17:29 #kisslinux <muevoids> There is I believe 2020-10-06T04:17:40 #kisslinux <muevoids> INCLUDES = -Iinclude -Iexternal 2020-10-06T04:17:44 #kisslinux <sh4rm4^bnc> oh yeah INCLUDES = -Iinclude 2020-10-06T04:18:01 #kisslinux <sh4rm4^bnc> no, looks good 2020-10-06T04:18:06 #kisslinux <muevoids> Thanks! 2020-10-06T04:18:10 #kisslinux <sh4rm4^bnc> np 2020-10-06T04:18:36 #kisslinux <muevoids> I also asked for help on ##Opengl cause when I switched over from all of it in one file to this it stopped rendering quads :< 2020-10-06T04:19:09 #kisslinux <sh4rm4^bnc> i wonder how it even compiled with the vec4 typo 2020-10-06T04:19:23 #kisslinux <sh4rm4^bnc> maybe it used a type from GL headers instead 2020-10-06T04:19:23 #kisslinux <muevoids> Oh I am so dumb 2020-10-06T04:19:28 #kisslinux <muevoids> and cause cglm has a vec4 type 2020-10-06T04:20:08 #kisslinux <muevoids> I forgot to call vinoxInit() in my main file 2020-10-06T04:21:56 #kisslinux <sh4rm4^bnc> i've got a strong dislike to uppercase use in C btw, except all-upper for macros 2020-10-06T04:22:07 #kisslinux <muevoids> anyreason? 2020-10-06T04:22:23 #kisslinux <sh4rm4^bnc> when i see a language that uses types like e.g. String i discard it immediately 2020-10-06T04:22:28 #kisslinux <muevoids> I usually do for functions and then structs 2020-10-06T04:22:39 #kisslinux <sh4rm4^bnc> just aestethics 2020-10-06T04:22:42 #kisslinux <muevoids> Gotcha 2020-10-06T04:22:55 #kisslinux <muevoids> Maybe I will try out a different style any recommendation? 2020-10-06T04:23:23 #kisslinux <sh4rm4^bnc> just don't suffix your types with "_t" :) 2020-10-06T04:23:48 #kisslinux <sh4rm4^bnc> since those are reserved names 2020-10-06T04:23:54 #kisslinux <muevoids> Yeah 2020-10-06T06:00:42 #kisslinux <muevoids> Anyone know any implementations of diff that have -X 2020-10-06T06:03:52 #kisslinux <muevoids> Nevermind 2020-10-06T06:40:42 #kisslinux <muevoids> sh4rm4^bnc just so you know I figured out the issue It was me being so stupid. I just fixed it from GL_ARRAY_BUFFER to GL_ELEMENT_ARRAY_BUFFER I missed one word lmao 2020-10-06T06:41:09 #kisslinux <muevoids> I had to download a apitracer for opengl to realize that 2020-10-06T08:29:33 #kisslinux <humaid_01> Hello. How are you? 2020-10-06T08:29:33 #kisslinux <humaid_01> Dylan thank you for sowm. 2020-10-06T08:29:33 #kisslinux <humaid_01> I'm having an issue where I lose keyboard shortcuts like closing and full screen etc. it happens when running chromium and Firefox. 2020-10-06T08:30:52 #kisslinux <humaid_01> Anyone have something like this? Not sure exactly what triggers this but browsers seem to. 2020-10-06T14:16:32 #kisslinux <aosync> o/ 2020-10-06T14:17:00 #kisslinux <aosync> Does anyone use wayland ? 2020-10-06T14:48:02 #kisslinux <dylanaraps> aosync: I've been on Wayland for 3 weeks now I think. 2020-10-06T14:48:14 #kisslinux <dylanaraps> Other users are running it too 2020-10-06T14:49:12 #kisslinux <aosync> how to get started? 2020-10-06T14:50:15 #kisslinux <dylanaraps> github.com/dylanaraps/wayland-experiment or https://github.com/Himmalerin/kiss-wayland 2020-10-06T14:51:49 #kisslinux <dylanaraps> My repository has Firefox without gtk+2 among other things. 2020-10-06T14:52:25 #kisslinux <dylanaraps> I also have all the x11 libs in a single package (to make x11 vs wayland easier to manage) 2020-10-06T14:52:40 #kisslinux <dylanaraps> ie, pure wayland system + Firefox is not yet possible. 2020-10-06T14:53:36 #kisslinux <dylanaraps> My repository doesn't provide xwayland fwiw 2020-10-06T14:53:44 #kisslinux <dylanaraps> The other repository I linked does however 2020-10-06T14:54:09 #kisslinux <aosync> would chromium work with wayland 2020-10-06T14:54:25 #kisslinux <dylanaraps> Yes 2020-10-06T14:54:30 #kisslinux <dylanaraps> It has Wayland support 2020-10-06T14:54:57 #kisslinux <dylanaraps> I think it's still WIP though 2020-10-06T14:55:12 #kisslinux <dylanaraps> Also see: https://github.com/intel/ozone-wayland 2020-10-06T14:55:46 #kisslinux <dylanaraps> Also: https://bugs.chromium.org/p/chromium/issues/detail?id=578890 2020-10-06T14:56:28 #kisslinux <dylanaraps> This AUR package supports Wayland https://aur.archlinux.org/packages/chromium-ozone/ 2020-10-06T14:56:42 #kisslinux <dylanaraps> No VAAPI yet 2020-10-06T14:56:52 #kisslinux <dylanaraps> Firefox + Wayland + VAAPI works however 2020-10-06T15:01:20 #kisslinux <eudaldgr> KISS would be wayland distro? 2020-10-06T15:02:12 #kisslinux <dylanaraps> eudaldgr: When the time is right... X11 is dying and there will come a time when we're almost "forced" over to Wayland. 2020-10-06T15:02:40 #kisslinux <dylanaraps> I'm running it more to have all the information at hand for when this happens. 2020-10-06T15:02:58 #kisslinux <eudaldgr> ok 2020-10-06T15:08:11 #kisslinux <dylanaraps> eudaldgr: This is still pretty far off I'd say. I don't see x11 going anywhere in the short term 2020-10-06T15:08:51 #kisslinux <dylanaraps> Especially when Firefox on Wayland still depends on all the X11 libraries... lol 2020-10-06T15:09:32 #kisslinux <eudaldgr> hahaha simply i don't know how works wayland, never tried 2020-10-06T15:09:52 #kisslinux <dylanaraps> Pure x11 system + Firefox is possible... Pure wayland system + Firefox is not yet possible. 2020-10-06T15:11:10 #kisslinux <mcpcpc[m]> E5ten: think i finally have a user input solution for kirc. basically stripped-down linenoise lib. works pretty well: https://github.com/mcpcpc/kline 2020-10-06T15:12:31 #kisslinux <mcpcpc[m]> doubles the size of kirc tho. lol. 2020-10-06T15:14:00 #kisslinux <dylanaraps> mcpcpc[m]: Neat. 2020-10-06T15:14:17 #kisslinux <dylanaraps> You could look into libedit or readline (probably a million others too lol) 2020-10-06T15:15:23 #kisslinux <dylanaraps> How big is GNU readline? 2020-10-06T15:18:43 #kisslinux <mcpcpc[m]> I dont believe readline is posix compliant though. 2020-10-06T15:19:10 #kisslinux <mcpcpc[m]> which is the crux of it all. 2020-10-06T15:20:40 #kisslinux <mcpcpc[m]> dylanaraps: yeah... a million other solutions. but all seem unnecessarily large for my purpose. lol 2020-10-06T15:20:46 #kisslinux <dylanaraps> Yeah 2020-10-06T15:20:49 #kisslinux <dylanaraps> I just had a look 2020-10-06T15:24:25 #kisslinux <aosync> dylan what was your reason for not using obsd again 2020-10-06T15:24:35 #kisslinux <mcpcpc[m]> best posix solution i found was linenoise (1200 sloc. but still has lots of functionality that i didn’t really want to add (e.g. multiline edit). 2020-10-06T15:25:44 #kisslinux <dylanaraps> aosync: No support for my hardware at the time. 2020-10-06T15:25:47 #kisslinux <dylanaraps> Then I made kiss 2020-10-06T15:27:12 #kisslinux <dylanaraps> mcpcpc[m]: Gotcha. Does it handle pasting well? 2020-10-06T15:27:27 #kisslinux <dylanaraps> ie, I hit Ctrl+Shift+V in the prompt. 2020-10-06T15:31:57 #kisslinux <dylanaraps> This may not be something you need to worry about at all though. 2020-10-06T15:32:40 #kisslinux <mcpcpc[m]> dylanaraps: havent tested it out too much, but yeah.. it handles pasting fairy well. 2020-10-06T15:34:16 #kisslinux <mcpcpc[m]> hard to read though if the text is too long. visible length is one line and printed chars is limited to the width of the terminal. but handles longer text with horizontal scrolling 2020-10-06T15:36:06 #kisslinux <dylanaraps> That's fine 2020-10-06T15:36:27 #kisslinux <dylanaraps> birch does the same thing via bash's builtin readline 2020-10-06T15:36:32 #kisslinux <dylanaraps> 'set horizontal-scroll-mode on' 2020-10-06T15:43:14 #kisslinux <mcpcpc[m]> but the ultimate goal was to avoid multiline input. from what i gather, if you want to develop a portable application that renders text in any VTE consistently, you can’t rely on the VTE to do it, especially multiline input. the developers of `foot` pointed me to ECMA-48 6.1.6, which basically says it’s up to the VTE developer to define the implicit cursor movement. 2020-10-06T15:45:10 #kisslinux <mcpcpc[m]> it’s all very fascinating to me, considering i am just writing kirc for fun and to learn. lol 2020-10-06T15:46:34 #kisslinux <mcpcpc[m]> reverse-linewrap implementation is a good example of the variable behavior (e.g. backspacing to the end of the previous line). 2020-10-06T15:54:40 #kisslinux <dylanaraps> Yeah... you always end up down a rabbit hole lol 2020-10-06T15:56:07 #kisslinux <mcpcpc[m]> amen 2020-10-06T16:17:33 #kisslinux <E5ten> mcpcpc: nice 2020-10-06T20:04:00 #kisslinux <dan[m]111> im debating weather to install gentoo or kiss on my main pc. ive been using kiss on my laptop for about 9 months and its been great, but the idea of use flags does sound appealing. however, last time i tried gentoo it seemed far from minimal, and the amount of use flags required for a minimal xorg setup was ridiculous 2020-10-06T20:18:18 #kisslinux <mcpcpc[m]> dan: i did the same 9mo(?) ago...but really see no need to go back. The USE flags just became annoying to me after a while. 2020-10-06T20:34:22 #kisslinux <dan[m]111> <mcpcpc[m] "dan: i did the same 9mo(?) ago.."> fair enough, im gonna give it a go 2020-10-06T21:38:34 #kisslinux <periish> Hello! 2020-10-06T21:41:14 #kisslinux <periish> dylanaraps: did you see the latest POSIX spec? 2020-10-06T21:41:16 #kisslinux <periish> Arrays! 2020-10-06T21:55:02 #kisslinux <sh4rm4^bnc> periish, hmm? 2020-10-06T21:56:35 #kisslinux <periish> POSIX Shell may be getting an extension for arrays soon; it's been patched into the spec 2020-10-06T21:57:14 #kisslinux <periish> The 4k page PDF containing this revision does not seem to have been generated yet