<colemickens>
does there exist a script that would create a nix store in RAM, copy the current system config to it, pivot root to it and then unmount / ?
<ottidmes>
colemickens: well there is kexec with netboot that can be used to make that happen I guess
<jasongrossman>
nixos lustrate is similar to that, as you probably know, colemickens, but it doesn't copy the current system config.
ar1a has joined #nixos-chat
<ar1a>
đź‘‹ all
drakonis has joined #nixos-chat
<samueldr>
I knew I'd eventually get to use it
<samueldr>
just saved me ~5 minutes of boringness by using the rEFInd from the installer image to boot my usual system after a bios update
<samueldr>
the bios update cleared the nvram, including the boot options
<samueldr>
and the uefi firmware doesn't allow adding boot options from within
<samueldr>
(if it doesn't make too much sense, rEFInd scans all attached drives for EFI programs and lists them all)
<jasongrossman>
samueldr: Congratulations on getting Linus Torvalds on your side! (Or on our side.)
<samueldr>
I think that was the easiest of subjects: userspace regressions
jackdk has quit [Remote host closed the connection]
<emily>
thank god linus agrees with us on (checks notes) horrifying gigantic perl shebangs that it detects truncation of and re-parses differently ;w;
<simpson>
Linus is very much an advocate for userspace; I think that the times he's yelled at me (well, in my direction), it's been because he's concerned that the kernel's attitude towards userspace wasn't appropriate.
jackdk has joined #nixos-chat
jackdk has quit [Ping timeout: 259 seconds]
ottidmes has quit [Ping timeout: 244 seconds]
drakonis has quit [Quit: WeeChat 2.3]
jackdk has joined #nixos-chat
jackdk_ has joined #nixos-chat
jackdk has quit [Disconnected by services]
jackdk_ is now known as jackdk
iqubic has quit [Ping timeout: 264 seconds]
iqubic has joined #nixos-chat
jackdk has quit [Ping timeout: 255 seconds]
pie__ has joined #nixos-chat
pie___ has quit [Ping timeout: 245 seconds]
endformationage has quit [Quit: WeeChat 2.3]
ninjin_ has quit [Ping timeout: 256 seconds]
ninjin_ has joined #nixos-chat
ninjin_ has quit [Ping timeout: 256 seconds]
ninjin_ has joined #nixos-chat
ninjin_ has quit [Ping timeout: 256 seconds]
ninjin_ has joined #nixos-chat
ninjin_ has quit [Ping timeout: 256 seconds]
ninjin_ has joined #nixos-chat
__monty__ has joined #nixos-chat
jasongrossman has quit [Quit: ERC (IRC client for Emacs 26.1)]
jasongrossman has joined #nixos-chat
ivan has quit [Quit: lp0 on fire]
harrow has quit [Quit: Leaving]
harrow has joined #nixos-chat
ivan has joined #nixos-chat
emily has quit [Remote host closed the connection]
emily has joined #nixos-chat
<infinisil>
Argh! I can't send a PR review because the web interface is broken!
Guanin has joined #nixos-chat
<infinisil>
When I click on the "Review Changes" button after having placed a few comments, the box automatically closes again after 1ms, but the "Request Changes" button is on that box!
<infinisil>
Oh, it was the Refined GitHub add-on..
<infinisil>
"The numeric keys of the classic Dvorak layout are ordered: 7 5 3 1 9 0 2 4 6 8 (used today by the Programmer Dvorak[18] layout)"
drakonis_ has quit [Ping timeout: 250 seconds]
<joepie91>
man, it's been like 2 years now that I've been working for this client? and it still weirds me out to have to coordinate software update rollouts with on-site techs halfway across the world
<joepie91>
lol
<joepie91>
not that it's a problem or anything, it just feels so... unusual, compared to magical automatable deployment flows
MichaelRaskin has joined #nixos-chat
<andi->
what makes it not automatable? :-)
<joepie91>
andi-: the need for an on-site tech to interact with the machine during testing :P
<fpletz>
andi-: those on-site techs don't want to lose their jobs :)
<andi->
build a machine that interacts with the machine? :P
<joepie91>
andi-: dunno, an automated bill insertion device mounted onto an ATM might not go over well
<joepie91>
:P
<andi->
these humans..
<joepie91>
(or an automated bill *collection* device, for that matter)
drakonis_ has joined #nixos-chat
drakonis has quit [Ping timeout: 264 seconds]
<__monty__>
joepie91: Each ATM needs manual testing after a software update? o.O
<joepie91>
__monty__: depends on the type of update; if it's a backend update, only one ATM needs to be tested with (though there aren't always in-office testing units available), if it's a machine firmware update then each ATM gets tested individually after update, yes
<joepie91>
__monty__: mind that these are Bitcoin ATMs
<joepie91>
so, a distinctly different level of both scale and hardware quality, than 'real' ATMs
<__monty__>
Oh, thank god.
<joepie91>
we've had individual ATMs fail before :P
<__monty__>
Many bitcoin ATMs around the world?
<joepie91>
__monty__: $client only operates a handful, like 20 or so, mostly in the same geographical area
<joepie91>
thankfully $client is generally technically clueful so any update procedures etc. generally go smoothly
<joepie91>
it's a pretty well-oiled machine, it's just... strange to deal with a non-automatable deployment procedure :D
drakonis has joined #nixos-chat
drakonis_ has quit [Ping timeout: 258 seconds]
drakonis_ has joined #nixos-chat
drakonis has quit [Ping timeout: 264 seconds]
<__monty__>
Are you ops only or do you develop the software?
<__monty__>
Or, to avoid XY problem. Tell me about how to exploit bitcoin ATMs ; )
<joepie91>
lol
<joepie91>
__monty__: on paper I fix the shit software from the vendor for $client
<joepie91>
in practice I'm more or less tech support by now
<joepie91>
with a dev role
<joepie91>
(freelance though)
<joepie91>
so... little bits of ops, like that time when I had to debug one of the ATMs haflway across the world by tunneling chrome's remote inspector protocol over the internet
<joepie91>
which was an... interesting experience
<joepie91>
(turned out to be a chrome bug that had been fixed in a newer release)
drakonis has joined #nixos-chat
drakonis_ has quit [Ping timeout: 257 seconds]
<andi->
ATMs running chrome feels wrong?
<andi->
probably better then running ie{567}
<joepie91>
oh yeah :)
<joepie91>
andi-: I have... opinions about the tech stack used
<joepie91>
JS would probably not have been my first choice for a financial system
<joepie91>
to put it mildly
<gchristensen>
how does JS handle lots of decimal points of precision
<joepie91>
not
<joepie91>
there are bignum libraries though
<andi->
usually you calculate in milicents or something?!? I hope
<joepie91>
well okay there's bignum in JS now also but afaik its support is not very widespread yet
<joepie91>
andi-: all numbers in JS are double-precision floats
<joepie91>
(exception for typed arrays but those don't really count)
Guanin has joined #nixos-chat
Guanin_ has joined #nixos-chat
Guanin has quit [Ping timeout: 245 seconds]
Guanin_ has quit [Ping timeout: 258 seconds]
<disasm>
hledger is a miracle if you have to manage books for a business... I can't imagine having to generate the reports it does by hand...
drakonis_ has joined #nixos-chat
drakonis1 has joined #nixos-chat
<__monty__>
disasm: Isn't there tons of proprietary software that does something similar?
drakonis has quit [Ping timeout: 258 seconds]
<__monty__>
It's pretty cool how popular it is with accountants though. Surprised me.
<__monty__>
Thought otoh, accountants and not paying for software... Yeah fits the stereotype.
<disasm>
__monty__: I'm sure there is, but probably none that I can edit with vim :)
<simpson>
__monty__: Some of us small-business owners don't want to pay Intuit for expensive bloated software just so that they can lobby the government to make taxes harder.
<simpson>
But sure, penny-pinching, etc.
<disasm>
simpson: yeah, H&R and Intuit are the devil :) I got a local accountant to do everything for me but I still have to keep books and hledger fits the bill!
<simpson>
disasm: That's my kind of situation too. hledger is a simple, straightforward tool.
<simpson>
Sometimes it's a little icky, but just apply awk until it works.
<__monty__>
I was just objecting to "It's hledger or by hand."
<__monty__>
And the accountants only care about money bit was a joke.
<__monty__>
Though it's a stereotype for a reason.
<joepie91>
it's kinda their job to care about money though :D
drakonis_ has quit [Ping timeout: 264 seconds]
drakonis1 is now known as drakonis
drakonis_ has joined #nixos-chat
drakonis_ has quit [Ping timeout: 264 seconds]
drakonis_ has joined #nixos-chat
drakonis_ has quit [Client Quit]
* qyliss
works for an accounting software company
<__monty__>
qyliss: What's the industry attitude towards something like hledger? Not on the radar, contempt, something to built upon?
<qyliss>
I have never heard of it
<qyliss>
looks awesome though
lopsided98_ has joined #nixos-chat
<qyliss>
fwiw I’m very far removed from the actual accounting stuff. I have a developer tools job.
lopsided98 has quit [Ping timeout: 252 seconds]
<MichaelRaskin>
I wonder if there is something that can ingest IRC log and can be trained to highlight topics of interest (which I cannot even define in advance…)
<MichaelRaskin>
Skimming #nixos is worse than skimming GitHub notifications for Nixpkgs! And so I often don't connect to any high-traffic channels to avoid the choice of reading or discarding
endformationage has quit [Ping timeout: 255 seconds]
<qyliss^work>
If you don't already, I highly recommend using email or Octobox rather than the GitHub web UI for GitHub notifications
<MichaelRaskin>
For skimming I definitely use email. Although WebUI wouldn't be _that_ different given I start with marking stuff read mostly by subject line.
<qyliss^work>
In the web UI, if you click on a notification it vanishes
<qyliss^work>
so gl if you wanted to come back to something
<MichaelRaskin>
Well, there is the «all notifications» tab!
<qyliss^work>
oh, really?
<qyliss^work>
it's been a while since I used it
<MichaelRaskin>
Well, for some values of «all»
<joepie91>
lol
<MichaelRaskin>
I think the «all notifications» tab has been there for years
<elvishjerricco>
I personally turned off email notifications from github. I found the constant barrage of emails to be a massive annoyance. Much prefer checking the GH UI myself, where it's all nicely collected and I can address stuff in batches. Going back and finding old notifications isn't a common occurrence for me. But when I know I'll need to come back to one without a notification, I'll either mark it unread (which thankfully
<elvishjerricco>
can be done on GH now) or bookmark it elsewhere.