Slashdot Mirror


User: maxume

maxume's activity in the archive.

Stories
0
Comments
15,806
First seen
Last seen
Profile
(view on slashdot.org)

Comments · 15,806

  1. Re:Slashdotters would laud this, but... on Network Measurement Tool Detects Reset Packets · · Score: 1

    What about the Microsoft shills and Apple fanboys?

    Also, I think one guy uses BSD.

  2. Re:The consequences might not be as fun on Comcast Briefly Loses Control of Its Domain Name · · Score: 1

    What if they charged them with cyber-murder?

    They need to face consequences, but they need to face appropriate consequences.

  3. Re:Definition of "obscene" on FCC Pitches Free, Bowdlerized Wireless Internet Access · · Score: 1

    It's not something I ever enjoyed.

  4. Re:Definition of "obscene" on FCC Pitches Free, Bowdlerized Wireless Internet Access · · Score: 1

    David Lee Roth.

  5. Re:Possible power grab? on FCC Pitches Free, Bowdlerized Wireless Internet Access · · Score: 1

    You have strange ideas about porn. Or a Sanjaya obsession.

  6. Re:I don't really get the Java hate around here on What Makes a Programming Language Successful? · · Score: 2, Insightful
    I was responding to the complaint about map going away. Idiomatic python for what the original poster is doing would be more like

    import csv
    reader=csv.reader(open("file.csv"))
    # header=reader.next()
    for row in reader:
    # row is a list of strings from the columns in the csv file.
    # convert to int
    row=[int(c) for c in row]
  7. Re:I don't really get the Java hate around here on What Makes a Programming Language Successful? · · Score: 1

    If you're comfortable with your language, there's no need to address my comment. My post was competitive - coming from the viewpoint that it is possible for some languages to better or worse than others - and furthermore, that it's worth the effort to compare them and select the best.

    Things like "better", "worse" and "best" are subjective. We don't want them to be, but they are. You are demonstrating a strong preference for consistency, something which is good, but not something that it is good to be a slave to. There is at least a case to be made for the special syntax, as it marks that the intent is to return an integer representation of the class, rather than just the length of the class (which may be better provided by an attribute or property, or even a length method).

    It would enhance your complaint if you whined about the arbitrary best practice of inheriting from object when declaring a class.

  8. Re:I don't really get the Java hate around here on What Makes a Programming Language Successful? · · Score: 1

    I'm pretty okay chalking it up to differences in taste.

    I know python and I don't know ruby, so it doesn't mean very much that I can't read what you wrote without going cross eyed, but I'm pretty sure that I prefer int(x) to word.to_i, global function or not. I mean, what a penalty, I can't use 'int' as an identifier.

  9. Re:Off the top of my head? on What Makes a Programming Language Successful? · · Score: 1

    That's a relatively superficial issue to take up. The part that I find powerful about that code is the composition of the built in data objects to solve the problems in a straightforward way.

  10. Re:I don't really get the Java hate around here on What Makes a Programming Language Successful? · · Score: 5, Informative

    Are you talking about the section 10 labeled "Python Pre-2.1 did not have lexical scopes."?

    If so, your criticism is bizarre, the example is written to illustrate that "Python Pre-2.1 did not have lexical scopes.", not to illustrate the shortest way to rewrite the built-in sum function (you realize that right, that the idiomatic implementation of sum in python is the built in function?).

    The reason map and reduce aren't cared about is that most people have an easier time with list comprehensions. Your code:

            l = l.strip().split(',')
            l = map(lambda x: int(x.strip(), l)

    can be written as:

            l = [int(x.strip()) for x in l.strip().split(',')]

    in python 2.4 onwards. Obviously, you could put that on as many lines as you wanted. If you are worried about performance, generator expressions are very similar to list expressions but lazily evaluated:

            g = (int(x.strip()) for x in l)

    g would then create items as they are called for by some consumer (for instance, a for loop or a container object).

  11. Re:Off the top of my head? on What Makes a Programming Language Successful? · · Score: 1

    From what I can tell, the python community is not particularly obsessed with quoting monty python. More than 0, but much less than all the time. So maybe only hold that against the language a little bit.

    No doubt these would be faster in C, but I don't think they would be particularly clearer:

    http://norvig.com/sudoku.html
    http://norvig.com/spell-correct.html

  12. Re:Fanbois, have you actually tried one? on Review of the Model M-Inspired Unicomp Customizer Keyboard · · Score: 1

    I don't think I was trying to argue that the model M was slow, more that typing speed isn't something a whole lot of folks run into on a regular basis.

    It's nice that you think they are plenty fast though.

  13. Re:Apparently, it is more than just an approximati on Review of the Model M-Inspired Unicomp Customizer Keyboard · · Score: 2, Informative

    Offtopic:

    Manufacturing is alive and well in the United States. The job growth from manufacturing isn't particularly strong though, as there is tons of automation. One guy running a couple of CNC lathes is more productive than 4 guys running manual lathes, and so on. Or something like Hyundai, where the spend less per vehicle on welding, but have higher consistency, because they are fully automated.

  14. Re:Fanbois, have you actually tried one? on Review of the Model M-Inspired Unicomp Customizer Keyboard · · Score: 1

    What's fast?

    I don't type all that fast, but I am rarely held up my typing speed.

    I just scored 62 wpm here:

    http://play.typeracer.com/

    I don't think that it enormously fast (looking at the high scores...), but it is fast enough for the vast majority of the work I do.

  15. Re:Monkey's opinion on Brain Interface Lets Monkeys Control Prosthetic Limbs · · Score: 1

    Clearly, it likes marshmallows.

  16. Re:PLEASE tell me it makes them type faster on Brain Interface Lets Monkeys Control Prosthetic Limbs · · Score: 2, Insightful
  17. Re:And just like that... on Brain Interface Lets Monkeys Control Prosthetic Limbs · · Score: 1

    "Conceived" is an awful strong word for one of those movies.

    Maybe "amorphously blobbed together" or "agglomerated" or something.

  18. Re:It's REALLY hard to feel bad about them on Private Donor Saves Fermilab · · Score: 1

    But think of the science!

    Gotta love appeals to emotion that you can get behind.

  19. Re:resemble's? on Frog Resembles X-Men's Wolverine · · Score: 3, Informative

    With no adamantium you'd have the craze inducing fragile bone claws. I imagine it would hurt a rather large amount.

  20. Re:Fingerprint scanners on What Examples of Security Theater Have You Encountered? · · Score: 1

    It may be easier to just take the hand.

  21. Re:How about.. on Bill Gates: Windows 95 Was 'A High Point' · · Score: 2, Insightful

    He has so much money that the amount of money he has is no longer relevant to him. He is much more interested in how successful his efforts are.

  22. Re:Video uses on 1TB Blu-Ray Compatible Optical Disc Announced · · Score: 1

    Fair enough. I really hope that movies are eventually downloadable for restricted playback though, at much lower cost. I would love to be able to rent a movie for $1 and watch it for 72 hours or so. At that price, I don't care about being able to resell it or if I own it or whatever.

  23. Re:Video uses on 1TB Blu-Ray Compatible Optical Disc Announced · · Score: 1

    Oh, I realize that it varies a great deal from person to person, but I don't think that you are anywhere near the mean, or the median. To some extent, I expect that I use a good deal more space than your average computer user, and certainly more than the average person.

  24. Re:The Iraq theater on What Examples of Security Theater Have You Encountered? · · Score: 1

    Epistemologically speaking, isn't it rather difficult to kill an insurgent anywhere other than their own backyard?

    I mean, if they weren't in their own backyard, then they wouldn't be insurgents anymore.

  25. Re:Shortly after 9/11 on What Examples of Security Theater Have You Encountered? · · Score: 5, Funny

    You also had a box. You should have pointed at it.