The problem is that none of those solve the issue I described, son. Go back over that a couple of times and come on back once you've honed your reading comprehension.
You're making a strawman. I never said or even implied that I want it to dig around on my network. I've configured iTunes to store its library at smb://myhomeserver/music and would like it to periodically check in that one specific location for new music. You know, like Amarok's been doing for ages.
So you chose your community service. Am I free to choose mine as well? Who's standards must it meet? Maybe I spend 20 hours a week taking care of my sick grandma. Is that sufficient, or must I pick additional chores from a nationally approved list? How about those of us with small children; if the baby is crying from 2-5AM, may I be allowed to arrive late to the soup kitchen?
I'm glad you volunteered to do scouting. That's a worthwhile cause and I applaud you for it. Still, even though I'm not a scout leader, I promise you I spend a whole awful lot of time doing stuff that's way more important to me and my family than anything you'd have me signed up for. You pick your service and I'll pick mine.
More complexity means more points of failure. This would mean that guns purchased by law-abiding people would be more likely to fail in emergency situations than those owned by their attackers.
In a nutshell, maybe it would be good to have a flag day to end gun ownership, but we can't do that without discarding part of the constitution. Are you absolutely certain that eliminating guns would lower violence levels enough to make that an acceptable precedent?
Oh ye of little faith. Here's an example courtesy of Google.
But that doesn't seem to handle the case where the folder is being shared to the Mac, not from it. For example, my fileserver is a FreeBSD machine in the back of the house. Suppose I mounted the music directory on a Macbook and created a folder action to automatically add new music.
First, I'm not at all certain that this would work in the first place, because I don't know whether Samba has mechanisms to handle this or if they work perfectly. Even if they did, though, what happens if I add music while the Macbook is turned off? Are folder actions smart enough to say "show me all files that've changed since I last looked, which was at $DATESTAMP"?
Why is it desirable to be able to drag music to a folder, but totally unacceptable to drag it to the iTunes library window?
It's unacceptable to drag music to a folder. Music comes into my collection from all sorts of sources: iTMS, Amazon MP3 store, and ripping CDs. iTunes has good support for the first source but is pretty awful about the other two. There's a good chance music won't even originate on my home network. Sometimes I'll rip a CD at work or buy something from Amazon, then scp it to my home server.
Typical "workflow" in these cases is going around to each Mac and dragging the//fileserver/music folder into the iTunes window and waiting for ages while it re-examines every single song. Why should that be necessary?
To solve your specific problem consider a suggestion by another member of the forum regexp-align, for the dollar symbol (the regexp indicating the end of the line).
That was me, but that hack hadn't occurred to me. Clever! Another workaround would to go to the end of the last line and press C-u 100 SPC C-SPC to make it much longer than the other lines and mark the new end-of-line position. Then, move back to the colon after "Item 1" and delete the rectangle.
Bottom line, "if you want to get there, don't start from here"!
Oh, sure. I was just bemoaning a common situation I seem to find a lot.
you have just won single most arrogant statement of the year "I wrote something better"
Of course it's better, at least in his opinion. If it wasn't he wouldn't have written it. His opinion of "better" may be wildly different from yours, but he's 100% correct from his perspective.
The only thing that annoys me that I haven't bothered to look up yet is how to move past the end of a line when selecting a rectangle. Suppose I have:
Item 1: short Item 2: long text here Item 3: foo
and want to delete everything from the colon onward. (Also suppose I'm dead set on using rectangle commands for the purposes of illustration and don't want a workaround:-) ). I'd normally move to the colon after "Item 1" and set the mark. Then I'd move to the end of the "Item 3" line. If I press C-x r d now, I'll end up with:
Item 1: rt Item 2: g text here Item 3:
How do I say "yes, I know I'm at the end of the line, but keep moving anyway"?
This is the first content I've seen in years that appeals to Slashdot's original demographics: hardcore geeks who are passionate about the tools they use. I've picked up a few tips in this series of articles and have enjoyed hearing other people learn about "old" stuff for the first time.
If "(Stupid) Useful $GEEK Tricks" isn't your cup of tea, then please feel free to look elsewhere.
How well does that work for network folders like from an AirPort Extreme? If I rip a CD to a shared folder while my wife's at work, will her (hypothetical) Macbook's folder actions notice the addition when she comes home?
It will monitor your downloads folder and add any mp3s etc. to its library.
More and more people use fileservers (such as the ones Apple makes), particularly the well-financed and technophile audience that Apple's targeting these days. These people add new music files to bizarre places such as their music collection, and wish OS X in its "just works!" goodness could handle this scenario which grows more common by the day.
Monitoring a folder is the job of the OS not the App.
I have 3 Macs sharing a music folder off the house fileserver. Your excuse for why I have to manually go to each Mac and add new music after ripping it onto the server is pretty awful, especially since Amarok has this feature working.
Let me put this another way: monitoring a folder is a perfectly reasonable service for the OS to provide to applications. If OS X can't do it, then it's the only Unix I use that doesn't.
Note that Amarok takes the more sane approach of actually looking at folder contents from time to time. That might offend your purist sensibilities, but it's pretty darned handy in practice.
And mac OS has folder-actions that let you monitor a folder and add songs to any app, not just itunes.
And that works on (increasingly common) shared folders, and it knows that more files have been added since the last time it connected? Give me a break.
I'll remember this the next time a Mac user teases me for manually performing some tasks that OS X does automatically. I still have to add printers by hand, but at least I only have to do that one time. With iTunes I'm working behind the scenes every time I get new music.
Well, I can't really fault them for progress. It'd be nice if computers were forward compatible, but at some point the world moves on. And as others mentioned, Apple announced their plans well in advance, so the only people caught unawares have 4-year-old Macs. Since almost all software sold today still runs on those systems, the deprecation scenario hasn't played out yet. That's a reasonable lifetime for a computer when considering that the end isn't apparent yet.
Having said all that, I'm coming at this from the luxury position of the Mac being my third computer. At work I use an Ubuntu 8.10 system, and at home I spend far more time on an Eee PC. Perhaps I'd be more annoyed if my only computer were being phased out, but even then it's had a respectable life already.
People can get on your network and steal your bandwidth, try to attack your hosts, download child porn and post bomb threats.
They can't steal my bandwidth unless I'm trying to use it at that moment. Attack my hosts? OpenBSD with about 3 ports open to my LAN (SMTP, NTP, SSH) says this is unlikely. And what happens when someone at Starbuck's or the mall downloads child porn or posts bomb threats?
Seriously, quit being so fearful. It's not that scary out here, honest!
Yep. I'm getting some remodeling done on my house right now. Some of my friends think I'm weird because I'm pulling cat5e around the house when everything I use is already working find with WPA2. (Tivo, PS3, etc..).
The only reason you need: "they don't sell gigabit wireless equipment at Newegg yet."
It's only a matter of time before someone breaks WPA2, but by then I plan to have turned wireless off.
Why? I've taken the approach of assuming my WLAN is compromised and throwing it wide open. Wanna connect? Hop on! You can't really do anything but surf the web and try to connect to my mailserver (via enforced TLS and with a username/password), but I won't stop you.
Yup right after they piss off 1/2 their user base by abandoning the G5's and G4 processors.
Abandoned how? I have a G4 eMac that runs great with Leopard. Snow Leopard won't work on it, but I'm not upset that I'm "stuck" with 10.5. What would a new OS give me that the current one doesn't, other than support for new hardware that my system doesn't have?
The example that made sense to me was the question: "do you still beat your wife?" The question itself presumes that you did in fact beat your wife at one time.
In theory we're trying to avoid adding unnecessary complexity and possible security vulnerabilities to a simple application. You really think option 2 meets that goal better than option 1?
Yes, since web browsers were designed with the explicit goal of doing this sort of thing. Quoth Einstein: "Make things as simple as possible, but not simpler." It appears as though your system is too simple.
That means that hypothetically I could be looking at porn via my home computer, monitoring gtop on the server I admin, and pretending to be doing work all at the same time.
Don't do that. Run "ssh -D8080 homeserver" and edit your local Firefox config to use "localhost:8080" as a SOCKS proxy. That way Firefox routes all its web traffic through your home server but still renders it locally. Porn aside, I use this all the time to test our company website from outside the LAN.
The problem is that none of those solve the issue I described, son. Go back over that a couple of times and come on back once you've honed your reading comprehension.
The first goalposts aren't mine.
You're making a strawman. I never said or even implied that I want it to dig around on my network. I've configured iTunes to store its library at smb://myhomeserver/music and would like it to periodically check in that one specific location for new music. You know, like Amarok's been doing for ages.
So you chose your community service. Am I free to choose mine as well? Who's standards must it meet? Maybe I spend 20 hours a week taking care of my sick grandma. Is that sufficient, or must I pick additional chores from a nationally approved list? How about those of us with small children; if the baby is crying from 2-5AM, may I be allowed to arrive late to the soup kitchen?
I'm glad you volunteered to do scouting. That's a worthwhile cause and I applaud you for it. Still, even though I'm not a scout leader, I promise you I spend a whole awful lot of time doing stuff that's way more important to me and my family than anything you'd have me signed up for. You pick your service and I'll pick mine.
Making guns in this country childproof
More complexity means more points of failure. This would mean that guns purchased by law-abiding people would be more likely to fail in emergency situations than those owned by their attackers.
In a nutshell, maybe it would be good to have a flag day to end gun ownership, but we can't do that without discarding part of the constitution. Are you absolutely certain that eliminating guns would lower violence levels enough to make that an acceptable precedent?
So community service is punishment. Great! That'll teach a lesson you want them to carry through life.
Oh ye of little faith. Here's an example courtesy of Google.
But that doesn't seem to handle the case where the folder is being shared to the Mac, not from it. For example, my fileserver is a FreeBSD machine in the back of the house. Suppose I mounted the music directory on a Macbook and created a folder action to automatically add new music.
First, I'm not at all certain that this would work in the first place, because I don't know whether Samba has mechanisms to handle this or if they work perfectly. Even if they did, though, what happens if I add music while the Macbook is turned off? Are folder actions smart enough to say "show me all files that've changed since I last looked, which was at $DATESTAMP"?
Really? What are the statistics? Are we talking in absolute or proportional terms?
I don't have a number, but Amazon seems to be selling a lot of Apple's own fileservers.
Why is it desirable to be able to drag music to a folder, but totally unacceptable to drag it to the iTunes library window?
It's unacceptable to drag music to a folder. Music comes into my collection from all sorts of sources: iTMS, Amazon MP3 store, and ripping CDs. iTunes has good support for the first source but is pretty awful about the other two. There's a good chance music won't even originate on my home network. Sometimes I'll rip a CD at work or buy something from Amazon, then scp it to my home server.
Typical "workflow" in these cases is going around to each Mac and dragging the //fileserver/music folder into the iTunes window and waiting for ages while it re-examines every single song. Why should that be necessary?
You've never heard of AppleScript, have you?
So I have to write a program to make it act civilly. Wake me up when it's ready for the desktop.
To solve your specific problem consider a suggestion by another member of the forum regexp-align, for the dollar symbol (the regexp indicating the end of the line).
That was me, but that hack hadn't occurred to me. Clever! Another workaround would to go to the end of the last line and press C-u 100 SPC C-SPC to make it much longer than the other lines and mark the new end-of-line position. Then, move back to the colon after "Item 1" and delete the rectangle.
Bottom line, "if you want to get there, don't start from here"!
Oh, sure. I was just bemoaning a common situation I seem to find a lot.
you have just won single most arrogant statement of the year "I wrote something better"
Of course it's better, at least in his opinion. If it wasn't he wouldn't have written it. His opinion of "better" may be wildly different from yours, but he's 100% correct from his perspective.
Ah. ';' is unshifted on American keyboards, so M-; takes two keypresses.
The only thing that annoys me that I haven't bothered to look up yet is how to move past the end of a line when selecting a rectangle. Suppose I have:
and want to delete everything from the colon onward. (Also suppose I'm dead set on using rectangle commands for the purposes of illustration and don't want a workaround :-) ). I'd normally move to the colon after "Item 1" and set the mark. Then I'd move to the end of the "Item 3" line. If I press C-x r d now, I'll end up with:
How do I say "yes, I know I'm at the end of the line, but keep moving anyway"?
This is the first content I've seen in years that appeals to Slashdot's original demographics: hardcore geeks who are passionate about the tools they use. I've picked up a few tips in this series of articles and have enjoyed hearing other people learn about "old" stuff for the first time.
If "(Stupid) Useful $GEEK Tricks" isn't your cup of tea, then please feel free to look elsewhere.
(Pretend that '.'==' ' because Slashdot hates programmers.)
Before:
After running M-xalign-regexp=:
(global-set-key (kbd "C-c c") 'comment-dwim)
Note: this is already bound to M-; by default.
How well does that work for network folders like from an AirPort Extreme? If I rip a CD to a shared folder while my wife's at work, will her (hypothetical) Macbook's folder actions notice the addition when she comes home?
On OSX, iTunes _does_ pick things up.
For an extremely small set of "things", sure.
It will monitor your downloads folder and add any mp3s etc. to its library.
More and more people use fileservers (such as the ones Apple makes), particularly the well-financed and technophile audience that Apple's targeting these days. These people add new music files to bizarre places such as their music collection, and wish OS X in its "just works!" goodness could handle this scenario which grows more common by the day.
Monitoring a folder is the job of the OS not the App.
I have 3 Macs sharing a music folder off the house fileserver. Your excuse for why I have to manually go to each Mac and add new music after ripping it onto the server is pretty awful, especially since Amarok has this feature working.
Let me put this another way: monitoring a folder is a perfectly reasonable service for the OS to provide to applications. If OS X can't do it, then it's the only Unix I use that doesn't.
Note that Amarok takes the more sane approach of actually looking at folder contents from time to time. That might offend your purist sensibilities, but it's pretty darned handy in practice.
And mac OS has folder-actions that let you monitor a folder and add songs to any app, not just itunes.
And that works on (increasingly common) shared folders, and it knows that more files have been added since the last time it connected? Give me a break.
I'll remember this the next time a Mac user teases me for manually performing some tasks that OS X does automatically. I still have to add printers by hand, but at least I only have to do that one time. With iTunes I'm working behind the scenes every time I get new music.
Well, I can't really fault them for progress. It'd be nice if computers were forward compatible, but at some point the world moves on. And as others mentioned, Apple announced their plans well in advance, so the only people caught unawares have 4-year-old Macs. Since almost all software sold today still runs on those systems, the deprecation scenario hasn't played out yet. That's a reasonable lifetime for a computer when considering that the end isn't apparent yet.
Having said all that, I'm coming at this from the luxury position of the Mac being my third computer. At work I use an Ubuntu 8.10 system, and at home I spend far more time on an Eee PC. Perhaps I'd be more annoyed if my only computer were being phased out, but even then it's had a respectable life already.
People can get on your network and steal your bandwidth, try to attack your hosts, download child porn and post bomb threats.
They can't steal my bandwidth unless I'm trying to use it at that moment. Attack my hosts? OpenBSD with about 3 ports open to my LAN (SMTP, NTP, SSH) says this is unlikely. And what happens when someone at Starbuck's or the mall downloads child porn or posts bomb threats?
Seriously, quit being so fearful. It's not that scary out here, honest!
Yep. I'm getting some remodeling done on my house right now. Some of my friends think I'm weird because I'm pulling cat5e around the house when everything I use is already working find with WPA2. (Tivo, PS3, etc..).
The only reason you need: "they don't sell gigabit wireless equipment at Newegg yet."
It's only a matter of time before someone breaks WPA2, but by then I plan to have turned wireless off.
Why? I've taken the approach of assuming my WLAN is compromised and throwing it wide open. Wanna connect? Hop on! You can't really do anything but surf the web and try to connect to my mailserver (via enforced TLS and with a username/password), but I won't stop you.
Yup right after they piss off 1/2 their user base by abandoning the G5's and G4 processors.
Abandoned how? I have a G4 eMac that runs great with Leopard. Snow Leopard won't work on it, but I'm not upset that I'm "stuck" with 10.5. What would a new OS give me that the current one doesn't, other than support for new hardware that my system doesn't have?
The example that made sense to me was the question: "do you still beat your wife?" The question itself presumes that you did in fact beat your wife at one time.
In theory we're trying to avoid adding unnecessary complexity and possible security vulnerabilities to a simple application. You really think option 2 meets that goal better than option 1?
Yes, since web browsers were designed with the explicit goal of doing this sort of thing. Quoth Einstein: "Make things as simple as possible, but not simpler." It appears as though your system is too simple.
That means that hypothetically I could be looking at porn via my home computer, monitoring gtop on the server I admin, and pretending to be doing work all at the same time.
Don't do that. Run "ssh -D8080 homeserver" and edit your local Firefox config to use "localhost:8080" as a SOCKS proxy. That way Firefox routes all its web traffic through your home server but still renders it locally. Porn aside, I use this all the time to test our company website from outside the LAN.