2019-09-26T00:12:13 #kisslinux konimex: `get_wm` 2019-09-26T01:28:14 #kisslinux nestman: no, I meant the programs to retrieve the wm name 2019-09-26T02:04:22 #kisslinux hi 2019-09-26T05:02:56 #kisslinux yamchah2: that bug was fixed in master. 2019-09-26T05:34:30 #kisslinux Great, nodejs released a new version and it can't build. https://github.com/nodejs/node/issues/29709 2019-09-26T05:42:25 #kisslinux By the way, `uptime -u` (the way neofetch gets the uptime on Haiku) doesn't work on my Haiku systems. The only way I know of is to parse regular `uptime` 2019-09-26T05:46:21 #kisslinux Thanks for the heads up. 2019-09-26T05:46:28 #kisslinux Any method of getting the uptime in seconds? 2019-09-26T05:47:21 #kisslinux No, as I said, the only way I know of is to parse `uptime` and convert it to seconds. 2019-09-26T05:48:20 #kisslinux Can you send me the full output of 'uptime'? 2019-09-26T05:50:02 #kisslinux It's similar to Linux 2019-09-26T05:50:26 #kisslinux 05:49:21 up 3:43, 0 users 2019-09-26T05:50:52 #kisslinux Haiku uses GNU coreutils 2019-09-26T05:50:58 #kisslinux 3rd field? 2019-09-26T05:51:10 #kisslinux 'uptime' on Linux is usually from procps-ng no? 2019-09-26T05:51:58 #kisslinux Yes to both 2019-09-26T05:53:14 #kisslinux Is it guaranteed to always be in XX:XX format? Do days of uptime make it XX:XX:XX? 2019-09-26T05:54:08 #kisslinux I ask because my uptime command does the following: 2019-09-26T05:54:10 #kisslinux 08:51:44 up 57 min, 0 users 2019-09-26T05:54:43 #kisslinux When just booted it's 0:00 so I guess it's always in XX:XX? 2019-09-26T05:55:00 #kisslinux I'll try and find the source code online. 2019-09-26T06:04:16 #kisslinux #if HAVE_OS_H /* BeOS */ 2019-09-26T06:04:17 #kisslinux { 2019-09-26T06:04:19 #kisslinux system_info si; 2019-09-26T06:04:27 #kisslinux get_system_info (&si); 2019-09-26T06:04:27 #kisslinux boot_time = si.boot_time / 1000000; 2019-09-26T06:04:27 #kisslinux } 2019-09-26T06:04:28 #kisslinux #endif 2019-09-26T06:05:06 #kisslinux https://github.com/coreutils/coreutils/blob/2ed7c2867974ccf7abc61c34ad7bf9565489c18e/src/uptime.c#L138-L156 2019-09-26T06:06:00 #kisslinux There's times when it prints with the "days" format. 2019-09-26T06:07:30 #kisslinux I wonder if there's a (built in) utility to grab this: https://github.com/haiku/haiku/blob/master/headers/os/kernel/OS.h#L430 2019-09-26T06:08:29 #kisslinux int32 is_computer_on(); (Returns 1 if the computer is on. If the computer isn't on, the value returned by this function is undefined.) 2019-09-26T06:08:31 #kisslinux lol 2019-09-26T06:08:35 #kisslinux Also: 2019-09-26T06:08:40 #kisslinux double is_computer_on_fire(); (Returns the temperature of the motherboard if the computer is currently on fire. Smoldering doesn't count. If the computer isn't on fire, the function returns some other value.) 2019-09-26T06:10:27 #kisslinux double 2019-09-26T06:10:29 #kisslinux is_computer_on_fire(void) 2019-09-26T06:10:31 #kisslinux { 2019-09-26T06:10:33 #kisslinux return 0.63739; 2019-09-26T06:10:37 #kisslinux } 2019-09-26T06:13:03 #kisslinux lol 2019-09-26T06:13:12 #kisslinux I'm not sure; I'll try asking in #haiku 2019-09-26T06:19:49 #kisslinux Does 'uptime -s' work? 2019-09-26T06:19:49 #kisslinux nvm 2019-09-26T06:19:56 #kisslinux I also wonder if there's a top/htop utility installed by default. 2019-09-26T06:21:20 #kisslinux It seems to have `top` 2019-09-26T06:22:15 #kisslinux It's different and doesn't seem to have the time listed, though 2019-09-26T06:24:26 #kisslinux You would think that sysinfo would have it, but nope... 2019-09-26T06:25:26 #kisslinux Does something like this work?: 2019-09-26T06:25:27 #kisslinux ps -eo pid,etime | grep " 1 " 2019-09-26T06:25:39 #kisslinux Basically, the elapsed time of pid 1. 2019-09-26T06:25:46 #kisslinux Matches my system's uptime 1:1. 2019-09-26T06:25:57 #kisslinux 1 1h29 2019-09-26T06:26:21 #kisslinux I already checked ps; it doesn't seem to have time either 2019-09-26T06:26:34 #kisslinux https://pubs.opengroup.org/onlinepubs/009695399/utilities/ps.html 2019-09-26T06:26:43 #kisslinux Not even through '-o etime'? 2019-09-26T06:27:19 #kisslinux Just gives me a blank line for each process 2019-09-26T06:27:57 #kisslinux Sounds to me like GNU coreutils has no support for this with Haiku. 2019-09-26T06:28:20 #kisslinux ie no support for whatever kernel interface provides process times. 2019-09-26T06:28:47 #kisslinux Oh, I don't think ps and top are from coreutils 2019-09-26T06:33:16 #kisslinux There's a utility called `system_time` 2019-09-26T06:34:10 #kisslinux ooo 2019-09-26T06:34:13 #kisslinux What does it print? 2019-09-26T06:34:33 #kisslinux 16093417554 2019-09-26T06:35:46 #kisslinux Is it installed by default? 2019-09-26T06:36:03 #kisslinux I'm pretty sure, yeah 2019-09-26T06:36:56 #kisslinux Seems to be in microseconds or something 2019-09-26T06:37:40 #kisslinux Quick one-liners for you to test: 2019-09-26T06:37:41 #kisslinux echo $((($(date +%s) - $(system_time)) / 60 / 60 % 24)) 2019-09-26T06:37:43 #kisslinux echo $((($(date +%s) - $(system_time)) / 60 % 60)) 2019-09-26T06:38:03 #kisslinux First is hours, second is minutes. 2019-09-26T06:38:30 #kisslinux Results in negative numbers 2019-09-26T06:39:44 #kisslinux What's your uptime? 2019-09-26T06:39:53 #kisslinux 4:33 2019-09-26T06:42:21 #kisslinux Hm 2019-09-26T06:42:35 #kisslinux Just need to find the source for it. 2019-09-26T06:43:42 #kisslinux libroot has a system_time function 2019-09-26T06:46:06 #kisslinux The type is 'bigtime_t' 2019-09-26T06:46:47 #kisslinux Got it 2019-09-26T06:46:57 #kisslinux It's microseconds since you booted 2019-09-26T06:48:11 #kisslinux ~> echo $(( $(system_time)/1000000 / 60 /60 % 24)) 2019-09-26T06:48:13 #kisslinux 4 2019-09-26T06:48:15 #kisslinux ~> echo $(( $(system_time)/1000000 / 60 %60)) 2019-09-26T06:48:17 #kisslinux 41 2019-09-26T06:48:19 #kisslinux ~> uptime 2019-09-26T06:48:21 #kisslinux 06:47:30 up 4:41, 0 users 2019-09-26T06:48:26 #kisslinux Nice 2019-09-26T06:52:07 #kisslinux Pushed to neofetch master 2019-09-26T06:52:36 #kisslinux Now to add pfetch support for haiku. 2019-09-26T06:58:02 #kisslinux Yup, that was what I was trying to do then I noticed that neofetch's uptime wasn't working either 2019-09-26T07:01:24 #kisslinux uname -v contains the version needed for the OS string right? 2019-09-26T07:02:20 #kisslinux Yep 2019-09-26T07:04:14 #kisslinux Full output of: sysinfo -mem ? 2019-09-26T07:04:41 #kisslinux All that's missing is memory now. 2019-09-26T07:05:22 #kisslinux ~/haikuports/app-misc/bat> sysinfo -mem 2019-09-26T07:05:25 #kisslinux 3501142016 bytes free (used/max 792645632 / 4293787648) 2019-09-26T07:05:27 #kisslinux (cached 3302985728) 2019-09-26T07:06:23 #kisslinux Thanks 2019-09-26T07:14:05 #kisslinux OK. Pushed memory support to master too. 2019-09-26T07:14:11 #kisslinux Just need to create an ascii logo now. 2019-09-26T07:16:07 #kisslinux Host information is missing (though it's missing in neofetch too). Any ideas? 2019-09-26T07:16:46 #kisslinux As in the CPU? 2019-09-26T07:17:46 #kisslinux ~> sysinfo -cpu 2019-09-26T07:17:48 #kisslinux 1 Intel Celeron, revision 0663 running at 3092MHz 2019-09-26T07:17:50 #kisslinux CPU #0: "QEMU Virtual CPU version 2.5+" 2019-09-26T07:17:52 #kisslinux Signature: 0x000663; Type 0, family 6, model 6, stepping 3 2019-09-26T07:17:54 #kisslinux Features: 0x078bfbfd 2019-09-26T07:17:56 #kisslinux FPU DE PSE TSC MSR PAE MCE CX8 APIC SEP MTRR PGE MCA CMOV PAT PSE36 2019-09-26T07:17:58 #kisslinux CFLUSH MMX FXSTR SSE SSE2 2019-09-26T07:18:00 #kisslinux Extended Features (0x00000001): 0x80202001 2019-09-26T07:18:02 #kisslinux SSE3 CX16 x2APIC HYPERVISOR 2019-09-26T07:18:04 #kisslinux Extended Features (0x80000001): 0x20100800 2019-09-26T07:18:06 #kisslinux SCE NX 64 2019-09-26T07:18:08 #kisslinux L2 Data cache fully associative, 1 lines/tag, 64 bytes/line 2019-09-26T07:18:10 #kisslinux L2 cache: 0 KB, 1-way set associative, 0 lines/tag, 63 bytes/line 2019-09-26T07:18:12 #kisslinux L2 cache: 2048 KB, 8-way set associative, 64 bytes/line 2019-09-26T07:18:14 #kisslinux L1 inst cache: 32 KB, 8-way set associative, 64 bytes/line 2019-09-26T07:18:16 #kisslinux L1 data cache: 32 KB, 8-way set associative, 64 bytes/line 2019-09-26T07:18:18 #kisslinux L3 cache: 16384 KB, 16-way set associative, 64 bytes/line 2019-09-26T07:18:20 #kisslinux ~> 2019-09-26T07:20:43 #kisslinux host 80MK Lenovo YOGA 900-13ISK 2019-09-26T07:20:43 #kisslinux Hardware or Virtual Machine information. 2019-09-26T07:20:43 #kisslinux Example: sysctl -n hw.vendor hw.product 2019-09-26T07:22:58 #kisslinux Hm. Doesn't seem to be in sysinfo 2019-09-26T07:24:03 #kisslinux It's the DMI information from the hardware. 2019-09-26T07:34:15 #kisslinux dmidecode worked on one of my systems but it's not preinstalled. It also didn't work on my real hardware and landed me in KDL on another VM 2019-09-26T07:35:33 #kisslinux I think it parses /dev/misc/mem but I don't think doing so would be possible from sh 2019-09-26T07:47:04 #kisslinux -> PF_ASCII=haiku pfetch 2019-09-26T07:47:06 #kisslinux , goldie@KISS 2019-09-26T07:47:08 #kisslinux ,' ', os KISS Linux 2019-09-26T07:47:10 #kisslinux .__. / .__. host 80MK Lenovo YOGA 900-13ISK 2019-09-26T07:47:12 #kisslinux "| |" / kernel 5.3.1-coffee 2019-09-26T07:47:14 #kisslinux '. .' uptime 2h 50m 2019-09-26T07:47:16 #kisslinux .--"' '"--. pkgs 141 2019-09-26T07:47:18 #kisslinux '-,____, ,____,-' memory 997M / 7942M 2019-09-26T07:47:20 #kisslinux |_| 2019-09-26T07:47:22 #kisslinux That's the logo I came up with (from the favicon on the website. 2019-09-26T07:47:24 #kisslinux Dunno if I'm 100% happy with it. 2019-09-26T07:48:44 #kisslinux Maybe one of the leaves from the logo itself would be better. 2019-09-26T07:54:52 #kisslinux How about the leaf from the Deskbar? 2019-09-26T07:55:04 #kisslinux Got a link? 2019-09-26T07:56:17 #kisslinux There are some images at https://www.haiku-os.org/docs/userguide/en/deskbar.html 2019-09-26T08:20:20 #kisslinux -> PF_ASCII=haiku PF_INFO=ascii pfetch 2019-09-26T08:20:21 #kisslinux ,', 2019-09-26T08:20:23 #kisslinux ;-_.,/ ,._-; 2019-09-26T08:20:25 #kisslinux '. ' ' .' 2019-09-26T08:20:27 #kisslinux .-'' ''-. 2019-09-26T08:20:29 #kisslinux '-,__, ,__,-' 2019-09-26T08:20:31 #kisslinux |_| 2019-09-26T08:20:33 #kisslinux I'm happier with this. 2019-09-26T08:21:02 #kisslinux Actually: 2019-09-26T08:21:03 #kisslinux ,', 2019-09-26T08:21:05 #kisslinux ;--.,/ ,.--; 2019-09-26T08:21:07 #kisslinux '. ' ' .' 2019-09-26T08:21:09 #kisslinux .-'' ''-. 2019-09-26T08:21:11 #kisslinux '-,__, ,__,-' 2019-09-26T08:21:13 #kisslinux |_| 2019-09-26T08:21:15 #kisslinux Much better. 2019-09-26T08:23:38 #kisslinux I still find it slightly weird because none of the leaves are like that, but yeah, much better. 2019-09-26T08:24:46 #kisslinux This was my reference: https://www.haiku-os.org/favicon.ico 2019-09-26T08:25:14 #kisslinux Making ascii logos is hard! At least it's *something* for the time being. 2019-09-26T08:25:41 #kisslinux As neofetch uses larger logos (50~ chars width) I usually use a tool to generate them. 2019-09-26T08:25:44 #kisslinux Oh, I forgot about that. Makes sense. And yeah, I don't know how you made so many. 2019-09-26T08:26:05 #kisslinux Let me try the tool I use at this size. 2019-09-26T08:50:09 #kisslinux Crestwave: You should be able to test pfetch on Haiku now. 2019-09-26T08:50:15 #kisslinux Still working on a better logo. 2019-09-26T09:10:08 #kisslinux ,-, 2019-09-26T09:10:09 #kisslinux ._,, / ,,_. 2019-09-26T09:10:11 #kisslinux '; ;' / 2019-09-26T09:10:13 #kisslinux '. .' 2019-09-26T09:10:15 #kisslinux .--'' ''--. 2019-09-26T09:10:17 #kisslinux "-.__. .__.-" 2019-09-26T09:10:19 #kisslinux |_| 2019-09-26T09:10:21 #kisslinux Much better now. 2019-09-26T09:12:03 #kisslinux Edit: 2019-09-26T09:12:05 #kisslinux ,', 2019-09-26T09:12:07 #kisslinux ._,, / ,,_. 2019-09-26T09:12:09 #kisslinux '; ;' / 2019-09-26T09:12:11 #kisslinux '. .' 2019-09-26T09:12:13 #kisslinux .--'' ''--. 2019-09-26T09:12:15 #kisslinux "-.__. .__.-" 2019-09-26T09:12:17 #kisslinux |_| 2019-09-26T09:15:05 #kisslinux Or this one(?): 2019-09-26T09:15:12 #kisslinux .'. 2019-09-26T09:15:13 #kisslinux ._,, / ,,_. 2019-09-26T09:15:15 #kisslinux '; ;' / 2019-09-26T09:15:17 #kisslinux '. .' 2019-09-26T09:15:19 #kisslinux .--'' ''--. 2019-09-26T09:15:21 #kisslinux ".___. .___." 2019-09-26T09:15:23 #kisslinux |_| 2019-09-26T09:31:10 #kisslinux ,^, 2019-09-26T09:31:11 #kisslinux / 2019-09-26T09:31:13 #kisslinux *--_ ; ; _--* 2019-09-26T09:31:15 #kisslinux '" "' / 2019-09-26T09:31:17 #kisslinux '. .' 2019-09-26T09:31:19 #kisslinux .-'" "'-. 2019-09-26T09:31:21 #kisslinux '-.__. .__.-' 2019-09-26T09:31:23 #kisslinux |_| 2019-09-26T09:31:25 #kisslinux Tada 2019-09-26T09:31:27 #kisslinux I'll stop spamming leaves now. 2019-09-26T09:31:47 #kisslinux The only difference is , vs . at the top for the first two? They're honestly hard to tell on Haiku's font, but I'd say , between those. 2019-09-26T09:32:10 #kisslinux hihihi 2019-09-26T09:32:24 #kisslinux s/tell/tell apart/ 2019-09-26T09:33:23 #kisslinux The fourth seems to be the most accurate 2019-09-26T09:33:53 #kisslinux Yeah, I had my mum take a look (she's an artist). 2019-09-26T09:34:29 #kisslinux 4th is the resul 2019-09-26T09:34:29 #kisslinux result* 2019-09-26T09:35:18 #kisslinux Oh cool 2019-09-26T09:36:26 #kisslinux https://i.imgur.com/Tx5Emmi.png 2019-09-26T09:36:29 #kisslinux Looks good to me. 2019-09-26T09:39:09 #kisslinux Looks great! 2019-09-26T09:39:29 #kisslinux Now test pfetch on Haiku :P 2019-09-26T09:41:45 #kisslinux Oh, I've already done that. I'll try to screenshot it now, though 2019-09-26T09:46:42 #kisslinux It works fine/ 2019-09-26T09:46:43 #kisslinux ? 2019-09-26T09:48:58 #kisslinux Yeah, although the host is the hostname 2019-09-26T09:50:42 #kisslinux Will fix. 2019-09-26T09:50:58 #kisslinux https://i.imgur.com/NaO3F0X.png 2019-09-26T09:52:43 #kisslinux Pushed a commit to fix host 2019-09-26T09:54:06 #kisslinux works great now 2019-09-26T10:37:25 #kisslinux A lot of rebuilds this week. 2019-09-26T10:37:47 #kisslinux x265 causes an ffmpeg rebuild which causes an mpv rebuild. 2019-09-26T10:38:27 #kisslinux mesa causes a rebuild of: cairo, freetype-harfbuzz, gtk+2, gtk+3, libepoxy, mpv, pango and xorg-server 2019-09-26T10:39:02 #kisslinux llvm/clang causes a rebuild of mesa and rust. 2019-09-26T10:41:25 #kisslinux I haven't pushed mesa, llvm or clang yet fyi. 2019-09-26T10:41:39 #kisslinux So only x265 applies at this moment. 2019-09-26T10:41:50 #kisslinux mesa will be pushed today once I verify everything that depends on it builds. 2019-09-26T10:43:15 #kisslinux Oh yeah, mesa causes a Firefox rebuild too. 2019-09-26T10:46:54 #kisslinux dylanraps: regarding a comment you made yesterday, openbsd (as well as OSX and a number of other unicies) uses jot instead of seq. Neither jot nor seq is POSIX. 2019-09-26T10:51:23 #kisslinux Lots of fun this week. :| 2019-09-26T11:59:33 #kisslinux OK. 2019-09-26T11:59:52 #kisslinux Mesa won't be updated either as Firefox 69 doesn't support the new version weirdly enough. 2019-09-26T12:00:35 #kisslinux So llvm/clang 9.0.0 will come when rust's new version is released and the new mesa will come when Firefox 70 is released. 2019-09-26T12:49:21 #kisslinux o/ 2019-09-26T12:49:23 #kisslinux Welcome 2019-09-26T13:42:14 #kisslinux https://github.com/obecebo/erythros 2019-09-26T13:42:17 #kisslinux Woah 2019-09-26T13:42:33 #kisslinux OS built on top of TempleOS (including a web browser). 2019-09-26T14:00:43 #kisslinux dylanaraps: hey, what's your opinion of alpine linux? 2019-09-26T14:22:55 #kisslinux icyphox: 2019-09-26T14:22:58 #kisslinux I'll note that I'm speaking only for when I used Alpine 2019-09-26T14:23:01 #kisslinux (1+ years ago) and things may have improved since then. 2019-09-26T14:23:01 #kisslinux I ran it on this laptop for about a year (before moving 2019-09-26T14:23:03 #kisslinux to glibc void and finally KISS). I only had trouble with 2019-09-26T14:23:07 #kisslinux it really. 2019-09-26T14:23:09 #kisslinux Both Firefox and Chromium were very outdated and the 2019-09-26T14:23:09 #kisslinux packaged versions were highly unstable. A lot of packages 2019-09-26T14:23:11 #kisslinux were also outdated and it seemed like they were having 2019-09-26T14:23:15 #kisslinux maintainer-ship issues overall. 2019-09-26T14:23:16 #kisslinux Their APKBUILDS, abuild and shell scripts as a whole are 2019-09-26T14:23:17 #kisslinux all very badly written (unsafe and unstable shell code). 2019-09-26T14:23:19 #kisslinux abuild also relies on eval to execute the build scripts 2019-09-26T14:23:21 #kisslinux which I see as a terrible idea. 2019-09-26T14:23:23 #kisslinux Shell scripts are the backbone of your typical Linux 2019-09-26T14:23:25 #kisslinux distribution and everyone gets this part wrong. 2019-09-26T14:23:27 #kisslinux Their binary package manager `apk` is really nice and 2019-09-26T14:23:29 #kisslinux quite fast though I had it break down a few times. 2019-09-26T14:26:42 #kisslinux Apologies, this took some time to send. My internet is terrible right now. 2019-09-26T14:32:46 #kisslinux is full disk encryption with passphrase prompt supported 2019-09-26T14:33:00 #kisslinux i looked at the faq and the linked documentation and it looks like a key is required 2019-09-26T14:37:00 #kisslinux thanks! i'm actually running alpine right now 2019-09-26T14:37:06 #kisslinux oh he's gone 2019-09-26T14:39:56 #kisslinux icyphox: what are you using it for? 2019-09-26T14:40:07 #kisslinux my daily driver :) 2019-09-26T14:40:23 #kisslinux i'm loving it so far, tbh 2019-09-26T14:40:54 #kisslinux oh wow. I toyed with the idea, but i expect to run into all sorts of inconveniences with musl 2019-09-26T14:41:07 #kisslinux i mean, so far so good 2019-09-26T14:41:22 #kisslinux and it's trivial to setup a chroot if you actually need any glibc progras 2019-09-26T14:41:25 #kisslinux programs* 2019-09-26T14:41:50 #kisslinux i only had trouble with minecraft, which took a while to get running from inside a chroot 2019-09-26T14:41:55 #kisslinux but i figured it out 2019-09-26T14:42:02 #kisslinux sounds tempting 2019-09-26T14:42:42 #kisslinux i really like its speed and for docker and such it's apparently what people use, but as main os on a laptop... daunting 2019-09-26T14:43:10 #kisslinux yeah it gets memed as the "container os lul" 2019-09-26T14:43:25 #kisslinux but it's very functional as a daily driver 2019-09-26T14:43:34 #kisslinux ok dinner time, bbl 2019-09-26T14:43:53 #kisslinux wonder if there's a "daily driver" desktop container somewhere :D 2019-09-26T14:49:21 #kisslinux I was trying to install KISS the other day and got a little confused with the kernel config, specifically in wifi 2019-09-26T14:49:41 #kisslinux what modules should one have built-in to the kernel? 2019-09-26T14:50:02 #kisslinux is it just the ones that are needed on startup because there is no initramfs or am I misunderstanding? 2019-09-26T15:33:15 #kisslinux xenome: It's up to you. I recommend building everything into the kernel as it then makes the kernel "standalone". You're right in that the drivers needed for booting the system need to be built-in. You can compile the other drivers as modules but you may have to modprobe them on startup. 2019-09-26T15:34:02 #kisslinux Minus the drivers for boot (filesystems, disk controllers, etc) it's up to you how you configure the rest of it. 2019-09-26T15:39:47 #kisslinux Okay cool, thank you! 2019-09-26T17:27:31 #kisslinux dylanaraps: thank you for that detailed response! 2019-09-26T17:27:44 #kisslinux you d/c'd right after 2019-09-26T17:27:56 #kisslinux but i said i'm using alpine as my daily driver right now 2019-09-26T17:47:10 #kisslinux No problem. 2019-09-26T17:47:16 #kisslinux Yeah, my internet is terrible. 2019-09-26T17:47:22 #kisslinux Took me 3 tries before I could send that.