gchristensen changed the topic of #nixos-chat to: NixOS but much less topical || https://logs.nix.samueldr.com/nixos-chat
supersandro2000 has quit [Disconnected by services]
supersandro2000 has joined #nixos-chat
aleph- has quit [Ping timeout: 256 seconds]
supersandro2000 has quit [Quit: The Lounge - https://thelounge.chat]
supersandro2000 has joined #nixos-chat
cole-h has quit [Quit: Goodbye]
cole-h has joined #nixos-chat
ashkitten has quit [Quit: WeeChat 2.9]
ashkitten has joined #nixos-chat
aleph- has joined #nixos-chat
aleph- has quit [Client Quit]
aleph- has joined #nixos-chat
<samueldr> cleaning up branches in Mobile NixOS
<samueldr> finding stuff from june of TWENTY-EIGHTEEN... how am I supposed to understand what I did?
<gchristensen> o.o
<samueldr> in that particular instance it was trivial
<samueldr> tig master..that/branch/name
<samueldr> still that surprised me
<samueldr> git branch | wc -l # → 18
<samueldr> much better
<samueldr> most of them got rebased (cleanly!)
andi- has quit [Remote host closed the connection]
andi- has joined #nixos-chat
ninjin has quit [Remote host closed the connection]
ninjin has joined #nixos-chat
ninjin has quit [Quit: OS upgrade]
<infinisil> lmao: "Our European visitors are important to us. This site is currently unavailable to visitors from the European Economic Area while we work to ensure your data is protected in accordance with applicable EU laws."
<infinisil> So important that they can't be bothered to make the site work for us
cjpbirkbeck has quit [Quit: Goodbye, take care]
waleee-cl has quit [Quit: Connection closed for inactivity]
cole-h has quit [Ping timeout: 260 seconds]
raboof has quit [Ping timeout: 240 seconds]
betawaffle has quit [Ping timeout: 260 seconds]
rizary has quit [Ping timeout: 260 seconds]
gausby has quit [Ping timeout: 260 seconds]
pasukon has quit [Ping timeout: 244 seconds]
elvishjerricco has quit [Ping timeout: 244 seconds]
sorear has quit [Ping timeout: 272 seconds]
zarco has quit [Ping timeout: 272 seconds]
cbarrett has quit [Ping timeout: 240 seconds]
steveeJ has quit [Ping timeout: 264 seconds]
ghuntley has quit [Ping timeout: 244 seconds]
mudri has quit [Ping timeout: 244 seconds]
claudiii has quit [Ping timeout: 260 seconds]
emilazy has quit [Ping timeout: 260 seconds]
srhb has quit [Ping timeout: 260 seconds]
manveru has quit [Ping timeout: 268 seconds]
sdier has quit [Ping timeout: 240 seconds]
davidtwco has quit [Ping timeout: 264 seconds]
taktoa[c] has quit [Ping timeout: 240 seconds]
Cynthia has quit [Ping timeout: 272 seconds]
jared-w has quit [Ping timeout: 272 seconds]
sudocurse has quit [Ping timeout: 268 seconds]
jackdk has quit [Ping timeout: 264 seconds]
liszt_ has quit [Ping timeout: 244 seconds]
Guest88372 has quit [Ping timeout: 260 seconds]
feepo has quit [Ping timeout: 260 seconds]
aria has quit [Ping timeout: 260 seconds]
johanot has quit [Ping timeout: 260 seconds]
davidtwco has joined #nixos-chat
pasukon has joined #nixos-chat
claudiii has joined #nixos-chat
jackdk has joined #nixos-chat
rizary has joined #nixos-chat
gausby has joined #nixos-chat
sorear has joined #nixos-chat
sdier has joined #nixos-chat
taktoa[c] has joined #nixos-chat
zarco has joined #nixos-chat
jared-w has joined #nixos-chat
aria has joined #nixos-chat
Cynthia has joined #nixos-chat
Guest88372 has joined #nixos-chat
betawaffle has joined #nixos-chat
johanot has joined #nixos-chat
liszt_ has joined #nixos-chat
elvishjerricco has joined #nixos-chat
cbarrett has joined #nixos-chat
emilazy has joined #nixos-chat
ghuntley has joined #nixos-chat
srhb has joined #nixos-chat
manveru has joined #nixos-chat
raboof has joined #nixos-chat
feepo has joined #nixos-chat
steveeJ has joined #nixos-chat
sudocurse has joined #nixos-chat
mudri has joined #nixos-chat
FRidh has joined #nixos-chat
claudiii has quit [Ping timeout: 264 seconds]
claudiii has joined #nixos-chat
sudocurse has quit [Ping timeout: 272 seconds]
johanot has quit [Ping timeout: 272 seconds]
gausby has quit [Ping timeout: 272 seconds]
sudocurse has joined #nixos-chat
johanot has joined #nixos-chat
gausby has joined #nixos-chat
<lovesegfault> What do I need to set up to have DNS for my local machines?
<lovesegfault> so I can just `http://hostname`
<eyJhb> Ehmmmm... override /etc/hostnames ?
<eyJhb> hosts***
<lovesegfault> No, not like that
<lovesegfault> I want to be able to go on my phone and for the hostname to resolve
<eyJhb> Ohh, sorry, I read local machine.
<eyJhb> Maybe #nixos-on-your-router is something for you?
sdier has quit [Read error: Connection reset by peer]
sdier has joined #nixos-chat
<srhb> lovesegfault: You probably want to look up avahi.
<srhb> systemd-resolved has its own zeroconf multicast thing if you're using networkd, I think
<srhb> lovesegfault: Or the old school way, set up your own dhcp server with dns for each client.
<sphalerite> lovesegfault: depends on what you're using as a DHCP server. The possible answers go from "it's not possible" (with the really fun OEM devices that can't run openwrt _and_ don't support this as a vendor feature) to "it should already work" :)
<lovesegfault> srhb: I'm not against setting up my own DHCP server :P
<sphalerite> err s/OEM/telco-provided/
<srhb> lovesegfault: Then your own DHCP/DNS nets you the most control.
<lovesegfault> sphalerite: I use a netgear router, but my lan has dhcp on a rpi
<sphalerite> using dnsmasq?
<lovesegfault> dhcpd
<sphalerite> ah idk how to do it with that. But it's easy with dnsmasq
<srhb> lovesegfault: isc dhcpd?
<srhb> lovesegfault: The canonical setup is to pair it with bind and let dhcpd update the dynamic records for each dhcp client in bind :)
<lovesegfault> srhb: yeah, `services.dhcpd4`
<lovesegfault> I thought the cool kids used unbound now?
<srhb> Probably, but I'm ancient, uncool, and loathe go things :)
<lovesegfault> :D
<lovesegfault> don't you work on morph?
<srhb> That said it'll work with just about any DNS server
<srhb> lovesegfault: uuuh right
<srhb> When I said loathe I meant like
<srhb> strong preference
<lovesegfault> lol
<srhb> :)
<sphalerite> unbound is in go? TIL
<sphalerite> I use knot myself
<sphalerite> nope, unbound is written in C
<sphalerite> where did you get that from srhb ?
<srhb> Ah, sorry, I must be confusing things.
<srhb> Probably just a mixup :)
<lovesegfault> It's funny, I also had go on my mind
<lovesegfault> now I wonder what is written in go that me and srhb are thinking of
<srhb> Regardless... It'll work, I'm sure
<sphalerite> coredns?
<srhb> We use that, in our k8s cluster (of course) and I don't hate it :P
<srhb> lovesegfault: Anyway, the update for the dhcp clients is standard zone transfers :)
<srhb> (Or it can be, at least)
dingenskirchen has quit [Quit: ZNC 1.7.5 - https://znc.in]
dingenskirchen has joined #nixos-chat
dingenskirchen has quit [Client Quit]
dingenskirchen has joined #nixos-chat
dingenskirchen has quit [Client Quit]
dingenskirchen has joined #nixos-chat
waleee-cl has joined #nixos-chat
__monty__ has joined #nixos-chat
vika_nezrimaya has joined #nixos-chat
rajivr has joined #nixos-chat
zarco has quit [Quit: Connection closed for inactivity]
<viric> Build jami on nixos... still a big challenge
vika_nezrimaya has quit [Ping timeout: 260 seconds]
<viric> I'm confused. I have a flake that builds a lib fine; and a nix expression cannot build it (c++ compile error). Same git hash, same buildInput hash (for the c++ error header files)...
<viric> AHH another dep in the middle ruining things. Writing publicly about the problem helps a lot finding the solution right after that
<pie_> rubber ducks
<pie_> rubber ducks EVERYWHERE
<viric> :)
<viric> I don't think you can cheat the fate that way
<MichaelRaskin> Probabilistic delay in posting, and you do not know whether it is posted or not, but can cancel the posting once the thing is fixed!
<viric> I think that what triggers the solution is the chance of others seeing how dumb you are
<viric> not the fact of writing the message
<MichaelRaskin> Actually no
<MichaelRaskin> Writing the details of what you observe explicitly is a critical part here
<viric> Good theory.
<MichaelRaskin> And for the chance of other people seeing, non-linear perception of probabilities might mean that you can reduce the average number of times people actually see it by the time you solve the problem!
<MichaelRaskin> But for many people literal rubber duck debugging works
<viric> I haven't tried any of that
<gchristensen> t
<MichaelRaskin> So now people will be able to filter out Nix stories, yay!
<viric> anyone using flakes?
<viric> How do you build your nixpkgs pkgs with debug info?
<pie_> :D<MichaelRaskin> So now people will be able to filter out Nix stories, yay!
<viric> again gdb's edit command does not bring to the proper line number in the file with vim? grmbl
<viric> I fixed that years ago
<gchristensen> if you've seen me speak ... what was your favorite talk?
neeasade has quit [Remote host closed the connection]
cole-h has joined #nixos-chat
Raito_Bezarius has quit [Ping timeout: 272 seconds]
<viric> gchristensen: I haven't seen you speak
<viric> gchristensen: I liked flakes, sander's and MichaelRaskin's. I could even have an impact in the backstage room of flakes and get niksnut implement the flakes redir!
<viric> 'nix develop --redir ...'
<viric> I'm progressing with flakes... I could submit a PR to poppler and a debug tuxpaint segfault.
Raito_Bezarius has joined #nixos-chat
neeasade has joined #nixos-chat
FRidh has quit [Quit: Konversation terminated!]
rajivr has quit [Quit: Connection closed for inactivity]
cjpbirkbeck has joined #nixos-chat
<cole-h> RIP Alex Trebek.
<viric> who is he?
<MichaelRaskin> US Jeopardy! host
<eyJhb> Barney from How I Met Your Mother's dad
<eyJhb> Sad way to go :( RIP
<energizer> gchristensen: i havent seen all of them but tumblr
<eyJhb> energizer: Link?
<eyJhb> gchristensen's talks are always nice, generally enjoy the Nix community
<eyJhb> thanks energizer !
adisbladis has quit [Ping timeout: 256 seconds]
zarco has joined #nixos-chat
adisbladis has joined #nixos-chat
julm has quit [Ping timeout: 240 seconds]
julm has joined #nixos-chat
<viric> damn jami. A big complicated thing.
<MichaelRaskin> https://discourse.nixos.org/t/building-libreoffice-master/9890/7 yeah, sure, GitHub works fine at Nixpkgs scale…
<viric> damn it, mislead by misuse of git submodules in the jami project...grmbl
<viric> their misuse
bridge[evilred] has quit [Remote host closed the connection]
<viric> c++ doesn't scale any well...
<MichaelRaskin> Now I am imagining C++ scaling the walls of a well after being thrown down the well to get rid of it.
<viric> :)
<viric> it is so slow, building
<MichaelRaskin> To be fair, it is possible to build C++ faster _and_ produce safer code as a result
<MichaelRaskin> It's just that … oh well
<viric> go on
<MichaelRaskin> The resulting code will obviously be a bit slower
<MichaelRaskin> And nobody needs a C++ compiler that produces slow code, right?
<viric> I'd say -O0 is not relevantly faster
<viric> (for build time)
<MichaelRaskin> Well, if you have sa compiler written for heavy optimisation, then just switch optimisations off, you might still have a large bit of heavy machinery grinding the air
<viric> sure
<MichaelRaskin> I guess if after all the resells of Delphi Borland C++ Builder still has a working descendant, _that_ might be an actual fast and safe C++ compiler
<MichaelRaskin> Because it descends from a Pascal compiler, basically
ece has joined #nixos-chat
<viric> it could be.
<eyJhb> If anyone wants to cry -> https://termbin.com/azz2
<eyJhb> (very open for suggestions)
<viric> we have to figure out what is this for? :)
<jD91mZM2> eyJhb: Wow, literally unreadable. Line 16 has an unused but declared variable not starting with _. My day is ruined
<jD91mZM2> That's the only feedback I have though lmao, my brain isn't big enough to understand what you're doing
<eyJhb> jD91mZM2: hahahah :D
<eyJhb> It is WONDERFUL!
<eyJhb> viric: basically reading in a json file, and manipulating some attributes, so that I can give it to a module
<eyJhb> It is... Not nice.
<jD91mZM2> Doesn't look all that bad to me :^)
<jD91mZM2> Except for that unused variable
<viric> a json parser?
<jD91mZM2> viric: Nix already has that stuff, so I should hope not lol
<eyJhb> viric: I basically have a module, that will output to the format that the programs expects, but then I need to parse that input again, if I want to do anything with it once more. So it is basically a circle :p
<eyJhb> jD91mZM2: You should have seen it before the format then :p I will fix the unused var!
<viric> I think I want to stay away from that problem
<eyJhb> Circling that?
<viric> from your problem... I'm back to my problems. :)
<jD91mZM2> eyJhb: Same with line 20, absolutely dIsCUstING!!!!1111 (There really should be a Nix lint for this stuff)
<viric> too little nix brain here.
<jD91mZM2> On a serious note, what effect does "${builtins.elemAt splitEnv 0}" have?
<jD91mZM2> Why the "${ and }", I mean
<eyJhb> viric understandable :p
<joepie91> jD91mZM2: string coercion?
<eyJhb> jD91mZM2: It is a envvar, so foo=bar
<eyJhb> Not sure about the other part, on my phone now and I don't have the link I sent toy guys :(
<eyJhb> So I make it into a attrset of key value pretty much
<jD91mZM2> joepie91: Sounds likely, although I think the splits are already strings
<jD91mZM2> eyJhb: https://termbin.com/azz2
<viric> pf still trying to make 'jami' build
<viric> what videoconferencing thing do you use?
<MichaelRaskin> BigBlueButton, but hosted and managed by the university
<MichaelRaskin> (but there is a public repository with moderately hacky BBB setup for Nix, I believe)
<viric> I got the jami qt client starting...
cole-h has quit [Quit: Goodbye]
cole-h has joined #nixos-chat
<viric> messages and finding friends works! good start.
<viric> audio worked too! until i hanged up, assertion failed & abort
<MichaelRaskin> Well, we all know that the only proper method for communication software to release resources is crash-only programming\
<viric> reminds me of fossil
<viric> its code doesn't release anything. But all calls (REST API or cmdline or anything) runs with fork().
zarco has quit [Quit: Connection closed for inactivity]
aleph- has quit [Quit: WeeChat info:version]
aleph- has joined #nixos-chat
aleph- has quit [Client Quit]
aleph- has joined #nixos-chat
bridge[evilred] has joined #nixos-chat
<viric> I just noticed github doesn't allow seeing the email addresses of commit authors from the web interface
<cole-h> Append .patch to the commit URL
<viric> aaah
<pie_> leetz hax
<joepie91> probably an attempt to discourage scrpaers
<joepie91> scrapers*
manveru[m] has joined #nixos-chat
<pie_> dont tell the scrapers
<pie_> especially dont tell the scrapers to clone the repos with the largest contributor counts
<pie_> its free real estate
<samueldr> it's all about opportunistic scrapers vs. targeted
<samueldr> same as with "dumb" captchas that can't stop a bot that knows about it
<pie_> right
__monty__ has quit [Quit: leaving]
vesper11 has joined #nixos-chat
vesper has quit [Ping timeout: 265 seconds]
<pie_> the duties of a citizen
<pie_> - shoot down the tri monthly encryption backdoor proposal
<pie_> - vote
<MichaelRaskin> Sometimes I am tempted to say that as a Russian I of course see a positive effect the backdoors in random Western places will have on Russia in terms of balance of power inside intelligence services
<pie_> heh
<pie_> no see
<pie_> you only have backdoors in commercial civilian services
<pie_> well ok trickle down intelligence i suppose
<pie_> its so obnoxious though just put encryption rights in the f***ing constitution. theres another of these attempts every few months
<MichaelRaskin> Well, don't we have it on record that NSA cannot really setup basic messaging infrastructure even just for cabinet members?
<pie_> i saw something about russia and china wanting to ban tls 1.3 a while ago, dunno if anything came of tht
<pie_> MichaelRaskin: haha, i feel like snowden is too far down my bucketlist :C
<MichaelRaskin> One of the proposals in Russia is worded by raging incompetents and just bans HTTPS without even noticing it
<pie_> :D
<pie_> tbf it sounds like it would be pretty hard to word something like this and not screw it up
<samueldr> do you mean impossible?
<samueldr> the moment you have a backdoor it's screwed up
<pie_> yeah but like besides tat
<MichaelRaskin> pie_: it's not Snowden book level of maybe he lied, it is Congress records of testimony by FBI
<pie_> aha
<pie_> MichaelRaskin: where do you find this stuff
<pie_> also idk maybe the fbi lied :P
<MichaelRaskin> Come on, the entire Clinton Emails story was pretty hard to ignore even this side of the moat
Peetz0r has quit [Ping timeout: 265 seconds]
<pie_> i heard about it but i stil dont know whats going on there. - oh,
<pie_> .
<pie_> i mean, its pretty easy to sidestep a secure network set up for you if youre tryign to do your own thing
<MichaelRaskin> Well, she used a privately set up, and not top-state-level-managed email server. Because when she asked NSA to setup anything remotely similar to reasonable email setup, they flat-out refused
<pie_> aha
<pie_> oook
<pie_> needs more nixos
<pie_> seriously tho wtf lol, xkeyscore is fine but cant set up an email server
<pie_> just shows that the administration is a puppet show? ;P
<pie_> (let me go get my tinfoil)
<MichaelRaskin> Also, Keith Alexander seems to have admitted that yes, Snowden is right in general about the amount of illegal surveillance NSA did, and no, they do not know exactly how much he managed to exfiltrate because they are not good enough at keeping track of data
<pie_> thats kinda nuts i gotta say
<MichaelRaskin> It didn't affect his employment in the slightest you know
<MichaelRaskin> Meh, normal Goodhardt
<pie_> 1 unlawful surveillance is a tragey, a billion is a statis-
<pie_> *tragedy
Peetz0r has joined #nixos-chat
<MichaelRaskin> Like, they can report cool catch from breaching enemy networks, and they cannot reasonably report their defense of infrastructure efforts (because describing it meaningfully requirtes technical knowledge on the recepient's part)
<MichaelRaskin> So they drop the defense part completely
<pie_> hm
<MichaelRaskin> And this is kind of universal
<pie_> the funny thing is the best defenses are not quite technical
<pie_> (im thinking compartmentalization)
<pie_> yeah that makes sad sense tbh
<MichaelRaskin> France continues to enforce record keeping laws contradicting EU privacy directives, and explicitly hitting every point in a EU court of human rights decision striking down some such laws
<MichaelRaskin> At some point, you do need technical defenses
<pie_> i not following on the france thread
<ldlework> When I read an article like this I want to kill myself, https://sgt.hootr.club/molten-matter/dotnet-on-nix/
<MichaelRaskin> Like, do not stockpile your best vulnerability data in a network running the systems that cannot be secured because you neither report the bugs nor develop private patches
<pie_> heh
<MichaelRaskin> Well, France enforcing clearly bad record keeping laws on café WiFi is the same «grab random data» instinct
<pie_> ldlework: that looks pretty short how bad can it be
<ldlework> pie_: My eyes keep glossing over!
<pie_> MichaelRaskin: aha
<pie_> ldlework: is it just because its dotnet or what
<ldlework> I just wanna write my application lol.
<ldlework> pie_: The whole "learn a bunch of stuff unrelated to your task in order to accomplish that task on nix first" I guess
<MichaelRaskin> And nobody knows what is considered a tool too attacky to be permitted to be privately developed in Germany
<ldlework> > Code for this post here. Note: there’s many hacks specific to my use-case left in the code and it’s probably not usable as-is.
<{^_^}> error: syntax error, unexpected ':', expecting ')', at (string):345:30
<ldlework> nooooo
<pie_> ldlework: mmm
<pie_> ldlework: yeah not that i keep a blog (i dont yet) but blog post aint done unless it has a reproable nix expression
<pie_> ldlework: but he does say at the top you dont actually need any of this?
<ldlework> yeah as if he's going to conclude the article like "just use mkDotNetApplication" or some shit
<ldlework> such a tease
<ldlework> expectation: use nuget2nix!
<ldlework> reality: i left in my use-case hacks
<pie_> at the end he says the problem was just an outdated library verison
<pie_> also in the movie X kills Y
<ldlework> he still had to write a bunch of derivation and an implementation of the sha32 and so on
<pie_> ok i didnt read very carefully i thought that was all unnecessary
<MichaelRaskin> Yes, base32 was definitely unnecessary, because base16 is supported by Nix in a standard way
<MichaelRaskin> Also there is nix-prefetch-url, I guess
<MichaelRaskin> But where is fun in that
<ldlework> But it got stuck on the dotnet restore step of the build. I discovered that external connections are not allowed during the build step of a Nix derivation, so I had to fetch the dependencies through Nix.
<ldlework> had to also write my own version of fetchNuGet because the default one tried to build the artifacts again for some reason, didn’t support sha512, and used mono which I’m not using. I used the same gist as above for inspiration.
<ldlework> etc etc