Request for help: Would like community applications to show and discuss at LinuxWorld

38 messages Options Options
Embed this Post
Permalink
1 2
Michael Shiloh

Request for help: Would like community applications to show and discuss at LinuxWorld

Reply Threaded MoreMore options
Print post
Permalink
Hi,

When I talk about Openmoko, one of the points I make emphatically is
that the goal of the project is not to create a new cellphone, but
rather, that by being open, we allow and encourage innovation, and that
by working with you, the open source community, we tap into a huge pool
of imaginative, creative, very smart and hardworking innovators. I go on
to say that my personal dream is not to see a better way of syncing my
Neo to my desktop, or a better way to manage my SMS messages, but rather
to see new applications or new uses in areas that I can't even imagine
(and I have a pretty wild imagination).

Of course following a dramatic statement like this I often get asked
what are the cool applications and uses based on the Neo Openmoko.
Sadly, because I haven't had the time to try them out, I am actually
incredibly ignorant of what our community has done so far.

At Linuxworld in two weeks I will have perhaps half a dozen phones at
our two booths, and I would love to showcase on each of these one or
more of your creations.

So here is my plea: Help me decide which ones to put on there!

Things to consider, not necessarily in any order, and not necessarily
all required:

* Shows well in 5 seconds (for those who have no patience)
* Easy to install and get running
* Innovative, different, unusual
* Shows off the more uncommon hardware (GSP, accelerometers), although
these are of course becoming more common
* Any interesting FR-to-FR apps? Mr. Moore?
* In case we have poor connectivity, apps that don't require GSM/GPRS
* In case we have poor Wifi, apps that don't require Wifi

I encourage discussion of what apps would show well, but don't expect me
to make the decisions.

(Perhaps I can impose a little more on those of you who volunteered to
help at our booths to take a role in helping to decide which apps to
show - you have an incentive to do so since it will probably be you
doing the showing! Perhaps too you can install these on your Freerunners
and test and become familiar with them.)

Finally, if you are involved in or have heard of or have an idea for an
interesting project or use that can't be shown either because it
requires infrastructure (server, connectivity, etc.) or isn't ready yet,
please tell us about it so that we can discuss it with the public.
Remember, we've been immersed in this community for a year or more, and
what seems common to us is still new to most visitors.

Thanks,
Michael

_______________________________________________
Openmoko community mailing list
community@...
http://lists.openmoko.org/mailman/listinfo/community
Michele Renda

Re: Request for help: Would like community applications to show and discuss at LinuxWorld

Reply Threaded MoreMore options
Print post
Permalink
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Michael

I am just finishing my first application for the Freerunner. It is
python written and use gtk.

Are these toolkits allowed to the "campain"?

It is a very simple application, require no connectivity or big
resource, but I never saw something like this in a phone.

I will give more details in the list when it will be ready
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEYEARECAAYFAkiHY10ACgkQSIAU/I6SkT362ACdELiesLKpq40YyVx9BigvQGnL
9gkAn0sXrkb3j2ADB8bUPwAMGifV3x60
=W5xO
-----END PGP SIGNATURE-----

_______________________________________________
Openmoko community mailing list
community@...
http://lists.openmoko.org/mailman/listinfo/community
Michael Shiloh

Re: Request for help: Would like community applications to show and discuss at LinuxWorld

Reply Threaded MoreMore options
Print post
Permalink
Michele,

This sounds excellent.

I should add for all of you to consider: interesting is not just the
application, but perhaps the ease with which you were able to develop,
the convenience of testing, perhaps simply the inspiration of an open
phone. And the challenges and difficulties as well for that matter.

These all make excellent topics for discussion when skeptics ask me
what's so special about Openmoko.

So tell me your stories! They are valuable content for my talks.

Michael

Michele Renda wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi Michael
>
> I am just finishing my first application for the Freerunner. It is
> python written and use gtk.
>
> Are these toolkits allowed to the "campain"?
>
> It is a very simple application, require no connectivity or big
> resource, but I never saw something like this in a phone.
>
> I will give more details in the list when it will be ready
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (GNU/Linux)
> Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
>
> iEYEARECAAYFAkiHY10ACgkQSIAU/I6SkT362ACdELiesLKpq40YyVx9BigvQGnL
> 9gkAn0sXrkb3j2ADB8bUPwAMGifV3x60
> =W5xO
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> Openmoko community mailing list
> community@...
> http://lists.openmoko.org/mailman/listinfo/community

_______________________________________________
Openmoko community mailing list
community@...
http://lists.openmoko.org/mailman/listinfo/community
Michele Renda

Re: Request for help: Would like community applications to show and discuss at LinuxWorld

Reply Threaded MoreMore options
Print post
Permalink
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I hope this story will not put you all to smile too much because I don't
think it merit too much to be discussed at LinuxWorld :)

I and my girlfriend decided to have a baby. Until now we used a online
service that was telling us when is the best moment to get it.
The only problem was that usually we don't have always internet with us,
expecially when we need.

So, I decided to write an application for Freerunner that can help us: I
 *never* wrote an application for Linux. I knew only Java / VB / PHP.

I watched around and I read that FreeRunner will support Python and
PyGtk: I decided to use it (gtk) becuase in my desktop I use gnome
(Ubuntu 8.04 and Fedora 9), and python because seem to be enougth easy.
I started to write it 3 days ago and now it is almost ready :)

I think it was a good choose for these reasons:

1. I had the possibility to write it using a complete and fully
documented language ( with google you can solve almost all the problems)

2. I can use my application also on my Desktop

3. I can use a high level - interpreted language that make programming
easier (and a bit less clean :)

I will receive my FreeRunner next week, but for now I am surprised how
look on Gnome.

I'd like to release it under GPL. For me was wonderful to know that in
three days I had the possibility to make my custom application, without
the need to use a particular language / toolkit, without need to pay a
lot of money for producer SDK, and to be able to give it to a my friend
without the need to upload it to a store!

This for me mean freedom and this is the added value of Openmoko Freerunner.


Michael Shiloh wrote:

> Michele,
>
> This sounds excellent.
>
> I should add for all of you to consider: interesting is not just the
> application, but perhaps the ease with which you were able to develop,
> the convenience of testing, perhaps simply the inspiration of an open
> phone. And the challenges and difficulties as well for that matter.
>
> These all make excellent topics for discussion when skeptics ask me
> what's so special about Openmoko.
>
> So tell me your stories! They are valuable content for my talks.
>
> Michael
>
> Michele Renda wrote:
> Hi Michael
>
> I am just finishing my first application for the Freerunner. It is
> python written and use gtk.
>
> Are these toolkits allowed to the "campain"?
>
> It is a very simple application, require no connectivity or big
> resource, but I never saw something like this in a phone.
>
> I will give more details in the list when it will be ready
>>
_______________________________________________
Openmoko community mailing list
community@...
http://lists.openmoko.org/mailman/listinfo/community

> _______________________________________________
> Openmoko community mailing list
> community@...
> http://lists.openmoko.org/mailman/listinfo/community

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEYEARECAAYFAkiHprYACgkQSIAU/I6SkT2UyQCfd/YP8pFQWTgECwXBrbt22fdt
AowAoIgXknByaL2VDNEG/zMh4Ts0MOP2
=tyeo
-----END PGP SIGNATURE-----

_______________________________________________
Openmoko community mailing list
community@...
http://lists.openmoko.org/mailman/listinfo/community
Michael Shiloh

Re: Request for help: Would like community applications to show and discuss at LinuxWorld

Reply Threaded MoreMore options
Print post
Permalink
That is a wonderful story. Thanks for sharing!

So, will the baby be named in some way for Openmoko :-)?

Thanks for the great story and the great smile, and best of luck!

Michael



Michele Renda wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> I hope this story will not put you all to smile too much because I don't
> think it merit too much to be discussed at LinuxWorld :)
>
> I and my girlfriend decided to have a baby. Until now we used a online
> service that was telling us when is the best moment to get it.
> The only problem was that usually we don't have always internet with us,
> expecially when we need.
>
> So, I decided to write an application for Freerunner that can help us: I
>  *never* wrote an application for Linux. I knew only Java / VB / PHP.
>
> I watched around and I read that FreeRunner will support Python and
> PyGtk: I decided to use it (gtk) becuase in my desktop I use gnome
> (Ubuntu 8.04 and Fedora 9), and python because seem to be enougth easy.
> I started to write it 3 days ago and now it is almost ready :)
>
> I think it was a good choose for these reasons:
>
> 1. I had the possibility to write it using a complete and fully
> documented language ( with google you can solve almost all the problems)
>
> 2. I can use my application also on my Desktop
>
> 3. I can use a high level - interpreted language that make programming
> easier (and a bit less clean :)
>
> I will receive my FreeRunner next week, but for now I am surprised how
> look on Gnome.
>
> I'd like to release it under GPL. For me was wonderful to know that in
> three days I had the possibility to make my custom application, without
> the need to use a particular language / toolkit, without need to pay a
> lot of money for producer SDK, and to be able to give it to a my friend
> without the need to upload it to a store!
>
> This for me mean freedom and this is the added value of Openmoko Freerunner.
>
>
> Michael Shiloh wrote:
>> Michele,
>>
>> This sounds excellent.
>>
>> I should add for all of you to consider: interesting is not just the
>> application, but perhaps the ease with which you were able to develop,
>> the convenience of testing, perhaps simply the inspiration of an open
>> phone. And the challenges and difficulties as well for that matter.
>>
>> These all make excellent topics for discussion when skeptics ask me
>> what's so special about Openmoko.
>>
>> So tell me your stories! They are valuable content for my talks.
>>
>> Michael
>>
>> Michele Renda wrote:
>> Hi Michael
>>
>> I am just finishing my first application for the Freerunner. It is
>> python written and use gtk.
>>
>> Are these toolkits allowed to the "campain"?
>>
>> It is a very simple application, require no connectivity or big
>> resource, but I never saw something like this in a phone.
>>
>> I will give more details in the list when it will be ready
> _______________________________________________
> Openmoko community mailing list
> community@...
> http://lists.openmoko.org/mailman/listinfo/community
>
>> _______________________________________________
>> Openmoko community mailing list
>> community@...
>> http://lists.openmoko.org/mailman/listinfo/community
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (GNU/Linux)
> Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
>
> iEYEARECAAYFAkiHprYACgkQSIAU/I6SkT2UyQCfd/YP8pFQWTgECwXBrbt22fdt
> AowAoIgXknByaL2VDNEG/zMh4Ts0MOP2
> =tyeo
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> Openmoko community mailing list
> community@...
> http://lists.openmoko.org/mailman/listinfo/community

_______________________________________________
Openmoko community mailing list
community@...
http://lists.openmoko.org/mailman/listinfo/community
Jeffrey Malone

Re: Request for help: Would like community applications to show and discuss at LinuxWorld

Reply Threaded MoreMore options
Print post
Permalink
I'm writing a wifi connection program:
http://wiki.openmoko.org/wiki/Lint-wifi
My absolute deadline for getting this finished is LinuxWorld, but I fully expect it to be mostly done in a week or less (I only started writing it Sunday night and people are beta testing it already).
Also, seeing as I'm one of the volunteers at LinuxWorld, I'll see you there!

Jeffrey Malone

On Wed, Jul 23, 2008 at 3:09 PM, Michael Shiloh <michael@...> wrote:
That is a wonderful story. Thanks for sharing!

So, will the baby be named in some way for Openmoko :-)?

Thanks for the great story and the great smile, and best of luck!

Michael



Michele Renda wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> I hope this story will not put you all to smile too much because I don't
> think it merit too much to be discussed at LinuxWorld :)
>
> I and my girlfriend decided to have a baby. Until now we used a online
> service that was telling us when is the best moment to get it.
> The only problem was that usually we don't have always internet with us,
> expecially when we need.
>
> So, I decided to write an application for Freerunner that can help us: I
>  *never* wrote an application for Linux. I knew only Java / VB / PHP.
>
> I watched around and I read that FreeRunner will support Python and
> PyGtk: I decided to use it (gtk) becuase in my desktop I use gnome
> (Ubuntu 8.04 and Fedora 9), and python because seem to be enougth easy.
> I started to write it 3 days ago and now it is almost ready :)
>
> I think it was a good choose for these reasons:
>
> 1. I had the possibility to write it using a complete and fully
> documented language ( with google you can solve almost all the problems)
>
> 2. I can use my application also on my Desktop
>
> 3. I can use a high level - interpreted language that make programming
> easier (and a bit less clean :)
>
> I will receive my FreeRunner next week, but for now I am surprised how
> look on Gnome.
>
> I'd like to release it under GPL. For me was wonderful to know that in
> three days I had the possibility to make my custom application, without
> the need to use a particular language / toolkit, without need to pay a
> lot of money for producer SDK, and to be able to give it to a my friend
> without the need to upload it to a store!
>
> This for me mean freedom and this is the added value of Openmoko Freerunner.
>
>
> Michael Shiloh wrote:
>> Michele,
>>
>> This sounds excellent.
>>
>> I should add for all of you to consider: interesting is not just the
>> application, but perhaps the ease with which you were able to develop,
>> the convenience of testing, perhaps simply the inspiration of an open
>> phone. And the challenges and difficulties as well for that matter.
>>
>> These all make excellent topics for discussion when skeptics ask me
>> what's so special about Openmoko.
>>
>> So tell me your stories! They are valuable content for my talks.
>>
>> Michael
>>
>> Michele Renda wrote:
>> Hi Michael
>>
>> I am just finishing my first application for the Freerunner. It is
>> python written and use gtk.
>>
>> Are these toolkits allowed to the "campain"?
>>
>> It is a very simple application, require no connectivity or big
>> resource, but I never saw something like this in a phone.
>>
>> I will give more details in the list when it will be ready
> _______________________________________________
> Openmoko community mailing list
> community@...
> http://lists.openmoko.org/mailman/listinfo/community
>
>> _______________________________________________
>> Openmoko community mailing list
>> community@...
>> http://lists.openmoko.org/mailman/listinfo/community
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (GNU/Linux)
> Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
>
> iEYEARECAAYFAkiHprYACgkQSIAU/I6SkT2UyQCfd/YP8pFQWTgECwXBrbt22fdt
> AowAoIgXknByaL2VDNEG/zMh4Ts0MOP2
> =tyeo
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> Openmoko community mailing list
> community@...
> http://lists.openmoko.org/mailman/listinfo/community

_______________________________________________
Openmoko community mailing list
community@...
http://lists.openmoko.org/mailman/listinfo/community


_______________________________________________
Openmoko community mailing list
community@...
http://lists.openmoko.org/mailman/listinfo/community
Michele Renda

Re: Request for help: Would like community applications to show and discuss at LinuxWorld

Reply Threaded MoreMore options
Print post
Permalink
In reply to this post by Michael Shiloh
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Michael Shiloh wrote:
> That is a wonderful story. Thanks for sharing!
>
> So, will the baby be named in some way for Openmoko :-)?
>
> Thanks for the great story and the great smile, and best of luck!
>
> Michael

I don't know which will be his/her name, but for sure he/she will know
the story of Openmoko.

Here as attachment (I know it not to much nice to send attachments in a
ML, but are two very little text files :) there are the source of the
program I wrote.

Is not complete, I have still to work a lot on it, but may be someone
may be interested on it (any sugestion is welcome).


Michele Renda
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEYEARECAAYFAkiIvU0ACgkQSIAU/I6SkT17UQCeKQRk+nZOB3FlAcQ+o0wnyUWD
CIIAmgIIacXfl4CRygFaOD1zlQ4fL1w/
=mGPw
-----END PGP SIGNATURE-----

#       ogino.py
#      
#       Copyright 2008 Michele Renda <mic.renda@...>
#      
#       This program is free software; you can redistribute it and/or modify
#       it under the terms of the GNU General Public License as published by
#       the Free Software Foundation; either version 2 of the License, or
#       (at your option) any later version.
#      
#       This program is distributed in the hope that it will be useful,
#       but WITHOUT ANY WARRANTY; without even the implied warranty of
#       MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#       GNU General Public License for more details.
#      
#       You should have received a copy of the GNU General Public License
#       along with this program; if not, write to the Free Software
#       Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
#       MA 02110-1301, USA.
#!/usr/bin/env python



import datetime

class Ogino:
       
        UNKNOW =  -1
        MESTRUATION = 0
        NONE = 1
        LOW = 2
        HIGH = 3
       
        def __init__(self, start_date, duration_min, duration_max=None):
               
               
                self.start_date = start_date
               
                self.duration_min = duration_min
               
                if isinstance(duration_max, int):
                        self.duration_max = duration_max
                else:
                        self.duration_max = duration_min
                       
        def getStartDate(self):
               
                return self.start_date
               
        def getEndDateMin(self):
               
                return self.start_date + datetime.timedelta(self.duration_min)
               
        def getEndDateMax(self):
               
                return self.start_date + datetime.timedelta(self.duration_max)
               
               
        def getHighFertilityStartDate(self):
               
                return self.getEndDateMin()     - datetime.timedelta(16)
               
        def getHighFertilityEndDate(self):
               
                return self.getEndDateMax() - datetime.timedelta(12)
               
        def getLowFertilityStartDate(self):
               
                return self.getHighFertilityStartDate() - datetime.timedelta(3)
               
        def getLowFertilityEndDate(self):
               
                return self.getHighFertilityEndDate()   + datetime.timedelta(1)
               
        def getFertilityStatus(self, day):
               
                if day ==  self.getStartDate() or (day >= self.getEndDateMin() and day <= self.getEndDateMax()):
                        return self.MESTRUATION
                elif day >= self.getHighFertilityStartDate() and day <= self.getHighFertilityEndDate():
                        return self.HIGH
                elif day >= self.getLowFertilityStartDate()  and day <= self.getLowFertilityEndDate() :
                        return self.LOW
                elif day >= self.getStartDate() and day <= self.getEndDateMax():
                        return self.NONE
                else:
                        return self.UNKNOW
               
               
        def getFertilityStatusString(self, day):
               
                ris = self.getFertilityStatus(day)
               
                if   ris == self.UNKNOW:
                        return 'UNKNOW'
                elif ris == self.MESTRUATION:
                        return 'MESTRUATION'
                elif ris == self.NONE:
                        return 'NONE'
                elif ris == self.LOW:
                        return 'LOW'
                elif ris == self.HIGH:
                        return 'HIGH'
                else:
                        return '???'

#       ogino-gtk.py
#      
#       Copyright 2008 Michele Renda <michele@...>
#      
#       This program is free software; you can redistribute it and/or modify
#       it under the terms of the GNU General Public License as published by
#       the Free Software Foundation; either version 2 of the License, or
#       (at your option) any later version.
#      
#       This program is distributed in the hope that it will be useful,
#       but WITHOUT ANY WARRANTY; without even the implied warranty of
#       MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#       GNU General Public License for more details.
#      
#       You should have received a copy of the GNU General Public License
#       along with this program; if not, write to the Free Software
#       Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
#       MA 02110-1301, USA.
#!/usr/bin/env python

import pygtk
pygtk.require('2.0')
import gtk

import ogino
from datetime import datetime
from datetime import timedelta

class MessageWindow:
        def __init__(self):
                self.window = gtk.Window(gtk.WINDOW_TOPLEVEL)
                self.window.show()

        def main(self):
                gtk.main()
               
               
class MainWindow:
        def __init__(self):
                self.window = gtk.Window(gtk.WINDOW_TOPLEVEL)
                self.window.set_title("Ogino")
                self.window.resize(280, 380)
               
                self.window.connect("delete_event", self.delete)
                self.window.connect("destroy_event", self.destroy)


                menu = self.getMenu()
                input_box = self.getInputBox()

                self.main_vbox = gtk.VBox(False, 0)
                self.window.add(self.main_vbox)
               
                menu_box = gtk.HBox(False, 0)
                menu_box.pack_start(menu, True)
               
               
                self.main_vbox.pack_start(menu_box,  False, False);
                self.main_vbox.pack_start(input_box, False);
                #main_vbox.pack_start(table, False, False, 0);
               
                self.window.show_all()
               
        def getMenu(self):
               
                ui = gtk.UIManager()

                menu = '''<ui>
                <menubar name="MenuBar">
                  <menu action="File">
                        <menuitem action="Quit"/>
                  </menu>
                  <menu action="Edit">
                        <menuitem action="Preferences"/>
                  </menu>
                </menubar>
                </ui>'''
               
                accel_group = ui.get_accel_group()
                self.window.add_accel_group(accel_group)

                action_group = gtk.ActionGroup('Main')
                action_group.add_actions([
                                                                        ('Quit', gtk.STOCK_QUIT, '_Quit', None, 'Quit the Program', self.close),
                                                                        ('File', None, '_File'),
                                                                        ('Edit', None, '_Edit'),
                                                                        ('Preferences', gtk.STOCK_PREFERENCES, '_Preferences', '<Control>p', 'Edit preferences')])
               
                ui.insert_action_group(action_group, 0)
                ui.add_ui_from_string(menu)
               
                menu = ui.get_widget('/MenuBar')
                menu.show()
               
                return menu


               
        def getInputBox(self):
                hbox = gtk.HBox(False, 0)
               
                lbl1 = gtk.Label("Last cicle was on: (dd/mm/yyyy)")
               
                self.txt_start_date = gtk.Entry(10)
                self.txt_start_date.set_text('25/07/2008')
               
# lbl2 = gtk.Label("(DD/MM/YYYY)")
                lbl3 = gtk.Label("between two cicle there are")
               
                self.txt_duration_min = gtk.Entry(2)
                self.txt_duration_min.set_width_chars(4)
                self.txt_duration_min.set_text('28')
               
                lbl4 = gtk.Label("from")
                lbl5 = gtk.Label("to")
               
                self.txt_duration_max = gtk.Entry(2);
                self.txt_duration_max.set_width_chars(4)
                self.txt_duration_max.set_text('28')
               
                lbl6 = gtk.Label("days")
               
                self.table = None
               
                self.btn_calculate = gtk.Button("Calculate")
               
                self.btn_calculate.connect('button_release_event', self.btnCalculate, None)

               
               
                table = gtk.Table(5, 5, False)
               
                lbl1.set_alignment(0.0, 0.0)
                #lbl2.set_alignment(0.0, 0.0)

                table.attach(lbl1, 0, 5, 0, 1, gtk.SHRINK, gtk.SHRINK)
               
                table.attach(self.txt_start_date, 1, 4, 1, 2)
               
                table.attach(lbl3, 0, 5, 2, 3, gtk.SHRINK, gtk.SHRINK)
               
                table.attach(lbl4, 0, 1, 3, 4, gtk.SHRINK, gtk.SHRINK)
                table.attach(self.txt_duration_min, 1, 2, 3, 4, gtk.SHRINK, gtk.SHRINK)
                table.attach(lbl5, 2, 3, 3, 4, gtk.SHRINK, gtk.SHRINK)
                table.attach(self.txt_duration_max, 3, 4, 3, 4, gtk.SHRINK, gtk.SHRINK)
                table.attach(lbl6, 4, 5, 3, 4, gtk.SHRINK, gtk.SHRINK)
               
                table.attach(self.btn_calculate, 0, 5, 4, 5)
               
                #table.set_size_request(0,0)
                #table.size_allocate(gtk.gdk.Rectangle(width=100, height=100))

                return table
               
               
        def getTableBox(self, engine):
               
                self.start_date = engine.getStartDate()
                self.end_date   = engine.getEndDateMax()
               
                # I make the calculation of the first day I have to display and of the last day I have to display too.
               
                # First day of the week Monday
                self.view_start_date = datetime.strptime(self.start_date.strftime('%Y 1 %W'), '%Y %w %W')
                # First day of the week Sunday
                # self.view_start_date = datetime.strptime(self.start_date.strftime('%Y 0 %U'), '%Y %w %U')
               
                # First day of the week Monday
                self.view_end_date = datetime.strptime(self.end_date.strftime('%Y 0 %W'), '%Y %w %W')
                # First day of the week Sunday
                # self.view_end_date = datetime.strptime(self.start_end.strftime('%Y 6 %U'), '%Y %w %W')
               
               
               
                #gtk.gdk
               
               
                num_week = (self.view_end_date - self.view_start_date).days // 7
                table = gtk.Table(num_week + 1, 7, True) # +1 for week label
               
                i = 0;
                d = self.view_start_date
                while d >= self.view_start_date and d <= self.view_start_date + timedelta(6):
                        l = gtk.Label(d.strftime('%a'))
                        table.attach(l, i, i+1, 0, 1, gtk.SHRINK, gtk.SHRINK)
                        d = d + timedelta(1)
                        i = i + 1
                       
                       
                i = 0;
                d = self.view_start_date
                while d >= self.view_start_date and d <= self.view_end_date:
                        row = i // 7
                        col = i % 7
                       
                        b = gtk.Button(d.strftime('%d'));
                       
                        fertility = engine.getFertilityStatus(d)
                        if fertility == engine.MESTRUATION:
                                c = gtk.gdk.Color(65535,0,0)
                                b.modify_bg(gtk.STATE_NORMAL, c)
                                b.modify_bg(gtk.STATE_PRELIGHT, c)
                                b.modify_bg(gtk.STATE_ACTIVE, c)
                               
                        elif fertility == engine.NONE:
                                c = gtk.gdk.Color(34000,45000,65535)
                                b.modify_bg(gtk.STATE_NORMAL, c)
                                b.modify_bg(gtk.STATE_PRELIGHT, c)
                                b.modify_bg(gtk.STATE_ACTIVE, c)
                               
                        elif fertility == engine.LOW:
                                c = gtk.gdk.Color(32767,65535,32767)
                                b.modify_bg(gtk.STATE_NORMAL, c)
                                b.modify_bg(gtk.STATE_PRELIGHT, c)
                                b.modify_bg(gtk.STATE_ACTIVE, c)
                               
                        elif fertility == engine.HIGH:
                                c = gtk.gdk.Color(0,56000,0)
                                b.modify_bg(gtk.STATE_NORMAL, c)
                                b.modify_bg(gtk.STATE_PRELIGHT, c)
                                b.modify_bg(gtk.STATE_ACTIVE, c)
                               
                        b.set_size_request(40,40)
                       
                        if d.date() == datetime.today().date():
                                if b.get_use_stock():
                                        label = b.child.get_children()[1]
                                elif isinstance(b.child, gtk.Label):
                                        label = b.child
                                else:
                                        raise ValueError("button does not have a label")
                                                                       
                                label.set_markup('<b>' + d.strftime('%d') + '</b>')
                                #label.modify_font(pango.set_weight(pango.WEIGHT_BOLD))


 
                       
                        table.attach(b, col, col+1, 1+row, 1+row+1, gtk.SHRINK, gtk.SHRINK)
                        d = d + timedelta(1)
                        i = i + 1
               
               
               
                return table;
               
               
        def btnCalculate(self, widget, event, callback_data ):
               
                self.start_date = datetime.strptime(self.txt_start_date.get_text(), '%d/%m/%Y')
                self.duration_min   = int(self.txt_duration_min.get_text())
                self.duration_max   = int(self.txt_duration_max.get_text())
               
               
                self.engin = ogino.Ogino(self.start_date, self.duration_min, self.duration_max)
               
                if self.table is not None:
                        self.table.destroy()
               
                self.table = self.getTableBox(self.engin)
                self.main_vbox.pack_start(self.table, False, False, 0);
               
                self.table.show()
                self.window.show_all()
               
               
        def main(self):
                gtk.main()
               
        def close(self, widget, data=None):
                gtk.main_quit()
        def delete(self, widget, event, data=None):
                print "delete signal occurred"
                gtk.main_quit()
        def destroy(self, widget, data=None):
                print "destroy signal occurred"
                gtk.main_quit()

               
        def showMessage(self, message):
                self.window.set_title(message)

 


if __name__ == "__main__":
        MainWindow().main();

_______________________________________________
Openmoko community mailing list
community@...
http://lists.openmoko.org/mailman/listinfo/community
Marcos Mezo

Re: Request for help: Would like community applications to show and discuss at LinuxWorld

Reply Threaded MoreMore options
Print post
Permalink
In reply to this post by Michael Shiloh
>
>  So tell me your stories! They are valuable content for my talks.
>
First hello everybody, as it's the first post to the list.

I've been following this project since about 1 year, and as soon as the
Freerunner was on sale I ordered mine (2nd July) and I'm eagerly
awaiting it from Pulster's shop (hope it is sent tomorrow).

I have to say that I bought and had on my hands a Nokia N95 for about
100 Euros less than what I've payed for the Freerunner, and inspite of
having more features (camera) and beeing more proven I sold it on ebay
without even opening it cause I received it the same day I learned the
Freerunner was on sale.

As for my story,.I don't know if I will ever have the time for it, but I
envision the following:

For some years now I've been an "official" and scorer (sort of a judge)
for Hot Air Balloon competitions, and previously an "observer". Until
recently an "observer" followed each balloon in competitions either in a
car or on the balloon. The "tasks" a balloon has to fly are mostly going
as near as possible to a given set of targets some kilometers away from
where it launches. Remember hot air balloons can only climb or descend,
but otherwise flow in the wind. By changing heights they try to find the
winds and local airstreams that bring them as close to their target as
possible.

With the observers they had to throw a coloured marker when they thought
they were as close as possible to the target and then it was measured by
tape if close enough or on the map by reference.

Now (at least in national events; I think world and continental
championships still require observers) everything is measured using GPS
tracks (except on some targets where there is a measuring area of
~50-100m and they have to drop markers to be measured by a team). I'd
like to write an app that automaticaly sends the track live over GPRS to
the competition centre (if there is GPRS signal), and also that stores
it crypted on the phone so that it can't be altered. I also would like
to try to emulate the "marker dropping" by having some push buttons on
the screen the competior would had to push when he decides it's best,
because sometimes there are scoring areas where, if your "mark" is
outside of it, it isn't valid. With markers thrown, the competitor had
to decide if he drops the marker when he is about to leave the scoring
area of he will try to reenter later to have a better mark. With current
GPS rules this pilot decision is lost, as all trackpoints inside the
scoring area are measured.

Me trying it doesn't mean it will be adopted (that would mean every
competitor had to buy one FR or maybe the the national federation), but
maybe at least we will have something to show and who knows..... Of
course this can be made with any other phone with java and a GPS, but
still I prefer the FR.

Of course, even if I don't do anything of the above, I plan to using it
for sshing to some servers, maybe even VNC or Remote desktop, also for
openstreetmap and also as a SIP UA. And I almost forgot, also for fun!!!!

Marcos





_______________________________________________
Openmoko community mailing list
community@...
http://lists.openmoko.org/mailman/listinfo/community
Michael Shiloh

Re: Request for help: Would like community applications to show and discuss at LinuxWorld

Reply Threaded MoreMore options
Print post
Permalink


Marcos Mezo wrote:

>>  So tell me your stories! They are valuable content for my talks.
>>
> First hello everybody, as it's the first post to the list.
>
> I've been following this project since about 1 year, and as soon as the
> Freerunner was on sale I ordered mine (2nd July) and I'm eagerly
> awaiting it from Pulster's shop (hope it is sent tomorrow).
>
> I have to say that I bought and had on my hands a Nokia N95 for about
> 100 Euros less than what I've payed for the Freerunner, and inspite of
> having more features (camera) and beeing more proven I sold it on ebay
> without even opening it cause I received it the same day I learned the
> Freerunner was on sale.
>
> As for my story,.I don't know if I will ever have the time for it, but I
> envision the following:
>
> For some years now I've been an "official" and scorer (sort of a judge)
> for Hot Air Balloon competitions, and previously an "observer". Until
> recently an "observer" followed each balloon in competitions either in a
> car or on the balloon. The "tasks" a balloon has to fly are mostly going
> as near as possible to a given set of targets some kilometers away from
> where it launches. Remember hot air balloons can only climb or descend,
> but otherwise flow in the wind. By changing heights they try to find the
> winds and local airstreams that bring them as close to their target as
> possible.
>
> With the observers they had to throw a coloured marker when they thought
> they were as close as possible to the target and then it was measured by
> tape if close enough or on the map by reference.
>
> Now (at least in national events; I think world and continental
> championships still require observers) everything is measured using GPS
> tracks (except on some targets where there is a measuring area of
> ~50-100m and they have to drop markers to be measured by a team). I'd
> like to write an app that automaticaly sends the track live over GPRS to
> the competition centre (if there is GPRS signal), and also that stores
> it crypted on the phone so that it can't be altered. I also would like
> to try to emulate the "marker dropping" by having some push buttons on
> the screen the competior would had to push when he decides it's best,
> because sometimes there are scoring areas where, if your "mark" is
> outside of it, it isn't valid. With markers thrown, the competitor had
> to decide if he drops the marker when he is about to leave the scoring
> area of he will try to reenter later to have a better mark. With current
> GPS rules this pilot decision is lost, as all trackpoints inside the
> scoring area are measured.
>
> Me trying it doesn't mean it will be adopted (that would mean every
> competitor had to buy one FR or maybe the the national federation), but
> maybe at least we will have something to show and who knows..... Of
> course this can be made with any other phone with java and a GPS, but
> still I prefer the FR.
>
> Of course, even if I don't do anything of the above, I plan to using it
> for sshing to some servers, maybe even VNC or Remote desktop, also for
> openstreetmap and also as a SIP UA. And I almost forgot, also for fun!!!!
>
> Marcos


Another excellent story! Thanks for sharing Marcos, and I hope you find
the time to write the application.

Michael

_______________________________________________
Openmoko community mailing list
community@...
http://lists.openmoko.org/mailman/listinfo/community
Steve Mosher

RE: Request for help: Would like community applications to show anddiscuss at LinuxWorld

Reply Threaded MoreMore options
Print post
Permalink
In reply to this post by Michele Renda
Of course!!! Every toolkit  is allowed.

The whole point about FSO is to free people to pick their toolkit!

 

-----Original Message-----
From: community-bounces@...
[mailto:community-bounces@...] On Behalf Of Michele Renda
Sent: Wednesday, July 23, 2008 9:59 AM
To: List for Openmoko community discussion
Subject: Re: Request for help: Would like community applications to show
anddiscuss at LinuxWorld

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Michael

I am just finishing my first application for the Freerunner. It is python
written and use gtk.

Are these toolkits allowed to the "campain"?

It is a very simple application, require no connectivity or big resource,
but I never saw something like this in a phone.

I will give more details in the list when it will be ready -----BEGIN PGP
SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEYEARECAAYFAkiHY10ACgkQSIAU/I6SkT362ACdELiesLKpq40YyVx9BigvQGnL
9gkAn0sXrkb3j2ADB8bUPwAMGifV3x60
=W5xO
-----END PGP SIGNATURE-----

_______________________________________________
Openmoko community mailing list
community@...
http://lists.openmoko.org/mailman/listinfo/community


_______________________________________________
Openmoko community mailing list
community@...
http://lists.openmoko.org/mailman/listinfo/community
Marcus Bauer

RE: Request for help: Would like community applications to show anddiscuss at LinuxWorld

Reply Threaded MoreMore options
Print post
Permalink
On Mon, 2008-07-28 at 15:33 -0700, steve wrote:
> Of course!!! Every toolkit  is allowed.
>
> The whole point about FSO is to free people to pick their toolkit!

The opposite is true. FSO forces you into ASU. It basically makes all
work that has been put into OM2007.2 useless.

Please stop telling these lies.


_______________________________________________
Openmoko community mailing list
community@...
http://lists.openmoko.org/mailman/listinfo/community
Kristian 'kriss' Mueller

RE: Request for help: Would like community applications to show anddiscuss at LinuxWorld

Reply Threaded MoreMore options
Print post
Permalink
Am Dienstag, den 29.07.2008, 00:46 +0200 schrieb Marcus Bauer:
> On Mon, 2008-07-28 at 15:33 -0700, steve wrote:
> > Of course!!! Every toolkit  is allowed.
> >
> > The whole point about FSO is to free people to pick their toolkit!
>
> The opposite is true. FSO forces you into ASU. It basically makes all
> work that has been put into OM2007.2 useless.
>
> Please stop telling these lies.

Marcus, did I miss the irony here, or do you really believe this?

Why should anyone at Openmoko want to keep out other frameworks,
after even putting qtopia to X11?

Anyway, GTK applications are working just fine with the FSO image.


Greetings from Berlin
Kristian
--
/* Web:     http://www.mput.de  | Tel:    +49 (0)170/6692447      *
 * Blog:    http://mput.de/blog | ICQ:    93248497                *
 * GPG-ID:  4BBB6525 (..2009)   | Jabber: kristian@...        *
 * Twitter: kristian_m          | MSN:    mueller.kristian@... */


_______________________________________________
Openmoko community mailing list
community@...
http://lists.openmoko.org/mailman/listinfo/community
Kristian 'kriss' Mueller

Re: Request for help: Would like community applications to show and discuss at LinuxWorld

Reply Threaded MoreMore options
Print post
Permalink
In reply to this post by Michele Renda
Hi Michele

Am Mittwoch, den 23.07.2008, 18:59 +0200 schrieb Michele Renda:
> I am just finishing my first application for the Freerunner. It is
> python written and use gtk.

Nice decision! ;-)

If you want to use GTK in an FSO or ASU image you may want to
install the  Openmoko GTK theme first.

I've just written a step by step guide for that. See:
 http://wiki.openmoko.org/wiki/FSO#GTK


Have fun
Kristian
--
/* Web:     http://www.mput.de  | Tel:    +49 (0)170/6692447      *
 * Blog:    http://mput.de/blog | ICQ:    93248497                *
 * GPG-ID:  4BBB6525 (..2009)   | Jabber: kristian@...        *
 * Twitter: kristian_m          | MSN:    mueller.kristian@... */


_______________________________________________
Openmoko community mailing list
community@...
http://lists.openmoko.org/mailman/listinfo/community
Marcus Bauer

RE: Request for help: Would like community applications to show anddiscuss at LinuxWorld

Reply Threaded MoreMore options
Print post
Permalink
In reply to this post by Kristian 'kriss' Mueller
On Tue, 2008-07-29 at 01:08 +0200, Kristian 'kriss' Mueller wrote:

> Am Dienstag, den 29.07.2008, 00:46 +0200 schrieb Marcus Bauer:
> > On Mon, 2008-07-28 at 15:33 -0700, steve wrote:
> > > Of course!!! Every toolkit  is allowed.
> > >
> > > The whole point about FSO is to free people to pick their toolkit!
> >
> > The opposite is true. FSO forces you into ASU. It basically makes all
> > work that has been put into OM2007.2 useless.
> >
> > Please stop telling these lies.
>
> Marcus, did I miss the irony here, or do you really believe this?

This is simply a matter of fact, not of believe. FSO is a shitty API
collection which is closely connected to ASU. Steve is a sales guy and
has not much clue of the underlying software, thus he simply repeats
what others told him.

The bad combination is NIH (not invented here) together with
almightyness thinking which results in all this religion here, making
people like you ask whether I "believe". I don't believe, I simply know.


> Why should anyone at Openmoko want to keep out other frameworks,
> after even putting qtopia to X11?

That was mostly Trolltech's work. And apart from that you technically
can't "keep out" any other toolkit because there is Linux below and X on
top of it.

But FSO combines plenty of different things into one collection of API's
and that is how the Microsoft world works and always did and which drove
so many developers to Linux. If I use Apache as webserver I can use
Konqueror, Opera, Safari or Firefox as browser. However, Microsoft has
more than once tried to tie Internet Explorer to IIS, giving it an
advantage over other browsers. Same goes for Microsoft Office and
Windows.

To make it clear (and to prevent Wolfgang Spraul from alluding to
incorrect assumptions in case he should answer me): I welcome both
qtopia on X11 and an ETK based desktop and ETK based applications on the
phone.

Linux is all about choice (and that is what freedom means): If I don't
want to, I don't have to. On my desktop computer I have a big choice of
window managers and they flawlessly work together with a big choice of
browsers and a big choice of webservers.

For all those teletubby fanbois who are now ready to jump on me: I'm the
developer of tangoGPS and have a decent clue what I'm talking about.

I'll ask you one question: why was there so much fighting in the free
software world about ODF versus Microsoft's OpenXML? I'll answer it for
you: because OpenXML ties people to MS Office.

FSO is the brainchild of Dr. Michael Lauer, fresh from the university's
ivory tower but lacking any industry experience. It is reinventing the
wheel and drains lots of ressources that are needed elsewhere inside of
Openmoko. It combines plenty of things out of which one is a new PIM API
based on dbus. This idea alone is worth to be mentioned every day for a
year on the dailyWTF website.

It is not about GTK or qt or ETK. It is about getting a working platform
out to users and developers. OM2007.2 was mostly there. It reminds me to
a joke:

        Two fools try to escape from a lunatics hospital. There are 100
        walls to climb over and so they start: 10, 20, 50, 90, 99. In
        that moment says the one to the other: 'Lets go back and do the
        last wall tomorrow'.

...have fun and enjoy life and start looking at the Neo what it is: a
tiny Linux computer with a GPS and a GSM modem. There is no sudden
revolution going to happen tomorrow.

Freedom is a synonym for choice. The choice for your keyboard, for your
window manager, for you applications, last not least for your gsmd.

FIC/Openmoko came to support Linux on their hardware platform in order
to give you this choice. Now it has changed into some religious
life-style thingy with phantasies of becoming tomorrows ubiquitious
lifestyle equipment. Linux definitely will be, Openmoko can be part of
it but thinking that Openmoko is the only parent is just megalomania.

Come down to earth, stop excusing hardware flaws with "open" and
"freedom", just sit down and fix them and Openmoko hardware will have a
bright future.

Best regards,
Marcus






_______________________________________________
Openmoko community mailing list
community@...
http://lists.openmoko.org/mailman/listinfo/community
Michele Renda

Re: Request for help: Would like community applications to show anddiscuss at LinuxWorld

Reply Threaded MoreMore options
Print post
Permalink
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Marcus Bauer wrote:

> FSO is the brainchild of Dr. Michael Lauer, fresh from the university's
> ivory tower but lacking any industry experience. It is reinventing the
> wheel and drains lots of ressources that are needed elsewhere inside of
> Openmoko. It combines plenty of things out of which one is a new PIM API
> based on dbus. This idea alone is worth to be mentioned every day for a
> year on the dailyWTF website.

If you think it is wasting resource please show us the way: OM need a
lot you experience. But please do it in a concrete way, else it is only
"smoke"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEYEARECAAYFAkiOvXUACgkQSIAU/I6SkT3H/QCeO/jqMv53nnjehUUOCZCQrVUG
a7wAn1QC9CcnWkSbNm16YVoFO2Y/3sho
=u6Aw
-----END PGP SIGNATURE-----

_______________________________________________
Openmoko community mailing list
community@...
http://lists.openmoko.org/mailman/listinfo/community
Kristian 'kriss' Mueller

RE: Request for help: Would like community applications to show anddiscuss at LinuxWorld

Reply Threaded MoreMore options
Print post
Permalink
In reply to this post by Marcus Bauer
Am Dienstag, den 29.07.2008, 08:23 +0200 schrieb Marcus Bauer:

> > > The opposite is true. FSO forces you into ASU. It basically makes
> all
> > > work that has been put into OM2007.2 useless.
> > >
> > > Please stop telling these lies.
> >
> > Marcus, did I miss the irony here, or do you really believe this?
> [..]
> FSO is the brainchild of Dr. Michael Lauer, fresh from the university's
> ivory tower but lacking any industry experience. It is reinventing the
> wheel and drains lots of ressources that are needed elsewhere inside of
> Openmoko. It combines plenty of things out of which one is a new PIM API
> based on dbus. This idea alone is worth to be mentioned every day for a
> year on the dailyWTF website.

Well, this is an interesting point. I've had the same doubt with DBUS.
But event driven programming is exactly what is needed for a battery
driven device. IMHO


> It is not about GTK or qt or ETK. It is about getting a working platform
> out to users and developers. OM2007.2 was mostly there.

You are right.

But said that, there is nothing we can do about the decision taken now.
And it was taken rather now than even later, because the developers knew
they could do better.


> It reminds me to
> a joke:
>
>         Two fools try to escape from a lunatics hospital. There are 100
>         walls to climb over and so they start: 10, 20, 50, 90, 99. In
>         that moment says the one to the other: 'Lets go back and do the
>         last wall tomorrow'.

Nice analogy. But FSO is not going back - but pauses to build a bigger
ladder.

Even if the idea behind FSO is to build everything from scratch - we can
still take all we've got with 2007.2 and just use it in FSO until the
newer, better approach is usable. (which will be in 2 or 3 months - if I
read the roadmap right)

I wasn't reading this list for months, but I find it a pity that guys
like you where ignored when designing FSO. IMHO GTK and the
Openmoko-GTK-theme have to be usable in FSO - and there has to be
support for the older daemons until the new ones are usable and
implemented in all apps.


Greetings from Berlin
Kristian
--
/* Web:     http://www.mput.de  | Tel:    +49 (0)170/6692447      *
 * Blog:    http://mput.de/blog | ICQ:    93248497                *
 * GPG-ID:  4BBB6525 (..2009)   | Jabber: kristian@...        *
 * Twitter: kristian_m          | MSN:    mueller.kristian@... */


_______________________________________________
Openmoko community mailing list
community@...
http://lists.openmoko.org/mailman/listinfo/community
Kristian 'kriss' Mueller

Re: Request for help: Would like community applications to show and discuss at LinuxWorld

Reply Threaded MoreMore options
Print post
Permalink
In reply to this post by Michael Shiloh
Hi Michael

Am Mittwoch, den 23.07.2008, 09:49 -0700 schrieb Michael Shiloh:
> [...]
> At Linuxworld in two weeks I will have perhaps half a dozen phones at
> our two booths, and I would love to showcase on each of these one or
> more of your creations.
>
> * Any interesting FR-to-FR apps?
> * In case we have poor connectivity, apps that don't require GSM/GPRS
> * In case we have poor Wifi, apps that don't require Wifi

I can prepare a version of PyPenNotes that shares a whiteboard using
transmission of handwriting via Bluetooth/Wlan. (The App was part of my
master thesis and will be released anyway)

Which image are you using?
Tell me a deadline.


Greetings from Berlin
Kristian
--
/* Web:     http://www.mput.de  | Tel:    +49 (0)170/6692447      *
 * Blog:    http://mput.de/blog | ICQ:    93248497                *
 * GPG-ID:  4BBB6525 (..2009)   | Jabber: kristian@...        *
 * Twitter: kristian_m          | MSN:    mueller.kristian@... */


_______________________________________________
Openmoko community mailing list
community@...
http://lists.openmoko.org/mailman/listinfo/community
John Lee

Re: Request for help: Would like community applications to show anddiscuss at LinuxWorld

Reply Threaded MoreMore options
Print post
Permalink
In reply to this post by Marcus Bauer
On Tue, Jul 29, 2008 at 08:23:29AM +0200, Marcus Bauer wrote:

> On Tue, 2008-07-29 at 01:08 +0200, Kristian 'kriss' Mueller wrote:
> > Am Dienstag, den 29.07.2008, 00:46 +0200 schrieb Marcus Bauer:
> > >
> > > The opposite is true. FSO forces you into ASU. It basically makes all
> > > work that has been put into OM2007.2 useless.
> > >
> > > Please stop telling these lies.
> >
> > Marcus, did I miss the irony here, or do you really believe this?
>
> This is simply a matter of fact, not of believe. FSO is a shitty API
> collection which is closely connected to ASU. Steve is a sales guy and
> has not much clue of the underlying software, thus he simply repeats
> what others told him.
>
> The bad combination is NIH (not invented here) together with
> almightyness thinking which results in all this religion here, making
> people like you ask whether I "believe". I don't believe, I simply know.

Part of my current work requires me to use fso daily.  It seems
strange that what I know seems to be different from what you know.

* fso does not force you to ASU or closely connected in any way.
  could you please elaborate?

  fso: an open specification dbus interface (freesmartphone.org)
       + a reference design (frameworkd, check git.freesmartphone.org)

  fso-image: fso + a reference python UI based on EFL.

  asu: a enlightenment WM for mobile phone (illume)
       + qtopia phone stack (not based on fso)
       + installer (EFL)
       + diversity (gps app based on EFL)
       + exposure (config app based on EFL)

the only similarity i can tell is EFL in fso-image.  but the fso
itself does NOT force you to use it, just the implemented reference UI
used it.  it's easy to do another reference UI with GTK.

> > Why should anyone at Openmoko want to keep out other frameworks,
> > after even putting qtopia to X11?
>
> That was mostly Trolltech's work. And apart from that you technically
> can't "keep out" any other toolkit because there is Linux below and X on
> top of it.
>
> But FSO combines plenty of different things into one collection of API's
> and that is how the Microsoft world works and always did and which drove
> so many developers to Linux. If I use Apache as webserver I can use
> Konqueror, Opera, Safari or Firefox as browser. However, Microsoft has
> more than once tried to tie Internet Explorer to IIS, giving it an
> advantage over other browsers. Same goes for Microsoft Office and
> Windows.

exactly what are tied together here?

i see the arguement here is probably 'fso makes anyone that wants to
develop on neo has to use this framework', but this is not true.  it
can make some developers' life easier but you don't have to use it.

for example, you can just run the ogpsd subsystem in frameworkd then
use phonekit + gsmd to handle gsm if you want.  on the other way
around, the frameworkd is just a reference design, anyone can take
libgsmd + gsmd to make the same interface on dbus.  any app on fso
will not notice.

> <snipped>
>
> FSO is the brainchild of Dr. Michael Lauer, fresh from the university's
> ivory tower but lacking any industry experience. It is reinventing the
> wheel and drains lots of ressources that are needed elsewhere inside of
> Openmoko. It combines plenty of things out of which one is a new PIM API
> based on dbus. This idea alone is worth to be mentioned every day for a
> year on the dailyWTF website.

could you explain why it's a WTF idea to have a PIM API on dbus?

> It is not about GTK or qt or ETK. It is about getting a working platform
> out to users and developers. OM2007.2 was mostly there. It reminds me to
> a joke:
>
>         Two fools try to escape from a lunatics hospital. There are 100
>         walls to climb over and so they start: 10, 20, 50, 90, 99. In
>         that moment says the one to the other: 'Lets go back and do the
>         last wall tomorrow'.
>
> ...have fun and enjoy life and start looking at the Neo what it is: a
> tiny Linux computer with a GPS and a GSM modem. There is no sudden
> revolution going to happen tomorrow.

there are technical reasons behind the re-implementation of gsm daemon
but I'm not the one to answer it.  I think the reason why you are
unhappy is that OM moved away from OM2007.2.  well,

1. you are obviously not the only one who felt this way.
2. that's a separate issue.

since OM will stick with fso in the foreseeable future, I think port
OM2007.2 app suites to fso is a logical move.  ogpsd is there based on
gypsy, and it should be just another backend of tangogps.

> Freedom is a synonym for choice. The choice for your keyboard, for your
> window manager, for you applications, last not least for your gsmd.

I like this sentence.  if most of the functionalities on my neo have a
unified dbus interface then i'm happy.  honestly i failed to see
anything wrong with this.


Regards,
John

> FIC/Openmoko came to support Linux on their hardware platform in order
> to give you this choice. Now it has changed into some religious
> life-style thingy with phantasies of becoming tomorrows ubiquitious
> lifestyle equipment. Linux definitely will be, Openmoko can be part of
> it but thinking that Openmoko is the only parent is just megalomania.
>
> Come down to earth, stop excusing hardware flaws with "open" and
> "freedom", just sit down and fix them and Openmoko hardware will have a
> bright future.
>
> Best regards,
> Marcus

_______________________________________________
Openmoko community mailing list
community@...
http://lists.openmoko.org/mailman/listinfo/community
Marcus Bauer

Re: Request for help: Would like community applications to show anddiscuss at LinuxWorld

Reply Threaded MoreMore options
Print post
Permalink
Hello John,

thanks for taking the time for writing your answer.

On Tue, 2008-07-29 at 18:38 +0800, John Lee wrote:

> Part of my current work requires me to use fso daily.  It seems
> strange that what I know seems to be different from what you know.
>
> * fso does not force you to ASU or closely connected in any way.
>   could you please elaborate?
>
>   fso: an open specification dbus interface (freesmartphone.org)
>        + a reference design (frameworkd, check git.freesmartphone.org)
>
>   fso-image: fso + a reference python UI based on EFL.
>
>   asu: a enlightenment WM for mobile phone (illume)
>        + qtopia phone stack (not based on fso)
>        + installer (EFL)
>        + diversity (gps app based on EFL)
>        + exposure (config app based on EFL)
>
> the only similarity i can tell is EFL in fso-image.  but the fso
> itself does NOT force you to use it, just the implemented reference UI
> used it.

As you note further down, OM is going to stick with FSO. Thus unless OM
is developing ASU just for fun, the assumption that it is being ported
to FSO seems more than vaild. Please correct me if I'm wrong there.

And as you note further down, phonekit needs to be ported, otherwise the
dialer and the sms-messages apps wont work any longer. This is not a
task one can do in an afternoon. Thus on the long run FSO effectively
forces to use ASU.

>   it's easy to do another reference UI with GTK.

If Openmoko has taught one thing then the following: "easy" is nothing.
Otherwise people would buy Neo's instead of iPhones now.


> exactly what are tied together here?

gsmd and FSO dbus. The gsmd is the core part of a phone and if that is
incompatible to the current OM2007.2 one then dialer and messages stop
working.

> for example, you can just run the ogpsd subsystem in frameworkd then
> use phonekit + gsmd to handle gsm if you want.

Which then will break ASU applications. And this is not how Linux works.
I can run Konqueror on GNOME or gimp in KDE or xfce or enlightenment.


>   on the other way
> around, the frameworkd is just a reference design, anyone can take
> libgsmd + gsmd to make the same interface on dbus.

Again: "anyone can take" is not true. Anyone can take a couple of
transistors and make an iPhone - not.


> could you explain why it's a WTF idea to have a PIM API on dbus?

1) eds has already been ported to dbus - so FSO is reinventing the wheel
2) the whole world uses libraries at application level because it
provides a nice abstraction layer (and so does EDS-dbus). the difference
between a bus and a library is similar to a water bottle and a water
pipeline in the end the both transport water but they serve different
purposes.


> there are technical reasons behind the re-implementation of gsm daemon
> but I'm not the one to answer it.

the gsmd works well. there is no technical reason.

>   I think the reason why you are
> unhappy is that OM moved away from OM2007.2.

I'm living next to Sophia Antipolis which is the french 'silicon valley'
with 1300 companies and 30,000 employees. The common opinion here is
that OM shows erratic and unpredictable behaviour which makes it
unsuitable for consideration as development platform.

That's simply a pity. Unless OM wants to do everything by themselves,
they need to care for external developers too in order to set up a
working eco system.


> since OM will stick with fso in the foreseeable future, I think port
> OM2007.2 app suites to fso is a logical move.

If at all I place my bet on GMAE and would not recommend using FSO but
sticking with OM2007.2 which will give a much better exit path towards
Limo, moblin etc.

>  ogpsd is there based on
> gypsy, and it should be just another backend of tangogps.

ogpsd should just offer the NMEA data on port 2947, thus keeping it
nicely network transparent. I'm not going to remove this functionality
from tangogps. Moreover the '800 pound gorilla' OM is developing its own
gps software and I'm not spending my energy competing with it.

OM2007.2 is there, it works and I recommend everybody to develop for it.

Best regards,
Marcus




_______________________________________________
Openmoko community mailing list
community@...
http://lists.openmoko.org/mailman/listinfo/community
Tim Coggins

Re: Request for help: Would like community applications to show anddiscuss at LinuxWorld

Reply Threaded MoreMore options
Print post
Permalink
On Tue, Jul 29, 2008 at 1:29 PM, Marcus Bauer <marcus.bauer@...> wrote:

> from tangogps. Moreover the '800 pound gorilla' OM is developing its own
> gps software and I'm not spending my energy competing with it.
>
> OM2007.2 is there, it works and I recommend everybody to develop for it.

Marcus, these two statements appear to contradict each other. Can you
confirm you will continue to work on tangoGPS?

In my opinion so far tangoGPS is the best and most mature application
which I've got to run the Freerunner. It would be a great shame for
the project to loose your leadership.

I tried the ASU yesterday, roughly following what has now been written
up in the "flash ASU" thread earlier today and as that thread details
it's broken at the moment. I plan to stick with 2007.2 until one clear
standard distribution is available and is kept in a reasonably stable
state.

Tim

_______________________________________________
Openmoko community mailing list
community@...
http://lists.openmoko.org/mailman/listinfo/community
1 2