Active Topics

 



Notices


Reply
Thread Tools
daperl's Avatar
Posts: 2,427 | Thanked: 2,986 times | Joined on Dec 2007
#111
Originally Posted by jolouis View Post
then once the update has completed the timer is recalculated (that way the wait is accurately calculated again AFTER all potentially time-consuming code has been run).
I agree. Get the next time stamp after the update code and right before the wait/sleep/timer/etc call. In my example I would thus flip the first two statements of my while loop. Good call.
__________________
N9: Go white or go home
 
danramos's Avatar
Posts: 4,672 | Thanked: 5,455 times | Joined on Jul 2008 @ Springfield, MA, USA
#112
Originally Posted by ciroip View Post
You know qwerty12 that you are giving a great service to the project and to the entire nokia tablet scene. My main concerne is not wasting your time and as you noticied all the previous releases were pretty experimental and they didnt 'deserve' the deb. The raw compressed sources release worked fine (and probably even better than the deb for checking the code since everything were at the same place) but it's a joy to see an application packaged with the icon placed int the menu So no need to apologize and hope everyone spent some nice holydays.
If you could, please point me to the latest deb so that I can try it out. I'm finding it difficult to follow along and recognize which posting had the latest version (or maybe I just didn't realize there was only the first post?). You might be surprised to know that I've actually had people ask me if this type of application existed long before this thread was started and really didn't have a clear answer.

Thanks for the great app!
 
ciroip's Avatar
Posts: 334 | Thanked: 366 times | Joined on Nov 2008 @ Italy
#113
Originally Posted by danramos View Post
If you could, please point me to the latest deb so that I can try it out. I'm finding it difficult to follow along and recognize which posting had the latest version (or maybe I just didn't realize there was only the first post?). You might be surprised to know that I've actually had people ask me if this type of application existed long before this thread was started and really didn't have a clear answer.

Thanks for the great app!
I'm sorry to create such a mess releasing schedule. It is my 1st project ever and is a bit hard to stay focus on a stable version ready to be used. + Im more a graphic guy than a programmer so maybe the application could look more complete than actually is (even if it is only a clock+alarm I usually screw up something...) Anyway the holy people at maemo host the project so is possible to keep track of all the releases at
https://garage.maemo.org/frs/?group_id=851&release_id=2290

I wish that page could show a bit more info about each release; Ill probably begin to keep a .log to update each time and see if that help. Ill try to came out with an usable version to be debianized. Again sorry for the confusion and thank you for the comment
 

The Following 2 Users Say Thank You to ciroip For This Useful Post:
danramos's Avatar
Posts: 4,672 | Thanked: 5,455 times | Joined on Jul 2008 @ Springfield, MA, USA
#114
Garage. **slaps forehead** I didn't even think to look in the obvious place. Nono--thank you, all-around! I look forward to trying this app out and very likely suggesting it to people who've been looking around for this.
 
ciroip's Avatar
Posts: 334 | Thanked: 366 times | Joined on Nov 2008 @ Italy
#115
Ok, the 008 Flip alarm clock should have all the feature I decided to keep for the final version. Now I can spend some time organizing all the suggestion from the forum to optimize the use of the resources.
I introduced the slide up and down gesture to access the alarmset screen and to disarm the alarm. For the battery check I modified the code of Harry Petas and it seem works pretty flawless. I just need to draw the graphic for the charging status since the dbus return a fixed value (-1) when the tablet is connected to the power. Still need to check how access the volume but I decided to suspend the task to focus on the optimization of the resources. I modularized even more the things so now is pretty easy change the 'settings' using the variables in ci_init (to enable/disable the led, the flipping animation and the battery status) so is possible to use/test it on a desktop linux/windows and I suppose mac? (look still fine at full screen on a desktop. Ill try to convince someone to adapt it for a xscreensaver module ).
I really need to rewrite the alarm routine: now is pretty dumbly connected to the clock refresh and this limit a lot any optimization. Beside the battery drain should be pretty harmless and stable.




Happy weekend
__________________
I can't do it. No one can help.
[SIGPIC][/SIGPIC]

Flip Alarm Clock - 3DMania Theme - Synesthesia - Deluxepain
http://ciroip.blogspot.com/
http://twitter.com/ciroippolito

Last edited by ciroip; 2009-01-10 at 07:24.
 

The Following 3 Users Say Thank You to ciroip For This Useful Post:
daperl's Avatar
Posts: 2,427 | Thanked: 2,986 times | Joined on Dec 2007
#116
Dude, I don't know where or how you're getting these images, but if it's all you; you're scary good. That zombie-green leak-through glow... Scary good. I'm almost afraid of what you're gonna do next. Excellent work.
__________________
N9: Go white or go home
 
ciroip's Avatar
Posts: 334 | Thanked: 366 times | Joined on Nov 2008 @ Italy
#117
Originally Posted by daperl View Post
Dude, I don't know where or how you're getting these images, but if it's all you; you're scary good. That zombie-green leak-through glow... Scary good. I'm almost afraid of what you're gonna do next. Excellent work.
lol,thank you daper but once you know the trick everything became pretty dumb .
I have sort of a graphic experience in my story but 90% of the tricks here came from the amazing program Xara. It have a great antialias algo and is scaryfast + it export the 256 palette optimized image i use for the most part of the graphic and the excellent managing of the trasparent png of pygame do the rest. Xara programmers (uk rulez) have a free (nonopensourrce) linux version of their program (im pretty sure ubuntu have it in some ufficial universe/repository otherwise is possible to dl from their site.
Anyway, next version is nearly complete. I completely divided the alarm part so now i can introduce the 'letmesleep5moreminutes'feature pretty easily. When Ill complete the about page (thinking to introduce a graphic of the battery cycles) and all the credits and thanks ill ask to qwerty12 to help me again with the packaging.
__________________
I can't do it. No one can help.
[SIGPIC][/SIGPIC]

Flip Alarm Clock - 3DMania Theme - Synesthesia - Deluxepain
http://ciroip.blogspot.com/
http://twitter.com/ciroippolito
 

The Following 5 Users Say Thank You to ciroip For This Useful Post:
ciroip's Avatar
Posts: 334 | Thanked: 366 times | Joined on Nov 2008 @ Italy
#118
Alarm routine completed. Now it run in its own while loop and let me update the clock each 60 seconds (instead of each second like before). I m sure this solution will raise some exception to the alarm but im too dummy to try to figure out what and where so I decided to just drop the thing on the wild and see what happen. Ill keep studing some more serious solutions but for now this is what I am able to put up .
This should be the 1st really usable release, it show the percentage of the battery level all the time (another reason to keep the application running all the time . I should not be too difficult to keep a variable to store an entire day of battery history (something like 720 ticks per day (a sample each 2 minutes) to populate the graph space I prepared on the about screen and it should fit well on the 800 pixel of the tablet.
https://garage.maemo.org/frs/downloa...98/fk9.tar.bz2

https://garage.maemo.org/frs/downloa.../changelog.txt
I know, the leds could become really annoying but I can't force myself to remove the feature. In case just changing the
sw_led variable to 1 in ci_init.py should be enough to disable the 'spettring'.
There is a lot of free space on the about screen so if someone want his name there can drop a line here to say if the alarm have any issue on a long term (more than a couple of hours) use.
The clock still keep working even when is in background since I didnt found the OS call to interrogate and save some resource anyway I really like the idea to keep updating the battery things so even without any alarm set the application have always have something to do at least each 2 minutes.
I think that's all for the day.
Buonanotte a tutti e buona domenica.
__________________
I can't do it. No one can help.
[SIGPIC][/SIGPIC]

Flip Alarm Clock - 3DMania Theme - Synesthesia - Deluxepain
http://ciroip.blogspot.com/
http://twitter.com/ciroippolito
 

The Following 4 Users Say Thank You to ciroip For This Useful Post:
Faz's Avatar
Posts: 284 | Thanked: 80 times | Joined on Mar 2007 @ London, UK
#119
Good morning ciroip!

Thank you for all the time and energy you've put into this project!! It is most definitely appreciated!!!
It's been interesting to follow, although not being a developer I have to admit in skipping the high geek factor stuff!

I've just downloaded fk9.tar.bz2 and after extraction I'm executing using the command "python fk009.py" successfully launching "Flip Alarm Clock 0.008" ...8?

Nice battery meter, working as expected.
Liking the use of the LED too! First time I've ever seen my N810's LED turn purple!!
 

The Following 2 Users Say Thank You to Faz For This Useful Post:
Posts: 145 | Thanked: 32 times | Joined on Dec 2007
#120
I can start flipclock with the python command in
xterm and it runs, but nothing happens when I push the
set alarm button. Is there some trick to this?
 
Reply

Tags
clock, flip clock


 
Forum Jump


All times are GMT. The time now is 02:09.