Become a fan of Slashdot on Facebook

 



Forgot your password?
typodupeerror

Comment: Re:Again? (Score 5, Interesting) 141

by neorush (#49577813) Attached to: Ham Radio Fills Communication Gaps In Nepal Rescue Effort
In 1998 there was an ice storm that struck Upstate New York. Hams were virtually the only source of communication as official communication channels ran out of gas (in many cases literally) after a day or so. I sat in a Firehouse with my own equipment relaying communications from ambulances (where another ham was riding along) to other base stations in nearby towns. We did most of this over 2 meters.

Hams were absolutely crucial because we could move in and quickly setup and operate additional equipment. I know times have changed....but every time I look at the state's disaster readiness plan hams would be needed again.

I think you are over estimating the ability of official channels to be ready to function on their own for weeks at a time.

Comment: Re:Have you ever used PHP? (Score 1) 245

by neorush (#48812719) Attached to: PHP vs. Node.js: the Battle For Developer Mind Share
It is a loose typed language. This is what would happen in these cases. That's the point, it is in fact designed this way!
OMG Look how crappy c++ is!

int x = 'a';
cout << x;
will print 97;

Seriously, just because a language doesn't function the way you are used to, does not mean that it is broken...

Comment: Re:Have you ever used PHP? (Score 1) 245

by neorush (#48806061) Attached to: PHP vs. Node.js: the Battle For Developer Mind Share
Round robin DNS and nginx as load balancers. Then we auto scale cloud servers on the back end to handle the PHP load. Scalable MySQL: http://www.rackspace.com/cloud... File System: https://www.drupal.org/project... Cloud files is really the key here, otherwise you have to use an NFS of some other kind...which kind be a nightmare otherwise.

Comment: Re:Have you ever used PHP? (Score 1) 245

by neorush (#48805573) Attached to: PHP vs. Node.js: the Battle For Developer Mind Share

PHP is a shit language.

* http://whydoesitsuck.com/why-d...

We have === for this...if you change your way of thinking a bit you can actually code more quickly with loose typing (and yes, still keep things secure). Most of the arguments around PHP are something like "it doesn't work like this other language I'm familiar with".

Most of the arguments in here relate to complaining about the issues with most large open source projects, e.g. function naming conventions...while PHP has major issues in this regard (most notably how parameter order always flops around myFunc(haystack, needle), myFunc2(needle, haystack)...etc.) From my experience these sorts of things crop up in libraries / projects all the time, it is not unique to PHP.

The language as a whole really does allow for rapid prototyping, and quick updates, and cross platform support. Read efficient and profitable.

I've found that most people who hate PHP also hate Javascript, again, they don't know how to leverage it properly....so it must suck.

Comment: Have you ever used PHP? (Score 1) 245

by neorush (#48802211) Attached to: PHP vs. Node.js: the Battle For Developer Mind Share
So...do any of the PHP bashers do any actual extensive coding in PHP? Have you ever looked at the code in Drupal 7/8?

Seriously, I am always baffled by everyone who starts ranting on how crappy PHP is. I have done mostly PHP development for 12+ years. I have yet to have a site hacked, or SQL injection exploited. It is a very solid language, it can be made VERY fast (JIT is also coming down the pipe out of the box in 6+). It lends itself to rapid prototyping and easy patching / testing. There is a module / plugin / snippet of code out there for pretty much everything. It will run on a windows server, a debian box, and CentOS pretty much the same.

Loose variable typing is not always bad thing, and you can always cast variables anyway:
$_GET['my_var'] = (int) $_GET['my_var'];
Ta-da! We definitely have an integer now!

I have written entire chat bots with raw socket connections in PHP...it can pretty much do everything...and do it quickly.

Comment: Re: Dupe (Score 3, Insightful) 840

You have to disassemble most of the headlight housing and surrounding components on my Subaru. The dealership does it for the cost of the light bulb if I'm getting an oil change anyway...how much is $12 worth to you? I used to do my own oil changes, but after buying everything I might save $10 ...and there lies the problem...a full day of fiddling (and it still might not work)...or $30 for a new coffee maker?

It seems intuitively obvious to me, which means that it might be wrong. -- Chris Torek

Working...