<cole-h>
If I wanted to inspect some traffic from Firefox, how would I go about doing that? What tool should I use? The Network Monitor isn't cutting it, because I need to see the data e.g. PUT requests are sending.
<gchristensen>
right click, Inspect Element, Network tab at what pops up, then re-try the request
<cole-h>
ah, now it works. I was doing something wrong (apparently), thanks! gchristensen++
<{^_^}>
gchristensen was put on Santa's "nice" list
<samueldr>
it only logs when the console is open
<samueldr>
(wild guess)
<cole-h>
Yeah, I had it open
<cole-h>
For some reason the "request body" was empty, but now it's filled
<samueldr>
¯\_(ツ)_/¯
<samueldr>
things just are the way they are sometimes
<samueldr>
tbf, when I have an issue with one of the inspectors in either chrome or firefox, I try the other
<samueldr>
neither is complete imo
<samueldr>
each has some things they do better
<pie_>
I ran into some weird tinc crash on one of my networks and never got any replies on the GH thread so yeahhh <elvishjerricco> I think I'm going to switch to tailscale, if only because tinc seems relatively unmaintained and doesn't have mobile apps.
<elvishjerricco>
pie_: Yea I've just completed the expulsion of tinc from all my configs. Getting rid of those took longer than setting tailscale up...
<pie_>
cole-h: btw there is an environment variable that you can use to get firefox to dump its ssl key stuff and wireshark can load that
<pie_>
but yeah probably easier to use the network inspecor
rajivr has joined #nixos-chat
h0m1 has quit [Ping timeout: 250 seconds]
h0m1 has joined #nixos-chat
<colemickens>
each of my nixos generations now has 10 boot entries (specialisations). 5 for different desktop environments * 2 (w and w/o nvidia driver)
<elvishjerricco>
colemickens: Can you use those to switch desktop environments without rebooting?
<colemickens>
I think not, I think you lose "sight" of the other specialisations once you switch into one
<colemickens>
I guess like /run/booted-system/specialisations/<name>/... would work though!
<elvishjerricco>
colemickens: Or /nix/var/nix/profiles/system/...
<colemickens>
ya
<colemickens>
I think I'm still carrying a commit that makes specialisations work with flakes (or at least, with the way folks generally propagate `inputs` into the module system).
slack1256 has joined #nixos-chat
<samueldr>
losing sight of specialisations is a lack of vision
<gchristensen>
specialisation is so good
<pie_>
is this that semiobscure thing i forgot about again
<pie_>
hmm
slac52336 has joined #nixos-chat
slack1256 has quit [Ping timeout: 252 seconds]
<Batou>
Hmm wonder if I should try out nixOS on my laptop again...
<samueldr>
yes?
slac52336 is now known as slack1256
<Batou>
Eh just debating if I'll need to port any software over as opposed to just using standard debian.
addcninblue has quit [Ping timeout: 268 seconds]
<pie_>
who was in here yesterday asking about booting isos? the grub channel topic seems to say " It is impossible to "boot" an ISO from disk unless that image specifically supports that"
<pie_>
<colemickens> I'm now in search of nixos users who may've done things like poke extra entries into grub that chainload ISOs from the nix store? someone must have done this before.
<pie_>
have you found something to prove the above wrong
<pie_>
or do most ISOs "specifically support that"?
<colemickens>
pie_: I didn't try too hard, but I think that's sort of true.
<colemickens>
you end up telling grub exactly where to load the kernel/initrd from
<colemickens>
right now I'm just not sure about the right (hd0,0) invocation to reference "the same disk that grub loaded from, but the next partition". Otherwise it should be okay to boot the ISO I'm particularly after.
<colemickens>
I know there are other projects out there that do the same thing... they are "multi-boot ISO" whatever whatevers and they've done the same thing - curated a list of distro ISOs and the right way to chain load their kernel/initrds according to their conventions (or by reading the isolinux.cfg or whateveR)
<colemickens>
obviously a nix-powered version would be most superior (kinda serious, it would be nice for transparency, easy extension/reproducability, the usuals)
<colemickens>
I'll play with it again tonight after I fix up the gnupg stuffs
linear_cannon has quit [Read error: Connection reset by peer]
slack1256 has quit [Remote host closed the connection]
<siraben>
Batou: what?!? you are not running NixOS?
<siraben>
:P
<Batou>
Heh
addcninblue has joined #nixos-chat
<elvishjerricco>
Hm. How can I boot the nixos installer on my macbook if the usb ports no longer work?
endformationage has quit [Quit: WeeChat 2.9]
luxemboye has quit [Ping timeout: 240 seconds]
luxemboye has joined #nixos-chat
<elvishjerricco>
I put the installer on partitions in the internal ssd. Noice
Guest139081 is now known as JJJollyjim
cole-h has quit [Ping timeout: 240 seconds]
addcninblue has quit [Ping timeout: 252 seconds]
<elvishjerricco>
Hm. The installer doesn't seem to recognize my wifi.
waleee-cl has quit [Quit: Connection closed for inactivity]
<elvishjerricco>
I really need to figure out how to use the macos diskutil command. I redid the partitions in the GUI Disk Utility app, which involved deleting an empty partition and adding a couple partitions in its place. But instead of just deleting that partition and making two in its place, Disk Utility saw it fit to first grow the root APFS partition to use the whole disk, then shrink it to create the space to make two new partitions
Synthetica has joined #nixos-chat
<eyJhb>
:/ Sad that Jellyfin on Android does not support basic auth... (I don't need it as a "login" solution, and bypass the actual login screen. Just as added security)
<ashkitten>
eyJhb: could always run jellyfin inside a vpn
<ashkitten>
or partly inside a vpn with public access being behind http basic auth?
redisusr has joined #nixos-chat
redisusr has joined #nixos-chat
redisusr has quit [Changing host]
hodapp has quit [Ping timeout: 252 seconds]
hodapp has joined #nixos-chat
<philipp[m]>
That's what I'm doing and it works pretty well.
<eyJhb>
philipp[m]: Nextcloud + Basic auth on Nginx + their mobile app?
<philipp[m]>
Jellyfin. Either direct access via private IPs or detour via oauth2-proxy.
abstrn has quit [Quit: later]
jess has joined #nixos-chat
<eyJhb>
philipp[m]: But the oauth2-proxy, would not work on your mobile (ie. if you access it without a direct private IP)
<philipp[m]>
Yes, this why I have a VPN on my phone.
<eyJhb>
Seems more and more like a option.
<eyJhb>
Also considering patching the android app :p
<eyJhb>
ALSO!
<eyJhb>
2021-04-17 00:01:03 philipp[m] eyJhb: But somebody can have an approved nameserver that uses your nameserver as an authority nameserver for your domain? I have it set up that way with hetzner and my de domains.
<eyJhb>
Which service do you use for that? Ie. I don't think Cloudflare supports that
<philipp[m]>
hetzner. That part should be free. You should be able to create a hetzner account and use their dns service and then point the ns entries in cloudflare to the hetzner nameservers.
<eyJhb>
Oh, I can just use the `Type: NS`, and then point that to my own nameserver :), thanks
<philipp[m]>
Your registrar might have an issue with that.
<eyJhb>
But the whole point, is to have a self-hosted ns, and not a service such as hetzner. :) But, I am not sure how the registrar should control a sub-ns
<philipp[m]>
They can scan for those and a lot of them do.
<eyJhb>
And then... Revoke using the Cloudflare nameservers so that it won't be active anymore?
<eyJhb>
Not sure what action they would take
<philipp[m]>
They would probably deactivate your domain until you fix it.
<eyJhb>
Eh, lets see how it goes. I have setup a NS record now :p
<philipp[m]>
Only one?
<philipp[m]>
Do you want to tell me your domain so I can have a look?
<eyJhb>
I have two main NS cecords that point to cloudflares NS. Then I have a subdomain, which points to a invaild NS
<philipp[m]>
Good luck :D
<eyJhb>
philipp[m]: Like, that SHOULD work right? If they suspend me, that is a WHOLE other story. :p
<philipp[m]>
Yes, it should.
<eyJhb>
Now I just need to setup the nameserver... :p
<philipp[m]>
I recommend knot.
<philipp[m]>
knot+kresd = ❤️
<eyJhb>
OH.
<eyJhb>
I read it as `not`
<philipp[m]>
As in not use bind :D
__monty__ has joined #nixos-chat
<eyJhb>
philipp[m]: Considering just using the one in Nixus ( infinisil ), and that uses bind! :p
<philipp[m]>
I thought this was about nixpkgs and bash 😂
<eyJhb>
philipp[m]: How does it work when a NS is its own domain?
<eyJhb>
Ie. my NS is ns1.domain.com and ns2.domain.com, but it needs to contact the ns{1,2}.domain.com to get the DNS ?
<eyJhb>
Ie. quite confused about how a setup could work like that. ie. infinisil setup :p
<pie_>
I dont understand what youre doing, but you put the ns record on the domain.com?
<eyJhb>
pie_: The goal (not current), is to use Clodflare, to setup a NS record for domain.com to point at ie. ns.domain.com, which will then controla domain.com
<eyJhb>
If.. That makes sense?
<supersandro2000>
some use cases require at least 2 DNS servers
<eyJhb>
The spec requires at least two
<eyJhb>
But it isn't illegal to specify the same twice
<supersandro2000>
but not whats intended
<eyJhb>
Nope :p
<eyJhb>
But for learning/local/not production
<eyJhb>
I think it will be OK
<philipp[m]>
I think you will get your domain deactivated.
<eyJhb>
We will take that as it comes.
<eyJhb>
:p It wouldn't be the end of the world, and should be quite easy to get activated again :p Hopefully at least :D
<lukegb>
I've definitely done ns1.foo and ns2.foo with A/AAAA records that point at the same IP :P
<lukegb>
but yeah, you'll need glue records
<lukegb>
(e.g. if ns1.foo.bar is the nameserver for foo.bar, then .bar's NSes need to have ns1.foo.bar A/AAAA as well as the standard foo.bar NS; they get returned in the additional section)
<eyJhb>
Eh, I guess I then either have to use one of my other domains, or try to register my own nameserver at dk-hostmaster.dk :p
<lukegb>
Usually your registrar will handle it (sometimes automatically)
<eyJhb>
I could just register a nameserver. They made it seem much much more complicated.
<eyJhb>
`To obtain approval of name servers, the name server administrator must provide documentation to DK Hostmaster of the required technical knowledge about DNS functions, including the configuration of domain names on a domain server.`
<eyJhb>
I guess if you can fill in the info, then it is OK
<lukegb>
Wow that seems... onerous
<eyJhb>
The best parties is, that both parties are liable for any damage, except 5-6 points where dk-hostmaster is NOT liable for it :p
<hodapp>
that's good, since I've been pretty lax in my duty lately >_>
rj has joined #nixos-chat
<gchristensen>
man, it is really cool how Go just has so many framewory things to make implementing "well behaved" stuff fairly easy
<hodapp>
the language is fugly in a lot of ways but they do solve a lot of problems really well that other languages just make painful
<hodapp>
the coolest one that I just made use of is their nearly effortless cross-compilation (if you have all Go-native libraries)
<Batou>
pie_: heh
ixxie has joined #nixos-chat
endformationage has joined #nixos-chat
slack1256 has joined #nixos-chat
<eyJhb>
hodapp: Yup <3
cole-h has joined #nixos-chat
<sphalerite>
Anybody know a tool similar to comm, but which allows only comparing the first n characters of a line?
<hodapp>
outlandish suggestion: the source code to 'comm' (e.g. in busybox) is fairly short and it might not be that awful to hack up the source yourself to take only the first N characters
<Synthetica>
sphalerite: less outlandish solution: comm <(cut -c 1-80 file1) <(cut -c 1-80 file2)
<sphalerite>
Synthetica: I still want the rest of the line in the output
<Synthetica>
sphalerite: oh hmm
<sphalerite>
I mean, it'll do in a pinch, but I was hoping for a more convenient way
<hodapp>
busybox comm.c is 117 lines and amounts to little more than some strcmps; it would probably be quite quick to reimplement in your favorite language
addcninblue has joined #nixos-chat
tomberek has quit [Quit: Connection closed]
addcninblue has quit [Ping timeout: 252 seconds]
addcninblue has joined #nixos-chat
vaibhavsagar has joined #nixos-chat
ixxie has quit [Quit: Lost terminal]
<cransom>
curious, anyone else getting recruiter spam for deshaw.com (NYC hedge fund) for nixos people?
abstrn has joined #nixos-chat
<gchristensen>
I know they're recruiting (I've been working with them)
<infinisil>
sphalerite: How would it handle files like `aab` and `aac` when you only compare the first 2 chars?
<infinisil>
Would it output the first or the second in the shared column?
<__monty__>
I assumed both.
<__monty__>
Because it's the differences in the rest of the line you're interested in.
<infinisil>
Hmm, that would violate its implicit law of "any line in the third column is present in both files"
<infinisil>
Well no it's explicit, the man page mentions that
<__monty__>
It kinda sounds like a job for awk tbh.
<srhb>
Can't get the image of hedge fund managers attempting to communicative with Tarzan-speak out of my head now, and it improves the world slightly.
<srhb>
Stonks go UP!
<DigitalKiwi>
gchristensen: why haven't you given them my email :(
<DigitalKiwi>
i need a job so i can lose more money on stonks ;(
<gchristensen>
DigitalKiwi: to be clear, I haven't given them any emails
<cransom>
careers page at said url has openings. i assume it requires being in nyc though.
<gchristensen>
cransom: probably not, actually
<gchristensen>
any time I recommend somebody to another company I always check with the person I'm recommending before I hand over contact info
<philipp[m]>
Does nixos-20.05 already have a code name?
<philipp[m]>
*21.05
<cransom>
ah, then their jobs code needs help. the positions only exist if you say nyc specific versus worldwide or other.
<hexa->
philipp[m]: if you are running nixos-unstable you can `nix-info -m`
<hexa->
(its name is Okapi)
<gchristensen>
cransom: do you want me to ask about it?
<cransom>
for me, no, but if you wanted to put it out there, i'm sure some would appreciate it.
<DigitalKiwi>
cransom: how was their email was it flagged as spam or anything
<cransom>
not, not flagged, just a typical linkedin message
<DigitalKiwi>
oh
<cransom>
it was impressive that at the very least, it mentioned my background and at first blush, the position would be applicable to the skill set. +1 on the recruiter for that.
<samueldr>
turns out my filtering rules for linkedin messages are good
<samueldr>
they never go in my inbox
<ajs124>
DigitalKiwi: I do actually get spam to nix@. Rarely though.
<cransom>
i signed in to linkedin and forced me to say what my desired title and location is. so, i'm combatting that algorithm by looking for secretarial work in nunavut.
<hodapp>
people on LinkedIn still find me and send me offers for jobs writing Scala
<gchristensen>
same, but php
<hodapp>
ew
<srhb>
I only get crazy cryptostuff.
<hodapp>
I think I get that too
<hodapp>
'think' because I tune it out so much at this point
<DigitalKiwi>
has anyone had a good experience with linkedin?
<samueldr>
I never really got to make a "network", but turns out I had an offer for some vague AI stuff in another city
<hodapp>
DigitalKiwi: in short: no
<DigitalKiwi>
vindicated
<gchristensen>
I have found it useful, but never for finding work
<hodapp>
when I did freelance work I would sometimes look around for possible gigs on LinkedIn
<samueldr>
but I saw in the list of messages dozens of messages from unknown recruiters and unrelated people
<hodapp>
out of probably 10-15 prospects I talked to there, zero of them produced any kind of actual paying work
ddima_ has joined #nixos-chat
<samueldr>
messages for "adding themselves on my network"
<samueldr>
but a few from prople I do know!
<hodapp>
I had a vastly higher success rate just going to meetups and talking to people in person
<srhb>
I like catching up with what people I'm not in touch with anymore do these days.
<samueldr>
(I did not do anything with that knowledge)
<hodapp>
the worst I ever dealt with was from some startup on LinkedIn that I first thought would end up as some paying work, then they were clueless but younger and I agreed to informally mentor them for free on a couple things
<samueldr>
noooooo
<cransom>
the most that i had used it for previously was to find when people started making a lot of connections, it was the indicator that they were job hunting.
<hodapp>
they tried to get me to sign a contract mandating that I would help them for free and explicitly for no monetary benefit nor anything else like options
<hodapp>
but they were fucked anyway. I sent them a quick example of how RANSAC could solve a problem they had and made it 100% clear that 'this is just a scratch notebook, this is not hardened code'. they wrote back some time later asking for help with their problems putting it into production.
<hodapp>
they had a couple undergrads with no C/C++ experience, and one of them was convinced he'd learn enough C++ in 2-3 weeks to get a finished product to a customer
<__monty__>
Sounds more like a non-starter than a startup.
Guest85450 has quit [Ping timeout: 276 seconds]
kloenk has quit [Ping timeout: 276 seconds]
jdnixx-M has quit [Ping timeout: 276 seconds]
manveru[m] has quit [Ping timeout: 276 seconds]
JJJollyjim has quit [Ping timeout: 276 seconds]
aanderse has quit [Ping timeout: 276 seconds]
f0x has quit [Ping timeout: 276 seconds]
danielrf[m] has quit [Ping timeout: 276 seconds]
puzzlewolf has quit [Ping timeout: 276 seconds]
ma27[m] has quit [Ping timeout: 276 seconds]
emily has quit [Ping timeout: 276 seconds]
ddima has quit [Ping timeout: 276 seconds]
jdnixx-M1 has joined #nixos-chat
<hodapp>
he sent me some C++ code he was having problems with and he was just so lacking in basic comprehension that I didn't even try to help
<DigitalKiwi>
shoulda went with objective-c obviously lol
<hodapp>
legit didn't even understand what a pointer was
Guest85450 has joined #nixos-chat
f0x has joined #nixos-chat
kloenk has joined #nixos-chat
<samueldr>
legit, who does?
JJJollyjim has joined #nixos-chat
<hodapp>
there is 'not understanding every single corner case of pointer semantics and syntax', and there is 'legit does not understand that pointers are a thing'
<hodapp>
he was the latter, he was in the stage of just sort of sticking asterisks in his code until it compiled
manveru[m] has joined #nixos-chat
aanderse has joined #nixos-chat
<cransom>
pretty sure i was that guy in some of my college projects. it wasn't amazing that all of the previous courses were done in java, but one prof said "well, this one is in c or c++, your pick." how generous.
<samueldr>
generous indeed
<samueldr>
you had the choice!
ma27[m] has joined #nixos-chat
emily has joined #nixos-chat
<hodapp>
it's fine to be that guy when you are learning, but not to be that guy when a production-grade C++ application has been promised in 2-3 weeks
<DigitalKiwi>
someone wanted like $30k+ for 2 people and several months to write the ios version of after dark usa. i'd already written the anrdoid version and the api and backend... i borrowed a mac and bought an ipod touch and about ~2 weeks later it was pretty much done lol
danielrf[m] has joined #nixos-chat
puzzlewolf has joined #nixos-chat
<hodapp>
cransom: at my university, they taught us Mathematica (badly) and then expected us to know MATLAB. It was silly.
<hodapp>
our prof for Mathematica was a guy who'd give us these in-class assignments that *had* to be physically printed and handed in before he left... and he was the sort of prof who'd just walk straight out the door the second the clock said the class ended
<hodapp>
he also tended to make mistakes frequently, and correct them on the assignment 5 minutes before this
<DigitalKiwi>
we got to choose fortran or matlab for our intro to computer science for engineers
<DigitalKiwi>
gchristensen: wanna buy the NFT of your wall hanging?
<gchristensen>
lol
<DigitalKiwi>
does it still work/do you use it/is it all sticky
<DigitalKiwi>
can i have pics/i miss it ;(
<DigitalKiwi>
my hand is still numb
<gchristensen>
sticky?
<gchristensen>
it does still work, I do use it, it is not sticky O_o, and I can get you more pics another time :) .... numb ? :o
<cransom>
i should build a flashy nix snowflake for my background some time.
<DigitalKiwi>
i said something to worldofpeace about how now that you had a baby it would get all sticky and finger printed
<gchristensen>
haha
<gchristensen>
it is mounted like 4' off the ground, so give him a few more months
<samueldr>
DigitalKiwi: numb from RSI induced by that work, or numb from a shock?
<DigitalKiwi>
RSI
<cransom>
how big is gchristensen's so i can make mine just slightly bigger?
<gchristensen>
12"
<samueldr>
cransom: that's twelve quotation marks
<DigitalKiwi>
idk if numb is the right word, it hurts and sometimes it hurts a lot more
<samueldr>
for you european folks
<gchristensen>
hah
<srhb>
samueldr: Have you emigrated?
<samueldr>
srhb: nope
<samueldr>
I'm confused about that statement though :)
<cransom>
i'll make it 306mm
<samueldr>
srhb: what do you think I am / was?
<gchristensen>
lol
<hodapp>
I bought a Twiddler not so much to help RSI but to help make it easier to work without sitting at a desk
<hodapp>
buuut have not put much effort into learning it
<srhb>
samueldr: I knew better though, but yes, you're probably right. :)
<cransom>
ok, one upmans ship must continue then. ceiling fan?
<samueldr>
cransom: one upsman ship is when you wear brown and throw packages?
<samueldr>
(I had trouble parsing your sentence originally :))
* hodapp
slow claps
<cransom>
and after re-reading it, i have no idea why the fingers put it that way either.
<DigitalKiwi>
the ever given wasn't ups
<samueldr>
but it was a big oops
<Synthetica>
god 2x scaled 4k firefox is so beautiful, shame I have to live in Plato's cave of firefox on XWayland because it hangs constantly on native Wayland
<gchristensen>
who is chet? malloc: /usr/homes/chet/src/bash/src/parse.y:5389: assertion botched
<samueldr>
using bash?
<samueldr>
AFAICT it's who generated the grammar for the release
<DigitalKiwi>
cis het?
<samueldr>
Bash was originally written by Brian Fox of the Free Software Foundation. The current developer and maintainer is Chet Ramey of Case Western Reserve University.
tomberek has joined #nixos-chat
AMG has quit [Remote host closed the connection]
<colemickens>
so uh, gnupg 2.3 removes the fallback behavior that causes it to fall through CCID mode (since no one has gnupg udev setup) to PC/SC mode.
<__monty__>
What are these modes?
<colemickens>
so if those keywords brought you to the nixos irc logs, you might want to chuck `disable-ccid` into your ~/.gnupg/scdaemon.conf and `sudo pkill -9 scdaemon`.
<colemickens>
__monty__: CCID is related to PIV mode, so PKCS11 for managing certs on a card (which gnupg 2.3 apparently has better support for, I think people want to kill OpenPGP app)
<colemickens>
versus PC/SC is the trad smart card mode, I guess, that works with pcsclite/pcscd and the OpenPGP apps on smartcards.
<colemickens>
to add confusion, yubikeys can operate in both modes.
abstrn has quit [Ping timeout: 240 seconds]
abstrn has joined #nixos-chat
<colemickens>
Yall. I can't. We're going to fix the internet by making 16 vcpus the norm for browsers.
<rmcgibbo[m]>
anyone know if the arduino-dev experience on nixos is alright before i buy myself a little board?
<colemickens>
oh hey I tried to do that and completely fell apart at the signal analysis stage and then realized I'm fine with sticking with software
<MichaelRaskin>
Long ago I used avr-gcc and that was fine, I don't even remember if I tried Arduino IDE
<rmcgibbo[m]>
this is going to be a fun way to void a warranty
<MichaelRaskin>
After drawing the last page of the main-story of Gaia, Novil asked what questions there are left… I am not sure what her really expected… But his next comment is > This is getting a bit overwhelming
__monty__ has quit [Quit: leaving]
<pie_>
once ALL the bandwidth is a thing, you can just think client over the internet into other peoples computers ^Wcloud :D
<pie_>
now with starlink latency
AMG has joined #nixos-chat
supersandro2000 has quit [Killed (tolkien.freenode.net (Nickname regained by services))]
supersandro2000 has joined #nixos-chat
Synthetica has quit [Quit: Connection closed for inactivity]