News for hackers. Stuff that matters.

greatdipper

Re:Upcoming changes in PHP 7.1 on Monday May 23, 2016 @12:25PM (#11754851)
>SQL injections are actually MySQL injections

What? Where did I say so?

I said "people does not hand wave SQL injection vulnerabilities by saying they haven't encountered it in their 10 years of experience with MySQL".

That does not mean all sql injection vulnerabilities are limited to MySQL!

Is this one of those of tactics that are frequently employed by php apologists to derail arguments against the language?

Re:Upcoming changes in PHP 7.1 on Monday May 23, 2016 @11:47AM (#11754596)
Bashing Php should be encouraged just like bashing any other bad practice..

For example. Take the case of MySQL injection. People does not hand wave SQL injection vulnerabilities by saying. "Na, It haven't happened to me ever, even after 10 years of making websites using mysql". Just like that.

Use of PHP IS a bad practice today.

Re:Upcoming changes in PHP 7.1 on Monday May 23, 2016 @11:45AM (#11754583)
>Sure, just as much as any other language.

Did you see the thread I just linked?

https://www.reddit.com/r/PHP/comments/41bm7j/new_rfc_allow_s...

I don't see something like this happening this in any main stream language.

That example illustrates one thing very clearly. How you believe you KNOW the language, and how it pulls the rug from under your feet in the most unexpected way.

You can wait for it to happen to you. Or you can learn from the experience of others.

Your pick.

Re:Upcoming changes in PHP 7.1 on Monday May 23, 2016 @11:39AM (#11754545)
>I wonder why PHP includes more and more type checks and visibility features

Because they are easy to implement (function type hints, typed properties) and the php community have a collective, insatiable, perpetual hardon for features that are supposed to enhance correctness..

So the core devs are eager to propose these kinds of features. And the community is eager to accepts them without much thought..

To see how child like this mentality towards these type of features, see this comment, where a Php expert makes a big deal regarding when a user omitted mentioning the type of a value....

https://www.reddit.com/r/PHP/comments/4k2htl/ive_just_given_...

Re:What Was the Greatest Era for Innovation? on Tuesday May 17, 2016 @07:55AM (#11712812)
Well, is it possible that problems solved by those things were not the real bottlenecks of real innovation.

But they took away something that had brought about innovation in the past and had a very good chance of brining it in the future....idle human thought.

Re:What Was the Greatest Era for Innovation? on Tuesday May 17, 2016 @07:08AM (#11712576)
>Hopefully getting the Internet in the hands of many non-technical people with Smartphones and tablets will get us to another Era of Innovation...

This seems to be a fallacy. Give internet to 10 random people and 9 of them will use it for Porn and Social media. You know, instant gratification stuff.

The one guy who uses it to "expand their horizons" will find himself too alone and powerless in a culture that has gone south by the the aforementioned 9 people who wouldn't take their heads up from the social media in their mobile phones....