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


Forgot your password?
Check out the new SourceForge HTML5 internet speed test! No Flash necessary and runs on all devices. ×

Comment This could backfire... (Score 1) 87

Easy to see how this could back-fire and cause more harm to Spotify. Seems like a childish reaction instead of doubling down & re-grouping to make their service better and more appealing.

I mean, the last time I used Apple Music, I think I said something out loud along the lines of, "This app [on my phone] is buggiest, most confusing and counter-intuitive piece of crap I've ever used." And yet Spotify is still scrambling...

Comment Re:Walmart mentality (Score 4, Interesting) 205

TFA's implication is that a white person has a right to make $700k/year, while the Chinese don't deserve to make a living because they are yellow skinned sub-humans.

You're way out of line here, dragging skin color (not nationality, but skin color) into this.

I think the article / story would have published even if the American was black, Native American, "brown", "yellow", etc. [I put those terms in quotes, because if I said Latino or Asian, that would be nationality, and I'm debating your choice to drag skin color into this. Personally, I think simplistic terms like white / yellow / brown to describe skin color over-simplify things, but I don't make the conventions...]

I totally agree with you about the patent bullshit, about similar products being around forever, etc. but I don't think this is a "Chinese are sub-human animals" piece. That's way too sensitive.

Chinese knock-offs, both legal and illegal, are widely acknowledged as being a reality. They have nothing to do with skin color.

The lady's business was fragile, she should think she had a good run. That also has nothing to do with her skin color.

Comment Paging Mr. Stroustrup... (Score 1) 286

"Within C++, there is a much smaller and cleaner language struggling to get out."
- Bjarne Stroustrup (from the excellent book, "The Design and Evolution of C++")

I use C++ for embedded systems, not a hater at all, but I feel that the language is becoming bigger, with more features, more keywords, larger libraries, and over-ebullient language nerds who aren't building stuff that powers the world (PC-centric Herb Sutter: "Hey, let's add a 2D graphics API! Because PC and Windows and Microsoft!") How is that useful to my embedded implantable medical device? Why does this need to be part of the core language specification? (Well, really the standard library, which is part of the language specification, let's not get pedantic here.) )

Look, I think some of the newer stuff is OK, but enough is enough... plus, and I know I'm in the minority here, but many of the platforms I work on don't use a compiler with C++11 (let alone C++14) support.

This makes my job as a "C++ evangelist" even tougher; organizations that are already scared by the size & complexity of the language are terrified by the "every 3 years, more stuff!" tendency.

I know some of you will say, "If you don't like it (C++11, C++14, etc) , just don't use it." or "these new features make the language /less/ complex." I don't have the time to debate that, but I'll just say that in my (working) world, those arguments don't work.

Comment Re:Umm, yeah, that's pretty idiotic. (Score 1) 144

Re-programming an on-chip "ROM" that is really flash memory - e.g., many microcontroller bootroms / bootloaders, I get that. But if you're talking about "re-writing" the **mask ROM** - how exactly would your typical hacker do that? I'm being sincere, I'm not trying to be argumentative. (BTW, I'm familiar w/ de-capping, FIB, etc., but that is really outside the capability of 99.999% of hacker's budgets and expertise, surely you're not talking about that.)

Comment Re:Why car info tech is so thoroughly at risk .. (Score 1) 192

I don't know about MS Sync; I think Sync is name of the application, which runs on top Windows CE and MS Auto. My recollection could be wrong -- I've tried incredibly hard to forget everything 've ever known about WinCE, but I think WinCE and maybe MS Auto are "Shared Source", where you can obtain the source.

QNX is definitely open-source.

Comment Re:Software error ... (Score 1) 234

...the MISRA standard for embedded systems includes these rules: 2) absolutely no local variables. it could lead to stack overflows.


Could you please cite the MISRA C 2004, C 2012, or C++ 2008 rule that forbids local variables? I don't remember such a rule.

Also I'll make the distinction between a local variable (which could be static, and thus not on the stack) and an "automatic" variable, which is local and almost always allocated on the stack (but not required by the standard -- in fact, small automatics might only live in registers & not even use stack memory).

While it's absolutely true that a large automatic object ("variable") can blow the stack, I don't recall MISRA forbidding such objects.

Comment Re:Experts... (Score 5, Insightful) 345

I've made the exact same argument to co-workers at many firms... namespaces (e.g. Timer_Init()), virtual functions (tables of function pointers), etc. can be approximated / kludged together... but automatically invoking a function at the right place (destructor and, let's face it, the constructor is pretty handy too) is something that has to be baked into the language, and C++ has it. I work in safety-critical systems, and knowing that I can't leave a function with interrupts disabled, I can't forget to close this socket, etc. is incredibly comforting.

I'll quote Bjarne Stroustrup here:

"Just that closing brace. Here is where all the ‘magic’ happens in C++. Variables get destroyed, memory gets released, locks get freed, files get closed, names from outside the closed scope regain their meaning, etc. This is where C++ most significantly differs from other languages. It is interesting to see how destructors -- an invention (together with constructors) from the first week or so of C++ -- have increased in importance over the years. So many of the modern and most effective C++ techniques critically depend on them"

Comment Amazon Vine (Score 3, Interesting) 116

I'd be interested to know if the data-crunchers at Amazon have looked at the Amazon Vine reviews, as a group, to see if they are slanted positive.

Amazon Vine is the program where a certain select demographic of Amazon customers receive free stuff (including items such as 60" TVs, laptops, etc.), with the understanding that they will objectively review the product and post the review on Amazon. My experience is that almost every Amazon Vine review is 4-5 stars. I'd also be curious to see if Amazon looks at the spread of reviews from Vine reviewers -- by that I mean, "Do reviewers in the Vine program rate free Vine products higher than other products they've bought?"

The implication being that Vine reviews (many of them) probably feel that a good review of a product that Amazon wants to sell is "quid pro quo". I strongly suspect that Amazon wants exactly the opposite of quid pro quo; they want early Vine reviews to weed out marginal or bad products.

Comment Re:Not sure, if this is "news for nerds" (Score 1) 120

Absolutely. In a similar vein, have you noticed, the reviews with "Amazon Vine" next to them are typically full of platitudes & praise?

I appreciate Amazon's transparency, in fact I applaud it, but I think the whole Vine program is a bit brain-dead ("Hey we just shipped you a brand-new 60" Samsung HDTV, please let us know if you like it.")

IMO the Vine reviewers would have a lot more credibility if reviewers had to return the product after 30 days (shipping paid for by Amazon). I'll bet if you check most Vine reviews, they are made within 7 days of receiving the product, and I bet they average something like 4.5 stars.

If there is a big-data person from Amazon reading this, try instituting a 30-day "use & return" policy for Vine, and watch participation go down, along with average review. That will tell you who's in it for free stuff, and who's actually interested in using products & writing meaningful reviews (don't get me wrong, I'm not one of them, I wouldn't do it...)

Even though Vine "membership" isn't tied to the average review you give, and (in theory) the terms of participation in Vine are such that Amazon can ask for any Vine item to be returned to Amazon at any time, that's not the reality.

Submission + - Embedded Processors: MSP430 Evolving to 32 bits? (twitter.com)

Smerta writes: The MSP430 microcontroller has been one of the most popular choices for low-power designs, although competitiors such as ARM and PIC haven't stood still. Apparently (probably coinciding with Embedded World in Germany last week), TI has indicated a big announcement is coming soon ("Spring 2015") in a message from its corporate Twitter account. After doing some digging, I found that in October 2014, TI filed a trademark application for "MSP432".

Are we about to see a full-blown low power 32-bit MSP430-family processor from TI? If so, what will it be — a new architecture, an ARM Cortex M variant, or something else?

Slashdot Top Deals

Decaffeinated coffee? Just Say No.