« first day (1740 days earlier)      last day (3224 days later) » 

12:15 AM
@NikiC while analyzing for ZEND_FAST_CALL_FROM_FINALLY (which I think can't be removed) … I've found another nice memory leak…
var_dump((function() {
        try {
                x(); // generate Error
        } finally {
                try {
                        x();
                } finally {
                        return 1;
                }
                return 2;
        }
})());
^ leaks the initial Error. (because only one DISCARD_EXCEPTION opcode is encountered) (the returned value of 1 though is correct)
 
12:41 AM
Legit question, what exactly is Google App Engine? Is it simply a hosting server where you put your backend files (similar to a hosted web server like Digital Ocean where you host your website)?
 
If only there was a web page that explained what it was...
 
Is there?
a platform as a service (PaaS) cloud computing platform a lot of buzz words that explain not a single thing about what the product actually is.
 
Legit question, why don't you just google it, and then ask a more specific question?
 
Platform as a Service means you get access to run code in a stack without any direct access to the hardware. Like Engine Yard or Heroku. You don't have to worry about maintaining any infrastructure. That's a much different approach to the cloud than say AWS or Digital Ocean, which are IaaS (*Infrastructure as a Service) companies that do give you access to the hardware.
But... you're absolutely correct, there is not a single thing describing this product in Google's enormous documentation cloud.google.com/appengine/docs
 
I thought it was obvious but whatever...I didn't understand what those buzzwords were trying to tell me on most "informative" sites, so I came here to ask people who might have worked with it and would be able to answer me.
 
12:50 AM
IaaS and PaaS is fairly common terminology today. You should probably get familiar with it.
I mean ... It's only a trillion dollar industry :)
And those Amazon mofos are just crushing it I tell ya
 
1:42 AM
@Fabor How far do you get? If you never get past BIOS-driven stuff then the other gfx card is fucked and swapping the other one out should solve the problem, if you can hit Win and get a safety cut-out/boot it's probably the CPU overheating because you don't have the drivers installed (yet) so it's stressing the CPU because it doesn't know you have a GPU so it's routing the Aero stuff through the CPU
The CPU is known to be running hot and erratic anyway, reseat the heatsink and check the pressure and circulation in the coolant circuit
Also in the latter case, booting into safe mode will help because Aero will be disabled
And flash the mobo bios to the latest version, could simply be a hw compat issue that is now resolved
You are running high-end kit, but it's not mega new high-end kit so teething compat issues are likely to be resolved by now
Same goes for gfx card firmware, if it's user servicable
Of course, it could simply be a hw issue, in which case I'd suggest paying someone who does this for a job to diagnose it because it will take them 2hrs where it would take you (and I) 2 days
But try all of the above first
(if you reseat any coolers then clean the surfaces properly and use a fresh coat of paste)
 
I love how a question that's really just saying "I have no fucking clue how to use insert_id" turns into everyone coming up with the most complex, defective, and least efficient way possible to over complicate what is essentially the most trivial problem a beginner could ever experience.
It's like people think the more complicated their answer is on SO the more likely it is to gain them clout or something.
UNION SELECT CROSS JOIN OUTER JOIN INNER JOIN DOUBLE HELIX HYPERBOLA INTERSECT
This must be right ^ I don't even understand what it does
 
2:36 AM
good morning
 
 
2 hours later…
4:40 AM
hello
 
4:53 AM
will this check for a number, not a string:
    if (isset($_POST['to'])&& is_int($_POST['to']) && $_POST['to']!=''){
        $to=$_POST['to'];
    } else{
        $to='';
        $errors.="SOMETHING<br>";
    }
i'm getting a bug on it
 
5:04 AM
@php_purest $_POST['to'] cannot possibly ever be an integer. PHP parses all input from the outside world as a string ultimately so you will have to use something like filter_input or filter_var or ctype_digit there.
 
so if it's a number it can't ever be an int?
what can it be then?
how do i make the int check possible?
 
Did you read a single word I typed?
 
aww, filter_var
 
5:22 AM
<3 @Sherif <3
 
good morning
 
never use is_int() always use filter_var
why would filter_var() work where is_int() won't?
 
@php_purest everything derived from an http request is a string.
so definitively not an int
 
but a string CAN be an int if that's what's expected
 
a string can be used as an int yes... but that doesn't mean it is one...
is_int check to see if it is an int
not if it could be if you wanted to use it as one
 
5:29 AM
is_int to check a post var should work, but it doesn't
 
read the words we type and be enlightened
I just explained it in detail
 
but if it posts as an int it should be an int
as well as a string
 
it posts as a string... the fact that the string represents an integer is besides the point... all things in $_GET and $_POST are strings
 
strings are never ints from $_GET & $_POST which seems odd, so from now on i'll verify the types with filter_var
:::poof::: is_int is no longer in my hard drive
 
6:03 AM
> I'm trying to think of one feature in Laravel that would be an aid and not a burden to me in a complex web service API, and I can't figure one out.
did someone just really say that ??
 
@JoeWatkins I don't know, you quoted it.
 
I'm tired of people bashing prominent members of the community for no other reason than they are prominent members of the community ...
 
pretty
 
@ircmaxell You at the grand canyon?
 
6:10 AM
yup
 
Awesome :)
I was there last month. But then I kinda realized, man it's just a hole in the ground.
All the excitement suddenly went away.
 
I wasn't excited
I'm interested in finding new ways to look at things, from the mundane to the amazing.
I didn't do that here, but I managed to make it my own
 
Nice :)
Always good to find a new perspective.
 
@Sherif well sure, it's boring if you say it like that ....
 
6:15 AM
@JoeWatkins Yea it's one of those things people build up and when you have high expectations you're always let down.
 
then I shall go equipped with your expectation to see a hole in the ground and be amazed ...
 
heh
See, I made it more exciting already!
 
yeah, you totally meant to do that :)
 
Nope, but happy coincidence :D
 
6:22 AM
moin
 
mornin
is there a sane way to persist an undiferentiated sack of designer specified shit key value pairs that isn't as much a pain in the ass as an EAV and not as dirty as jsoning an array?
it will be a bunch of flags that will end up triggering specific formatting / behavior at the presentation layer so it won't need to be searchable ... I'll probably just json it and tuck it in a related table.
 
7:04 AM
posted on July 22, 2015 by kbironneau

/* by geijutsuka */

 
Are browsers required to send hash part of the url to the server?
 
is it possible to post multiple images on facebook with single post
 
Morning
 
@nikita2206 they will not. you'd have to use javascript to read it from the uri and send it somehow differently
 
moin @garoevans
 
7:14 AM
Morn Morn
 
How did you get on yesterday @JoeWatkins ? It was pretty fun watching what seemed like pair programming via stack chat!
 
moin
 
I didn't understand what was going on at the implementation level, but the way it was happening was awesome.
 
@garoevans those are the best days .. that happens quite a lot in here ...
 
+1
 
7:17 AM
I don't have anyone in the company that understands C, the guys in here are my only help, invaluable help ...
 
> Interpretation of the fragment identifier is performed solely by the agent that dereferences a URI; the fragment identifier is not passed to other systems during the process of retrieval. This means that some intermediaries in Web architecture (such as proxies) have no interaction with fragment identifiers and that redirection (in HTTP [RFC2616], for example) does not account for fragments.
 
It really was nice to see. I don't think you can teach that sort of working style. You can facilitate it, probably.
 
@Gordon thanks, I was just confused as to why hash part was there even after redirect. Turns out they put it there on purpose
 
it is nice, having spent the most part of a decade with just a duck (girlfriend, don't tell her I said that), solving bugs is one thing, the number of RFC's and actually bits of software (phpdbg, jitfu, recki) that have come from this room is staggering .. I've never been in a more productive place ...
we don't talk about php enough is my only criticism ...
:)
 
7:37 AM
Wow, I never realized just how much VC money is coming into NY these days. I don't know whether to be impressed or scared.
 
7:51 AM
morngin roomies
 
morning
 
mohaa
 
hi everyone, i am facing a problem while working with paypal api,i am using express checkout. i am in testing mode everything working fine but in ipn response i didn't get product name, id, invoice, amount.. :( instead i get item_name_1 = something, invoice = abc1234, but i post a valid invoice and item_name_1 name
 
Morning
 
good morning ;)
 
8:05 AM
Morning @Fabor
 
8:16 AM
Good morning
Master Git snapped his fingers. A hobgoblin entered the room and ate the novice alive. In the afterlife, the novice was enlightened.
:D
 
8:29 AM
how do some hackers hack country based google domains?
 
Morning everyone!
 
hey @TomášAresakMalčánek
 
Why those country based google domains are so vulnerable?
 
It has nothing to do with the domain name.
 
8:33 AM
Oh domains, I meant data, my bad :)
 
Was answering @NeelIon :P
 
@Fabor why county based google sites are so vulnerable?
 
Vulnerable to what?
 
@NeelIon What are you talking about?
 
I am talking about googles county based sites security issue
 
8:37 AM
Because the flux capacitor wasn't set to Alpha, obviously.
 
Like stealing google's domain "google.it" and make it dns to your host right?
 
@NeelIon What security issue?
 
@TomášAresakMalčánek ya, they deface those sites
 
@NeelIon When? Where?
 
8:41 AM
@NeelIon Isn't that just dns poisoning>?
 
@PeeHaa visit the link
 
I did
That has nothing to do with google and everything to do with the broken way the web works
DNS spoofing (or DNS cache poisoning) is a computer hacking attack, whereby data is introduced into a Domain Name System (DNS) resolver's cache, causing the name server to return an incorrect IP address, diverting traffic to the attacker's computer (or any other computer). == Overview of the Domain Name System == A domain name system server translates a human-readable domain name (such as example.com) into a numerical IP address that is used to route communications between nodes. Normally if the server doesn't know a requested translation it will ask another server, and the process conti...
 
TL;DR it is possible to mitigate it, but it costs moneys
> It feels like CSS.
/me closes tab
 
TL;DR it is possible to mitigate it, but it costs monkeys
 
8:44 AM
:)
 
Hey, monkeys are expesnive.
You have to feed them all those damn bananas!
And then they throw their feces at you.
 
(:
 
Do you know how much it costs to clean up monkey fecal matter?
 
@PeeHaa why google doesn't solve the security issue?
 
@NeelIon Because it's not a google problem
 
8:46 AM
Dude, you're talking about changing the largest distributed protocol in existence. That's no small undertaking.
 
@PeeHaa i understand, thank you for your kind information
 
@NeelIon You should read up on how the broken system of DNS currently works
Including all the patches
 
moin
 
morndom
 
8:48 AM
Also read up on how IP globally works for extra horror effect and be amazed you can still access the web today
@DaveRandom yo
 
user1804599
Immense Problem
 
Wait... you guys can access the web?
 
Mornings
 
mother f******!
 
@PeeHaa thank you dear. i am seeking for knowledge.
 
8:49 AM
Yeah, you seek that knowledge. You seek that knowledge to the ends of the earth!
 
user1804599
@Sherif sure, you can connect to Access from a web app just fine:
 
user1804599
$db = new PDO("odbc:DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=$dbName; Uid=; Pwd=;");
 
@DaveRandom Yeah pretty much :P
 
such onebox
 
8:51 AM
wow
 
Mornings
 
You said that already.
 
hey @RonniS
 
=] yep
 
8:52 AM
Now you're a day ahead.
What is the future like?
 
o/ [= At work.. got confused
sup
 
@Sherif Crunchy
 
@DaveRandom How do you know? You're still in 1989.
 
Double morning foul on the play!
Eject him!
 
@Sherif ends of the earth?
 
8:54 AM
=p
 
@Sherif Yes, but I know I'm going to go eat some cereal shortly.
 
user1804599
What's ARP poisoning?
 
user1804599
> In computer networking, ARP spoofing, ARP cache poisoning, or ARP poison routing, is a technique by which an attacker sends (spoofed) Address Resolution Protocol (ARP) messages onto a local area network. Generally, the aim is to associate the attacker's MAC address with the IP address of another host, such as the default gateway, causing any traffic meant for that IP address to be sent to the attacker instead.
 
user1804599
Absolutely fascinating.
 
posted on July 22, 2015 by Joe Watkins

FIG 1: Me, and my beard, talking at a conference.In real life, I'm a pretty awkward guy at first; I'm prone to stuttering, have no sense of direction, I forget names, the faces of people I've met, places I've been, and find it impossible to be assertive, or confident in any way. I'm pretty much a mess. Some of these symptoms disappear once I get to know you better, but first impressions coun

7
 
8:57 AM
No, what's fascinating is that your packets have to travel half way around the world to get to the computer in the next room.
 
user1804599
Depends on your setup.
 
Hey @JoeWatkins congrats =]
 
Oh Joe, I heard a few people talk mention that your talk was their favorite BTW.
 
What's even more fascinating is the packets from my cell phone must bounce of radio towers to get to a satellite a thousand miles above the earth to be bounced around other satellites in order to be beamed back down and cross thousands of miles of trans Atlantic fiber optic cables so that they can reach my ISP, make their way to my router, and transmit a wireless signal to my laptop.
All the spirit of this thing we call the Intrawebz :D
 
9:03 AM
@Sherif I never thought that way, awesome :D
 
WTF
 
@Sherif Turn the wifi on on your phone then :-P
 
Yes I am using the error log for debugging. As you can see, clearly. — Jack O'Connor 4 mins ago
error_log($value);
^ that is how OP is debugging ...
 
@DaveRandom But then I can't explain to you the 10K mile journey my packets make around the world to get to my laptop :'(
 
9:06 AM
@PeeHaa Oh well he just needs to error_log('Everything is OK'); and it will fix the problem then
 
I tried to explain this to my kid the other day as to why my voice sounds so bad on Skype.
That was an interesting conversation to have with a 6 year old.
 
Anonymous
Mornin o/
 
Distance of route doesn't really have anything to do with that though
 
user1804599
aww
 
Try explaining why your voice sounds so different over the PSTN vs. digital, now that would be hard to explain to a 6 year old
 
user1804599
9:10 AM
@PeeHaa printf debugging ftw.
 
@Fabor super cool ...
 
@JoeWatkins was the talk recorded?
 
they were, don't know how quickly they'll be online though
 
Yeah I think the conference websites should have a gallery for after the event stuff.
Allow people to submit photos/video etc. Would be much cooler + community
 
@Fabor Could maybe be intergrated into joind.in
 
9:18 AM
Aye. Maybe the boat hasn't sailed.
 
Excuse me while I steal your £billion idea and claim it to be my own
 
lol. An idea is only as useful as the ability to implement it. Go ahead :P
 
Cool =]
 
@DaveRandom Who are you the Winklevoss twins?
 
E_MISSING_REFERENCE
 
9:21 AM
Those dudes remind me of buffalo bill (In the movie)
@DaveRandom Facebook (movie) origin.
 
Oh right. I've been so busy not giving a shit about facebook that they're not on my radar.
 
It rubs the lotion on its skin.
Also, watch Mr. Robot and Luther already.
 
Mr. Robot ftw
 
9:34 AM
Did I tell you yet I love you for fixing the scroll position on php.net @RonaldUlyssesSwanson?
 
-16
A: Coworker asking another coworker to vote all his questions and answers to gain points. What should I do?

infThat's perfectly fine. It's the same as if you would share your answers/questions on Facebook, Twitter or G+ for which there are explicit share buttons.

 
lol
10K user as well :-(
 
9:58 AM
@salathe Can I just add a changelog block to secure.php.net/manual/en/opcache.configuration.php?
E.g. I see "This configuration directive is ignored in PHP < 5.3.0." only in the description instead of a changelog proper
 
There's a secure.php.net?
 
huh wtf?
Yeah looks like it :P
 
it is
 
No idea how I got there
Also fun fact. It's not even secure :P
 
why not?
 
10:06 AM
@AlmaDo sha1 signed
 
@PeeHaa the directive list at the top of the page has a "changelog" column, currently empty. I would say that add/removal info should be in that column, but anything detailing changes in behaviour is fine in the description for the directive in question
@PeeHaa Yeh I've always been apprehensive to create a secure. subdomain for anything, feels like asking for trouble
 
It's about the opcache.max_accelerated_files directive. As of 5.5.something it accept values up to 1000000
> Version 5.5.6
To be exact
 
I would say that belongs in the description block for that directive, you'd have to go read that to find out what the valid values are anyway
 
hello every one , my codeigniter site has been hacked, redirect to some other sites ... any suggestion ??
 
@DaveRandom Yeah would put it there either way and if I also need to put it somewhere also @salathe can just ping me
 
hi ,guyz . i have a problem with increasing the max file upload size in codeigniter
 
hmmm looks like wording also isn;t correct. It's not in between
 
i tried with all conditions like $config['max_size']='0'; and
htaccess php_value upload_max_filesize 10M and ini_set
not working any one.My php version is 5.5.1
 
@user3454479 are you sure it's codeigniter that is limiting it and not php?
 
yes @Patrick. I given 0 for max size. But its not working
any suggestions please
 
10:19 AM
Is this English @DaveRandom?
> Only numbers starting from
200 to 1000000 are allowed. The maximum allowed number in PHP &lt; 5.5.6
is 100000.
 
@Patrick any solution for file upload size
 
@bwoebi heh
 
@user3454479 please read again what I wrote
 
@PeeHaa Probably more like "Numbers must be in the range from 200 to 1000000, inclusive." or "Valid numbers are those in the range from 200 to 1000000, inclusive."
 
@PeeHaa I would say "The minimum value is 200. The maximum value is 10000 in PHP &lt; 5.5.6, and 100000 in later versions."
At least "starting from" should be "between"
 
10:29 AM
Good morning.
 
@bwoebi The exception ought to be chained to the previous one
 
@DaveRandom It was "in between" but that makes me think it is exclusive
Also damnit. Now I have to pick between @DaveRandom's and @Danack's :)
 
Dave's is friendlier...
 
@PeeHaa Then explicitly say "inclusive"
 
Mine pleases the aspergers crowd \o/
 
10:32 AM
:D
 
@mAyUrDeVmUrArI yes. Shutdown the site. Identify and clean up.
 
@bwoebi Also when I debug things in gdb I often get crashes nowadays :/
 
@NikiC you mean crashes you don't get without gdb?
 
@bwoebi yes
@bwoebi Anyway, I think you found another major problem...
I thought the bug was just that we don't set the previous exception, but turns out we can't set it in this case
Because the inner exception may be discarded by a catch block
 
10:45 AM
yes
 
It should be easy to fix this, but it's not clear to me what the proper fix is ^^
 
tnx @DaveRandom @Danack
 
Nevermind, not easy after all :D
 
@NikiC isn't it enough to generate a few more DISCARD_EXCEPTION for each level of nested finally?
 
@RonniSkansing how can i Identify and clean up the site.
 
10:50 AM
'@mAyUrDeVmUrArI there is alot ot the process. You need to identify the point of entry. Do a diff on your source to see any changes. Checkout processes on production server. Consider if data has been leaked (like user password)... in the end, I would pay someone to help me
 
@bwoebi It's not just about the leak...
E.g. consider this:
<?php

try {
    throw new Exception(1);
} finally {
    try {
        try {
            throw new Exception(2);
        } finally {}
    } catch (Exception $e) {}
}
 
@RonniSkansing actually i get the hacked site to solve problem. this site is not developed by me.
 
This is supposed to throw Exception(1)
instead it leaks and doesn't throw anything
 
@mAyUrDeVmUrArI so you are getting paid to do this but don't know how?
 
@RonniSkansing i am checking for .htaccess. database. hacked url. etc in this site but did not get successes
 
10:54 AM
The leak part of that would be easy to fix (just set it as previous), but the part about not throwing anything sounds harder to me
 
@NikiC oh, fantastic. … having a shower now… If you think I could help, I'll have a look at that too.
 
Maybe what we need is multiple fast_call variables instead of having a single one for everything...
 
@Patrick i have to do it by my side sir . i can't give to any other because its given in my company in which i am working
 
@mAyUrDeVmUrArI are you familiar with all the attack vectors from that site that I linked you? (owasp)
 
@Patrick no sir
 

« first day (1740 days earlier)      last day (3224 days later) »