--- Log opened Wed Feb 03 00:00:22 2021 |
02:05 | | McMartin [mcmartin@Nightstar-c25omi.ca.comcast.net] has quit [[NS] Quit: leaving] |
02:29 | | McMartin [mcmartin@Nightstar-c25omi.ca.comcast.net] has joined #code |
02:29 | | mode/#code [+ao McMartin McMartin] by ChanServ |
03:07 | | Netsplit Traal.Nightstar.Net <-> Krikkit.Nightstar.Net quits: @PinkFreud |
03:27 | | Netsplit over, joins: @PinkFreud |
03:31 | | Degi [Degi@Nightstar-09i5r2.pool.telefonica.de] has quit [Operation timed out] |
03:37 | | Degi [Degi@Nightstar-t8ci2j.pool.telefonica.de] has joined #code |
04:31 | | VirusJTG__ [VirusJTG@Nightstar-42s.jso.104.208.IP] has quit [Connection closed] |
04:31 | | VirusJTG__ [VirusJTG@Nightstar-42s.jso.104.208.IP] has joined #code |
06:23 | | celticminstrel [celticminst@Nightstar-46hkr3.dsl.bell.ca] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!] |
06:27 | | Vorntastic [uid293981@Nightstar-h2b233.irccloud.com] has joined #code |
06:27 | | mode/#code [+qo Vorntastic Vorntastic] by ChanServ |
06:40 | | Pink [Pink@Nightstar-4dc2ar.ph.cox.net] has quit [Connection reset by peer] |
06:41 | | Pink [Pink@Nightstar-4dc2ar.ph.cox.net] has joined #code |
07:36 | | abudhabi [abudhabi@Nightstar-d7tuf1.adsl.tpnet.pl] has joined #code |
10:11 | <@sshine> | in PHP you can call a non-static class method in a class context rather than in an object context, i.e., ClassName::nonStaticMethod() is for somehow meaningful... |
10:12 | <@sshine> | s/for // |
11:00 | < catalyst> | to be fair the syntax Type::method(object) can be pretty handy |
11:00 | < catalyst> | where you explicitly pass self |
11:01 | < catalyst> | in particular if you have some templated or generic code where you want to write it over different methods |
11:12 | <~Vorntastic> | The self-ish system is very useful |
11:27 | | catalyst_ [catalyst@Nightstar-vu6bd4.dab.02.net] has joined #code |
11:27 | | catalyst [catalyst@Nightstar-ejd4sd.cable.virginm.net] has quit [Ping timeout: 121 seconds] |
11:52 | | catalyst [catalyst@Nightstar-ejd4sd.cable.virginm.net] has joined #code |
11:54 | | catalyst_ [catalyst@Nightstar-vu6bd4.dab.02.net] has quit [Ping timeout: 121 seconds] |
12:24 | <@sshine> | I'm giving code review to the line: $amount = $args['amount'] ?? 100; saying: Avoid magic constants. Give this one a name. https://stackoverflow.com/a/43951017/235908 -- I get back the response, "Traits cannot have constants." -- how do you respond pedagogically? |
12:29 | <~Vorntastic> | Uh. Can I get the docs on the ?? Operator, it is apparently completely ungoogleable |
12:30 | <@sshine> | this is PHP's null coalescing operator, kinda like C#'s. |
12:30 | <@sshine> | https://www.php.net/manual/en/migration70.new-features.php#migration70.new-features.null-coalesce-op |
12:31 | <@sshine> | it provides a default in case LHS is null, but not false. |
12:33 | <~Vorntastic> | Ah, so what I guessed it did. Okay. Uh... So wait this code is inside a trait definition or something? |
12:34 | <~Vorntastic> | Suppose either way that's a nonsense-ass response. |
12:41 | <@sshine> | yes, it's a deflection. |
12:42 | <@sshine> | I'm not saying he should put a constant inside a trait. :) |
12:44 | | * catalyst implodes |
14:01 | | celticminstrel [celticminst@Nightstar-46hkr3.dsl.bell.ca] has joined #code |
14:01 | | mode/#code [+o celticminstrel] by ChanServ |
14:28 | | catalyst_ [catalyst@Nightstar-vu6bd4.dab.02.net] has joined #code |
14:30 | | catalyst [catalyst@Nightstar-ejd4sd.cable.virginm.net] has quit [Ping timeout: 121 seconds] |
14:44 | | Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has joined #code |
14:44 | | mode/#code [+qo Vornicus Vornicus] by ChanServ |
14:49 | | catalyst [catalyst@Nightstar-ejd4sd.cable.virginm.net] has joined #code |
14:49 | | catalyst_ [catalyst@Nightstar-vu6bd4.dab.02.net] has quit [Ping timeout: 121 seconds] |
16:17 | | Vorntastic [uid293981@Nightstar-h2b233.irccloud.com] has quit [[NS] Quit: Connection closed for inactivity] |
17:08 | | Emmy [Emmy@Nightstar-l49opt.fixed.kpn.net] has joined #code |
18:01 | < abudhabi> | You know that that Welcome to Facebook video on youtube, where the helper persona is turned off, and then turned back on much later, to see the user's profile essentially in ruins via the user's own idiocy? |
18:02 | < abudhabi> | I'm being recontracted for doing something fairly trivial (robots.txt and site description edit) after like three years not working for the company. |
18:02 | < abudhabi> | I log into the admin account at the wordpress, my old password still works. And it's a giant mess of freemium plugins now. |
18:29 | < abudhabi> | In other news, a QOL improvement: I've set up my nomachine to blank screen on connect, and lock screen on disconnect, and the screensaver to never trigger. I pretty much only use that computer remotely nowadays, and this way, I don't have to re-enter the password incessantly. |
18:30 | < abudhabi> | Remoting is fun. |
18:30 | <@sshine> | abudhabi, it feels like that's the kinda building I'm walking into right now... I'm only just creating a bunch of wordpress installations for my evening school teacher. I bet he'll install a bunch of crap plugins, realize they don't work, and just install new ones. |
18:31 | < abudhabi> | Mmm. |
18:31 | <@sshine> | 15 years ago I worked with Drupal, and eventually, some time after I stopped using Drupal, some people came up with a way to actually put parts of a Drupal system under version control, so it wasn't this big squishy blob living in a database. |
18:32 | <@sshine> | I feel like WordPress still isn't like that by default. I wonder if it's compatible with this idea that changes you make to the site are separated from the content you fill it with. |
18:33 | | catalyst_ [catalyst@Nightstar-ejd4sd.cable.virginm.net] has joined #code |
18:33 | | catalyst [catalyst@Nightstar-ejd4sd.cable.virginm.net] has quit [Connection reset by peer] |
18:34 | | catalyst [catalyst@Nightstar-ejd4sd.cable.virginm.net] has joined #code |
18:34 | | catalyst_ [catalyst@Nightstar-ejd4sd.cable.virginm.net] has quit [Connection closed] |
18:37 | | catalyst_ [catalyst@Nightstar-mne13l.dab.02.net] has joined #code |
18:38 | | catalyst [catalyst@Nightstar-ejd4sd.cable.virginm.net] has quit [Ping timeout: 121 seconds] |
19:13 | | catalyst_ is now known as catalyst |
19:23 | | catalyst_ [catalyst@Nightstar-ejd4sd.cable.virginm.net] has joined #code |
19:25 | | abudhabi [abudhabi@Nightstar-d7tuf1.adsl.tpnet.pl] has quit [NickServ (RECOVER command used by abudhabi_)] |
19:25 | | abudhabi [abudhabi@Nightstar-55l8kt.adsl.tpnet.pl] has joined #code |
19:25 | | catalyst [catalyst@Nightstar-mne13l.dab.02.net] has quit [Ping timeout: 121 seconds] |
19:34 | | Kindamoody[zZz] is now known as Kindamoody |
19:36 | | catalyst_ is now known as catalyst |
19:42 | <&McMartin> | https://pbs.twimg.com/media/EtP_3wcXMC4Q_Fm?format=jpg |
19:45 | < catalyst> | solution: only code at night |
19:46 | < Mahal> | Wordpress is _awful_ and needs to get in the sea |
19:47 | <~Vornicus> | I have bad news about its competitors |
19:50 | <&McMartin> | That's OK, once they're in the sea they are no longer really capable of fighting effectively and you can cut them all down with impunity despite being vastly outnumbered |
20:06 | < abudhabi> | Vornicus: Hahaha. |
21:52 | | Kindamoody is now known as Kindamoody[zZz] |
22:38 | | abudhabi [abudhabi@Nightstar-55l8kt.adsl.tpnet.pl] has quit [Ping timeout: 121 seconds] |
23:26 | | Emmy [Emmy@Nightstar-l49opt.fixed.kpn.net] has quit [Ping timeout: 121 seconds] |
23:50 | | Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has quit [Connection closed] |
--- Log closed Thu Feb 04 00:00:24 2021 |