gchristensen changed the topic of #nixos-chat to: NixOS but much less topical || https://logs.nix.samueldr.com/nixos-chat
abstractednoah has quit [Quit: WeeChat 3.1]
abstractednoah has joined #nixos-chat
<ashkitten> okay, ubuntu touch is actually way way smoother
<ashkitten> the screen protector is awful
<samueldr> want to feel some wrath?
<ashkitten> lol, sure
<samueldr> I didn't even peel off the protector on top
<ashkitten> i just removed the screen protector
<samueldr> I peeled off the tab from the protector instead, on purpose :)
<samueldr> that's because I'm not using it yet
<samueldr> so I don't care about the "feeling" of it yet
<ashkitten> yeah
<ashkitten> the screen visually looks better without the protector, though
<ashkitten> it's actually more readable
<samueldr> wouldn't surprise me
<ashkitten> let's install firefox :D
<ashkitten> i can't install firefox
<ashkitten> where is firefox
<hexa-> "firefox" :D
<ashkitten> i have "morph browser"
<hexa-> close enough!
<samueldr> the main issue AFAIK with ubports is that it's neither X nor wayland
<samueldr> might be wrong though
<ashkitten> i doubt that
<samueldr> didn't spend enough time on it, just looked at it, saw it was working much better, then flashed manjaro to finally test the convergence dock
<samueldr> (since ubports didn't support it at the time, if it does now)
<samueldr> right, so my information was a bit outdated
<samueldr> it is Mir, as I thought, but now it does wayland clients too
<samueldr> but did not before
<ajs124> I thought Mir was dead?
<ashkitten> okay, DISPLAY and WAYLAND_DISPLAY are both unset
<ashkitten> so you're right
<samueldr> ajs124: yes and no
<samueldr> >> There is no mobile native version of Firefox available for Ubuntu Touch. You can install the standard PC version of Firefox in a libertine container
<samueldr> ashkitten: WAYLAND_DISPLAY is only a convention IIRC
<samueldr> you'd have to check at the other conventional location for the socket
<samueldr> don't recall off the top of my head
<MichaelRaskin> Some applications think the same about DISPLAY, though
<samueldr> but IIRC the convention is to look at that socket location when WAYLAND_DISPLAY is not present in the environment
<samueldr> so yeah, Mir is dead, but mir is now a wayland compositor
<samueldr> so the old mir concept, of being its own thing is dead, but some of it now lives on as a compisitor
<ashkitten> yeah i've got /run/user/32011/wayland-0
<samueldr> compositor*
<samueldr> ashkitten: there is something called "libertine" apparently that you could use to run "foreign" desktop apps
<ashkitten> interesting
<samueldr> probably usable for other apps not packaged "for" ubports
<ashkitten> i'm looking at that now
<samueldr> if you're looking at it, you've done more than I did :)
cole-h has quit [Ping timeout: 252 seconds]
<ashkitten> so it got screwed up trying to install firefox in the container
<ashkitten> and i was like, okay i'll just install it from the terminal
<ashkitten> looked up documentation
<ashkitten> try libertine-container-manager install-package --package firefox
<ashkitten> tells me firefox is already installed
<ashkitten> okay... let's try remove-package
<ashkitten> firefox is not installed
<ashkitten> so guess i gotta destroy the container and recreate it?
<samueldr> fun
<samueldr> sometimes people say Nix is hard :)
<ashkitten> at least it's consistently hard!
<samueldr> yet use convoluted things like those
<samueldr> yeah!
<ashkitten> idk, i don't mind this experience, besides not having firefox packaged natively for ubports
<ashkitten> if i didn't have to touch libertine to install a common app i want, but it was there if i needed (but like, actually worked), it'd be fine
<samueldr> yeah, the ubports interface/system looked alright
<ashkitten> it's overall pretty user friendly
<samueldr> as if there had been a lot of development backed by a big corporation at some point to lift it into a usable product
<ashkitten> :p
<ashkitten> rip ubuntu edge
YoDawg has joined #nixos-chat
<YoDawg> Hey, good evening, did anyone have any luck setting a custom GDM background image/theme?
YoDawg has quit [Ping timeout: 240 seconds]
h0m1 has quit [Ping timeout: 260 seconds]
h0m1 has joined #nixos-chat
YoDawg has joined #nixos-chat
Jackneill has quit [Ping timeout: 260 seconds]
Jackneill has joined #nixos-chat
YoDawg has quit [Ping timeout: 240 seconds]
<ashkitten> nope, can't figure out how to get firefox to run
addcninblue has joined #nixos-chat
Jackneill has quit [Ping timeout: 252 seconds]
rajivr has joined #nixos-chat
Jackneill has joined #nixos-chat
addcninblue has quit [Ping timeout: 252 seconds]
addcninblue has joined #nixos-chat
tomberek has quit [Ping timeout: 240 seconds]
bkv has joined #nixos-chat
addcninblue has quit [Ping timeout: 240 seconds]
bqv has quit [Ping timeout: 260 seconds]
bkv is now known as bqv
tomberek has joined #nixos-chat
<ldlework> yo look at this documentation http://logos.ldlework.com/caps/2021-04-23-04-38-39.mp4
redisusr has quit [Quit: Connection closed]
waleee-cl has quit [Quit: Connection closed for inactivity]
lunc has joined #nixos-chat
cole-h has joined #nixos-chat
addcninblue has joined #nixos-chat
endformationage has quit [Quit: WeeChat 2.9]
<clever> ldlework: https://iohk.io/
<ldlework> who doesn't love a little navier stokes
<ldlework> clever oh now this is where it's at for me, https://iohk.io/#visualization=wolfram-s-game-of-life
<ldlework> :)
<clever> i need to restart chrome, i'm getting pretty low fps on both of them
<ldlework> clever: check out the site I've been working on for my new library, https://react-ecs.ldlework.com/
<ldlework> (everytime you refresh a new example is shown)
<cole-h> idk, I got smiley emojis 3 times in a row :P
<ldlework> haha well that's random!
<cole-h> the paper airplane one is cool, though!
<ldlework> <3
<ldlework> check out the docs!
<cole-h> is it just those 3 atm? cube, smiley, paper airplane?
<ldlework> yeah
<cole-h> or is the random messing with me and not showing me any more cool ones
<cole-h> ok
<cole-h> cool stuff :)
<ldlework> you can look in the examples for more examples
* cole-h bookmarks for after dinner
<ldlework> i'll have a curated list of good examples that can appear on the home page
<ldlework> smiley faces will probably not make the cut forever
<ldlework> thanks
<eyJhb> Just want to celebrate, I can get my Lets Encrypt domains back! (hopefully)
evanjs has quit [Read error: Connection reset by peer]
<cole-h> don't count your chickens before they're hatched :P
evanjs has joined #nixos-chat
<eyJhb> cole-h: It. WORKS!
<eyJhb> Now I just need to setup my clients again.
<eyJhb> Also, talyz ! Look here!
evanjs has quit [Read error: Connection reset by peer]
evanjs has joined #nixos-chat
cole-h has quit [Ping timeout: 260 seconds]
addcninblue has quit [Ping timeout: 240 seconds]
<risson> ,launch SpaceX Crew 2 launch in 45min https://www.youtube.com/watch?v=wBfESZ1ucmg
<{^_^}> SpaceX Crew 2 launch in 45min https://www.youtube.com/watch?v=wBfESZ1ucmg: Ping for space stuff (edit this command to add yourself, see ",help"): infinisil Taneb ldlework etu philipp[m] eyJhb gchristensen __red__ red red[evilred] risson
<risson> actually, here's the official SpaceX stream https://www.youtube.com/watch?v=lW07SN3YoLI
red[evilred] has joined #nixos-chat
* red[evilred] uploaded an image: SmartSelect_20210423-051806_Gallery.jpg (67KiB) < https://evil.red:8448/_matrix/media/r0/download/evil.red/uGLLsqutwycXUrBxludHDMQC/SmartSelect_20210423-051806_Gallery.jpg >
<red[evilred]> I was about to come trigger that
<red[evilred]> Speaking of...
<red[evilred]> I just snapped ISS when it went overhead
<red[evilred]> So that's what they're chasing
<red[evilred]> In theory I should be able to see the trails as falcon9 goes up
<lukegb> red[evilred]: oh no, there's a space snake on the loose
<lukegb> it's gonna eat all the stars and get longer and longer and then eventually eat itself :(
<thibm> I saw a Dragon cargo chasing the ISS once, that was nice
<red[evilred]> I need a tripod
<red[evilred]> But still not bad for a phone and handheld
<ashkitten> jellyfin's syncplay feature would be extremely nice if it worked
<risson> ,launch in 30 seconds
<{^_^}> in 30 seconds: Ping for space stuff (edit this command to add yourself, see ",help"): infinisil Taneb ldlework etu philipp[m] eyJhb gchristensen __red__ red red[evilred] risson
abstractednoah has quit [Quit: WeeChat 3.1]
* red[evilred] uploaded an image: SmartSelect_20210423-060908_Gallery.jpg (37KiB) < https://evil.red:8448/_matrix/media/r0/download/evil.red/NPRbtGPKFpLXwPyGRcbWRzhw/SmartSelect_20210423-060908_Gallery.jpg >
<red[evilred]> So I have some processing to do, but that's a screenshot from my phone
<red[evilred]> I have a video that shows landing burn too
<srk> oO nice
<red[evilred]> I saw something burn up in the atmosphere
<red[evilred]> And something burning down
<red[evilred]> I don't know which was which
<red[evilred]> It was really weird to see
<red[evilred]> Like expanding concentric circles of dots
<red[evilred]> I kinda have it on film
<red[evilred]> Kinda
Synthetica has joined #nixos-chat
abstractednoah has joined #nixos-chat
abstractednoah has quit [Quit: WeeChat 3.1]
abstractednoah has joined #nixos-chat
abstractednoah has quit [Client Quit]
abstractednoah has joined #nixos-chat
<talyz> eyJhb: \o/
srk has quit [Ping timeout: 250 seconds]
srk has joined #nixos-chat
leah2 has quit [Ping timeout: 250 seconds]
leah2 has joined #nixos-chat
af has joined #nixos-chat
dotlambda has quit [Quit: ZNC 1.8.1 - https://znc.in]
dotlambda has joined #nixos-chat
<eyJhb> ashkitten: How is it going with the PinePhone?
<eyJhb> talyz: It is a victory! :D
<ldlework> Tweaked my boids, they're now colored based on normal-relative-to-camera, and they more obviously flock now: https://react-ecs.ldlework.com/
red[evilred] has quit [Quit: Idle timeout reached: 10800s]
af has quit [Quit: af]
af has joined #nixos-chat
af has quit [Client Quit]
af has joined #nixos-chat
af has quit [Quit: af]
endformationage has joined #nixos-chat
waleee-cl has joined #nixos-chat
cole-h has joined #nixos-chat
aleph- has quit [Quit: WeeChat info:version]
aleph- has joined #nixos-chat
Synthetica has quit [Quit: Connection closed for inactivity]
aleph- has quit [Client Quit]
aleph- has joined #nixos-chat
aleph- has quit [Quit: WeeChat info:version]
aleph- has joined #nixos-chat
<gchristensen> how to beg for thumbs without begging for thumbs: https://github.com/hashicorp/terraform-provider-aws/pull/16373#issuecomment-825762844
<philipp[m]> Is begging for thumbs opposable?
<gchristensen> I think they would rather not their prioritization mechanism be gamed
<gchristensen> however, it can be, and I have no doubt the other higher thumb count PRs were also shopped around a bit :)
<cole-h> oh hey, this is that PR from last year lmao
<philipp[m]> gchristensen: To be perfectly honest: I just asked for the pun value :D
<eyJhb> cole-h: I feel the pain of gchristensen https://github.com/distribution/distribution/pull/3143 :p
<{^_^}> distribution/distribution#3143 (by eyJhb, 1 year ago, open): Add pagination on `/v2/<name>/tags/list`
<eyJhb> April 10, 2020
<gchristensen> philipp[m]: of course :D
<cole-h> eyJhb: at least yours had interaction from project members :P
matthewcroughan has quit [Quit: No Ping reply in 180 seconds.]
<eyJhb> cole-h: True... :p
matthewcroughan has joined #nixos-chat
<eyJhb> And.. Hopefully.. It will be merged soon!
<gchristensen> 3 more x)
<eyJhb> `@milosgajdos milosgajdos requested a review from deleteriousEffect 2 minutes ago`. Lets see if that takes another year. Seems like something is actually happening this time
<gchristensen> of course it isn't actually true that they use thumbs to dictate what merges. In the past 2 days, 30 PRs merged. Of those, one had 76 thumbsups, one had 12 thumbsups, three had one thumbsup, and 25 had zero thumbsups
addcninblue has joined #nixos-chat
hexchen has joined #nixos-chat
<philipp[m]> It would be funny to create a software project that only merges the top x pull requests in terms of thumbs and closes everything else.
<ashkitten> so many websites scale only on horizontal resolution :(
<ashkitten> makes ui elements way too big
<samueldr> ashkitten: yep
<samueldr> because responsive is only for the width of the site
<ashkitten> samueldr: you have an ultrawide also?
<samueldr> nope
<samueldr> btw that previous statement was satirical
<ashkitten> yeah :(
<samueldr> ashkitten: it's because I'm a good web dev and know about the actual challenges :)
<samueldr> you know I'm a good web dev since I'm not doing it anymore ;)
<ashkitten> i can only see one episode at a time in jellyfin
<samueldr> and also because of how my wm places windows automatically, it's trivial to see some of the issues
<samueldr> if I get a "ultrawide" (but small) window on my display, it can sometimes show the issues
<ashkitten> yeah
<ashkitten> i love having an ultrawide but it causes issues a lot of the time
<samueldr> IIRC some awesome users wrote a window placement strategy for that kind of issue
<samueldr> where when there's a unique window, it still can be resized for its width, and it stays centered
<samueldr> and there's also something in the development branch, "virtual displays"
<ashkitten> like, for tiling wms?
<samueldr> yeah
<ashkitten> interesting
<samueldr> awesome is a tiling wm at its core
<ashkitten> oh awesome users not awesome users
<samueldr> yeah
<samueldr> where AFAIUI virtual displays with awesome allows you to split your display into zones that act just like they were a distinct display
<ashkitten> yeah
<samueldr> probably helps with that kind of use case too
<ashkitten> sway has an open issue regarding that type of thing
<ashkitten> i would use both of those features
<ashkitten> if they were in sway
<ashkitten> samueldr: can you link the resizable windows thing?
<samueldr> nope, only vague memories of a layout doing that
<ashkitten> okay
<samueldr> awesomewm layouts are scripted (well, the whole WM is) via lua scripts
<samueldr> so there's a lot of user contributed stuff
<lovesegfault> I have one remaining stdenv.lib usage somewhere
<lovesegfault> I get the warning, but I can't find where it's coming from...
<lukegb> change the warning to a throw instead?
<lovesegfault> yup
<lovesegfault> lukegb: hmm, that doesn't help. I get the error but even with show-trace it's not clear where it comes from
<lukegb> that's... unfortunate :/
endformationage has quit [Quit: WeeChat 2.9]
<lovesegfault> found it!
<samueldr> lovesegfault: grep for `with stdenv
<lovesegfault> It's naersk!
<samueldr> ah
<samueldr> no need to
<lovesegfault> For future reference: if you just comment out the line you get better info :)
endformationage has joined #nixos-chat
<lukegb> hah
<lovesegfault> PR submitted, turns out it was deploy-rs pinning an old naersk that didn't have the fix
rajivr has quit [Quit: Connection closed for inactivity]
<aaronjanse> Oh lovesegfault thoughts on deploy-rs versus nixops?
<aaronjanse> Right now I'm using nixops but might move to deploy-rs
Synthetica has joined #nixos-chat
<lovesegfault> deploy-rs is simpler, and less featureful
<lovesegfault> I don't need much, so it serves me well
<lovesegfault> To be honest, it is only a matter of time until I just write my own tool since none of the ones that exist satisfy me 100%
<lovesegfault> alas, I am a lazy bum
<aaronjanse> Ah got it
<lovesegfault> if nixops works well for you I don't really see the point in switching
<srk> samueldr: awesome
__monty__ has joined #nixos-chat
<aaronjanse> samueldr: that's cool
abstract1 has joined #nixos-chat
abstractednoah has quit [Ping timeout: 245 seconds]
abstract1 has quit [Client Quit]
abstractednoah has joined #nixos-chat
<aaronjanse> Thank you for the description lovesegfault
<aaronjanse> I finally got wayland working with patches to allow scaling without xwayland being blurry
<lovesegfault> OooOooooo
<lovesegfault> nice
<lovesegfault> share
<aaronjanse> Will do later today, after cleaning it up a little :-)
<aaronjanse> Although I now realize I have exams in a few weeks. So hopefully I can get screen recording working for zoom this weekend
<lovesegfault> Forget about it
<lovesegfault> It's a huge PITA
<aaronjanse> Ugh
<lovesegfault> only works by running zoom inside chrome and using pipewire
<lovesegfault> and _then_ it's _SUPER_ finicky
<aaronjanse> Aaaah that sucks
<lovesegfault> Your best option is to just use gnome when you need to screenshare with zoom
<lovesegfault> or i3
<aaronjanse> Yeah I'll probably rollback to i3 for exams
<aaronjanse> I also need to start studying eventually.....
<aaronjanse> PHEW I saved my waybar config from last year in a gist
<lovesegfault> I should figure out how to get i3 working so I can screenshare when I need...
<lovesegfault> I just use tmate
<srk> can you do obs screen/window capture on wayland?
<lovesegfault> Yes, and you can pipe that into zoom via v4l as a fake webcam
<lovesegfault> but they apply the compression they would to a webcam, expecting a video of your face
<srk> neat. yeah I use the v4l2loopback
<lovesegfault> and it sucks ass, you can't read anything that's on the screen
<srk> for jitsi
<lovesegfault> Yeah, v4l2loopback is sweet
<srk> had to run chromium because firefox refuses to do 1080p for som reason
<lovesegfault> sadly it doesn't work with zoom ;-;
lunc has quit [Ping timeout: 246 seconds]
lunc has joined #nixos-chat
<samueldr> what the heck, spent an hour trying to understand a web request in firefox
<samueldr> which was in a weird format
<samueldr> trying to find where it gets decoded in the inspector
<samueldr> curl'd the same endpoint after an hour and it's decoded transparently into trivially usable data
<samueldr> chrome, too, shows it as plain text
* samueldr is confused
<samueldr> (cannot share the url or data)
<aaronjanse> Huh I thought I've got v4l2loopback to work with zoom in the past lovesegfault
<lovesegfault> aaronjanse: it _works_ but the image quality sucks on the other end
<lovesegfault> usually it ends up unreadable
<aaronjanse> Either way, I can't use it for exams since the profs are expecting both camera and screen sharing at the same time
<aaronjanse> Yeah
__monty__ has quit [Quit: leaving]
<MichaelRaskin> Actually screen sharing the composed camera+window from OBS might give better quality…
<MichaelRaskin> Of course doesn't help if your Zoom can't screenshare windows
<MichaelRaskin> By the way, maybe your browser can? Because Zoom works in browser, however it lies about the opposite
<philipp[m]> samueldr: Did you use that ff tool that translates it's request to a curl command?
<samueldr> nope
<samueldr> just curl'd the raw url
<samueldr> either way only the "preview" in firefox was encoded weird
<philipp[m]> Ah I could clear up a few weird behaviours with "copy as curl"
<philipp[m]> I don't dislike it but the fingering on electronic wind instruments is weeeeird when you are used to the analogue ones.
<hodapp> hrmph, flymake is broken on 20.09 which means eglot is broken and I'm not motivated enough to figure out how to override src/version in one package
<supersandro2000> Has anyone an idea how I could monitor journald logs and send me alerts on for example oom kills?
<waleee-cl> honestly it's usually pretty hard to miss that your (desktop) system is oom:ing
<waleee-cl> I do see the point for remote boxes/servers etc
tomberek has quit [Quit: Connection closed]
<aleph-> supersandro2000: Could write a script to tail dmesg/kernel logs and then email/pushover/gotify you if OOM is seen.
supersandro2000 is now known as Guest38913
supersandro2000 has joined #nixos-chat
Guest38913 has quit [Ping timeout: 240 seconds]
<rmcgibbo[m]> supersandro2000: I have done some stuff like that for r-rmcgibbo.
<supersandro2000> waleee-cl: I want to monitor containers with restricted memory usage
<hexa-> aleph-: loki/promtail + alerts
<rmcgibbo[m]> If you send me an example how how you want to get sent alerts, I could give you a script based on what I have.
<aleph-> Yeah that would work as well of course.
<supersandro2000> I wanted to do something simpler/smaller as loki/promtail
<hexa-> its a bigger stack though than a shell script :)
<aleph-> Kinda stupid I didn't suggest it given I do it as well... heh
<hexa-> also: earlyoom against oom :p
<hexa-> and then there is node_vmstat_oom_kill in node-exporter, if you are using prometheus
<supersandro2000> rmcgibbo[m]: curl https://hc-ping.example.de/{uuid}/fail 😂
<supersandro2000> and then healthchecks sends an alert to somewhere
<hexa-> oh nice, from the cronjob age :D
<aleph-> hexa-: Hmm is node_vmstat really that accurate?
<supersandro2000> hexa-: can node-exporter monitor cgroup containers?
<aleph-> I've found detecting OOM's to be a pita
<hexa-> aleph-: I don't know, I haven't run oom anymore since earlyoom
<aleph-> supersandro2000: I believe they can iirc with fiddling
<hexa-> for server systems isn't it usually failed systemd units that you can alert on?
<supersandro2000> I just want to know when my postgres got oom'ed again because a big query got executed
<hexa-> supersandro2000: cgroupsv2 was an issue iirc
<hexa-> I might be wrong
<supersandro2000> I think I am still on cgroups 1 because of docker
<aleph-> hexa-: Ah fair enough, I have to deal with OOMs at work fairly often. Mem and cpu heavy workloads
<supersandro2000> so I also don't have systemd units
<aleph-> Isn't docker v2?
<aleph-> I thought it was
<hexa-> no, it isn't
<aleph-> Hmm
<supersandro2000> and I can alert on failed systemd units? how?
<hexa-> podman though is
<lukegb> docker 20.10 supports cgroups2
<lukegb> but yeah, I just switched to podman instead
<hexa-> expr: node_systemd_unit_state{state="failed"} > 0
<supersandro2000> 20.10 has some really questionable updates that broke IPv6 multiple times.. really enjoied that
<rmcgibbo[m]> i think doing it based on systemd/journald and curl is the way to go. It can be as simple as `for line in $(journalctl -t earlyoom -f | grep "sending SIGTERM to process"); do curl https://hc-ping.example.de/{uuid}/fail; done`.
<supersandro2000> I think I need to add some more info to know what got killed
<rmcgibbo[m]> for real kernel ooms, you can use this https://github.com/rmcgibbo/oom-enospc-notify to detect them (it will write to stdout on any oom).
<supersandro2000> why can't journalctl do that? usually systemd can do all th things
<rmcgibbo[m]> so you can pull out more fields with rg
<supersandro2000> 🤔 I think healthchecks accepts data with log.
<supersandro2000> thanks for rubberducking with me