gchristensen changed the topic of #nixos-chat to: NixOS but much less topical || https://logs.nix.samueldr.com/nixos-chat
<drakonis> i went to eat and basalt is still compiling
<bqv> what even is basalt
<bqv> and why do you need it
<drakonis> didnt i get linked to it in this very channel?
<drakonis> configuration management is managed through git
<drakonis> haskell has too many dependencies
<drakonis> yowza
<drakonis> it was compiling 250 of these when i left
kalbasit has quit [Ping timeout: 260 seconds]
<bqv> drakonis: interesting
<bqv> less and less happy with how browsers running in xwayland love to break my compositor
<bqv> especially because "browsers" includes most of my fucking chat clients, these days
<bqv> is there a weechat plugin for microsoft teams? cause there needs to be
Jackneill has quit [Ping timeout: 246 seconds]
aaronjanse has joined #nixos-chat
Jackneill has joined #nixos-chat
rajivr has joined #nixos-chat
<drakonis> hmm
kalbasit has joined #nixos-chat
<Ashy> that's a pretty good overview
kalbasit has quit [Remote host closed the connection]
waleee-cl has quit [Quit: Connection closed for inactivity]
<drakonis> lmaooooo
<drakonis> its the worst time to own apple devices
tilpner_ has joined #nixos-chat
tilpner has quit [Ping timeout: 256 seconds]
tilpner_ is now known as tilpner
<bqv> cole-h: oh no :'D
<bqv> that fontconfig snippet has BROKEN my terminal
<bqv> it's now literally just massive blocks of colour
<bqv> oh boy, that has to go
<cole-h> bqv: It shouldn't be, if you used `fonts.fontconfig.localConf`
<cole-h> But if you copied the contents in ~/.config/fontconfig/fonts.conf (or similar), that will happen.
<bqv> i did use that
<cole-h> Which terminal are you using?
<cole-h> I'm using Alacritty and it's functioning just fine.
<bqv> it seems i do have a fonts.conf, though
<bqv> i'm using st
<bqv> well, st-wl (wayland patched)
<cole-h> Try moving fonts.conf
<bqv> gonna need an fc-cache or something too aren't i
<cole-h> I didn't
<bqv> still broken, either way :/
<bqv> oh, there's a conf.d too
<bqv> nah, something truly sketchy has happened here
<bqv> i need to revert it for now at least, before everything becomes unreadable
<cole-h> Maybe st doesn't actually suck less ;)
<bqv> lol
<bqv> phew, back to normal
<bqv> what an awful effect
<bqv> tbh, i think my font problem is actually emacs-specific
<bqv> they work elsewhere
<bqv> it's probably an emacs font
bbigras has joined #nixos-chat
<bqv> yep, it's an emacs issue
<bqv> switching frame-font makes it work better
<bqv> strange it doesn't support fallback fonts
xd1le has joined #nixos-chat
hplar has quit [Ping timeout: 240 seconds]
<colemickens> say I'm booting up a VM to provision a yubikey, can I "shred" the memory of the VM afterward?
<colemickens> well, to be specific I'm provisioning the key in the vm, and pushing it to N yubikeys, hence why I want to shred the VM memory afteward
<bqv> emacs is weird with fonts
<bqv> probably not evident until you use it as a chat client
<drakonis> ah, i nearly forgot
<drakonis> font hell doesnt exist here
<drakonis> so pleasant to not have it
<bqv> ,where?
<drakonis> nixos
<bqv> oh
<cole-h> idk about that
<drakonis> i mean, i dont have ugly fonts out of the box
<cole-h> Ah
<cole-h> *default* font hell
<drakonis> yes
<drakonis> and including new fonts isnt a bad time
<cole-h> ZFS friends: at what capacity % should I start thinking about expanding storage?
<ashkitten> depends how much you have, how quickly it'll fill up, and if it's hard disks or ssd
<ashkitten> on ssd fragmentation doesn't matter
<ashkitten> uhhhhhhhhhhh
<ashkitten> gchristensen: you use znapzend right?
<ashkitten> it doesn't seem to be cleaning up snapshots...
<ashkitten> oh crap i think it might be due to com.sun:auto-snapshot also being enabled
<ashkitten> this might have something to do with why my pool was so sluggish
<ashkitten> i thought it was just the volume of snapshots but it might actually be how *many*
<ashkitten> (somewhere in the range of 24000)
<ashkitten> and my server doesn't have a separate metadata device like my desktop does
abathur has quit [Quit: abathur]
<drakonis> i missed being able to do dirty rebuilds again
cjpbirkbeck has quit [Quit: Goodbye, take care]
<cole-h> ashkitten: It's an SSD, and it will be ~90% cap when this transfer is done
<cole-h> Wondering if I should start watching for SSDs or not.
endformationage has quit [Quit: WeeChat 2.7.1]
kalbasit has joined #nixos-chat
kalbasit has quit [Remote host closed the connection]
<Ashy> i thought the rule of thumb for zfs was to never get over 80% capacity
kalbasit has joined #nixos-chat
kalbasit has quit [Ping timeout: 240 seconds]
<sphalerite> colemickens: power down the machine :p
<colemickens> sphalerite: I didn't know if there was more to it! I know like Tails does something on shut down to try to clear its memory, I think I read that once.
<sphalerite> colemickens: IMHO that's a level of paranoia that's not necessary. There probably will be residual charge in the memory or something that lets an extremely dedicated attacker recover the data with physical access, but eeeeeh
<sphalerite> colemickens: I mean, if your threat model involves state-level actors then you shouldn't be asking here :D
<colemickens> sphalerite: I'm trying to decide if the VM is overkill too.
<colemickens> sphalerite: esp if my program only keeps the key in memory and never writes it to disk.
<colemickens> sphalerite: but I might show this to someone who doesn't want to implement yubikey's import key which I use (since I don't generate on the yubikey so I can duplicate)... so I'm trying to be as paranoid-friendly as possible without ... exerting too much effort.
<sphalerite> colemickens: make sure to turn swap off :D
<sphalerite> colemickens: the least-friction most-paranoid approach I can think of for this is to provision the yubikeys from a tails live image
<sphalerite> optionally placing the computer in a faraday cage for the process :p
<colemickens> sphalerite: I guess that wouldn't be too bad actually. I can use 9p, throw it in a dir, share dir to VM and then give user the two steps to mount the 9p and pull the `nix copy`'d executable out and run it.
* colemickens less nixos-y goodness though
<sphalerite> huh?
<sphalerite> oh you mean you're writing a tool that does this, and managing it with nixos?
<sphalerite> In that case I'd say a nixos live iso :)
<sphalerite> and ditch the VM
<sphalerite> the host system can be dangerous to the VM, and it makes the USB bit more complicated
<colemickens> hm, good point, I had thought of making a kexec payload too
<colemickens> in fact, it used to be possible to kexec tails. I'm sure it still is but debians live-boot stuff is messy
<cole-h> sphalerite++ Thanks for that zvol tip. Maybe placebo, but it seems things are running slightly better...
<{^_^}> sphalerite's karma got increased!
<sphalerite> yay!
<sphalerite> And now you can snapshot it separately without the rest of /var :D
<sphalerite> Ashy: that rule of thumb is in order to avoid fragmentation long-term. It's not as much of a concern with SSDs as it is with HDDs, since SSDs don't need to seek.
<drakonis> woops the current unstable kernel seems to have weird read bugs
<drakonis> that are causing the system to massively choke out
<drakonis> gave me a huge spook
<drakonis> NOPE
<drakonis> STILL THERE
<sphalerite> huh?
<drakonis> my hard drive is dying and i should order one tomorrow asap
<cole-h> Ashy: Well, good thing I just pruned some snapshots then, huh? Back to 75% :^)
<cole-h> Oh, guess it doesn't apply to me anyways
<cole-h> sphalerite++ Also, thanks for that `zfs send` trick -- that's really cool.
<{^_^}> sphalerite's karma got increased to 106
<cole-h> Though I wish there was a way to say "pick the latest snapshot"
<cole-h> `zfs list -t snapshot rpool/system/var -o name -H | tail -1` is an OK solution to that, though.
<sphalerite> cole-h: zfs list -Ho name -s creation -t snapshot -r rpool/system/var | tail -n1
<sphalerite> oh damn you beat me to it
<cole-h> Heh >:)
<sphalerite> you're missing the -r though :D
<sphalerite> oh, hm, that might be difficult if the filesystem has children
cole-h has quit [Quit: Goodbye]
<ashkitten> hmmmm /dev/zfs seems to have the wrong permissions
<ashkitten> i'm not sure when this happened
<sphalerite> ashkitten: I've had that too
<ashkitten> it should be 666 right?
<ashkitten> on my system it's 600, so non-root users can't use zfs
<sphalerite> yeah
<sphalerite> I had the same thing, but not consistently
<sphalerite> not sure what causes it
<ashkitten> it's definitely an issue :/
jurlerci has joined #nixos-chat
glowpelt has joined #nixos-chat
<eyJhb> Finally passed that exam. Finally a little break from school
<sphalerite> removing glued batteries is scary.
<sphalerite> eyJhb: congratulations!
jurlerci has quit [Quit: leaving]
<eyJhb> Thanks! :D
<eyJhb> sphalerite: removing all batteries are
<etu> eyJhb: :)
<eyJhb> ASUS laptops have a connector that is SMD, that easily breaks when removed
<eyJhb> That is how I broke my laptop one time...
<sphalerite> eyJhb: idk, I'm pretty ok with removing AA batteries
<eyJhb> Damn.
<eyJhb> What if they were in a laptop sphalerite ?
<sphalerite> that would be… weird? But also kind of cool
<sphalerite> though presumably the battery life would be pretty poor.
<eyJhb> Depends on how many I would assume? :p
xd1le has quit [Quit: Quit]
<sphalerite> ok, battery life or weight would be pretty poor :)
<eyJhb> sphalerite: My brother had a phone which almost ate batteries
<eyJhb> So he had 3-4 extra batteries in his pocket, so he could change it :p
<eyJhb> Not 100% the same, but... still
<eyJhb> Also, finally a little time for doing some more Nix projects!
<eyJhb> Now I can try nixus and fault infinisil when I loose all my data
Peetz0r has quit [Ping timeout: 256 seconds]
<JJJollyjim> oof new zealand is back to having covid
<JJJollyjim> somehow
<JJJollyjim> thus ends the feeling of smug superiority to australia
<eyJhb> Yay and sad at the same time
<eyJhb> JJJollyjim: how many cases?
<JJJollyjim> 4 (all in the same family/house)
<eyJhb> In combination with a hollyday?
<eyJhb> holliday*
<JJJollyjim> no, they don't know where it came from yet :/
<JJJollyjim> those people hadn't been overseas
<eyJhb> And they have not been running the trump way of not testing? :p
<eyJhb> :D
<JJJollyjim> nope lol
<JJJollyjim> 102 day streak of no cases (outside the border isolation hotels)
<eyJhb> Soo, maybe they loosing on the requirements, are they are extra tight
<JJJollyjim> Hmm?
<eyJhb> "requirements" -> open up the country more, from other countries
<JJJollyjim> Oh, we were still only letting in permanent residents
<JJJollyjim> and citizens
<JJJollyjim> with 2 weeks isolation and testing
<JJJollyjim> so it's pretty wild that something slipped through
<eyJhb> JJJollyjim: Are you from NZ?!
<sphalerite> eyJhb: back before the days of power banks?
<JJJollyjim> Yeah
<adisbladis> JJJollyjim: Imho it was completely expected that it would slip through
<eyJhb> Nope, sphalerite, 2-3 years ago
<JJJollyjim> adisbladis: hmm you think?
<adisbladis> It seems to me like the efficacy of lockdowns is questionable at best
<adisbladis> While also ignoring the humanitarian cost
Peetz0r has joined #nixos-chat
waleee-cl has joined #nixos-chat
<JJJollyjim> We didn't have any lockdown for several months though
<JJJollyjim> Only border restrictions
<JJJollyjim> So surely it was effective?
<adisbladis> Well
<JJJollyjim> In that it stamped out all cases
<adisbladis> JJJollyjim: I'm curious to see how it goes now
<adisbladis> But I would argue that the price paid was unacceptable
<adisbladis> There are still countless families separated by the NZ border closures
<adisbladis> It _was_ effective in the short term, I'm not sure it's going to keep being effective in the longer term
<JJJollyjim> Interesting
<JJJollyjim> Are you in new zealand? I haven't really heard that perspective from anyone else here
<adisbladis> JJJollyjim: No, but I am separated from my partner which is in NZ
<adisbladis> With no end in sight to this hell
<JJJollyjim> Damn:(
<adisbladis> The NZ govt completely disregarded the humanitarian aspect of closing borders
<JJJollyjim> Yeah I hadn't realised partners of citizens and PRs weren't all allowed in
<adisbladis> Well, my partner is neither citizen or pr
<JJJollyjim> Damn:(
<adisbladis> But even then the criteria for exemption of citizens/prs partners is so narrow it basically doesn't apply to anyone
<adisbladis> It's all lip service
<JJJollyjim> Yeah I see that now
<adisbladis> The tl;dr of it all is: It only applies to partners of prs/citizens IF you already had a visa based on your partnership
<adisbladis> (PWV)
<adisbladis> It doesn't apply if you had any other visa type, even if the basis for that visa was your partnership
<adisbladis> It also means australian partners are not allowed in at all since they never required a visa in the first place
<adisbladis> It's extremely narrow and from my perspective it looks like the govt only put it in place to silence any protests. It's a policy they can point to and say "we did something!"
<adisbladis> JJJollyjim: I really wonder if it would be different it was not an election year...
<JJJollyjim> So are you suggesting opening the borders more and keeping the rest of the country locked down?
<adisbladis> I'm not suggesting anything
<adisbladis> I don't know what the right call is
<adisbladis> But the humanitarian price paid is not an acceptable one
<adisbladis> In my eyes NZ used to be a very migrant friendly place
<adisbladis> Now it lost itself
<JJJollyjim> Yeah, I see that now :(
<JJJollyjim> and im frustrated that the opposition is making up lies about homeless people sneaking into isolation hotels and getting free accommodation (god forbid) instead of making a storm about this
<eyJhb> ,tofu
<{^_^}> To get a sha256 hash of a new source, you can use the Trust On First Use model: use probably-wrong hash (for example: 0000000000000000000000000000000000000000000000000000), then replace it with the correct hash Nix expected. For inserting 52 0's in vim: <esc>52i0<esc>
<adisbladis> JJJollyjim: Yeah! There is plenty of legit issues to have discussions around.
<adisbladis> I don't see the need to make any new topics up :P
<JJJollyjim> I swear like 5 I have updated a url and not changed the hash
<JJJollyjim> Expecting tofu to kick in
<JJJollyjim> and forgotten how fixed output derivations work
<JJJollyjim> ugh
<adisbladis> JJJollyjim: This still happens to me sometimes
<JJJollyjim> **like 5 times
<sphalerite> JJJollyjim: you can relax who's allowed in without relaxing the quarantine requirements, no?
<JJJollyjim> Oh yeah I wasn't thinking, that makes more sense
<adisbladis> sphalerite: They don't have the quarantine capacity and are not expanding it any further
<bqv> adisbladis: I always use nix-update-fetch, now
<bqv> Instant tofu
<eyJhb> bqv: was that to me?
<JJJollyjim> nice
<bqv> eyJhb: no
<bqv> Specifically adisbladis because I know he attends my church
<adisbladis> Speaking of which! The new version of our religion is released :)
<eyJhb> More tofu?
<eyJhb> Also, adisbladis I need your help
<etu> eyJhb: more tofo!
<JJJollyjim> adisbladis: Golden Age of Tech Phase II: The Bridge to Total Happiness Student Hat?
<adisbladis> JJJollyjim: Emacs 27.1
<adisbladis> But close enough ^_^
<JJJollyjim> :D
<eyJhb> etu, adisbladis , anyone that does Nix go into #nixos! There is a need for you <3
<JJJollyjim> 27.1 is soo last year
<JJJollyjim> so is trunk
<JJJollyjim> everyone is using native-comp now
<JJJollyjim> :P
<adisbladis> I'm not using native-comp quite yet :/
<adisbladis> I had strange issues with exwm
<eyJhb> We need a better --show-trace... :(
<crazazy[m]> i've tried emacs for a week, still couldn't feel it even after installing evil and god-mode
<JJJollyjim> woah emacs uses git?
<JJJollyjim> i naively assumed it was still using whatever it is that has a branch called trunk
<crazazy[m]> mostly because godmode fucks up in weird spots
<adisbladis> JJJollyjim: Iirc they just kept the branch name from svn when switching to git
<etu> crazazy[m]: I've used as my window manager for one and a half year, it's hard to stop using it :D
<etu> JJJollyjim: I'm still on 26.3, looking forward to 27.1 :D
<JJJollyjim> me too actually
<JJJollyjim> im a fraud
<JJJollyjim> by which i mean an arch user
<etu> Btw, T480s is the worst intel computer I've ever used.
<etu> I couldn't use 5.4 due to GPU hangups, 5.5 was fine, so was 5.6, but on 5.7 naaaaah. Switched driver from "modesetting" to "intel" and it seems fine on 5.7.
<sphalerite> adisbladis: right, but they could, right?
<eyJhb> Are wo going all Thinkpad in here?!
<bqv> etu: I stopped, so I could use wayland
<adisbladis> sphalerite: Sure they could, but there is no political will to do so.
<JJJollyjim> rms declares all branches must now be named master "to own the libs"
<adisbladis> I use Nix to own the libs
<JJJollyjim> the LGPL is a threat to our ownership of the libs
<bqv> You know whats weird though, my emacs doesn't seem to native-compile packages even though I'm pretty sure it should now
<philipp[m]> adisbladis: You don't own the libs with nix though. root owns all the libs!
<Mic92> JJJollyjim: you are not using doom-emacs by chance?
<Mic92> I have not gotten native-comp working there yet.
* LinuxHackerman uploaded an image: IMG_20200811_160958.jpg (1105KB) < https://matrix.org/_matrix/media/r0/download/matrix.mayflower.de/cNbYqeNeUxMOebehsUckEuYl >
* LinuxHackerman uploaded an image: IMG_20200811_161711.jpg (1829KB) < https://matrix.org/_matrix/media/r0/download/matrix.mayflower.de/cmyaemKDljEhMLgylwrDoNax >
<sphalerite> gchristensen: thanks for the cooking inspiration ^ :)
<Mic92> an omlette?
<sphalerite> took a while for me to finally give it a shot, and I didn't follow any particular recipe, but it's turned out quite tasty :)
<sphalerite> Mic92: "eggs in purgatory"
<f0x> sphalerite: oh seems similar to Shakshuka? good stuff :)
<LinuxHackerman> f0x: oh yeah didn't realise that's basically the same thing :p
<Mic92> Two Linuse?
<LinuxHackerman> Yes one is on the matrix
<joepie91> which one is an exercise for the reader :P
<sphalerite> tricky, tricky!
<bqv> Mic92: nope, normal
FRidh has joined #nixos-chat
__monty__ has joined #nixos-chat
numkem has quit [Quit: The Lounge - https://thelounge.chat]
cole-h has joined #nixos-chat
numkem has joined #nixos-chat
evanjs- has joined #nixos-chat
evanjs- has quit [Client Quit]
evanjs- has joined #nixos-chat
evanjs has quit [Ping timeout: 256 seconds]
parsley936 has joined #nixos-chat
evanjs- has quit [Quit: ZNC 1.8.1 - https://znc.in]
evanjs has joined #nixos-chat
<bqv> oh, figured out why
<drakonis> haha welp
<bqv> i'd been clobbering adisbladis's passthru.nativeComp by accident
<drakonis> its really dying
<bqv> drakonis: rip
<drakonis> i cant even garbage collect the store
<drakonis> its so insanely slow
<drakonis> i think the sector where the store lives is having read errors
<bqv> make a new store, with blackjack and...
<bqv> it's building, it's building!!
<philipp[m]> Are you an angel?
CodeSpelunker has joined #nixos-chat
<bqv> of course :)
cole-h has quit [Quit: Goodbye]
rajivr has quit [Quit: Connection closed for inactivity]
cole-h has joined #nixos-chat
endformationage has joined #nixos-chat
CodeSpelunker has quit [Quit: CodeSpelunker]
CodeSpelunker has joined #nixos-chat
cole-h_ has joined #nixos-chat
cole-h has quit [Ping timeout: 260 seconds]
<drakonis> what are the viable ways to enter rescue mode on nixos?
<drakonis> i need to fsck my partition
<Mic92> drakonis: you can pass initrd arguments
<Mic92> cmdline
abathur has joined #nixos-chat
<sphalerite> omg we have a declarative syncthing module now?? *.*
<bqv> Yaa
<bqv> I was about to set it up too
<sphalerite> was just searching the options to set up a new syncthing node and then I saw declarative and was very pleased :D
<NinjaTrappeur> oO
<NinjaTrappeur> Great!
<NinjaTrappeur> did not know about it either :)
<cransom> dear aws and us-east-2. you make it really hard on me when the time it takes to register our ami's goes from 8 minutes to 45 minutes.
<bqv> Clouds. Not even once,
<samueldr> cloudputers
<eyJhb> Hasn't there been that for a long time?
<joepie91> so uh
<joepie91> Mozilla has apparently laid off the entire Servo team (the people responsible for Firefox getting its shit together in terms of performance and stability)
<joepie91> as well as their entire threat management / incident response team
<joepie91> and their entire WebVR/WebXR team
<joepie91> and probably a bunch more
<joepie91> with their letter-to-employees basically saying, between the lines, "we don't really want to do R&D anymore, and we're gonna look for high-margin services to sell instead"
<eyJhb> joepie91: source?
<bqv> joepie91: woah what the fuck
<bqv> Servo's awesome though
<joepie91> etc.
<joepie91> far as I can tell they're more or less throwing out all of their experienced R&D
<bqv> This is upsetting
<cransom> aw. i worked with mpurzynski.
<joepie91> because the story wouldn't be complete without zero impact on execs
<cransom> hrm, that's a 2018 graph. is there a 2020 version? they weren't laying off in 2018
<__monty__> So now your Microsofts etc. will just have a nice talent pool to take their pick of?
<joepie91> and google, of course.
<joepie91> cransom: no idea
<joepie91> there's also been no announcement of an exec paycut
<joepie91> AFAIK
<__monty__> Where would they be without their overpayed execs if this turns out to *really* be a longtime crisis though?
<__monty__> Does Mozilla even have offices? Foss focused companies sound like ideal remote working places at a glance.
<cransom> they had ~12 i think in 2013 when i was there.
<cransom> and they were extremely remote friendly. i don't remember the big pull for offices other than for community outreach.
<cransom> in san francisco you could drop in and hang out in the space, up until reich was in charge and protesters came in there and then they closed it.
<cransom> but what giant success did they have from 2016->18 where the compensation doubled? it certainly wasn't firefoxos.
<sphalerite> first thunderbird, now firefox
<bqv> Thunderbird's dead?
<bqv> I suppose I hardly care, an email client that big is insane
<cransom> it's not dead, but it went from a fully supported thing to community only.
<__monty__> I wonder whether Europe's generally "business-hostile social security" systems are actually going to turn out to be pro-business measures for once.
<sphalerite> bqv: yeah it's not dead, but mozilla dropped it.
cole-h_ has quit [Quit: Goodbye]
<cransom> wonder how many seamonkey users are are still.
<bqv> wonder if the same will happen to servo
<bqv> i was really keen on servo
<bqv> especially integrating it into nyxt or something
<joepie91> __monty__: Mozilla definitely has offices, and lavish ones at that. the Paris one is lavish, anyway :P
<cransom> i'd never been to paris, but the pictures i saw from the build were quite fancy
<joepie91> it was definitely fancy in person also
<sphalerite> so uh
<sphalerite> can we get a new Mozilla Foundation without a Mozilla Corporation?
FRidh has quit [Quit: Konversation terminated!]
CodeSpelunker has quit [Quit: CodeSpelunker]
<bqv> now i want to make my mouse config declarative
<bqv> nixos ckb module
<philipp[m]> nixos-rebuild for every cursor repositioning?
<philipp[m]> We won't have true reproducibility before that!
<bqv> hahah
<bqv> nah just the button assignment-
burkelibbey_ has joined #nixos-chat
<bqv> i miss my browser back/forward
<philipp[m]> understandable
<philipp[m]> Decent mice are really important. Got my so to get a decent one a few months ago after using it and noticing how bad it was. She went back to her old one to use on her laptop and was nearly screaming after 5 frustrating minutes.
<joepie91> bqv: hello fellow navigation button user
<cransom> and every time i used my SOs machine, i swear at the apple magic mouse which she still loves.
<joepie91> I have literally bought an outdated model of a rollermouse because the newer one doesn't have them
<joepie91> sphalerite: that would be nice...
<Mic92> what happens to rust, when mozilla dies?
<joepie91> honestly I think Rust is in the least danger of all of Mozilla's things
<joepie91> it has fairly wide community engagement, dev investment from multiple companies, the codebase is reasonably maintainable
<eyJhb> cransom: I feel that pain
<joepie91> many organizations having stuff riding on it
<joepie91> Firefox is a much bigger problem :/
<joepie91> the codebase being notoriously impenetrable and crusty
<joepie91> highly complex, everyone elses uses Chromium instead
<Mic92> joepie91: is it though? Who works on rust full-time
<joepie91> Mic92: the question is IMO more "who *would* work on Rust full-time"
<bqv> joepie91: ideally i'd just use keyboard only, but the web is so... web, that i'm better off using mouse only
<joepie91> quite a lot of companies (even Microsoft, via github -> npm at least) have critical infrastructure running on Rust
<joepie91> so while I am not up-to-date on the current Rust core composition, even if it were fully Mozilla, there would still be a lot of organizations with a clear reason to invest into keeping it going
<joepie91> but the same isn't true for Firefox
<__monty__> Thank god they're starting an applied ML team. I'm sure that'll outweigh the loss in competence.
<Mic92> Mozilla voice is quite cool.
drakonis has quit [Quit: ZNC 1.8.1 - https://znc.in]
<Mic92> Especially the text2speech engine
<Mic92> Hope they won't kill that
<joepie91> Mic92: that's R&D, so... :/
<joepie91> I'm not hopeful
<Mic92> Seems like most rust contributors are actually not at mozilla anymore.
<joepie91> __monty__: I'm pretty sure that's basically a euphemism for adtech
<Mic92> Looking at the stats
<joepie91> or maybe optimistically it could be personalized recommendations as a service
<__monty__> Kinda wish the EU had the stones to jump in and take over Firefox.
<joepie91> yeah...
<joepie91> that might actually legitimately be a sensible solution
<hexa-> I really hope Mozilla TTS and DeepSpeech fall under the ML category :D
<__monty__> NPM is Rust? I really expected NodeJS.
<kini> I think it is NodeJS but they ported some CPU-bottlenecked parts to Rust last year -- there was a whitepaper about it https://www.rust-lang.org/static/pdfs/Rust-npm-Whitepaper.pdf
<kini> but also there's this thing written in rust which is supposed to be a successor to npm I think https://github.com/denoland/deno
<kini> or, a successor to node.js? I'm not sure
<kini> yeah I think that makes more sense since it's "a secure runtime for JavaScript and TypeScript" not a package manager
<kini> btw people on twitter are saying the servo team was axed, which sucks since that was one of the biggest and most central rust projects, not to mention that it also sucks in terms of the future of firefox
<sphalerite> yeah that's how we got here
<kini> oops didn't scroll up far enough, sorry
<bqv> is firefox really gonna "die" from this though
<bqv> im most just sad that servo's gonna lose some steam
<__monty__> bqv: It's just another sign Mozilla doesn't care about Firefox.
<bqv> :/
<joepie91> kini: deno is nonsense and can be safely ignored
<bqv> shame, firefox is the only reason i care about mozilla
<joepie91> it's also not really "written in Rust" in that it is a wrapper around V8
<joepie91> with a terrible sandboxing model, misleading claims, and a very boneheaded module system
<joepie91> definitely not a successor to Node.js...
<joepie91> "sandboxing" should've had scarequotes there. it's basically an "allow fs", "allow net" process-global command-line flag, last I checked
drakonis has joined #nixos-chat
<joepie91> also noone currently involved in either Node or npm built deno; it's basically a pet project by the original creator of Node, who hasn't been involved in the project for a long time, and said pet project kinda got out of hand because famous name
<drakonis> hilarious
<drakonis> aight, i ran fsck and added all bad blocks to the list
<joepie91> on the npm/Rust thing; I recall a claim that they'd basically ported their entire backend to Rust
<drakonis> still runs like garbo
<joepie91> perhaps that was not accurate and it was only hot paths
neeasade has quit [Ping timeout: 256 seconds]
<drakonis> hmm
<drakonis> i need to purge up a ton of haskell paths
<drakonis> alternatively, purge my nix store and rebuild everything
<bqv> seems more effective
<drakonis> indeed
<drakonis> its slow as molasses to do it
__monty__ has quit [Quit: leaving]
<ashkitten> y'ever read 7 years of a webcomic in a day before falling off of it?
<worldofpeace> ashkitten: yes
<worldofpeace> then the story starts to go to shit in the newest volume/chapter
<ashkitten> i can't figure out if i'm actually tired of it or if i'm just dissociating lol
<ashkitten> anyone got interesting webcomic recommendations?
<bqv> why not both
<worldofpeace> ashkitten: hard same. dissociation into a webcomic
<kini> joepie91: lol I see
<ashkitten> i got through egs and qc just fine, and those have been running for like 20 and 18 years
<ashkitten> i forget which is 20 and which is 18
<joepie91> kini: btw, example of misleading claims: the whole "typescript runtime" basically means "it will transpile your TS in memory before running it as JS", it doesn't actually run any TS directly nor take advantage of it for performance or whatever.... which means that it is functionally indistinguishable from what ts-node has been doing for years
<joepie91> and that's kinda my main issue with deno; it correctly identifies some annoyances in Node and/or common requirements, but then proceeds to either a) implement them wrong, or b) fail to realize that this could have just been solved in Node with a library or add-on and you do not, in fact, need a whole new runtime with a whole new incompatible ecosystem to make it happen
<kini> joepie91: That's too bad. I know nothing about the JS ecosystem so my only reference point was that I saw deno mentioned in some tweet somewhere I imagine. Thanks for the clarifications.
<joepie91> kini: yeah, it's understandable, it's gotten quite a bit of hype
<joepie91> the JS ecosystem is... pretty hype-prone, unfortunately :(
<joepie91> which sucks because it means people mostly just see the failed hypes
<joepie91> not the legitimately good underlying ecosystem
<joepie91> which then attracts more hype, ad infinitum
<adisbladis> joepie91: But... Rust!
<adisbladis> Or something
<adisbladis> (I don't see the point of deno)
<adisbladis> I also don't see why they advertise that it's built in Rust considering V8 is cpp
<adisbladis> I may be naive here, but the deno specifics shouldn't be that much code?
<joepie91> adisbladis: correct on all counts
<joepie91> well, minus the naive :P
<ashkitten> i wonder if typescript would be better off being compiled to wasm rather than js
<ashkitten> if that's even possible
<joepie91> ashkitten: it isn't
<ashkitten> aw
<bqv> christ i wish it was
<joepie91> ashkitten: because all JS is basically valid TS
<joepie91> (aside from some syntactic differences and `any` annotations)
<ashkitten> only weak typing?
<joepie91> TS is opt-in type enforcement
<ashkitten> oh
<joepie91> which means that any TS code can always contain dynamically-typed mystery meat just like JS
<joepie91> which means that it is exactly as AoT-compilable as JS is :P
<joepie91> you could possibly AoT-compile it better by just disallowing any dynamic code but then it becomes unworkable in practice
<bqv> work stuff for me is always "asp this" and "javascript that" and "cloud cloud cloud", i wish i could do some more interesting and less brutalist coding for money
<joepie91> because ultimately TS is just a half-assed type system glued onto JS
<joepie91> and it really doesn't support the more abstractive applications of JS well at all
<joepie91> honestly, if you want static typing, and "transpiles to JS" is not a hard requirement, Rust is gonna be a better option
<joepie91> as it actually buys into the static typing thing properly and the language is designed around it and it provides additional safeties that way
<kini> but rust itself does compile to wasm, right? if you need js interop maybe that's workable?
<ashkitten> yeah rust has js interop
<bqv> yeah if i was gonna use rust i'd just use wasm
<bqv> not compile it to js
<ashkitten> honestly i'm just waiting for webidl in wasm
<ashkitten> i dont like having to use js even when im running rust on the web
parsley936 has quit [Remote host closed the connection]
burkelibbey_ has quit [Quit: Connection closed for inactivity]
<bqv> i really like purescript, tbh
<bqv> just, it's not "standard pattern" enough for people
<bqv> but it's the only way i actually enjoy interacting with javascript
hplar has joined #nixos-chat
<infinisil> "162285 store paths deleted, 162255.06 MiB freed"
<infinisil> Big number for me
<infinisil> But also, surprisingly close to an average 1 MiB / path
<drakonis> aight jeeze
<drakonis> i purged my nix store and its no longer dragging its feet
<drakonis> the risk is still there, sadly.
<bqv> just learn to compute without a hard drive
<bqv> like a true pro
<bqv> state? what's that!
<infinisil> I wonder what the "purest" way to track all system state is
<drakonis> ostree
<drakonis> it does git for filesystems
<sphalerite> infinisil: qemu?
<infinisil> sphalerite: qemu how
<bqv> ostree?
<infinisil> > ostree.meta.homepage
<sphalerite> well, since qemu emulates all the hardware, you can save the state of the whole system
<bqv> oh wow
<bqv> git for your entire filesystem
<bqv> i actually think i kinda want this
<sphalerite> unless you choose to bring in impurities like ocnnecting it to a network of machines not tracked by qemu
<infinisil> ostree sounds pretty neat..
<bqv> is it nix compatible?
<drakonis> it powers flatpak
<infinisil> I initially confused it with osquery which is also neat
<infinisil> > osquery.meta.description
<{^_^}> osquery has been removed.
<infinisil> Lol
<bqv> ha
<drakonis> *airhorn*
<infinisil> I think it was always broken due to such a complex build
<bqv> if it was ever not broken, could just fetch that nixpkgs
<infinisil> "osquery exposes an operating system as a high-performance relational database. This allows you to write SQL queries to explore operating system data. With osquery, SQL tables represent abstract concepts such as running processes, loaded kernel modules, open network connections, browser plugins, hardware events or file hashes."
<bqv> i've seen osquery, never thoguht of a decent use for it
<infinisil> But yeah, ostree for tracking the whole filesystem sounds really interesting
<bqv> ostree though, for every part of my system that isn't in nix but needs to persist
<bqv> yeah
<drakonis> ostree as a nix backend anyone
<bqv> i dunno if mutable data belongs in a primarily immutable store
<drakonis> ostree is immutable
<bqv> well it's immutable storage of mutable data, like git, right?
<drakonis> no i dont think so
<bqv> oh
<drakonis> see fedora silverblue with rpm-ostree
<bqv> then surely it's just ghetto nix
<drakonis> it does dedupe
<drakonis> like git
<bqv> so does nix :p
<drakonis> does nix?
<bqv> yeah, store optimization uses hardlinks
<drakonis> this section in particular might interest you
<bqv> "nix is not practical at scale
<bqv> the only feature they have on nix is that they allow partial upgrades
<bqv> which nix considers a bug :p
<Ashy> yeah kinda seems like that section is written by someone who's read a bit of the nixos documentation without actually running it for a while
<Ashy> nixos is quite far from perfect but holy hell does it have some nice features that leave everything else in the dust
<samueldr> their argument kind of doesn't work anyway
<samueldr> because you can make a specific derivation use a different glibc with patches if you want, without rebuilding the whole world
<samueldr> so what I read from that is that with OSTree there is no guarantees of coherence
<bqv> and that that's a feature :D
<samueldr> "feature"
<samueldr> the bit about the implementation detail of the read-only feature seems... weird... considering that any scheme can be defeated
xd1le has joined #nixos-chat
<drakonis> aight dope i think i fixed it
<drakonis> will still get ssd for the extra storage and speed
<drakonis> I HAVE NEVER HAD ONE
<drakonis> how does it feel to have one?
<samueldr> oh
<drakonis> looks like having too much stuff in the store can be bad?
<drakonis> i tried to build a haskell thing and it bogged down my system real good
<drakonis> it was feeling janky as heck that day anyways
<bqv> as someone who's only just started using an ssd
<Ashy> you've never used an ssd?
<bqv> the first moment is near orgasmic
<drakonis> nope
<drakonis> have never had the pleasure
<bqv> my system went from booting in the time it takes to make a cup of tea, to faster than i can spin on the spot
<drakonis> blorp.
<drakonis> amazing, really.
<samueldr> drakonis: it's the inverse of a quantum leap
<samueldr> (quantum being a small thing, so the common idiom is wrong)
<drakonis> (i think there's an ssd on a laptop i have, but it got rid of all the low ram chugging windows had)
<samueldr> (might have my information wrong about quantum, don't mind me)
<drakonis> didnt feel too different other than windows not chugging on a 4gb laptop
<drakonis> maybe because i never did anything taxing with it
<drakonis> switching android roms feels real great btw
<drakonis> miui is not a good rom
<drakonis> i dont know why i put up with it for so long
<bqv> maybe the best hope for what i was thinking of is just abusing nix profiles and CoW for system data
<bqv> hey, that reminds me, does nix use CoW if possible for dumping stuff to the store? and if not, why in the heck not
<drakonis> i dont think it does
<drakonis> gonna set up a nice nice prgmr instance today
<bqv> yeah, it would need to for it to be at all reasonable
<drakonis> do we have intensional store yet?