Slashdot Mirror


User: Ckwop

Ckwop's activity in the archive.

Stories
0
Comments
459
First seen
Last seen
Profile
(view on slashdot.org)

Comments · 459

  1. Re:Migrations are costly and newer is not better on Department of Homeland Security Still Uses COBOL (softpedia.com) · · Score: 1

    This, I believe, is the story of EVERY migration. It's not necessarily that older is better, or "they don't make them like they used to", but that software development is a bug-prone and arduous process that you will not get right the first time.

    This is absolutely the case. Software projects are still incredibly risky. You only have to read the Standish Group's CHAOS report to see how risky these sorts of projects from a management perspective.

    The fact that the system is still there doing it's job means that the original project was one of the lucky ones that made it through to a somewhat successful conclusion. You need a very good reason to run that risk again.

    In general, just upgrading your dependencies and tool-chain is probably not a sufficient excuse. You need some other compelling reason.

  2. Re:Team Reviews are far superior on Code Reviews vs. Pair Programming (mavenhive.in) · · Score: 1

    When I look at the list of 100 bugs found by a single tester in my team, who is not busy having review meetings and counting metrics, in a week, I laugh at these numbers.

    If your tester is finding 100 bugs a week, you're doing it wrong. Your underlying quality is much too low. It's much more expensive to find a bug by functional testing than by code inspection. This is because all those bugs need to be fixed and retested. This usually requires a rebuild and other ancillary tasks that drive up cost.

    Worse, it's usually a geometric progression with this kind of pattern in that for every hour spent bug fixing, there's a ratio of new bugs introduced that have to be removed by the process. This process repeats until the defect count is acceptable. Even with a relatively low co-efficient of bug introduction, the geometric series usually adds 20-30% additional cost to the development.

    Sometimes I think a lot of software processes are held up as improving quality not because they actually work, but because the reduced productivity makes the quality metrics look better..

    This comes back to my earlier point on people ignoring published research because they feel they know better. Do you know there's actually properly controlled scientific trials that actually establish the truth of what I'm saying? Why is your thought superior to this research? Why is this research defective?

  3. Re:Team Reviews are far superior on Code Reviews vs. Pair Programming (mavenhive.in) · · Score: 2

    No offense meant, honestly, but your place sounds miserable to work at. It's not the process, but the ridiculous level of formalization and standardization.

    Code inspections work best when they're formal with clearly defined roles and clear reporting steps. There have been large scale studies done that confirm this. The research fed in to the development of the Cleanroom methodology pioneered at IBM.

    The less formal the structure, the less well it works.

    One of my big bugbears with software development as a craft is our failure to really learn from experience. There were lots of studies done on the craft from decades ago that cleanly establish these basic principals. We choose to ignore them because developers feel they know better than published research.

    The truth is that people suck at writing software. Even the very best developers in an organisation are not as a good a team of lower quality people that inspects their own output. Teams > individuals.

    Honestly, it isn't as corporate as it first appears. Once the roles are defined, the work turns to inspecting the source. It takes a few seconds to cover off that part of the meeting and from there the real work begins.

    There are other benefits

    One is that everyone has read everybody's source. There's none of this "Only Bill knows that piece of code." The whole team knows the code very thoroughly.

    Another is that relatively junior people end producing code just as solid as person with 25 years experience. They end up learning a lot on the way. Do not estimate the tremendous power of that.

    My teams enjoy the process and they certainly enjoy not getting as many bugs coming back to bite them in the future when the feature is out in production. Once they're done, they tend to be done and are free to move on to the next feature.

    The benefits of having a cleaner code base, fewer issues and more accurate delivery times has a huge affect on morale.

  4. Re:Team Reviews are far superior on Code Reviews vs. Pair Programming (mavenhive.in) · · Score: 1

    Please mention the place so I never get into a mile of it. How would of Linus have created Linux without people like you? Didn't he understand the technical debt he was creating? He could have been finding bugs at a rate of 1.25 per applied man hour instead of actually creating something useful! Silly man. You process guys are useless.

    I find this example really odd because Linux is built around a process of a huge amount of code review. They do it differently because they're a distributed team but they absolutely have a rigorous code review process.

  5. Re:Team Reviews are far superior on Code Reviews vs. Pair Programming (mavenhive.in) · · Score: 3, Interesting

    You sound like a bean counter, and your organisation sounds like it is hell to work in. 1.25 bugs per man hour? Christ.

    Well I'm the head of development at our place so I inhabit both worlds. Businesses like to measure return on investment. By being able to speak that language, I can generally frame activities developers naturally want to do in those terms. This leads to developers getting more of what they want.

    You know what developers really, really, really hate? Having to work with technical debt and having no process to remove that technical debt because the program is now "working".

    The best way around technical debt is not to put it in to the program in the first place. This process does a sterling job at that. So our developers are generally a pretty happy bunch.

  6. Team Reviews are far superior on Code Reviews vs. Pair Programming (mavenhive.in) · · Score: 4, Interesting

    In our organisation, we have teams of six people that work together on their sprint. QA staff are included in this team.

    On major features, the team code reviews the feature together in a special session. Roles are assigned. The author is present, a reader (who is not the author) reads the code. There is an arbitrator who decides whether a raised issue gets fixed. This arbitrator role is rotated through the team on an inspection by inspection basis. Finally, there is a time keeper role who moves the conversation to a decision if one topic is debated for more than three minutes.

    This process typically finds a humongous number of issues. It takes us about 4 hours of applied effort to discover a bug in pure functional testing. This process discovers bugs at a rate of 1.25 bugs per man hour of applied effort. So if you have five people in a room for one hour, you have applied 5 man hours. You'd expect to find 6-7 bugs. If you include all the stylistic coding standards bugs, this is typically 10-15 bugs per hour.

    So while on the surface it looks expensive to have all those people in a room talking. The net result is that it tends to accelerate delivery because so many issues are removed from the software. Better still, the review occurs before functional testing begins. This means the QA staff on the team can direct their testing at the areas highlighted by the inspection process. This further improves quality

    It's true that about 50% of the ossies are stylistic issues. But usually we get 1 or 2 bugs per session that present a serious malfunction in the program. The rest could be problems under some circumstances or minor faults.

    Team reviews are vastly, vastly superior to pair-programming. There really is no contest.

  7. LISP on The Most Important Obscure Languages? · · Score: 4, Interesting

    LISP is probably the most powerful language every discovered. I say "discovered" here and not "created" deliberately. There is a quality about it that makes it feel more like an extension of mathematics rather than a language.

    It might have conquered the world if only Eich had been allowed to build Scheme in the browser, as he was hired to do.

    Instead, it languishes for some reason I can't really understand. I still wish for a day it becomes a mainstream language but I think it'll just remain a wish.

  8. I doubt it on Confidence Shaken In Open Source Security Idealism · · Score: 2

    I'd be surprised if a random member of the public could even define what free software is. They'd probably think it's connected to the cost of the software rather than its freedom giving properties.

    That said, I think that the view that with enough eyes all bugs are shallow is false. Given that bash is used in millions and millions of servers and the bug took decades to root out, we must think of a better way to get eyes on the code.

    The whole stack needs a line by line review by security experts. That will cost tens if not hundreds of millions of dollars but my view is that it's probably worth it. Then we have to make sure all changes get reviewed in the same way.

    The result of this process would be a super-hardened version of OpenBSD. It would come with a nice fat government certification and if you want to do business with the government, you have to use that distro.

    That might rub people up the wrong way but I think that's what's ultimately going to happen eventually. A lot of this infrastructure is so critical to the modern economy that we can't just run any old code anymore.

  9. Microsoft is a spent force on Ballmer Leaves Microsoft Board · · Score: 4, Interesting

    Microsoft doesn't have many fans on Slashdot but even the most die-hard of fans must now see that they're in a real bad position.

    The used to be invincible in the consumer space but now the computing device of choice is either the tablet or the smart phone. Precious few of these are Windows based.

    The used to be invincible in the business user space but the move to mobile computing means business people are using iPhone and iPads, not Windows Phones and Surface.

    Then there's Bing, who's only claim to fame is being the world's greatest search engine. For. Porn.

    Then there's Azure. We actually looked at Azure and discovered that the same hardware in EC2 was half the price. If you going to twice as much you might as well give up and go home.

    Then there was the own goal of the latest generation XBox. They managed to piss everyone off for no discernible gain.

    The only area their grip is still strong is PC gaming. For how long, who knows?

    Microsoft is a spent force. They're out of ideas. In a few short years they've gone from being the 800lb gorilla to just struggling just to remain relevant.

    It reminds me of Brazil versus Germany at this year's world cup. I'm not celebrating any more; it's just sad at this point.

  10. Re:No steering wheel? No deal. on Google Unveils Self-Driving Car With No Steering Wheel · · Score: 4, Insightful

    Sorry. While I love technology, my not-so-humble opinion is that we're nowhere near the level of reliability needed for a car that's completely free of manual control.

    The Google car has done something like 700,000 miles and crashed twice. Both times this occurred, it was under control of the human occupant.

    I drive to work every morning and the number of times I see people not paying attention is extraordinary. Women doing their makeup, people texting, trying to argue with their children etc.

    Honestly, in my view, removing the steering wheel is a safety feature.

  11. It's pretty standard... on Programmers: It's OK To Grow Up · · Score: 1

    You think Software Development is bad for this? At least the equipment is inexpensive and the material accessible.

    In aviation, you'll pay > $60,0000 of your own money to get your ATPL all to start on a wage of $25,000.

    What about medical school or law school? That's pretty expensive and comes out of your pocket.

    Many serious professions require you to spend money on your training. It just comes with the territory.

  12. Re:need to get over the "cult of macho programming on How To Prevent the Next Heartbleed · · Score: 2

    I actually agree with both of you. The Open SSL guys gave out their work for free for anybody to use. Anybody should be free to do that without repercussions. Code is a kind of literature and thus should be protected by free speech laws.

    However, if you pay peanuts (or nothing at all) then likewise you shouldn't expect anything other than monkeys. The real fault here is big business using unverified (in the sense of correctness!) source for security critical components of their system.

    If regulation is needed anywhere, it is there. People who develop safety and security critical stuff should be certified and businesses with a turn over $x million dollars should be required to use software developed only by the approved organisations.

    There is nothing in this definition that prevents an open source implementation. In fact, there's an argument to say that any such verified implementation must be open source precisely so it can be inspected. But it is quite a lot of work and people need to be paid to do that work. You can't expect to get this level of quality assurance for free.

  13. Still fewer cancers than fossil fuels on Safety Measures Fail To Stop Fukushima Plant Leaks · · Score: 2, Informative

    Fukushima is a serious nuclear disaster. It's a very situation that we should all be concerned about. But this should not lead to any pause in our appetite for nuclear energy.

    What people often fail to appreciate is that even coal fired powerstations release quite large amounts of radioactive material in to atmosphere. Coal fired powerstations burn about a million times as much material as a nuclear powerstation per joule of energy produced. Some of that material is radioactive. That stuff isn't been sealed in a container in burrried in a mountain, it's being blown up chimney stacks along with the rest of the rather unpleasant stuff.

    Don't believe me? Reflect on this passage taken from this (PDF) document:

    The EPA found slightly higher average coal concentrations than used by McBride et al. of 1.3 ppm and 3.2 ppm, respectively. Gabbard (A. Gabbard, “Coal combustion: nuclear resource or danger?,” ORNL Review 26, http://www.ornl.gov/ORNLReview... 34/text/colmain.html.) finds that American releases from each typical 1 GWe coal plant in 1982 were 4.7 tonnes of uranium and 11.6 tonnes of thorium, for a total national release of 727 tonnes of uranium and 1788 tonnes of thorium. The total release of radioactivity from coal-fired fossil fuel was 97.3 TBq (9.73 x 1013 Bq) that year. This compares to the total release of 0.63 TBq (6.3 x 1011 Bq) from the notorious TMI accident, 155 times smaller.

    So far, there has not been a single confirmed death due to Fukushima accident. In comparison, there were 20 deaths in the US just mining for coal in 2013. This is not to mention all the deaths being caused by cancers and other health problems being caused by breathing polluted air.

    If we're ever going to get on top of this climate change challenge, nuclear must be leading the charge. Nuclear is a safe, non-polluting technology. Modern designs are fail-safe in every sense of the word. The newer designs can even cope with a loss of external power (like Fukushima experienced) yet still stay safe.

    This is the 21st century. The technology is mature, sensible and safe. Really, we should be looking to retire every coal fired plant as a matter of urgency, if only to reduce the amount of radioactive contamination of the atmosphere!!

  14. A few problems... on Can Reactive Programming Handle Complexity? · · Score: 5, Insightful

    A few problems:

    - What about circular reactions?
    - Is SQL really that right language for encoding business logic?
    - Triggers are kind of an anti-pattern.
    - What about atomicity? What if I need the whole reaction chain to work or none of it.

    I'm afraid there more questions than answers with this proposed pattern.

  15. Re:And they called me crazy on NSA Trying To Build Quantum Computer · · Score: 3, Interesting

    256GB USB drives full of true randomly generated one-time pads

    I know this is a piece of humour but since this is Slashdot why not?

    What a lot of people don't understand is that is much harder than it first appears. For example, doing cat /dev/random to a file on disk will not give you bytes suitable for use in a OTP.

    The issue is that the many TRNGs hash their entropy pool with a cryptographically secure hash. When you use such a hash there is no guarantee that the input space would be uniformly mapped to the output space.

    To illustrate this, suppose we had an entropy pool 1024-bits deep. Suppose before producing the output the pool is hashed with SHA-1. This is an output that 160-bits wide. There is no proof whatsoever that if we cycled a counter from 0 to 2**1024 that the hash of these would distribute evenly of 2**160 possible has outputs. If this were the case, each output hash value would appear exactly 2**864 times. It is highly unlikely that this is the case.

    What this means is the the output is distinguishable from a true random source, which completely breaks the security proof for the OTP. Granted, the attacker would likely to have to do an infeasible amount of work to use this distinguisher. However, the OTPs proof gives you security from computationally unbound adversaries. It's the whole point of using the OTP!

    So in short, you can't use /dev/random, you can't use pretty much any commercial random number generator. You'd have to roll your own and show that your bias is small enough for no attack to be practical. Like I said, it's harder than it looks.

  16. We need spies but big databases are no use. on Hillary Clinton: "We Need To Talk Sensibly About Spying" · · Score: 4, Interesting

    The world is not a perfect place. The West does need spies and it does need an infrastructure to support them and gather intelligence.

    However, we should remember who we actually need to be spying on. Nation states, failed states, and yes terrorist training camps and what not.

    What we should not be engaging in is dragnet surveillance where everyone is entered in to some giant database. This is a really bad idea for a number of reasons.

    Firstly, the databases are not really likely to be that useful. Prism didn't stop the Boston Marathon bombers. You might have every text, every phone call, every e-mail but if you can't spot the connections it doesn't help you.

    Second, the massive database is a security risk in its own right. The NSA might think the Snowden leak is bad but it's child's play compared to what would happen if somebody leaks that database! You can bet your bottom dollar a shit-storm a 100% times the size would ensue. It might even threaten the agency's continued existence.

    Third, the database could be hacked by a foreign governments. This in itself is a giant risk that dwarfs the one outlined in the second paragraph. China getting access to wiretaps on US businesses? Does no-one in the security community see what a giant hole they're making in the West's security?

    This leads nicely to my fourth and final point. I do get the impression from the Snowden leaks that the competency of these organisations is being called in to question. It's clear they don't know what Snowden took; they don't know what he knows and what he doesn't. This is why he's catching them at so many lies. They make one statement, he leaks another document that shows them they're full of shit.

    This final point is perhaps the most damning. They've built a giant system they can't audit! If they don't know what he took when he's just a fairly junior contractor, we have to assume other nation states have thoroughly penetrated the system and already stolen Western secrets!

    They're clearly not competent enough to run such a system and it should be shut down on grounds of national security.

  17. Service Economies are the future on Digital Revolution Will Kill Jobs, Inflame Social Unrest, Says Gartner · · Score: 5, Interesting

    On the Internet, people often moan about how Western countries "don't make anything any more." The idea being that our service economy is built on a house of cards and the only true economic generator is the making and selling of stuff.

    My view is that manufacturing is a bad choice of focus for our economies. The direction of travel is clear: it is very clearly a race to an ever descending race to the bottom which will end with completely automated factories. This race started with the industrial revolution and it will accelerate during our life times. The jobs are slowly but surely being eliminated and it might even have happened sooner if China hadn't been able to provide so much cheap labour. Those jobs are simply not safe in the long term.

    But even the Chinese are not safe. Eventually, they'll all be replaced by machines and when they are, it won't matter where those machines are located. The machines will re-locate closer to the consumers to shorten supply lines.

    The message is stark: any job that is repetitive risks being replaced by a robot.

    Perhaps the most interesting of these is automated driving. It promises to completely transform our world. It will transform logistics in much the same way as containerisation did to shipping. It will transform everything but just think of the number of jobs that will be eliminated!

    Then there are threats like 3D printers which threaten to completely remake the world as we know it.

    The only sensible way to weather the next 100 years is through developing products and service that can not be automated. These are things like law, software development, media etc. etc.

    Producing stuff is quickly becoming unprofitable. Service economies are our only hope.

  18. Re:Faith and evolution ARE compatible on Why Are Some Hell-Bent On Teaching Intelligent Design? · · Score: 1

    Additionally, there are many passages in the Bible which indicate that anyone who heard the true voice or looked directly upon the face of God would perish because they could not withstand the awesome power. That's just the sort of indicator the faithful could logically use to support a metaphorical interpretation of scripture.

    Yet there are other passages, such as Jesus appearing to hundreds of people, or God appearing to Abraham or Moses where this is not the case. To be honest with you, I always find this line of argument odd.

    If God can't contact us because it was destroy our feeble minds, then how did his messiahs, prophets come to know about him? How did Paul receive his vision from the creator of the universe and not have his mind thoroughly destroyed. What about Noah or Moses? How did their minds take the strain?

    It's another one of these absurd adhoc retreats from the fact there is basically no evidence of God talking to anyone, ever. If God really did exist and he cared about what we did, then we'd be able to discover what we wanted. Humans of all stripes, in all times, in all places would agree on what the message was. I'd be as discoverable as the value of PI, or the laws of Physics or Chemistry.

    Yet, once again, this is not what we observe. What we observe is precisely what we'd expect if he didn't exist: complete and utter confusion.

    Additionally, if the truth were apparent, then there would be no benefit to be had from the iterative and ongoing process of interpreting scripture or the fractious nature of the church, in any of its various schismatic forms.

    I'm not sure how this confusion benefits anyone. It's like the old joke about standards from Tanenbaum; the nice thing about standards is that you have so many to choose from.

    Likewise, the great thing about the "Words" of God is that there are so many different, mutually contradictory, "words" to choose from.

    Why on earth would a God who cared about us allow this confusion to persist?

  19. Re:Faith and evolution ARE compatible on Why Are Some Hell-Bent On Teaching Intelligent Design? · · Score: 3, Interesting

    The idea that the Creation stories in Genesis are meant to literally describe how God created is another matter entirely, and it is the blind insistence upon this presupposition that results in so much hot air being expelled on both sides of the issue.

    In practically every thread you get someone who tries to reconcile evolution with theism. They say, well, "God created the system of evolution. Tada!" or "God guides evolution. Tada!"

    The truth is that when evolution is properly understood it is a complete replacement for the theistic creator hypothesis. It actually goes even further than this and give us yet more evidence that God doesn't not exist.

    The problem with evolution is that it's not the kind of system a God that cared and loved us would design.

    Does survival of the fittest seem righteous to you? Why should the most well adapted survive? Surely a better system would be one where people with kindness, co-operation and charity thrive and the selfish, brutish and dishonest perish? Yet we do not live in this world.

    Theism as a whole has the problem that it makes a really bold claim: "God exists and he loves us." and then it has to retreat almost immediately behind a series of adhoc justifications for why the observed universe doesn't match what we'd expect if that claim were true.

    If God really existed the universe would be hugely different to the one we currently live in. If God really existed science would have found him by now.

    That's because that's what Christ said. "Whoever believes and is baptized will be saved, but whoever does not believe will be condemned." Mk 16:16

    This is yet another problem with the theism. The complete and utter confusion about what God wants. You're sat in this thread quoting the Bible as if it were the word of God, yet there are literally thousands of independent strands of Christianity alone. I don't even mention that even there were 2 billion Christians, 71% of the words population think your view is a heresy. You would even be called a heretic by members of your own superstition.

    Again, would this confusion about religion be expected if there was a God who loved us? Absolutely not.

    It is a popular--and recent--misconception that faith and reasoning are incompatible. Many, if not most, of the great minds of the ages were believers in God or in other forms of religion. The idea that religious people are necessarily irrational fools is simply a lie; there are plenty of both religious and atheistic people who are irrational fools.

    The people in previous times didn't have the weight of evidence we do today. Faith and reason are incompatible. Faith is based on truth by revelation; that is, that some people a long time ago had the "word" revealed to them and every one else is left in the dark. The only hope we have is to just trust them. Reason works by studying, debating and seeking out evidence. Anybody can critique that evidence, review it and discuss it.

    These are diametrically opposed view of the universe and completely incompatible.

  20. The NSA paid for it. on Skype: Has Microsoft's $8.5B Spending Paid Off Yet? Can It Ever? · · Score: 1, Interesting

    It should be obvious that the money didn't come from Microsoft. It came from the NSA.

    They wanted to wiretap all Skype conversations. They got Microsoft to buy it for that end.

    You'd be nuts in the post Snowdon world to assume anything else.

  21. Re:Good on Bradley Manning Sentenced To 35 Years · · Score: 4, Insightful

    He's a traitor, he deserves it.

    I don't think anyone can argue with the fact an offence was committed. But the punishment should fit the crime. It is on that basis I object to this sentence. The sentence is so long that I feel this punishment violates your constitution. It is cruel and unusual.

    We're talking about locking this guy up longer many rapists or murderers. You're even talking about executing him. How is that a sensible level of punishment?

    At the end of the day, nobody died from this leak. Nothing of any substance has changed in geo-politics either. The cable leaks had a tendency to show that US foreign policy behind closed doors was pretty much the same as it was on the public sphere. As a Brit, I thought they actually came out of it looking quite good. It was the other countries were made to look like asshats.

    Manning is a bit of an idiot and should serve some time but taking his entire life in forfeit for his stupidity is totally disproportionate and in my view unconstitutional.

  22. Democracy has failed on Obama's Privacy Reform Panel Will Report To ... the NSA · · Score: 4, Interesting

    I've slowly started to come to the view that representative democracy has basically failed. It's time to try a new system.

    What that system should be up for discussion but the idea of voting for representatives who then decide the policy has been tried and failed. It's too easy for corruption to take root and it's too easy for those people to grab power for power's sake.

    I refuse to accept that there is no better solution than the status-quo. There must be a way to capture the will of the people, protect minorities, and protect the people from government overreach. There must be a way to have our cake and eat it.

  23. Who is being kept safe? on Other Agencies Clamor For Data NSA Compiles · · Score: 5, Insightful

    Right across the free world we're told this these giant databases are there to keep us safe.

    The question is more who is being kept safe who. Is the purpose of these databases to protect me or protect the politicians? Is to protect me or big business? Is it to protect my right to process or restrict it?

    In my own country, William Hague said that it was unthinkable that GCHQ would be operating outside of the law. The problem is I don't believe you!

    Practically every time the government has secrecy it abuses that power to its own ends. This is just the nature of power held in secret with a lack of transparency. The entire span of human history shows that kind of power is hugely destructive.

    The cure is worse than the disease here. Honestly, I'd rather have more terrorist attacks that having my privacy systematically shredded for the greater good. All terrorists can ever do is kill people. It takes a government to kill a society.

  24. Lesson not learnt on How One Drunk Driver Sent My Company To the Cloud · · Score: 2

    The issue here is that he didn't have adequate disaster recovery procedures and policies.

    The standard solution to this sort of problem is that you have a backup system that sits off site ready to take the load should something happen to primary. This backup system should be located in another data center, with a different ISP etc.

    Moving to the cloud doesn't solve this, per se, if you move all your infrastructure to say Amazon you're still beholden to that company and its internal procedures. A system administration on their part could easily render you down for many hours.

    The lesson hasn't been learnt.

  25. amb in Lisp on Can You Do the Regular Expression Crossword? · · Score: 1

    Set up an amb for each square. Then use "require" with each regular expression defined across the grid.

    Problem solved - generically - for all time!

    It's not the most efficient solution in the world, but it'll probably still solve it faster than you?