Comment It's easy (Score 1) 799
Q: How to teach a 12-year-old to program?
A: It's easy. Just tell them they shouldn't do it.
Q: How to teach a 12-year-old to program?
A: It's easy. Just tell them they shouldn't do it.
Or perhaps create a game that occurred in the 20th century and shows how atheists persecuted millions of Christians and Jews in the Soviet Union.
That was Communists. And Communism is just another kind of religion if you give it a closer look.
PHP is wonderful for web development, but has more than a few annoying quirks with regard to consistency
Uh... no. PHP is the Windows of www programming. It's a mediocrity of web languages. It's a something that "everyone uses". It's a broken language that teaches everyone broken patterns of programming (like mixing HTML and code), but it's easy to start and it's everywhere.
That's why it's widespread. Not because it's "wonderful" for something.
It's in-process so there's no startup overhead like with CGI.
It's funny you mention it, since the best (performance-wise) way to handle PHP is FastCGI. mod_php is not thread-safe so it can't be used with Worker or Event Apache MPM's. Prefork MPM - the only one that works with mod_php and its multiple extensions - just sucks in terms of performance.
If you're referring to Afghanistan, the US didn't pick that fight.
Sure. Everyone knows that it was Afghanistan attacking and invading US.
Advertisers using flash because it's not as easily blockable
Uh... FlashBlock? Available now for the Chrome as well.
Why would you censor yourself when you don't have to...?
I don't get it myself. But sure, a "political correctness" is something that is specific for Soviet Russia only...
tell that to Georgia, the Ukraine, the Baltic States, and Poland.
I don't get it. How the heavy presence of USA in those countries, involvement in their political life and military training connected to Soviet Russia?
Something doesn't match up. For first the different encryption schemes take different times to try even one password, and even more if you combine several of them together. Secondly you cannot try 4 million passwords in a second if its encrypted content, it takes a lot more than that.
Congratulations. You've just destroyed their plan to get shiny new PS3s for the whole C3 department for Christmas. Do you think they're going to take it easy?
So what if they had have set the root password for MySQL? Pointless - with local security destroyed it's a trivial operation to reset the password, and it's described directly on the MySQL site here.
MySQL root password reset requires you to have an OS root access. With MySQL having no root password you can access the DB from any local user. There is a difference between having a, let's say, PHP shell on the server and having a root shell. Depending on OS and your skills you can escalate from wwwuser to root, but it's mostly a far from a trivial task.
I wouldn't recommend Assembly. Most of the "under the hood" things are not the job of the programmer anymore. That's why we have compilers.
And that's why we have so much of shitty inefficient code around. Even when you program in a high-level language, you still have to realize how the code you write works on the machine level. I've seen PHP programmers throwing around calls to array_diff/array_unique, chaining them without mercy, without thinking about performance - because they think that those function are some magic black boxes and never consider a performance hit. "Oh, it's a C function, C is fast anyway from what I've heard". Like a good driver should know the inners of a car, how engine/transmission etc. work, otherwise he couldn't drive efficiently - a good programmer should know all the chain, from Java/Python/Scheme/Whatever down to the machine code.
There's also no small mention of how asteroids are flying goldmines.
I've read "Stephen Baxter" as "Stephen Balmer" at first and was wondering how asteroids relate to flying chairs... Damn
Get hold of portable property. -- Charles Dickens, "Great Expectations"