Slashdot Mirror


User: Dutch+Gun

Dutch+Gun's activity in the archive.

Stories
0
Comments
4,453
First seen
Last seen
Profile
(view on slashdot.org)

Comments · 4,453

  1. Re:A Corollary for Code on Why You Should Choose Boring Technology · · Score: 1

    Yep, this is at the heart of the "write boring code" rule. This also includes extending and enhancing previously created functionality as well. It also leads to another consequence in my own code: You can typically measure the complexity of the code by looking at the ratio of code to comments.

    In most cases, when the code starts getting really complex (sometimes it's impossible to avoid), I start writing paragraphs instead of single line comments. When you see multiple paragraphs, you know you're dealing with some really tricky code that I undoubtedly wished I could have drastically simplified, but failed to do so.

  2. Re:Passport numbers on Oops: World Leaders' Personal Data Mistakenly Released By Autofill Error · · Score: 1

    Oddly enough, I specifically typed "head of state / elected leader" because it was pointed out earlier that David Cameron is not the British head of state. I had intended that slash to mean OR, not AND. Anyhow, it seems to be the case that royal heads of state don't seem to use one as a rule. I suppose it would be considered undignified to show a little book with a picture that essentially says "Hi! I'm the King of Saudi Arabia". Similar to British passports, Saudi passports are (according to Wikipedia) issued in the name of the King, so naturally he wouldn't require one.

    Here's another bit of trivia: As you might guess, POTUS doesn't have a normal passport like you or I probably have. He and all his immediate family have diplomatic passports, which they get to keep for life. I haven't found what having a diplomatic passport gets you (apparently it doesn't automatically confer diplomatic immunity). I suspect if nothing else, it will get you slightly better treatment at the borders - as in, "this is someone who knows someone, so I'd better treat them decently".

  3. Re:software dev vs programmer on IT Jobs With the Best (and Worst) ROI · · Score: 3, Insightful

    Sure, of course. It's why I used the qualifier "most" and "typically". And that's also why I mentioned that if the professions themselves aren't certified, then it may be the products themselves. I have no idea about the specifics of your industry, but I'd bet your company's products have to get certified by the FAA.

  4. A Corollary for Code on Why You Should Choose Boring Technology · · Score: 5, Insightful

    A personal corollary for code related to this theme is to always try to make the code I write as "boring" as possible. I've found that programmers often get themselves in trouble by trying to be "clever", which often makes for horribly unintuitive or unnecessarily complex systems. I've heard people asking about how to perform crazy language tricks and I nearly always think to myself "My God, why in the hell would you even *think* about doing something like that?" Such things nearly always point to very fundamental flaws elsewhere.

  5. Re:software dev vs programmer on IT Jobs With the Best (and Worst) ROI · · Score: 3, Informative

    In the US, railroad engineers are required to be state certified and re-certified every two to three years. How about civil engineers? Oh yeah, them too. Mechanical engineers? To become a Professional Engineer in the US, state certification is required. As for electrical engineers, I don't think they have any state licensing requirements, but for all practical purposes, a four-year degree (a state-certified document as well) is typically required for employment.

    This shouldn't be surprising to you. Any profession that could adversely affect the safety or lives of the public if mistakes are made often requires state certification. For the most part, this doesn't affect EE or CS. No one dies if MS Word crashes or your microwave stops working. And in those exceptions when that's NOT the case, certification is typically required of the products themselves (cars, airplanes, medical equipment) instead of the people who worked on them.

  6. Re:software dev vs programmer on IT Jobs With the Best (and Worst) ROI · · Score: 2

    I tend to use "programmer" or "computer programmer" for myself, because I think it's the most accurate description.

    Most professions with "engineer" in the title require state certification and licensing to practice their trade. I figure that's a reasonable benchmark for whether someone should put "engineer" in their title. Some engineers get in a snit about this, and I can sort of see their point.

    I generally view "developer" as anyone who works on the software product in any capacity, although "software developer" still would likely refer to a programmer. For many products, there may be little distinction between "programmers" and "developers" simply because all the developers happen to be programmers. I happen to work in video games, where there are typically many more non-programmers than programmers working on a given project. As such, the distinction becomes more important. It's fairly common in the video game industry (and the public at large) to refer to everyone involved as developers, or "devs".

  7. Re:Correlation is not Causation on Poverty May Affect the Growth of Children's Brains · · Score: 2

    My first thought was poor nutrition as well. It's the same sort of claim that dentists make, like how unhealthy teeth can lead to other health problems. I've always figured it's more likely that people who don't take care of their teeth also don't take care of their bodies in general.

    About your proposed food stamp rules... you're missing the "grains" food group (bread, flour, rice, etc) entirely, not to mention a few other fundamental things like eggs, butter, salt, and sugar. I'm going to take a wild guess that you don't do the bulk of the shopping and cooking for your household.

    You can read the rationale as to why the US government currently does not restrict any "food" item, no matter it's health value. Personally, I think it's more worthwhile to focus on working to get people off food stamps altogether than trying to add a bunch of regulatory burdens to the program. If you want to focus on abuse, let's look at more rampant fraudulent welfare claims to start with. Buying a candy bar instead of an apple is a terrible health choice, but I'd hardly count it as "abuse".

  8. Re:Passport numbers on Oops: World Leaders' Personal Data Mistakenly Released By Autofill Error · · Score: 4, Interesting

    They surely never have to bother with this on their own. It's handled all by their underlings, of course. I suppose one way to explain it would be that it might cause some minor political embarrassment if it were revealed the head of state / elected leader didn't have a passport, and therefore, technically speaking, was actually breaking the law when traveling abroad. They don't really *need* it, of course, but bureaucracies, if nothing else, tend to mind their p's and q's. The sender undoubtedly intended to send that information to another civil servant for properly processing it in some mundane fashion, as they tend to do. I'm betting 1000 to 1 that it was for no interesting or glamorous reason other than fulfilling a bureaucratic rule or an information filing law.

  9. Re:Your Fault on Europol Chief Warns About Computer Encryption · · Score: 1

    The solution is restoring the reasonable, moderated...

    And so naturally he gets modded "Flamebait"

  10. Re:Game Over on Experts: Aim of 2 Degrees Climate Goal Insufficient · · Score: 1

    Heck, I'm going to go our on a limb and predict that we'll see at least seven or eight billion people die within the next century.

  11. Re:Nutz on Experts: Aim of 2 Degrees Climate Goal Insufficient · · Score: 4, Funny

    I don't think much life goes on if it was covered by 1000 meter thick glaciers.

    If you get overrun by a glacier, I'm not sure how much sympathy I'd have for you.

  12. Re:So You are Saying on Another Patent Pool Forms For HEVC · · Score: 1

    I actually read through some of the patents Nokia was threatening VP8/9 with and they really are not sophisticated at all, they are just written in the most confusing possible way.

    Oh, don't misunderstand... I'm betting that what was patented is actually not all that complex in principle. And naturally, being patents, they're written as broadly and confusingly as possible. That doesn't mean the software as a whole is not extremely sophisticated. Try reading an open source video or audio codec and you'll see how complex it really is in practice.

  13. Re:a reversal to the open cockpit doors of the pas on Why the Final Moments Inside a Cockpit Are Heard But Not Seen · · Score: 1

    A locked and reinforced cockpit door prevented hijackers from gaining entry to a Chinese flight a few years back. Members of the crew and some off-duty policemen among the passengers fought back and subdued the entire group of hijackers - even killing two of them in the struggle. There have apparently been other hijackings in which the criminals never gained entry to the cockpit either, instead holding either passengers or the plane itself hostage with weapons or bombs respectively.

    Locked doors may also have deterred other hijackings in recent years, along with the realization that passengers seem far more likely to react by attacking and subduing the hijackers on their own, though of course you really can't know for sure one way or another. It seems as though 9/11 permanently altered the "rules" of airline hijackings when it was realized that airliners could be turned into extremely deadly guided missiles powerful enough to take down the largest structures. At that point, instead of dealing with hundreds of dead, you could be looking at many thousands of dead.

    It's true a pilot could conceivably do the same thing in the future, and I'm not sure there's ever really a way to prevent that from happening. The copilot could just have easily have switched to manual control and pushed the nose of the plane straight into the ground just prior to landing, and there would be no way for the pilot to react in time since this would only take a few seconds. As such, I think the locked and reinforced door still seems like the safest option. As horrible as this event was, it remains an even rarer occurrence than hijackings, even though we've seemed to have a recent uptick.

  14. Re: And what good would it do? on Why the Final Moments Inside a Cockpit Are Heard But Not Seen · · Score: 2

    Everything they say is already recorded. Recording audio is arguably much more privacy-invasive than video, so I fail to see how video would be some dramatic chilling effect like you suggest. Yes, all the plane settings are recorded by the black box, but video could give another insight as to *why* the pilots reacted the way they did. If it increases flight safety in the wake of an accident, I think that deserves consideration. I don't want to necessarily alienate the pilots, but I'd like to hear the professionals on both sides talk about the pros and cons of this. In the wake of questionable pilot actions in recent years, I think it's not unreasonable to re-consider this.

    I'd also support a law stating ensuring that the audio and video can't be accessed by the airline unless there is an incident involving serious damage or the loss of the plane in order to protect the privacy of the pilots and crew.

  15. Re:And what good would it do? on Why the Final Moments Inside a Cockpit Are Heard But Not Seen · · Score: 1

    Combine that with the data on the voice recorder, and try to come up with an alternative narrative that fits all of this.

    Never let bothersome facts or evidence get in the way of a good conspiracy theory. After all, if you dig down a few layers of turtles, you can convince yourself that any of these "facts" are simply manufactured, and therefore are evidence of the conspiracy themselves.

    Occam's Razor be damned. It's much more entertaining to think up wildly implausible theories to explain how the pilot could somehow be locked out of the cockpit and the plane be instructed to descent carefully and controlled straight into a mountain range. Although, come to think of it, I still haven't heard anyone come up with even a remotely plausible explanation as to how this could possibly happen other than the official version of the story.

  16. Re:Fuck flying on Why the Final Moments Inside a Cockpit Are Heard But Not Seen · · Score: 5, Funny

    Are you crazy enough to trust your life to a wetware computer we can't even understand with any real confidence? There are 100,000 miles of blood vessels in your body, and if just the wrong one clots up, it's over for you. Many important components have no redundancy. Fatal malfunctions regularly occur with no way to repair them. Worst of all, you don't even have an offsite backup system for your most critical data.

    That's basically what your body is. If you're dumb enough to rely on an organic life-support system designed through random trial and error, you deserve to die in a messy pile of organic failure.

  17. Re:Legal on Commercial Flamethrower Successfully Crowdfunded · · Score: 1

    Is anything legal in California these days?

    California is a nutjob of a state, but I have to say, I don't really see a problem with them outlawing flamethrowers. I mean, vast portions of the state are hot, dry, and pretty much a tinderbox waiting to be ignited. What could possibly go wrong?

    Of course, they probably weren't considering this aspect when they outlawed them. They were thinking "ZOMG! Flamethrowers?!? We're going to see DRIVE-BY-FLAMINGS if we don't outlaw these things!" I'd guess it was just a happy coincidence that they banned something that's probably better off banned for more pragmatic reasons.

  18. Re:So You are Saying on Another Patent Pool Forms For HEVC · · Score: 3, Informative

    To answer your question: Yes. Whatever you think of patents (personally I despise software patents and think they're a cancer on our industry), these are not single algorithms, nor are they in any way simple. This is very sophisticated software. At least scan through the Wikipedia entry linked in the summary to get a rough idea of the complexity of these monsters.

    Modern video formats are comprised of a vast collection of different algorithms and techniques, and part of the encoding process is determining how best to apply those various techniques to create the best compression while maintaining a specific desired perceptual quality. It's perhaps best to think of a video codec as a family of many different video encoding, decoding, and storage techniques.

  19. Re:Ummmm ... duh? on Modern Cockpits: Harder To Invade But Easier To Lock Up · · Score: 1

    Autopilot systems can and do fail on occasion. Or more precisely, the sensors that they rely on can be rendered inoperative, causing a failure or shutdown of the system. In most cases, you absolutely want the pilot to be able to manually override the computer in case something is obviously going wrong.

    There's really no easy answer to the problem of potentially suicidal/homicidal pilots. Would you feel more or less safe without a human pilot on board? Even after this incident, I still want a pair of pilots up front able to use their own best judgment in a sticky situation, because the vast majority of the time, those two people are every bit as anxious to get back down to earth safely as I am.

  20. Re:Disincentivized on Millennial Tech Workers Losing Ground In US · · Score: 2

    Not at all. Programming is just a tiny portion of game creation, especially over the last two decades with affordable engines. A better analogy: It is like saying you want to own a bakery but are put off by organic chemistry.

    I'm actually a professional videogame programmer, so I'm aware of the various disciplines involved. My point was this: if you're taking a C++ class, you're typically choosing the programming route (a CS degree), not one of the many other disciplines (designers, modellers, animators, texture artists, concept artists, writers, audio engineers, production, etc).

    The implication of that post seemed to be that "I wanna make games" = "not serious", and therefore less likely to learn a "serious" language like C++. I just thought it was an odd thing to say when C++ happens to be the language of choice in the videogame industry.

  21. Re:Disincentivized on Millennial Tech Workers Losing Ground In US · · Score: 1

    That's sort of like proclaiming you want to be a mathematician and being put off by Calculus.

  22. Re:How is this new? on Scientists Create Permanently Slick Surface So Ketchup Won't Stay In Bottle · · Score: 1

    Of course there's an incentive. Just like with anything else, Heinz dominance in the ketchup market is not guaranteed. Consumers ALWAYS have the option of switching to another brand like Hunt's, or a generic store brand that's cheaper. Heinz wants give consumers a reason for choosing a slightly more expensive national brand, and a better bottle may be a part of that decision.

    Moreover, what can you really do to market ketchup? It's not exactly a product that you can improve on in terms of the food itself. They've already been improving bottles in many ways (more convenient plastic squeeze bottles that you can store upside down, improved caps, tamper-resistant seals that are easier to open, etc), so it's very likely that they'll adopt this if the cost isn't exorbitant. In fact, they'll probably actually feature that bottle in a marketing campaign if it's a significant improvement from the current standard.

  23. Re:How fucking tasteless on Feds Attempt To Censor Parts of a New Book About the Hydrogen Bomb · · Score: 1

    Keep in mind that the Strategic Bombing Survey's postwar analysis is not "official history". It's easy enough to find many dissenting opinions, so I don't think it's fair to call it "revisionist history" either way.

    From the Wikipedia article covering the controversy of the atomic bomb attacks:

    According to historian Richard B. Frank,

            The intercepts of Japanese Imperial Army and Navy messages disclosed without exception that Japan's armed forces were determined to fight a final Armageddon battle in the homeland against an Allied invasion. The Japanese called this strategy Ketsu Go (Operation Decisive). It was founded on the premise that American morale was brittle and could be shattered by heavy losses in the initial invasion. American politicians would then gladly negotiate an end to the war far more generous than unconditional surrender.

    The U.S. Department of Energy's history of the Manhattan Project lends some credence to these claims, saying that military leaders in Japan

            also hoped that if they could hold out until the ground invasion of Japan began, they would be able to inflict so many casualties on the Allies that Japan still might win some sort of negotiated settlement.

    And if you want to go straight to the source:

    Kichi Kido, one of Emperor Hirohito's closest advisers, stated, "We of the peace party were assisted by the atomic bomb in our endeavor to end the war." Hisatsune Sakomizu, the chief Cabinet secretary in 1945, called the bombing "a golden opportunity given by heaven for Japan to end the war."

    It also goes on to discuss the opposing viewpoints, such as the Strategic Bombing Survey that you mentioned, as well as others.

    So, in fairness I should refrain from saying that "the Japanese were unlikely to surrender before the bombing", and instead state "many of Japan's military leaders wished to continue the war". As to what would have really transpired with a different course of action, it's obviously a matter of speculation. My feeling, and that of many historians, is that it may have been extremely difficult for Emperor Hirohito to break the cabinet deadlock like he did had it not been for the two atomic attacks and the entry of Russia into the war against Japan.

  24. Re:What is "offensive" in their legal system? on Indian Supreme Court Strikes Down Law Against Posting 'Offensive' Content Online · · Score: 2

    I'd guess the general answer is: "Anything that pisses off a person in a position of authority."

    The articles don't really get into specifics, but here's one example:

    The first PIL on the issue was filed in 2012 by law student Shreya Singhal, who sought amendment in Section 66A of the Act, after two girls -- Shaheen Dhada and Rinu Shrinivasan -- were arrested in Palghar in Thane district as one of them posted a comment against the shutdown in Mumbai following Shiv Sena leader Bal Thackeray's death and the other 'liked' it.

    Translated into the US equivalent (as near as I can tell), if you said "I don't think the city of Trenton, New Jersey should be shut down for a day just because Governor Chris Christie died from a heart attack." (probably worded less politely, knowing teenagers), and then your friend "liked" that statement on Facebook, you BOTH could be arrested.

  25. Re:What is "offensive" in their legal system? on Indian Supreme Court Strikes Down Law Against Posting 'Offensive' Content Online · · Score: 2

    Neither, now that it's been found unconstitutional.