gchristensen changed the topic of #nixos-chat to: NixOS but much less topical || https://logs.nix.samueldr.com/nixos-chat
endformationage has joined #nixos-chat
<samueldr> https://googleprojectzero.blogspot.com/2019/02/the-curious-case-of-convexity-confusion.html wherein, hackers exploit geometry into memory corruption
jackdk has quit [Ping timeout: 250 seconds]
jackdk has joined #nixos-chat
lopsided98 has quit [Quit: No Ping reply in 180 seconds.]
<colemickens> wow
lopsided98 has joined #nixos-chat
<samueldr> that's a fair assessment :)
<gchristensen> wow
<jackdk> I just missed something cool, didn't I?
<gchristensen> 00:48 <samueldr> https://googleprojectzero.blogspot.com/2019/02/the-curious-case-of-convexity-confusion.html wherein, hackers exploit geometry into memory corruption
<jackdk> oh yeah that was sick
<gchristensen> diffoscope is crazy!
<samueldr> that's *some* way to archive
<fpletz> wow
<fpletz> gchristensen: have you already looked into fixing that?
<gchristensen> eltorito? no
<gchristensen> right now, trying to understand why diffoscope isn't diffing the iso properly
<fpletz> just had a look, seems we need to copy directory contents reproducibly (sorted) :)
<gchristensen> is there a nice way to do that?
<gchristensen> beyond find . -print0 | sort -z | xargs cp -I {} ./target (or something)
<fpletz> yeah, was thinking of something like that
<fpletz> but I'm checking if there is a nicer way
<gchristensen> actually, if we use disorderfs it won't fix it anyway
<gchristensen> seems we'd need to fix the tool to sort before adding t othe image
<drakonis> i found a straight HN clone
<drakonis> kind of dismaying really
<drakonis> lobsters is better
<fpletz> actually, it seems mcopy from mtools is the culprit
<samueldr> might want to look and see if using lkl would help; it's used for the ext4 images iirc
<gchristensen> nice, fpletz
<{^_^}> QubesOS/qubes-installer-qubes-os#26 (by marmarek, 17 weeks ago, open): WIP: Make ISO build (almost) reproducible, given the same set of input packages
<fpletz> cool, there's a cptofs command in lkl
<gchristensen> might be better :)
<gchristensen> (oh, find can do a built-in sort)
<fpletz> there are also some details on the kernel driver in that PR
<colemickens> make-disk-image uses cptofs for some parts
<gchristensen> https://github.com/NixOS/nixpkgs/pull/55373 got a fix in for keyutils
<{^_^}> #55373 (by grahamc, 23 minutes ago, open): keyutils: patch out unreproducibility
<colemickens> you are unstoppable
<colemickens> r13y.com nice :)
<gchristensen> _we_ are unstoppable!
<gchristensen> it isn't an accident that it was already over 95% reproducible when I first looked
<simpson> That's like 1.5 nines for free.
* colemickens is going to start measuring fractional 9s
<jackdk> here's some: , o
<samueldr> 19% is one nine, right?
<simpson> colemickens: If you spend a few hours memorizing some digits, you can do log10 in your head.
<samueldr> by extension, 59% is five nine?
<simpson> 8/10 I laughed really hard at that.
<gchristensen> haha
<simpson> Hm. I looked at the diffoscope for Python setuptools, and I'm not understanding the output. Also it's too bad that the tool can't recognize .egg having a ZIP header and introspecting into that.
<gchristensen> hmm
<gchristensen> you might need the "bloated" diffoscope ... checking ...
<gchristensen> no, bloated diffoscope doesn't help
<gchristensen> 2019-02-07 03:39:13 D: diffoscope.comparators.utils.specialize: File not identified by any comparator. Magic says: POSIX shell script executable (binary data)
<simpson> The pytest diff is straightforward if one happens to know this link: https://nedbatchelder.com/blog/200804/the_structure_of_pyc_files.html
<simpson> It's just a timestamp.
<gchristensen> last one for me for tonight https://github.com/NixOS/nixpkgs/pull/55375 -- then it is bed time
<{^_^}> #55375 (by grahamc, 4 minutes ago, open): Manual: make reproducible
<simpson> I haven't dug into how we generate our .pyc files yet. This could be really easy via the front door, or really easy via a patchelf-like tool.
<gchristensen> almost all our pyc files are reproducible, not sure why pytest isn't
<gchristensen> maybe worth looking at that
<gchristensen> (iirc, anyway)
<simpson> Mm. Anyway, have a good night. Thanks for your hard work.
<gchristensen> I am grateful for everyone else who has done the really hard part, the parts I don't know how to do :)
iqubic has quit [Ping timeout: 240 seconds]
drakonis has quit [Quit: WeeChat 2.3]
pie___ has joined #nixos-chat
pie__ has quit [Ping timeout: 268 seconds]
endformationage has quit [Ping timeout: 240 seconds]
lassulus has quit [Ping timeout: 246 seconds]
iqubic has joined #nixos-chat
lassulus has joined #nixos-chat
<elvishjerricco> Is udev started by stage 1 or 2?
<colemickens> I'm going to cry. If Android can't get to the web over Wifi, it uses LTE for everything, even things that look like local IPs.
<colemickens> Effectively, I've been trying to get something working that has been working since before I started trying, but my testing method was flawed. Ouch.
<sphalerit> elvishjerricco: 1
<elvishjerricco> sphalerit: And it doesn't have to be stopped and restarted in stage 2 or anything?
<sphalerit> elvishjerricco: hmm, unclear to me. If so I think it's systemd's job
<joepie91> great read about DNS over HTTP/TLS
drakonis has joined #nixos-chat
<gchristensen> any gitlab users about?
<elvishjerricco> Is there a reason nixos doesn't use systemd for mounts and initrd? Seems like dependencies between mounts / devices / services / etc. could be handled better with systemd than it is now
drakonis has quit [Ping timeout: 240 seconds]
drakonis has joined #nixos-chat
Guanin has joined #nixos-chat
<Guanin> Hi, I had some problems with an AMD GPU around a month ago. I had no time to play around much more with it, but I still did not get it working. Is it appropriate to open an Issue? I tried to reach out for help in the #nixos channel and on reddit ( https://www.reddit.com/r/NixOS/comments/abphe8/amd_radeon_pro_wx3100_x_not_starting/ )
<infinisil> Guanin: This channel is for offtopic discussions :)
<Guanin> So that is too off-topic, I guess :D Kind of hard for me to make that decision, sorry
<joepie91> Guanin: just means #nixos is more appropriate :) anyway, if it doesn't work out of the box, then that would be enough reason imo to open an issue
endformationage has joined #nixos-chat
<infinisil> I don't often play games, but when I want to, steam often doesn't work :(
<drakonis> thus is life
<gchristensen> I only play on nintendo switch these days
<gchristensen> everything else is too slow / time intensive to start and stop playing
<infinisil> gchristensen: Ohh, do you have Spla2n?
<gchristensen> I do :) I'm no good at it though
<infinisil> Noice, I don't have a Switch, but Splatoon was my favorite game on the Wii U
<gchristensen> yeah its might yfine
<drakonis> have you played slay the spire yet?
Guanin has quit [Remote host closed the connection]
iqubic has left #nixos-chat ["ERC (IRC client for Emacs 26.1)"]
drakonis has quit [Quit: WeeChat 2.3]
drakonis has joined #nixos-chat
<etu> gchristensen: Hmm, the ofborg bot adds labels to things, like "has: package (new)". And we have a label named "has: package (update)". I think it would be nice if ofborg could add that label if that's the case. That way it's easier to filter on package updates
<gchristensen> hrm could probably detect that with a ^(.*): (.*) -> (.*)$ regex
<etu> It should cover the cases that follow the commit message guidelines at least
<etu> (which is good enough imo)
<gchristensen> yeah
<gchristensen> I like to add things like that only in cases where the guidelines are followed, to encourage following guidelines
<etu> Sometimes it's easier to review updates, especially minor versions. So if I only have a bit of time it would be nice to be able to filter out some of those to pick something to look at
<etu> :-)
<gchristensen> +1
<gchristensen> mind opening a ticket?
<etu> Can do, in ~2 hours or so, I'm off to fighting people (martial arts) for a bit :-)
<gchristensen> kick their butts
<etu> Will do!
<etu> (especially my wife's since she attends the same group)
<gchristensen> (consensually)
<etu> We're all friendly there :-)
jasongrossman has joined #nixos-chat
<infinisil> Alacrittys config is really annoying
<infinisil> No backwards compatibility, lots of new stuff, when you don't have key bindings for new stuff (which you don't when you have an old config) you can't use the new stuff
<infinisil> The config specifies pretty much everything, and defaults to false or so
<infinisil> nixpkgs modules are much nicer in comparison
<infinisil> Everytime I update alacritty I just copy paste their standard config on the github repo and change what I need
<infinisil> I don't really mind all that much though, i think i was still on an unstable version previously
Guanin has joined #nixos-chat
<samueldr> I like how they've become so ridiculously affordable as of recently
<gchristensen> almost disgustingly affordable :P
<samueldr> (where recently is a long span of time)
<gchristensen> I remember back where I got less ram so I could afford the 80gb hard drive
<samueldr> 2016 I remembered "the amazing deal" on a 750GB SSD for 254$CAD (and the $CAD was closer to $USD)
<andi-> Has anyone recently used the carnix from unstable? Having a Dejavue of the old bugs.. (crate names, features, … starting with numbers etc.)
<gchristensen> it is a real process every time I use carnix
<andi-> yeah... I got some motivation to work on my rust tools today and then added a new dependency :/
<etu> gchristensen: I'm alive!
<gchristensen> good!
<{^_^}> ofborg#318 (by etu, 23 seconds ago, open): Feature request: Add label for pull requests that contain package updates
<gchristensen> yay
<gchristensen> thanks :)
drakonis has quit [Quit: WeeChat 2.3]
drakonis has joined #nixos-chat
drakonis has quit [Quit: WeeChat 2.3]
jackdk has quit [Remote host closed the connection]
jackdk has joined #nixos-chat
drakonis has joined #nixos-chat
Guanin has quit [Remote host closed the connection]
iqubic has joined #nixos-chat
jasongrossman has quit [Ping timeout: 268 seconds]
drakonis has quit [Quit: WeeChat 2.3]
drakonis has joined #nixos-chat
drakonis has quit [Client Quit]
drakonis has joined #nixos-chat