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.
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.
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.
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.
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.
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.
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 ?
[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.
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.
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.
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.
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.
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.
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.
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 ?
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.
:%s@^\(.\{19\}).\{4\}@\1abcd@
/, since it makes it easier to read.
Check my exemple a few posts below, even tho I do use "g" there.
The most simple command for this would be:
I also like to use @ instead of
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?
:%s@^\(.\{19\}\).\{4\}@\1abcd@g
:%s to your heart content.
You mean something like this ?
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
There is a 3rd possible scenario: their time, using company resources (computers, internet connection, eletric power etc).
And that is when things get nasty.
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.
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.
I'm not sure.
I have a feeling that a free-Opera will hurt Firefox's marketshare more than it will hurt IE's.
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.
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.
Eletrical Current is measued in Amps, not Volts.
That alone is enough to make me seriously doubt this whole business.
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.
I wonder of the writers/copyright holders of Call of Cthulhu would say to that.
No it is NOT!
"50 Cent has dance clubs and oral sex, we have awesome video cards."
... which one to pick ...
Yeah. Uhum. Which one to pick
Securing the virtual border ?
I'm not sure about you, but that smells like they are planning to firewall USA ?
Whats next ? Content filtering ?
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 ?
[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.
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.
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.
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.
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 ?
So, you are trying to tell me Solaris was a joke ? :)
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.
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.
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 ?
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.