Too much comment is bad, but no comment at all is bad too. There was a horrid project I came in touch with, called OpenAura (it is a roleplaying framework written in lua for Garry's Mod)...
You know the thing when a code is updated but like "hurr new update, just tie it in somewhere" without altering the cold code.. and it looks way obstructed, in structurical terms.
@markustharkun Oh snap. I make small mistakes when I am using my mind set to use my mother tongue. I should have just said time to learn how to use GitHub.
I love how you can store changes locally with Git and then commit them later as a list of changes, instead of the every store is a commit method of SVN. (I am usually using svn.)
I just wonder (I know this it OT... :( ) how does git handle conflicts if I my commits are local and I only, let's say, upload the changes once per week?
@PHP which placeS DID I visit? we started from Mumbai, saw some places in Karnataka, Goa, many places in Kerala, Tamil Nadu, the south till the very tip (Kaniakumari) went up the east cost till Colcatta then through the center with Agra, etc. and up to Kashmir
like @deceze said I also think it is not worth spending your 2 days to earn (some) extra cash if you don't have to... @EventHorizon codecanyon.net you can upload some code here and offer your services so someone might contact you
@webarto Thanks, will check it out. Also, I have to, I owe my father money for car parts that my job can't cover. had to borrow just to be able to go work a job that can't pay me enough to fix my car
Every now and then I hear the advice "Use bcrypt for storing passwords in PHP, bcrypt rulllez!!!11"
OK, but what is this bcrypt? PHP doesn't offer any such functions, wikipedia babbles about a file-encryption utility and Googling just reveals a few implementations of blowfish in different langua...
i thought of first hashing and salting the password entered, and split it into groups of fours and five and then rehashing them by iterating over a 10000 times
@EventHorizon I'm negotiating, they want $20k for a car that is 4 years old, and price of the new one is the same... (and there goes my one year of hard work)
I'm done. I don't give a shit anymore. If people want to keep fu436ing their users over by fu3423ing up their password storage, go for it. Invent your own algorithm. Go ahead. But realize that if my password is leaked because you didn't use a standard vetted algo, I'm going to sue you personally for gross negligence. You're not an expert on cryptography. Don't pretend to be one by inventing your own algorithm. Use something standard, there's plenty of them with plenty of good tutorials...
@webarto No, I believe that educating people is the only way to advance as a society. But when a moron keeps ignoring attempts and pointers in the right direction, and keeps insisting that they know better, it's fubar...
@ircmaxell yeah I totally agree, it's just that I tried something like that and every % 2 was a moron so I haven't had nerves to go through it, good luck and I keep up the good work ;)
@blackbee step 1: click the link i posted a little ways up, you know, the one with the entire free class for storing passwords that's just given away entirely for free and shows up after about 5 minutes searching on google. Step 2: copy and paste said class into a new text file. Step 3: figure out what a class is. Step 4: Implement the class. Step 5: Profit.
@leigh thanks i got it working. Would you know how to divide the result which i get (which is in hours) by 12? so now for example i have 18 hours and 42 minutes. I want to divide them by 12. Any Idea?
@dyelawn The thing is, those who want the help, usually want help with something specific, and have usually done a little bit of research into what they're trying to do beforehand. Coming in here and asking what the difference between mcrypt and bcrypt is, shows no prior investigation into the subject at all.
@Leigh No, I know, and can see how that would be frustrating for you guys. I try to go read stuff when I get pointed in the right direction and come back with specific questions. It's the only way to really learn what's going on.
That said, about that WordPress thing, can I just email you a .zip of my entire code base and you finish it for me?
@Leigh Oh neat. Because I just saw that someone answered one of my questions. He even commented to ask me whether his answer worked or not, but I did not get a notification about it...
@Whisperity strange that you didn't get a notification. You know if someone bugs you about your accept rate, you can say that none of your questions have acceptable answers.
@Whisperity could be, my ajax on SO seems borked ever since I accidentally set an XHR breakpoint in chrome, I deleted it but the "new questions" ajax just doesn't work any more
What should I escape in this line to make it work? preg_match_all('/<!--- BEGIN (?P<group>[^ ]+) -->(?P<content>.*)<!--- END \1 -->/', $data, $matches);
if you don't have any fit answers, you should adjust the question until you do get a good one
so not having an accepted answer on a question is a sign that either you're not accepting things, or you're not working with people to try to get a good answer
@ircmaxell I'll give you an example stackoverflow.com/questions/9297495/… it took me 20 days to get an answer I could accept. Do you really think it was the fault of a bad question?
how to hack a gmail account, my account has been somewhat hacked and the one is so son of b***** he changed my security question too... i can't even reset the password