Follow Slashdot blog updates by subscribing to our blog RSS feed

 



Forgot your password?
typodupeerror
×

Comment Re:Who supports it (Score 1) 60

using obscure syntax and constructs to save a couple of lines, sacrificing readability and maintainability.

But that's one of the paradoxes. Saving a couple of lines reduces eye clutter. What's obscure to you may be obvious to an expert in that language. Shorter is usually better.

What makes Perl difficult to read is the same thing that brought Perl to prominence, the regular expressions. People went nuts for regular expressions, and overused them. The Camel book warns readers about that. People are used to skimming through code quickly, because so much of it really is boilerplate. But you can't quickly skim regular expressions except the trivial ones. You have to study each symbol. Miss one backslash, and the entire meaning changes. I think the other big complaint about Perl is that the language overuses sigils. Having a $ in front of every scalar variable name is tiresome for both coder and maintainer. Adds visual clutter. Smacks very much of putting the compiler writer's convenience ahead of the application programmer, a sin committed in many languages. Why couldn't they use plain names? C did that, it's not hard, just need to reserve a few words, for example, don't allow a variable to be named "if".

Comment Re:Dear Nazis (Score 1) 177

What's that saying that's used to justify spying on everyone? "If you have nothing to hide then you have nothing to fear".

You can't divorce security from ethics, because so much of security does not make everyone safer, it often makes a small group safer from the public, and that may not be in the public interest. Security against viruses is good for everyone but the few who want to use viruses to the detriment of the infected. Security against "pirates" is much more controversial, as "pirates" too often means everyone else. MS tried propaganda and strong arm tactics to pass off Windows Genuine Advantage as security for users. That was an insult to our intelligence, and a lie. Worse were Sony's music CDs with the root kit. I wonder if any of the leaked info has details about that, perhaps puts names to the people who decided make Sony's own CDs help spread viruses, including their own? With tax season around the corner, and Turbo Tax in the news again for anti-social behavior, the stunt they pulled a decade ago is worth mentioning again. Their "security" measures in their software screwed with the boot sector of their users' hard drives, risking the loss of all their users' data, in order to "protect" their software from piracy with, once again, DRM that does not work.

If you're a security expert, what do you do when you're asked to help cover something up, something that may be criminal and/or dangerous? Or, you're asked to use your knowledge to help make everyone less secure, by, for example, designing a root kit for music CDs? Blow the whistle, or follow orders? Whichever way you go could be trouble. Lose your career because no one wants to hire a whistleblower, and the government does a bad job of protecting whistleblowers, or lose your freedom when you are implicated in the cover up and sent to prison for it? Maybe you can blow the whistle without blowing your cover. No one was sure who Deep Throat was until long after Watergate. For the example of the root kit on the music CDs, you might make a judgment call. You would understand that this is a variation of DRM that will still be ineffective, the root kit is a clumsy idea, and therefore is unlikely to do much damage to the public. The outcome can only be what actually did happen, which is that the root kit was soon noticed and the only harm of significance was self inflicted harm when Sony lost much trust and was forced to recall all the infected CDs. So, your best course of action was likely some form of CYA, documents that you warned management that the root kit was a very bad idea, and that you were going ahead with it only under protest. You could still be blamed and fired of course. Maybe management will believe the root kit would have worked if not for your "treachery" in deliberately doing an incompetent job, despite any words anyone else tells them to the contrary.

Comment Re:Where's the Beef? (Score 2) 73

Not necessarily. There's cheating to factor in. The people may have actually voted otherwise, but some incumbents abuse their power to rig the election. That's what's going on in the US. Bush should never have won the presidency. Currently, the majority of North Carolina's representatives should be Democratics, instead, most are Republicans. Republicans have been engaging in a number of tactics to tilt the vote their way. Gerrymandering is something both sides have done for decades, but in recent years the Republicans have pushed their cheats more. They make sure there aren't enough voting machines in districts that lean democratic, and they manufacture a problem with voter fraud and use that as the excuse to kick people off voter registration lists and pass these photo ID laws. They even try to intimidate voters in democratic districts with big scary warnings that cheating at the polls is a felony for which you could spend 10 years in jail. Anyone who believes that threat is not going to take a chance like that, better not to vote at all. The courts struck that one down, but there are many other tactics. Crosscheck is a big one. Voters have to jump through a bunch of hoops to be allowed to vote. Recently in Texas, a 4th choice was added for voters who want to vote straight party ticket. Used to be R, D, and Libertarian. Now there is ... Green! How did the Green party gain enough strength to do that? Perot's Reform party is not on the ballot, and he's from Texas. Answer: the Greens aren't strong enough, the Republicans put them on the ballot, figuring that would split the Democratic vote.

The worst part is that the Republicans who do this crap have very limited understanding and not much intelligence. They really seem to think it's okay for them to cheat. The end justifies the means, you know. But no one else better cheat, no sir! If they were smarter, they would understand that cheating is destructive. Instead, they behave as if "might is right" and that winning any way you can, even by cheating, is acceptable, and indeed a show of strength. The other guys were too "wimpy" to use the same "aggressive" tactics, so they deserved to lose! They've even convinced themselves that they aren't really cheating. It's how they can sound like such straight shooters even while their pants are on fire. That last is all part of their overall campaign against reality, science, and reason. For me, one of the most telling moments was the night of the 2012 election, when Romney's gang chose to believe slanted polls and propaganda that showed he was going to win, rather than the best, most unbiased polls which showed that he was losing, and then the actual results, in which he lost.

Comment Re:Something Truly Innovative (Score 1) 162

And yet, many of those people who ditched college to make money, even if they succeed at that, are jealous of people who earned degrees, especially if the degree is a PhD. They feel they too are smart and talented enough to earn a PhD. After all, they earned huge piles of money. But they seem to prefer to stay bitter and jealous about it rather than take the time to put their notion to the test and try to get an advanced degree themselves. They rationalize that it's all "academic" and a waste of time anyway. And they all have stories of the "dumbass" PhD, that often turns out to be unfair. Like, maybe that this guy with a PhD couldn't find his car keys one time, and he was holding them in his hand the whole time. One little mistake like that is good enough for them to crap all over everything he's ever done, his alma mater, and the entire college education system.

The anti-education folks latch on to this. That's the raw meat they crave. Mr. Jealous Millionaire didn't think of that, but, if he even cares, he discovers it's very hard to undo the damage. That's the same sort of uncomfortable position Henry Ford was in when Hitler sent him a medal for all the Jew bashing he did.

Comment Re:noooo (Score 1) 560

Are you seriously equating predictions of Climate Change and the problems it will cause, with the likes of the 2012 phenomenon crowd (Mayan calendar stuff), Jupiter Effect believers, and other disaster and "end times" false prophets and nuts? The one is backed by solid science, the others are pseudoscience. If you can't be bothered to appreciate this distinction, then you won't have any idea which warnings to ignore and which to heed. Ignore them all at your peril.

Global Warming has been happening for years, perhaps centuries. Originally, it was thought that Global Warming didn't really start until about 1800, with the Industrial Revolution, and about 1750 could be used as a baseline. Newer research suggests that even in 1750 there was enough human activity to throw things off. It's only relatively recently that the effects are becoming easily visible, and you can see this yourself if only you will look. Sea level has already crept up a few cm. The ice cap at the north pole is smaller than ever. Glaciers all around the world are shrinking. Atmospheric CO2 has passed 400 ppm, after fluctuating between 180 and 300 ppm for millions of years. Noe of this is as yet a bad problem, and some of it is even good, but if it continues the problems will get much worse.

Comment Re:Go Nuclear (Score 2) 560

Aluminum already is smelted with hydro. Has been for years. The Nechako Reservoir in British Coilumbia was created to power aluminum smelting. The most recent massive aluminum smelting project may be Fjardaal in Iceland, powered by hydro which was created for the Al smelting.

Comment Re:noooo (Score 5, Informative) 560

For some places, Climate Change will be a positive. But the net is hugely negative. 1/3 of the world's people are close enough to a coast that they will have to do something when sea levels rise.

Climate Change is happening too fast for much life to cope. The speed of the change is all negative.

The driver of Climate Change is Atmospheric Change. Everyone talks about warming, but all this CO2 has a lot of other effects. The other big effect is Ocean Acidification. This is deadly for shells and corals. The whole oceanic food chain is being strained to the limit from this, and from overfishing.

Comment Sure, what are some alternative services? (Score 1) 121

Just stop using them, huh? Sure, as soon as I learn of some alternatives. I mean, to replace Google for searching, there's DuckDuckGo, though they aren't quite all I could desire in a search engine either. Could replace Slashdot with SoylentNews or maybe reddit. I'm okay with Wikipedia and relatives, don't feel they need replacing. But what is there to replace Facebook? Twitter? Skype? Ebay? Amazon? NewEgg may be making a bid to compete with Amazon. As for Ebay, there's what, Craigslist? I looked into this Ebid site, but there was one big thing I didn't like in their terms, which is that they can cancel your lifetime membership if you're accused of anything. One false accusation, and you're done. Ouch.

Comment Re:Why shouldnt Barack Obama follow the Tea Party? (Score 1) 121

I don't know, but I'll take a guess.

  1. 1. Every party except Republicans
  2. 2. Pirate Party
  3. 3. Every party except Republicans and Democrats
  4. 4. Another punishment question? Dude, expand #3 to include more than banksters, and this is unnecessary.
  5. 5. None, we're on our own for that. See #6.
  6. 6. The party of Wikileaks and Snowden.
  7. 7. Neither Republican nor Democrat, though the Republicans like to throw raw meat to the people who want a big wall and massive army of border guards to patrol it, as if that would solve anything. Probably only 1 or 2 small parties. It's not a big issue. And what about reform of immigration laws, why only ask about enforcement?
  8. 8. Most 3rd parties.
  9. 9. Why do you need a political party for that? The govenrment can't control your personal life, unless you let them. As for "when working", well, that's not personal any more is it?
  10. 10. Red tape to suppress competition is only one of the many corruptions the powerful perpetrate. Is any party notably less corrupt?
  11. 11. Government bashing, again? It's not the government that's the problem, it's the powerful. The government is only a problem if it's too easy for the powerful to corrupt and control it, and it is no longer answerable to the people. You really prefer living in an anarchy? Then move to Somalia.

Comment Dads want prints (Score 1) 190

My dad also likes having a printer. I don't. They're high maintenance, and if that isn't bad enough, we all know the crap that ink jet manufacturers pull to drive our costs up even more.

I tried to persuade him that he didn't need a printer, but got nowhere. He still writes checks and orders more checkbooks when he runs low, sometimes prints out emails, and other absurdities from not connecting with what technology can do. He keeps his contact list on a handwritten sheet of paper beside the monitor, rather than using some program to manage that info. It's one of the cases where he didn't even use the printer, he wrote that all down himself, with pen and pencil. I've tried to get him to use a spreadsheet or at least a text editor for that, but he's just more comfortable with pen and paper.

Comment Re:How perfectly appropriate - (Score 1) 341

it seems the only cure offered is to either severely restrict our lifestyles or increase the costs of everything so that it has that same effect

That is standard denialist fearmongering and propaganda, this thinking that the only cure is lots of sacrifice. It's not true. It's the opposite. It will employ an awful lot of people to do much of the work we can do to address Climate Change. That's a lot of jobs.

Lots of those things will also make our personal lives better. In general, it's called efficiency. Now flat screens are in nearly every way better than CRTs. Refrigerators became much more efficient in 1996.

People should get over their predujices about what makes cars pretty, and embrace better aerodynamics. One example is the Aerocivic. As noted on that site, there were bonuses with the improved aerodynamics: the car is quieter, stays cleaner, and is steadier, which makes it safer. Trucks can use vortex generators. One guy I know objected to vortex generators on the grounds that they were ugly. I asked him why was it important whether an already butt ugly truck trailer not have these? Surely not for the sake of beauty?

Then there are roads. Who could possibly object to smarter traffic lights? Everyone who has ever driven much has had the experience of being stuck at a red light for nothing, because currently the devices are not capable of sensing traffic soon enough to be proactive. They are essentially mindless with no ability to learn traffic patterns and adjust their timing.

Comment Re:Oh noes! (Score 1) 335

The law is neither perfect nor pure. Otherwise, why not have the penalty for a violation be death? But we recognize that some illegal acts are not serious problems, may be wrongly blamed on an innocent, or recognized as not criminal at some later date, and that where there are these doubts it is wise to have relatively light penalties.

Corruption is a big problem-- it's just too easy for a powerful business interest to bribe politicians to enact favorable legislation that is against the public interest and serves only to enable someone to line their pockets at the expense of the public. That's why we have such ridiculously long copyright terms.

Even when corruption is absent, the law can be too simplistic or wrongheaded. The goal is traffic safety. Speed limits are a simplistic and crude but reasonably effective means of making driving safer. However, there are times when it is acceptable to speed. For instance, if taking a seriously injured person to an emergency room. A friend of mine who works for the emergency department was once called and told to get to the hospital right away as they needed him urgently. He sped and blew through a few red lights, and a cop saw this and pulled up beside him, but he held up his medical badge and the cop decided not to bother him.

Comment Re:Price difference over two years (Score 1) 328

I hope you don't take that kind of crap lying down. Because when you do, you hurt not just yourself, but everyone. Were you mislead? Mislead or not, you definitely misunderstood the deal. Don't accept all the blame for that, they know very well that they deliberately make their deals complicated and confusing to cause exactly those sorts of misunderstandings. Did you complain to AT&T? The BBB? The FCC? I have complained to the FCC before about AT&T, and I got results. AT&T refused to admit that they did anything wrong, but in the interest of customer relations they refunded the measly $9 overcharge I complained about.

Slashdot Top Deals

In every non-trivial program there is at least one bug.

Working...