Slashdot Mirror


User: PCM2

PCM2's activity in the archive.

Stories
0
Comments
6,164
First seen
Last seen
Profile
(view on slashdot.org)

Comments · 6,164

  1. Re:So who needs native code now? on Asm.js Gets Faster · · Score: 1

    I think ASM.JS is dead out of the water as Google refuses to support it.

    No, that's not true. You maybe have things backwards. Mozilla refuses to support NaCl, which is Google's similar-goal-different-approach technology.

  2. Re:Update the ecma standard on Asm.js Gets Faster · · Score: 1

    I don't like Emscripten. A language divorced of the prototype hogwash and weird 'this' scoping of JS which causes (OOP headaches) would be nicer.

    You mean like C++? Because that's what you compile with Emscripten.

  3. Re:Suspect even at -O0 -g on Asm.js Gets Faster · · Score: 1

    Why do you think that single process has anything to do with this ? The Mozilla developers clearly want to do this, it just is a massive effort to change their code to suite the model.

    Really? You're saying the Mozilla developers "clearly" want to switch to Pepper/PPAPI? Because I don't think that's very clear at all.

    As for NaCl, Mozilla has been pretty adamant that it's not interested.

  4. Re:The problem with js on Asm.js Gets Faster · · Score: 1

    Is not that it is slow (although it is..) it's that it sucks. It doesn't allow good coding practices, let alone enforce them.

    You've been modded flamebait, but there is some truth in what you say. I'd argue, however, that it's not that JavaScript doesn't allow good coding practices -- it does -- but that it does nothing to encourage them, and even discourages them in some cases.

    You can write good JavaScript code if you know how and use some discipline. In his book JavaScript: The Good Parts, Douglas Crockford encourages developers to use only a subset of JavaScript's features. The subset he recommends isn't as strict as Asm.js, but he isn't afraid to admit that some features of JavaScript are just poorly designed and shouldn't be there -- so if you want to write good JavaScript code, you should ignore them.

    I recommend the book. It's a quick read. It doesn't aim to be a tutorial or a comprehensive bible of correct JavaScript practice. At the very least, though, anybody who works with JavaScript will probably come away from it having seen a new perspective on how the language works and how one should approach it.

  5. Re:"So who needs native code now?" on Asm.js Gets Faster · · Score: 1

    Asm.js isn't Javascript. It's a statically typed language that looks like a subset of Javascript. There isn't even DOM support.

    This isn't really accurate. As you say yourself in a post below, any Asm.js code you can find will execute in ANY JavaScript virtual machine available today. Thus, Asm.js is JavaScript. It's just JavaScript restricted to a very strict, very specific set of rules, with everything else thrown out. It doesn't "look like" a subset of JavaScript; it is a subset of JavaScript.

  6. Re:"So who needs native code now?" on Asm.js Gets Faster · · Score: 1

    He didn't say C++.

  7. Re:"So who needs native code now?" on Asm.js Gets Faster · · Score: 1

    But the final sentence of the article isn't targeted at people doing heavy lifting. Is an "attack" at Google's Native Client (NaCl). I peeked at NaCl, and you needed a some set up and some APIs to run some native code invoked from the browser. ASM.js is way simpler, since is just a subset of JavaScript, and has much more possibilities of being followed by vendors like Opera or even Microsoft.

    Yes, but even if you're using Asm.js, you should maybe still think about NaCl as an interesting potential option.

    One reason is that you typically don't write Asm.js code by hand. You could, but you'd probably be bad at it (kind of like assembly language -- compilers just know it better than you do). What you typically do is write your code in C/C++, then "compile" it into Asm.js using a tool like Emscripten.

    Thus, if you're writing your code in C/C++ anyway, it wouldn't be such a stretch to take that same code and also compile it into a native binary module for those clients that support NaCl (which so far means only Chrome, and it looks like it's going to stay that way).

    In other words, you don't need to look at it as an either/or choice. It's perfectly feasible to use both tools, possibly without much additional development overhead.

  8. Re:Don't stop your meds! on Ask Slashdot: Working With Others, As a Schizophrenic Developer? · · Score: 0

    In a previous life, I worked with mostly medicated kids in a clinical K-12 setting. It was absolutely the norm for them to be inconsistent with their meds.

    I've been told that the segment of people on meds for psychological disorders who go off their meds when they shouldn't, at some point in their treatment, approaches 100 percent. (And when I say "when they shouldn't have," I mean the solution for the problems that inevitably arise ends up being to get back on the meds, or similar ones.)

  9. Re:Duh on U.S. Measles Cases Triple In 2013 · · Score: 1

    When the anti-vaxxers come out of the woodwork it's best to bring out the big guns like polio. My parents have a lot of stories about kids in their school class with polio.

    On that score, I can recommend a novel called Nemesis by Philip Roth. I knew absolutely nothing about polio before I read it. For example, I figured polio was a degenerative condition where if you were sick for long enough you'd end up in an iron lung. Nope, you'd go from looking like you had the flu to ending up in an iron lung inside of a couple of weeks. I never knew this because nobody I've ever known, including my grandparents etc, has ever had polio. But once upon a time a lot of people had polio. Vaccination made it go away, and it's absolutely nothing we want coming back.

    Chicken pox ain't polio, and to me it was a cake walk, and I never knew anybody who went to the hospital for chicken pox, though I know it happened. But I guess it's better to have a vaccine for it. I mean, when can you ever say that it's worse when we can prevent a disease? I just have this weird thing in my head where it was a rite of passage, and back in the day it was the same for measles et cetera. But ideally speaking, people shouldn't get sick if we can prevent it. It's just the thing.

  10. Re:Duh on U.S. Measles Cases Triple In 2013 · · Score: 1

    Yeah, me it was junior high school, so we're talking like 12.

  11. Re:good riddance - Not on After FDA Objections, 23andMe Won't Offer Health Information · · Score: 1

    Exactly, IMO the FDA is shutting down a useful service in order to protect a few idiots out there would would act on the results as gospel.

    Bullshit. The FDA isn't "shutting 23andMe down." Nobody woke up yesterday morning and was told 23andMe had to shut down. 23andMe had YEARS to get in compliance with FDA regulations, but instead it chose to say "we don't agree that we fall under the jurisdiction of the FDA" and do nothing. And then, golly gosh, it turns out that we do actually live in a society of laws after all. If I was an investor in 23andMe, I would be steaming pissed.

  12. Re:good riddance on After FDA Objections, 23andMe Won't Offer Health Information · · Score: 1

    So does the local palm-reader.

    The point appears to be that you can provide medical advice if you are completely unscientific about it, but as soon as you try to offer even a little bit (even of experimental or tenuous) fact, then you have to go whole hog.

    Seriously? So in your book, a doctor who has spent years at medical school and practiced in the field for years more is a "palm reader," but whichever unlicensed, unregulated nobody who reads you your 23andMe test results is a "scientist"? I guess in the unmitigated bullshit stakes, that makes you a dean of medicine.

  13. Re:good riddance on After FDA Objections, 23andMe Won't Offer Health Information · · Score: 3, Insightful

    How could that possibly be within any legitimate government's domain? Using the same rational they could shut down wikipedia or rxlist.

    They sure would shut down Wikipedia or RXList if those services allowed you to make an appointment to consult them for medical advice. Even campus health nurses have to be licensed.

    What Wikipedia offers now is pretty much the same thing as reading information out of a book. You can't stop people from doing that, and there's no law against it.

    What 23andMe does is market a product that you use to extract unique information about your own body, which is then presented to you in the form of suggestions about what health measures you should take -- in other words, medical advice. Very different.

  14. Re:Deaths are only PART of the damage from measles on U.S. Measles Cases Triple In 2013 · · Score: 1

    ...and if you want to convince the right-wingers, come up with a number for how much all of this costs the country, in terms of hospitalizing people who don't have insurance, etc...

  15. Re:stop the sensationalist crap on U.S. Measles Cases Triple In 2013 · · Score: 1

    Bottom line, normally 60 cases a year, but spike was 175 cases. so what, that is nothing. measles therefore is not a concern in this country.

    Don't be dense. It's not a case of "if some people get vaccines we get no cases and if nobody gets vaccinated we get 175 cases." In France, where the instance of non-vaccination is much higher than it is in the US, there were five thousand cases of measles reported in the first three months of 2011 alone. You want the US to go that way, keep thinking measles vaccination is "not a concern."

  16. Re:Duh on U.S. Measles Cases Triple In 2013 · · Score: 1

    I had chicken pox as a kid and got it pretty bad. I just hope I don't end up with shingles which is quite miserable for those I know who suffer from it. Anyone who thinks two weeks of hell and a high probability of getting shingles is better than a couple quick jabs is an idiot.

    You've just crossed the divide where my perspective is different than yours. When I was a kid, there was no chicken pox vaccine and everybody got it. If you knew a kid who had it, your parents sometimes sent you over to "say hi" to that kid, in hopes that you would catch it, because generally the younger you caught it, the milder the effects. (It's not much fun coming down with full-blown chicken pox as an adult, like my friend Dave eventually did -- picture trying to shave.)

    Anyway, "two weeks of hell" is hardly how I'd describe the chicken pox. Two weeks of skipping school, getting to sit in front of the TV and watch anything I wanted, eating whatever I wanted (though to be honest, my sense of taste went funny while I was sick so not everything was enjoyable) and generally having a nice bed-rest vacation is how I remember it. When I heard that they were handing out chicken pox vaccines to kids, my first thought was "pussies."

    But, I guess times change.

  17. Re:good riddance on After FDA Objections, 23andMe Won't Offer Health Information · · Score: 5, Insightful

    Perhaps this is why the FDA put the kabosh on it

    The FDA was very clear about why they stopped it. It wasn't necessarily that the information was misleading, but that it would lead patients to make decisions about their own care without necessarily consulting a doctor, which the FDA thinks is not a good idea -- and I totally see their point, frankly.

    For example, one of the things that 23andMe can tell you is how well you might respond to one drug versus another, because of your specific genetic makeup. If you take that advice and change the dosage of your medication or switch to a different medication without discussing the issue with your doctor, you could cause yourself serious harm.

    On the far end of the scale, "false positives" for some diseases could be catastrophic -- say, if a woman was erroneously told she had a high chance of contracting a certain type of breast cancer and decided to have a double mastectomy, like Angelina Jolie had done.

    23andMe claimed that all it was doing was giving people information. But really, the way the information was structured and presented to the customer made it clear that it was designed to be diagnostically relevant and that they should use it to make decisions about how to proceed with health care. Any service that performs that function clearly falls under the jurisdiction of the FDA, IMHO.

  18. Re:The really sad thing is vaccines improving on U.S. Measles Cases Triple In 2013 · · Score: 1

    I could eventually find out. But I won't. You just want an excuse not to do what you know you should do.

    And there you have it, folks ... the man who, quite without irony, spreads misinformation about vaccines in a /. post specifically about how people are getting sick because of misinformation being spread about vaccines.

    Get your tetanus boosters, folks. You need one every ten years.

  19. Re:The really sad thing is vaccines improving on U.S. Measles Cases Triple In 2013 · · Score: 1

    I never said YOU could get the shot. I said I got the shot. For all I know it may be years before they roll it out to the general public. It was new, so that's quite possible.

    "For all you know"... and you don't even know what it is or what company manufactures it, in fact you can't provide a single link to any source of information about it and who might have access to it. Well, I'm convinced.

  20. Re:Thanks, Jenny McCarthy on U.S. Measles Cases Triple In 2013 · · Score: 3, Informative

    Actually, it's not eradicated, and it's actually making a comeback (thanks to the anti-vaxxers).

    You're mistaken. No known human has contracted any form of naturally-occurring smallpox (i.e. not laboratory grown) since 1977 -- and we actually know the first and last name of the last person who ever did.

    You're probably thinking of some other disease. There are lots of them; smallpox is the only one we've ever gotten rid of.

  21. Re:The really sad thing is vaccines improving on U.S. Measles Cases Triple In 2013 · · Score: 1

    new formulation - maybe you civilians don't get it yet

    I've never heard of a permanent tetanus shot. It's possible you may have misunderstood what you were being told.

    TDAP is a shot that includes a tetanus booster plus a small amount of pertussis (whooping cough) vaccine -- that's the P in TDAP. You were probably vaccinated against pertussis as a child, but these days doctors recommend that people get a booster once during their adult lives. So yes, it's technically true that you only ever need one TDAP shot once you become an adult, for the P. But that doesn't mean you don't need to keep getting the tetanus boosters (the T) every ten years. That part still wears off, unless they've really come up with something brand new.

    What's more, even if you've been vaccinated within the last ten years, if you step on a nail or something and the puncture wound is deep, your doctor will probably recommend you get a tetanus booster anyway, just to be on the safe side.

  22. Re: The interesting question on Study Suggests Link Between Dread Pirate Roberts and Satoshi Nakamoto · · Score: 1

    I write for El Reg [theregister.co.uk]

    Ah, that explains it.

    It does, actually. As a member of the press operating under the jurisdiction of UK libel law, I'm not going to say he committed any crime until he's convicted.

  23. Re: The interesting question on Study Suggests Link Between Dread Pirate Roberts and Satoshi Nakamoto · · Score: 3, Insightful

    Just for shits and giggles, what if DPR and Satoshi were indeed in cahoots at the beginning, with DPR having the balls and skills to build a huge black market and Satoshi providing him with the means to make it work?

    Have you read the details of how DPR got caught? Satoshi may be some kind of genius, but if Ross Ulbricht really is DPR then he definitely does not have the skills to run any kind of criminal enterprise. As for balls, stupidity can convince a person to do all kinds of things.

  24. Short answer: No on Can the US Be Weaned Off Ethanol? · · Score: 4, Funny

    I, at least, am unlikely to be weaned off ethanol.

  25. Re:Valuation is completely skewed.. on SnapChat Turns Down $3 Billion Offer From Facebook · · Score: 3, Insightful

    Somehow Twitter is worth more than Redhat, FB is worth more than MS, and Zynga is worth more than EA?

    Errr... apparently Twitter IS worth more than Red Hat, but Zynga's market cap is less than half that of EA and Facebook's is less than half that of Microsoft.