It is most likely located at the beginning of the file. Look for the marker "ID3" in the first 3 bytes of the file.
If it's not there, it could be at the end of the file (if the tag is ID3v2.4). Look for the marker "3DI" 10 bytes from the end of the file, or 10 bytes before the beginning of an ID3v1 tag.
That's the problem -- it could be at the end, requiring you to spin through all x bytes (most likely megs) until you get to the end.
I'm actually glad that (at least most of the time), tech biographies leave out any reference to the subject's personal life, since it generally has little to do with their works. I mean who cares if the guy that invented language X was married twice, or the guy that invented OS Y never got married.
I think by glossing over the fact that Turing was gay saves us from having to read about every other non-gay inventor's personal life (oh except Linus' pot smoking).
Someone please correct me if I'm wrong, but I don't think you can call what Mac laptops do "sleep to disk". I have a G4 Powerbook, and when the lid shuts, it suspends, but from what I understand the power manager uses just a bare minimum of power to keep the data in ram, and nothing goes to disk. The whole process is instantaneous -- sleeping as soon as the lid is shut, and returning before I can get the lid fully open. I haven't even managed to fake it out by closing and opening quickly.
I'm also impressed that included in this is logic to notice hardware changes when the system is asleep (ok, more like cat-napping). For example, I typically shut the lid and disconnect my network cable at work, then bring it home and wake it to my WiFi router, OSX will automatically sense and join the new network (same in reverse). The network libraries are robust enough to not cause terrible application-level errors or crashes.
Same goes for recognizing the plugging in or removal of an external monitor during sleep, as well as all the USB devices I've tried.
I can't say I tried disconnecting a Firewire drive or PCMCIA device during sleep, which I won't try since they probably should be properly dismounted. But I bet it would mount a device while asleep (or very shortly after waking).
Granted if you took the battery out it would probably dump everything in ram, unless there's some kind of internal backup battery specifically for last minute graceful shutdown everything. But I guess that's the trade-off for not having to wait while half a gig of ram transfers to and from the disk.
Personally I would say Linux is a good year from this level of sleep mode, but then I don't follow kernel dev too closely, so who knows.
If you are going to roll your own, I would suggest setting up a script on the laptop so that if it detects it has been stolen (i.e.: by checking if a website has a special message from you), and if so, connect to a secure ssh server as a client (using public key authentication so it can connect without a password), making sure you use the options to set a TCP tunnel going back to your laptop (to port 22, or perhaps VNC port, or multiple ones). In other words, have the laptop automatically ssh to a stationary server, and establish a tunnel back the other way that you can then use to get in. This way if someone runs it behind a nat device, or even installs a firewall, you can still get in.
Another thing you might want to look at is using an IM protocol with the language of your choice, and allowing remote command execution (with certain precautions such as command signing with a private key). For example, grab the Perl AIM module, create a server, add some way to sign commands (i.e.: if ( md5($msg . 'someprivate') eq $msg_key ) { shell($msg); } or something like that -- that's just off the top of my head so it may not be perfect).
I guess that gets right at the heart of the issue: Who needs cultural freedom when you get full release?
Actually, I'm surprised neo-conservatives haven't latched on to this idea: if you really want to keep a population from caring about its freedoms, make it easier for them to have sex. Hell, we probably wouldn't have a democrat left in office if the republicans made Free Love one of their campaign platforms in the 60s.
Only criminals should worry. You will have nothing to fear as long as you:
Don't mug anyone, shoplift, or steel a car Obey the speed limit and use your turn signal Do not leave the house if you called in sick to work Use only BSA approved software Don't post on Slashdot Go shopping in the xmas season Refrain from coping music Go to church Stay away from abortion clinics Stay away from libraries Stay away from voting booths Do not throw your grass clippings into the neighbor's yard. Don't have the same haircut as a criminal (mistakes can happen when looking down from above)
Seriously, what concerns me is that these big brother blimps wouldn't hover above suburbs or high-income neighborhoods and cities. God-forbid the blimps raise property values. No, the blimps would hover above lower income areas, which would have a demoralizing effect on lower income population.
Unfortunately exercises like this show how our conventional approach to warfare (cyber- or human-) is doomed in the world of increasing unconventional war tactics.
With a network or a piece of land, actively defending against a known enemy in a known timeframe is fairly easy. You know the rules for engagement, you can easily account for all the possible outcomes.
Putting processes in place to defend against undeterminable attackers in an indefinite timeframe approaches the impossible. In a network, all it takes for hostile code to infiltrate is one human error (i.e.: a race condition when a firewall ACL changes). Same with terrorism: all it takes is a few people with flight training and box-cutters to do some serious damage. There are no rules of engagement.
Put another way, conventional warfare (again, cyber- or human-) is like a chess tournament. Predictable rules. For the unconventional, imagine someone winning a chess tournament by pulling out a gun and shooting the opposing player.
As a copyright holder (for example, I create an independent film that I want to protect), what do you think would happen if I demand access to this system to do my own enforcement? What if every copyright holder in America had access to the system as well? No, we wouldn't have access to this system. Obviously such a system shouldn't be in place, but it's presence represents an unfairness to everyone except the MPAA.
This is why we (used to) have a thing called due-process, to keep private entities from enforcing what they consider the law. But we all know due-process doesn't contribute to election campaigns.
Since I signed on with safari about a year ago, I haven't bought a single paper book. Before that I was easily spending $500/year. Now it's down to $20/month, or $240/year, half what I was spending before.
There's a few titles I keep in my shelf at all times -- Programming Perl, Java in a Nutshell. Those I will upgrade when new editions come out. I rotate others as necessary (i.e.: one month I find myself using LDAP at work a lot. A few months later, it's Objective C). It works out great for me since I use such a wide selection of technologies.
Granted it might be difficult to read an entire book online, but I personally never read an entire computer book cover-to-cover. The closest I've come is skimming books (paper and electronic versions), trying out sample programs.
One incredible feature is the ability to search through the text of the book. It's so much more detailed than relying on the book's index. For example, if I happened to know one example in a LDAP book used connection timeout, but 'timeout' wasn't in the index. Searching would find it.
Can someone (that doesn't work for the RIAA) please explain to me how this isn't price fixing and at all legal?
Let me be the first to say that...
on
No EZ Fix For The IRS
·
· Score: 4, Interesting
$200 million is kind of small compared to $8b. That would be like me buying a car for $8,000, and finding out there was $200 in "transportation costs" or something.
I'm no expert in rendezvous, but it uses open (although not too commonly used) protocols like multicast-DSN. See Apples FAQ on Rendezvous
As for iChat LAN (which I'm pretty sure is much different than AOL's protocol). Looks like these guys reverse engineered and built a LAN iChat plugin for Proteus (the multiprotocol IM client). They have the source available for download.
It would be possible to port the rendezvous+iChat protocol to a Jabber server plugin.
I have terminally bad handwriting. It gets worse and worse the more I use a computer and neglect writing.
For a while I put some effort into fixing my handwriting by simply filling page after page in a spiral notebook with hundreds handwritten letters (i.e.: one page of 'a' one page of 'b' etc). It also allowed me to tweak my style a little, so I could form certain letters in a neat way. This worked for a while, but I didn't keep up with it, and my handwriting degraded with time.
I imagine this system could totally be geeked out by focusing on most common letters, starting with 'e'. (Of course when you talk about letter frequency, you have to include capitals, so it's possible that 'E' is one of the least frequent capital letters). Taking this idea further, it would be possible to write a perl script that analyzed 2-letter pairs from a large text source (some e-text perhaps, or the entire contents of an email archive). Then the most frequent pairs could be practiced.
I think this would not only benefit clarity, but speed of writing. And heck, it's probably something you could do while watching TV:)
There are plenty of resources online, but I wouldn't be a/. poster if I didn't be a know-it-all and give my advice: You goal should be an hour a day, but It's really difficult to just sit down the first tim and do one hour straight. So start at 5 minutes, and when you can sit still for the whole time, increase by 5 minutes the next day.
As for what to do with that hour, that's up for debate. I'm a Buddhist, and many of us believe in meditating on something rather than nothing.
This is why I bought my parent's a WebTV when they first wanted to go online a few years ago. By the time they became sophisticated enough to need to use a real PC online, they already were tech savvy enough to know not to install dumb apps, answer pop-ups, ignore attachments from people they don't know, etc...
So just to be evil, how much money has Mr. Doctorow made from his books? In other words, has the experiment been "worth it", or does he have to do other things to supplant his income (aka "have a real job").
A better question would be, how much does any author make? out of the tens-of-thousands of authors, where would Mr. Doctorow compare to them? Obviously he's not going to make $millions, but who really does? How many traditional authors need a "real job?"
That's the problem -- it could be at the end, requiring you to spin through all x bytes (most likely megs) until you get to the end.
Hey, my name is Scott Charlie Orth. i've been around long before a certain company. This gives me an idea...
Cha-ching!
I'm actually glad that (at least most of the time), tech biographies leave out any reference to the subject's personal life, since it generally has little to do with their works. I mean who cares if the guy that invented language X was married twice, or the guy that invented OS Y never got married.
I think by glossing over the fact that Turing was gay saves us from having to read about every other non-gay inventor's personal life (oh except Linus' pot smoking).
Someone please correct me if I'm wrong, but I don't think you can call what Mac laptops do "sleep to disk". I have a G4 Powerbook, and when the lid shuts, it suspends, but from what I understand the power manager uses just a bare minimum of power to keep the data in ram, and nothing goes to disk. The whole process is instantaneous -- sleeping as soon as the lid is shut, and returning before I can get the lid fully open. I haven't even managed to fake it out by closing and opening quickly.
I'm also impressed that included in this is logic to notice hardware changes when the system is asleep (ok, more like cat-napping). For example, I typically shut the lid and disconnect my network cable at work, then bring it home and wake it to my WiFi router, OSX will automatically sense and join the new network (same in reverse). The network libraries are robust enough to not cause terrible application-level errors or crashes.
Same goes for recognizing the plugging in or removal of an external monitor during sleep, as well as all the USB devices I've tried.
I can't say I tried disconnecting a Firewire drive or PCMCIA device during sleep, which I won't try since they probably should be properly dismounted. But I bet it would mount a device while asleep (or very shortly after waking).
Granted if you took the battery out it would probably dump everything in ram, unless there's some kind of internal backup battery specifically for last minute graceful shutdown everything. But I guess that's the trade-off for not having to wait while half a gig of ram transfers to and from the disk.
Personally I would say Linux is a good year from this level of sleep mode, but then I don't follow kernel dev too closely, so who knows.
You:
First spotted in June 10, 2000, so the patent is a false or fradulant one.
From the article:
Hale and Manes filed their patent in 2000 and it was awarded earlier this week.
Pretty close actually.
If you are going to roll your own, I would suggest setting up a script on the laptop so that if it detects it has been stolen (i.e.: by checking if a website has a special message from you), and if so, connect to a secure ssh server as a client (using public key authentication so it can connect without a password), making sure you use the options to set a TCP tunnel going back to your laptop (to port 22, or perhaps VNC port, or multiple ones). In other words, have the laptop automatically ssh to a stationary server, and establish a tunnel back the other way that you can then use to get in. This way if someone runs it behind a nat device, or even installs a firewall, you can still get in.
Another thing you might want to look at is using an IM protocol with the language of your choice, and allowing remote command execution (with certain precautions such as command signing with a private key). For example, grab the Perl AIM module, create a server, add some way to sign commands (i.e.: if ( md5($msg . 'someprivate') eq $msg_key ) { shell($msg); } or something like that -- that's just off the top of my head so it may not be perfect).
Expect the RIAA to demand a ban on scanners shortly.
I guess that gets right at the heart of the issue: Who needs cultural freedom when you get full release?
Actually, I'm surprised neo-conservatives haven't latched on to this idea: if you really want to keep a population from caring about its freedoms, make it easier for them to have sex. Hell, we probably wouldn't have a democrat left in office if the republicans made Free Love one of their campaign platforms in the 60s.
Only criminals should worry. You will have nothing to fear as long as you:
Don't mug anyone, shoplift, or steel a car
Obey the speed limit and use your turn signal
Do not leave the house if you called in sick to work
Use only BSA approved software
Don't post on Slashdot
Go shopping in the xmas season
Refrain from coping music
Go to church
Stay away from abortion clinics
Stay away from libraries
Stay away from voting booths
Do not throw your grass clippings into the neighbor's yard.
Don't have the same haircut as a criminal (mistakes can happen when looking down from above)
Seriously, what concerns me is that these big brother blimps wouldn't hover above suburbs or high-income neighborhoods and cities. God-forbid the blimps raise property values. No, the blimps would hover above lower income areas, which would have a demoralizing effect on lower income population.
Unfortunately exercises like this show how our conventional approach to warfare (cyber- or human-) is doomed in the world of increasing unconventional war tactics.
With a network or a piece of land, actively defending against a known enemy in a known timeframe is fairly easy. You know the rules for engagement, you can easily account for all the possible outcomes.
Putting processes in place to defend against undeterminable attackers in an indefinite timeframe approaches the impossible. In a network, all it takes for hostile code to infiltrate is one human error (i.e.: a race condition when a firewall ACL changes). Same with terrorism: all it takes is a few people with flight training and box-cutters to do some serious damage. There are no rules of engagement.
Put another way, conventional warfare (again, cyber- or human-) is like a chess tournament. Predictable rules. For the unconventional, imagine someone winning a chess tournament by pulling out a gun and shooting the opposing player.
Hmm.. I didn't forget at all. That's why I said "But we all know due-process doesn't contribute to election campaigns."
As a copyright holder (for example, I create an independent film that I want to protect), what do you think would happen if I demand access to this system to do my own enforcement? What if every copyright holder in America had access to the system as well? No, we wouldn't have access to this system. Obviously such a system shouldn't be in place, but it's presence represents an unfairness to everyone except the MPAA.
This is why we (used to) have a thing called due-process, to keep private entities from enforcing what they consider the law. But we all know due-process doesn't contribute to election campaigns.
Since I signed on with safari about a year ago, I haven't bought a single paper book. Before that I was easily spending $500/year. Now it's down to $20/month, or $240/year, half what I was spending before.
There's a few titles I keep in my shelf at all times -- Programming Perl, Java in a Nutshell. Those I will upgrade when new editions come out. I rotate others as necessary (i.e.: one month I find myself using LDAP at work a lot. A few months later, it's Objective C). It works out great for me since I use such a wide selection of technologies.
Granted it might be difficult to read an entire book online, but I personally never read an entire computer book cover-to-cover. The closest I've come is skimming books (paper and electronic versions), trying out sample programs.
One incredible feature is the ability to search through the text of the book. It's so much more detailed than relying on the book's index. For example, if I happened to know one example in a LDAP book used connection timeout, but 'timeout' wasn't in the index. Searching would find it.
Can someone (that doesn't work for the RIAA) please explain to me how this isn't price fixing and at all legal?
$200 million is kind of small compared to $8b. That would be like me buying a car for $8,000, and finding out there was $200 in "transportation costs" or something.
Oh please lord that rules over all that is Sci-Fi, please please don't let them butcher this the way they butchered Riverworld.
I guess I'll have to wait a few years for Moore's law, and a PS2 emulator becomes available for my 18ghz G6 Powerbook.
I'm no expert in rendezvous, but it uses open (although not too commonly used) protocols like multicast-DSN. See Apples FAQ on Rendezvous
As for iChat LAN (which I'm pretty sure is much different than AOL's protocol). Looks like these guys reverse engineered and built a LAN iChat plugin for Proteus (the multiprotocol IM client). They have the source available for download.
It would be possible to port the rendezvous+iChat protocol to a Jabber server plugin.
I have terminally bad handwriting. It gets worse and worse the more I use a computer and neglect writing.
:)
For a while I put some effort into fixing my handwriting by simply filling page after page in a spiral notebook with hundreds handwritten letters (i.e.: one page of 'a' one page of 'b' etc). It also allowed me to tweak my style a little, so I could form certain letters in a neat way. This worked for a while, but I didn't keep up with it, and my handwriting degraded with time.
I imagine this system could totally be geeked out by focusing on most common letters, starting with 'e'. (Of course when you talk about letter frequency, you have to include capitals, so it's possible that 'E' is one of the least frequent capital letters). Taking this idea further, it would be possible to write a perl script that analyzed 2-letter pairs from a large text source (some e-text perhaps, or the entire contents of an email archive). Then the most frequent pairs could be practiced.
I think this would not only benefit clarity, but speed of writing. And heck, it's probably something you could do while watching TV
Like the subject says -- Meditation.
/. poster if I didn't be a know-it-all and give my advice: You goal should be an hour a day, but It's really difficult to just sit down the first tim and do one hour straight. So start at 5 minutes, and when you can sit still for the whole time, increase by 5 minutes the next day.
There are plenty of resources online, but I wouldn't be a
As for what to do with that hour, that's up for debate. I'm a Buddhist, and many of us believe in meditating on something rather than nothing.
Plans, please!
Only if you count the virus on your floppy.
Man, you opened a can of worms with that post.
This is why I bought my parent's a WebTV when they first wanted to go online a few years ago. By the time they became sophisticated enough to need to use a real PC online, they already were tech savvy enough to know not to install dumb apps, answer pop-ups, ignore attachments from people they don't know, etc...
So just to be evil, how much money has Mr. Doctorow made from his books? In other words, has the experiment been "worth it", or does he have to do other things to supplant his income (aka "have a real job").
A better question would be, how much does any author make? out of the tens-of-thousands of authors, where would Mr. Doctorow compare to them? Obviously he's not going to make $millions, but who really does? How many traditional authors need a "real job?"
That has to be the best title ever. "At long last, Mice produce sperm from monkeys." Implied in there is "Finally!"