Bad form to reply to myself, but I should mention that the resource forks are not preserved during "normal" file transfer such as a web browser download.
You need to extract the file from a downloaded or emailed archive (stuffit, DMG, whatever) or copy it using GUI from a remote share (Finder CAN recover resource forks even from non-Apple shares such as SMB, WebDAV, NFS, etc.) or from a removable disk.
As I said, most Mac users aren't even aware of this type of vulnerability, namely the legacy support for resource forks in files under Mac OS X. Any file can have a resource fork attached to it, and if it contains the right parameters (such as resource type APPL, creator, icon, etc.) it will allow arbitrary code execution.
Remember, an application doesn't need to be a metafolder named.app under Mac OS X! It can be a single Carbon executable file named anything at all, so long as it has the right resource fork!
It doesn't suck because it's made by MS or ripped off from something. It sucks because the documentation is piss-poor. And there isn't a single working (i.e. cut-and-paste) example for a single API (someone told me they break them on purpose so that newbies don't cut-paste themselves into security holes without understanding exactly how the thing works, but hell!)
I noticed the same thing when Apple released their Cocoa framework (with over half of help pages saying "TODO: descrition, example"). Some Quicktime documentation is still that way today!
How anyone expects the undocumented API stuff to be useful is beyond me.
Since they are less aware of their system's vulnerabilities... And the odd quircks of Mac OS X where a file can be named Document.doc and have a Word icon, yet be a perfectly valid double-clickable executable, or have a malicious resource fork attached to it...
US Military budget for 2007: 1.2 trillion USD (800M main +400M Iraq/Afganistan supplemental) US R&D budget for 2007: 0.1 trillion USD (includes health, energy, as well as basic research)
What would be wrong with having these reversed? To put it in some context, the military budget equals to US$ 4,000 per each man, woman, or child in the United States, per year. That's a SHITLOAD of money. Which could buy you flying cars, cold fusion, cure for cancer, teleportation, and 200 year life expectancy off the start.
Note that I am not even counting the many millions of (potentially) productive citizens tied up by the military playing the role of drones, and their potential contribution to our society.
They need to know what issues are affecting them urgently and they need the raw tools for analyzing things Unless you are willing to dictate to the cable news companies what to include, they are going to stick only to what pays (e.g. terrorism, accidents, political controversy, celebrities and their nude shots).
Maybe Science itself needs to invest in superbowl ads and late night informercials. And who would that be, exactly? Nobody with lots of money has a lot of interest in improving public awareness about science, not even the big pharms, weapons makers, or universities.
Next thing you know, you are gonna be saying my tinfoil hat doesn't prevent alien invasions (and we didn't have a single one since I began wearing that hat).
But one thing that kind of surprized my back when is that the patent to the tech is bought up by Chevron, who will not license it for cell sizes larger than D, or for specialized use in vehicles. You could still assemble large quantities of D cells into a single battery (which is what Prius does), but that's much more expensive and much less efficient.
Some states now are giving up their fleets of plug-ins because they cannot legally get replacement batteries...
Fox News is just one of many TV networks in the US, and offers a unique -and different- perspective on things compared to the other 90% of media out there.
You may consider it propaganda, but nobody is forcing you to watch it, and nobody goes around shutting down liberal stations, arresting liberal TV sponsors, or shooting liberal journalists. If anything, Fox is against the kind of socialist media controls and regulations that would allow the Russia-type abuses in America.
How you think Fox News resembles anything in Russia is beyond me.
As to whom is more honorable, I can tell you who I think is not: Steve Fossett.
Dulce et decorum est, my friend. "Honor, valor, patriotism" are nice words the recruiters use to lure the green youths who are desperate for some instant glory... As someone who did two tours in Iraq, you should understand that much.
Besides the "honor" part, would you actually disagree with anything I said?
Didn't mean to give you the impression that I hate our military or anything like that. I have friends and family who serve, and they are all great people. And I certainly love them way more than our politicians!
Your kind loves to conscript people and throw them into wars like Vietnam to die for Honor and Country and the Common Good...
Why do you respect the guy that learned to shoot and P-jump more than a volunteer firefighter/paramedic, or even a guy that spent 25 years in school so that he could become a brain surgeon or a rocket scientist. I would at least question which one of these is more honorable.
Penis envy? Are you people equating bigger guns with bigger phalluses?
Perhaps you could model all three so they can all make out with each-other... while you go post on slashdot.
View it as s a chance to become addicted in reverse.
Spend some time with a family, read a book, post on slashdot, go out on a date or something. Treat this blackout as a chance to live a little.
Bad form to reply to myself, but I should mention that the resource forks are not preserved during "normal" file transfer such as a web browser download.
You need to extract the file from a downloaded or emailed archive (stuffit, DMG, whatever) or copy it using GUI from a remote share (Finder CAN recover resource forks even from non-Apple shares such as SMB, WebDAV, NFS, etc.) or from a removable disk.
No, not really.
.app under Mac OS X! It can be a single Carbon executable file named anything at all, so long as it has the right resource fork!
As I said, most Mac users aren't even aware of this type of vulnerability, namely the legacy support for resource forks in files under Mac OS X. Any file can have a resource fork attached to it, and if it contains the right parameters (such as resource type APPL, creator, icon, etc.) it will allow arbitrary code execution.
Remember, an application doesn't need to be a metafolder named
Does this "dog" like peanut butter?
Debugging an existing genome is hard. Forking it is easy (and fun, esp. with multiple copies).
I am not seeing a C++ example in your link. Generic syntax is there, example? not really.
.NET developers stick with Visual Basic/C# ?
Or do 90% of
I checked your ref. There are exactly two examples: for Visual Basic and for C#. I guess all the others are SOL.
It doesn't suck because it's made by MS or ripped off from something. It sucks because the documentation is piss-poor. And there isn't a single working (i.e. cut-and-paste) example for a single API (someone told me they break them on purpose so that newbies don't cut-paste themselves into security holes without understanding exactly how the thing works, but hell!)
I noticed the same thing when Apple released their Cocoa framework (with over half of help pages saying "TODO: descrition, example"). Some Quicktime documentation is still that way today!
How anyone expects the undocumented API stuff to be useful is beyond me.
Well, I read somewhere (some dead-tree source, SciAm?) that they did research the effects of displaying nude female art in a workplace.
Apparently it resulted in mildly increased productivity... Interestingly, this also motivated women for some reason.
Since they are less aware of their system's vulnerabilities... And the odd quircks of Mac OS X where a file can be named Document.doc and have a Word icon, yet be a perfectly valid double-clickable executable, or have a malicious resource fork attached to it...
Plus it will make your resume stand out.
http://en.wikipedia.org/wiki/Brainfuck
Unrecognised command. Drops your whole stack to shit.
US Military budget for 2007: 1.2 trillion USD (800M main +400M Iraq/Afganistan supplemental)
US R&D budget for 2007: 0.1 trillion USD (includes health, energy, as well as basic research)
What would be wrong with having these reversed? To put it in some context, the military budget equals to US$ 4,000 per each man, woman, or child in the United States, per year. That's a SHITLOAD of money. Which could buy you flying cars, cold fusion, cure for cancer, teleportation, and 200 year life expectancy off the start.
Note that I am not even counting the many millions of (potentially) productive citizens tied up by the military playing the role of drones, and their potential contribution to our society.
That's crazy talking.
Next thing you know, you are gonna be saying my tinfoil hat doesn't prevent alien invasions (and we didn't have a single one since I began wearing that hat).
To be honest, I don't know if it's true either.
But one thing that kind of surprized my back when is that the patent to the tech is bought up by Chevron, who will not license it for cell sizes larger than D, or for specialized use in vehicles. You could still assemble large quantities of D cells into a single battery (which is what Prius does), but that's much more expensive and much less efficient.
Some states now are giving up their fleets of plug-ins because they cannot legally get replacement batteries...
It's a real shame they don't make LEDs that emit UV-C. Those would be much better at burning retinas and giving people skin cancer.
Or worse, get him pregnant... Do you think the British could survive another Tony Blair?
Fox News is just one of many TV networks in the US, and offers a unique -and different- perspective on things compared to the other 90% of media out there.
You may consider it propaganda, but nobody is forcing you to watch it, and nobody goes around shutting down liberal stations, arresting liberal TV sponsors, or shooting liberal journalists. If anything, Fox is against the kind of socialist media controls and regulations that would allow the Russia-type abuses in America.
How you think Fox News resembles anything in Russia is beyond me.
Lapton in one's bed? That's a joke, right?
As to whom is more honorable, I can tell you who I think is not: Steve Fossett.
Dulce et decorum est, my friend. "Honor, valor, patriotism" are nice words the recruiters use to lure the green youths who are desperate for some instant glory... As someone who did two tours in Iraq, you should understand that much.
Besides the "honor" part, would you actually disagree with anything I said?
Didn't mean to give you the impression that I hate our military or anything like that. I have friends and family who serve, and they are all great people. And I certainly love them way more than our politicians!
What you say hasn't been true since Vietnam war.
But kudos on lifting the "telephone pole" parts of your comment from a book without attribution.
Your kind loves to conscript people and throw them into wars like Vietnam to die for Honor and Country and the Common Good...
Why do you respect the guy that learned to shoot and P-jump more than a volunteer firefighter/paramedic, or even a guy that spent 25 years in school so that he could become a brain surgeon or a rocket scientist. I would at least question which one of these is more honorable.
Penis envy? Are you people equating bigger guns with bigger phalluses?