« first day (1010 days earlier)      last day (4163 days later) » 

10:00
Had the notification that a page has been closed disappeared? Was writing code… and I wasn't notified that the question was closed…
@HamZa Good point, added a small example.
4
Q: How does SE store passwords for their Open ID provider?

Mad ScientistI'm wondering how exactly the SE Open ID provider stores passwords, in far too many high-profile cases passwords were only marginally protected. I personally expect that SE uses a suitable hash function and salt, but it would be nice to know for sure.

Only the submit button became grey (what I only noticed when I wanted to submit…)
No salt is used. The only hash is 2ROT13. — Cole Johnson 2 hours ago
10:05
@Gordon 3 revenge donvotes have been "undownvoted", but two not. I have never seen "undownvoted" before. What does it mean. It is not the reversal script right?
Approve.
@Jimbo noice!
revenge voting hehehehehe
Audit?
10:06
@PeeHaa he did it manually then
@Gordon ha smart move. Now the reversal script probably doesn't kick in. :)
@Jimbo Hahahhahaha
@Jimbo why was that answer even accepted ?
@PeeHaa if you care about the other two I'll forward it to people
@tereško One answer: Engrish
10:07
Let me see which ones they were
The first is this, but let's just either migrate that one or close it; stackoverflow.com/questions/17514899/…
@PeeHaa migrated
yay. I can live with the downvote of the other one it's aceepted so meh
@PeeHaa ok
tnx for your cooperation :)
lol @ pity vote. tnx :D
Needz moar meta repz :-(
10:11
on a side note: the main problem I have with revenge voters is not that they cannot restrain themselves or that people lose a bit of rep. its the taint they put on answers with their votes.
@PeeHaa <3
PLB
PLB
@Gordon Does not reversal script remove dvs from answer/question as well?
@Gordon There should be a physical punishment instead :D
@PLB I think only in case if there is a serial activity
@PLB it does. but still. a revenge voter is actually harming everyone looking for answers because in order to have their petty revenge they use a tool that indicates a post is bad
10:18
hello all
can we reuse javascript function() multiple times?
sure, put it in a var
or make a real function of it
as in a named one
@SagarPanchal have you tried learning javascript ?
0
A: How does SE store passwords for their Open ID provider?

JackWithout immediately getting into the exact details of what SE uses to store their passwords, I would like to point out that it's strictly not the responsibility of the OpenID provider to manage passwords at all. OpenID is an auxiliary system "bolted" on top of an already working authentication s...

actually i am a new in php developing, and i have used ajax in my script
@SagarPanchal Dude you've been on here for months - you can't be that new any more :P
10:22
@tereško, i m showing that javascript code that i have written
@Jack -1 :P
:10756714 create a pastebin
so you are actually still supporting IE5 ?
5 messages moved to bin
or did you just copy-pasted code from some place on the web and do not even understand what it does ?
10:25
@SagarPanchal I dont see how "can we reuse javascript function() multiple times?" warrants that wall of code. show the relevant parts. not the whole script.
no no, i am passing this values for getting my actual values from db
wait
@PeeHaa cos ... ?
> I would like to point out that it's strictly not the responsibility of the OpenID provider to manage passwords at all.
1 message moved to bin
10:26
this is my first page from where i am sending var's
hire a developer
dude i am developer
Please pastebin, however I would suggest going to the JS room instead and minimize your code to the problem part
@PeeHaa Hmm ... yeah, the use-case is where SE is used as the identity provider right?
10:27
@Jack yes :)
@PeeHaa So? That's what my answer covers, no?
3 mins ago, by Gordon
@SagarPanchal I dont see how "can we reuse javascript function() multiple times?" warrants that wall of code. show the relevant parts. not the whole script.
@SagarPanchal doubtful .. since up till now you have only pasted walls of code here which you obviously have copied from some other location
It provides a third party with an authoritative response about someone's identity @ SE.
nobody in his right mind would be writing with IE5 and Netscape in mind
10:29
Hello
@Jack No. The question is abuot SE providing the identity. Not some other service.
SO is the openid provider and as such has to store credentials
my actual question is, can I we recall / reuse the javascript function ?
I have a php array that consists of values with $array[0] === 0 and $array[$i] < $array[$i + 1]. I would like to find the key of the first occurrence ($firstKey) of a value >= $min. I need a codegolfed O(log n) solution.
@PeeHaa That's what I'm saying as well ... it provides a site (or app) with the user's identity.
Is there anyone who can help me on Yelp API
?
10:30
The identity is simply the openid response.
In that case I don't get this sentence:
. I would like to point out that it's strictly not the responsibility of the OpenID provider to manage passwords at all.
@SagarPanchal function dosomething() { } dosomething(); dosomething(); <-- called twice, reused.
How is that not the openid provider's repsonsibility?
PLB
PLB
@SagarPanchal var foo = function () { alert('sigh'); }; foo();
@PeeHaa Because the provider is not the one doing the authentication.
10:31
@Jack huh? ofc it is?
@PeeHaa It's like the diff between inheritance and composition.
It uses the authentication system.
It's not the authentication system itself.
oow now I see what yuo mean
It handles the incoming identity request and offloads the authentication.
@DaveRandom if I clear localStorage and visit like I've never visited before the open in tab option is checked by default in the HTML, however on page load the checkmark quickly appears and disappears. So it looks like the code is unchecking it.
When I see openid provider I see it as the service as a whole
I.e. SE is a service provider
10:32
@PeeHaa Well, there are two distinct parts ;-)
good mornings :)
@Gordon I am reading this for PHP Sockets. I am confused in PHP sockets and long polling ajax. Can you elaborate on this, which should be used?
if the main page calling javascript itself, and then using ajax on that page also using javascript that we had already used above, then secondly calling js function is not working
PLB
PLB
@SagarPanchal What have you heard about debugging? :)
@crypticツ Oh that sucks
That shouldn't happen, just a sec
10:36
@PLB
Hey @crypticツ while there's nothing on docroot can you set up a redirect to /backlog if you just hit the root?
yes, but i don't js in deep
@DaveRandom yeah
@tereško, respected sir, how can u said that i m copying all the codes, and all that stuff ?
@DaveRandom done
10:39
^ some users never change :)
@hakre have you done Socket programming in PHP?
@NikiC i was looking at wiki.php.net/rfc/remove_zend_api/scratchpad and i saw The array extension contains a great deal of code that manipulates hash tables directly. The approach taken in ProjectZero was to recode this as an “internal extension” in Java. .... what does that mean ?
Good Morning Everyone
@PeeHaa Btw, could you remove your earlier comment? :)
@Baba no idea
@NikiC wow
@NikiC Do you also support Removal of the Zend API
10:46
@Baba I don't even know what "ProjectZero" is supposed to be (and what this has to do with Java)
@Baba Why would you want to remove it?
@NikiC That is where i got confused my self ... WHY Java
If they mean that we should use abstractions over the zend API in the PHP code, then yeah, I could agree with that
The main problem with it is that it constrains the implementation of the Zend Engine. The Zend API creates a tight coupling between the Zend Engine and its clients, restricting greatly our ability to change the Zend Engine. By requiring backwards compatability with the Zend Engine, we are ensuring that the Zend Engine can only be modified in minor ways. This holds the Zend Engine to design decisions made nearly 10 years ago, and prevents PHP from getting much faster in the long term.
^^ it claims that
18 mins ago, by tereško
nobody in his right mind would be writing with IE5 and Netscape in mind
this is how
Hello, can someone help me with some exec command?
10:48
@Baba that might be true, hard to say
@SagarPanchal only people who simply copy-paste all the code would have comments regarding IE5 and Netspace in the code
It might allow some more flexibility within the engine, but at some point you got to interface with it, so....
@NikiC I think i agree with you on that
Ahhh no one with PHP Sockets. :(
@YogeshSuthar @Baba should know
10:52
@Baba You knows about PHP Sockets? Where we have to use them?
@crypticツ I'm sure JSON.parse used to throw a syntax error when you passed it null, apparently not any more. Reverted to checking for explicit boolean return values.
@YogeshSuthar Used it for ISO 8583 gateway and routing
@NikiC What do you want with PHP Sockets .. what are you trying to achieve ?
class helper
{
private $conn;
function __construct(PDO $connection)
{
$this->conn = $connection;
}

public function Dbcheck($table, $userName)
{
$sql = $this->conn->prepare("SELECT * FROM " . $table . " WHERE srilife_userName=" . $userName);
$sql->execute();
return $sql->rowCount();
}
}

$userNameCheck = $helper->Dbcheck("srilife_user", $userName);

echo $userNameCheck;
This code doesn't check the username availability
i don't know why is that ? return 0 always when i hit the signup button
@Baba PHP Sockets are used for payment gateway?
@Baba me nothing ^^
I stay as far away from sockets as I can :P
10:57
@NikiC that is how i met ZMQ
@YogeshSuthar you would be surprised what PHP can do ....
Anybody know the answer ?
@Baba Yeah I knows we can create websites(small, big) using PHP. Is there anything else?
@TomaszKowalczyk yeah
@YogeshSuthar you can create a server in PHP faster than Apache
10:59
@Samithaఠ_ఠ you're passing $table parameter that is used nowhere, and there is no dot between table name and field
As far as I know, I used web sockets for relaying live video
@Samithaఠ_ఠ oh, it's used, but dot is still missing. dont know what's your db structure though
@YogeshSuthar yes I did but not exceptionally much. what do you want to know?
@Samithaఠ_ఠ you are doing it wrong
@teres
@tereško +1
11:01
@tereško oh come on. A good website even survives those browsers :D
@YogeshSuthar used php for ANN solutions
@Baba Never tried that. :) I want to load data from server if anyone upload anything on server, just like SO loading 1 new question, etc.
@YogeshSuthar the only thing i don't use PHP for is Image
@Samithaఠ_ఠ no, i mean seriously. What is the point of using prepare() in that case ?
11:02
@TomaszKowalczyk what dot u mean ?
@Baba You used PHP for ANN. Awesome man. :D
@YogeshSuthar but we all know image is expensive in any language
Yea, here, web sockets thingy which I worked on
@YogeshSuthar I tried auto find plate number in image before in PHP once ... I don't ever what do do that again
@Jack you still haven't clarified it?
See the comments under the thing. It's not just me :)
11:04
@PeeHaa I'm still trying to wrap my head around how they're actually using their hash function.
Yeah I know, I'm not sure what's making them think I'm talking about something else ... sigh
@Mr.Alien nice
@Jack :P
@Baba Can I accomplish what I said using PHP Sockets?
I cannot upvote more than once, but if I could, I would. Thank you, you are a lifesaver!!! — molli 49 mins ago
gets me 1K in CSS :D ^^^
@PeeHaa But from the code that balpha gave, I can't really tell how they're using it =(
11:05
@Baba :D you guys are working on a higher level
@Jack Are you allowed to share it?
@YogeshSuthar I did not get what you want to achieve ... What are you trying to design ?
Or did you have to sign a NDA with your blood? :)
ow nvm :P
refresh did it :D
Yeah :)
@Mr.Alien you should see how @PeeHaa combines PHP ++ beer
@Mr.Alien Better than anything you can think of
11:07
@Baba Suppose I am viewing my page and some other user upload something on server, so that content should automatically load on my viewing page. Just like StackoverFlow displaying new questions.
@Baba He was mowing his lawns yest and he told me that his laptop was baked -> @PeeHaa but anyways he said he is going for a vacation and he is planning to quit drink beer
@YogeshSuthar that is a simple task ...
@Mr.Alien Congrats. :)
@YogeshSuthar thanks a lot :D
@Mr.Alien If @PeeHaa quits beer i would quit HTML
11:09
@Baba He will quit for sure if you will quit PHP
@Baba so what are you working on these days/>
@Mr.Alien Child Behavioral Management and Protection System
@Baba what's that
@Baba Yeah, it may sound simple to you, but I haven't done this kind of thing. :) Also I don't want to use ajax call after some time interval to get the latest content from server OR long polling ajax.
$sql = $srilifeConfig->prepare("SELECT * FROM srilife_user WHERE srilife_userName=" . $userName);
$sql->execute();
$userNameCheck = $sql->rowCount();
echo $userNameCheck;      This is always return 0
is it possible to get razor blades more cheap via internet? - I never got spam regarding those (althought it's a mens needs like viagra and stuff :))
11:11
@YogeshSuthar I have used WebSockets but only with a C# server side. DaveRandom has done some PHP related WebSocket stuff I think
Anybody know the answer ?
some of them are so idiots, I told my junior to remove Privacy Policy from the footer as client didn't provided anything for that.. and what he did was removed a tag and kept the Privacy Policy text sign
@Mr.Alien It analysis a child behavior and plot a behavioral pattern so that the teacher can know where to work on .. it also helps protect our kids from all this pedofiles and abuse ..
@hakre "like viagra and stuff" <-- errr you need that?
@Mr.Alien so many things involved ANN, Facial Recognition , Geospatial analysis etc
11:13
@Baba Oh, so are you developing some kinda system or its a social job? sorry if I sound foolish here.. some people do develop such apps..
@YogeshSuthar There are advantage and disadvantage for most of the tech you can use .....
@YogeshSuthar How many requests will the server get per second?
If you use polling
Anybody know the answer ?
@Mr.Alien has nothing to do with social ..... Its strictly child protection ...
@Baba So using PHP Sockets has disadvantages also?
11:15
@dragon112 depends on the task to do :)
@dragon112 His server will crash cuz he is using what am using, 000webhost
@Samithaఠ_ఠ If you keep asking you will only annoy people which results in them ignoring you which results in noone answering which will result in noone answering
@dragon112 I really don't know. It depends on how much users are using it. :)
@Baba Oh I got it, so that's a huge app as you said facial recog, geospatial analysis, best of luck with that..
I'm still stuck with an awful solution of performing a new SSH connection, retrieving and parsing data, and displaying it. This occurs every 5 seconds. It's a killer!
11:16
@YogeshSuthar You only use Sockets if you plan to use HTML web sockets .... or something like sockjs
@YogeshSuthar Take a look at this: (made by PeeHaa) github.com/PeeHaa/WebSocketDemo
@YogeshSuthar am sure you are aware not all browsers supports Websockets ...
@Mr.Alien I am using it for testing purpose, when the number of users increase I will purchase high bandwidth server. :)
@Baba Yeah I am aware of that.
@Mr.Alien thanks .... When its done .. i would bring it here for review
@YogeshSuthar Are you talking about the image website?
@Baba I would love too :D even am working on my personal blog, trying PDO this time
11:19
@Mr.Alien No, Its another application. :) Also ANN = Artificial Neural Networks. :)
@YogeshSuthar if you understand that than a good way to start is use socketo.me/docs/hello-world
@dragon112 @Baba Thanks, I will look into it.
@YogeshSuthar so you've 2 in a row now :p
@Mr.Alien Oh ok ...
11:21
@Mr.Alien 2 which I am disclosing to you. :P I have other also in my mind. :)
@YogeshSuthar but if you want long pooling then you really don't need sockets
@YogeshSuthar review it and let me know what you think
@Baba I read somewhere that using long polling takes too much load on server if number of users increase, it said that use Sockets than long polling. Yeah , let you know when I review it.
@YogeshSuthar Since you are developing a simple site .. have you considered using database like Firebase
tnx @Jack +1
11:26
@YogeshSuthar plannin for zillions?
@Baba No, I haven't heard about it. I am only using Mysql, SQlite, MSSQL. Well look into it. :)
I need one big big project, but don't have any idea what to build
@YogeshSuthar Its still in beta but works ....
@Mr.Alien your people often ask how to build a facebook ;)
@Mr.Alien Yeah.
11:27
@Baba I am marking that as a fav.. pretty useful
@YogeshSuthar Or just use ajax with fast database like Redis ..... if you are worried and load
@PeeHaa I've built one ;) but that was more like a linkedin
@Mr.Alien Using it now ... Quite Interesting for simple projects
@Baba firebase is awesome. :)
@YogeshSuthar and very easy to use
11:28
@Baba But it's premium
we indians love free stuff :P
@Mr.Alien have never used that ..... Using the free account and it works
@Baba Yea, I saw, 100mb is sufficient for a simple website
we want FREE FREE :D
@Mr.Alien with 5 GB Data Transfer
@PeeHaa met dank =D
11:30
@Baba will look forward to integrate that with my blog
@Mr.Alien lol
@Mr.Alien Using it for a simple QR mobile scanning application ....
hello @Baba
That won't take much of the space... btw qr scanner eh, built with php?
11:31
@iroegbu Omo Ibo .. How you dey ?
better than yesterday :D
@iroegbu Cool
@Mr.Alien Use the rest api with curl for PHP firebase.com/docs/rest-api-quickstart.html
array_unique() is a really sucky function. Why the hell does it cast elements to strings? :-(
@Baba Need to give it a read .. the problem is I hardly get free time, if I get, I learn something new...
I want the same API as in_array() / array_search()
bad linkifier
2
11:35
@Mr.Alien but really you can do the same with redis the only difference .. am not sure if it has a JS client ....
@Baba will read it by tonyt ;)
can anyone give me pointers on version control/management?
@Mr.Alien Just 3 lines
@iroegbu Try Git
0xBA42DA53
Every computer, at the unreachable memory address 0x-1, stores a secret.  I found it, and it is that all humans ar-- SEGMENTATION FAULT.
8
11:39
@ircmaxell I actually lol'd at my desk and now my co-workers are looking at me funny
@Baba @NullPoiиteя Thanks
@NullPoiиteя how is exams ?
@NullPoiиteя have you been selected ?
@Baba am noob :)
11:41
@Baba hiya .... i have scored 79(final year ) and aggregate of 76%
@Mr.Alien am also n00b
@NullPoiиteя Did you get selected ?
@Mr.Alien Noob or Newbie?
@Baba competition exam due on September .... but selected in law college :) and how are you ?
@NullPoiиteя congratulations ..... Well done
@Baba Thankyou :)
11:46
@Baba :D @iroegbu newbie for json js etc, though am learning js these days and till now, it's pretty good, a big shock was, we can't define constants .. I mean there's a way by using const but IE doesn't support that
Anybody knows what does mean cache warmup in symfony2 ?
I think am going to give up erlang
syntax making me go crazy
@Baba will be better compared to js, can't define constants, I thought book mis printed that part :p
@Mr.Alien JS is ok .... your problem is that you are expecting too much and you forgot how JS started
@Baba I know some background of js, like it was live script first when ms introduced, and version problems, even the new version is not released since years, am I right?
11:50
@Mr.Alien JS is just like PHP ... If you know what you are doing you can make the best out of it
pornos brauch ich net
@Baba and that's a lang construct, each lang have constants, I don't know what makes IE not to support const
@bwoebi I would have flagged that if I didn't read your name
@Baba js is better than php ... :P:P
@Mr.Alien wrong window
@Mr.Alien do you know many things IE does not support ? forget IE advice your client to download Chrome or Firefox . .... lol
@NullPoiиteя lol
@NullPoiиteя I can tell you what PHP can do and JS can not do
11:53
@Mr.Alien wanted to type in skype but firefox had still focus
xD
@NullPoiиteя Client Side (!=) Server side, yes, thats my new operator, "SHOULDN'T COMPARE"
@Baba I can make my client understand, can't make visitors understand ;) anyways I hardly use constants, even in php, mostly I've used is for db details
@Baba @Mr.Alien stackoverflow.com/questions/13840429/… i know i know but whatever js is better than php :D
@bwoebi hehe..
@Mr.Alien had someone else flagged it?^^
Trying to find a use case
11:56
@bwoebi Nope, I didn't got any flag
@Mr.Alien but what has it to do with my name?
Any use case ?? Anyone ??
@bwoebi You are a known user here, if there was a new user, I would've flagged that, cuz I did received similar flages 10-15 mins ago
@Baba I think Dave spoke about that some while back
@Jimbo can you refer me to the conversation ...
12:00
@Mr.Alien const is in no standard. FF and Chrome support it and some other browsers ignore it (i.e. give no problems but let you reassign) and IE just doesn't, but that's not their fault (it seems that it has some support in IE 11)
it is scheduled to be in an upcoming standard, but differently from how it is implemented now
@Jasper IE 11? far way...
@Jasper I c... IE is always late to join the party
@Mr.Alien It's a extension invented by FF, so I wouldn't put the blame on them
@Jasper Weak excuse
12:05
It's like showering badges these days, got 4 silvers, 1 bronze tag, 1 bronze and tomorrow I'll be getting a big one in just 3 days
@dragon112 There's more than enough blame for IE without passing it some undue blame
@Jasper just like they make up css proprietary? So it was not covered in the JS spec?
@Mr.Alien Yep, according to MDN anyway. They also state that there will be a const keyword in ECMAScript 6, but it will have let scope, unlike current implementations, which have varscope
(ECMAScript is the standard upon which js is based)
@Jasper Ya, ECMA .. I've heard that.. it was like at the very beginning of the book, I did found some workarounds this morning, people use functions in the place of constants..
12:12
@Mr.Alien That's a nice listing of options. Has a bit of community wiki feel to it, though.
@Jasper It should be... did you read the accepted answer? that was cheap
@Mr.Alien flagged :P
@Jasper Am joining you
Hello everbody :)
12:20
hiya
@Jack :D
PLB
PLB
Is there any way to do this: codepad.viper-7.com/itFI2l ?
Well, I know I can parse string so I have property name and index separately.
@PLB I think this is the only way…
PLB
PLB
Wanted to avoid that. Anyway, it's not a big deal to implement.
hi people, can i ask for a question about php/wordpress? :)
ps: my name is Frank! :)
12:28
@Baba It was like a week ago, I can't find that again :P
@Jimbo Oh ok .. thanks
has php lover a split personality? stackoverflow.com/questions/17708245/…
PLB
PLB
More likely wants reps.
"We are so cool and thoughtful." WTF?!
That video just made me sick.
@dragon112 haha, was this a skit from SNL?
12:40
I have no idea, The lonely island has more videos, but none of the as bad as this one :p
ehm, ok i understand :S
PLB
PLB
Actually, you don't (hint: read room description).
@dragon112 It's the miiddle one of three clips that "connect" first: youtube.com/watch?v=T7H9xEesilU last: youtube.com/watch?v=Pi7gwX7rjOw
Wut that's awesome
It is very nice that Justink Timberlake havink written song about Symfony. He singink "If I wrote you a Symfony". Did @fabpot writink that?
12:46
^ that's bad :p
@Ocramius LOL
@user12932 Drop your question, if someone feels to help, he will
@dragon112 JT's pedostache is rockin'
@CarrieKendall IT IS! makes me want to get one too!
ok, so: how can i call from function.php: <?php update_option("mese_giambellino", $_POST["m_giambellino"]); ?> to a theme "<div>"? :)
12:50
i guess its more of a pedostache meets nascar
Wow...
So it's actually SNL :)
haven't you recognized her?
@hakre SNL = saturday night live
ps: for example <div><?php &_POST["m_giambellino"]); ?></div> from database..
12:53
@CarrieKendall yeah but susan 's just susan.
I don't know her, who is she?
@crypticツ my roommate and i are gonna go mtb riding around the panhandle this weekend, :D
@Ocramius Isa nice!!

« first day (1010 days earlier)      last day (4163 days later) »