« first day (972 days earlier)      last day (3988 days later) » 

11:08 AM
Lol. Writing an API, watching google docs api call requirements drastically change live every 5 minutes or so...
 
Good morning
 
Morning:)
 
user image
3
 
11:25 AM
 
Aaaaand it's gone
 
muhaha >O)
 
@Gordon Lol
 
@Gordon nice
 
11:38 AM
I just got a ping (like i got @mentioned) while no one mentioned me?
Is it because ircmaxell responded tot he same message?
 
no
 
I didn't think so..
 
There's a world of difference between "this is how to do it" & "here's a tradeoff that I tend to resolve this way"
 
@ircmaxell I pinged you yest, I guess you missed out
 
?
I get pinged a lot, remind me...?
 
11:41 AM
Wow It was facebook -_- need to turn off the facebook pings.
 
Can anyone recommend an RFC (for txt, when html or otherwise aren't available) reader for Windows? I've found a few, but if anyone has a preference I'm all ears.
Most of the one's I'm seeing can at least index the RFC, some turn it into a pseudo-chm
 
ZendFramework-
$this->view->headScript()->appendFile('/var/www/SimpleForm/public/js/jquery.min.js');
is not working in controller file!
 
@ircmaxell Yest I was fiddling with firebug, it is like a white hack tool, remove disabled attributes, readonly attributes etc, and much more, so any tips on security?
 
that's why you always validate server side
 
@ircmaxell I do validate and sanitize, so not much to worry about eh?
 
11:45 AM
any zf geeks here?
 
meme
 
@Mr.Alien lolcat
@Mr.Alien all the things
 
@udaysagar Oh I thought you asked gf geeks here and not zf :p
 
if you validate, then no, there isn't anything to validate
 
Firebug has been around for ages, if you never had any problems you won't have them either.
 
11:46 AM
@Mr.Alien rebecca black
@Mr.Alien grumpy cat
 
assume that anything you send to the client (even if hidden) is public, and anything you get back is tampered with...
 
@Gordon LOL
 
@Mr.Alien you dont say
 
@udaysagar open page source in browser and see the path. Then share your thoughts here
 
@Mr.Alien need more memes?
 
11:47 AM
Wait wait, my old boss calld me cuz he filled up form with wrong details and than the form was locked with disabled attr
 
i echoed the path, its nil @zerkms
 
but using firebug, we fooled our gov website :p
@Gordon LOL no, please
 
@udaysagar ?
@udaysagar what did you echo and where?
 
sorry, actually i am loading jquery.min.js with which my jquery constructs should work
but they aren't working
 
have you tried to see the page source?
 
11:49 AM
yes
 
and?
 
its dark outside, its raining, and am bored
 
couldnt see that the file is sourced
many stackoverflow questions suggest the above command........but it isn't woking for me! :-(
 
same here @Mr.Alien
 
@udaysagar have you done echo $this->headScript(); to finally output all the collected scripts?
 
11:51 AM
@YogeshSuthar lets meet some day
 
in phtml ?
 
@udaysagar in the place you want your <script> tags to be placed
 
@Mr.Alien after rainy season.
 
in phtml yes
 
@YogeshSuthar I was going to tell you exxact same thing, I hate rains :p
 
11:53 AM
yes, in my view file i just put echo $this->headScript();
no use!
 
@udaysagar you're doing something wrong then :-)
try to append a script right before echo $this->headScript();
 
@Mr.Alien I love rain, because I can play game at home. :P see this ink.sapo.pt
 
lookin at that...
 
@YogeshSuthar I hate it :p and it's like bootstrap :-/
 
good monring ;]
 
11:57 AM
@CarrieKendall ahahaha
@YogeshSuthar Yea it does loook like bootstrap~
@CarrieKendall It's friday
 
@Mr.Alien But I loves its look :P
 
@YogeshSuthar looks good
will gt a look in detail once am home
 
but I hardly use them, I've not used bootstrap too, I feel they are bulky
 
@zerkms in page source i am finding that the file is sourced
http://localhost/js/jquery.min.js
 
12:00 PM
@udaysagar so?
 
but my zf is taking js to the controller
not the folder
 
:-S
 
ha ha
 
now explain it so that we could understand what you mean
 
actually, i have earlier removed all the rewrite rules
which zf got by default
in public .htaccess file
i have put my javascript file in public/js
directory
 
12:01 PM
asking an answerable question is an art
 
did you get me?
 
nope
 
alrite
my localhost points to public directory
 
yep
 
and i have put a js folder in public directory
and my javascript file resides in js directory
what i got in my phtml file is -
<script type="text/javascript" src="/js/jquery.min.js"></script>
which should source the jquery.min.js from public/js directory
 
12:03 PM
yep
 
as it does by default
but when i give localhost/js/jquery.min.js in browser
 
how your rewrite rules look like?
 
instead of displaying the jquery.min.js file,
it says js is invalid controller
did u get me now?
so, it is unable to access jquery.min.js file
 
yep
 
am i right?
 
12:05 PM
what are your rewrite rules
?
 
1 min
 
just a side note: at the moment the question has nothing in common to what it was originally
 
sorry, my httpd.conf has allowoverride none!
 
facepalm.jpg
 
it isn't taking .htaccess
 
12:07 PM
then it shouldn't return you a wrong controller page
 
my professor told me that my query (Select * from question where subject id =".mysql_real_escape_string($_GET['subject'])) ? is there anything wrong in this ...and i know mysql_* is deprecated
 
just because in that case it doesn't have any rewrite rules specified thus just should serve files by default
@Csツ that your query is what?
it's wrong that you don't check if 'subject' parameter is even passed
 
@Csツ Yes its wrong
 
this would generate a notice
 
you are using $_GET without checking that the value is valid
 
12:08 PM
i am checking that parameter is int and set before query
 
ps: subject id --- a space here?
 
And subject could be a string resulting in an error
 
if it's an int - don't use mysql_real_escape_string
but (int)
 
@CarrieKendall that was hard
@Csツ Than why you even need mysql_real_escape_string?
 
12:09 PM
all pictures should relate to friday on this glorious day!
 
You can use is_int
 
@Mr.Alien makes no sense
 
@zerkms WHy?
 
1. it's a string
2. no reason to check when you just can (int)$var
 
He said its int
 
12:11 PM
@Mr.Alien it's taken from $_GET
 
yea so? if(!is_int($_GET['whatever'])) {//do whatever}
 
@Mr.Alien any string will always return false for is_int
 
PLB
@Mr.Alien There's noway that $_GET['subject'] is int
 
now my question is that is that query is safe from the point of sql injection view ... ?
 
since a string is never an integer (sincerely yours, KO)
 
12:12 PM
@Csツ NO
 
PLB
Well... unless there's something like: $_GET['subject'] = (int)$_GET['subject'] before. :s
 
@Csツ it is, but it's silly to not (int) integers
 
@zerkms OOps I Forgot (int) :p
 
@Mr.Alien use is_numeric i think
 
@zerkms Now I have made allowoverride All and here are my .htaccess file contents-
 
12:13 PM
@PLB Not necessary, may be a subject id
@dragon112 Yea but that will be loose
 
@PLB yes i doing this .... explicit type conversion
 
Options FollowSymLinks
RewriteEngine On
php_flag zend_codetracing.trace_enable on
php_flag zend_codetracing.always_dump on
RewriteRule ^.*$ index.php [NC,L]
 
@udaysagar ZF is shipped with example rules, use it
 
they at least include couple RewriteConds
 
12:13 PM
@Csツ If you do this why put it back into the $_GET value? better make a new variable for it
 
@dragon112++
it's a good idea to leave superglobals as-is
 
I guess he has already made, if it's invalid, he must be redirecting, if not than he is using $_GET directly
 
Is very confusing for anyone who checks your code afterwards as $_GET normally contains only strings
 
it wont get in if condition if there is something wrong .... so there will no query ...
 
PLB
@Csツ BTW, there shouldn't be space in field name like this.
 
12:16 PM
@Csツ I use phpstorm
 
But if you checked your $_GET for being an int, why do you do the mysql_real_escape_string? If it's an int that's not needed. Also subject id doesn't work. The space should be gone or have a . (if this is a subquery or something)
 
PLB
I mean subject id
 
subject_id <<<
 
or that, whatever your db says:p
 
Hmmm, if you implement Oracle database in PHP and get an unexpected result, you don't throw an Exception, you throw Money, and the catch is implemented at Oracle's side. :o
 
12:17 PM
^^^ That is a must watch
 
@PLB sorry its just a typo ... i am suing subjectId
 
lol so bad
 
@Csツ it is ok to use camel casing but keep it for JS, in PHP use _
 
A new update in 42 years .... lol
lol
 
@zerkms i am using phpstrom and found really helpful .. now thinking to buy other IDE for JavaScript based ...for friend
 
12:19 PM
LOLOLOL he is the javatar!:p
 
I've a feeling that @Csツ is @cryptic ツ <-
 
that's the worst-best thing i've heard in a long time:p
 
@dragon112 lol
 
@Mr.Alien who is cryptic ?
 
@Mr.Alien I don't think so
 
12:19 PM
lol++
 
@dragon112 I know :p
 
++lol
 
@zerkms I used zf default .htaccess contents-
Options FollowSymLinks
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]
RewriteRule ^.*$ index.php [NC,L]
 
@Csツ Now don't pretend, we've caught you
 
I get the same warning that js is invalid controller
 
12:21 PM
@udaysagar sorry, my limit in helping about ZF is ended for this week
try to learn how to debug your code yourself
it's a useful skill
 
@zerkms atlast you got tired, I was waiting for it
 
@Mr.Alien sigh you just caught me ...now mind release me :P
i am not cryptic
 
@Csツ hmmmm :/
 
alrite! @zerkms thanks anyhow! :-)
 
@Baba At least the light in The Netherlands will go off last... :p
 
12:24 PM
@dragon112 Guess you are using PHP instead lol
 
For the lighting system? God I hope not.
Actually I know we don't, as the company I work for makes the software used to control the electricity network in the netherlands:p
Parts of it at least
 
ok, any one knows how do I add a shortcut in windows context menu, like say create a new text document, so i want an option, create php doc
 
@Mr.Alien have you tried to... google?
 
hi,how do i set permission for "Express Checkout" of paypal sandbox account,because showing ACK-failure
 
or do you really think there is no articles about that over the internet?
 
12:28 PM
this is my code
<form method=post action=https://api-3t.sandbox.paypal.com/nvp>
<input type=hidden name=USER value="avijitnanda0_api1.gmail.com">
<input type=hidden name=PWD value="TYUFP6HYJWDEXQ85">
<input type=hidden name=SIGNATURE value="AFcWxV21C7fd0v3bYYYRCpSSRl31A2Xh6z3jFgBJzPF8kXyKgA0uksMW">
<input type=hidden name=VERSION value=52.0>
<input type=hidden name=PAYMENTACTION value=Sale>
<input name=AMT value=19.95>
<input type=hidden name=RETURNURL
value=http://www.YourReturnURL.com>
<input type=hidden name=CANCELURL
 
@user1987095 Would you mind making a pastebin.com for your code
 
(also, the comment thread on that q is quite interesting)
 
@zerkms Actually, NO, I am lazy right now
 
@Mr.Alien try to google
if you won't find - come back and we'll teach you how to google
3
 
12:29 PM
hahaha
 
@zerkms lol++
 
No, actually I know like a pro how to search google, but it;s raining and am feeling lazy, zzzz
 
it's not how it works
 
@Mr.Alien here, I'll help: google.com :P
 
@Doorknob No
 
<form method=post action=https://api-3t.sandbox.paypal.com/nvp>
<input type=hidden name=USER value="avijitnanda0_api1.gmail.com">
<input type=hidden name=PWD value="TYUFP6HYJWDEXQ85">
<input type=hidden name=SIGNATURE value="AFcWxV21C7fd0v3bYYYRCpSSRl31A2Xh6z3jFgBJzPF8kXyKgA0uksMW">
<input type=hidden name=VERSION value=52.0>
<input type=hidden name=PAYMENTACTION value=Sale>
<input name=AMT value=19.95>
<input type=hidden name=RETURNURL
value=http://www.YourReturnURL.com>
<input type=hidden name=CANCELURL
 
/banvote 1min @Mr.Alien
 
@zerkms ----
 
@user1987095 why you name=METHOD ?
 
@Mr.Alien I think it will rain like 26th july. :(
and create train jam
 
12:32 PM
@YogeshSuthar Seriously, it's so dark, I mean wtf, its lyk night
 
@Csツ i got it from paypal
 
"like 26th july. :(" --- again, it's my birthday
 
@user1987095 go to pastebin.com paste this into the big textarea select HTML in the top combobox and click the button. Then paste the link to the page you land on in the chat.
 
@YogeshSuthar no worries, I stay 10 mins away :p you will have some troubles
 
@dragon112 ok
 
12:33 PM
@zerkms Mine is on 11th september :p
 
@Mr.Alien that's why i am worried. :(
 
@YogeshSuthar lol train jam :D
 
@YogeshSuthar Virar trains are filled even at 12 in the night
 
0
Q: What's special in July 26th and why is it used in examples for Expires header so often?

zerkmsI've noticed that July 26th (my birthday) is used really often in various PHP examples related to preventing http caching using Expires header, like: http://stackoverflow.com/questions/12398714/cache-issue-with-private-networking-stream http://stackoverflow.com/questions/2833305/how-to-expire-p...

 
<form method=post action=https://api-3t.sandbox.paypal.com/nvp>
<input type=hidden name=USER value="avijitnanda0_api1.gmail.com">
<input type=hidden name=PWD value="TYUFP6HYJWDEXQ85">
<input type=hidden name=SIGNATURE value="AFcWxV21C7fd0v3bYYYRCpSSRl31A2Xh6z3jFgBJzPF8kXyKgA0uksMW">
<input type=hidden name=VERSION value=52.0>
<input type=hidden name=PAYMENTACTION value=Sale>
<input name=AMT value=19.95>
<input type=hidden name=RETURNURL
value=http://www.YourReturnURL.com>
<input type=hidden name=CANCELURL
 
12:34 PM
@user1987095 again ?
 
@Csツ what should i do
 
@user1987095 Are you trying to annoy me? I'm asking to give the LINK/URL, not the same stuff over and over again
 
@zerkms see flood in mumbai on 26th july 2005
The 2005 Maharashtra floods refers to the flooding of many parts of the Indian state of Maharashtra including large areas of the metropolis Mumbai, a city located on the coast of the Arabian Sea, on the western coast of India, in which at least 5,000 people died. It occurred just one month after the June 2005 Gujarat floods. The term 26 July, now is, in context always used for the day when the city of Mumbai came to a standstill. Large numbers of people were stranded on the road, lost their homes, and many walked for long distances back home from work that evening. The floods were caused...
 
@dragon112 websitelink
 
Yes
 
12:35 PM
@Mr.Alien All because of Nalla Sopara people. :P
 
@dragon112 i'm testing it locally
 
@YogeshSuthar Try having your birthday on 3rd of feburary in the Netherlands, most of the time it's snowing or freezing pretty bad
@user1987095 the website link of the pastebin you created.
 
@dragon112 ithis one
 
Yes.
 
@dragon112 my birthday is on 9 sep
 
12:37 PM
It's not appreciated to paste lots of code into the chat, creating a pastebin makes people want to help you more.
 
@dragon112 I've moved from northern semisphere where my bd was in the middle of summer to southernn where it's chilly in July
 
I'd like that
@zerkms Last year I couldn't even leave the house because my car was frozen shut :(
And using the bike is really dangerous when there is 5 cm of ice on the roads
ok maybe more like 3:p
 
who counts
 
I do apparently ;p
 
@YogeshSuthar Never got in virar, it's like entering hell
@YogeshSuthar LOL, 2 days before me :o
 
12:41 PM
In probability theory, the birthday problem or birthday paradox concerns the probability that, in a set of n randomly chosen people, some pair of them will have the same birthday. By the pigeonhole principle, the probability reaches 100% when the number of people reaches 367 (since there are 366 possible birthdays, including February 29). However, 99% probability is reached with just 57 people, and 50% probability with 23 people. These conclusions include the assumption that each day of the year (except February 29) is equally probable for a birthday. The mathematics behind this problem le...
 
hey all
 
@Mr.Alien Yeah but year is 1989.
 
@YogeshSuthar aaa you are elder than me
 
@Mr.Alien yes 2 day and 1 year. :)
 
12:42 PM
@CarrieKendall fixed
 
@dragon112 is it my paypal setting problem or code problem,plz
 
@YogeshSuthar HA I'm 1/2 year and 6 days older than you xD
@user1987095 I don't know, I was just trying to keep the chat clean ;)
 
@dragon112 :)
 
@Baba rotfl
 
@Mr.Alien nope not me
 
12:44 PM
@crypticツ I know, was jus kidin :p
 
@zerkms apparently people just reject edits without regards to meta
 
@Mr.Alien just someone trying to copy me. I'm a trend setter you see =oP
 
Good bye all time to leave. :)
 
@CarrieKendall SO (and any community) community is rarely consistent in its behaviour
 
@Csツ why you copying me? O_0
 
12:45 PM
@crypticツ You are, I remember the time when there were like 5 of you xD
@YogeshSuthar bye bye
 
@zerkms that is just maths ... discrete maths/probabilities to be more strictly speaking
 
@dragon112 oh, that was just International @cryptic Day
 
@Telkitty猫咪咪 it is. I just gave that reference in context of 2 guys who found their birthdays are close
 
@crypticツ So are we celebrating crypticツ day now?
 
@Mr.Alien if only he has a cake
 
12:47 PM
@zerkms This means there is a pretty good chance 2 people in here have the same birthday
as we are 53 in here right now
 
@zerkms those 3 seemed consistent :P
 
@Mr.Alien No, It's on Mar 20th
 
So around 99% chance:p
 
@dragon112 checked as well. It's a lot )
 
@crypticツ I missed that, mail me a pastry..
 
12:48 PM
@crypticツ I know, I participated!
 
@zerkms only he
 
@Mr.Alien What's your email address, I'll mail you a bunch of them! (google.nl/…)
 
@dragon112 it's 64 encoded -> profile description :p
 
@dragon112 can u help me
 
@user1987095 No, I don't really know much about paypal.
@Mr.Alien I'm lazy.
 
12:50 PM
@dragon112 Don't tell me you had them all
 
I googled them all, does that count too?
 
@dragon112 No, I can permit that
 
Hmm then no.
I did have 'appelflappen' recently
 
@dragon112 Good, than send me later.. :p
 
what's your email? I'm lazy as I said :p
 
12:55 PM
42
A: Prevent posts with links to jsfiddle and no code

Kevin MontroseThe code's been checked in, and will go out in the next build is now active on all (non-meta) sites. What code you ask? Well, we talked this over and decided the problem isn't really jsfiddle it's just super short posts that contain links as the bulk of their content*. Put another way, there a...

that's interesting..
 
@Mr.Alien Liez! I checked and your email is echo2...@gmail.com dont remember the second part
 
@dragon112 That's mine too, the thing is I created that recently, fire one is old, I don't give the fire one to anyone...
 
You just gave it to a chatroom with 50+ people
 
@CarrieKendall I'm waiting for the day JSfiddle goes under, and we lose a large portion of posts on SO. Personally I don't think any JSfiddle or similar links should be posted unless the same code is put in the post as well.
@dragon112 also Google indexed =oD
 
@dragon112 No worries, most of them have brains here, either they will ignore, else send some sensible stuff, it's better to have a blank email, rather than receiving emails like I won $500000000000000 WTF
 
12:58 PM
@dragon112 and to google
 
@crypticツ It is indexed already
 
@ircmaxell google already knew it
 
Google knows everything
 
@crypticツ Posting a question with only a jsfiddle link will actually tell you to post the code in the question as well
 

« first day (972 days earlier)      last day (3988 days later) »