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. I did hundred of things that involve "human" times.

    The simplest problem is making a schedule for a plane crew.

    E.g. after a 8h flight a crew is required to have a 36h rest. (Numbers invented, don't remember the actual numbers and my job regarding it was 20 years ago).

    So you have flights going from Berlin to NY, from NY to Hawaii, from Hawaii to Tokyo. All "flights" have local time start dates and (another) local time landing dates.

    For every flight you have to calculate the travel time. Then you have to determine if a normal overnight stay of 8h - 12h is enough for the crew (and find the next best flight to assign them too) or if they have to have an extended rest (according to international rules for flight personell) ...

    You basically only calc in local times and convert that to UTC to get the sleep times etc. right.

    I guess I could write a book about problems regarding time ... but there is an excellent site about it "100 things you can get wrong with time" or something. The author wrote several blogs about similar topics e.g. about human names.

  2. Re:2 more I've seen on 'Here Be Dragons': The Seven Most Vexing Problems In Programming (infoworld.com) · · Score: 1

    Hello? Anyone out there?

    represent oh .... I wrote that in my third or fourth sentence ...

    1/3 does not equal what you suppose in math, it only equals that in programming
    That is wrong. It is like that in all Math, has nothing to do with computer or paper math.

    If you disagree, write me down how you calculate 1 divided by 3 on paper ... good luck.

    The reality is that using floating points to represent certain types of data, such as monetary values, is stupid.
    Of course it is ... but that was not my argument.

    My argument is plain and simple: floating point numbers have no rounding or inaccuracy problems, they have representation problems: huge difference.

    the problem is that the idiots didn't understand the math well enough to know that floating point "math" won't give the same results as... actual math would
    Define actual math then? Algebra? Using formula transformations till you end in one that is easy to calculate to a discrete result? Or doing it the hard way and calculate on paper? If you calculate on paper you come to the same result as floating points does, minus the "representation" errors. The only way to calculate "precise" is to "know" that e.g. tan(PI/3) = sort(3) ... but hollllaaa: on paper that is just: 1,732050807568877 ... or how long you want to calc. And it does not matter that a floating point number can only represent 1,732050807568876 or 1,732050807568878 ... it is not a math or rounding problem: it is a representation problem. As I said above: big big huge difference.

  3. Re:That's ok on German Police Mock 'Not Very Clever' ATM Robbers (bleepingcomputer.com) · · Score: 1

    Around which time is that have supposed to have been?

  4. Re:Yeah. Was:Definitely nah on 'Here Be Dragons': The Seven Most Vexing Problems In Programming (infoworld.com) · · Score: 1

    There is nothing wrong with multi threading.
    And languages that support it of the shelf with language constructs and a sound library are obviously easier to handle than raw C or assembly.
    still cannot figure out why the Java developers thought they needed to do away with pointers and (application-controlled) memory allocation, but then turned around and encouraged the use of threads.
    That is a rather silly comment. First of all "Java Developers" are not the language designers or developers of the Java Virtual Machine, at least not until Java 1.2 or 1.4 came out.
    But to answer your curiosity: why the fuck (sorry for the language but it is appropriated here) should I waste my time with mental masturbation and allocate and deallocate my objects manually? Just to show of to my coworkers: "see! what I can do!! A Bug free manually memory managed application! Suck it you losers!"??? In a typical C program, a programmer needs about 30% of his time to get malloc/free right. In C++ with all the new features you can reduce that greatly. However: they only introduced all those new features when the realized how productive Java/C# and friends is.
    On the other hand: why the funk should I code an application that will run on a multi core system single threaded? When I have a language where doing multithreading is close to trivial? And keep in mind: in my country universities still teach how multithreading works in the 3rd or 4th semester if you study computer science. But I know: you live in a country where "programming" is neither considered "science" nor "engineering" ;D just nitpicking :D
    Note: I never had a bug in a Java multithreaded app by wrongly used language/library features, and I can't remember one where there was a conceptional bug regarding MT itself.
    In modern Java programming you should rely on the libraries anyway, and let the experts (stream library e.g. or Spring etc.) do the "hard work". I'm sure the same is possible in the .Net world.
    I rather spent my time with architecture and business requirements than fiddling with pointers and primitive thread constructs ... and under my watch I let no one waste his time with that either ;D (it is just as I pointed out above: mental masturbation)

  5. Or use a language like java that has a "Date" library like JodaTime.

    By defining your own int based time solution you are only forced to repeat all the bugs other developers have ironed out in their code already.

    It is unfortunately a reality that months have different lengths and that even days vary from 23h to 25h lengths ... so your so simple idea at the first glance: simply does not work. You have to know when to add 23h, to get to the next 00:00 time, you have to know if you need to add 31d to get to the first day of the next month etc. p.p. using a milliseconds representation in int64 helps you _nothing_ in that regard.

  6. Re:2 more I've seen on 'Here Be Dragons': The Seven Most Vexing Problems In Programming (infoworld.com) · · Score: 1

    Floating points don't have "rounding errors".
    They have "limitations in representation", that is a huge difference.

    E.g. 1/3 is 0.33333333... there is no error in it. Floating points just can represent it more accurately.
    And calculating 1/3 -> 0.33333333... and then multiplying by 3 again yielding 0.999999999... again is no rounding error. This is MATH. Math works like that.

    E.g. 1/3 * 1/3 is 1/9, obviously. Which is closest represented as 0.111111111... there is nothing rounded wrong here again ...

  7. And why are all scientists say the opposite then and corals are dyeing all over on the planet?

  8. It is putting oil back into the ground.

    Not CO2 harvested from the atmosphere.

  9. Can you please take out a piece of paper and make a drawing of your rational that the hight in the sky of the moon has any relation to its distance/size?
    My nephew might need it in his physics classes.
    Thank you.

  10. Re:MAD - and some of you will be on Trump Picks Top Climate Skeptic To Lead EPA Transition (cbsnews.com) · · Score: 1

    Then make up your mind ...
    Wind is not working because:
    1) there is no wind/might be no wind
    2) the country is so small, that the whole country has no wind
    3) there is no grid 'big enough' ... so wind from A can not be transported to B

    Or any other bullshit? You are arguing against wind all the time ...
    The lack of a national grid can be fixed ... surprisingly second world countries like, Rumania, Belarus, Hungary, Greece, Bulgaria, Mongolia, Kazakhstan, Georgia (the country, not the stats) and a few dozens more are interconnected in an international grid, and you can not even manage a national one?
    And that is your argument against wind and so,ar?

  11. Re: Oh, god damn it. on Trump Picks Top Climate Skeptic To Lead EPA Transition (cbsnews.com) · · Score: 1

    The fact is that even if every American citizen biked to work, carpooled to school, used only solar panels to power their homes, if we each planted a dozen trees, if we somehow eliminated all of our domestic greenhouse emissions, guess what - that still wouldn't be enough to offset the carbon pollution coming from the rest of the world.
    It would ... you are illusional.
    The USA produce more than 25% of the CO2 on the planet ...
    Seems you did not know that.

    If all the industrial nations went down to zero emissions...it wouldn't be enough, not when more than 65 percent of the world's carbon pollution comes from the developing world.
    Of course it would not be enough. But luckily only a small percentage of CO2 production comes from the developing world :) And those are mostly installing renewable power to ... cough cough ... power their growth.

  12. Re:The truth is that it does not matter. on Trump Picks Top Climate Skeptic To Lead EPA Transition (cbsnews.com) · · Score: 2

    IF global warming is anthropogenic then it is a direct function of population size.
    No it is not. Most CO2 per capita is produced in the USA ... which has an extremely small population and Kuwait which has a mini population.
    CO2 production is tied to energy usage, industries, house heating, car travel etc.

  13. Re:MAD - and some of you will be on Trump Picks Top Climate Skeptic To Lead EPA Transition (cbsnews.com) · · Score: 1

    You still have not grasped what base load is ...
    Germany now is producing 'around base load' capacity with wind alone. Hence our base load - nuclear and lime coal - plants are becoming obsolete.
    'Base load' does not mean what you think it means, I suggest to read it up. Probably from a lexicon and not wikipedia :)

  14. Re:MAD - and some of you will be on Trump Picks Top Climate Skeptic To Lead EPA Transition (cbsnews.com) · · Score: 1

    And you don't understand how big the USA are.
    Yes, you always will have enough wind.
    Just like Germany, which is how big? A 1/50th of the United States?
    Wind less zones big enough to cover a whole country only exist on a few isolated places on the world .... and those are at sea.

  15. Should that not be on Facebook Achieves 20Gbps Data Rate Over MMW Radio Spectrum (thestack.com) · · Score: 1

    1/32" radio or some other absurd imperial unit?

  16. Re:but of course on Munich Court To Try Facebook's Zuckerberg For Inciting Hatred (dw.com) · · Score: 1

    As I said before: our free speech is the same as yours.

    It is restricted in 4 cases only and most people agree with such restrictions. I most certainly do.

    Your believe that you have more freedom just because your restrictions are not coded in laws but in court cases is simply idiotic.

    sadly, both freedom of speech and freedom of religion are seriously curtailed in Germany.
    They aren't. You can perform any religion you want ... unless it contains practices e.g. rape or human sacrifices which are obviously against other laws.

  17. Re:Nature's taking care of the problem on India's New Delhi Now Most Polluted City on Earth, Air Quality Well Beyond 'Hazardous' Level (cnn.com) · · Score: 1

    Germany had no "nationalism" till roughly 2000.

    About 2000 german started to show colours in international socker games etc. again and be proud about their country.

    Before that time it was frown up on to show german colours as private person.

    So you are very wrong on this. The only super nationalism country I know, again is the USA. Playing the national anathema at any silly occasion ...

    What your showering and soap and deo comment is supposed to mean is beyond me.

    Germany is mostly inhabited by "Teutons" (no idea why Americans and british call us Teutons, when the correct term is "Germans") and nordic descendants (actually the same culture).

    We had hot baths and soap at times where the british islands were not even settled by romans ... good luck with your idiotic world view.

  18. Re:Poor Nick Denton on Hulk Hogan Settles With Gawker For $31 Million (go.com) · · Score: 1

    Laura Schlessinger sued for copyright infringement and privacy invasion when her boyfriend sold her nudes to a porn site in 1998. He had a judge preside over that trial. The judge told her copyright infringement doesn't work and she's a public figure and doesn't get that kind of privacy protection.
    Then the judge was wrong.

    Of course she could not sue on copyright issues, as obviously the BF made the movie so most of it was copyrighted by him. However as a participant (regardless if voluntarily or not) she also owns copyrights.

    Regarding being a publics figure, the judge/jury was wrong. Period. Private is private, and not public.

    Generally, unless it's a pornographic production you created for publication, sex tapes and nudie photos aren't creative works and aren't claimed or claimable as copyrighted.
    This is an extremely far sketched idea ... might be true perhaps in the USA ... not true in Europe.

    Think about that next time you send a text message: your text message isn't protected by copyright.
    That is wrong. Of course it is protected by copyright. You can cite it, but not copy it. And if you are referring to /. I suggest to scroll down the page and read what is written in the lower right corner.

  19. Re:Nature's taking care of the problem on India's New Delhi Now Most Polluted City on Earth, Air Quality Well Beyond 'Hazardous' Level (cnn.com) · · Score: 1

    India is a majour player far longer than China.
    Hence my assumption it is farer developed. But perhaps they are slower and where overtaken by China.

  20. Sorry, the markets don't work by your simplified 101 economics view.

    E.g. buyers need to have other options, and information. If one of both are missing they simply have to pay the price or not buy at all. So your "what they are willing to pay" gets pretty soon pretty fishy.

    E.g. I'm not willing to pay 25cent for my kWh of power ... but I have to. There is no option not to pay or not to have power.

  21. Re: screw crApple on Ireland Will Bring the Fight Over Apple Taxes To the EU Court (digitaltrends.com) · · Score: 1

    I'm not aware of any such EU tax rules.
    Otherwise they would go for other countries, too, e.g. Netherlands.

  22. Unfortunately every products costs the amount it costed t produce it plus the margin the producer wants to make.
    And that has nothing to do with what "the market" is willing to pay for it.

  23. Re:And to think the DNC wanted to face Trump... on Donald Trump Wins US Presidency (nytimes.com) · · Score: 1

    I have no clue when the US had a recession or a boom :D

    There are basically three things responsible for a boom:
    a) economic world climate
    b) enthusiasm of your own economy/people
    c) legislation

    The effect of legislation is - as I mentioned before - usually trailing by about 8 to 10 years.

  24. You must be an idiot.
    Mexico is ruled by the Mob/Mafia.
    The 'democracy' there is only paint.
    But well, you are american, you probably never read/watch any news about Mexico..

  25. Re:And to think the DNC wanted to face Trump... on Donald Trump Wins US Presidency (nytimes.com) · · Score: 1

    He did not.
    The boom was a result of the politics of his predecessor.
    Political changes need 8-10 years to have an effect on economy and markets.