|
Cool video, thanks for sharing
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.
|
|
|
|
|
It appears that the light show was purely video. For the next level, have real-time image recognition, and adjust the lights according to the body positions (i.e., center the lights on the hands or feet, and minimally adjust their trajectories and/or accelerations when it is appropriate). That would put it way over the top of its current greatness. And make a great article worthy of a '5'!
|
|
|
|
|
The below YouTube post got me thinking, after years of defending PHP on CP, I will admit there is one thing that I think is utterly stupid about it - it doesn't support unsigned integers. And you can't specify which size of an integer you want. It's a 32-bit int on 32-bit systems and a 64-bit int on 64-bit systems. Period. End of story. You want something else, that's your problem. Deal with it.
Almost makes me wonder if that's why YT had the signed counter in the first place, for compatibility with web technologies such as that.
And PHP is still a great tool, but like most environments there are some WTF things about it. This is one of them.
Jeremy Falcon
|
|
|
|
|
:cough: Perl :cough:
Really a comment on "scripting languages" in general that provide simplicity at the cost of features. Serious programs require a rich set of datatypes and therefore strong typing.
|
|
|
|
|
That's just it, PHP started off as a scripting language, it's no longer one. You can use it that way if you want, but it's not required. It's no different than Java or .NET now in the fact you can pre-compile into bytecode and run that. You can even package modules into PHAR files that work very similar to assemblies.
PHP is growing up, but I'd wager most of its "scriptness" feel is due to legacy support. And your right, it still has that "scriptness" feel to it because you don't see it compiling in your IDE, that happens on the server behind the scenes.
For me, PHP's strength is the ungodly amount of things you can do with it. And it runs on Unix/Linux. It's faster than other *nix alternatives that I know of (RoR = slow), and beats writing a web app in C/C++. So, hopefully we'll get some of those missing goodies one day... oh unsigned ints.
Oh, and PHP does have type support. Just not strong typing. That's not the same as no typing.
Jeremy Falcon
|
|
|
|
|
Jeremy Falcon wrote: It's faster than other *nix alternatives that I know of (RoR = slow), and beats writing a web app in C/C++
Why is it that it seems so few *Nix web devs talk about JSP? JSP seems like the *real alternative to ASP.NET (instead of PHP) and yet you rarely hear much about it.
Is it because of the Apache (tomcat, glassfish, whatever) configuration that goes along with it?
Just curious.
|
|
|
|
|
I can't speak for everyone, but my path never took me down the JSP / J2EE road. I've been doing web development before JSP existed, and back in the mid 90s the only time I even cared about Java was for writing applets for my web pages. Never went too far with it back then since its UI library at the time was just slow (Swing I think it was). So, I stayed away from it. 20 years later I'm sure it's a different ballgame though, especially since JSP wouldn't even need a UI library.
That's also the reason I use PHP. PHP is the grandfather of it all. It's what was available when I got into web dev, and it was a great tool. Even before classic ASP came to be and still even after ASP was out there, the difference between classic ASP and PHP was night and day. PHP beat it in every way possible since classic ASP was really just six objects and VBScript or JScript. So, I stayed with PHP.
When JSP and even Cold Fusion started hitting the scene I had no reason to use it since I've been using PHP for years I didn't see a point in learning something new. I ended up doing a fair amount of ASP.NET for my job, but after years of PHP development I know how to work that stinking thing all kinds of weird ways to get some really awesome things out of it. So in short, I don't have a reason enough to justify taking the time to learn JSP / J2EE.
Jeremy Falcon
|
|
|
|
|
|
Can't check the link as it's blocked at work. Bummer.
Jeremy Falcon
|
|
|
|
|
That's the one thing you don't like about it?
|
|
|
|
|
One of the quirks, yeah. The PHP logo is ugly too. But I can live with that. I've been using PHP since the late 90s, it's not nearly as bad some people think it is. The development of it is slower than say what MS or Oracle can do, but all things considered it's still a nice piece of software. A bit like the VB of the web world, where it's more a function of the programmer than the language making things with it that suck.
Jeremy Falcon
|
|
|
|
|
The three really irritating things about php are the -> arrows and dollar signs, the completely random api methods, and using . for string concatenation. I really like wordpress which is built on php, the way double quote strings work, and the loose typing. Everything so far seems like a wash.
|
|
|
|
|
I've defended these points so many times I'm tired of repeating myself. These aren't real reasons; they're religious-type reasons man. It only tells me you don't know much about PHP. And yes, I *could* iterate each reason and explain it. I just don't feel like it. Muwahahaha.
Jeremy Falcon
|
|
|
|
|
Jeremy Falcon wrote: These aren't real reasons; they're religious-type reasons man.
Please, don't tell me how to think. I'm going to dislike PHP for that stuff no matter what you say, you don't have to defend it. I still use it and build some pretty cool software with it.
|
|
|
|
|
Andy Brummer wrote: Please, don't tell me how to think. I'm going to dislike PHP for that stuff no matter what you say, you don't have to defend it. Spoken like a religious person.
Jeremy Falcon
|
|
|
|
|
Jeremy Falcon wrote: Spoken like a religious person.
I see.
|
|
|
|
|
I'm comparatively new to php. It does the job for me most admirably.
And (with its function library) it also look like C - and that, alone causes a warm fuzzy feeling with memories of when my hair was all dark.
"The difference between genius and stupidity is that genius has its limits." - Albert Einstein | "As far as we know, our computer has never had an undetected error." - Weisert | "If you are searching for perfection in others, then you seek disappointment. If you are seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010 |
|
|
|
|
|
Good for you man. Right out of the box, one of the best things you'll notice about PHP is the amount of open source crap out there you can use with it, especially on a *nix machine where you can shell out. Need to resample audio files? No problem. Need to convert PDF to text? No problem. And the list goes on. There are tons of libs out there to help you with this all for free. It does have a few flaws IMO, but the good outweighs the bad.
Jeremy Falcon
|
|
|
|
|
I like the fact that a lot of anti Israel sites are written using Zend
|
|
|
|
|
Well there ya go!
Jeremy Falcon
|
|
|
|
|
After years of using and defending PHP, you *finally* bumped up against something that you found a problem with? Or did you even bump into an issue with it, your post seems to say you saw someone else having an issue with it on YT.
If it works for you, what's the problem?
|
|
|
|
|
Sounds like an opportunity to me. PHP is in fact open source. Like it's been pointed out in this thread, there are many community things out there that you can use to overcome your hurdles.
|
|
|
|
|
|
|
https://www.youtube.com/watch?v=9bZkp7q19f0[^]
Top comment from YouTube staff :
We never thought a video would be watched in numbers greater than a 32-bit integer (=2,147,483,647 views), but that was before we met PSY. "Gangnam Style" has been viewed so many times we have to upgrade!
|
|
|
|