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

 



Forgot your password?
typodupeerror
×

Comment Re:My daughter (Score 1) 205

I have a daughter born in 1999.

A bit younger than my daughter, so your daughter has a higher chance than mine (and my kid's chances are non-zero) of living in three different centuries (20th, 21st, 22nd).

I'm thinking that noone has ever done that (unless you count some Biblical codgers)....

Comment Re:So... (Score 1) 310

If Lloyd Blankfein and others who attested to the veracity of their financial reports even after they were repeatedly warned their mark-to-market was completely unrealistic, which in turn led to the largest financial disaster in over 70 years, are not being prosecuted for false reporting, I don't see why the police should be.

Especially as in this case no one was harmed. Can't say the same thing about the millions who lost their money or homes, can you?

Comment Re:Good news (Score 2) 94

Corporate tax avoidance?

Would that be like when you take your Standard Deduction (or Itemized, as appropriate for you) on your Income Taxes?

Or deduct your VAT, if applicable?

Do try to remember that "tax avoidance" is synonymous with "didn't pay any more taxes than legally obligated to". What it does NOT mean is "broke the law by paying less taxes than the law requires"....

Comment Re:Cosmic Baking (Score 1) 79

But later, Earth got into drugs and became like Lindsey Lohan.

But drugs are cool. I'm always told how great it is to do drugs. Just look at Elvis, Janis Joplin, Keith Moon, Philip Seymour Hoffman, Cory Monteith, Dee Dee Ramone, Jim Morrison and whole host of others who extolled the virtues of drugs.

P.S. If Lohan would drink water instead of alcohol, she'd look (and feel) a lot better than she does.

Comment Re:Lawn Dart Alert! (Score 1) 364

You need to qualify your statement about large quantities overcoming a qualitative difference with the following: had Hitler not ordered a full stop of the Panzers before they reached Moscow and given Russia six weeks to rearm, reorganize and regroup, Russia would not have been able to deliver the large quantities of tanks it eventually did.

Go read "Hitler's Panzers East" by Stolfi for a fantastic discussion of why Germany beat Russia in World War II except for the fact Hitler meddled in operational control.

Here's a brief synopsis: the German military laid out the plans necessary to defeat Russia before the winter set in. Without exception, they met every single objective in the time allotted and in some cases ahead of schedule.

Before the halt ordered by Hitler, there was only one remaining pocket of strong resistance in the South. Russia, at that point in time, had no other forces available to offer any significant resistance to the German armies anywhere in the country. Had he wanted to, Guderian could have literally driven his 2nd Panzer Army into the streets of Moscow in late August.

Comment Re:Cry Me A River (Score 1) 608

What I think a lot of the utopian visions miss, as well as a lot of the posters here, is that the problems with programming are not problems with the tools, but with the code that these amateurs produce. Writing clean, clear, correct, modular, maintainable, tested, and reusable code is still a skill that takes time to learn.

Generally, most people understand following a sequence of steps to achieve a goal. They can follow a recipe's steps to bake a cake. Some can even write down the steps they took to accomplish a task, which is the beginning of automating it; but recording and playing back steps is certainly not all there is to programming. Almost anyone who can write steps down can then learn enough of a language to string together a dozen or even a hundred individual steps to then achieve a goal: StepA(foo); bar = StepB(foo); StepC(foo,bar); ... another 97 steps here...; return(). The problem is that because writing down all those steps is possible, people who manage to do it once think they're programming. But all they're really doing is scripting.

Once someone tries to add logic to their scripts, the resultant code is generally buggy, slow, difficult to maintain, impossible to test, and probably should not be put into production, let alone reused. What a professional software developer does is recognizes the difference. He or she uses his or her experience, skills, and knowledge to organize those instructions into small groups of functionality, and wraps them into readable, testable, reusable, methods. He or she recognizes dependencies in the code, follows design principles to ensure they are properly organized, groups related methods into classes or modules, knows when to follow design patterns and when to break from them, groups related areas of modules into architectural layers, and wraps the layers with clean, testable, usable interfaces. He or she knows how to secure the code against various types of attack or misuse, and to properly protect the data it's been entrusted with. He or she understands validation, authorization, authentication, roles, sanitization, whitelisting, and blacklisting. And he or she understands the many forms of testing needed, including unit testing, system testing, integration testing, fuzz testing, pen testing, performance testing, as well as tools to evaluate the code, such as static code analysis and metrics.

On the other end of the developer's life are the inputs to the processes: requirements, stories, use cases, usability, scalability, performance. They know that following certain development methodologies can make a great deal of difference to the software's quality. And then there are the realities of all the non software development issues: equipment, firewall rules, IDPs, networking, vendor contracts, software licensing, hosting, distribution, installation, support, bug tracking, and even sales.

Tools can help with all of these steps, but as you pointed out, having a word processor does not make one a poet.

Comment Re:haven't we learned from the last 25 exploits? (Score 1) 68

How does one embed "JavaScript URLs" in CSS?

Very easily, and because so few people know it is possible, it's a rather nasty vector for cross-site scripting attacks.

Also you seem to have no idea about where the web is headed or have heard about responsive design and SPA.

I'm well aware of responsive design. I think it's an abomination, because all it does is make it take two page loads to view your site instead of one, by ensuring that I have to first load your broken mobile site, then click the "full version" link. Every single freaking time I end up on a "responsive" mobile version of a website, I find myself locked out of features that I regularly use, and end up having to switch to the full desktop version of the site.

If you need much more than a couple lines of JavaScript and a custom stylesheet to support mobile devices, it invariably means that your site is badly designed (too complex) to begin with, and as soon as you release the mobile version of your site, you're almost certainly going to make me hate your guts and curse your name.

And SPA is even worse. If your site loads significantly faster as a web app, there's something wrong with your site. 99% of the time, most of the resources should be shared across pages, and only the text of the page should be changing. There's usually not an appreciable difference between the "load the full page" case and the "load the body of the page" case from a performance perspective unless something is very, very wrong. There are exceptions, such as storefronts that use precisely the same page layout for every page, but these are exceptions, not the rule, and even then, the extra savings in initial page load time just result in a customer sitting there wondering why there's no data on the page, and thinking your site is broken. The real problem is that every web engineer thinks their site is the exception to this rule, but most of those engineers are wrong.

More to the point, if I'm accessing your site often enough to care about performance, I'm going to download your native app instead of using your mobile site, because it will always be much, much more functional, with fewer limitations, more features, and better performance. If I'm going to your website, it's either because I don't care about performance or, more commonly, it is because your native app is missing features that are only on the full version of your site. Giving me a mobile version won't help with the second case, and the first case is largely unimportant for everybody but the site designers who are trying desperately to shave off a few bytes from their data bill.

BTW, it's possible to do a manifested web app (giving you all the advantages of heavy-duty caching of shared content) without using JavaScript for all your navigation. You just specify the base path of the content directory as an external URL (I forget the details) in the web app manifest. This approach is much, much more user-friendly than a SPA in my experience.

Comment Re:Or (Score 1) 389

Why do we need a climate change bullshit bogey man to get politicians to stop blocking natural progress?

Well, mostly because you dropped an even bigger bogeyman into your argument - "nuclear". That word produces even more hysteria and foaming at the mouth than AGW does. By different people, mind you, since the people generally doing the most yelling that we need to do something about AGW tend to be the ones who panic at the thought of anything nuclear....

Comment Re:No such thing as 'catastrophic man-made... (Score 1) 385

So Whatsupwiththat, JoNova, Climate Depoe, and Climate Etc. and climate comments from Lubos Motl are all crackpots as well, right?
"there is no debate" said the guy who does not want to debate.......idiot.

Whatsupwiththat -- or rather, Wattsupwiththat I presume -- is Anthony Watt's website, and yeah, he's a crackpot and professional grifter. He has no academic or scientific training, his arguments are either debunked climate denier talking points being regurgitated or "hey, it's cold outside, LOL" type circumstantial evidence - hardly worth an eyeroll. He adds nothing to the conversation but he does keep getting speaking gigs and advertiser bucks, so hey, grifters gonna grift.

JoNova is Joanne Codling (aka Joanne "I watch too much Star Trek" Nova)'s blog. She's funded by the Heartland Institute and the Science and Public Policy Institute -- in other words, she's a professional shill for professional climate deniers. Oh, and she's not a scientist (she's a failed TV talking head) and thus her opinion on a scientific fact like global warming is utterly useless.

Climate "Depoe," unless I'm not seeing the site, is one I've already covered - Climate Depot.

ClimateEtc is Judith Curry's blog, and while she's a climatologist at Georgia Tech, she's also a loon. For example, she heavily cites and defends the Wegman Report, and later admitted she never read it. I doubt she'll make it another 5-10 years at Georga Tech before joining Richard Lindzen as a professional crank for some Heartland Institute shell company.

Oh, and Lubo Motl? He's a failed string theory physicist, not a climatologist, and his only claim to fame was being hired at Harvard and fired for being a raging douchebag. You can tell, mostly because his blog reads like something from the GNAA or the Yahoo News comments section. And don't get me started on his shitting over half the science blogs on the internet in the comments section -- I guess when you're a failed PHD student who hasn't done any actual work in science since 2007 you have lots of time to troll blogs.

So yeah, I will repeat it. There is no debate. Your sources are crackpots, loons, cranks, and professional grifters, and at this point, I'm willing to go further -- you don't get to "debate" scientific fact. There is no climate change debate. It's real, it's man made, and it's the biggest threat we as a people will likely ever face.

The only debate left is what we do about it. Deniers are just idiots on par with Anti-vaxxers and should have their brains taken away by social services.

Comment Re:seems like snowden did the exact same thing. (Score 1) 95

Really? Because I don't seem to remember the purges that took place when Reagan took office, or Bush, or Clinton, or Obama. I don't remember when they arrested the political dissenters from the opposition parties, hauled them out of Washington and trucked them up to camps in North Dakota where the majority froze to death, or shot them in the basement of the Lubyanka after pronouncing them guilty in a secret "trial". Perhaps that all took place when the Ministry for Information took razor blades and cut out the encyclopedia pages for Jimmy Carter, and extended the entry for the Bering Sea to compensate, because we can't really trust our history books.

Go read Mitrokhin's books. Read the KGB's own history, stolen from their own archives. Compare it to what the USA claimed actually happened, and to what the USA claimed was Soviet propaganda. Mitrokhin's papers serve as independent corroboration that essentially everything the USA said about the Soviet Union's "active measures" was true.

Slashdot Top Deals

New York... when civilization falls apart, remember, we were way ahead of you. - David Letterman

Working...