Slashdot Mirror


User: adonoman

adonoman's activity in the archive.

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

Comments · 578

  1. Re:Well 1 Real One on Number of Coders In Congress To Triple (From One To Three) · · Score: 1

    All the "real programmers" do.

  2. Re:Well that's a start... on Number of Coders In Congress To Triple (From One To Three) · · Score: 1

    I'd love to see an expert system that could take in some form of legal jargon, the details of a specific situation, and spit out an unambiguous application. Of course, then it could lead to all sorts of "hacking" the system. Imagine winning a court case because of an off-by-one error in a law, or a buffer overrun vulnerability in a contract that allowed for arbitrary code execution.

  3. Re:No Mention of Asimov on Machine-Learning Algorithm Ranks the World's Most Notable Authors · · Score: 1

    He's 5th for the 1990s and 252nd overall.

  4. Re:Silly on Tim Cook: "I'm Proud To Be Gay" · · Score: 1

    And I wouldn't be surprised to hear someone say they were "proud" to be 5'2" or 6'6". Nobody gets mocked for being 5'10" (at least in a predominantly Caucasian crowd - when I'm the only white guy in a crowd of Pilipino people, I get the occasional comment)

  5. Re:Intelligence isn't that important on Scientists Find Rats Aren't Smarter Than Mice, and That's Important · · Score: 3, Funny

    That's just a couple of anecdotes though. You might have just had a particularly inept fish. I propose trying it with say 1000 goldfish, to gauge consistency.

  6. Re:Feed 250 hungry people, or 20 Americans on Can the Sun Realistically Power Datacenters? · · Score: 1

    Assuming of course that all land is equally suitable for farming... If you believe that, I have some tundra to sell you.

  7. Re:Exact mathematical value isn't the ideal on Where Intel Processors Fail At Math (Again) · · Score: 2
    If you are doing any floating point calculations and assuming exact results, you're going to get yourself in trouble. The issue is that FSIN is less accurate than advertised, not that it's not 100% accurate.

    Anyone who deals with floating point math very quickly learns about error accumulation and how to deal with it.

  8. Re:Costs on Fusion Reactor Concept Could Be Cheaper Than Coal · · Score: 4, Funny

    We'd obviously have to situate it off-world and use some sort of electromagnetic beam to send the generated energy to earth. Heck, given the amount of extra power generated, we could just send off the energy everywhere and there'd still be enough hitting the earth. We could then use devices here to convert that energy into electricity.

  9. Re:Catching up with Fedora on Microsoft Announces Windows 10 · · Score: 1

    Which is exactly why powershell is great - you never have to parse things. Anytime I have to drop into sed/awk in Linux, it always feels like I'm fighting the system.

  10. Re:Catching up with Fedora on Microsoft Announces Windows 10 · · Score: 1
    Since property is the first parameter to sort-object, you can just do:

    ls | sort Length/code

  11. Re:Catching up with Fedora on Microsoft Announces Windows 10 · · Score: 1

    It helps that by default it won't run any script files. Once you enable that, it still won't run any remote code unless you enable that. And even then you can restrict it to only run signed code.

  12. Re:Catching up with Fedora on Microsoft Announces Windows 10 · · Score: 2
    Yes, you can. Except instead of getting back text, which you then have to parse if you want to do anything with, you get back a stream of .NET objects which will be formatted into a text table if you do nothing with them, but also let you do things like this:

    ls | where { $_.Length -gt 5000 }

  13. Re:Traditional crimes on Accused Ottawa Cyberbully Facing 181 Charges Apologizes · · Score: 1

    See Watson vs. United States for an example of the letter of the law vs. the spirit of the law. This likely would have ended up completely differently in Canada.

  14. Re:Still... on C++14 Is Set In Stone · · Score: 2

    I don't know if it was officially accepted, but I believe they added ' as a digit-group separator: 0b0010'1101'0011'0111'0101'1100

  15. Re:Sexual selection by the opposite sex. on Study: Male Facial Development Evolved To Take Punches · · Score: 3, Informative

    The explanation I've heard for useless showy features (a la peacock) is that the ability to put resources into giant shiny feathers show that you have the ability to gather enough food to live, and have leftover energy to devote to impressing the ladies. It's not so much the particulars of what the feature is, but rather having resources (or money) to burn indicates that you're successful enough to be a good mate.

  16. Re:Why use it? on C++ and the STL 12 Years Later: What Do You Think Now? · · Score: 1

    Resource handling. Lower-level languages require you to manually release any resource you acquire. Every piece of heap allocated memory needs to be freed. Every file you open needs to be manually closed. Every network connection, mutex, or handle needs to be released. It's feasible to do, since you don't have to worry about exceptions. But it does require an incredible fastidiousness to make sure that you always clean up after yourself.

    When you get to the higher level languages, you get garbage collection which means never having to manually release memory again. But everything else is stuck being released manually. You can't do it reliably in regular code, since exceptions get in the way, so they introduce things like finally or using. But again, you're relying on the people using the class to remember to clean up every single time they use it.

    In C++ you can rely on stack-unwinding to clean up after you. I haven't checked in a "delete" in over 10 years of C++ coding. Every C resource we use gets a wrapper class that automatically releases it when the object is destroyed. It's really the biggest thing I miss when working in other languages.

  17. Maybe our gadgets need to come with cat cradles.

    Professor Norton Nimnul has already beaten you to it.

  18. Re:Generalized Master Equation... on First Experimental Evidence That Time Is an Emergent Quantum Phenomenon · · Score: 2

    Out of genuine curiosity, can you point me to evidence showing the universe is non-deterministic? I'm not sure how one would go about making that kind of observation.

  19. Re:So... Parmenides was right after all? on First Experimental Evidence That Time Is an Emergent Quantum Phenomenon · · Score: 1

    Fair enough, and judging by some of the other responses, you were justified in your interpretation. I guess I overestimate /.'s rationalism. To be clear, I don't attribute Parmenides with any great insight into the quantum nature of the universe, anymore than I think that Democritus had any clue about what we've come to call "atoms". That being said, the line of reasoning on "what is" vs. "what is not" does have some interesting things to think about if time is indeed an emergent phenomenon.

  20. Re:So... Parmenides was right after all? on First Experimental Evidence That Time Is an Emergent Quantum Phenomenon · · Score: 1

    He obviously wasn't "right" in the sense of having anything useful to say about the world in any scientific sense - I would have thought that goes without saying. I just found the parallel amusing. You're reading a bit too much into an off-hand comment.

  21. So... Parmenides was right after all? on First Experimental Evidence That Time Is an Emergent Quantum Phenomenon · · Score: 1, Interesting

    This sounds a lot like what he was saying 2500 years ago.

    From Wikipedia:

    In "the way of truth" (a part of the poem), he explains how reality (coined as "what-is") is one, change is impossible, and existence is timeless, uniform, necessary, and unchanging. In "the way of opinion," he explains the world of appearances, in which one's sensory faculties lead to conceptions which are false and deceitful.

  22. Re:the most basic data structures on What Are the Genuinely Useful Ideas In Programming? · · Score: 1

    I've interviewed for a company that required you to write out a stack implementation in C++ from scratch during the interview. It's a great problem, since it's quite easy to define, nearly everyone knows what is required, but it's complicated enough that when coding by hand on paper, every entry-level programmer is going to make a mistake, and you can see how they think when you tell them there's a mistake. Even when they get it right, you get a lot of insight into their problem-solving style by listening to them defend the design.

  23. Re: What's next Cass? on How Human Psychology Holds Back Climate Change Action · · Score: 1

    The paper is real, but its value as currency is only due to a collective agreement to value it as such.

  24. Re:I'll go ahead and say it on China Plans To Stop Harvesting Organs From Executed Prisoners · · Score: 2

    If a right can be forfeit, then it's no longer a right - it's a privilege. In a democracy, the ability to vote has to be one of THE fundamental rights that can never be taken away. Otherwise, you end up with the situation the US currently sees where large chunks of people are disenfranchised, and the government loses its claim to be representative of its citizens.

    Whether you firearm ownership is a fundamental right, a secondary right that must yield to other more fundamental rights in a conflict, or a privilege that the government has the ability to revoke, makes a big difference as to whether you feel that any level of gun control is acceptable.

  25. Re:I hear they're outsourcing it... on China Plans To Stop Harvesting Organs From Executed Prisoners · · Score: 1

    Then why stop at harvesting organs? Why not use the dead as food? Why bother following a person's will, and just let the living do what they want with a person's estate?