Slashdot Mirror


User: narcc

narcc's activity in the archive.

Stories
0
Comments
5,471
First seen
Last seen
Profile
(view on slashdot.org)

Comments · 5,471

  1. Re:kinda like typescript to javascript on Facebook Introduces Hack: Statically Typed PHP · · Score: 1

    Silly and irrelevant?

  2. Re:Really... on Facebook Introduces Hack: Statically Typed PHP · · Score: 2

    So ... What would you have changed? What would your top-priority have been?

  3. Re:Dynamic typing is a hack on Facebook Introduces Hack: Statically Typed PHP · · Score: 1

    Wait. A single function call is a "complex work-around" in your world?

    Besides, you only need pack and unpack to get an array (as specified in your silly post). You don't actually need them to read binary data from a file, modify it, and write it back to a file.

    In any sane programming language, you can access the bytes directly as an indexed array.

    Fun fact: You can do that in PHP as well! Use the [] operator on the string you read in to access and modify individual bytes.

    What's so damn hard about reading the documentation anyway? I'd think you'd have at the very least made sure that you had your facts straight before making this post!

    So... Do you still think your complaint is valid?

  4. Re:Close button on OS X on Firefox 29 Beta Arrives With UI Overhaul And CSS3 Variables · · Score: 0

    Probably because they don't have the resources to cater to a tiny niche using an obscure OS?

  5. Re:Dynamic typing is a hack on Facebook Introduces Hack: Statically Typed PHP · · Score: 1

    Because all the examples and explanations I've found were nothing but "simple"

    You're either not very good at searching, terrible at programming, or both.

    A quick look at the documentation and you'll find handy functions like fseek, fread, fwrite, pack, and unpack. It's easier than doing the same in Java, C#, or even C.

    You won't run across any problems caused by dynamic typing. What strange and unusual approach did you take?

  6. Re:Dynamic typing is a hack on Facebook Introduces Hack: Statically Typed PHP · · Score: 2

    Ever tried to access 8-bit byte arrays and write them to a binary file in PHP?

    Yes, I have.

    It's hell and it takes a lot of work to go around all the stupid dynamic typing.

    No, it's not. It was simple and painless.

    Had you taken a few minutes to read the documentation, you wouldn't have suffered through "hell".

    Maybe programming isn't for you? Have you considered a career more suited to your talents?

  7. Re:Nope on Facebook Introduces Hack: Statically Typed PHP · · Score: 1

    PHP lacked vital modern features (like static typing

    Modern features like static typing.

    Modern features like static typing...

    Seriously?

  8. Re:I think this is dangerous on Oculus Rift Developer Kit 2 Ready For Pre-Order Today · · Score: 1

    Having a pipeline delay will make it feel like you are on some serious drugs.

    And ... we've identified the 'killer app'.

  9. Re:Science, I think not on More Troubles For Authors of Controversial Acid-Bath Stem Cell Articles · · Score: 1

    "You did a google search, therefore, you're wrong!" "You liked to a Guardian article, therefore, you're wrong!"

  10. Re:what you need them for? on Ask Slashdot: Can an Old Programmer Learn New Tricks? · · Score: 1

    Personal recommendation: Avoid frameworks. They create far more problems than they solve. And they slow everything down.

    No need to make it personal, that's solid advice.

  11. Re:Seconded on Ask Slashdot: Can an Old Programmer Learn New Tricks? · · Score: 1

    If you want to learn something, I'd go with Java and Android now (with Eclipse), its the future.

    I'd bet against that.

  12. Re:What he's really saying on Eric Schmidt On Why College Is Still Worth It · · Score: 2

    It's been like this for a while. The autodidacts just tend to get nervous and defensive when topics like higher education come around. It reminds them that they're not actually scientists, engineers, mathematicians, or whatever else they fancy themselves.

    It's sad, really. Just let them have their play-pretend time. Articles like this don't come around more than once or twice a year. Let them feel good about their bad decisions for a while. They need it.

  13. Re:"Religious Activities" not Religion per se on Religion Is Good For Your Brain · · Score: 1

    Really? You didn't think you could separate the rituals from the belief?

    That can't be right. What did really you mean / intend to say?

  14. Re:Religion... on Religion Is Good For Your Brain · · Score: 1

    the fantasy -- or that which cannot be proven using critical mind and reason

    I'd pick a different definition if I were you. I suspect you'd be quite surprised at what that identifies as fantasy.

  15. Wait a minute... on Google Sued Over Children's In-App Android Purchases · · Score: 4, Insightful

    This sounds awfully familiar... Didn't Apple have this exact same problem?

    Thanks, TFA:

    The case against Google is similar to one brought by the U.S. Federal Trade Commission against Apple over children's in-app purchases. That case was settled in January and Apple agreed to pay at least US$32.5 million to customers.

    Now we need to ask why Google didn't take action to prevent this sort of thing.

  16. Re:get'em laid on Study: Happiness Improves Developers' Problem Solving Skills · · Score: 2

    That's some serious self-delusion there.,,

  17. Re:Ray was right! on Physicist Proposes a New Type of Computing · · Score: 1

    Ray will be right eventually, but he is off on his time scales by wide margin.

    That's good news. I was getting concerned about my construction plans. I'll have another load of bricks dumped in my yard every week until my new mansion emerges.

  18. Re:Do Canonical? on Google To Replace GTK+ With Its Own Aura In Chrome · · Score: 1

    pico

    Flame on!

  19. Re:How are those kind of things patentable? on Apple Demands $40 Per Samsung Phone For 5 Software Patents · · Score: 1

    So ... just like Apple then?

  20. Re: How are those kind of things patentable? on Apple Demands $40 Per Samsung Phone For 5 Software Patents · · Score: 5, Funny

    I couldn't agree more! Apple's grid of icons was totally different from Palms grid of icons!

    It's true. No one would have ever thought to use a grid of icons on a smartphone before the iPhone. Apple's grid of icons was light years ahead of other so-called grids of icons at the time. Truly innovative.

  21. Re:In my experience on Men And Women Think Women Are Bad At Basic Math · · Score: 1

    More "I can do anything" nonsense.

    Difficulty reading? Not "I", but "most people".

    Most people can't succeed in more advanced intellectual pursuits, even if they're willing to put in the effort.

    I guess you're right. You've been reading for years and yet still have trouble with basic comprehension.

    Or I'm right, and you just need to put in a bit of effort!

    So... Are you hopelessly illiterate or is there hope for you yet?

  22. Re:In my experience on Men And Women Think Women Are Bad At Basic Math · · Score: 1

    More "I have a special mind" nonsense.

    Get over yourself. Most people can succeed at any intellectual pursuit, provided they're willing to put in the effort.

  23. Re:Ahh. Yesterdays Quad core chip with 2Gb of Ram on Firefox OS Will Become the Mobile OS To Beat · · Score: 2

    I guess, if the "Linux everywhere" you've been waiting for is little more than a launcher for strangely limited Java apps with an impossibly bad UI.

    Dream bigger.

  24. Re:Statistical analysis of craters on Dinosaurs Done In By... Dark Matter? · · Score: 1

    I remember Richard Muller (Berkeley physicist) writing something about that in Nemesis: The Death Star (It's a pop-sci book, not science fiction as the title implies.)

  25. Re:Why? on Firefox OS Will Become the Mobile OS To Beat · · Score: 2

    Do you remember the early 90's? Doom, Dark Forces, etc.? I don't recall dynamic lighting in any of the Wing Commander games -- or full-screen action for that matter.

    This isn't an argument worth having. Believe what you want about the game, my point was that the tech isn't nearly as limited as people assume. What I can say is that early 2000's type games are very easily doable on crummy hardware in FFOS. You mentioned the 3GS earlier. A popular game from that era, like Wolfenstein RPG, is well within the capabilities of even a phone like the ZTE Open running FFOS.

    Also, I'm not sure what point you're trying to make. Is it that my example is crummy or that JS is unsuitable for apps and games?