Slashdot Mirror


User: morcego

morcego's activity in the archive.

Stories
0
Comments
1,503
First seen
Last seen
Profile
(view on slashdot.org)

Comments · 1,503

  1. Re:hats off to Bram, Bill Joy, and ATT on Vim 6.4 Released · · Score: 1

    Actually, you don't need to match anything after what you want to replace, neither use "gc". Even "g" is not needed, since you will only replace 1 occurence on each line.

    Check my exemple a few posts below, even tho I do use "g" there.

    The most simple command for this would be: :%s@^\(.\{19\}).\{4\}@\1abcd@

    I also like to use @ instead of /, since it makes it easier to read.

  2. Re:hats off to Bram, Bill Joy, and ATT on Vim 6.4 Released · · Score: 2, Informative

    Ignoring CSV for a minute, if you'd like to replace all text from the 20th through 23rd characters of arbitrary text with the string "abcd", how would you do it?

    You mean something like this ? :%s@^\(.\{19\}\).\{4\}@\1abcd@g

    Although I would usually do that using sed, not vim.

    In text processing, the workload determines the ability of a "ve" user (internal IBM tool) to surpass my vi efficiency. Typically, it's when the ve user mouse selects a column and then does replaces on it. I'd like to mimic this behavior using only my qwerty pad and some newly aquired vi skills.

    Oh my god, they are still using that ? I remember the religious wars of VE versus VX when I worked there, pretty much like the VI versus EMACS wars we see out here.

    The real trick is a good background in sed and regular expressions. Then you can use :%s to your heart content.

  3. Re:Their Time or Company Time? on Solutions for When Managers Hijack Your Code? · · Score: 1

    There is a 3rd possible scenario: their time, using company resources (computers, internet connection, eletric power etc).

    And that is when things get nasty.

  4. Re:text/html on Why Do You Block Ads? · · Score: 1

    The images are not the only problem.

    The whole formating is annoying. Colors and different font sizes would be lovely if every single person writing e-mails had a degree in arts, but some e-mails seem to be written by people with grayscale monitors, if that.

    Not to mention all those links in the body of the messages. If I want to access an address, I will simply copy&paste it to my browser.

    All in all, it is simply annoying.

  5. text/html on Why Do You Block Ads? · · Score: 2, Insightful

    Those who view HTML-based e-mail have similar problems - any spam you open with a blank, embedded image link (provided you view images) will result in the spammer instantly obtaining vast amounts of data about you

    HTML-based e-mails are the main reason I use a CLI (text-ui) e-mail reader. More exactly, Mutt. HTML messages get rendered using a CLI web browsers (w3m). I would love to be able to use Thunderbird. It is really neat, has some nice features, and is easy to use. But (mostly) because of the HTML based e-mails, I simply can't.

    So, I end up having to use a plendora of different programs (fetchmail + procmail + mutt + w3m + spamassassin + exim) to be able to read e-mail.

    I have considered simply filtering all html based e-mails directly on my mail server, but since I receive a lot of business related e-mails from people who simply think that adding their company logo on the body of the message is something important, I can't do that.

    I really miss the time when I could simply sit in front of my AIX workstation and use elm to read my 20ish daily e-mails.

  6. Re:Great News for Standards Compliance on Opera Free as in Beer · · Score: 4, Insightful

    I'm not sure.

    I have a feeling that a free-Opera will hurt Firefox's marketshare more than it will hurt IE's.

  7. Novell eDirectory ? on Searching for a Directory Service Solution? · · Score: 2, Insightful

    I would not entirely discart Novell eDirectory.
    It is specially interesting on a mixed environment solution, and it does provide some interesting possibilities when coupled with Novell Client.

    The pricetag is also VERY attractive.

  8. Re:discharged... on Statically Charged Man Ignites Office · · Score: 1

    Well, the current has to be conducted to go from point A to point B. So, if he zapped the carpet, there are 2 possible options:

    1) It went thought the air: highly unlikely, since that is not the path of less resistance.

    2) It went thought his body: If that was possible, it would never had built such a charge

    This whole story is against every physics known to men.

  9. Since when is Current measued in Volts ? on Statically Charged Man Ignites Office · · Score: 5, Insightful

    Eletrical Current is measued in Amps, not Volts.
    That alone is enough to make me seriously doubt this whole business.

  10. Re:Call of Cthulhu ? on Nintendo Patents Insanity · · Score: 1

    Is there a video game for Cthulhu? The patent specifically states it is for a video game.

    If there was, I would not be wondering, would I ?

    That is exactly the heart of the issue.

  11. Call of Cthulhu ? on Nintendo Patents Insanity · · Score: 5, Informative

    I wonder of the writers/copyright holders of Call of Cthulhu would say to that.

  12. Re:New Digital Camera Lens Made of Liquid? on New Digital Camera Lens Made of Liquid · · Score: 4, Informative
  13. Thought choice ? on Nerdcore Rap In The Press · · Score: 1

    "50 Cent has dance clubs and oral sex, we have awesome video cards."

    Yeah. Uhum. Which one to pick ... which one to pick ...

  14. Great Firewall of USA ?!?!? on Homeland Security Adds Cybersecurity Position · · Score: 3, Interesting

    Securing the virtual border ?
    I'm not sure about you, but that smells like they are planning to firewall USA ?
    Whats next ? Content filtering ?

  15. Re:Easy. on Death Penalty For Hackers? · · Score: 1

    I find the parent simply selfrighteous bullshit. For starters, if you think you are so right, why are you posting as an AC ?

    I don't agree with death penalty either, but for a completely different reason: it doesn't improve things. It simply doesn't cut down criminalty. Purely inefective. Just look at ANY study, anyway, and you will see if makes no difference. Not to mention even juries and judges can err, and when someone is dead, there is not much you can do to fix that error.

    No amount of money loss is worth a loss of someones life.

    Well, lets wait until someone close to you is killed or raped.

    It is just like people who never smokes saying "You should quit smoking". Yes ? Try quiting yourself, if you think it is so easy.

    Crimes that happen to "other people" always deserve a less harsh punishment, don't they ?

  16. Re:Is this the war cry!? on Founder of Go Computer, Inc. sues Microsoft · · Score: 1

    [Long diatribe on Linux isn't ready for the desktop]

    Is ANY OS ready for Desktop ?

    The learning curve from any OS to any OS is always big. I have been using Linux (and other unices) almost exclusively for several years, and I have a VERY hard time anytime I try to do anything on a Windows machine.

    Windows is not intuitive. Neither is Linux. Nothing that runs on a computer is intuitive, for the simple reason they work based on a different set of rules than our brains.

    I really never understood all this rant about "Linux not being ready for the desktop". I have been saying the same thing about Windows for the past 10 years.

  17. Re:The Force is *retarded* with this one... on Britain's First Jedi Member of Parliament · · Score: 1

    Which is not even claimed by the real theologists of the catholic church.

    The real miracle, according to them, was that Jesus managed to feed all those people starting with only that small number of breads. What he achived has convincing people to help each other. Which, giving what we see everyday of our lives, is enough of a miracle.

    Many of the atendees had food and water with them. They Just shared with others.

  18. Re:The Force is *retarded* with this one... on Britain's First Jedi Member of Parliament · · Score: 1

    From your post, one would think you have even less faith in humankind than you have in god.

    I, for one, like the take the agnostic point of view. I mean, if we can't even fully understand physical questions, and find concrete answers for those questions, how can we even try to understand spiritual ones ? Or even if a spirit exists ?

    Claiming absolute knowledge of the non existance of a god is just as "confused" (to use your own words) as claiming abusolute knowledge of existance.

  19. Re:Idealogy translating into practice on Norwegian Minister: No More Proprietary Formats · · Score: 1

    and other document formats such as PS and DVI are Linux only

    EXCUSE ME ?!?!?! What are you talking about ?
    Even printers can understand PS. You don't need a computer for that. Postscript is widely supported on all platforms, Microsoft Windows included. You can even add a "Generic PS" printer on Windows, and print to a file getting a nice PS archive.

    DVI originated with LaTeX (as far as I know) and yes, it is mostly used on Unix-like platforms. At least around here, mostly by Sun users.

    Lets not forget SGML, the whole she-bang of XML document formats, and of course PDF.
  20. Re:Cultural misunderstanding. on Lessig on the World Social Forum · · Score: 1

    You can rest assured I don't like the Bonu Act any more than you do, but I fail to link it directly to any corruption, at least, as the news media see it.

    Care to clarify ?

  21. Re:Not About To Be Baited on Comparing Linux and BSD, Diplomatically · · Score: 1

    So, you are trying to tell me Solaris was a joke ? :)

  22. Re:Cultural misunderstanding. on Lessig on the World Social Forum · · Score: 1

    There is a big difference between USA and Brazil regarding corruption, and that difference is a big pointer at the political level of the population.

    In USA, when a politic is found to be corrupt, the news media will fall all over him, and he will never again get reelected. At least, not for some time.

    In Brazil, he will easy get reelected on the next elections.

    That is not a reflection of the governments themselves, but more of the population in general. If corruption is a mistake, you can say americans keep making new mistakes, while brazilians keep repeating the same mistakes.

  23. Re:Want to move to Brazil, huh? on Lessig on the World Social Forum · · Score: 1

    On the other hand, many things in Brazil are much cheaper than USA.

    As a rule of thumb, in Brazil (comparing to USA):
    - Products are more expensive
    - Services are cheaper

    I'm pretty sure I have a hammer somewhere around the house. Not sure where it is, tho, since every time I need something fixed, I hire someone to do it. If I did that in USA, I would be a beggar by now.

  24. Re:Where to now ? on Russian Firm Pays to Infect PCs with Adware · · Score: 1

    There is no such things are anonymity on the Internet. Never was.

    There is always ways to track others, specially they are connecting directly to you.

    "Stop allowing" ? Who ? Me ? Oh, you mean everyone ? Well, if we could get everyone to patch, follow the correct procedures, and simply "do thing right", we would not have this problems, hum ?

    So, I take you are agreeing with me there is no possible way to claim back the Internet, is that it ?

  25. Where to now ? on Russian Firm Pays to Infect PCs with Adware · · Score: 2, Insightful

    I was wondering where we are going from here.
    SPAM, Pay-for-xploit. 99% of the web content is pretty much useless.

    Is it possible to claim back the Internet ? Somehow, I don't think so.