Slashdot Mirror


User: Pseudonym

Pseudonym's activity in the archive.

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

Comments · 5,184

  1. Re:static typing is awesome on Facebook Introduces Hack: Statically Typed PHP · · Score: 1

    Hack does type inference. It doesn't do let-polymorphism because that plus subtyping is formally undecidable. But you only have to declare the types of functions, not every variable inside those functions.

  2. Re:English? on Facebook Introduces Hack: Statically Typed PHP · · Score: 3, Insightful

    To be fair to Facebook, no other languages had those advantages in 2002-2003. Assuming you didn't want to use F/CGI, plugins for Apache or the equivalent, your server-side scripting options were JSP, Asp.NET and PHP.

    PHP was a reasonable choice under the circumstances, but they've now reached the limit of what it can do. It's good to see that they're moving to an entirely new and better language which just happens to have a similar syntax. If I was a Facebook engineer, I could live with that; syntax matters, but it doesn't matter as much as semantics and pragmatics.

  3. Re:English? on Facebook Introduces Hack: Statically Typed PHP · · Score: 4, Informative

    No. Facebook is developing a new language which is syntactically similar to, and inter-operates with, PHP. Calling Hack a "version of PHP" is like calling Delphi a "version of ALGOL".

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

    That's true. If you define "religion" as "that which I don't like" (like Christopher Hitchens did in God is Not Great), then all religions have that in common.

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

    Option #3 is a non-option, but I do like the way you think on option #4.

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

    Or the NSA.

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

    ...and yet if you look at it with a critical mind and a lot of reason and a lot of scientific investigation, you find that it has significant benefits, as TFA points out.

    Besides, this is Slashdot. We quite like fantasy. And sci-fi, too!

  8. Re:For those with broken brains... on Religion Is Good For Your Brain · · Score: 1

    Apparently atheism doesn't make you any more more likely to accept scientific evidence if it contradicts your preconceived biases.

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

    All the benefits of religion can be had from secular means that don't encourage magical thinking, [...]

    They can be had from such means, but generally they aren't.

    There are two ways out of this: either force yourself to do religion-like practices regularly, or reform religion so that it's less odious. Both have been tried, and both seem to work.

    [...] which has a long track record of having numerous bad side affects.

    I have news for you. Pretty much every invention, both technological and social, throughout history is a mix of good and bad.

    Social welfare systems increase the average lifespan, but also creates moochers as a side-effect. De-institutionalisation of the mentally ill dramatically reduced abuse, but created the modern homeless.

    The winner would have to be nuclear technology, which promises both cheap, clean, virtually unlimited energy and the potential destruction of the human species.

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

    Religion is about apologizing something larger and more powerful than you.

    Well, Catholicism is. US-style evangelicalism doesn't seem to apologise very much.

    All religions are different.

  11. Re:Interesting Math (like there's another variety) on Meat Makes Our Planet Thirsty · · Score: 1

    Modern American Intensive Agriculture is the most destructive force on Earth

    FTFY

    Believe it or not, Slashdot headline writers, California is not the whole planet.

  12. Re:Why .Net? on Ask Slashdot: What's New In Legacy Languages? · · Score: 1

    Oh, sorry, missed this comment.

    Are you implying Arduino is interpreted?

    I'm implying that Arduino is typically programmed in a language which is not C.

  13. Re:Why .Net? on Ask Slashdot: What's New In Legacy Languages? · · Score: 1

    There's no reason why bytecode can't be stored in nonvolatile storage (e.g. flash).

  14. Re:Why .Net? on Ask Slashdot: What's New In Legacy Languages? · · Score: 1

    When read-write memory is constrained, the argument for interpreted languages is even stronger. The battery budget of RAM is improving more slowly than the battery budget of CPU speed on low-end platforms. On 8-bit micros, the code density of interpreted BASIC was often higher than that of machine code.

    Oh, and Arduino seems to be doing fairly well for itself these days.

  15. Re:Anything that isn't C on Ask Slashdot: What's New In Legacy Languages? · · Score: 1

    Those are all mobile platforms, are they?

  16. Re:Anything that isn't C on Ask Slashdot: What's New In Legacy Languages? · · Score: 2

    Indeed.

    FWIW, I was hoping that there was a NeXTstep tablet that I didn't know about. Admit it, that'd be awesome.

  17. Re:Why .Net? on Ask Slashdot: What's New In Legacy Languages? · · Score: 1

    So please tell me how your going to fit any other language on a microcontroller with 1MB of flash memory. Nah, I'll be nice, how about 2MB of flash memory. Dont forget the roughly 512KB of RAM your going to have.

    In the 80s, where those were considered high-end specs, we used "any other language" with no problem.

  18. Re:Anything that isn't C on Ask Slashdot: What's New In Legacy Languages? · · Score: 3, Interesting

    On what mobile platforms (emphasis on the plural) would Objective-C be suitable?

  19. Re:Webp is amazing on New Mozilla Encoder Improves JPEG Compression · · Score: 1

    One of the problems with JPEG is that it works (caveat about luma/chroma subsampling) on 8x8 pixel blocks. This is great for medium-resolution images (e.g. 72-200dpi range), but not so great for high-resolution (e.g. 1200dpi).

    I grabbed a 3032x1986 image (warning: large image), and here's what I got.

    PNG, compression level 9: 6.1MB
    JPEG 4:4:4 100: 2.7MB
    JPEG 4:4:4 95: 1.2MB
    JPEG 4:0:0 95: 0.9MB
    WEBP 100: 1.5MB
    WEBP 95: 0.5MB

    Note that I have no experience with all of the WebP options. I just used -m 6 -q quality in both cases. This isn't a huge image, just a large one. So actually, I can believe the 10x figure above depending on what the original image was.

  20. Re:Why? on The Next Keurig Will Make Your Coffee With a Dash of "DRM" · · Score: 1

    One of the things that any anthropologist will tell you about drug use is that the context and ritual is part of the drug. Nicotine patches are not a substitute for cigarettes because lighting up and inhaling is part of it.

    If you like pod machines, DRM or not, more power to you, but I would consider quicker coffee to be a step backwards. I don't just want a caffeine hit, I actually like coffee.

  21. Re:Why? on The Next Keurig Will Make Your Coffee With a Dash of "DRM" · · Score: 1

    There are a hundred people working in your office, and you don't have a working kitchen?

    Please tell me where you work. I want to make a note never to apply for a job there.

  22. Re:In other words, the Keurig 2.0 will be dead on on The Next Keurig Will Make Your Coffee With a Dash of "DRM" · · Score: 1

    It could give you a bad attitude, just like a human barista.

    (Disclaimer: I'm not American, and I've never heard the word "Keurig" before today.)

  23. Re:here's an obvious one.. on Interview: Ask Eric Raymond What You Will · · Score: 1

    Also, what ever happened to The Great Brain Race? Do you see it as still a thing, or a product of the dot com bubble-era Silicon Valley myopia?

  24. Re:Consequences... on Oil From the Exxon Valdez Spill Still Lingers On Alaska Beaches · · Score: 1

    You mean try to use energy sources that are less dangerous and potentially cheaper (when you take out subsidies) than oil? What are you, some kind of Marxist?

  25. Re:Mischaracterization of problem on Teaching Calculus To 5-Year-Olds · · Score: 1

    ADD ME TO YOUR LIST