<clever>
samueldr: there was an incident in the retro community a while back, about a console being sold, that didnt mention it was just an arm box running an emulator
<clever>
samueldr: it game to light, because of a graphical bug in the emulator
<clever>
samueldr: cant find the link to the video though
<ashkitten>
introducing 20ver: it's like 0ver, but instead of making point releases you just make an initial release (version 20) and call it stable as you make major updates to master for the next 10 years! makes things really easy for debian packagers!
<eyJhb>
Sounds like a fantastic idea!
xd1le has joined #nixos-chat
<Taneb>
ashkitten: reflection makes it easier for me to see what I'm doing when I try to comb my hair
cocreature has quit [Ping timeout: 264 seconds]
<adisbladis>
ashkitten: I happen to know a bit about that :) The firefox network detection code is far less trusting in external services than the chrom(e|ium) one.
<adisbladis>
It's not just listening to dbus events from networkmanager and the like, it's doing some actual probing iirc
<adisbladis>
At least that's what I remember from an IRC discussion a few years back
<infinisil>
Huh neat, since the last update i did on my desktop, the audio output doesn't get this "ungrounded noise" when it's in standby
<infinisil>
No idea what caused this, maybe intel microcode update? It's really nice
<ivan>
it's probably random :-)
<ivan>
give it a month to go through different states and battery levels
<infinisil>
Is a desktop, no battery, but I guess I'll keep an eye out
<infinisil>
s/eye/ear
<infinisil>
(Kinda totally doesn't seem random though)
<infinisil>
I guess i could rollback to find out
Jackneill has quit [Ping timeout: 240 seconds]
<infinisil>
Oh except e.g. microcode won't be downgraded like that
Jackneill has joined #nixos-chat
<adisbladis>
infinisil: When did you do the last update before that? Pulseaudio was also upgraded recently.
<infinisil>
adisbladis: Did my last nixpkgs update about 2 weeks ago, from 2436c27541b2f52deea3a4c1691216a02152e729 to f35f0880f2cdbc8c1bc81492811251f120d7a9bc
<infinisil>
Hm yeah the 12.2 -> 13.0 update was in there
<eyJhb>
adisbladis: sadly many sites rely on just doing `include($_GET["page"]);`.....
<adisbladis>
eyJhb: I have this policy of not deploying anything PHP for myself.. I think it's a good policy.
<eyJhb>
I generally don't really deploy PHP anymore, I only maintain what I have. And at least that doesn't function in that weird way, and actually does prepared statements
<eyJhb>
A funny thing I saw as well, was somebody had something like `$id = mysqli_real_escape_string($link, $_GET["id"]); .... $query = "SELECT * FROM ... WHERE id = $id"` :D
<eyJhb>
If you are not going to put quotes around your params, then I don't need to escape anything
<eyJhb>
(these examples are BOTH from the same website, I saw the escape thingy by reading the source. Full pwn)
drakonis has joined #nixos-chat
vika_nezrimaya has joined #nixos-chat
endformationage has joined #nixos-chat
wild_willy has joined #nixos-chat
wild_willy has quit [Remote host closed the connection]
<Taneb>
At the risk of being dangerously on-topic, I really like nix-deploy
waleee-cl has joined #nixos-chat
drakonis has quit [Quit: WeeChat 2.6]
<red[m]>
careful there Taneb - that kinda talk can get you in trouble in these parts
* red[m]
looks up nix-deploy
Synthetica has quit [Quit: Connection closed for inactivity]
<gchristensen>
dang, this airline's wifi blocks and bills udp correctly
<samueldr>
dang!
<averell>
icmp?
<ashkitten>
adisbladis: oh interesting about firefox
<adisbladis>
I remember the dev that wrote that code was bitching about how hard network detection actually is :)
<ashkitten>
heh
<ashkitten>
i figured chrome was probably just failing any connections whenever it got an event, while the actual connection was stable - just not networkmanager
<ar>
gchristensen: and what about icmp?
<gchristensen>
I haven't tried it, and probably won't on this one since the cost per MB is so large
<adisbladis>
gchristensen: Back in the US? :)
<gchristensen>
another 3.5h before landing
<adisbladis>
Oh
<adisbladis>
I'm still not used to this world where we have internet on planes..
<Church->
Alright
<Church->
Guess I need to package kiwix-tools
<Church->
And write a service for kiwix-serve
<Church->
That'll be great to have finally
<gchristensen>
oh amazing, havingthe "how much data left?" web page open uses 1.25kb every 30s
<waleee-cl>
yeah, live updates on that is super important
vika_nezrimaya has quit [Ping timeout: 265 seconds]
tokudan has quit [Quit: Dunno.]
tokudan has joined #nixos-chat
pie_ has joined #nixos-chat
<eyJhb>
Didn't know that Gitlab shipped mugs if you contribute with a PR, that's cool!
<samueldr>
not as cool as nixcon mugs
<eyJhb>
samueldr: don't rub it in :(
* eyJhb
accepting NixCon mugs
<samueldr>
not so great for rubbing actions
<eyJhb>
Tried it?
<samueldr>
tried similar mugs
<eyJhb>
So 1 to 10, how would you rate it on 1 being bad, 10 being good?
<eyJhb>
5 being okay
<MichaelRaskin>
Friendly: contribute PR, a mug is offered. Aggressive: you cannot contribute PR without a shipping address provided. Creepy: ontribute PR anonymously, a mug gets shipped to your home address no questions needed
<LnL>
lol
<gchristensen>
very creepy: a mug arrives the day before you submit the PR
<eyJhb>
sci-fi: a mug spawns once you submits a PR (?)
<samueldr>
dada: you are the mug, writing a PR
<gchristensen>
I guess s/very creepy/minority report/
<MichaelRaskin>
Amazon: between the time you commit and the time your push, a drone with a mug knocks on the window
<gchristensen>
samueldr: nice
<eyJhb>
gchristensen: when will NixOS ship mugs for PRs? :D
<gchristensen>
I think we'll need more budget
<eyJhb>
What about paint then?
<eyJhb>
DIY mugs
<eyJhb>
The Linux way
<cransom>
at nixpkgs volume, i'd expect a dixie cup with sharpie scrawl.
<gchristensen>
lol
<eyJhb>
How many newcomers do we have?
<eyJhb>
Just first PRs :D
<eyJhb>
Or first 10 prs :p
<MichaelRaskin>
First approval-as-a-maintainer of someone else's PR against one's package?
<gchristensen>
very affordable
<gchristensen>
as an aside, it would be nice if airplanes were faster
<eyJhb>
I will never get that MichaelRaskin :p
<eyJhb>
Have you told the pilot to speed up gchristensen ?
<gchristensen>
I tried, but he said it isn't a concorde
<MichaelRaskin>
Also, «if passengers swwitch places there will be balance issues» might mean there are already balance issues because of badly loaded cargo
<gchristensen>
maybe but also aer lingus is particularly paranoid
<gchristensen>
they won't let you hold a pillow during take-off
<MichaelRaskin>
Have you ever flown El Al?
<gchristensen>
no
<gchristensen>
is it especially dso?lu
<gchristensen>
any interesting man pages I should read? I'm out of reading material and bored with 2h left in my flight
<MichaelRaskin>
El Al is Israel's flag carrier
psyanticy has quit [Quit: Connection closed for inactivity]
<MichaelRaskin>
Entire man bash?
<gchristensen>
already ready it :P
<gchristensen>
could read it again, but I'drather not pick up more tricks
<eyJhb>
Me and 3d rendering is fun, hit the wrong axis, so instead of my model going "up" it went "backwards", so I had a really flat/stretched sphere. Hard to describe how weird it looks
<red[m]>
even if you don't understand the language it's written in
<red[m]>
(which is why I chose it)
<leons>
red: I like the rather mathematical representation of code which immutability and functional programming kind of forces you to write. It helps me describe the algorithm's functionality without focusing to much on implementation details
<leons>
Requires you to have a good compiler though, if you want your code to run at reasonable speed :/
<red[m]>
I don't have a heavy math / algorithm background... I just like that it makes it easier to reason about code.
<red[m]>
I'm the simple type :-)
<leons>
Me neither. But basically, algorithm is AFAIK a broadly defined term, so I'd say my statement applies to all code, whereas mathematical algorithms are just a good example
<leons>
tl;dr: Functional Programming FTW
<red[m]>
indeedy
<MichaelRaskin>
Oh well, multi-paradigm is the only way to preserve sanity
<gchristensen>
MichaelRaskin++
<{^_^}>
MichaelRaskin's karma got increased to 15
<MichaelRaskin>
(Saying as someone who has recently written an imperative-mutation-based pure existence proof in a completely theoretical article)
<red[m]>
multi-paradigm is awesome for those with self-discipline.
<red[m]>
(which would not be me) <3
tokudan has quit [Quit: Dunno.]
tokudan has joined #nixos-chat
<gchristensen>
see y'all
<red[m]>
later
<red[m]>
Umm, did I miss Nix Friday today?
<red[m]>
Google Calendar tells me it's now, but when I look at the associated text it appears to be in a different timezone
<red[m]>
oh yeah - there's the video 6 hours ago
<red[m]>
sigh
<samueldr>
nix friday, but not nix office hours, if it matters to you
<red[m]>
As odd as it sounds, I've been using nixos for a number of years now... but until a month or two ago I'd been very 'superficial' with the use / knowledge of it. I'm wanting to get deeper so I'm consuming as much as I can.
<cransom>
i noticed today one of my longest, least messed with machines has stateVersion 15.09.
<Church->
Hmm, well this is fun building this package.
<kraem>
are people adjusting the niceness of X? should one renice the Xorg server in the case of always letting the UI run with the highest priority?
<samueldr>
niceness on some distros, including nixos, may do nothing as expected :)
<kraem>
samueldr: that flew over my head haha - but the gist is i can't make the gui have highest priority?
<samueldr>
not that way at the very least
<samueldr>
well, maybe what tilpner said
<samueldr>
I haven't explored the subject further
<samueldr>
just know that it might not do what is expected
<kraem>
tilpner: wouldn't that be for the daemon only? not that one is building a lot of stuff outside the daemon that disturbs the nix daemon i guess
<kraem>
disturbs gui*
<tilpner>
Isn't that what you meant?
<tilpner>
Setting systemd.services.display-manager.serviceConfig.Nice should "renice the Xorg server", as you put it
<tilpner>
Your login manager will be caught as well
<kraem>
ah thanks! now i understand
<tilpner>
Though don't expect too much
<tilpner>
Your actual DE/WM runs outside that service, so that part will not run much/any better
<kraem>
i haven't looked at the process tree explicitly before.. i thought all processes i started through the wm were children of the display manager. all processes but X and i3 seem to be directly under systemd?
<infinisil>
tilpner: Isn't is a subprocess of it?
<tilpner>
infinisil: No, at least is started on user login, whereas X runs before and without user login
<tilpner>
*at least i3 is
<tilpner>
And that's not a good explanation
<tilpner>
Uhm, it's in the user slices
<kraem>
i3 seems to be under the display manager though?
<tilpner>
Huh, where did you find that?
<kraem>
htop
<infinisil>
Yeah my xmonad is also under the process tree of the DM, in parallel to X
<tilpner>
Yes, here too
<tilpner>
But not in systemctl status
<tilpner>
systemctl status display-manager lists sddm and X, but not i3
<tilpner>
While systemctl status user-1000.slice lists i3
<ashkitten>
hmmmmm
<ashkitten>
time to set up nextcloud
<kraem>
that made matters even more complex.. i thought the dm forked and started the wm?
<kraem>
does that mean i can kill the i3 process and the processes i started within it would still live?
<infinisil>
tilpner: Hm I see..
<ashkitten>
where is the admin pass file recommended to be set?
<tilpner>
infinisil: I could be wrong!
vika_nezrimaya has joined #nixos-chat
<red[m]>
infinisil: and I run my own homeserver too
<infinisil>
Ah nice, how much RAM do you need for that?
<red[m]>
lemme check
<red[m]>
one moment
<red[m]>
18.8% of my 4G which sounds a bit heavy
<red[m]>
I'm not sure I believe it
<red[m]>
or if I do - I need to write a better, more efficient homeserver
<red[m]>
yeah - pmap claims 1.8G - looking for the bloat
<red[m]>
maybe it's configurable
<infinisil>
red[m]: That's synapse?
<infinisil>
Or not?
<red[m]>
yes
<red[m]>
and I'm using the nixos module to configure it
drakonis has joined #nixos-chat
<red[m]>
Going to re-start it to see if it drops the memory usage so I'm about to drop and rejoin
<red[m]>
one sec
<red[m]>
okay
<red[m]>
sure enough - after restart it drops heavily
<infinisil>
Hm I see, I've thought about running my own too, maybe I could do it
<infinisil>
With some swap
<infinisil>
On my tiny VPS
<red[m]>
you also nneed to run either a database or sqlite
<red[m]>
yeah
<red[m]>
it's mainly just for caching messages when you drop offline
<red[m]>
it's configurable I think how much history you store
<clever>
infinisil: the bot may track more karma if it treated this as a ++
<red[m]>
excellent!
<red[m]>
oh - was I the only person who moved channels? doh
<infinisil>
clever: What do you mean?
<clever>
infinisil: {^_^} should treat that as a ++ for both infinisil and clever
<infinisil>
Ahh
<infinisil>
red[m]: You didn't rejoin in freenode anyways
<infinisil>
clever: Not sure if that's something to want
<infinisil>
I'll consider it though
<red[m]>
infinisil: I think the reason for that is because I'm using the irc bridge on matrix.org instead of running it locally. (It's written in javascript and I don't do server-side js if I can help it)
<red[m]>
So that connection from matrix<->irc probably stayed up while the connection from my home server to matrix.org dropped