×

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!

Comments

top

How Relevant is C in 2014?

Stele Re:one of a kind (641 comments)

One area where the C++ compiler optimizer excels is in the template compiler. When using templates, the compiler is free to inline pretty much anything, and if you have a deep enough template call tree, it can boil the code down into extremely tight instructions.

about a week ago
top

How Relevant is C in 2014?

Stele Re:one of a kind (641 comments)

C++ doesn't "simply have too much overhead". Most C++ features compile down to the equivalent, or faster (sometimes much faster), C code. C++ being "slow" or having "overhead" is a common misconception, and quite possibly the worst argument against using C++.

Honestly, pretty much all of the "real" arguments I've seen against using C++ boil down to either "I don't understand it" or "I don't like it" or "why would anyone need anything other than JavaScript?". These are hardly faults of C++.

about two weeks ago
top

I prefer my turkey ...

Stele Re:Conventional roasted but want to do a smoked on (189 comments)

I smoked one this year - and it was fantastic! I have a Kamado Kooker Char-Griller (poor man's version of the Big Green Egg). Been smoking pork all summer so I figured I'd give it a shot.

I loaded it up with plenty of big chunks of good wood charcoal, with several layers of wet and dry apple wood. Started it up and then smoked my oysters for the oyster stuffing while it got to temp. By the time it hit 200 the oysters were "done" (cooked but still very tender and quite smoky) and I took them off. I had dry brined the bird the night before and then sprayed olive oil on it and sprinkled salt+pepper. Stuffed it with onions and apples to fill up the cavity. I also mixed up a butter seasoning solution and injected it with a baster under the skin. I think this step is crucial to getting a moist result.

Was going to stand it upright but it wouldn't fit that way so I laid it on a baking stone instead. Sealed it up, got the temp up to about 350 (20 pound bird) and let it smoke. I checked it at about 2 hours and it the skin was dark and crispy so I tended it. In about 4 hours the probe was reading 160. Then I glazed it with a red pepper jelly and let it get up to 170 and then took it off. Let it rest on the counter for an hour and when we cut into it it was still hot and wonderfully moist. The smoke permeated every piece.

I highly recommend trying it, if you have the means!

about two weeks ago
top

Some Virgin Galactic Customers Demand Money Back

Stele Re:They bought their tickets. (165 comments)

I suspect that a lot of them were just vacuous celebrities whose publicists arranged to get them a ticket at a discount, as a PR stunt.

Oh come now! No need to be so harsh. JUSTIN BIEBER is on that list!

about a month and a half ago
top

Apple Doesn't Design For Yesterday

Stele View Different (370 comments)

why Apple would make a change that impedes legibility, requires more screen space, and makes the GUI appear fuzzy?

You're viewing it wrong.

about a month ago
top

The CDC Is Carefully Controlling How Scared You Are About Ebola

Stele Re:Increased public vigilance?? (478 comments)

I was going to swing by West Central Africa on my way back from my vacation to Syria. Thanks for the warning!

about 2 months ago
top

Goodbye, World? 5 Languages That Might Not Be Long For This World

Stele Re:If you wanted us to believe your Op-Ed... (547 comments)

We'll have to agree to disagree then.

Nobody writes math like Option B, unless they are forced to.

If someone wants to do this:

Vec4 operator+(const Vec4 &lhs, float scalar) const
{
        reformat_hard_drive();
        return 0.0;
}

Well, they're an asshole. That doesn't prevent the same asshole from doing this:

- (Vec4 *)multiplyScalar:(float)scalar
{
        reformat_hard_drive();
        return nil;
}

Programmers can be bad (or assholes) regardless of the language. I personally am thrilled that I've been allowed to shoot myself in the foot for 30+ years. It's made me a better programmer. I can't imagine being shacked to the incomprehensible mess that is Option B out of fear of what some bad egg might do to the api.

about 2 months ago
top

Goodbye, World? 5 Languages That Might Not Be Long For This World

Stele Re:If you wanted us to believe your Op-Ed... (547 comments)

Option A is provably easier to type, easier to understand, and vastly more efficient to execute, usually optimizing down to a handful of vector instructions.

You don't have a single good reason why Option B is "better" except that you don't like C++, which really isn't a good reason. Let me guess - you also hate Python because of the indentation.

about 2 months ago
top

Goodbye, World? 5 Languages That Might Not Be Long For This World

Stele Re:If you wanted us to believe your Op-Ed... (547 comments)

Which do you think is more readable?

Vec4 a = 1.0;
Vec4 b(2.0, 3.0, 4.0, 5.0);
Vec4 result = matrix * a * b / 10.0 + 0.5;

or

Vec4 *a = [[Vec4 alloc] initWithScalar:1.0];
Vec4 *b = [[Vec4 alloc] initWithX:2.0 Y:3.0 Z:4.0 W:5.0];
Vec4 *result = [matrix multiplyVec:[[a multiplyVec:[b multiplyScalar:1.0 / 10.0]] addScalar:0.5]]; ...
[result release];
[b release];
[a release];

Personally, I prefer the first one.

about 2 months ago
top

Goodbye, World? 5 Languages That Might Not Be Long For This World

Stele Re:If you wanted us to believe your Op-Ed... (547 comments)

You can easily do automatic memory management in C++ using reference counted smart pointers. This allows you to control when "memory management" occurs when necessary, as is common in the case of high-performance applications (games, imaging software, etc) where C++ excels. The ability to overload operators allows you to write vastly more readable (and efficient) code than with Objective C. And in Objective C all method dispatches are effectively virtual, where in C++ you can control when you pay the cost.

Objective C is definitely NOT well-suited to solve all the same problems as C++. It's fine that you don't need to write high-performance (or portable) applications, but sweeping generalizations like this just show your ignorance.

Disclaimer: I use C++, Objective C, and Python on a daily basis.

about 2 months ago
top

Phablet Reviews: Before and After the iPhone 6

Stele Re:Very sad (277 comments)

He was being ironic.

about 3 months ago
top

Microsoft To Buy Minecraft Maker Mojang For $2.5 Billion

Stele Re:Ads (330 comments)

Or the ever popular Minecraft-themed Bag of Glass.

about 3 months ago
top

C++14 Is Set In Stone

Stele Re:Where are my designated initializers? (193 comments)

Maybe it's not part of C++ because this kind of initialization is trivial to do, and more readable, with helper classes and constructors. Just a theory - I wasn't even aware of designated initializers.

What I find pathetic is all of the C programmers who still think C++ is slow, bloated, or impossible to understand.

about 3 months ago
top

C++14 Is Set In Stone

Stele Re:Why do we need Auto? (193 comments)

auto definitely makes writing looping constructs with iterators shorter/easier, without additional typedefs, but by far the nicest use for it is in writing templates, where a specialization or type-dependent mapping my occur in the template using a helper function, and you don't necessarily know what the intermediate type might be. Sure, you could use some complicated typedefs, which may require additional traits classes, but auto handles it nicely.

about 3 months ago
top

The Man Responsible For Pop-Up Ads On Building a Better Web

Stele Re:Facebook (135 comments)

I should have a put a smiley.

about 4 months ago
top

The Man Responsible For Pop-Up Ads On Building a Better Web

Stele Facebook (135 comments)

And then he went on to write Facebook. I'm not sure I like this guy.

about 4 months ago
top

Comparison: Linux Text Editors

Stele Re:Pfft (402 comments)

Okay okay I'll get off your lawn!

about 5 months ago
top

Is the App Store Broken?

Stele Re:It's not a marketplace.. (258 comments)

Yikes! Put your clothes and phone in a burn barrel and take a shower immediately!

about 5 months ago

Submissions

Stele hasn't submitted any stories.

Journals

Stele has no journal entries.

Slashdot Login

Need an Account?

Forgot your password?