2020-05-01T00:22:37 #kisslinux Anybody know any KISS programs for notetaking? I currently use pandoc in a chroot however I am curious if there is a more simple alternative. 2020-05-01T02:12:07 #kisslinux 2020-05-01T04:17:50 #kisslinux hi guys 2020-05-01T04:18:04 #kisslinux last install keep on reboot loop 2020-05-01T04:18:12 #kisslinux where can be a problem? 2020-05-01T04:18:32 #kisslinux grub install susessfully 2020-05-01T04:18:44 #kisslinux may it be kernel? 2020-05-01T04:18:49 #kisslinux fstab are correct 2020-05-01T06:08:48 #kisslinux onodera: Fixed the kiss- doc strings. 2020-05-01T06:09:05 #kisslinux Also managed to get slop to build with glm in its source tree. 2020-05-01T06:37:00 #kisslinux Also freerdp to build 2020-05-01T08:51:17 #kisslinux dylan01: By the way, I encountered an errexit gotcha I didn't consider today; it was something like `set -e; f() { ((var)) && echo foo; }; f; echo bar`. This would exit if $var evaluated to 0 since it's the last command executed and thus the function returns false. It's a very specific situation, but it puts some potential validity to your use of `! cmd1 || cmd2`. 2020-05-01T10:03:57 #kisslinux �o 2020-05-01T10:04:05 #kisslinux o * 2020-05-01T11:48:34 #kisslinux does boost fail to build for anyone else? 2020-05-01T11:48:45 #kisslinux im getting tons of `internal compiler error: Segmentation fault` 2020-05-01T11:48:49 #kisslinux this is with gcc 10 btw 2020-05-01T11:53:13 #kisslinux Interesting 2020-05-01T11:54:09 #kisslinux Let me try 2020-05-01T11:57:49 #kisslinux I tried it without all me fancy cfalgs as well of cource 2020-05-01T11:58:09 #kisslinux the thing is I am running the newest boost 2020-05-01T11:58:17 #kisslinux so it did compile fine a while ago? 2020-05-01T11:58:31 #kisslinux maybe has something to do with the bootstrapping 2020-05-01T11:59:52 #kisslinux I'm also on GCC 10 (PGO'd though). I'm just waiting for the boost sources to download before I try and build it. 2020-05-01T11:59:58 #kisslinux Boost is huge! 2020-05-01T12:00:05 #kisslinux yeah right 2020-05-01T12:04:08 #kisslinux We're building 2020-05-01T12:04:18 #kisslinux I'm also building rust at the same time mind you 2020-05-01T12:05:10 #kisslinux (-j8 on both and no loss in responsiveness) 2020-05-01T12:05:25 #kisslinux nice 2020-05-01T12:05:36 #kisslinux my pc sometimes hangs when building since a year or so 2020-05-01T12:05:44 #kisslinux I suspect I messed something up in my kernel or something 2020-05-01T12:06:18 #kisslinux I'm using MuQSS which I should probably thank for this 2020-05-01T12:06:39 #kisslinux Oh 2020-05-01T12:06:46 #kisslinux And I have Firefox open with a lot of tabs :P 2020-05-01T12:09:39 #kisslinux yeah im using muqss as well 2020-05-01T12:09:41 #kisslinux and bfq 2020-05-01T12:11:12 #kisslinux Nice 2020-05-01T12:16:09 #kisslinux onodera: Boost built fine here. 2020-05-01T12:28:04 #kisslinux uff 2020-05-01T12:28:05 #kisslinux alright 2020-05-01T12:28:21 #kisslinux the thing is, it keeps building even minutes after initially failing 2020-05-01T12:28:28 #kisslinux so tracking down the first failure is a pain 2020-05-01T12:29:08 #kisslinux Yeah 2020-05-01T12:29:18 #kisslinux If you do `-j1` it should make things easier (at the cost of time) 2020-05-01T12:37:48 #kisslinux I am working on a Carbs BSD :P 2020-05-01T12:39:10 #kisslinux https:/camille.sh/7RsT.txt 2020-05-01T12:39:17 #kisslinux like the very first thing it does fails already 2020-05-01T12:39:59 #kisslinux brb 2020-05-01T12:40:10 #kisslinux onodera: Maybe your GCC build is broken in some way. 2020-05-01T12:43:59 #kisslinux the thing is, it did build for me a few days ago 2020-05-01T12:51:26 #kisslinux 1.72 also fails, so something must have changed on my computer since last building boost 2020-05-01T12:52:12 #kisslinux Got an older version of gcc in your cache? 2020-05-01T12:52:26 #kisslinux i haven't updated gcc in like a week 2020-05-01T12:52:26 #kisslinux 'kiss i ~/.cache/kiss/bin/gcc-blabla.tar.gz` 2020-05-01T12:52:29 #kisslinux Oh 2020-05-01T12:52:44 #kisslinux and the boost 1.73 bump is from 2 days ago 2020-05-01T12:52:57 #kisslinux I am running boost 1.73, I probably updated boost yesterday 2020-05-01T12:53:00 #kisslinux which worked fine 2020-05-01T12:53:50 #kisslinux That is weird 2020-05-01T12:53:56 #kisslinux crux had a very cool command called `revdep`, which foud broken packages/libraries, does kiss have this 2020-05-01T12:54:45 #kisslinux https://crux.nu/gitweb/?p=tools/prt-utils.git;a=tree;f=revdep;h=cf752cfb30dc030da4254825d66dabb6f425428e;hb=HEAD 2020-05-01T12:55:46 #kisslinux KISS kinda does this post-build by using 'ldd' to fix-up depends files. 2020-05-01T12:56:08 #kisslinux ie, you won't be able to `kiss r` something if it links to something else. 2020-05-01T12:56:39 #kisslinux As the depends of everything include anything found by 'ldd' 2020-05-01T12:56:54 #kisslinux boost depends on icu 2020-05-01T12:57:07 #kisslinux which recently updates, let me see if it has something to do with it 2020-05-01T12:57:21 #kisslinux tbh i suspect an lto thing again lol 2020-05-01T12:57:30 #kisslinux maybe i just should just drop this placebo flag 2020-05-01T12:57:45 #kisslinux I found LTO related issues/bug reports when I searched for the compiler error 2020-05-01T12:57:50 #kisslinux So... maybe. 2020-05-01T12:58:15 #kisslinux there is no way I will ever win back the time debugging LTO things with the miniscule performance improvements it gives me :p 2020-05-01T12:58:26 #kisslinux I'm just doing -march=native -O3 -pipe + GCC PGO'd. 2020-05-01T12:58:42 #kisslinux does a PGO'd gcc speed things up a lot? 2020-05-01T12:58:51 #kisslinux it basically means it builds it twice right? 2020-05-01T12:59:25 #kisslinux It builds itself 4 or 5 times I recall 2020-05-01T12:59:31 #kisslinux damn 2020-05-01T12:59:36 #kisslinux GCC has a regular bootstrap process which builds itself 3 times. 2020-05-01T12:59:54 #kisslinux (We add --disable-bootstrap for minor bumps of GCC versions to avoid the build times) 2020-05-01T13:00:55 #kisslinux I haven't done any benchmarks though I've seen benchmarks (7% increase in performance (or a 7% decrease in time(?))) in the GCC documentation. 2020-05-01T13:01:14 #kisslinux hm that might add up 2020-05-01T13:01:24 #kisslinux All you need to do is: make profiledbootstrap 2020-05-01T13:01:30 #kisslinux It also applies some form of LTO 2020-05-01T13:02:10 #kisslinux > Experiments done on x86 using gcc 3.3 showed approximately 7 percent speedup on compiling C programs. 2020-05-01T13:02:11 #kisslinux lol 2020-05-01T13:02:16 #kisslinux alright, rebuilding icu without any flags, and boost without any flags, doesn't fix it 2020-05-01T13:02:21 #kisslinux Older than I remembered. 2020-05-01T13:02:48 #kisslinux onodera: Try with GCC 9 (despite it working with my GCC 10) 2020-05-01T13:38:49 #kisslinux dylan02: ;& <- is this the correct way to fall through in a case statement 2020-05-01T13:40:19 #kisslinux alright that fails, so it seems not 2020-05-01T13:40:31 #kisslinux it's a bash hting 2020-05-01T13:42:37 #kisslinux hello hello hello 2020-05-01T13:43:34 #kisslinux Hello 2020-05-01T13:43:41 #kisslinux hows it going 2020-05-01T13:45:58 #kisslinux kiss linux is the best distro 2020-05-01T13:46:06 #kisslinux agree 2020-05-01T13:46:16 #kisslinux everybody gather 'round. we're gonna get a circle jerk goin here. 2020-05-01T13:47:00 #kisslinux how do you think kiss would do as a webserver? 2020-05-01T13:47:04 #kisslinux I prefer manjaro 2020-05-01T13:47:32 #kisslinux arch linux is the new ubuntu 2020-05-01T13:48:27 #kisslinux eh more manjaro is the new ubuntu 2020-05-01T13:48:38 #kisslinux arch is the new debian 2020-05-01T13:48:50 #kisslinux aaaah manjaro, the "please roll back your clocks" distro 2020-05-01T13:49:37 #kisslinux has anyone here that runs kiss completed a LFS pc? 2020-05-01T13:49:57 #kisslinux a LFS pc? 2020-05-01T13:50:02 #kisslinux linux from scratch 2020-05-01T13:50:17 #kisslinux http://www.linuxfromscratch.org/ 2020-05-01T13:50:17 #kisslinux kind of i guess? 2020-05-01T13:51:18 #kisslinux what do you mean kind of 2020-05-01T13:52:01 #kisslinux LFS is obviously glibc and KISS is not "LFS" by the book 2020-05-01T13:52:28 #kisslinux no no, im asking if anyone that runs KISS has built their own linux distro as well 2020-05-01T13:52:33 #kisslinux im not asking if kiss IS lfs 2020-05-01T13:53:08 #kisslinux I'm making a (technically) other distro based on KISS so, kinda? 2020-05-01T13:53:23 #kisslinux lfs is just a source distro without a package manager 2020-05-01T13:53:38 #kisslinux I have 2020-05-01T13:53:42 #kisslinux Necros1s: https://k1ss.org/faq 2020-05-01T13:53:45 #kisslinux konimex so whats your fork of kiss going to be for? 2020-05-01T13:54:37 #kisslinux Necros1s: Linux without GNU 2020-05-01T13:54:38 #kisslinux dilynm can you give me some thoughts on the difference between LFS and kiss? im getting a new laptop soon and i have at least a month of free time and wanted to know if i should give LFS a try 2020-05-01T13:54:55 #kisslinux konimex very good, gnu is evil 2020-05-01T13:55:00 #kisslinux I already have a working KISS without GNU (on runtime, at least) 2020-05-01T13:55:11 #kisslinux KISS is LFS except someone did the book for you 2020-05-01T13:55:18 #kisslinux I don't think GNU is inherently evil, but GNU/Linux is a stupid name 2020-05-01T13:55:44 #kisslinux And then went through the work of doing the Xorg chapters in BLFS, and made sure to actually do package management right from the start in chapter 5 2020-05-01T13:56:23 #kisslinux i didnt get into too much depth with void's xbps-src app, but it seems very much like kiss's pkgmgr 2020-05-01T13:58:51 #kisslinux Necros1s: give kiss linux a try you wont be disappointed :p 2020-05-01T13:59:16 #kisslinux im running kiss on both of my laptops, broham. 2020-05-01T13:59:29 #kisslinux im chatting with you on it right now 2020-05-01T13:59:35 #kisslinux konimex: you mean GNU plus Linux. 2020-05-01T13:59:38 #kisslinux Linux is not an operating system unto itself, but rather another free component of a fully functioning GNU system made useful by the GNU corelibs, shell utilities and vital system components comprising a full OS as defined by POSIX. 2020-05-01T14:00:37 #kisslinux kiss is the best distro i have ran, and i've been running linux since 1997 or so (with a 6 year break from 2010 - 2016 2020-05-01T14:01:08 #kisslinux but i've just wanted to get more in depth and maybe make my own 2020-05-01T14:01:21 #kisslinux yeah I have to agree 2020-05-01T14:01:30 #kisslinux though I will always have a soft spot for CRUX 2020-05-01T14:02:40 #kisslinux I wonder how many users KISS has now 2020-05-01T14:02:46 #kisslinux 7 2020-05-01T14:03:22 #kisslinux This is the downside to no analytics/tracking/whatever of any kind. You have no numbers! 2020-05-01T14:03:43 #kisslinux This is how it should be though. 2020-05-01T14:04:25 #kisslinux dylan02: you can see how many people cloned the git repo 2020-05-01T14:04:32 #kisslinux im pretty sure 2020-05-01T14:05:12 #kisslinux I don't think those statistics have ever been right 2020-05-01T14:05:22 #kisslinux But you are right that they exist 2020-05-01T14:05:32 #kisslinux Forgot all about what GitHub itself collects :P 2020-05-01T14:11:27 #kisslinux kiss needs its own git server 2020-05-01T14:16:40 #kisslinux nice chatting with you people, i'll be back sometime in the future! 2020-05-01T14:17:20 #kisslinux been a while since I've seen bitchx 2020-05-01T14:18:41 #kisslinux eh I prefer github 2020-05-01T14:19:03 #kisslinux keeps it easy for new people to contribute 2020-05-01T14:30:33 #kisslinux well, git is distributed so multiple remotes is possible 2020-05-01T15:07:14 #kisslinux o/ 2020-05-01T15:20:44 #kisslinux lieu: o/ 2020-05-01T15:29:20 #kisslinux rust downgrade? 2020-05-01T15:30:17 #kisslinux Yeah. Firefox can't be built with the latest. (I'll put a rationale in the commit if this happens again. Apologies for you having to come and ask me.) 2020-05-01T15:30:41 #kisslinux no worries, i appreciate working software 2020-05-01T15:30:48 #kisslinux dylan02: how long did it took you to have a working xorg-server on kiss? 2020-05-01T15:31:28 #kisslinux https://k1ss.org/news/20190811a 2020-05-01T15:31:30 #kisslinux i wonder, at the risk of introducing complexity, if when showing an upgrade or downgrade from kiss u, we could put the latest git log? or tail -1 packagedir/news 2020-05-01T15:32:06 #kisslinux lieu: From the first commit to kisslinux/repo to that post's date I'd say. 2020-05-01T15:32:48 #kisslinux micro_O: That's a possibility. Maybe showing the latest commit message for each package needing an update. 2020-05-01T15:33:07 #kisslinux also, is anyone using something like a keychain manager? i.e. I use sudo and masterpassword and ssh and really only want to have to type in my password once a day or so 2020-05-01T15:33:59 #kisslinux > (dd/mm/yyyy) 09/05/2019 -> 11/08/2019 2020-05-01T15:34:13 #kisslinux About 3 months from day zero until KISS was running on my laptop. 2020-05-01T15:34:26 #kisslinux most commit messages are in the format package: update to vX.Y, which isn't the most descriptive 2020-05-01T15:34:47 #kisslinux huh :( i might just copy the build scripts from arch lol 2020-05-01T15:34:58 #kisslinux Yeah. Were we to make the change I'd request that rationale be added when needed. 2020-05-01T15:35:01 #kisslinux but if we start showing that line, people might start putting news they want in the commit logs 2020-05-01T15:35:14 #kisslinux Yeah 2020-05-01T15:35:39 #kisslinux But, you could use post-install for that 2020-05-01T15:35:55 #kisslinux hell, they might even put happy messages like "bump water from v2.1.0 to 2.1.1. stay hydrated!" 2020-05-01T15:36:13 #kisslinux certainly for something like a downgrade, a rationale would be much appreciated 2020-05-01T15:36:22 #kisslinux Necros1s: I had my own LFS, by the way. 2020-05-01T15:36:33 #kisslinux merakor: I think we definitely should start with a post-install to experiment with the idea 2020-05-01T15:38:18 #kisslinux I personally do that on my own packages 2020-05-01T15:38:33 #kisslinux What I also want to do is "queue" post-install scripts to run _after_ everything is done. 2020-05-01T15:38:40 #kisslinux This way the output is right at the end. 2020-05-01T15:38:52 #kisslinux It isn't lost in the scroll of the terminal output. 2020-05-01T15:39:16 #kisslinux i would prefer the output to be tee'd 2020-05-01T15:39:26 #kisslinux but the actions to be run inline 2020-05-01T15:39:35 #kisslinux in case there are side-effects for necessary dependencies 2020-05-01T15:39:38 #kisslinux Yeah, since most non-message post-installs don't do important changes on the system, they can be run after 2020-05-01T15:41:01 #kisslinux uhhh, why chance it? 2020-05-01T15:42:47 #kisslinux (postinstall | tee -a $LOGDIR/$(date %+s).postinstall.log) && cat $THAT_LOG 2020-05-01T15:42:56 #kisslinux There could simply be a plaintext 'message' file that can be outputted with cat 2020-05-01T15:43:17 #kisslinux yeah that sounds good 2020-05-01T15:48:01 #kisslinux would there be any issues with longer post-install outputs? 2020-05-01T15:54:37 #kisslinux I think it'll be better to just overhaul the logging capabilities of the package manager to keep track of things like this. Logging updates, when packages are installed, etc etc. 2020-05-01T15:54:52 #kisslinux (This could include a post-install log as well) 2020-05-01T15:55:11 #kisslinux I'm just throwing around ideas 2020-05-01T16:08:08 #kisslinux Could potentially log packages installed explicitly versus as dependencies? 2020-05-01T16:08:55 #kisslinux It isn't hard to keep track of <150 packages but it'd be cute 2020-05-01T16:13:07 #kisslinux You could do this with a simple shell wrapper 2020-05-01T16:14:21 #kisslinux dylan02: https://ckyln.com/files/RFp0.txt 2020-05-01T16:14:31 #kisslinux What about something like this? 2020-05-01T16:22:28 #kisslinux dilynm: https://termbin.com/3676q 2020-05-01T16:25:50 #kisslinux merakor: We should use 'post-install' for this. I'm against adding another file when we have something which works already. 2020-05-01T16:27:38 #kisslinux Same thing can be done with post-installs to queue them 2020-05-01T16:27:41 #kisslinux So they are not lost 2020-05-01T17:05:46 #kisslinux merakor: We're safe to queue post-installs. 2020-05-01T17:07:12 #kisslinux I think we just use 'tee' and a 'cat' at the end. 2020-05-01T17:07:19 #kisslinux It's the simplest solution. 2020-05-01T17:19:49 #kisslinux haven't looked into it in a while, but we can do quiet builds now, nice! 2020-05-01T17:19:59 #kisslinux kiss u >/dev/null 2020-05-01T17:22:37 #kisslinux Yeah 2020-05-01T17:27:00 #kisslinux dylan02, what is your opinion about a KISS_COLORS env var to customize/disable colors? 2020-05-01T17:29:49 #kisslinux That should be easy to add 2020-05-01T17:31:32 #kisslinux was thinking something like dir colors where you use a colon to separate the different color attributes 2020-05-01T17:32:16 #kisslinux definitely think when piping colors should be disabled (if they aren't already) 2020-05-01T17:33:46 #kisslinux (or generally in a non-interactive terminal?) 2020-05-01T17:33:46 #kisslinux they aren't disabled right now 2020-05-01T17:34:13 #kisslinux aarng is it that you want to choose different colors than your terminal color scheme, or just enable/disable? 2020-05-01T17:34:36 #kisslinux I want to disable them honestly 2020-05-01T17:34:54 #kisslinux all my terminal stuff uses very few colors 2020-05-01T17:35:16 #kisslinux I don't use ls --color=auto for instance 2020-05-01T17:37:53 #kisslinux dylan02: post install with changelog would be nice 2020-05-01T17:37:55 #kisslinux something like that 2020-05-01T17:37:58 #kisslinux Yeah 2020-05-01T17:41:09 #kisslinux yeah i guess my second question is, are we using the currently configured terminal colors, and if so, is there a way to just set them to what you want before running kiss? 2020-05-01T17:41:25 #kisslinux basically does this need to be a kiss-specific feature, or does it make sense to just use what the terminal gives you 2020-05-01T17:42:51 #kisslinux dylan02: that is v cute. I like it 2020-05-01T17:43:06 #kisslinux Also, fixed my Falkon fix not fixing things 2020-05-01T17:43:48 #kisslinux like using setterm 2020-05-01T17:43:53 #kisslinux micro_O: no, It's more like making it use color2 instead of color3 for the arrow 2020-05-01T17:44:15 #kisslinux just like LS_COLORS basically 2020-05-01T17:51:15 #kisslinux yeah i guess it just bums me out there isn't a kind of universal way to set all these, at the terminal level, instead each app has to implement it again 2020-05-01T17:53:25 #kisslinux We'll come up with something :P 2020-05-01T18:06:24 #kisslinux did anyone ever find bluez/bluetooth without dbus dependency? 2020-05-01T18:14:20 #kisslinux It needs the eiwd/iwd treatment though even then it's a lot of work. 2020-05-01T18:14:38 #kisslinux Bluez is available in this repository with dbus if you'd like to use it anyway: https://github.com/periish/kiss-dbus 2020-05-01T18:30:49 #kisslinux forgive my ignorant question, but where/how do you even start giving it the eiwd treatment? is there a lower level in the bluetooth stack that can be built on top? 2020-05-01T19:40:19 #kisslinux what irc clients do you all use? 2020-05-01T19:41:28 #kisslinux birch 2020-05-01T19:41:36 #kisslinux irssi 2020-05-01T19:42:41 #kisslinux irssi 2020-05-01T19:43:54 #kisslinux although I'm still fairly new to irssi and irc in general 2020-05-01T19:45:28 #kisslinux me too 2020-05-01T19:45:49 #kisslinux i might try out birch 2020-05-01T19:45:55 #kisslinux but I suspect it is too minimal for me 2020-05-01T19:46:56 #kisslinux the basics.. its very lightweight like the Os we run 2020-05-01T19:47:40 #kisslinux my irssi has some nice plugins though 2020-05-01T19:48:01 #kisslinux spellcheck, mouse scrolling, a bar showing the message I saw last 2020-05-01T19:49:34 #kisslinux nice i'll try too rssi 2020-05-01T19:50:33 #kisslinux and for music.. what do you use 2020-05-01T19:51:41 #kisslinux mpd+ncmpcpp 2020-05-01T19:51:46 #kisslinux nothing better than it tbh 2020-05-01T19:52:00 #kisslinux no visuals on ncmpcpp here.. I dont know why 2020-05-01T19:52:31 #kisslinux you mean the visualizer? 2020-05-01T19:53:14 #kisslinux Yes anything else its ok 2020-05-01T19:53:17 #kisslinux himmalerin: I use weechat, but I'm working on my own IRC client in Lua :) 2020-05-01T19:53:51 #kisslinux birch is pretty buggy 2020-05-01T19:54:39 #kisslinux paralogik: did you setup mpd to generate a fifo file? 2020-05-01T19:54:42 #kisslinux birch has been fine for me, except i literally use it only to connect and talk to this channel 2020-05-01T19:55:39 #kisslinux you need fftw i think for the visualizer 2020-05-01T19:55:53 #kisslinux Nice.. I wish to have your programming skills but i'm noob. It took me 3 days to install Kiss Linux with trial and error 2020-05-01T19:58:02 #kisslinux So no visualizer on ncmpcpp or its only me... 2020-05-01T19:59:07 #kisslinux kiedtl: is that client public somewhere already? 2020-05-01T19:59:40 #kisslinux paralogik: check out the gentoo package for ncmpcpp 2020-05-01T20:00:09 #kisslinux they probably have an USE_FLAG for the virtualizer, from there you can see whar build flag and/or dependency you are missing 2020-05-01T20:00:15 #kisslinux aarng: you mean the one I'm working on? 2020-05-01T20:00:32 #kisslinux ya 2020-05-01T20:00:57 #kisslinux aarng: yes, but beware most of it is still unimplemented. 2020-05-01T20:01:03 #kisslinux here: https://github.com/lptstr/leirc 2020-05-01T20:01:13 #kisslinux cheers 2020-05-01T20:01:24 #kisslinux all good, just curious 2020-05-01T20:01:39 #kisslinux Onodera thanks .. I ve already checked alpine linux musl ncmpcmm binary without success 2020-05-01T20:01:41 #kisslinux thanks ;) 2020-05-01T20:02:13 #kisslinux or the official ncmpcpp documentation probably mentions it 2020-05-01T20:05:07 #kisslinux some alpine linux binaries are working well in Kiss (alacritty etc ..) 2020-05-01T20:06:55 #kisslinux kiedtl, interesting, lua rocks 2020-05-01T20:07:07 #kisslinux indeed 2020-05-01T20:07:29 #kisslinux it's pretty close to what I did, a small C component which does the irc connection and nothing more, rest in a different languange 2020-05-01T20:07:47 #kisslinux I too used sic but awk instead of lua 2020-05-01T20:07:48 #kisslinux yeah, my plan is to eventually move most of the stuff into Lua. 2020-05-01T20:07:53 #kisslinux awk 2020-05-01T20:07:55 #kisslinux ? 2020-05-01T20:07:57 #kisslinux ? 2020-05-01T20:08:02 #kisslinux yeh 2020-05-01T20:08:06 #kisslinux ! 2020-05-01T20:08:44 #kisslinux it's a ii style (file based) irc client tho, not everyones cup of tea :) 2020-05-01T20:08:59 #kisslinux I see 2020-05-01T20:09:33 #kisslinux I suppose the C core just outputs the server messages unmodified/unparsed, and the awk part formats it? 2020-05-01T20:09:42 #kisslinux or...? 2020-05-01T20:09:49 #kisslinux yep, exactly like that 2020-05-01T20:10:04 #kisslinux it also reads user input from a fifo and forwards that too 2020-05-01T20:10:13 #kisslinux ah 2020-05-01T20:10:25 #kisslinux I'm working on moving the connection bits to Lua too 2020-05-01T20:10:35 #kisslinux and to distinguish between irc and user messages, I simply add a 1 letter prefix 2020-05-01T20:11:27 #kisslinux so you would have the c component only for the socket/select stuff? 2020-05-01T20:12:38 #kisslinux yep 2020-05-01T20:12:59 #kisslinux I eventually want to get rid of the config.h 2020-05-01T20:13:05 #kisslinux and move the configuration completely to lua 2020-05-01T20:13:13 #kisslinux -int 2020-05-01T20:13:15 #kisslinux -leirc_connect(lua_State *L) 2020-05-01T20:13:17 #kisslinux -{ 2020-05-01T20:13:19 #kisslinux - char *host = luaL_checkstring(L, 1); 2020-05-01T20:13:21 #kisslinux - char *port = luaL_checkstring(L, 2); 2020-05-01T20:13:23 #kisslinux - 2020-05-01T20:13:25 #kisslinux - int fd = dial(host, port); 2020-05-01T20:13:27 #kisslinux - if (!fd) { 2020-05-01T20:13:29 #kisslinux - return luaL_error(L, "error:" 2020-05-01T20:13:31 #kisslinux - "unable to resolve server: %sn", 2020-05-01T20:13:33 #kisslinux - strerror(errno)); 2020-05-01T20:13:35 #kisslinux - } 2020-05-01T20:13:37 #kisslinux - 2020-05-01T20:13:39 #kisslinux - server = fdopen(fd, "r+"); 2020-05-01T20:13:41 #kisslinux - 2020-05-01T20:13:43 #kisslinux - if (!server) { 2020-05-01T20:13:45 #kisslinux - return luaL_error(L, "error:" 2020-05-01T20:13:47 #kisslinux - "unable to connect to server: %sn", 2020-05-01T20:13:49 #kisslinux - strerror(errno)); 2020-05-01T20:13:51 #kisslinux - } 2020-05-01T20:13:53 #kisslinux - 2020-05-01T20:13:55 #kisslinux - return 0; 2020-05-01T20:13:57 #kisslinux -} 2020-05-01T20:13:59 #kisslinux oops 2020-05-01T20:14:01 #kisslinux sorry :( 2020-05-01T20:14:03 #kisslinux pasted into the wrong terminal 2020-05-01T20:14:08 #kisslinux :D 2020-05-01T20:14:15 #kisslinux :/ 2020-05-01T20:14:28 #kisslinux at least your clients flood protection works 2020-05-01T20:14:48 #kisslinux better that then the one time I saw someone paste their password into an irc server 2020-05-01T20:16:09 #kisslinux lol 2020-05-01T20:16:30 #kisslinux aarng: btw, do you know which rfc should be followed when implementing an IRC client: rfc1459 or rfc281* ? 2020-05-01T20:16:55 #kisslinux from what I gather sic follows rfc1459 but rfc281* is newer...? 2020-05-01T20:16:56 #kisslinux himmalerin: how did you know it was their password? 2020-05-01T20:16:58 #kisslinux no, sorry 2020-05-01T20:17:13 #kisslinux dylan02: how did you build this fast gcc again? 2020-05-01T20:17:15 #kisslinux I didn't fully implement everything anyway 2020-05-01T20:17:20 #kisslinux ok, nvm 2020-05-01T20:17:26 #kisslinux but I did more than many custom IRC clients 2020-05-01T20:17:34 #kisslinux like ISUPPORT and proper casefolding 2020-05-01T20:17:46 #kisslinux misc__: I don't specifically know it _was_, but it was 8 random characters and they said "oops" after sending it so I'm guessing it was a password to something 2020-05-01T20:24:45 #kisslinux 'make profiledbootstrap' 2020-05-01T20:24:49 #kisslinux onodera: 2020-05-01T21:07:24 #kisslinux after a reboot, suddnely my x no longer starts 2020-05-01T21:07:31 #kisslinux also doesn't write a log...... 2020-05-01T21:07:46 #kisslinux i tried recompiling mesa 2020-05-01T21:08:07 #kisslinux and now amdgpu, but amdgpu is saying "Missing GBM" 2020-05-01T21:08:13 #kisslinux which seems to be part of mesa? 2020-05-01T21:13:51 #kisslinux I presume that this isn't an issue with shared libraries? 2020-05-01T21:16:55 #kisslinux i have no idea really 2020-05-01T21:17:16 #kisslinux I can't see of some shared libery is broken 2020-05-01T21:18:09 #kisslinux I will drop the whole lto stuff and recompile my system lol 2020-05-01T21:18:34 #kisslinux dylan02: how did you create this fast PGO's gcc? 2020-05-01T21:19:13 #kisslinux Sounds like a good idea. If you'd like, I can work with you on getting LTO to a usable state. (I wasn't aware that it wasn't prior to your experience with it). 2020-05-01T21:19:19 #kisslinux onodera: 'make profiledbootstrap' 2020-05-01T21:19:35 #kisslinux And you then need to remove '--disable-bootstrap' if it's in the configure flags. 2020-05-01T21:19:42 #kisslinux That should be it. 2020-05-01T21:23:11 #kisslinux thanks 2020-05-01T21:23:28 #kisslinux yeah maybe it is better to do things per package rather than plunging with a whole system in lto 2020-05-01T21:24:28 #kisslinux make should be replaced make profiledbootstrap right? 2020-05-01T21:24:42 #kisslinux Yeah 2020-05-01T21:25:11 #kisslinux I'm using GCC 10 as well (and everything works fine) 2020-05-01T21:29:22 #kisslinux watching lines scroll by 2020-05-01T21:29:59 #kisslinux dylan02: are you just using the -ck kernel or did you apply custom optamizations? 2020-05-01T21:31:34 #kisslinux I use the vanilla sources and add my own patches 2020-05-01T21:32:24 #kisslinux I currently use one from Clear Linux (Speeds up boot), another to enable '-march=native' and finally, the -ck patch. 2020-05-01T21:33:03 #kisslinux I usually use quite a few Clear Linux patches though I haven't gotten around to it yet with this new laptop 2020-05-01T21:34:06 #kisslinux i use the zen kernel patches 2020-05-01T21:34:24 #kisslinux which is ck, some desktop tuning, and includes a march native patch as well 2020-05-01T21:34:41 #kisslinux though im always paranoid that i have some option set in a wrong way 2020-05-01T21:38:03 #kisslinux hi guys 2020-05-01T21:40:41 #kisslinux hi 2020-05-01T21:46:57 #kisslinux finally get working. 2020-05-01T21:47:19 #kisslinux defconfig need to set GUI partiton scheme on kernel and add btrfs support 2020-05-01T21:47:39 #kisslinux but i dont remember where is kernel templates on source tree. 2020-05-01T21:47:57 #kisslinux has to be a defconfig efi or somthing 2020-05-01T21:52:19 #kisslinux `make defconfig` selects EFI partition stuff for me 2020-05-01T21:52:26 #kisslinux But I'm glad you got it working! 2020-05-01T22:03:29 #kisslinux aha 2020-05-01T22:03:43 #kisslinux copy couple setting on void to vanilla kernel. 2020-05-01T22:43:10 #kisslinux dylan02: does kiss b also install them? 2020-05-01T22:43:59 #kisslinux dylan02: what's a POSIX way to do head -c -20? 2020-05-01T22:44:04 #kisslinux so printing all but the last 20 bytes of a file 2020-05-01T23:08:54 #kisslinux E5ten: awk -vRS= '{ sub(/n$/, ""); print substr($0, 1, length($0) - 20) }' 2020-05-01T23:10:06 #kisslinux this always loads the entire file into memory and I'd assume tail seeks from the end if that's possible and is a lot more efficient that way 2020-05-01T23:16:39 #kisslinux could also use `dd` 2020-05-01T23:18:42 #kisslinux `dd if= status=none ibs= count=1` 2020-05-01T23:19:39 #kisslinux but the existence or lack of a trailing newline is still a problem with that