2020-08-14T00:01:39 #kisslinux dylanaraps: if I "exec >file" at the beginning of the script, and at the end I wanna stop redirecting stdout to that file and just have it print to like normal stdout, is there a way to do that or do I just need to put braces around the entire script up to that point and redirect the block to "file"? 2020-08-14T00:05:39 #kisslinux you can think of `exec >file` as `fd = open(file, O_WRONLY); dup2(fd, 1);`, which closes the previous stdout. if you want to retain the old stdout fd, you can move it to some temporary fd (like 3), and then restore it later 2020-08-14T00:07:38 #kisslinux would I do that with `exec 3<&1`? 2020-08-14T00:10:04 #kisslinux i can never keep those straight, but i think 3>&1 2020-08-14T00:10:27 #kisslinux just like 2>&1 makes stderr a copy of stdout 2020-08-14T00:11:20 #kisslinux and then to restore, i think >&3 should work (or equivalently 1>&3) 2020-08-14T07:17:37 #kisslinux have you guys seen this: https://github.com/dudik/herbe 2020-08-14T09:58:09 #kisslinux wont this have no compatibility with preexisting programs that use notifications? 2020-08-14T12:59:06 #kisslinux Can I make it so the kiss package manager rebuild a package after compiling a certain package? 2020-08-14T12:59:21 #kisslinux Im not sure the best way to do this though to be honest 2020-08-14T13:00:13 #kisslinux you could write a post-install script directly into the repo 2020-08-14T13:00:57 #kisslinux Oh yeah! I forgot about those for some reason 2020-08-14T13:01:11 #kisslinux I have to think about the best way to do this though 2020-08-14T13:01:17 #kisslinux you're welcome ;) 2020-08-14T13:01:27 #kisslinux Yes thank you! 2020-08-14T13:03:51 #kisslinux is modifying files directly in /var/db/kiss good practice? 2020-08-14T13:04:07 #kisslinux can they get clashed with updates? 2020-08-14T13:16:24 #kisslinux I dont know if it is bad practice. But I have a repo locally on my machine called modified that I kiss-fork too 2020-08-14T13:16:27 #kisslinux to* 2020-08-14T13:27:28 #kisslinux Ive never had this before. Python is saying no module pydoc found? Is that due to how kiss packages python? 2020-08-14T13:28:59 #kisslinux nvm yep it is 2020-08-14T13:55:34 #kisslinux spageen: it isn't bad practice but you might issues pulling updates with kiss u 2020-08-14T13:55:58 #kisslinux To avoid this you can fork the package and symlink all the files and then add a post-install to do what you want 2020-08-14T13:56:12 #kisslinux Could you also maybe accomplish this with a kiss hook? 2020-08-14T14:35:50 #kisslinux does anyone use icecat on kiss? i cant really build it due to the time of building all of the makedeps 2020-08-14T17:58:53 #kisslinux claudia02: regarding your q on heat dissipation on the pinebook pro, yes it is a problem. Building large packages when running at full cpu speed can cause it to overheat and auto power off. 2020-08-14T17:59:47 #kisslinux So I normally build rust/firefox etc on another machine (rockpro64), or place it on a metal surface while building. 2020-08-14T18:02:01 #kisslinux Yes, I assumed that some cooling assistance might be needed. I had a an passive atom powered notebook once, which got pretty hot while decoding stuff. 2020-08-14T19:13:52 #kisslinux i miiiiight go down the rabbit hole of http://www.turemetal.com/product_en.html one day 2020-08-14T19:14:37 #kisslinux the up10 is massive, but can supposedly dissapate 140w cpu and 160w gpu! 2020-08-14T19:26:17 #kisslinux /msg NickServ identify test 2020-08-14T19:27:48 #kisslinux lol 2020-08-14T19:28:34 #kisslinux jedavies: I was thinking to try compile kiss for my rpi zero, but not sure if I can be bothered 2020-08-14T19:41:20 #kisslinux j`ey too lazy to find a monitor and hdmi cable? 2020-08-14T19:42:35 #kisslinux I think compiling it is the hard part :P 2020-08-14T19:44:14 #kisslinux j`ey lemme look around, i had a docker/qemu script that let me build images on my laptop pretty easily 2020-08-14T19:44:49 #kisslinux cool! 2020-08-14T19:45:56 #kisslinux https://github.com/jedahan/pi-maker 2020-08-14T19:46:02 #kisslinux though i might look at whats start of the art these days 2020-08-14T19:46:09 #kisslinux ta, will check it out soon 2020-08-14T19:48:32 #kisslinux oh its for zero w too, nice 2020-08-14T19:54:36 #kisslinux yeah i think the main thing (besides the merge conflicts lol) is looking at how qemu and binfmt_misc are setup 2020-08-14T20:00:09 #kisslinux ideally, if you just pass in OS_IMAGE=kiss-2010.07.tar.xz and OS_URI="k1ss.org/download/", (see https://github.com/jedahan/pi-maker/blob/master/bin/load-os) you can just chroot in, cd /var/db/kiss/installed && kiss build *, and you will get a kiss-2080.07-arm.tar.xz 2020-08-14T20:00:11 #kisslinux something like that 2020-08-14T20:02:39 #kisslinux you need to change gcc etc to be for arm 2020-08-14T20:03:07 #kisslinux i need to draw out all the layers to not be confused tbh 2020-08-14T20:03:37 #kisslinux https://dbhi.github.io/qus/ might be a less hacky version 2020-08-14T20:06:42 #kisslinux could also jsut run a full qemu vm and build in that 2020-08-14T20:08:07 #kisslinux mcpcpc[m]: What's the way to msg NickServ from kirc? As you can tell from the logs I tried `:m /msg NickServ identify test` but that didn't work 2020-08-14T20:09:34 #kisslinux does it support more than one thing to talk to? 2020-08-14T20:10:19 #kisslinux because it seems to hardcode the channel 2020-08-14T20:10:27 #kisslinux https://github.com/mcpcpc/kirc/blob/master/kirc.c#L229 2020-08-14T20:11:04 #kisslinux himmalerin: will take a look in a few! just leaving work, so it will be ~1hr. 2020-08-14T20:13:49 #kisslinux j`ey: correct. actually was planning on pushing additional cmd shortcuts later today. should be able to do it in the next few hrs. 2020-08-14T20:14:43 #kisslinux would have pushed them sooner, but was busy optimizing and squashing bugs. lol 2020-08-14T20:17:32 #kisslinux pm syntax for nicks/channels will be `:M ` 2020-08-14T20:36:40 #kisslinux pushed just the :M command for now. will add one specific for messaging NickServ and a shortcut for joining/leaving channels as well later tonight. 2020-08-14T20:37:45 #kisslinux awesome, thanks! 2020-08-14T20:39:05 #kisslinux admicos: Back on July 1st you mentioned you patched mako to run without elogind (https://freenode.logbot.info/kisslinux/20200701#c4267575), do you still have the patch handy? looking to get wayland notifications set up and I ran into the elogind dep 2020-08-14T20:39:26 #kisslinux should be on github.com/admicos/kiss-repo under custom 2020-08-14T20:42:27 #kisslinux j`ey: the rpi zero is armv6? 2020-08-14T20:43:42 #kisslinux jedavies: ye 2020-08-14T20:44:20 #kisslinux admicos: Found it, ty! Do you mind if I include it in github.com/Himmalerin/kiss-wayland? I can link back to your repo somewhere if you want (commit message and/or build file?) 2020-08-14T20:45:31 #kisslinux most of the work on that patch isn't mine, i got it from a mako PR (or someone else's branch, not exactly sure) and just hacked it to work, 2020-08-14T20:46:02 #kisslinux the patch also has the full git log inside, that seems like enough credit to me :pü gemini://gemini.ctrl-c.club/~phoebos/logs/freenode-kisslinux-2020-08-14.txt

-- Leo's gemini proxy

-- Connecting to gemini.ctrl-c.club:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/plain; charset=utf-8

-- Response ended

-- Page fetched on Sun Jun 2 11:47:59 2024