Lukas4452 has quit [Remote host closed the connection]
<joepie91>
so... just to confirm, when I set services.openssh.passwordAuthentication = false, but PAM is enabled and implements keyboard-interactive, that *cannot* be used to do password authentication, right?
<eyJhb>
joepie91: not as far as I know
<eyJhb>
So only key authentication I would assume
<joepie91>
!tofu
<joepie91>
eyJhb: right, thanks, I hope that's the case then :P
<joepie91>
,tofu
<{^_^}>
To get a sha256 hash of a new source, you can use the Trust On First Use model: use probably-wrong hash (for example: 0000000000000000000000000000000000000000000000000000) then replace it with the correct hash Nix expected.
<joepie91>
is it me, or is cache.nixos.org super slow today?
magnetophon has quit [Ping timeout: 244 seconds]
<andi->
since today swaybar is crashing somewhere in libwayland-cursor. It correlates with using qemu (through the gtk UI) and takes a while before it crashes... Eventually firefox also starts crashing at the same location o.O
<andi->
anyone else seen that?
<eyJhb>
joepie91: np :D
<eyJhb>
I should switch my server to NixOS soon...
<eyJhb>
Maybe not today, maybe not tomorrow, but soon!
<eyJhb>
I feel like you like spiders gchristensen ? :p
<gchristensen>
I do like spiders
<gchristensen>
I especially like to admire them from afar
<eyJhb>
What about up close?
<samueldr>
I feel most dislike the idea of spiders invading one's personal space; e.g. their pillow, their clothing, their mouth
<gchristensen>
I don't mind them much up close, but I don't particularly love them on me
<gchristensen>
samueldr: seems right
<eyJhb>
samueldr: I once got payback from a Spider...
<eyJhb>
Tried to kill it before bedtime because my now ex-girlfriend is NOT a fan. Ran under the bed, thought "fuck it".. Went to sleep, 5 minutes later it was crawling on my face
<eyJhb>
Luckily spiders in DK are small. I have no clue what it would be like to kill a spider that cannot fit into tissuepaper
<samueldr>
I think those places simply evolve bigger tissue paper
<__monty__>
I like them on me, that way you can get a much closer look. Always worry about squashing them though.
<eyJhb>
samueldr: "bigger tissue paper", dear God. But the feel of squashing something the side of your thumb, nope
<__monty__>
Wow, that's gorgeous.
<eyJhb>
gchristensen: also a hard nope from me :D
<samueldr>
I think those people simply evolve bigger thumbs
<samueldr>
;)
<eyJhb>
s/the side/the size/
<eyJhb>
So please don't! WOuld not enjoy
<gchristensen>
a few weeks ago I learned about Spider Twitter. a subculture of people who like and post pictures of spiders
<__monty__>
Nix-bundle looks awesome.
<joepie91>
eyJhb: I think my MySQL just worked, after copying /var/lib/mysql?
* joepie91
casts a suspicious glance
<joepie91>
this was too easy, what did I miss
<gchristensen>
you have such low expectations of one of the most operable DBMS ever.
<joepie91>
gchristensen: literally every single time I've tried to migrate a MySQL in the past, I ended up having to debug cryptic error messages for at least an hour :)
<gchristensen>
weird
<joepie91>
so my expectations have been... primed
<gchristensen>
I've done many thousands without trouble
<eyJhb>
gchristensen: the key is to have low expectations about everything
<joepie91>
also that
<joepie91>
anyway, I guess that the MySQL bit is done now then :P
<gchristensen>
lol
<joepie91>
time for FPM..
<eyJhb>
Then you are either 1. Not disappointed at all 2. In a constant state of disappointment
<kraem>
gchristensen: wow what a good shot of the spider!
<pie_>
basically missing functionality because of a phase override
<pie_>
not sure what to do about it architecturally speaking
<pie_>
either the original code got updated with additional stuff and it became out of sync, or th override was just not thorough
<pie_>
the way to avoid that is add more hooks/
<pie_>
?
<gchristensen>
#nixos-dev
<eyJhb>
Wait.. Is #nixos support, #nixos-chat is... misc, #nixos-dev is when one wants to work on Nix?
<gchristensen>
pretty much
<gchristensen>
though #nixos-dev may not be the appropriate place for "my first package" conversation
<eyJhb>
Curious, is there a actual owner of NixOS?
<gchristensen>
NixOS the name? NixOS the project?
<eyJhb>
THe project
<gchristensen>
I would say Eelco Dolstra and The NixOS Foundation owns it
<eyJhb>
Hmm, just never heard or seen him in the chat
<gchristensen>
you probabl yhave
<eyJhb>
gchristensen: nick?
<gchristensen>
niksnut
<eyJhb>
Hmm, not as I reacall. Is he active in #nixos?
<gchristensen>
not especially
<samueldr>
not much, but answers sometimes
<gchristensen>
he helps out here and there
<eyJhb>
Guessing with that many contributors, it isn't needed that much :p But yeah, dunno.
<gchristensen>
sure
<joepie91>
does anybody have an example of a *working* nginx + php-fpm setup? I'm just getting blank pages with nothing in the journalctl, even at debug log level
<joepie91>
by taking your SCRIPT_FILENAME approach
<joepie91>
still nothing in journalctl
<joepie91>
gchristensen: I've managed to make it slightly less broken. copied your fastcgi_params include, and now the 404 actually tells me "File not found." instead of being a blank page
<joepie91>
removed SCRIPT_FILENAME, and then I got a blank page 200 gain
<joepie91>
still nothing in logs
<gchristensen>
weird
<joepie91>
this should not be this hard to get working :/
<gchristensen>
makes me long for the simple days of mod_php
<gchristensen>
joepie91: try #nixos? maybe some proper support could help
<joepie91>
dunno, I tend to get better answers here :P
<gchristensen>
(yeah but it is off topic)
<joepie91>
or answers at all, really; questions often end up unanswered in #nixos in my experience, at least my questions
<joepie91>
so it seems that php-fpm just doesn't play nice with `alias`
<infinisil-m>
So I'm not reliant on my phone anymore for talking to all my contacts
<infinisil-m>
Aand, while giving matrx another go, I just discovered that the fractal client just released a new version yesterday :)
<infinisil-m>
Let's see if this new version has something neat
<infinisil-m>
(will make PR)
<infinisil-m>
I'll probably end up just using weechat though
<das_j>
infinisil-m: Yes you are
<das_j>
mautrix-whatsapp will behave like a whatsapp web client
<das_j>
which needs a phone (or an emulator if you get it to work)
<infinisil-m>
das_j: Yeah, would be cool if I could get the emulator working with a NixOS module
<infinisil-m>
My hopes aren't very high though
<das_j>
get a cheap 50€ phone and place it somewhere in wifi range
<kraem>
anyone running their browser in a docker container?
<infinisil-m>
das_j: Like, in wifi range next to the server that will be running mautrix-whatsapp?
<das_j>
<infinisil-m "das_j: Like, in wifi range next "> nah, it just needs to access the whatsapp servers. just put it into wifi range at home, give it power 24/7 and prevent android from killing the app
<das_j>
the mautrix <-> whatsapp traffic is relayed through whatsapp servers iirc
<infinisil-m>
Ah I see
<infinisil-m>
Yeah if the emulator is too screwy/finnicky that might be my best bet
<das_j>
try with a dummy phone number first
<das_j>
so it doesn't hurt when it gets banned
<das_j>
just get a SIM somewhere
<infinisil-m>
Why would it get banned?
<das_j>
I got some banned when using the whatsapp-python bridge (completely different project tho, it connects to the whatsapp servers and fakes being an old android phone)
<das_j>
I don't know what they'll do with emulated phones
<das_j>
I have 4GB just for synapse, postgres, coturn and the irc bridge
<das_j>
quoting dmesg: Out of memory: Kill process 28555 (.homeserver-wra) score 313 or sacrifice child
<gchristensen>
ouch
<infinisil-m>
Yeah I don't have that much to spare, especially not on my servers
<das_j>
it's a lot better if you don't federate with too many other matrix servers
<das_j>
but I'm in #matrix:matrix.org which is proabably one of the bigger channels
<das_j>
also, the devs recommend something like systemd.services.matrix-synapse.environment.LD_PRELOAD = "${pkgs.jemalloc}/lib/libjemalloc.so"; to make things slightly better
<das_j>
oh, that was what I was already thinking about
<infinisil-m>
I wonder why I need a homeserver for this though
<das_j>
because you need to bind the appservice (mautrix in this case) to it
<das_j>
basically, an appservice can just create dummy users and rooms
<joepie91>
infinisil-m: RFC 42 looks like a good idea btw
<das_j>
e.g. I text a bot `!join irc.freenode.net #nixos` and get invited into a room where all the users are as if they were on my server
<joepie91>
I've been annoyed by the non-composability of extraConfig for a while :P
das_j has quit [Remote host closed the connection]
<infinisil-m>
joepie91: Thanks :D
<infinisil-m>
das_j: I see, somewhat
<infinisil-m>
Oh, he gone
<joepie91>
infinisil-m: I'll give it a proper read and give feedback Some Time Soon(tm)
<joepie91>
for minimum-week-long values of Soon :p
das_j has joined #nixos-chat
<infinisil-m>
That would be great, I did make it much more comprehensible just a few days ago
<infinisil-m>
(imo at least)
<joepie91>
still need to review the flakes thread as well
<joepie91>
that RFC thread grew like mad in a span of a few days
<infinisil-m>
I don't think that's very good, the fact that the thread is already so long, it's kind of demotivating because everyone that wants to get into the discussion too now has to read through it
<joepie91>
infinisil-m: I suspect it'll get much longer, unfortunately
das_j has quit [Remote host closed the connection]
<joepie91>
flakes are an extremely useful tool; but that view is based on a premise that a significant amount of people (likely even within Nix circles) do not share
das_j has joined #nixos-chat
<joepie91>
so I doubt that the discussion will just be about the mechanics and implementation, it will likely also be about the foundational premise underlying it
<__monty__>
The problem is that github's comment model is terrible. There's no way to pick up where you left off.
<joepie91>
and that's always a recipe for lengthy threads :)
<infinisil-m>
joepie91: Most people seem to be using code-level comments though, so these can be hidden away when resolved at least
das_j has quit [Remote host closed the connection]
<joepie91>
I've only glanced at the comments so far, but I already noticed some amount of "why do we need this, nixpkgs is fine" sentiments
<__monty__>
infinisil-m: Haven't read RFC42 yet. Could you give a TLDR on how you'll be able to magically generate the right config syntax?
<joepie91>
infinisil-m: right, assuming that those comments do actually just pertain to the sections themselves and not to the broader topic, in which case a lot of relevant discussion will get hidden away
<infinisil>
__monty__: Only config formats that have an obvious mapping from Nix will be considered
das_j has joined #nixos-chat
<infinisil>
__monty__: And this config format is declared in the module that has the option for that
<infinisil>
joepie91: True..
<joepie91>
infinisil: anyhow, Nix flakes are arguably the most significant change to Nix since overlays and the Nix 2 UI
<joepie91>
so it's bound to generate some discussion at least
<__monty__>
infinisil: Why didn't you just try to sneak Dhall in as the common configuration language? : >
<joepie91>
(okay, technically overlays aren't a Nix thing, but still)
<__monty__>
Fwiw, flakes looks like a major improvement to me.
<infinisil>
__monty__: Hehe
<pie_>
joepie91: on the other hand i understand the guys process now
<pie_>
joepie91: FMLLLLL
<__monty__>
I'm holding off on writing something because I want to write it as a flake, rather than just an overlay.
<infinisil>
joepie91: Well, I wouldn't consider overlays a part of Nix itself, but rather nixpkgs. And I can't take the Nix 2 UI quite serious yet, because it has some problems, might still change, and doesn't have any proper docs
<pie_>
__monty__: might take a while then :P
<joepie91>
pie_: ah, that sounds like my periodic "spend 5 hours debugging an issue, only to end up at a FIXME that I left for myself 2 months ago that exactly describes what I just spent 5 hours rediscovering"
<pie_>
joepie91: /me sends joepie91 hugs
<joepie91>
(I need to grep for my FIXMEs more often)
<joepie91>
:)
<pie_>
joepie91: we are trying to automate away our brains and its not working
das_j has quit [Remote host closed the connection]
<joepie91>
infinisil: like I said, technically not part of Nix. but for all practical purposes, they are part of what people consider "Nix" :P
webster23_ has quit [Ping timeout: 264 seconds]
das_j has joined #nixos-chat
<infinisil>
True :)
<joepie91>
so I'm counting them in this context
<joepie91>
but yeah, tl;dr flakes are significant, it's important that we get them right
<joepie91>
the first time, if at all possible
<infinisil>
Yeah
<joepie91>
and diverging into personal opinion/prediction here: I think that the design of flakes will be the major factor in determining how and whether Nix(OS) will grow and become popular in the next few years
* gchristensen
too
<joepie91>
because with the right design, it allows 'permissionless' papering over issues by third parties
<joepie91>
in a way that doesn't require forever keeping compatibility
<pie_>
...arent those the knds of things you need more input for in the design phase? >.>
<pie_>
though having a working implementation to critique also seems good
<joepie91>
(basically the same reason why almost everything in JS is shipped as a separately versionable/replaceable library, rather than a single monolithic core, by design)
<joepie91>
pie_: well, that is why there is now an RFC thread :)
<pie_>
i was gonna say it cant be worse than email but you can do tree structures even with email
<joepie91>
if I can find the time, I may end up writing a summary of the thread, since I'm going to have to read it all anyway
<pie_>
id say maybe it should have been a whole new discourse catgory :P but everyone is on github right
<joepie91>
to hopefully increase accessibility of the thread
<pie_>
time to replace the nixcon hackday with everybody thing very hard about flakes day
<pie_>
or just all of nixcon
<pie_>
xD
<joepie91>
heh
<joepie91>
you could probably do a full 4-day event of that, yeah
<infinisil>
A weekly public meeting to discuss parts of the flakes proposal might be a cool idea
<gchristensen>
sounds like a great idea
<gchristensen>
we could start that not this next friday, but the one after that
<samueldr>
gchristensen: when's the next office hours?
<gchristensen>
planning on Friday :) (but Eelco is unavailable Friday, so probably not a good time to start it?)
<joepie91>
(aside: I'm happy to see that people generally recognize the importance of getting the design right :P that's a disappointingly uncommon thing...)
<samueldr>
the next one is not forced to be about flakes
<joepie91>
(in tech in general I mean, not specifically Nix)
<samueldr>
unless it means that the following one is going to be set later otherwise
<gchristensen>
samueldr: I kinda want to do them weekly
<gchristensen>
but was traveling this last week
<infinisil>
joepie91: Yeah agreed
<samueldr>
then we can do a non-flakes one to kink out the irons before the important one?
<infinisil>
I usually start out complicated projects by first thinking about them until I have a decent idea how to design it
<ashkitten>
i really dislike how github hides things in the middle of a thread behind "show more" and when you click that it only shows like 10 more replies
<infinisil>
(and then iterate over the design over time..)
<infinisil>
ashkitten: Yeah that's annoying..
<infinisil>
GitHub TUI when?
<infinisil>
They do have an extensive API after all :D
<gchristensen>
samueldr: sounds good. what should we talk about?
<{^_^}>
ValveSoftware/Proton#580 (by nstgc, 48 weeks ago, open): Final Fantasy 14 (39210)
<ashkitten>
489 comments
<samueldr>
not sure if there's still going to be qt things to talk about
<pie_>
oh i missed the first weekly :(
<pie_>
(or first few?)
<gchristensen>
samueldr: it could be cool to discuss the qt situation and how we got there
<samueldr>
first
<pie_>
noes~
<pie_>
how was the turnout
<gchristensen>
pie_: I (intentionally) scheduled it with very short notice. 26 people.
<pie_>
i missed the thread update or something
<samueldr>
gchristensen: we may want to figure out how to broadcast to yt beforehand though, so we have a fallback in case zoom, again, doesn't handle the recording
<pie_>
but i can see why youd do that
<pie_>
thats still quite a crowd
<gchristensen>
samueldr: a good idea. we could do some more testing. I have a spare laptop here I could use for restreaming or whatever..
<samueldr>
I have no idea if it was because it was moderated (was it?) or if it was our party that was well-behaved
<gchristensen>
it was not moderated
<samueldr>
but at no point it because a cacauphony of people talking over eachother
<pie_>
if everyone wants to speak for a minute half an hour is gone :D i wonder how big political meetings get anything done
<samueldr>
became a cacauphony*
<pie_>
samueldr: awesome
<gchristensen>
but I think it would be good to moderate it, using the Zoom "hand" feature -- to help let newbies feel comfortable talking
<gchristensen>
pie_: the obvious joke is they don't :)
<pie_>
gchristensen: ;)
<gchristensen>
samueldr: want to do a practice run sometime?
<samueldr>
that would be useful, I need to figure out my side for audio
<samueldr>
I didn't end up speaking because I couldn't test beforehand
<gchristensen>
oh ac
<samueldr>
I though it would do like hangouts, and give you a private moment to test your own audio
<samueldr>
I thought*
* gchristensen
can hear the voice of the skype test call now
<infinisil>
Why wasn't jitsi used btw?
<das_j>
"Hallo, Sie sind mit dem Skype-Testservice verbunden"
<samueldr>
users with experience with jitsi had bad experience with ocean-spanning discussions
<das_j>
what about matrix?
<das_j>
sorry
<samueldr>
(AFAIUI)
<das_j>
mumble
<samueldr>
no video, no display sharing
<das_j>
ah right
<samueldr>
and it's unknown about the ocean spanning issue; it may or may not be an issue
<das_j>
last time I used hangouts which was pretty okay
<averell>
they have a very low talking people limit i think
<das_j>
ummm
<das_j>
nextcloud talk?
<joepie91>
my experience with jitsi is that it's absolutely unpredictable as to whether it'll work
<joepie91>
jitsi proper, that is
<joepie91>
jitsi meet has worked fairly reliably for me (with students) for audio and webcam, less reliably with screensharing, in all cases the bitrate seemed super low
<joepie91>
that may have been students' internet connection, but still
<gchristensen>
smushing >30 people in to a single video call is hard on its own, mixing in multiple continents is a whole new level
<das_j>
from the website: Users can invite external chat participants with an URL into public rooms on the Nextcloud server.
<joepie91>
I've only tested Matrix a little, worked in that case for video/audio
<joepie91>
(with Riot)
<__monty__>
joepie91: Dutch students don't have uni provided network connection?
<joepie91>
__monty__: "students" in the tutoring sense
<joepie91>
none of them in NL actually
<__monty__>
Ah. For some reason I immediately assumed you were a prof, since that's usually how it goes in FP-ish channels.
<joepie91>
heh
<joepie91>
yeah, I can see where you're coming from
<joepie91>
I have some freelance work probably queued up for a university, but other than that I have nothing whatsoever to do with unis :P
<joepie91>
didn't even finish high school
<ashkitten>
matrix doesn't have video i thought? it can do voip if you host a TURN server but iirc it uses jitsi for video
<das_j>
ashkitten: I think it does
<ashkitten>
hmm
<ashkitten>
maybe that's changed recently
<joepie91>
I have no idea about the specifics :)
<ashkitten>
"recently" being since the last time i seriously looked at riot's features
<das_j>
yes, if I press the call button in the bottom right of the riot app, I can choose
<joepie91>
haven't gotten that far in reading the specs yet
<das_j>
now ajs124 gets some weird video call
<joepie91>
lol
<das_j>
well it works
<das_j>
he was not too happy about it
<joepie91>
das_j: you bridged here?
<das_j>
ofc
<joepie91>
odd, afaik it shouldn't allow calls in bridged rooms
<joepie91>
unless you're +o
<das_j>
no, we have a regular room
<joepie91>
oh
<das_j>
not over this one here
<ajs124>
joepie91: who doesn't bridge here? :P
<joepie91>
right :P
<joepie91>
well I dunno!
<ajs124>
(although mine is an XMPP bridge, not Matrix)
<joepie91>
I can't see which of you are bridging here
<joepie91>
as I'm on a different bridge lol
<ajs124>
lol
<__monty__>
Is this like a religious cult where everyone's the pope?
<joepie91>
lol
<joepie91>
that's one I haven't heard before
<ashkitten>
i'm the pope of myself
<samueldr>
I recognize only one pope
<samueldr>
tim
<samueldr>
(vim joke)
<das_j>
samueldr: oof
<das_j>
I think I might even have some book he wrote
<ashkitten>
there are some who call me.... tim
<das_j>
oh no I was searching for the book, now I have found an Ansible book and a Perl book
<das_j>
time to throw them out maybe
<samueldr>
das_j: perl might still be helpful within nixpkgs :)
<__monty__>
Hmm, sensing a pattern. Timsort was by a tim too.
<das_j>
samueldr: Yeah for porting away
<das_j>
I always shudder when I think about the Hydra code base
<joepie91>
in the context of nixpkgs, a Perl book is like a "this is how you survive the outback, these are the animals you need to run from" book
<__monty__>
Practical Vim's a great book but not by tpope.
<ashkitten>
i've written perl scripts before
<__monty__>
Is it perl 5 or 6?
<ajs124>
ashkitten: we've all sinned before
<pie_>
im a different kind of sinner
<ashkitten>
i learned some perl recently (in the past 2 years) to write a script to convert ascii art into a file i can include with nasm
<joepie91>
Perl 6 has some pretty interesting properties/features
<das_j>
__monty__: Right, but I think he wrote the foreword
<das_j>
ashkitten: Yeah, this is probably the only legitimate reason to use perl. It's the fastest thing you'll find for text transformations
<__monty__>
Let's all break out our rosaries, repeat after me: 10 Dear Dijkstra, I beg your forgiveness for I have written TI-basic and make use of the editor of the beast on a daily basis. GOTO 10
<das_j>
But writing something more complex is as good as trying to implement a http server in nix
<ashkitten>
my girlfriend rewrote that script in python when she implemented run-length encoding
<ashkitten>
das_j: i think one of my friends is writing a relational database in php
<__monty__>
o.O
<das_j>
ashkitten: A database or a client?
<aleph->
joepie91: Ugh packaging Perl stuff is always fun
<ashkitten>
database, i think
<aleph->
ashkitten: I had some horrifying thing I wrote in php
<das_j>
aleph-: Ever tried objective C?
<aleph->
I jes cannae remember what
<aleph->
das_j: Na
<das_j>
ashkitten: Everybody needs their own suffering
<aleph->
What was it I wrote...
<das_j>
aleph-: I have finished nix code but I cannot upstream the packages because they'd get rejected
<das_j>
probably
<ashkitten>
das_j: i think it's just the language she's most comfortable with, which is totally valid