makefu changed the topic of #nixos-wiki to: Welcome to the *unofficial* nixos wiki | https://nixos.wiki | chat logs: https://logs.nix.samueldr.com/nixos-wiki/
asymmetric_ has quit [Ping timeout: 252 seconds]
asymmetric has quit [Ping timeout: 252 seconds]
lassulus_ has joined #nixos-wiki
lassulus has quit [Ping timeout: 252 seconds]
lassulus_ is now known as lassulus
orivej has quit [Ping timeout: 240 seconds]
makefu has joined #nixos-wiki
<makefu> i've created https://nixos.wiki/wiki/Lvm out of frustration that my server didn't boot after i've set up raid1 in lvm.
<makefu> btw i'd love to see the wiki bot back here
orivej has joined #nixos-wiki
asymmetric has joined #nixos-wiki
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #nixos-wiki
nixoswikibot has joined #nixos-wiki
<fadenb> makefu: bot is back, I still have to register the bot somehow but did not have the time to do that yet
orivej has quit [Ping timeout: 252 seconds]
<pie_> fadenb, just register it normally? :P
<fadenb> pie_: That is not the issue but the bot then needs to authenticate
<fadenb> and the bot code sucks ;)
<pie_> ah well :P
<pie_> just msg inckserv identify on join? :P
<pie_> nickserv
<pie_> it can send messages so this should work? xD
<makefu> pie_: we did exactly the same in the Reaktor|krebs bot code
<Reaktor|krebs> I'm famous
<pie_> heh
<samueldr> msg to nickserv on connect isn't great
<samueldr> it could have a race condition since it'd need nickserv to +r it
<samueldr> » you can supply your login details, in the form <account>:<password>, as a server password and they will be forwarded to NickServ when you finish connecting
<samueldr> that's how a bot should identify
<fadenb> Yep, already noted on my (neverending) todo list :p
<samueldr> (sharing so the mimimi-saying bot can be made better :))
<samueldr> ah, the bot will wait for a notice
<samueldr> hacky, but wouldn't race I guess
<makefu> samueldr: sasl is hard so we skipped that :D
<samueldr> I'm not even talking about SASL
<makefu> Reaktor is only saying mimimi when he is sad
<makefu> ahhh yeah i've read now what you mean
<samueldr> :)
<samueldr> {`-`} connects using such a password
<samueldr> never had issues since the channels started using +r
<samueldr> (though it's not reconnecting often)
<makefu> i will check the IRC protocol what "logging in" actually means
<samueldr> it doesn't
<samueldr> :)
<samueldr> depending on what you mean by "logging in"
<samueldr> it's pretty much server-dependent what is going to happen
<samueldr> and there is no "auth" in IRC, which is why bad hacks like nickserv exist
<samueldr> (if you forget about the new fancy stuff)
<makefu> oh oh :D
<makefu> the irc RFC is funny:
<makefu> It is strongly
<makefu> recommended that all server connections have a password in order to
<makefu> give some level of security to the actual connections.
<makefu> ah it is inter-server
<samueldr> written in another time
<makefu> or is it?
<samueldr> when you could trust everyone on the internet :D
<makefu> also, without encryption "level of security" is relative
<makefu> so if i understand correctly,you can supply "PASS user:password" as the first message
<makefu> luckily IRC is old enough to test with netcat
<samueldr> ah, right, if you're doing the protocol yourself instead of using a porcelain-y bit it's going to mean a bit more work
<samueldr> yeah, before "authing" (sending nick and ident) you can supply PASS
<makefu> samueldr: which lib are you using for {`-`}
<samueldr> kinda none, I haven't implemented {`-`}
<samueldr> un the end it's using cinch https://github.com/cinchrb/cinch
<makefu> wow, and you packaged that monster? :D
<makefu> lassulus: ^
<makefu> but cinch also creates a sasl challenge
<samueldr> the few ruby things I needed to package, they were easy to package
<samueldr> yeah, cinch is a fully-featured library
<lassulus> makefu: done
<makefu> lets see if this even works :D
orivej has joined #nixos-wiki