![]() |
Re: Flip clock pre pre pre pre release
Quote:
The question is intriguing though, and while I haven't (yet) found a definitive answer, I did find the discussion on this page quite enlightening: http://jtauber.com/blog/2006/04/15/p...onstant_lists/ |
Re: Flip clock pre pre pre pre release
I need your help people: I heavily modified the code using great PLOP's suggestions but now the clock keep crashing every 9th minutes...
I have no idea why the x[15] a time.ctime() on the 9th minute made this expception...:mad: Anyway, I think people can survive with a clock that crash each 9th minute....(09, 19, 29 etc) Im pimping the clock with all the features that make China the big country that deserve to be. The cheap wood plastic case inspired me to add one of the stupidiest and tackyest feature: let me introduce to the world the Moodorama :). @ Qwerty12, dont loose your time packaging this version until the annoyng 9minutebug will not have a solution https://garage.maemo.org/frs/downloa...ock003.tar.bz2 https://garage.maemo.org/frs/downloa...03_sschot1.jpg Im testing some different input interfaces for setting the alarm clock: tapping somewhere on the bottom should bring up a virtual keyboard i found somewhere, Ill probably use something like a semplified version of that. |
Re: Flip clock pre pre pre pre release
Quote:
|
Re: Flip clock pre pre pre pre release
Quote:
I have to decide how make people configure the time. Ill think about something. When Ill be bored of the clock ill probably use the digits for a stopwatch, a counter (every tap +1)or use the number to interface finger friendly (tapping on top of each number the counter ad 1, tapping on the botton it decrease) or maybe dragging up and down. Ill see if it ill woks thank you for the ideas |
Re: Flip clock pre pre pre pre release
Quote:
Use numeri = [pygame.image.load(path+str(x)+".png") for x in range(0,10)] when you load the images and it will work. |
Re: Flip clock pre pre pre pre release
Quote:
|
Re: Flip clock pre pre pre pre release
Another crappy release Just to show a bit the status.
The code really need to be checked and cleaned: @ qwerty12: trust me, you dont want touch it. Anyway the clock should be stable enough for a drive test. The alarm should work. I decided to not use the maemo alarmd but to simple store the setting in a variable (the alarm need to be re-set every crash...:) ) For the python gurus out there: dont waste your time checking the code, is pure trash, Ill give a clean up asap https://garage.maemo.org/frs/downloa...ock004.tar.bz2 https://garage.maemo.org/frs/downloa...eenshot004.jpg The alarm sound loop every sec (more or less) following the screen refresh (WORK, STUPID CPU WORK!) The final version will probably refresh every 5 seconds. Anyone know how control the N810 LED? Would be lovely to have a blinking alarm. Buonanotte a tutti |
Re: Flip clock pre pre pre pre release
ciroip, you really don't want me to package it? I honestly don't mind doing so :)
Oh, N810 led can be controlled via dbus: http://www.internettablettalk.com/fo...ad.php?t=17024 (But spare a thought for us N800 users please! :)) |
Re: Flip clock pre pre pre pre release
Yes, please package it. Users will love having this in extras! :)
|
Re: Flip clock pre pre pre pre release
Quote:
It will just save you a lot of headace wait for next release. Now I know how have the thing make some noise I can focus on cleaning up a bit the things. Beside the fun to misue python the application still really need a developer to rewrite everything from scratch :) + plus + my major concern is the way I keep opening new pygame screens for the alarm setting and reloading the graphics over and over. I have no idea how much pyhton can let me write everything pass trough my mind without any conseguences on the system. The weekend is here so ill probably have more time to work on the code. So, If you are really bored or you love digg **** feel free to package it :) Quote:
Quote:
|
All times are GMT. The time now is 12:09. |
vBulletin® Version 3.8.8