maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   Info about Calc app! (https://talk.maemo.org/showthread.php?t=3862)

saxen 2007-01-06 13:50

Info about Calc app!
 
hi mates, i'm new here!! i've just get my new 770...i'm loving it...! :p
i've a req for u.....!!

Do u know if exist a Calculator with graph for maemo 2.x???:confused: :confused:
i've already tried free42, but it can't solve function with graph...:(

i hope u will help me...i really need it...:)

congratulation for this forum...it's so usefull...;)

bye



PS. sorry for my bad english....:rolleyes:

ssam 2007-01-06 14:00

Re: Info about Calc app!
 
hi, i am the developer of lybniz.

there was a port of version 1.0 to the nokia 770, though it was not properly packaged up. if you download the version 1.3 source .tar.gz it is in the extras folder.

at some point i will make a proper port, but this will probably not be until the summer. I first want to split the code into a module, so that different version (eg desktop, maemo, workstation, highly customised) can be quickly built using glade. It could also do with a customised input method for tablets.

sam

saxen 2007-01-06 14:57

Re: Info about Calc app!
 
thanks a lot for this info...your app seems to be very interesting....it's really what i need!! BTW i've given i look at your website, and i've found lymniz-maemo_py file in app archive....but...i dunno how to use it...:(
i'm a newby here...!!

could tell me what i've to do??? plz help me..:)


Congratulation for this app...i hope u will release a final version as soon as possibile... :)

bye ;)

ssam 2007-01-06 16:11

Re: Info about Calc app!
 
for now you will have to rename that file to lybniz-maemo.py, copy it onto your 770, and run it from the command line.

Code:

python lybniz-maemo.py

saxen 2007-01-06 16:32

Re: Info about Calc app!
 
ok..i've open it...thanks...!!
now i'm tryng to make some graph...but it' so difficult... :confused:

i wrote three functions like the example in your websit..
y1=sin(x)
y2=cos(x)
y3=tan(x)

if i choose plot...the graph became all white..if i choose Evaluate i dunno what to do..
i've got
X=
y1=
y2=
y3=
every number i wrote on X=, i have in other form(y1,y2,y3( this message:
Error: name "sin" is no defined
Error: name "cos" is no defined
Error: name "tan" is no defined

:confused: :confused:




PS. i've a good graph with rational function... :)

ssam 2007-01-06 18:52

Re: Info about Calc app!
 
the older versions required you to put

Code:

math.sin(x)
if you added the line

Code:

from math import *
to the source code (with the other import lines) then you would not need to put the "math."

saxen 2007-01-07 03:33

Re: Info about Calc app!
 
yeah man...now it works very very well... :D
i've tried this:
http://www.teemuharju.net/2006/02/14...on-misc-notes/
to add this app on menu, but i've some problems creating the two links(last part of the tutorial), cos xterm say "no such file or directory"....i can't understand why it doesn't work....could help me??


thanks a lot for help...u are great... :) ;)

ssam 2007-01-07 11:54

Re: Info about Calc app!
 
that post is from February 2006, so i think it would be with the 2005 version of the OS. maybe one of the paths has changed slightly?

saxen 2007-01-07 13:54

Re: Info about Calc app!
 
Quote:

Originally Posted by ssam (Post 27921)
that post is from February 2006, so i think it would be with the 2005 version of the OS. maybe one of the paths has changed slightly?

:D :D
u are right...i've to change some folder...!
now i've it on menu...but when i try to open it...it say...
"loading lybniz..."
and nothing open... :(

plz help me if u can....thanks a lot mate... :p

saxen 2007-01-08 17:33

Re: Info about Calc app!
 
hi mate i've another question...
i'd like to digit ^ and not ** for exponent...2x and not 2*x....
is it possible??? :)

saxen 2007-01-09 14:25

Re: Info about Calc app!
 
UP!!!

anyone??? :S

ssam 2007-01-10 22:30

Re: Info about Calc app!
 
i am afraid i can't help with loading problem, maybe someone else knows.

recent version have can use "^" and "**", but they have not been ported to maemo. you are welcome to have a look through the source code and backport the changes into the maemo version if you want.

saxen 2007-01-11 00:03

Re: Info about Calc app!
 
thansk a lot mate....i will try as soon as possibile... :)
i hope it will work....btw i think i will change something in code...is it true??

ssam 2007-01-11 00:15

Re: Info about Calc app!
 
if you make progress playing with the code let me know. if you send me patches i can apply them.

yerga 2007-01-11 00:42

Re: Info about Calc app!
 
Hi.

I'm very interesting in this.
I might port the application to maemo, it looks like a simple but very useful application. I like it!

Tomorrow I will look the code and I will begin to port the app and make a package for 770/800.
I send you a patch with the changes that I do.

Best regards.

saxen 2007-01-11 13:48

Re: Info about Calc app!
 
ok i'll do....but in this period i've a lot of school tests so a i can't spend my time with it( i'd prefer it to school but i can't :D), i hope yerga could make it before me... :P


@yerga maemo port already exist...
here u can find .py file which include the fix about math suffix...
http://www.squallstar.it/public/329lybniz.zip
u should to fix the problem about ^/**(and other replacement) and if u can u should create a working desktop file to add it on menu(i've done it, and it appear on menu but it doesn't start :( )!!!

thanks a lot for attention... ;)

yerga 2007-01-11 16:49

Re: Info about Calc app!
 
Thanks for the link.
I have been looking this code and it seems that this .py works with the OS2005, into the OS2006 they changed some thing of python and the syntax is different in hildon module.

I say to port the new version 1.3 (http://lybniz2.sourceforge.net/) that already deletes the problem of ** and ^
Is a simple port and it will not go a lot of time, a couple of days as much.

Do not worry with the .desktop it's necessary to do a link to another file in order that it works. It will do automatically the package .deb

Sorry for my english, is too bad :)

Best Regards.

saxen 2007-01-11 22:18

Re: Info about Calc app!
 
ok thanks a lot...we all waiting it... :P
good work... ;)

yerga 2007-01-23 18:25

Re: Info about Calc app!
 
1 Attachment(s)
The first, you excuse me for being late in upload the package, I am with exams and with other projects and have a little time. Already it had modified it a few days ago but I haven't made the package.

Package is for Mistral, but with Scirocco, it should work. Also it's necessary have python2.4, for python2.5 I might do a package if it's necessary.
There is some way for made packages that it serves for python2.4 as python2.5?

I did the help page in html and it's opened by the browser.
This is late a bit in launching, I could consider to do a small dialog to show the help.

The keys that are used are defined in this help page.
I think that I put the best keys for every action but if you think in others then I change them.

To open with the images app the saved graph, this must avoid "graphic.png" or another name, but writing the .png suffix. I don't know if it will be possible do that saves it automatically with the .png suffix, I have to investigate a bit.

Any bug or feedback are welcome. I upload some screenshots to my flickr page: http://flickr.com/photos/13859810@N00/

Best Regards and sorry for my English I don't know if you understand me.

PS. This weekend I will send the patch in order that if the author considers opportune adds it.

saxen 2007-01-24 20:01

Re: Info about Calc app!
 
great work mate!! thanks a lot....it works well on my 770 with scirocco!! :P
i'm gonna have an accured test tomorrow...if i will find some bug i will tell u! :)

;)


All times are GMT. The time now is 20:00.

vBulletin® Version 3.8.8