wlh99
Apr 27, 09:34 AM
Update *** "I though it worked but the timer kept going on the background.
crashed :confused:
wlh99, do you get an exception in the invalid method " [myTimer Invalidate]" ?
I didn't test the code at all, so no. But it doesn't surprise me. An exception is thrown when you try to message an object that no longer exists.
I test to see if myTimer is nil as a check to see if the my timer object exists. But elsewhere in the progam I release myTimer and never set myTimer to nil. So, the pointer still points to a memory location, but no object is there so the [myTimer invalidate] fails with an exception. It's a very beginner mistake on my part.
add
mytimer = nil;
to the cancelIt: method.
I strongly recommend reading this document:
http://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/MemoryMgmt/MemoryMgmt.html
The important thing (assuming you are trying to learn to program) is that you don't just accept that it works, and that instead you know why what you were doing was wrong, and why the answer works.
Look at your first post. Can you say why it crashes? ulbadr's response was pretty direct in his answer, and you didn't understand it. Do you understand it now? Can you say for sure what the code you first posted does, and why it crashes?
crashed :confused:
wlh99, do you get an exception in the invalid method " [myTimer Invalidate]" ?
I didn't test the code at all, so no. But it doesn't surprise me. An exception is thrown when you try to message an object that no longer exists.
I test to see if myTimer is nil as a check to see if the my timer object exists. But elsewhere in the progam I release myTimer and never set myTimer to nil. So, the pointer still points to a memory location, but no object is there so the [myTimer invalidate] fails with an exception. It's a very beginner mistake on my part.
add
mytimer = nil;
to the cancelIt: method.
I strongly recommend reading this document:
http://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/MemoryMgmt/MemoryMgmt.html
The important thing (assuming you are trying to learn to program) is that you don't just accept that it works, and that instead you know why what you were doing was wrong, and why the answer works.
Look at your first post. Can you say why it crashes? ulbadr's response was pretty direct in his answer, and you didn't understand it. Do you understand it now? Can you say for sure what the code you first posted does, and why it crashes?
KnightWRX
Apr 26, 08:49 PM
You can point out an error and give solution
The goal of the forum is not to give out solutions, sorry. If that is what you are looking for, you're looking for it in the wrong places. We're here to help you figure out how to find the solution yourself (either by pointing out appropriate documentation or by giving hints).
or you can tell that person to quit what he's doing because he has no idea. It's a lot easier to say, go read Apples documentation than to point out an error and explain it yourself.
No one told you to quit and pointing out the documentation often times is better than someone trying to explain it. The documentation will be correct, and why type out an explanation to something Apple already documentation (ie, explained) in the proper terms ?
Now if there's something in the documentation you need help clarifying, please feel free to ask questions about the documentation.
The goal of the forum is not to give out solutions, sorry. If that is what you are looking for, you're looking for it in the wrong places. We're here to help you figure out how to find the solution yourself (either by pointing out appropriate documentation or by giving hints).
or you can tell that person to quit what he's doing because he has no idea. It's a lot easier to say, go read Apples documentation than to point out an error and explain it yourself.
No one told you to quit and pointing out the documentation often times is better than someone trying to explain it. The documentation will be correct, and why type out an explanation to something Apple already documentation (ie, explained) in the proper terms ?
Now if there's something in the documentation you need help clarifying, please feel free to ask questions about the documentation.
LagunaSol
Apr 16, 01:43 AM
Next up, Google gives away songs for free. Inserts targeted ads every 30 seconds of music. Fandroids flood the Web to tell us all how awesome Android and "free" Google music are and what a greedy jerk Steve Jobs is for selling songs.
You know it's coming.
You know it's coming.
marksman
Apr 15, 07:13 PM
Not suprrising as the record labels are run by insane lunatics.
Steve Jobs is a wizard however, and has them all under a magical spell.
History will probably view his management of the record labels as one of his most amazing accomplishments.
It seems ridiculous that Google could not negotiate reasonable terms with the record labels, but again they are run by insane lunatics.
Steve Jobs is a wizard however, and has them all under a magical spell.
History will probably view his management of the record labels as one of his most amazing accomplishments.
It seems ridiculous that Google could not negotiate reasonable terms with the record labels, but again they are run by insane lunatics.
more...
Rodimus Prime
Apr 23, 11:19 AM
Wirelessly posted (Mozilla/5.0 (iPhone; U; CPU iPhone OS 4_3_2 like Mac OS X; en-us) AppleWebKit/533.17.9 (KHTML, like Gecko) Mobile/8H7)
How would they acquire the data? How would they know this is a young person they actually want to follow? Couldn't they just follow them home from somewhere? Does the person need to lose their phone for a danger to occur? Does this paedophile need to have a phone with them?
The tracking that is occurring is by cell tower identification when someone is in range of one. Will the paedophile have access to a spy satellite to zero in on the exact location of an individual?
I'm still not buying it.
from the thread on the senator asking for reasons about this someone directly ask you this question below and you seem to be refusing to answer it. It showing you true colors LTD by refusing to answer it. Instead your entire argument is well no argument. You just attack but provide no real counter argument.
for all your defending of this feature ... can you give me even one positive reason this is good for the average person that out-weighs the negative ones ... just one
How would they acquire the data? How would they know this is a young person they actually want to follow? Couldn't they just follow them home from somewhere? Does the person need to lose their phone for a danger to occur? Does this paedophile need to have a phone with them?
The tracking that is occurring is by cell tower identification when someone is in range of one. Will the paedophile have access to a spy satellite to zero in on the exact location of an individual?
I'm still not buying it.
from the thread on the senator asking for reasons about this someone directly ask you this question below and you seem to be refusing to answer it. It showing you true colors LTD by refusing to answer it. Instead your entire argument is well no argument. You just attack but provide no real counter argument.
for all your defending of this feature ... can you give me even one positive reason this is good for the average person that out-weighs the negative ones ... just one
D4F
May 4, 09:04 AM
US is really going backwards. Here in Europe I have a HTC desire and iP4 both natively having tethering option... and it works :p
more...
aristobrat
Jan 12, 08:09 PM
the iphone, while impressive, really isnt it. a fullscreen ipod i think woulda been nice, that with the iphone woulda earned this keynote a very high ranking.
So are you doubting that the next generation of iPods won't be full screen? ;)
So are you doubting that the next generation of iPods won't be full screen? ;)
0815
Apr 25, 12:24 PM
Would love a larger screen if they can maintain the same body size. I have no interest in something like the giant PDA-sized Android phones.
I'm fine with the current screen - but wouldn't mind a bigger one, as long (as you said) the phone does not get any bigger. I don't want a phone that does not comfortable fit in my back pocket or any other small pocket I might have.
I'm fine with the current screen - but wouldn't mind a bigger one, as long (as you said) the phone does not get any bigger. I don't want a phone that does not comfortable fit in my back pocket or any other small pocket I might have.
more...
lordonuthin
Jul 22, 11:21 AM
i pay $130aus a month ($~110 US) for 50GB of downloads! (adsl2+). at least i hit the speeds.
are you on cable lord?
Yes I'm on cable, I did have dsl a couple of years ago but the company couldn't offer anything faster than 10gb/s at a higher price.
are you on cable lord?
Yes I'm on cable, I did have dsl a couple of years ago but the company couldn't offer anything faster than 10gb/s at a higher price.
MacNut
Apr 27, 05:23 PM
I meant that supposedly the issue is that women don't feel comfortable having men in the bathrooms because they'll look and stuff. What if instead of men there's a lesbian there? Isn't that the same thing?Only if they are walking around naked. There are still going to be stalls right?
more...
Lacero
Sep 8, 12:34 PM
Why does everyone REFUSE to Blame this ignorant Mayor?Hmm... that's a toughie. Let me see. Because everyone REALIZES he isn't responsible!!
suwandy
Oct 4, 12:14 AM
I'll shoot you for mentioning PowerBook G5! :D
I'm hoping for MBP update before MacWorld!
I'm hoping for MBP update before MacWorld!
more...
AppliedVisual
Oct 17, 02:33 PM
Tape!?! :confused: who on earth uses tape anymore? This is.. 2006. And I was always under the impression that a medium with moving parts would be more prone to failure than one without. Certainly my VHS and cassette library have had their share of tapes being chewed up by the machine or worn out from use.
Tape is still the most reliable, long-term archival media available. Newer tape systems can transfer over 150MB/sec. to and from the tape and store several hundred GB on a single tape. Cost-wise, tape is expensive to buy into, but if you have sufficeint archival needs, it pays for itself over time. Many tape solutions once they reach their ROI point afer a year or two, often are cheaper than HDD storage by half or more. Sounds weird, I know, but that's the way it still is.
Most large data centers covering everything from web storage, insurance databases, financial institutions etc... Have mostly converted over to large-scale redundant servers and storage networks using RAID subsystems. This serves all their immediate storage and backup needs on site and is very reliable if managed properly. But nearly all of them still use an additional tape archival workflow for off-site data storage. There really is no other way right now... Wish there was. Hence the reason tape systems also keep evolving and pretty much match HDD capacity with tape capacity in most cases and transfer rates continue to improve. Comparing tape archival systems to VHS or miniDV tape is not a good comparison, data tapes (or at least the good ones) are very robust and actually very hard to damage. Short of placing them in a magnetic field for a period of time, they're mostly indestructable. They do have moving parts, but hardly any compared to a hard drive.
Using hard drives as an archival solution is a bad idea... Hard drives are not designed for this and can corrupt data over time. Not to mention, the platter system and motors are not designed to sit stationary for years at a time for long-term storage. Optical media isn't too bad, but most photo-sensitive dyes and films used in optical media will decay over time. CD-R media was originally claimed to have a lifespan of 30 to 100 years. Now that it's been around for 30+ years, we're finding out that claim was somewhat exaggerated. Recordable DVD media and HD-DVD and BD are no different, just higher data density on the discs. And also not anywhere near practical for large-scale solutions. Just how do you archive and manage 300 petabytes per year to DVD-R???
For small business type users and home users though, DVD-R media in addition to a good redundant RAID setup probably makes the most sense. Unless they're pushing lots of data doing HD video editing or something like that. In which case, it may still make sense to give tape a consideration as the long-term archive solution. Prosumer level tape archive systems exist and are not that expensive and much more reliable than shelved hard drives and much easier to manage than optical media. The VXA2 format can afford someone an external Firewire tape system w/2 tapes for < $1K. Tapes hold up to 160GB each and factoring in the cost of the drive plus enough tapes to back up about 3 terrabytes of data, the cost becomes cheaper than individual hard drives. So a few terrabytes down the road and you could be wishing you had considered tape if you're still using DVD-R. OTOH, DVD-R is just fine and dandy if a terrabyte or two is all you need. Because you can fit a lot of discs in a shoebox and sharpie pen to label them is pretty cheap too.
External drives are *not* long term archiving solutions. They are useful for storing vast amounts of data that presumably you want to actually access and use (and possibly modify) on a regular basis; also, they are good for the kind of incremental backups you refer to, Time Machine, Retrospect, other 3rd party backup tools can be used for this. But if you have important files you know aren't going to change, while having them on HDD is useful for instant access, that's not where they should be permanently archived -- they should be burned to a permanent medium, preferably more than one copy, and stored in a safe place (or places). If your drive fails and you still need the data to be on that drive, you can then restore from the permanent medium.
Um... I guess I got carried away and didn't mean to elaborate on what you already said. But, er... um.. Yep, I agree.
Tape is still the most reliable, long-term archival media available. Newer tape systems can transfer over 150MB/sec. to and from the tape and store several hundred GB on a single tape. Cost-wise, tape is expensive to buy into, but if you have sufficeint archival needs, it pays for itself over time. Many tape solutions once they reach their ROI point afer a year or two, often are cheaper than HDD storage by half or more. Sounds weird, I know, but that's the way it still is.
Most large data centers covering everything from web storage, insurance databases, financial institutions etc... Have mostly converted over to large-scale redundant servers and storage networks using RAID subsystems. This serves all their immediate storage and backup needs on site and is very reliable if managed properly. But nearly all of them still use an additional tape archival workflow for off-site data storage. There really is no other way right now... Wish there was. Hence the reason tape systems also keep evolving and pretty much match HDD capacity with tape capacity in most cases and transfer rates continue to improve. Comparing tape archival systems to VHS or miniDV tape is not a good comparison, data tapes (or at least the good ones) are very robust and actually very hard to damage. Short of placing them in a magnetic field for a period of time, they're mostly indestructable. They do have moving parts, but hardly any compared to a hard drive.
Using hard drives as an archival solution is a bad idea... Hard drives are not designed for this and can corrupt data over time. Not to mention, the platter system and motors are not designed to sit stationary for years at a time for long-term storage. Optical media isn't too bad, but most photo-sensitive dyes and films used in optical media will decay over time. CD-R media was originally claimed to have a lifespan of 30 to 100 years. Now that it's been around for 30+ years, we're finding out that claim was somewhat exaggerated. Recordable DVD media and HD-DVD and BD are no different, just higher data density on the discs. And also not anywhere near practical for large-scale solutions. Just how do you archive and manage 300 petabytes per year to DVD-R???
For small business type users and home users though, DVD-R media in addition to a good redundant RAID setup probably makes the most sense. Unless they're pushing lots of data doing HD video editing or something like that. In which case, it may still make sense to give tape a consideration as the long-term archive solution. Prosumer level tape archive systems exist and are not that expensive and much more reliable than shelved hard drives and much easier to manage than optical media. The VXA2 format can afford someone an external Firewire tape system w/2 tapes for < $1K. Tapes hold up to 160GB each and factoring in the cost of the drive plus enough tapes to back up about 3 terrabytes of data, the cost becomes cheaper than individual hard drives. So a few terrabytes down the road and you could be wishing you had considered tape if you're still using DVD-R. OTOH, DVD-R is just fine and dandy if a terrabyte or two is all you need. Because you can fit a lot of discs in a shoebox and sharpie pen to label them is pretty cheap too.
External drives are *not* long term archiving solutions. They are useful for storing vast amounts of data that presumably you want to actually access and use (and possibly modify) on a regular basis; also, they are good for the kind of incremental backups you refer to, Time Machine, Retrospect, other 3rd party backup tools can be used for this. But if you have important files you know aren't going to change, while having them on HDD is useful for instant access, that's not where they should be permanently archived -- they should be burned to a permanent medium, preferably more than one copy, and stored in a safe place (or places). If your drive fails and you still need the data to be on that drive, you can then restore from the permanent medium.
Um... I guess I got carried away and didn't mean to elaborate on what you already said. But, er... um.. Yep, I agree.
aafuss1
Sep 12, 07:46 AM
Aus store is up for me...
Nearly up for me
Nearly up for me
more...
Thex1138
Sep 30, 08:14 PM
There's a single Home Button in the middle...
:rolleyes:
:rolleyes:
MorphingDragon
Apr 29, 07:26 PM
Just go Linux...
Heck, just keep SL, and triple boot W7, and Linux. Best of all worlds.
Linux has many, many worlds.
Heck, just keep SL, and triple boot W7, and Linux. Best of all worlds.
Linux has many, many worlds.
more...
TravisGood
Jan 5, 04:53 PM
It's hard to believe that you guys are making this effort to not "spoil".
Your sensitivity to readers who want an embargo on updates till they can view the QT stream first is unprecedented. I can hardly believe you're doing it! The niche purist audience you attract can't help but appreciate it.
Me? I'll be logged on to your live site for up-to-the-minute news!
Keep up the good work. Travis
Your sensitivity to readers who want an embargo on updates till they can view the QT stream first is unprecedented. I can hardly believe you're doing it! The niche purist audience you attract can't help but appreciate it.
Me? I'll be logged on to your live site for up-to-the-minute news!
Keep up the good work. Travis
Mattie Num Nums
May 2, 09:29 AM
Actually I have seen a number of explanations on this thread from people who use Windows more than myself. The answer to why it is "7" does not seem to be well known even to Windows users.
Really its not brain surgery.
Windows 1.0, 2.0, 3.0, 4.0, XP (5.0), Vista (6.0), Windows 7 (7.0).
Really its not brain surgery.
Windows 1.0, 2.0, 3.0, 4.0, XP (5.0), Vista (6.0), Windows 7 (7.0).
steadysignal
May 4, 10:08 AM
I don't really get this... You already pay fees for the data - why do they care for how you use it?
+1 - correct. it should not matter but since the fear is there will be no bandwidth left after the geeks have their way, they support moves like this.
+1 - correct. it should not matter but since the fear is there will be no bandwidth left after the geeks have their way, they support moves like this.
kdarling
Oct 22, 07:06 AM
For all of you touting one carrier over another check these maps out.
Thanks. However, that site doesn't seem to update its information. Some of it dates back at least five years.
For example, I looked around my area, and most of the well known dead zones marked on the map were resolved a few years ago with new towers.
Thanks. However, that site doesn't seem to update its information. Some of it dates back at least five years.
For example, I looked around my area, and most of the well known dead zones marked on the map were resolved a few years ago with new towers.
Hephaestus
Mar 18, 04:55 PM
yes. what's your point?
Then it should be pretty obvious that those comments can't be misinterpreted as compliments. Hell, I don't even understand why people make such a big deal out of what phone someone else has in the first place, thats why I made this thread, to see if I was the only one that experiences this. It seems that there are people that genuinely dislike Apple products and label anyone who purchases one as stuck up or a fanboy, which is so silly. This is my own personal experience and obviously doesn't apply to everyone.
I'm also struggling to grasp how anything in my posts can depict me as a 'fanboy'. This is in fact my first iPhone and the only other Apple product I've ever owned is my Macbook Pro. So I hardly think I'm a 'fanboy'. You seem to be jumping to conclusions.
Then it should be pretty obvious that those comments can't be misinterpreted as compliments. Hell, I don't even understand why people make such a big deal out of what phone someone else has in the first place, thats why I made this thread, to see if I was the only one that experiences this. It seems that there are people that genuinely dislike Apple products and label anyone who purchases one as stuck up or a fanboy, which is so silly. This is my own personal experience and obviously doesn't apply to everyone.
I'm also struggling to grasp how anything in my posts can depict me as a 'fanboy'. This is in fact my first iPhone and the only other Apple product I've ever owned is my Macbook Pro. So I hardly think I'm a 'fanboy'. You seem to be jumping to conclusions.
wirelessmacuser
Dec 16, 05:22 PM
4G is a myth
V CAST Media Manager is Verizon's version of Apples walled garden of content sales and control. They are not compatible.
This ought to be interesting. It was a deal breaker the first time Apple pitched the iPhone to Verizon, perhaps this time they've caved, so they could join Apple and hope some of the hype & success slides their way.
This is going to be one interesting movie.... :)
V CAST Media Manager is Verizon's version of Apples walled garden of content sales and control. They are not compatible.
This ought to be interesting. It was a deal breaker the first time Apple pitched the iPhone to Verizon, perhaps this time they've caved, so they could join Apple and hope some of the hype & success slides their way.
This is going to be one interesting movie.... :)
G58
Apr 5, 06:14 PM
Unfortunately, Clukas's quote above is a perfect example of how the majority of the board is reacting to this post. 'Lost cause', 'loser', 'moron', 'has no life' are all insults I've seen all over this posting. Incredibly immature and unnecessary if you ask me.
There are people, they're often called socialists, who believe that it's somehow unfair that a few people make more money than everyone else. These same people probably applaud when stores get looted in a crisis, protests or during civil unrest.
An ad, a good ad, is like a mini movie. It tells a story. The people who make these ads are very often [though not exclusively] Apple users.
I think what we're witnessing here in response to this story is the effect of the new breed of Apple buyer - a creature with the resources to afford the best, but non of the appreciation to discern the value of anything.
There are people, they're often called socialists, who believe that it's somehow unfair that a few people make more money than everyone else. These same people probably applaud when stores get looted in a crisis, protests or during civil unrest.
An ad, a good ad, is like a mini movie. It tells a story. The people who make these ads are very often [though not exclusively] Apple users.
I think what we're witnessing here in response to this story is the effect of the new breed of Apple buyer - a creature with the resources to afford the best, but non of the appreciation to discern the value of anything.
Gatesbasher
Mar 24, 04:07 PM
I still think OS X peaked from an aesthetic and reliability standpoint with Panther. They've added more capabilities of course, but I'm always noticing fresh things missing with each release, and what with the interface becoming progressively duller and dingier....
That said, if OS X goes away, I'll simply stop using a computer. The alternatives aren't worth the suffering.
That said, if OS X goes away, I'll simply stop using a computer. The alternatives aren't worth the suffering.
No comments:
Post a Comment