« first day (2354 days earlier)      last day (2597 days later) » 

7:00 PM
@AlenTurkovic If you like micro-optimizations, before. If you like readable scripts, after. If you like really readable scripts, before, but in a different file you include or require.
 
Wes
@JoeWatkins from internals, is it possible to put a function in place of variables, constants, etc, rather than a value? as a getter function.
rewording: when a field, variable or constant is retrieved, is it possible to execute a function that would provide their value, rather than setting said fields, constants to the value right away?
 
@tereško holy fuck an homemade plate. why didn't I ever think of that. Brilliant!
 
7:27 PM
... somehow I hate police officers a bit less now. strange side effect.
 
:D
it's the guy who originally made "thumblrism" series
ya know, the one with "otherkin"
 
heh. my first thought was something like "hey all these guys doing the videos have the same voice." this explains that
 
@FélixGagnon-Grenier I strongly recommend both of his "The /x/ files" videos
 
sure will. I'm having a rather slow monday (read, slept all day because reasons)
 
@tereško Dear lord. I'm barely 3 minutes in and I've already contracted at least 6 different instances of cancer.
 
7:32 PM
@MadaraUchiha careful, really. go gently, and take pauses
let all of this sink in before continuing, or you may really not feel well with human existence
 
also, beer
beer helps
 
@MadaraUchiha I did add warnings right next to that link
 
7:47 PM
TFW I complete an algorithm challenge with almost no help. Yaaay.
 
Wes
congrats :B
 
but then the next one I needed help on, lol
luckily they have medium articles breaking everything down
 
8:06 PM
@MadaraUchiha WebMD is cool like that
 
Hi
does anyone know the default password for phpLiteAdmin (MAMP)
 
8:33 PM
does "have you been" mean "how are you" ?
 
@Shafizadeh "How have you been?" is equivalent to "How are you?"
 
*roughly equivalent
 
Finally figured out why json_encode has been acting up on my dev box bugs.php.net/bug.php?id=72567
 
@Machavity I see, thx
 
8:42 PM
@Shafizadeh actually, I would use "how have you been?" when meeting someone who I haven't seen for quite a long time
 
ThW
quite different actually
"How have you been?" ask for events/changes since the last meet
 
8:54 PM
@tereško yeah, I found this sentence recently :-) ..! sounds classy ;-) .. I'll use it from now on
@ThW I see, thx for the point
 
@Shafizadeh it's very .. emm ... british :D
 
they're used as pleasantries - someone saying them is typically not looking for a complete, honest answer. unless it's your doctor asking you can treat them pretty much interchangeably - respond with something brief and positive then move on with the conversation
 
@tereško :D
@PaulCrovella :-)
 
ThW
Finally got my Flux 3D, after 2 years waiting.
 
@ThW publish a photo of it ...
I like to see it
 
ThW
8:59 PM
@Shafizadeh flux3dp.com
still waiting for the laser and the cutting head ...
 
oh, honestly I've never seen such a thing and I don't even know what's that :-)
 
ThW
3d printer, scanner, ...
 
I see, do you really need it?
 
ThW
of course not
 
then just you're trying to live luxury ?
:-)
 
ThW
9:03 PM
I liked the concept, and I sometimes dabble
 
@NikiC What's the best course of action for bugs targeting ancient PECL extensions? For example, the SAM extension has some related bug reports, but its last release was over a decade ago (targeting PHP 4.x). I know Kalle has suspended similar bugs (albeit not quite as old as this), but it just seems kind of pointless to keep these sorts of bug reports lying around...
 
How's everyone?
 
@SalOrozco as far as I know, in this room, people answer your "hello" hardly ...! So you won't get an answer whatsoever :-)
 
we mostly stick to unpleasantries
 
@Shafizadeh that's funny. I just do it out of common courtesy. I didn't think anyone noticed.
 
9:10 PM
@tpunt I'd suggest mailing internals about that. I think just closing everything as Won't Fix with "This extension is no longer maintained" would be fine.
 
9:24 PM
Can $_SERVER['REQUEST_URI'] be altered or will it always give an honest answer?
 
ThW
@Alesana it is sent by the client, so yes the client can decide what to send.
 
Ah okay, thanks
 
lol. just pictured how having to deal with dishonest superglobals would be like
 
ThW
more generic it is external data, do not trust. From the viewpoint of your script the database, any file, ... is external data, too.
 
if (is_honest($_GET))
 
9:28 PM
True
 
ThW
@Alesana the same applies to different levels of your api/classes only the scope changes
and of course how you react to it. but always try to expect "broken" values
 
Hmm I don't understand that part
Things could be called from an untrusted scope?
 
ThW
@Alesana for example - if your function expects data take edge cases into consideration
 
@FélixGagnon-Grenier they meant sentiment analysis
 
ThW
9:34 PM
do not rely on the scope of the caller
 
Ah yeah
 
I learned that one the hard way
 
ThW
@Alesana you're not the only one
 
@tereško ok. I wasn't prepared for that "your signature is worth a limitless amount of money because we come from the earth" part. I've really tried to be, but I've been out leveled.
 
9:38 PM
:D
 
@NikiC That sounds like the best course of action. I'll ping internals tomorrow about this and start closing such bugs if no one complains.
 
ThW
@tpunt expect the first complain in about 1y4m3d2h5m :-)
 
@ThW and it'll be about your ambiguous use of "m"
 
ThW
:->
 
9:52 PM
I mean it's obvious from the context, 1 year 4 minutes 3 days 2 hours 5 months, but how could anyone know for sure
 
Hello,

Is AES 256 cbc php encription, the same as openssl aes 256?
 
ThW
@KarmaDoe well, try it out
 
I did, and had different results, but maybe i'm missing something
Could it be the same tho ?
 
@KarmaDoe What is "php" encryption?
Do you mean mcrypt?
 
include('phpseclib/Crypt/AES.php');
 
10:01 PM
mysqli_fetch_array(): Malformed server packet & Error while reading a row... – #74320
 
@KarmaDoe yes, they are the same
in fact phpseclib will use openssl if available
 
Why could it be that my php output is not decryptable directly with openssl?
 
@KarmaDoe Did you specify OPENSSL_RAW_DATA and OPENSSL_ZERO_PADDING?
 
No
Is that it ?
I encode the results in base64 tho
 
10:17 PM
@KarmaDoe Okay, in that case specify only OPENSSL_ZERO_PADDING
 
:)
 
Anonymous
11:17 PM
@ircmaxell o/ changed your mind about phpSC yet? :)
 
11:30 PM
Hi, don't know if this is the right place to ask but I was looking for some help modifying a genesis theme custom homepage?
 
APCu error with php 7.1.3 on Windows – #74321
 

« first day (2354 days earlier)      last day (2597 days later) »