jasongrossman has quit [Ping timeout: 248 seconds]
sir_guy_carleton has quit [Quit: WeeChat 2.4]
pie__ has joined #nixos-chat
drakonis has quit [Quit: WeeChat 2.5]
pie__ has quit [Client Quit]
pie__ has joined #nixos-chat
drakonis has joined #nixos-chat
drakonis_ has quit [Ping timeout: 272 seconds]
drakonis_ has joined #nixos-chat
drakonis has quit [Ping timeout: 252 seconds]
endformationage has quit [Ping timeout: 248 seconds]
drakonis has joined #nixos-chat
drakonis_ has quit [Ping timeout: 245 seconds]
drakonis_ has joined #nixos-chat
drakonis has quit [Ping timeout: 248 seconds]
MichaelRaskin has quit [Ping timeout: 258 seconds]
<sphalerite>
Anybody going to ZuriHac?
<sphalerite>
I was thinking of going last-minute, but not sure about accommodation yet
* etu
is thinking of moving his laptop to ZFS
* etu
has never used ZFS
<etu>
But the laptop would be a good way to get some experience of it
<eyJhb>
etu thinking about doing the same lately...
<eyJhb>
Guessing it is not your daily driver?
<Taneb>
sphalerite: I'm going to ZuriHac with a few people from work
<andi->
I'll go there as well :-)
<etu>
eyJhb: It's my daily driver for private laptop use
<etu>
eyJhb: But not work
<eyJhb>
Ahh, do a guide etu ;) With encryption :D
<etu>
yeah
<etu>
I just have to shrink my luks volume first etc
<eyJhb>
Quick survey, how many laptops do you guys just have laying around ?
<andi->
just laying around or in general?
<andi->
I have about 5 devices that are portable computers (not including phones) that also run NixOS
<etu>
1 work laptop, 1 private laptop and 1 guest laptop that runs nixos on tmpfs with autologin to a guest user
<eyJhb>
andi- lets say in general
<eyJhb>
etu guest laptop?! I like that :D
<eyJhb>
Just counted yesterday, and realised I have like 10 laptops. Excluding the one I have from work
<etu>
eyJhb: It got the nettwork manager system-connections monted read-only. So it connects to my wifi automatically but users can't create or edit connections :D
<eyJhb>
Soon Scandinavia will take over the world ;) - But nice clean config ! - You could consider adding the nixos-hardware to it, I think they got a x240 conf
<eyJhb>
Nope.. x220, x230, x250, x260, x270...
<etu>
Hmm
<etu>
Should maybe add x240 then
<etu>
I have some thing for the trackpoint to work after suspend or something like that
<etu>
but that's it I thinkx
<etu>
-x
__monty__ has joined #nixos-chat
avn_ has quit [Remote host closed the connection]
<eyJhb>
etu ahve you tried running the x240 daily? And what specs does it have?
<sphalerite>
etu: zfs is awesome, can recommend :D
<sphalerite>
etu: I'm using luks(zfs) on my work laptop which I also do most of my personal stuff on
<sphalerite>
one day we'll have zfs native encryption on a stable branch and I'll use that instead of luks
<sphalerite>
I guess my 19.09 upgrade will be a fresh install
<eyJhb>
sphalerite: now you know what to spend your day on! :D
<sphalerite>
nah, I run stable nixos so I don't get zfs 0.8 yet
<sphalerite>
… or do I??
<sphalerite>
hmm
<sphalerite>
zfsUnstable is on 0.8.0
<eyJhb>
Wait, when wil 19.09 come?
<eyJhb>
Go go :D
<sphalerite>
eyJhb: in September or October
<adisbladis>
eyJhb: Our naming scheme would imply September, so probably october :D
<sphalerite>
19.03 came out on the 42nd of April :)
<sphalerite>
s/April/March/
<eyJhb>
Are we overflowing with 42?
<sphalerite>
sssshhhhh
<etu>
eyJhb: Yeah, I did
<etu>
eyJhb: I don't remember. I tend to buy my laptops second-hand
drakonis has joined #nixos-chat
drakonis_ has quit [Ping timeout: 248 seconds]
<eyJhb>
Sorry for calling your our on imaginary dates :p etu fair ;) Considered the x240 back in the day, but ended with my wonderful x230
<das_j>
<rant>
<das_j>
Objective C probably has the worst build system ever
<das_j>
At least it builds now, but now I have segfaults in libssl
<das_j>
SOGo is the worst thing to package
<das_j>
</rant>
<etu>
eyJhb: I'm tempted to get a x395 when it's out though.
<eyJhb>
They. They skipped quite some numbers
<eyJhb>
Hmm, looks good, but for me the true dealbreaker is when you can't easily take them apart
<eyJhb>
Or when.. The build quality is in the drain. Which I haven't seen a model after the x220 that isn't
<etu>
x300 series is bigger than the x200 series
<etu>
so 13" instead of 12"
<etu>
and x290 and x390 is this year's releases
<etu>
But the 5's at the end seems to be AMD chipsets which are about to get released
<eyJhb>
Really ahve no clue, why I haven't looked that much at the x3xx series
<eyJhb>
etu striving for AMD rather than Intel?
<etu>
eyJhb: yeah
<eyJhb>
Any particular reason?
<etu>
The ryzen graphics is amazing compared to integrated intel
<etu>
And I don't want nvidia
<eyJhb>
Makes sense :p I haven't really noticed the graphics that much, seeing as I do nothing GPU intensive except Youtube
<etu>
I'm getting rid of my desktop PC, going to rebuild it to replace my homeserver because it's always off and is very powerful compared to my homeserver that is always on and is very weak, slow and old.
<etu>
But then I'd like something user-facing that is a bit more powerful than my x250 which by the model number is about 4 years old now
<eyJhb>
Well, properly going to eat a lot of power then.. - Well yeah, then you pretty much have to switch series, unless they do something totally different with the x29x
<eyJhb>
Or, I mean, like, switch away from x2xx, seeing as they tend to limit them
drakonis1 has joined #nixos-chat
Synthetica has joined #nixos-chat
<eyJhb>
I love how last time I generated tokens on Gitlab, I got tokens that couldn't be masked in CI jobs, because they didn't live up to their own requirements.
jtojnar has quit [Remote host closed the connection]
<eyJhb>
Who was it that was discussion templates some time ago? joepie91 ?
<joepie91[m]>
eyJhb: as in, repo templates? then yes
<eyJhb>
joepie91[m] yeah. The general downside you presented, was that boilerplates are bad, as far as I remember? - I am just considering using them myuself
<joepie91[m]>
eyJhb: that was the claim, yes, but the supporting arguments were more along the lines of "it's basically automated copy-pasting and therefore has all of the issues of copy-pasting, and you probably want abstractions instead"
<joepie91[m]>
(as copy-pasted code is basically just an unmanaged dependency with unclear responsibility boundaries)
<eyJhb>
Yeah okay, just wanted to hear as I was thinking of using it for dump, copy/paste of LICENSE, README, and CI job, that is 100% the same each time
<eyJhb>
So wanted to hear if there was any argument against that
<joepie91[m]>
eyJhb: the tooling for documentation abstractions/reuse is pretty crappy at best, so automated copy-pasting may be your best option there :) but the same drawbacks do apply there (stuff can go out of sync etc.), they are just less avoidable
<joepie91[m]>
re: "CI job", that really depends on what tooling you're using
<joepie91[m]>
if the config mechanism for your CI allows you to reference an external base configuration (eg. another repo), prefer that
<joepie91[m]>
otherwise, yeah, you're stuck with automated copy-pasting probably
<joepie91[m]>
wrt documentation, sometimes a viable option is to sort of abstract out all the common bits to something that exists outside of the repo entirely, just linking to it from the repo's README
<joepie91[m]>
with the downside that now it can't be versioned alongside the code
<eyJhb>
joepie91[m]: thanks! Will keep that in mind :D
<joepie91[m]>
eyJhb: btw, this is not CI tooling, but if you want an example of what I mean with 'external base configuration', look at eg. ESLint
<joepie91[m]>
which supports this
<joepie91[m]>
(so you can have your ESLint config for your project point at some dependency-provided config to inherit from, basically)
endformationage has joined #nixos-chat
drakonis has quit [Ping timeout: 272 seconds]
drakonis has joined #nixos-chat
avn has joined #nixos-chat
Jackneill has joined #nixos-chat
drakonis1 has quit [Ping timeout: 252 seconds]
drakonis_ has joined #nixos-chat
drakonis has quit [Ping timeout: 258 seconds]
drakonis_ has quit [Ping timeout: 252 seconds]
drakonis_ has joined #nixos-chat
drakonis_ has quit [Ping timeout: 252 seconds]
Jackneill has quit [Remote host closed the connection]
<gchristensen>
is there a way to contort nginx in to sending too few bytes to ar eply?
<gchristensen>
or, have a way to simulate curl's CURLE_RECV_ERROR, /* 56 - failure in receiving network data */
<__monty__>
Pull the plug on the network cable?
<Ralith>
fake it with netcat?
<gchristensen>
oh now you're talkin'
<joepie91[m]>
gchristensen: we're talking Linux here?
<gchristensen>
yea
<eyJhb>
Would go with Ralith solution :D
<eyJhb>
pie__ pie_ btw. fixed some of the problems with the chal from yesterday ;)
<gchristensen>
I want to simulate this for a nix cache, which is a bit complicated
<joepie91[m]>
gchristensen: interesting, apparently the tools I know of don't do connection breaks; it can be done via iptables though
<eyJhb>
Catch a reply, replay it having too few?
<eyJhb>
MITM ?
<gchristensen>
I'm going to implement this in python aren't I
<gchristensen>
oooooooo mitmproxy might be the thing
<joepie91[m]>
(netem for Linux and clumsy for Windows are the tool I know of, apparently there's also https://github.com/tylertreat/comcast which is aptly named :P)
<joepie91[m]>
tools*
<eyJhb>
gchristensen should be fairly doable in MITM proxy at least, but really depends what you want to remove :D
<gchristensen>
I want to edit headers :)
<eyJhb>
=> Then go ahead :D
<eyJhb>
I would also vouch for Charles Proxy, but that isn't free
<eyJhb>
And I don't think they allow scripting
<eyJhb>
But wouldn't python+requests suffice too?
drakonis_ has joined #nixos-chat
<eyJhb>
manveru I say +1 for digging up the entire street ;)
<manveru>
:D
<manveru>
this house had never cable to begin with, so it's a few thousand EUR to do that
<eyJhb>
My landlord is quite the guy, and will allow pretty much anything as long as you know it is your responsibility to clean it up afterwards. There was however this one renter, that ... build a wall in the middle of the apartment, and had hookers that lived there and ran "the business"...
drakonis_ has quit [Ping timeout: 248 seconds]
<manveru>
anw, it's a beautiful area, but rural bavaria hasn't changed in 20 years or so
<eyJhb>
So what is the current ethernet ? 3g?
<manveru>
ethernet?
<manveru>
no, DSL
<eyJhb>
Ah. My short term memory is like. Non-exsistent
<manveru>
hehe
<eyJhb>
I remember our DSL waaaay back, then we got fiber and kept the DSL as a backup
<eyJhb>
So one time under a DDoS, we switched to the DSL.. It had trouble with Youtube, and I think that was like 5/1 Mbit
<manveru>
i had 100/100 fibre like 6 years ago when i lived in tokyo, really miss the times
<eyJhb>
*come to Denmark, we got the good stuff
<manveru>
planning to move to austria
<eyJhb>
Why, if I might ask?
<manveru>
well, i'm austrian
<manveru>
and they got good internet
<eyJhb>
Why, if I might ask?
<eyJhb>
jk
<eyJhb>
Good internet is always +1..
<manveru>
well, i hope you got some time :)
<eyJhb>
And if it is cheap ;)
<samueldr>
see, eyJhb, when a mama austrich and a papa austrich loves eachother, they lay an austrian egg
<samueldr>
(about why manveru is austrian, and obviously a joke)
<pie__>
pff
<eyJhb>
So, they DON'T lay an egg?
* eyJhb
is disapointed
<manveru>
you won't find out unless you open the box
<samueldr>
but, from having done that last month, I can say this doc section is up to date
<samueldr>
with a small addendum, when a plugin is missing from the generated list, it's possible to handle adding them locally to your conf via a couple steps
<samueldr>
(1) run the update script, (2) stage changes (3) add plugin to list (4) run script (5) git diff will show the right invocation to add locally in your configuration
<samueldr>
the initial update is due to the invariable fact that the list on stable will contain out of date vim packages
<eyJhb>
Seems like it might be easier to use the plug.plugins part? Or am I missing something?
<eyJhb>
The only plugin that really is NO fun getting to work using plug+nixos is YouCompleteMe, but there might be some magic included
<samueldr>
I guess so, I just ended up using the first thing that was in the doc and worked, so the first thing :)
<gchristensen>
warning: binary cache 'http://127.0.0.1:19329' is for Nix stores with prefix '/', not '/nix/store'
<gchristensen>
hehehehehe
<pie__>
oh no are going to use a read only root now gchristensen
<pie__>
you kids aint gonna do no computin here!
<samueldr>
easier than write-only root I guess
<pie__>
gotta start somewhere
pie__ has quit [Quit: Leaving]
pie__ has joined #nixos-chat
<joepie91[m]>
ln -s /dev/null /
<joepie91[m]>
there
<joepie91[m]>
write-only root
<joepie91[m]>
easy
<joepie91[m]>
:P
pie__ has quit [Quit: Leaving]
<elvishjerricco>
Anyone here familiar with inkscape? Is it possible to create a template such that updating the template causes the copies of that template to be updated?
cjpbirkbeck has joined #nixos-chat
<__monty__>
elvishjerricco: Yes. Though I couldn't explain how : )
<__monty__>
Does editing an original shape you clone have that effect?
<__monty__>
Otherwise you'll have to work with I think they call it patterns.
<elvishjerricco>
No idea :P I'm just getting my feet wet with this software. Been wanting to make some simple graphics / animations for a while now and have had no idea where to start :P
<__monty__>
I guess your best bet would be a tutorial of some sort.
<samueldr>
elvishjerricco: not really as a separate file, but yes as a linked clone
<samueldr>
well, just clone
cjpbirkbeck has quit [Quit: Leaving]
<pie_>
joepie91[m], just half/woke up to a semi-rad idea
<pie_>
what if like
<pie_>
once we had a sufficiently coherent debugging story, that would let us semi/automate writing reproducers_
<pie_>
?
<pie_>
how crazy would that be
* pie_
goes back to bed
__monty__ has quit [Quit: leaving]
<joepie91[m]>
pie_: not sure I'm following - you'll have to elaborate when you wake up ☺️
<clever>
,profiling
<{^_^}>
Use NIX_COUNT_CALLS=1 and/or NIX_SHOW_STATS=1 to profile Nix evaluation