Please create an account to participate in the Slashdot moderation system


Forgot your password?
Slashdot Deals: Cyber Monday Sale! Courses ranging from coding to project management - all eLearning deals 25% off with coupon code "CYBERMONDAY25". ×

Comment Faster evolution a trait? (Score 1) 208

Couldn't faster evolution develop as a trait, to evolve out of certain situations? If so, it is entirely possible that the earlier rate of evolutionary growth was correct and what we should be looking at is rate of rate of evolution.. but maybe rate of rate of evolution is also changing, in which case we should be looking at rate of rate of rate of evolution.. but maybe....

Comment Look at the bigger picture (Score 1) 621

While what the kid did is not an "invention" by any sense of word, it servers as a beacon of hope to all the young kids out there that their need to scratch that DIY itch will be rewarded. The kid was on the right path, and that is what needs to be blown out of proportion, to give everyone else an idea to aspire too. The kid probably doesn't deserve all the attention, but we need people like him getting attention, to at least have more role models to aspire to other than Kardashians.

Comment Eh! (Score 1) 246

Doesn't this just mean something like "3% of Windows users upgraded to the latest OS".. why is this a news article exactly?

Now, if as a whole the Windows market share dropped below mac+linux or if it rose above them or through some luck had 100% of the share, then yes it would be news. News need to be edge triggered not level triggered.

Comment Factor in cost of living (Score 2) 264

$100K in California, equates to around $5.5k in hand (for a single person) per month. 1 BHK apartments are going around $2.5K per month in Mountain view.. much much higher in SF. $500 goes for your car payments. A new grad would probably try to pay off his education loan off, so can take around $1k per month out for that.
Since bay area has a higher population of immigrants, you can assume that he is sending some share of the remaining money to his parents in his home country.

$100K is not a lot in SF Bay area.

Comment C++ is great if you don't abuse it. (Score 2) 296

As a systems programmer, I have used both C and C++. When using C, I (and my team) needs to expressly have the discipline to embrace the tenets of C++ vis-a-vis encapsulation, maybe some facade dp thrown in. Most of the rookie mistakes are easier to spot in C, but there is a lot more code to be written in C to achieve the same effect (writing & using an object agnostic linked list for example).
When using C++, things are hidden in plain sight, and rookie mistakes are easily overlooked, because someone found a "smarter" way to use the language. I've pulled my hair out in cases when people had overloaded operators in nonsensical ways. People would just compare a string with constant, without knowing that it is invoking a copy constructor and equals operator, which in turn is doing some form of strcmp to get the job done. C++ is great for system software if people know the ins and out of it and performance isn't of a great concern. It will give you the same performance as C if you know how to use it well.
Also if performance is important, you'd probably need to use DPDK on intel boxes for networking, squirrel away huge pages for your memory allocator or do something like jemalloc etc, so your choices might be limited.
If performance is not THAT important, then most of the modern libraries build on top of any high level language will give you all the tools that you need to build your project. Personally I'd try to look at Go. I don't know much about it, but it seems to have taken care of a lot of pain points in systems design (specially queuing, async processing, threads etc).

Comment Useless.. (Score 1) 244

Most programmers are not writers and will never write truly great documentation, but something they or someone at their level of familiarity can get. Most OSS is written by programmers who actually have a day job doing non OSS work. In closed source world (unless your product ofcourse is an api), documentation is often sacrificed in the name of "time to market". Those habits carry over to the open source projects too.

Unless there are more volunteers who want to write documentation for OSS, good documentation will not be written.

Comment Mesh network (Score 1) 52

IMHO, if Anonymous creates a big enough network of compromised routers, they could create a meshed voip service or something like firechat where they can communicate using the mesh, without being monitored. If they are "cracking" home routers, it wouldn't be to use the wifi router's measly 1G port and cpu for DDOS attacks, it'd be for something more ambitious.

Comment Stupidly expensive (Score 1) 299

This is a horribly inflated piece of marketing. A lot of urban households in India have power inverters in their homes to be used during the all too common rolling blackouts/load shedding, and draw power from grid when there is electricity. These are locally assembled devices made from two or more commercial truck batteries. The whole assembly is highly serviceable and customizable according to the budget. These are fairly inexpensive and have low cost of maintenance, and much smaller than 3ft*2.5ft*2.5ft.

It isn't that hard to make one yourself, just google for the schematics.

I don't know why Mr Musk is getting into the battery peddling business when even a village in India/China can get you a similar product (may be less efficient and not really great to look at). I guess people pay money to have a "Tesla" or "Apple" brand on their hardware, be it batteries or cars or music players or phones. He might need the money to funnel into battery research, that seems to be the centerpiece of a lot of his undertakings.

Comment Stricter compilation also an option (Score 3, Insightful) 233

Along with coverity as one of the commenters suggested, you can compile the code with stricter compilation options (like -Werror in gcc, which will error out if variables/functions are not used etc), you would then need to go through each of these files manually and resolve all the issues. Tools like bcpp can help you make sure your complete code base follows a common coding standard. Apart from that, if the name of the function is not indicative of what the function actually does, there are no tools smart enough to help you with that. You'd need to do a lot of cleanup manually by hand.

Comment Software Design (Score 2) 214

To be a great software developer, you need to write great software. Any great software requires a lot more forethought than just coding.
Upfront design is the key to flexible and maintainable software. Peer reviewed, simplified, unoptimized design gives you a great base to start writing great code. It is akin to listening to a shakespeare play before writing one (as opposed to just winging it as you move along) .

Comment C will always be relevant (Score 1) 641

C is an abstraction of hardware concepts, and newer languages (even C++) tend to be abstraction of concepts from Comp Sci (object, function curries, comprehensions, templates etc etc). Someone has to bridge the two concepts. C++ succeeds as a language that supports both, but never been that big because most people either use it as C (and not use any features), use it poorly (because they don't understand how the various constructs work) on the hardware end. C has lesser concepts to worry about, but gives more rope to shoot you on the foot.
E.g. simple statement like "if (string == "hello")" in C++ could mean that == is overloaded and if it accepts an object string, "hello" invokes the copy constructor for string object and passes it to the string object's == operator, which might do a char by char comparison, and then the unnamed object "hello" is destructed.
You generally don't care about this for business logic or if your website is getting one hit every few seconds, but if you are getting a million hits per second, you need to start optimizing the way you do things, you'd need to know which of L1/L2/L3 caches you'll miss, what'll be the real impact of your code. C, without the fluff, gives you lesser things to worry about.
C will be relevant because no other new language is trying to replace it.

A good supervisor can step on your toes without messing up your shine.