No, it is much more efficient than -exec... {}, since it calls... much less often than once per file, as -exec.. {} does. I use xargs a lot in my sysadmin work.
Okay, my hair used to come down to my waist, but I do not wear daipers!
I love to call it Linux so that it rhymes with Linus in Peanuts. I want some hyper Politically Correct person to correct me. Then I ask them if they feel they must pronounce Microsoft with a US accent just because Bill Gates does.
(I have used Linux as my main desktop OS since January 1997)
Your sig (you may change it in response to this, I hope): chown -R us ~your/*base*
Sorry, but I think that you may have meant by your sig: find ~your -name '*base*' | xargs chown us
The problem with your sig is that you only change the ownership of the base immediately below ~/your home directory, not allyour base in directories more than one level below. The problem is that the shell will only expand the *base* in the home directory.
I hope you can further develop your base chowning skills further, so that all of it belongs to us.
I bought three cheap (HK $500 and HK $600) motherboards (with soldered on Duron CPUs), and found that Linux drivers worked for the VIA sets, but RH 8 (at the time) didn't work with the SiS sound chipset; I bought a cheap soundblaster instead. But it ate savings from the HK $500 price on the cheapest motherboard. On this higher priced P4 ASUS board with C-Media Electronics Inc CM8738 chipset, the drivers work fine.
Executive summary: I'm prepared to buy a cheap board and gamble that the current Red Hat drivers will work.
In Perl, no need to escape spaces. You just added the requirement that there must be at least one space. If you want to be pedantic, at least please be correct!
(I don't think pure LDAP solutions are powerful enough, but I might be wrong).
We use OpenLDAP with RH 7.3 running on a dual P-III to support computer accounts for our 1000+ student accounts, and the same machine shares out the home directories, as well as being the DHCP, DNS and web server, and it seems reasonable to me, though I want to up the horsepower a bit.
I love playing with my son. He is my main joy. I love reading Dr Seuss and other books to him every night (and more often if he asks), playing together on the computers with him on my lap, climbing Lion Rock with him (but he's scared of so many, many big butterflies!). We go walking up Shek Kip Mei hill whenever we can, it's only fifteen minutes walk from here, and see everyone doing their exercises, playing Mah Jong and having a great time out there among the nature right overlooking the high rise.
And I love to talk with, walk with, cuddle with my wife, my other best friend. I love riding our tandem with both of them, climbing up the hills of Hong Kong. I love walking with my wife while my son Linus rides his little bicycle. And no, that his name is the same as Torvalds' is no coincidence!
No it's not a fascinating fact. It's your personal relationship with your environment that gives it life to you. I have shared mine with you, here in Hong Kong. You offer sarcasm. Anything more?
An interesting scheme for comparing source code is here, and a paper about the system is here (PDF). Aiken has already processed some version of Linux code with the system; it looks as if this scheme could be helpful in this case. The plagiarism detection system based on this (MOSS) works extremely well, as many students will ruefully agree. Unfortunately, Aiken hasn't published the code, only the algorithm, but the algorithm looks like it could be implemented quite easily (I might have a go this summer).
It is based on something like this:
Preprocess the code (replace all variables with the letter 'V', strip the comments, replace white space strings with a single character)
Divide the result into fixed sized units of length k that overlap, each starting at a succeeding character. They call these k-grams
Efficiently calculate a hash for each of these k-grams
Divide the result into windows that contain a number of these k-grams
Within each window, use a method of selecting a subset of these k-grams that does not depend on position, but rather on the k-gram itself, such as the minimum hash value within that window; if there are ties, select the right-most hash value within the window
The result is the fingerprint of the code
Any document with fingerprints in common has some code in common with the original source
Okay, that's a very rough idea of the process, but you might have some idea of it now. Check it out yourself if you're interested.
You're probably right. My 3 1/2 year old son likes playing Tux Paint on
his Linux machine. He also likes Tux Racer and Tux Typing. He also likes the barcode and sproingies screen savers, so there's a link to those in his gnome-panel.
I think he will probably use Linux well when he's big.
If you use Apache with mod_dav, you can do just what you say. You choose "Web Folders", which really means webdav, and you can save your data to any webdav enabled server, such as Apache.
Absolutely right; the sig could be something like this:
find ~your -name '*base*' -print0 | xargs -0 chown us
Okay, my hair used to come down to my waist, but I do not wear daipers!
(Oh dear, spoke too soon! :-)
Oh dear, doesn't Slashdot value humour?
Few people are _so_ Politically Correct, so my friendships survive!
You are absolutely correct! (embarrassed :-) I mean so the vowels sound like those in the name of Linus from Peanuts.
I can never make people laugh with my silly jokes! I thought it might be modded as "funny", but I got insightful. :-)
(I have used Linux as my main desktop OS since January 1997)
Jargon is not always helpful; there are many who understand the concept of DVR, but who do not know that it stands for Digital Video Recorder.
chown -R us ~your/*base*
Sorry, but I think that you may have meant by your sig:
find ~your -name '*base*' | xargs chown us
The problem with your sig is that you only change the ownership of the base immediately below ~/your home directory, not all your base in directories more than one level below. The problem is that the shell will only expand the *base* in the home directory.
I hope you can further develop your base chowning skills further, so that all of it belongs to us.
Executive summary: I'm prepared to buy a cheap board and gamble that the current Red Hat drivers will work.
The version of Perl discussed in the topic of this discussion, Mastering Regular Expressions, i.e., version 5.8.
In Perl, no need to escape spaces. You just added the requirement that there must be at least one space. If you want to be pedantic, at least please be correct!
We use OpenLDAP with RH 7.3 running on a dual P-III to support computer accounts for our 1000+ student accounts, and the same machine shares out the home directories, as well as being the DHCP, DNS and web server, and it seems reasonable to me, though I want to up the horsepower a bit.
- How does this compare with BOSS?
- Is your system free software (i.e., GPL type license)?
- Can we see it?
- Can we see the code?
- If not, can you tell us how it works?
I wrote a quick description of how MOSS works (different from BOSS). Does your system work like that?And I love to talk with, walk with, cuddle with my wife, my other best friend. I love riding our tandem with both of them, climbing up the hills of Hong Kong. I love walking with my wife while my son Linus rides his little bicycle. And no, that his name is the same as Torvalds' is no coincidence!
I'm sorry to misinterpret you; here in Hong Kong a Railway Museum just seems like it has to be.
The important thing is to choose a sufficiently long k to exclude idioms. The length of the window is also important.
No it's not a fascinating fact. It's your personal relationship with your environment that gives it life to you. I have shared mine with you, here in Hong Kong. You offer sarcasm. Anything more?
He also likes the custom pictures he can draw with that include himself and the tank engine at our Railway museum (he's a Thomas the Tank Engine fan).
And the fact that his name is Linus is no coincidence (really!)
It is based on something like this:
- Preprocess the code (replace all variables with the letter 'V', strip the comments, replace white space strings with a single character)
- Divide the result into fixed sized units of length k that overlap, each starting at a succeeding character. They call these k-grams
- Efficiently calculate a hash for each of these k-grams
- Divide the result into windows that contain a number of these k-grams
- Within each window, use a method of selecting a subset of these k-grams that does not depend on position, but rather on the k-gram itself, such as the minimum hash value within that window; if there are ties, select the right-most hash value within the window
- The result is the fingerprint of the code
- Any document with fingerprints in common has some code in common with the original source
Okay, that's a very rough idea of the process, but you might have some idea of it now. Check it out yourself if you're interested.I think he will probably use Linux well when he's big.
Probably will win in court.
Of course, there is also Samba.