Right, what happens if you do this is that the bozo that has tabs=4 sometimes uses tabs and sometimes uses spaces, and then when you try to load it into an editor with 8-character tabs, the indentation is all screwy. Whereas if everybody uses 8-character tabs, which is the usual meaning of ascii character number 9, then this never happens.
Actually, whats worse is sticking with 8 character tabs and indenting by four characters each time. This seems to be emacs' default mode and it is just horrible. It means absolutely the code won't look right on anything but 8 character tabs. And really, that isn't a standard. Even on old vt100s the tab stops were user settable.
I think you missed something. He was saying you indent the lines with a combination of spaces and tabs. Use tabs to get to the same indentation of the last line, and spaces to get the args out underneath the other args:
This is true for english prose, but is *not* the case with code. Having all the code on one line is usually more readable even if the line is very long. This is easy to prove, just try it.
Having lines that are long is especially useful when you have some sort of repeating pattern that makes a nice column down the screen (either very similar code or a data structure). Wrapping lines in this case royally screws the readability.
I have to say I've been extremely happy with my Lasik surgery. I got glasses in 2nd grade and wore them for 6 or 7 years until I got contacts which I wore for another 7 or 8 years. My eyesight without corrective lenses was bad--I couldn't see the big "E" at the top of the eyechart (I think that makes it worse than 20/200)--but with contacts/glasses I could see 20/15. After surgery I now see 20/20 with my left eye and 20/15 with my right. The surgery is absolutely amazing. After sitting up on the operating table I could see the wall and people's faces. I could never see faces without my contacts in. In the next few days everything looked bigger for some reason (I am using more of my retina maybe?). I have some haloing with lights at night, but glasses and contacts add those effects too, so it's not like anything has become worse in that department. I feel perfectly comfortable driving at night. Basically I have nothing bad to say about the procedure.
So actually I've had 2 surgeries. The first was on both eyes. The left eye stuck at 20/20, but the right developed 1 diopeter (sp?) of astigmatism--about 20/25 or 20/30. That was annoying enough to me to have it touched-up ("enhanced" the doctors insist on calling it). I used TLC (which is national I think) and so the touch-up cost nothing extra. The payment was very nice: I paid one time, up front, and then every follow up, touch-up, or whatever (and there were a lot of followups) I just showed up and never had to worry about paying them again. It seemed so novel.:-)
And for people who are scared of getting their eye cut open--I am the biggest wimp, and it really was nothing. I explain it to people this way: grab your forearm with your hand and squeeze-- that is what the suction-ring feels like on your eye. Pressure, but zero pain. The laser didn't hurt at all, and I was prepared for the smell (burning flesh--yum). It sounds so bad, but it really wasn't at all. The worst part for me was when the guy had to mark my eye with the surgical marker. For some reason it gave me the willies and I almost passed out. But the surgery was nothing. Seriously.
Coincidentally, just this week a Japanese customer of ours asked us to modify our firmware on our embedded device to support a different flash chip because the only one we currently support uses lead. We happily oblidged. So Intel definitely isn't the only company out there trying to be more "green".
I use Apache::Mp3 to share my music. It's nice because I can easily password protect it with Apache (since we live in these wonderful RIAA sue-happy times) and it's just a standard http access to the music which means every client on the planet supports it. I use iTunes at home and XMMS at work and they both have no problems streaming. I also have a philips streamium in my bedroom which streams from my server as well (though it requires one more special server to get the playlists to it).
Installing it is very simple: Just 'perl -MCPAN -e shell' and then "install Apache::Mp3". It works on linux, and I even got it working on a Mac OS X beta a few years ago.
I also wrote an mod to Apache::Mp3 to transcode on the fly. So I keep my music in flac format on my server and all the different clients use different formats. My iTunes at home streams wavs from the server, the stremium streams 320Kbit mp3s (since I couldn't get wavs to work), my iTunes at work does 192Kbit mp3s and XMMS at work does 128Kbit oggs.
I'm pretty happy with the setup.
Since you talked about playlists, you can put up playlists and then download them whereever you happen to be. They'll just be a list of URLs to your server. iTunes and XMMS both support that just fine and I image most other music players do as well. And since its your local music player that is controlling the playlist you can randomize it, skip songs, etc. without futzing with the server at all.
Why any ISP of any kind that lets port 25 traffic go outboung is beyound me. There is no legit use for it and all outbound mail should be handled by the ISP's mail server. No one should be sending mail from client to mailserver. It should be Client -> ISP mailserver -> Other ISP mailserver -> Other Client.
No no and no. If some idiot blocks port 25 then I can't run my own mail server! I don't trust my ISP as far as I can throw them. When their mail server is down I can't send any mail. I bought bandwidth, I have a server, I don't want arbitrary ports blocked. This is exactly the reason I switched away from stupid earthlink DSL to my current cable modem.
I was showing a guy how to use CVS and he kept messing up. So I showed him how to remove his dir out of the CVS repository so that he could start over. Well on one of his tries he accidentally checks in a new directory with a space on the end (it was a GUI client). So he goes to the CVS repository and does "ls -F" and gets:
somedir/
So he copies the dir and "rm -rf"s it. Comes to me and says, "it's been removing my directory for about 5 minutes now." I go, see what he typed and start frantically hitting control-c. You guessed it: "rm -rf somedir/". Whoops.
Another guy was the lab manager where I used to work as lab assistant (a long time ago). He bought a brand new state of the art 486dx2 chip for around $500. Apparently back then they weren't keyed and he plugged it into the mother board rotated 90 degrees. Fried it good. So he goes to the store and buys another. He studies the pin 1 indicator on the chip and board good and long. Plugs it in. Turns it on... Nothing. Turns out he got it wrong AGAIN! $1000 in 2 hours. Whoops.
Ball electronics had one of these down near in San Diego and I got to ride in it. It was EXTREMELY cool. I crashed my plane (some sort of jet fighter plane) about 3 times just because it was so much fun trying out the different g-force vectors.
Whats funny is I'm one of those that *hates* roller-coasters, but this was a blast. I watched a bunch of guys go on it first and seeing that big centrefuge arm spin around was pretty scary--I wasn't sure I could deal with it. But when you are inside you can't see out and I had no idea I was even spinning at all.
When I got out everyone was laughing at me because of all the "WOOOO-HOOOO!" type screams I was making everytime I did something cool.:-)
My friend's team made it and they have NO sponsors (or none at the time they got accepted) and are just a few guys working out of someones garage. They got in because they had a good plan and had already made solid progress on their vehicle.
Perhaps this complaining from the small teams is just a case of sour grapes? Perhaps they didn't have a solid plan or any sort of progress and really had no chance to win?
That isn't a flame, I honestly don't know. I just know that there is at least 1 unfunded (well, personnally funded) team that made it in.
This is hardly the case. The contents are used, otherwise why would they be there? In fact, the C directive for using headers is "#include" which would imply that they are included.
I'm fairly certain multisession technology was implemented on CD-ROMS before then.
No, that's not what the patent is covering. The patent RELIES on multi-session CDs. The patent is about a file system on top of a multi-session CD.
Multisession cd's act like partitioned disks. Each session normally has its own complete file system. (I believe that how it was specced, originally). Optima invented a technique to make the cd act like a normal disk so that when you dragged new files onto the cd (this was on a mac), it would write the new session out and include the updated directory at the end, not just a directory for that session. Then when the os mounted the disk (it required a special driver, of course) it showed all the files as they were as of the last directory. So you could move file around, rename things and delete files (though you obviosuly couldn't reclaim any space). That is what the patent covers, not generically writing CD-Rs, or even writing multi-session cds.
I've got a Sony-Ericsson T-616 and I'm happy with it. Yes, the screen is not very visible in direct sunlight, but it hasn't really bugged me too much at all. I guess I don't use my phone outside too much.
I've got a Mac and a $30 bluetooth usb nub thing and the bluetooth stuff just works. I use iSync to synchronize my iCal and AddressBook with the phone and don't have any problems. I've been impressed with the how well everything seems to work together. It's pretty easy to get the pictures off with Apple's USB file browser. The camera is gimicky but it is fun to play with.:-)
As for the buttons, they seem like every other phone to me, no smaller or unusable than my old nokia. I wouldn't consider them unusable at all really...
The menus aren't quite as fast as my old nokia, but they are zippy enough to not slow me down, or annoy me. My friend has a 68i and its menus are the slowest thing on the planet. It takes a good 5 seconds to get into the address book. The T616 fixes all of that. It also has a sane way of locking the screen that doesn't erase your address book entry if you are in the wrong screen (like the 68i--which causes my friend to scream curses about once a week when he does this).
The last time a Mac did this to me it turned out not to be the power supply, but the battery that was bad. Note that this wasn't a G4, but an older PPC 604 model, so things may be different. For some reason when the battery was dead the machine wouldn't turn on, or when it did it would turn right back off. I'd replace that first because it's an easy and much cheaper fix.
Go sign up for an account at playstation.com. I gave them a +sony tag when I signed up for my account and now I started to get spam from that address. I always make sure I uncheck those "can we give your address to our affiliates" boxes, too.
This is great news. I really enjoyed the whole trilogy. Maybe a bit slow to start with, but once you get into them it's a great read.
Interesting. I read "Red Mars" and, quite honestly, hated it. I thought the characters were extremely thin and the plot was framgented beyong belief leading to this wierd non-linear story progression where one chapter had absolutely no impact on any other chapter. I don't know, it just really bugged me. I finished it because I hate leaving books unfinished but the last 2/3 of the book just made me mad.
This is a set of 4 novels that look dauntingly long but are a breeze to read through. They involve a virtual reality matrix-style world but are more involved with the story/characters than with detailing heavy duty science/math. The series is one of the most enjoyable series I've read of late, and I definitely recommend it!
A word of warning: The novels don't end well... It's really like 1 big long book split up into 4 physical books. The last one ends well, though...
Despite the authors implication, stow isn't meant to be compared to rpms or.debs. It's a tool for managing your/usr/local heirarchy. And it's very good at that.
The one thing to look out for with stow is "make install" on various packages. I learned to ALWAYS "make -n install" because a lot of packages are broken and don't install into the "prefix". That is, even thought you "configure --prefix=/usr/local/stow/xxxx" the dumb package will still try to put things in/usr/bin or/usr/local/bin or some other hardwired path. I've had to clean up numerous braindead makefiles.
The greatest part of stow is not the installation, it's the deletion. Before I knew about stow, I didn't ever attempt to delete anything in/usr/local. When you look at a random file, it's impossible to tell where it came from! With stow it's a symbolic link so you can tell who "owns" it, and with stow -D, you can remove whole packages at a time. I've used it for installing new compilers: I have 2 gccs in/usr/local/stow/gcc-arm-elf-2.95 and/usr/local/stow/gcc-arm-elf-3.0.
But I didn't buy a $3k titanium laptop so I could run an un-mouseable text editor in a terminal window (nor did I buy it so that I could install X and xemacs, so that's not a solution).
Well then install the native Mac OS X Emacs (binaries can be found here). Using emacs in a terminal window is for chumps.
Onkyo's site says the ethernet hookup thing uses "Net-Tune". They offer Windows Net-Tune software on their site, but only if you have one of their boxes. Does anyone know anything about this Net-Tune? Anyone reverse engineer this yet? I have done some google searches but I haven't found anything worthwhile yet...
I've spent a substantial amount of time getting all my cd's onto my linux server (240 gigs worth! (flacs, not mp3s)). If I could get my machine to spew out my music using the Net-Tune protocol, Onkyo just might get some of my money!:-)
-David
I just wish I could get my emacs to do that style of tabbing, since it really makes the most sense.
-David
This is true for english prose, but is *not* the case with code. Having all the code on one line is usually more readable even if the line is very long. This is easy to prove, just try it.
Having lines that are long is especially useful when you have some sort of repeating pattern that makes a nice column down the screen (either very similar code or a data structure). Wrapping lines in this case royally screws the readability.
-David
I have to say I've been extremely happy with my Lasik surgery. I got glasses in 2nd grade and wore them for 6 or 7 years until I got contacts which I wore for another 7 or 8 years. My eyesight without corrective lenses was bad--I couldn't see the big "E" at the top of the eyechart (I think that makes it worse than 20/200)--but with contacts/glasses I could see 20/15. After surgery I now see 20/20 with my left eye and 20/15 with my right. The surgery is absolutely amazing. After sitting up on the operating table I could see the wall and people's faces. I could never see faces without my contacts in. In the next few days everything looked bigger for some reason (I am using more of my retina maybe?). I have some haloing with lights at night, but glasses and contacts add those effects too, so it's not like anything has become worse in that department. I feel perfectly comfortable driving at night. Basically I have nothing bad to say about the procedure.
:-)
So actually I've had 2 surgeries. The first was on both eyes. The left eye stuck at 20/20, but the right developed 1 diopeter (sp?) of astigmatism--about 20/25 or 20/30. That was annoying enough to me to have it touched-up ("enhanced" the doctors insist on calling it). I used TLC (which is national I think) and so the touch-up cost nothing extra. The payment was very nice: I paid one time, up front, and then every follow up, touch-up, or whatever (and there were a lot of followups) I just showed up and never had to worry about paying them again. It seemed so novel.
And for people who are scared of getting their eye cut open--I am the biggest wimp, and it really was nothing. I explain it to people this way: grab your forearm with your hand and squeeze-- that is what the suction-ring feels like on your eye. Pressure, but zero pain. The laser didn't hurt at all, and I was prepared for the smell (burning flesh--yum). It sounds so bad, but it really wasn't at all. The worst part for me was when the guy had to mark my eye with the surgical marker. For some reason it gave me the willies and I almost passed out. But the surgery was nothing. Seriously.
-David
Coincidentally, just this week a Japanese customer of ours asked us to modify our firmware on our embedded device to support a different flash chip because the only one we currently support uses lead. We happily oblidged. So Intel definitely isn't the only company out there trying to be more "green".
-David
I use Apache::Mp3 to share my music. It's nice because I can easily password protect it with Apache (since we live in these wonderful RIAA sue-happy times) and it's just a standard http access to the music which means every client on the planet supports it. I use iTunes at home and XMMS at work and they both have no problems streaming. I also have a philips streamium in my bedroom which streams from my server as well (though it requires one more special server to get the playlists to it).
Installing it is very simple:
Just 'perl -MCPAN -e shell' and then "install Apache::Mp3". It works on linux, and I even got it working on a Mac OS X beta a few years ago.
I also wrote an mod to Apache::Mp3 to transcode on the fly. So I keep my music in flac format on my server and all the different clients use different formats. My iTunes at home streams wavs from the server, the stremium streams 320Kbit mp3s (since I couldn't get wavs to work), my iTunes at work does 192Kbit mp3s and XMMS at work does 128Kbit oggs.
I'm pretty happy with the setup.
Since you talked about playlists, you can put up playlists and then download them whereever you happen to be. They'll just be a list of URLs to your server. iTunes and XMMS both support that just fine and I image most other music players do as well. And since its your local music player that is controlling the playlist you can randomize it, skip songs, etc. without futzing with the server at all.
It also has a "browse only" feature that you can see in action at http://music.porkrind.org.
-David
-David
I was showing a guy how to use CVS and he kept messing up. So I showed him how to remove his dir out of the CVS repository so that he could start over. Well on one of his tries he accidentally checks in a new directory with a space on the end (it was a GUI client). So he goes to the CVS repository and does "ls -F" and gets:
/
/". Whoops.
somedir
So he copies the dir and "rm -rf"s it. Comes to me and says, "it's been removing my directory for about 5 minutes now." I go, see what he typed and start frantically hitting control-c. You guessed it: "rm -rf somedir
Another guy was the lab manager where I used to work as lab assistant (a long time ago). He bought a brand new state of the art 486dx2 chip for around $500. Apparently back then they weren't keyed and he plugged it into the mother board rotated 90 degrees. Fried it good. So he goes to the store and buys another. He studies the pin 1 indicator on the chip and board good and long. Plugs it in. Turns it on... Nothing. Turns out he got it wrong AGAIN! $1000 in 2 hours. Whoops.
-David
Ball electronics had one of these down near in San Diego and I got to ride in it. It was EXTREMELY cool. I crashed my plane (some sort of jet fighter plane) about 3 times just because it was so much fun trying out the different g-force vectors.
:-)
Whats funny is I'm one of those that *hates* roller-coasters, but this was a blast. I watched a bunch of guys go on it first and seeing that big centrefuge arm spin around was pretty scary--I wasn't sure I could deal with it. But when you are inside you can't see out and I had no idea I was even spinning at all.
When I got out everyone was laughing at me because of all the "WOOOO-HOOOO!" type screams I was making everytime I did something cool.
-David
My friend's team made it and they have NO sponsors (or none at the time they got accepted) and are just a few guys working out of someones garage. They got in because they had a good plan and had already made solid progress on their vehicle.
Perhaps this complaining from the small teams is just a case of sour grapes? Perhaps they didn't have a solid plan or any sort of progress and really had no chance to win?
That isn't a flame, I honestly don't know. I just know that there is at least 1 unfunded (well, personnally funded) team that made it in.
-David
-David
Well, Optima makes "desktape" which does the same thing but on tapes. That probably isn't what you wanted to hear though... :-)
Multisession cd's act like partitioned disks. Each session normally has its own complete file system. (I believe that how it was specced, originally). Optima invented a technique to make the cd act like a normal disk so that when you dragged new files onto the cd (this was on a mac), it would write the new session out and include the updated directory at the end, not just a directory for that session. Then when the os mounted the disk (it required a special driver, of course) it showed all the files as they were as of the last directory. So you could move file around, rename things and delete files (though you obviosuly couldn't reclaim any space). That is what the patent covers, not generically writing CD-Rs, or even writing multi-session cds.
-David
I've got a Sony-Ericsson T-616 and I'm happy with it. Yes, the screen is not very visible in direct sunlight, but it hasn't really bugged me too much at all. I guess I don't use my phone outside too much.
:-)
I've got a Mac and a $30 bluetooth usb nub thing and the bluetooth stuff just works. I use iSync to synchronize my iCal and AddressBook with the phone and don't have any problems. I've been impressed with the how well everything seems to work together. It's pretty easy to get the pictures off with Apple's USB file browser. The camera is gimicky but it is fun to play with.
As for the buttons, they seem like every other phone to me, no smaller or unusable than my old nokia. I wouldn't consider them unusable at all really...
The menus aren't quite as fast as my old nokia, but they are zippy enough to not slow me down, or annoy me. My friend has a 68i and its menus are the slowest thing on the planet. It takes a good 5 seconds to get into the address book. The T616 fixes all of that. It also has a sane way of locking the screen that doesn't erase your address book entry if you are in the wrong screen (like the 68i--which causes my friend to scream curses about once a week when he does this).
I definitely recommend it.
-David
I went to get some money out the ATM machine and it had a BSOD! It made me feel real confident with my banks monetary system. I now use B of A. :-)
-David
(Yes, I switched to B of A for unrelated reasons, but it makes the story better).
Ah well, it's a new day tomorrow.
-David
The last time a Mac did this to me it turned out not to be the power supply, but the battery that was bad. Note that this wasn't a G4, but an older PPC 604 model, so things may be different. For some reason when the battery was dead the machine wouldn't turn on, or when it did it would turn right back off. I'd replace that first because it's an easy and much cheaper fix.
-David
Go sign up for an account at playstation.com. I gave them a +sony tag when I signed up for my account and now I started to get spam from that address. I always make sure I uncheck those "can we give your address to our affiliates" boxes, too.
Bastards!
-David
I know because I walked up to one and it had a blue screen of death.
It really scared me.
-David
Interesting. I read "Red Mars" and, quite honestly, hated it. I thought the characters were extremely thin and the plot was framgented beyong belief leading to this wierd non-linear story progression where one chapter had absolutely no impact on any other chapter. I don't know, it just really bugged me. I finished it because I hate leaving books unfinished but the last 2/3 of the book just made me mad.
I think I will be steering clear of this.
-David
while true; do wget http://www2.caldera.com/download_files/049-000-00
This is a set of 4 novels that look dauntingly long but are a breeze to read through. They involve a virtual reality matrix-style world but are more involved with the story/characters than with detailing heavy duty science/math. The series is one of the most enjoyable series I've read of late, and I definitely recommend it!
A word of warning: The novels don't end well... It's really like 1 big long book split up into 4 physical books. The last one ends well, though...
-David
One thing I noticed is that the author of this aritcle installed stow into
I always stow stow itself so that I don't have to mess with paths. Most every OS already points to
The one thing to look out for with stow is "make install" on various packages. I learned to ALWAYS "make -n install" because a lot of packages are broken and don't install into the "prefix". That is, even thought you "configure --prefix=/usr/local/stow/xxxx" the dumb package will still try to put things in
The greatest part of stow is not the installation, it's the deletion. Before I knew about stow, I didn't ever attempt to delete anything in
This:
stow -d
stow -d
Will switch from the old compiler to the new compiler. It's just as easy to switch back to the old compiler if you need to.
Ah. I love stow!
-David
Well then install the native Mac OS X Emacs (binaries can be found here). Using emacs in a terminal window is for chumps.
-David
Onkyo's site says the ethernet hookup thing uses "Net-Tune". They offer Windows Net-Tune software on their site, but only if you have one of their boxes. Does anyone know anything about this Net-Tune? Anyone reverse engineer this yet? I have done some google searches but I haven't found anything worthwhile yet...
:-)
I've spent a substantial amount of time getting all my cd's onto my linux server (240 gigs worth! (flacs, not mp3s)). If I could get my machine to spew out my music using the Net-Tune protocol, Onkyo just might get some of my money!
-David