Become a fan of Slashdot on Facebook


Forgot your password?
Get HideMyAss! VPN, PC Mag's Top 10 VPNs of 2016 for 55% off for a Limited Time ×

Comment Re:As a C programmer (Score 1) 278

You are still confusing the OS Feature with the language and not considering the language type.
Python/Haskell/Ruby/Javascript are interpreted languages. There is a OS Particular and compiled program that reads the code and performs actions based on parsing out the text. .NET/Java Compiles into byte code than a particular program executes the bytecode as it is more efficient than trying to parse the real text.
C/C++/FORTRAN.... Are Compiled. There is a program (like GCC) that will interpret the text and convert it into Machine code

These libraries are often compiled in C just because it is a popular language for compiled code. However it doesn't have to be. There are other IPC processes in the OS that we can choose to communicate with other programs so you C code can talk to a Python Program or include your favorite java library as well. As well most of the languages will allow you to go the other way as well.

However it is rather poor form to mix languages (I am of the computer science discipline), I even shy away from including standard linux libraries in a python app, because it makes your code base much more difficult to maintain having to deal with multiple compilers and complex builds and difficult to trace problems, as well harder to distribute.

But to clarify my original point about reusability it was more about the programming discipline of trying to keep your functions and methods more generic and flexible so you don't have a lot of similar functions with minor tweaks. And this isn't a rib against the language it is just the Computer Engineering programming methodology will put value in generic code but not at the expense of performance. While the Computer Science methodology will be more willing to tradeoff performance for less rewriting code in the future. These are tradeoffs that we have to choose to make, they are not necessarily better or worse but people who follow a particular discipline have formed their habits and will default to what they know. Sure with my Computer Science Discipline will have to break the rule and make a particular function for only one job because it needs to run fast because I see it is a bottleneck. And yes the Computer Engineers will make generic functions as they know it will be needed over and over again other wise they will be spending too much time coding the same stuff.

Comment Re:It's a ridiculous JOKE (Score 1) 111

Such statements aren't usually wrong. Some superfast mass mover will exist on the ground. MagLev, or Hyperloop, or what-have you. Keep in mind, when poeple said, e.g. Da Vinci's ornithopter thing would never fly, they really meant heavier than air flight. And ewhile we got heavier than air flight, and his ornithopter can now be buitl, we primarily use planes or helicopters. The few ornithopters are built as toys. Likewise, while we may eventually be able to build a hyperloop, it seems likely that mag leve will beat it as super-fast people mover.

The statemnts that are normally wrong are theings where no competitor obviates the need before the technology matures.

Comment Re:Why not? (Score 1) 948

I can predict he'll start isolationist trade policies (his only consistent position for 30+ years), that he'll prefer Putin to our historic allies (he's been working on Putin for Trump Tower - Moscow for 15 years), that he'll poison our relationship with Mexico (at least offically and for the length of his presidency), that he'll cause a crazy debt default incident (the Republicans already went half-way, and he's never said anything indicating he understands what works well for a casino doesn't work well for a country).

Is that sufficent?

And,yeah, Clinton's no prize. But if the worst that happens is she takes a few million bucks to pardon a tax cheat who already fled to a non-extradition country or gets eaten out in the Oval Office, I honestly don't care about those scandals.

Comment Re:Wait... Who got that other half of the $$$ rais (Score 5, Informative) 32

I spent about fifteen years of my career in the non-profit sector, so I have some perspective on this.

Raising money in a non-profit is just like selling stuff is for a for-profit. Generating gross revenue is relatively easy -- if you spend a lot of money you can rake in a lot of dough. What's a bitch to generate is net profit. In the non-profit sector we don't use the term "profitability" very much, so the metric that's often used to describe financial is "cost to raise a dollar." For typical fundraising activities cost-to-raise-a-dollar runs from 0.25 to 1.5 dollars/dollar.

Take junk mail. The cost to raise a dollar for a well-run direct mail campaign is in the range of $1.25 to $1.50, so if I want to raise $115,000 to spend on other things I have to scale my direct mail campaign to bring inover $258,000 gross. As you can see I chose a net target that was exactly 1/1000 the size of the ALS bucket challenge net, so you can compare the efficiency of the processes readily. The cost to raise a dollar for the ALS bucket challenge is actually better than a well-run direct mail campaign -- $0.91.

And it should be more efficient than direct mail, because direct mail is about the least efficient method there is. The marginal costs are huge because you pay for the names and addresses as well as printing and mailing of each piece, and most of those pieces will end up in the landfill unopened. So if direct mail is so inefficient, why use it? Because the financial inefficiency doesn't matter to the organization doing the fundraising. The end result of my hypothetical direct mail campaign is that my organization has $115,000 it didn't have before. That probably pays for one and half full time staff positions (at the low do-gooder wages we pay) for a year.

So the ALS challenge was in the financial efficiency range of methods normally used by non-profits, albeit a little towards the inefficient end. That doesn't really tell us if the campaign was responsibly run or not; to know that you'd have to look at all the expenses and compare those to costs in other viral Internet fundraising campaigns. But the bottom line is that the ALS association ended up with $115 million it didn't have before.

Can you think of a way of raising $115 million in a few months? I thought not. So presuming the guys who ran the campaign didn't spend the money on hookers and blow, I wouldn't be unduly concerned by a cost-to-raise-a-dollar of $0.91 if I was on the board.

Should donors care that the ALS challenge was a little high on the cost-to-raise-a-dollar metric? Well, I look at it this way. People did it because it was fun and for a good cause, and two years later we can point to concrete and significant scientific results from the money raised. That's not only pretty good, it's pretty damned awesome.

Comment Re:so much for Prime (Score 1) 18

This is for successful Kickstarter products, that is ones that have already shipped to their backers and are ready to start selling the product to others.

All startups who participate in Launchpad receive custom product pages, a comprehensive marketing package, and access to Amazon's global fulfillment network, the retailer notes.

Given that I see no reason why they couldn't be included in prime, and browsing through the page, most of them are.

Unless your post was a joke, in which case: /swoosh.

Comment Re:As a C programmer (Score 2) 278

You are confusing the language and the OS feature. That will need to be recompiled for every OS once compiled it isn't c code it is a compiled library. I could make a library in any other compiled language say FORTRAN.

If distribution your c code and the new system doesn't have the library then you get into dependacy hell.

Now C is considered portable because you can compile it on a different system. But that Python program I make I can run on Linux or Windows without any changes. Just as long as the interpreter is installed.

Comment Re:As a C programmer (Score 2) 278

C in terms of its primitives are portable. However if you are making a Phone App, you are not going to have a lot of luck with making a cross compiled app with a UI that will work well with iOS and Android. Because a lot of the code requires calling libraries and OS particular functions. Sure you can do it with bunch of #ifdef
but it is nearly like writing a program over again for each system. You would be better off with a good source control.

Comment Re:As a C programmer (Score 4, Insightful) 278

First this is from the IEEE.

Many Software Developers are not affiliated with the IEEE as they may have followed the Computer Science discipline vs the Computer Engineering discipline.

So for the people IEEE would survey would be Engineers and companies with a Engineering discipline.

Now this Engineering discipline is about a make it once and make it right mentality. Meaning there is a preference towards more lower level coding, allowing detailed and measured controls over each line of code, at the expense of maintainability and programming time. C and Java is good for that type of coding.

However the Computer Science discipline is about making it maintainable, reusable, and fast deployment. This could cause less reliable programs with harder to calculate measures on performance. So languages such as Python and .NET have more appeal.

These different disciplines have cause many of flame war, as each other camp looks at the other guys code and says it is pure crap, because they focused so much on X and not on Y where Y is far more important and needed in real life.

The problem with C isn't that it is a hard language. It is a very simple language. But because it does things at a lower level there is often a lot of extra work (Memory Management and Pointers) that makes it difficult to get up to speed because it requires a lot more attention to detail on how each part works. While these other language you focus more on the problem being solved, even though your solution while solves the problem could be done so much better.

Slashdot Top Deals

"In order to make an apple pie from scratch, you must first create the universe." -- Carl Sagan, Cosmos