Slashdot Mirror


User: mr_mischief

mr_mischief's activity in the archive.

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

Comments · 4,341

  1. Re:Kickstarter campaign to fix the overlord proble on SourceForge Suspends Independent Project Mirroring · · Score: 1

    They seem to know the Reddit hug o' death just fine.

  2. Re:Meh on SourceForge Suspends Independent Project Mirroring · · Score: 1

    I'm not sure which Sony scandal you're talking about.

    The PS3 alternate boot thing when it was sold with the feature and then had the feature stolen was pretty tangential for most people. The Windows rootkits on normal Redbook audio CDs was not an inconsequential thing.

    Creating and then killing UMD rather than using MiniDisc or SD cards or downloads for PSP games was pretty tangential to the core purpose of the product. Using MS Pro Duo cards rather than SD for saving was too, for that matter. Putting a rootkit on the PSP media encoder software CD was not inconsequential.

  3. Re:I'm with you to some extent on Ask Slashdot: What's the Harm In a Default Setting For Div By Zero? · · Score: 1

    It doesn't have to be every variable. It just has to be the one used as a denominator.

  4. Re:I'm with you to some extent on Ask Slashdot: What's the Harm In a Default Setting For Div By Zero? · · Score: 1

    Don't let it be an error that brings everything to a standstill. Check for and handle the inputs appropriately.

  5. Re:Stupid Question on Ask Slashdot: What's the Harm In a Default Setting For Div By Zero? · · Score: 1

    IEEE floating point has positive and negative infinity, but there's not enough information in "/ 0" to say which is which considering true 0 is nonpositive and nonnegative (despite signed zero for convenience). There's a gap in the graph.

    Try breaking it down into grade-school division for people though. Why? Because you can subtract 2 from 6, three times and build up the result as grade school children are taught, leaving 6= 1 + 4 / 2 = 2 + 2 / 2 = 3, but you can't take subtract 0 from itself 0 times leaving 0 + 0 / 0 to be simplified and expect it to make any progress. There is literally nothing to divide it into. x / 0 where x > 0 comes out to be x / 0 = 0 + x / 0 = 0 + x / 0 ad infinitum, or what a graph of 1 / x shows, approaching infinity. Where x < 0 it approaches negative infinity. Where x = 0 it never reduces. In other cases it reduces to a case that may or may not be useful.

    The simplest way to define x / 0 were we to define it is that it is irreducible. 5 / 0 = 5 / 0 and 22345 / 0 = 22345 / 0 which is about useless without handling it as an exception anyway. This is unless one is doing other math and can therefore cancel out zeros, but then that would have to be done beforehand or in the exception handler/error checking code, which means it still needs to be handled as an exceptional case.

    In certain applications it's okay to approximate to +inf or -inf or MAXINT or MININT or 0 but it's application-specific. There can't be a rule in the hardware or the language. The exception handler can do the approximation (and can log that it's an approximation or alert the user or whatever) or can fail out to user intervention if necessary. The exception is always the right default for an exceptional situation. :-)

  6. Re:I'm with you to some extent on Ask Slashdot: What's the Harm In a Default Setting For Div By Zero? · · Score: 1

    So let's see about that. Say you have $10,000 set assigned for an on-site training class and want to budget it against four employees, but none of them can make it to the class.

    What percentage did you spend on employee A's spot in the training class since there were zero students?

    10000/0 = ???

    Did you spend zero percent on that employee? Or does that $10000 stay in the training budget and not get spent (assuming you canceled early enough that you don't still owe the instructor)? Or did the instructor not get notified in time, and you spent the $10000, but zero employees benefit from it? Did the instructor not get notified because your training department didn't check for zero students attending?

    What's the return on investment of $2500 for which you get no return? Well, that's easy enough. It's zero, because 0/2500 is 0. But you didn't get the 2500 by dividing by zero. You got that by dividing by the expected 4. Zero was unexpected, or you wouldn't have scheduled the class in the first place.

    Canceling the class due to having zero students is an exceptional circumstance. Paying a traveling instructor to show up for a day and do nothing is an exceptional circumstance. There are multiple ways to handle exceptional circumstances: check beforehand or raise an exception message and handle it. You don't just ignore the exceptional circumstance because you end up doing stupid things with bad information.

    You don't suddenly have a zero cost per student class because nobody showed up and you spent $10000. You have just wasted ten grand if you still have to pay the instructor.

    tl;dr: 0 != 1 and 0 as a divisor is not an identity function.

    One DEFINITION of division is subtraction of the denominator from the numerator x times, where x is the result. You stop dividing when there's nothing left to divide out.

    Now let's try dividing some things by 2.


    6 / 2 = 1 + 4 / 2 = 2 + 2 / 2 = 2 + 1 = 3
    12 / 2 = 1 + 10 / 2 = 2 + 8 / 2 = 3 + 6 / 2 = 4 + 4 / 2 = 5 + 2 / 2 = 5 + 1 = 6

    by 3:
    9 / 3 = 1 + 6 / 3 = 2 + 3 / 3 = 3
    12 / 3 = 1 + 9 / 3 = 2 + 6 / 3 = 3 + 3 / 3 = 4

    by 0 :
    5 / 0 = 0 + 5 / 0 = 5 / 0
    3 / 0 = 0 + 3 / 0 3 / 0

    There's nothing to subtract there. You can't subtract zero from 5 enough times to get any number. Does that make 5/0 == 5 ? Does it make it 0? Does it make it approximately positive infinity? You can't simplify dividing by zero and have a meaningful integer result. (hint: you can subtract zero infinitely many times from 5 and still have 5.) IOW:

    5 / 0 = 0 + 5 / 0 = 0 + 5 / 0 = 0 + 5 / 0 = (the same thing ad infinitum) = 5 / 0

    Now there may be certain logical situations in which setting something to zero is the right thing to do in your exception handling code. Just letting everything be represented as if n/0 == 0 is not correct or desirable. It takes reasoning about how to handle the exceptional case.

  7. Re:Idiot on Ask Slashdot: What's the Harm In a Default Setting For Div By Zero? · · Score: 1

    Hey, let's not get hasty. Short order chef is a challenging job with lots of details. You can't just default everyone to cheese omelettes when you can't be assed to check the validity of the table ticket. Clearly this guy needs to work on his attention to detail first. Maybe mopper or busser.

  8. Re:Shared hosting on "Let's Encrypt" Project To Issue First Free Digital Certificates Next Month · · Score: 1

    There are problems with shared hosting, but this isn't one of them. That's a problem with specific shared hosting vendors. HostGator for one will install a cert for you that you bought somewhere else, or at least they used to.

  9. Re:TRIM vs NCQ on TRIM and Linux: Tread Cautiously, and Keep Backups Handy · · Score: 1

    It will break if some model of drive from the same manufacturer is also buggy but the model number happens not to match the list of regexes. That's why they recommend steering clear. If the regex match correctly keeps up with all the buggy drives, there's no problem.

  10. Re:Another Deceptive Slashdot Title on TRIM and Linux: Tread Cautiously, and Keep Backups Handy · · Score: 1

    Perhaps you should update your lovely Wikipedia page, because it is outdated.

    SATA 3.1 standard note at techreport
    Webopedia info on SATA 3.x
    Wikipedia's own entry on SATA 3.1
    TechPowerUp article about SATA 3.1

    Here's a press release from sata-io about it: in PDF format

    Not only does TRIM via NCQ exist, it is in the recent specifications. You see, the thing about computer technology is that it keeps being improved. Outdated information doesn't stop that. It just becomes outdated.

  11. Re:Fear of guns on Stormtrooper Arrested · · Score: 1

    .30-30 lever action Marlin is a popular choice where I grew up, but a semi-auto or bolt action in .300, .270 Winchester, .30-06, or .308 would be just as acceptable.

  12. Re:Could you tell a difference at distance? on Stormtrooper Arrested · · Score: 3, Funny

    Only if Happy Gilmore calls it in.

  13. Re:Great tool for insurance companies, too on New Test Could Reveal Every Virus That's Ever Infected You · · Score: 1

    There are generally three or four *main* strains going around each year, and a bunch of other less common ones. That's why flu shots are way less effective than would be hoped. This year the US is saying about 19% effective because they picked the strains they thought would be the most common threats.

  14. Re:We've asked, lobbied, and begged for this. on US Prosecutors Say Clearing Browser Data Can Be Obstruction of Justice · · Score: 1

    The "we" I speak of is the geek movement in the large. It's obviously not all-inclusive.

    Many, many people have been arguing that today's electronic documents are equivalent to paper documents. This is especially true when we're arguing that they should have the same constitutional protections under the Fourth Amendment to the US Constitution.

    Well, if we ask for the exact same treatment during search and seizure, we shouldn't be surprised when the same requirements for those documents fall on us during an investigation.

    Feel free to shred your papers and delete your computer files so long as you're not obliged to keep them. If you're regulated to keep them (Sarbanes Oxley, perhaps, or another law) or if you know you're being investigated and your documents are subject to legal search then destroy them at your own risk.

  15. We've asked, lobbied, and begged for this. on US Prosecutors Say Clearing Browser Data Can Be Obstruction of Justice · · Score: 3, Interesting

    We've asked, lobbied, and begged for actions taken on a computer or across a network to be taken the same way by law enforcement and the courts as if they were taken offline with non-virtual items. This is a double-edged sword. It's okay to shred paper documents, but not if you're doing so with intent to destroy evidence of a crime. Well, now, they're just treating computer users the same as paper users. We asked. They answered.

  16. Re:Such a nice, sugary story.... on Disney Making Laid-Off US Tech Workers Train Foreign H1-B Replacements · · Score: 2

    Like many jobs that are best done with judgment and experience, a good human CEO will do a better job than a script. An average CEO, though, who just follows simple numbers gamed or made up by middle management? The script is probably a big savings in salary there. A poor CEO could probably be improved upon by software.

  17. Re:Subscription? on Showtime Announces Subscription-Free Streaming Plan · · Score: 1

    That's actually about what it costs to add HBO or Showtime to a cable subscription if you add a "premium channel package" rather than upgrading to X number of channels. That's probably the market they want right now. Why get two or three Showtime channels at $10 a month on top of a cable bill when you can get Showtime on demand without the cable bill?

    It should be noted that some cable companies have on-demand options for the channels to which you subscribe.

    Also, streaming apps allow you to use your cable subscription information to stream. I've got an HBO Go account at no charge because I'm a Comcast subscriber. So I use that app and cast to my Chromecast rather than actually paying Comcast for HBO because I only care about a couple of their shows.

  18. Re:decimate my ass on Bats' White-Nose Syndrome May Be Cured · · Score: 1

    Are you looking for someone to destroy one tenth of your ass for being and anonymous coward, or do you not understand that etymology and current definition can be not completely the same?

  19. Re:It's hard out there for a patent troll on Oculus Founder Hit With Lawsuit · · Score: 1

    Google "mitigation of damages". You're supposed to stop the violation as soon as it has caused you harm. A party can't wait for greater harm to come to them in hopes of a bigger payout. That's not what the courts are for.

  20. Re:It's not consequences. It's the lack of control on Asteroid Risk Greatly Overestimated By Almost Everyone · · Score: 1

    Fear is mostly an electrochemical process in a biological system. To call it silly is pretty dismissive of its role in our evolution. Now how supposedly rational, logical, thinking beings react to their fear is worthy of consideration.

  21. Re:Power savings on AMD Details High Bandwidth Memory (HBM) DRAM, Pushes Over 100GB/s Per Stack · · Score: 1

    The difficulty in replacing it is of course a factor. People could buy a CPU+memory package as an upgrade for a motherboard, though, and still use card-slot peripherals like extra network cards and such. Many motherboards even in the enthusiast space now have networking, sound, lots of USB, and lots of SATA onboard.

    I'd pay a few hundred dollars for a mid-line CPU with mid-high GPU and 16 or 32 GB of ultrafast memory on a card that mounts onto the motherboard in a great big socket. Heck, that motherboard could then have DIMM slots for a few GB of slower DDR3 just as a RAM cache for the drives. Better yet for a server would be 32GB of HBM with 128GB of DDR3 or DDR4 swap space.

    This all assumes HP or IBM doesn't make it to market with memristors / big racetrack memory that's much faster still. Any of that, too, though, would benefit from being more tightly coupled to the CPU.

  22. It's not consequences. It's the lack of control. on Asteroid Risk Greatly Overestimated By Almost Everyone · · Score: 1

    People aren't so much scared of what could happen as they are about inability to do anything about it.

    Being careful around traffic makes getting hit by a big truck less likely. Diet and exercise are not panaceas but are mitigating factors for lots of medical conditions even if you're genetically or epigenetically predisposed to them. Modern medicine, although imperfect, gives us far greater control over both of those types of things even after the fact.

    In a plane crash, unless you're the pilot or mechanic, there's not much you can do. In an asteroid strike, unless it's a smaller one we know is coming and can evacuate people, there's not much anyone can do. With a disease with a high infection rate, high mortality rate and no known effective treatment, such as Ebola until recently was, there's not much that can be done other than avoiding high-risk areas and quarantining people in those high-risk areas.

    Regardless of the odds, people fear loss of control sometimes as much or more than the actual negative impacts. Some competitive team sports athletes have a more difficult time watching their team from the sidelines after an injury than they have emotional difficulty in their recovery.

  23. Re:Uneven height and cooling on AMD Details High Bandwidth Memory (HBM) DRAM, Pushes Over 100GB/s Per Stack · · Score: 1

    They could use separate heatsinks or mill a recess into a bigger one for the memory.

  24. Re:Power savings on AMD Details High Bandwidth Memory (HBM) DRAM, Pushes Over 100GB/s Per Stack · · Score: 1

    Now, imagine if the whole APU could use HBM as the combined system RAM.

  25. Re:An Old Story on Criticizing the Rust Language, and Why C/C++ Will Never Die · · Score: 1

    What little part did you grab onto without reading the whole post? That's right, the very first sentence.

    Read the whole thing. It's about balancing speed of development with other factors, including performance of the code.

    Nobody's talking about blazing fast, careless typing into an IDE. The biggest cost in software development tends to be the software developer. Making the software developer more productive saves money. Most of us don't have unlimited budgets.

    People who code in Python, Perl, Scheme, JavaScript, or whatever rather than assembly aren't all "sloppy" developers. They're producing code that does a lot more work per source line than Assembly does. If they produce the same number of lines, then they're more productive.