kalsta
Apr 30, 12:40 AM
Thanks for the feedback on the preferences for the scrollbars, folks...I removed it from the article.
You should have made mention of the edit in the actual article. I thought many of the early commenters were making things up until I realised they were just commenting on something from your original post.
You should have made mention of the edit in the actual article. I thought many of the early commenters were making things up until I realised they were just commenting on something from your original post.
MrMoore
Mar 25, 10:25 AM
Wow! 10 years. I remember installing it on a Power Mac G3. Saying "Cool" and booting back to OS 9 ;)
I though it was sleek looking, but when I need to do real "work", I went back to "classic" OS. It wasn't until 10.2 (Jaguar) that I became full time OS X user and also put Windows in the bin. Haven't look back since. :D
I though it was sleek looking, but when I need to do real "work", I went back to "classic" OS. It wasn't until 10.2 (Jaguar) that I became full time OS X user and also put Windows in the bin. Haven't look back since. :D
michaelrjohnson
Aug 7, 02:26 PM
Very nice to see. Can't complain.
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.
t0mat0
Jan 12, 04:03 PM
Gizmodo snip What do you make of their actions?
http://gizmodo.com/343348/confessions-the-meanest-thing-gizmodo-did-at-ces
/. gizmodo ftw & ***** and giggles
http://gizmodo.com/343348/confessions-the-meanest-thing-gizmodo-did-at-ces
/. gizmodo ftw & ***** and giggles
kobyh15
May 4, 12:37 AM
Apple marketing at its best. Makes me want one really bad.
Kwill
Apr 6, 05:56 PM
Novel concept: Non-stop commercials. Perhaps actual movies will be played during intermission.
iphones4evry1
Oct 6, 07:49 PM
Good !
I'm getting sick and tired of AT&T's decline in coverage and spotty coverage. When I had my RAZR phone, I used to have great coverage everywhere on AT&T, but over the past year AT&T's coverage and quality of coverage has declined BIG TIME. I'm sick and tired of it! I hope Verizon launches a HUGE campaign showing all the spots on the map where AT&T has lousy coverage and it motivates AT&T to get off their laurels and DO SOMETHING ABOUT IT!!!!!!!!!!! :mad::mad::mad:
I'm getting sick and tired of AT&T's decline in coverage and spotty coverage. When I had my RAZR phone, I used to have great coverage everywhere on AT&T, but over the past year AT&T's coverage and quality of coverage has declined BIG TIME. I'm sick and tired of it! I hope Verizon launches a HUGE campaign showing all the spots on the map where AT&T has lousy coverage and it motivates AT&T to get off their laurels and DO SOMETHING ABOUT IT!!!!!!!!!!! :mad::mad::mad:
Mr. Gates
Oct 6, 10:56 AM
Ha, Yea lets see the world map....
Gee, where's Verizon?
Gee, where's Verizon?
MythicFrost
Apr 30, 03:29 AM
Ah no! I liked the scrolling!
puuukeey
Jan 9, 01:10 PM
you tube it
twoodcc
May 3, 11:03 AM
I've finally got it folding, took a while cuz I didn't have the bios set to boot from USB-cdrom, that USB part is important :o also I tried Ubuntu 10.4 but there is a problem with folding and libc on 10.4 so I tried a copy of 8.04 that I had and it didn't want to install. I finally had to download 9.10 and after getting it installed, folding on it and configured; it works:D woo hoo! It's always something when I install Linux but I usually figure it out after a while...
I trid to go to 4Ghz but I must not have set something right and it didn't work so I went back to stock 3.33, it folded the first frame in 27 minutes which is exactly what my mac pro does: for less than half the cost. I then set it to 3.6 Ghz and it seems to be stable without upping the voltage. I hope it can do a frame in 25 minutes :p I'm waiting to see...
oh wow. yeah i had the same problem with 10.4 - i also had to run 9.10.
yeah you'd have to change the voltages to get it to work at 4.0 ghz. but 3.6 should be good (i think)
Great you have it working now and hopefully it will stay up a week.
I had a power outage that I didn't know about and didn't check all of my machines for a day, oh well it's only 20 or 30 thousand points :rolleyes:
edit: added pics
vw jetta mk3
mk3 jetta vr6, 167k miles.
#39;98 Volkswagen Jetta Mk3 2.0
for VW GOLF amp; VW JETTA MK3 MK4
VW Jetta MKIII/MK3: 2.0L
Connor Mahoney#39;s MK3 Jetta
Porsche D90 Rim on a Mk3 VW
I trid to go to 4Ghz but I must not have set something right and it didn't work so I went back to stock 3.33, it folded the first frame in 27 minutes which is exactly what my mac pro does: for less than half the cost. I then set it to 3.6 Ghz and it seems to be stable without upping the voltage. I hope it can do a frame in 25 minutes :p I'm waiting to see...
oh wow. yeah i had the same problem with 10.4 - i also had to run 9.10.
yeah you'd have to change the voltages to get it to work at 4.0 ghz. but 3.6 should be good (i think)
Great you have it working now and hopefully it will stay up a week.
I had a power outage that I didn't know about and didn't check all of my machines for a day, oh well it's only 20 or 30 thousand points :rolleyes:
edit: added pics
Cromulent
Apr 12, 05:25 PM
Apple needs to play catch up by adding some features to OSX.
What particular features is Mac OS X missing that Windows 7 has?
What particular features is Mac OS X missing that Windows 7 has?
tigress666
Apr 25, 11:49 AM
Doesn't look too bad but on the other hand, the screen doesn't even look that noticeably bigger either (to the point of, "What is the point?"). And if even resizing it like that would make developers have to re-do their apps (I don't know how that works but I've heard people say with how iOS works, re-sizing would mean having to re-program apps), I'd say it's not worth it.
(I'm one of the ones who don't want a bigger screen due to the fact I don't want a bigger phone and I don't think they could squeeze a bigger one in without sacrificing usability and/or aesthetics. Bezels are useful for giving you some area to grip. This one doesn't look too bad for my concerns but honestly, it doesn't seem to give you a noticeable increase in screen size).
(I'm one of the ones who don't want a bigger screen due to the fact I don't want a bigger phone and I don't think they could squeeze a bigger one in without sacrificing usability and/or aesthetics. Bezels are useful for giving you some area to grip. This one doesn't look too bad for my concerns but honestly, it doesn't seem to give you a noticeable increase in screen size).
darh
Sep 12, 08:14 AM
and...i've found this http://www.apple.com/movies
old news:p
old news:p
Lynxpoint
Mar 24, 08:50 PM
Happy Birthday.
It is so true how OS X was a major turning point for Apple. One of the things that I always thought set Apple apart was their willingness to drastically alter course when needed. I remember the System 7, 8, 9 days well. I liked working on Macs, but at the time Windows NT was a more robust beast. When a suitcase can crash your machine, you know something is wrong. So along came OS X, and it surpassed MS for many years. For MS today, I can not comment. For from 10.4 on I abandoned all MS gear, and I still refuse to work with it. Thats not because XP was bad. It was quite strong. But where MS failed was in the shell - the user experience ( I ran custom shells on XP). And where Apple excelled was in this area. The stability of UNIX with a good user interface (not perfect, no RDF here) made digital work good.
I wonder what the future will bring. I hope for some real evolution in computing. iOS has given us some of that. I just hope that our 'trucks' don't get treated like real trucks, with little change over the years because they do their utilitarian tasks just fine.
It is so true how OS X was a major turning point for Apple. One of the things that I always thought set Apple apart was their willingness to drastically alter course when needed. I remember the System 7, 8, 9 days well. I liked working on Macs, but at the time Windows NT was a more robust beast. When a suitcase can crash your machine, you know something is wrong. So along came OS X, and it surpassed MS for many years. For MS today, I can not comment. For from 10.4 on I abandoned all MS gear, and I still refuse to work with it. Thats not because XP was bad. It was quite strong. But where MS failed was in the shell - the user experience ( I ran custom shells on XP). And where Apple excelled was in this area. The stability of UNIX with a good user interface (not perfect, no RDF here) made digital work good.
I wonder what the future will bring. I hope for some real evolution in computing. iOS has given us some of that. I just hope that our 'trucks' don't get treated like real trucks, with little change over the years because they do their utilitarian tasks just fine.
carbontwelve
Apr 4, 06:21 PM
Note: I do not endorse anything I say in this post, and as such cant be held liable if you stupidly follow my advice, which is to be taken with a pinch of salt.
visit the house on the pretense that your a sales person selling something, or some form of public service agent - if your good at acting then the con job wont be hard to pull off...
Once you have identified the unit as being yours, attempt once again to get the police help you retrieve it. If that fails then break in and get it yourself, just make sure you do a clean job, study the family for a while to make sure you know when the house is empty or quiet. Then either drill out a lock and bash open the door, or break a window to gain access, if you have the tools pick or bump the lock as that leaves behind the least amount of evidence. Once inside retrieve your goods and leave, if you have picked or bumped the lock it will be a while before they notice. The other methods of entry will be noticed pretty quickly and increase risk on your behalf.
Once inside, just retrieve what is legally yours, nothing else unless you really want to break the law for real... bring some spray paint, a whole lot of dog **** in a big bag + 1/4 stick dynamite and what ever else you want to trash the place with. Spray up the place and then the cherry on the cake is putting the stick in the **** placing it in the center of a room lighting and run :)
visit the house on the pretense that your a sales person selling something, or some form of public service agent - if your good at acting then the con job wont be hard to pull off...
Once you have identified the unit as being yours, attempt once again to get the police help you retrieve it. If that fails then break in and get it yourself, just make sure you do a clean job, study the family for a while to make sure you know when the house is empty or quiet. Then either drill out a lock and bash open the door, or break a window to gain access, if you have the tools pick or bump the lock as that leaves behind the least amount of evidence. Once inside retrieve your goods and leave, if you have picked or bumped the lock it will be a while before they notice. The other methods of entry will be noticed pretty quickly and increase risk on your behalf.
Once inside, just retrieve what is legally yours, nothing else unless you really want to break the law for real... bring some spray paint, a whole lot of dog **** in a big bag + 1/4 stick dynamite and what ever else you want to trash the place with. Spray up the place and then the cherry on the cake is putting the stick in the **** placing it in the center of a room lighting and run :)
twoodcc
May 10, 06:04 PM
Seing your "adventures", no way I would ever try to do anything on a custom rig...
well i wouldn't say that. it wouldn't be as big of a deal if i was at the machine everyday, then a quick change of a few settings and it's back up. but being away, this is not fun.
well i wouldn't say that. it wouldn't be as big of a deal if i was at the machine everyday, then a quick change of a few settings and it's back up. but being away, this is not fun.
smokingtrout
Sep 12, 01:11 AM
I really don't care anymore...tomorrow will probably follow a familiar formula - some disappointments, some bullseyes.
This is what I want after seeing the infamous "cube with a handle" patent that surfaced earlier this week:
A projector, similar to (http://www.engadget.com/2006/09/07/epson-announces-emp-twd3-projector-with-built-in-dvd-player/) large capacity HDD, WIFI, Bluetooth, and maybe a media-only version of OSX. In fact, maybe just Front Row. One could transfer movies downloaded (or created in iMovie) to the projector's HDD to then be projected to a wall or screen. Better yet, with DSL or Cable hooked up directly, one could download directly to the HDD. DVR? Additional Combo drive? Built in speakers (perhaps a couple from the Hi-FI) would provide sound should you choose not to use the optical audio out. Firewire 400/800. HDMI I/O The kicker? A protective sheath and handle like in the patent picture that would allow the owner to take the relatively compact projector to other places. The addition of WiFi would allow future Apple wireless products to recognize and stream to the projector. Who wants to crowd around an iPod to look at a clip on a 2.5" display anyway?
Wow. All this speculation has gone to my head. Time for bed.
This is what I want after seeing the infamous "cube with a handle" patent that surfaced earlier this week:
A projector, similar to (http://www.engadget.com/2006/09/07/epson-announces-emp-twd3-projector-with-built-in-dvd-player/) large capacity HDD, WIFI, Bluetooth, and maybe a media-only version of OSX. In fact, maybe just Front Row. One could transfer movies downloaded (or created in iMovie) to the projector's HDD to then be projected to a wall or screen. Better yet, with DSL or Cable hooked up directly, one could download directly to the HDD. DVR? Additional Combo drive? Built in speakers (perhaps a couple from the Hi-FI) would provide sound should you choose not to use the optical audio out. Firewire 400/800. HDMI I/O The kicker? A protective sheath and handle like in the patent picture that would allow the owner to take the relatively compact projector to other places. The addition of WiFi would allow future Apple wireless products to recognize and stream to the projector. Who wants to crowd around an iPod to look at a clip on a 2.5" display anyway?
Wow. All this speculation has gone to my head. Time for bed.
batitombo
Mar 25, 01:10 AM
Hmm, Happy B-day OS X
Quick shout out to NeXTSTEP the very father of OS X
Quick shout out to NeXTSTEP the very father of OS X
TuffLuffJimmy
Apr 17, 05:56 AM
How does Gnome 3.0 on Linux compare to the new UI in OSX Lion?
I've been playing around with Gnome 3.0, and it seems like the designers have a similar philosophy about desktop navigation.
Gnome 3.0 Preview (This is not my video):
http://www.youtube.com/watch?v=joBXc3IGRBw
That's a pretty sick OS. I haven't ever run Fedora on a computer of mine, but my uncle swears by it. That video has convinced me to run it on my next box.
I've been playing around with Gnome 3.0, and it seems like the designers have a similar philosophy about desktop navigation.
Gnome 3.0 Preview (This is not my video):
http://www.youtube.com/watch?v=joBXc3IGRBw
That's a pretty sick OS. I haven't ever run Fedora on a computer of mine, but my uncle swears by it. That video has convinced me to run it on my next box.
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.
hancock
Mar 17, 01:57 PM
When does apple charge your credit card for a purchase? I ordered my wifi 64gb iPad 2 on the day of and used a $450 gift card plus my credit card. The order has gone through and I have tracking info for the case I ordered but not the iPad. The total was $829 but I still have yet to be charged the remaining balance. Have they forgotten to charge me or does it not charge until the iPad actually ships?
thanks
thanks
logandzwon
May 2, 10:51 AM
I find it amusing that the G1 can run Android Gingerbread fairly well, but Apple makes it impossible to upgrade the original iPhone to the latest and greatest iOS.
except the last office firmware is 1.6 . You can get hacked firmwares for the original iPhone also. http://www.google.com/search?q=iphone+2g+ios4
except the last office firmware is 1.6 . You can get hacked firmwares for the original iPhone also. http://www.google.com/search?q=iphone+2g+ios4