<manveru>
so now i can map all the attributes of my CI inputs to their name and output path, then i can store their stdout/stderr/metadata alongside as well :)
<manveru>
i'm sure there's some super simple way to do this... but that was quite fun anyway
<gchristensen>
:D
<samueldr>
only cynics would use ciNix
<manveru>
;)
<manveru>
happy accidents
<manveru>
i was looking for a way to get sets into the shell for almost 2 hours...
<manveru>
and even __structuredAttrs is only used once in nixpkgs
<gchristensen>
nixops already feels more manageable
<gchristensen>
less than 13kloc!
<samueldr>
is the end-goal to get everything away from the core of nixops?
<gchristensen>
:) that is the idea I'm experimenting with
<gchristensen>
https://github.com/NixOS/nixops/pulls what if all these provider specific PRs could be merged by people who (imagine) knew that provider? :)
<samueldr>
that would be awesome I guess
<gchristensen>
"I guess" doesn't seem so enthusiastic :P what do you think?
<samueldr>
if I managed nixops, I'd be stoked to be able to delegate specific knowledge to someone else or somewhere else
<samueldr>
(somewhere, assuming plugins can come from outside the main repo)
<samueldr>
but I know next to nothing about nixops!
<gchristensen>
I'm imagining a nixopsWithPlugins
<infinisil>
gchristensen: Wait, where did all the functionality go with this much deletions?
<gchristensen>
thus far? away
<samueldr>
though, I also imagine this makes it easier to understand how to add a provider?
<gchristensen>
it can still deploy to "none" hosts and do all its stuff with "none" hosts
<samueldr>
if virtualbox, digitalocean and $proviers are all separate, makes it easier to "feel" what's required
<samueldr>
$providers*
<gchristensen>
yeah! exactly!
<infinisil>
Sooo, how do you hook in a new provider?
<andi->
thats the classic recursive import issue for py2..
<andi->
gchristensen: not sure if a relative import (just the "local" part) would work there any better.. e.g. import `ec2_comon` instead of the full path
<gchristensen>
I think that is it, I hate this crap
<andi->
hrhr
<andi->
I am fighting an AttributeError on a stable release that happens when you combine two features and then suddenly wrong type -,-
<gchristensen>
incredible
<gchristensen>
O.o
<andi->
yes.. It's so great.. and people are starting become a bit annoyed by my cries for language that at least encourages type annotations and checks those..
<gchristensen>
hot diggity dog! I just provisioned an AWS VPC and a bunch of other AWS resources + deployed to a new EC2 node with my hacks
<andi->
what are you even trying to do with poor nixops?
<andi->
those commit messages are great... I can only guess you want an AWSonly nixops?
<gchristensen>
really, it is just an experiment
<gchristensen>
but imagine if all the digitalocean PRs to nixops could be merged by someone who actually cared about DO, and nixops' upstream didn't have to be paranoid about DO stuff breaking it, because only people who want DO have to import the DO stuff
<LnL>
gchristensen: from __future__ import absolute_import
<LnL>
gchristensen: I add that to every python2 file I touch :)
<gchristensen>
ooh!
<LnL>
the default import behaviour is madness
<gchristensen>
yes
<gchristensen>
before I send my PR I'm going to replace my hard-coding paths with some plugin stuff with pluggy, and then it should be pretty much ready to go (minus, of course, all the stuff I didn't delete, and all the other stuff like docs)
<andi->
gchristensen: port to python3
<gchristensen>
lol
<andi->
gchristensen: you are smart, you can do it ;)
<gchristensen>
well now that nixops is 1/3 the original size, sure
<gchristensen>
I'm sure you could d oit
<gchristensen>
I feel like I'm taking crazy-pills trying to import this thing which is obviously there but isn't sufficiently there
<gchristensen>
and no circular imports either :P
<LnL>
stil having problems?
<gchristensen>
it was nix's fetchgit not including untracked files in the source
<andi->
tztztz
<manveru>
isn't there some script to automatically convert to python3?
<etu>
2to3?
<manveru>
jup, that was it :)
<manveru>
never use python, so i forgot
Sonarpulse has joined #nixos-chat
<andi->
"never use python" sounds like a great advice :)
<srk>
+1
<srk>
gchristensen: delete-the-code is cool - we can start over from that :D
<andi->
as long as you guys keep the hetzner support :P
<srk>
btw I've hit a similar headscratching issue with python and nixops repo when testing key/value PR - there was like state.py which the PR made into state/ dir but a leftover state.pyc caused it to fail horribly while importing stuff from state.*
<srk>
took me a while to notice that
<gchristensen>
ooOOooo
{^_^} has quit [Remote host closed the connection]
{^_^} has joined #nixos-chat
{^_^} has quit [Changing host]
{^_^} has joined #nixos-chat
__Sander__ has quit [Quit: Konversation terminated!]
<sphalerite>
joepie91: the guy in the air fryer video looks truly ecstatic about it
<joepie91>
sphalerite: ... that video is actually of the exact model that I have, which differs slightly from the one on the pictures, lol
<joepie91>
I wonder if they just used Lidl's promo video
<andi->
they do multiprocess now (which they started in '08?)
<andi->
I have 6 firefox prcosses running for at least 25 tabs..
<gchristensen>
ah
<gchristensen>
well, I wouldn't expect them to be far behind
<gchristensen>
and probably ahead in other ways
<andi->
sure. It would just be good to read more about that
<gchristensen>
yeah
* andi-
searches for a mozillas planet
<gchristensen>
for sure! that is great stuff
<gchristensen>
maybe try #firefox-dev on mozilla's irc
<andi->
I gave up on that.. I am still being redirected regarding questions with the firefox 61 glibc-unix-io dependency that was introduced without being reflected in the buildsystem...
<gchristensen>
you'll just have to finally make that other machine work :P
<samueldr>
doesn't look like it affects scaleway... yet
sir_guy_carleton has joined #nixos-chat
pie__ has joined #nixos-chat
<infinisil>
Since some time I stopped receiving IRC notifications on my phone and didn't know why
<infinisil>
Turns out iOS automatically disables notifications of apps you haven't used in a while.. and of course prowl (my notification app) applied to that..
<infinisil>
So stupid
<andi->
lol
<clever>
and thats why i have pagerduty configured to both page the app and send an sms
<clever>
so if something breaks, it doesnt break
pie__ has quit [Read error: Connection reset by peer]
pie__ has joined #nixos-chat
Lisanna has quit [Quit: Lisanna]
Lisanna has joined #nixos-chat
Lisanna has quit [Client Quit]
<LnL>
urgh, I really want to get rid of all this PYTHONPATH stuff
pie__ has quit [Read error: Connection reset by peer]
pie__ has joined #nixos-chat
pie__ has quit [Read error: Connection reset by peer]
pie__ has joined #nixos-chat
jtojnar has quit [Remote host closed the connection]
jtojnar has joined #nixos-chat
pie_ has joined #nixos-chat
pie__ has quit [Read error: Connection reset by peer]
sir_guy_carleton has quit [Quit: WeeChat 2.0]
pie__ has joined #nixos-chat
pie_ has quit [Read error: Connection reset by peer]
<sphalerite>
gchristensen: all the best for your surgery tomorrow, hope it goes well and helps with your issues!
<samueldr>
make sure to follow doctor's orders, and not compensate by over-using the other hand if it's not done on both
<gchristensen>
thanks, sphalerite!
<gchristensen>
I won't be computering at all for a few days, I think, samueldr
<samueldr>
that's probably for the best :)
<infinisil>
gchristensen: Good luck! What's the surgery called? What's being done?
<samueldr>
they're installing the tubules, to assimilate other races
<gchristensen>
cubital tunnel release, but don't look it up the internet describes something way worse