<cole-h>
No idea. It was in a shell script I saw recently, so I was wondering if it was just me
<samueldr>
270 meters, that's a weird way to report speed
wildtrees has joined #nixos-chat
<gchristensen>
lol
wildtrees has quit [Remote host closed the connection]
ottidmes has quit [Ping timeout: 264 seconds]
waleee-cl has quit [Quit: Connection closed for inactivity]
andi- has quit [Ping timeout: 246 seconds]
andi- has joined #nixos-chat
<pie_[bnc]>
ive said i before and ill say it again, i want higher order git xD <jtojnar> and git does not have good support for working with the patch graph – diffing diffs of two different branches is a mess
<thefloweringash>
there was that "range-diff" thing added in git 2.19
lovesegfault has quit [Ping timeout: 246 seconds]
<pie_[bnc]>
i would like to siderant about the fact that git apply does not do what i want (at least insofar as i tried) and git diff doesnt work in a bunch of cases, but its better than normal diff :(
cole-h has quit [Quit: Goodbye]
rardiol_ has quit [Ping timeout: 250 seconds]
drakonis has quit [Ping timeout: 246 seconds]
vesper11 has quit [Ping timeout: 258 seconds]
vesper has joined #nixos-chat
neeasade has quit [Ping timeout: 246 seconds]
<MichaelRaskin>
You do not want a higher order git, you want a DVCS that actually allows you to _also_ store what you really care about (and some scripts around it, sure)
rardiol has joined #nixos-chat
<elvishjerricco>
Hm. Playing around with more ZFS shenanigans. Tried `zfs send -R foo@bar | zfs receive foo/baz` and deadlocked ZFS. Everything else worked by any attempt to use any zpool would uninterruptibly sleep the process. Meanwhile the receive command was in the R+ state and pinned to 100% cpu. I'm guessing using `send -R` and receiving to its own child is probably a bad plan :P
<elvishjerricco>
s/by/but/
<ar>
hue
__monty__ has joined #nixos-chat
Jackneill has joined #nixos-chat
ottidmes has joined #nixos-chat
avn has joined #nixos-chat
<MichaelRaskin>
Level of storage redudancy: used HPE SAS SSDs without upgrading firmware and with no data loss.
<gchristensen>
lol.
<gchristensen>
that is a deep cut, MichaelRaskin
<MichaelRaskin>
I mean, second time in a row on the same model? Come on!
<MichaelRaskin>
(fortunately, I do not need to do anything where SAS drives are my problem)
<MichaelRaskin>
(But it is funny when people discuss FS reliability for consumer HDDs as if consumer HDD are not horribly unreliable regardless of FS)
<srk>
oh this sucks environment.DISCOURSE_API_KEY = cfg.mail.apiKey
<MichaelRaskin>
Oh fun. So, to make Firefox work with websockets through proxy I needed wss_proxy environment variable. Actually, makes sense…
thefloweringash has quit [Ping timeout: 256 seconds]
vaibhavsagar has quit [Ping timeout: 256 seconds]
worldofpeace has joined #nixos-chat
Irenes[m] has joined #nixos-chat
<ashkitten>
hmmm i should probably install lineageos on a phone and put my sim card in it
<ashkitten>
so i'll have a phone
thefloweringash has joined #nixos-chat
vaibhavsagar has joined #nixos-chat
arcnmx has joined #nixos-chat
atopuzov[m] has joined #nixos-chat
dtz has joined #nixos-chat
<aminechikhaoui>
Any Git experts around ? :) I'm looking at how to do this: I want to have git use a local script for doing diffs if I call an alias `git custom-diff`, otherwise git diff should work like regular diff. Right now I can add under diff config section external = /path/to/script but that ends up being used by default by git diff
<aminechikhaoui>
I'm sure it's an obvious config not even requiring an expert :D
<samueldr>
you know about how git-"something" works, aminechikhaoui?
<samueldr>
not sure it will help in your situation
<aminechikhaoui>
you need to add an alias for that right ?
<aminechikhaoui>
but I want the alias to know it's for diff to pass the right arguments when invoked
<samueldr>
but e.g. I have a git-vacuum-branches script, which does some cleanups in branches that are fully merged, no configuration in git's config, and I can just call `git vacuum-branches`
<samueldr>
yeah, I don't know about "knowing it's for diff" though
<aminechikhaoui>
oh I guess if you add git-something to PATH git will pick it up ?
<samueldr>
yes
<aminechikhaoui>
cool
<samueldr>
not sure if it's called with any special environment rather than directly calling it though
spacekookie has quit [Quit: No Ping reply in 60 seconds.]
<__monty__>
inb4 turns out it's the decimal comma.
<infinisil>
> let result = { ${if result ? a then null else "a"} = 10; }; in result
<{^_^}>
{ a = 10; }
<infinisil>
... why ...
<tilpner>
> let result = { ${if result ? a then "a" else null} = 10; }; in result
<{^_^}>
{ }
* gchristensen
blinks
<tilpner>
Is this "result doesn't have 'a' at time of check, then gets 'a'"?
<tilpner>
Please don't use this feature in nixpkgs, and we can never talk about it again c.c
<infinisil>
Something like this probably, but really, this almost seems like a bug
<tilpner>
infinisil: Do you understand mine?
<tilpner>
> { null = 10; }
<{^_^}>
{ null = 10; }
<infinisil>
Yeah, yours is the non-paradoxical case :P
<tilpner>
null as a key is clearly valid, why does the key-value pair vanish entirely?
<infinisil>
> { ${null} = 10; }
<{^_^}>
{ }
<tilpner>
Uhh
<tilpner>
Is it trying to coerce null to a string, to arrive at a key?
<tilpner>
I won't be able to sleep without knowing now
<infinisil>
It's a feature that you can use null as an attribute name, and it remove the attribute
<infinisil>
remose*
<infinisil>
removes*
<tilpner>
Oh, right
<tilpner>
My null above wasn't null, but "null"
<infinisil>
Yeah
<infinisil>
So this is why my example above should make no sense :P
<infinisil>
Because if it has "a", then it shouldn't have it, and if it doesn't have it, then it should have it
<tilpner>
That's a feature I didn't know I never needed
<infinisil>
Aha
<infinisil>
> let result = { ${result.a} = "a"; ${result.b} = "b"; }; in result
<{^_^}>
attribute 'a' missing, at (string):292:18
<infinisil>
> let result = { ${result.b} = "b"; ${result.a} = "a"; }; in result
<{^_^}>
attribute 'b' missing, at (string):292:18
<infinisil>
It's processed from left to right..
<infinisil>
> let result = { a = "b"; ${result.a} = "c"; ${result.b} = "d"; }; in result
<{^_^}>
{ a = "b"; b = "c"; c = "d"; }
<infinisil>
Makes my head spin!
<srk>
lol!
<infinisil>
> let exists = _: if result ? key then "exists" else "doesn't"; result = { ${exists 0} = null; ${"key" + ""} = null; ${exists 0} = null; }; in result