gchristensen changed the topic of #nixos-chat to: NixOS but much less topical || https://logs.nix.samueldr.com/nixos-chat
<samueldr> planet computer phones, at the very least the latest one, might be requesting OTA updates in the most insecure ways
<gchristensen> oooh
<aleph-> Alright, think I'm saying fsck it and just using home manager for my weechat configs.
<infinisil> aleph-: Like for all the config files??
<aleph-> infinisil: Well for plugins.conf, irc.conf and weechat.conf
<aleph-> infinisil: Why what did you think I meant?
drakonis has joined #nixos-chat
evanjs has quit [Quit: ZNC 1.7.4 - https://znc.in]
evanjs has joined #nixos-chat
evanjs has quit [Quit: ZNC 1.7.4 - https://znc.in]
evanjs has joined #nixos-chat
endformationage has quit [Ping timeout: 240 seconds]
<ashkitten> samueldr: eep
<samueldr> that's the right sound to make
<ashkitten> i'm about to get one of those (whenever they actually end up locking the contribution)
<samueldr> weird, considering the twitterer I linked to contributed to the kickstarter
<samueldr> though hopefully only because they contributed earlier?
<ashkitten> i assume it's because of my keyboard layout
<ashkitten> (dvorak)
<samueldr> ah, now you had to make it harder on yourself ;)
<ashkitten> the option was there
<ashkitten> i'm concerned about this updater tho
<samueldr> I would, and wouldn't, at the same time
<ashkitten> it's probably not a huge target, but...
<samueldr> I think it's likely to not be planet computer's updater, but whatever comes in the mediatek BSP
<ashkitten> yeah
<samueldr> what is important to follow is their response to the thing
<ashkitten> please keep me updated if you see anything more on this
<aleph-> Hmm, wonder what the easiest way to move my mates off WhatsApp is. Seems there's no good interop clients.
<aleph-> Reminds me, should try dvorak
<samueldr> I'm not specifically following up on the issue though, and not sure whether the twitter user has reported it in a more official manner
<ashkitten> yeah
<samueldr> though I sure will try to remember
<ashkitten> i'd follow the twitter user but i uh, don't use twitter
evanjs has quit [Quit: ZNC 1.7.4 - https://znc.in]
evanjs has joined #nixos-chat
drakonis has quit [Quit: WeeChat 2.6]
<infinisil> aleph-: Well there's like a config file for every plugin, would be annoying to assign them manually each
etu has quit [Ping timeout: 276 seconds]
emily has quit [Ping timeout: 276 seconds]
yorick has quit [Ping timeout: 276 seconds]
yorick has joined #nixos-chat
trinityhex has quit [Ping timeout: 240 seconds]
<steveeJ> is there anything upstream which helps rendering `000000...` hashes as a per-processing step? I wrote https://gitlab.com/steveeJ/infra/blob/23a043f33f2976505cf14f4404894d0ec8ccb1aa/nix/scripts/pre-eval-fixed.sh and I'm curious if I can get rid of it somehow
<samueldr> and, undocumented in the README still, it should work using `-E` https://github.com/samueldr/nix-universal-prefetch/commit/829e7d56510af144ed4c000d378355a0ebae6072
<steveeJ> I wonder if those patterns work for my use-case. I forgot what the error message looks like for the vcsh expression :-D
<steveeJ> samueldr: do you have an example of how to use `nix-universal-prefetch`?
<samueldr> not really
<samueldr> only what's in the README; never ended up using it
<samueldr> looks about right
<samueldr> I wasn't sure it would fit the bill for all your needs though
<samueldr> why I said "maybe" :)
<samueldr> anyways, I'm off
<steveeJ> that line is my only need at the moment ;) thanks for suggesting it!
__monty__ has joined #nixos-chat
emily has joined #nixos-chat
waleee-cl has joined #nixos-chat
<MichaelRaskin> I wonder what is the acceptable time period to remind of a shpherding nomination if a specially relevant nominee neither accepts nor refuses
<MichaelRaskin> samueldr: I guess a benefit of my picking Russian keyboard is that I have a chance to get a device with the most glaring bugs pre-firmware-updated
etu has joined #nixos-chat
<MichaelRaskin> ashkitten: I have some scripts to subscribe to twitter feeds without having twitter, want a copy?
<etu> hmm, I've heard that nix is the best language for AOC.
<__monty__> You maniac!
<etu> :D
<etu> AOC is a good oppurtunity to challange yourself with languages and stuff, and I thought why not? :D
<MichaelRaskin> If you solve the entire AOC, consider writing an RFC «recognising that Nix _is_ a purely functional general computation language, whatever the origin story»
<MichaelRaskin> (I guess you would have 4 months to write the RFC…)
<MichaelRaskin> (No, sorry, 3 months)
<etu> MichaelRaskin: I'm probably not going to keep it up, I never do :)
<MichaelRaskin> You could try switching languages every day, for more fun
<__monty__> Yeah, difficulty ramps up *real* fast.
<__monty__> Just becomes a lack of time thing.
<joepie91> pics of new house!
<__monty__> What's up with the camera filming a display effect with the doors?
<joepie91> __monty__: in https://i.imgur.com/zrifjPb.jpg you mean?
<__monty__> Yah, that's the one : )
<joepie91> __monty__: reflective glass, and opposing front doors :)
<joepie91> the third door is actually my front door as seen from the outside
<joepie91> reflected in the neighbours' front door
<__monty__> Looks pretty good, not a very roomy shower though.
<joepie91> yeah, standard shower tray
<joepie91> bleh, I don't want to go back to $oldHouse
<joepie91> but I have to...
<__monty__> This cannot possibly be the clearest way of describing myers diff in pseudocode? 20+ indices? https://blog.robertelder.org/diff-algorithm/
<pie_> lol
<__monty__> Had high hopes for the interactive visualization...
<aleph-> joepie91: Nice, nice!
<aleph-> How was the move?
<MichaelRaskin> Apparently not finished
rardiol has quit [Ping timeout: 265 seconds]
<joepie91> aleph-: haven't moved yet :D
<joepie91> proper move is 14/15 dec
<joepie91> just been accumulating some furniture/appliances so far
<aleph-> Gotcha gotcha
<aleph-> Where as I'm trying to pare down stuff
<aleph-> Living in 250~ sqft
<joepie91> oh yeah same for me, just not furniture
<joepie91> I was missing a couch for example
<joepie91> and a replacement was long overdue for my fridge
<aleph-> Nod
<joepie91> got a 10 year old Bosch fridge/freezer combo in good state (just some missing shelves) for 30 EUR
<joepie91> not sure I ever could've found a better deal than that lol
<aleph-> Nice
<aleph-> I just subsist on nutrient paste
<joepie91> lol
<__monty__> MichaelRaskin: May I ask what DVCS that's not git you prefer?
<MichaelRaskin> __monty__: Monotone
<MichaelRaskin> But it is mostly dead now
<infinisil> Is there some dead simple cli utility that can be used to display a timer for a talk?
<__monty__> Timer or clock?
<MichaelRaskin> I think I always decided it is easier to write a shell loop than to investigate
<infinisil> __monty__: One that starts from 0 and counts up
<infinisil> So I know how long I'm going for
<infinisil> MichaelRaskin: I'm just writing one too but I feel a bit stupid doing that when there's probably much nicer options
<infinisil> I'd be fine with a graphical one too
<__monty__> There's activity trackers like toggl.
<__monty__> But I'm sure there's simpler options.
<MichaelRaskin> watch --interval 0.5 "echo \$((\$(date +%s) - $(date +%s)))"
<MichaelRaskin> And I guess in a terminal with a large enough font
<infinisil> That doesn't display minutes
<MichaelRaskin> Think decimal!
<MichaelRaskin> watch --interval 0.5 "a=\$((\$(date +%s) - $(date +%s))); printf "%02d:%02d" \$((a/60)) \$((a%60))"
<LnL> a colleague of mine has some pandoc slide templates with a counter on them, but not sure how they are implemented
<__monty__> infinisil: kronometer, haskellPackages.stopwatch and termdown are packaged : )
<infinisil> Ah nice, I'll check those out!
<infinisil> Well, stopwatch is a haskell library, not an executable
<MichaelRaskin> Ahahah
<MichaelRaskin> watch --interval 0.5 "date --date '$(date +%s) seconds ago' | cut -d ' ' -f 5"
<infinisil> kronometer is nice though
<infinisil> Well not nice, but it could work
<MichaelRaskin> Well
<MichaelRaskin> watch --interval 0.5 "TZ= date --date '$(date +%s) seconds ago' | cut -d ' ' -f 5"
<infinisil> MichaelRaskin: Haha
<infinisil> Nice
<infinisil> Let's use + to specify the format
<MichaelRaskin> watch --interval 0.5 "TZ= date +%M:%S --date '$(date +%s) seconds ago'"
<MichaelRaskin> Indeed a bit shorter
<MichaelRaskin> termdown doesn't start for me
<infinisil> watch --interval 0.5 "date --date '$(date +%s) sec ago UTC' +%M:%S | figlet -W -f big"
<infinisil> Some figlet action, though just increasing the terminal font is probably nicer
<infinisil> Alright I think I'll just use `watch -t --interval 0.5 "date --date '$(date +%s) sec ago UTC' +%M:%S"`
<infinisil> (added -t to watch to not have a title)
<MichaelRaskin> Figlet is meh
<infinisil> Yeah it's not great
<__monty__> It's great if you want that 90s ascii esthetic.
<MichaelRaskin> urxvt -fn 'xft:mono:pixelsize=512' -e watch -t --interval 0.5 "date --date '$(date +%s) sec ago UTC' +%M:%S"
<__monty__> Just not great if you want large readable text.
<MichaelRaskin> Now we need to package it in Nixpkgs, because we can
<MichaelRaskin> And then doing things properly makes it into a hello package.
<infinisil> I was just looking for a way to easily pass the font size to alacritty
<infinisil> MichaelRaskin: That white cursor is just a bit annoying however
<MichaelRaskin> infinisil: -cr
<MichaelRaskin> (for urxvt)
<infinisil> Not using urxvt
<infinisil> Though I guess I could just for this
<MichaelRaskin> Wait, does alacritty actually lack independent configuration for cursor??
<infinisil> You can set it through a config file, which I could pass through the cli
<infinisil> I think you can configure the cursor at least, haven't checked
endformationage has joined #nixos-chat
* aanderse runs the bi-annual garbage collection
<MichaelRaskin> aanderse: an physical-space one?
<aanderse> yeah my desktop which i use for development, hosting nixops for a few machines, etc...
<infinisil> MichaelRaskin: Here's a when2meet event: https://www.when2meet.com/?8456249-OYPxL
<infinisil> I can't enter a time just like that, I think it wants me to make up a name/password
<infinisil> Ah, I guess password is optional
<MichaelRaskin> Yep
<infinisil> Oh wow, once entered, that's a really nice way to enter times
<aanderse> can someone tell me what i need to do to make this attribute set of packages available in the binary cache? https://github.com/NixOS/nixpkgs/blob/a8e9a308c2b14e961c97202fdafe36d31b96277d/pkgs/top-level/all-packages.nix#L15728
<infinisil> Okay I'll have to use this in the future
<MichaelRaskin> And I guess as _event creator_ you just allow everything, then as a participant mark your acceptable times in the UI
<infinisil> Yeah
drakonis has joined #nixos-chat
<__monty__> infinisil: What's so nice about it?
<infinisil> __monty__: Try it out
<MichaelRaskin> __monty__: everything is in ranges
<infinisil> ^^
<MichaelRaskin> So good granularity and marking large chunks are compatible
<infinisil> You can select Monday through Wednesday each day from 10 to 16 in one swoop
<__monty__> Ah, I see. (Thought this was an official event so didn't want to mess around.)
<__monty__> Might not be very mobile friendly though.
<__monty__> My narrow browser already hid part of the selection area, overlaying it with the availability of others.
<infinisil> Yeah this really doesn't work well
<__monty__> Too bad.
<infinisil> It cuts off half of it with no way to scroll even
drakonis has quit [Quit: WeeChat 2.6]
yorick has quit [*.net *.split]
savanni has quit [*.net *.split]
tilpner has quit [*.net *.split]
monsieurp has quit [*.net *.split]
lassulus has quit [*.net *.split]
vesper11 has quit [*.net *.split]
atlas_ has quit [*.net *.split]
hexa- has quit [*.net *.split]
Remosi has quit [*.net *.split]
ctp has quit [*.net *.split]
kgz has quit [*.net *.split]
aria has quit [*.net *.split]
sdier has quit [*.net *.split]
fpletz has quit [*.net *.split]
lucus16 has quit [*.net *.split]
fuzen has quit [*.net *.split]
johanot has quit [*.net *.split]
davidtwco has quit [*.net *.split]
vdemeester has quit [*.net *.split]
tazjin has quit [*.net *.split]
zimbatm has quit [*.net *.split]
tilpner has joined #nixos-chat
davidtwco has joined #nixos-chat
vdemeester has joined #nixos-chat
hexa- has joined #nixos-chat
zimbatm has joined #nixos-chat
johanot has joined #nixos-chat
fpletz has joined #nixos-chat
savanni has joined #nixos-chat
monsieurp has joined #nixos-chat
sdier has joined #nixos-chat
fuzen has joined #nixos-chat
ctp has joined #nixos-chat
vesper11 has joined #nixos-chat
lassulus has joined #nixos-chat
atlas_ has joined #nixos-chat
Remosi has joined #nixos-chat
tazjin has joined #nixos-chat
aria has joined #nixos-chat
yorick has joined #nixos-chat
kgz has joined #nixos-chat
lucus16 has joined #nixos-chat
hexa- has quit [Max SendQ exceeded]
kgz has quit [Max SendQ exceeded]
hexa- has joined #nixos-chat
<samueldr> what's a good linux binary diffing tool?
<samueldr> I've been managing correctly using xxd and diffing the output for a while, but obviously that only works for data the same length
<MichaelRaskin> bsdiff maybe?
<samueldr> I have tried about none, so I'm open for all suggestions :)
<samueldr> ah, bsdiff is for creating a binary patch, interesting but not what I need
<joepie91> bindiff?
<joepie91> wait, not sure if I'm thinking of the right thing
<joepie91> yeah, definitely not
<samueldr> just in case, I want to see the diff, and a harder thing is that it shouldn't compare byte for byte, if posible, but more spans by spans... though thinking about it that's likely not really a possibility with offsets and such
<joepie91> not sure what I've used in the past then...
<samueldr> there's vbindiff that is acceptable
<samueldr> but basic
<samueldr> though now thinking it's likely not what I want... it probably needs a bit more smarts like a real decompiler
<samueldr> I'm not dealing with structures of equal sizes
<MichaelRaskin> Well, actually a text diff on xxd with one-byte-per-line output should be close enough
<samueldr> unwieldy :) but you're right
<MichaelRaskin> Well, then it should not be that hard to collapse…
<samueldr> I'm having an unfun time where I don't have UART access and need to try and understand why a kernel image doesn't boot on a phone :/
<MichaelRaskin> Ouch
<MichaelRaskin> I hope the phone loader doesn't do anything malicious, like signature checking
<samueldr> the good thing is I know it works on unsigned kernel
<samueldr> verified with a community-built kernel
<samueldr> and it is a standard ABL bootloader, with unlock available and all
<samueldr> so I at least have two different enough things that are verified as working
<samueldr> and verified a part of the build is reproducibly building
<samueldr> though there are definitely observable facts, like how ABL doesn't even continue to the kernel, it "boots" it, and falls back to a fastboot mode without the menu options
<samueldr> issue I had at one point with one device, but AFAICT it's the same symptom, different issue as the solution here is already applied
<samueldr> (for the previous device, a xiaomi phone, the solution was to RTFM, and see how it explained how to build the DTB in)
<samueldr> hmm... this makes me think... good rubber ducking peeps
lopsided98 has left #nixos-chat [#nixos-chat]
lopsided98 has joined #nixos-chat
drakonis has joined #nixos-chat
<samueldr> heh... I never actually verified it did the thing, only verified it was configured to do the thing
kgz has joined #nixos-chat
waleee-cl has quit [Quit: Connection closed for inactivity]
<ashkitten> joepie91: grats on house!
<ashkitten> we just got a couch from ikea
<joepie91> thanks :D
<ashkitten> it's been 8 months since i moved in and we haven't had a couch the whole time
<joepie91> ashkitten: I got an old one from my parents
<joepie91> they carted it in this morning
<joepie91> before we went to pick up the new fridge
<ashkitten> nice
<joepie91> well I say 'new', but it's 10 years old and cost 30 EUR :P
<joepie91> Bosch though, and in good state, so who cares
<joepie91> still a steal
<joepie91> the Real Move(tm) starts on dec 14
<ashkitten> as long as it's not like the couch i had at my old place, which was made of fake leather so bad that after i covered it with a sheet to make it stop sticking to things, it started to seep into the sheet and turn it brown
<joepie91> anyway, unrelated notes: a nearly-8k-tab window in Firefox takes about 91 (slowly counted, so probably more) seconds to close on my computer, and after that consumes all 6 CPU cores for a minute before finally being really truly done
<joepie91> ashkitten: ha, na, this is an ektorp
<ashkitten> this ikea couch is not my optimal texture or color at all, and it has seams in places i wish it didn't, but it is in fact a couch
<joepie91> lol
<ashkitten> and it only cost like $700 i think? and we can buy more parts to make it bigger later
<ashkitten> couches are so expensive
<ashkitten> why are they so expensive
<etu> well... :)
<etu> they don't have to be
<joepie91> cheap, from this century, clean, pick 2
<etu> I bought mine second hand, one year old, seemed hardly used on inspection for 1500sek
<samueldr> wow 700? if we apply the usual tech devices / games markup that's like 1100$CAD
<joepie91> lol
<ashkitten> idk how expensive exactly
<ashkitten> gf handles all the money
<samueldr> that's an entirely plausible price
<ashkitten> we also had to get it delivered because we don't have a car
<joepie91> ashkitten: is your couch an ektorp by any chance
<ashkitten> it's uh
<samueldr> that's... quite _a_ look
<joepie91> lol yeah I love the film grain
<etu> joepie91: wow, such... weird image :D
<ashkitten> valentuna
<joepie91> that was applied at 700%
<gchristensen> lol
<etu> ashkitten: Do you have a complimentary Blahaj on your couch? :)
<samueldr> ah, that big ass-couch
<ashkitten> etu: nope
<etu> :(
<joepie91> ashkitten: that... does not look particularly comfy
<etu> ashkitten: The big Blahaj is a great extra pillow :)
<ashkitten> samueldr: it's perfectly acceptable tbh. i do not like the texture of the fabric
<samueldr> it wasn't a dig, I have friends that have that big ass-couch
<joepie91> no replacement covers available?
<joepie91> lolwhat, why are there replacement covers for ektorps on aliexpress
<ashkitten> unsure if any ikea sells have a different texture
<ashkitten> but i would love to find replacement covers for it
<ashkitten> that's my main complaint about the couch so far
<ashkitten> we're planning to get additional sections later when we have more money
<ashkitten> right now it's 2 long sections put together with normal size backrests and armrests, so they kinda stick out the front
<ashkitten> we're planning to get another long section and turn it into a corner couch
<MichaelRaskin> I guess couch ended up being inside high-end segment…
<MichaelRaskin> Although even for box-beds the prices are sometimes ridiculous
<ashkitten> oof
<samueldr> I'm like 50% sure this is just whatever OTA system ships in the MTK BSP
* samueldr boots the one random MTK device he owns
<samueldr> "most secure"
<ashkitten> so it's not the uh
<ashkitten> android system
<aleph-> heh
<samueldr> I don't understand the question
<ashkitten> does that mean it's vulnerable no matter what os i run?
<samueldr> ah, yeah, it's the OTA service / app used by the android system
<ashkitten> oh
<samueldr> and turns out I'm likely wrong on it being whatever ships in the BSP
<samueldr> but it's definitely a chunk of code you license
<samueldr> since on my random MTK device it's com.adups.fota
<ashkitten> does planet know
<samueldr> I don't know
<ashkitten> sigh
<samueldr> the user, as of 13 hours ago, haven't specifically said anything about disclosure
<samueldr> or I missed it
<ashkitten> alright
<joepie91> samueldr: uh oh, adups
<samueldr> ooh, now that I have made it so it actually does the thing I configured it to do, the behaviour indeed changed, it doesn't go back to the bootloader
rardiol has joined #nixos-chat
mog has quit [Quit: im quiting!]
<MichaelRaskin> Disclosure kind of doesn't matter. Right now Planet seems to have too many things to fix ASAP anyway (and once they start reacting to poking, they will be reminded)
<__monty__> infinisil: Not doing AOC this year?
<infinisil> __monty__: Very busy for today and tomorrow, so I'll start a little late
<infinisil> What about you?
<__monty__> Definitely starting (Just did day 1). Hope to get further than last year : )
<infinisil> I
<infinisil> I gave up midway last year, want to get further too this year :D
<infinisil> Or rather after 2/3
hexa- has quit [Quit: WeeChat 2.6]
hexa- has joined #nixos-chat
__monty__ has quit [Quit: leaving]
<aleph-> Heh
<aleph-> Doing it in C, TCL and Ruby
drakonis has quit [Ping timeout: 276 seconds]
drakonis has joined #nixos-chat
<savanni> I just did day 1 in Rust.
<savanni> Let's see if I even get through a week. :D
<gchristensen> how'd it go?
<savanni> Relatively well. Couple of tricks where I forget some of the error handling idioms.
<gchristensen> ah yeah
<savanni> I decided that writing tests for each day, based on the description and example data, would be a good way to get started.
<gchristensen> nice!
<aleph-> Yeah I'm gonna do rust as well
<gchristensen> I saw one person doing them in Nix
<gchristensen> committed :P
<joepie91> that sounds like a nixpkgs PR factory :P
<infinisil> gchristensen: Ohh I want to do that too now
<aleph-> ^
<aleph-> My nix-fu is awful however haha
<drakonis> same
mog has joined #nixos-chat
<ashkitten> samueldr: oof oof
<samueldr> the fact there's a backdoor in addition in there is...
<samueldr> words cannot be used here about that