Announcing: Slashdot Deals - Explore geek apps, games, gadgets and more. (what is this?)

Thank you!

We are sorry to see you leave - Beta is different and we value the time you took to try it out. Before you decide to go, please take a look at some value-adds for Beta and learn more about it. Thank you for reading Slashdot, and for making the site better!



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

swilly Re:Just give the option to turn it off... (808 comments)

The Pennsylvania bill did not become law, but the UK and Vermont ones did (according to the article, which is flagged as needing more than three references).

I had never heard of the Red Flag traffic laws before. You learn something new every day. I can see why they would be enacted, and why they were thought to be practical (early self-propelled vehicles weren't much faster than a pedestrian, they were only practical for bulk transport). I suspect that many disruptive technologies have crazy laws and regulations before they become mainstream.

5 days ago

Is D an Underrated Programming Language?

swilly Being an excellent language isn't enough (382 comments)

The problem with D isn't the language, which is excellent. Unfortunately, superior languages loose out to inferior ones all the time. (Yes, I'm aware that superior and inferior are subjective terms.)

Language quality is nice, but there are several factors that are more important when it comes to market success. These factors include: third party tools (compilers, debuggers, IDEs, profilers, etc.), third party libraries (both quantity and quality are important here), momentum (C++ and Java are pretty well entrenched, and it will take a lot more than being a better language to significantly displace them), and finally there is the coolness factor. Coolness relies on many things, but the one that I think is most important is having a charismatic creator or evangelist.

Now D is making significant improvements in each of these areas, so I expect it to continue to grow in market share. In particular, LLVM support and having Andrei Alexandrescu as an evangelist are pretty huge. It still has a ways to go before it can catch up to C++, however.

about a week ago

Anthropomorphism and Object Oriented Programming

swilly Re:Missing the point (303 comments)

Many definitions of Object Orientation describe methods as functions associated with data (or with an objects state) and define them formally in terms of message passing. In fact, Alan Kay (creator of Smalltalk and I believe the originator of the term Object Oriented) includes objects sending and receiving messages as part of his definition of Object Oriented. Of course, Alan Kay also stated that every object is an instance of a class, so perhaps his definition isn't quite correct today.

Multiple dispatch often relies on inheritance, which is necessary but insufficient for Object Orientation. However, it isn't clear how to map a function call into a message for an object. Message passing is too useful of a model of computation to throw away. Perhaps you can create a definition of Object Oriented that doesn't use it, but I haven't seen one.

about three weeks ago

AirAsia Flight Goes Missing Between Indonesia and Singapore

swilly Re:Don't take airplanes piloted by the Malays (275 comments)

This isn't 100% true. I recently flew on a United flight from Atlanta to Dubai, and the nifty map showing the flight path displayed us flying right through the middle of Iraq. Perhaps it used to be true that we wouldn't fly over Iraq, but we do now. I'm sure that there are still altitude restrictions, but I'm just guessing.

about a month ago

Donald Knuth Worried About the "Dumbing Down" of Computer Science History

swilly Re:Knuth is right. (149 comments)

Computer Science is a pretty broad area of study, but I consider these three problems to be the most fundamental.

Computability: What can a computer do and what can it not do? There are an uncountably infinite number of problems that a computer cannot solve (undecidable), and only a countably infinite number of problems that a computer can solve (decidable). Fortunately, most of the interesting problems are decidable.

Complexity: If a computer can do something, how efficiently can it be done? This goes beyond the Big O you are taught as an undergraduate, and considered language spaces such as P, NP, PSPACE, EXPTIME, and so on. It also considered not only computation time but space (unfortunately, few undergraduates are introduced to space constraints of algorithms, a great interview question is to list an example of a sorting algorithm that takes constant space).

Equivalence: Given two algorithms, do they perform the same computation? Meaning that given the same inputs they will always produce the same outputs (and yes, side effects are also outputs)? A less strict (but of more practical importance) is whether or not a program meets a specification.

Computability and complexity are both important parts of the theory of computation, which is usually built on top of Language Theory, which is itself built on top of Set Theory. The hardest problem is modern mathematics may be P = NP, which is also a Computer Science problem. The third problem requires creating mathematical proofs using Formal Logic. It is also an excellent example of an undecidable problem, meaning that there is no general algorithm that can perform it for every program (in other words, it's something that a computer cannot do).

In addition to Set Theory and Formal Logic, Computer Science relies heavily on Boolean Algebra, Graph Theory, and other areas of Discrete Mathematics. Computer Science is inherently cross-disciplinary, but at its core it is closer to Mathematics than it is to Engineering or Science.

about a month ago

Want To Influence the World? Map Reveals the Best Languages To Speak

swilly Re:80 years it was German (150 comments)

80 years ago the Lingua Franca for diplomacy was French. In fact, French dominated diplomacy from the 17th century until WW2. English didn't start getting used in non-English diplomatic circles until after WW1 (it was quite significant when the Treaty of Versailles was written in both English and French). French has been eclipsed by English, but it is still popular (it is the second most used language in the UN and the EU).

For science and technology, Latin used to dominate. Once people stopped publishing in Latin, three dominant languages appeared: English, French, and German. Which was dominant depended on the field being discussed. Before WW1, German may have been the largest of the three, but after WW1, English was noticeably more dominant (and has only continued to grow).

For business, the general rule is that whenever possible the seller speaks the buyers language. 80 years ago, there were several useful intermediate languages that could be used to facilitate business. The most common would be English, French, and Arabic. I don't know that German was used much outside of Europe and the few German colonies. French was probably the smallest here, since outside of Europe it was most spoken in Africa, where it had to compete with Arabic as a language of trade. There are plenty of other languages which are influential at a regional level, such as Chinese, Russian, Spanish, and Swahili, but these haven't had much of an impact globally. Due to its size and economic might, I expect that Chinese will become more influential in the future, and it will slowly become more significant outside of Asia. I don't see Spanish moving outside of Europe and the Americas, at least not in the short term.

about a month and a half ago

How Intel and Micron May Finally Kill the Hard Disk Drive

swilly Re:Empty article.. (438 comments)

You fail at reading comprehension. There is nothing in the summary that says those drives aren't possible, just that they have increased heat and (therefore) an increased rate of failure. This is one reason why average hard drive speeds haven't improved much in the last 15 years.

I once bought six Western Digital 10000 RPM drives for a RAID setup. Three of them failed within the first year. Two failed the next year (including one of the warranty replacements). I replaced them all with six of their 7200 RPM Red drives and other than one DOA that needed to be replaced, I haven't had a failure in almost two years. Sure, anecdotal evidence is purely anecdotal, but it backs up the summary. (Still pissed off about the DOA though.)

In the same time frame I have owned five SSDs, including an Intel SLC that is almost six years old (works great as a small root partition on my Linux box) and I have had only one failure (a 250GB OCZ Vertex Pro). And unlike the hard drives, the data was recoverable from the dead SSD (I could mount it read only, but it wouldn't mount writable). Other than the failed SSD and my laptop drive (no idea who made it), all of my SSDs have been Samsung or Intel drives, and I highly recommend both manufacturers.

about 2 months ago

Debian Talks About Systemd Once Again

swilly Re:Remove It (522 comments)

I don't know about journald, but on Solaris the binary logging works using digital signatures. Each log message (and the prior log messages signature) is signed to ensure that the log message hasn't been tampered with, and that log messages haven't been removed. In the event of tampering, the log messages can still be read, but are flagged as untrustworthy. I understand that administrators prefer text messages (which is why our Solaris systems also logged to syslog), but for security auditors digitally signed binary logs are a godsend.

about 3 months ago

Pentagon Reportedly Hushed Up Chemical Weapons Finds In Iraq

swilly Re:So confused (376 comments)

There was never any question about whether Iraq had chemical weapons. After all, Saddam used them against Iran and his own people. The question has always been, "where are they now?"

The possible answers are that he still had them somewhere, that he gave them away, that he destroyed them, or that he had run out. Each of these answers presents problems. If he still had them, then where were they and who might still have access to them? If he gave them away, who did he give them to and why? If he destroyed them, why not let the West verify this and stop the sanctions (and also prevent an invasion)? If he used them all up, why didn't he make more? Saddam's actions suggest that he had something to hide, or that he wanted people to think that he had something to hide (I always liked the idea that he wanted Iran to believe he had them, but wanted to plant doubt in the US, and he couldn't pull off that balancing act).

I don't know if I believe the article, but it would be nice to have a conclusive answer one way or another.

about 3 months ago

How English Beat German As the Language of Science

swilly Re:German illegal? (323 comments)

This was very common. Germans emigrated in large numbers in the late 19th century, but you wouldn't know it today. In response to public outrage at unrestricted submarine warfare many Germans immigrants Anglicized their names, turning Schmidt into Smith, Wilhelm into Williams, and so on. Anglicization also happened in England, with the most notable case being the rename of Saxe-Coburg to Windsor (yes, the English royal family were Germans with blatantly German names).

about 3 months ago

Ask Slashdot: Why Can't Google Block Spam In Gmail?

swilly Re:WTF? (265 comments)

I agree. I can't remember the last time I had spam reach my Gmail inbox. Google is incredibly good at finding spam.

In fact, my complaint is the opposite, Gmail is too aggressive in flagging mail as spam. I get notifications from Fidelity about my account, and most emails are fine but things like dividend payments are consistently flagged as spam. I always flag them as "Not Spam", they match an existing filter, and I've even forwarded them to Google for review, but none of that has helped.

I occasionally have other emails incorrectly flagged as spam, but its pretty rare. The Fidelity messages aren't time critical, so this is more of an annoyance than a problem. I wish Google (or Fidelity) would get better at recognizing the difference between spam and legitimate emails that happen to be sent to a lot of people.

about 3 months ago

Fuel Efficiency Numbers Overstate MPG More For Cars With Small Engines

swilly Re:Top Gear had an interesting experiment (403 comments)

That's not surprising. The Prius has an Atkinson cycle engine which can be efficiently and quickly turned on and off, but it has a very low power density. This means that the Prius performs well when coasting (as it can turn off the gasoline engine when it doesn't need it), but poorly when accelerating hard. Most driving consists of short periods of acceleration and long periods of coasting, and the electric motor can handle a lot of the work for low speed acceleration and maintaining cruising speed, which means that the power density of the gasoline engine isn't very important for every day driving. However, if you are constantly accelerating hard, then the electric motor is wasted, the advantages of the Atkinson cycle engine are minimized and the disadvantages are maximized. If you keep it up for a long period of time, the Prius will not perform well at all. (The aerodynamic body would probably help when constantly accelerating hard, but I suspect its benefits would drop off as its speed increases.)

about 4 months ago

Dell Demos 5K Display

swilly Re:In other news: Are 4K displays worth getting ye (204 comments)

Most Linux desktop environments are DPI independent for fonts and toolkit controls, but it can be a bit hard to change as such things are often tied to your system theme. Of course, that doesn't help with scaling things like images. For many years now you could get desktop scaling using Compiz, but that requires hardware with good OpenGL support so few distributions use it. The current standard for things like 4K monitors is HiDPI (which Apple is calling Retina for marketing reasons).

The only Linux distribution I know with good support for HiDPI is Linux Mint Cinnamon. It even selects it automatically if it detects that your monitor exceeds a certain number of pixels per inch. The setting is in Settings -> General -> Desktop Scaling. I find that with HiDPI and a some tweaks to the default fonts, only web browsers don't display how I want them to (I prefer a 110% zoom for my web browser). Fortunately, changing the default zoom in Chrome works very well, it can even scale Flash content properly.

Other desktop environments that use Gnome libraries like Unity and Gnome Shell should have HiDPI working soon (if they don't already). It looks like KDE has HiDPI support, but they still have some issues to resolve. I'd expect the new KDE 5 desktop to work well.

about 5 months ago

Are Altcoins Undermining Bitcoin's Credibility?

swilly Re:Bitcoin credibility? (267 comments)

Make sure that form is stamped five times, otherwise the head bureaucrat will summon the guards to bring him the form to fill out to have you taken away.

about 5 months ago

Ask Slashdot: What Recliner For a Software Developer?

swilly Re:First World Problems (154 comments)

The definition of First, Second, and Third World are not based on wealth, but on ideology. Second World countries are those that are industrialized and socialist (though in practice it referred only to communist governments).

You don't hear much about them because back in the early 90's there was this series of events that resulted in the collapse of most of the Second World. The independence of the Baltic states and the Ukraine, the fall of the Berlin Wall, and the collapse of the Soviet Union. You may have heard of some of these, as they were a big deal at the time.

The major Second World country to survive these events is China, but North Korea would also be considered a Second World nation. I've heard of a proposal that we repurpose the term Second World to refer to developing nations, which works well since it's the natural term for nations moving from Third to First World status, but this hasn't been adopted yet (probably because developing countries don't want to be associated with the old Soviet Union).

about 5 months ago

The First Person Ever To Die In a Tesla Is a Guy Who Stole One

swilly Re:Only 100 mph? (443 comments)

How convenient that Harry's Automotive and Collision Center is right there!

about 7 months ago

A Box of Forgotten Smallpox Vials Was Just Found In an FDA Closet

swilly Re:Um.... (120 comments)

According to Wikipedia, this is not quite true. Chinese did discover the practice in the 10th century, and reports on the practice were given to the Royal Society in 1700, but no action was taken.

The Ottomans learned it before the early 18th century, but we don't know for certain how or when it got there. They also reported on it to the Royal Society in 1714 and 1716, but nobody paid much attention until the wife of the British Ambassador to the Ottomans witnessed it and introduced it to Europe's ruling elite. It was introduced to America in 1721 by the Puritan minister Cotton Mather (of the Salem Witch Trials fame). He had heard of it from a Sudanese slave, but he was also familiar with the Royal Society reports and had been trying to get physicians to attempt the procedure.

We don't know when the procedure was introduced to Africa, but it was introduced via the Muslim world. We also don't know when it was introduced to India, who may have discovered it independently (but probably not).


What did we do before Wikipedia?

about 7 months ago

US Arrests Son of Russian MP In Maldives For Hacking

swilly Re:51? (176 comments)

Maldives isn't a US territory. They used to be a UK one before they got their independence in 1965. Perhaps you were thinking of the Mariana Islands?

about 7 months ago

The Singularity Is Sci-Fi's Faith-Based Initiative

swilly Re:you can't judge a theory by its quacks (339 comments)

Jules Verne wrote Twenty Thousand Leagues Under The Sea in 1870. Submarines had been under development since the 17th century. The first military sub is usually credited to an American sub that failed to attach explosives to British ships during the American Revolutionary War. The first sub to sink another ship was a Confederate sub during the American Civil War, which was apparently too close to the explosion, causing it to sink as well.

The Confederate sub had ballast tanks, screw propulsion, and used a "torpedo" that was towed behind it. Everything was human powered, but very much recognizable as a precursor to modern submersibles.

I don't want to take away from Verne's accomplishments, but he didn't invent the sub, all he did was extrapolate and determine what a futuristic model might look like.

about 7 months ago


swilly hasn't submitted any stories.


swilly has no journal entries.

Slashdot Login

Need an Account?

Forgot your password?