Follow Slashdot blog updates by subscribing to our blog RSS feed


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:I demand the right to determine... (Score 1) 241

You can use any name you like, as long as you are not intentionally using a name to defraud someone. There may be restrictions on the name you use for certain particular legal purposes (though there aren't in England - to change your name, you just need to start using your new name, a deed poll is just a record of the change if you need official documentation of it).

Comment Re:Carmack (Score 1) 616

But with the added overhead of reference counting, which is an additional method call every time an object pointer is copied or passed or returned from a function. This is a bit of a problem in C++, where method calls can be inlined; with Objective-C's more heavyweight method calls, I would think this would be a fairly big overhead. I'm sure it's a much larger overhead than real garbage collection (although it does have the advantage of being deterministic).

Comment Re:Interesting, yet scary. (Score 1) 440

Government action that interferes with free speech is a violation of the First Amendment, whether that government action is specifically a law or not; see for example, limitations of the restrictions public schools can and can't place on the speech of students. BART (which is a government agency) likewise is limited by the First Amendment in what restrictions it can place on speech - it probably can regulate the time, place, and manner of speech, which might include disabling cell phones for safety purposes, but certainly this incident raises First Amendment questions.

Comment Re:Stupid slope (Score 1) 440

Except that no-one else on the platform, and not the CCTV that's available, backs up the story about the guy coming at the policeman threateningly with a broken glass bottle and a knife (see here). And given the record of the BART police over the past few years, I'm not sure we should give them the benefit of the doubt as to whether they're accurately describing this situation.

Comment Re:Got it wrong (Score 1) 594

To keep the string length, you'd have to employ a struct.

No, strings with a listed length would also be pointers to a series of integers - it's just that, instead of giving a value special semantics (0 as end of string), you give a position in the series special semantics (store the length in the first two bytes). In both cases, you need your string-handling functions to be aware of whatever the convention is.

Computational efficiency. Many if not most operations on strings don't need to know how long they are. So why suffer the overhead of keeping track? That makes string operations on null terminated strings on average faster than string operations on a string bounded by an integer.

I don't know that that's true. Operations that do need to know the length of the string could be quicker, and I'm not sure that these cases are less frequent. What are the common cases you are thinking of where C-style strings are faster?

Comment Re:HDD -- SSD (Score 1) 221

I've not experienced a single case in which the Xorg drivers actually equalled the proprietary drivers.

I assume you haven't used the ATI drivers, then. IME, the open source drivers are much more stable and easy to get working than fglrx.

Comment Re:Is there a "digest" form of Twitter? (Score 2) 456

Is there a "best of email," or a "best of websites"? Neither of these make much sense, because the point of web sites is to read the ones your interested in, and the point of email is to communicate with the people you know. Likewise, the point of Twitter is to follow people you are interested in and/or know. If you don't know of anyone who is of interest to you who uses Twitter, there's not much point in you using it, just as it would be pointless to use email if you didn't know anyone else who used email.

Comment Re:What's so special? (Score 1) 111

Grooveshark's business model appears to be based on blatantly infringing copyright, then hoping they can negotiate deals with the record labels. Google Music is based on doing something that probably isn't copyright infringement (although the RIAA may disagree), backed up by Google's lawyers. I like Grooveshark, but I don't know that it's going to be around for very long.

Slashdot Top Deals

You should never bet against anything in science at odds of more than about 10^12 to 1. -- Ernest Rutherford