💾 Archived View for gemini.ctrl-c.club › ~phoebos › logs › freenode-kisslinux-2020-04-15.txt captured on 2024-05-26 at 16:25:48.
⬅️ Previous capture (2021-12-17)
-=-=-=-=-=-=-
2020-04-15T02:11:25 #kisslinux <TinyPen1s> a lot more people in here than i thought would be 2020-04-15T02:12:37 #kisslinux <TinyPen1s> dilyn: you make an awesome OS, but it takes for-fucking-ever to compile firefox.. thats not your fault tho 2020-04-15T02:12:45 #kisslinux <dilyn> Anybody ever had gcc complain about an unrecognized flag (-Qunused-arguments)? I can't for the life of me figure out how to get rid of it 2020-04-15T02:12:54 #kisslinux <dilyn> Dilyn != Dylan 2020-04-15T02:12:57 #kisslinux <dilyn> F 2020-04-15T02:12:59 #kisslinux <TinyPen1s> d'oh 2020-04-15T02:13:06 #kisslinux <TinyPen1s> forward the message 2020-04-15T02:13:21 #kisslinux <TinyPen1s> :D 2020-04-15T02:13:54 #kisslinux <E5ten> dilyn: that's a clang flag, what're you building when that error shows up? 2020-04-15T02:14:15 #kisslinux <dilyn> I figured it was 2020-04-15T02:14:29 #kisslinux <dilyn> Building broadcom-wl 2020-04-15T02:22:01 #kisslinux <dilyn> I love breaking things 2020-04-15T03:50:36 #kisslinux <muevoid> Hello everybody! Does anyone here have a webcam working in any browser? I cant seem to get mine to work no matter what kernel options I select or what browser I use so far ive tried vimb and firefox-bin 2020-04-15T03:58:20 #kisslinux <lieu> muevoid: Build firefox without the `--disable-webrtc` mozconfig option. 2020-04-15T03:58:57 #kisslinux <muevoid> Is there anyway to do this with vimb 2020-04-15T05:05:44 #kisslinux <dylan02> Looks like we have some time until libressl needs a bump. We'll wait till 3.1.1 (iirc) which should be the first non-dev release. 2020-04-15T05:39:24 #kisslinux <dylan02> Pushed the CRUX-like feature for KISS. 2020-04-15T05:39:26 #kisslinux <dylan02> I like it 2020-04-15T06:07:16 #kisslinux <dylan02> New kiss release. https://github.com/kisslinux/kiss/releases/tag/1.10.3 2020-04-15T06:15:52 #kisslinux <illiliti> dylan02: https://bbs.archlinux.org/viewtopic.php?id=254649 2020-04-15T06:16:51 #kisslinux <dylan02> lol 2020-04-15T06:16:55 #kisslinux <dylan02> This will be a fun read 2020-04-15T06:17:10 #kisslinux <dylan02> illiliti: I left a comment on the PR (in init) about the for loop. 2020-04-15T06:25:29 #kisslinux <dylan02> Heh 2020-04-15T06:26:07 #kisslinux <dylan02> They're right to question the rsync usage though bare 'tar' wasn't actually usable for this purpose. 2020-04-15T06:26:58 #kisslinux <dylan02> rsync also solves the fakeroot issue (or rather how we avoid it) 2020-04-15T06:27:36 #kisslinux <dylan02> As for running rsync an additional two times, this is due to how package install works (similar to how Slackware does it). 2020-04-15T06:28:56 #kisslinux <dylan02> 1. Install the new package overwriting any files from the previous version. 2. Remove any files which exist in the previous version but not in the new version. 3. Run rsync two more times to ensure that step 2 didn't remove anything it shouldn't have. 2020-04-15T06:30:10 #kisslinux <dylan02> As for why rsync is run twice, it doesn't really matter at all. It could be a single call though I personally like to see it as: 1st call, fixes any issues. 2nd call, confirms that everything is done. 2020-04-15T06:32:12 #kisslinux <dylan02> It still surprises me how much of a debate our avoidance of gettext causes. Again, if you'd like gettext... install it! 2020-04-15T06:32:28 #kisslinux <lieu> https://github.com/kisslinux/kiss/blob/master/contrib/kiss-depends-finder#L15 2020-04-15T06:32:41 #kisslinux <dylan02> bug? 2020-04-15T06:32:52 #kisslinux <dylan02> :P 2020-04-15T06:32:58 #kisslinux <lieu> on glibc, yes 2020-04-15T06:33:01 #kisslinux <dylan02> Ah 2020-04-15T06:33:08 #kisslinux <lieu> unless i add sort -u before while 2020-04-15T06:33:36 #kisslinux <dylan02> Send me the output of 'ldd' from glibc 2020-04-15T06:34:08 #kisslinux <dylan02> https://termbin.com/vpuj 2020-04-15T06:34:18 #kisslinux <dylan02> That's /usr/lib/libxft.so on my machine 2020-04-15T06:34:26 #kisslinux <dylan02> brb 2020-04-15T06:34:30 #kisslinux <lieu> https://termbin.com/04rc 2020-04-15T06:35:02 #kisslinux <lieu> i guess the first line makes an error and terminates the scripts 2020-04-15T06:35:32 #kisslinux <dylan02> Yeah 2020-04-15T06:35:42 #kisslinux <lieu> because it's a virtual lib not installed by any package, no? 2020-04-15T06:36:03 #kisslinux <dylan02> Yeah 2020-04-15T06:36:06 #kisslinux <dylan02> It's unexpected 2020-04-15T06:36:11 #kisslinux <dylan02> https://github.com/kisslinux/kiss/blob/master/contrib/kiss-depends-finder#L17 2020-04-15T06:36:19 #kisslinux <dylan02> Just needs another line like this one to be added 2020-04-15T06:36:55 #kisslinux <lieu> ah, i see 2020-04-15T06:36:58 #kisslinux <lieu> much better 2020-04-15T06:37:07 #kisslinux <lieu> skip lines without ' => ' ? 2020-04-15T06:39:28 #kisslinux <dylan02> Yeah 2020-04-15T06:40:24 #kisslinux <TwistedFate> gnu morning everyone 2020-04-15T06:40:26 #kisslinux <TwistedFate> dylan!! 2020-04-15T06:40:28 #kisslinux <TwistedFate> hello! 2020-04-15T06:40:33 #kisslinux <TwistedFate> adam! hai! 2020-04-15T06:41:20 #kisslinux <dylan02> o/ 2020-04-15T06:41:58 #kisslinux <illiliti> dylan02: what do you mean by `splits on words` ? this behaviour is necessary 2020-04-15T06:42:12 #kisslinux <dylan02> Yeah 2020-04-15T06:42:38 #kisslinux <dylan02> But you don't also take into account each line of output right? 2020-04-15T06:42:57 #kisslinux <dylan02> What happens if there's 5 lines of output? 2020-04-15T06:43:02 #kisslinux <lieu> btw, during your hiatus, i experimented building LFS with kiss 2020-04-15T06:43:16 #kisslinux <dylan02> I guess it handles it here: https://github.com/kisslinux/init/pull/14/files#diff-ae81b90c7632f36c8866767e5a38e0f4R56 2020-04-15T06:43:17 #kisslinux <lieu> and boy was it simple lol 2020-04-15T06:43:22 #kisslinux <dylan02> Though it seems fragile to me 2020-04-15T06:43:37 #kisslinux <TwistedFate> hey dylan 2020-04-15T06:43:40 #kisslinux <TwistedFate> do you still game on kiss? 2020-04-15T06:43:45 #kisslinux <dylan02> lieu: Neat. Using glibc? 2020-04-15T06:44:22 #kisslinux <dylan02> TwistedFate: I do not. I setup a chroot to play CSS with my brother some time ago though I no longer game at all really. 2020-04-15T06:44:32 #kisslinux <dylan02> I play some chess online when I feel like it 2020-04-15T06:44:34 #kisslinux <dylan02> That's about it 2020-04-15T06:44:45 #kisslinux <TwistedFate> man, i wish i could do that 2020-04-15T06:45:11 #kisslinux <TwistedFate> games are one of the major forms of entertainment for me though 2020-04-15T06:45:43 #kisslinux <dylan02> A glibc chroot with Steam installed works perfectly 2020-04-15T06:45:48 #kisslinux <TwistedFate> i guess they're also the reason why i can't seem to learn how to do other stuff like programming and system administration >.< 2020-04-15T06:46:13 #kisslinux <dylan02> Gaming was all I used to do everyday 2020-04-15T06:46:19 #kisslinux <dylan02> You get bored of it eventually 2020-04-15T06:46:42 #kisslinux <dylan02> I have 5000 hours in CS:GO iirc 2020-04-15T06:46:46 #kisslinux <TwistedFate> it's true, happened to me also, but then i didn't have anything to do so i just continued :'D 2020-04-15T06:46:52 #kisslinux <dylan02> That's just a single game too... 2020-04-15T06:46:56 #kisslinux <lieu> dylan02: yes. kiss made the process simple and neat 2020-04-15T06:47:30 #kisslinux <dylan02> lieu: Good to know. Let me know if you found any other bugs. 2020-04-15T06:50:33 #kisslinux <TwistedFate> also, i might have some kind of a learning disorder or whatever it's called, because every time i start learning something i fail miserably. 2020-04-15T06:50:35 #kisslinux <lieu> dylan02: yeah 2020-04-15T06:50:37 #kisslinux <lieu> i already have a chrootable tarball 2020-04-15T06:50:41 #kisslinux <TwistedFate> in a way that i just lose interest :/ 2020-04-15T06:51:04 #kisslinux <lieu> an init is all i need 2020-04-15T06:51:25 #kisslinux <dylan02> I find it easier to learn things if I'm solving a problem of my own 2020-04-15T06:51:30 #kisslinux <lieu> and i might also experiment on that 2020-04-15T06:51:34 #kisslinux <lieu> s/might/will/ 2020-04-15T06:51:58 #kisslinux <dylan02> ie, write programs to "solve" your own gripes or problems. 2020-04-15T06:52:31 #kisslinux <illiliti> dylan02: no difference, this script will handle this 2020-04-15T06:52:53 #kisslinux <dylan02> illiliti: Alrighty 2020-04-15T06:53:49 #kisslinux <lieu> i'm also wondering if kiss can be made libc-agnostic 2020-04-15T06:54:13 #kisslinux <dylan02> illiliti: You should wrap the for loop in 'set -f' and 'set +f' so that '$(blkid)' doesn't expand if any special characters our in its output. 2020-04-15T06:54:48 #kisslinux <dylan02> lieu: This should already be the case if you have your own chroot tarball 2020-04-15T06:55:14 #kisslinux <dylan02> fixdeps() may need a fix for glibc though 2020-04-15T06:57:43 #kisslinux <illiliti> blkid doesn't outputs special chars, but i agree with you 2020-04-15T06:57:45 #kisslinux <lieu> dylan02: Would be nice if this was upstream, though. 2020-04-15T06:58:40 #kisslinux <lieu> As I don't want to maintain a fork, if that's the case. 2020-04-15T06:59:44 #kisslinux <lieu> Something like setting KISS_LIBC, with musl as kiss' internal default. Or something else. :D 2020-04-15T06:59:55 #kisslinux <konimex> fixdeps()'s implicit deps might need to be supplied by some external files, I think, to accomodate glibc, and in my case, llvm. current solution (sed s/gcc/llvm/g) works however so... 2020-04-15T07:00:09 #kisslinux <lieu> Just an idea, though. :D 2020-04-15T07:01:38 #kisslinux <dylan03> glibc as an option (provided by myself via tarballs/a package) isn't something I want to do. The extent I'll go is to make it so that nothing requires (or expects) musl be available. 2020-04-15T07:01:51 #kisslinux <dylan03> konimex: Anything I can do to fix this? 2020-04-15T07:02:17 #kisslinux <dylan03> I'm getting OOM when building clang (even with -j4). lol 2020-04-15T07:02:41 #kisslinux <dylan03> Turns out the 1GB of memory stolen by the AGPU is something I need to solve. 2020-04-15T07:03:05 #kisslinux <dylan03> brb 2020-04-15T07:05:38 #kisslinux <konimex> from kiss' end? I don't really know how exactly it should be "solved", like I said, the current approach/workaround works https://github.com/wyvertux/wyverkiss/blob/5718762818e8b0a1eb343e2f9bed286483bb48f5/core/kiss/build#L3 2020-04-15T07:06:19 #kisslinux <illiliti> dylan: done https://github.com/kisslinux/init/pull/14 2020-04-15T07:08:14 #kisslinux <dylan04> Thanks 2020-04-15T07:08:15 #kisslinux <dylan04> Merged 2020-04-15T07:08:30 #kisslinux <mps> dylan04: I solved these problems with adding some swap, be it on ssd or zram 2020-04-15T07:09:36 #kisslinux <mps> but not sure for firefox, last few releases need a lot of RAM/memory to build 2020-04-15T07:11:00 #kisslinux <dylan04> Yeah 2020-04-15T07:11:56 #kisslinux <lieu> dylan04: btw, your commits are from the future again 2020-04-15T07:11:56 #kisslinux <dylan04> Swap is last on my list for solutions (or workarounds). I want to see if I can solve this in another way. 2020-04-15T07:12:03 #kisslinux <dylan04> lieu: Oops 2020-04-15T07:12:11 #kisslinux <dylan04> Let me see if I setup my timezone correctly. 2020-04-15T07:12:33 #kisslinux <dylan04> > hwclock: can't open '/dev/misc/rtc': No such file 2020-04-15T07:12:37 #kisslinux <dylan04> That would explain it 2020-04-15T07:14:37 #kisslinux <lieu> dylan04: how about auto-loading modules on boot? 2020-04-15T07:15:50 #kisslinux <dylan04> lieu: I'd much rather we keep the current method. (ie, it's opt-in and kinda like a whitelist instead of a blacklist (auto with configs to disable some modules from loading). 2020-04-15T07:20:22 #kisslinux <dylan04> brb 2020-04-15T07:21:55 #kisslinux <dylan05> Clock fixed. 2020-04-15T07:23:49 #kisslinux <dylan05> konimex: I could just remove gcc from the code 2020-04-15T07:24:04 #kisslinux <dylan05> Which would then make things linking to libgcc actually depend on it 2020-04-15T07:24:06 #kisslinux <dylan05> Same goes for llvm 2020-04-15T07:24:09 #kisslinux <dylan05> What do you think? 2020-04-15T07:26:50 #kisslinux <konimex> it might work, but since gcc and llvm (in my case) both contain standard C++ library I think it should get the same treatment as musl (libc) 2020-04-15T07:27:49 #kisslinux <dylan05> The alternative would be to then add llvm to the list 2020-04-15T07:28:37 #kisslinux <konimex> for Wyver*, it works, but for KISS, I don't think so since LLVM isn't a part of the system 2020-04-15T07:29:02 #kisslinux <dylan05> So long as the depends files contain llvm where needed it'll be fine. 2020-04-15T07:29:09 #kisslinux <dylan05> ) 2020-04-15T07:29:19 #kisslinux <dylan05> Example: Our clang package depends on llvm 2020-04-15T07:30:21 #kisslinux <dylan05> The depends files should all be ready for this change if we decide to make it. 2020-04-15T07:31:01 #kisslinux <dylan05> I now have 4GB of swap. Let's see if this helps. 2020-04-15T07:34:29 #kisslinux <dylan05> > [736/1052] Building CXX object lib/Sema/CMakeFiles/obj.clangSema.dir/SemaModule.cpp.o 2020-04-15T07:34:32 #kisslinux <dylan05> Huzzah 2020-04-15T07:35:02 #kisslinux <dylan05> > Memory: 6815MiB / 6917MiB 2020-04-15T07:35:12 #kisslinux <dylan05> I'm surprised clang's build is using so much ram though 2020-04-15T07:35:27 #kisslinux <lieu> dylan05: not harmful, but https://termbin.com/qfra 2020-04-15T07:36:16 #kisslinux <dylan05> Heh 2020-04-15T07:36:17 #kisslinux <dylan05> Will fix 2020-04-15T07:40:01 #kisslinux <lieu> dylan05: Can this go upstream? -> https://termbin.com/3vti :D 2020-04-15T07:41:25 #kisslinux <dylan05> So it'd be musl or glibc as values? 2020-04-15T07:41:41 #kisslinux <lieu> Yeah 2020-04-15T07:42:28 #kisslinux <lieu> Can be the same with gcc :D 2020-04-15T07:42:55 #kisslinux <lieu> KISS_CC or something lol 2020-04-15T07:45:32 #kisslinux <dylan05> I'd much rather we try and figure out how CC/libc are treated differently and work towards making them fully "generic" (if at all possible) 2020-04-15T07:52:59 #kisslinux <merakor> dylan05: Why are you getting newer nicks constantly :P 2020-04-15T07:55:14 #kisslinux <dylan05> merakor: I haven't setup birch fully yet 2020-04-15T07:55:29 #kisslinux <dylan05> Baby steps 2020-04-15T07:55:34 #kisslinux <merakor> Oh, I see 2020-04-15T07:55:48 #kisslinux <merakor> I have removed bash from my system 2020-04-15T07:56:26 #kisslinux <dylan05> i'd like to as well 2020-04-15T07:56:35 #kisslinux <dylan05> Just need to find an irc client I can put up with ;) 2020-04-15T07:56:52 #kisslinux <dylan05> I'm using my time to push a new firefox-bin for the latest ESR 2020-04-15T07:56:57 #kisslinux <merakor> I am using ii with my own client with POSIX sh 2020-04-15T07:57:14 #kisslinux <dylan05> Nice 2020-04-15T07:58:16 #kisslinux <merakor> Oh by the way, I have sent you a mail two weeks ago, but you might find it pretty dumb. 2020-04-15T07:58:39 #kisslinux <merakor> It's probably buried in all those Github notifications 2020-04-15T07:59:04 #kisslinux <dylan05> Which email address? 2020-04-15T07:59:20 #kisslinux <dylan05> I only logged back into one of my email accounts this morning. 2020-04-15T07:59:25 #kisslinux <dylan05> Haven't had access at all 2020-04-15T07:59:33 #kisslinux <merakor> Your gmail 2020-04-15T07:59:35 #kisslinux <dylan05> Ah 2020-04-15T07:59:38 #kisslinux <merakor> dylan.araps 2020-04-15T07:59:39 #kisslinux <dylan05> Haven't logged into it yet. 2020-04-15T08:00:25 #kisslinux <dylan05> I won't have access to my full backup from my last system for a few weeks. May be difficult for me to log into gmail until then. 2020-04-15T08:00:43 #kisslinux <merakor> It's alright :) 2020-04-15T08:01:04 #kisslinux <dylan05> dylan⊙ko works if you want to forward there 2020-04-15T08:01:35 #kisslinux <dylan05> This is the downside to using a password manager with backups that you can't access easily. ;) 2020-04-15T08:03:05 #kisslinux <dzove855> dylan05: actually i think you should add in pash an option of saving passwords in git 2020-04-15T08:03:11 #kisslinux <dzove855> like pass 2020-04-15T08:04:00 #kisslinux <dylan05> This can be scripted which is why I haven't bothered to add it 2020-04-15T08:04:09 #kisslinux <dylan05> I wouldn't make use of it anyway :P 2020-04-15T08:06:01 #kisslinux <dzove855> that's true, it can be easily scripted 2020-04-15T08:06:25 #kisslinux <dzove855> huu any reason why removing bash from system? 2020-04-15T08:07:19 #kisslinux <dylan05> This could have been solved by some kind of "cloud" backup though I don't like backups which I don't physically control :P 2020-04-15T08:07:29 #kisslinux <dylan05> re bash, one less thing to worry about 2020-04-15T08:07:39 #kisslinux <dylan05> I only need it for birch 2020-04-15T08:08:14 #kisslinux <dzove855> dylan05: well i understand your concern about the cloud backup 2020-04-15T08:08:39 #kisslinux <dzove855> hmm that's ture about bash, but basically i like it to much to remove and use it everywhere... 2020-04-15T08:10:23 #kisslinux <dylan05> I like bash too 2020-04-15T08:10:33 #kisslinux <dylan05> POSIX shell is fun due to how limited it is though 2020-04-15T08:12:53 #kisslinux <dzove855> haha well, i don't know why, but i just can't stand posix shell. I think it's more an historic problem, because when i started 8 years ago, a crashed my head against a wall because i didn't know the difference between the multiple shells 2020-04-15T08:13:48 #kisslinux <dylan05> Yeah 2020-04-15T08:13:49 #kisslinux <dylan05> I get it 2020-04-15T08:14:29 #kisslinux <illiliti> btw, some days ago i found bosh - http://schilytools.sourceforge.net/bosh.php . afterwards i found pbosh which is pretty simular to mrsh. so if you need 99% posix shell - use pbosh 2020-04-15T08:18:35 #kisslinux <dylan05> Neat 2020-04-15T08:26:58 #kisslinux <illiliti> i also have a list of all shells i have found - https://termbin.com/h2jw . i miss something? :) 2020-04-15T08:28:41 #kisslinux <dylan05> fish 2020-04-15T08:28:56 #kisslinux <dylan05> tcsh 2020-04-15T08:29:06 #kisslinux <merakor> dzove855: I mean, I never use bash scripts. I find busybox ash to be a worthy compromise. It is pretty good as an interactive shell, and still really fast. 2020-04-15T08:29:07 #kisslinux <dylan05> xonsh 2020-04-15T08:29:20 #kisslinux <dylan05> oil/osh 2020-04-15T08:30:53 #kisslinux <dzove855> merakor: that's a way of doing things 2020-04-15T08:31:10 #kisslinux <merakor> dylan05: I have forwarded the mail :) 2020-04-15T08:31:14 #kisslinux <dzove855> dylan05: oil/osh is something i want to test some day, i really like the idea behind 2020-04-15T08:32:02 #kisslinux <merakor> I used to use zsh, but I realized I don't need the completions and fancy prompts 2020-04-15T08:32:51 #kisslinux <dzove855> i never try'd zsh to be honest, because for me i can do it with bash and the fancy prompts isn't something i like neither 2020-04-15T08:33:32 #kisslinux <merakor> I did like informative prompts, especially prompts regarding git status 2020-04-15T08:34:02 #kisslinux <merakor> But you know, instead of executing a git command everytime I do something, I could just do it myself once 2020-04-15T08:34:25 #kisslinux <merakor> Because that's what prompts basically are 2020-04-15T08:34:40 #kisslinux <dzove855> yeah that's exactly my point of view, i don't need something to be executed on each cd etc.. 2020-04-15T08:37:02 #kisslinux <merakor> ash is not exactly POSIX, it has bash extensions available 2020-04-15T08:37:14 #kisslinux <merakor> I wouldn't use dash for example 2020-04-15T08:37:49 #kisslinux <merakor> Not having tab completions make me feel weak. It's carved into my brain. 2020-04-15T08:38:16 #kisslinux <merakor> And it has vi mode 2020-04-15T08:38:38 #kisslinux <illiliti> try yash 2020-04-15T08:38:40 #kisslinux <merakor> ash has, dash doesn't. 2020-04-15T08:38:46 #kisslinux <merakor> What's yash 2020-04-15T08:38:53 #kisslinux <merakor> Yet another shell? 2020-04-15T08:39:06 #kisslinux <illiliti> yep 2020-04-15T08:39:20 #kisslinux <merakor> I am checking out 2020-04-15T08:40:27 #kisslinux <dzove855> my history about a shell which not worked for me, was dash in the past. I remember when we upgraded the debian server and i didn't have seend that /bin/sh was linked to dash, and the system was broke. That's why after that i decided about switching everything to full bash 2020-04-15T08:42:54 #kisslinux <merakor> It seems more fitting for others than me. But it's a cool project. 2020-04-15T08:43:08 #kisslinux <merakor> I never use stuff like arrays or redirection 2020-04-15T08:52:42 #kisslinux <illiliti> https://github.com/kisslinux/kiss/blob/master/kiss#L1309-L1314 << i suppose this deprecated due to alternatives system 2020-04-15T08:54:46 #kisslinux <illiliti> https://github.com/kisslinux/kiss/blob/master/contrib/kiss-depends-finder#L8 2020-04-15T08:55:28 #kisslinux <merakor> ggrep still exists, though 2020-04-15T08:55:43 #kisslinux <dylan05> illiliti: It could be removed but there's also no harm in keeping it 2020-04-15T08:55:44 #kisslinux <merakor> But I still have grep linked to busybox 2020-04-15T08:55:50 #kisslinux <dylan05> As do I 2020-04-15T08:55:59 #kisslinux <dylan05> gnugrep speeds things up a ton though 2020-04-15T08:56:50 #kisslinux <merakor> Yeah, it really does. The difference can be spotted even with small things 2020-04-15T08:57:20 #kisslinux <dylan05> Other tar implementations are more or less the same though 2020-04-15T08:57:36 #kisslinux <dylan05> Still looking for a portable alternative to --strip-components 1 2020-04-15T08:57:39 #kisslinux <dylan05> ;) 2020-04-15T08:59:32 #kisslinux <merakor> Stripping components can also lead to issues as well. In rare cases, some archives don't have the files in a directory, so the complete archive might be deleted 2020-04-15T09:00:32 #kisslinux <merakor> Those are extremely rare cases, though. 2020-04-15T09:01:12 #kisslinux <illiliti> https://github.com/kisslinux/kiss/blob/master/kiss#L1285 << missing slash ? 2020-04-15T09:01:43 #kisslinux <mcf> you can do `pax -r -s ',^[^/]*/,,'`. sadly though, while pax is standardized, it is not widely implemented 2020-04-15T09:03:42 #kisslinux <dylan05> illiliti: Nope. It's so that it can be used like this: '/path/to/$var/bla/bla' 2020-04-15T09:03:51 #kisslinux <merakor> In theory you could extract to a `preextract` directory, and do a `mv preextract/*/* extract/ 2020-04-15T09:04:00 #kisslinux <dylan05> mcf: Yeah, I don't even think busybox provides pax 2020-04-15T09:04:12 #kisslinux <merakor> I mean this is not the best practice, but an idea 2020-04-15T09:04:19 #kisslinux <dylan05> merakor: Hidden files? And what happens with a 300MB archive as an example? :P 2020-04-15T09:04:55 #kisslinux <merakor> Yeah, you're right 2020-04-15T09:04:59 #kisslinux <merakor> It was a quick idea 2020-04-15T09:05:18 #kisslinux <dylan05> That was my first idea too 2020-04-15T09:05:53 #kisslinux <dylan05> If we can solve this we should then have 100% portable tar usage 2020-04-15T09:06:20 #kisslinux <dylan05> I have an idea 2020-04-15T09:06:46 #kisslinux <merakor> What is it? 2020-04-15T09:08:57 #kisslinux <dylan05> nvm 2020-04-15T09:09:35 #kisslinux <dylan05> I was going to count how many items are in the extraction dir and cd if == 1 2020-04-15T09:09:49 #kisslinux <illiliti> https://github.com/kisslinux/init/blob/master/lib/init/rc.boot#L46 << useless 2020-04-15T09:09:50 #kisslinux <dylan05> ie, 'cd ./*/' or something similar. 2020-04-15T09:10:03 #kisslinux <dylan05> illiliti: Nice 2020-04-15T09:10:05 #kisslinux <dylan05> Will remove 2020-04-15T09:10:56 #kisslinux <merakor> I mean, that sounds like a good idea 2020-04-15T09:11:05 #kisslinux <dylan05> Problem is multiple sources 2020-04-15T09:11:21 #kisslinux <dylan05> ie, patches will live outside of the source dir with this change 2020-04-15T09:11:45 #kisslinux <merakor> That's true 2020-04-15T09:12:13 #kisslinux <merakor> Strip-components is really good 2020-04-15T09:12:31 #kisslinux <dylan05> Very handy 2020-04-15T09:13:02 #kisslinux <dylan05> And supported by bsdtar, gnu tar and busybox tar. 2020-04-15T09:15:48 #kisslinux <merakor> What other tar implementations are out there? 2020-04-15T09:15:52 #kisslinux <merakor> I know sbase 2020-04-15T09:16:02 #kisslinux <merakor> Which doesn't have it 2020-04-15T09:16:38 #kisslinux <dylan05> toybox tar 2020-04-15T09:16:46 #kisslinux <dylan05> https://github.com/gfto/toybox/blob/master/toys/pending/tar.c 2020-04-15T09:17:22 #kisslinux <merakor> Oh yeah, I forgot about toybox 2020-04-15T09:18:07 #kisslinux <illiliti> star 2020-04-15T09:19:34 #kisslinux <merakor> Okay, also sltar 2020-04-15T09:19:43 #kisslinux <dylan05> merakor: I replied to your email 2020-04-15T09:21:19 #kisslinux <illiliti> paxtar 2020-04-15T09:21:46 #kisslinux <dylan05> onodera: Really liking your suggestion for using PWD/no args. Thanks for that. 2020-04-15T09:22:47 #kisslinux <dylan05> merakor: I implemented this part differently: https://github.com/CarbsLinux/kiss/commit/62331a6b751fcbffea28d21b51ea9967c1b8e1d1 2020-04-15T09:23:05 #kisslinux <dylan05> Basically this: KISS_PATH=$PWD:$KISS_PATH 2020-04-15T09:24:55 #kisslinux <merakor> Yeah, that's a better way considering dependencies. 2020-04-15T09:25:30 #kisslinux <merakor> Thanks :) 2020-04-15T09:25:31 #kisslinux <dylan05> Send PRs if you like 2020-04-15T09:25:42 #kisslinux <dylan05> I'm going through your commits now 2020-04-15T09:26:02 #kisslinux <merakor> Sure! 2020-04-15T09:26:16 #kisslinux <merakor> I have added submodule support 2020-04-15T09:26:49 #kisslinux <merakor> Which could be used in an AURish way 2020-04-15T09:27:13 #kisslinux <dylan05> Nice 2020-04-15T09:27:21 #kisslinux <dylan05> Very simple to implement huh 2020-04-15T09:27:29 #kisslinux <merakor> Yeah! 2020-04-15T09:28:00 #kisslinux <dylan05> Does this work in ubase/sbase? 2020-04-15T09:28:04 #kisslinux <dylan05> https://github.com/CarbsLinux/kiss/commit/bca41604d7ab29e698c46c55ed04fba202c8cb5a 2020-04-15T09:28:44 #kisslinux <merakor> Yeah, I have found those on the sbase manual 2020-04-15T09:29:23 #kisslinux <dylan05> Nice 2020-04-15T09:30:23 #kisslinux <dylan05> rust is done 2020-04-15T09:30:24 #kisslinux <dylan05> Finally 2020-04-15T09:31:12 #kisslinux <merakor> Is it time for firefox :P 2020-04-15T09:31:21 #kisslinux <dylan05> cbindgen needs a bump first 2020-04-15T09:31:25 #kisslinux <dylan05> Then Firefox 2020-04-15T09:42:07 #kisslinux <dylan05> brb 2020-04-15T09:54:20 #kisslinux <merakor> dylan05: https://termbin.com/y4v99 2020-04-15T10:17:45 #kisslinux <illiliti> https://github.com/kisslinux/kiss/blob/master/kiss#L367 << why readelf used here? strip can automatically detect which symbols needed to strip 2020-04-15T10:20:11 #kisslinux <konimex> honestly, convention? all packagers (incl. xbps-src, Arch's makepkg, and crux iirc) do that 2020-04-15T10:24:03 #kisslinux <illiliti> all != correct. this also slow down stripping process 2020-04-15T10:26:41 #kisslinux <konimex> better safe than sorry 2020-04-15T10:28:24 #kisslinux <konimex> I don't know jack about binary hullabaloo but if --strip-all (which is iirc the default in both binutils and llvm-strip) is applied to, say, dynamically linked binaries and shit hits the fan then boom, there *has* to be a precedent for the current method 2020-04-15T10:36:30 #kisslinux <illiliti> haha 2020-04-15T10:38:11 #kisslinux <illiliti> dylan05: final word? 2020-04-15T10:50:05 #kisslinux <illiliti> merakor: can you please add my patch - https://gist.github.com/illiliti/7c07d3b7a9b762bc0ffe7600d0229b3f in ubase? i sent it to the mailing lists, but upstream is too slow... 2020-04-15T10:57:02 #kisslinux <ax> good morning 2020-04-15T10:59:49 #kisslinux <ax> dylan05: taken from the beating? :P 2020-04-15T10:59:52 #kisslinux <merakor> illiliti: upstream is really slow, yeah. 2020-04-15T11:00:12 #kisslinux <merakor> mforney: https://gist.github.com/illiliti/7c07d3b7a9b762bc0ffe7600d0229b3f would you mind taking a look at this? 2020-04-15T11:02:18 #kisslinux <merakor> illiliti: dylan05: I use Michael's repository for ubase on my own repository since it is actually maintained. What do you think about switching it on the Community as well? 2020-04-15T11:03:15 #kisslinux <illiliti> mforney knows about this patch 2020-04-15T11:04:16 #kisslinux <illiliti> he suggested me to send it to upstream 2020-04-15T11:04:59 #kisslinux <merakor> Oh, alright. 2020-04-15T11:05:16 #kisslinux <merakor> I'll add it, seems like a good patch. 2020-04-15T11:06:52 #kisslinux <illiliti> thanks 2020-04-15T11:11:15 #kisslinux <Crestwave> Oil's developer wants to make $_ do something else; thoughts? 2020-04-15T11:11:44 #kisslinux <merakor> I really dislike osh 2020-04-15T11:12:08 #kisslinux <Crestwave> Why? 2020-04-15T11:12:59 #kisslinux <merakor> It is a really slow shell, it uses a fork of python2.7 2020-04-15T11:13:19 #kisslinux <Crestwave> They're planning to translate it to C++ 2020-04-15T11:13:32 #kisslinux <Crestwave> They already translated the lexer and it's way way way faster IIRC 2020-04-15T11:14:27 #kisslinux <merakor> I used it around the time it was just released. It's nice that they are resolving the problems, then 2020-04-15T11:15:16 #kisslinux <Crestwave> I mean, it hasn't reached 1.0 yet 2020-04-15T11:16:31 #kisslinux <merakor> The whole idea behind oil isn't for me to be honest. 2020-04-15T11:17:00 #kisslinux <merakor> Some may find it pretty beneficial. 2020-04-15T11:18:23 #kisslinux <Crestwave> Which idea? The whole trying to EEE and replace shell scripts with Oil scripts? 2020-04-15T11:19:31 #kisslinux <merakor> Yeah, they basically say that eww shell is bad POSIX is too limiting, we should be the new POSIX and Oil should be the STANDARD 2020-04-15T11:20:25 #kisslinux <Crestwave> Fair. It's still very interesting, though 2020-04-15T11:20:45 #kisslinux <Crestwave> illiliti: https://github.com/oilshell/oil/wiki/ExternalResources 2020-04-15T11:21:11 #kisslinux <Crestwave> My favorite alternative shell might be Elvish 2020-04-15T11:21:29 #kisslinux <merakor> I do find it interesting, I just don't think shell or bash is limited, and I personally don't have any use case for Oil. 2020-04-15T11:22:37 #kisslinux <merakor> I mean, if Dylan can write an IRC client in bash, that means that bash is not limited at all :P 2020-04-15T11:23:59 #kisslinux <Crestwave> I'm not sure if limited is really what it's going for, but rather the fact that Bash scripts can very fragile and horrifying if you're not experienced in it 2020-04-15T11:26:12 #kisslinux <mcf> illiliti: merakor: i applied the patch to my github branch 2020-04-15T11:50:39 #kisslinux <illiliti> wow https://savannah.nongnu.org/projects/gash 2020-04-15T11:50:43 #kisslinux <illiliti> looks pretty interesting 2020-04-15T11:54:50 #kisslinux <kiedtl> honestly I don't see the point of these shell rewrites 2020-04-15T11:55:05 #kisslinux <kiedtl> shell isn't a programming language, it's just a clumsy way to string commands together. 2020-04-15T11:55:11 #kisslinux <kiedtl> and it should stay that way. 2020-04-15T11:55:47 #kisslinux <kiedtl> if you need to write a program, go use Python or TCL or even PowerShell 2020-04-15T11:56:32 #kisslinux <kiedtl> I mean, if a script starts to get really big (>200 lines) you are probably using the wrong language. 2020-04-15T11:56:37 #kisslinux <kiedtl> (IMHO) 2020-04-15T11:56:53 #kisslinux <Crestwave> hm. Why are you here, then? 2020-04-15T11:57:14 #kisslinux <kiedtl> KISS pkg manager is an exception, if that's what you mean. 2020-04-15T11:57:20 #kisslinux <kiedtl> and so are fetch scripts. 2020-04-15T11:57:42 #kisslinux <Crestwave> What makes them a specific exception? 2020-04-15T11:58:08 #kisslinux <kiedtl> well, kiss pkg manager does very little, it just downloads sources, extracts them, runs a few commands, and copies some files around. 2020-04-15T11:58:47 #kisslinux <kiedtl> and fetch scripts also just run a few commands, `cat` some files, and print them. 2020-04-15T11:58:57 #kisslinux <Crestwave> What about dylan's other programs and such? 2020-04-15T11:59:13 #kisslinux <kiedtl> what do you mean by "other programs"? 2020-04-15T11:59:14 #kisslinux <Crestwave> Neofetch is 10k lines long... 2020-04-15T11:59:20 #kisslinux <kiedtl> yeah, exception 2020-04-15T11:59:22 #kisslinux <Crestwave> e.g., birch 2020-04-15T11:59:28 #kisslinux <kiedtl> most of it is ASCII art (neofetch) 2020-04-15T11:59:35 #kisslinux <kiedtl> (I think) 2020-04-15T11:59:44 #kisslinux <Crestwave> Most, yes, but it's still huge, I think 2020-04-15T12:00:09 #kisslinux <kiedtl> as for birch, well 2020-04-15T12:00:20 #kisslinux <kiedtl> a proper IRC client should be written in some other language 2020-04-15T12:00:28 #kisslinux <kiedtl> but I think dylan just wrote it for fun 2020-04-15T12:00:47 #kisslinux <Crestwave> In any case, Gash is apparently designed for bootstrapping Bash in Guix 2020-04-15T12:01:11 #kisslinux <kiedtl> I think I take back what I said about "if a script starts to get really big you are using the wrong lang". 2020-04-15T12:01:29 #kisslinux <kiedtl> since I guess script size isn't a good indicator of how complex a program is. 2020-04-15T12:04:57 #kisslinux <merakor> I honestly think that anything that can be done on the shell, should be done on the shell. 2020-04-15T12:05:32 #kisslinux <dylan05> woo hoo 2020-04-15T12:05:35 #kisslinux <dylan05> Firefox done. 2020-04-15T12:05:47 #kisslinux <dylan05> Just need to create the new -bin package. 2020-04-15T12:06:02 #kisslinux <merakor> I use shell for service provision, and shell as my init daemon. 2020-04-15T12:06:28 #kisslinux <merakor> https://github.com/cemkeylan/sysmgr and https://github.com/cemkeylan/shinit 2020-04-15T12:06:53 #kisslinux <kiedtl> true. 2020-04-15T12:07:27 #kisslinux <kiedtl> you *can* use shell for that. 2020-04-15T12:08:55 #kisslinux <kiedtl> as long as it's small, imo. 2020-04-15T12:09:12 #kisslinux <kiedtl> because if it get's too big it will be difficult to maintain. 2020-04-15T12:09:26 #kisslinux <merakor> But that's true for any project. 2020-04-15T12:09:33 #kisslinux <dylan05> neofetch also contains the config file and full help output 2020-04-15T12:09:34 #kisslinux <kiedtl> especially because every variable is global in shell 2020-04-15T12:09:42 #kisslinux <dylan05> Also a lot of OS support 2020-04-15T12:09:51 #kisslinux <dylan05> And a lot of optional info functions 2020-04-15T12:10:00 #kisslinux <kiedtl> dylan05: yeah, that's why I said *fetch is an exception :) 2020-04-15T12:10:00 #kisslinux <dylan05> There's also the image support which is rather large 2020-04-15T12:10:03 #kisslinux <dzove855> kiedtl: thah't actually not true about variables to be global 2020-04-15T12:10:46 #kisslinux <kiedtl> merakor: a properly built program in a "proper" language won't be difficult to maintain, no matter how big. 2020-04-15T12:10:47 #kisslinux <dylan05> There's a few ways to do local variables in POSIX shell as well 2020-04-15T12:10:59 #kisslinux <kiedtl> how? 2020-04-15T12:11:52 #kisslinux <dylan05> `var=1 cmd`, `(var=1; cmd)`, `var2=$(var=1; cmd)`. 2020-04-15T12:11:53 #kisslinux <dzove855> kiedtl: declaring function as subshell i think 2020-04-15T12:12:06 #kisslinux <dylan05> Also, `func() (var=1 )` 2020-04-15T12:12:13 #kisslinux <dylan05> Basically can scope locally using subshells. 2020-04-15T12:12:24 #kisslinux <Crestwave> You can't set global variables that way, though 2020-04-15T12:12:32 #kisslinux <dylan05> Can also do 'var=1 cmd' similar to 'DESTDIR=bla make install' 2020-04-15T12:12:46 #kisslinux <kiedtl> hmm, never thought about that :) 2020-04-15T12:12:48 #kisslinux <dylan05> Crestwave: Yup :( 2020-04-15T12:12:59 #kisslinux <dylan05> You can abuse () anywhere though 2020-04-15T12:12:59 #kisslinux <Crestwave> And var=1 is undefined behavior for functions unfortunately 2020-04-15T12:13:07 #kisslinux <dylan05> Damn 2020-04-15T12:13:11 #kisslinux <dzove855> in bash you could just use local to set them be only available in a function 2020-04-15T12:13:13 #kisslinux <dylan05> It works for external commands though right? 2020-04-15T12:13:17 #kisslinux <Crestwave> yep 2020-04-15T12:13:42 #kisslinux <dylan05> kiss uses this method with '.' 2020-04-15T12:13:55 #kisslinux <dylan05> 'PKG=zlib . /path/to/hook' basically 2020-04-15T12:14:35 #kisslinux <Crestwave> I wrote a demo script with var= func before I realized it was undefined; could have been useful https://github.com/Crestwave/snippets/blob/master/local.sh 2020-04-15T12:14:35 #kisslinux <dylan05> illiliti: konimex: I'll test strip without readelf and run it for a day or so. 2020-04-15T12:14:57 #kisslinux <Crestwave> I'd like your input on the $_ in OSH thing when you have time, by the way 2020-04-15T12:15:22 #kisslinux <konimex> dylan: you're testing it with KISS packages -- be aware that the pool is quite small compared to debian et al 2020-04-15T12:15:43 #kisslinux <dylan05> Crestwave: I just read the thread now 2020-04-15T12:16:09 #kisslinux <konimex> and (imo) kiss should work with all kinds of packages 2020-04-15T12:16:44 #kisslinux <dylan05> konimex: Of course, I'd like to at least understand _why_ we (and everyone else) do it "manually". 2020-04-15T12:18:33 #kisslinux <dylan05> Crestwave: So, $_ won't behave as it does in bash? 2020-04-15T12:18:55 #kisslinux <dylan05> Interesting 2020-04-15T12:19:18 #kisslinux <dylan05> I don't know if it makes sense for me to just stop using it though. 2020-04-15T12:19:26 #kisslinux <Crestwave> Well, currently it's removed from high-priority and the developer wants to make it work like Perl 2020-04-15T12:19:47 #kisslinux <dylan05> Yeah 2020-04-15T12:20:01 #kisslinux <dylan05> I have a (what I'd call) valid use for it though 2020-04-15T12:20:12 #kisslinux <dylan05> See the CPU/GPU stuff for iOS in neofetch 2020-04-15T12:20:24 #kisslinux <dylan05> It allows me to avoid a large number of var=val 2020-04-15T12:20:43 #kisslinux <dylan05> So, were I to change the variable name it'd be a single line modification 2020-04-15T12:21:11 #kisslinux <Crestwave> Yes, but they aren't a fan of it. See https://github.com/oilshell/oil/issues/262 2020-04-15T12:21:18 #kisslinux <dylan05> Yeah 2020-04-15T12:21:19 #kisslinux <dylan05> I read it 2020-04-15T12:21:41 #kisslinux <Crestwave> Yeah, so they commented on the OS section, which does the same thing 2020-04-15T12:22:04 #kisslinux <dylan05> Pushed a commit 2020-04-15T12:22:12 #kisslinux <dylan05> It's limited solely to iOS now I believe 2020-04-15T12:22:48 #kisslinux <dylan05> https://github.com/dylanaraps/neofetch/commit/23c445d05f9359877d0cdc3e18615723214e8257 2020-04-15T12:23:30 #kisslinux <Crestwave> So you're open to avoiding it in other programs as well? 2020-04-15T12:23:51 #kisslinux <dylan05> Well, it depends 2020-04-15T12:24:14 #kisslinux <Crestwave> They could listen to you if you make a case for it 2020-04-15T12:24:37 #kisslinux <Crestwave> Might not make it high priority, but they would probably scratch the Perl plans 2020-04-15T12:24:45 #kisslinux <ax> dylan05: I know you have had problems, and I hope you have solved, when you have time and desire you could check PR with the corrections made? and the reported issue for btrfs-progs? we had a little debate to understand whether or not it was appropriate to add the reported dependence 2020-04-15T12:25:45 #kisslinux <dylan05> ax: Sure. Will do so now. 2020-04-15T12:26:01 #kisslinux <dylan05> Crestwave: Will do (most likely tomorrow though) 2020-04-15T12:27:32 #kisslinux <dylan05> ax: This one? https://github.com/kisslinux/community/issues/645 2020-04-15T12:28:21 #kisslinux <Crestwave> dylan05: Great. The other blocker we're not sure about is https://github.com/oilshell/oil/issues/697 2020-04-15T12:29:01 #kisslinux <ax> dylan05: yes this ... from logbot you could check all the talk about why omit it and why insert it ... 2020-04-15T12:29:02 #kisslinux <dylan05> Interesting 2020-04-15T12:29:14 #kisslinux <dylan05> ax: Will do. 2020-04-15T12:29:37 #kisslinux <dylan05> Crestwave: Here?: output="$(trim "${!2:-${!1}}")" 2020-04-15T12:29:40 #kisslinux <Crestwave> Yep 2020-04-15T12:29:56 #kisslinux <dylan05> Easy to fix on my end 2020-04-15T12:30:15 #kisslinux <Crestwave> Yes, but we're wondering whether it should be fixed on your or OSH's end 2020-04-15T12:30:31 #kisslinux <dylan05> Right 2020-04-15T12:30:44 #kisslinux <dylan05> How much of bash are they trying to implement? 2020-04-15T12:31:07 #kisslinux <dylan05> I can't wrap my head around what shares bash behavior and what doesn't. 2020-04-15T12:31:27 #kisslinux <dylan05> The end goal is to run bash (and POSIX shell(?)) scripts no? 2020-04-15T12:31:50 #kisslinux <Crestwave> A lot. The intentional differences are documented in https://github.com/oilshell/oil/blob/master/doc/known-differences.md 2020-04-15T12:32:20 #kisslinux <dylan05> Thanks 2020-04-15T12:32:26 #kisslinux <ax> dylan05: Thanks 2020-04-15T12:32:27 #kisslinux <Crestwave> Neofetch had a lot of issues which I was able to patch, but all have or are going to be fixed except for those two, which we are undecided on 2020-04-15T12:33:37 #kisslinux <dylan05> Yeah, I saw your patch for neofetch 2020-04-15T12:34:03 #kisslinux <Crestwave> And that was actually after like 3 issues were already fixed 2020-04-15T12:35:34 #kisslinux <dylan05> That document is a good read 2020-04-15T12:37:08 #kisslinux <dylan05> The strict-array feature is neat (that's what I think it's called) 2020-04-15T12:39:26 #kisslinux <dylan05> Regarding '${!var:-}' and assuming it also extends to :+, :?, ?, -, + and (etc), I think this should be a fix on my end. It's weird that the two work together. 2020-04-15T12:40:05 #kisslinux <dylan05> You can't do '${#var:-}' either 2020-04-15T12:40:53 #kisslinux <Crestwave> And you can't do ${!var:-} or ${!1:-} if $1 is an empty (set) string 2020-04-15T12:41:29 #kisslinux <dylan05> Yeah 2020-04-15T12:41:47 #kisslinux <Crestwave> Also, I just noticed that dynamic variable naming was removed from the known differences, which is cool! That was the only one I had issue with IIRC 2020-04-15T12:42:01 #kisslinux <dylan05> Nice 2020-04-15T12:44:33 #kisslinux <dylan05> ax: Just read the logs. So the issue is that btrfs-progs can't be built unless either e2fsprogs _or_ util-linux are installed? 2020-04-15T12:44:44 #kisslinux <dylan05> And the dependency situation then becomes tricky. 2020-04-15T12:45:31 #kisslinux <dylan05> Actually, I get a build error too. 2020-04-15T12:45:38 #kisslinux <dylan05> (With e2fsprogs) 2020-04-15T12:53:36 #kisslinux <ax> yes dylan05 ... 2020-04-15T12:54:05 #kisslinux <dylan05> Right. As our e2fsprogs doesn't provide the libuuid etc libs 2020-04-15T12:54:14 #kisslinux <dylan05> Will fix. 2020-04-15T12:55:45 #kisslinux <konimex> should e2fsprogs provide that? iirc won't it conflict with util-linux ones? 2020-04-15T12:57:42 #kisslinux <dylan05> The wording of btrfs-progs' INSTALL file implies that util-linux, e2fsprogs or libuuid can provide the dependency which says to me that this is a somewhat common occurance 2020-04-15T12:58:05 #kisslinux <dylan05> occurence* 2020-04-15T12:58:23 #kisslinux <dylan05> Still, I'm not sure if it should be a provider of it. 2020-04-15T12:59:03 #kisslinux <dylan05> Or does it maybe make more sense to split util-linux into utils / libs? 2020-04-15T12:59:18 #kisslinux <dylan05> Or... We can simply make btrfs-progs depend on util-linux. 2020-04-15T13:17:28 #kisslinux <ax> wI have some big doubts about it sincerely. The basic system from my point of view starts from e2fs and that's where the dependency should be inserted. 2020-04-15T13:17:57 #kisslinux <ax> but it's just my point of view. I can safely edit 2020-04-15T13:18:23 #kisslinux <dylan05> It depends really on what is the expected (or normal) provider of the libraries? 2020-04-15T13:18:40 #kisslinux <ax> I'll tell you more: starting from my concept it could be basic 2020-04-15T13:19:07 #kisslinux <ax> yeh ... 2020-04-15T13:35:50 #kisslinux <onodera> dylan05: thanks so much for the crux-like change, now kiss is pretty much perfect for me 2020-04-15T13:53:12 #kisslinux <dylan05> No problem 2020-04-15T14:05:49 #kisslinux <merakor> dylan05: Should I ping others in the libressl issue? 2020-04-15T14:09:39 #kisslinux <dylan05> Sure 2020-04-15T14:09:53 #kisslinux <dylan05> There's no real rush yet though 2020-04-15T14:12:00 #kisslinux <merakor> It's always better to keep libressl updated, though 2020-04-15T14:12:31 #kisslinux <dylan05> Yeah 2020-04-15T14:12:37 #kisslinux <dylan05> It's a development release though 2020-04-15T14:12:57 #kisslinux <merakor> Oh, yeah it's not the stable release. 2020-04-15T14:13:03 #kisslinux <merakor> I keep forgetting about that :P 2020-04-15T14:18:22 #kisslinux <dzove855> merakor: i will have look about lynx in the next days :) just try'd to upgrade my kernel + system and i had some issue so i want to fix it 2020-04-15T14:18:53 #kisslinux <merakor> Alright :) 2020-04-15T14:23:26 #kisslinux <merakor> Gotta go off now, see you all later! 2020-04-15T14:23:31 #kisslinux <dylan05> o/ 2020-04-15T14:40:51 #kisslinux <onodera> dylan05: can you make kiss c run with doas when needed? 2020-04-15T15:43:58 #kisslinux <dylan05> Sure 2020-04-15T18:04:50 #kisslinux <illiliti> using recursion in shell is good/bad practice? 2020-04-15T18:08:59 #kisslinux <ectlunya> probably not a good 2020-04-15T19:33:07 #kisslinux <ax> dylan05: good evening man! news for btrfs, how to regulate myself ? and for all others pr ? 2020-04-15T20:01:48 #kisslinux <mcf> merakor: re sysmgr, why don't you simply `wait` for the service to exit instead of polling every second to see if it died? 2020-04-15T20:25:28 #kisslinux <merakor> mcf: Oh yeah, thanks a lot. I don't know what I was thinking writing that. 2020-04-15T20:32:23 #kisslinux <onodera> does anyone know a way to make firefox send just some command rather than use libnotify for notification? 2020-04-15T20:32:55 #kisslinux <onodera> I basically just want it do call "notify.sh <msg>", now that would be easy 2020-04-15T20:50:58 #kisslinux <illiliti> onodera: https://dxr.mozilla.org/mozilla-central/search?q=libnotify&redirect=false 2020-04-15T20:55:05 #kisslinux <onodera> ehh what is this illiliti ? 2020-04-15T20:55:33 #kisslinux <illiliti> starting point :) 2020-04-15T20:57:29 #kisslinux <onodera> I mean this page, I never used it before actually 2020-04-15T20:57:39 #kisslinux <onodera> it digs in the firefox source code/ 2020-04-15T20:58:21 #kisslinux <onodera> hmm looking at it, it should be kind of easy to patch it tbh 2020-04-15T21:03:01 #kisslinux <illiliti> you can also patch libnotify, just spoof function(via LD_PRELOAD or directly in source code) which is uses for sending notification with fork/exec or patch firefox... 2020-04-15T21:07:20 #kisslinux <onodera> does libnotify depend on dbus? 2020-04-15T21:08:04 #kisslinux <onodera> I never have any idea how these complex gnome/systemd kinda apps work 2020-04-15T21:15:09 #kisslinux <illiliti> it depend on dbus headers(.h), so basically yeah 2020-04-15T21:16:44 #kisslinux <onodera> fug 2020-04-15T21:17:06 #kisslinux <ax> gnome* systemd* == devil! | dwm/i3/xmonad* sinit/runit* == Holy water 2020-04-15T21:17:08 #kisslinux <ax> :P 2020-04-15T21:19:34 #kisslinux <illiliti> try extensions. i'm not sure, but extensions can handle notification events 2020-04-15T21:48:40 #kisslinux <ominous_anonymou> hey guys i got an interesting question for ya. i'm trying to get a loopback sound interface, and set /etc/inittab to modprobe snd-aloop appropriately. however, it doesn't seem to initialize the loopback card at all 2020-04-15T21:49:10 #kisslinux <ominous_anonymou> i have to manually modprobe -r snd-aloop, then modprobe snd-aloop again, and then alsactl restore before the loopback card shows up 2020-04-15T21:50:28 #kisslinux <ominous_anonymou> inittab has "::once:/bin/modprobe snd-intel8x0" line followed by "::once:/bin/modprobe snd-aloop" 2020-04-15T22:22:47 #kisslinux <g0dlike> hello! 2020-04-15T22:23:26 #kisslinux <g0dlike> i have a question regarding the kiss package manager 2020-04-15T22:25:00 #kisslinux <g0dlike> before i learned of the firefox binary i tried to compile the deps for firefox which includes nodejs.. 2020-04-15T22:25:33 #kisslinux <g0dlike> however, nodejs was incorrect version and wouldn't download.. so i manually changed the version number in the "sources" file in the repo.. well, apparently that has broken kiss 2020-04-15T22:26:23 #kisslinux <g0dlike> now when i try to do "kiss update" it tells me to stash my sources?? 2020-04-15T22:30:11 #kisslinux <g0dlike> the exact error is "your local changes to the following files would be overwritten by merge: extra/nodejs/version - please commit your changes or stash them before you merge - aborting" 2020-04-15T22:34:04 #kisslinux <ectlunya> you should make a duplicate package thats earlier in your KISS_PATH 2020-04-15T22:34:11 #kisslinux <g0dlike> Updating 086a0c13..f17e915c 2020-04-15T22:34:11 #kisslinux <g0dlike> error: Your local changes to the following files would be overwritten by merge: 2020-04-15T22:34:12 #kisslinux <g0dlike> extra/nodejs/version 2020-04-15T22:34:12 #kisslinux <g0dlike> Please commit your changes or stash them before you merge. 2020-04-15T22:34:12 #kisslinux <g0dlike> Aborting 2020-04-15T22:34:32 #kisslinux <g0dlike> ectlunya i dont understand 2020-04-15T22:34:51 #kisslinux <ectlunya> the file that you edited is part of the git directory that is being updated 2020-04-15T22:35:08 #kisslinux <g0dlike> yes 2020-04-15T22:35:12 #kisslinux <ectlunya> so when it does the update there is a conflict between what you have locally and what is in the remote repository 2020-04-15T22:35:32 #kisslinux <g0dlike> ok i understand that much 2020-04-15T22:35:55 #kisslinux <ectlunya> if you make another directory (wherever you want) and add it to the beginning of KISS_PATH kiss will search in that directory first when updating the package 2020-04-15T22:36:06 #kisslinux <g0dlike> sorry, im gittarded 2020-04-15T22:36:39 #kisslinux <ectlunya> so you can then copy the nodejs package directory into your new local (non-git) repo and it should work 2020-04-15T22:37:25 #kisslinux <g0dlike> alright 2020-04-15T22:37:28 #kisslinux <g0dlike> thank you! 2020-04-15T22:37:43 #kisslinux <dilyn> You can also go to the directory you want to keep the nodejs version you're making and do `kiss-fork nodejs` 2020-04-15T22:38:07 #kisslinux <g0dlike> i just want it to over write the damn thing 2020-04-15T22:38:12 #kisslinux <g0dlike> i dont need nodejs anymore 2020-04-15T22:38:44 #kisslinux <dilyn> And then go into that nodejs directory and say `kiss-link {sources,build, etc} ` and it will symlink those to the next repository that contains nodejs 2020-04-15T22:38:55 #kisslinux <dilyn> Ah then you can just reset the repo 2020-04-15T22:39:02 #kisslinux <dilyn> Or just change the version number back 2020-04-15T22:39:02 #kisslinux <g0dlike> awesome, thank you 2020-04-15T22:39:19 #kisslinux <g0dlike> yeah i changed it back but that no bueno 2020-04-15T22:42:02 #kisslinux <g0dlike> argh it just keeps telling me the kiss_path needs to be set even tho i have set it 2020-04-15T22:42:26 #kisslinux <ectlunya> are you running kiss as a normal user or with sudo 2020-04-15T22:42:36 #kisslinux <g0dlike> either 2020-04-15T22:42:41 #kisslinux <g0dlike> well.. cant do it with sudo 2020-04-15T22:42:49 #kisslinux <g0dlike> sudo cant export 2020-04-15T22:54:09 #kisslinux <g0dlike> alright, i fixed it 2020-04-15T22:54:14 #kisslinux <g0dlike> thanks for your help guys 2020-04-15T22:54:30 #kisslinux <g0dlike> i'll be back soon.. when i have time. kiss is a neat os