« first day (1312 days earlier)      last day (3861 days later) » 

11:00
@AlmaDo by the way… 0e and 1e should really be compared as strings -.-
^ that was a typo^^
@bwoebi 1e isn't a valid number
ThW
ThW
@AmalMurali differences eval.in/private/69a4c619405ae2
oh, just 0e, sigh
it's valid, then 1e123 compared as float with 1e124 fill result in false (because they're not equal as floats. But comparison will be made as for numbers)
most interesting things are - when they don't even look similar. Like 255 and 0xFF
in sha/md5 hashes you just never get an x^^
11:06
yeah
@AlmaDo You don't drink?
@Fabien yeah..
So why wont you be drunk? :P
? Because I don't drink alcohol
The thing is - I can't refuse to go. It's a contract celebration, so..
@AlmaDo Aren't you in russia\?
11:15
@PeeHaa I am
Isn't wodka pouring out of the normal faucet?
@PeeHaa it is
@AlmaDo Better for everyone else to be drunk though. Less likely to make a fool of yourself.
That's why I don't like to visit corporate parties :\
11:16
And there's always one at company parties
@PeeHaa What comes before Part B?
@Fabien not sure what do you mean. but at Friday I'll have to look to drunk faces from 12 AM till 11 PM ..
Yup.
hi
I have site like example.com. This URL is working fine in Mozilla and Chrome but in Internet Explorer the site is not working. It will display only the home page and am not able to login in IE. But if I run the same application with IP address it's working fine in all the browsers. Can anyone please tell me what might be the problem?
@meena If it works in one browser and not the other then by definition the problem is not with PHP.
So why are you asking it here?
crap. Our last party was nasty also. We were celebrating New Year in Egypt. So one of our colleagues was so drunk, so he steal a taxi car (while it's driver was in refueling station) and so he "worked" as a taxi driver in Sharm El-Sheikh till the fuel was out.. Fortunately, all was resolved with $100 "bribe" to that taxi driver (who finally brought that guy to us). it's just.. bad
11:20
that application is developed on php, html so i thought their may be some code settings in php
@AlmaDo Sounds like one hell of a party
@Jimbo yeah. it was
Normal party for them
hello
i got a problem
btw, in Egypt hotels, there is such things as "bracers". Blue is for limited bar access (no alcohol), gold is with full access. They never give gold to russians
Jes
Jes
11:22
hello friends
good eve
@Fabien there were lots of alcohol. It was .. hm. Four days party
heh
btw, I was with gold bracer :D
my friend want use the php which store in his's free hosting to connect my server's mysql database
somehow they decided that I'm not with them (may be because I barely read in Arabic)
11:25
the php
<?php
$db_server = "mydomain.com";
$db_name = "dbname";
$db_user = "user";
$db_passwd = "pass";
if(!@mysql_connect($db_server, $db_user, $db_passwd))
die("cant connect database!");
if(!@mysql_select_db($db_name))
die("cant select database!");
?>
@tereško How safe is to use this in real-world?
but it display cant connect database
@Fabien Does not work. No CD trays anymore.
@Fabien (new COM("WMPlayer.OCX"))->cdromcollection->item(0)->eject();
11:27
the code is work, because i used this code in my server, it can connect to database
I remember when going to a website could execute this code.
ThW
ThW
@heyman expected, your mysql should not allow connection from the "outside" and the freehoster might block connections to most ports
Jes
Jes
i m trying to have a autocomplete textbox on a form ...
autocomplete form where i can enter either of zip. city or state based on which the list will be like

state-city-zip .. the data is in one table with multiple values. how to query multiple values of same table
Ghurkas are hard as nails.
@ThW how can i check mysql not is allow connection from outside?
11:29
@heyman Connection to database port is not available via WAN automagically.
ThW
ThW
@heyman I am not an administrator, I don't know
Jes
Jes
this is my single value query
CREATE TEMPORARY TABLE IF NOT EXISTS {$database}.temp_snfs(SELECT e.container_guid AS snf_guid, emd.value AS county_name
FROM `entities` e
JOIN metadata emd ON e.guid = emd.entity_guid
WHERE
emd.key = 'county_name' or emd.key = 'zip' or emd.key = 'city' and emd.value like '{$q}%' order by snf_guid);");
when he use include in his php eg: freehosting.com/mysql_connect.php
<?php include("http://mydomain.com/mysql/mysql_connect.php"); ?>
it will got a warning
Warning: include(): http:// wrapper is disabled in the server configuration by allow_url_include=0
@heyman I think the error is very clear.
@heyman file-system != resource from http.
11:32
@Leri Well actually.....
my server allow_url_include = On
i can run this code, but cant run from outside
:/
@heyman Is the file on your file system? Or on a different website?
<?php include("http://mydomain.com/mysql/mysql_connect.php"); ?>

this code in his website
Why is he including the script from your site in the first place?
@heyman Please don't do that
11:37
:D
because his website storing mobile app's php
and he use this php to connect my server's database to get data
Why would you not just give him the username and password and let him connect himself?
Anyone got a favourite quote? Be it theres or someone elses.
@Fabien SHAMOAN MOTHAFARKER! EEEE-HEEE!
@Danack lol
11:40
i think he should put all php file in my server
Anyone like this as a dashboard? Any other nice ones you know of?
@heyman Is your server config f*cked up? :)
@Jimbo Looks cool.
@Fabien I don't see how it's "mine" Oo
Well someones then
11:42
:-D
@Fabien /cc @PeeHaa
heh
What does cc @someone mean by the way? Carbon copy?
@Leri, I am not an administrator, I don't know
XD
@AmalMurali yes
11:43
bcc = blind cc
Man, I can't think of a good quote for our company website.
Jes
Jes
could anybody help me out please
my query is ignored
I want to to be original and inspire people to think "This guy is smart and sexy".
@Fabien Oh well if it's for your company website, how about "Trying is the first step towards failure."
lol
I like it.
Wow. Someone found all 15 hashes!
11:49
I may go with some Simpson quote too.
> Oh, so they have internet on computers now!
> I'm normally not a praying man, but if you're up there, please save me Superman.
Anyone know of any useful patterns I could employ when retrieving data from two different sources (db & api call) and merging them into creating a single object my application will use?
Also I will be updating a few db fields given a certain value in the api call not matching the one in the db (maybe)
Triangle?
lol
I've always liked a leopard print
@DaveRandom So obfuscation then?
11:53
> Due to a server-misconfiguration, all 15 algorithms were exposed, leading to the winner of all 15 being the first person to find that misconfiguration
Wut? Misconfiguration on ircmaxell's website? Pretty sure that was intentional...
@Jimbo I was thinking more you just buy one of these and then no-one will question what you are doing:
@AmalMurali Security experts always verify others sites, but never their own :-D
@DaveRandom Man! I've told you before, I do not want to dress up as a woman with you and go out for a night out on canal street in Manchester!
@DaveRandom Regretted just now to not be owner....
@bwoebi lol
but how could anyone know about this "misconfiguration"? :o Maybe I missed some hints
11:55
Maybe he just tested around...
brute-force style guessing
Hmm maybe adapter pattern, albeit used twice..
I remember seeing a picture someone posted here about someone who posted a screen shot of their web browser and the developer tools things open and they didn't have a clue what it was they thought they were being hacked, does anyone have the link I need to show it to my brother
@bwoebi what was the mis-configuration anyway?
i stopped playing it. reached 11 with jack's hint :-D Now I'll just wait for ircmaxell to publish the results
@HamZa Thanks this may take a while
12:05
lol
Haha. Good luck @David. You're going to have a bad time there :-D
This think could have been posted 3 months ago or a year ago I have no idea
@HamZa I found it!
@David share it :P
lol
12:14
@bwoebi please don't make that overly public. People can find it on their own
1 message moved to bin
@ircmaxell okay, will stop.
@Duikboot reboots
@ircmaxell I believe I saw that link on twitter so...
12:23
yes, I'm not out to make everyone take it down. but there's a difference between showing it to everyone....
Yeah, polite thing would have been for the guy who found it to keep it secret or pm @ircmaxell for it. :(
@Fabien as many people did
@DaveRandom I knew there'd be something about cross dressing if you ever did an interview
:D
@Leri well .. it works. And it has protection against namespace injection.
@ircmaxell it's okay, I'm not cheating, because I wouldn't have found those 4 either way. They were too hard for me :-D
12:38
issue is that it is undocumented, and I have been thinking of altering the structure for route notations (something akin to what nikic has in his router)
ircmaxell: How did the guy who found it find it anyway?
in short, @Leri , I would recommend to wait =/
@Fabien is that you?
Is it just me that finds the concept of a "threatening fax" somewhat amusing?
@tereško Being undocumented is not a big issue. Because code should be documentation (and I believe yours is). I am starting little project at the end of this week (more likely weekend, because I finally told my company that I am not going to work on weekends anymore even if nuclear war will start because of it). The ideal solution would be lexer based routing. However, there're not any.
I might also be considering Arya. Or going on my own.
Thanks for overview.
12:58
@DaveRandom I'll fax you to death.
@Leri i would recommend to try making one yourself
even if you fail, it will be a good learning experience
@DaveRandom I'm a little surprised N. Korea has that kind of technology tbh.
@Fabien I would have thought carrier pigeons would be the high end of tech there.
@SecondRikudo heh
That and ballistic missiles.
13:14
I'm going to try integrating arya with symfony's firewall
If I can have authentication running with it, then that'd be awesome
Problem is, I'm not sure but maybe the security component is coupled to the Request object of Symfony?
Although there is a custom authentication provider
Actually ^ That's s a nightmare.
good mornings this afternoon!
user895378
morning :)
@rdlowrey You really need to post a more tanned picture of yourself.
Your whiteness required me to lower the brightness of my screen!
user895378
I really need to get myself more tanned.
E_NOT_ENOUGH_TAN
user895378
13:25
I'm working on it. Went to the beach this weekend, didn't code at all.
user895378
Trying to maintain more "balance"
Getting your tan back.
So much easier having a default tan.
@Jimbo I rebuilt github.com/J7mbo/silex-auth-skeleton but changed yaml to php, I'm more comfortable that way. I'll put it up later.
@iroegbu Yeah, I'm gonna start working on this right now actually - I'm going to put up both Doctrine and Auryn integration
killed
5 minutes, -16 downvotes, 5 close votes and 3 delete votes.
Not bad, not bad I say.
I said "Welcome to SO"
You just got SO'rved
No...? I'll see myself out...
14:02
@AlmaDo Sometimes I wish anybody could do that to me. I live on/in the computer. :)
@Leri hehe. Do you want to get 16 dv, 5 cv and 3 delv? Okay! Ask something stupid on SO :p
@AlmaDo meh, I was completely referring to that emoticon (or whatever it's called.
@Leri I got that :p just joking. Well, at home I'm still in front of monitor :\ watching something. Hopefully I've found dumbbell when making oneself up. So now I'm using it for exercises while watching :D
14:14
:p
@Leri I've "repwhored" two answers today..
0
Q: Passing a function by reference

Ole Kristian AanensenIs it possible to pass a function by reference? So everytime the reference variable is called the function will be called aswell. Take a look at my code. <?php class Documents { private static $docs = array( 'She went to the toilet and on her way back, opened the wrong door', ...

Aug 28 '13 at 14:22, by Sweetie Belle
$estTimeInHours = ($transport == "Car") ?     1 :
                  ($transport == "Van") ?     2 :
                  ($transport == "Horse") ?   4 :
                  ($transport == "Pony") ?    5 :
                  7;
Nesting ternaries.
good lord
The discussion at the time was how ugly they can look / legibility :P
@Fabien that's just.. bad
14:28
In PHP there's more )))))'s at the end and during too.
TL;DR If you can do something - it does not mean that you should do it.
Doesn't mean you shouldn't either :)
Hey @JoeWatkins You've been quiet.
hi, @JoeWatkins
been to citizens advice/council offices
14:31
good or bad?
how it goes? Still willing to relocate?
looks like we'll be able to delay because they messed up the paperwork, but there's nothing we can do to stop it, council (local gvt) have a duty of care and will have to find us temporary accomodation it looks like, but they can't do that until it actually happens ...
sad ;\
yeah pretty crappy, extremely crappy
Ugh temporary accommodation. Will they let you help find a place?
14:33
@JoeWatkins so they want to kick you from UK?
@JoeWatkins And you haven't been able to find a place at all?
no, it's whatever comes first in whatever order it comes in ...
@JoeWatkins Landlord can't give you more time? If not did he say why?
@AlmaDo hehe, nah just my house ...
@Fabien That's the problem, legally he doesn't have to.
14:35
@Fabien when we told the CAB the name of the landlord they said "I was hoping you weren't going to say that"
so ... no ...
@SecondRikudo I know but asking is free.
and yes, I'm still going to leave, but in the short term I need to find a new home ...
@JoeWatkins What about your own search for a place? Seen anything decent?
@JoeWatkins How large the family?
14:36
it's not even an option fab, I got nothin ...
I cant even cover a deposit ...
@JoeWatkins How's the bike?
@Jimbo chinese :D
petrol stopped coming out ... taken it out a few times for little ride, going alright I think ... it'll do ...
@SecondRikudo me, one female, small, two children, loud ...
I didn't tell them yet ...
@JoeWatkins Not even the wife?
what am I supposed to say right now "we're moving out, dunno where"
nah she knows ...
What about the deposit front in terms of what you get from current place. Though typically that takes a little while to come through.
14:41
:-(
@JoeWatkins For the sake of simplicity, perhaps it might be an idea to shove a bunch of stuff in to short-term storage. If that's an option.
@Fabien even if I get it back, it's not good for another deposit ... plus, I'm not sure I have enough references for another private tenancy, the only reason I got this one is because I paid £5k upfront, I just can't do that again ...
@Fabien Array or switch would be just fine here.
@ircmaxell yh .. crappy ...
hap shittens ... I got tomorrow off work for more appointments, then I got no choice but to switch focus again, I dunno what happens next out of my control really ...
yo @webarto did you hear on twitter that phpdbg.com was down ?
@JoeWatkins No, no, wasn't following, it's up now, right?
14:45
I figure we were hacked ... or NSA ... or whatever ... just wondering ??
it is yeah ...
I could get it at the time when I saw the tweet too
@krakjoe Seems like the website of #phpdbg is down http://phpdbg.com/ :'(
@webarto Was an old convo but not an issue I was having :)
@ircmaxell Please tell me whether I'm crazy or not:
@NikiC you're crazy
Is it so absurd that people might not not want to vote "yes" on the current version of the 64bit RFC, when we've reached consensus to use a different implementation?
@ircmaxell I already knew that :D Asking the wrong question ^^
14:50
I didn't vote yes actually, it seems pretty obvious we need a different patch, right ?
@NikiC that's what I tried telling Pierre. I said "If I were you, I'd retract the RFC, split it into 2 (one for 64 bit int, one for size_t), merge with phpng, and then re-propose"
addressing the concerns
But his position, which I understand (even if I don't agree), is that it's hard to invest more time, when it was already basically agreed upon that it would go into master at the last vote (the same people screaming no, said it would be fine to go in master when it was voted on for 5.6)
@ircmaxell I was one of the people who were in favor of merging this to master
sometimes you spend time working on the wrong patch in order to get to the right one, fact of life ...
That doesn't mean that my opinion remains cut in stone when new information appears...
basically, he doesn't trust that if he backs off, does the effort, and then re-proposes that the new effort won't be for nothing as well
@NikiC I agree 100%. Which is why I said I understand, even if I don't agree
he feels burned. Personally.
14:54
@ircmaxell At this point I wouldn't be surprised if dmitry got fed up with this discussion, sat down for five hours and ported the whole thing :D
@NikiC 5 hours? there's more work than that. You could do the engine in a few hours, but the big work is in the extensions...
if someone else starts the extensions will just get done by those people watching probably ...
@JoeWatkins which is exactly what happened the first time
I did the engine (or the vast majority of it), and a bunch of people did the rest
but that patch got thrown away
don't get me wrong. I think it should have been thrown away, given all the other things that happened, and what we learned from it. I'm not jaded there
@ircmaxell :)
right but it's not wasted time, we learned from it ... we know what the correct patch looks like, I don't see the problem ...
14:57
@JoeWatkins which is why I see everything that's happening as political bullshit. The technical disucssions have largely been non-existant. There has been a few pockets here and there, but mostly it's arguing around the meta layer (from both sides)
guys, I already asked this question in the last few days, but here it go
I'm building a hosting company, I want your opinion on the name
I own:

criatweb.com
fivoo.com
webahoo.com
fivoo is the simplest, but it doesn't reminds of hosting/web
what do you think?

« first day (1312 days earlier)      last day (3861 days later) »