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