--- Log opened Mon Aug 02 00:00:47 2021 |
02:14 | | Degi_ [Degi@Nightstar-2lrugr.pool.telefonica.de] has joined #code |
02:15 | | abudhabi [abudhabi@Nightstar-84mdvu.adsl.tpnet.pl] has joined #code |
02:15 | | Degi [Degi@Nightstar-k4ar19.pool.telefonica.de] has quit [Operation timed out] |
02:15 | | Degi_ is now known as Degi |
02:16 | | abudhabi_ [abudhabi@Nightstar-tee8tm.adsl.tpnet.pl] has quit [Ping timeout: 121 seconds] |
02:43 | < Kizor> | A game I'm playing has a scheduled event in {If(77<70)} Shoulda happened by now.");]else[print("7 days to go.");} %> days. |
02:43 | < Kizor> | What language is it written in? |
02:46 | <~Vornicus> | Idunno, that's an incredible mess. |
02:47 | < Kizor> | fuck |
02:48 | < Kizor> | *else{ |
02:48 | <@sshine> | I don't recognise it, either. |
02:48 | < Kizor> | sorry, it looked like a [ |
02:48 | < Kizor> | :< |
02:48 | <~Vornicus> | so like |
02:48 | < Kizor> | Goddammit |
02:48 | <~Vornicus> | %> is the end of a template chunk |
02:48 | < Kizor> | The other ] is } too |
02:48 | < Kizor> | Making the whole thing |
02:49 | < Kizor> | {If(77<70)} Shoulda happened by now.");}else{print("7 days to go.");} %> days. |
02:49 | <~Vornicus> | Are ... ... you sure about how that if works |
02:50 | <~Vornicus> | okay so: <% %> are asp style templating tags. |
02:50 | <@sshine> | and If could be Visual Basic? |
02:50 | < Kizor> | Real sorry, I double-checked before I wrote "A game I'm playing..." |
02:51 | <@sshine> | nah, doesn't seem like VB. |
02:52 | <~Vornicus> | the other stuff - assuming the if part actually has brackets like this: "if(77<70) {" - is standard C-shaped syntax, but that's extremely common |
02:52 | <@sshine> | {If(77<70)} is sort of uncommon? |
02:52 | <~Vornicus> | and also there's other things there that suggest something else has gone wrong |
02:52 | <~Vornicus> | if by "sort of" you mean "I can read something like 50 programming languages and have never seen that", yes |
02:52 | <@sshine> | haha, exactly. |
02:54 | <~Vornicus> | but the syntax has clearly been broken: there should be a `print("` before `Shoulda` |
02:54 | < Mahal> | yeah, it looks like a chunk is missing |
02:56 | <~Vornicus> | though of course you wouldn't be seeing it if it wasn't broken, so~ |
02:58 | < Kizor> | Right. Thank you. |
03:20 | | Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has quit [Connection closed] |
05:47 | | Vorntastic [uid293981@Nightstar-h2b233.irccloud.com] has joined #code |
05:47 | | mode/#code [+qo Vorntastic Vorntastic] by ChanServ |
06:28 | | VirusJTG_ [VirusJTG@Nightstar-0th.oti.104.208.IP] has quit [Connection closed] |
06:28 | | VirusJTG_ [VirusJTG@Nightstar-0th.oti.104.208.IP] has joined #code |
07:34 | | abudhabi__ [abudhabi@Nightstar-rhfpgl.centertel.pl] has joined #code |
09:24 | | Kindamoody[zZz] [Kindamoody@Nightstar-eubaqc.tbcn.telia.com] has quit [Ping timeout: 121 seconds] |
11:13 | | Kimo|autojoin [Kindamoody@Nightstar-eubaqc.tbcn.telia.com] has joined #code |
11:13 | | mode/#code [+o Kimo|autojoin] by ChanServ |
11:54 | | Kimo|autojoin is now known as Kindamoody |
12:24 | | Kindamoody [Kindamoody@Nightstar-eubaqc.tbcn.telia.com] has quit [Connection closed] |
12:24 | | Kindamoody [Kindamoody@Nightstar-eubaqc.tbcn.telia.com] has joined #code |
12:24 | | mode/#code [+o Kindamoody] by ChanServ |
13:38 | | catalyst_ [catalyst@Nightstar-rqvo9e.dab.02.net] has joined #code |
13:40 | | catalyst [catalyst@Nightstar-ejd4sd.cable.virginm.net] has quit [Ping timeout: 121 seconds] |
14:40 | | catalyst [catalyst@Nightstar-ejd4sd.cable.virginm.net] has joined #code |
14:42 | | catalyst_ [catalyst@Nightstar-rqvo9e.dab.02.net] has quit [Ping timeout: 121 seconds] |
15:01 | | Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has joined #code |
15:01 | | mode/#code [+qo Vornicus Vornicus] by ChanServ |
16:07 | | Vorntastic [uid293981@Nightstar-h2b233.irccloud.com] has quit [[NS] Quit: Connection closed for inactivity] |
16:28 | | Kindamoody is now known as Kindamoody|afk |
16:31 | | * [R] is currently mirroring a site, and is seeing a bunch of /forums/cron.php?rand=1627873286 |
16:31 | <&[R]> | Where the number changes |
16:33 | <&[R]> | ... I found out how it "works" |
16:33 | <&[R]> | WTF |
16:34 | <&[R]> | So they'll include it as a 1x1 pixel image in the pages |
16:34 | <&[R]> | I guess so normal page load isn't affected, but this still keeps an open network connection on the client |
16:57 | | Emmy [Emmy@Nightstar-l49opt.fixed.kpn.net] has joined #code |
18:21 | | catalyst_ [catalyst@Nightstar-rqvo9e.dab.02.net] has joined #code |
18:22 | | catalyst [catalyst@Nightstar-ejd4sd.cable.virginm.net] has quit [Ping timeout: 121 seconds] |
18:32 | | catalyst [catalyst@Nightstar-058ijn.cable.virginm.net] has joined #code |
18:33 | <&ToxicFrog> | ...why? |
18:33 | <&ToxicFrog> | Oh, is this a slowpoll thing? |
18:33 | <&[R]> | Not sure |
18:34 | | catalyst_ [catalyst@Nightstar-rqvo9e.dab.02.net] has quit [Ping timeout: 121 seconds] |
18:35 | <&[R]> | https://forum.vbulletin.com/forum/vbulletin-4/vbulletin-4-questions-problems-and-troubleshooting/365963-running-cron-php-as-a-cron-job-instead-of-from-footer |
18:36 | <&[R]> | (It's vBulletin) |
18:40 | <&ToxicFrog> | [screaming] |
18:40 | <&[R]> | I love how no-one answered the question |
18:41 | <&[R]> | I also love how they have to have a "fix the tables" admin panel tool |
19:57 | | Kindamoody|afk is now known as Kindamoody |
20:20 | < Emmy> | 0.o |
20:20 | < Emmy> | now, i am neither a PHP or a cron expert, but that does not seem like robust design to me |
20:28 | <&[R]> | Nope |
20:28 | <&[R]> | It's hacky as fuck because shared hosting provides PHP, but not always access to cron |
20:28 | <&[R]> | And this is written for shared hosting |
20:29 | <&[R]> | s/this/vbulletin/ |
20:45 | < Emmy> | And of course PHP only runs while opened |
20:46 | <&[R]> | Yup |
20:46 | <&[R]> | You /can/ set it to stop caring about the connection to the client |
20:46 | <&[R]> | Though PHP also has a cli mode |
21:44 | | catalyst_ [catalyst@Nightstar-qspdla.dab.02.net] has joined #code |
21:47 | | catalyst [catalyst@Nightstar-058ijn.cable.virginm.net] has quit [Ping timeout: 121 seconds] |
21:54 | | catalyst [catalyst@Nightstar-ejd4sd.cable.virginm.net] has joined #code |
21:56 | | catalyst_ [catalyst@Nightstar-qspdla.dab.02.net] has quit [Ping timeout: 121 seconds] |
22:22 | | Kindamoody is now known as Kindamoody[zZz] |
22:31 | | catalyst [catalyst@Nightstar-ejd4sd.cable.virginm.net] has quit [Connection reset by peer] |
22:34 | | catalyst [catalyst@Nightstar-ejd4sd.cable.virginm.net] has joined #code |
22:36 | | abudhabi__ [abudhabi@Nightstar-rhfpgl.centertel.pl] has quit [Ping timeout: 121 seconds] |
23:37 | | Emmy [Emmy@Nightstar-l49opt.fixed.kpn.net] has quit [Ping timeout: 121 seconds] |
--- Log closed Tue Aug 03 00:00:49 2021 |