Become a fan of Slashdot on Facebook

 



Forgot your password?
typodupeerror

Comment Re:Sigh... (Score 1) 156

blammo - you should have checked if s was null first... Oh, and use that fancy try/catch stuff, all the cool kids do!

The solution is *obvious* (duh), but the problem is not. You can't be putting an exception handler around every function call.

What most likely happened, is by the time the string got to the strlen function, it was either assumed to have been security checked and data validated, or, the set of validations run was not complete.

Shit happens.

Comment Re:OK, so how is that monopoly removed? (Score 1) 353

This is simply not true. In which market do you have lasting monopolies? Only in those where the barrier to entry is very high, either naturally (high up-front capital investment) or due to regulations (which large companies love, because they keep out new entrants). So there will always be naturally forming monopolies in almost all areas, but persistent monopolies only in those areas where barriers are high. There is nothing government can do about those barriers, except raise new ones themselves. Look at any highly regulated industry. How much competition do you see there?

Comment No Problem Here (Score 1) 313

I don't see a problem with this.

If you want to be paid for your pictures, host them with a stock photography site that will pay you money when they sell your picture. Or if you want your valued pictures private, and they are actually valued, stop using shitty free services, and pay a couple bucks for real hosting.

Comment Re:Alberta, Canada (Score 1) 292

Don't be an idiot. Every major city in Canada has at least 1 university, and several colleges/technical institutes. It's not the frikkin 3rd world out here.

Eastern Canada would work as well, but there is a somewhat higher risk of earthquakes there, whereas the prairies are very stable from geologic and weather perspective.

Comment Re:SEC (Score 1) 135

Exactly. That Twitter of Facebook are "public" is irrelevant.

First of all, they are privately owned and operated services, subject to the whims and policies of their owners.

Second, SEC has certain requirements for disclosure, not necessarily because it is "public", but because it is a clearinghouse. It is not reasonable to expect traders, investors and analysts to keep track of the 100s of thousands of Facebook pages, Twitter feeds, company blogs, CEO/CFO/CIO/etc blogs, even if they are all "public". That's not disclosure.

Comment Re:Blame the victim much (Score 1) 848

The only thing that does matter is the outcome of laws. And right now, the outcome of Stand Your Ground Laws is that if you're ever in a confrontation with no witnesses (or very pliable witnesses), make sure to kill whoever is confronting you.That can't possibly work long term.

Objectively, that's just common sense. If you're ever in the position where you're seriously hurting someone or fighting for your life against an intruder or attacker, you're best off to finish the job, so to speak, so there is no witness/victim to contradict your lies, or to supply lies of their own. This outcome has nothing to do with stand your ground laws.

Comment Re:Easy solution french media (Score 1) 419

There's ALWAYS pressure on the household budget. This is not unique to any particular time in history or geographic region. Fact is we've been compromising our principles (supporting free speech and independent media) for a perceived short term gain. This is classic slippery slope. Doing the right thing is always hard. This is entropy in action. Consistently doing the right thing, or taking the easy way out, has a compounding effect over time that gets more difficult to reverse. But the default is the easy way out, because it requires no thought, no action and no effort. The flip side of other people doing things for you "for free" is that they're not free at all; their agenda takes over, and you get consideration for table scraps.

Slashdot Top Deals

"Card readers? We don't need no stinking card readers." -- Peter da Silva (at the National Academy of Sciencies, 1965, in a particularly vivid fantasy)

Working...