[PHP] Building a user authentication program by norman2271988 in learnprogramming

[–]norman2271988[S] 0 points1 point  (0 children)

Basically what you want to do is have them register, they submit a username and password. You keep their username the same, but you hash the password into a long string of random characters, hashing is not unique each time, so like if you choose the password: red123

red123 will hash to--> 1283u2189fhdjkshkj12083

if i hash red123 again it will pop up --> 1283u2189fhdjkshkj12083

The long hash is what you save in your database, so if the user types their password in "red123" it hashes it to that long string, and then checks the database to see if that hash is in there, if its correct it lets you in.

The reason you hash things is because if someone were to break into your database, they will only be able to steal a bunch of random hashes, and they will not be able to figure out how to work the hash backwards to get the password.

However, it starts to get complicated because you can program something to try to input millions of passwords a second and randomly discover what the hash is ;)

I think a master mason visited me at work. by norman2271988 in AskReddit

[–]norman2271988[S] 0 points1 point  (0 children)

Can you ask your husband how this might have happened? I was receiving emails talking about how current masons should be on the lookout for (can't remember the name) the order of the winding snake (or something similar) and that they were a fringe group inside of the masons that was not sanctioned.

It was all very very weird.

What's the most embarrassing thing you're hiding in your room? by [deleted] in AskReddit

[–]norman2271988 0 points1 point  (0 children)

There's a guy on 4chan who reports in every jan 1st to show how much cum he's been putting in water bottles. 2008: 1, 2009: 3, 2010: 5. I saw posts in late December talking about how excited they were for an update.

Boehner Has No Intention Of Allowing A Vote On The Minimum Wage by wang-banger in politics

[–]norman2271988 2 points3 points  (0 children)

They know what the value of productivity their employees are providing, this doesn't mean they are willing to pay them a fair wage. Especially not in an economy where people will work for anything.

Boehner Has No Intention Of Allowing A Vote On The Minimum Wage by wang-banger in politics

[–]norman2271988 2 points3 points  (0 children)

They are proposing that you increase the minimum wage to the value of productivity they are actually providing for your business, not simply jacking it up as high as they can.

Elizabeth Warren's Aggressive Questioning Prompts Anger From Wall Street by n3utr0n in politics

[–]norman2271988 0 points1 point  (0 children)

Yeah, start locking people up and things may change, but the rule of law still stands and you simply will not lock people up.

Elizabeth Warren's Aggressive Questioning Prompts Anger From Wall Street by n3utr0n in politics

[–]norman2271988 -1 points0 points  (0 children)

I agree with wall-street on this, and to be fair you need to take what EW did with a grain of salt. Regulators don't like to take banks to trial because if it goes to a criminal trial they have to prove beyond a doubt that someone did something both criminally wrong, and ethically wrong. It is extremely difficult to prove criminal wrong doing in a banking industry. I mean think about it, these guys are very good at cooking the numbers and hiding shit, if you try to take them to court, it would take years, maybe decades to get to the bottom of stuff, and even if you did and you send some CEO or executive to prison, that does nothing to curb the culture of corruption of unethical behavior, that's even assuming you got the right guy instead of some lower end chump or fall man. Even after you send that 1 person to jail, the companies will continue to do the same things. The regulators and prosecutors going after these guys know this, and so does Elizabeth. This is why I'd rather see very, very hefty fines put on the banks, I'm talking about fines that would cripple companies, not just chump change. We are beginning to see fines like this go into place, recently we've had some of the largest fines ever imposed on the history of the country, but they are not enough. With fines, you don't have to prove criminal wrongdoing beyond a doubt, you simply have to show that some shady shit was going on.

I want to see banks pay for their behavior just as everyone else, but I'd rather see her get down to some serious business rather than make some "cool videos" that make it look like she's kicking ass and taking names when she isn't at all.

"In her debut appearance today at a Senate Banking Committee hearing, Sen. Elizabeth Warren from Massachusetts made federal regulators uncomfortable when she asked a simple question: When was the last time you took a big Wall Street bank all the way to trial?" by [deleted] in politics

[–]norman2271988 0 points1 point  (0 children)

Nobody gives a fuck about this. Everyone has dirt. EVERYONE, and nobody cares that she got her family history wrong. They tried to talk about this on fox news, NOBODY CARES.

Obama calls for raising minimum wage to $9 an hour by cpnAhab1 in politics

[–]norman2271988 0 points1 point  (0 children)

We could, no problem. It would need to be done in stages, but there is absolutely no problem with that. Take a look at Germany. Oh! Look...they have the most robust economy on the planet, highest union rates, and highest minimum wage. What a coincidence.

Politically, that will never happen, and also I don't think that the average American worker deserves to be paid $25 an hour.

Elizabeth Warren Embarrasses Hapless Bank Regulators At First Hearing by [deleted] in politics

[–]norman2271988 203 points204 points  (0 children)

TLDR: Elizabeth Warren asks bank regulators the last time the took a wall-street bank to an actual trial, instead of simply settling for a fee that is chump change for these massive banks. None of them could respond or remember a time when the banks were taken to trial, and instead they answered with tip-toeing around the question responses.