gchristensen changed the topic of #nixos-chat to: NixOS but much less topical || https://logs.nix.samueldr.com/nixos-chat
qyliss^work has quit [Quit: bye]
qyliss has quit [Quit: bye]
jasongrossman has joined #nixos-chat
qyliss has joined #nixos-chat
qyliss^work has joined #nixos-chat
drakonis has joined #nixos-chat
Lisanna has quit [Ping timeout: 250 seconds]
jasongrossman has quit [Remote host closed the connection]
Lisanna has joined #nixos-chat
<gchristensen> erlang is coooool
jasongrossman has joined #nixos-chat
<drakonis> yes it is
pie__ has joined #nixos-chat
pie___ has quit [Remote host closed the connection]
ottidmes has quit [Quit: WeeChat 2.2]
sir_guy_carleton has quit [Ping timeout: 246 seconds]
pie___ has joined #nixos-chat
pie__ has quit [Remote host closed the connection]
sir_guy_carleton has joined #nixos-chat
drakonis has quit [Ping timeout: 264 seconds]
lassulus_ has joined #nixos-chat
lassulus has quit [Ping timeout: 246 seconds]
lassulus_ is now known as lassulus
endformationage has quit [Quit: WeeChat 2.3]
sir_guy_carleton has quit [Ping timeout: 250 seconds]
sir_guy_carleton has joined #nixos-chat
sir_guy_carleton has quit [Quit: WeeChat 2.2]
jackdk has quit [Ping timeout: 250 seconds]
jasongrossman has quit [Quit: ERC (IRC client for Emacs 26.1)]
__monty__ has joined #nixos-chat
<ldlework> A modern ML on Beam would be the dream.
<ldlework> (erlang isn't the funnest language)
<__monty__> Elixir is supposed to be fun.
__Sander__ has joined #nixos-chat
<__monty__> There's akka for scala.
<ldlework> Elixir is more Ruby than anything :(
<__monty__> Haskell has a bunch of streaming libraries that are used in similar situations.
<ldlework> "streaming libraries" doesn't really describe BEAM
<__monty__> I said similar situations. It can give you fault tolerance in the face of services crashing.
<ldlework> k
hedning has joined #nixos-chat
hedning has quit [Quit: hedning]
<lejonet> gchristensen: have you looked any at Elixir in regards to you liking erlang? :P
hedning has joined #nixos-chat
lassulus has quit [Ping timeout: 245 seconds]
Guanin has joined #nixos-chat
<gchristensen> lejonet: I've used Elixir before. do you like it?
<ldlework> gchristensen: do you?
<gchristensen> it was fine, I was patching https://github.com/bors-ng/bors-ng and not developing anything new -- so a lot of headdesking as I learned the ropes
<gchristensen> it isn't clear to me why I'd pick Elixir over Erlang, though
<__monty__> gchristensen: Because you're a rails developer and want to ditch ruby? : >
<gchristensen> that is a great reason!
<gchristensen> having elixir and rails fit together is very cool
<__monty__> Do they fit together?
<gchristensen> I think that they do
<gchristensen> my understanding is you can replace parts of your rails stack with elixir
<gchristensen> I learned about elixir at a Ruby conference in like ... 20...13? where that was the impression I got.
<__monty__> I'd expect you could use it for backend stuff but afaik that's not really rails' territory?
<gchristensen> rails background jobs are a big thing
biopandemic has joined #nixos-chat
biopandemic has quit [Client Quit]
pie__ has joined #nixos-chat
pie___ has quit [Remote host closed the connection]
drakonis has joined #nixos-chat
lassulus has joined #nixos-chat
<sphalerite> Idea: suspend-to-disk is evil. Take the opportunity to shut down completely and discard the crufty state.
<gchristensen> suspend to disk is a necessary evil?
<sphalerite> is it really?
<samueldr> I can't wait until storage speed is fast enough that the distinction between memory and storage is blurred and possibly removed, so that "booting" isn't a thing anymore :/
<gchristensen> yeah, suspend to disk always!
endformationage has joined #nixos-chat
<cransom> we are much closer to instant-on than we used to be. booting used to be a 3 minute affair.
<cransom> though. hp servers. looking at you. that's still a 15 minute cold boot.
<gchristensen> or systems with big raid arrays
<gchristensen> or a lot of NICs all set to pxe-boot
<gchristensen> or systems with a lot of CPUs
<gchristensen> pretty much any server, actually
pie__ has quit [Remote host closed the connection]
pie___ has joined #nixos-chat
<samueldr> the closer to server-class hardware you are, the longer its POST... my workstation's POST it way longer than [refind, grub, kernel, stage-1, stage-2, X autologin]
<samueldr> and both refind and grub take longer than they could since they have timeouts!
__Sander__ has quit [Quit: Konversation terminated!]
sir_guy_carleton has joined #nixos-chat
<elvishjerricco> My desktop's boot time got like 15 seconds worse when I started using Grub's cryptodisk to encrypt /boot :( And then Grub also takes like a full couple of seconds to render its UI on a 4K display.
<lejonet> gchristensen: well, imo it brings some nice things over pure erlang, even tho its mainly a semantic thing, but the whole "we want to be ruby" syntax thing is really annoying
<gchristensen> cool
<gchristensen> later today I'm going to look in to if erlang has an SSH server built in
<gchristensen> / as a library
<lejonet> Honestly tho, anything you can do with elixir, you can do in erlang (because well... elixir is just a thin wrapper over OTP...) but it does so a bit nicer/more modern, syntax-wise
<gchristensen> is it the reverse, anything you can do in erlang can be done in elixir?
<gchristensen> I did notice elixir kept the binary comprehensions
hedning has quit [Quit: hedning]
<lejonet> I would say it goes both ways because the elixir runtime is the erlang runtime :P
<gchristensen> cool. do you know if there is an ssh server library? :)
<lejonet> I would be surprised if there isn't, but can't remember of the top of my head
<lejonet> https://github.com/rubencaro/sshex seems to exist
<lejonet> and one of the nice things with elixir, and also just shows how much of just an addon to erlang it actually is, is that any erlang library is usable in elixir
<gchristensen> yeah, very cool
<lejonet> so the view that elixir is "just" a erlang library that is a preprocessor isn't too far from the truth :P
<gchristensen> until last year the erlang SSL library didn't validate SSL certificates matched the hostname and that left me feeling grumpy for a long time
<qyliss^work> yikes
<gchristensen> python's didn't until like 2014 / 2015
<lejonet> A lot of SSL implementations haven't...
<samueldr> elvishjerricco: AFAIUI, from a friend's research in the issue, grub's cryptodisk implementation has no HW acceleration
<samueldr> (I haven't verified it though)
<elvishjerricco> samueldr: Huh. Surprising that leads to probably a 10x slower decryption time than Linux.
<samueldr> that's what I saw too, at the time, and what annoyed my friend :)
<lejonet> its kind of ironic of how much faster hw acceled crypto is
<elvishjerricco> Why is that ironic?
<samueldr> the ironic meaning that ironic has now
<lejonet> Because before the view was that "We can't do crypto in hardware, it will be too slow" :P
<lejonet> (and before in this context means way, way, way ago)
<lejonet> also the fact that software people were a bit pretentious in like the 90s, when software was ahead of hardware when it came to squeeze out performance, unless you handcrafted the asm yourself
<__monty__> How can the view ever have been that purpose built hardware would be slower? Did they take into account R&D and actual hardware production or something?
sir_guy_carleton has quit [Ping timeout: 250 seconds]
<lejonet> __monty__: arrogance and a tinge of smallmindedness I think mainly
<gchristensen> especially when software is running on hardwer :P
<elvishjerricco> Sidenote: What are the chances that homomorphic encryption ever works out?
<elvishjerricco> My impression is that we barely even have prototypes of that stuff. But it sounds like it'd be a really awesome tech to have.
<gchristensen> sounds pretty unlikely
<lejonet> iirc there exists some very, very simple poc's, but nothing even remotely close to usefulness
<gchristensen> isn't the point of encryption to make the output indistinguishable from noise? how could an operation have meaning on it? it seems the ability to perform a meaningful operation would negate the benefits
<__monty__> gchristensen: It's super interesting.
<lejonet> Well, isn't the take on homomorphic encryption more towards integrity and non-repudiation rather than the whole keep stuff sekkrit, even tho that is ofc a vital part of it
<__monty__> You know what a homomorphism is, right?
<gchristensen> sure
<__monty__> Homomorphic encryption can get you: a + b = c <=> crypt(a) + crypt(b) = crypt(c), hence decrypt(crypt(a) + crypt(b)) = c
<samueldr> ROT13?
Jackneill has quit [Remote host closed the connection]
<__monty__> Yeah, that's homomorphic when it comes to concatenation : )
<samueldr> :3
<samueldr> (yes, I know it's not right, but couldn't resist the temptation)
Jackneill has joined #nixos-chat
<elvishjerricco> Reading some stuff about this topic: TIL that RSA would be homomorphic with respect to (modular) multiplication if it weren't for some protections that were added to it.
<__monty__> Yeah, textbook RSA is.
<gchristensen> like ECB?
<ldlework> infinisil: So I noticed that there is a C program trivial builder - and weechat has a C api. It'd be cute to get those together.
<lejonet> ldlework: so that you can compile and run C code through weechat? :P
<ldlework> lol no, so little weechat extensions can be written and reliably deployed with weechat :P
<lejonet> ^^
rawreraw has joined #nixos-chat
avn has joined #nixos-chat
hedning has joined #nixos-chat
hedning has quit [Client Quit]
<qyliss> Does Nix do freenode cloaks?
<qyliss> Because if not, that would be p cool
<qyliss> Just sayin
<gchristensen> what would you like the cloak to say?
<qyliss> idk, nixos/something
<gchristensen> well we haven't before, but that doesn't mean we can't start
<qyliss> I just saw a netbsd/developer one and thought “hmm”
rawreraw has quit [Quit: WeeChat 2.3]
<ldlework> can i have nixos/evangelist
<gchristensen> I was thinking maybe just nixos/user?
<lejonet> nixos/declarative :D
<gchristensen> having a deliniation between user / developer seems arbitary and needlessly exclusionary
<ldlework> laaaaaame
<ldlework> :)
<samueldr> nixos/default.nix :)
* joepie91 is not a fan of user vs. developer either
<LnL> nixos/nix?
<ldlework> you get dev as soon as your the author of a commit :)
<ldlework> it's not exclusionary, it's an achievement
<gchristensen> that does sound cool, but we can start with nixos/user
<samueldr> now link that into freenode :/
<ldlework> open to anyone of course!
<ldlework> samueldr: haha not automatically!
<gchristensen> ping me if you'd like a "nixos/user" cloak
<samueldr> gchristensen: I do
<LnL> yeah same
<gchristensen> (bump ldlework, qyliss, I'm about to send the first list over)
<ldlework> sure
<qyliss> yes pls
<joepie91> lol, this marketing: https://parcellab.com/en/
<joepie91> "Communicate directly with your customers rather than entrusting this to UPS, FedEx & Co."
<joepie91> something tells me they're not entirely happy with the shipping companies
<joepie91> :P
<gchristensen> oy, want a cloak, joepie91?
<joepie91> gchristensen: nah, not really a cloak person, but thanks :P
<gchristensen> sure
<joepie91> oh wow, those guys have a really clever integration system
<joepie91> "Simply BCC parcelLab on every shipping confirmation. We fetch all the data ourselves."
<joepie91> I can see that being popular with especially smaller shops
<joepie91> that'd be, like, a one-line change in almost any e-commerce app
<joepie91> if that
<qyliss> gchristensen: could qyliss^work have one too?
<gchristensen> oh man, different nickserve account :o
drakonis has quit [Quit: WeeChat 2.3]
<qyliss> Ya
<qyliss> I forget why I did that
<qyliss> good to have redundancy :P
<gchristensen> Freenode Staff would ilke to remind you that you can share a nickserv account with multiple online identities :)
<gchristensen> I had no idea cloaks were so complicated
LnL has joined #nixos-chat
samueldr has joined #nixos-chat
samueldr has quit [Changing host]
LnL has quit [Changing host]
qyliss has joined #nixos-chat
qyliss has quit [Changing host]
qyliss^work has quit [Changing host]
qyliss^work has joined #nixos-chat
tilpner has joined #nixos-chat
tilpner has quit [Changing host]
gchristensen has joined #nixos-chat
{^_^} has joined #nixos-chat
gchristensen has quit [Changing host]
{^_^} has quit [Changing host]
ldlework has quit [Changing host]
ldlework has joined #nixos-chat
<gchristensen> happy holidays, enjoy your cloaks
<qyliss> yay!
<qyliss> thank you gchristensen!
<ldlework> fyi, roboduels is free tonight at 6pm est
<qyliss> inb4 more people see the cloaks and gchristensen dies of too many cloak requests
<aminechikhaoui> gchristensen nice, I'd like one too :D
<__monty__> gchristensen: Can any ops give out cloaks for channels they run?
<joepie91> qyliss: that seems like a honourable death
<gchristensen> you have to be part of the project's Group Registration
<__monty__> samueldr: Thanks.
<gchristensen> aminechikhaoui: https://nixos.wiki/wiki/IRC:Cloaks read the top aprt and let me know what you prefer.
<aminechikhaoui> I guess NixOS/user/AmineChikhaoui would work :)
boredom101 has joined #nixos-chat
<LnL> documentation and everything! :D
<gchristensen> :)
<gchristensen> the freenode staffer sent me so much good info, I couldn't let it rot in my logs
<lejonet> Can I be nixos/user/hungrylion? xD
<gchristensen> is that a real question?
<gchristensen> or hypothetical
<lejonet> both?
<gchristensen> hypothetically yes, but I'm not sure why? is that something you associate with?
<lejonet> lejonet -> Swedish for The Lion :)
<gchristensen> oh cool
boredom101 has quit [Quit: Konversation terminated!]
aminechikhaoui has quit [Changing host]
aminechikhaoui has joined #nixos-chat
clever has joined #nixos-chat
clever has quit [Changing host]
edef has joined #nixos-chat
edef has quit [Changing host]
<tilpner> Not everyone knows graham == gchristensen
<tilpner> What about s/graham/gchris + tensen/ or some other obfuscation that is easier to guess?
hedning has joined #nixos-chat
<gchristensen> feel free to change it :)
lejonet has quit [Changing host]
lejonet has joined #nixos-chat
hedning has quit [Client Quit]
<lejonet> Nice to be rid of the gentoo cloak :D I like the nixos cloak better ^^
<tilpner> ,cloak
<{^_^}> Ping ${"gchris" + "tensen"} if you'd like to get a nixos/user cloak. Read https://nixos.wiki/wiki/IRC:Cloaks for instructions.
* lejonet high-fives gchristensen
<gchristensen> looks great, tilpner!
<gchristensen> yay, lejonet! :)
<lejonet> is there any easy way to tell nixos-rebuild to not care about the kernel atm? 4.14.87 gets some patch for namei to fail, and I kinda want to test a openvswitch improvement :(
<ldlework> anyone gonna come to roboduels?
<ldlework> smh
<elvishjerricco> Huh. Removing the GPU rom from my qemu arguments seems to have fixed my issues... Very weird
<elvishjerricco> Now to figure out how to poweroff / suspend in synchronization with the VM... Problem #1: I've passed all input to the VM directly, so I have no way to wake the linux system if I suspend it :P
<elvishjerricco> I guess the power button works
jackdk has joined #nixos-chat
<ldlework> https://www.twitch.tv/roboduels I'm green!
pie__ has joined #nixos-chat
pie___ has quit [Remote host closed the connection]
hedning has joined #nixos-chat
__monty__ has quit [Quit: leaving]