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

 



Forgot your password?
typodupeerror
×

Comment Re:Is this what the masses want (Score 1) 371

Well Python 2.7 to 3.X is certainly causing a stir. But with C++ I can still compile really old code. Usually the libraries are where trouble might brew. PHP is really compatible from version to version. I wasn't around during the 4.x-5.x wars but it was 5.x features that I had to have before I would use PHP anyway. Years ago when I was doing .Net I found that every version of .net twisted my code into knots.

So some languages are far better than others. But a whole other part of the game is the IDE and other tools. That can be a huge problem that can really choke a version upgrade to death in any language. On the other hand the latest version of the IDE can be the thing that pushes people into an upgrade.

Then there can be whole other motivations. Many people are learning C++ purely for Arduino. I learned Objective-C purely for iOS apps, but have since switched to C++ as I can then multi mobile platform my apps with ease; not to mention that I really hated Objective-C.

Comment Is this what the masses want (Score 2) 371

With most programming languages there are 3 sorts of programmers: There are those 9-5 programmers who examine their paycheck more closely than their code; there are those programmers who have mastered the language and can do amazing things to make it dance, and there are the hard core insiders who give talks at language specific conferences and are on steering committees.

With some languages such as assembler the bulk of the programmers are in the middle category, while with a language like PowerBuilder the vast majority were in the first category. But what I have found with almost all languages there are very very few people in the steering committee category and they can be very detached from the first category.

With Java I would hazard a guess that the absolute majority of programmers are in the 9-5 category and about the only thing they want from the next version of Java is to "Please please please" don't break their code. Beyond that their needs are simple.

So Oracle can let Java Stagnate and it will probably actually please that first group for the short term. Obviously, this can be unhealthy for the language so even that first group will lose out if the language dies as they will then have to learn a whole new language when they thought they could spend a whole career in Java.

But one thing that I have also observed in many of the mega Java based projects is that they are often 1 or more versions of Java behind. Thus even newer versions of Java are totally irrelevant unless they solved some critical existing problem in the codebase of these mega projects. The real issue is that as Java moves on it becomes more and more of an effort to upgrade a mega codebase to a newer version making it eventually impossible under that company's coding management.

So if Oracle ever did want to push forward with new Java ideas then it should also push a huge program where zillions of programmers were taught to manage a version upgrade for a large codebase and given the tools to make it as painless as possible. Remember 9-5 programmers love free trips to sunny places.

Comment An interesting death spiral (Score 4, Interesting) 502

The power industry can't just die, no matter how hard we try, but....

This is where it is going to get interesting. At some point (probably quite easy to graph) the combination of cheaper solar, cheaper durable deep cycle power storage, and braindead easy inverter and other power management technologies will make it feasible to switch to fully off grid with very little pain. I suspect that there will be some adjustment such as not being able to run the washer, dryer, vacuum, dishwasher, and a bunch of 55" TVs all at the same time but that the average household will be happy at some point to go off grid. But the key is that some people will go off grid as this equation approaches balance for a variety of reasons ranging from green thinking, a more consistent power bill (simply amortized payments for the capital cost), it came with the newly built house, and my favourite: a big FU to the power company.

So as this equality approaches a small number of fairly well moneyed houses will make the switch. While technically the load on the power company will marginally drop, their equipment service costs will remain steady. Thus as these customers leave the remaining customers will have to pick up the slack through rate increases. This of course will drive another handful of customers away; which is now driving a vicious cycle of rate increases. All this while the cost of the installed system will drop while the cons of having such a system will vanish. Also somewhere in this process that critical point will be crossed where it is cheaper to buy an off grid system than to stay on grid.

But there are a number of customers who can't leave. Some are simply the poor who can't obtain the credit for the capital costs, others are people in poor solar/wind locations; and then there are the high density customers who simply can't obtain a sufficient amount of renewables from their property such as tall buildings and factories.

So the rates for these remaining folks will be prohibitive if they have to carry the entirety of the power system capital costs alone. So even these folks will begin to look elsewhere for electrical power. I suspect a popular source will be natural gas generation, either through traditional generators or through some sort of fuel cell systems. This will push up the price of natural gas but will probably be much cheaper than grid power.

So my prediction is that the power companies and large power consumers will try to bend reality, they will attempt to make it illegal to go off grid, or they will charge regular fees to any house that does go off grid. I can see other tactics such as charging a tax for every KWh generated with your own power system. This will be in defence of not only the power companies but of the landlords and factory owners who don't want to pay for their own problems.

But this reality bending will simply be dealt with by the free market. Factories will move closer to power generation sites or will move the power generation sites closer to the factories. The same with high density buildings. I suspect that they will figure out some way to buy power. An interesting one would be to have containers with massive batteries that are charged at a power generation site and then trucked to the building. This might sound bonkers but it could end up being cheaper than paying for the unwieldy infrastructure of a power grid.

On top of all that this will certainly drive a massive quest for efficiency. Right now it is stupid to have any incandescent bulbs in your house. Yet most people still do. But if these bulbs meant the difference between needing a $10,000 power system and a $20,000 power system; people would throw them out with their next trash. The same will go for nearly every appliance. People will look at the 150W 55" TV and instead and opt for the 120W 55" TV; this being something that the TV companies don't focus on much.

On top of all that this will be another opportunity for third world countries to leapfrog over another technology as they did with landlines.

Comment Loved me som PRS-505 (Score 1) 172

My PRS-505 was great, it was a nice metal case, and it survived in my house where 3 Kindles met a cracked screen fate. Then its battery died and it is $30 for a new one.

But I could see from day one that the library that Sony was offering was pretty much an irrelevancy. I am not sure that a single book they ever offered (not that I looked more than once or twice) caught my interest. I long thought that Sony should have gone enterprise with a very large screen (close to 8 1/2 x 11 as possible) for reading legal documents, documentation, and basically the size that every PDF is aimed at. Then they could have charged quite a bit of cash per unit and banked on the Sony name to give it respectability. So here comes a paperwhite in my future as nothing beats sitting in the sun near the ocean reading a good book.

Comment Re:Absolutely (Score 1) 190

Years ago I was building an online phone bill checking system. (when this sort of thing was brand new). We were informed that a different phone company had tried to do the same thing but the public had lost their minds thinking it was insecure. Yet the security used by the other company had been quite good. So we used nearly identical security but had lots of icons of locks and vaults.

The simple reality was that had our system been insecure our pictures of locks and vaults would have still appeased the public far more than the claims the other company made about 128 bit this and that.

This is why voting systems this important need to be handed over to the public for some serious pen testing. Then the results need to be 100% available (as opposed to suppressed or sanitized versions). Otherwise their claims for security are as substantial as our pictures of locks and vaults.

Comment The greater insult (Score 3, Interesting) 207

While this has probably lost them some money, I have always felt that one of the reasons that the movie industry hates torrents is that it gives people such a wide choice that crappy films don't end up being downloaded. How insulting must it be when your precious darling of a film is so undesired that people won't even take it for free.

Not to mention that movies that aren't being "professionally" distributed suddenly have some traction.

Comment Absolutely (Score 3, Interesting) 190

I am in Halifax, Nova Scotia and we have shockingly stupid online/phone voting. In our last election it didn't make or break any elections but my trust in it is exactly zero. The software used is not open to the public, in fact almost nothing is told to the public except for sanitized versions of how secure the software is and how thoroughly they have tested it. Even many of the discussions about it were secret.

I have read a few mumblings about the dangers online voting but nobody substantial has come out and said that online voting is a clear and present danger to democracy. In Canada we had someone (never conclusively identified) who robocalled a bunch of people who were probably going to vote for one of the parties and tell them that it was "Elections Canada calling and that their voting station had been moved to a location far far away." The result was that many voters either didn't bother to vote or went far far away only to find out that they were in the wrong place and had to go way back to vote, again presumably this reduced number of voters. This was a clear and presumably effective law breaking cheat. If the person(s) behind this could have hacked an online voting system I am 100% sure that they would have. As the robocall thing turned into an actual scandal whereas a harder to detect hack would not only reduce their risk but also increasetheir chances of success to basically 100%.

I can consider myself to be somewhat expert in computer security but my simple explanation is twofold. Facebook, Google, major banks, companies like target, etc have all been solidly hacked; so how can some proprietary publicly untested system be so magically secure? Secondly how would anyone know that an election had been "adjusted" unless someone's cat bob wins with 99% the election will have results that surprise some people; just like pretty much every election.

And most importantly, anyone who wins through some sort of hacking will pretty much have failed the good citizen test at that point.

In Halifax, Nova Scotia the two main reasons given for the online voting were: to increase voter participation, and to reduce costs. Participation was basically at the same anaemic levels of the past; and nobody in their right mind would sacrifice the security of our democracy to save a few bucks. On top of that the election results were unusually slow to come in anyway, and I don't understand the money saving as they have just as many traditional polling stations as ever. The electronic voting does cost a bundle, plus I really hope the city is spending money auditing it which should be some serious auditing thus costing even more. Plus the extensive education campaign couldn't have been free. So if it somehow magically cost less than it would just be accounting magic, not reality.

On a personal opinion level, the reason for the anaemic participation levels is that government doesn't listen to us. We throw one set of bums out and the next bunch act identically to the last. If they genuinely wanted participation we would have referendums to approve the council "decisions". The voting would be fast and furious on a fair number of issues.

Lastly from what I have read, ever single different electronic voting system that security researchers have ever gotten their hands on has easily and completely been hacked. Often in many many different ways. The voting technology companies almost always have a similar line. "That was a previous model and our present systems have been proven to be 100% secure." yet they said that the easily hacked system had been totally secure when it had been released.

So if you figure out a way to have a ground swell political movement that shuts down your local online voting please PM me and I will try that here.

Comment Writing a book (Score 1) 209

I am actually writing a book on managing large projects that have gone to crap, and can say that you are being trapped in a classical routine where they will deliver what you ask for but not what you need. Then they will nail you when you realize that it wasn't what you wanted and will again deliver what you ask for but not what you need. Companies like this often will cultivate a great relationship with the most dysfunctional aspects of your organization who will ask for the most useless things.

The key is that you can never sue them as they will deliver exactly and contractually what you asked for. It doesn't matter that you asked for a Toyota Corolla with a trailer hitch to pull a full sized tractor-trailer sized load. That is what they will deliver. Then they will deliver an engine upgrade, a frame upgrade, a transmission upgrade, tire upgrades, etc. When they could have just delivered a truck as what you wanted was not what you asked for.

So the first thing is not to think about how to get this project back on track. What you want to do is to figure out where you are, and where you want to be. Then draw a straight line to there. What you might discover is that what you want is actually close to where you are, thus continuing with this debacle might be the answer. Or you might find that it is actually a shorter path to success from basically nothing.

Going mostly or entirely in-house is a good idea except that you might find that you have gone from depending on one bunch who don't seem to get things done to another who also don't get things done. So make sure to chunk up the project into pretty separate chunks. Then see who gets things done and who doesn't.

Needless to say the whole process has many more steps and more decisions (hence a whole book) but at least you don't need to feel bad about it going to crap; most projects do. But of all the discoveries that I have made simply using logic and common sense is a massively powerful tool. If something doesn't seem right then it probably isn't. If they say, "You need this 1 million dollar solution for this tiny bit." think about what is similar and how much that cost. Also be prepared to trim functionality if fairly useless things are holding things up. I have seen people build systems that could have been done in a day or two in Excel except for later unused features that required that some poor group of programmers basically had to build their own excel like application from scratch. So here was a project that cost millions that literally could have been done in house by an accountant over a weekend. At the same time I have seen people try to short-cut by using a tool like excel which resulted in a huge mess of worthless crap when it should have been done in something more like C++ in less than half the time. So there is no one answer.

So while getting it right can be hard at the best of times; it becomes nearly impossible if your development company is incented to work against you. Thus be prepared for an interesting battle merely sorting that aspect out.

Comment Re:Competent (Score 1) 962

I don't think that I have ever seen a female sysadmin, ever. But the job jumping is critical for paycheck success; but only for those that are good. Just about every programmer thinks that the company would fail without them but when they leave it is usually easy to fill their spot with someone equal or better. But when the really good ones go suddenly the company realizes that the company can't replace them with a single person or that they will need to massively pay more to fill the positiion. The result is that the new person benefits from this pay jump; except that the person who left has a good chance of jumping into the exact same situation; that is a company that has realized that they need to pay more for the vacant position.

I know one person (not a programming position) where the person left a after 35 years and a salary of $130,000 and after 6 months of searching they hired 3 people the top of the 3 is being paid $280,000 ($190,000 +plus massive benefits). But I guarantee that they would never been able to negotiate half of that raise short of something underhanded if they had tried to stay.

Comment Competent (Score 1) 962

If anything my experience female programmers on average are more competent. If they have any "failing" it is that they aren't blowhards which seems to actually work in many occupations. I don't know how many male programmers that basically claim "I came into that company and put a 2 year project to bed. Without me they would still be using punch cards." When the reality is that he worked as an intern formatting hard drives. Then when you look at his code it is the million monkeys with a million keyboards experiment done by a single programmer. Whereas the female programmers that I have met tend to take a task, finish a task, take a task, finish a task; no glory.

What I would say is that the worst male programmers tend to compensate for their terrible skills by being louder whereas the bad female programmers tend to either leave or find different jobs within tech.

But at the same time my experience within various organizations is that female programmers weren't treated any differently that I could see. It certainly wasn't ever a living episode of Mad Men.

So if I had to guess it is that any culture that sounds like what she is writing about comes from the top down. Programmers are rarely social gods; so if an asshole marketing type were running the company they might start taking their cues from him. Then I suspect it could get really bad really quickly.

Comment Re:The medium is the message (Score 1) 154

I think the key problem is that most games and real life situations require that you focus one task at a time. When we walk down the sidewalk we just need to look where we are going, the same with driving and so on. Thus most games based on real life won't translate. A space battle will probably translate fairly well so maybe asteroids will be one of the first big VR successes.

Your novel idea would probably be pretty good if it is written so that more than one thing is going on at a time; and yes good luck with the controls.

One game that I also thought would have some VR traction would be "Don't get eaten" where you play small creatures in a world where just about everything sees you as a snack. (hence why small creatures have nearly 360 degree vision.)

Comment Re:The more math the better (Score 1) 241

Financial. Although another project that I am in charge of is a game which uses much of the math I have recently updated, but nowhere near as much. In that case it is linear algebra and the corresponding matrix related math. Although much of that is taken care of by fairly comprehensive libraries; although it is nice to know what is happening when I have the libraries do their (no doubt optimized) math on things like vectors and whatnot.

Comment The more math the better (Score 3, Interesting) 241

I went for years keeping my math and my programming separate. Often programming involves little more math than x++. But then I really buckled down and learned a pile of math which I now pile into my programming. Interestingly enough when I try to show my algorithms to other programmers they say, "I forgot all that math 1 day after exams." But these algorithms often are cutting thousands of lines of code away and result in answers that are instant instead of a more iterative approach that could take minutes or much longer.

The math that I am referring to is all pretty basic year 1 or 2 stuff. Basic Discrete, basic calculus, etc.

Slashdot Top Deals

The cost of feathers has risen, even down is up!

Working...