💾 Archived View for gemini.ctrl-c.club › ~phoebos › logs › kisslinux-2022-01-14.txt captured on 2024-05-12 at 16:03:32.

View Raw

More Information

⬅️ Previous capture (2022-03-01)

-=-=-=-=-=-=-

[2022-01-14T00:56:54Z] <dilyn> op_4: this should do it kiss bhttp://ix.io/3M7h
[2022-01-14T00:57:13Z] <dilyn> uh ignore that `kiss b` bit...
[2022-01-14T00:57:21Z] <dilyn> http://ix.io/3M7h lol
[2022-01-14T00:57:49Z] <dilyn> you can remove the commented lines, I have yet to test if the zig works but I'll do it in a sec
[2022-01-14T00:58:07Z] <dilyn> the problem was that kiss sets CC et al to some default values and it was I think fucking with the build script
[2022-01-14T00:58:30Z] <op_4> dilyn interesting, there's no way i can test this in time :P
[2022-01-14T00:58:43Z] <dilyn> ;)  24 cores spoil me
[2022-01-14T00:58:45Z] <op_4> I'm looking into streamlining/inlining the build script so that we can drop bash
[2022-01-14T00:58:53Z] <op_4> maybe i could give you something to test
[2022-01-14T00:59:03Z] <op_4> now that i know we have to unset these things
[2022-01-14T00:59:07Z] <dilyn> didn't actually need bash, they just said `bash` because it's the assumed default shell
[2022-01-14T00:59:14Z] <dilyn> they should just say sh but that would probably confuse people...
[2022-01-14T01:03:51Z] <op_4> dilyn so i think the magic might be -DLLVM_CONFIG_EXE="$ROOTDIR/out/host/bin/llvm-config" and -DZIG_PREFER_LLVM_CONFIG=ON
[2022-01-14T01:04:06Z] <op_4> but i can't really test this
[2022-01-14T01:04:14Z] <dilyn> yes that first one does indeed set the llvm-config to the right value
[2022-01-14T01:04:15Z] <op_4> that being said, if you have something that works, great!
[2022-01-14T01:04:28Z] <dilyn> but I ran into an issue after that with building zlib I believe; it couldn't "find the right C compiler"
[2022-01-14T01:05:13Z] <op_4> i'm cribbing now from a BSD build script: https://github.com/semarie/zig-ports/blob/dev/files/build.sh
[2022-01-14T01:06:23Z] <op_4> oh, also -DLLVM_INCLUDE_DIRS="$ROOTDIR/out/host/include" and -DLLVM_LIBDIRS="$ROOTDIRS/out/host/lib" seem relevant
[2022-01-14T01:07:29Z] <op_4> but yeah, i basically can't test any of this, sorry :/
[2022-01-14T01:10:06Z] <dilyn> well if this build finishes in the next... twenty minutes i'll be able to let you know if it works:)
[2022-01-14T01:10:23Z] <op_4> :)
[2022-01-14T01:10:41Z] <op_4> then we can have ncdu \o/
[2022-01-14T01:35:17Z] <dilyn> `./src/ui.zig:383:49: error: expected type 'c_int', found 'u32'` hm. fails to build ncdu
[2022-01-14T01:35:24Z] <dilyn> i'll have to look at this later :\
[2022-01-14T01:41:27Z] <op_4> dilyn oh wait so building zig worked? with the thing you pasted above?
[2022-01-14T01:50:24Z] <dilyn> mmhmm
[2022-01-14T06:34:45Z] <testuser[m]> Hi
[2022-01-14T08:37:27Z] <bibliocar> hi
[2022-01-14T08:40:06Z] <Ralph1977> Hi
[2022-01-14T09:02:33Z] <Ralph1977>  Which browsers do you use on Kiss? 
[2022-01-14T09:04:09Z] <Ralph1977>  i have the problem that firefox and chromium fails to compile on virtualbox
[2022-01-14T09:05:29Z] <Ralph1977>  an the webkit based browsers like badwolf fails too
[2022-01-14T09:06:58Z] <Ralph1977>  because webkit have dependencies errors 
[2022-01-14T09:11:40Z] <Ralph1977>  but elinks und lynx work well ;-)
[2022-01-14T09:12:08Z] <testuser[m]> Show logs for ff and chromium
[2022-01-14T09:16:34Z] <Ralph1977>  Chromium fails with ninja: subcommand failed 
[2022-01-14T09:21:25Z] <Ralph1977>  FF fails with gfx/skia/target-objects] Error 2 
[2022-01-14T09:25:27Z] <testuser[m]> Bruh
[2022-01-14T09:25:31Z] <testuser[m]> I asked for logs
[2022-01-14T09:25:41Z] <testuser[m]> In ~/.cache/kiss/logs
[2022-01-14T09:25:47Z] <testuser[m]> That's just the final generic error
[2022-01-14T09:25:58Z] <testuser[m]> Ur probably running out of memory
[2022-01-14T09:28:27Z] <Ralph1977>  Sorry but the fQ
[2022-01-14T09:28:59Z] <testuser[m]> Bruh
[2022-01-14T09:30:50Z] <Ralph1977> Sorry but i cant send the logs is to many for kirc and line by line make no sense 
[2022-01-14T09:31:46Z] <testuser[m]> upload to termbin
[2022-01-14T09:31:55Z] <testuser[m]> nc termbin.com 9999 < /path/to/file
[2022-01-14T09:43:24Z] <Ralph1977> and how can i share the link after uploading ?
[2022-01-14T09:46:30Z] <testuser[m]> Copy it
[2022-01-14T10:07:25Z] <Ralph1977> http://87.173.197.47/
[2022-01-14T10:07:51Z] <testuser[m]> wut
[2022-01-14T10:09:05Z] <phoebos> dns is bloat anyway
[2022-01-14T10:09:25Z] <phoebos> is that their local machine please no
[2022-01-14T14:37:22Z] <midfavila-laptop> >inb4 that *is* their local machine
[2022-01-14T14:37:30Z] <midfavila-laptop> also good morning #kisslinux
[2022-01-14T14:37:38Z] <testuser[m]> hi laptop
[2022-01-14T14:37:47Z] <sad_plan> hi mid
[2022-01-14T14:37:54Z] <midfavila-laptop> hurr funny maymay
[2022-01-14T14:37:58Z] <midfavila-laptop> what are you guys up to?
[2022-01-14T14:39:12Z] <sad_plan> messing with xfsprogs. Im reluctant to even include gnu's m4, aswell as autotools on my static build, so im vendoring 6 pkgs :')
[2022-01-14T14:39:32Z] <midfavila-laptop> rip
[2022-01-14T14:39:54Z] <midfavila-laptop> i'd love to replace GNU m4 but unfortunately I rely on a lot of autotools packages
[2022-01-14T14:40:34Z] <midfavila-laptop> once I'm an 31337 4@xx0r$ i'll get around to rewriting most of them though, methinks
[2022-01-14T14:40:49Z] <sad_plan> yeah, I use obsd's m4 on my build, and I suppose its fine, but gnu's tools just doenst work with it unfortunatly..
[2022-01-14T14:40:59Z] <sad_plan> lol, what does that even mean?
[2022-01-14T14:41:10Z] <midfavila-laptop> it's leetspeek brah
[2022-01-14T14:41:30Z] <sad_plan> yeah now that you mentioned it, I see it
[2022-01-14T14:41:31Z] <sad_plan> lol
[2022-01-14T14:41:34Z] <midfavila-laptop> :P
[2022-01-14T14:41:58Z] <sad_plan> I forgot about that. used to use it alot i my teen years or something
[2022-01-14T14:42:27Z] <midfavila-laptop> jej
[2022-01-14T14:42:28Z] <sad_plan> was really cool if you could read it
[2022-01-14T14:43:04Z] <midfavila-laptop> just memorize the arrangement of letters with ROT13
[2022-01-14T14:43:22Z] <midfavila-laptop> then nobody will be able to crack what you're saying
[2022-01-14T14:44:20Z] <sad_plan> I actually used rot13 the other day. I stumbled upon some challenge for shell scripting, and one of them was figure out a way to use unix tools to convert text from rot13
[2022-01-14T14:44:56Z] <midfavila-laptop> just abuse bc's math library really heavily
[2022-01-14T14:45:15Z] <midfavila-laptop> iirc it can add and subtract ASCII values and will return the appropriate one in the case of a wrap
[2022-01-14T14:45:35Z] <sad_plan> you can probably use bc too, but I used tr actually
[2022-01-14T14:46:00Z] <midfavila-laptop> tr would work but I feel like that'd be kinda clunky
[2022-01-14T14:46:30Z] <midfavila-laptop> i mean, the naive solution would be to write a gargantuan case statement that covers the entire ascii table 
[2022-01-14T14:46:32Z] <sad_plan> not too shabby actually
[2022-01-14T14:46:39Z] <sad_plan> lol
[2022-01-14T14:48:36Z] <sad_plan> its actually not worse than tr 'A-Za-z' 'N-ZA-Mn-za-m'
[2022-01-14T14:48:53Z] <midfavila-laptop> huh
[2022-01-14T14:48:58Z] <midfavila-laptop> didn't know tr could accept ranges
[2022-01-14T14:49:08Z] <sad_plan> me neither
[2022-01-14T14:49:20Z] <midfavila-laptop> guess I need to spend more time reading the manual
[2022-01-14T14:50:02Z] <sad_plan> I could link you the challenege if you want. its shellscripting in general, but not posix, so you probably encounter alot of bash stuff
[2022-01-14T14:50:18Z] <sad_plan> its 30 or so challenges. Ive gotten to 14 iirc
[2022-01-14T14:51:15Z] <sad_plan> https://overthewire.org/wargames/bandit/
[2022-01-14T14:52:11Z] <sad_plan> im sure its made for begninners, but i suppose people who already know some shell could have fun with the challenge aswell
[2022-01-14T16:14:29Z] <midfavila-laptop> my new maths books are here :OOOOOOOOOOOOOOOOO
[2022-01-14T16:14:37Z] <midfavila-laptop> and yeah I guess I'll take a look at it
[2022-01-14T16:14:41Z] <midfavila-laptop> bandit is decent
[2022-01-14T16:14:47Z] <midfavila-laptop> i think I was up to 27 before I lost interest
[2022-01-14T16:18:31Z] <sad_plan> yeah, it can get tedious when you go too far with it. lots of reading, to get through the levels if you arent familiar with the tools already
[2022-01-14T16:20:01Z] <midfavila-laptop> oh, it wasn't the reading that was a problem
[2022-01-14T16:20:19Z] <midfavila-laptop> it was that I was at a point where I had to bruteforce a telnet password using shell tools
[2022-01-14T16:20:32Z] <midfavila-laptop> and I calculated that it would take an average of four hours to break it 
[2022-01-14T16:20:34Z] <midfavila-laptop> so I was like
[2022-01-14T16:20:36Z] <midfavila-laptop> "fuck this shit"
[2022-01-14T16:20:38Z] <midfavila-laptop> and quit
[2022-01-14T16:23:27Z] <midfavila-laptop> aaaaaa I can finally start doing my maths studies in order now. just realized that
[2022-01-14T16:24:31Z] <sad_plan> wtf, is that seriously one of the steps? lol
[2022-01-14T16:24:41Z] <sad_plan> nice
[2022-01-14T16:24:49Z] <midfavila-laptop> for the one that I was working on, yeah
[2022-01-14T16:25:03Z] <midfavila-laptop> you had to bruteforce a password on a telnet server
[2022-01-14T16:25:37Z] <midfavila-laptop> just a four-digit PIN between 0000 and 9999 inclusive but considering one attempt took a good five-ish seconds..? yeah
[2022-01-14T16:26:06Z] <midfavila-laptop> as for why if you spammed passwords at it it would lock you out for half an hour
[2022-01-14T16:28:43Z] <nerditup> any idea why you would want to set a variable with `:` like this: https://github.com/dzove855/Bash-web-server/blob/main/bash-server.sh#L162 ? 
[2022-01-14T16:29:20Z] <midfavila-laptop> smells like bashisms
[2022-01-14T16:29:22Z] <sad_plan> damn, that would take ages..
[2022-01-14T16:29:47Z] <midfavila-laptop> i imagine it's a conditional variable setting though?
[2022-01-14T16:30:01Z] <midfavila-laptop> like, "if $THING not set, set THING to STUFF"
[2022-01-14T16:30:18Z] <nerditup> I'm thinking it's a shorthand for VAR_NAME="${VAR_NAME:-default_value}"?
[2022-01-14T16:30:53Z] <midfavila-laptop> yeah no it's a conditional binding
[2022-01-14T16:30:55Z] <midfavila-laptop> just checked
[2022-01-14T16:31:00Z] <midfavila-laptop> also I was wrong it's not a bashism
[2022-01-14T16:31:34Z] <nerditup> nice, thanks for looking into that midfavila-laptop 
[2022-01-14T16:31:43Z] <nerditup> I've never seen it done like that
[2022-01-14T16:31:49Z] <midfavila-laptop> np
[2022-01-14T16:32:00Z] <midfavila-laptop> i think I've actually used it in exactly one (1) build script I wrote...
[2022-01-14T16:32:07Z] <midfavila-laptop> to check for $EDITOR
[2022-01-14T16:32:07Z] <nerditup> how's the kiss community these days?
[2022-01-14T16:32:19Z] <midfavila-laptop> dunno, I don't really hang around here much any more
[2022-01-14T16:32:23Z] <midfavila-laptop> been too busy studying
[2022-01-14T16:32:24Z] <nerditup> I've been stuck in a Windows VM for work... :(
[2022-01-14T16:32:36Z] <midfavila-laptop> gross, sorry to hear that
[2022-01-14T16:32:46Z] <nerditup> it's really awful 
[2022-01-14T16:32:50Z] <sad_plan> rip
[2022-01-14T16:34:25Z] <midfavila-laptop> completely unrelated, do any of you guys know if oBSD handles polaris 10 GPUs?
[2022-01-14T16:35:06Z] <sad_plan> I dunno, but isnt there a list somewhere you could possibly find to check for supported harware?
[2022-01-14T16:35:17Z] <midfavila-laptop> probably. quick search didn't turn anything up though
[2022-01-14T16:35:38Z] <sad_plan> hmm
[2022-01-14T16:35:58Z] <midfavila-laptop> looking at whether or not hBSD will support my hardware when it releases
[2022-01-14T16:35:58Z] <midfavila-laptop> since it forks from oBSD
[2022-01-14T16:36:15Z] <nerditup> is this relevant? https://man.openbsd.org/radeon.4
[2022-01-14T16:36:30Z] <midfavila-laptop> nah, don't think so
[2022-01-14T16:36:34Z] <midfavila-laptop> radeon is for ancient cards
[2022-01-14T16:36:38Z] <midfavila-laptop> polaris 10 chips are recent
[2022-01-14T16:36:45Z] <midfavila-laptop> uses AMDGPU
[2022-01-14T16:36:48Z] <nerditup> what will you be using the new GPU for?
[2022-01-14T16:37:10Z] <midfavila-laptop> well, it's not new, I'm using it in my workstation because it has no iGPU
[2022-01-14T16:37:25Z] <midfavila-laptop> it's just a WX5100
[2022-01-14T16:37:48Z] <midfavila-laptop> basically an RX480 with extra memory, fewer floating-point processors, and more general-purpose compute units
[2022-01-14T16:38:01Z] <nerditup> ah, I was hoping for some details on some interesting research or something 
[2022-01-14T16:38:06Z] <midfavila-laptop> lmao no
[2022-01-14T16:38:09Z] <midfavila-laptop> i'm super boring
[2022-01-14T16:38:12Z] <nerditup> :D 
[2022-01-14T16:40:41Z] <midfavila-laptop> although once I understand mathematics more I intend to write a program to optimally plan my grocery runs
[2022-01-14T16:40:41Z] <midfavila-laptop> if that's something you would find interesting :P 
[2022-01-14T16:40:41Z] <midfavila-laptop> will probably run on my GPU
[2022-01-14T16:40:41Z] <midfavila-laptop> travelling salesman time
[2022-01-14T16:40:45Z] <midfavila-laptop> nice, iwd just kicked the can 
[2022-01-14T16:40:50Z] <midfavila-laptop> very cool, thanks intel
[2022-01-14T16:52:11Z] <midfavila-laptop> and we're back
[2022-01-14T16:52:27Z] <midfavila-laptop> although now I actually have to go do stuff
[2022-01-14T17:20:26Z] <sad_plan> me too. I had to do some actuall work, while being at work. now Im back doing nothing, or rather, figuring out how to beat level 14. subit a password to a port on localhost. lots of manpages to read I suppose
[2022-01-14T18:58:03Z] <phoebos> nerditup: `:` just ignores its arguments, so it lets you use the ${foo:=bar} expression, which is identical to foo=${foo:-bar}
[2022-01-14T18:58:24Z] <nerditup> phoebos: that was my thought, thanks for confirming
[2022-01-14T18:58:31Z] <nerditup> I like that syntax, looks clean
[2022-01-14T18:58:37Z] <phoebos> :)
[2022-01-14T18:58:43Z] <nerditup> I might adopt it myself
[2022-01-14T19:01:36Z] <phoebos> oh yeah, noocsharp: sfeed 1.1 was released
[2022-01-14T19:02:10Z] <phoebos> incidentally that release includes sfeed_curses with it
[2022-01-14T23:02:38Z] <dilyn> op_4: okay so no changes to zig and instead remembered that I was using netbsd-curses instead of ncurses...
[2022-01-14T23:02:46Z] <dilyn> install ncurses, did zig build on ncdu, builds
[2022-01-14T23:02:50Z] <dilyn> doesn't exec; segfaults immediately
[2022-01-14T23:04:03Z] <dilyn> so i suppose I can try to strace/gdb this bad boy but... man oh man does this hurt XD
[2022-01-14T23:08:31Z] <jslick> ncdu 3.0: rewrite in C
[2022-01-14T23:08:46Z] <dilyn> right
[2022-01-14T23:09:14Z] <dilyn> odd... building ncdu in a build script results in the binary only ending up in the cache, but building it myself ends with it in zig-out...
[2022-01-14T23:09:22Z] <dilyn> zig-out isn't even made when I make a kiss package...
[2022-01-14T23:09:24Z] <dilyn> zig is dum
[2022-01-14T23:10:32Z] <jslick> what is a zig-out ?
[2022-01-14T23:10:57Z] <dilyn> it's the output directory for zig compiled binaries I suppose?
[2022-01-14T23:11:44Z] <jslick> oh, that makes sense
[2022-01-14T23:24:58Z] <midfavila-laptop> >in chat with someone who claims they're a UEFI developer
[2022-01-14T23:24:58Z] <midfavila-laptop> >they then claim that there are trials of Rust in UEFI
[2022-01-14T23:25:02Z] <midfavila-laptop> time to abandon x86
[2022-01-14T23:25:27Z] <sad_plan> arm here you come?
[2022-01-14T23:30:36Z] <dilyn> fuck me sidways
[2022-01-14T23:30:45Z] <dilyn> building zig without -march=native -mtune=native results in no segfaults
[2022-01-14T23:30:47Z] <dilyn> zig be weird
[2022-01-14T23:31:56Z] <dilyn> op_4: you can take this zig-bootstrap build and package it up as zig and submit a PR to community if you'd like http://ix.io/3McO
[2022-01-14T23:32:40Z] <dilyn> mfw static zig is 125MB