maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   witter - a python twitter client (https://talk.maemo.org/showthread.php?t=35596)

Tintin 2010-02-05 23:52

Re: witter - a python twitter client
 
Quote:

Originally Posted by euanandrews (Post 512506)
Still would love to see avatars...nudge nudge ;)

Interesting twitter app but can't see myself using it until it supports avtars as that's how I personally browse through my incoming tweets.

dwould 2010-02-06 09:51

Re: witter - a python twitter client
 
Quote:

Originally Posted by Tintin (Post 512579)
Interesting twitter app but can't see myself using it until it supports avtars as that's how I personally browse through my incoming tweets.

fair enough.

Seraphic 2010-02-06 20:59

Re: witter - a python twitter client
 
Quote:

Originally Posted by Tintin (Post 512579)
Interesting twitter app but can't see myself using it until it supports avtars as that's how I personally browse through my incoming tweets.

Same here, as good as the app is I can't see me using it until it's got an avatar-based view.

euanandrews 2010-02-07 01:13

Re: witter - a python twitter client
 
Quote:

Originally Posted by dwould (Post 512918)
fair enough.

I know ya don't want it, and at the end of the day this is your app and we are all grateful for what you have provided to date...but as ya know avatars is a very popular request, and neccessity for many...

How does Gravity implement it, as that has avatars and load tweets fast....can you cache avatars so they only need to be downloaded once or when updated?

Food for thought.

evil_m0nkey 2010-02-07 16:23

Re: witter - a python twitter client
 
yeah, the only problem i have is lack of avatars and bubbles. otherwise its a pretty app.

for avatars, i end up using www.hahlo.com

El Amir 2010-02-07 18:14

Re: witter - a python twitter client
 
Quote:

Originally Posted by Seraphic (Post 513522)
Same here, as good as the app is I can't see me using it until it's got an avatar-based view.

Sad to say but Im in the same situation. Im sticking to hahlo till witter (hopefully) gets avatar suport.

dwould 2010-02-08 10:07

Re: witter - a python twitter client
 
Quote:

Originally Posted by euanandrews (Post 513832)
I know ya don't want it, and at the end of the day this is your app and we are all grateful for what you have provided to date...but as ya know avatars is a very popular request, and neccessity for many...

How does Gravity implement it, as that has avatars and load tweets fast....can you cache avatars so they only need to be downloaded once or when updated?

Food for thought.

I would imagine Gravity is a natively compiled C app for a start. Witter is python which is always going to be slower.
The problem isn't really a question of *how* to write the code, more a question of how much code it is to write.
I'm certainly not about to spend hours and hours coding up avatar support, just to find it drags the performance to unacceptable levels. There is no point investing that time until I can make the current capabilities work with smooth scrolling.
Anyone that has any ideas how to get faster performance out of python, I'd love to hear them. Currently I'm using GTK, a hildon.pannableArea with a gtkTreeView in it. It doesn't seem to matter whether I use my custom cell renderer or the default text one, neither runs particularly smoothly.
I don't have any real idea how to find out what is the performance issue, I'm assuming that the above combination is just not that fast, but maybe I've made mistakes elsewhere which are costing. Don't really know how to proceed.

evil_m0nkey 2010-02-08 19:56

Re: witter - a python twitter client
 
Quote:

Originally Posted by dwould (Post 515873)
I would imagine Gravity is a natively compiled C app for a start. Witter is python which is always going to be slower.
The problem isn't really a question of *how* to write the code, more a question of how much code it is to write.
I'm certainly not about to spend hours and hours coding up avatar support, just to find it drags the performance to unacceptable levels. There is no point investing that time until I can make the current capabilities work with smooth scrolling.
Anyone that has any ideas how to get faster performance out of python, I'd love to hear them. Currently I'm using GTK, a hildon.pannableArea with a gtkTreeView in it. It doesn't seem to matter whether I use my custom cell renderer or the default text one, neither runs particularly smoothly.
I don't have any real idea how to find out what is the performance issue, I'm assuming that the above combination is just not that fast, but maybe I've made mistakes elsewhere which are costing. Don't really know how to proceed.

heres a really noobish question, how come your didn't/don't write the software in QT. Isn't QT the messiah for the N900? The software through which we will be able to cure cancer through the N900

dwould 2010-02-08 20:08

Re: witter - a python twitter client
 
Quote:

Originally Posted by evil_m0nkey (Post 516698)
heres a really noobish question, how come your didn't/don't write the software in QT. Isn't QT the messiah for the N900? The software through which we will be able to cure cancer through the N900

I'm pretty sure at the time I started, QT wasn't available outside of extras-devel (or maybe I read it wrong) It seemed a bit limiting to develop in something that itself wasn't actually ready yet.

I am thinking I might try to learn QT now to write something completely different, and if I get the hang of it, and it seems in any way faster (I've not found anything that categorically states that is or will be the case) then I would consider converting.

ofels 2010-02-09 08:42

Re: witter - a python twitter client
 
Quote:

Originally Posted by dwould (Post 516707)
I am thinking I might try to learn QT now to write something completely different, and if I get the hang of it, and it seems in any way faster (I've not found anything that categorically states that is or will be the case) then I would consider converting.

The benefit of QT is not performance. The benefit is its one-for-all-library concept which enables the developer to create platform independent programs. Basically if you stick with QT functionality without depending on further libs this is true. In that case you can easily provide your app for Maemo, Symbian, WindowsCE, etc. after rebuilding it. Even for the desktop. In theory, some issues will still remain.

For witter that would mean that you had to migrate all non-standard Python functionality to QT, like filesystem access, GUI, XML, etc.


All times are GMT. The time now is 16:12.

vBulletin® Version 3.8.8