Posted by superuser
Mon, 17 May 2010 14:17:00 GMT
Στην εξαγορά της μικρότερης εταιρείας κατασκευής λογισμικού, Sybase Inc, έναντι 5,8 δισ. δολαρίων προχωρά η γερμανική SAP AG, σε μία κίνηση που της προσφέρει πρόσβαση σε τεχνολογία προγραμμάτων για «έξυπνα» κινητά.
«Θέλαμε να εξασφαλίσουμε ότι θα υπάρχει πρόσβαση σε εφαρμογές της SAP από όλες τις κορυφαίες συσκευές κινητών τηλεφώνων. Με την εξαγορά της Sybase το πετυχαίνουμε αυτό» τόνισε ο Τζιμ Χάγκεμαν Σνέιμπ, ένας εκ των διευθυνόντων συμβούλων της SAP.
Οι διοικήσεις των SAP και Sybase εξέφρασαν την πεποίθησή τους ότι η συμφωνία θα ολοκληρωθεί εντός του τρίτου τριμήνου του τρέχοντος έτους.
Πηγή: ΝΑΥΤΕΜΠΟΡΙΚΗ
Posted in News | Tags εξαγορά, sap, sybase | no comments
Posted by superuser
Fri, 26 Mar 2010 10:32:00 GMT
In a previous post i described how to install ruby 1.8 and 1.9 on win32 platforms using the rubyinstaller.
Here i’ll show you how to install one more implementation of ruby on win32 platforms (Windows XP / 7 tested!). I’m talking for jruby.
What is JRuby?
JRuby is a ruby implementation for the java virtual machine. You can execute all your ruby stuff using only the Java Virtual Machine(JVM), in the same way that Groovy, Scala, and Clojure are designed for the JVM.
This is incredibly useful because your unix admin rarely will install a Ruby VM for your needs in a server where there is nothing more than Java. I really love ruby and i have no time to master java, so jruby it’s a GREAT solution.
Jruby – at the moment – is the only solution to deploy a Ruby app on GAE (Google App Engine).
Installation
- Extract in your favorite place (i use C:\jruby-1.4.0)
- Set JRUBY_HOME variable in your jruby home dir (C:\jruby-1.4.0)
C:\>set JRUBY_HOME=C:\jruby-1.4.0
- Add JRUBY_HOME\bin in your environment path
C:\>path=%JRUBY_HOME%\bin;%PATH%
Check that C:\jruby-1.4.0\bin has been added in your path:
C:\>echo %PATH%
C:\jruby-1.4.0\bin;C:\Python25;C:\Ruby\bin;C:\MinGW\bin;c:\ora92\
bin;C:\Program Files\Oracle\jre\1.3.1\bin;C:\Program
Files\Oracle\jre\1.1.8\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\Program Files\Support Tools\;C:\j2sdk1.4.2_17\bin\;
That’s all! You’re ready to use your new ruby implementation in JVM.
C:\>jruby -v
jruby 1.4.0 (ruby 1.8.7 patchlevel 174) (2009-11-02 69fbfa3) (Java HotSpot(TM) C
lient VM 1.6.0_16) [x86-java]
Commands in Jruby: All the known commands in ruby are still valid, but you have to preceed them with jruby -S.
Posted in Ruby, Win32 | Tags jruby, Ruby, win32, Windows | no comments
Posted by superuser
Thu, 11 Mar 2010 12:26:00 GMT
This is a guide on how to install and configure MySQL for the Joomla environment. For the demonstrations of this article i use a FreeBSD-8 OS. The paths for the executables files and the paths where mysql holds the databases it may be different in your case. For example FreeBSD uses most executables scripts on /usr/local/bin/ , while Linux on /usr/bin or /usr/sbin. The rest remains the same.
Installing mysql
Nearly all operating systems have their own package manager. The installation is a straightforward process. You should have root privileges to make a complete installation in binary or to build from sources.
For example:
# sudo apt-get install mysql-server [DEBIAN/UBUNTU]
# pacman -S mysql [ARCHLINUX]
# yum install mysql mysql-server [REDHAT/FEDORA]
# make WITH_CHARSET=utf8 install clean [FreeBSD]
You should note that in the case of FreeBSD, i compile using
WITH_CHARSET=utf8
because mysql by default sets a
latin1 character encoding. If you install mysql using the default latin1 encoding but you intend to use
utf8 characters in your app, you'll be in trouble. Check what default character encodings use your distribution for mysql server. As far as i know, Archlinux ships with default utf8 encodings, while Fedora with latin1, as FreeBSD does.
Configuration of mysql
Immediately after the completion of your installation you must create the directory where your databases will be stored . Again with root privileges:
# /usr/local/bin/mysql_install_db
Check that the directory /var/db/mysql has been created with a lot of stuff inside. In some distributions this directory (/var/db/mysql) has not the appropriate permissions for the group and it's owned by root. We should change that, otherwise mysql server will deny to start.
# chgrp -R mysql /var/db/mysql
# chown -R mysql /var/db/mysql
Starting mysql & Setting the mysql-Root password
Let's start now the mysql server
# /usr/local/bin/mysqld_safe -user=mysql &
[1] 2783
localhost# Starting mysqld daemon with databases from /var/db/mysql
If you don't get an error at this step, you can be sure that mysqld daemon is up and running..
When you need to stop the server (don't do this now)
$ mysqladmin -u root -p shutdown
From now on, we have no need for system-root privileges, so use your ordinary user account.
In our last step before starting to work with MySQL, is to set the password for the mysql-root account (mysql-root account is not related in anyway with the system-root account of your OS. Are completely different concepts. The first is a mysql user, the later a system user. The only conceptual thing in common is that both have full privileges for their environment). Replace new password with your secret mysql-root password.
$ /usr/local/bin/mysqladmin -u root password newpassword
Creating the database
It's time to create my mysql database now, i call it "joodb" :
$ mysqladmin -u root -p create joodb
Enter password: [enter your mysql root password here]
Check now that your database has been created. Enter at your mysql client and ask to SHOW DATABASES;:
$ mysql -u root -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is xxx
Server version: 5.0.51a FreeBSD port: mysql-server-5.0.51a
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
mysql>show databases;
Your database list should include joodb. Fine! joodb database is ready to use, but for security issues mysql permits the usage of a db only by privileged mysql-users. Except the root mysql-user, we do not have created any other. Now i'll set the privileges to use "joodb" for a mysql-user named "joom" with password "ladin". This user will be automatically created during the setting of the privilege. The sensible data are "joodb"(database name), "joom"(mysql-username), "ladin"(mysql-password) and the domain "localhost".
mysql> grant all privileges on joodb.* to 'joom'@'localhost'
identified by 'ladin';
Query OK, 0 rows affected (0.09 sec)
mysql> flush privileges;
Query OK, 0 rows affected (0.05 sec)
mysql> \q
Bye
flush privileges enables the privilege and pressing \q you exit the client.
Our database now is ready to use by a mysql-user named joom. Connecting my Joomla application with this database it means simply that i have to provide these informations to the configuration file of Joomla. In the section Database Settingsof the configuration.php i simply set:
#--- configuration.php ---
/* Database Settings */
var $dbtype = 'mysql';
var $host = 'localhost';
var $user = 'joom';
var $password = 'ladin';
var $db = 'joodb';
var $dbprefix = 'jos_';
That's all! We have succesfully created and configured our mysql database, created our mysql-user, set up the privileges and connected at our joomla application. Fire up now with your extra-galactica application.
Posted in Unix | Tags joomla, MySQL, setup | no comments
Posted by superuser
Fri, 26 Feb 2010 08:41:00 GMT
Luis Lavena and the rubyinstaller group have made 2 very reliable versions of Ruby programming language for Windows platforms.
Unlike the old ruby installer, the 1.8.7 and 1.9.1 versions have been compiled with the MinGW compiler(v. 3.4.5) toolset. Easy installing for Windows is essential for the future of Ruby in the programming jungle, and RubyInstaller works perfectly good.
This article should be intended as a minimal guide to install both Ruby 1.8.7 and Ruby 1.9.1 on win32 platforms.
- Uninstall any previous installed Ruby version and remove the relative folders (for ex. C:\Ruby and/or C:\Ruby19 )
- Install Ruby 1.8.7-p249
- Accept the license (if you agree, of course)
- Select the destination path of your installation. (i use the default C:\Ruby). Below, in the same window
- Check the box Ruby executables to your PATH (IMPORTANT!) and “Associate .rb and .rbw files with this Ruby installation”
- Finish the installation

Ruby 1.8 is succesfully installed!
Now it’s time to install Ruby 1.9 .
- Install Ruby 1.9.1-p378
- Accept the license
- Select the destination path of your installation. (i use the default C:\Ruby19). Below, in the same window
- DO NOT select anything . Leave both check boxs unchecked.
- Finish the installation

Ruby 1.9 is succesfully installed!
To run Ruby 1.9 binaries you have to use absolute paths. C:\Ruby19\bin\whatever. That’s not so pretty!
To resolve this, i use an easy and smart method found on some discussions at the rubyinstaller google group.
The idea is to put some .bat (windows) scripts in the bin directory of the Ruby 1.8 installation to call internally the Ruby 1.9 binaries. In this way you do not have to add the Ruby 1.9 directory in your PATH env. variable. For my needs this work perfectly good.
In detail:
- Download Ruby-Bat.rar . Unrar it. Move the five included .bat files (gem19.bat, irb19.bat, rake19.bat, ri19.bat, ruby19.bat) in your ruby-1.8 (not 1.9) installation directory (in my case this is C:\Ruby\bin).
That’s all.
Open your command prompt and execute :
C:>irb19
C:>gem19 install rack
C:>ri19 array
C:>rake19 -h
It works!
If you want to know more, open with your favorite editor for example rake19.bat to see what’s inside:
@echo off
setlocal
set PATH=C:\Ruby19\bin;%WINDIR%\system32;%WINDIR%
ruby.exe -S rake %*
endlocal
If you need to make a custom ruby(v-1.9) binary just change the filename, substitute `rake` and save it in your ruby-1.8 (not 1.9) installation directory ( C:\Ruby\bin ). Not a perfect solution, but it just works as it should.
Posted in Ruby, Win32 | Tags install, Ruby, rubyinstaller, Windows | no comments
Posted by superuser
Thu, 31 Dec 2009 12:25:00 GMT
This is a collection of my working environment preferences including nearly everything: OS, Window Manager, Software, Editors, Mailserver, …
The idea for the creation of this list has been adopted from a Pistos’ gist
Environment
Software, Desktop
Software, Server
Programming
Posted in Unix, FreeBSD, Ruby | Tags preferences | no comments
Posted by superuser
Wed, 23 Dec 2009 07:35:00 GMT

Λίγο πριν το τέλος του έτους 2009 και δια στόματος του Jay Sullivan της οικογένειας Mozilla ανακοινώθηκε
πως σε λίγες ημέρες θα κυκλοφορήσει η έκδοση του δημοφιλέστερου παγκοσμίως φυλλομετρητή Firefox για κινητές συσκευές. Το όνομα αυτού θα είναι FENNEC και όπως αναφέρεται έχει ήδη δοκιμαστεί επιτυχώς στο Nokia N900 και σε άλλα “έξυπνα” κινητά. Αρχικά ο Fennec θα παίξει σε κινητές συσκευές με λειτουργικό Windows Mobile ή Android, και φυσικά όχι σε iPhone διότι η Apple επιτρέπει τη χρήση browser που βασίζονται μόνο στο Webkit, όπως ο Safari. Επομένως ο Safari δεν απειλείται, αντίθετα με τον Opera mini που θα πρέπει να αντιμετωπίσει το νεόφερτο Fennec (Firefox). |
Η καινοτομία που συνοδεύει την έκδοση του Fennec είναι η δυνατότητα συγχρονισμού μεταξύ desktop και κινητής συσκευής. Δηλαδή θα επιτρέπει στον χρήστη να έχει στην κινητή συσκευή του, τα ίδια δεδομένα / σελίδες που χρησιμοποιούσε στο desktop ή το φορητό του. Πέρα απ’αυτό ο Fennec θα είναι ο πρώτος browser κινητής συσκευής που θα φέρει ενσωματωμένες μικρές εφαρμογές, δηλαδή extensions . Περισσότερες πληροφορίες για τα extensions του Fennec δείτε εδώ και επισκεφτείτε αυτή τη συλλογή. |
Posted in News | Tags κινητές_συσκευές, fennec, Firefox, Mozilla | no comments
Posted by superuser
Sat, 05 Dec 2009 17:12:00 GMT
Η ομάδα Rubyst.es με χαρά ανακοινώνει την τρίτη συνάντηση των φίλων της Ruby την Πέμπτη 10 Δεκεμβρίου στις 6 το απόγευμα. Αυτή τη φορά έχουμε την τιμή να φιλοξενούμαστε στο Microsoft Innovation Center σε ένα εξαιρετικό χώρο με πολλή άνετη πρόσβαση για όλους. Θα προσπαθήσουμε να καλύψουμε θέματα για προχωρημένους και αρχάριους ενώ σε αυτή τη συνάντηση θα έχουμε μια ξεχωριστή σύνθεση ομιλητών από βετεράνους της Ruby και του Rails. Αναλυτικά:
Πέρα από τις κυρίως ομιλίες μας θα υπάρχει και μια σειρά μικρών, ολιγόλεπτων παρουσιάσεων και σας προσκαλούμε να παρουσιάσετε και εσείς αν το επιθυμείτε. Η λίστα ως προς το παρόν έχει ως εξής:
Σας περιμένουμε όλους την Πέμπτη 10/12 στις 6 το απόγευμα στο Microsoft Innovation Center (Βασ.Σοφίας 103, στάση Μετρό Μέγαρο Μουσικής)
Περισσότερα Rubyst.es , στην αντίστοιχη mailing list και στο Facebook group

Posted in News, Ruby | Tags Παρουσίαση, microsoft_innovation_center, Ruby, rubystes | no comments