Slashdot stories can be listened to in audio form via an RSS feed, as read by our own robotic overlord.

 



Forgot your password?
typodupeerror

Slashdot videos: Now with more Slashdot!

  • View

  • Discuss

  • Share

We've improved Slashdot's video section; now you can view our video interviews, product close-ups and site visits with all the usual Slashdot options to comment, share, etc. No more walled garden! It's a work in progress -- we hope you'll check it out (Learn more about the recent updates).

×

Comment: Re:Perl is more expressive (Score 1) 192

by dmbasso (#48955537) Attached to: Perl 6 In Time For Next Christmas?

Ok, in this thread there are already C++, Ruby, and Perl 6 versions of your snippets, so I'll add the Python ones.

@Lines = sort { $a->{Name} cmp $b->{Name} } @Lines;

lines.sort(lambda a, b: a.name < b.name)
or
lines.sort(key=lambda o: o.name)

@Files = <c:/Windows/*.exe>;

from glob import glob
files = glob("c:/Windows/*.exe")

I think a good analogy would be Perl is Finish, Python is Esperanto. When you have hundreds of thousands of LoC to maintain, I guess a more direct and unambiguous language is preferred.

It occurred to me that perhaps Perl is an attempt to seduce the computer... too bad it will take some time before it can appreciate language nuances... ;)

Transportation

Fake Engine Noise Is the Auto Industry's Dirty Little Secret 823

Posted by timothy
from the mazda-puts-it-right-up-front dept.
HughPickens.com writes Stomp on the gas in a new Ford Mustang or F-150 and you'll hear a meaty, throaty rumble — the same style of roar that Americans have associated with auto power and performance for decades. Now Drew Harwell reports at the Washington Post that the auto industry's dirty little secret is that the engine growl in some of America's best-selling cars and trucks is actually a finely tuned bit of lip-syncing, boosted through special pipes or digitally faked altogether. "Fake engine noise has become one of the auto industry's dirty little secrets, with automakers from BMW to Volkswagen turning to a sound-boosting bag of tricks," writes Harwell. "Without them, today's more fuel-efficient engines would sound far quieter and, automakers worry, seemingly less powerful, potentially pushing buyers away." For example Ford sound engineers and developers worked on an "Active Noise Control" system on the 2015 Mustang EcoBoost that amplifies the engine's purr through the car speakers. Afterward, the automaker surveyed members of Mustang fan clubs on which processed "sound concepts" they most enjoyed.

Among purists, the trickery has inspired an identity crisis and cut to the heart of American auto legend. The "aural experience" of a car, they argue, is an intangible that's just as priceless as what's revving under the hood. "For a car guy, it's literally music to hear that thing rumble," says Mike Rhynard, "It's a mind-trick. It's something it's not. And no one wants to be deceived." Other drivers ask if it really matters if the sound is fake? A driver who didn't know the difference might enjoy the thrum and thunder of it nonetheless. Is taking the best part of an eight-cylinder rev and cloaking a better engine with it really, for carmakers, so wrong? "It may be a necessary evil in the eyes of Ford," says Andrew Hard, "but it's sad to think that an iconic muscle car like the Mustang, a car famous for its bellowing, guttural soundtrack, has to fake its engine noise in 2015. Welcome to the future."

Comment: Re:Almost all normal people realise (Score 1) 219

by dmbasso (#48838897) Attached to: European Countries Seek Sweeping New Powers To Curb Terrorism

No, the OP does not have a point. Why are you focusing on one specific instance? Violence is widespread, and is committed by all kinds of people. Christians of all denominations in the US were quite content with the fact their government torture people (or offshore the task). The loads of innocent people that are killed in drone attacks are also not victims of muslim terrorists.

Religions are stupid and should be extinguished, but the correct way to achieve that goal is through education. With violence you'll only get more violence.

Comment: Re:And so therefor it follows and I quote (Score 1) 353

by dmbasso (#48229359) Attached to: Italian Supreme Court Bans the 'Microsoft Tax'

Why didn't you just order a hamburger?

Because nobody offers that option. I would gladly request a refund for the Windows 7 that came with my notebook if I could. The only reason I keep its partition is because I paid for that crap, and just "in case I need it"... but it's been 3 years so far without booting it. I guess I'll just wipe it and give more space to my Linux partition whenever I get some time to do it.

Comment: Re:bitcoin (Score 1) 241

by dmbasso (#47948349) Attached to: Putin To Discuss Plans For Disconnecting Russia From the Internet

Double spends for anyone who can connect to both sides of the network. Essentially, there will be two ledgers, an International ledger and a Russian one. If you spend on the Russian ledger, the International ledger will still have your money. When the network rejoins, whatever ledger has the most hashing power behind it will be chosen as the correct one, and all the transactions from the other one will be retried on the new global ledger. If the network saw a new transaction spending a previous transaction's outputs, it would be rejected, as well as any spends referencing that transaction, and so on.

Thank you, that's exactly what I wanted to know.

This happened already.

I guess I've missed the news, any links for my lazy ass?

Bitcoin sounds like a nice investment for dictators willing to further screw their populaces.

C for yourself.

Working...