gchristensen changed the topic of #nixos-chat to: NixOS but much less topical || https://logs.nix.samueldr.com/nixos-chat
<samueldr> given a suite of hex numbers, all assumed to be from a string, disregard encoding, how would you re-hydrate it inside a nix build?
<samueldr> I need to be able to also split it on null chars into distinct lines
<samueldr> xxd has a limit of 256 chars to "reverse" operations
<samueldr> it would be the better alternative I have right now, but it'd require splitting in groups with "valid" addresses to "seek" from
<pie_> samueldr: make a LUT? :P
<samueldr> terrible idea
<samueldr> :)
<samueldr> so yeah, I had to do something else for a few minutes
<samueldr> >> 70 69 6e 65 36 34 2c 70 69 6e 65 70 68 6f 6e 65 2d 31 2e 30 0 61 6c 6c 77 69 6e 6e 65 72 2c 73 75 6e 35 30 69 2d 61 36 34 0
<samueldr> that's the thing that's actually two NUL-terminated strings
<samueldr> oh no
<samueldr> oh no no no
<samueldr> printf!
<samueldr> printf $(echo '70 69 6e 65 36 34 2c 70 69 6e 65 70 68 6f 6e 65 2d 31 2e 30 0 61 6c 6c 77 69 6e 6e 65 72 2c 73 75 6e 35 30 69 2d 61 36 34 0' | sed -e 's;\s\+;\\x;g' -e 's/^/\\x/') | xxd
<samueldr> the xxd at the end was to check it re-constituted the nul bytes appropriately
<samueldr> and it did
<samueldr> while it may look cursed at first, it probably is, but less so than chaining other tools I think
<samueldr> might even be doable without the sed at all with some more work
<samueldr> yes! for char_text in $(echo '70 69 6e 65 36 34 2c 70 69 6e 65 70 68 6f 6e 65 2d 31 2e 30 0 61 6c 6c 77 69 6e 6e 65 72 2c 73 75 6e 35 30 69 2d 61 36 34 0'); do printf "\\x${char_text}"; done | xxd
<samueldr> thank you all for your help ;)
supersandro2000 has quit [Disconnected by services]
supersandro2000 has joined #nixos-chat
<gchristensen> remembering the old internet fondly https://www.youtube.com/watch?v=ZPvgEGnHZBI
<bbigras> gchristensen: do you use vault plugins with nix?
<gchristensen> yea
<bbigras> do you put build the plugin yourself and just put them in `/etc/vault/plugins/`? the doc says it don't like symlinks
<gchristensen> it doesn't like symlinks :)
<bbigras> thank you very much :)
{^_^} has quit [Remote host closed the connection]
{^_^} has joined #nixos-chat
disasm has quit [Ping timeout: 276 seconds]
disasm has joined #nixos-chat
<cole-h> "doesn't like symlinks" :(
<samueldr> they're so weird, all prentending to be a file they're not
<gchristensen> vault tries hard to only pass secrets to things that are wha tthey should be
<cole-h> hm, that's fair
<lovesegfault> anyone knows what happens in bash if I have multiple `trap "..." EXIT`?
<lovesegfault> are they popped like a LIFO queue?
<lovesegfault> nope, they clobber
<lovesegfault> great
rajivr has joined #nixos-chat
<abathur> lovesegfault: what's your context?
<lovesegfault> abathur: creating a git workspace within a git workspace
<lovesegfault> and then deleting them all if it explodes
<lovesegfault> but it's okay I think, I worked around it a bit
<abathur> I recently packaged bashup.events which, while not magic, provides a nice abstraction/idiom for dealing with stuff like that
<abathur> so for example I have something like `trap "event emit 'before_exit'" HUP EXIT`
<abathur> and I can have any number of `event on before_exit <command/function>` invocations elsewhere as they make sense without having to think about whether they'll clobber
rajivr has quit [Ping timeout: 264 seconds]
sudocurse has quit [Ping timeout: 264 seconds]
higebu has quit [Read error: Connection reset by peer]
raboof has quit [Ping timeout: 260 seconds]
waleee-cl has quit [Read error: Connection reset by peer]
feepo has quit [Write error: Connection reset by peer]
davidtwco has quit [Read error: Connection reset by peer]
higebu has joined #nixos-chat
rajivr has joined #nixos-chat
davidtwco has joined #nixos-chat
feepo has joined #nixos-chat
raboof has joined #nixos-chat
sudocurse has joined #nixos-chat
waleee-cl has joined #nixos-chat
<abathur> need to find time to write a post about it; but I wrote a toy example for the checkPhase https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/libraries/bashup-events/generic.nix#L23-L34
<aleph-> Oh that's horrific and nifty
slack1256 has joined #nixos-chat
<abathur> my niche
<abathur> gave myself a good scare today
<abathur> I wasn't thinking very clearly, and accidentally dropped ~20GB worth of large macOS installers in a ~projects directory that my backup run includes, but one of my backup locations is my nixOS system, and it saves the backups to an nvme that only has about that much free
<abathur> and if I wasn't thinking very clearly when I put the files in there, I was *really* not thinking clearly by the time I unlocked the system a few hours later to multiple out-of-space alerts :D
<DigitalKiwi> is it normal for shell-nix shebang scripts to leave a file in /tmp/nix-shell-#-#
<DigitalKiwi> i have thousands of them
<DigitalKiwi> https://dpaste.com/4MLWH4M9L also these which seem related to hledger but i'm not sure yet if it's hledger or me or nix that caused them
<DigitalKiwi> and a few hundred nixops-tmp* and nixops-ssh-tmp*
slack1256 has quit [Remote host closed the connection]
endformationage has quit [Quit: WeeChat 2.9]
larrym has joined #nixos-chat
<aleph-> Speaking of nixops is there an easy way to always refer to the latest generation of a network by name and not uuid?
mog has quit [Ping timeout: 246 seconds]
BaughnLogBot has quit [Ping timeout: 240 seconds]
BaughnLogBot has joined #nixos-chat
waleee-cl has quit [Quit: Connection closed for inactivity]
larrym has quit [Quit: Ping timeout (120 seconds)]
mog- has joined #nixos-chat
kini has quit [Remote host closed the connection]
kini has joined #nixos-chat
<LinuxHackerman> aleph-: how are you referring to generations of a network at all?
larrym has joined #nixos-chat
larrym has quit [Quit: Connection closed]
<energizer> 13.3" epaper display "Framerate is 8-14 frames per second." https://www.amazon.com/Dasung-Paperlike-Front-Light-Touch-Monitor/dp/B07SKS6CS7/
<srk> I wanted to root mine and use it as additional screen for docs but the rabbit hole goes deep
<LinuxHackerman> oooh I should do that with my remarkable
<energizer> i want a wall-size epaper grafana
cole-h has quit [Ping timeout: 256 seconds]
<tazjin> LinuxHackerman: adisbladis and I were experimenting with this the other week, the experience isn't great unfortunately
<LinuxHackerman> aww
<tazjin> one of those dasung screens would be nice, but I'm not sure how to get one into Egypt
<adisbladis> The updates are too slow
<LinuxHackerman> energizer: but colour! Red is very important to have on your dashboards :p
<adisbladis> LinuxHackerman: I have a colour e-ink phone
<adisbladis> I wouldn't recommend it rn
<adisbladis> It's not quite there yet
<LinuxHackerman> hm, I imagine it depends on what you're displaying though?
<adisbladis> You lose too much resolution from the colour filter
<LinuxHackerman> sorry that was regarding using the remarkable as an extra screen
<adisbladis> Ahh, right
<adisbladis> No, it largely doesn't matter :/
<LinuxHackerman> yeah I'm already convinced that colour e-ink isn't mature enough for uses other than product labelling yet :D
<adisbladis> It's possible that this is somehow solvable with software changes, but the experience you get now with the rm as an external screen is way too slow
<adisbladis> And the setup is janky AF
<adisbladis> I'll drop some $$$ on one of those Dasung monitors as soon as I can figure out the logistics
<LinuxHackerman> what's the setup? :D
<adisbladis> https://paste.rs/INl <- on the laptop
<adisbladis> https://github.com/matteodelabre/vnsee <- on the tablet
<LinuxHackerman> oh, that's pretty much what I expected
<adisbladis> By all means do try it out :P
<adisbladis> Trying it out made me 110% sure I want to get a Dasung
<adisbladis> Experiencing Emacs on an e-ink was awesome
<adisbladis> It gave me flashbacks to trying it on the olpc back when that was still relevant
<adisbladis> What I wouldn't give for a full e-ink laptop....
cosimone has joined #nixos-chat
betawaffle has quit [Ping timeout: 240 seconds]
davidtwco has quit [Read error: Connection reset by peer]
davidtwco has joined #nixos-chat
mog- is now known as mog
betawaffle has joined #nixos-chat
__monty__ has joined #nixos-chat
<patagonicus> I've also been considering getting one of the Dasung ones, just to try it out. Main problem is that a) it'll be annoying to find a good position on my desk for it and b) I switch between a personal machine and a work machine and I don't really want to find a kvm that can do multiple screens (especially since one of the machines is a laptop and is
<patagonicus> using USB-C for video + USB in). Maybe I'll just hook it up to my personal machine and not my work one, although I read more stuff on the work machine …
<patagonicus> Or maybe I just plug a RPi into it. Hmm.
betawaffle has quit [Read error: Connection reset by peer]
davidtwco has quit [Write error: Connection reset by peer]
davidtwco has joined #nixos-chat
betawaffle has joined #nixos-chat
cosimone has quit [Quit: cosimone]
higebu has quit [Ping timeout: 240 seconds]
feepo has quit [Read error: Connection reset by peer]
sudocurse has quit [Read error: Connection reset by peer]
higebu has joined #nixos-chat
feepo has joined #nixos-chat
sudocurse has joined #nixos-chat
<philipp[m]1> tilpner: Thanks for buildung appimage-run. It just saved me an hour of annoyances.
<adisbladis> patagonicus: If it wasn't for my personal logistics atm I would order one instantly
<adisbladis> Also it's CNY so they're not shipping anything atm
<patagonicus> adisbladis: Are they launched already? I just remember a news article about them launching them "soon" or something.
<adisbladis> patagonicus: Oh, you're talking about the 25" one
<adisbladis> I'm talking about the 13"
<patagonicus> Aah. Maybe 13" is more reasonable anyway. :D
<adisbladis> No, those are not for sale yet
<adisbladis> I mean, if I had somewhere to put it I'd get a 25"
<adisbladis> But even getting the 13" one is really hard for me rn
<adisbladis> Price: $1,199.00
<adisbladis> + $531.03 Shipping & Import Fees Deposit
<adisbladis> From amazon
<patagonicus> The 25" is also 3x the cost of the 13". Hmm. They don't say if they ship to Switzerland.
<adisbladis> Outrageous
<patagonicus> Oof
<patagonicus> The dasung website says shipping is included, but you have to pay customs.
<adisbladis> Yeah, and in this country I wouldn't trust anything except fedex
<patagonicus> I honestly have too many projects going on right now, I don't think I should add another one. But once I get some stuff done, that might be a nice next project.
<adisbladis> I guess dasung ships with SF express or something
<adisbladis> Which ends up in the local post outside of china
<adisbladis> Also I don't really want the touch screen model
<adisbladis> Not because of price, but because you sacrifice clarity
<adisbladis> Idk
<adisbladis> I really, really want one though
<adisbladis> Especially now that I'm working outdoors most of the time
<adisbladis> With my LCD cranked up to 100% backlight
<adisbladis> And it's _still_ too much glare
<patagonicus> Judging from my ebook reader, using an e ink monitor outside must be amazing. Losing colors is a bit annoying for some things, but probably worth the trade for almost everything except watching videos.
<adisbladis> patagonicus: I've tried using Emacs on my remarkable2 (as an external monitor)
<adisbladis> It's _fantastic_
<adisbladis> Except it's too slow
<adisbladis> And too small for programming
<patagonicus> Ah. Meh.
<adisbladis> But as a demo of emacs-on-an-eink it's great
<andi-> I sitll have a 13" eink display here that requires ome hardware tinkering and writing a driver for it
<adisbladis> Nice
<andi-> It is actually 4 panels in 1
<andi-> thus I need to do some SPI multiplexing
<siraben> adisbladis: yeah even fingerterm is painfully slow
<andi-> and so far all the linux kernel drivers do not support / need that. I am not sure what the cleanest solution there is. Also this should probably be configurable via DTBs
<siraben> I think it might because of all the redrawing, the stock rM software (xochitl) has a decent keyboard, and I imagine a black-on-white terminal would do better
<adisbladis> siraben: I modded fingerterm slightly to be black-on-white
<adisbladis> It looks much better, but reverts to white-on-black for whatever reason
* siraben checks if fingerterm is in nix-remarkable
<adisbladis> siraben: Just editing the QML directly on the device
<siraben> looks like I haven't built fingerterm with Nix yet
<siraben> yeah I feel a bit left out on hacking because I don't know QML
<adisbladis> QML is ezpz
<siraben> I wonder if I could get Flutter to work o nrM
<siraben> on rM*
cosimone has joined #nixos-chat
<adisbladis> Let's see :)
<adisbladis> I'm kind of dreaming of a wayland that can draw to the frame buffer
<sphalerite> uuuh… surely it can?
<siraben> we know parabola + X can run on rM1 at least :P
<adisbladis> In ~2 weeks time I expect to receive my rpi4 so I can build native armv7l
<siraben> nice
<siraben> will you be able to target both rM1 and rM2?
<adisbladis> Yes, I don't plan to explicitly target either one tbh
<adisbladis> The only difference should be the kernel
<siraben> what if I want to build software to run on the rM without needing Nix installed? Will pkgsCross.remarkable1.pkgsStatic.hello suffice?
<adisbladis> Yes
<adisbladis> siraben: If you do need Nix I built an armv7l installer tarball
<siraben> I last used https://github.com/DavHau/nix-on-armv7l , is yours newer?
<adisbladis> A couple of days old
<siraben> oh cool
<siraben> where can I get it?
<adisbladis> And then fetch the installer script ( https://nixos.org/nix/install ) and do some manual touching up to use that tarball
<siraben> thanks
<adisbladis> Totally not backdoored or anything
* adisbladis is legit
<siraben> hehe
<gchristensen> you and your "blaze" URLs
<adisbladis> gchristensen: Have you heard of my new company
<adisbladis> 420 Blaze IT
<gchristensen> nice
<adisbladis> Not really though, but it would be a good name
<gchristensen> a nearby lawn care company is called Weed Man, which is really confusing now that cannabis is legal here
<adisbladis> lol
<adisbladis> Maybe he should consider branching out
lunc has joined #nixos-chat
<adisbladis> I love it when a project you basically forgot exists gets a random PR from someone using it
<adisbladis> It's amazing
<etu> adisbladis: Too bad 420blaze.it is registred
<adisbladis> etu: Aww :/
<adisbladis> etu: 420blazit.biz though?
<etu> adisbladis: But check out the website :D
<adisbladis> etu: Nice
<adisbladis> Now I'm not that annoyed that it's taken
<etu> :D
<pie_> pff
gchristensen has quit [Quit: WeeChat 2.9]
srk has quit [Remote host closed the connection]
srk has joined #nixos-chat
<patagonicus> I think 420blaze.solutions is still free
<etu> :D
gchristensen has joined #nixos-chat
blueberrypie has joined #nixos-chat
<eyJhb> Wondering, does Wayland use less CPU/memory? I.e. is it better optimized?
<adisbladis> eyJhb: Some benchmarks I saw some time ago indicated that the opposite is true
<adisbladis> But it may have changed
<eyJhb> :| My computer cannot handle that
<eyJhb> It already dies as-is. The entire thing is dying when I run Teams.
<__monty__> I doubt X or Wayland is to blame for that though.
<eyJhb> No no, it is just because it sucks
<eyJhb> But anything helps, and it got me to wonder
<adisbladis> What is actually using all that RAM/CPU?
<eyJhb> Teams renderer or something
<eyJhb> In-call
<adisbladis> Could you profile it and adblock whatever is using the most? :P
<eyJhb> But generally it is a slow as hell application
<eyJhb> I think it would add up to "Please do not call me"
<adisbladis> I've used adblockers as performance improvement tools at times
<eyJhb> Oh, I use the Desktop app
<eyJhb> Not the browser version
<__monty__> Wayland does less than X does, so sounds like it should be more efficient. Then again, afaiu there's more separation between things, so working around that might make it less efficient? Main problem is probably that WMs need to implement a bunch more than with X11 so the efficiency probably depends on what exact combination of things you run.
<adisbladis> Oh yeah, another full instance of webkit \o/
<adisbladis> __monty__: OTOH the rendering model used by most toolkits are pretty much "the wayland way" even on x11
<rmcgibbo[m]> Is anyone aware of an extension for the matrix chat client to hide the "@foo opened a pull request"-type messages on #nixos?
<adisbladis> As in "lol, here is a buffer, draw it for me"
<adisbladis> As opposed to "draw a line between X and Y"
<__monty__> adisbladis: I'm not familiar with things tbh. But the Wayland project seems to go on and on about X doing things wrong and not separating things enough. Maybe I bought into the marketing.
<adisbladis> __monty__: They're right
<adisbladis> The Wayland design is largely influenced by how modern toolkits _actually_ work
<adisbladis> And neither Qt nor GTK are using X11 as it was intended
<adisbladis> Because that would be crazy
<adisbladis> And not very performant at all
<siraben> adisbladis: if they are not using X11 as intended, how are they using it?
<siraben> (in the not-intended manner)
<__monty__> Just as something that provides a canvas per window is how I understood it.
cosimone has quit [Quit: cosimone]
cosimone has joined #nixos-chat
waleee-cl has joined #nixos-chat
<bbigras> Oh nice, a matrix p2p demo for Android is out. #p2p:matrix.org has the link. I think for IOS the testflight link also runs the new code.
<__monty__> Cool, hope it's the way of the future : )
* eyJhb just wants spaces
<eyJhb> *and money for a better VPS
<eyJhb> Wondering, what naming schemes do you (any) use for servers, computers, phones, etc.? Personally I use ice cream flavours for server names (vanilla, mint, toffee, etc.), and names from greek/roman mythology (eos for my laptop).
<eyJhb> (and apparantly headsmashing for usernames <----)
cosimone has quit [Quit: cosimone]
<elvishjerricco> eyJhb: I use MTG card names
<patagonicus> For actual machines I still base it on apple related things. Technically it started with My Little Pony's apple family, though. *shrug* Currently have applejack, (apple) fritter, jonagold and breab, which was derived from braeburn (yes, I made a typo), but I used to have more.
<patagonicus> For VMs I currently go with $SOME_DESCRIPTION + "vm", so I have dockervm for running docker, gitlabrunnervm and some just named after the (main) person using the vm.
<eyJhb> elvishjerricco: Wait, which ones have you taken then?
<patagonicus> Yay, got one step further in my bisecting. Only 12 left. Took … 6 hours or so for that one compile? :/
<eyJhb> patagonicus: Haha, nice one with the MLP :D
<elvishjerricco> My desktop's hostname is pyromancer. My laptop is snapcaster. My server is wrenn. My pi will be called Deathrite whenever I get NixOS working on it
<patagonicus> eyJhb: I also have an old iMac at my parent's, that one's called bigmacintosh :D
<__monty__> elvishjerricco: Are those from something? Or were you just obsesed with snaps when you named the laptop?
<eyJhb> elvishjerricco: Thought you would have taken some of the banned cards :p
<eyJhb> patagonicus: Well, that is quite descriptive of it :p
<elvishjerricco> eyJhb: A previous work laptop was called lotus :P
<__monty__> Oh MTG.
<elvishjerricco> And I'll have you know that wrenn and deathrite are both banned in legacy :P
<Taneb> eyJhb: I've historically used One Piece characters, planning to add in some Greek mythology (Atlas and Calypso) soon
<elvishjerricco> One could probably get pretty far with ASOIAF names.
<Taneb> elvishjerricco: nah, you'd keep finding your computers had been killed off
<elvishjerricco> Taneb: Not if you hardened them with that sweet season 8 plot armor
<bbigras> Am I the only one bummed out that the tailscale's Solo plan doesn't include subnet routes, relay nodes and ACLs?
<patagonicus> "1/2/579 built" *cries in armv7l*
<aleph-> LinuxHackerman: So I may be using generations in correct but if I create another revision of a network say `nixops create ./lan.nix -d lan` and then try to deploy that network `nixops deploy -d lan` it'll complain there are multiple copies and to specify the uuid instead.
<aleph-> But most often I just want the most recently created revision of said network.
<LinuxHackerman> aleph-: you probably want to use nixops modify, rather than rerunning nixops create
<aleph-> See that's good to know and not exposed in the docs haha.
<aleph-> Or at least in the 2.0 docs
<aleph-> Thanks LinuxHackerman
<LinuxHackerman> if you were using one of the cloud backends, doing that would result in new machines being created every time 😅
<aleph-> Yeah... good thing I'm not haha.
<eyJhb> Basically aleph- would slowly be creating a army of machines :D
<aleph-> Should probably be fixed asap in docs
<LinuxHackerman> and then suddenly hitting quotas
<eyJhb> elvishjerricco: Oh :D I am not that into MTG, only knew about the banned 9 :D
<aleph-> Because that's not addressed anywhere I can see
<LinuxHackerman> but yeah nixops's documentation makes the rest of the nix ecosystem look good
<infinisil> Huh, this file is not syntax highlighted in github, no idea why: https://github.com/input-output-hk/haskell.nix/blob/master/overlays/bootstrap.nix
<infinisil> Maybe it broke the parser
<ar> in this thread, screen is segfaulting because of utf8
<__monty__> ar: Have you tried reproducing with tmux?
<ar> __monty__: i did, and tmux seems unaffected
* __monty__ wipes his brow
<eyJhb> ar: how did you get the link?
<ar> eyJhb: pasted on another irc channel
<eyJhb> ar: `I don't know if this bug might enable remote code execution, thus marked as _private_.` - https://savannah.gnu.org/bugs/?60030 it is private
<eyJhb> Lets see what the hell the CTF hacking group I just sent it in makes of it
<eyJhb> Didn't see it was private at that point.
<ar> it's already been circulating on open irc channels
lunc has quit [Ping timeout: 246 seconds]
<eyJhb> Lol :D Nice
<ar> so ¯\_(ツ)_/¯
<eyJhb> I hope some of them do something cool with it
<eyJhb> Just waiting for someone to paste it into a IRC channel ar
rajivr has quit [Quit: Connection closed for inactivity]
<samueldr> :x
<samueldr> I hadn't thought about all those fancy kids using screen with an irc client in it
<gchristensen> I upgraded, thank you
<gchristensen> I run weechat in tmux
<ashkitten> i run weechat headless
<ashkitten> am i cool yet
<gchristensen> yes
<gchristensen> but you've always been cool :)
<ashkitten> sick
<ashkitten> awwwwww
<cransom> i'm double backwards, i run it in screen and tmux.
<__monty__> Not double wrapping?!
<samueldr> no tmux, no screen, no terminal involved in my IRC experienc
<samueldr> experience*
<ashkitten> i can't wait for weechat to support connecting to its own relays
<gchristensen> yeah that'd be ideal ashkitten
<gchristensen> why doesn't it??
<ashkitten> it was an afterthought, i guess
<ashkitten> the relay has been refactored into a library so far, and i believe the library now supports parsing its own messages, so now pending integration back into weechat itself?
<cransom> a long time ago, there was a soho firmware out there, if it detected 'DCC SEND <some string >' in any tcp stream, it would reset the stream. it could be basically any string, i think it just needed the right length.
<DigitalKiwi> samueldr: glirc + screen + znc = love
<cransom> *router firmware that is
<DigitalKiwi> __monty__: the funny thing about tmux is so many people complained to me about it being broken (at handling escape codes) causing an easter egg in my pacman replacement to not work right that i took it out because i was sick of their shit and i'm petty like that
<eyJhb> A somewhat not really, that long time ago, Valve released a update to Counter-Strike: Source, that if you committed suicide or died from fall damage the server would crash :D
<eyJhb> (but only Linux servers)
<ashkitten> nice feature
<DigitalKiwi> pacman has an easter egg that the progress bar is a pacman eating pellets so of course clyde had an easter egg of clyd chasing pacman... and every terminal/emulator/screen worked; except tmux i wasn't even doing anything abnormal tmux just was bad
ky0ko has joined #nixos-chat
<DigitalKiwi> https://en.wikipedia.org/wiki/ANSI_escape_code clearly the standard is wrong!
<DigitalKiwi> lol i was real mad
<DigitalKiwi> clearly since i still am mad about it and won't use tmux 10 years later >.>
<DigitalKiwi> i can confirm that it does crash screen though :D
<energizer> rmcgibbo[m]: i dont know about matrix but in hexchat (irc) i "ignore" mask = {^_^}!*@* type = 2
<DigitalKiwi> dammit
<rmcgibbo[m]> energizer++ thanks
<{^_^}> energizer's karma got increased to 30
cosimone has joined #nixos-chat
<DigitalKiwi> ran the command in a screen, wanted to copy the coredump message and paste it here, ...guess what happened :|
<DigitalKiwi> [screen caught signal 11. (core dumped)]
<DigitalKiwi> if your guess was "kiwi did not successfully copy that message the clipboard sitll had the utf8 and pasted that and crashed the screen with glirc irc client" you are correct
<DigitalKiwi> btw did it send any of it?
<lovesegfault> supersandro2000: how did you create that archive.org mirror for the roon-server download?
<DigitalKiwi> doesn't show up in samuel logs
cosimone has quit [Remote host closed the connection]
<__monty__> DigitalKiwi: My tmux experience has been pretty good. Wouldn't torture myself with screen over some progress bar animation that you could've conditionally disabled.
cosimone has joined #nixos-chat
<DigitalKiwi> __monty__: it DID have a setting that had to be enabled by the end user
<__monty__> Then just replace the effect with a warning that it doesn't work in tmux?
<DigitalKiwi> no
<DigitalKiwi> they could just not enable the *EASTER EGG* or complain to tmux devs
cosimone has quit [Remote host closed the connection]
<__monty__> I mean, you're the one being bothered and you wanted to keep the animation. So why not simply conditionally disable it for tmux users with a warning not to bother you? That way you could've kept the animation and dropped the seething feelings towards tmux.
cosimone has joined #nixos-chat
<DigitalKiwi> it wasn't like just one person was like "hey this doesn't work" and i was like "well fuck better nuke it from orbit" it was a _problem_ that project is one of the reasons i don't write nearly as much oss programs anymore
<DigitalKiwi> ok so for one it might not h ave been possible or easy to conditionally disable a feature for tmux users
waleee-cl has quit [Ping timeout: 256 seconds]
<DigitalKiwi> and two why should i have to special case an optional feature that's just supposed to be fun that they can already disable
waleee-cl has joined #nixos-chat
<__monty__> For your own sanity.
<DigitalKiwi> for my own sanity i removed it
<DigitalKiwi> like i said removing it was not my first choice and if i could have fixed it i would have
<__monty__> Yeah but now you have this weird dislike of tmux. Without giving its developers input that might've improved the project or at least get you a reason for why it'll never work.
<DigitalKiwi> getting harassed about an easter egg does not make me want to go out of my way to "fix" (work around) someone elses broken code
<DigitalKiwi> i'm sure they were aware
<__monty__> I was sure the Matrix IRC bridge maintainers were aware of issues. Turns out they weren't really.
<DigitalKiwi> when hundreds of people get told "look, it's a problem with tmux, not with my program, talk to them, it works in literally every other program in existence" they were aware of it
<DigitalKiwi> it was even a bot command
<__monty__> Still sounds like most of that annoyance could've been avoided with a warning that printed something like "WARNING: The progress bar easter egg does not work in TMux, please report the issue there." whenever the setting was enabled and "TMUX" was part of the environment.
<__monty__> You do you and continue using screen though.
<DigitalKiwi> yes well being a fulltime college student and being the only person that contributed to a project that implemented every feature of pacman and yaourt and then some and having to keep up with every change made in libalpm which did not have a stable api and had dozens of contributors didn't really help the situation
<DigitalKiwi> the whole you know BEING HARASSED about it didn't do it any good
<DigitalKiwi> do you know who matthew bruenig is
<DigitalKiwi> see i did try and fix shit for tmux users
<{^_^}> Kiwi/clyde#49 (by squarehimself, 10 years ago, closed): Coloring oddness with tmux/screen
<DigitalKiwi> i think i implemented color profiles lol
cosimone has quit [Quit: cosimone]
cole-h has joined #nixos-chat
<DigitalKiwi> __monty__: https://mostlyabsurd.com/files/2021-01-19-080129_1856x178_scrot.png so most programs that have colors at least disable them when piping but nix doesn't and there's even an ssue about i think and it hasn't been fixed forever w/e i have a shell alias that removes them. it's fairly annoying and causes problems. this is a problem with nix and is easily solveable. they just haven't. most other programs have solved it. now imagine you'r
<DigitalKiwi> e the grep developer and a bunch of people that would be banned from most communities by cocs these days (lol) started harassing you, developer of unrelated project, that does not have the bug, that even if it could be fixed would be difficult, and on top of that you're the one getting blamed... badly enough that you give the project to someone else and don't work on foss code for years (i mean that wasn't the only thing that caused it lol b
<DigitalKiwi> ut it was a symptom of the disease; which is users, archlinux ones even more so, specifically) you, developer of grep, are going to be a bit sour to nix. especially considering that in this case the end user had to actually enable the secret feature thtat results in a visual bug for only them because of someone elses program not handling the standard literallly everyone else did, and with nix it's not even possible to disable it :|
<__monty__> DigitalKiwi: I kinda want to just stop because it just seems like I'm harrassing you at this point.
<DigitalKiwi> what usually happened: "hey this doesn't work " "ok i'll see what i can do" *either fixes or does not fix* "ok thanks" | "oh, dang, that's too bad""; ; for some reason with that one; "hey this is broken" "ok i'll try to fix it" *trys to fix* "sorry i can't get it to work with tmux but you can disable the easter egg" "fuck you"
<DigitalKiwi> lol this is nothing compared to what i endured :P
<DigitalKiwi> alias stripcolors
<DigitalKiwi> alias stripcolors='sed -r "s/\x1B\[([0-9]{1,2}(;[0-9]{1,2})?)?[mGK]//g"'
<DigitalKiwi> protip: if you use taht after nix command they go faster
<__monty__> All I wanted to say is tmux was a QoL improvement for me over screen so maybe it's worth a look. And it sounds like there was a severe lack of communication between you and the tmux developers while I expect they'd've been either sympathetic towards helping you on this issue or at least respectful enough to provide a solid explanation for why it's impossible for them to fix.
<DigitalKiwi> well i'm socially inept and i was like 19 i didn't even post the announcement thread lol
<DigitalKiwi> i think it was a known problem too like it wasn't like clyde was the only program that didn't work in tmux
<DigitalKiwi> anyway gotta get back to the ols stonks yard
<DigitalKiwi> it's a good day
cosimone has joined #nixos-chat
<colemickens> lovesegfault: do you remember this, or what you did to fix it? https://logs.nix.samueldr.com/nixos-chat/2020-12-15#4361562;
adisbladis has quit [Quit: ZNC 1.8.2 - https://znc.in]
<lovesegfault> colemickens: vaguely, I think I had my keys wrong or something of the sort
adisbladis has joined #nixos-chat
<colemickens> lovesegfault: do you use --binary with sops like I do?
<colemickens> I'm wondering if you copied that from me and that helped?
<colemickens> Or sops version mismatch
<colemickens> those are my only other random ideas
<__monty__> Sops is another deploy tool? Someone needs to make a site dedicated to comparing all of these >.< NixOps, krops, morph, nixus...
<eyJhb> Someone should just stop making cults like this
<colemickens> sops is not a deployment tool
<eyJhb> Sops is for secrets, right?
<colemickens> sops is a tool for encrypting and decrypting files, that lends itself to being useful in cloud deployments, CI pipelines, etc.
bqv has quit [Quit: WeeChat 3.0.1]
<colemickens> it's helpful for having secrets encrypted "at rest" in things like nix stores, nixos images, etc.
<colemickens> sops-nix is really, really nice because it makes it very easy to have sealed secrets that are automatically opened when deployed in clouds that support KMS services.
bqv has joined #nixos-chat
<colemickens> __monty__: Somewhat tongue-in-cheeck, I've thought about "nadt" - not another deploy tool, that _is_ another deploy tool that just spits out a shell script that invokes `nix copy` and `ssh ... switch-to-configuration`.
<eyJhb> colemickens: So.. Nixus?
<colemickens> the first thing my eye sees on nixus is auto-rollback, multisystem abstraction, no. literally no. just a script that nix copies and calls two commands over ssh.
<eyJhb> Why not auto-rollback + defining multiple systems?
<eyJhb> Ie. I just do something like `nix-build -A config.nodes.eos.buildScript`
<colemickens> I also dont' see how to use it with flakes
<colemickens> It's just not what I need. I need a microscopic bit of nix to interpolate an IP into a three line ssh script.
<cole-h> colemickens: FWIW, using it with flakes is pretty easy :P
<colemickens> (I'm not trying to knock nixus, I am ignorant of it, please dont get me wrong)
<rmcgibbo[m]> Anyone familiar enough with the Github API to know what HTTP422 errors mean when trying to post comments from a bot?
<colemickens> cole-h: over half of what you just linked is you literally undoing and redoing the flake
<colemickens> like, no!
<colemickens> just no!
<cole-h> lol
<cole-h> (FWIW, I do use nixos-rebuild over nixus now, since I only really manage one system :P)
<colemickens> not trying to be brash cole-h :) hopefully it's coming across in the right tone. I do appreciate the example of course
<cole-h> It's all good haha
<cole-h> It's definitely not made for flakes, so it is a bit hacky to make it work
<cole-h> Just demonstrating it is possible hehe
<rmcgibbo[m]> Hmm. :grumble grumble:...
<srk> would be nice to have nixos deployment module with backends so you could choose from nixos-rebuild --target-host, nixops, nixus, morph..
<srk> like virtualisation.oci-containers.backend
* colemickens can't tell if that's a troll or serious
<colemickens> lol
<__monty__> Thanks for the pointers on sops.
<colemickens> actually, maybe I take that back, maybe that's not such a weird idea?
<srk> well the downside might be huge memory since you always eval everything
<srk> *use
<gchristensen> I'd love to see a nixos deployment tool for 10,000 servers
<srk> for i in {0..10000}; do .. ? :D
<gchristensen> which also finishes in a reasonable amount of time :)
<colemickens> I've been thinking about a manifest/pull based nixos update system. Pushing to 10K servers ain't gonna fly
<gchristensen> yes it must be pull
<__monty__> Can't it push in a multicast fashion kinda like a worm?
<gchristensen> __monty__: you and I have had *exactly* this conversation last time I mentioned the 10k target and I think I'll refer you to that conversation :P
<colemickens> test_topic++
* colemickens expects too much of the bot
<energizer> gchristensen: what goes wrong with nixops/nixus/colmena when trying to push to many targets?
<gchristensen> the karma recipient has to be a current IRC member
<__monty__> You failed to convince me back then and I wanna worm the idea into other heads : )
<gchristensen> energizer: it requires a few GB of RAM per machine, and it has to evaluate all of them at the same time, so you need (a few gb) * (10,000 machines) of RAM to do the evaluation. evaluation is also slow * 10,000
* colemickens was just (trying to) skim the haskell
<energizer> gchristensen: is this assuming each machine has a different expression?
<energizer> or even with one expression
<gchristensen> I'm going to let you try it and see :)
<energizer> i dont want to wait for allocating 10k machines
<gchristensen> you don't need to actually have the machines to try to deploy to them
<energizer> __monty__: sounds like you're talking about https://mitogen.networkgenomics.com/
<energizer> but that always seemed to me like granting machines unnecessary access to each other
<energizer> on the other hand it's super duper fast
<__monty__> Well, my idea *is* based on the machines being cooperative and honestly dropping the privilege afterwards.
* colemickens just sprinkle some ipfs on it
<DigitalKiwi> colemickens: i want a nix-shell that installs nix if it's not installed
<gchristensen> colemickens: I said I wanted it to finish in a reasonable amount of time, though
<DigitalKiwi> colemickens: i've also been thinking about making a wrapper around all of the various nix tools that has consistent options >.>
<DigitalKiwi> like why's -I work with somethngs and others it does nothing (it took me a while to figure out it wasn't doing anything too...) and some things -f works and then others it doesn't...
<samueldr> anyone here played with https://asteroidos.org/ ?
<DigitalKiwi> i already make a bunch of bash aliases and functions and extra scripts in bin so i've got a good start lol
<colemickens> samueldr: I dont get how that site was published without a devices link
<DigitalKiwi> and nix search is now annoying
<samueldr> colemickens: it's under install
<colemickens> lol
<samueldr> I know, not really convenient
<DigitalKiwi> kiwi@mvp-nixos www.mostlyabsurd.com [master]$ nix search irc
<DigitalKiwi> error: --- Error --------------------------------------------------------------------------------------------------------------------------------- nix
<DigitalKiwi> cannot find flake 'flake:irc' in the flake registries
<colemickens> I'm more laughing at myself, sometimes I have weird expectations, install seems obvious in retrospect
<DigitalKiwi> 99% of the time i type nix search i want nixpkgs
<samueldr> colemickens: nah, you're somewhat right
<colemickens> oh well, there's a tool for you DigitalKiwi lol
<DigitalKiwi> and 90% of the time i want to search for something i type nix search thing first not nix search nixpkgs thing :|
<samueldr> colemickens: here it's "DOWNLOAD", no devices link either https://lineageos.org/
<DigitalKiwi> oh and it downloads the 20MB file every time :
<colemickens> oh that lineage page makes me feel things, lol wow
<DigitalKiwi> i changed my tarball ttl to a day
<samueldr> but before it god ingrained in me, I always was searching for a devices link
<colemickens> get that corporate money somehow lineage? I guess? or whatever your game is these days?
<samueldr> note that it's not the full picture
<samueldr> colemickens: ?? that seems harsh
<DigitalKiwi> https://github.com/larkery/zsh/blob/master/functions/nq this has potential i had to change some things to make it how i want though
<srk> nq, fun :)
<colemickens> samueldr: just a gut reaction, not a good one necessarily
* DigitalKiwi had nixos-rebuild --upgrade-all before anyone thanks to sphalerite
<DigitalKiwi> sphalerite++
<{^_^}> sphalerite's karma got increased to 121
<samueldr> so yeah, asteroidos, I guess no one?
<samueldr> tried it a couple seconds, still haven't paired it with a phone
<samueldr> it has one interesting design decision about "edge actions"
<samueldr> if there is something to be done from swiping an edge, there is a clear indicator
LnL has quit [Ping timeout: 264 seconds]
<DigitalKiwi> srk++ colemickens++
<{^_^}> colemickens's karma got increased to 56
<{^_^}> srk's karma got increased to 27
LnL- has joined #nixos-chat
<supersandro2000> lovesegfault: web.archive.org and put in the link on the left
<supersandro2000> *right
<aleph-> gchristensen: You use zfs a ton. Do you know off hand using the borgbackup service if I can make the input to borg a zfs send? Debating on moving my NAS to nixOS and that'll be key
<lovesegfault> supersandro2000: Got it :)
<gchristensen> you could zfs send to the system, and then borg backup from the dataset that was received
<aleph-> Could just write my own script and service but it'd be great if I can use the default
<aleph-> Hmm that could work, would need to check and make sure it doesn't go fubar
<aleph-> Ah yeah I can use the prehooks and post.
<aleph-> To generate and remove the snapshot
LnL- is now known as LnL
<colemickens> you can get custom mouse pads!
<colemickens> even really big ones! I want some nixos merch (once upon a time I was told I'd get stickers :P)
<samueldr> I was planning to design some for mobile nixos, which wouldn't just be a big logo spread across
<cole-h> I've got a really big one and it's very nice. Stitched edges too.
<cole-h> It took about a week to arrive IIRC
* eyJhb demands stickers as well
<eyJhb> Wasn't there a time when they could be bought for CHEAP?
<gchristensen> colemickens: did I never send you stickers? :x
<colemickens> No, but tbh I'm not sure what I'd do with them anyway. I don't really live laptop-life atm. I guess I could stick them on my tower.
<gchristensen> blah
<cole-h> Same :P
<eyJhb> Is anyone living the laptop life atm.?
<eyJhb> Like, covid is making it pretty hard to flash your laptop
<samueldr> in the end, good thing I returned that laptop mid 2019, I didn't _need_ it then, and I surely haven't needed it in 2020
<bbigras> a laptop with a dock could be nice. except for games.
<aleph-> eyJhb: I am they're both on a stand and "docked" into my kvm switch
<colemickens> eyJhb: yeah, my laptop took a fall shortly after corona started and I am really glad I just put off replacing it. The pinebook has been perfect for my isolation usage. (aka, scroll Matrix on the couch and SSH to some other box)
<colemickens> The Asus GA503 looks, just, like almost everything I've ever wanted in a laptop. I really can't contain myself.
<samueldr> is it part of the laptops announced this CES? they have a new range of ryzen-based laptops with a not-thunderbolt PCIe connection
<samueldr> I wonder how that will pan out
<bbigras> I wonder if external gpu is a good idea for a laptop. like if it's better for the heat and to be able to upgrade it.
<samueldr> to me, that's not even a question, the concept of external gpu boxes is the bee's knees
<samueldr> but I'm not sure thunderbolt is it
<samueldr> I'm not an expert, but reading what an expert says about it makes me wary
<samueldr> like how there's only one silicon implementation of it, because of... I don't remember the reason
<bbigras> what is wrong with thunderbolt? I know nothing about it.
<samueldr> but that's definitely not good
<samueldr> then there's the fact that it's part of the big ball of mess that type-c is
<aleph-> Wish I waited for a nice thing ryzen laptop
<aleph-> Got a system76 lemur pro instead
<colemickens> samueldr: if the asus flow x13 or whatever didn't also have an integrated, dedicated card, I would've been more interested in it.
<samueldr> colemickens: that is the one with the funky connector?
<samueldr> same
<colemickens> bbigras: that's also part of why I am looking at the thicker laptop, I've heard the g14 performs well at CPU tasks when not gaming due to the thermal support it has
<samueldr> it's kind of weird that it looks less good because it has a dedicated card built in
<colemickens> samueldr: ya
<colemickens> samueldr: well, if I have the dedicated card external, why is integrated graphics not good enough? but I guess it's targetting people that want to really be able to game anywhere still...?
<bbigras> colemickens: thicker would be better for the heat than super thin?
<samueldr> though since it's a 2-in-1 with 360° hinge, the flow x13 really interests me
<samueldr> colemickens: yeah, that's really odd
<cole-h> bbigras: I'm guessing because you can add more cooling solutions to a thicker laptop than a thinner laptop due to space constraints?
<colemickens> bbigras: my rough understanding was that thicker gaming laptops have better thermals/fans/etc and get (cpu) throttled less often, as a result
<colemickens> samueldr: oh actually I did not catch that, that is pretty slick.
<samueldr> I would have been pretty satisfied with AMD integrated graphics
<samueldr> YES
<samueldr> that's THE thing for me
<colemickens> samueldr: if they'd commit to sticking with the connector for 3+ years...
<samueldr> I can't fathom using a laptop that's not a 2-in-1 that folds over
<samueldr> I'm not really interested in the connector bits really
<bbigras> colemickens: gotcha. thanks. yeah it could make sense. more space for heat exchange stuff maybe.
<samueldr> only that it's a fast 2-in-1
<colemickens> I'm not sure I would use that form, but it does appeal in the "one device to rule them all" sesne.
<samueldr> colemickens: fold it over and put it vertically into a... contraption
<samueldr> there, saves you desk space, is more ergonomically placed
<colemickens> I'm hoping to do that with one that opens flat :D
<samueldr> yeah, flat is like half as good, since you can't really orientate it vertically :)
<colemickens> maybe I'm picturing vertically differently ;)
<samueldr> you're bumping up the landscape display with the keyboard height
<samueldr> while I'm thinking portrait mode screen
<bbigras> you people saw that `services.auto-cpufreq` is now in unstable? I wonder if it's worth it. Like if disabling boost and scaling down is easier on the battery (even if when you build stuff you still need to do the same task which will now take longuer).
__monty__ has quit [Quit: leaving]
danderson has quit [Quit: leaving]
<lovesegfault> does linux have some kind of CoW bind mount?
<lovesegfault> I need to make a CoW clone of a directory to use a staging area in a script
<lovesegfault> bbigras: tempted to try that out instead of TLP
<bbigras> lovesegfault: I think the repo's README or something says that we can use it with TLP but we need to disable something in TLP.
<lovesegfault> Yeah, I'm reading it now
<lovesegfault> but I don't need TLP if I use this I think
<jtojnar> hmm, this looks interesting https://github.com/cognusion/fuse-copyfs
<lovesegfault> jtojnar: oh, that does look cool
<bbigras> "consul-1.9.3 is only for amd64, not mips64 (octeon)" fml
<lovesegfault> bbigras: what are you doing with mips64? :P
<bbigras> I got my old EdgeRouter Lite out to check if I could run vault on it. well I knew some stuff didn't run on mips64.
<bbigras> I should have saved money for an APU2
<bbigras> I'm surprised the APU2 as still relevant today. They have been out for a while.
<samueldr> this store path is messing with my head
<samueldr> >> /nix/store/varnix5byc27bwy3z2ix431parizicf6-disk-image-mobile-nixos/mobile-nixos.img
<bbigras> varnix cache?
<bbigras> oh it's varnish. lul
<samueldr> I was thinking about /nix/var
<bbigras> I'm using nix too much.
<bbigras> oh yeah
<bbigras> lovesegfault: any idea how to disable the governor with TLP?
<lovesegfault> bbigras: not really, I'd have to go read their docs
<bbigras> lovesegfault: thanks. I did but I only see how to set a specific one. I'll ask the dev.