gchristensen changed the topic of #nixos-chat to: NixOS but much less topical || https://logs.nix.samueldr.com/nixos-chat
<infinisil> jackdk: I really hope 16GB will be enough for the years to come.. If not I'll be disappointed by the people coding inefficiently
<jackdk> also true
* samueldr will be extremely sour
<samueldr> we're safe memory-wise up to the moment apple releases macbooks* with 32 GB ram
<samueldr> oh, didn't check carefully enough, the 15" one does
<samueldr> (this is a cynical half-joke :/)
<infinisil> Heh, because then all the web devs will get it and code as if everybody has 32GB?
<samueldr> all the [uncaring] devs*
<infinisil> And a 1Gbit connection of course
<samueldr> works on my machine™
<infinisil> Yeah
<samueldr> tbf, not only apple is fond of not putting more memory in machines, so it's an across the board thing maybe: /
<aanderse> i got a 1gb connection last year
<aanderse> its great
<aanderse> door to door salesman came up to the door and offered me 1gb for the same price i was paying... i had 15mbps
<aanderse> couldn't believe it
<jackdk> what progress giveth, web developers taketh away :S
<aanderse> i thought it was a trick :p
<aanderse> ha ha ha
<infinisil> Am jealous
<jackdk> Come to AU sometime. Our internet infrastructure is a national embarassment
<samueldr> no direct involvement, but telcos here in canada are... it's not a good situation
<samueldr> I mean, I don't know personally enough about australia's
<aanderse> samueldr: you're in canada too? whereabouts?
<samueldr> though I know enough to say that I think it's pretty bad in australia, speed-wise
<samueldr> aanderse: Québec
<aanderse> ah nice
<aanderse> i'm in ontario
<samueldr> the bad bit here is how bad the oligopoly of the providers is
<samueldr> the big three all mirror themselves in having media empires, providing the same service sets
<aanderse> yeah for sure
<samueldr> and apparently every one that can do something is blind to the blatant price fixing
<aanderse> i'm with Rogers now which just about killed me... but i just couldn't say no to gigabit internet for the same price as my 15mbps >_<
<samueldr> every time there's a price change, it's like seeing double or triple :/
<samueldr> and I'm in a lucky situation here!
<samueldr> Québec has a fourth player!
<samueldr> when you switch provinces on telco's websites, you know which provinces have a fourth player and which don't
<elvishjerricco> That recent Christopher Robin movie was oddly depressing in the first half. I figured it'd be a bog standard kid's movie but Christopher was super depressing.
<aanderse> elvishjerricco: my son thought the first half was boring, but then enjoyed it
<aanderse> seemed to be geared toward ~10-12 crowd i'd guess?
<aanderse> i enjoyed it
<elvishjerricco> That's not surprising. I think the first half was geared towards viewers who watched the show 15-20 years ago and the second half was for kids
<aanderse> yeah
<elvishjerricco> But yea Christopher hating his job, worrying about divorce, and going directly against his childhood ideals made that first half pretty sad. His character was surprisingly well and maturely written.
<elvishjerricco> And somehow they made it not seem crazy that a talking tiny bear showed up
<aanderse> ha ha ha yeah
{`-`} has joined #nixos-chat
jtojnar has joined #nixos-chat
<Arahael> I've just installed nix onto my macos system, however, I prefer to use the fish shell. Can I do so? (THe instructions say to add a particular profile.sh to my shell's startup, but fish isn't sh-compatible.
<Arahael> Hmm, looks like if I make bash be my login shell, and then run fish, it's all good.
tilpner has quit [Ping timeout: 252 seconds]
* colemickens weird: my laptop can't seem to access ftpmirror.gnu.org but my server can?
drakonis has quit [Quit: WeeChat 2.3]
drakonis has joined #nixos-chat
drakonis_ has quit [Ping timeout: 252 seconds]
pie__ has joined #nixos-chat
pie___ has quit [Ping timeout: 246 seconds]
mudri has quit [Ping timeout: 250 seconds]
pasukon has quit [Ping timeout: 268 seconds]
vdemeester has quit [Ping timeout: 268 seconds]
ctp has quit [Ping timeout: 268 seconds]
pasukon has joined #nixos-chat
vdemeester has joined #nixos-chat
ctp has joined #nixos-chat
endformationage has quit [Quit: WeeChat 2.4]
<Arahael> I want to set a buildInput to include a *specific* version of nodejs, how can I do this, for nix-shell?
<Arahael> Lets say I want to have: buildINputs = [nodejs-8.15.0];, how do I do this?
<Arahael> Ah, nevermind. I forgot that nix differentiates between "symbolic" names and "attribute paths".
<Arahael> Had to do nix-env -qaP instead of nix-env -qa
jasongrossman has joined #nixos-chat
Myhlamaeus has quit [Ping timeout: 252 seconds]
jtojnar has quit [Ping timeout: 268 seconds]
jackdk has quit [Ping timeout: 245 seconds]
johanot has joined #nixos-chat
drakonis has quit [Remote host closed the connection]
__monty__ has joined #nixos-chat
obadz- has joined #nixos-chat
obadz- has quit [Client Quit]
<Arahael> I played with nix on macos today - really quite awesome.
ctp has quit [Ping timeout: 252 seconds]
ctp has joined #nixos-chat
aanderse has quit [Ping timeout: 264 seconds]
<johanot> if you "increase the interval" of something. Do you then make it happen more often or less often? :P suddenly in doubt
<joepie91> johanot: less often
<joepie91> johanot: interval describes the time period between two occurrences
<joepie91> (though this is commonly used wrong :P)
<joepie91> so increasing the interval results in decreasing the frequency, and vice versa
<johanot> joepie91: thanks.. my brain just melted :D kind of like how "turn down the fridge" can sound ambiguous.
<joepie91> heh, yeah
<joepie91> or like how "less" is ambiguous when talking about negative numbers in some contexts
<joepie91> also, +1 for melting pun
<joepie91> that was probably unintentional :D
<johanot> lol.. indeed. I'll show myself out
<joepie91> johanot: anyway, mnemonic: interval == intermediate value == value (time) inbetween things
<joepie91> dunno if that's actually the etymological origin but it helps to remember anyway
pita has quit [*.net *.split]
<johanot> joepie91: hehe .. I think I'll spend a post-it on that theorem
<joepie91> lol
etu has quit [Quit: WeeChat 2.4]
etu has joined #nixos-chat
<jasongrossman> joepie91: Yes, close enough. https://www.etymonline.com/word/interval#etymonline_v_9438
<sphalerite> doesn't inter just straight up mean between? :)
<sphalerite> ah yes
johanot has quit [Quit: WeeChat 2.4]
spacekookie has quit [Quit: **more agressive swooshing**]
spacekookie has joined #nixos-chat
endformationage has joined #nixos-chat
<clever> samueldr: and thats how the normal size battery fits
<samueldr> except I did not have the japanese variant, but the canadian one
<samueldr> the screen was exceptionally thin
pie_ has joined #nixos-chat
<clever> ah
<samueldr> the machine cost me (after taxes) ~2900$CAD
<clever> my dell d630's where basically free
<samueldr> must have been around the same vintage than the laptop you're saying
<clever> one was my dads old work laptop, after he upgraded
pie__ has quit [Read error: Connection reset by peer]
<clever> another was from one of my dads coworkers, same reason
<clever> not sure where i got the 3rd and 4th from, lol
<clever> several of them have GPU problems, and just render garbage
<samueldr> it's a bit sad because sony never admitted fault in the design, and I think the slim to none install base made the issue goe under the radar
<samueldr> but the thinness of the screen made it flex more than it should, and it pressed against the edge that's just under the keyboard and broke at that location if transported
<clever> the d630 display is about 1/3rd the thickness of the whole machine
<clever> oh yeah, a weird quirk of the design
<clever> see the line of trip at the top of the display?
<clever> that part is plastic, while the rest of the back is metal, can you guess why?
pie__ has joined #nixos-chat
<__monty__> Antenna?
<clever> yep
<joepie91> [16:07] <clever> not sure where i got the 3rd and 4th from, lol
<joepie91> Dell laptops just magically accumulate in closets, don't you know
<clever> joepie91: :D
<joepie91> I'm only half kidding, too :P
pie_ has quit [Ping timeout: 250 seconds]
<__monty__> My thinkpads thick on the left bezel drives me crazy, all of this asymmetry *just* to get good networking : s
jtojnar has joined #nixos-chat
<joepie91> at least you have a thinkpad with good networking
* joepie91 glares at the newest X model
<mdash> i just got the dock working with my new X1C
<mdash> pretty nice to have wired ethernet again
<andi-> Before I write my own: Anyone here startng services based on location/network they are in? I'd like to start a few services whenever I am home and stop it as soon as the laptop disconnects from the network
<gchristensen> oh!
<gchristensen> I've played with that
<andi-> (my current idea is dbus subscriptions to network-manager)
<gchristensen> andi-: https://github.com/grahamc/nixos-config/blob/master/packages/autorandr-configs/service.nix#L2-L8 I used udev's ability to start and stop user/system units
<gchristensen> I recommend using targets to express what you want
<andi-> that sounds like a good idea. I'll play with it. Thanks!
<gchristensen> btw the reason I commented out that stuff and don't use it today is not due to udev or systemd being unreliable, but X11 is horrible
Myhlamaeus has joined #nixos-chat
<sphalerite> https://sphalerite.org/dump/comment-toggle.png I like this hack way too much — I can toggle between the two bits of code by adding/removing the # right after the cursor
<gchristensen> good gravy
<gchristensen> that is clever
<joepie91> oh wow, lol
<emily> sphalerite: I love it
<emily> can you do that in C99+ with `///*`?
<emily> glorious syntax if there ever was one
<emily> oh, I guess it'd be `//*`
<joepie91> I think you can, yeah
<sphalerite> yeah I think so
<joepie91> idem for JS and other syntactic C derivatives
<emily> ``//* ... /*/ ... //*/`, everyone's favourite and most intuitive construct
<sphalerite> :D
<samueldr> I've been using similar constructs for years :)
<gchristensen> you've gotta share these secrets!
<samueldr> I thought it was obvious!
<joepie91> institutional knoooooowledge
<emily> I think `#if 0 ... #else ... #endif` is more palatable if you have a preprocessor...
<samueldr> there are traces in nixpkgs of that!
* emily often wishes she could do conditional entries in nix records and stuff
<gchristensen> .nixpp
<emily> would be nice if the language supported that
<sphalerite> / optionalAttrs {}
<sphalerite> argh
<sphalerite> //
jtojnar has quit [Quit: jtojnar]
<gchristensen> my god
<mdash> joepie91: more proof we live in a cyberpunk future
<joepie91> hehe
<gchristensen> hows wayland these days?
tilpner has joined #nixos-chat
<emily> gchristensen: roughly good enough for me
<emily> if you're using gnome it's perfectly fine
<emily> if you want to use sway or something it depends on your tolerance for janky shit
<gchristensen> ...oh? (I would want to use something i3-like)
<emily> then you want sway, which just had its 1.0 release, so I guess it's a good time to try it
<emily> if you have nvidia graphics don't bother
<emily> you'll still probably end up with a fair number of things running through Xwayland; neither Firefox nor Chrome's Wayland support is entirely there yet, though the former is getting close
<gchristensen> ah
<gchristensen> I have a never-ending fight with X over my external display. sometimes it'll just stop working and I have to reboot
<emily> *nods*
<emily> I've done display hotswapping on sway without issues, happily
<emily> sway's config and IPC protocols are broadly i3-compatible, fwiw
<emily> so it should be pretty easy to try out
<emily> (broadly = almost entirely but with enough one-off minor differences that they're not completely interchangeable =_=)
<gchristensen> neat
yl[m] has quit [Quit: Updating details, brb]
kalbasit has joined #nixos-chat
aminechikhaoui has joined #nixos-chat
endformationage has quit [Ping timeout: 255 seconds]
<{^_^}> #58121 (by betaboon, 7 hours ago, open): nixos/refind: init
<colemickens> gchristensen: my overlay is probably not necessary, Sway 1.0 is in nixos-unstable and is very usable.
<colemickens> Firefox and Chromium work fine with Xwayland, Firefox Wayland builds are usable with papercuts. GIMP + VsCode are my last holdouts for non-native-Wayland.
<colemickens> I'd like to take an afternoon and put together an ISO of my config with wayland-enabled Chromium, optimal Intel driver config (maybe the new Mesa + Iris driver) and use it as a demo of "bleeding edge Linux desktop graphics".
<colemickens> heh, the world is small -- I joined #intel to bring up an issue with their libva driver and nicks I recognize from #nixos are there
<gchristensen> :D
* emily is holding out for https://bugzilla.mozilla.org/show_bug.cgi?id=1519940 before switching over to wayland firefox
<emily> (oh, and firefox's own notifications are kind of broken (it spawns two non-floating windows), but I guess I can just set up a libnotify daemon for that.)
<colemickens> emily: I can vouch for `mako`. I noticed once that mako had crashed and that firefox notifications started appearing that way.
<manveru> emily: no nvidia? how come :(
<emily> manveru: nvidia proprietary drivers don't support the APIs most wayland compositors depend on
<emily> gnome has a bunch of code for nvidia's own API
<emily> nouveau works okay
<manveru> hm, ok
<manveru> not gonna buy a new card for this, maybe in a few years :)
<emily> you could complain to nvidia, I'm sure they'd take your feedback as a linux user very seriously :V
<manveru> :D
<joepie91> lol
<manveru> i come from a time when radeon was garbage man...
<manveru> maybe nvidia will see the light before i'm forced to buy a new card
<manveru> but until then it's working beautifully anyway
<manveru> now if i could just get steam to work properly again... :(
<joepie91> nvidia seeing the light?
<joepie91> this seems unlikely :P
<__monty__> If they see the light they're probably not worth your money anymore : )
<manveru> holy shit, i got steam to work again :D
<manveru> that's one derivation from hell...
endformationage has joined #nixos-chat
drakonis has joined #nixos-chat
<sphalerite> rtt min/avg/max/mdev = 47.261/4484.315/71508.092/11543.751 ms, pipe 71
<sphalerite> wheee
<infinisil> sphalerite: I bet somebody is occasionally intercepting your connections from Mars
<sphalerite> infinisil: haha
<andi-> the moment you spent an hour refactoring Rust code to figure out that I was accidentilly using GATs that aren't available just yet /o\
<gchristensen> :(
<andi-> I was so happy that I had a generic solution :D
* andi- reads further on GATs..
<infinisil> andi-: GADT or GAT?
<infinisil> (I only know GADT)
<andi-> generic associated types
obadz has quit [Quit: WeeChat 2.4]
obadz has joined #nixos-chat
drakonis has quit [Quit: WeeChat 2.3]
<joepie91> more good GDPR news
<gchristensen> nice!
<joepie91> one by one, all the attempts at bypassing the law are getting nice-try'd :)
<joepie91> of course, this ruling does not come as a surprise to anybody who's read the GDPR..
<gchristensen> :D
<__monty__> Sounds like it'll just result in even more busywork for consumers.
<gchristensen> oh?
<__monty__> You've seen the mess the cookie stuff is making, right?
<joepie91> __monty__: 'the cookie stuff' isn't making a mess, shitty publishers are
<gchristensen> made a long time ago*
<joepie91> nothing requires you to put up a GDPR wall
<__monty__> The cookie stuff is the reason they're making the mess, so it's not innocent.
<joepie91> again: that is on the shitty publishers, the GDPR does not require it in any way
<samueldr> conflating two things ere
<samueldr> here*
<__monty__> Doesn't matter who's at fault. What matters is *I*'m suffering for it.
<samueldr> AFAIUI the cookie consent is a separate thing (and older) from the GDPR
<joepie91> it's completely unreasonable to blame a law for unethically-behaving parties pestering the user because they don't like the law
<joepie91> samueldr: it's superseded by the GDPR
<__monty__> samueldr: That's why I said "cookie stuff."
<samueldr> "no" :)
<samueldr> canada still has cookie laws
<joepie91> __monty__: sure, so direct your complaints at the publishers pestering you with unnecessary GDPR walls trying to trick you into 'consenting' to something
<joepie91> samueldr: oh yeah, I'm just talking about the EU
<samueldr> but eh, the rest of the internet doesn't seem to care
<joepie91> wasn't aware other countries had cookie-related laws
<joepie91> this is the first I hear of it :P
<samueldr> though I'm not entirely up to speed with the differences, and there are :/
<joepie91> samueldr: what's the name of the legislation?
* samueldr is actually looking for it
<joepie91> yeah, same :P
<samueldr> obviously, google has indexed EVERY law site with "here you need to agree to cookies"
<joepie91> hahaha
<joepie91> self-poisoning search query
<samueldr> and somehow I cannot find the good informative website I have in mind quickly :/
<__monty__> I want the GDPR or whatever applies to say "F You, assholes, you *can't* ask anyone if you could please track them at all. You're allowed to have a switch people can actively look for but unless they flip that get rekt. Sincerely, the EU."
<joepie91> __monty__: the GDPR Is pretty close to that already, short of "users must search for the switch themselves" - almost every GDPR wall currently in use is just violating the legislation
<joepie91> __monty__: and I fully suspect that the walls will start disappearing once every publisher trick has been shot down in court, because at that point there's no sense in pestering a user with a cookie wall, because people are not going to agree without trickery
<joepie91> the entire reason those walls still exist, is because publishers think they can get away with subtly violating the law :)
<andi-> put nixos.dev to a good use: I provides nixos.org to IPv6-only networks :)
<joepie91> the past two rulings have been "you cannot check stuff by default" (see above) and "you cannot deny access if somebody rejects", the big one that's left that no formal ruling exists on yet, is "you must provide a reject option that's on equal footing with the accept option" (although that is definitely already in the law, just not confirmed in a ruling yet)
<joepie91> once that ruling happens, the walls will probably start vanishing
<joepie91> well, either that, or they'll stick around until the first fines for non-compliance start being issued
<joepie91> (a bunch of publishers have already gotten formal warnings over the 'denying access' thing in NL btw)
* samueldr can't actually find the documentation he's thinking of
<samueldr> though if you need a resource describing some general and specific stuff about privacy in Canada, this is pretty much the place https://www.priv.gc.ca/en
<samueldr> I'm 80% sure it was on that site, I associated the purple(?) colour with the content I have in mind
<joepie91> section 2
<samueldr> that's not the one since that one says cookies, html, javascript, and OPERATING SYSTEMS do not need express consent
<joepie91> samueldr: read on
<joepie91> "Note that you are only considered to have consent for these types of computer programs as long as the person's conduct indicates that they consent to it. "
<joepie91> which is a bit looser than what the GDPR says
<joepie91> but still requires some form of inferred consent
<samueldr> yeah, I was thinking about the banners with the "okay I got it" buttons (which aren't they all too late and cookies already given at that time?)
<samueldr> I like how an operating system doesn't need consent prior to installation (if the person'S conduct indicates that they consent to it)
<joepie91> hm, those might be covered under that yeah
<joepie91> lol
<samueldr> (it's legit though, phones, computers, all bought with an OS)
<samueldr> well, now it's annoying me even more that I must have misunderstood something I was reading, and conflated it with the cookie banners in my memory
<jasongrossman> joepie91++
<{^_^}> joepie91's karma got increased to 5
__monty__ has quit [Quit: leaving]
<joepie91> jasongrossman: that was a very ambiguously targeted karmaplus
<joepie91> :P
<joepie91> what was it for?