Follow Slashdot stories on Twitter


Forgot your password?

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

by Homburg (#37163842) Attached to: Google Launches Identity Verification Badge Scheme

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

by Homburg (#37137556) Attached to: C++ 2011 and the Return of Native Code

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:Then learn the language better, stupid (Score 1) 616

by Homburg (#37137504) Attached to: C++ 2011 and the Return of Native Code

If you're creating cycles then you didn't understand RAII.

So, what you're saying is, I have to artificially complicate my design in order to deal with a limitation of the language? Neat (actually, you can use garbage collection with C++, and C++0x provides limited support for this).

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

by Homburg (#37077500) Attached to: BART Disables Cell Service To Disrupt Protests

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

by Homburg (#37077488) Attached to: BART Disables Cell Service To Disrupt Protests

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

by Homburg (#36968794) Attached to: The Most Expensive One-Byte Mistake

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:Is there a "digest" form of Twitter? (Score 2) 456

by Homburg (#36880508) Attached to: Is Twitter Rendered Obsolete By Google+?

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

by Homburg (#36857730) Attached to: Google Music Adds Linux, Ogg Vorbis Support

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.

With your bare hands?!?