djransom
Mar 17, 12:24 PM
With my flame suit on, i say this...
I might have done the same thing as the OP.
Regarding the kid, well, its probably a part time job for him. Furthermore, how much can BestBuy possibly be paying him? He could probably earn more if he worked else where. :)
Truth be told alot of people in this thread would've. People are quick to say what they will and won't do AFTER the situation, but had the opportunity presented not many would've passed on it.
I might have done the same thing as the OP.
Regarding the kid, well, its probably a part time job for him. Furthermore, how much can BestBuy possibly be paying him? He could probably earn more if he worked else where. :)
Truth be told alot of people in this thread would've. People are quick to say what they will and won't do AFTER the situation, but had the opportunity presented not many would've passed on it.
berkleeboy210
Oct 10, 04:38 PM
Remember when at one event apple announced iTunes 6, then a month later i think it was announced iTunes 7? Well here we are a month later, just about from when apple annnoucned the 5.5g and now the 6g ipod will be announced soon hopefully.
ConnorCG
Apr 29, 01:11 PM
The power of Mac OS X. The magic of iPad.
Oh god...
Oh god...
CQd44
Apr 17, 12:19 PM
so you're a common dirty thief who steals from people..and proud of the fact? Under Sharia law they'd chop your hands off....
Under sharia law a woman who was raped would need like 9 witnesses to prove the man guilty. And her testimony in other cases would be half that of a man's.
Sharia law isn't a very good thing to bring up ;)
Under sharia law a woman who was raped would need like 9 witnesses to prove the man guilty. And her testimony in other cases would be half that of a man's.
Sharia law isn't a very good thing to bring up ;)
more...
MorphingDragon
Apr 29, 07:29 PM
I personally find that the "translucent plastic" in Windows 7 looks like it was ripped off from the 90s and a bad Linux window manager. Seriously, it screams "look at me, I'm trying too hard!".
And it's a complete rip-off of KDE 4.x.
So KDE4 is a bad 90s Linux Window Manager?
And it's a complete rip-off of KDE 4.x.
So KDE4 is a bad 90s Linux Window Manager?
islesguy81
Mar 25, 12:23 AM
Happy Birthday!:apple::D
more...
AppliedVisual
Oct 19, 06:41 PM
Ah, a fellow HVX user. Hooorah! :D
Bring on the BluRay recordables and holographic storage... Tape archives are killin' me too.
Bring on the BluRay recordables and holographic storage... Tape archives are killin' me too.
bousozoku
Jan 12, 08:32 PM
What about all the former Apple CEO's. They had a company behind him too, but he simply could not lead like Jobs can.
Notice the Newton? That was John Sculley's idea and it was brilliant.
Had System 7 been what Copland was supposed to be, there would likely not have been any downfall but by that time, no one cared a lot. Both founders were out the door and morale was low. They were working on the Pink OS and decided to work with IBM but IBM is notorious for going nowhere with most of what they do.
Michael Spindler didn't care about the business.
It was the financial department that kept the company going despite marketing trying to squeeze $79 for each minor o.s. release.
It takes more than one person to make a company work. It's good to have someone in charge who knows and cares about what's going on but without sharp developers and accountants, companies fail all the time. Look at Sun and Palm.
Notice the Newton? That was John Sculley's idea and it was brilliant.
Had System 7 been what Copland was supposed to be, there would likely not have been any downfall but by that time, no one cared a lot. Both founders were out the door and morale was low. They were working on the Pink OS and decided to work with IBM but IBM is notorious for going nowhere with most of what they do.
Michael Spindler didn't care about the business.
It was the financial department that kept the company going despite marketing trying to squeeze $79 for each minor o.s. release.
It takes more than one person to make a company work. It's good to have someone in charge who knows and cares about what's going on but without sharp developers and accountants, companies fail all the time. Look at Sun and Palm.
more...
LimeiBook86
Apr 29, 01:13 PM
The power of Mac OS X. The magic of iPad.
Oh god...
Yeah that doesn't sit too well with me either. But as long as there are a good set of nice new features without much of the iPad-ness mucking it up I'll be pleased. I hope to see more of Lion soon, the more features the better! :D
Oh god...
Yeah that doesn't sit too well with me either. But as long as there are a good set of nice new features without much of the iPad-ness mucking it up I'll be pleased. I hope to see more of Lion soon, the more features the better! :D
KnightWRX
Apr 28, 09:42 AM
So, please don't take everything I typed and generalize it, because it's not for everyone.
I do understand where Dejo, Balamw and the others are coming from though. And frankly, they are probably better suited to help you than I am. I don't have a lot of experience with Objective-C and Cocoa, not like they do, having mostly come into it recently.
Back to the code, here is a photo of my connections (ignore canceBigtimer). What you say is true I don't know how NSTimer works entirely , just some parts, I realize that and it is one of the reason I postpone my timer for a future update (need to study it).
I have two timers, because, like I said.. I don't have full knowledge of timers. I know now that 1 timer is enough, even if I use two timers and start them at the same time, the log only shows 1 loop and the countdown in separate labels show e.g. 59 in one and 58 in another and so on.
Ok, how about we work on making 1 timer work then ? The code you posted is very complicated and I don't think it has to be this complicated. Going 1 timer would simplify this.
I see your Start Button is associated to 3 actions. Is this really what you want ? Let's simplify this. As an exercise, make 1 method, call it startTimer (like I did) and have only that action associated with your start button. From there, you can call the other methods yourself as needed.
Once you have modified the code in this way, post again what you have in full, what it is doing and what you think it should be doing. We'll go from there.
You mention my two global variables, It makes sense that the timer does not stop because the variables are outside the method that creates the timer. is that whats going on?
No, the variables are "fine" where they are. They would be better positionned in the @interface block and declared as instance variables, but implementation scope globals work too.
What you need to do however is reset those if you want your timer to start back at 0. Somewhere in your "stop/reset" code, there needs to be an initialization of those back to 0 :
seconds = 0;
minutes = 0;
If your Cancel button is what should reset it, then this should be right now in newActionTimer. But ideally, we'll get rid of that function when you simplify the code down to 1 timer.
Look at my NSLog outputs in my screenshot earlier. There's 3 methods there. updateLabel, cancelTimer, startTimer. This should have given you a big indication of how not complicated you should have made this.
If you want 3 buttons, start, reset, stop, you'd technically need 4 methods, as follows :
-(IBAction) startTimer: (id) sender;
-(IBAction) stopTimer: (id) sender;
-(IBAction) resetTimer: (id) sender;
-(void) updateLabel;
One to update the label as needed, one to start the timer, one to stop it and one to reset it.
Also, NSTimer is not your timer. The timer is what you are creating with ATimerViewController. You need to grasp this. NSTimer simply calls methods, in this case, it should be update label. That's about all it should be doing. Both the stop and reset methods should release the NSTimer object instance. startTimer should always create a new one. However, reset should be the one to set back seconds/minutes to 0.
I do understand where Dejo, Balamw and the others are coming from though. And frankly, they are probably better suited to help you than I am. I don't have a lot of experience with Objective-C and Cocoa, not like they do, having mostly come into it recently.
Back to the code, here is a photo of my connections (ignore canceBigtimer). What you say is true I don't know how NSTimer works entirely , just some parts, I realize that and it is one of the reason I postpone my timer for a future update (need to study it).
I have two timers, because, like I said.. I don't have full knowledge of timers. I know now that 1 timer is enough, even if I use two timers and start them at the same time, the log only shows 1 loop and the countdown in separate labels show e.g. 59 in one and 58 in another and so on.
Ok, how about we work on making 1 timer work then ? The code you posted is very complicated and I don't think it has to be this complicated. Going 1 timer would simplify this.
I see your Start Button is associated to 3 actions. Is this really what you want ? Let's simplify this. As an exercise, make 1 method, call it startTimer (like I did) and have only that action associated with your start button. From there, you can call the other methods yourself as needed.
Once you have modified the code in this way, post again what you have in full, what it is doing and what you think it should be doing. We'll go from there.
You mention my two global variables, It makes sense that the timer does not stop because the variables are outside the method that creates the timer. is that whats going on?
No, the variables are "fine" where they are. They would be better positionned in the @interface block and declared as instance variables, but implementation scope globals work too.
What you need to do however is reset those if you want your timer to start back at 0. Somewhere in your "stop/reset" code, there needs to be an initialization of those back to 0 :
seconds = 0;
minutes = 0;
If your Cancel button is what should reset it, then this should be right now in newActionTimer. But ideally, we'll get rid of that function when you simplify the code down to 1 timer.
Look at my NSLog outputs in my screenshot earlier. There's 3 methods there. updateLabel, cancelTimer, startTimer. This should have given you a big indication of how not complicated you should have made this.
If you want 3 buttons, start, reset, stop, you'd technically need 4 methods, as follows :
-(IBAction) startTimer: (id) sender;
-(IBAction) stopTimer: (id) sender;
-(IBAction) resetTimer: (id) sender;
-(void) updateLabel;
One to update the label as needed, one to start the timer, one to stop it and one to reset it.
Also, NSTimer is not your timer. The timer is what you are creating with ATimerViewController. You need to grasp this. NSTimer simply calls methods, in this case, it should be update label. That's about all it should be doing. Both the stop and reset methods should release the NSTimer object instance. startTimer should always create a new one. However, reset should be the one to set back seconds/minutes to 0.
more...
WestonHarvey1
Jul 21, 09:37 AM
Show me another phone that can drop calls from just the position of one finger. Nokia have their problems at the moment, but their reception has always been rock solid.
That only happens in extremely weak signal areas. Other phones will do that too, it just isn't as obvious where to touch it.
That only happens in extremely weak signal areas. Other phones will do that too, it just isn't as obvious where to touch it.
Tampa Tom
May 4, 07:08 AM
....
One of Apple's HUGE advantages over Android based devices is that all iOS devices can use the same OS and they all get upgraded at the same time.
Obviously you haven't tried to run iOS 4 and above on an iPhone 3G. While it does limp along, it is not a good user experience.
One of Apple's HUGE advantages over Android based devices is that all iOS devices can use the same OS and they all get upgraded at the same time.
Obviously you haven't tried to run iOS 4 and above on an iPhone 3G. While it does limp along, it is not a good user experience.
more...
BRLawyer
Jan 6, 05:09 PM
Tks, MR...that's just what I wanted, after leaving work on Tuesday...NO SPOILERS!!! ;)
i0Nic
Sep 12, 02:53 AM
Sydney 3am Sept 13.
more...
balamw
Apr 27, 08:11 PM
If you posted up the full code of your viewController, we might even be able to point you in the right direction. The more you are specific, the better we can help.
Yup. Again, divide and conquer. If you don't want to share your entire code because it does something else, you don't want to reveal, pull out what is needed to demonstrate the problem into a test app to figure it out.
If you post nominally compilable code you are more likely to get to your desired answers faster.
B
Yup. Again, divide and conquer. If you don't want to share your entire code because it does something else, you don't want to reveal, pull out what is needed to demonstrate the problem into a test app to figure it out.
If you post nominally compilable code you are more likely to get to your desired answers faster.
B
DoFoT9
Jul 30, 08:51 PM
yes i have macs, but i don't fold with any of them. my mac pro is too old to fold with. but i am eying those new mac pros though
too bad osx cant utilise GPUs and whatnot. :( otherwise id let my 4850 have a crack - better then the CPU thats for sure!
too bad osx cant utilise GPUs and whatnot. :( otherwise id let my 4850 have a crack - better then the CPU thats for sure!
more...
apfhex
Jan 5, 03:17 PM
Right in the beginning, there was a live video feed to all the Apple stores... I went to two of them, both at the Mall of America store (and both times sat next to some very quirky Mac users... y'know... the regular type). Then one year, I went and it wasn't on. I was pissed. Then I learned Apple wasn't doing that because it was too expensive or something.
I wish they at least did that still. I mean, they offer a streaming video after the event, is it really so much more expensive to to offer it live? That would be something worth getting up early and going to the Apple Store for.
Although I find enough excitement in both reading the live text updates and then getting to go to Apple's site and see the product pages,and watch them in action in the keynote video.
I wish they at least did that still. I mean, they offer a streaming video after the event, is it really so much more expensive to to offer it live? That would be something worth getting up early and going to the Apple Store for.
Although I find enough excitement in both reading the live text updates and then getting to go to Apple's site and see the product pages,and watch them in action in the keynote video.
notjustjay
Mar 7, 01:06 AM
I think there are a lot of factors at play here.
One is that virtually every other company not only has to compete with Apple, but with each other. So they have to cram the most features and specs they can into a product, while making as cheap as they possibly can, in order to stay competitive.
For example, take a MacBook Pro, and find ways to make it cheaper: Well, we can replace the unibody aluminum with a plastic shell. We could remove the backlit keyboard. We could replace the glass touchpad with a cheaper part. Take out the Firewire port. Hey, look what's left: a cheap laptop. Everyone tries to get it cheaper and cheaper so they can outsell the other guys. Meanwhile, Apple puts in whatever they want and charges whatever they want, because they've built themselves up a position where they know people will still go ahead and pay it.
Also, because of the tight competition, companies are afraid to take risks. Remember when the USB por had just been introduced? This was a real chicken and egg situation for PC makers. No PC maker wants to be the first to switch to all USB ports because (a) it will cost more money to put the new ports into the board, and (b) they know it will annoy customers who will have to buy all peripherals. Customers will simply buy the competing brand because it's cheaper. Now, someone eventually sells a PC with both USB and PS/2 ports so you can slowly start the upgrade trend, but it's slow for all the above reasons.
Same for the floppy drive: nobody wants to be the first to ship without one. It would be seen as being "too different" and cause lost sales to the competition.
Then comes Apple with the iMac and its all-USB ports and no floppy. You want an iMac? You're getting USB. You're getting no floppy drive. There's simply no choice about it. There's no competition, either, and Apple is already known for being more expensive so that's not even a factor. Apple decides they want to push the standard forward, and frankly you have no real choice about it (if you intend to stick to Apple).
Then the market opens up (for USB) or perception changes (it's OK to not have a floppy drive) or Apple defines something cool that people copycat, and in all cases Apple's marketing engine claims credit for changing the industry. Repeat something enough times and everyone starts to believe it...
And, to be honest, there's also lots of confirmation bias going on.
One is that virtually every other company not only has to compete with Apple, but with each other. So they have to cram the most features and specs they can into a product, while making as cheap as they possibly can, in order to stay competitive.
For example, take a MacBook Pro, and find ways to make it cheaper: Well, we can replace the unibody aluminum with a plastic shell. We could remove the backlit keyboard. We could replace the glass touchpad with a cheaper part. Take out the Firewire port. Hey, look what's left: a cheap laptop. Everyone tries to get it cheaper and cheaper so they can outsell the other guys. Meanwhile, Apple puts in whatever they want and charges whatever they want, because they've built themselves up a position where they know people will still go ahead and pay it.
Also, because of the tight competition, companies are afraid to take risks. Remember when the USB por had just been introduced? This was a real chicken and egg situation for PC makers. No PC maker wants to be the first to switch to all USB ports because (a) it will cost more money to put the new ports into the board, and (b) they know it will annoy customers who will have to buy all peripherals. Customers will simply buy the competing brand because it's cheaper. Now, someone eventually sells a PC with both USB and PS/2 ports so you can slowly start the upgrade trend, but it's slow for all the above reasons.
Same for the floppy drive: nobody wants to be the first to ship without one. It would be seen as being "too different" and cause lost sales to the competition.
Then comes Apple with the iMac and its all-USB ports and no floppy. You want an iMac? You're getting USB. You're getting no floppy drive. There's simply no choice about it. There's no competition, either, and Apple is already known for being more expensive so that's not even a factor. Apple decides they want to push the standard forward, and frankly you have no real choice about it (if you intend to stick to Apple).
Then the market opens up (for USB) or perception changes (it's OK to not have a floppy drive) or Apple defines something cool that people copycat, and in all cases Apple's marketing engine claims credit for changing the industry. Repeat something enough times and everyone starts to believe it...
And, to be honest, there's also lots of confirmation bias going on.
yg17
Apr 13, 08:50 AM
I don't see anything wrong with it at all. People use children to carry goods all the time and the TSA agent was totally professional about it talking through each step. The rules are there to provide a layer of safety and if you think that it doesn't and don't like the rules, ride the bus!
Better yet, let's remove the TSA agents and let someone fly a plane into another building. :rolleyes:
The 9/11 hijackers did not bring anything on the plane that was banned. No amount of groping or searching by airport security would've prevented 9/11.
9/11 was a failure of intelligence, not a failure of airport security.
Better yet, let's remove the TSA agents and let someone fly a plane into another building. :rolleyes:
The 9/11 hijackers did not bring anything on the plane that was banned. No amount of groping or searching by airport security would've prevented 9/11.
9/11 was a failure of intelligence, not a failure of airport security.
rtdgoldfish
Apr 3, 09:40 PM
The pawn records and the name on the lease should have pointed them onward, since he is likely to keep pawning crap at his new place.
But your stuff is probably his toy until he gets tired of it, or has already been sold.
Or the son of the lady who is there did it, and had already sold the box to a friend.
Especially odd if she admits to have lived there since January 1st.
Two scumbags in a row at the same house isn't too far out of the question if the homeowner rents to the same pool of people.
It kinda sucks because I thought I knew most of the people in the neighborhood. The few houses that I don't know are the "sumbags".
And I am guessing that someone new has my 360, it has been online way more frequently than before however they still haven't played a game.
But your stuff is probably his toy until he gets tired of it, or has already been sold.
Or the son of the lady who is there did it, and had already sold the box to a friend.
Especially odd if she admits to have lived there since January 1st.
Two scumbags in a row at the same house isn't too far out of the question if the homeowner rents to the same pool of people.
It kinda sucks because I thought I knew most of the people in the neighborhood. The few houses that I don't know are the "sumbags".
And I am guessing that someone new has my 360, it has been online way more frequently than before however they still haven't played a game.
dyler
Oct 8, 12:50 PM
This is false advertising, Verizon does not have that 3G coverage and ATT has more than that. Verizon is the worst service I have ever used with the worst Phones I have ever used, MY iPhone works in more places than my Verizon phone ever did, this is all lies and Congress should talk about that not exclusive carrier models!!
T-Will
Apr 5, 04:32 PM
OMG I JSUT FOUND THE GRAETEST TV CHANNEL IN THE UNIVERSE WHERE YOU CAN WATCH ADS 24HUORS A DAY!111 IT"S CALLED HSN (Home Shopping Network)!!11
:D
:D
eggstone
Nov 24, 09:18 AM
Nike+ armband is actually discounted by $11, not $5 as stated on page 1. this brings the price down to $18 (or $19.26 after [7%] sales tax).
No, my browser says only $5 off, that is, $24 before tax.
No, my browser says only $5 off, that is, $24 before tax.
Phat_Pat
Sep 7, 11:06 PM
Its Music. Music now a days contains some curse words. There were no 5 year olds in that audience. 5 year olds are not going to watch a keynote. Everyone in that audience has heard the word and are mature enough to handle it. Just because he doesn't like Bush doesn't mean he's a bad person. Its his opinion. I have mine too...
His music is fantastic, and seriously who here doesn't have a song in their music library with the f-bomb in it.
Just because you don't like rap doesn't mean you should put him down. In his genre he is up there with the best. And of course apple's heard his songs. its the number one song/album on iTms. Not everyone in apple is 50+ years old and listens to nothing but the Beach Boys and Cher.
His music is fantastic, and seriously who here doesn't have a song in their music library with the f-bomb in it.
Just because you don't like rap doesn't mean you should put him down. In his genre he is up there with the best. And of course apple's heard his songs. its the number one song/album on iTms. Not everyone in apple is 50+ years old and listens to nothing but the Beach Boys and Cher.
No comments:
Post a Comment