Sounds a lot like the use case for a try/finally block (obviously not available in C). I agree that GOTO has its uses, but you better have a dang good justification. The above code is one of them.
This isn't exactly astronomy related like Niel deGrass Tyson's stuff, but when I was a kid I got an electronics set, complete with a bread-board, several LED's, a rheostat, heaps and heaps of resistors and capacitors, and several other things having to do with digital and analog circuitry. That was one of the best Christmas presents I ever got, and still from time to time wish I had it to pull out and tinker with. I remember one time I probably could have burned the house down had I not smelled the melting plastic on the set. What happened was that I had learned at school how to make an electromagnet out of a battery, a coil of wire, and a nail. Well, I did the same thing with the set when I got home, but then left it on for about an hour. As you well may know, connecting the two terminals of a battery without any resistor can cause the batteries to overheat, and most likely rupture. I think I probably caught the thing just before the batteries broke, because they were very hot. Anyway, I'm rambling, but you get the idea: I learned to love tinkering with electronics as a kid, and now am majoring in Computer Science.
Have you ever used OOo? It's a steaming pile of garbage. It might work on hobby linux boxes, but it is nowhere near the caliber of software that MS Office is, nor is it appropriate in a corporate environment. Whenever I use have to use OOo I end up spending half my time trying to figure out how to get automatic numbering to work correctly (the other day, it was trying to number things ai. bii. ciii., etc for me. That's not acceptable.). In addition, it's not accurate in it's representation. After trying to copy said screwed up list from OOo to a plain text editor, I got a list like 1. asdf 1. foo 2. bar.... where it was originaly 1. asdf 2. foo 3. bar in OOo. If I have to spend this much time to get something to work that's supposed to streamline your use of the software, something is horribly wrong. OOo is a direct analog of the GIMP: a noble effort to recreate a professional software suite that turned into an epic fail. Just like it's near impossible to create anything good in the GIMP in comparison with Photoshop, likewise it's near impossible to create anything good from OOo in comparison with MS Office.
And who uses WinZip anymore? Ever since Windows started including built in zip compression/decompression, I have seen no use at all for WinZip.
For the apparently shoddy and buggy product that you describe as Ubuntu, it sure has done well. It has done what no other distro has done, which is to make Linux accessible to the non-hardcore user. I can't remember the last time I had to do a./configure, make all, make install to install a program. Much like a mac, it just works. Now, I agree that it's far from the "install this on your grandma's computer" status, but it's a far cry from the first Linux I ever used (I want to say it was Mandrake 5 or 6 - helium was the code name). And even though I've gone through the wondrous joy of manually compiling a program, I still prefer a simple `sudo apt-get install foo`.
As for Canonical being an evil money-hungry corporation, honestly what do think they are in it for? Just because they happen to make a dime along the way doesn't instantly make it an inferior product. Take away the profit aspect, and you get a product with an unbearably long life-cycle run by volunteers (*cough* debian *cough cough*). Just be thankful that it hasn't devolved into the state that Red Hat did where you had to buy "support" just to get updates.
There's an interesting caveat to calling this element heavy. Just because it has 114 protons doesn't necessarily mean that it's "heavy". The "heaviest" elements are the densest ones, which tend to fall in the middle of the transition metals. If I recall correctly, 114 falls on the on the right side of the transition metals, so it might not be all that "heavy". There are reasons why this happen, something about the f-orbitals actually allowing atoms to get closer to one another, but it's been a long time since college chemistry.
1. Open up Internet Explorer.
2. Go to http://www.firefox.com/
3. Click on the link to download the latest version of Firefox.
4. Install Firefox.
5. Use Firefox from now on.
When it comes to the good laws against rape, murder, theft, etc, the police are almost 100% REactive.
That's because the minute you start trying to be proactive against those, you generally starting infringing upon the bill of rights. I, for one, rather like my privacy and would rather not have government run security cameras on every corner, as the do in London.
Don't get me started on the crap I had to remove when I reinstalled from my HP restore discs. I must have removed 20 programs that no one in their right mind would ever use. I'm just curious how much Yahoo is paying HP to include the kind of blatant advertising that was in there (i.e. Yahoo toolbar on the task bar and in IE).
I'll go ahead and pass on that golden opportunity. Because I'm a student, I have access to MSDN downloads, and was able to download the RTM of Windows 7 already. On first glance, it was a pretty slick change (especially the new dock-style task bar), but after running it for a week or so I realized that it's little more than Vista with a UI upgrade and a few more driver issues. Specifically, I kept having a problem where the background on my desktop would look funny (almost like a bad jpg of the background picture). So for the meantime I'm back with Vista, and don't plan on upgrading until SP1 comes out.
As to the possible nutritional benefits of cellulose, I don't know, but I do know that I'm pretty glad for the "auxiliary" functions it plays in my digestive system. If you all of a sudden start digesting cellulose, prepare for some of the worst constipation you and your gastroenterologist have ever seen. Not to mention the fact that to get rid of the cellulose munching bacteria you would have to go through a horrible GI tract cleansing regimen.
tell the higher ups that you refuse to work on a project that pointless and wrong because of what it'll do to your career
I guarantee that if you go into your boss and refuse to do work you'll get fired for insubordination. In addition, bringing up your "career" is bound to send a pretty strong signal to your boss that you don't plan on working there very far into the future. If the place sucks to work at, polish your resume/CV and start making yourself known to other companies. Don't sabotage yourself by pissing off your boss, thus ensuring a negative reference from your previous employer.
This would seem like one of those ideas that was great on the drawing board but horrible in real life. I just wait for the first doctor performing a surgery/procedure with this to say "Ah, hell, it just went into his brain". If they were to use these for clearing arteries (i.e. high pressure) it wouldn't take much of a disturbance in the controlling magnetic field for it to slip away into someone's brain. As for me, I'll stick with good old catheter operations (you know, if I ever have a heart condition).
You wouldn't want to use HTML for something like this, especially with newer versions of HTML. There has been a steady transition in HTML away from specification of the aesthetic appearance of a page. For this reason tags like and are considered nonstandard anymore, mostly because CSS does a way better (and cleaner) job of it.
Two qubits? As far as I'm concerned that's not a quantum processor, it's a quantum transistor. Wake me up when they have a few of these things slung together to make a logic gate.
I agree, now when are the other organized religions going to be outlawed?
Just as soon as congress decides to throw out the first amendment. I'm sorry that it bothers you that some people have more a sense of purpose in life than eat, procreate, and make money. Just because one nut job sets up a get rich scheme and calls it a church doesn't mean that all of religion is a defunct system.
Well, obviously this isn't going to be the primary source of heat for most of the homes involved. I would imagine that all of the homes that will be affected already have some sort of heating (e.g. furnace, base board heaters, etc). These people won't be completely freed from a monthly gas/electric heating bill, but I would imagine it will save them a pretty penny in the colder months. Really, this makes a whole lot of sense. I've had computers confined in a cabinet under a desk that ran so hot that the BIOS would shut down the computer if you didn't leave the cabinet door cracked. Granted, that was back in the P4 days (although I imagine the newer multi-core CPU's crank out their fair share of extra heating). That, and my laptop is currently acting as a rather nice heater for my lap.
Sounds to me like they're a struggling company with a less than marketable product. Add into that the ease of copying a product from them, and you're left with a company that's hardly pertinent in a a ruthless economy. So their solution? Turn into the bottom feeders of the economy, suing anything they lay eyes on. I personally hope this guy sues this company for everything they're worth, and maybe he'll rid the world of another copyright infringement shark.
Yes, he might have clung onto the side of the craft, but that's not to say his insides were not blended into a nice pink slurry by the g-forces. But just in case he did survive, and he's somehow adapted to live in space, I'd like to be the first to say that I, for one, welcome our new space bat overlord.
It's nine degrees Fahrenheit in Moscow right now. That's the kind of cold that makes a man concentrate on his work so he can keep from remembering that the tears the wind blows out of his eyes will freeze on the side of his face before they hit the ground.
I've walked to campus several times at 9 Fahrenheit or lower and have yet to see tears (or spit) freeze before they hit the ground.
I don't see what the big deal is. Apple installs a similar program on Windows systems when you install iTunes. Heck, I still have no idea what Bonjour is. The only real annoyance I find is that it keeps asking me to download Safari whenever I upgrade iTunes.
Sounds a lot like the use case for a try/finally block (obviously not available in C). I agree that GOTO has its uses, but you better have a dang good justification. The above code is one of them.
OR, we could adamantly claim he was born in the US despite overwhelming evidence that it was in Canada and go ahead and knight him anyway.
Well, that would work, except for one problem. Bill Shatner's Canadian.
This isn't exactly astronomy related like Niel deGrass Tyson's stuff, but when I was a kid I got an electronics set, complete with a bread-board, several LED's, a rheostat, heaps and heaps of resistors and capacitors, and several other things having to do with digital and analog circuitry. That was one of the best Christmas presents I ever got, and still from time to time wish I had it to pull out and tinker with. I remember one time I probably could have burned the house down had I not smelled the melting plastic on the set. What happened was that I had learned at school how to make an electromagnet out of a battery, a coil of wire, and a nail. Well, I did the same thing with the set when I got home, but then left it on for about an hour. As you well may know, connecting the two terminals of a battery without any resistor can cause the batteries to overheat, and most likely rupture. I think I probably caught the thing just before the batteries broke, because they were very hot. Anyway, I'm rambling, but you get the idea: I learned to love tinkering with electronics as a kid, and now am majoring in Computer Science.
Depends on the endian-ness of your architecture. I'm getting 0xFECABEBA on an intel architecture running linux.
Have you ever used OOo? It's a steaming pile of garbage. It might work on hobby linux boxes, but it is nowhere near the caliber of software that MS Office is, nor is it appropriate in a corporate environment. Whenever I use have to use OOo I end up spending half my time trying to figure out how to get automatic numbering to work correctly (the other day, it was trying to number things ai. bii. ciii., etc for me. That's not acceptable.). In addition, it's not accurate in it's representation. After trying to copy said screwed up list from OOo to a plain text editor, I got a list like 1. asdf 1. foo 2. bar .... where it was originaly 1. asdf 2. foo 3. bar in OOo. If I have to spend this much time to get something to work that's supposed to streamline your use of the software, something is horribly wrong. OOo is a direct analog of the GIMP: a noble effort to recreate a professional software suite that turned into an epic fail. Just like it's near impossible to create anything good in the GIMP in comparison with Photoshop, likewise it's near impossible to create anything good from OOo in comparison with MS Office.
And who uses WinZip anymore? Ever since Windows started including built in zip compression/decompression, I have seen no use at all for WinZip.
What do the Swine flu and hacker attacks have in common?
Yeah, I'd say that's a good foot to start off on, especially when you're a security company fearmongering people into buying your product.
For the apparently shoddy and buggy product that you describe as Ubuntu, it sure has done well. It has done what no other distro has done, which is to make Linux accessible to the non-hardcore user. I can't remember the last time I had to do a ./configure, make all, make install to install a program. Much like a mac, it just works. Now, I agree that it's far from the "install this on your grandma's computer" status, but it's a far cry from the first Linux I ever used (I want to say it was Mandrake 5 or 6 - helium was the code name). And even though I've gone through the wondrous joy of manually compiling a program, I still prefer a simple `sudo apt-get install foo`.
As for Canonical being an evil money-hungry corporation, honestly what do think they are in it for? Just because they happen to make a dime along the way doesn't instantly make it an inferior product. Take away the profit aspect, and you get a product with an unbearably long life-cycle run by volunteers (*cough* debian *cough cough*). Just be thankful that it hasn't devolved into the state that Red Hat did where you had to buy "support" just to get updates.
There's an interesting caveat to calling this element heavy. Just because it has 114 protons doesn't necessarily mean that it's "heavy". The "heaviest" elements are the densest ones, which tend to fall in the middle of the transition metals. If I recall correctly, 114 falls on the on the right side of the transition metals, so it might not be all that "heavy". There are reasons why this happen, something about the f-orbitals actually allowing atoms to get closer to one another, but it's been a long time since college chemistry.
They fixed that problem with IE. Here's the fix:
1. Open up Internet Explorer.
2. Go to http://www.firefox.com/
3. Click on the link to download the latest version of Firefox.
4. Install Firefox.
5. Use Firefox from now on.
See, it's not that hard, huh?
When it comes to the good laws against rape, murder, theft, etc, the police are almost 100% REactive.
That's because the minute you start trying to be proactive against those, you generally starting infringing upon the bill of rights. I, for one, rather like my privacy and would rather not have government run security cameras on every corner, as the do in London.
Don't get me started on the crap I had to remove when I reinstalled from my HP restore discs. I must have removed 20 programs that no one in their right mind would ever use. I'm just curious how much Yahoo is paying HP to include the kind of blatant advertising that was in there (i.e. Yahoo toolbar on the task bar and in IE).
I'll go ahead and pass on that golden opportunity. Because I'm a student, I have access to MSDN downloads, and was able to download the RTM of Windows 7 already. On first glance, it was a pretty slick change (especially the new dock-style task bar), but after running it for a week or so I realized that it's little more than Vista with a UI upgrade and a few more driver issues. Specifically, I kept having a problem where the background on my desktop would look funny (almost like a bad jpg of the background picture). So for the meantime I'm back with Vista, and don't plan on upgrading until SP1 comes out.
As to the possible nutritional benefits of cellulose, I don't know, but I do know that I'm pretty glad for the "auxiliary" functions it plays in my digestive system. If you all of a sudden start digesting cellulose, prepare for some of the worst constipation you and your gastroenterologist have ever seen. Not to mention the fact that to get rid of the cellulose munching bacteria you would have to go through a horrible GI tract cleansing regimen.
tell the higher ups that you refuse to work on a project that pointless and wrong because of what it'll do to your career
I guarantee that if you go into your boss and refuse to do work you'll get fired for insubordination. In addition, bringing up your "career" is bound to send a pretty strong signal to your boss that you don't plan on working there very far into the future. If the place sucks to work at, polish your resume/CV and start making yourself known to other companies. Don't sabotage yourself by pissing off your boss, thus ensuring a negative reference from your previous employer.
This would seem like one of those ideas that was great on the drawing board but horrible in real life. I just wait for the first doctor performing a surgery/procedure with this to say "Ah, hell, it just went into his brain". If they were to use these for clearing arteries (i.e. high pressure) it wouldn't take much of a disturbance in the controlling magnetic field for it to slip away into someone's brain. As for me, I'll stick with good old catheter operations (you know, if I ever have a heart condition).
You wouldn't want to use HTML for something like this, especially with newer versions of HTML. There has been a steady transition in HTML away from specification of the aesthetic appearance of a page. For this reason tags like and are considered nonstandard anymore, mostly because CSS does a way better (and cleaner) job of it.
Two qubits? As far as I'm concerned that's not a quantum processor, it's a quantum transistor. Wake me up when they have a few of these things slung together to make a logic gate.
I agree, now when are the other organized religions going to be outlawed?
Just as soon as congress decides to throw out the first amendment. I'm sorry that it bothers you that some people have more a sense of purpose in life than eat, procreate, and make money. Just because one nut job sets up a get rich scheme and calls it a church doesn't mean that all of religion is a defunct system.
Well, obviously this isn't going to be the primary source of heat for most of the homes involved. I would imagine that all of the homes that will be affected already have some sort of heating (e.g. furnace, base board heaters, etc). These people won't be completely freed from a monthly gas/electric heating bill, but I would imagine it will save them a pretty penny in the colder months. Really, this makes a whole lot of sense. I've had computers confined in a cabinet under a desk that ran so hot that the BIOS would shut down the computer if you didn't leave the cabinet door cracked. Granted, that was back in the P4 days (although I imagine the newer multi-core CPU's crank out their fair share of extra heating). That, and my laptop is currently acting as a rather nice heater for my lap.
Sounds to me like they're a struggling company with a less than marketable product. Add into that the ease of copying a product from them, and you're left with a company that's hardly pertinent in a a ruthless economy. So their solution? Turn into the bottom feeders of the economy, suing anything they lay eyes on. I personally hope this guy sues this company for everything they're worth, and maybe he'll rid the world of another copyright infringement shark.
Yes, he might have clung onto the side of the craft, but that's not to say his insides were not blended into a nice pink slurry by the g-forces. But just in case he did survive, and he's somehow adapted to live in space, I'd like to be the first to say that I, for one, welcome our new space bat overlord.
Who'd have thought - dating advice on Slashdot.
It's nine degrees Fahrenheit in Moscow right now. That's the kind of cold that makes a man concentrate on his work so he can keep from remembering that the tears the wind blows out of his eyes will freeze on the side of his face before they hit the ground.
I've walked to campus several times at 9 Fahrenheit or lower and have yet to see tears (or spit) freeze before they hit the ground.
I don't see what the big deal is. Apple installs a similar program on Windows systems when you install iTunes. Heck, I still have no idea what Bonjour is. The only real annoyance I find is that it keeps asking me to download Safari whenever I upgrade iTunes.