Slashdot Mirror


User: angel'o'sphere

angel'o'sphere's activity in the archive.

Stories
0
Comments
21,865
First seen
Last seen
Profile
(view on slashdot.org)

Comments · 21,865

  1. Re:Eisenhower's Farewell Address on Boeing Wins Bid To Build the Navy's Carrier-Launched Tanker Drone (arstechnica.com) · · Score: 1

    I'm not aware of a single country where such healthcare exists.
    Denmark, Norway, Sweden, Finland, Cuba, and I'm pretty certain: China.

  2. Re:Why not catch them? on Google Funds A Starfish-Killing Robot To Save Australia's Great Barrier Reef (abc.net.au) · · Score: 1

    You can't fish for them, you need to dive for them.
    The robot injecting them could do that ... at least that was my idea.

    Nonetheless it is barely making a dent in the population.
    Obviously ... species like that simply release eggs and sperm into the water. As long as there is no one eating the eggs, killing them makes only more room for the offsprings.

  3. Re:Never Ignore Warnings/Have Strong Coding Rules on How Linux's Kernel Developers 'Make C Less Dangerous' (hpe.com) · · Score: 2

    Professionals fix it until all warnings are done.
    By writing

    #pragma ignore warning 101

    above every offending line ;D

  4. Re:Don't give professional tools to amateurs on How Linux's Kernel Developers 'Make C Less Dangerous' (hpe.com) · · Score: 1

    Yes, and C is neither a "fancy assembler" nor "almost machine code". These are statements of an ignorant person.
    Cough, Cough, Cough ...

    You might be interested in reading this: https://www.bell-labs.com/usr/...

    Perhaps you might want to use the search function and jump to "essentially, as a portable assembly language" ... you might want to note one of the first lines of the text, too: Dennis M. Ritchie

  5. Re:Don't give professional tools to amateurs on How Linux's Kernel Developers 'Make C Less Dangerous' (hpe.com) · · Score: 1

    The advantage of C is that the incompetent coders fail early and obviously.
    I would not call an exploding Ariane or a crashing Mars probe: fail early.
    Obviously, yes indeed.

    And then again: I understand that you are fed up with incompetent programmers. So am I. However the failures above are failures of the software development team as a total. That means: programmers, requirements engineers, testers, reviewers, they all failed together

    Singling a a specific programmer out, who wrote the line in question: that is incompetent. Making that error was expensive. But has nothing to do with incompetence. It most likely always is just a mere oversight.

  6. Re:Don't be lazy programmers on How Linux's Kernel Developers 'Make C Less Dangerous' (hpe.com) · · Score: 1

    Well,

    lets roll back time 20 years, just before the advent of Java.

    The simple rule of thump was that a competent programmer, will write about X lines of code during a day. Researchers distinguished between 3 kinds of programs or code:
    a) Application Code, e.g. a game like nethack, a mail or news client etc.
    b) Utility Code, e.g. a command like vi or ls, or even cc
    c) System Code, aka Kernel or Drivers

    The interesting thing is how does X look for a), b) and c)
    a) was something like 25 - 100 LOC/d
    b) was something like 5 - 25 LOC/d
    c) was less than one LOC/d

    And now the interesting point comes: this numbers are nearly independent from the language used. Obviously 25 lines of C have less functionality than 25 lines of LISP, and 25 lines of assembly have even less functionality than C. Languages like SmallTalk and ML or OCaml express even more functionality.

    Now think how much "functionality" you can express in 25 lines of SQL.

    I went 20 years back, because modern IDEs, for languages like Java and C#, blur this extremely. Or all the stuff you can do with annotations.

    Anyway, higher abstractions, and that is what Java versus C is, yield higher productivity. Partly in exchange for raw speed, but if people know what they do, there is usually no big difference. And you expect people to know what they do, regardless of language, right?

  7. Re:Don't be lazy programmers on How Linux's Kernel Developers 'Make C Less Dangerous' (hpe.com) · · Score: 1

    I know two people, one a man and one a woman, who have the strange talent to crash plenty of programs.

    The man would somehow systematically put unusual input into input fields, like $name into a field that accepts a string as first name, and would of course put random special chars into a numeric field etc. I don't even know how you can write code that crashs in such circumstances (obviously not being able to parse a number might led crashes, though)

    The woman would simply open dialogs, close them again, click on random buttons, even disabled ones ... and suddenly produce a crash. She never kept track what she did, so they only let her "test" with a debugger attached ... (I guess she most likely produced memory leaks in GUI apps, that did not clean up "closed dialogs" etc.)

    Anyway, it was quite funny, everyone dreaded them instead of thinking why their code is so bad that it crashed in the first 5 minutes when one one of those two touched the program.

  8. Re:Don't be lazy programmers on How Linux's Kernel Developers 'Make C Less Dangerous' (hpe.com) · · Score: 1

    Pro Tip: If you mostly studied Java in college, you should go back to your alma mater and ask for a refund. No, seriously.
    Why? If you only work with Java (or C#) then extended knowledge about C, Fortran etc. is most likely not required for any Job such a person ever will apply, too.
    On the other hand, in a typical university in Germany you cover half a dozen languages anyway. But what good is it to torture students with Lisp and Prolog when they never will use it in a job either? Sure, those things are interesting, especially if you are aiming for an academic career.

  9. Re:Don't be lazy programmers on How Linux's Kernel Developers 'Make C Less Dangerous' (hpe.com) · · Score: 1

    Well,
    for Numerical Linear Algebra classes I had suggested Fortran, or indeed Pascal. Using C makes not much sense. It only makes people fail the class, because they have to spent more time focusing on C than focusing on Numerical Linear Algebra.
    It is like going to a driving class and the instructor demands you learn swimming first in case you drop the car into a river ...

    We did stuff like numerical algebra and stochastic: on paper! And still about 50% of the students failed the classes. If we would have needed to use C, 99% probably had failed (at least if compiling and correctly running programs would have been expected).

  10. Re:Don't be lazy programmers on How Linux's Kernel Developers 'Make C Less Dangerous' (hpe.com) · · Score: 1

    'Sanitizing' it, 'child proofing' it would take away that power and make it useless.
    And yet the article is about writing sanitized C code, so that the kernel is kinda "child proof".

    It seems you simply don't get it ...

    I think it more likely that programmers have become lazy, or just aren't educated enough to be responsible with a powerful programming language, and as a result we end up seeing code that's sloppy, ill-behaved, and 'dangerous' because of it.
    Programmers make assumptions. Those assumptions can be wrong.

    e.g. there is nothing inherently dangerous, lazy or sloppy with the following code.

    char* strcpy(char* dest, char* src) {
        while (*dest++ = *src++)
            ;
          return *dest;
    }

    However the assumption that that code will always be called with a 0 terminated string, or that dest will point to enough memory, might not hold.

    So if we talk about the library function above, the sloppy code might be the caller ... but calling him lazy is most likely wrong.

  11. Re:all power plants are debunkable. on Will Future Nuclear Power Plants Float? (thebulletin.org) · · Score: 1

    Uh, in a 3 persons household, obviously all 3 can cycle 4 hours before they work and 4 hours after they work: so as a rough estimate: it does add up. Does not really matter if we are 50% off or not. It was just "thought experiment".

    Please forgive me that I did not take a pocket calculator and made an exact calculation.

  12. Re:This is a great idea on Will Future Nuclear Power Plants Float? (thebulletin.org) · · Score: 1

    Yes it was. However it was destroyed by the earthquake ... the Tsunami likely only swept over the debris ;D
    So what is your point?

    You want to deny that the cooling system broke? Well, then ask yourself, why were military grade diesel generators which, where flown in by helicopters, not able to replace the drowned emergency generators?

    Hm? Any idea?

    Anyway:
    1) here they talk about the pipes: https://www.theatlantic.com/in...
    2) here they talk about a pump: http://statestimesreview.com/2...

    Anyway, roughly a year ago a /. reader posted a nice article/link explaining when and how the cooling system itself failed (not only the emergency power).

  13. Re: Seriously, America. on Mass Shooting Reported at Madden Video Game Tournament in Florida (polygon.com) · · Score: 1

    Syrian, the majority are economic migrants, and the majority are young males. And even if they were all valid Syrian "refugees", it's not Europe's responsibility to invite a hostile, supremacist, and alien culture into their midst.
    Wow nitpicking again. So they are "just refugees", lets leave off the nationality: point is, there are no 2 million new immigrants/refugees in Germany. They only passed through. The total number still here is about 600k

    And also too fucking lazy to search for the answer yourself
    Ha ha ha. The answer does not interest me. Those are all nazi countries I don't plan to visit.

    Like "no money" being given to "refugees"?
    Exactly, a small amount of "pocket money" which is enough to buy a beer every day and eat an ice, is not "giving money".

    Like nobody being displaced?
    Exactly. Who and how would you displace one in Germany to take his house for refugees?

    Like "no money" being given to "refugees"?
    Exactly :D Your beloved Dublin accord was suspended for roughly 3 month during the winter when Bulgaria and Hungary lead hundreds die behind the border in the cold. You hardly can call that "open the flood gates".

    And finally, why do you care? You don't live in the EU, or do you? Solve your own problems first, then you might learn enough to give advice.

    The problem at the moment are by far not the situation in Syria, but the people drowning in the Mediterranean sea.

  14. Re:Autonomous killing machines... on Google Funds A Starfish-Killing Robot To Save Australia's Great Barrier Reef (abc.net.au) · · Score: 1

    Most star fish have 5 extremities.
    So has a human.

  15. Re: Seriously, America. on Mass Shooting Reported at Madden Video Game Tournament in Florida (polygon.com) · · Score: 1

    "Merkel's suspension of the Dublin II accord and her decision to do away with all effective vetting of asylum applications submitted by Syrians looks certain to lead to an unprecedented number of migrants arriving in the country; according to the latest estimates, 1.5 million refugees are likely to have arrived in Germany in 2015 alone."
    You are an idiot.
    Where should those 1.5million Syrian refugees be? Germany has 80million inhabitants, that is nearly 2 Syrians per 100 people. Last time I walked through the city I did not see 2 Syrians per 100 citizens. As we don't place them in rural areas, it would need to be 4 per 100 citizens in a city. That is one for 25. Do you really think all those Syrians are scared about me and hiding from me?

    How can you be such an idiot? But thank you, that you honour our economical power so much that you really believe we would be able to harbour 1.5 million refugees in a single year. I take that as a compliment!

    "Mrs Merkel had already taken a unique initiative in announcing that all Syrian refugees would be eligible to claim asylum in Germany - unilaterally, and rightly, waiving the so-called Dublin procedures, under which displaced people must claim asylum in the first EU state that they arrive in."
    She did not. That is another internet myth.

    You link: EU to sue Poland, Hungary and Czechs for refusing refugee quotas
    I wrote: Except for Poland, I don't recall such a country, Hungary or Bulgaria perhaps?
    Strange, that I'm so ignorant and got 2 countries right.

    Perhaps you want to read this, to get some facts straight: https://www.dw.com/en/germanys...

  16. Re:I once worked on lane-tracking software on Humans To Blame For Most Self-Driving Car Crashes In California, Study Finds (axios.com) · · Score: 1

    German and Japanese cars have lane tracking since a decade ... and work in all thinkable conditions. Only exception: fresh snow so high that a human had the same problem.

  17. Re:all power plants are debunkable. on Will Future Nuclear Power Plants Float? (thebulletin.org) · · Score: 1

    But who wants to ride a bike at home after work for 4 hours to recharge the batteries ... that went down during work time.
    Which part of this did you not comprehend?

  18. Re:This is a great idea on Will Future Nuclear Power Plants Float? (thebulletin.org) · · Score: 1

    Well,
    there were plenty of /. posts with links that pointed out that the cooling system inside of the reactors failed.
    Because the first thing I asked was: why was it not possible to fly in emergency generators. Plenty of people pointed out: they did.
    So, what is your opinion, why did we have core melt downs when actually the cooling system was ok and one rector still provided power and they actually had flown in emergency power generators?
    Perhaps you should start to use google and watch some youtube videos.
    Your wikipedia article is simply not up to date. The fact that the earth quake destroyed the internals of the plant are known since a few weeks after it happened. But I also only learned it a year ago.

  19. Why not catch them? on Google Funds A Starfish-Killing Robot To Save Australia's Great Barrier Reef (abc.net.au) · · Score: 4, Interesting

    Would it not make more sense to catch them and make food from them?
    Worst case cat food or dog food?

    In some countries it is common to eat them: http://www.chinesestreetfood.c...

  20. Re: Seriously, America. on Mass Shooting Reported at Madden Video Game Tournament in Florida (polygon.com) · · Score: 1

    Because they don't get Hatz IV, they only get something like $200 pocket money per month.

    You said they didn't get money. You were wrong.

    No, I were not wrong. I exagerated. I could not know before that you are a nitpicker.

    As an example, the dead boy on the beach was taken from a safe environment in Turkey by his father.
    First of all, as long as Turkey is considered save, we don't accept refugees from there. You should know that after all your ranting about "safe countries".
    However as you probably know since Erdogan is in power, Turkey is not considered a safe country I'm tempted to add a specific word ...

    Yes, he was. He used every trick, legal loophole, and spineless inaction by the government to avoid it. And after 13 years, the best the government could come up with was to take away his allowance.
    Supposed to be deported means: a judge/court has ruled so. As long as there is no such ruling, he is not supposed to be deported.

    Even you can't be this dumb. Laying out the doormat for Germany was obviously going to affect other countries and Europe, and it did.
    Germany did not lay out a doormat. No idea to what you are referring.

    The EU even tried to force other countries to take their "fair share",
    Obviously, because that is their obligation under EU law.
    while wise countries with a backbone told them to fuck off.
    Except for Poland, I don't recall such a country, Hungary or Bulgaria perhaps?
    Lets see how long countries that don't take refugees remain in the EU.

    Now you just invite them in, shove your people aside, and give them welfare. In return for your pathological kindness, they [1] slaughter your people at Christmas markets, [2] sexually assault your women in gangs, and ignore your laws for their own.
    Obviously you are not aware that [1] were terrorists, and usually not refugees but recruited immigrants or descendants of immigrants and [2] were organized and bribed by Neonazi groups.
    In other words: [1] would always have happened because the people involved are born here. It is pretty hard to do anything against it. And [2] would not happen if we had not idiots like you. Idiots like you, who don't want embrace refugees, are the masterminds of organizing such sexual assaults.

    Hint: how likely is it that in two cities at the same time, dozens if not hundreds of groups of 5 to 20 men form and start harassing women by coincident? Why did that not happen in the other 300 big cities of Germany? Huh? I guess the women are to ugly there or to well defended?

  21. Re:well now ... on EU Backs Ending Daylight Saving Time (theguardian.com) · · Score: 1

    No, Hitler was not voted into his position.

    https://en.wikipedia.org/wiki/...

  22. Re:This is a great idea on Will Future Nuclear Power Plants Float? (thebulletin.org) · · Score: 1

    Unlike a boat, you can anchor a big ship, or in this case a floating platform, Tsunami safe.

    E.g. a boat in a harbor is either moored, then it has extremely short lines. They would rupture if the boat gets lifted (or they hold and the boat thinks). A bot close to a harbor, anchored, will have a line at the anchor appropriated for the water depths and distance to surrounding boats.

    A floating platform you would simply anchor in a way that it can rise 30 meters without loosing its anchor. E.g. having an outer frame, which is anchored, fixed. And having the floating platform inside, like a piston.

    Anyway, worst case the reactor will float inland, problem then will be, how to get it back, and how to cool it while it is on shore.

  23. The self driving car has the traffic light on video recordings ...

  24. Re:There's a massive reward for preventing acciden on Humans To Blame For Most Self-Driving Car Crashes In California, Study Finds (axios.com) · · Score: 1

    Insurance will only pay to fix on a new car but they don't pay the lost resale value that an on record accident causes. You can hire a lawyer but they take so much you break even or lose. And if your car is totaled they pay the dealer invoice price, e.g. what the dealer would pay if you took it for a trade in. That's usually 3/4 what the car is worth.
    Must suck to live in a "democracy" and being unable to make laws that are sane.
    E.g. in an accident that I have no fault, my insurance rate does not go up. Why would it? And of course the counter parties insurance pays my care fully. The resales value might be an issue, though.

  25. Remember there is no reward for preventing accidents and so there is no tracking of it and we don't know how many of them are prevented daily.
    The reward is the same as for a human driver.
    Avoided injuries
    Car available and not damaged in the garage
    No value loss due to being in an accident
    I guess there are plenty of more good reasons to avoid an accident even if the other party would be at fault.