door4
Sep 12, 08:30 AM
Is this new?
http://store.apple.com/1-800-MY-APPLE/WebObjects/AppleStore.woa/wo/2.RSLID?mco=34809CF6&nplm=TH578LL%2FA
http://store.apple.com/Catalog/US/Images/th578lla_alt.jpg
It's recent.. The sys displays the Ipod menu on the TV for "media center" style browsing
http://store.apple.com/1-800-MY-APPLE/WebObjects/AppleStore.woa/wo/2.RSLID?mco=34809CF6&nplm=TH578LL%2FA
http://store.apple.com/Catalog/US/Images/th578lla_alt.jpg
It's recent.. The sys displays the Ipod menu on the TV for "media center" style browsing
wlh99
Apr 28, 10:08 AM
By the way, what's with 3rd person reference? the OP? you can call me Nekbeth or Chrystian, it's a lot more polite. Maybe you guys have a way to refer to someone , I don't know.
I appologize for that. I didn't recall your name. I was replying to KnightWRX, so I took a shorcut (original poster).
I won't do that any further.
I through together a simple program that I think does exactly as you want. It is a Mac version, but the different there is trival, and instead of a picker, it is a text field the user enters a time into for the timer duration. You will need to change the NSTextFields into UITextFields.
The bulk of the code is exactly what I posted before, but I modified the EchoIt method to work with an NSDate. I implemeted it in the appDelegate, and you are using your viewController. That doesn't change the code any, and your way is more correct.
I can email you the whole project as a zip if you want. It is about 2.5 meg. Just PM me your email address.
//
// timertestAppDelegate.m
// timertest
//
// Created by Warren Holybee on 4/27/11.
// Copyright 2011 Warren Holybee. All rights reserved.
//
#import "timertestAppDelegate.h"
@implementation timertestAppDelegate
@synthesize window, timeTextField, elapsedTimeTextField, timeLeftTextField;
- (void)applicationDidFinishLaunching:(NSNotification *)aNotification {
// Insert code here to initialize your application
}
-(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];
[startDate release];
}
// Now that we know myTimer doesn't point to a timer already..
startDate = [[NSDate date] retain]; // remember what time this timer is created and started
// so we can calculate elapsed time later
NSTimeInterval myTimeInterval = 0.1; // How often the timer fires.
myTimer = [NSTimer scheduledTimerWithTimeInterval:myTimeInterval target:self selector:@selector(echoIt)
userInfo:nil repeats:YES];
[myTimer retain];
}
-(IBAction)cancelIt:(id) sender {
[myTimer invalidate];
[myTimer release]; // This timer is now gone, and you won't reuse it.
myTimer = nil;
}
-(void)echoIt {
NSDate *now = [[NSDate date] retain]; // Get the current time
NSTimeInterval elapsedTime = [now timeIntervalSinceDate:startDate]; // compare the current time to
[now release]; // our remembered time
NSLog(@"Elapsed Time = %.1f",elapsedTime); // log it and display it in a textField
[elapsedTimeTextField setStringValue:[NSString stringWithFormat:@"%.1f",elapsedTime]];
float timeValue = [timeTextField floatValue]; // timeValueTextField is where a user
// enters the countdown length
float timeLeft = timeValue - elapsedTime; // Calculate How much time is left.
NSLog(@"Time Left = %.1f",timeLeft); // log it and display it
[timeLeftTextField setStringValue:[NSString stringWithFormat:@"%.1f",timeLeft]];
if (timeLeft < 0) { // if the time is up, send "cancelIt:"
[self cancelIt:self]; // message to ourself.
}
}
@end
*edit:
If you like, later tonight I can show you how to do this as you first tried, by incrementing a seconds variable. Or wait for KnightWRX. My concern is accuracy of the timer. It might be off by several seconds after running an hour. That might not be an issue for your application, but you should be aware of it.
I appologize for that. I didn't recall your name. I was replying to KnightWRX, so I took a shorcut (original poster).
I won't do that any further.
I through together a simple program that I think does exactly as you want. It is a Mac version, but the different there is trival, and instead of a picker, it is a text field the user enters a time into for the timer duration. You will need to change the NSTextFields into UITextFields.
The bulk of the code is exactly what I posted before, but I modified the EchoIt method to work with an NSDate. I implemeted it in the appDelegate, and you are using your viewController. That doesn't change the code any, and your way is more correct.
I can email you the whole project as a zip if you want. It is about 2.5 meg. Just PM me your email address.
//
// timertestAppDelegate.m
// timertest
//
// Created by Warren Holybee on 4/27/11.
// Copyright 2011 Warren Holybee. All rights reserved.
//
#import "timertestAppDelegate.h"
@implementation timertestAppDelegate
@synthesize window, timeTextField, elapsedTimeTextField, timeLeftTextField;
- (void)applicationDidFinishLaunching:(NSNotification *)aNotification {
// Insert code here to initialize your application
}
-(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];
[startDate release];
}
// Now that we know myTimer doesn't point to a timer already..
startDate = [[NSDate date] retain]; // remember what time this timer is created and started
// so we can calculate elapsed time later
NSTimeInterval myTimeInterval = 0.1; // How often the timer fires.
myTimer = [NSTimer scheduledTimerWithTimeInterval:myTimeInterval target:self selector:@selector(echoIt)
userInfo:nil repeats:YES];
[myTimer retain];
}
-(IBAction)cancelIt:(id) sender {
[myTimer invalidate];
[myTimer release]; // This timer is now gone, and you won't reuse it.
myTimer = nil;
}
-(void)echoIt {
NSDate *now = [[NSDate date] retain]; // Get the current time
NSTimeInterval elapsedTime = [now timeIntervalSinceDate:startDate]; // compare the current time to
[now release]; // our remembered time
NSLog(@"Elapsed Time = %.1f",elapsedTime); // log it and display it in a textField
[elapsedTimeTextField setStringValue:[NSString stringWithFormat:@"%.1f",elapsedTime]];
float timeValue = [timeTextField floatValue]; // timeValueTextField is where a user
// enters the countdown length
float timeLeft = timeValue - elapsedTime; // Calculate How much time is left.
NSLog(@"Time Left = %.1f",timeLeft); // log it and display it
[timeLeftTextField setStringValue:[NSString stringWithFormat:@"%.1f",timeLeft]];
if (timeLeft < 0) { // if the time is up, send "cancelIt:"
[self cancelIt:self]; // message to ourself.
}
}
@end
*edit:
If you like, later tonight I can show you how to do this as you first tried, by incrementing a seconds variable. Or wait for KnightWRX. My concern is accuracy of the timer. It might be off by several seconds after running an hour. That might not be an issue for your application, but you should be aware of it.
emw
Aug 9, 12:09 PM
Does this superior colour management include the horrendous pink colour casts the 23" ACD is notorious for?This has been a continual problem with the 23". With decent color management you can "fix" the cast by changing the RGB values sent to the monitor in an effort to counterbalance the pink. This has limitations, however, and tends to impact the overall consistency of color reproduction.
Most color-savvy companies will agree that the 20" and especially the 30" are more suited to color-managed workflows. Hopefully this new generation fixes that.
Most color-savvy companies will agree that the 20" and especially the 30" are more suited to color-managed workflows. Hopefully this new generation fixes that.
maclaptop
Apr 15, 07:47 PM
http://images.macrumors.com/article/2011/04/15/171049-android_music_cloud_syncing.jpg
Image from Droid Life (http://www.droid-life.com/2011/03/07/google-music-syncing-to-the-cloud-working-on-android-2-3-3-roms/)
All Things Digital reports (http://mediamemo.allthingsd.com/20110415/google-music-label-talks-going-backwards/)
Considering the source "All Things Digital", Apple's personal mouthpiece, it's no wonder it has a Pro-Apple bias.
Of course Google's going to have growing pains. It's new territory for them. They'll get it sorted out.
Image from Droid Life (http://www.droid-life.com/2011/03/07/google-music-syncing-to-the-cloud-working-on-android-2-3-3-roms/)
All Things Digital reports (http://mediamemo.allthingsd.com/20110415/google-music-label-talks-going-backwards/)
Considering the source "All Things Digital", Apple's personal mouthpiece, it's no wonder it has a Pro-Apple bias.
Of course Google's going to have growing pains. It's new territory for them. They'll get it sorted out.
iluomo
Apr 30, 12:09 PM
I noticed most of the criticism stems from the changes in iCal and Address Book which are both disgusting. Sadly they havent changed yet
I positively loathe the look of the "new" iCal and Address Book. It looks like a design from the mid 90's. I cannot comprehend how a company who goes for a clean, smooth, modern aesthetic could produce a faux leather interface and think that meshes with that aesthetic. This is something I would expect from Palm or Microsoft. But Apple? I'm amazed by how off the mark this is. :confused:
I positively loathe the look of the "new" iCal and Address Book. It looks like a design from the mid 90's. I cannot comprehend how a company who goes for a clean, smooth, modern aesthetic could produce a faux leather interface and think that meshes with that aesthetic. This is something I would expect from Palm or Microsoft. But Apple? I'm amazed by how off the mark this is. :confused:
robbieduncan
Sep 26, 02:46 AM
Why would Apple logically develop a piece of software that uses the graphics card when I have four processors - many others have two - begging to be worked. I guess I never understood the logic of using Core Image to power this thing.
I think that's because you don't understand how CoreImage is meant to work (I'm not saying how it does work for you). When you write an ImageUnit to run in CoreImage you are not targeting a particular processor at all (be that CPU, GPU or some future co-processor). You write your code in a special language and it gets compiled into a kind of 50% compiled code. CoreImage will then run this on the GPU or any of the available CPUs using whichever it thinks will be fastest at that time.
You can read about it here (http://developer.apple.com/macosx/coreimage.html), see Parallel Execution around half way down.
I think that's because you don't understand how CoreImage is meant to work (I'm not saying how it does work for you). When you write an ImageUnit to run in CoreImage you are not targeting a particular processor at all (be that CPU, GPU or some future co-processor). You write your code in a special language and it gets compiled into a kind of 50% compiled code. CoreImage will then run this on the GPU or any of the available CPUs using whichever it thinks will be fastest at that time.
You can read about it here (http://developer.apple.com/macosx/coreimage.html), see Parallel Execution around half way down.
Lennholm
Apr 16, 09:09 AM
People talk about a so-called 'reality distortion field' about Steve Jobs and yet everyday we get people blatantly ignoring truth because it doesn't fit with their own personal world view.
Yes, there were Palms, and Blackberries, Nokia's, Sony-Ericssons, and Panasonics etc before the iPhone but when we all saw the iPhone everyone instantly knew that was the future; touch-screen, icon based, intuitive, with an emphasis on both design and usability.
You might not like the fact that Apple revolutionized the phone market but history says otherwise.
No, when Apple revealed the iPhone most people were thinking something along the line of "Apple seriously need to reconsider leaving out 3G and the ability to install software if they want to make it in the smart phone business", a phone that doesn't let you install new software is by definiton not a smart phone. The iPhone 3G was the real deal, ofcourse the first gen was successful, simply because it was Apple, but the 3G was when it turned into a good product and soared in popularity.
And iPhone is far from the first icon based phone and I personally believe the Sony Ericsson P800 and P900 was a big inspiration for iPhone.
Yes, there were Palms, and Blackberries, Nokia's, Sony-Ericssons, and Panasonics etc before the iPhone but when we all saw the iPhone everyone instantly knew that was the future; touch-screen, icon based, intuitive, with an emphasis on both design and usability.
You might not like the fact that Apple revolutionized the phone market but history says otherwise.
No, when Apple revealed the iPhone most people were thinking something along the line of "Apple seriously need to reconsider leaving out 3G and the ability to install software if they want to make it in the smart phone business", a phone that doesn't let you install new software is by definiton not a smart phone. The iPhone 3G was the real deal, ofcourse the first gen was successful, simply because it was Apple, but the 3G was when it turned into a good product and soared in popularity.
And iPhone is far from the first icon based phone and I personally believe the Sony Ericsson P800 and P900 was a big inspiration for iPhone.
icsedge1
Oct 10, 07:12 PM
nope, it just means they are iPods with video, as opposed to Video iPod. :rolleyes: it's got to be widescreen before i am going to watch tv on it.
Sedge
Sedge
dscuber9000
Apr 15, 04:45 PM
Google is finding out just how difficult it is to negotiate with record labels. :p
Patrick J
Apr 29, 07:56 PM
What about using the magic trackpad to "slide" the selection? Perhaps engaging "Tap to Click" then sliding the bar with the trackpad.
My Magic Trackpad was collecting dust until the release of Lion DP's. OS X 10.7 is definitely making more use of the multi-touch features of the track pad.
Takes too much time, and what about people with Mighty Mice (Mouses) and other mice with no touch interface?
My Magic Trackpad was collecting dust until the release of Lion DP's. OS X 10.7 is definitely making more use of the multi-touch features of the track pad.
Takes too much time, and what about people with Mighty Mice (Mouses) and other mice with no touch interface?
puuukeey
Jan 9, 04:00 PM
so is there ANYONE left unspoiled here?(other than me)
coder12
Apr 25, 03:11 PM
iPhone nano mock-up?
Image (http://zclee.com/random/iphonenano.jpg)
Nope, that's the new iPod touch ;)
Image (http://zclee.com/random/iphonenano.jpg)
Nope, that's the new iPod touch ;)
leekohler
Mar 3, 08:02 PM
WTF is wrong with Ohio? WTF is wrong with Republicans? Hey Republicans, guess what? You're signing your political death warrants, and you're going to contnue to drive jobs and people from Ohio.
Folks in Ohio, get off your butts and fight this! :mad:
BOWLING GREEN, OHIO -- The battle over a bill that some claim ties the hands of unionized public workers in Ohio has spread to the campus of Bowling Green State University.
Members of the BGSU community held a walkout Thursday afternoon in opposition to Senate Bill 5.
On Wednesday, the Republican-controlled Ohio Senate has passed the measure that would restrict the collective bargaining rights of roughly 350,000 teachers, university professors, firefighters, police officers and other public employees.
The measure now goes to the state House, where the GOP holds a 59-40 majority.
Republican Gov. John Kasich has said he supports the effort.
Protestors at BGSU on Thursday said it's not fair to restrict the rights of union workers. The group said it supports their right to free speech as they gathered on campus in opposition.
The bill establishes fines and jail time for those who participate in strikes. Unionized workers could negotiate wages, hours and certain work conditions - but not health care, sick time or pension benefits.
Republicans have argued that the bill reigns in unions, which they believe make it difficult to balance the state's budget.
Ohio currently faces an $8 billion two-year budget shortfall.
http://www.toledoonthemove.com/neighborhood/story.aspx?id=588466
Folks in Ohio, get off your butts and fight this! :mad:
BOWLING GREEN, OHIO -- The battle over a bill that some claim ties the hands of unionized public workers in Ohio has spread to the campus of Bowling Green State University.
Members of the BGSU community held a walkout Thursday afternoon in opposition to Senate Bill 5.
On Wednesday, the Republican-controlled Ohio Senate has passed the measure that would restrict the collective bargaining rights of roughly 350,000 teachers, university professors, firefighters, police officers and other public employees.
The measure now goes to the state House, where the GOP holds a 59-40 majority.
Republican Gov. John Kasich has said he supports the effort.
Protestors at BGSU on Thursday said it's not fair to restrict the rights of union workers. The group said it supports their right to free speech as they gathered on campus in opposition.
The bill establishes fines and jail time for those who participate in strikes. Unionized workers could negotiate wages, hours and certain work conditions - but not health care, sick time or pension benefits.
Republicans have argued that the bill reigns in unions, which they believe make it difficult to balance the state's budget.
Ohio currently faces an $8 billion two-year budget shortfall.
http://www.toledoonthemove.com/neighborhood/story.aspx?id=588466
Marx55
Oct 17, 11:52 AM
HYBRYD. The answer is a hybrid burner that can handle both standards, plus DVDs and CDs. That EASY!!!
CaoCao
Apr 22, 08:20 PM
You mean because they passed laws against homosexuality?
While I find that a little simplistic, if you really want to run with that theory that's your choice.
Homosexuality in ancient Rome (http://en.wikipedia.org/wiki/Homosexuality_in_ancient_Rome)
Homosexuality in ancient Rome features dispassionately in many literary works, poems, graffiti and in comments, for example, on the sexual predilections of single emperors: Edward Gibbon famously observed that "of the first fifteen emperors Claudius was the only one whose taste in love was entirely correct". Surviving graphic representations are, on the other hand, rarer in ancient Rome than in classical Greece. Attitudes toward homosexuality changed over time ranging from the matter-of-fact acceptance of Republican Rome and the pagan Empire to rising condemnation, exampled by the Athenian Sextus Empiricus, who asserted that άρρενομιζία was outlawed in Rome� and in Athens, too!� and Cyprian.
The term homosexuality is anachronistic for the ancient world, since there is no single word in either Latin or ancient Greek with the same meaning as the modern concept of homosexuality, nor was there any sense that a man was defined by his gender choices in love-making; "in the ancient world so few people cared to categorize their contemporaries on the basis of the gender to which they were erotically attracted that no dichotomy to express this distinction was in common use", James Boswell has noted.
...
Later Empire
The rise of statutes legislating against homosexuality begins during the social crisis of the 3rd century, when a series of laws were promulgated regulating various aspects of homosexual relations, from the statutory rape of minors to gay marriages. By the sixth century homosexual relations were expressly prohibited for the first time, as Procopius notes.
On a related note, a search of the string "homo" in the article The Decline of Rome (http://en.wikipedia.org/wiki/Fall_of_rome) comes up with zero results.
You gotta do better than that bassfingers. :rolleyes:
homosexuality≠bisexuality
While I find that a little simplistic, if you really want to run with that theory that's your choice.
Homosexuality in ancient Rome (http://en.wikipedia.org/wiki/Homosexuality_in_ancient_Rome)
Homosexuality in ancient Rome features dispassionately in many literary works, poems, graffiti and in comments, for example, on the sexual predilections of single emperors: Edward Gibbon famously observed that "of the first fifteen emperors Claudius was the only one whose taste in love was entirely correct". Surviving graphic representations are, on the other hand, rarer in ancient Rome than in classical Greece. Attitudes toward homosexuality changed over time ranging from the matter-of-fact acceptance of Republican Rome and the pagan Empire to rising condemnation, exampled by the Athenian Sextus Empiricus, who asserted that άρρενομιζία was outlawed in Rome� and in Athens, too!� and Cyprian.
The term homosexuality is anachronistic for the ancient world, since there is no single word in either Latin or ancient Greek with the same meaning as the modern concept of homosexuality, nor was there any sense that a man was defined by his gender choices in love-making; "in the ancient world so few people cared to categorize their contemporaries on the basis of the gender to which they were erotically attracted that no dichotomy to express this distinction was in common use", James Boswell has noted.
...
Later Empire
The rise of statutes legislating against homosexuality begins during the social crisis of the 3rd century, when a series of laws were promulgated regulating various aspects of homosexual relations, from the statutory rape of minors to gay marriages. By the sixth century homosexual relations were expressly prohibited for the first time, as Procopius notes.
On a related note, a search of the string "homo" in the article The Decline of Rome (http://en.wikipedia.org/wiki/Fall_of_rome) comes up with zero results.
You gotta do better than that bassfingers. :rolleyes:
homosexuality≠bisexuality
Arcus
Oct 28, 11:06 PM
Logic Pro 7 has yet to be cracked,
LOL. Look harder.
LOL. Look harder.
FreeState
Apr 15, 05:53 PM
What will be next? Here are some fine suggestions:
- Gay Arts
- Gay Phys.Ed.
- Gay Comp.Sci.
LOL - well currently in CA it is common place to not learn anything about gay history (Stonewall etc), yet alone mention that someone that does get mentioned (which is very few) was gay. Including LGBT history is not only the right thing to so, one does not learn history when you leave out things, but it has been shown to decrease harassment and bullying of LGBT students. Can you imagine going to a public school and having everything related to your culture/group excluded from the curriculum? What does that teach the students about LGBT people?
- Gay Arts
- Gay Phys.Ed.
- Gay Comp.Sci.
LOL - well currently in CA it is common place to not learn anything about gay history (Stonewall etc), yet alone mention that someone that does get mentioned (which is very few) was gay. Including LGBT history is not only the right thing to so, one does not learn history when you leave out things, but it has been shown to decrease harassment and bullying of LGBT students. Can you imagine going to a public school and having everything related to your culture/group excluded from the curriculum? What does that teach the students about LGBT people?
ezekielrage_99
Jan 14, 11:26 PM
I think they'll be barred after this....
http://gizmodo.com/344673/do-you-really-think-the-macworld-keynotes-leaked-on-wikipedia
http://gizmodo.com/344673/do-you-really-think-the-macworld-keynotes-leaked-on-wikipedia
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.
tophergt
Oct 19, 04:54 PM
We're talking about hardware here, not OS. So Vista should have very little effect on Apple's PC marketshare, unless of course Vista's release encourages people to buy new PCs from Dell, HP, etc.
Yeah, that was my point--if there is an imminent OS release, there exists a significant number of consumers who will wait so that they can get Vista for "free." Same concept as not purchasing that iMac or MacBook in mid-march when you know that 10.5 will be out in a month.
Yeah, that was my point--if there is an imminent OS release, there exists a significant number of consumers who will wait so that they can get Vista for "free." Same concept as not purchasing that iMac or MacBook in mid-march when you know that 10.5 will be out in a month.
dunk321
Mar 17, 10:59 AM
And I'm also a Microsoft Fanboy!!! Haaaaaaa Long live the Microsoft Zune the ultimate iPod Killer!!!
bilbo--baggins
Oct 17, 11:13 AM
It's VHS vs. BETAMAX all over again. Hopefully this time, the superior technology will prevail.
Nope. Cheap always prevails when it comes to marketshare. The average consumer is fairly thick, when they walk along the aisles at Walmart and wonder which one to chuck in their shopping trolley the majority will go for the cheapest.
Nope. Cheap always prevails when it comes to marketshare. The average consumer is fairly thick, when they walk along the aisles at Walmart and wonder which one to chuck in their shopping trolley the majority will go for the cheapest.
NT1440
Mar 4, 02:12 PM
Oh- incredible, isn't it? Because as we've seen in the past, big business will indeed do the opposite of what he claims.
Not only that, the "hand up vs. hand out" crap is truly mesmerizing. How can anyone that even utters that phrase take themselves seriously? :confused:
Not only that, the "hand up vs. hand out" crap is truly mesmerizing. How can anyone that even utters that phrase take themselves seriously? :confused:
dethmaShine
Apr 29, 04:43 PM
They are currently sorted into the four categories first, and then alphabetically in those categories. It seems Lion is throwing everything together and doing away with categories
The categories are still there. Arrange alphabetically was just another option.
The categories are still there. Arrange alphabetically was just another option.
No comments:
Post a Comment