Follow Slashdot blog updates by subscribing to our blog RSS feed


Forgot your password?
DEAL: For $25 - Add A Second Phone Number To Your Smartphone for life! Use promo code SLASHDOT25. Also, Slashdot's Facebook page has a chat bot now. Message it for stories and more. Check out the new SourceForge HTML5 internet speed test! ×

Comment Re:Professional programmer? (Score 1) 347

Professional programmer, noun, someone who has made programming their primary CAREER and has a recognized formal education.

There is no need to have a recognised formal education to be a good developer (although it sometimes helps you get your first graduate junior developer job). Far more useful is a few years spent contributing to open source projects and getting used to getting your code reviewed.

Once you have been programming professionally for a few years it is all about your previous roles, nobody gives two hoots about your academic background if you ace the interviews, do well on the technical tests and have at least 2 or 3 years solid commercial experience.

Comment Re:Very simple (Score 2) 347

They only have three hours in which to do this.

Personally, I'd suggest beating them over the heads with printed copies of man pages whilst trying to emphasize the importance of commenting their goddammed code.

But that's just me.

If code needs comments your probably doing it wrong. Code should instead be broken down into small units with meaningful method names and tests.

There are certain edge cases where you need to include a comment because you might be doing something strange then the comment can explain why you doing, for the most part though the code should be easy to follow just by reading through the method names.

Oh, and while we are on the subject, as soon as you use And in a method name really try and split it into two seperate functions.


function doThisAndThat(...)

function doThis(...)

function doThat(...)

Even if both of those methods will always be called together one after the other for the rest of eternity that it still far than the alternative which is that some fool after wards comes along and changes it into: doThisAndThatAndTheOtherThing(...)

Comment Good fun (Score 2) 519

Isn't it fun, watching all the people who were out in the streets over the NSA's bulk domestic surveillance, suddenly reassuring us that there's all sorts of oversight over wiretaps?

Isn't it fun, watching all the people who cheered Snowden on, suddenly up in arms about "irregular" declassification of information by the president?

Submission + - Ask Slashdot: Distributed file sharing 1

DeathToBill writes: I'm a software engineer, and so also the guy who knows stuff about IT, in a company with five employees. All five are based in different cities on two continents. So far, we've used Dropbox for file sharing. The main drawbacks are the cost (£108 per year per user) for still-limited storage space, not-terribly-good collaborative editing, limited version history and very coarse permissions (top-level folder controls only). I'm looking into other solutions, but am finding it difficult to get a feel for how well different solutions actually work. We really like Google Docs' collaborative editing, but we'd like to still be able to use MS Office as users are familiar with it. As well as documents, spreadsheets and presentations, we also need to be able to share engineering outputs such as CAD drawings, schematics, PCB layouts and so on. Most of our work happens on Windows, but a couple of us (mostly me) switch back and forward to Ubuntu for some jobs, so a Linux client would be very useful (even if Office documents aren't editable there). We need some sort of permission control, preferably reasonably find-grained but easy enough for non-technical people to set permissions. At the moment we're getting by with a few GB, but that's becoming a struggle. Most of our users are usually connected, but offline access is occasionally important. We're currently using hosted services, but are happy to host our own if it makes it better or cheaper. What does Slashdot recommend? Is there something great out there that solves all of these?

Comment Economics (Score 1) 435

There are lots of other reasons others have pointed out, but I think it's also worth pointing out the economically bad timing of 3D TVs. Big-screen TVs got established in part because they were released during an economic boom when credit was cheap. Remember those people mortgaging their house to buy a TV?

3D TVs were released in the aftermath of an economic crash when credit was almost unobtainable. I think if manufacturers had a few more years of patience with the market, they might see a different result.

Comment Not news (Score 1) 504

This is not exactly news. On the one hand, it's true; solar is considerably cheaper than anything else in large swathes of the developing world and has been for a while now. It's only going to get more-so. However, that's only the case if you use it to offset grid usage; a complete off-the-grid solar system, with enough storage to see you through the night and the odd cloudy day, is still going to cost you more over its life than the equivalent grid supply. The costs are heading down, and it's not far off being worth doing in some places, but it's not there yet. There are a few cases where supply costs aren't the only consideration where solar-with-storage is already reliable for other reasons; we came across a mining outfit with a very large crusher and a very unreliable grid. Every time the grid cut out, their crusher stopped, and someone had spend a couple of hours climbing through it clearing out the half-crushed rubble before they could restart it. Concerns about the 'unreliability' of renewables are a very first-world thing, where the grid alternative has several nines of reliability; when there are more sevens than nines involved in the grid reliability, renewables suddenly look pretty reliable.

But. On the other hand, the cost numbers are a bit deceptive. The comparison, especially in the first world, is always for _new build_ capacity. So if you're looking to add 100MW capacity and the choice is between solar-with-storage and a new 100MW coal plant, solar might well out-perform coal in a few years. But if the choice is between 100MW of existing coal capacity and 100MW of new-build solar-with-storage, there's no competition and won't be, probably ever, for two reasosn: One, you've already spent the sunk costs of the coal plant and they're being amortized over the remaining life of the plant, so replacing it with solar means there is a sudden 'cost' to account for, which you've actually already spent but which you were planning to make back in the years to come but now can't. And two, because almost all the costs of renewables are in the construction phase (ie there is no fuel to buy), you need the money sooner than you do with fossil fuels, so you don't get to spend the money on something else. As a crude example, suppose you have two 100MW projects, each with a life of 20 years, one coal and one solar. The coal plant costs $50 million to build and you'll spend $50 million on fuel evenly over its 20 year life, while the solar plant costs $100 million to build with no operating costs. The overall cost is equal, but with the coal plant you have $50 million to invest in something else until you actually need the coal, while with the solar plant you've already spent your whole $100 million.

The exact difference depends on the (assumed) discount rate, and what number to use is a matter of considerable controversy. See eg. the Stern review, which assumed a very low discount rate, to make spending now look more competitive than spending in the future. To go back to the example, assuming a discount rate of 3%, the solar project has to cost around $88 million to be competitive with the coal project.

Comment Ineffective (Score 5, Informative) 351

Technical measures that prevent address spoofing are quickly becoming obsolete anyway; AFAICT, the recent attacks on Krebbs and Dyn, the two biggest DDoS attacks ever, didn't use spoofed source addresses. A spoofed address is only useful in an amplification attack, where you send a small request which provokes a much larger response; then if you don't spoof the source address, you get a huge firehose of responses coming at you and it's you that gets DDoSed, not the target.

In this case, the attackers didn't bother spoofing source addresses, because they didn't use an amplification attack; they just used a huge botnet all making ostensibly-valid requests and each device dealing with the response individually. It looks like the only way we have of preventing this sort of attack is to make the devices secure - easier said than done.

Comment Re:Offshore wind is very uncompetitive (Score 1) 222

The main costs in onshore wind are the grid connection and the cost of steel & fabrication of the tower sections. Between them, over 50% of the cost of the resulting energy. There is progress being made still in lighter, more flexible towers, but I'm not sure how much further there is to go; these days a 1% gain is a big win, while ten years ago a 10% gain was perfectly feasible (eg individual pitch control reduced tower loads by ~ 10-15%). The cost of the grid connection is largely out of the control of the project developer and no-one who is able to reduce it has any incentive to reduce it, so don't look for big savings there. Sure, there's another 40% or so of the costs that can be optimised, but that's spread over lots of small things, so eg halving the O&M costs will not make a big difference to the overall cost of energy. It's hard to see steel getting a lot cheaper than it is, so it seems likely that onshore wind is approaching its long-term cost.

Offshore is another matter. An offshore turbine is just an onshore turbine that's bolted to a support structure that's in the water (more or less) so the costs of the turbine itself are pretty similar to onshore. The main thing holding up the cost of offshore wind is being able to hire a suitable construction ship on a day when the whether is suitable. So yes, development of specialised construction ships that can operate in worse weather, and expansion of the fleet of such ships, is the big factor in bringing that cost down - though it's unlikely to ever match onshore wind. Floating turbines are also a concept that cuts these costs significantly - no need to drive piles into the ocean bed to anchor the support structure - though you do still need some seabed structure for the grid connection etc. I don't think anyone's quite ready to start building large fleets of these (though there are plenty of prototypes around).

Grid connection is a bugger, whether it's for a grid-scale wind farm or a residential solar panel. Way too much of the cost of these systems is just getting the thing connected to the grid. Feed-in-tariffs don't help here, as they make the metering more complicated (you have to measure imported and exported power separately, instead of just measuring net power imports). Someone ought to do something about that. Cheaper inverters and simpler meters FTW.

Comment Some basic flaws here (Score 5, Informative) 298

Off the top of my head:

1. "Every year we hear about people dying in plane crashes. This does not have to continue..." But air travel is already the safest mode of travel. Hear all those people screaming for new technology to make road travel safe? No? Well, they're the same ones that will take this up.

2. "Passengers might board a capsule at a local bus station and wake up in another city on the other side of the country, or planet, after a road, air and rail journey during which they didn't leave their seat." They don't seem to realise the blindingly obvious point that this is making air travel *worse*. Air travel already involves sitting in a seat for too long. Why would I opt for a mode of travel that exchanges a few minutes of having to be polite to people in the aisles for one that involves several hours more in the same damn seat?

3. If you want to see just how off-their-faces unrealistic this is, look no further than this sentence: "Clip-Air's researchers, who are also looking into the possibility of using biofuels or liquid hydrogen as alternative fuels, have already initiated some contacts with the aerospace industry." Oh, great! You're launching publicity for a total redesign of the entire global air freight and passenger industry and you've *already* initiated some contacts with the aerospace industry??? Really??? What made you do that so soon??? And looking into hydrogen as a fuel source for this is basically admitting, "It's so far off the page that we might as well throw in any futuristic-sounding crap we can." If you're doing this seriously, get one thing right at a time. Don't complicate it by also trying to introduce a fuel that no-one else has managed to make work yet.

People who consider themselves "aviation visionaries" (yes, an actual term used in the article) always, always get excited about this kind of thing for no good reason. They *think* people want revolutionary concepts that change how they board planes and let them work out then drink themselves silly in a trendy bar while they're in flight. What people *actually* want are revolutionary new concepts that cut the cost of air travel.

Comment You pay WHAT for mobile data??? (Score 3, Insightful) 145

Bloody hell. Here in the newly-independent UK[1], £11 per month gets me 1GB of data, among other things. Another £3 per month turns that into unlimited data. ANOTHER £2 per month turns that into unlimited data with 4GB of data usable by a device tethered to the phone. That's right, £16 per month for unlimited data on the phone and 4GB for tethered devices. "Heightened competitive environment"? Could still use some work, I think. [1] Yes, yes, I know.

Comment Difficulties (Score 1) 324

Two problems I see with this: 1. Safety. If the grid goes away, this thing will have no reaction torque to apply, and it ain't gunna stop in a hurry. 2. Scale. A quick look at Wikipedia suggests that the heaviest goods trains in use anywhere are about 40,000 t. Suppose you have a mountain where you can raise that 1,000m. The energy involved is roughly 40,000 * 1,000 * 10 * 1,000 = 4e+11 J. That's 4e+11 / 3.6e+9 = 111 MWHr. It's not small cheese, but it's also not national grid scale. As I sit at my desk, demand on the UK national grid is ~31GW. It will last 4e+11 / 3.1e+10 = 12.9 seconds supplying the whole country. That 40,000t train is about four miles long, BTW, so there's a limit to how many of them you can put on the same bit of track. As I say, it's not small cheese, but at the same time, in our renewable-powered future, being able to smooth out a few hours of low wind is going to require a lot of trains and a lot of quite large mountains to drive them up.

Comment Re:Cliches (Score 1) 324

I know you meant this to be funny, but you're probably right. For this to work, of course, it has to use regenerative braking to return energy to the grid. So what happens in a grid-fault scenario, when the regenerative braking can't apply any torque to stop the train?

Comment Re:Web developers (Score 1) 108

If by that you mean javascript bloat, then yes, developers have made a mess of the web. For example, a typical product page on Amazon is 1.8M of *minified* javascript.

The problem is that developers no longer answer to their bosses. They answer to web forums. They are so afraid of doing things other programmers wouldn't find acceptable that they'll code to please web forums rather than doing their job. That means using the heaviest frameworks available and writing the deepest, most complex code they can manage to understand themselves.

Actually the problem is that the idea of doing stuff on a web page, then clicking a submit button and reloading an entire page just for a few pixels to change is a clunky old way of doing things that deserved to die.

Javascript lets us create a richer, more responsive experience that most users prefer. We can provide instant feedback on a field within a form that will fail validation, we can instantly tell people their chosen username is already taken, we can guess ahead at what the might be about to search for and autocomplete for them in a more intelligent way, we can create graphs that track data in real time.

  The possibilities we get from intelligent use of JS open up so many things we simply couldn't do otherwise without native apps. Most users embrace this in one way or another, even if they choose to restrict it to sites they trust.

Comment The Missing Post (Score 5, Informative) 133

He posted a blog post yesterday and it's currently cached but essentially he promises to move BTC from early blocks to do the final verification. This was up yesterday before his stupid wah wah redirect went up. I'm reposting it here in case it's ever removed from google cache (I hate scammers):

Extraordinary Claims Require Extraordinary Proof
May 3, 2016

Yesterday, Andreas Antonopoulos posted a fantastic piece on Reddit.

Andreas said something critically important and it bears repeating: “I think the identity of Satoshi Nakamoto does not matter”.

He’s absolutely right.

It doesn’t – and shouldn’t – matter to the Bitcoin community.

I cannot deny that my interest in bringing the origins of Bitcoin into the light is ultimately and undeniably a selfish one – the only person to whom this should matter is me. In the wake of the articles last December in which I was ‘outed’, I still believed that I could remain silent. I still believed that I could retreat into anonymity, sever contact, go quiet, and that the storm would eventually pass and life would return to normal. I was right and wrong. The story did eventually retreat, but not before it ‘turned’ and the allegations of fraud and hoax (not to mention personal threats and slurs against me and my family) clung to me.

I now know that I can never go back.

So, I must go through to go forward.

Mr. Antonopoulos’ post also notes that if Satoshi wants to prove identity, “they don’t need an “authority” to do so. They can do it in a public, open manner.” This is absolutely true, but not necessarily complete. I can prove access to the early keys and I can and will do so by moving bitcoin, but this should be a necessary, but not sufficient, condition for such an extraordinary claim.

And this is why I wanted to speak with Gavin weeks ago. Gavin was in a unique position as we dealt with each other directly while we nurtured Bitcoin to life in 2010. I knew that Gavin would remember the content of those messages and discussions, and would recall our arguments and early interactions. I wanted to speak with Gavin first, not to appeal to his authority, but because I wanted him to know. I owed him that. It was important to me that we could re-establish our relationship. Simply signing messages or moving bitcoin would never be enough for Gavin.

And it should not be enough for anyone else.

So, over the coming days, I will be posting a series of pieces that will lay the foundations for this extraordinary claim, which will include posting independently-verifiable documents and evidence addressing some of the false allegations that have been levelled, and transferring bitcoin from an early block.

For some there is no burden of proof high enough, no evidence that cannot be dismissed as fabrication or manipulation. This is the nature of belief and swimming against this current would be futile.

You should be sceptical. You should question. I would.

I will present what I believe to be “extraordinary proof” and ask only that it be independently validated.

Ultimately, I can do no more than that.

Slashdot Top Deals

Have you reconsidered a computer career?