![]() |
Re: Flip clock pre pre pre pre release
oh .. I also notice that when flipclock is running
the sound demon (esd) is constantly taking up 2-3%cpu, so this thing will eat the battery pretty ferociously I suspect |
Re: Flip clock pre pre pre pre release
Quote:
The alarm control is a slide button (I will try to have a working real drag button for the final version. So to make the thing works u need to move from left to right and from right to left to act/deact the alarm. Ill probably introduce a 20 pixel tollerance to avoid false clicking. I used the same technic for the alarm 'wheels' and on the main page (a slide up of at least 50pix) to acces the alarm page. |
Re: Flip clock pre pre pre pre release
Quote:
You just won a place in the about page :) |
Re: Flip clock pre pre pre pre release
Quote:
Don't be scared to look and modify the code. Im not a (python) programmer so is pretty neat (neat <> optimized). Some parts are completely black holes and I have no idea how they works ( led, battery access etc) but they are usually well separated in their own ghetto modules. A big plus is that you can probably learn some italian curses I usually 'forget' to remove from the comments. I agree is a pretty fun ride to follow the app growing (but after 2 hours probably even the funniest rollercoaster became boring. I knew touching the led is a bit risky but drunkier you are cooler they became so f the power saving and pump up the lights, (I kept the led partially dimmed on red all the time to make the tablet visible in the dark (is or not an alarm clock?) I will probably set the led to stay on only when the charger is connected. note to myself: add faz to the about page |
Re: Flip clock pre pre pre pre release
Quote:
good for alarm clock! Great application even if still in progress. |
Re: Flip clock pre pre pre pre release
Quote:
|
Re: Flip clock pre pre pre pre release
This program will take care of one of the extremely basic tasks that a product such as the NITs should ship with. The built in clock utility does function, but it's not very readable or attractive. The thing that annoys me the most about it though is not being able to set alarms to go off on certain days every week (eg every monday at 7:30, tuesdays at 8:30, etc.). This would be extremely handy for me because as a student, I don't have class at the same time every morning and I always want to sleep in as late as I can :p
So I guess this is my way of requesting a feature ^^ Thanks for all your hard work on this! It's looking great so far, miles and miles beyond the current clock app |
Re: Flip clock pre pre pre pre release
Very cool little app. I like the idea of it. Installed the deb for version 4, after I couldn't figure out how to get 8 to run. I really wanted to see what 8 looked like, so I did a little searching and figured it out.
xterm cd to the fk008 dir, issue python2.5 fk008.py command. It errored out. fk007,worked just fine. Saw that 9 was up, tried it, same error as 8. Do I need something else installed? Error as follows: Traceback (most recent call last): File "fk009.py", line 28, in <module> ci_gfx.init_clock() File "/media/mmc1/fk9/ci_gfx.py", line 19, in init_clock drawclock() File "/media/mmc1/fk9/ci_gfx.py", line 42, in drawclock drawmood() #Draw the mood lights File "/media/mmc1/fk9/ci_gfx.py", line 87, in drawmood if ci.tablet: ci_alarm.led () File "/media/mmc1/fk9/ci_alarm.py", line 52, in led set_mode("direct") File "/media/mmc1/fk9/ci_alarm.py", line 60, in set_mode FILE = open("/sys/devices/platform/i2c_omap.2/i2c-0/0-0032/mode","w") IOError: [Errno 2] No such file or directory: '/sys/devices/platform/i2c_omap.2/i2c-0/0-0032/mode' /media/mmc1/fk9 $ Thanks, Len |
Re: Flip clock pre pre pre pre release
Quote:
The week scheduling alarm idea sound brilliant to me and seem pretty easy to do on paper. My only concerce is to keep simple and 'sleepyfinger (cit.)' friendly the setting of 7 different days... Maybe I could use the tablet ability to recognize even a stylus other than only fingers (...) and keep strinking all the 7 days on the same 'page'... Ill see what ill be able to cook and having that feature done before you graduate |
Re: Flip clock pre pre pre pre release
Quote:
Sorry I could not help more |
Re: Flip clock pre pre pre pre release
Ciroip, your alarm clock is certainly coming along and is getting very good! I think the we are no longer at "pre pre pre pre release" and more just at "pre release". ;)
Boy, I wish I just threw enough time at my programming project too. You don't give yourself enough credit as it's really not that bad of code. Your strength is the incredible graphics that you create and that you don't give up. Good work Ciroip! |
Re: Flip clock pre pre pre pre release
ciroip-
Thanks for the help. I set led=0 first, that worked. I have an N800, so maybe that makes a difference. I thought that maybe I was missing something, the last part of the trace seems to indicate that a file was missing (/sys/devices/platform/i2c_omap.2/i2c-0/0-0032) called from ci_alarm.py. I had tried to edit that line out figuring that it would just not write/read a value to/from that file, but that gave other errors (about expected indents?). I assume now that the file in question has to do with the led. Version 9 works like a charm now. One other issue for you to consider: I set it up to launch from Personal Menu, however it fails to find the data folder and errors out. It appears to assume that it is being launched from inside the fk9 folder. I simply made a sym link in /home/user to the data folder and it works fine after that. Again, perhaps a problem with the way I'm launching it. Thanks again for all your hard work. Len |
Re: Flip clock pre pre pre pre release
Len: I suspect the expected indent is the typical python trap/joy. Python DEMAND a perfect 'alignment' of each line (indentation). Thar probably caused the error. Anyway removing/commenting that line will probably make the clock works but for sure will not trig any led event (the line is the very point of setting the os call for the led :) ).
Yes, the application now look for the data folder; Iprepared the application with 2different 'path' variables (to make easier the packagin and the testing at same time). If you want try and feel adventurus you can try to touch thar (in the usual ci_init) and copy the data content there, or I maybe using an absolute path for the data in relation to your files positions: something like /media/mmc1/fk009/data/ in case of the external memory card on the 810. Anyway I suppose a new .deb version should be on the way |
Re: Flip clock pre pre pre pre release
wow, reading back my last post I realize how suck in 'explanation skill'.
Anyway Im still working on the ESD sound thing juicing resources all the time. If someone have any suggestions because I cant really figure it out why :) (maybe is just how pygame works?) Should I look for an alternative way to play the alarmsound? Meanwhile I tried to make someting up for the qole idea: Quote:
https://garage.maemo.org/frs/downloa...clocknixie.png Note: The background pic is not mine,(and sadly I dont know the author's name) is just an example of how a bitmap could works with the clock |
Re: Flip clock pre pre pre pre release
I also noticed a bug: If I use the HOME key to go to my desktop, there's no way to get back to the clock--there isn't a task bar icon to tap on to go back to it.
I also ran into the same LED error mentioned earlier--and commenting out the LED option made it work for me as well. I'm also finding it very, very difficult to manage to get into alarm setting and alarm disabling modes with the finger-fu moves (that sleepy sliding finger thingy). (I personally would prefer a hardware key mapping for this--something that can't be done by mistake like finger-fu would allow.) Thanks, though! This is certainly a great work in progress!! :) |
Re: Flip clock pre pre pre pre release
Quote:
You can just use Code:
hildon.hildon_play_system_sound(absolute_path_to_the_sound_file) The other way, if you need to play other formats, could be using OSD, MPlayer, other player, but it seems to be a bit heavy. |
Re: Flip clock pre pre pre pre release
Quote:
Im agree any other solution I checked just fall under the overkilling umbrella categopry. If you confirm the possibility to call it from python Ill keep sniffing this road. (I think in theory it should works even from the python 'commandline' >>>) Thank you |
Re: Flip clock pre pre pre pre release
Quote:
https://garage.maemo.org/frs/?group_...elease_id=2338 but maybe is just safer to just wait a bit (since all the version till now are battery hungry) and installing old .deb will dirt a bit the tablet with some .png that are not going to be used again) Ill ask to someone smarter than me why should be so difficult to for an app to write that OS flag for the led, I sure dont want have a .deb that make people lose time for my fault (I guess I can do a check at the init and make the led configuration trasparent to the user. If you are following a bit the different versions you noticied the app keep changing a lot, I sometime make some REALLY irrationals and !intuitive decisions and I need people to kick me in the right directions... and anyway the point of so many versions is that people can test different directions. The final version will probably have the hardware buttons support (sound pretty natural for a full screen app) but I still have to check how they works (Ill probably use the pygame events because everytime I use the OS services it seem there is something wrong popping up :( ) and be sure will work on the 770/800 whatever is out there. |
Re: Flip clock pre pre pre pre release
Quote:
|
Re: Flip clock pre pre pre pre release
Quote:
So I can check what is wrong with my n810 :) |
Re: Flip clock pre release 010 Nixie hildon
ok, I finally understand why my nokia didn't play the hildon_play_music thing. I had the system sound disabled and it seem that set the volume for all the hildon calls. Ciononostante, even without any call to the mixer the stupygame made his calls to the esd all the time.
To trick pygame I tried to set the os.environ variable to null. Im not sure if is really effective (on my tablet the esd seem show up only during the alarm sound playing) and if that change could have any effect on other applications (should be a local python variable ?) os.environ["SDL_AUDIODRIVER"]="" Thanks to 412b (Kirill?) for pointing to his Advanced power. It partially solve one problem I discovered: everytime the clock call the battery check the nokia original battery applet keep shwing up his annoying notify things. If someone have any idea (other than suggest to use the advanced power :) ) is weolcome. https://garage.maemo.org/frs/downloa...ikix_h.tar.bz2 https://garage.maemo.org/frs/downloa...screenshot.jpg I know the numbers are not so visible but I guess the point is to simulate a real nixie clock experience... anyway I can turn the 'capsules' more trasparents and turn the numbers a bit more bright and contrasted... Ill see if keep working on the nixie version (I really have big problems trying to judging my own work, I like the general nixie tone ). The applications is beginning to have a bit too much crazy tapping so here a recap (suggestions for button positions and movements are appreciate): Clock screen: 1.slide up to open the alarm set 2.slide down to 'disarm' the alarm (risky) 2. a simple tap for 1sec (and release) on the entire screen to stop the alarm and ask for 5 more minutes sleep. Alarm set: 1.slide up and down on the numbers to set the alarm 2. slide left and right for the alarm on and off button 3 simple taps(and release) for the mood and about buttons 4. simple tap(and release) on top part to return to the clock screen I need to add somewhere a control to test the alarm sound. If I can find a way to check on the control panel setting I was thinking to put a warning on the screen (the classic slashed speaker?) That's all for now I think. |
Re: Flip clock pre pre pre pre release
The nixies look good ciroip!
Just a note, the numbers should glow reddish-orange, like neon. And yes, a little more contrast to make the numbers jump out would be perfect! |
Re: Flip clock pre pre pre pre release
Hey Ciroip, not to put down you great ideas and the fact that you are really playing around with the app and having fun in the process (which is good), but I will give a thumbs down to the Nixie look. Sorry ! But just to add some user perspective.
Not that it should matter to you much personally - unless you are factoring in mass acceptance as a factor in your ideation process. I really liked the original neat clean look more if FlipClock. |
Re: Flip clock pre release 010 Nixie hildon
Quote:
Quote:
|
Re: Flip clock pre pre pre pre release
hah! nilchak nixed the nixies.
|
Re: Flip clock pre release 010 Nixie hildon
Quote:
Yep your application is a 'living executable manual' (damn canola and their stupid pyc) I can find examples code of pratically everything I need (and have it always working correctly to compare the results). Since maemo.org is mainly a developers/advanced user site your applications should be application of the month :) |
Re: Flip clock pre pre pre pre release
Quote:
It was just another personal itch to scratch. I promise to switch back to the no party version. When Ill xomplete the things Ill probably refine the other couple of versions the clock had (and I liked the plastic soldier version for almost a week, a record for me). I dont thing the mass acceptance factoring rules are very applicable with the 4 guys they keep downloading all the release :) ). You people are wasting time following the 'project' the minimun I can do is asking your opinion |
Re: Flip clock pre pre pre pre release
I haven't looked at the code recently, but isn't there some sort of a theme/skin abstraction? If not, maybe there should be.
|
Re: Flip clock pre pre pre pre release
I think the nixies are really beautiful to look at, you are very gifted.
But I also agree that for just *using* the application day-to-day as an alarm clock, the initial concept of plain flipping numbers is more readable and easier to use. Maybe you just turn the nixies into a screen saver or something :-) |
Re: Flip clock pre pre pre pre release
Quote:
|
Re: Flip clock pre pre pre pre release
Quote:
|
Re: Flip clock pre release
Returning to work at the noparty version
I made the 'about' playing the alarm sound (to check if the sound works and the volume level). Need some more testing with the battery graphics (again in the about panel), anyway noone should spend too much there time since I just throw some code there but it should increase every minute (still not decided the scale but I was thinking that a 4 or 8 hours window frame could be acceptable) Still trying new 'sliding movements'. Sliding down on the clock page now switch betwen full and window modes (I know look crappy and broke but I guess sometime could be nice to have a window mode, I read some complain about canola (maybe I can try to repositioning a bit the graphics for a window mode visualizing only the alarm time and maybe the battery grap, if that feature will ever works correctly). https://garage.maemo.org/frs/downloa...oparty.tar.bz2 https://garage.maemo.org/frs/downloa...screenshot.jpg |
Re: Flip clock pre pre pre pre release
ciroip, I'm working on uploading the python-xlib bindings to extras so you can use the python equivalent of http://wiki.maemo.org/Game_developme...e_window_title to set the title instead of unknown.
Well, the xlib part anyway - dunno how SDL_SysWMinfo is done in python... |
Re: Flip clock pre pre pre pre release
SDL and an alarm clock. I just didn't see it coming. I think I need to go on a retreat of some kind.
This app should become the community's official test bed. Time to add some liqbase. |
Re: Flip clock pre pre pre pre release
just as liqbase is being broken apart :)
the thing is, its hard to get ideas out there and there is no real framework so when people find something that works they tend to go overboard (voice of experience). Its taken a lot for me to reign everything back in and setup everything for multiple projects :) |
Re: Flip clock pre pre pre pre release
I can imagine you feel that way. You have so much good stuff going on in liqbase it's no surprise to me that you might want to totally revamp some of it. I love throwing away code; it usually means I'm moving on to better things. My hope with liqbase is that you find some natural segregations that result in some reusable shared libraries with Python bindings. :)
|
Re: Flip clock pre pre pre pre release
Quote:
Funny you pointed at the game development since I think at this clock like a game... Anyway the clock is turning out exactly how I like to 'feel' an application, precise and flawless :) so having the possibility to change that 'unknow' in something more usefull (data and time) will make my day |
Re: Flip clock pre pre pre pre release
Quote:
|
Re: Flip clock pre pre pre pre release
ok, probably this is last version for a while now. The clock is done in every part I originally thinked. Ill probably reorganize the visualization for the 'new' windows mode and try to think a nice interface to set a 7 day scheduling alarm.
I put there some wacky experiments (flashingled and audio feedback interface and the battery thing now work with 1pix/1min resolution (so it should cover at least 10 hours). Everything is 'disableable' using the usual variables inside ci_init (tablet for the led and battery chack). I still dont understand why the led should not work on some user tablets and I need to find a way to disable the charging sound triggered everytime I check for the battery while the power is connected. https://garage.maemo.org/frs/downloa...oparty.tar.bz2 https://garage.maemo.org/frs/downloa...screenshot.jpg arrivederci :) |
Re: Flip clock pre pre pre pre release
Great work Ciroip and everyone else been following this for some time now and have to say it's very impressive. I have only loaded the 0.001deb app but am so far impressed. I was just wandering if there is anyway of making this the default screen saver instead of the screen blacking out as usual? Don't know if this is even possible but if you don't ask..
Again great work |
All times are GMT. The time now is 12:09. |
vBulletin® Version 3.8.8