Slashdot Mirror


User: loufoque

loufoque's activity in the archive.

Stories
0
Comments
3,170
First seen
Last seen
Profile
(view on slashdot.org)

Comments · 3,170

  1. Re:FParsec on An Interview With F# Creator Don Syme · · Score: 1

    It's basically the same as (F)Parsec, except it uses operator overloading to be more readable and look more like an EBNF grammar.
    It's also quite bigger and more advanced, and is used more.

    And it's not *that* slow. I had it compile very complicated grammars (the C++ kind) with acceptable compile times.

  2. Re:What's wrong with C and Python? on An Interview With F# Creator Don Syme · · Score: 1

    Pattern matching had historically been another distinctive feature of the same class of languages.

    It's not in the Lisp family of languages. Or would you call those non-functional?

  3. Re:FParsec on An Interview With F# Creator Don Syme · · Score: 1

    Look at Boost.Spirit, it's much cooler.

  4. Re:What's wrong with C and Python? on An Interview With F# Creator Don Syme · · Score: 1

    you see how it can be done in twice as little code with pattern matching in any FP language.

    Note there is nothing inherently functional about pattern matching.
    It's just a feature that happens to be popular in the ML/Haskell world.

    The equivalent with OO is a visitor. It tends to be more verbose due to lack of functional glue. But with anonymous classes or functions, it's not much more verbose anymore (and at least the parsing is clear to a human).

  5. US's technology lead? on China Luring Scientists Back Home · · Score: 1, Troll

    What lead? They lost it ages ago.
    Usians really need to stop thinking they're the best. This megalomania is getting their science nowhere.

  6. The Hero of Time still lives on... on Nintendo Shuts Down Fan-Made Zelda Movie · · Score: 4, Insightful

    ... on your favourite bittorrent search engine.

  7. Re:Android and what? on Comparing the Freedoms Offered By Maemo and Android · · Score: 1

    Second, consider market penetration. Android is showing up everywhere: phones big and small, net books, GPS devices and e-book readers. Maemo is on one device. Nokias phone. Sure, it may end up on more devices in the future, but will any of these devices *not* be a Nokia? Maybe.

    Just consider the iPhone and your point is moot.

  8. Just use SSI on The Problem of Shards, Servers, and Queues In MMOs · · Score: 1, Informative

    Just do one server with threads running on a SSI on top of your cluster of nodes interconnected with low-latency links.
    That way you have one server that makes the best usage of your hardware.

  9. Re:Token black guy on Barack Obama Wins the 2009 Nobel Peace Prize · · Score: 1

    The committee was slapping Bush in the face

    Which is not what a Nobel prize is for.

    Scandinavians aren't in the business of giving out affirmative action Nobels. They're so white there that they're not that clued in about racism in the U.S.

    If you look at the history of this prize, you will see it has most of the time been used to acknowledge people from racial minorities that contributed to reducing segregation of their minority.

  10. Re:Token black guy on Barack Obama Wins the 2009 Nobel Peace Prize · · Score: 0, Flamebait

    No this is not racism, it is positive segregation.
    Were he not black, he wouldn't have gotten it. It was given to him because of what he represents, not because of what he did.

  11. Re:France just sucks on French President Violates His Own Copyright Law, Again · · Score: 1

    Or rather, you mean France is good because they don't discriminate against gay people or perverts.

  12. Token black guy on Barack Obama Wins the 2009 Nobel Peace Prize · · Score: 0, Flamebait

    is all it is

  13. Shares of the Nobel Prize on "Father of Fiber Optics" Wins Nobel Prize · · Score: 3, Insightful

    If this goes on, in a few years they'll be giving hundredth of the prize...
    Why not go back to the days where the prize was given to a single person that embodied a change?

    And maybe something modern as well instead of some 50 years old stuff...

  14. Formal language on Legal Code In a Version Control System? · · Score: 2, Insightful

    More importantly, what they need is to use a formal definition of the law, coupled with a system that can check and prove there is no inconsistency within it.
    It would also make law trivial to apply, since the system can simply deduce what applies in the given situations, which means we wouldn't need lawyers anymore, and the role of judges would be greatly reduced and simplified.

  15. Re:GWT for Python? on Python Converted To JavaScript, Executed In-Browser · · Score: 1

    Doesn't change anything.
    Just ship the libraries with the application, or "link" them statically with the code.

  16. Saving Africa by giving them useless technology on Google Project 10^100 Reaches Voting Phase · · Score: 1

    Basically, that sums up half the ideas.
    Too bad people can't realize what Africa needs are better thinkers, philosophers and politicians, or ways to prevent those from fleeing elsewhere.

  17. Re:GWT for Python? on Python Converted To JavaScript, Executed In-Browser · · Score: 2

    Eh, a language is only as good as its standard library.

    So C and C++, ones of the most used languages in the world, are worse than fuck since their standard library is ridiculously small?

    It's not like all the best and more important software is written in those languages... (virtually all operating systems and major applications)

  18. Re:Rootkitting is a-okay for cheat protection on NCSoft Drops GameGuard From Western Launch of Aion · · Score: 1

    But any good anti-cheat system will HAVE to behave as a rootkit to be any good. And online games without anti-cheat systems are truely useless.

    Wrong.
    A game that needs to prevent cheating on the client side rather is just broken by design.

    Just make the server check each action requested by any client is valid according to the game rules. That's not nearly as expensive as people like to believe, assuming the developers knew a bit about algorithmics.

  19. Re:GWT for Python? on Python Converted To JavaScript, Executed In-Browser · · Score: 2, Interesting

    Javascript is just way too stupid to program manually

    Not more than Ruby or Python.
    Don't confuse languages with libraries.

  20. Re:A common (American) misconception... on Brazilian Court Bans P2P Software · · Score: 1

    Civil law has jurisprudence, which is basically the same thing as precedent.

  21. Re:Damn you MS BBC! Damn you to HELL! on BBC Wants DRM On HD Broadcasts · · Score: 1

    And the EUCD is a totally different things from the DMCA.
    I already said what Europe had in my original message.

  22. Re:Damn you BBC! Damn you to HELL! on BBC Wants DRM On HD Broadcasts · · Score: 1, Troll

    which serves to trigger the portion of the DMCA law (Britain probably has equivalent legal language now due to copyright "normalization" treaties)

    And that's where you're wrong.
    Like most US abominations, the DMCA is a US-only thing.

    European laws prevent the adoption of any DMCA-like law in any country of the union. It does have something slightly similar though: circumvention is allowed unless it is done for illegal purposes; that means you're not allowed to spread information of how to break the protection of a certain service to render that protection ineffective and use the service for free, for example.

  23. Re:Why CLR (.NET mono) and not JVM (Java)? on iPhone Gets .Net App Development · · Score: 1

    Mono and CLR are different implementations of the CLI.
    Mono is *not* CLR.

  24. Re:How will we manage to use this? on Initial WebGL Support Lands In WebKit · · Score: 2, Informative

    Javascript is so limited that I fail to see how it will be to make this actually usable and applicable in useful situations

    Javascript is not particularly limited. It is turing-complete, of course, and provides a nice type system: dynamic duck typing on top of a prototype object oriented type design. It has garbage collections, closures, reflection...
    Probably more expressive and flexible than your average programming language.

    Maybe what you mean is that it is lacking a bigger standard library.
    Well, as it is, it is certainly much bigger than the standard C one.

  25. Re:Linux audio on Linux Kernel 2.6.31 Released · · Score: 1

    alsa can do this with dmix and softvol.

    AFAIK, dmix and softvol do not allow to change the volume of any application stream while the applications are running: they can only define pseudo devices that redirect to another device, altering the volume.

    That's quite less powerful.