Slashdot is powered by your submissions, so send in your scoop


Forgot your password?

Comment: Re:Problems in C++ (Score 1) 385

by brantondaveperson (#48871209) Attached to: Is D an Underrated Programming Language?

The [] operator skips bounds checking, which is the main reason for using these classes in the first place.

Stopped reading here. What nonsense. std::vector doesn't bounds check in any meaningful way in release code, and asserts in every possible way in debug code. The [] operator is overloaded by std::vector, and most assuredly does bounds-checking, and more besides. This is one of the reasons that stl is so slow in debug builds.

Comment: Re:Problems in C++ (Score 1) 385

by brantondaveperson (#48871171) Attached to: Is D an Underrated Programming Language?

I must say, you're being very polite to a rather belligerent AC...

Anyway, I have a nitpick:

dlopen() is C++'s reflection system.

Not quite. dlopen is Linux (Unix? POSIX? Not sure...) reflection system, and OMG I hate it :) I remember reading the source code to some Linux commandline utility, and being completely unable to figure out how a particular function was being called until I found the dlopen() call...

Comment: Re:COBOL (Score 1) 385

by brantondaveperson (#48871079) Attached to: Is D an Underrated Programming Language?

All exceptions implementations cause a performance hit. You are better off just returning an error value on each function call and checking it

...Which causes a performance hit, and also causes you to have to write a ton of boilerplate everywhere. Not seeing a win. The performance hit of exceptions is extremely tiny, and so only matters in the most performance-critical applications of all. The type of applications where throwing an exception would be unacceptable anyway.

Comment: Re:a better question (Score 1) 592

by brantondaveperson (#48852307) Attached to: Why Run Linux On Macs?

Totally - they're not perfect. I do have a couple, and they both still look reasonably mint - they don't live in padded bags either. The aluminium polishes up really nicely with a slightly damp cloth, and glass cleaner is great on the screen. My ipod touch lives in my pocket, with my keys and without any type of screen protector or case. Still looks fine.

And of course I would hesitate to step on my aluminium macbook pro, so until we find someone who's willing to give it a shot we'll have to leave the question unanswered. It also would rather depend upon footwear and dietary habits :)

Comment: Re:Wrong direction (Score 1) 217

So I take it you can answer my dumb question - why are politicians permitted to have robots call you up and hassle you whereas salespeople are not? They are both equally irritating in my opinion, and both of them are effectively trying to sell you something.

Comment: Seems weird.. (Score 1) 329

by brantondaveperson (#48836449) Attached to: Steam For Linux Bug Wipes Out All of a User's Files

..but since '/' is owned by root (isn't it?) and isn't writeable by the user in question (presumably) then shouldn't the "rm -rf /*" stop at root and proceed no further? That would seem sensible to me.

I mean, I know that's not now it works (obviously, since the problem occurred) - but why?

Comment: Re:Remove the goddamn box (Score 4, Insightful) 320

by brantondaveperson (#48761979) Attached to: HOA Orders TARDIS Removed From In Front of Parrish Home

No. No it isn't. It's fine. You Americans love your freedom of speech, but when it comes to living next door to a slightly more interesting house than the usual cookie-cutter bland beige boxes you get all hot under the collar and start using words like "douchey".

Which, of course, isn't a word.

Just get over it. HOAs *should* be illegal, and I wonder how far they'd get if tested in a court of actual law.

Comment: Re: Nosedive (Score 1) 598

by brantondaveperson (#48743191) Attached to: Tumblr Co-Founder: Apple's Software Is In a Nosedive

I don't need my media player installing auto-starting services that run with elevated privileges

Something it does only under Windows, and about which I have no opinion. Does it really run with elevated privileges?

iTunes is way behind on feature parity with foobar2000.

Now, now - we can't have it both ways. Which is it, is iTunes bloated - or does it suffer from lack of features?

Comment: Re: Nosedive (Score 1) 598

by brantondaveperson (#48742777) Attached to: Tumblr Co-Founder: Apple's Software Is In a Nosedive

Well.... that's a reasonably strange argument. I mean, if she wants a pen, rotary phone and a phonograph then I don't see how she's going to be happy with a computer and a smartphone of any ilk. Maybe a Nokia 1100, a notebook and a walkman might be better. Personally I rather think that it is.

But anyway.

You almost make a fair point about iPhoto being the tool to take photos off the phone, whereas putting them on is done through itunes. Except that no-one puts photos on their phone in this way - you just use photostreams and icloud. The syncing of photos using itunes only remains in itunes so that it can continue to support the ipod classic.

I don't wish to suggest that the way in which functionality is distributed between some of these applications is perfect - but I really don't believe it's as bad as you say. For instance, you used your iphone to take some photos. If icloud is set up at both ends, then the photos are already on the mac, so there's nothing to do. If you plug in your iphone and there's new photos on it, then iphoto just pops up for you, so that's not so hard either. In fact, it's exactly the same as if you plugged in your digital camera - so it doesn't seem all that bad.

Regarding apps, you don't buy apps for your iphone through itunes. I mean, you can, but since we're discussing your grandmother's use of the device, wouldn't it be simpler for her to buy the app directly on the phone? Isn't that what you do on an Android device?

And contacts. You sync your contacts using icloud, and they don't have to be transferred - it all just happens for you in the background. I'm sure Android does the same thing too. Syncing contacts has been removed from itunes (not sure when), so this is the only way to do it.

Fair's fair though - putting videos that you didn't buy through itunes (yes, I know, it's called itunes and it does more things that just tunes. I get it. But I'm sure you're not just hating on the name, right?) on the phone is a bit of a pain. They have to be properly encoded, and then you have to import them into itunes - annoying because who uses itunes to watch torrented content? - and thence drag them onto the device.

Of course, your grandmother the leet haxxor would probably install something like Extreme Player HD (how's that for a silly name...) and download them into her phone from an SMB share.

If a thing's worth doing, it is worth doing badly. -- G.K. Chesterton