<clever>
just show --show-trace and -v are readable out of the box
<clever>
gchristensen: but also, i would maybe want such an option directly in nix
<clever>
then throw a legend at the top
<clever>
so basicaly, undo the path search
<clever>
gchristensen: replace every instance of a given path, with <nixpkgs>, while obeying $NIX_PATH
<clever>
gchristensen: oh, some other processing i often want in nix paths like this
<clever>
gchristensen: i want one that scans the conntrack table and follows the nat, then relays the reques to the right machine
<clever>
gchristensen: then its no better then the ones irc clients implemented, that could basicaly lie :P
2017-08-01
<clever>
gchristensen: aha, but ive not seen one that works thru NAT
<clever>
Infinisil: i dont think the service really exists in any modern linux distro, but older irc clients used to implement it
<clever>
Infinisil: its why you get this error when connecting
<clever>
*** No ident response; username prefixed with ~
<clever>
its why you have a ~ in your ident, Infinisil [~infinisil@178.197
<clever>
Infinisil: it was a service where you can query what user is owning the connection on a given port
<clever>
that little known service that nobody ever used, lol
<clever>
nisil [~infinisil@17
<clever>
now you just need the ident service working right
<clever>
yay
<clever>
dhess: but a recent change in nixpkgs broke that and made it overly complex
<clever>
dhess: yeah, it should be as simple as just nixpkgs.platform = pkgs.platforms.foo;
<clever>
yegortimoshenko: the gpu blob only has to exist as a file in the /boot directory, it never gets linked into anything at build time
<clever>
and the drivers all exist in a fork of linux, so it must have the right linuxPackages set
<clever>
and if both of those are gone, its nearly imposible to even know its booting
<clever>
and youll be lucky to even get usb
<clever>
without the right kernel drivers, you wont get any video output on an rpi
<clever>
dhess: in the rpi, the power management is handled by the gpu firmware
<clever>
yeah
<clever>
dhess: but that isnt aware of the low ram and may try to make more use of the cores then the ram can allow
<clever>
dhess: nixos-generate-config usually handles nix.buildCores
<clever>
and what hardware you can even use after you start booting varies wildly
<clever>
but the allwinner line will start in the ARM, with a bootrom that loads a stub from a set offset in various storage media
<clever>
all of the rpi's start the boot from a rom in the GPU!!, which will load firmware from a few places, and then it puts a stub at physical address 0, along with a kernel, and sets the ARM loose on it
<clever>
and then just how they boot, and what hardware they have, is even less standardized
<clever>
and also chips that can do all 3
<clever>
so just with the above, you have 2 variants of the 32bit instruction set, and 64bit only chips with no backwards compat
<clever>
and armv6 vs armv7 are sort of like 32bit with or without mmx
<clever>
but the aarch64 build slaves for hydra.nixos.org are 64bit only
<clever>
the rpi3 can run armv6, armv7, and aarch64 code
<clever>
arm is far less standardized then x86, even though its all "made" by one company
<clever>
Infinisil: or use a custom script that can get passwords via the env
<clever>
Infinisil: yeah, your only option there is to either store a template in git, and run sed over it on startup to sub in the passwords
<clever>
Infinisil: i would put the passwords into a different file, and import them
<clever>
Infinisil: nope
<clever>
i would just make a new password for irc, and accept that it will be plain-text in the irssi config
<clever>
dont do it, you wont survive!
<clever>
if i try to edit any user in hydra, it auto-fills my info ontop of them
<clever>
i also discovered a nasty interaction between lastpass and hydra
<clever>
i use lastpass now
<clever>
i just mean the stock password manager built into the browser
<clever>
and it has an option to encrypt the entire thing with a master pass
<clever>
Infinisil: firefox doesnt try to give you a false sense of security, and just lets you view all saved passwords
<clever>
Infinisil: which means, if i want the password for paypal.com, oh, thats also the key to decrypt it! (facepalm)
<clever>
Infinisil: internet explorer would "encrypt" the password with the domain name
<clever>
Infinisil: saved passwords in a browser have the same issue
<clever>
Infinisil: so your only option left is to put a master password over it that you must enter to decrypt, and then its not automatic
<clever>
Infinisil: the problem, is that no mater what you do, the computer has to be able to decrypt it on its own, and then an attacker can do the same
<clever>
sometimes..., it doesnt do anything today
<clever>
xfce with pulseaudio running does manage volume up/down on my usb headset
<clever>
dont follow it
<clever>
for symlinks, the only content is the target of the link itself
<clever>
so a relative link can point to different things, depending on which hardlink you use
<clever>
its relative to whever the name exists
<clever>
you can now find every name behind a given file
<clever>
also handy, ls -li shows inodes (stat also does), and `find -inum <x>` can search by inode
<clever>
exactly
<clever>
it also dedups the symlinks, by hardlinking all identical symlinks to eachother
<clever>
[clever@amd-nixos:~/apps/nixpkgs]$ time echo /nix/store/.links/* | wc -w
<clever>
real 0m25.826s
<clever>
1045508
<clever>
your cache is probably tainting the ls time
<clever>
try the du again
<clever>
Infinisil: and echo /nix/store/.links/<tab> only prints a single bel character, after several minutes of delay
<clever>
thats not stdout
<clever>
Infinisil: ls | wc -l is heavily IO bound
<clever>
Infinisil: yeah
<clever>
but full iteration is slow
<clever>
it must have an internal tree, to allow fast lookup
<clever>
but if i try to list the directory, it takes forever
<clever>
grantwu: oddly, zfs can access any file/directory almost instantly, if i give it the full name
<clever>
1.5 million at last count?
<clever>
now, how many entires are in my .links folder?
<clever>
yep
<clever>
this cuts the average directory size down to 1/256ths of the normal size
<clever>
yeah, i can see how that would look like a giant mess to approach
<clever>
contrapumpkin: and if i care about the project, i'll try to upstream them
<clever>
contrapumpkin: most of the time, if i'm modifying something where the source is available (i tend to ignore the license), i just put my changes up on github and call it done
<clever>
contrapumpkin: yeah, i should probably go over most of my projects and pick them
<clever>
its more of an example you can fork and customize to suit your needs
<clever>
havent thought about that
<clever>
oh, october
<clever>
gchristensen: is it this weekend? lol
<clever>
only people who drive on the right side of the road?