gchristensen changed the topic of #nixos-chat to: NixOS but much less topical || https://logs.nix.samueldr.com/nixos-chat
Drakonis has quit [Quit: WeeChat 2.4]
Drakonis has joined #nixos-chat
andi- has quit [Remote host closed the connection]
andi- has joined #nixos-chat
<infinisil> Haha man, i sure do love The Onion: https://youtu.be/WtR2m20C2YM
<infinisil> "Ninja Parade Slips By Town Unnoticed Once Again"
Drakonis has quit [Quit: WeeChat 2.4]
endformationage has quit [Quit: WeeChat 2.5]
ajirx has joined #nixos-chat
Jackneill has joined #nixos-chat
__monty__ has joined #nixos-chat
jasongrossman has joined #nixos-chat
<eyJhb> infinisil: yeah precisely! It is AMAZING...
<eyJhb> And holy hell I had to go far up for that tag :p
<__monty__> What amazing thing did I miss?!?
<eyJhb> Statically typed languages
<eyJhb> :p
<eyJhb> So I guess you have to stick with Python __monty__
jackdk has quit [Quit: Connection closed for inactivity]
<__monty__> Sigh, guess I'll have to ditch all this haskell hooey.
<eyJhb> Yeah, sorry ;)
<jasongrossman> Have all the Haskell fans seen this yet? https://jezenthomas.com/hello-world-in-haskell/
<eyJhb> Seems about right jasongrossman ;)
<joepie91> well well
<joepie91> seems like the guy who threatened me with DDoS attacks in the past, might have started a hosting company
<joepie91> not 100% sure whether it's the same person yet, but it's likely...
<joepie91> funny how I keep running into people again years later.
jasongrossman has quit [Ping timeout: 258 seconds]
jackdk has joined #nixos-chat
<eyJhb> WOndering.. Is there any easy way to bass boost on Linux, like .e.g AudioFX on Android?
<Miyu-chan> Re:Hello world in Haskell. This series: https://aphyr.com/posts/341-hexing-the-technical-interview
<jackdk> they are a lot of fun but definitely not exemplars of industrial code :-)
<infinisil> eyJhb: Pulseeffects!
<infinisil> Using it all the time :)
<infinisil> It supports a whole range of effects, is very customizable and easy to use
<adisbladis> Pulseeffects always causes massive clipping for me
<infinisil> adisbladis: When you change the volume especially?
<adisbladis> infinisil: Yes.. I basically have to start by lowering all EQ bands and then raising the ones I want boosted back up a bit
<infinisil> There is this issue here: https://github.com/wwmm/pulseeffects/issues/350
<{^_^}> wwmm/pulseeffects#350 (by Paul17041993, 39 weeks ago, closed): Audible stutter, crackle or pops occur when an application changes volume or state
<adisbladis> I did like https://github.com/bmc0/dsp better
<infinisil> Which was a bug in pulseaudio, and will be fixed in the next pulseaudio version
<adisbladis> infinisil: It's not while I'm changing volume, it's constant clipping
<infinisil> Hm I see, is there an issue for that? The creator seems to be pretty responsive
<adisbladis> infinisil: I didn't spot an issue now. And I haven't touched pulseeffects in a long time now.
<adisbladis> My solution is to get headphones you don't want to EQ :P
veske has joined #nixos-chat
__monty__ has quit [Quit: leaving]
<eyJhb> infinisil: it shouldn't require a restart to work, right?
veske has quit [Quit: This computer has gone to sleep]
<infinisil> eyJhb: Nope, you just need pulseaudio
<eyJhb> Whelp, just gives me ` The name ca.desrt.dconf was not provided by any .service files`, when I try to enable things and use it :/
<infinisil> Huh, that's weird
<eyJhb> I am *sigh* thinking of a restart.. But, I really don't want to :p
<infinisil> Search issue tracker maybe?
<eyJhb> Cannot find anything that works
<adisbladis> eyJhb: You need to enable dconf
<adisbladis> `programs.dconf.enable = true;`
<infinisil> Ahh
<eyJhb> adisbladis: still cannot enable it, after adding it and doing a rebuild switch
<eyJhb> enable it => anything. And getting same errors
<adisbladis> Iirc you'd still need log out/in
<adisbladis> It sets up some env vars and adds dconf to dbus
<eyJhb> Works now
<eyJhb> Thanks ;)
<adisbladis> Sweet :)
<adisbladis> I should really upstream my package for https://github.com/bmc0/dsp ...
<adisbladis> Because it's possible to make your EQ completely declarative
<infinisil> That does sound pretty nice
<eyJhb> "So what is your fetish?" - "Making everything ceclarative" :p
<eyJhb> Damn it, declarative**
<adisbladis> Also has this little lovely script: https://github.com/bmc0/dsp/blob/master/scripts/rew_to_dsp.sh
<adisbladis> So you can use measurements from https://github.com/jaakkopasanen/AutoEq
<infinisil> Very unixy
<eyJhb> Dooon't think my headphones fit into that high of a quiality
<adisbladis> eyJhb: You don't need fancy headphones for FR compensation to make sense.
<adisbladis> In fact I'd say it's the complete opposite.
<adisbladis> I don't want to EQ most of my headphones
<eyJhb> It was just going from the text `TL;DR If you are here just looking to make your headphones sound better, find your headphone model in results folder's recommended headphones list and follow instructions in Usage section.`
<adisbladis> It's not "better", it's just closer to the harman target curve
<eyJhb> And pretty quickly I don't know enough to paricipate in anything audio related.. Basically, I just want my ears to hurt with bass, and then I am a happy camper !
<adisbladis> Whatever floats your goat :)
<eyJhb> Well, I mostly hear music when I run.. So that just seem to perform better
<adisbladis> eyJhb: I'm the complete opposite :P Usually have to reduce the bass a by a few db
<eyJhb> Oh, I can't do that at all. It is normally the difference between dying after 4 minutes or after 11 minutes :| But I do have to pull out my headphones after, because after that amount of time it hurts my ears .......
<eyJhb> Long distance however, then I have to drop it too
<adisbladis> eyJhb: May I ask what headphones you have?
<eyJhb> Not quite sure if I should have called them something else than headphones, seeing as it is `Bose SoundSport in-ear black for Android`
<adisbladis> Right... If you can I suggest switching to Comply tips
<adisbladis> It's one of very few universal tips I've liked
<adisbladis> I don't know how well it would work for you though
<eyJhb> Oh, when I say hurt, it is more because the music is too loud. They only start to hurt efter 2-3 hours of use. But I will look at it! :D
<adisbladis> Ahh :D
<eyJhb> Hmm, nope, can't use those.. :/ I can pretty much only use things that are in ear like that
<eyJhb> Everything else falls out within secounds
<adisbladis> eyJhb: I doubt the complys would
<adisbladis> They're memory foam. You compress them, put them into your ears and let it expand
<eyJhb> Well.. Sometimes earplugs don't even fit.. :p A joy when the neighbour won't shut up
<adisbladis> I have a similar issue.. My left ear has a weird bend so I always get pains from univerals
<adisbladis> Sometimes I even end up with a wound
<joepie91> interfacing with humans remains a difficult problem
<adisbladis> joepie91: The API keeps changing
<joepie91> and every deployment seems to be slightly different :P
<eyJhb> That does not sound nice! :(
<eyJhb> Argh.. I thought that somewhat big rewrite would be smaller.. But I keep finding myself setting up more structs, endpoints and tables...
<eyJhb> But then also hoping ,when this is done, it will only be minor changes and I can do eveeerything I have in mind! *but will properly not be the case*
endformationage has joined #nixos-chat
<Miyu-chan> Does anyone know of a case where a female {micro,mini}-USB, or USB3 port breaking?
<Miyu-chan> Err, USB-C*
<gchristensen> yeah, mine is broken
<Miyu-chan> Like, breaking, physically. The thing that the male part chipped off.
<Miyu-chan> Err
<Taneb> I had some grit stuck in my phone's USB-C port previously which rendered it more or less inoperable
<Miyu-chan> The thing that the male part encloses chips off
<Miyu-chan> Because I just find it insane that it seems much easier to break the female part than the male part.
<gchristensen> I had a USB-C to headphones adapter break the internal part of the female end
<Miyu-chan> Yikes.
<Miyu-chan> At least it's the adapter.
<gchristensen> no
<Miyu-chan> Wait
<Miyu-chan> :(
<gchristensen> that long pokey-outey-bit. I had it in my pocket. I bent over and it snapped the phone's inside bit
<Miyu-chan> Taneb: Damn. I wonder if it's harder to get it out with USB-C than older revisions, considering that there's no flat side to pin it against.
<sphalerite> I have an ereader that's very difficult to charge through its micro-USB port
veske has joined #nixos-chat
<sphalerite> it still plugs in perfectly fine, but it only makes contact with a very particular application of force
<sphalerite> (luckily gravity is enough in terms of magnitude, but the direction is hard to get right)
<Miyu-chan> Anyways, it never happened to me. Uh, 8 years and counting, I guess?
<Miyu-chan> I've slept with my phone and all that. So I was wondering if it's just structurally strong, or I just got lucky.
<sphalerite> I think it's a matter of design as well
<sphalerite> I think my e-reader didn't have enough material taking the stress off the actual data/power pins of the port
<joepie91> sphalerite: I've found e-readers to have particularly bad ports
<joepie91> failure rate seems considerably higher than for other USB devices
<joepie91> not really sure why
<Miyu-chan> Ah. I was also wondering how many cycles does it take to scrape off the contact points.
<joepie91> anyway! it probably just came loose off the board and resoldering it can fix it
<sphalerite> yeah, I'm not sure how to resolder it. But I can probably take it to work and discuss with some colleagues, and if that fails go to my local CCC instance :)
<joepie91> I'm sure that somebody can help you with it :P
<eyJhb> sphalerite: pst. Just superglue it ;)
<adisbladis> gchristensen: That adapter is really bad... It's so huge it acts like a lever
<adisbladis> Also I almost have to max out the volume on it
<gchristensen> same
<adisbladis> gchristensen: I also have the Apple USB-C adapter and it's pretty great
<adisbladis> Except it doesn't work properly on android
<gchristensen> lol.
<adisbladis> gchristensen: I blame Android though. On standard Linux it's plug and play.
<gchristensen> ah
<adisbladis> On Android you have to drop down to the alsa layer and increase the volume from there
<adisbladis> Then you can get satisfactory output
<adisbladis> That's what I typically use when playing music from my laptop
<adisbladis> It's surprisingly good considering it costs almost nothing
<ashkitten> i just wish i could use pulseaudio like jack's patchbay metaphor
<ashkitten> jack is a pain in the ass, but pulse doesn't do what i want
<ashkitten> maybe i should just get a physical mixer and patchbay lmfao
<ashkitten> but i can't have every application output on a different port for that to work sadly
<gchristensen> pulse can do some of that fanciness, but it is a bit (a lot) annoying
<ashkitten> maybe i'll mess around with jack some more
<ashkitten> but use it to control pulse only
<ashkitten> because i don't want it to break everything
waleee-cl has joined #nixos-chat
<Taneb> Is hydra-provisioner still used? (https://github.com/NixOS/hydra-provisioner)
Myhlamaeus has joined #nixos-chat
<eyJhb> Neat
Drakonis has joined #nixos-chat
<gchristensen> Taneb: yes
Jackneill has quit [Read error: Connection reset by peer]
Myhlamaeus has quit [Read error: Connection reset by peer]
Myhlamaeus has joined #nixos-chat
endformationage has quit [Ping timeout: 245 seconds]
endformationage has joined #nixos-chat
veske has quit [Ping timeout: 272 seconds]
waleee-cl has quit [Quit: Connection closed for inactivity]
Drakonis has quit [Read error: Connection reset by peer]
waleee-cl has joined #nixos-chat
<eyJhb> "All IT Technology for businesses", not quite sure that sounds like a good slogal for a tech company
<elvishjerricco> Has there been any actual project to bootstrap GCC from nothing?
<elvishjerricco> Well, maybe "nothing" is too far; but like from only having a running Linux kernel or something?
<jackdk> elvishjerricco: https://www.bootstrappable.org/projects/mes.html is a thing you should look at
<avn> elvishjerricco: look for mes, stage0, and other things around (is a few projects around this topic: plan9 cc, some small c compilers, tcc/pcc, mini-c compilers (tons of them))
Drakonis has joined #nixos-chat
<gchristensen> anyone know of a nicer version of this? while [ "$1" != "--" ]; do shift; done; shift # pop off the "--"
<jackdk> don't you want `==` there?
<gchristensen> in this case the argument list is like ... `./test.sh foo bar baz -- tux bux lux` and I want to shift off "foo bar baz --"
<jackdk> ah yep you're right. that's how I'd write it, unless there's some shenanigans with $@ or something?
<samueldr> I'd maybe break from the loop that is likely parsing the stuff left of the -- clause
<samueldr> even though I generally dislike breaks
<samueldr> there's nothing to manipulate arrays as a whole in bash, really
<samueldr> (oh, prove me wrong if you want :))
Myhlamaeus has quit [Read error: Connection reset by peer]