Slashdot Mirror


User: peterpi

peterpi's activity in the archive.

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

Comments · 653

  1. Re:it could work on What is the Ultimate Linux Development Environment? · · Score: 1

    I dunno about other shells, but in bash you can do 'v', 'i' and get a good text editor. 'm' seems to be a modifier to give you a load of extra features.

  2. Re:vim on What is the Ultimate Linux Development Environment? · · Score: 2, Interesting

    cscope, what's that?

    (1 google later...)

    Oh great! :) That's what I'll be learning this afternoon! That's something I love about vim. Just when you get comfortable with it, you can find one more feature to save your time. I like it more and more every day.

    (current project: 97k lines of code. Not huge, but fairly sizeable)

  3. GL on current linux distros [-1 Offtopic] on OpenGL Distilled · · Score: 1

    I'm in the market for a new computer, and I'm going to be writing games for it.

    What's the deal with developing with OpenGL on linux at the moment? Last time I tried (2002 maybe?), there was something called Mesa, another thing called DRI or some such, another thing called GLX. It all got a bit confusing. I ended up using cygwin for a bit, then finding something else to do.

    Is it the case now that I can just 'apt-get install opengl-devel' and have stuff just work?

  4. Great news! on Stuart Cohen Predicts Office for Linux · · Score: 1

    Yup, 2007 is definitely gonna be the year of the linux desktop.

  5. Re:Variable redundancy? on Sun Unveils Thumper Data Storage · · Score: 1

    10%?

    Is that a missing zero, or have I misunderstood something?

    (I'm really not sniping, it sounds interesting)

  6. retro on Gaming Mags Worth Their Ink · · Score: 1

    Zzap 64 of course!

  7. Re:A standard tab length would be easier on Elastic Tabstops — An End to Tabs vs. Spaces? · · Score: 1

    Beautiful! :)

  8. Re:A standard tab length would be easier on Elastic Tabstops — An End to Tabs vs. Spaces? · · Score: 5, Insightful
    And they make the fundamental misunderstanding in the very first sentence! Why is consistency desireable? Why should my text editor render code consistently with yours? We could be using a different font in a differerent point size at a different resolution. Is that important too? I have white text on a black background on one machine, black on white white for the other. If you specifically need some lines of text to be lined up with each other (consistency within the confines of the document), use space. If you just need it to be shunted over to express intent, use tab. That way we can both set tab to look exactly how we want it to.

    eg: (---> means 'tab', '.' means 'space')


    void foo ()
    {
    --->if (something)
    --->{
    --->--->/* I like to format my comments so that
    --->--->.* the stars make a vertical line,
    --->--->.* but I don't care how much you like to
    --->--->.* indent */
    --->--->bool something = SomeLongFunction() &&
    --->--->.................Another()
    --->}
    }


    This code satisfies everybody with a good text editor. If you like 8 spaces, set your editor so. If I like 2, 7 or 3.14 I can set mine. Pressing space n times annoys everybody who likes 2n, n/2 or any other number of spaces.

    That way they can get on with arguing over important issues like the placement of {

    ;)

  9. Re:A standard tab length would be easier on Elastic Tabstops — An End to Tabs vs. Spaces? · · Score: 2, Insightful
    You might as well try and define what the 'end' key does. Or better still, define what the F7 key does.

    Tab is already standardized. It means either "move onto the next record" in tabular data, or in programming languages "indent". If you have a preference for how much like code to be indented, then you get to set your editor in accordance. Indenting code with tabs is far more considerate than indenting with spaces. Indenting with tabs says "Indent a little. I trust you to set your editor accordingly". Indenting with 4 strikes of the space bar says "In my opinion, four spaces, not two, nor eight, nor six, is the only way to indent. If you want to read my code you shall accept my rules".

  10. Re:A standard tab length would be easier on Elastic Tabstops — An End to Tabs vs. Spaces? · · Score: 3, Insightful

    I vote for TAB = however many spaces you want it to be. If you meant "move to the right by the width of four characters", press the space bar four times.

  11. Re:A standard tab length would be easier on Elastic Tabstops — An End to Tabs vs. Spaces? · · Score: 4, Insightful
    I can't understand why people still find this a problem. It's so simple. Tabs indent, spaces line up. In other words

    • space means "move to the right by exactly one character width"
    • tab means "I want to indent, move across a bit". "A bit", and "across" mean whatever you like. It could be right8 chars, right 4 chars, left 2 chars, down 947565 chars, whatever you like. That's the beauty of it; everybody gets to view it in their favourite format.


    It's so simple, it's quite embarassing for the whole of the computer-literate society that people still get their kickers in a twist about it.

    Anybody who tries to lay down the law by saying that a tab must be 4, 8 or 2 characters' width has missed the point of the tab key completely.

    As for your wish, I'm willing to bet money that either vim or emacs will do it for you.

  12. Re:Crunching for their profit on Is Distributed Computing Being Distributed Badly? · · Score: 1

    If I have the CPU busy on my machine for more than about 20 seconds, I get a REALLY loud fan spin up from somewhere in my power supply. No folding for me.

  13. Re:What is worse that a first post? on The 10 Tech People Who Don't Matter · · Score: 1
    And if you miss it the first time.....

    *runs*

  14. Re:Of Course! on Windows Live Messenger with VoIP · · Score: 1
    "Of course, most people doing PC-to-PC and PC-to-phone calling are probably using Firefox"

    And now Microsoft is making it user-friendly enough for those of us who don't care what a fox fire is.

  15. Re:everybody? on Telecommuting Backlash · · Score: 1

    The fact that that is so unusual and interesting more or less proves the point being made.

  16. Re:Video Editing? on Linux 2.6.17 Released · · Score: 2, Funny

    split, cat and sed.

  17. Shouting lessons on Basic Internal Instant Messaging Solution? · · Score: 1

    My sysas a really really really loud voice. Works wonders

  18. Re:Month by month? Isn't that kind of stupid? on U.S. Video Game Sales Down 10% in May · · Score: 1

    some months there just aren't many new games worth buying

    Of course.

    There are also fluctuations due to the cycle of generations of game consoles.

    I'm surprised the difference isn't more than 10% TBH. There's nothing intresting going on in the industry at the moment (by which I mean stuff that you can actually buy right now). Secondly, the PS3 and Wii are starting to break into the mainstream;s attention, so we can expect to see more 'disappointing' (and entirely predictable) months as people ramp down buying for their existing console.

  19. Self Fulfilling? on Why There Are No Hit Indie Games · · Score: 3, Interesting
    Most indie games are created at least partly as a job application excercise. There are two outcomes from this situation. Either the game is good, and the developer gets a job (and so leaves the indie scene), or it is not, and then we have one more example of a poor indie game.

    I'd speculate that the indie scene is far, far larger than it ever has been at any point up to now. In the 'good old days' a one-man bedroom project could rock the industry, but the industry was very very small at that time.

    Today's indie scene is probably far larger than the whole computer games scene of 20 years ago. (I have no figures to back that up, BTW)

  20. Re:It's interesting that .... on Miyamoto Says Sony Controller is 'Flattering' · · Score: 1

    This isn't Digg. This site was designed to be a nerd dupe site. It deals with tech, science, games, and more. And it has done fairly well when it comes to sticking to the topics it was designed to "dupe" to its readers.

  21. Re:It's interesting that .... on Miyamoto Says Sony Controller is 'Flattering' · · Score: 1

    This isn't Digg. This site was designed to be a nerd dupe site. It deals with tech, science, games, and more. And it has done fairly well when it comes to sticking to the topics it was designed to "dupe" to its readers.

  22. Re:-1 Moderation, Stupid American Bashing on Eight Hour Coding Session Causes DVT · · Score: 1

    Errm, few journeys by foot.

  23. Re:-1 Moderation, Stupid American Bashing on Eight Hour Coding Session Causes DVT · · Score: 1

    The way of life for a great deal of us in the UK is the 'American' way of life. Few journeys by food, terrible diet, etc.

  24. Re:"Intelligent" completion on Vim 7 Released · · Score: 1

    Me too. I hope the new feature doesn't get in the way too much. I'm interested to see how it works.

  25. Re:Loss of privacy on French Town Tests Cashless Society · · Score: 1

    I've taken to using cash for everything again (or cheques for things you post). It's a nice feeling; everything is simple again. There's no signing, no PIN-ing, no getting your card confused with your fellow diners' at the restaurant.