code logs -> 2022 -> Wed, 07 Dec 2022< code.20221206.log - code.20221208.log >
--- Log opened Wed Dec 07 00:00:27 2022
01:08 gizmore|2 [kvirc@Nightstar-pi24ir.dip0.t-ipconnect.de] has joined #code
01:10 gizmore [kvirc@Nightstar-74vnsl.dip0.t-ipconnect.de] has quit [Ping timeout: 121 seconds]
02:54 Degi_ [Degi@Nightstar-4ib.f4v.224.92.IP] has joined #code
02:56 Degi [Degi@Nightstar-tv41tg.pool.telefonica.de] has quit [Ping timeout: 121 seconds]
02:56 Degi_ is now known as Degi
04:36 Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has quit [[NS] Quit: Leaving]
04:39 Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has joined #code
04:39 mode/#code [+qo Vornicus Vornicus] by ChanServ
05:05 Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has quit [[NS] Quit: Leaving]
05:59 McMartin [mcmartin@Nightstar-n6bm7f.sntcca.sbcglobal.net] has quit [[NS] Quit: bunches of upgrades]
06:16 Vorntastic [uid293981@Nightstar-phvupn.irccloud.com] has joined #code
06:16 mode/#code [+qo Vorntastic Vorntastic] by ChanServ
07:12 McMartin [mcmartin@Nightstar-n6bm7f.sntcca.sbcglobal.net] has joined #code
07:12 mode/#code [+ao McMartin McMartin] by ChanServ
09:47 McMartin [mcmartin@Nightstar-n6bm7f.sntcca.sbcglobal.net] has quit [The TLS connection was non-properly terminated.]
10:21 Emmy [Emmy@Nightstar-qo29c7.fixed.kpn.net] has joined #code
13:57 jessifae_ [catalyst@Nightstar-ejd4sd.cable.virginm.net] has quit [Ping timeout: 121 seconds]
13:58 jessifae [catalyst@Nightstar-p8o959.dab.02.net] has joined #code
14:05 jessifae_ [catalyst@Nightstar-ejd4sd.cable.virginm.net] has joined #code
14:08 jessifae [catalyst@Nightstar-p8o959.dab.02.net] has quit [Ping timeout: 121 seconds]
14:13 abudhabi__ [abudhabi@Nightstar-7o4bql.adsl.tpnet.pl] has joined #code
14:13
< abudhabi__>
https://bugzilla.mozilla.org/show_bug.cgi?id=326181
14:14
< abudhabi__>
>Open Bug 326181 Opened 17 years ago Updated 3 years ago
14:29
<@TheWatcher>
... fun.
14:31 Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has joined #code
14:32 mode/#code [+qo Vornicus Vornicus] by ChanServ
14:45 Vorntastic [uid293981@Nightstar-phvupn.irccloud.com] has quit [[NS] Quit: Connection closed for inactivity]
16:00
< abudhabi__>
I'm having a hell of a time trying to send an email from command line.
16:01
< abudhabi__>
Anonymous mail from my machine obviously won't get accepted anywhere, because of the general state of email.
16:02
< abudhabi__>
I kind of expected using one of my legitimate accounts via commandline smtp to be easier, though.
16:02
< abudhabi__>
Is there some obvious solution "I just want to send an email from command line sometimes"?
16:07
<&ToxicFrog>
Use something like `msmtp`, configure it to relay through your ISP's authenticated mail server?
16:08
< abudhabi__>
ISP's?
16:08
<@TheWatcher>
mailx will let you set the SMTP server, including auth, in ~/.mailrc
16:08
<&ToxicFrog>
Internet Service Provider. At least here, most ISPs have a mail server that their customers can use to send outbound mail even if it's not from an adress the ISP controls.
16:09
<&ToxicFrog>
If you want to send from your gmail address or something you may need to config msmtp/mailx/etc to talk to smtp.google.com or something
16:09
<&ToxicFrog>
But the common thread is "install a command line smtp client and configure your outbound SMTP server in its rc file"
16:14
< abudhabi__>
I'll take a look.
16:39
< jeroud>
Heya. Been a while.
16:40
< jeroud>
I'm doing adventofcode.com in PHP this year, mostly to see if it's still as awful as I remember.
16:40
< jeroud>
So far it isn't. :-D
16:56
<~Vornicus>
I worked in php and while it sucked it was not *quite* as bad as I thought... until I discovered what the fuck it was doing with function names
17:04
< jeroud>
If you use the right tools, it's possible to write reasonably clean, safe code.
17:05
< jeroud>
Anyway, #aocspoilers for chatting about solutions and such.
17:35
<@macdjord>
jeroud: Using the right tools, you can cleanly and safely handle many forms of excrement, yes~
17:51
<~Vornicus>
(PHP has barewords: if you just write a thing like `cheese` that's equivalent to `"cheese"`. function calls look like `cakeify()`. These two facts together suggest a third, very important, terrifying fact)
18:05
< jeroud>
The barewords thing is deprecated. May even be illegal from 8.0.
18:05
<~Vornicus>
man
18:09
< jeroud>
You still pass strings as callables for builtin functions, though.
18:10
< jeroud>
And you can put a class name in a string variable and instantiate it.
18:11
< jeroud>
I do that for my AoC stuff.
18:12
<~Vornicus>
that's the terrifying part
18:21
< jeroud>
It's no worse than using a reflection API, really.
18:55
<&ToxicFrog>
I'm doing it in Factor, and enjoying it quite a lot, although it definitely has some warts (some of which look like they're going be addressed, at least)
19:31 McMartin [mcmartin@Nightstar-n6bm7f.sntcca.sbcglobal.net] has joined #code
19:31 mode/#code [+ao McMartin McMartin] by ChanServ
20:37
<@macdjord>
jeroud, Vornicus: Searching for and calling a function or class by name-as-a-string is absolutely a thing every self-respecting interpreted language should support. Doing so /implicitly/ is terrifying.
22:34 Kizor [a@Nightstar-nfsqa7.yok.fi] has quit [[NS] Quit: ]
22:38 Kizor [a@Nightstar-nfsqa7.yok.fi] has joined #code
23:16 Emmy [Emmy@Nightstar-qo29c7.fixed.kpn.net] has quit [Ping timeout: 121 seconds]
--- Log closed Thu Dec 08 00:00:28 2022
code logs -> 2022 -> Wed, 07 Dec 2022< code.20221206.log - code.20221208.log >

[ Latest log file ]