Active Topics

 



Notices


Reply
Thread Tools
Posts: 3,617 | Thanked: 2,412 times | Joined on Nov 2009 @ Cambridge, UK
#371
Originally Posted by dwould View Post
the problem with the latest versions in extras-devel is I'm attempting to parse timestamps properly..
for some reason twitter does not deliver timestamps in a consistent way.
whenever witter sees a timestamp in an unexpected format it suffers an exception which stops operation continuing.

0.3.1-15 should be better and deffinately solves one of the issues. but there is still work to do to completely fix this.
i would not have guessed dealing with timestamps and timezones would have been this much of a pain.
Have you looked at what other twitter apps are doing? If a scripting language like python's having issues, I can't imagine trying to implement a timestamp parser in C/C++.
 
dwould's Avatar
Posts: 529 | Thanked: 262 times | Joined on Dec 2008 @ Eastleigh, Hampshire, UK
#372
Originally Posted by Den in USA View Post
I know this sounds petty, but, for the Diablo version I don't like the icon's white backround. The Yellow "W" is fine. (when it is minimized at left):

Attachment 8727
The diablo version has had no updates for a long time, my 810 was giving me grief and I basically couldn't be bothered to maintain both versions.
updating the icon would be pretty trivial to do if that's all you wanted. just download the new icon from the project page and overwrite the old one. I think at that version its in /usr/local/witter/icons/
__________________
----------
N900
http://danielwould.wordpress.com
Check out Witter, a twitter client for N900
http://danielwould.wordpress.com/witter

If Witter isn't working for you, eg crashes/doesn't start, gives errors etc etc. Please run it from x-term using:
run-standalone.sh python2.5 /opt/witter/witter.py

This will generate diagnostic output. Without this I cannot help you.
 

The Following User Says Thank You to dwould For This Useful Post:
dwould's Avatar
Posts: 529 | Thanked: 262 times | Joined on Dec 2008 @ Eastleigh, Hampshire, UK
#373
Originally Posted by Rob1n View Post
Have you looked at what other twitter apps are doing? If a scripting language like python's having issues, I can't imagine trying to implement a timestamp parser in C/C++.
I didn't, but the problem seemed to be a combination of factors. I believe now fixed in 0.3.1-16

Python on maemo doesn't support the offset notation (+0000) in it's timestamp parsing. there are libraries that would, but I'd have to bring a whole new library onto maemo which I didn't want to do.
Turns out there are at least 3 different formats of timestamp that twitter might return, depending on your location and the API call.
I think they all now work.
__________________
----------
N900
http://danielwould.wordpress.com
Check out Witter, a twitter client for N900
http://danielwould.wordpress.com/witter

If Witter isn't working for you, eg crashes/doesn't start, gives errors etc etc. Please run it from x-term using:
run-standalone.sh python2.5 /opt/witter/witter.py

This will generate diagnostic output. Without this I cannot help you.
 

The Following 3 Users Say Thank You to dwould For This Useful Post:
Posts: 1,667 | Thanked: 561 times | Joined on Feb 2010
#374
Is there a way for witter to be sped up using a cache?
 
dwould's Avatar
Posts: 529 | Thanked: 262 times | Joined on Dec 2008 @ Eastleigh, Hampshire, UK
#375
Originally Posted by nosa101 View Post
Is there a way for witter to be sped up using a cache?
what sort of cache? cache what? sorry, i don't understand the question.
__________________
----------
N900
http://danielwould.wordpress.com
Check out Witter, a twitter client for N900
http://danielwould.wordpress.com/witter

If Witter isn't working for you, eg crashes/doesn't start, gives errors etc etc. Please run it from x-term using:
run-standalone.sh python2.5 /opt/witter/witter.py

This will generate diagnostic output. Without this I cannot help you.
 
Posts: 159 | Thanked: 27 times | Joined on Sep 2009 @ Toronto
#376
love the app and monochrome theme.

keep up the good work sir. also, any plans on making a portrait version?
__________________
Habib Q
http://www.flickr.com/photos/evil_m0nkey/
http://habibqureshi.tumblr.com/

Everytime you don't click on my blog, I kill a kitten
 
dwould's Avatar
Posts: 529 | Thanked: 262 times | Joined on Dec 2008 @ Eastleigh, Hampshire, UK
#377
Originally Posted by evil_m0nkey View Post
love the app and monochrome theme.

keep up the good work sir. also, any plans on making a portrait version?
not as such, haven't really given it much thought. I guess it would depend on how much of a pain it would be to re-layout things.
Probably not going to do much for a week or two, will have to think about what the next thing on my list is when I have time again.
__________________
----------
N900
http://danielwould.wordpress.com
Check out Witter, a twitter client for N900
http://danielwould.wordpress.com/witter

If Witter isn't working for you, eg crashes/doesn't start, gives errors etc etc. Please run it from x-term using:
run-standalone.sh python2.5 /opt/witter/witter.py

This will generate diagnostic output. Without this I cannot help you.
 
Posts: 1,667 | Thanked: 561 times | Joined on Feb 2010
#378
Originally Posted by dwould View Post
what sort of cache? cache what? sorry, i don't understand the question.
you know the way websites boot up faster because some data has been stored? Something like that

It might not be possible though

on startup, witter loads up tweets like new even if i had it it running like 5 mins ago.
Is there a way for witter to show you the old tweets until the new ones appear?
 
dwould's Avatar
Posts: 529 | Thanked: 262 times | Joined on Dec 2008 @ Eastleigh, Hampshire, UK
#379
Originally Posted by nosa101 View Post
you know the way websites boot up faster because some data has been stored? Something like that

It might not be possible though

on startup, witter loads up tweets like new even if i had it it running like 5 mins ago.
Is there a way for witter to show you the old tweets until the new ones appear?
In theory witter could persist tweets to disc and reload them at startup, however that's an overhead in itself, and leads to questions like how many do you store, how and when do you clean up etc etc.
it's not something I'd consider a speed improvement as such, though it would in theory be faster to seeing a tweet (depending on the cost of loading the data back into memory), but only to seeing a tweet you've already seen.

to be honest it is not high on my list of things to add.
__________________
----------
N900
http://danielwould.wordpress.com
Check out Witter, a twitter client for N900
http://danielwould.wordpress.com/witter

If Witter isn't working for you, eg crashes/doesn't start, gives errors etc etc. Please run it from x-term using:
run-standalone.sh python2.5 /opt/witter/witter.py

This will generate diagnostic output. Without this I cannot help you.
 
Posts: 1,667 | Thanked: 561 times | Joined on Feb 2010
#380
The Twitter for blackberry app claims in app caching improves performance
 
Reply

Tags
python, twitter


 
Forum Jump


All times are GMT. The time now is 21:36.