maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   Flip clock pre pre pre pre release (https://talk.maemo.org/showthread.php?t=25582)

qwerty12 2008-12-14 18:54

Re: Flip clock pre pre pre pre release
 
Quote:

Originally Posted by ciroip (Post 249447)
Damn, I uploaded the wrong one... anyway Im still looking for help.
I would love to leave the boring parts :p (coding packaging...)to someone else who want complete the thing. I promise fame and celebrities.

I've packaged it up, just need to make a few fixes and I'll put out a package tomorrow.

ciroip 2008-12-14 18:55

Re: Flip clock pre pre pre pre release
 
Quote:

Originally Posted by daperl (Post 249473)
Making the following change allows me to run this app in Kubuntu 8.10 and on my n800. Otherwise it changes the screen resolution of my KDE nvidia graphics desktop. Painful.
Code:

try:
  window = pygame.display.set_mode((0,0))
except:
  window = pygame.display.set_mode((800, 480))

Cool stuff. Thanks.

mh, yes, I realized it could have some potential on desktops.
Im sorry you have to touch a so shitty code :o

I am usually more ashamed to show my sh**ty experiment but im confident that xmas make you nicer...

ciroip 2008-12-14 18:57

Re: Flip clock pre pre pre pre release
 
Quote:

Originally Posted by qwerty12 (Post 249491)
I've packaged it up, just need to make a few fixes and I'll put out a package tomorrow.

Mh great! People at maemo.org just approved the project: should I add u to the developers?
I have no idea how things works...

qwerty12 2008-12-14 19:04

Re: Flip clock pre pre pre pre release
 
Quote:

Originally Posted by ciroip (Post 249493)
Mh great! People at maemo.org just approved the project: should I add u to the developers?
I have no idea how things works...

If you wish! :)

But I must warn, i'm bad at python too (i'd say as bad as you say you are but you made this program :)) but I know bits and I can package :D

daperl 2008-12-14 19:28

Re: Flip clock pre pre pre pre release
 
Quote:

Originally Posted by ciroip (Post 249492)
mh, yes, I realized it could have some potential on desktops.
Im sorry you have to touch a so shitty code :o

I am usually more ashamed to show my sh**ty experiment but im confident that xmas make you nicer...

Don't worry about such things. There's plenty of us hacking our way around here. Thanks for sharing and keep up the good work.

ciroip 2008-12-14 19:57

Re: Flip clock pre pre pre pre release
 
Quote:

Originally Posted by qwerty12 (Post 249498)
If you wish! :)

But I must warn, i'm bad at python too (i'd say as bad as you say you are but you made this program :)) but I know bits and I can package :D

Glad to. Is qwert david you?
I just want make the NIT usefull during the nightly charging time so I was thinking to add something like alarm manage, small weather icons, rss scroll, background slideshows or whatever does not need any interaction and justify an always on display.
More people, more ideas, feel free to add any release u want, Im a pretty caotic guy so dont worry to touch my stuff. I dont think things could ever became worste :).
In case the project will became mature enough we will decide what promote to maemo.org

qwerty12 2008-12-14 20:00

Re: Flip clock pre pre pre pre release
 
Quote:

Originally Posted by ciroip (Post 249511)
Glad to. Is qwert david you?
I just want make the NIT usefull during the nightly charging time so I was thinking to add something like alarm manage, small weather icons, rss scroll, background slideshows or whatever does not need any interaction and justify an always on display.
More people, more ideas, feel free to add any release u want, Im a pretty caotic guy so dont worry to touch my stuff. I dont think things could ever became worste :).
In case the project will became mature enough we will decide what promote to maemo.org

Hehe, no, I'm Faheem Pervez with the username of qwerty12 on both garage and maemo.org. :)

allnameswereout 2008-12-15 00:14

Re: Flip clock pre pre pre pre release
 
Very nice, much preferred over the analog clocks because these are not very clear to read...

qwerty12 2008-12-15 08:00

Re: Flip clock pre pre pre pre release
 
Hmm, I'm having trouble getting flipclock to use the new paths. Anyone know what the correct way to do:
Quote:

str("/usr/share/flipclock/")+(orario[3])+".png"
is in python?

Atm, I'm getting:
Quote:

Traceback (most recent call last):
File "/usr/bin/flipclock.py", line 91, in <module>
cfr1,cfr2,cfr3,cfr4=singole()
File "/usr/bin/flipclock.py", line 48, in singole
cfr2=str("/usr/share/flipclock/")+(orario[3])+".png"
TypeError: cannot concatenate 'str' and 'int' objects
(Tried
Quote:

str"/usr/share/flipclock/"+(orario[3])+".png"
but then it says it is invalid syntax)

daperl 2008-12-15 08:23

Re: Flip clock pre pre pre pre release
 
orario[3] is an integer. Try and make it a string with:

str(orario[3])

Then you would have:

cfr2=str("/usr/share/flipclock/")+str(orario[3])+".png"


All times are GMT. The time now is 04:11.

vBulletin® Version 3.8.8