« first day (2075 days earlier)      last day (2889 days later) » 

8:01 PM
Humm, this is weird (see pic) Why 4917?: for (let i=0; i<10000; i++) { console.log(typeof null === 'undefined') } https://t.co/CmQtjq0aso
same bug different results
but same sum of false
 
is it alright to ask if I can ask about asking about a question?
 
dont ask to ask .. to ask=)
 
@bwoebi where come the debug messages of aerys from? I would like not to scan through the code
 
so, should I have asked what I just asked?
XD
 
you asked enough @blahfunk
 
8:11 PM
damnit
:(
this room is a real ball of fun, isn't it?
 
@blahfunk i totes am willing to give you credits fo trollong. 10/10 would still not troĺled again
 
wow... getting credits for trolling when I wasn't even really attempting. If that is trolling here I'd hate to see what a real troll can do
just late afternoon sillies
waiting for the clock to get me in my car home
 
@blahfunk I'd say I have no idea what you're talking about, but your avatar is a bunny with a pancake on its head, so that would be redundant
 
@blahfunk are you ok?
 
honest question? Yeah, I guess I am...
it's my Thursday... 5 day weekend coming up
@AdilIlhan are you okay?
 
8:22 PM
im not
 
would you like a hug?
 
are you drunk? @blahfunk
 
no
 
I am. Or trying to.
spiced rum ftw.
 
Bourbon ftw
always
 
8:38 PM
raki. ftw.
 
lol
well, I'm sorry, but you are both wrong. Bourbon is always the answer. And if you are asking what the question was then you haven't drank enough bourbon yet
 
> Bourbon is always the answer.
I'll take what tastes like ass for $400 Alex.
 
Any of you guys following the great debate in the UK tonight? Whether to leave the EU or not?
 
Anonymous
Yep
 
Anonymous
BS everywhere
 
8:49 PM
@Danack haha... you need some good bourbon...
get yourself a kentucky born and raised boy like myself to show you the good stuff
 
I suspect there is not really any good bourbon within 3000 miles of here - other than having to spend £100 per bottle.
 
I've paid close to that for a bottle of bourbon
some guy I know bought a $600 bottle?!
tasted like soap... he bought a name basically
best bourbon on my shelf is $50/bottle
$40/bottle here
called Angel's Envy
 
@Victor There are calls to debug() method on the logger instance throughout Aerys
 
9:04 PM
@bwoebi thank you
 
you mean there are good bourbons?
I thought they were called scotch
 
bleh... I haven't found a scotch I care for yet. Most of them taste like medicine
 
medicine for faggotry maybe
 
Clearly you've been drinking the wrong not been drinking scotch...
 
9:13 PM
maybe so. I know that there have been two times I have drank scotch. The last time, I woke up the next day and got arrested! :O
 
ako
hi there ... in a registeration form i'm checking all input fields of the signUp form using jquery that have valid data , when registering the data to the database using php is it need to check "isset($_POST["inputs"])" for inputs again???
 
don't trust to the front-end validations.
 
yes yes 100% absolutely yes
 
ako
@Sara are U with me Sara???
 
9:21 PM
Your client side validations mean precisely jack and shit
also...
@FélixGagnon-Grenier fuck you, buddy
 
ako
for preventing direct access to a php form , for example a registeration form we say : if($_SERVER['REQUEST_METHOD'] == 'POST')
can anyone send a post request to the page without entering data into the form
??? i Mean it is enough to be sure that just there is a post request ?
 
yes
I could do ti with a telnet client while drunk
So you can bet a malicious user could hack up a python script for it
 
http post through telnet??
 
Sure, it's easy
 
i don't say "it's not easy"
i say "why telnet"
 
ako
9:24 PM
OK...then we must check all input fields to be filled with valid data , am i right???
 
'cause it's ubiquitous
 
there is a tool for humans: postman
 
@ako Bingo.
You show me an OS without telnet, I'll show you a nickel...
 
ako
@Sara ??????????/
 
Or... at least a five pence coin, I don't know where my us currency is
 
9:25 PM
there are a lot of the input validation libraries
you can use them
 
@ako That was a response in the affirmative. You MUST check your inputs server side. Checking on the client is just icing on the cake.
 
ako
is it a bad idea to check for example validation of a logIn form in a second checkLogIn.php page and then return result??
 
Anonymous
Huh, I just realised something really depressing
 
10:07 PM
@Sara just rm the binary … voilà an OS install without telnet :-)
Also, I prefer seeing Euros … nobody likes English money.
 
@bwoebi I'll be picking up the Euros tomorrow.
 
working with a zend extension, overriding the compilation functions similar to how OpCache does it. My compilation functions just invoke the normal (aliased) compilation functions, and output some extra info about certain oplines. When I use a startup hook, I only get info about the pseudomain scope, no functions or anything else.
When I use the op_array handler hook, I end up segfaulting because the numbers I get back from EX_VAR_TO_NUM() are looping around the negatives and ending up very close to the upper limit for uint32. I'm guessing there's some weird bit of context I'm missing when using the op_array handler hook. Anybody have a useful tip in this direction?
 
wrt the compilation hook, that's normal. Only the psuedomain is returned, the functions/classes are added to EG(function_table) and EG(class_table). You can mark the positions of these tables before proxying to the original compile functions, then iterate the newly added elements.
wrt the op_array handler, I'm not sure off hand, I haven't used that hook much
 
10:23 PM
@Sara Going into Eurozone? Where?
 
@Sara Good to know, that should be a good enough jumping off point, I'll be back if (almost assuredly when) I'm stuck again.
Do they all end up with different execute_data structures?
Sorry if that didn't make sense, I'm running a tad low on sleep right now. I'll do some more digging to hopefully find what I need. Somehow or another OpCache is definitely gathering the right data (not to mention, you know, the VM), so I'm sure I'll be able to find it
 
@Dereleased different op_arrays :) execute_data is at runtime
@Dereleased op array handlers run before pass2
so you will get opcodes in a different format
in particular consts, temporaries and jump offsets will look differently
 
10:49 PM
@bwoebi Am'dam. For DPC. :)
 
@Sara I was baffled by looking at your talk titles… they… are well… waking no expectations… (the descs are fine, but just titles)
 
@bwoebi What am I gonna do? Make it easy?
 
@Sara Nah, just underselling yourself ^^
 
11:06 PM
Hello! What is the proper format for
$var = "abc";
$var. = "efg";
$var. = "xyz";

echo $var;
 
@AbrarAhmed proper format? Other than efficiency there's nothing specifically wrong with what you wrote there.
 
11:28 PM
@Dereleased ok I got it thanks :)
Why does this not output "Hello Foo World"

echo mb_strimwidth(trim(' Hello Foo World '), 0, 20);
???
 
!!eval echo mb_strimwidth(trim(' Hello Foo World '), 0, 20);
 
@AbrarAhmed Trick question, it does.
 
@Sara Thanks. But try this
echo mb_strimwidth(trim(' Hello Foo World '), 0, 20);
sorry this
echo mb_strimwidth(trim(' Hello Foo World '), 0, 20);
what???
Check this 3v4l.org/QXirj
 
11:48 PM
Any Laravel/Symfony experts here? Having issues with Illuminate Router and Symfony Request classes?
 

« first day (2075 days earlier)      last day (2889 days later) »