acheam_ changed the topic of #kisslinux to: Unnofficial KISS Linux community channel | https://kisscommunity.org | post logs or else | song of the day https://vid.puffyan.us/1JloNFppFE8
<noocsharp> didn't they only publish the kernel modules?
<noocsharp> i think userspace is still proprietary
<illiliti> seems so
<illiliti> well, it looks pretty useless then
<illiliti> why do i need bike without wheels lol
<noocsharp> a step forward is a step forward
<noocsharp> in theory mesa can target it once the interface is stabilized
<acheam> testuser[m]: kavin.rocks is crimeflared btw
illiliti has quit [Read error: Connection reset by peer]
illiliti has joined #kisslinux
<acheam> phoebos: i'm honored to be the first bookmark on your website
<acheam> "unordered" be dammed
denshi has joined #kisslinux
denshi has quit [Quit: denshi]
ioraff has quit [Ping timeout: 246 seconds]
<testuser[m]> illiliti: noocsharp it'll be forever useless cuz it uses hardware stuff introduced in the 30xx series
<testuser[m]> acheam: ik but it really doesn't matter tbh
<testuser[m]> Hi
<testuser[m]> And, to be clear, while we do share a lot of the code here with the proprietary driver, this is a significantly different driver architecture. There are currently no plans to either drop support, or to open source the proprietary driver which supports Maxwell and later
<testuser[m]> So bad
<testuser[m]> Anyway the userspace being opem source is more important cuz the proprietary kernel driver works on musl just fine
<illiliti> i wonder what nouveau devs think about this driver
<testuser[m]> U can use nvidia-smi with gcompat
<testuser[m]> I was able to run sway too with gcompat hack but it stopped working a few driver versions later
<illiliti> > Will the source for user-mode drivers such as CUDA be published?
<illiliti> > These changes are for the kernel modules, while the user-mode components are untouched. The user-mode remains closed source and is published with prebuilt binaries in the driver and the CUDA toolkit.
<illiliti> garbage
<illiliti> it's yet another gpl condom guys
<testuser[m]> How does this work
<testuser[m]> U can reset terminal and do whatever u can with escape sequences but how arbitrary code execution
<illiliti> very old and buggy terminals allow injection commands into the terminal input buffer
<testuser[m]> lol
<illiliti> today terminals sanitize input, so in order to achieve rce user interaction is needed
<illiliti> unless attacker found a way to bypass sanitizer
<illiliti> you can do many things with escape sequences without needing to execute commands
<illiliti> for example, you can stole clipboard via OSC 52
<illiliti> not directly related to this but don't copy and paste from internet to terminal: https://vid.puffyan.us/watch?v=LFXZqQL4vTY
<phoebos> acheam: hehe
<phoebos> it's unordered, it's a <ul>!
denshi has joined #kisslinux
illiliti has quit [Read error: Connection reset by peer]
illiliti has joined #kisslinux
denshi has quit [Quit: denshi]
<testuser[m]> illiliti: is there an alternative to pipefail for posix sh
<illiliti> yes, wrap commands in {} and check their status
<illiliti> also pipefail will be available in the next posix issue
<testuser[m]> illiliti: can u send example
<testuser[m]> wouldnt checking status discard output
<illiliti> what are you trying to achieve?
<illiliti> it depends
<testuser[m]> jq -r .[].file compile_commands.json | while read -r file; do echo $file; done
<illiliti> i don't see the need for pipefail here
<testuser[m]> illiliti: https://termbin.com/wvbu
<testuser[m]> i want the shell to exit
<illiliti> var=$(jq ..) || exit; for file ....
<illiliti> or heredoc
<illiliti> ^ this is much better than trying to emulate pipefail
<testuser[m]> how can u use a heredoc here
<illiliti> set -e; while ... done <<EOF\n$(...)\nEOF\n ....
ella-0 has joined #kisslinux
ella-0_ has quit [Read error: Connection reset by peer]
<phoebos> testuser[m]: { jq -r .[].file "$1" || kill 0; } | while ....
<testuser[m]> o i tried that but was not sure how to kill the shell that the sub command ran in
<testuser[m]> thanks
<phoebos> yeah kill 0 is like kill $$ i think
<illiliti> hacky hack, not needed here
<phoebos> illiliti: how can you do it without a subshell
<testuser[m]> illiliti: btw var=$(...) makes an extra copy right
<testuser[m]> but piping directly feeds stdout into program
<phoebos> ^
<illiliti> | makes extra syscalls
<phoebos> pipe? rather than a new shell?
<phoebos> *sub
<phoebos> actually pipes create subshells too
<testuser[m]> ye
<phoebos> ig var=$(jq...) || exit 1; while ... done <<EOF\n$var\nEOF\n is best
<phoebos> or while ... done << EOF\n$(jq ... || kill 0)\nEOF\n
ejjdhfjsu has joined #kisslinux
mahmutov has joined #kisslinux
illiliti has quit [Quit: later]
ejjdhfjsu has quit [Remote host closed the connection]
dilyn has quit [Quit: Connection closed]
ioraff has joined #kisslinux
acheam has quit [Ping timeout: 250 seconds]
acheam has joined #kisslinux
phinxy has quit [Quit: WeeChat 3.5-dev]
phinxy has joined #kisslinux