gchristensen changed the topic of #nixos-chat to: NixOS but much less topical || https://logs.nix.samueldr.com/nixos-chat
<ashkitten> i know the ups tracking map updates automatically but i keep refreshing it anyways
<samueldr> here's one of the sigbovik paper in video form https://www.youtube.com/watch?v=HLRdruqQfRk
<pie_> omg thats the printable x86 guy
<samueldr> it's the one tom7 from all the sigbovik papers authored by tom7!
<pie_> the absolute unit
<pie_> meanwhile im here writing crappy exploit repl :V
<pie_> omg the stackoverflow april fools
<pie_> everyne would hate it but they would probably make so much money? xD
<pie_> eyJhb: some abominations included https://bpa.st/YSXA
<pie_> like, yes i basically copied the bash functions and kinda kludged them in there
<pie_> python needs a library thats just for escaping stuff in various languages heh
<lovesegfault> What do you do if you have two repos you'd like to join into a monorepo?
<lovesegfault> just give it up and lose all history from one of them?
<supersandro2000> open a new tab, search for git merge unrelated history
<supersandro2000> and maybe git merge repo rewrite path
<pie_> lovesegfault: git subtree?
<lovesegfault> pie_: subtrees will remain as separate repos, no?
<pie_> n..o?
<lovesegfault> guess idk how subtrees work
<pie_> i recommend playing with it a bit
<lovesegfault> abathur++
<{^_^}> abathur's karma got increased to 23
<lovesegfault> that sounds like it
<pie_> i guess you could say git subtree is a sort of a frontend to a mere
<pie_> merge
<pie_> that link looks like it might be simpler and better here depending on what you want
<pie_> (i.e. probably)
<lovesegfault> I don't need this yet, mostly thinking if it'd be possible
<lovesegfault> but I need to do it to like, 10 repos
<lovesegfault> inb4 big brain moment
<pie_> what if you put....all the repos in one repo
<MichaelRaskin> You end up thinking about branch name, corruption resilience, etc., and reinvent Monotone
<MichaelRaskin> Or suffer
<pie_> :D
<pie_> meguca is suffering
<pie_> eyJhb: next thing to implement would be something like bidirectional i/o over files or something so i can do stuff like use a python repl remotely over HTTP GET but idk
<hodapp> you can sorta already do that with Jupyter's protocol
<pie_> huh
<pie_> i guess that would make some sense
<pie_> though maybe what i should really do is mosh over http get :P
<pie_> because latency will be terrible since this is like, io over an sql injection exploit
<pie_> though that in and of itself shouldnt necessarily be slow so idk
<hodapp> o_O
slack1256 has joined #nixos-chat
<pie_> hodapp: see the terrible repl i linked above :P
patagonicus0 has joined #nixos-chat
patagonicus has quit [Ping timeout: 246 seconds]
dotdotok has quit [Ping timeout: 240 seconds]
joe[m]1 has joined #nixos-chat
waleee-cl has quit [Quit: Connection closed for inactivity]
Sigyn has quit [Read error: Connection reset by peer]
Sigyn has joined #nixos-chat
patagonicus0 has quit [Ping timeout: 252 seconds]
slack1256 has quit [Ping timeout: 268 seconds]
<ashkitten> now that i have a 49 inch 5120x1440 monitor, i can finally write python list comprehensions
* samueldr sobs
<samueldr> two identical (where it matters) user environments, yet somehow one works and the other doesn't with plasma mobile shell
<samueldr> environment meaning: `env`
<samueldr> and nixos configs mostly identical... but running the same wayland environment the same way
<samueldr> there *must* be a difference for it to break, but I have yet to find it
<samueldr> and it's software that doesn't complain when things are wrong :(
lukegb has quit [Quit: ~~lukegb out~~]
lukegb has joined #nixos-chat
<ashkitten> i think the thing i didn't realize before i got the ultrawide monitor was actually how nice it would be to have all this horizontal screen space
<ashkitten> i can have a game open, and open a window next to it, and the game still plays completely fine just slightly skinnier
<ashkitten> whereas in 16:9 aspect ratio if i opened a window next to my game it would feel incredibly cramped
arahael has quit [Quit: "Rebooting tmux!"]
tomberek has quit [Ping timeout: 240 seconds]
monsieurp has joined #nixos-chat
<lovesegfault> redid my website today: https://lovesegfault.com/
<lovesegfault> organized all my shit finally
<Ke> doesn't cargo support that vendoring thing where you don't have network access
<lovesegfault> Should yea, cargo vendor
<Ke> at least you can specify absolute local paths in that file I forgot the name of
<Ke> Cargo.toml or whatever
<Ke> or relative local paths
endformationage has quit [Quit: WeeChat 2.9]
<aaronjanse> I like it lovesegfault
<cole-h> lovesegfault: is that using zola?
<aaronjanse> (I think it's zola, based on the HTML)
<lovesegfault> nope, hugo
<aaronjanse> Oh huh
<lovesegfault> zola lacks too many features
<lovesegfault> I tried it today
<lovesegfault> and it was a pita
<aaronjanse> I tried last week and came to the same conclusion
<aaronjanse> Side note, it would be cool to have a `htop` mode that shortens /nix/store paths
<aaronjanse> Probably as a patch applied via `overrideAttrs`
<aaronjanse> If `h` stands for Haskell... hopefully it doesn't
<cole-h> just go to setup and disable "Show program path"
<aaronjanse> Oh no it's C
<cole-h> F2 -> Display options -> Show program path
<aaronjanse> Oooh
<aaronjanse> :O TIL that page exists!
<aaronjanse> WOW that's much easier to read
<lovesegfault> I started writing a post on why arrays are not pointers in C years ago. I recall there were three main reasons. I stopped halfway and now I can't recall what the other reasons were
<lovesegfault> :P
<ar> there's no such thing as an array in C
<lovesegfault> That's not true, they exist
<lovesegfault> in their creation scope arrays are like fat pointers
<lovesegfault> you just can't get them out of the creation scope, they get demoted to a pointer to the first element
<ar> effectively it's just a continous blob of memory you choose interpret as a sequential list of entities and guess the number of elements of
<ar> (mind you, i'm only half serious here)
<lovesegfault> Ah, okay
* cole-h was about to post the same link
evanjs has quit [Read error: Connection reset by peer]
monsieurp has quit [Quit: Lost terminal]
monsieurp has joined #nixos-chat
evanjs has joined #nixos-chat
<lovesegfault> god I hate CORS
cole-h has quit [Ping timeout: 252 seconds]
<lovesegfault> okay, I did it
<lovesegfault> on every commit to my CV repo a PDF is published
<lovesegfault> and my blog points to the latest release asset
<lovesegfault> finally, fully automated CV updates and compilation
<lovesegfault> (all reproducible, with Nix, ofc :) )
<aaronjanse> Ooooh
<aaronjanse> Did you use Github Actions?
<lovesegfault> yup
<lovesegfault> CV repo: https://github.com/lovesegfault/cv/
<lovesegfault> you can test it by clicking "CV" on the menu here: https://lovesegfault.com/
<aaronjanse> That's cool
dotdotok has joined #nixos-chat
<lovesegfault> gchristensen: omg I can't believe you got that phone number, lol
<lovesegfault> 641-NIX-HELP lol
<lovesegfault> gchristensen++
<{^_^}> gchristensen's karma got increased to 448
<lovesegfault> 10/10
rajivr has joined #nixos-chat
waleee-cl has joined #nixos-chat
MichaelRaskin has quit [Ping timeout: 268 seconds]
<eyJhb> Sometimes stuff like this is a little, why? `copying path '/nix/store/irqwv613fscy7bccixcjkc877h2wl6yl-openelec-dvb-firmware-0.0.51'`, why is this needed on my router? :\
<eyJhb> lovesegfault: Where did you dox gchristensen ? :o
FRidh has joined #nixos-chat
<Ke> what phone?
<Ke> 448 is a reasonable substring in a valid password, but not sufficient by itself
<Ke> I thought you needed to know
MichaelRaskin has joined #nixos-chat
<talyz> eyJhb: you mean you don't use your router as a media center? :p
<eyJhb> talyz: Sadly, I do not... :( :D
slack1256 has joined #nixos-chat
<sterni> eyJhb: the number is on graham's website
FRidh has quit [Quit: Konversation terminated!]
<gchristensen> lovesegfault: =)
<gchristensen> eyJhb: https://determinate.systems/
<gchristensen> (look at the very bottom)
<sterni> haha
dotdotok has quit [Ping timeout: 268 seconds]
slack1256 has quit [Remote host closed the connection]
<leonardp> gchristensen: omg this is effin' great :D
<gchristensen> ^.^
<infinisil> gchristensen: I love the artwork!
<gchristensen> thanks!
<gchristensen> Emily drew that portrait of me a couple years ago but I haven't been able to use it since people know my current avatar so well :)
<infinisil> Hehe
<eyJhb> Niiiiiice gchristensen !
<gchristensen> ^.^
<gchristensen> thanks
<hexa-> congrats on making that jump :p
<gchristensen> thank you, it is mildly (very) terrifying and been eating me up inside for like 6 months now
<gchristensen> now I need to package https://github.com/wvanbergen/request-log-analyzer or something because I'm a zealot and didn't include an easy analytics package on the site
<cransom> i know those feels. i believe in you though.
<supersandro2000> you mean you want to find someone who packages it?
<hexa-> that only looks mildly dated :)
<gchristensen> hexa-: I didn't find anything more recent and I don't want to build it myself... :)
<cransom> i've always been curious about matomo, the self hosted version. never curious enough to set it up, though apparently.
<hexa-> that stills embeds something in the webpage as opposed to analyzing the access.logs fwiw
<supersandro2000> yeah it does
<supersandro2000> either js or pixel
<supersandro2000> but it respects do not track
<hexa-> gchristensen: maybe goaccess works for you?
<hexa-> yeah, matomo is mighty fine, but it is something you'd need to host :)
<gchristensen> goaccess looks great
<cransom> huh, webalizer is still alive. and by alive, i mean there's a page with a 'whats new' last updated in august 2013.
<eyJhb> I always get excited when I see `Go.*`, and then a little disappointed when I see `Languages: C` basically
<gchristensen> now I just need to package / get someone to package goaccess :)
<hexa-> > pkgs.goaccess
<{^_^}> "<derivation /nix/store/mm504an1362lidsc57ypmm29jpy9z4b5-goaccess-1.4.drv>"
<gchristensen> oh what
<gchristensen> ....what was I ripgrepping ...
<hexa-> poop
<cransom> or maybe that was the fastest nerd snipe in history
<hexa-> right, go packages are *that* simple to package up
FRidh has joined #nixos-chat
<hodapp> just had to deal with Go cross-compilation and was... actually really freaking impressed
<eyJhb> hodapp: It is quite nice :D
<gchristensen> hrm. I should have a favicon.ico or whatever just so it stops polluting the logs
<supersandro2000> add a location which returns 404
<hexa-> or disable the access log for that path
<gchristensen> I dunno, I should probably do it anyway
<lukegb> return nixpkgs-master.tar.gz for that path >:)
<gchristensen> gotta get my brand in every nook and corner I can
<hexa-> lol
<supersandro2000> gchristensen: can you take a look why ofborg is not recating to comments?
<hexa-> we probably went from double the webhook action to less than half :)
ece has joined #nixos-chat
cole-h has joined #nixos-chat
rajivr has quit [Quit: Connection closed for inactivity]
__monty__ has joined #nixos-chat
endformationage has joined #nixos-chat
andi- has quit [Ping timeout: 268 seconds]
luxemboye has quit [Remote host closed the connection]
luxemboye has joined #nixos-chat
andi- has joined #nixos-chat
<drakonis> wow this is beautiful
<samueldr> not surprising for those keeping tabs on pinephone dev https://nns.ee/blog/2021/04/01/modem-blog.html
<samueldr> but this is fun :)
<samueldr> I'm saying it's not surprising, since there's a couple steps further already a couple community peeps working on a replacement OS for the modem https://github.com/Biktorgj/pinephone_modem_sdk/releases
<samueldr> while not blob-free, it will be blob-freeer
<samueldr> :| stracing a binary that wants capabilities is hard
cole-h has quit [Ping timeout: 260 seconds]
Dotz0cat has quit [Ping timeout: 240 seconds]
Dotz0cat has joined #nixos-chat
<__monty__> Super cool. Wish there was a winter version too, summer time's at a premium here.
<samueldr> btw, sudo -E (to keep environment) strace -u $originaluser helps
<__monty__> Anyone else having youtube-dl issues? Updating my unstable channel didn't help. Maybe something even more recent?
<samueldr> and assumes (in the logs) that it's because the files vanished!
<samueldr> lastModified().toSecsSinceEpoch() in the nix store is fun!
<samueldr> so I guess I can ignore those "error" messages
<samueldr> oh? OH
<samueldr> no I cannot ignore those messages
<samueldr> the top one is in the VM where things are wrong, with a fresh disk image, the bottom one is from a system where it works
<samueldr> hm wait... change != modify
<f0x> meh.. seems the usb serial for boot is definitely a dead end :(
<f0x> so if my headless server ever fails a reboot it's suuuch a mess to get it back
<samueldr> raspberry pi + hdmi capture cards are an alternative ~ish
<f0x> samueldr: nope because I don't have graphics
<f0x> single pcie slot which is occupied by a sata splitter in normal use
<samueldr> ah, and no onboard at all I guess
<f0x> no :(
<f0x> probably really should've gone for a cpu with integrated graphics
<samueldr> *HEAVY SOBBING NOISES*
<samueldr> time.timeZone = "America/Montreal";
<samueldr> and the VM works
<samueldr> so it's using a "null value" (0) as a special value
<samueldr> when it can be a totally legit value!
<samueldr> sorry peeps, you can't live on the GMT timezone, when it is in sync with UTC, or use UTC, and use KDE stuff, it seems
<samueldr> oh, and a nix store
<MichaelRaskin> What's wrong with a Nix store?
<samueldr> nothing
<MichaelRaskin> (my /etc/localtime is UTC even if $TZ is not)
<samueldr> what's wrong is KDE uses the last modified time, which turns out to be 0, as a "hash" value for some cache invalidation or something
<MichaelRaskin> I think it actually has timestamps of 1, and for 0-is-null reasons — is it _still_ not good enough??
<samueldr> but it turns out it is 0 only if your timezone is UTC because of epoch
* samueldr checks
<MichaelRaskin> Does Europe/Paris work as well as America/Montreal, or does sign matter too?
<samueldr> I should check that too
<samueldr> I guess the disk image creation somewhat changes the dates
<samueldr> the top one is what's in the not-working VM
<samueldr> which is using a fresh squeaky clean disk image with fake'd time
<samueldr> so I guess I will change that fake time to 1s
<MichaelRaskin> Well, the bottom also has fresh ctime
<samueldr> because, as can be observed on the other screenshot, indeed Modify is at 1s
<samueldr> yeah, that also
<MichaelRaskin> Maybe it is the rebuild that matters and after something (hm, what? copying between stores? optimise?) sets everything to Epoch+1s you get a failure again?
<samueldr> but it's been a over another day of work lost on *yet* another caching shenanigan from KDE
<MichaelRaskin> There is some small amount of point in the idea that KDE-based images are not really older than 1980…
<samueldr> AFAIUI they're using "0" as value meaning that something is wrong
<samueldr> instead of it being a totally cromulent value for a timestamp
<samueldr> my main gripe is how awfully hard to debug those kind of issues are with KDE... no errors, generally and debug log is normally hidden
<samueldr> I had to enable the firehose of debug logging to see that message that hinted at something being weird
Thunderbi is now known as nckx
<lovesegfault> Is there a single term I can use to reference something when it's being either passed to a fn as an arg or being returned from a fn?
<lovesegfault> scope-crossing?
<samueldr> so yeah, having epoch+1 as a date is fine
* samueldr commits angrily
<__monty__> lovesegfault: Curious what you need such a concept for?
<lovesegfault> __monty__: talking about the behavior of arrays in C
<lovesegfault> and how whenever they cross a scope they are demoted to a pointer
<lovesegfault> and I need to title the section
<lovesegfault> and.. uhhh. I don't know what to call it
<__monty__> Étude sur les vagaries d'un array cuand il se creuse une frontière d'étendue?
<__monty__> Don't have serious advice. Something about demotion of arrays whenever they cross a scope boundary.
<samueldr> d'un tableau* quand*
<samueldr> :)
<__monty__> I knew something about the cuand was wrong.
<__monty__> Been practicing too much spanish with its cuatros.
<samueldr> only missing a vertical bar
__monty__ has quit [Quit: leaving]
andi- has quit [Ping timeout: 258 seconds]
lunc has joined #nixos-chat
andi- has joined #nixos-chat
FRidh has quit [Quit: Konversation terminated!]
dotdotok has joined #nixos-chat
<f0x> oh noes, no dehydrated module yet
srk has quit [Ping timeout: 240 seconds]
srk has joined #nixos-chat
supersandro2000 has quit [Disconnected by services]
supersandro2000 has joined #nixos-chat