« first day (800 days earlier)      last day (4131 days later) » 

7:00 PM
@TheCOMPLETEPHPNewbie what is that ?
 
Anonymous
Silver badge, dude. I will get one in SE after a week. for 30 consecutive days.
 
in JavaScript, 2 mins ago, by Neal
I need an old question to answer to get the Bushido hat... hmmmm, anyone have any ideas?
 
Anonymous
Got me thinking, SO is like a crack
 
tell me about it. i am a fanatic!
100 days consecutive but it used to be fun.. everyday checking so along with my mail
 
@Neal ... there are bunch(rather ton of them) of them ..which does not quality answer
 
7:03 PM
lol the consecutive day badge isnt possible for me
@NullPointer ?
 
Why not asking direct?
> May I ask for a code snippet that may help me out to accomplish this task ?
 
Anonymous
wow @Prasanth You visited SE for 100 consecutive days? I've am in the 22 date. funny, I only get internet on weekends. Other days, I am checking the site from Old Nokia phone. I guess nothing to do, just to get the badge.
 
Anonymous
It reminds me, to visit also the other SO sites along, just to make sure I get gold and solver too
 
i used to do that too.. now and then travelling, checking so on nokia :)
 
Anonymous
@Neal If you give me your login details, I could get you the badges! How much you paying fo da gold one?
 
7:06 PM
2
Q: PHP micro-optimization

user514868How can I spot useless micro-optimization techniques? What should be avoided?

 
haha i bet atleast one fanatic was not really fanatic but wise ass cron writer
lol
 
Anonymous
lol
 
what's the guide line for starring chat messages btw?
 
Anonymous
Interesting stuff I guess. @Prasanth
 
Anonymous
10 stars by 10 different people will get you a star. That is just about it, if you are aiming for silver. There is no gold here.
 
Anonymous
I think the number of people that will get gold and silver will dramatically decline over time in SO, as most interesting questions have already been asked, Making answers aswell less significant relatively. Unless a new programming languages pops up, and opens the whole door of new competition.
2
 
Unless a new .....
That happens. So don't worry.
Who is jon skeet of php?
 
Anonymous
@Prasanth search for PHP tag here stackoverflow.com/users?tab=reputation&filter=all
 
@Prasanth @ircmaxell ?
 
I just got a hat for earning hats. Yo dawg...
 
7:15 PM
@Charles haha yea. its impossible to have 15 hats at once
 
pin php top users link here. it's inspiration for us newbies. pin as in, star it max
 
@Prasanth Depends. In terms of knowledge and ninjaness, I'd say NikiC and ircmaxell are up there. Rep wise, I think Pascal Martin wins that one.
 
Anonymous
@Prasanth can you recommend any good It school in India ?
 
@user1879104 seriously?
 
i am sorry i really can not. @TheCOMPLETEPHPNewbie
 
7:24 PM
@Prasanth as far as i know @ircmaxell is best
anyone who watched his talk will love him
 
ok folks.. time for me to leave.. my chariot is waiting.. here i go :)
 
Anonymous
Everyone seems to love ircmaxell a lot, how about Jeff Atwood @NullPointer
 
Anonymous
@Prasanth adios
 
@Neal wtf... its up to user ...dont agree just leave and dont upvote if disagree found answer wrong just downvote
 
7:27 PM
Hi all
Merry Christmas
 
@NullPointer lol exactly. upvote this if you can
 
Anonymous
LOLLLLL
 
@Neal yupp ... i am agreed thats why i upvoted ...
 
Anonymous
Who is @user1879104?
 
user50049
Does anyone have a link to that comment in the transcript handy?
 
7:28 PM
@TheCOMPLETEPHPNewbie hes lurking in this room
 
@TheCOMPLETEPHPNewbie no ... idea i think he using c#
 
Happy tuesday people! I will see u all on wednesday!
 
user50049
Nevermind, I found it.
 
@Baba hi .. baba how you .... marry Merry Christmas
@TimPost Merry Christmas
 
user50049
Thanks @NullPointer :)
 
7:31 PM
yours welcome ...
 
@NullPointer hi how are you doing
I am having trouble with this. Method Binary::__toString() must return a string value It seems that because they are returning numeric values it will not allow the return! — user1878381 6 mins ago
 
i am awesome ,,,, just enjoying Christmas..online
 
@NullPointer cool
am about to go out now
would be back soon
 
@Baba later
 
7:35 PM
:)
 
Anonymous
@Neal later..
 
@Neal later
 
@NullPointer please help me reply that crazy guy .... while am gone
see ye later
bye
 
@Baba dont worry .... ill ... bye ...
 
Anonymous
Thinking a good screen name.
 
7:38 PM
@TheCOMPLETEPHPNewbie good keep it up ....
 
Anonymous
How about: " Need upvotes pls "
 
@TheCOMPLETEPHPNewbie it should be review pls and.....also review pls != need upvotes pls
 
Anonymous
I will go with PHP Noob.
 
Anonymous
@user1843951 what do you do in SO?
 
@TheCOMPLETEPHPNewbie sounds cool
 
Anonymous
7:51 PM
And true too.
 
^ your vote will help to clean up older content. thank you!
 
@hakre give answer of that type question is like feed the vampire
 
@NullPointer that question is old, I just think it's good to see it closed against a better variant than ORDER BY RAND() o_O
 
sounds good
 
Hey all, happy holidays! I come here with a question about 403 forbidden. I have one profile on my site that always gets the "forbidden" 403 error. All other profiles fetched from database work fine except this one. I checked database and everything seems exactly the same.. Could it simply be the username of the person "apiannini"?
I add one letter to the name and profile gets a 404 page which is correct, or I change it to a valid name and it works fine. That specific username won't work.. I tried to do an exist right at the beginning of the php file for the profiles and it still gives the 403.. O.o firewall settings?
 
^ does it make sense to ask questions for friends? Then I'd say, you're brave to take the downvotes for your friend, too :)
 
lol
 
Lol
 
@Darius Happy holidays
 
Priceless: Asking a question on SO and adding at the bottom:
> I'm trying to figure some simple way to do this myself in the meantime.
@Darius 403 forbidden sounds like your webserver wants to make holidays, too. Only family members are allowed to visit him.
 
8:19 PM
Hahah
one of my co-workers said maybe it's a zend framework thing blocking /api in the profile name
site.com/apiannini shows 403 while site.com/apianninis show 404
so does that rule out the API theory in url for ZF?
 
403 => denied by file permissions or file policy.
Check the server error log, it may have more information. If it does, it's your web server blocking the request, not the application
 
2,000 questions tagged / 1,300 questions tagged
 
Alright, good plan. Thanks, I'll get my buddy to look at it right now, I'm horrible with internal log files. I have one created for application I review, but deeper down skips my mind sometimes. Appreciate it charles!
 
Yes, always check server error logs. Should reveal a good first piece of information.
 
8:29 PM
Diagnosis correct in the general case, but the alleged random nature of the error disagrees.
 
@TheCOMPLETEPHPNewbie check also php.net/manual/en/tokens.php
 
8:42 PM
@Charles Found the issue with my 403 while playing around, still going to check server logs, anything with "ini" at the end of the profile username is blocked in 403 so "hini or "charlesini" is blocked. Actually ANY page with ini as the end if blocked
<FilesMatch ".(htaccess|htpasswd|ini|phps|fla|psd|log|sh)$"> bingo
..... that's stupid, why doesn't it require the "." to kick the error in.. :(
was missing the \ infront of the . got it
 
Welcome to regexes, enjoy your stay.
:)
 
:D
 
9:02 PM
Your motivation is me getting paid style:
> I want to add this open/close feature and it will become a huge part of the system. It's just that I will lose out on a lot of income if I'm off by an hour.
 
Hi all, just here to say you ... Merry christmas ! Have fun with php :D
 
user1125394
10:00 PM
Fedora17 == perfect, except the printscreen button doesn't work
 
user1125394
I hope santa could fix it for me
 
@Lusitanian Why would I explain myself to the likes of someone who thinks I should explain myself ;) - Especially someone who is trying to defend the abomination that is .NET
 
user1125394
just the name dotnet is an abomination
 
I see you @Charles ;) top!
 
@hakre Goin' through the top voted ones first. We're down to the +3s.
Quality is steadily dropping and it makes me want to /wrists 'cause they're all so old and trying to do anything about'em is useless.
 
10:09 PM
@Charles yes nice. yeah quality is a mess:
> Please clarify my doubt.
 
Then sometimes there are little gems, like this one about URL rewriting that I think deserves a great answer from someone that knows....
2
 
And endless stream of Indirect Asking Patterns.
 
@hakre Given the regional use of that term, you should just tell him to break out the ghee.
 
@Charles Shit, I don't have any more votes.
 
Gonna break out a bounty I think.
 
10:11 PM
@Charles Let me do that with a small one first.
 
If you wanna. I'm interested because I'm in the process of building a commercial thing and I'm going to want to do what I can to make it smart about rewriting out of the date.
 
 
I really hate seeing "we don't do it for you" and then also seeing answers that do it... :(
@hakre Cool. I'm eventually going to make sure nginx and IIS are included in the list of target platforms for the second round, I think.
 
@MikeB pong and merry xmas
 
actually
I retract that
misread it.
Also, merry christmas, mister @Gordon.
 
10:21 PM
@Charles thanks. to you too :)
and everyone else
Merry Xmas!
10
and afk again
 
Man, some of these old questions would be closed in a split second nowdays... but they're sometimes so good for being so bad.
 
@Charles I find some quite cool because back those times, they kept the questions more simple (not all, but there are some really short ones, but I like that somehow).
@Gordon Merry Christmas at you if you do that stuff :) Also to your gf.
 
@hakre thanks. to you too from us both
 
@hakre Err, are you sure about that dupe?
 
10:33 PM
@Charles lol, wrong dupe, true.
I thought I had the reference question in the clipboard, silly mistake
 
Eh, just picked the one at the top of the list. Close enough.
 
I hate it when an open source project makes it hard to find their vcs repository...
 
@Jasper which project are you stalking?
 
@hakre Drupal
 
@Jasper are you kidding?
 
10:37 PM
Nope, I was wondering how they tackled the question you mentioned, since I do know that do have a solution to that in the installer
 
Ah thanks
 
I've lost my consecutive count over playing too much Minecraft :(
 
Are you just better at finding links or did you know where it was?
 
ffs, I swear everyone named "learner" is a blithering idiot that doesn't know how to learn.
 
Anonymous
10:51 PM
I am learner, sadly.
 
user1125394
how can I bind the printscreen keyboard button to scrot command
 
@TheCOMPLETEPHPNewbie Well at least you are trying.
@cyril F17? Dunno. Switch to XFCE and I can get you an answer on Weds :p
 
user1125394
I'm a LXDE man
 
Oh, even worse. No idea. It's gotta be somewhere in the window manager keybindings.
 
user1125394
Lightness
 
10:56 PM
Very odd. A large number of questions that have no answers are also about shell_exec.
Oh come on.
 
I've found how Drupal does it: have the redirection always in place (ie have the .htaccess bundled) and then check if it is function through a (synchronous) ajax call
I think it's inferior to (and basically the same idea as) the current answer of requesting the page through php though, so I don't think it's really worth adding it
 
While that works for Apache, it's not really going to be a thing for lighty, nginx, IIS, etc, none of which understand .htaccess.
 
how would i integrate oauth into my api so that applications can authenticate?
 
And some of which do very different things during the redirect.
@8ch8ch By ... integrating an oauth library?
 
11:11 PM
@Charles i know. can you recommend one?
most of the ones i've found are tailored more towards facebook and twitter authentication and stuff
 
You're building an application that will be the API host, right? Not writing a client for other APIs?
 
@Charles I mentioned the .htaccess only as an example, as it works all the same for just about any redirection system here. The idea is: set it up, ajax it. If the file is requested, the system works, if it you get 404, the system doesn't work. Anything I'm missing?
 
@Jasper No, that's a totally valid method.
 
user1125394
I'm in love with fedora
 
@Charles i have a RESTful API. right now anyone can hit it via the browser or curl or anything. i'm looking for a good way to secure the api so that only authorized users can use it. in my research i've come across oauth a few times. what do you recommend in my scenario?
 
11:16 PM
@8ch8ch Okay, good. Just making sure. There only seem to be one third-party library to do OAuth2 server bits: code.google.com/p/oauth2-php -- I have never used it and do not know how well it works, if at all.
There's also code.google.com/p/oauth-php but that's OAuth 1.
 
aside from oauth what are my other options?
 
Roll your own. Assign interested users a token key or a HTTP authentication username & password. Combine with SSL.
 
@Charles ok SSL is for sure. my fear with a token key is for example our android app can be reversed compiled and the key can be revealed. or what if the token figured out somehow? or am i worrying without reason?
 
@Charles Maybe the current top answer can use a little rewording to make it less apache specific, but I feel the answer is basically already there. What do you suggest: Leaving everything as is, modifiying the current answer to make the wording less about apache, or adding a new answer?
 
@8ch8ch You totally want the key unique per user and not hard-coded into the application.
@Jasper If you think that the substance of the reply would have to be changed in order to make it worthwhile, then it'll be better to post your own answer.
Explaining how drupal does it might be worthwhile and be able to stand alone, for example.
 
@Charles it's an android app though. how can we make the key unique per user?
 
@8ch8ch So the idea behind oauth is for a registered, logged-in user to delegate API authority to an external application. You can emulate this by assigning each user an authentication token. The user would have to enter the token into the application somehow.
 
It's getting hotter:
1,000 questions tagged / 536 questions tagged
 
@Charles it's a radio app similar to pandora. the end user won't be that savvy.
there has to be a way to ensure that the calls only come from our apps.
 
11:41 PM
@8ch8ch Then you'll want to either do oauth or prompt for username/password. If you're making both ends, then username/password is probably OK.
 
@Charles Ok will do.
 
OAuth is really designed for cases where third-party applications are going to do their thing. You should still use it if it isn't a royal pain, of course.
 
@Charles well the user is going to login to the app with their credentials but the app is going to make the api calls to get the content. are you suggesting that when the user registers we generate a token that gets populated into the app?
 
@8ch8ch That sounds much more sane than storing the user's password on the phone or making them log in every time.
Just prompt them once and then store the token instead.
 
11:45 PM
@Charles so they login, i generate their token then store that in the app. then they use that key to access the api. and then i make the api require a key. which will solve the problem with hitting it from the browser.
 
@8ch8ch Add in some SSL and that sounds perfectly fine.
 
sounds good. thanks.
 
loool, active question listing stackoverflow.com/questions/tagged/…
 
Surprised there aren't people whining on meta.
 
cv-rounds
 

« first day (800 days earlier)      last day (4131 days later) »