<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
<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
<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]
<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
<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]