Catch up on stories from the past week (and beyond) at the Slashdot story archive


Forgot your password?
DEAL: For $25 - Add A Second Phone Number To Your Smartphone for life! Use promo code SLASHDOT25. Also, Slashdot's Facebook page has a chat bot now. Message it for stories and more. Check out the new SourceForge HTML5 Internet speed test! ×

Comment Paper finds most webmasters don't have a clue (Score 2, Insightful) 40

Wow, revelations here. I guess the point of the paper is to really show most webmasters don't know what they're doing. All of these things can totally be avoided if you do your job carefully and methodically. e.g. maybe change the IP address of the server after launching your DDoS mitigation service, oh look, now half that list is moot.

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

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 This is the big one (Score 1) 19 that, with this effort / funds, someone may be able to solve the energy density problem. Even our best batteries are something like 1/30th the density of unleaded fuel. As soon as the electrical energy storage problem is solved the world really will change drastically...flying cars anyone?

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

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: File System: 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

PHP is a shit language.


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 it must suck.

Comment Have you ever used PHP? (Score 1) 245 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 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 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?

Slashdot Top Deals

We don't know who it was that discovered water, but we're pretty sure that it wasn't a fish. -- Marshall McLuhan