Interesting. I haven't tried that here -- I do have a virtualized Windows, but it's different enough hardware that I had to call Microsoft to register the bare-metal install after first installing on the VM.
Parallels does some non-trivial tricks under the covers so that Windows doesn't freak out when the hardware changes between when you boot it virtual vs actual. They're using different hardware profiles, I think it automatically choses the right profile in the NT bootloader at vm boot time.
Do you have any recommendations for remote GUIs for rtorrent? I'm all for a command-line bt client, but a nice GUI option would greatly increase the WAF...
One nice thing on OSX is that you can use your boot camp partition both natively (dual boot) and under Parallels. So you can download during the day in Parallels and reboot to play when work is finished.
Could you at least explain what it is
on
jQuery in Action
·
· Score: 0, Redundant
This review would be much more useful if it came out and said what jQuery is, instead of assuming the reader already knows. All I can gather is that is has to do with not interleaving javascript, CSS and html.
And I had never realized this, but our local landfill is positively brimming with discarded medical scanning equipment. I might try to scavenge some of this, but all the discarded MRI machines are clumped together by some unseen force.
Re:There is another variable (i.e. I call BS, YMMV
on
Fewer Shuffles Suffice
·
· Score: 1
Shuffle standards vary depending on the region. As an American, I'm used to riffle shuffle as the standard method. If you try to use another method, even in a casual game, you will likely get complaints from other players that you haven't really shuffled the cards. But in Australia, I found that most people used overhead shuffling. More than once my use of the riffle shuffle was commented on as being usual. However, I did note that the professional poker dealers at the casino in Melbourne did use a riffle shuffle for their tables.
For much the same reason as large organizations get deep, deep discounts on anything else and individuals don't. Economies of scale.
Economy of scale refers primarily to production. The savings come from manufacturing 1 million identical widgets, whether you sell them to 1 million individuals or 100 large companies is not as important. It's how Ikea can offer cheap furniture, even though most of us buy one table at a time.
Now, sure, there are some savings in delivering large orders, but discount bulk pricing is more an issue of marketing and leverage than 'economy of scale'.
The annoying thing on my phone is that it prompts me to call my voicemail before the it prompts with to view missed calls. I'd rather the reverse, so I can see if the caller was important enough for me to check the voicemail immediately.
For some years now, there have been pointing devices for the disabled that essentially involve an IR webcam and a reflector or LED stuck to whatever part of the body the user can still move.
There's quite a lot of difference between "did what it was supposed to do, in a different way" and "did something completely different". The function of brakes is to stop the car, anti-lock brakes are just a different method of doing this. The function of a router is to establish a network connection to the address I want, redirecting me to an ad is NOT fulfilling the function.
It's akin to arguing there's a parallel between TVs going from CRT to LCD (an implementation detail that does not change the primary functionality) and, say, a TV that randomly changes the station to an informercial.
There's no reason you couldn't opt to write unix commands that work in the DOS way; you'd just have to do the globbing yourself and you'd have to put a backslash in front of the wildcards when you call it to prevent the shell from expanding it - e.g.
myrename \*.htm \*.html
I think the unix version of pkzip works like this.
Let's say you are looking for a file that has a certain string in it. (I'll use "foobar" because I'm a traditionalist.) You probably already know
find . -type f -exec grep -l foobar {} \;
But the problem is, that only returns the filename, not the line matched. You could drop the "-l", but then you only get the matching line, but not the filename. The quick way to solve the problem is to add a second file to the grep; then grep returns both the filename and the line match. In order to keep things quick and the results pure, the best file to use is/dev/null.
How bizarre! At first I thought you had simply typo'd and meant '$!', but I see '!$' really is correct. I didn't know there was a bash variable like this not starting with a '$'.
Interesting. I haven't tried that here -- I do have a virtualized Windows, but it's different enough hardware that I had to call Microsoft to register the bare-metal install after first installing on the VM.
Parallels does some non-trivial tricks under the covers so that Windows doesn't freak out when the hardware changes between when you boot it virtual vs actual. They're using different hardware profiles, I think it automatically choses the right profile in the NT bootloader at vm boot time.
Do you have any recommendations for remote GUIs for rtorrent? I'm all for a command-line bt client, but a nice GUI option would greatly increase the WAF...
One nice thing on OSX is that you can use your boot camp partition both natively (dual boot) and under Parallels. So you can download during the day in Parallels and reboot to play when work is finished.
This review would be much more useful if it came out and said what jQuery is, instead of assuming the reader already knows. All I can gather is that is has to do with not interleaving javascript, CSS and html.
Never has the /. "story" tag been so appropriate...
And I had never realized this, but our local landfill is positively brimming with discarded medical scanning equipment. I might try to scavenge some of this, but all the discarded MRI machines are clumped together by some unseen force.
Might want to reconsider that.
Shuffle standards vary depending on the region. As an American, I'm used to riffle shuffle as the standard method. If you try to use another method, even in a casual game, you will likely get complaints from other players that you haven't really shuffled the cards. But in Australia, I found that most people used overhead shuffling. More than once my use of the riffle shuffle was commented on as being usual. However, I did note that the professional poker dealers at the casino in Melbourne did use a riffle shuffle for their tables.
One example: my son is asking for a Rock Polisher.
I hope you have a garage.
For much the same reason as large organizations get deep, deep discounts on anything else and individuals don't. Economies of scale.
Economy of scale refers primarily to production. The savings come from manufacturing 1 million identical widgets, whether you sell them to 1 million individuals or 100 large companies is not as important. It's how Ikea can offer cheap furniture, even though most of us buy one table at a time.
Now, sure, there are some savings in delivering large orders, but discount bulk pricing is more an issue of marketing and leverage than 'economy of scale'.
The annoying thing on my phone is that it prompts me to call my voicemail before the it prompts with to view missed calls. I'd rather the reverse, so I can see if the caller was important enough for me to check the voicemail immediately.
For some years now, there have been pointing devices for the disabled that essentially involve an IR webcam and a reflector or LED stuck to whatever part of the body the user can still move.
Sounds like one of Johnny Lee's projects, you could probably accomplish this with a Wii-remote and his free software.
Another OS X goodie is open.
I've found (in Gnome) that "gnome-open" is roughly the same thing. I assume there's a similar command for KDE.
Just don't try to use the commands cut and paste from a command line, they don't don what you think they do.
They are a bit oddly name, at least in today's world, but they are pretty useful in their own rights.
There's quite a lot of difference between "did what it was supposed to do, in a different way" and "did something completely different". The function of brakes is to stop the car, anti-lock brakes are just a different method of doing this. The function of a router is to establish a network connection to the address I want, redirecting me to an ad is NOT fulfilling the function.
It's akin to arguing there's a parallel between TVs going from CRT to LCD (an implementation detail that does not change the primary functionality) and, say, a TV that randomly changes the station to an informercial.
BitTorrent is usually the culprit for random router slugginess. Here's the instructions for solving it in DD-WRT by increasing the max connections.
The equivalent find command would be
find . -name \*.c -exec grep -l {} \;
which, I'll grant you, is a bit daunting if you're not comfortable with find, but it's pretty routine once you get the hang of it.
The zsh notation looks handy, though. Java ant files use a similar syntax, e.g.
There's no reason you couldn't opt to write unix commands that work in the DOS way; you'd just have to do the globbing yourself and you'd have to put a backslash in front of the wildcards when you call it to prevent the shell from expanding it - e.g.
myrename \*.htm \*.html
I think the unix version of pkzip works like this.
Ah, I have just been enlightened by another post in the thread... the "!" should have tipped me off that it was part of the history functionality.
Your first command can be shortened:
find . -exec grep -l pattern {} \;
yes, I was using that as a trivial example equivalent to that same command line in the parent post.
The standard trick I learned long ago is "echo ^V^O" (that's control-v, control-o).
^V is handy in general any time you want to enter a special character on a command line, like tab, enter, backspace, or the always popular control-g.
I honestly don't know where in bash this is controlled (or even what it's called). Does anyone know a list of other similar bash syntax?
As I just learned, it's part of the bash history commands, someone else just made an excellent post about it.
Here's a simple one.
Let's say you are looking for a file that has a certain string in it. (I'll use "foobar" because I'm a traditionalist.) You probably already know
find . -type f -exec grep -l foobar {} \;
But the problem is, that only returns the filename, not the line matched. /dev/null.
You could drop the "-l", but then you only get the matching line, but not the filename. The quick way to solve the problem is to add a second file to the grep; then grep returns both the filename and the line match. In order to keep things quick and the results pure, the best file to use is
find . -type f -exec grep foobar {} /dev/null \;
... or you could just use the -H option:
$ grep -H penguins /usr/share/dict/words /usr/share/dict/words:penguins
How bizarre! At first I thought you had simply typo'd and meant '$!', but I see '!$' really is correct. I didn't know there was a bash variable like this not starting with a '$'.
alias psg 'ps -ef | grep foo'
One annoyance of doing this is that you will match the grep process itself (since the command line contains foo). A quick workground is to do
ps .. | grep [f]oo
Well, I like to turn it off since although the process is in low (cpu) priority, the disk access is causing latency in my normal work.
Normally it's just run as a nightly job, it usually not critical to have it be up-to-the-minute.