<samueldr>
>> if PineTab and Pinephone projects goes well, then we can come out a 4.7' PineTab that can accomodate plug-in module such as LTE, Lora, and etc
<samueldr>
or at another point in time
<samueldr>
I can't seem to find what I had in mind though
<samueldr>
just checked, fairphone 3 is better than fairphone 2, but lacks bands
<samueldr>
the annoying thing about bands, is that it's totally opaque
<samueldr>
while I can see which bands my telco operator uses, no way to know what it means to lack support for a band
<samueldr>
is it like one antenna out there or am I literally missing the majority of them?
rajivr has joined #nixos-chat
noonien has quit [Quit: Connection closed for inactivity]
<gchristensen>
the problem I'm seeing right now is I'm running that prompt as my user, and need to recover root to do the upgrade -- and gksudo / lxqt-sudo don't seem to work from a user's systemd unit... or I need to find a way to graphically prompt the user from a root unit
<__monty__>
Interesting. Would "next boot" build the system without switching? So, not run during boot?
<gchristensen>
it'd upgrade the system's bootloader but not switch the running services
<gchristensen>
by the time this prompt is up, the system is already built
<__monty__>
I'm not one for notifications that keep insisting I update but that'd be a far more painless way to handle it than "update now OR be bothered again in X hours."
<joepie91>
gchristensen: wait, what's that screenshot from?
<__monty__>
Yeah, pretty cool. Don't have input on your permissions issue though.
<gchristensen>
my laptop, joepie91
<joepie91>
gchristensen: well yeah :P but like, is this some sort of custom thing, or a new NixOS feature, or...?
<gchristensen>
custom thing
<joepie91>
ah, right. any chance of that ever becoming a not-a-custom thing in some form? seems useful
<gchristensen>
not likely to be un-custom until it works :P
<gchristensen>
it'd be cool for it to become A Thing
<joepie91>
lol
<joepie91>
also, have you tried just setting the X display thingemajig env var in the systemd unit?
<andi->
gchristensen: I am missing the "view changelog" button ;)
<gchristensen>
yea (both)
<joepie91>
because the unit is probably running headlessly and that's why the graphical sudos aren't working?
<gchristensen>
I'm using wayland, and I can't seem to force gksu to use wayland
<andi->
,locate gtksu
<{^_^}>
Couldn't find in any packages
<gchristensen>
the missing "t" isn't a typo
<andi->
oh
<andi->
gtk+2.24 o.O
<andi->
that might explain why no wayland
<joepie91>
oh, Wayland. yeah then I have zero idea
<gchristensen>
I'm not married to gtk, of course
<andi->
gchristensen: pkexec with an "agent" sounds like one of the attractive solutions.. I know you didn't want DBUS ;)
<gchristensen>
I just was searching around for gui wrappers around sudo and found a kde one I didn't see in nixpkgs, pkexec which doesn't pop up a gui for me, and gksudo
<andi->
gnome-authentication-agent 🤮 probably requires 30 other services as well
<sphalerite>
gchristensen: I think policykit is what you'd usually use for that, though yeah I think that means you need some sort of authentication agent (which includes for example pkttyagent, AFAIU)
<abathur>
gchristensen: thanks for reporting that edge-case; it's not exactly what I had in mind when I made that warning
<gchristensen>
oh cool
<gchristensen>
I think it is a good thing to require allowing
<abathur>
I guess the end answer in a case like that is just going to be, if I turn it into an error, having to explicitly specify that it's OK
<abathur>
yeah
<abathur>
my rough plan is to make it an error after I can "handle" simple (hopefully most-common) cases like `GIT_COMMAND="git"; "$GIT_COMMAND" status`
<gchristensen>
nice
<abathur>
but, if you've got contra feedback there, I can do it first
<abathur>
or weigh it at least :)
<das_j>
nice looks like we're going to hit 100k PRs today \o/
<lassulus>
or issues
<__monty__>
Yeah, mixed count.
<lassulus>
so will 100k be an issue or PR?
<abathur>
gchristensen: also, after many previous fruitless searches, I think I've finally identified a few candidate projects that, on both macOS and linux, can execute something and record sub-executables that run
<gchristensen>
oh?
<gchristensen>
:o
<abathur>
:]
<abathur>
I have two working well with fairly small interventions on packaging, though both have python as a runtime dependency; I have a third (with no runtime python dep) compiling/running with a heavier modifications--but it's not enumerating sub-executions
<abathur>
I suspect the latter might work okay on Linux and just need some cross-platform work? it's fairly new, and it seems like maybe macOS support isn't finished
maxdevjs has joined #nixos-chat
waleee-cl has quit [Quit: Connection closed for inactivity]
cole-h has joined #nixos-chat
<gchristensen>
sphalerite: are there any light-weight ways to get a policykit agent? I reckon I should go googling some :)
<sphalerite>
gchristensen: running pkttyagent, I believe
<gchristensen>
a graphical one, though :)
<sphalerite>
gchristensen: I'm a little afraid to say this, because I suspect you might actually do it, but pkttyagent + expect + zenity?
<gchristensen>
the monkey's paw curls
waleee-cl has joined #nixos-chat
<gchristensen>
sphalerite: I'd not heard of zenity and I think I shouldn't have
<srhb>
sphalerite: Your mind, seriously :P
<gchristensen>
sigh, sphalerite, I think I have to do it. My system is prompting me to upgrade my system, and I can't click the "now" button
<abathur>
I have some shell functions in my bootstrap/backup scripts that abstract over zenity on linux and osascript on macOS to pop up dialogs and prompts and such
<abathur>
prompts in the human sense
<abathur>
hey human, do x
<sphalerite>
gchristensen: congratulations on being one of the 10000! Had I known you didn't know about zenity I might have kept my mouth shut :D
<sphalerite>
is this about the java interface copyright stuff again?
<sphalerite>
wow what a stupid analogy fest
rajivr has quit [Quit: Connection closed for inactivity]
<eyJhb>
Follow up about my question about Linux + math. I have begun to use Jupyter Notebook + Sympy/Scipy/Numpy, where it will display equations nicely using mathjax (even the output equations from Python), e.g. https://i.imgur.com/VhrQNvo.png
ixxie has joined #nixos-chat
ixxie has quit [Remote host closed the connection]
feepo has quit [Read error: Connection reset by peer]
Cynthia has quit [Read error: Connection reset by peer]
Cynthia has joined #nixos-chat
feepo has joined #nixos-chat
lassulus has quit [Ping timeout: 240 seconds]
lassulus has joined #nixos-chat
<elvishjerricco>
I am not a lawyer so I know nothing but I got a vague sense that they made a reasonable legal argument in favor of fair use. Though it bothers me they based it so much in being transformative because they were creating a new smartphone platform. If Google wins, further cases like this will now have to prove that it's fair use for other reasons.
<elvishjerricco>
But of course from a programmer's perspective, holy crap would it be a disaster if Google lost.
<lovesegfault>
can someone give me a hand and tell me what does `/nix/var/nix/gcroots/profiles` is to them?
<lovesegfault>
(i.e. what does the symlink point to)
<abathur>
this doesn't have "cmdcat" building correctly yet; the linux build fails because of this, and the macOS run completes because I excluded it there; hoping to find a minimal set of changes to get cmdcat building on Linux but I'm not familiar here
neeasade has joined #nixos-chat
cransom has joined #nixos-chat
<abathur>
I did cudgel it into working on macOS, but its output wasn't correct (not sure if I broke it, or if it needs more cross-compatibility work); I'm hoping to find some help getting its expression working on Linux to verify whether it works and have a lodestar for revisiting it on macOS
spacekookie has quit [Quit: **aggressive swooshing**]