Slashdot Mirror


User: Afty0r

Afty0r's activity in the archive.

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

Comments · 593

  1. Re:Testing on New Book Argues Automation Is Making Software Developers Less Capable · · Score: 1

    projects are FLOODED with automated testing tools to ensure their code works. And sure enough, every bug that I submit has an "automated test" that didn't test that particular condition

    THIS THIS THIS

    As a software engineer (now half-suity) of twenty years, I am constantly frustrated by those newer to the profession who got caught up in the whole "Unit Tests are Sacrosanct" philosophy. I have worked with multiple engineers who value "testability" over "working".

    Unit tests are convenient, a handy tool for programmers, but in my experience they have close to zero inverse correlation with the number of bugs in the programmers output. Any programmer who can think of the right cases for his unit tests is also capable of considering those same cases when writing his code - the correlation between [Experience and Ability] and number of bugs is the biggest one out there.

    Know what I favour? Readability and simplicity over pointless abstractions. Functioning, working applications over "90% code coverage". Things that fail at compile-time over things that fail at run-time. And when I press these principles onto more junior devs I always get push back about how "that's old fashioned" or "that needs extra lines of code" - they seems to complete disbelieve, and then they wonder how the hell I write and manage multiple web sites in my spare time that are generally more complex and reliable than any of the commercial sites I've worked on (with one or two notable exceptions).

    KISS applies to everything, and unit tests do not adhere to this principle. They have a time and a place when they start to show their value - and that time and place is when SOME of the following are true:
    -] Codebase is expected to be maintained by a large team, or eventually by persons who were not involved in building it
    -] Codebase will be architected by senior staff, and then maintained by more junior staff
    -] Codebase may be sold to, or extended by, third parties (open source is big on this)
    -] Codebase is difficult to read/pick-up and has high levels of abstraction
    -] Codebase is expected to change significantly in the short or medium term
    -] Team involved is junior or inexperienced in one or more significant factors (in general, language, app domain)

    Outside of some of these scenarios (I may have missed some, please do comment) you should be seriously considering how much of your investment you place into Unit Tests. I have seen some companies/teams/individuals spend more time writing unit tests than they did functioning code - that's negligent in some cases. If your team had double the velocity on new features by simply writing features instead of upping levels of code coverage, your company/owners/shareholders would have twice their return on investment...

  2. You are looking for the wrong product/service on Ask Slashdot: Choosing a Data Warehouse Server System? · · Score: 1

    We are trying to find a good data warehouse system to host and run analytics on

    You're asking the wrong questions.You should start higher up the chain in business-value land - WHYdo you need a data warehouse system (to run analytics)... great WHY do you need to run analytics (to discover XXXXX from the data we generate/own/handle). OK now you're getting closer... now, armed with the knowledge about what data you will be storing, and what kind of insights you would like to generate, you need to approach a specialist data analysis & insights company who can help you to select the correct products and platforms for your data storage, processing and analysis needs.

    The way you have phrased the questions in your post makes it obvious you don't really have a lot of experience in this arena, and this is not a decision you can afford to get wrong. This company may also be able to offer consultancy about generating your queries, reports, and carrying out some of the data analysis, but it sounds like you want to do this yourself - now that's actually quite reasonable to attempt in-house.

  3. Re:great news. on As Prison Population Sinks, Jails Are a Steal · · Score: 2

    Wow that's pretty harsh. Do you mind if I ask (as a non-USian) what amounts you had on you? Such drugs are illegal where I live, but being caught with small amounts usually results in a minor punishment, and no "record for life".

  4. TLDR on Fighting the Culture of 'Worse Is Better' · · Score: 2

    "Technical Debt is a thing, people"

  5. Re:I feel like we are living in an 'outbreak' movi on After Dallas Ebola Diagnosis, CDC Raises Estimate of Patient's Possible Contacts · · Score: 1

    H1N1 was the flu - flu makes a lot of money through flu shots, "treatments", symptom alleviation meds. By alerting the population, the sales of related product go through the roof. How many big pharma lobbyists do you think pushed the government to scare the population as much as possible in order to drive up sales?

    Ebola, on the other hand, does not have a wide array of products from big pharma that the population would be *likely* to go out and panic buy/stock up on. So no-one is telling the head honchos in government to get the bullhorn out. Consequently, no big noise...

  6. Re:come on Google Fiber on Comcast Tells Government That Its Data Caps Aren't Actually "Data Caps" · · Score: 1

    Is Google Fibers current operations profitable?

    I'm curious. If it sounds too good to be true... maybe it is?

  7. Wow on New EU Rules Will Limit Vacuum Cleaners To 1600W · · Score: 1

    vacuum cleaners ... produce more emissions than dishwashers and washing machines.

    Wowser, I feel better about my laziness already. My room might have a 3/4" layer of dust on the floor, but I'm saving the ice packs one lie-in at a time!

  8. Re:Why would anyone go willingly to the stadium? on NFL Fights To Save TV Blackout Rule Despite $9 Billion Revenue · · Score: 4, Insightful

    You are clearly one of a VERY small minority of people who prefer to NOT socialise.

    Most of the rest of us enjoy doing things in groups, it's a primal thing and appeals to our base urges, especially if we get to be all tribal about it.

  9. Re:eSports aren't like regular Sports on The ESports Athletes Who Tried To Switch Games · · Score: 4, Informative

    Keep counting...

    A significant portion of my friends from my late teens are now employed not in *making* games, but in casting, organising, events management, marketing and more for eSports events... The growth is beyond phenomenal.

    I believe a League of Legends event recently sold out the Staples Centre faster than any other event in history...

  10. The AFI, which was formally announced in June 2012 by the Department of Homeland Security (DHS), consists of "a single platform for research, analysis, and visualization of large amounts of data from disparate sources and maintaining the final analysis or products in a single, searchable location for later use as well as appropriate dissemination."

    Sooo errr.... Total Information Awareness then?
    http://en.wikipedia.org/wiki/T...

  11. Re:Saved? on Renewable Energy Saves Fortune 100 Companies $1.1B Annually · · Score: 1

    $2.2billion, annually.

  12. Expensive Middle Class Sport Losing Patrons on In a Hole, Golf Courses Experiment With 15-inch Holes · · Score: 4, Insightful

    Wonder why - the most expensive popular sport in existence is losing millions of players, right around the time that the income of the group most associated with playing golf is dipping dramatically...

    Maybe if Sherlock were here he could figure out why?

  13. Making waves in traffic on Your Car Will Tell You How To Hit the Next Green Light · · Score: 3, Insightful

    So correct me if I'm wrong, but if all drivers adopted this, wouldn't it result in traffic in a lane approaching a light from converging together into "clumps" or "waves"?

    Cars near the front of any given clump would be slowing down in order to arrive at the light after it has stopped being red and become green. (Close) Behind those cars would cars which would have passed through during the green interval regardless of this system. At the back of a clump would be cars who are speeding up to attempt to "get in" on that same green signal.

    Ultimately it would result in cars travelling very close together, with huge spaces between "convoys". It might even be more efficient, so sure - but while there are still humans behind the wheel, this seems dangerous as everyone will always be "tailgating". Once CPUs are behind all the wheels, it will be trivial to implement using the "Internet of Things".

  14. Re:Helpful links for intelligence community devs on TSA Missed Boston Bomber Because His Name Was Misspelled In a Database · · Score: 1

    Having worked in this arena, I can also say that Engram (or Qgram) analysis is excellent, and can be written in common SQL servers and perform very well compared with bit-shifting code methods.

  15. Re:I admire their spunk, but... on Operation Wants To Mine 10% of All New Bitcoins · · Score: 1

    Why do you believe "unlike gold, the users can just up and quit Bitcoin forever"?

    I don't use, mine, or own Bitcoin - but it's fairly obvious that beyond the use of Gold for conducting materials, it has little to no intrinsic value - it's almost identical to Bitcoin.

    Everyone invested in Gold could decide tomorrow to shift their investments to Aluminium...or Dogecoin. This would leave Gold almost worthless. The same is true of Bitcoin - but why do you feel one is more likely than the other?

    I think you do not understand how currency works...

  16. Re:Trailer strength on Walmart Unveils Turbine-Powered WAVE Concept Truck · · Score: 1

    By the time this concept is rolling off a production line, what makes you think a human will be operating the forklift?

  17. *All* the benefits? on Good Engineering Managers Just "Don't Exist" · · Score: 2

    The best engineers get all the benefits of being leaders

    *All* the benefits?

    I don't think so, I think it's just inertia. Our industry pays middle management comparatively poorly. In software engineering / web development which is my line of work, manager get paid barely more than senior engineers. Now I'm not one of those people who feels it's wrong to have an engineer making more than his boss (I've managed people earning more than me before, they were all awesome) but if you want the best people to step up and take a lot more pain you need to pay them a lot more.

    In most other industries managers earn significantly more than their reports. Take a look at retail, at sales and many other professions. Someone in retail in the UK earning £16k/annum on a checkout line will have a manager who earns around double that - 30k or so. Same for customer services.

    So, take a software engineer earning 55k/annum in London - his manager probably earns around 65k-70k, and has a MUCH more stressful and less enjoyable job, and almost certainly longer hours. His pro-rata take home is probably only around 5% better.

    So how about we pay our Development Managers 100k? I bet you'd have a few more of the stronger candidates stepping up to the plate.

    Yours sincerely, a (fairly, IMHO) good Development Manager in London - considering taking a step down or sideways because the money just doesn't justify the extra hassle...

  18. Re:Judging Performance on Cops With Google Glass: Horrible Idea, Or Good One? · · Score: 1

    Selective enforcement of the law is one of the most harmful possible aspects of policing - the sooner we are rid of it, the better.

    Instead, for small crimes which are rarely prosecuted (because the punishment is crazy high, like littering) we will instead prosecute all instances, and by popular demand reduce the fine to something more palatable....

  19. Re:SubjectsInCommentsAreStupid on How Do You Move a City? · · Score: 2

    Have a word with Jefferson, I believe he's got it covered.

  20. Useless Article on UK Govt's Censorware Blocks Tech, Civil Liberties Websites · · Score: 5, Informative

    He states, based on a single "URL checker" from O2, that every website he tried to check including slashdot, other tech news/resources sites and his own blog are "blocked by a parental controls regime - according to the URL checker".

    But a little testing would have shown him that disney.com is blocked on this. As is www.gov.uk - the UK governments own official site. The parental controls he's ranting about are bunkum. He should have researched his subject, and posted from an informed viewpoint, instead this article is a waste of time.

  21. Re:Surprised people still use... on AI Reality Check In Online Dating · · Score: 1

    That's what is missing from these algorithms. What about those who are attracted by some other factor than physical appearance?

    They are a small outlier that it makes commercial sense to ignore them.

  22. Re:Is there a way to generate value besides mining on Bitcoin Protocol Vulnerability Could Lead To a Collapse · · Score: 0

    How is this modded interesting?

    It a currency is not scarce, it is not valuable.

  23. Have they not worked it out yet? on NSA Chief Keith Alexander Takes His PRISM Pitch To YouTube · · Score: 5, Insightful

    All the lies and deceit that has come along from them so far means that WE. DO. NOT. TRUST. WHAT. YOU. SAY.

    Your words are pointless, because you are almost certainly lying. "How do you know when an NSA spokesman is lying?" "His lips are moving"

  24. Biggest Fear? on Things That Scare the Bejeezus Out of Programmers · · Score: 1
  25. Re:Why... on Attackers Tweet As They Assault UN Development Program Compound · · Score: 2, Insightful

    That is absolutely absurd.

    For example when you talk about "they" who do you mean? All of them?

    Take, for example, drug-dealing in the West... now drug dealers have to conduct business in public and with the public, Al-Shabab do not and can remain relatively hidden during their planning and operations. What percentage of the population of Western Towns and cities do you think could accurately identify or name over 50% of their local drug dealers? I'm guessing it's in the region of a few percent - the other ninety-odd percent of people know little or nothing about it.

    Your comments are actually harmful to this discourse, you haven't thought them through, and are labelling an entire population when it is, in fact, a minority.