v-play on opensuse 12.3

To install v-play game engine on opensuse 12.3:

 

  1. zypper install mesa-libgl-dev
  2. zypper addrepo http://download.opensuse.org/repositories/games/openSUSE_12.3/x86_64/ opensuse-games-x64
  3. zypper install libglfw-devel freeglut-devel libzip-devel

 

This step is only to resolve installation dependencies.You’ll probably have to change something to compile. Stay tuned

arduino and opensuse 12.3

I modified the arduino yast files for opensuse 12.3
Add to fritzing.yml


<group distversion="openSUSE 12.3">
        <name>Fritzing Installer For openSUSE 12.3</name>
        <summary>Installs Fritzing On Your System</summary>
        <description>
        This YaST Meta Package installs:
        * Fritzing

        Click "Customise" on the next screen to get the option to change the software selection.
    </description>
        <remainSubscribed/>
        <repositories>
            <repository recommended="true" format="auto">
                <name>openSUSE BuildService - Education</name>
                <summary>Applications for education users</summary>
                <description>Repository containing Fritzing and many other applications for educational purposes.</description>
                <url>http://download.opensuse.org/repositories/Education/openSUSE_12.3/</url>
            </repository>
        </repositories>
        <software>
            <item recommended="true">
                <name>fritzing</name>
                <summary>Intuitive EDA platform featuring from prototype to product</summary>
                <description>Fritzing is an open-source initiative to support designers, artists, researchers and hobbyists to take the step from physical prototyping to actual product. It is in the spirit of Processing and Arduino which allows users to document their Arduino and other electronic-based prototypes, and to create a PCB layout for manufacturing.</description>
            </item>
        </software>
    </group>

Add to arduino.yml


<group distversion="openSUSE 12.3">
        <name>Arduino IDE Installer For openSUSE 12.3</name>
        <summary>Installs the Arduino IDE On Your System</summary>
        <description>
        This YaST Meta Package installs:
        * Arduino IDE

        After installation, you must add each user to the groups: "dialout", "lock" and "uucp" in order for them to make use of the IDE.
        To to this, open YaST, select the "Security and Users" section and open the "User and Group Management" module.

        Click "Customise" on the next screen to get the option to change the software selection.
    </description>
        <remainSubscribed/>
        <repositories>
            <repository recommended="true" format="auto">
                <name>openSUSE BuildService - CrossToolchain (avr)</name>
                <summary>Crosscompiling Toolchain for ATMEL AVR microcontrollers</summary>
                <description>Repository containing the Arduino IDE and some related dependencies.</description>
                <url>http://download.opensuse.org/repositories/CrossToolchain:/avr/openSUSE_12.3/</url>
            </repository>
        </repositories>
        <software>
            <item recommended="true">
                <name>arduino</name>
                <summary>The open-source Arduino development environment</summary>
                <description>This integrated development environment makes it easy to write code and upload it to the Arduino board. It runs on Windows, Mac OS X, and Linux. The environment is written in Java and based on Processing, avr-gcc, and other open source software.</description>
            </item>
        </software>
    </group>

Mobile Autologin Pattern

I’m thinking if is usefull to use autologin pattern for mobile application. If i have a application that has need of authentication, is correct to give to user  the possibility of auto login and to give to user  the possibility to disable this function ?
A browser that remembers authentication info isn’t more secure (for me).

autologin1

Alice on SailfishOS

I ported my application “Alice” 0.1 (from BB10) to SailfishOS. The application is used to check the status of growth of children. Obviously, the execution Screenshots have taken on the emulator. The porting was fairly simple. One thing that  has misled me is that BB10 uses  selectedIndex for groupbox instead sailfish use currentIndex. To be an alpha version seems like a good start.

alicep1alicep2alicep3

LimeSurvey and Centos 6.2

If your LimeSurvey installation dosen’t send email (send e-mail failure) i suggest:

  • verify httpd_can_sendmail with /usr/sbin/getsebool httpd_can_sendmail
  • if httpd_can_sendmail is off to do sudo setsebool -P httpd_can_sendmail 1

The -P option is for persistent, otherwise next boot you must set it

 

SailfishOS SDK

Now is available SailfishOS SDK alpha version, the first impression is very good. Developing’ve found a bug in documentation of DatePickerDialog, Vesa-Matti Hartikainen suggest me to change the code in


 Button {
    id: button
    text: "choose a date"
    onClicked: {
       var dialog = pageStack.openDialog("Sailfish.Silica.DatePickerDialog", {
       year: 2012,
       month: 11,
       day: 23
      });

     dialog.accepted.connect(function() {
        button.text = "you chose: " + dialog.dateText
     })
     }
 }

and now it is ok.

VMware and fedora

If Vmware Player on Fedora (i have fedora 17)  doesn’t found kernel header (but you have installed it!),i suggest:

  1. cd /usr/src/kernels/$(uname -r)/include/linux/
  2. sudo ln -s /usr/include/linux/version.h version.h
  3. sudo /usr/bin/vmware-modconfig –icon=vmware-player –appname=VMware

Good luck ;

This year five Qt/Qml smartphone platform

Ubuntu yesterday presented own mobile platform. Ubuntu mobile has sdk  two sdks, one for the (over pumped) html5 and other with Qt/Qml. Also others platforms have this approach, for example BB10. Jolla will use Qt, furthermore Digia has announced Qt for IOS and Android in this year. All this should to be the dream of every Qt developer. Develop ui with qml (and rewrite it for any platform) and write once the logic in c++ or javascript. Everything can be improved, for example why haven’t same api all platform? I think that this is impossible for various reasons (technical, commercial, etc.) but something can done. Why is hovered in Ubuntu mobile and clicked in BB10 (and other) for the same event? With html5 we have the same api on all platform, thus i think that Qt5 for to be a viable alternative (if not better) to Html5 should change little things. Thanks Digia, Community and all those who develop with qt. I am in the game and I do not like to lose.

Portable Body

Martin Fowler talk in this article (“http://www.martinfowler.com/articles/mobileImplStrategy.html” )of portable body (slide 23). He talk thinking a web, i instead think to Qt/Qml, where Qml is the native gui and c++/javascript is the portable body. Is exsisting a benchmark between qml/Qt vs Hybrid(web+native; javascript+native) applications? For me this is an interesting point. If someone wants to help me in this comparison, I would be happy.