Slashdot Mirror


User: RoccamOccam

RoccamOccam's activity in the archive.

Stories
0
Comments
735
First seen
Last seen
Profile
(view on slashdot.org)

Comments · 735

  1. Re:whitespace on Interviews: Guido van Rossum Answers Your Questions · · Score: 1
    It winds up making code like this very clean

    >>> x = 'This is a string'
    >>> p = 4
    >>> a, b = x[:p], x[p:]
    >>> a
    'This'
    >>> b
    ' is a string'

  2. Re:Summary on Interviews: Guido van Rossum Answers Your Questions · · Score: 1
    The Zen of Python

    by Tim Peters

    Beautiful is better than ugly.
    Explicit is better than implicit.
    Simple is better than complex.
    Complex is better than complicated.
    Flat is better than nested.
    Sparse is better than dense.
    Readability counts.
    Special cases aren't special enough to break the rules.
    Although practicality beats purity.
    Errors should never pass silently.
    Unless explicitly silenced.
    In the face of ambiguity, refuse the temptation to guess.
    There should be one-- and preferably only one --obvious way to do it.
    Although that way may not be obvious at first unless you're Dutch.
    Now is better than never.
    Although never is often better than *right* now.
    If the implementation is hard to explain, it's a bad idea.
    If the implementation is easy to explain, it may be a good idea.
    Namespaces are one honking great idea -- let's do more of those!

  3. Re:Summary on Interviews: Guido van Rossum Answers Your Questions · · Score: 1

    Flamebait, but I'll bite.

    The thing that got me interested in Python at the very beginning was its use of whitespace. So no, in my heart, I don't think you are right (I was a big fan of Occam). For me, it is clearly the way a programming language should be designed. I understand that it doesn't suit others; but, interestingly, that feature is one of the key (and overlooked) reasons why Python has become so prevalent.

    There is clearly a (sufficiently) large subset of the programming community that strongly prefer whitespace scoping. And for those people, what are the other mainstream choices? Personally, I don't know of any (although, I'm sure that there are a few). And new language designers are less likely to follow Python's lead because of outspoken critics, like you.

    Because of that, I believe that Python has a more loyal core group of supporters that are less likely to abandon it when the latest hotness comes out.

    With a stronger base than most languages, Python is less likely to experience the dramatic momentum losses of more conventional languages. And it will continue to grow its community, as once-reluctant whitespace converts are picked up and other languages are less attractive to them, from then on.

  4. Re:You would think. . . on First Ever Public Tasting of Lab-Grown Cultured Beef Burger · · Score: 0

    Oh, the farmer and the cowman should be friends,
    Oh, the farmer and the cowman should be friends.
    One man likes to push a plough,
    The other likes to chase a cow,
    But that's no reason why they cain't be friends.

    Territory folks should stick together,
    Territory folks should all be pals.
    Cowboys dance with farmer's daughters,
    Farmers dance with the ranchers' gals.

  5. Re:Smells like bullshit on "Slingatron" To Hurl Payloads Into Orbit · · Score: 1

    Correct me if I'm wrong, but this scheme doesn't appear to use magnetic acceleration like a railgun (perhaps that is the differentiator). It uses a pure mechanical effect.

  6. Re: LaTeX, really? on Fidus Writer: Open Source Collaborative Editor For Non-Geek Academics · · Score: 3

    Yes, you have quarks to work with, but they are well known.

    And, luckily, there are only six known types.

  7. Java to Python on LibreOffice 4.1 Released · · Score: 3, Interesting

    If I'm reading the new features page correctly, they appear to be seeing some pretty sizable code reduction in the utilities where they are replacing Java with Python. To avoid misunderstanding, let me point out that I am aware that only a few parts of the project were coded in Java and the bulk is in C++.

  8. Incest will create an abomination on Ohio Zoo Attempts To Mate Female Rhino With Her Brother For Species Survival · · Score: 2

    I'm betting that the offspring will look like Jim Carrey.

  9. Re:+5 Insightful for on Jimmy Carter Calls Snowden Leak Ultimately "Beneficial" · · Score: 1
    I was referring to his behavior following his presidency. See http://blog.heritage.org/2011/05/04/jimmy-carter-adopts-another-dysfunctional-dictator/

    A quote from that article:

    If countries were orphans and former presidents could adopt them, Jimmy Carter would have a foster home full of dysfunctional dictatorial states running amok under his care on a peach tree orchard in Georgia, all while he turns a blind eye to their terrifying antics.

    The article provides plenty of examples of Carter visiting and promoting dictatorships in North Korea, Cuba, Syria, and Venezuela.

  10. Re:+5 Insightful for on Jimmy Carter Calls Snowden Leak Ultimately "Beneficial" · · Score: 1

    Excepting his fawning over various dictators. There's an insightful saying about him: "Jimmy Carter never met a dictator that he didn't like."

  11. Re:You can do it with just latitude / longitude on Describe Any Location On Earth In 3 Words · · Score: 1

    Approximately 1300000 seconds in a circle

  12. Laser defense on Why Are Some People Mosquito Magnets? · · Score: 4, Interesting

    I really want to build a laser mosquito zapper (like this one: http://spectrum.ieee.org/consumer-electronics/gadgets/backyard-star-wars). However, this looks pretty pricey (multiple cameras and galvanometers).

  13. Re:entertaining? on TV Programmers Seek the Elusive Dog Market · · Score: 1

    My dog gets very excited about people running on screen (but only sometimes). Also, she sometimes gets very interested in people standing around talking to each other. I can't figure out the pattern. But, whenever she does get interested, she grabs a toy and tries to present it to the people on screen (she's a golden retriever) and she whines or does her playful growl.

  14. Re:Version numbering on Google Updates Maps, Makes First Stable Chrome Release Using WebKit Fork · · Score: 2

    It seems like that would be something that would have been complained about when it first happened and not every time that a story comes up. Otherwise, people would still be complaining about Google's decision to use such a scheme in the first place. In addition, the criticism to which I'm referring always takes the place of a joke about high high the numbering is going to get in the near future. That applies to Chrome as well as to Firefox.

  15. Version numbering on Google Updates Maps, Makes First Stable Chrome Release Using WebKit Fork · · Score: 1

    I don't understand why I'm not seeing the same slew of posts deriding Chrome's version numbering scheme that I see whenever there is a Firefox article.

  16. Re:All guns are dangerous... on UCSD Lecturer Releases Geotagging Application For "Dangerous Guns and Owners" · · Score: 1

    I left that out, because it didn't add anything to my rebuttal of the GGP. The first sentence shows dislike of a Republican and Democrat (which suggests Independent, as already highlighted). Also, I don't know where "9/11 troofer and paranoid about New World Order" fit on the political scale.

    The second sentence shows mental problems, which aren't related to political viewpoint.

  17. Re:All guns are dangerous... on UCSD Lecturer Releases Geotagging Application For "Dangerous Guns and Owners" · · Score: 4, Informative
    Perhaps you are being sarcastic, but (from Wikipedia, highlights mine):

    Records show that Loughner was registered as an Independent and voted in 2006 and 2008, but not in 2010.[39][40] A YouTube channel under an account called "Classitup10" was linked to Loughner. (There have been numerous copies of 'impostor accounts' such as 'JaredLoughner' and 'Classitup1O'.)[41][42]

    Loughner's high school friend Zach Osler said, "He did not watch TV; he disliked the news; he didn't listen to political radio; he didn't take sides; he wasn't on the Left; he wasn't on the Right."[17] But a former classmate, Caitie Parker, who attended high school and college with Loughner, described his political views prior to 2007 as "left wing, quite liberal,"[43] "radical."[44]

  18. Re:This is stupid on NSA Backdoors In Open Source and Open Standards: What Are the Odds? · · Score: 1
    "I am not a Frenchie, I'm a Belgie!"

    -- Milo Perrier, Murder by Death

  19. Playing games on The Average Movie Theater Has Hundreds of Screens · · Score: 1

    A couple of months back, I was at a movie and the lady in front of me had a child on her lap. I didn't see it, at first, because I was directly behind her, but it was bothering my wife: the child was playing a game on the lady's phone. He was too young for the movie, so the mother was letting him play a game, instead. Of course, I told her to put it away and just ruined the movie experience for her child. She was quite annoyed at me.

  20. How about some other ideas on Project Envisions Modular Aircraft That Double as Train Cars · · Score: 1

    It amazes me how much time is taken for just loading and unloading the passengers from a plane. I've always thought it would be great if one whole side of the plane opened up like a gull wing. Then, all of the rows could empty or load in parallel.

    Even simpler, how about making the boarding by zones more reasonable? The earliest boarding zones should be in the back and next to the windows.

    Or maybe do something about the jackasses that enter through the doors and then put their luggage in the first available bin, instead of putting it over their own heads. It slows everyone down when someone has to put their luggage several rows behind them, so that they're swimming against the current when it's time to unload, just because the early boarders didn't want to carry their luggage an extra 20 feet.

  21. Re:Did anyone need reminding? on Majority of Americans Say NSA Phone Tracking Is OK To Fight Terrorism · · Score: 1
  22. Re:It doesn't work! on Nicaragua Gives Chinese Firm Contract To Build Alternative To Panama Canal · · Score: 2

    A Ug, a R, a Cin: Nicaragua!

  23. Re:Modern Jesus on NSA WhistleBlower Outs Himself · · Score: 1

    "This administration also puts forward a false choice between the liberties we cherish and the security we provide. I will provide our intelligence and law enforcement agencies with the tools they need to track and take out the terrorists without undermining the Constitution and our freedom.

    That means no more illegal wiretapping of American citizens.

    No more national security letters to spy on citizens who are not suspected of a crime.

    No more tracking citizens who do nothing but protest a [policy].

    No more ignoring the law when it is inconvenient.

    It is not who we are. It is not what is necessary to defeat the terrorists. The FISA Court works. The separation of powers works. Our Constitution works. We will again set an example for the world that the law is not subject to the whims of stubborn rulers and that justice is not arbitrary.

    This administration acts like violating civil liberties is the way to enhance our security. It is not. There are no short cuts to protecting America."

    - Senator Barack Obama at the Woodrow Wilson Centre on Terrorism, 1 August 2007

  24. Re:Too Late To Stop It on NSA Surveillance Heat Map: NSA Lied To Congress · · Score: 1

    s/its/it's

  25. Re:Too Late To Stop It on NSA Surveillance Heat Map: NSA Lied To Congress · · Score: 1

    Oh, of course. Obama couldn't possibly believe that and its better for him to lie.