Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!


Forgot your password?
DEAL: For $25 - Add A Second Phone Number To Your Smartphone for life! Use promo code SLASHDOT25. Also, Slashdot's Facebook page has a chat bot now. Message it for stories and more. Check out the new SourceForge HTML5 Internet speed test! ×

Comment Re:Han unification (Score 1) 108

Sure for single-language documents like HTML, you can use a lang= attribute and hope the browser handles it right, but you certainly can't mix the two together very easily.

Pretty easy to mix them in HTML. For example:

<p lang='en'>The Japanese version is '<span lang='ja'>&#x5c06;</span>' and the Simplified Chinese version is '<span lang='zh-Hans'>&#x5c06;</span>'.</p>

My browser displays the appropriate glyph in each instance.

Comment Re:Latin unification too (Score 1) 108

The problem with unification is that metadata is often either unavailable or inadequate. The goal should be to represent all characters in plain text, not rely on specific document formats to provide context.

How would a music player app handle a file tagged with a unified character? How would a file manager handle it? There is no context, no metadata to tell it what language is in use and what font to select.

Older Unicode standards included control sequences which could be inserted in plain text to indicate language. This is still supported in some applications to influence font choice. However, the feature was removed in favour of external markup, probably because it was really hard to edit (most text editors don't really handle non-printing characters very well.)

Even in HTML you only get to set one language for the entire document.

This is simply incorrect. Language in HTML can be set on any element.

Comment Re:Wrong by 5 orders of magnitude (Score 1) 90

The article says exactly what is meant:

Its eponymous management system runs globally on roughly 229,300 solar plants that typically pump out 5.66TWh of electrical energy a day, or so we're told.

So averaged over an entire day, those 229,300 plants have a typical combined output of 235GW -- about 1MW per plant.

Comment Re:Are all NP-hard Problems equivalent? (Score 3, Insightful) 199

NP-hard problems are absolutely not all equivalent. NP-hard is a class of decision problems which literally means any problem which is "at least as difficult" as problems which are in NP. To posit that all NP-hard problems are equivalent would imply that there's some sort of upper bound on problem "difficulty". This is absurd for a number of reasons. First of all, this claim implies that NP is equal to EXPSPACE (EXPSPACE-complete problems are NP-hard after all) which is not true (there is known to be an inequality between these two sets). But moreover NP-hard problems are not necessarily even computable -- the halting problem is NP-hard! To claim this is equivalent to 3-SAT is just ridiculous. tl;dr: The Venn diagrams in the article shows the relationship between these complexity classes correctly but the writer seems very confused about them.

Comment Re: ReactOS takes an initiative (Score 1) 208

implemented in a subset of C++ programming language.

Doesn't C itself technically fit that criteria?

No, not even close. For this to be true, a necessary (but not sufficient) requirement is for every syntactically valid C program to also be a syntactically valid C++ program. This is obviously not the case: for example, C allows the use of "new" as an identifier, while C++ does not. I'd wager that most C programs would not even build with a C++ compiler unless the writers specifically put in the effort to make it work.

There are many other differences, and over the past 20+ years C and C++ have been diverging as new features are added to each language.

Comment Re:Fermat? (Score 5, Informative) 216

Obviously nobody has found an exception to disprove it yet. The dude wouldn't be offering a pile of money if he were just looking to disprove it...he would just funnel the money into some supercomputer time to step through an absurd amount of integers until he comes up with an exception.

The set of integers to test is big. Really big. You just won't believe how vastly, hugely, mindbogglingly big it is. I mean, you may think that Graham's number is a lot, but that's just peanuts compared to the integers.

If a conjecture could be disproven by simply throwing computational resources at the problem, chances are that it's not particularly interesting. Many open problems in number theory have known lower bounds well above anything that could possibly be tested by a computer. For example, there is no odd perfect number less than 10**1500.

Comment Re:Edge of space? (Score 2) 90

It just happens to be such a convenient number in their preferred units?

Obviously the number 100 was chosen for its convenience. From Wikipedia (Kármán line):

Although the calculated altitude was not exactly 100 km, Kármán proposed that 100 km be the designated boundary to space, since the round number is more memorable, and the calculated altitude varies minutely as certain parameters are varied. An international committee recommended the 100 km line to the FAI, and upon adoption, it became widely accepted as the boundary to space for many purposes.

Comment Re:NO. (Score 4, Interesting) 646

I've advocated making all even months 30 days and all odd months except November 31 days with November receiving the leap year day. Simplifies things completely and never leaves people guessing, except for if it's a leapyear or not.

If we're going to change the months, we should just have 13 months of 28 days each, a nice even 4 weeks per month. That has one leftover day per year (two on leap years), which would not be part of any month or week. We'll call those "nameless days" or something and would fall between saturday of the last week of the year, and sunday of the first week of the next year. Those days would be holidays and everyone can have a big new year's party.

Comment Re: As opposed to actual Model Ms which are still (Score 2) 298

I bought one of those Unicomp keyboards and I was very disappointed with the build quality. It looks like they just made a cheap plastic housing for the keyboard but there was none of the heft of an original IBM model M.

I have a Unicomp SpaceSaver 104 and a Customizer 104. I would not buy the Customizer again; it has all of the bulk of the classic Model M without the same build quality. On the other hand, I love the SpaceSaver -- while it's likely not as effective for self-defense as the classic Model M is, I love typing on this as much as my ~30yr old IBM keyboard (which still works great!), and it uses less desk space, and is natively USB. It also doesn't feel as flimsy as the Customizer does, probably simply due to there being less plastic overall.

I also use a Das, which I don't like typing on as much as the SpaceSaver but it is extremely well built. Maybe I'll replace all the key switches in it with these green ones if they're more like buckling springs!

Comment Re:Awesome (Score 1) 1176

It was quite possibly fitted with electronic accelerator and break paddles for hand-use or similar.

No wonder! The driver probably had intended to activate the brake control, but accidentally hit the break switch instead. Then, naturally, the car broke.

Comment Re:Showing crack? (Score 4, Funny) 330

What kind of drug would a staple need? It's job is to hold reams of paper together securely.

Unfortunately, most staples are quite inept at holding even one ream of paper together, let alone multiple reams. They are normally not in a position with much job security, as they usually can barely even support a quire of bond paper.

The drugs let these millions of inadequate staples feel better about themselves.

Slashdot Top Deals

"The eleventh commandment was `Thou Shalt Compute' or `Thou Shalt Not Compute' -- I forget which." -- Epigrams in Programming, ACM SIGPLAN Sept. 1982