gchristensen changed the topic of #nixos-chat to: NixOS but much less topical || https://logs.nix.samueldr.com/nixos-chat
chr0ma[m]1 has joined #nixos-chat
ece3 has joined #nixos-chat
* abathur blinks
<samueldr> one blink a day keeps the optometrist away
supersandro2000 has quit [Disconnected by services]
supersandro2000 has joined #nixos-chat
<pie_> the angels too
<samueldr> nah, they got screwed up by bad writing
<samueldr> and ended up able to move in sight
<samueldr> sitll quite mad
<samueldr> what was great in the writing of the original is that *anyone* seeing them, including the viewer, prevented them from moving!
<samueldr> and what better horror than the horror not shown?
rajivr has joined #nixos-chat
<samueldr> fun thing happened today
<samueldr> I open a new firefox version on a phone
<samueldr> it tells me to try firefox on my phone!
<samueldr> *insert confusion noises*
<ashkitten> samueldr: desktop firefox on your phone? :D
<samueldr> that's what it seems to think
<samueldr> but since it's on a phone
<samueldr> isn't it phone firefox?
<ashkitten> hmmmm
<samueldr> but yes, updated the example system on my pinephone, and the updated firefox (now with actual pinch zoom!) told me to download firefox for my phone
cole-h has quit [Ping timeout: 258 seconds]
Mic92 has quit [Ping timeout: 260 seconds]
Mic92 has joined #nixos-chat
spacekookie has joined #nixos-chat
spudly1 has quit [Ping timeout: 240 seconds]
spudly1 has joined #nixos-chat
tilpner_ has joined #nixos-chat
tilpner has quit [Ping timeout: 272 seconds]
tilpner_ is now known as tilpner
<infinisil> > spongebobify "It's beautiful"
<{^_^}> "It'S bEautifUl"
endformationage has quit [Quit: WeeChat 2.9]
<samueldr> you need to send identity documents to huawei to use their SDK
<samueldr> wondering if anyone could hook me up with a samsung z4 phone (or any tizen phone)
<samueldr> seems there's none on ebay
<samueldr> not even to port mobile nixos to it, but to actually try an elusive platform
waleee-cl has quit [Quit: Connection closed for inactivity]
cole-h has joined #nixos-chat
rajivr has quit [Quit: Connection closed for inactivity]
<patagonicus> Ugh, I forgot that haskell packages (usually? always?) compile everything again for the tests.
<patagonicus> But, after almost a day I almost have nix-diff installed on this armv7 machine, so I can make sure my changes to the config do what I expect them to do.
<eyJhb> Anyone running a 30xx series on Linux?
cole-h has quit [Ping timeout: 240 seconds]
ravndal has quit [Quit: WeeChat 3.0]
ravndal has joined #nixos-chat
tilpner has quit [Remote host closed the connection]
tilpner has joined #nixos-chat
rajivr has joined #nixos-chat
srk has quit [Remote host closed the connection]
srk has joined #nixos-chat
<Ke> like nvidia?
<eyJhb> Yeah, wondering how good NVidia support is now
<Ke> I would assume people already have opinions on that based on a priori alone
<eyJhb> Ke: But it seems like it should have changed. But eh. maybe not
<pie_> samueldr: the postmarket people directed me to https://wiki.postmarketos.org/wiki/Acer_Iconia_Tab_A500_(acer-picasso) so there may be some hope but i still probably need to put a lot of work in
<crazazy[m]> ugh spectral has been replaced by neochat and I don't like it
<crazazy[m]> its sloooww
<crazazy[m]> do you guys know any fast matrix clients?
<philipp[m]1> Have you tried gomuks?
<crazazy[m]> yea but after a while it prevented me from logging in
<crazazy[m]> no idea why
<crazazy[m]> also gomuks doesnt like channel invites
<eyJhb> Does doas default allow wheel to run commands?
<ldlework> We should do a Fantasy Stock-market in here
<ldlework> There are some good free ones
<ldlework> Or if anyone wants to join the one I'm running (that starts today) let me know
<ldlework> (10 people in)
<makefu> what is a fantasy stock-market? It sounds even more out-of-place than fantasy football
<ldlework> ¯\_()_/¯ you get some fake monies and tools to do research, buy and sell
<ldlework> see who does the best in like 30 days
<supersandro2000> like wow market place?
<eyJhb> Finally! Switched from sudo to doas
<supersandro2000> is it a drop in replacement for most people?
<eyJhb> I would guess so, the only issue some have is that persistent doesn't work :p But I have not tested this myself!
<supersandro2000> well that would be a bummer
<supersandro2000> if that worked I would switch, too because why not
<eyJhb> I can test I guess :p
<eyJhb> Persits works fine for me, not sure wth the others have been doing
<eyJhb> supersandro2000: https://termbin.com/v46t enjoy
<ldlework> supersandro2000: sure, but like, with real stock information
Church- is now known as aleph-
<eyJhb> https://i.imgur.com/q6eUAPS.png Ahh word <3 WYSIWYG
evanjs has quit [Quit: ZNC 1.8.2 - https://znc.in]
evanjs has joined #nixos-chat
<eyJhb> adisbladis: Also, come in, doas does work with persist :)
slack1256 has joined #nixos-chat
<adisbladis> eyJhb: Huh?
<supersandro2000> eyJhb: thank you!
slack1256 has quit [Remote host closed the connection]
waleee-cl has joined #nixos-chat
<eyJhb> adisbladis: doas, we discussed if persist worked and you tried and it didn't. Seems like it does
<eyJhb> np supersandro2000 :D
supersandro2000 has quit [Quit: The Lounge - https://thelounge.chat]
supersandro2000 has joined #nixos-chat
<gchristensen> I wonder how git repos fail like this ... error: object a6727941433ee1c91a20ede6cb381af1d18c566d: missingSpaceBeforeDate: invalid author/committer line - missing space before date
<eyJhb> ^ preHooks?
<gchristensen> hrm
rajivr has quit [Quit: Connection closed for inactivity]
supersandro2000 has quit [Quit: The Lounge - https://thelounge.chat]
supersandro2000 has joined #nixos-chat
<ashkitten> uhhhh hmmm
cole-h has joined #nixos-chat
<samueldr> pie_: the main fact remains: armv7 :)
<samueldr> but early android devices generally speaking are quite open to being fiddled with
<pie_> samueldr: what was wrong with armv7 again?
<samueldr> no binary cache
<samueldr> since there's mainline, you should be approx fine
<pie_> oh yeah sure look, for starters id behappy if its just running a modern kernel xD
<samueldr> old android devices generally use too old kernels
<samueldr> since it's not the _exact_ same tablet (I think) you might have some unfun time trying to find the info about how to port it :)
<pie_> like, if its just stock postmarket, that would be a major improvement
<pie_> im probably in way over my head anyway
<samueldr> it _is_ a good idea for a new device to start with, for example, postmarketOS
<samueldr> because that way you can first verify it should be working or not
<pie_> i hope the guy that did a different device with the same soc replies to my email :IIII
<samueldr> pie_: what's the board already?
<samueldr> AFAIUI this is a mainline-flavoured kernel with work for "grate" (te gra, gra te)
<samueldr> a starting point could be comparing this fork with mainline
<samueldr> these are the boards that, I guess, are supported
<pie_> samueldr: not sure what info youre lookng for https://www.slatedroid.com/topic/22198-tegra-2/
<pie_> also goes under some other names like smba1002 or something
<pie_> there are some custom roms for my device
<samueldr> right, viewsonic g-tablet
<pie_> id need to sit down and try to extract what they changed
<pie_> so thats somewhere on the agenda
<samueldr> with a ROM you should be able to get the `.dtb` file, and from it a `.dts` to compare some
<samueldr> it will be different enough from those mainline-flavoured dts that it will be somewhat hard
<pie_> and also gather a bit of a wiki, because theres a bunch of info all over the place and ugh
<pie_> gotta love XDA development
<pie_> assuming i can even get the latest binaries
<samueldr> why are you asking this? it got answered in this thread already multiple times
<pie_> worst thing about this forum stuff is images that are no longer hosted and binaries on defunct websites
<samueldr> *thread is 420 pages long)
<samueldr> yeah, that too
<pie_> blaze it
<pie_> preferably not with the battery
<pie_> samueldr: what was i asking?
<samueldr> I don't know
<pie_> i mean what is "this" <samueldr> why are you asking this? it got answered in this thread already multiple times
<samueldr> oh, "this" was any question asked on XDA
<skrzyp> I would like to try out Nix on macOS, does it support management of "desktop" applications as well?
<skrzyp> Or should I stick to Homebrew casks?
<cole-h> (Probably a better question for #nixos -- this channel is for off-topic stuff :)
<skrzyp> Might be, but I don't think Nix-on-mac question is related to #nixos, and #nix has +i
<skrzyp> This is quite confusing
<samueldr> right, #nix redirects to #nixos, confusingly enough
<samueldr> because #nixos is for Nix + NixOS
<skrzyp> Not to mention that nixpkgs bot which buries all of the other communication
<samueldr> it's about NixOS the community more than NixOS the distro :)
<samueldr> there is a darwin channel too
<samueldr> for a nixos-like management of a mac
<pie_> samueldr: ok this is embarrassing, i saw it but i dont know how to find the 420 page thread right now
<samueldr> #nix-darwin
<pie_> samueldr: how did you find grate? i just ran across it in another article too meanwhile
<samueldr> pie_: on the postmarketos wiki page you linked
<samueldr> pie_: I didn't do any further research than opening one of your links :)
<pie_> doh
<pie_> im doing too much stuff i ahve like 300 preliminary research tabs open
<samueldr> n/p
<samueldr> it's easy to miss something helpful
<pie_> _and_ it probably doesnt help that i dont know my way around this stuff :p
<samueldr> when I was initially porting to xiaomi-lavender, I must have spent what feels like a week (it was not my job yet) trying to find out why it didn't boot
<samueldr> it was documented on the vendor's wiki
<samueldr> almost word for word: if it doesn't boot, change this config
<pie_> too much stuff to ingest initially and you dont know what youre looking for
<samueldr> I totally know that :)
<pie_> grate has a #tegra channel on freenode, that sounds very helpful
<pie_> a fortuitous turn
<pie_> samueldr: fml, where on that page is the 420 page thread x'D
<samueldr> there is none, it's an ol' XDA trope
<samueldr> where you get told to look back it's been answered already
<samueldr> in a multi-hundred pages thread
<pie_> oh
<pie_> damn you totally had me synthesize a memory of a 420 page thread
<pie_> maybe im mixing it up with the 130 page one
<pie_> i couldve _sworn_ it exists
tilpner_ has joined #nixos-chat
tilpner has quit [Ping timeout: 265 seconds]
tilpner_ is now known as tilpner
BaughnLogBot has quit [Ping timeout: 246 seconds]
<cole-h> https://i.imgur.com/iLTusWh.png I hope this page doesn't have any CVEs
<eyJhb> DO THE OVERFLOW cole-h !
<cole-h> :D
<eyJhb> Fuckers...
<samueldr> be nice!
<samueldr> replace by as many hmmmmmms it requires :)
<eyJhb> Hmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm... Fuckers.
<eyJhb> Sorry!
<samueldr> lol
<eyJhb> But that is annoying
<samueldr> yes, not a good look at all
<samueldr> sphalerite: -iA ???????
<eyJhb> Like, it should be easy to setup yourself (a single one-liner), no reason to do it by default
<samueldr> eyJhb: not even a one-liner, they have a whole raspi-config app!
<eyJhb> sphalerite: It knows you want it
<eyJhb> True, put it under, `enable shady stuff`
<samueldr> [ ] Enable software updates from our trusted partner® Microsoft™®
<sphalerite> samueldr: yeah sometimes I like installing stuff and having it disappear the next time I update. And I'm pretty sure this is such a case :)
<samueldr> sphalerite: I know you're full of it
<samueldr> sphalerite: fonts don't work with -i
<gchristensen> TPM: Trusted Partner: Microsoft
<sphalerite> samueldr: they do, you just need to run fc-cache -f after installing. ♥ state
<samueldr> uh
<samueldr> I don't like that
<samueldr> tbf, that's not the only archive.org source we have
<samueldr> and since it's verified against the hash, it's pretty safe
<sphalerite> sure it's safe, it's just… very funky
<samueldr> much better than shadydownloadsite.xyz/PowerPointViewer.real.iswear.exe
<sphalerite> also it doesn't have a Content-Length header and downloads at waybackmachine speeds so you have no idea how long it'll take
<eyJhb> samueldr: Are you SURE that is better?
<samueldr> I say that because it came up in the past about another package, a user wanted to change the download site to an arbitrary archive URL
<samueldr> eyJhb: a somewhat more trustable origin, and some kind of "trace" that it is whatever was once at the official location, most likely
<samueldr> so yeah, pretty sure
<eyJhb> Just messing with you, it is better because it can be "more" trusted, but then we have the fun tracking
<samueldr> better would have been microsoft continuously providing that archive!
<samueldr> oh
<samueldr> even better
<samueldr> SIL open font license those vista and previous windows fonts!!
<samueldr> muh Free comic sans please
<sphalerite> Use comic neue? :p
<sphalerite> I mean yes, it's not the same, but it's free
<sphalerite> and in the meantime I can fill out this docx form that uses calibri without all the text boxes flowing wrong
BaughnLogBot has joined #nixos-chat
<cole-h> Probably one of the weirdest songs I've had the pleasure of listening to in recent memory: https://youtu.be/qFfkpy38UPA
endformationage has joined #nixos-chat
<gchristensen> any favorite tools for typing in to a PDF beyond booting in to my handy macos VM?
<infinisil> gchristensen: xournal
<tilpner> gchristensen: libreoffice :(
<gchristensen> one rec with a :(, one wthout -- clear winner :P
<tilpner> If by "typing in to", you mean filling out forms
<gchristensen> YEA
<gchristensen> yea*
<samueldr> filling *PDF forms*, evince, "drawing on top", so no tangible forms, xournal
<samueldr> all operations on top of a PDF with xournal are on a distinct layer
<samueldr> and you can move things after the fact, if e.g. your text box does not line as well as you want
<samueldr> if it's about creating pre-filled PDF in a programmatic way, don't ask or you'll get answers that you won't like
<samueldr> (I worked on generating PDF pages with pre-filled info for a software that dealt with producing pre-filled tax forms)
<gchristensen> no good on evince, it can't deal with it... let's see what libreoffice does
<samueldr> ugh, bought (cheaply) the wrong kind of labeler tape because online advice is wrong
<samueldr> official tape from the maker
<samueldr> TZ and TZe tape are supposed to "be the same" according to brother, the latter being more ecologically friendly... but in reality one is backwards compatible, the other is not
<tilpner> samueldr: I want to get answers I don't like. How do you create those?
<samueldr> depends on which version
<samueldr> but because creating PDFs programmatically is terribly hard
<samueldr> the first version relied on a specific old version of one of those "html to pdf" printers
<samueldr> because the newer versions had breaking bugs with page format handling
<samueldr> (which pushed Nix to be used in prod!)
<samueldr> that version isn't terrible though. Mainly a good reproduction of the layout as they desired through hard effort
<samueldr> they changed the layout, and the new layout was provided with a **tangible PDF FORM!!!**
<samueldr> which AFAICT no tooling existed at the time (a few years back) to just pre-fill and produce a PDF from there on Linux
<samueldr> I don't recall the exact process used to produce it
<samueldr> but it wasn't exactly pretty, but worked flawlessly
<samueldr> (though they refused the first draft of their own forms...)
<samueldr> (because the dummy data sent for validation wasn't good enough)
<tilpner> No, you promised! :c
ashkitten has quit [Changing host]
ashkitten has joined #nixos-chat
worldofpeace has joined #nixos-chat
Irenes[m] has joined #nixos-chat
worldofpeace has quit [Changing host]
Irenes[m] has quit [Changing host]
<samueldr> I would have to dig up code from my archives
<tilpner> Though the first one was horrible on a "this shouldn't be a good solution" level
<tilpner> Nah, it's fine :)
<samueldr> oh, it also relies on a specific font release of roboto
<samueldr> because the update changed the metrics!
<tilpner> Or else the layout will be all broken?
<samueldr> yep
<samueldr> that was a fun bug
<tilpner> Wonderful
<samueldr> at least Nix really helped with that
<samueldr> getting all the specific versions of everything
<LinuxHackerman> a font update changing metrics? That sounds like an absolute nightmare
<tilpner> Should bring that up next time, "Nix can keep terrible solutions working forever!"
<LinuxHackerman> Clearly, variable-width fonts were a mistake.
<samueldr> it was a major version update though
<samueldr> so fine enough
<samueldr> okay, dug up the code
<samueldr> I remember: filling pdf form was ok
<samueldr> made some glue to transition from one thing to another
<samueldr> I remember the stupid thing
<samueldr> one of the form layout they gave us didn't have a tangible PDF form
<samueldr> because, look, we're supposed to re-do them with our own PDF generation software, yadda yadda
BaughnLogBot has quit [Ping timeout: 276 seconds]
<samueldr> so what I ended up doing was using scribus, to add *one input per letter field*
BaughnLogBot_ has joined #nixos-chat
<samueldr> because just writing on the line wasn't good, there were small lines to put letters in-between
BaughnLogBot_ is now known as BaughnLogBot
<samueldr> .__.__.__.__.
<samueldr> but doing that broke the document!
<samueldr> so in reality it was a PDF form with no content except for the form
<samueldr> which then was merged on top of the layout PDF
<samueldr> so to generate the PDF, we had to fill another PDF, flatten to a PDF document, then merge with the "background" pdf
<samueldr> but it did work!
<samueldr> oh, one trick I had to do for my own sanity
<tilpner> Now I'm sorry for making you dig this up
<samueldr> instead of applying text centering to each of those letter boxes manually
<samueldr> I edited the scribus xml document using a script
<tilpner> Dumb text editing script, or xml-aware? >.>
<samueldr> for more than a hundred little boxes, it was much easier to deal with that way
<samueldr> nokogiri
<tilpner> Ahh, no sed then
<samueldr> it needed to match specific identifiers
<samueldr> because some text boxes were not single-letter things
spudly1 has quit [Read error: Connection reset by peer]
spudly- has joined #nixos-chat
spudly1 has joined #nixos-chat
spudly has quit [Ping timeout: 260 seconds]
spudly- is now known as spudly