Mystikal
Mar 17, 01:10 PM
Yeah that employee probably lost his job dude.
wlh99
Apr 26, 08:59 PM
After that I implement a Cancel method pointing to sender (button)
So, my goal is to use 1 start button and 1 cancel button.. and just do their actions. I have set up a the start button to start both timers, obviously both start their countdown at the same time which is not good.
I want to tell one timer to start and if I press cancel, invalidate it. Then If I press start again, call the second timer. (I do this because I read that you can't reuse a timer after you invalidate it).
Some people have suggested to use Booleans like true or false, or conditions. What do you think?
What if after pressing the start button, you create a timer and start it. Then pressing the cancel button invalidates and releases it. Then pressing the start button would create another timer, using the same pointer.
Totally untested and probably broken code below, but should demonstrate the idea:
-(IBAction)startButton:(id) sender {
// myTimer is declared in header file ...
if (myTimer!=nil) { // if the pointer already points to a timer, you don't want to create a second one without stoping and destroying the first
[myTimer invalidate];
[myTimer release];
}
// Now that we know myTimer doesn't point to a timer already..
myTimer = [NSTimer scheduledTimerWithTimeInterval:aTimeInterval target:self selector:@selector(echoIt:) userInfo:myDict repeats:YES];
[myTimer retain];
}
-(IBAction)cancelIt:(id) sender {
[myTimer invalidate];
[myTimer release]; // This timer is now gone, and you won't reuse it.
}
So, my goal is to use 1 start button and 1 cancel button.. and just do their actions. I have set up a the start button to start both timers, obviously both start their countdown at the same time which is not good.
I want to tell one timer to start and if I press cancel, invalidate it. Then If I press start again, call the second timer. (I do this because I read that you can't reuse a timer after you invalidate it).
Some people have suggested to use Booleans like true or false, or conditions. What do you think?
What if after pressing the start button, you create a timer and start it. Then pressing the cancel button invalidates and releases it. Then pressing the start button would create another timer, using the same pointer.
Totally untested and probably broken code below, but should demonstrate the idea:
-(IBAction)startButton:(id) sender {
// myTimer is declared in header file ...
if (myTimer!=nil) { // if the pointer already points to a timer, you don't want to create a second one without stoping and destroying the first
[myTimer invalidate];
[myTimer release];
}
// Now that we know myTimer doesn't point to a timer already..
myTimer = [NSTimer scheduledTimerWithTimeInterval:aTimeInterval target:self selector:@selector(echoIt:) userInfo:myDict repeats:YES];
[myTimer retain];
}
-(IBAction)cancelIt:(id) sender {
[myTimer invalidate];
[myTimer release]; // This timer is now gone, and you won't reuse it.
}
rdowns
Apr 12, 06:21 PM
What a joke this illusion of airport security is.
Video shows young girl receiving full pat-down from TSA (http://www.boston.com/travel/blog/2011/04/video_shows_you.html)
The TSA's pat-down policy has been widely criticized, but a video that popped up on YouTube today illustrates the possibly absurd levels to which agents take the process.
Here's a clip of what is said to be a six-year-old girl receiving a full pat-down from a TSA agent, who then apparently leads her to another area of the security checkpoint to perform a drug test. It's not clear whether the girl's parents elected not to put their child through a body scan, however the opening moments of the video do show a woman, believed to be the girl's mother, asking the TSA agent, "Can't you just re-scan her?"
Video shows young girl receiving full pat-down from TSA (http://www.boston.com/travel/blog/2011/04/video_shows_you.html)
The TSA's pat-down policy has been widely criticized, but a video that popped up on YouTube today illustrates the possibly absurd levels to which agents take the process.
Here's a clip of what is said to be a six-year-old girl receiving a full pat-down from a TSA agent, who then apparently leads her to another area of the security checkpoint to perform a drug test. It's not clear whether the girl's parents elected not to put their child through a body scan, however the opening moments of the video do show a woman, believed to be the girl's mother, asking the TSA agent, "Can't you just re-scan her?"
Matthew Yohe
Mar 28, 10:22 PM
I think we are headed towards a "locked down" OS X, FWIW.
Uh, no.
Uh, no.
benjayman2
Apr 9, 09:21 PM
Yeah I just finished setting it up and i'm uber pleased! I'm in love with the shelves on the side, although give it a week and they will be crammed :p
Good choice. The GF and I love ours. it has been a godsend for organization.
http://img689.imageshack.us/img689/9141/img0451ka.jpg
Good choice. The GF and I love ours. it has been a godsend for organization.
http://img689.imageshack.us/img689/9141/img0451ka.jpg
gkarris
Mar 28, 05:27 PM
Good. I'm all in favor of Apple adding more incentives for devs to embrace the Mac App store. As a consumer I really like the idea of an App Store that makes buying and installing as easy as one click as well as fostering competition between comparable apps.
And not being able to resell it or trade it in... :eek:
And not being able to resell it or trade it in... :eek:
davepoint
Aug 12, 04:31 PM
surely they wouldn't update the specs only to release something new in a month or so..
Mackilroy
Mar 21, 01:15 AM
Wow � that's insane. Hope you find it, man.
Eolian
Mar 24, 06:24 PM
One of my favorite old Zepplin tunes :) I think I've kept all my install CDs from 10.1 on; wow, time has been marchin' along :D
Good on ya Apple :apple:
Good on ya Apple :apple:
bikertwin
Sep 25, 03:51 PM
Technically my POWERMAC G4 can run iMovie, Keynote, and other mac software. RUNNING and FUNCTIONING (at a reasonable speed) are two totally different things. iPhoto takes a day to get going. I can't imagine aperture.
Anyway... I don't want to ruin anybody's happy day, but the reality is, if you don't have the latest and greatest Apple Machine, the current software runs pretty slow.
Go to the Apple store (yes, this means some of you will have to leave your apartment) and try running this software on a mac mini. Don't get depressed when it takes your entire lunch break to start the software. Forget about moving stacks of photos around and editing. As I mentioned... I had problems with the G5 QUAD and the original aperture at my Apple Store in Seattle.
Just a thought.
I wouldn't get too excited about Aperture running on 'lighter' hardware such as MacBooks or Mac minis. I think the idea is that, rather than doing hardcore raw file processing on these lightweight hardware products, you'd just have your JPEG-preview-only Aperture library on these machines. So the really speedy functionality on this lightweight hardware would be limited to organizing, sorting, searching, slideshows, etc. of pre-generated JPEG previews.
I doubt we'll be doing hardcore bulk raw processing on a Mac mini, even with Aperture 1.5. But I wouldn't mind if we could.
Anyway... I don't want to ruin anybody's happy day, but the reality is, if you don't have the latest and greatest Apple Machine, the current software runs pretty slow.
Go to the Apple store (yes, this means some of you will have to leave your apartment) and try running this software on a mac mini. Don't get depressed when it takes your entire lunch break to start the software. Forget about moving stacks of photos around and editing. As I mentioned... I had problems with the G5 QUAD and the original aperture at my Apple Store in Seattle.
Just a thought.
I wouldn't get too excited about Aperture running on 'lighter' hardware such as MacBooks or Mac minis. I think the idea is that, rather than doing hardcore raw file processing on these lightweight hardware products, you'd just have your JPEG-preview-only Aperture library on these machines. So the really speedy functionality on this lightweight hardware would be limited to organizing, sorting, searching, slideshows, etc. of pre-generated JPEG previews.
I doubt we'll be doing hardcore bulk raw processing on a Mac mini, even with Aperture 1.5. But I wouldn't mind if we could.
CWallace
Jan 15, 03:11 PM
Three new toys to own (MacBook Air, :apple:tv 2, and Time Capsule) plus an update for my existing toy - iPhone.
Count me as pleased.
Now hopefully an MBP refresh will happen next Tuesday.
Count me as pleased.
Now hopefully an MBP refresh will happen next Tuesday.
Adidas Addict
Apr 25, 01:36 PM
I don't understand people who think the next iPhone should be called 4S (and some think 4GS, wth?)
I think the reason why Apple called the current generation iPhone 4 because it's the 4th iPhone. Just because they tacked on an 'S' at the end of 3G doesn't mean the next should be 4S.
And even if they DID call it the 4S, the iPhone after that would be iPhone 6, not 5...
Don't you agree?
If it keeps the same design/form factor it will be named the 4*/4** if it's a totally new design it will be iPhone 5.
I think the reason why Apple called the current generation iPhone 4 because it's the 4th iPhone. Just because they tacked on an 'S' at the end of 3G doesn't mean the next should be 4S.
And even if they DID call it the 4S, the iPhone after that would be iPhone 6, not 5...
Don't you agree?
If it keeps the same design/form factor it will be named the 4*/4** if it's a totally new design it will be iPhone 5.
Amazing Iceman
May 5, 01:07 AM
The "Only way" ?
What, you could not use a laptop?
And how would an iPad only owner read the CD in the 1st place?
Yes the iPad made a nice easy to use picture viewer once you had put the images on it from your real computer at home is what you are saying.
You could just of easy taken a laptop which read the CD images off directly onto the screen and no needed this new device whatsoever.
Just place the CD on any PC nearby, open either ReaddleDocs or GoodReader on the iPad and place it in WiFi mode, open your browser on your PC to access the iPad, and upload the images to it.
What, you could not use a laptop?
And how would an iPad only owner read the CD in the 1st place?
Yes the iPad made a nice easy to use picture viewer once you had put the images on it from your real computer at home is what you are saying.
You could just of easy taken a laptop which read the CD images off directly onto the screen and no needed this new device whatsoever.
Just place the CD on any PC nearby, open either ReaddleDocs or GoodReader on the iPad and place it in WiFi mode, open your browser on your PC to access the iPad, and upload the images to it.
Ino
Oct 10, 07:28 PM
The virtual scroll wheel interface would pretty much wreck the games that were just released for the 5/5.5G iPods...
...unless the game itself occupies only half the screen and the other half is just the click wheel on some sort of background, whether in portrait or landscape. I'm a little skeptical on how that kind of user experience might be though...
...unless the game itself occupies only half the screen and the other half is just the click wheel on some sort of background, whether in portrait or landscape. I'm a little skeptical on how that kind of user experience might be though...
bushido
Apr 30, 08:59 AM
Windows 8 = version 8 :D When it comes out, 2015?
more like late 2012. milestone 2 already leaked
more like late 2012. milestone 2 already leaked
darh
Sep 12, 08:14 AM
and...i've found this http://www.apple.com/movies
old news:p
old news:p
Hephaestus
Mar 18, 04:23 AM
Thanks for the responses guys, pretty much reinforces what I originally thought. Somebody actually owned themself yesterday, he kept going on about how Android phones get apps for free. " I got angry birds for free but you paid for it", when I asked him to show me Angry Birds running on his HTC it was running at around 2FPS, the lag made my eyes bleed. Lol It all turned very silent after that.
xPismo
Oct 28, 04:58 PM
Apple will need to open up osX to generic PC's but i can understand they'll want to wait until the Mac growth is stalling. Maybe at about 10% marketshare ?
Remember the years of the clones? Apple is a whole widget company. They will not suceede by emulating M$ and selling software to other peoples hardware. Ever.
Remember the years of the clones? Apple is a whole widget company. They will not suceede by emulating M$ and selling software to other peoples hardware. Ever.
Sydde
Apr 9, 07:42 PM
Ohio has a lot of blue collars. They will need about a quarter million to file a referendum on government union busting. They are optimistic, the effort is underway (http://www.deseretnews.com/article/700125855/Opponents-of-new-union-law-rally-in-Ohios-capital.html?s_cid=rss-5). I wonder if Thomas Veil will sign this one (with his real name)?
Gasu E.
Sep 29, 09:34 PM
If we're speculating, maybe those with private baths for each bedroom care more about their guests/kids than you? A person who gives everyone equal convenience to his or her own bedroom shows that they don't think they deserve better than others.
Right, we wouldn't want any little princelings to have to share a baath, would we? After all, doing so might compromise their senses of entitlement and privilege. :rolleyes:
Right, we wouldn't want any little princelings to have to share a baath, would we? After all, doing so might compromise their senses of entitlement and privilege. :rolleyes:
Rodimus Prime
Jul 30, 11:20 AM
I completely agree.
Perhaps - but maybe that would just cause us to burn more fuel at power plants rather than look for alternative fuels...and who knows what that would do to the price and availability of electricity? To me, it feels like we'd just be exchanging one problem for another.
While that part is true that we would burn more fuel at power planets one advantage you are forgetting about is the power planets are by far much more efficient at producing power than the internal combustion engine on your car. On top of that it is much easier to capture and clean the pollution the power planet produces over what the cars produce. On top of that we can easily most our power over to other renewable choices.
I think we should be less worried (in the short term) about hybrids and electric cars and more concerned with just lowering per capita fuel consumption.
Perhaps - but maybe that would just cause us to burn more fuel at power plants rather than look for alternative fuels...and who knows what that would do to the price and availability of electricity? To me, it feels like we'd just be exchanging one problem for another.
While that part is true that we would burn more fuel at power planets one advantage you are forgetting about is the power planets are by far much more efficient at producing power than the internal combustion engine on your car. On top of that it is much easier to capture and clean the pollution the power planet produces over what the cars produce. On top of that we can easily most our power over to other renewable choices.
I think we should be less worried (in the short term) about hybrids and electric cars and more concerned with just lowering per capita fuel consumption.
Matiek
Jan 15, 05:20 PM
Compare the MBA to this sony notebook with similar specs:
http://www.sonystyle.com/webapp/wcs/stores/servlet/CategoryDisplay?catalogId=10551&storeId=10151&langId=-1&categoryId=8198552921644507782&parentCategoryId=16154&XID=O:sony%20tz:dg_vinb_gglsrch
http://www.sonystyle.com/webapp/wcs/stores/servlet/CategoryDisplay?catalogId=10551&storeId=10151&langId=-1&categoryId=8198552921644507782&parentCategoryId=16154&XID=O:sony%20tz:dg_vinb_gglsrch
skunk
Apr 21, 12:12 PM
Exactly.Very inexactly. The Arabs invented 0 some time ago. The system is borked.
baryon
Apr 5, 04:46 PM
I don't know why you people don't like this. Apple announced iAds like a year ago, and I still haven't seen a single one. I'm simply curious about seeing at least one iAd to see what all the fuss is about. This App allows you to see an iAd so you can know what it is, as no one has actually really implemented them yet. This is probably the only place that has iAds in.
No comments:
Post a Comment