gchristensen changed the topic of #nixos-chat to: NixOS but much less topical || https://logs.nix.samueldr.com/nixos-chat
_e has quit [Quit: WeeChat 2.4]
_e has joined #nixos-chat
<ashkitten> gchristensen: think i might write a fuse filesystem you can use to "mount" yaml files and manipulate them via a directory structure
<gchristensen> :o
<gchristensen> how about a fuse filesystem which reads in yaml and converts them to the one true notation
<Ralith> a whole filesystem full of s-expressions? weird
<ashkitten> depends what your one true notation is
<ashkitten> bahaha
<gchristensen> the subset of yaml which is json
<ashkitten> gchristensen: but i don't like json that much
<gchristensen> yeah but at least it isn't yaml
<gchristensen> :P
<gchristensen> (sorry, I shouldn't yuck your yum.)
<ashkitten> pff
<ashkitten> omg
<ashkitten> i have the perfect name for this
<ashkitten> "confuse"
<ashkitten> config + fuse
<gchristensen> hah
<gchristensen> oh no
<ashkitten> i have a problem
<ashkitten> i don't know how to represent arrays on a filesystem
<gchristensen> uh oh
<ashkitten> i forgot that yaml has arrays
<gchristensen> I guess references are solved with symlinks
<ashkitten> sure
<ashkitten> i've also technically got the issue of differentiating numbers and booleans and strings
<gchristensen> just require quotes
<ashkitten> fair enough
<ashkitten> arrays, tho...
<ashkitten> dammit, i'll worry about that later
<jackdk> foo/0, foo/1, ...?
<jackdk> I still think this is ill-advised but I also like seeing more fun filesystems in the world, so... o7
<ashkitten> yaml differentiates sequences from mappings, i'd have to mark it as an array somehow
<gchristensen> require the user touch a file in `foo`, like foo/.list, and mandate that the numbers go from 0...n ?
<ashkitten> what if the user touches the file after mappings are created
<ashkitten> should they be destroyed?
<jackdk> nobody else parses yaml the same way, don't feel like you need to break that trend. just do what you want 'cause a pirate is free
<gchristensen> EPERM
<ashkitten> so the user shouldn't be allowed to turn a sequence into a mapping or vice versa if they have contents?
<ashkitten> sounds fine to me
* gchristensen is obnoxiously tempted to make a custom fuse fs to play with his immutable root
<gchristensen> racing to a computer unusable by anybody other as quickly as possible
<ashkitten> heheh
<sphalerite> gchristensen: the best form of security.
<sphalerite> jasongrossman: you're in Australia, right? Someone was asking about the nix[os] community in Melbourne on twitter
<jasongrossman> sphalerite: I am in Australia. Not in Melbourne, though, and I don't know anything about nix people in Melbourne, sadly. You've got a good memory though!
<etu> eyJhb: How so?
lassulus has quit [Ping timeout: 268 seconds]
<ashkitten> i've no idea what i'm doing wrong but this fuse library but it keeps complaining that the file descriptor isn't in some directory cache
<ashkitten> or smth
<ashkitten> might be feeding it weird info with my getattr impl
endformationage has quit [Quit: WeeChat 2.5]
<ashkitten> or it doesn't like that exa is calling readdir without a file handle
* etu is tempted to order the Pinebook Pro
<etu> And run Nix on it
lassulus has joined #nixos-chat
<eyJhb> etu: bridges and stuff :D
<etu> eyJhb: ah, yeah, it doesn't seem cheap to get a car from .dk to .se
<etu> That's why I don't go over denmark when I go to germany, I take the ferry from Sweden :p
<eyJhb> That annoyws me quite some etu, that the Ferry from Frederikshavn to Goteborg costs 390,- DKK. But Øresundsbroen costs 450, with the added 300~ for getting to Fyn too (storebæltsbroen) :p
<eyJhb> I am getting scammed!
<eyJhb> "Danmark er med 27 pct. det land i Norden med færrest kvindelige chefer." - "Denmark with 27 percent the country in the Nordic countries with the fewest female managers.". Always annoys me, as it seems like we need to have 50/50 all places, and it always seems to be the top positions
<ashkitten> heck
<ashkitten> i've almost got it to list directories
<jasongrossman> Since we're almost on the topic, could anybody please tell me the best web site for booking trains in Denmark? Or doesn't it matter which web site I use?
<eyJhb> jasongrossman: I normally use rejseplanen.dk
<eyJhb> But depends which rides you want, normally you can just get a Rejsekort, and then check in when you get on the train, check out when your trip is done
<eyJhb> So really depends if it is long distance, in the city, mulitple changes, etc. and which company :p
<eyJhb> But I would suggest just getting a rejsekort, and then you can either use rejseplanen.dk, or normal Google Maps routing, and checkin with rejsekort :)
<jasongrossman> Thank you eyJhb
<jasongrossman> Can I hire you full time for trip planning? Would you work for 10 Kr a day?
<eyJhb> jasongrossman: well it is infinite more than I am currently working for, sooo :p
<jasongrossman> Oh dear. :-(
<eyJhb> Haha, but I have the choice of actually making money, but I just want to work on my opensource platform :D
<eyJhb> Which is really stupid, because I NEED MONEY :(
<eyJhb> Hoping LEGO will play nice and show some support
<jasongrossman> I'm not sure it is stupid.
<eyJhb> Well, when you have a car and got bills to pay, and living as a student :p
<jasongrossman> I've had WILDLY varying salaries, including times with none at all, and it's made very little difference to my happiness. (Of course I know this attitude doesn't work for most people in the world - it depends where you live.)
<eyJhb> Ahh but you see, I am going negative each month because I don't make enough ;)
<jasongrossman> Yeah. Need to make some eventually.
<eyJhb> Yeah, but as soon as we hit the semester start, I am only allowed to work X hours on my job which only just about gets me to hit 0 :p - But yeah, just want to be done and get a job that pays well. Which should be easy
<jasongrossman> That's OK then.
<eyJhb> Yes! - Also I am starting to get some money by attending meetings with my competetion platform
<eyJhb> Hoping for them to join me, one of us, one of us!
<jasongrossman> :-)
das_j has quit [Ping timeout: 250 seconds]
Drakonis has quit [Quit: WeeChat 2.4]
<sphalerite> heh, the flakes RFC page is constantly unicorning for me
<sphalerite> gj github
<sphalerite> that is, the PR
<joepie91> sphalerite: link?
<{^_^}> rfcs#49 (by edolstra, 1 week ago, open): [RFC 0049] Flakes
<joepie91> thanks :)
* joepie91 goes collect unicorns
<manveru> wonder why... had trouble with it as well
<manveru> too many comments?
<sphalerite> yeah I think so
jasongrossman has quit [Ping timeout: 245 seconds]
psyanticy has joined #nixos-chat
noonien has joined #nixos-chat
jasongrossman has joined #nixos-chat
<joepie91> okay, I am thoroughly confused now
<joepie91> error: Package ‘steam’ in /nix/store/1gjw76nndafxkqqa4f6cgs023wn7zsrs-source/pkgs/games/steam/steam.nix:33 is marked as broken, refusing to evaluate.
<joepie91> a) For `nixos-rebuild` you can set
<joepie91> { nixpkgs.config.allowBroken = true; }
<joepie91> in configuration.nix to override this.
<joepie91> b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
<joepie91> { allowBroken = true; }
<joepie91> to ~/.config/nixpkgs/config.nix.
<joepie91> (use '--show-trace' to show detailed location information)
<not-joepie91> argh!
<not-joepie91> why is the bridge not auto-pasting that
<infinisil> joepie91: Where is the confusion?
<joepie91> infinisil: sorry, one moment
<joepie91> there is no broken marker in there at all
<infinisil> Oh lol, I didn't realize not-joepie91 was actually joepie91 for a moment
<joepie91> that is the file it mentions
<joepie91> and it has been giving me this error whenever I try to install steam for like a month
<joepie91> but there are no issue tracker issues about it
<joepie91> so... wut?
<joepie91> why is it claiming that it's marked broken when it's clearly not, and seemingly the error doesn't happen for anybody else?
<infinisil> Is it marked as broken in the file the error shows?
<joepie91> infinisil: no, the gist *is* the file shown in the error
<joepie91> hence my confusion
<infinisil> joepie91: Got any overlays?
<joepie91> infinisil: yes, nixpkgs-mozilla and my own, neither of which define steam - I do have a packageOverride that overrides `nativeOnly = true` for steam
<joepie91> iirc that was to work around a game not launching
<joepie91> infinisil: any idea what might be causing it?
avn has quit [Ping timeout: 245 seconds]
<yorick> joepie91: what does steam.meta.broken say?
<joepie91> yorick: how do I find the answer to that? :)
<yorick> joepie91: nix repl '<nixpkgs>'
<joepie91> oh right, we have a repl
<joepie91> yorick: required a bit more work due to my config setup, but it says true
<joepie91> in <nixpkgs> it says false
<joepie91> so presumably something in my config changes it...
<yorick> joepie91: builtins.unsafeGetAttrPos steam.meta.broken
<yorick> joepie91: builtins.unsafeGetAttrPos "broken" steam.meta
<joepie91> { column = 5; file = "/nix/store/nka4damlf9k6jzalryr31vjk0hww2sf8-nixos-19.03.173182.96151a48dd6/nixos/pkgs/games/steam/chrootenv.nix"; line = 228; }
<joepie91> aha
<joepie91> broken = nativeOnly;
<joepie91> why...
<infinisil> Hehe
<joepie91> what.
<joepie91> that change was made "last year"
<joepie91> so why did the steam package work previously
<joepie91> but not now
<joepie91> "Mark native-only Steam as broken (due to segfault inside D-Bus). Seems it was already broken for a long time. Doesn't apply to steam-run."
<joepie91> but :|
<tilpner> zimbatm: Hey, I just saw the new issues templates, and I feel "# a list of nixos modules affected by the problem" is slightly underspecified. Does it refer to module paths, or option attribute paths? If the reply is meant to eventually be used in ofborg, it might be good to specify the format (with example)
__monty__ has joined #nixos-chat
<thefloweringash> No good can come of this.
<samueldr> I've been using your module to get Go Mono on my consoles, and it's great, thefloweringash++
<{^_^}> thefloweringash's karma got increased to 4
<Taneb> ...is there a way to query your karma with {^_^}?
<gchristensen> Taneb++
<{^_^}> Taneb's karma got increased to 9
<samueldr> Taneb, something something one shouldn't care about one's own karma :)
<Taneb> samueldr: that's certainly true
<infinisil> I *could* check the place where I store the karma state manually :P
<samueldr> the use of the word "audiophile" often voids any warranty of sanity
<samueldr> though ere it's not marked audiophlie, sanity is not required https://www.amazon.com/Cable-Matters-Toslink-Digital-Connectors/dp/B0099UWHH6
<samueldr> gold plated digital OPTICAL audio cables
<gchristensen> oh perfect
<gchristensen> for that low corrosion sound
<samueldr> we all know how gold is a good medium for light to travel through
<gchristensen> improving internal reflectivity, reducing ...something
<joepie91> "Even image quality via Netflix or other internet service improves drastically."
<joepie91> lol
<andi-> I am not yet sure if it really is a switch or a glorified switch panel
<adisbladis> andi-: money > sense
<andi-> adisbladis: yeah
<adisbladis> It's pretty common in the audio world ;)
<andi-> I liked oe some guy at the local autdio store wanted to sell me special cabels to listen to music... like those standard cat6 cables but with gold plating and super expensive..
<andi-> "less buffering"
<gchristensen> and you didn't buy immediately?
<adisbladis> My speaker cables ARE cat5 cables ^_^
<andi-> No, I told him that I use wireles. That has the clearest audio quality since it has no medium inbetween sender and receiver..
<gchristensen> hahaha
<adisbladis> I met a fun guy in an audio shop who ONLY listened to mono vinyls
<gchristensen> andi-: next up is make long hard tubes with a vacuum inside, and wireless tx/rx on either side.
<andi-> gchristensen: good idea... maybe next life
<gchristensen> finally, the audio transmission quality of deep space
<adisbladis> What encoding are you using on your wireless signal?
<gchristensen> a low frequency transmission rate. the high frequency rates make the audio too choppy and you lose the grain of the EM spectrum
<eyJhb> Something is very very funky... Stuff actually works. In the first try.. What is this magic!
<eyJhb> Would not expect that after soooo many changes, at all....
<gchristensen> $ zfs get compressratio rpool/root
<gchristensen> NAME PROPERTY VALUE SOURCE
<gchristensen> rpool/root compressratio 3.23x -
Drakonis has joined #nixos-chat
endformationage has joined #nixos-chat
<ashkitten> mornin heckers
<gchristensen> hey friend :)
<ashkitten> wait
<ashkitten> im the hecker
<sphalerite> wait
<ashkitten> and tired
<sphalerite> im the hecker
<ashkitten> sphalerite's the hecker now i guess
<ashkitten> smh
<sphalerite> (my surname is Heckemann)
<ashkitten> sweet
<__monty__> Oh, I thought it was a middle ground between hacker and heckler.
* adisbladis heckles sphalerite
<ashkitten> today i will be having more fun with fuse, i think
<gchristensen> nice
<ashkitten> gchristensen: did you see the gist i linked?
<gchristensen> yup
<gchristensen> looked cool
<samueldr> I thought ashkitten was going to say "hecking tired" or something along the line
<ashkitten> i'm very happy
<gchristensen> I look forward to backing up my system with yaml
<ashkitten> samueldr: im that too
<ashkitten> gchristensen: lol
<gchristensen> hook it up to a document database backend and it is ready
<eyJhb> So it's you sphalerite !
<eyJhb> Wondered who Linus was
<eyJhb> Even though it is pretty obivious from your Github
<sphalerite> lol
<ashkitten> i still need to implement reading, writing, syncing, watching the backing yaml file, creation, deletion, and a few other things
<eyJhb> It's not easy with all the different username :p
<ashkitten> oh and file handles. currently don't have those
<eyJhb> Are you building a yaml file system?
<eyJhb> :p
<ashkitten> yep
<eyJhb> But whyyyy?
<gchristensen> because, eyJhb
<samueldr> fun and profit^W^W
<eyJhb> Expected a "why not", but because works as well
<eyJhb> "profit" ++
<ashkitten> i think, deep down, we all want to build a yaml filesystem. i'm just the only one brave enough to step up
* joepie91 blink
<ashkitten> also it's hilarious
<eyJhb> What are you writing it in?
<eyJhb> It is a fuse filesystem, so.. C?
<eyJhb> Or am I mixing everything up?
<ashkitten> i'm writing it in rust using a convenience wrapper library around a reimplementation of libfuse
<ashkitten> because some things in fuse are annoying to implement, like inode-path conversion and reading directories
<eyJhb> I am curious now... Waaaay too curious ...
<ashkitten> :)
<eyJhb> I have enough projects :( But now I kinda want to build a yaml file system... Damn you ashkitten !
<ashkitten> damn me!
<aleph-> I should revamp my fuse fs
<aleph-> Use more websites for storing files
<Taneb> One of my friends once made a fuse interface for X
<eyJhb> I am not... What...
<eyJhb> FUSE everything. But it still makes sense
<ashkitten> i love fuse so much
<ashkitten> i didn't understand what graham was talking about and then i went and did it and it's the most enjoyable and rewarding thing i've made in a long time
<eyJhb> ashkitten: what did he say ? :p
<ashkitten> oh just something about wanting to write a fuse filesystem for fun
<ashkitten> honestly this wrapper i've been using, fuse_mt, has made it extremely simple to do things. i haven't had to go look up how to do anything, really
<ashkitten> and then ofc there's serde which is just extremely pleasing
<aleph-> Doing some Rust eh?
<ashkitten> yep
<aleph-> Nice, need to jumo back in. Haven't really written anything since partially doing a C compiler and a idealized MIPS 1 assembler
<ashkitten> i haven't written anything in rust for a while
<aleph-> Yeah mostly just python and bash for me.
<aleph-> Did some go for a tool at work but dropped it for a while
<ashkitten> i think the last project i did was my 256-bit dos demo
<ashkitten> not in rust
<aleph-> Yep, I mean I'm gonna finish this lobsters service this weekend finally. So I guess nix counts?
<ashkitten> nice
<zimbatm> tilpner: yeah the idea was to eventually be able to map nixos modules and pkgs attribute paths to maintainers
<zimbatm> if you have a better idea on how to present the information it would make me happy
<zimbatm> basically the idea is that the issue submitter would enter either a single or array of attribute and nixos module paths
<zimbatm> we can add some heuristic on top to accept pkgs.hello, nixpkgs.hello and hello
<zimbatm> the nixos modules would be based on the modules path. Eg: services.sshd
<tilpner> zimbatm: My issue is that "nixos module paths" is ambigous to me. Should the user enter e.g. security/hidepid.nix or security.hideProcessInformation?
<tilpner> ...oh
<tilpner> Maybe rename to option path, or give an example in the template
<zimbatm> do you mind submitting a PR that would clarify things for you?
<zimbatm> it's not super important right now but it's nice if we can then have a backlog of issues to map
waleee-cl has joined #nixos-chat
webster23 has joined #nixos-chat
<Drakonis> woah nice
<Drakonis> nix is getting real
* manveru looks up definition of big brand
<gchristensen> Nix is already real :)
<joepie91> well, my initial foray into lutris was... less than successful
<joepie91> so far every single thing I've tried has broken :(
<Drakonis> its gaining a foothold, that's what makes it even more real
<Drakonis> lutris tho :|
<manveru> lutris probably also needs fhsenv
<joepie91> I'm using packaged lutris from unstable
<joepie91> the fact that I don't have Vulkan-capable drivers probably doesn't help, but.
<manveru> hmm
<manveru> didn't notice we had a package for it... last time i tried packaging it was a mess
<joepie91> it's a recent addition
<Drakonis> still a mess i suppose
<joepie91> seems so
<manveru> ah yeah, uses chrootenv
<joepie91> already filed one bug
<joepie91> don't have the energy to file more
<Drakonis> i thought we were going to use bubblewrap for fhsenv
<manveru> a what now?
<Drakonis> its what flatpak uses
<manveru> hm, ok
<manveru> i swear some day some etymologist will have a field day with software names
__monty__ has quit [Ping timeout: 258 seconds]
<Drakonis> yes
veske has joined #nixos-chat
<aleph-> gchristensen: Who's using nix?
__monty__ has joined #nixos-chat
<aleph-> What company?
<gchristensen> many?
<aleph-> Heh I was more curious who was referrenced in the tweet.
<manveru> you should ask domen :)
<aleph-> Fair enough
<gchristensen> well since I don't know, I can't say :P
<aleph-> heh
<aleph-> manveru: Hey question, for upstreaming stuff built with ruby. Do you include the gemset.nix file in the pull request? Or how does that work?
<manveru> yes
<aleph-> kk, thanks
<manveru> man i should really get this website done and get back to working on the ruby stuff :|
<aleph-> What website?
<manveru> porting a website from weebly to hakyll
<aleph-> Nod nod
<manveru> ruby.withPackages only needs some tiny polishing, and bundix v3 needs more work
<__monty__> Liking hakyll so far?
<manveru> yeah
<manveru> can't say it has the best docs... but nothing in haskell does
<manveru> already wrote some regex matcher from hell for finding the active menu item and such :)
<Drakonis> regex matcher from hell? hehhh
<__monty__> Regex in haskell? That's like an anti-pattern.
<__monty__> : )
<manveru> well, i'm a noob :P
<manveru> happy i got this far
<manveru> if you're curious
<manveru> i'm sure someone could write this in like 2 lines
<__monty__> Maybe look into blazehtml for the embedded html.
<manveru> a whole library for one line of html?
<__monty__> If the input's always 2 strings you should use a tuple rather than a list.
<manveru> i don't make the args
<manveru> they come from hakylls functionField
<__monty__> Ah
<__monty__> If you *know* this is always gonna be the only line then it's fine, I guess?
<manveru> definitely :)
<manveru> i could push that part into the template, but why bother
<__monty__> Keep in mind haskell libs are usually on the small side. Not a big deal to add a dependency. And the prelude/"stdlib" is pretty small.
<manveru> and i tried using pattern matching for this before... but it ended up being something like `'/':to:'p':'o':'s':'t' ...`
<manveru> looked ugly as hell and didn't work anyway
<manveru> well, something in hakyll already depends on this regex lib, so i just reuse that
<manveru> don't like adding dependencies if i don't have to
<manveru> esp in haskell, where everything takes forever to build
<__monty__> I haven't experienced build times changing much. Not using lens or anything though.
<manveru> i dunno, i used haskell.nix for the setup and it took half a day to build hakyll
<manveru> granted, my computer is a few years old, but still
<__monty__> Sounds like you built GHC.
<__monty__> Still though, that takes 45min on my 2007 core2duo.
<__monty__> manveru: Maybe switch to using cabal new-bulid for development so you get incremental builds?
<infinisil> I really don't like software that behaves differently depending on how fast it runs
Jackneill has quit [Remote host closed the connection]
<infinisil> And I just noticed firefox doing that
<infinisil> When I type "git" into the address bar and press enter, if it's fast enough it goes to github.com, which is what I want
<infinisil> But if not, it does a ddg search for "git"..
<__monty__> Isn't that all browsers?
<infinisil> Even if it is, I still don't like it!
<__monty__> Wow, why did it take so long for us to be able to code in a reasonable way with comic sans?
<infinisil> I don't wanna have to wait around for the completion to show up, which is sometimes a couple seconds
<infinisil> Oh
<gchristensen> I know ,right __monty__ ?
<__monty__> infinisil: I recommend you use a keyword bookmark for github then : )
<__monty__> (They're really nice with custom searches or reddit btw.)
<infinisil> Huh, how do I do that?
<gchristensen> oh cool
<__monty__> Make a bookmark. Then in the bookmarks viewer click it and edit the keyword field.
<gchristensen> samueldr: I need that immediately
<samueldr> gchristensen: imagine comic sans when booting!
<__monty__> gchristensen: Does it have ligatures though?
<samueldr> (I am using that module with Go Mono... and that module is amazing!)
veske has quit [Quit: This computer has gone to sleep]
<ashkitten> oh dear
<ashkitten> rust mutability & lifetime issues
<ashkitten> time to hand out the Rc<Mutex<_>>-es
<__monty__> infinisil: There's examples here: http://kb.mozillazine.org/Using_keyword_searches
<__monty__> I have one for subreddits. so "r/ programmerhumor" goes to the sub you think it does.
<gchristensen> ekleog: do you have a second?
<infinisil> __monty__: Neat, thanks
<__monty__> Time to read the comments on the flakes RFC PR : )
<gchristensen> good luck
<__monty__> I wonder if there's a better format to read them in than "on github?"
<gchristensen> did github stop unicorning?
<samueldr> hmm, infinisil's issue makes me think... async interfaces is overrated... while it's true that the interface hangs otherwise, at least it's not likely to do weird thing in laggy situations, just... not respond?
<samueldr> thinking about "old school" textual interface like that inventory system where I once worked... every action was synchronuous you could queue up key presses while it was working, without fear
<__monty__> I agree. I often work on older machines and I love just to keep sending keystrokes and then having everything work out as expected when the lag's resolved.
<infinisil> Yeah exactly
<infinisil> Async stuff should be reserved for things that don't have any influence on the outcome
<__monty__> I do get why it's the way it is though. With all the various "smart" suggestions.
<__monty__> Too bad it's still the same thing if you turn all those off.
<samueldr> and in a way, doing things like that async might be perverse; you end up doing more work to show that the interface is still responding, instead of working on the dang thing that makes the interface unresponsive
<samueldr> (while partially untrue, when done properly with multiple threads and CPU... which might be hard)
<__monty__> I wouldn't want network routed "smart" suggestions slowing down my UI tbh. I'll take jank over consistency in that case.
endformationage has quit [Ping timeout: 244 seconds]
<__monty__> Though I'd rather not have them at all.
<manveru> __monty__: i'm still not sure what a good setup is
<manveru> like... how the hell do i get completion and such in spacemacs
<manveru> i tried the hies-nix thing, but it just doesn't find my libraries (guess because i don't use stack or cabal)
<__monty__> Don't think a good setup exists yet.
<__monty__> I just use ghcid and a stale ghcmod generate something.
<__monty__> Which gives me partial completions : )
<manveru> ghcmod doesn't exist anymore though
<__monty__> Yah, *stale*.
<__monty__> It still exists in dante and the stack-specific one though.
<manveru> also i still have no clue whether stack or cabal is better
<manveru> so i just ignored it so far
<manveru> why don't they unify on one build system?
<__monty__> Stack isn't very popular anymore since new-build, fwiw.
<__monty__> I switched to nix to escape from stack.
<__monty__> On arch though, so not quite representative.
<infinisil> Unfortunately HIE doesn't really work with new-build yet..
<__monty__> I consider that HIE's problem : )
<__monty__> I've heard it gets unbearably slow really quickly when scaling up?
<infinisil> __monty__: It kinda does yeah, I think the consensus is to not have too big files
<ekleog> gchristensen: yup, about what?
psyanticy has quit [Quit: Connection closed for inactivity]
waleee-cl has quit [Quit: Connection closed for inactivity]
<gchristensen> mono comic sans*
<__monty__> 😂 That's glorious gchristensen , we should have that be the default on the next april fools iso.
<gchristensen> oh sounds good
<ashkitten> what's a command that'll hold open a file descriptor for as long as i want? i need to test for deadlocks
<andi-> guess it is time how well zfs really works: https://gist.github.com/andir/68a889c2b3450cf3dd9f6d80f822d12a
<andi-> filesystem is effectivly R/O now (and my IRC client runs on it)
andi| has joined #nixos-chat
andi- has quit [Quit: WeeChat 2.5]
<gchristensen> oh thrilling andi|
<andi|> looking at the bactrace it might as well have been the rootfs BTRFS
andi- has joined #nixos-chat
<ekleog> gchristensen: hmm do you still want to talk about something?
infinisil has quit [Quit: Configuring ZNC, sorry for the joins/quits!]
infinisil has joined #nixos-chat
<gchristensen> ekleog: ah, no, thank you :)
<ekleog> cool :)
endformationage has joined #nixos-chat
andi| has quit [Quit: WeeChat 2.5]
__monty__ has quit [Ping timeout: 245 seconds]
__monty__ has joined #nixos-chat
<ivan> I tried ZFS recently and it blew up on https://github.com/zfsonlinux/zfs/issues/8664
<{^_^}> zfsonlinux/zfs#8664 (by marker5a, 13 weeks ago, open): Crash on scrub
<ivan> fortunately I tested scrub before putting it to use
<andi-> I had it running for good 6 months before actually putting it into "production". BTRFS scrub didn't show any issues; neither did ZFS scrub so far but that will still day another half day
__monty__ has quit [Quit: leaving]
<ashkitten> i have a problem
<ashkitten> i'm trying to write in an inotify watcher to reload the filesystem if the backing yaml file changes
<ashkitten> i could maybe do something where it drops file handles and reloads the the in-memory store...
<ashkitten> i tried just dropping the filesystem but that's got its own issues
<ashkitten> hmm
<ashkitten> a good thing i made everything thread-safe to start
<ashkitten> oh no
<ashkitten> let mut current_data: Arc<ConfuseData> = Arc::clone(&*Arc::clone(&self.data).lock().unwrap().borrow());
<ashkitten> suddenly the name "confuse" seems rather on the nose
<gchristensen> eh just rub some more rust in it
<ashkitten> lol
<ashkitten> gchristensen: so far i have a seemingly complete readonly filesystem implementation complete with reloading from backing store
<ashkitten> it simply drops all active file descriptors on reload, without resetting the monotonic counter
<ashkitten> so file descriptor conflicts can't happen
<ashkitten> all i've got left to do is implement writability, i guess?
<gchristensen> nice!
<ashkitten> i should also look into permissions
<ashkitten> as in, having some
<ashkitten> i'll probably just take them from the backing file?
<samueldr> that's likely the reasonable action
<ashkitten> need to figure out how to do that
<samueldr> yaml fields don't have permissions AFAIK
<ashkitten> you're right
<samueldr> unless you want to make a yaml-backed FS, which in turn have files described in YAML, which I think is not what you're doing
<ashkitten> interestingly, if i return 0 for permissions it still lets the user that mounted the filesystem read everything even though it's supposedly owned by root with permissions all 0
<andi-> well the FS is responsible for enforcing those
<andi-> (at least in the fuse case?)
<ashkitten> hm
<ashkitten> well it doesn't let me read the files as "nobody"
<ashkitten> or list them
<ashkitten> even though i don't do anything to enforce that
<ashkitten> i can list the files in the directory above it
<ashkitten> it's possible that the library i'm using has something to do with that
<colemickens> I am so sick of autotools projects that don't check in generated files and also dont manage to publish tarballs when they tag new releases.
<colemickens> Really fun to package.
<colemickens> well, that was overly salty, I guess they've just changed the release archive formats
<andi-> I like those projects that state one should use the tarballs from the website but thatn haven't managed to put any there in the last years while doing release on github and tags etc..
jasongrossman has quit [Remote host closed the connection]