<emily>
someone I know had a netflix account they didn't make registered with their email address; they just did password recovery and took over/closed the account
<emily>
in case it's that, might be easier than waiting on support.
<samueldr>
trying to log-in into a non-existing account creates one
<samueldr>
but closing a netflix account requires you to get in touch with support
<emily>
maybe it's their new sales strategy
<emily>
that automatic registration thing seems very silly
wildtrees has quit [Quit: Leaving]
<emily>
nix quiz: what's a way to write (unique (attrVals ["foo"] x)) that doesn't involve O(n^2) functions (it'll probably involve representing sets as { "${key}" = null; } I'm guessing)
<emily>
(no, the O(n^2) doesn't actually matter)
lovesegfault has quit [Quit: WeeChat 2.7.1]
<samueldr>
there are reasons to believe it's credential stuffing triggering their "frictionless registration flow", rather than them cold mailing people
<andi->
emily: my intuition says that would just be a fold on (a: b: a // { "${b}" = null; })
<andi->
but there might be better ways :)
<samueldr>
the main reason is that the initial e-mail nuding you to complete the registration has a kind of SKU that ends with a locale, including a country
<emily>
andi-: yeah i was hoping for something less gross
<samueldr>
from a random subset it seems they are common "bad proxies" locales
<emily>
honestly given that n is probably like, 100 at most, i'm not convinced the fold is actually going to outperform the unique
<emily>
we need a nix profiler, except we don't, because then we would see how horrifying nixpkgs evaluation is
<andi->
emily: we have that ;)
<andi->
you can tell nix to dump some stats
<andi->
NIX_SHOW_STATS and NIX_COUNT_CALLS and you can probably do -vvvvvvvvv and the usual flamegraph thing
lovesegfault has joined #nixos-chat
lovesegfault has quit [Ping timeout: 265 seconds]
lovesegfault has joined #nixos-chat
lovesegfault has quit [Quit: WeeChat 2.7.1]
Synthetica has quit [Quit: Connection closed for inactivity]
<infinisil>
(Only works with things that can be converted to contextfree strings though)
<emily>
infinisil: that's pretty good, guess it's probably the same as the naive fold
malSet has joined #nixos-chat
<infinisil>
listToAttrs is a builtin, so it should be a bit faster
drakonis has quit [Ping timeout: 258 seconds]
lovesegfault has joined #nixos-chat
<gchristensen>
oh no youtube ads have gotten past ublock origin
<samueldr>
mpv?
<lovesegfault>
gchristensen: no, really?
<gchristensen>
really really
<worldofpeace>
invidious?
<gchristensen>
I'll have to give that a try. I haven't yet because I'm not a fan of a random 3rd party having my data (I use youtube in a private window too)
<joepie91>
whoa, TIL: you can paste tables in GitHub's issue tracker textboxes
<joepie91>
and it'll convert them to markdown tables
<joepie91>
(accidentally discovered this while trying to quote something off a webpage that was in a table)
<joepie91>
gchristensen: you can selfhost invidious fwiw
<hexa->
gchristensen: how really? still not seeing them, probably due to umatrix?
<gchristensen>
could be that, could be that YT hasn't rolled it out to you yet
<hexa->
true
drakonis has joined #nixos-chat
<gchristensen>
joepie91: yeah, I'll have to do that. it hasn't been a high priority given my ... other... todo list...
<emily>
infinisil: would be nice to have this in lib but hard to think of a descriptive name for it
<emily>
it would be "uniqueHashable" except nix doesn't really expose that detail at all
<cole-h>
Oooh, it does zfs too? I'm even more interested
<cole-h>
I think the plan is -- when I switch to NixOS -- to have it use ZFS. If I'm lucky, zstd will be merged by then; if not, I'll be living on the edge (from source)
<cole-h>
But I'd also want luks2 (not luks1) and grub hasn't cut a new release since they merged luks2 support
<gchristensen>
sounds too bleeding edge for me :P
<cole-h>
Not enough blood. Muahaha!
<gchristensen>
I have enough things dying on me lol
<Taneb>
etu: is there a write-up on why it isn't anywhere that I can memorize? I try to avoid docker, which means I forgot why I don't likeit
<etu>
Taneb: Many people start their docker files with 'apt get update' which isn't a great start :D
<Taneb>
Heh, true
<adisbladis>
FROM ... < not reproducible
<adisbladis>
RUN apt-get update < not reproducible
<adisbladis>
And so on and so forth
<adisbladis>
I was honestly really confused the first time I was writing a Dockerfile about their caching strategy
<adisbladis>
Until I realised their entire strategy is stupid & doesn't even work
<leons>
"caching strategy"
<adisbladis>
leons: For the lack of a better term
<adisbladis>
In contrast I found the Nix model much easier to understand
<eyJhb>
adisbladis: the only way is to pin the FROM to a version of e.g. debian, and then build from source
<NinjaTrappeur>
+1
<eyJhb>
I wish I could use the Dockerfile syntax for NixOS
<leons>
adisbladis: The nix model is not particularly complicated or weird. For me, mapping the "user-view" (e.g. commands, nixpkgs) onto the abstract models was the hard part learning it.
<adisbladis>
eyJhb: Huh? What does "I wish I could use the Dockerfile syntax for NixOS" even mean?
<eyJhb>
FROM nixos ... something something ... packages ... done
<leons>
eyJhb: Technically, you could just write a derivation which just executes a bash builder, if you really wanted an ugly syntax ^^
<eyJhb>
leons: I basically want it to be "the same" as a normal Dockerfile, as I want to use it for my training platform :p
<eyJhb>
ANd I don't want to strive to much away
<leons>
eyJhb: So you still want to run on Docker, am I getting that right?
<eyJhb>
"run on Docker"? Like, I want everyone with docker installed to be able to build the image, yes :)
abathur has joined #nixos-chat
CRTified has quit [Quit: Gateway shutdown]
CRTified has joined #nixos-chat
myskran has joined #nixos-chat
abathur has quit [Ping timeout: 258 seconds]
<gchristensen>
do regular computer motherboards come with hardware watchdogs these days?
<gchristensen>
or maybe this is a processor feature (hi yes I am out of my depth)
<sphalerite>
Is there such a thing as a reasonably small power supply with multiple outputs (12V is a must, additional 5V (USB?) and 3.3V would make it even better)? It'd be really nice to have a single box powering my router, my modem, my IoT LAN gateway thingy, rather than having big fat plugs that each block more than one power socket because of their dimensions and needing a massive power strip because
<sphalerite>
of that
<gchristensen>
you could get a PC power supply and some molex adapters
<sphalerite>
that's a big old mess of wires though :/
<gchristensen>
you could get a power squid, whic hI assume they make for your plugs
<sphalerite>
oh neat, didn't know that was a thing. Not sure they exist in a european plug variant though
<samueldr>
pico-psu based setup for a smaller mess of wires
cole-h has quit [Quit: WeeChat 2.7.1]
cole-h has joined #nixos-chat
<cole-h>
Can someone ping me rq? Testing something
<cole-h>
srhb++
<{^_^}>
srhb's karma got increased to 83
<gchristensen>
cole-h
<cole-h>
gchristensen++
<{^_^}>
gchristensen's karma got increased to 219
<cole-h>
weechat notifications weren't working because I forgot to import the dbus env var :D
<gchristensen>
hehe
<ashkitten>
i wish weechat could connect to its own relays
<ashkitten>
so i could have weechat on my local system
slack1256 has joined #nixos-chat
waleee-cl has quit [Quit: Connection closed for inactivity]
Jackneill has quit [Remote host closed the connection]
lovesegfault has joined #nixos-chat
<ashkitten>
andi-: right, yeah. i wish i could do something to help that progress
<cole-h>
While that hasn't been fully realized yet, what is the best bouncer I can run locally? I've got a Rock64 laying around collecting dust I could probably put it on
<gchristensen>
weechat in tmux/screen on the bouncer
<andi->
ashkitten: I started writing rust bindings to the relay protocol a year ago... I wanted to build a GTK based messenger for my librem5.. luckily I still have plenty of time until that arrives... LOL
<gchristensen>
fire.gif
<cole-h>
gchristensen: Yeah, I've been running a screen+weechat systemd service until now
<ashkitten>
gchristensen: that's honestly not as good for my needs as a headless weechat with relay
endformationage has joined #nixos-chat
<cole-h>
But I suspend my computer when I head out (and thus logging stops)
<andi->
you know glowingbear?
<ashkitten>
there's no way to make it not mark things as read when i'm not looking at the buffer, for instance
<ashkitten>
yes, i use glowing-bear
<cole-h>
Used to use it, but I prefer weechat
<andi->
ashkitten: that is a feature I also want.. I want to *unsee* messages and have them in a list of things to look at *later*
<gchristensen>
cole-h: run it on a remote server and SSH to it
<ashkitten>
andi-: right, yeah
<cole-h>
No need to spin up my 100s of tabs for IRC with weechat :P
<andi->
also /remind me in 10m about foo
<andi->
I also want multi-screen weechat...
<andi->
And I should invest more in weechat layouts and triggers that change them
<andi->
so much chativity (like producitivity) to be gained :)
<cole-h>
gchristensen: Muh latency though
<andi->
mosh?
neeasade has joined #nixos-chat
<andi->
that usually removes the typing delay I perceive
<cole-h>
And also I ssh into my desktop from abroad for other things, no need to ssh out again just for IRC
<gchristensen>
yeah I've used IRC like that for ... wow ... 15 years
<andi->
I do the same.. my laptop is just a single terminal to connect to my workstation
<andi->
Gah, I have to mod my deskt to allow standing at it..
<__monty__>
My laptop is my irc box, which I ssh into with my desktops.
<samueldr>
andi-: just started doing that this week
<lovesegfault>
I am so deliriously happy that I got nouveau working
<lovesegfault>
I even tried to explain to my wife what this means
<andi->
samueldr: nice. I was thinking of checking IKEA for cheap hight adjustable table legs
<andi->
so far I just use the top row of screens as they are roughly the right hight when I am standing
<samueldr>
you're a big boi, first measure how high you need your desk to be, and it's recommended not to lift only the keyboard
<samueldr>
some standing desks may not lift high enough for you
<andi->
samueldr: yeah, I already have the regular desk some ~8cm higher then the usual people
<lovesegfault>
I went to a herman miller store this week
<lovesegfault>
and I sat on the most amazing chair ever
<samueldr>
also make sure you can adjust it trivially in the first few weeks
<andi->
I guess that adding some static offset to the height should be enough to compensate most issues
<lovesegfault>
now all I want is that chair
<lovesegfault>
I cannot describe how amazing a work chair it was
<andi->
I want it electric as otherwise I'll just not touch it :)
<samueldr>
ah, I did a DIY conversion to only-standing, not convertible
<samueldr>
I do have another desk right behind me to sit at
<andi->
I've been thinking of adding another desk next to this one for years.. Mostly to deal with paper work so it doesn't get in the way of the keyboards
drakonis has quit [Ping timeout: 240 seconds]
<gchristensen>
I have a desk like that, but it is a bit non-traditional
<andi->
The screens alone are probably like 30kg + whatever garbage I ave on the table
<andi->
so that makes it harder to find a right electrical leg(?)
<cransom>
garbage on the table is my problem.
<gchristensen>
cransom: my second desk would help you, too, then
<cole-h>
When your professor wants you to watch a 2.5 hour movie for a discussion posting
<andi->
gchristensen: is that 2nd desk a blackhole? :)
<cransom>
i have another desk/workspace behind me. also covered in garbage, though getting better. and by garbage, lots of random unfinished electrical projects and 3d printers.
<gchristensen>
andi-: pretty close, an old box I periodically empty in to a bag and take to the recycler
<andi->
That gets me to the whole scanning all the documents and no more paper topic... So much work to be done.. maybe something I could tackle this weekend
<gchristensen>
I have a mediocre script for that ..
<__monty__>
Ugh, I want to scan everything too but scanners are *so* slow...
<__monty__>
I don't trust myself to set up a decent camera setup *and* cleanup the resulting images though.