|
2010-06-23
, 01:18
|
Posts: 401 |
Thanked: 724 times |
Joined on May 2010
@ Italy
|
#42
|
The Following User Says Thank You to realsportcars For This Useful Post: | ||
|
2010-06-23
, 01:32
|
Posts: 169 |
Thanked: 83 times |
Joined on Dec 2009
|
#43
|
|
2010-06-23
, 01:36
|
Posts: 401 |
Thanked: 724 times |
Joined on May 2010
@ Italy
|
#44
|
I don't know if I can help with the dictionaries at the moment but just wanted to say this will be a very useful app once it's fully functional!
|
2010-06-23
, 01:53
|
|
Posts: 722 |
Thanked: 1,223 times |
Joined on Apr 2010
@ USA
|
#45
|
|
2010-06-23
, 14:31
|
Posts: 401 |
Thanked: 724 times |
Joined on May 2010
@ Italy
|
#46
|
I would like to offer as an option for my application to use fastsms to send sms. Do you plan or have already implemented any dbus interfaces that I can use? I would just call a dbus method passing the phone number as a parameter. It is quite easy to implement the interface on qt.
thanks
Felipe
|
2010-06-23
, 15:22
|
|
Posts: 702 |
Thanked: 334 times |
Joined on Feb 2010
@ Israel.
|
#47
|
Hello! No, i haven't implemented a dbus interface and i don't know how do it. can you point me on some documents about it?
What about implement your app (also) as a standard library for fastsms?
|
2010-06-23
, 21:35
|
|
Posts: 722 |
Thanked: 1,223 times |
Joined on Apr 2010
@ USA
|
#48
|
Hello! No, i haven't implemented a dbus interface and i don't know how do it. can you point me on some documents about it?
What about implement your app (also) as a standard library for fastsms?
|
2010-06-23
, 23:36
|
|
Posts: 722 |
Thanked: 1,223 times |
Joined on Apr 2010
@ USA
|
#49
|
Hello! No, i haven't implemented a dbus interface and i don't know how do it. can you point me on some documents about it?
What about implement your app (also) as a standard library for fastsms?
The Following User Says Thank You to fcrochik For This Useful Post: | ||
|
2010-06-23
, 23:45
|
Posts: 401 |
Thanked: 724 times |
Joined on May 2010
@ Italy
|
#50
|
Just for "fun" and to see if I can get into the habit of, I created a quick and dirty pretend-to-be-tutorial @ http://maemo.crochik.com/qt-developm...dbus-interface
All that you probably will need is on the bottom of the page (links to nokia tutorials) but, if nothing else, it will be helpful to me to have it documented for when I forget...
I will have to deploy a new version of the application that supports the dbus signal and, depending on when you get yours ready, that can start yours. Please keep me posted on your progress and let me know if you need any help.
1) db: im quite close to finish a test implementation to test the speed. Bigger advantage is obviously nothing in memory (perhaps a little cache with more common words).
And with this solution i can add counter,boolean and what i need to ensure a reasonable order of the words.
2)multihashmap: this is the actual implementation.An improvement could be a "lazy-load": substitute words in it with pointers at the position of the words in the file, and brings the strings in memory only when pointers are resolved for inserting the word in the SMS. But in this way implementing a counter becomes more hard: not impossible but more hard and saving back the dictionaries means the merge between a file and a hashmap.
I'm not sure what you mean with:
"You could just use the DB for user added words and for the rest you can use an index tree in memory" but
starting dictionary are enough big to suppose that added words by users are not so many to justify a db.
IMHO i don't think that a tree is the solution:
2 nodes requires at least one pointer for moving in the tree (two if you want move back). key are 9: so each node have 9 pointers (or 18). medium length of words ( for examples) is 7 character. It brings to something like 9^7 > 4.782.969 extra pointers, only for moving in the tree!!! (that becomes 9milions for moving in two directiones)