<midfavila>
or manual specification in your X config
zenomat has quit [Ping timeout: 272 seconds]
zenomat has joined #kisslinux
zenomat has quit [Changing host]
zenomat has joined #kisslinux
lieux has quit [Quit: Client closed]
Guest28 has quit [Quit: Client closed]
Guest28 has joined #kisslinux
michael has quit [Quit: leaving]
<acheam>
dilyn: I just thought second long increments were a lot when we're talking 1-5 seconds
<acheam>
its more interesting to have some decimal places :)
<acheam>
but it doesn't need to be upstream, I just kiss forked and added a sed call
<Guest28>
ALSA recognze my RX 580 card after setting the default card to 1 but I am not sure what to do now... No volume settings in alsamixer just five "S/PDIF" options which can only be toggled
<Guest28>
There are five HDMI devices, I need to find which is DisplayPort 2 because that's what I am connected to.
<necromansy>
afaik you wont get a connection for DP
<necromansy>
coz its not AV
<Guest28>
What do you mean
<midfavila>
DP in theory is capable of audio
<midfavila>
but I've never had it work
* midfavila
shrugs
<Guest28>
I had it work on other distro using PulseAudio
<necromansy>
well colour me shocked, i thought it was visual only
<midfavila>
nope.
<Guest28>
Nope. HDMI and DP both support audio but not DVI (unless you use a HDMI adapter)
<midfavila>
it's capable of everything HDMI is
<necromansy>
:| i hate this
<Guest28>
DVI and vga no sound
<acheam>
very successful day in kiss for me: switched to mdev,
<necromansy>
what does aplay -l return you?
<acheam>
removed util-linux
<acheam>
shaved a few megs off my kernel
<midfavila>
what do you use in stead of fdisk?
<acheam>
BUSYBOX
<midfavila>
ew
<midfavila>
i disapprove
<riteo>
thinking about it, why doesn't busybox have pax?
<midfavila>
because nobody cares about pax or cpio or ar
<riteo>
well, considering it's in the POSIX standard people should care I think
<dylanaraps>
I /should/ have fixed all open dependency issues
<midfavila>
i really need to look on the gh more...
<dylanaraps>
Look at the other PRs I opened too
<acheam>
the problem is that you can't get email notifications without an accouny
<acheam>
IIRC
<midfavila>
Yeah, I'll look through them all.
<midfavila>
and I technically *have* an account... it's just frozen
<midfavila>
so fuck me I guess
<acheam>
which ruins the point of email notifications for me
Guest28 has joined #kisslinux
<Guest28>
Well I am on ubuntu in alsamixer and when I mute S/PDIF 5 my sound is muted
<midfavila>
you know, totally unrelated, but I just want to say, dylanaraps: you're a really cool dude.
<Guest28>
So I think it involves S/PDIF 5?
<midfavila>
i've learned a lot about unix from tinkering with KISS, and I appreciate the effort you put into it.
<midfavila>
same with the rest of you guys, honestly
<Guest28>
By the way the Card and Chip show up HDA ATI HDMI and ATI R6xx HDMI, respectively
<midfavila>
glad I could meet you all.
<midfavila>
[end of irlpost]
<Guest28>
midfavila I love you too bae
<midfavila>
= w=
<riteo>
ok since this is time for being all cuddly and honest: mid if it weren't for you I probably wouldn't have sticked up that much on here
<riteo>
not because everybody's bad or anything, but mid's shitposting really made that spark
<riteo>
we all love you :3
<riteo>
also talking about weird hardware at 6 AM is really nice
<midfavila>
my two redeeming traits
<Guest28>
So asoundrc just sets defaults... Muting S/PDIF 5 in alsamixer mutes my volume so it'd be the same in KISS
<riteo>
yes
<midfavila>
esoteric hardware knowledge and shitposting
<Guest28>
So if asoundrc just sets defaults, maybe it has something to do with the kernel? I don't know at this point
<Guest28>
I need to find a way to "select" HDMI / DisplayPort 6 - Ellesmere HDMI Audio from KISS
<midfavila>
have you tried using alsamixer?
<midfavila>
it allows you to change your output device.
<Guest28>
Yes, it lets me select the card
<Guest28>
But no sound
<midfavila>
hold on one sec...
<midfavila>
there's a way to set it as default
<Guest28>
I tried that too
<midfavila>
hmm
<Guest28>
It lets me go into alsamixer and select, but there's no sound
<Guest28>
Which makes me think is kernel-related
<Guest28>
In Ubuntu I just go to Sound -> Output -> Output Device
<Guest28>
But here's the thing, in alsamixer on Ubuntu when I change cards it doesn't change cards in the Sound settings
<midfavila>
i don't know anything about Ubuntu's configuration framework or how it would map to regular utilities, honestly... nor do I have experience with audio over media cables like DP and HDMI
<midfavila>
i'll look into it though, since I haven't got anything better to do
<Guest28>
So I'm wonder if there's a way to "select" the output device in alsa
<midfavila>
yes, it's to set the particular card as default
<midfavila>
you should also make sure that it's unmuted
<midfavila>
that's... tripped me up a few times, honestly
<Guest28>
Yeah I tried that
<Guest28>
I went from MM to OO
<midfavila>
and still nothing?
<Guest28>
"I switch devices by commenting and uncommenting out the relevant lines for selecting what device I want. Switching a default device by configuration file requires restarting the process that uses sound. For playing Youtube videos in your browser, this means restarting the browser whenever you switch an audio device. (There might be a better way to
<Guest28>
do this, I haven’t figured it out yet.) "
<Guest28>
"For playing Youtube videos in your browser, this means restarting the browser whenever you switch an audio device."
<Guest28>
Maybe it's as simple as restarting the browser
<midfavila>
uh, yeah, if you're making changes in config files, I'd close everything using your sound card and then alsactl restart or w/e
Guest28 has quit [Quit: Client closed]
<dilyn>
I dont' have a strong grasp on how sound devices come up in Linux but it might be volatile, so you aren't guaranteed that device 5 is the right one
<midfavila>
this is why I bought a mobo without onboard audio and disabled my GPU's audio... it's such a pain
dylanaraps has quit [Ping timeout: 272 seconds]
<dilyn>
eh
<midfavila>
honestly, if people spent half as much effort on making ALSA not shit, instead of layering more crap on top, it'd probably be a lot better
<dilyn>
it's like, two commands to figure out what the device numbers are
<dilyn>
alsa is... very good...
Guest28 has joined #kisslinux
<midfavila>
the documentation is non-existent, which is kind of a problem. audio input is handled oddly at times, especially if you have a mono mic
<dilyn>
that doesn't make alsa bad
<midfavila>
and then there's the whole killer feature of PA, which is "wow I can control volume on a per-program level", or so I've heard
<dilyn>
isn't that what jack is for
<riteo>
wasn't jack made for low latency and music making
<midfavila>
dilyn if nobody can figure out how to use your software, your software isn't exactly useful.
<Guest28>
Okay at least I know that the default device should be 11
<midfavila>
and yeah, jack is for audio engineering work, afaik...
GalaxyNova has joined #kisslinux
<Guest28>
What was that alsactl command you typed?
<Guest28>
My history is gone
<GalaxyNova>
any1 know how to modify a global variable from inside a function in posix shell
<midfavila>
try alsactl init. that *should* force it to reload your config file... as far as I'm aware.
<midfavila>
through the power of five seconds of searching, I bring to you a solution
<midfavila>
apparently "local" *is* posix
<midfavila>
oh, no, it's *not*
<midfavila>
fuck
<midfavila>
i need to actually read articles completely before talking about them
<midfavila>
now I feel like an idiot
<riteo>
no worries, this is all a mess
<GalaxyNova>
local is not posix
<GalaxyNova>
mfw
<midfavila>
you'll notice that I corrected myself
<GalaxyNova>
oh alright xD
<midfavila>
looks like a suggestion is to use a subshell instead of a function
<riteo>
oh the only way I can think of quickly is only one and it's a mess
<riteo>
touch a file
Guest28 has joined #kisslinux
<midfavila>
there's also another suggestion
<midfavila>
which is
<midfavila>
"implement local yourself"
<Guest28>
Okay so I have to type alsactl restore when rebooting.
<midfavila>
Guest28 just put it in your init scripts
<riteo>
midfavila: I'm pretty sure that the lastest of resorts
<GalaxyNova>
mifavila: lol
<riteo>
regarding the local reimplementation, not the alsa thing
<GalaxyNova>
I've lost so many braincells trying to figure this out
<GalaxyNova>
the scoping makes 0 sense
<riteo>
wait lemme try something
<midfavila>
what are you even doing, where the scoping of the shell's variables would matter significantly?
<GalaxyNova>
so basically i have a global 'failed' variable that is supposed to be changed to 1 by the err() function while inside a loop itterating through each line of a file
<midfavila>
does the function do anything else?
<midfavila>
or does it just change the value of the variable?
<GalaxyNova>
it does a bunch of other things ofc lol
<riteo>
it also prints some stuff
<midfavila>
this is a crazy radical solution but
<midfavila>
have you considered just
<midfavila>
not using a function
<GalaxyNova>
I woudn't make a whole function just to change 1 variable
<riteo>
mid that won't change anything
<GalaxyNova>
midfavila: And copy paste everything 50 times?
<riteo>
the function acts exactly as copypasting that stuff
* midfavila
shrugs helplessly
<riteo>
the issue is scoping and I think I got it
<riteo>
hear me out
<midfavila>
you two have fun
<riteo>
variables are scoped around processes (think of subshells and piped stuff)
<riteo>
so in fors and ifs variable changes are allright, but in stuff like `cat epicfile | while read a` will actually scope everything to read
<riteo>
I think I read a stackoverflow post about that
<acheam>
mid's 2am brain isnt at its finest for shell debugging I see
<GalaxyNova>
could i fix it by removing the cat?
<midfavila>
acheam i can't debug a script I can't see
<GalaxyNova>
and redirecting the input from the file directly
<acheam>
they sent it
<midfavila>
nor, to be honest, do I feel particularly passionate about shell scoping
<riteo>
"each command of a multi-command pipeline is in a subshell environment; as an extension, however, any or all commands in a pipeline may be executed in the current environment."
<riteo>
wait what does that second part mean
<riteo>
oh I think it means that curly bracket thing
<riteo>
reading the article further makes me think so
<midfavila>
that's mentioned in the SO post I mentioned...
<GalaxyNova>
OH
<GalaxyNova>
i fixed it by removing the cat entirely
<GalaxyNova>
and replacing it by feeding the file directly into the loop
<GalaxyNova>
i should have listened to shellcheck
<riteo>
yesss
<GalaxyNova>
thank you riteo
<GalaxyNova>
:D
<riteo>
you're welcome :)
<riteo>
also I freshened up my memory on this stuff once again
<riteo>
eventually it'll stick, I swear
<riteo>
damn pipes
<Guest28>
Write your script and pipe every command
<Guest28>
One long chain of pipes
<GalaxyNova>
Guest28: Otherwise can you even call it unix smh
<testuser[m]1>
Hi
<GalaxyNova>
hi
<riteo>
hi!
gtms has joined #kisslinux
<Guest28>
How is the firefox binary handled? Is there some dedicated machine that is just compiling every new version and releasing it on Github?
<sad_plan>
what is this __thread support that libelf requires? Im in the middle of trying to build a static kiss, and when building libelf, it gives me that error. or do I not need libelf after all?
<sad_plan>
I know its a dependency of mesa, but thats something that Ill worry about later, when I get there anyway :p
<riteo>
ok guys I need a quick suggestion
<riteo>
so basically the guys at mojang distribute their native libraries in the weirdest of ways by packing them into a .jar with sometimes their git hash and sha1 checksum
<riteo>
the idea of the sha1 checksum is to verify whether the native library is damaged or not, but ignored that zip already has a CRC of every file inside
<Guest28>
Mojang made Minecraft right?
<riteo>
yep
<Guest28>
DAng that game was so fun, I played the beta in 2008 or so
<riteo>
depending on the crc would require like, 1 command, while depending on the not always present sha1sum quite a few more
<riteo>
Guest28: it's evolved a lot, I'm making a POSIX shell launcher for it
<riteo>
would there be a good reason to go the more complex route of checking for the checksum file and calculating the sha1sum or should I stay with zip's builtin CRC for simplicity?
<riteo>
you know what, considering there won't always be that file it's probably easier to just use the CRC
midfavila is now known as midfavila-asleep
<riteo>
I mean, it's not like under normal circumstances the file will get corrupted or anything
<riteo>
epic
<riteo>
gn mid
michael has joined #kisslinux
<riteo>
oh I think I'm an idiot
<riteo>
that think I was talking about is slightly more complex, I thought that -t (test archive integrity) would test whether the uncompressed crc matched with the compressed one
<riteo>
s/think/thing/
<michael>
^think^thing
michael has quit [Client Quit]
<Guest28>
riteo Thought yyou needed to use Microsoft's launcher or whatever
<Guest28>
Or is that only the MS account you need
<Guest28>
I don't know I haven't touched that game in ages
dylan02 has quit [Ping timeout: 272 seconds]
<riteo>
Guest28: I feel like you're talking about bedrock/win10 edition
<riteo>
although lately mojang's been adding microsoft account support for their game and are slowly migrating to it
<riteo>
although I'm mad at it not that much because it's m$ but for its obligatory web browser dependency
<GalaxyNova>
yeah i hate the migration
<GalaxyNova>
it hasn't happened yet hasn't it?
<GalaxyNova>
I'm still using my mojang account
<riteo>
luckily it hasn't yet, although new accounts are automatically microsoft's
<riteo>
When the time will come that browser requirement will have to get over my body
<riteo>
there will be two outcomes then: either I workaround it, or...
<GalaxyNova>
now that he doesn't own the game anymore it's unlikely that that will happen any time soon
<GalaxyNova>
also are you the original recipient of the email? That's cool
<Guest28>
Well for multiplayer FPS/competitive games and the sort I'd argue closed source is probably "better" due to hacking, but since Minecraft is a game where you basically sandbox I'd say that open source is better. Minecraft is also probably more simplistic than most games in its code base so less opportunity to exploit
<riteo>
GalaxyNova: no I'm not, I found it somewhere
<Guest28>
And closed source means don't play it
<GalaxyNova>
Guest28: That's the same argument Windows users say when they argue that their operating system is more secure
<GalaxyNova>
security through obscurity is a fallacy
<GalaxyNova>
They could have made a decent server side anti cheat and solved that problem if they really wanted to
<riteo>
oh I found that quote
sad_plan has quit [Quit: ]
<riteo>
but quite surprisingly it wasn't jens that said it, at least not directly
<Guest28>
Well I used to program cheats for Valve games (TF2, CS:GO) and I feel open source would have made that much easier. VAC is pretty terrible though
<GalaxyNova>
imagine what could be done if minecraft what open source
<riteo>
probably minetest could get a tiny bit closer to that point if its main method of content delivery wasn't lua
<riteo>
like bruh, what did you expect
<GalaxyNova>
also lots of forks of the game
<riteo>
huh, really? I didn't know that
<riteo>
are you talking about the engine or the "game" like in the data files?
<GalaxyNova>
if the game was open source there would be
<riteo>
oh you meant that
<Guest28>
Actually on second thought just make all video games open source. Honestly most anti cheat systems are garbage and don't prevent cheating. A better solution would be to have a good dev team that patches exploits quickly and bans hackers fast.
<riteo>
also please make architectures that make cheating harder by design
<riteo>
valve knows this very well
<riteo>
mojang on the other hand...
<riteo>
I'm genuinely thinking about learning about C very in depth by making a minecraft clone
<riteo>
the idea is to make it my ideal minecraft clone, as minetest is very disappointing under the technical aspect
riteo has quit [Quit: epic irssi messup moment]
riteo has joined #kisslinux
<riteo>
irssi messed up
<riteo>
I was saying: minekiss is very very disappointing under the technical aspect
<riteo>
like, bruh, you got a lean "modular" c++ engine and you're limiting yourself to 1 chunk of height?
<riteo>
its killer feature would be out-of-the-box complex stuff like cubic chunks
<GalaxyNova>
doesn't minecraft also have 1 chunk of height?
<riteo>
bruh is it using minecraft's actual textures
<GalaxyNova>
mfw you add the whole project in "initial commit"
<riteo>
I guess that's the public repo
<riteo>
do you make public repos with incomplete software?
<GalaxyNova>
uhh
<Guest28>
All software is incomplete :)
<GalaxyNova>
riteo: should i not?
<riteo>
yeah, but not working software is way more incomplete IMO
<riteo>
GalaxyNova: it's more a personal thing than anything
<riteo>
I just don't do it to avoid creating a 10 year old empty repo
<riteo>
I've actually found them multiple times
<riteo>
>Random name - Interesting description of exactly what you need
<riteo>
>Initial commit
<riteo>
>empty repo
Guest28 has quit [Quit: Client closed]
<GalaxyNova>
99% of my repos
Guest28 has joined #kisslinux
<GalaxyNova>
I'm considering privating them to save myself from the embarrasment
<riteo>
If you work on them and you don't mind it being public I don't see why not
<riteo>
some people find it interesting to see a program slowly growing
<riteo>
s/growing/grow/
<Guest28>
whats wrong with growing. am i just bad at english
<riteo>
I don't know
<riteo>
I'm always scared of writing the wrong thing
<Guest28>
me too, even in real life I am scared of speaking because I suck at grammar
<GalaxyNova>
Guest28: past tense
<GalaxyNova>
actually
<GalaxyNova>
it's the infinitive of the verb
<GalaxyNova>
or something like that
<Guest28>
Infinitive is to grow
<Guest28>
I think growing is the imperfect tense here.
<Guest28>
Never mind it's the present progressive
<GalaxyNova>
honestly I don't even think about conjucation at all most of the time
<GalaxyNova>
i just use whatever tense "sounds" best
<riteo>
same thing
<riteo>
I'm pretty sure we haven't studied those tenses yet at school
<Guest28>
Same, but doesn't stop me from second guessing myself
<Guest28>
I am done school and I don't remember learning anything other than present/past/future
<riteo>
does anyone know if unzip/zipinfo's output is the same on all platforms?
Guest28 has quit [Quit: Client closed]
dylan33 has joined #kisslinux
<dylan33>
riteo: very doubtful. I don't think it's standardized (as a utility)(?)
<riteo>
mhh
<riteo>
I'm very tempted to just ditch native library verification altoghether and just overwrite them fresh from the jars
<dylan33>
I don't know how many implementations there are however.
<riteo>
they're like instantaneous do decompress and fetching the right sha1 from the jar, calculating everything and deciding what to do might actually be slower
<dylan33>
If you're lucky there's just the one (on Linux at least).
<riteo>
the idea is to make it portable, so I don't think that's a good idea
<dylan33>
If that's the requirement I'd look elsewhere
<riteo>
I think I'll just overwrite the libraries on each start everytime, it's the fastest and simplest solution
<riteo>
the other solution would be to look for a .sha1 file for each library, check it and if wrong or not here decompress everything
<riteo>
the issue is that it's not here for everything and they're formatted weirdly
GalaxyNova has quit [Ping timeout: 258 seconds]
<riteo>
like, a library is only its .so, there's not even the sha1
<technoznc>
dylan33: I saw you updated the kisslinux repo.. nice :D
<dylan33>
Idea: store the libraries elsewhere with the sha1 as part of the filename. Then symlink them to /usr/lib (or wherever)
<riteo>
mhh
<riteo>
Minecraft's native library distribution system is weird
<riteo>
the libraries are not versioned (no number at the end) and the libraries for each versions are in their own path specified at runtime
<riteo>
also the jars distributing them are aleady checksummed
<riteo>
like, they're part of the usual library validation
<riteo>
oh I see what you meant now
<riteo>
the symlink idea is interesting
<riteo>
I'll try it out
m3g has quit [Ping timeout: 268 seconds]
Uks3 has joined #kisslinux
Uks2 has quit [Ping timeout: 272 seconds]
<testuser[m]1>
if i do something like `gcc test.c -O3 -O2`, will O3 Optimizations take priority or O2 ?
<dylan33>
O2
<dylan33>
> If you use multiple -O options, with or without level numbers, the last such option is the one that is effective.
<acheam>
Stumbled upon it looking for a more maintained version of the portable openbsd userland
<dylanaraps>
acheam: It's a place for me to keep forks of software contained.
<dylanaraps>
I'm not using busybox right now. I've been using a mix of baseutils, sbase/ubase, etc for a while.
<acheam>
nice!
<dylanaraps>
baseutils is more incomplete than its documentation makes it out to be (or I'm experiencing something weird). Some utilities still need to be made portable(?).
<acheam>
hmm thanks
<dilyn>
I need to play with seatd...
<dylanaraps>
acheam: I forked sway to remove some of its dependencies (cairo, pango, pcre, json-c), bubblewrap to remove libcap (and related functionality),
<dylanaraps>
baseutils to make 'find' work (more commits to follow) and seatd to make rootless built-in seatd work with sway.
<acheam>
how does your sway handle fonts now?
<dylanaraps>
It doesn't when they're disabled.
<acheam>
so no bar?
<dylanaraps>
Exactly
<acheam>
thats the best way
<dilyn>
the superior desktop layout
<dylanaraps>
I'm using it more or less like a window manager
<dylanaraps>
My sway is /almost/ fully statically linked too. The only remaining libraries are from mesa.
<dilyn>
don't make me switch to sway
<midfavila>
switch to shod instead
<dylanaraps>
It's not all perfect
<dilyn>
yeah, for starters it's a tiler
<dylanaraps>
I don't like how wallpapers (and setting hex color as bg) requires a separate daemon.
<rio6>
I can't leave awesomewm thus x :P
<rio6>
spent too much time on the config
<midfavila>
i've seen some pretty crazy awesomewm configs
<armin>
awesome is actually a great wm, once it's configured
<dylanaraps>
I sent an email to Martin Stransky (Red Hat guy doing most of the Linux leg work) about Firefox and its plans for X11 support. Basically, when LTS distributions swap to Wayland, Firefox will start moving away from Xorg.
<dilyn>
so we've got at least a year before that process begins
<dilyn>
and probably fifteen after that before they finally finish it
<dylanaraps>
Basically
<rio6>
merging compositors and wms tho
<rio6>
in wayland compositors
<rio6>
although I don't use compositor so :P
<dylanaraps>
I've never like calling them "wayland compositor" since they do so much more than that.
<dylanaraps>
"window manager" is also inaccurate (on wayland) for the same reason.
<dylanaraps>
Maybe "wayland display server" or something along these lines(?)
<armin>
if "wayland wm" implies that it's a compositor, too, anyways, why bother? the lines between a DE and a WM are blurry, likewise.
<rio6>
hopefully things like "I made this cool fancy window effect but it only works on wayfire so if you use anything else you can't use it" won't happen
<dylanaraps>
It will happen and already happens. rio6:
<rio6>
:|
<dylanaraps>
The concept of "Linux desktop environment as a singular development platform" has existed for a long time.
<dylanaraps>
rio6: Have a look at "GNOME Circle" for example.
<rio6>
developers need to write the same program multiple times for different environments; users are locked into environment specific programs. These things don't really need to happen but they do anyways.
<dylanaraps>
testuser-broken: Very nice. Thanks for letting me know.
<dylanaraps>
rio6: The "lock in" is the intention. How else do you solve the wild-west we have now? :P
<dilyn>
have those wayland patches still not landed?? smh
<rio6>
midfavila: I thought it's a meme site like those systemd bad websites out there until I saw the domain
zenomat has quit [Quit: WeeChat 2.3]
<rio6>
becuause of that image
<rio6>
dylanaraps: I like being a cowboy using a duct taped system
<dylanaraps>
rio6: So do I.
<testuser-broken>
dilyn: even the gtk 2 patchset was backed out cuz of breakage so i wouldnt ezpect this anytime soon
<acheam>
at 22 gnu packages at this point, mt of the just make dependencies
<acheam>
s/mt/many/g
<acheam>
is mold actually usable?
<acheam>
as a sole ld implementation
<acheam>
I dont like having multiple linkers, multiple compilers, etc lying around
<dilyn>
on gentoo it is, apparently
<dilyn>
it can't build compiler-rt still, I don't think
<dilyn>
I have... two GNU packages?
<dilyn>
gmake and gnupg
<illiliti>
and linux
Uks3 has joined #kisslinux
<acheam>
damn
<acheam>
what do you use instead of as then?
<acheam>
and automaker/autoconf/libtool
Uks2 has quit [Ping timeout: 240 seconds]
<dilyn>
none of my packages require auto{make,conf} or libtool
<dilyn>
and I use llvm-as :P
<dilyn>
Linux isn't GNU! it's just GPL
<dilyn>
I have 12 GPL programs, 13 if you count chromium
<midfavila>
speaking of build tools, do you guys run into issues when setting gold as your default linker? even building a hello world program with blank cflags results in the error "a.out: no error information", which is amazingly helpful.