Posty

Wyświetlanie postów z 2012

Download Oracle Java from command line

wget --no-cookies --header "Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com" "http://download.oracle.com/otn-pub/java/jdk/7u9-b05/jdk-7u9-linux-i586.rpm"

Steve Jobs' 2005 Stanford Commencement Address

Obraz

Set up JBoss AS 5.1.0 and Seam 2.2.0 in Ubuntu 9.04

This post describes the steps I took to set up JBoss AS 5.1.0 and Seam 2.2.0 in Ubuntu 9.04 on my local machine.  This post assumes Ubuntu 9.04 is already installed.
1. List of Technologies Used

Ubuntu 9.04 Jaunty Jackalope Desktop 32-bit
Sun JDK 6
Eclipse 3.5 Galileo
JBoss Application Server (AS) 5.1.0 GA
Seam Engine 2.2.0 GA
MySQL 5.0
JBoss AS Tools 2.1.0-M2
Seam Tools 3.1.0-M3
Apache Ant 1.7.1

2. Installation Procedures
a. Sun JDK 6
Install Package
1. Open Synaptic Package Manager

2. Install package sun-java6-jdk and its dependencies
Set up Environment
1. Open ~/.profile with a text editor

2. Add environment variable JAVA_HOME to point to your Java directory

e.g. export JAVA_HOME = /usr/lib/jvm/java-6-sun-1.6.0.14

2. Update environment variable PATH to include your Java/bin directory

e.g. export PATH = $JAVA_HOME/bin:$PATH
b. Eclipse 3.5 Galileo
Install Package
1. Open URL http://www.eclipse.org/downloads/

2. Download the appropriate Eclipse IDE package

This post uses Eclipse 3.5 Galileo for Linux 32-bit

3. …

Android Bitmap quality, banding and dithering

http://www.curious-creature.org/2010/12/08/bitmap-quality-banding-and-dithering/

JDBC Driver Manager configuration for Derby and HSQLDB

Sample HSQLDB configuration

Class.forName("org.hsqldb.jdbcDriver");
String url = "jdbc:hsqldb:file:src/main/resources/db/db.hsqldb";
String username = "sa";
String password = "";
connection = DriverManager.getConnection(url, username, password);

Sample DERBY configuration

String url = "jdbc:derby:memory:INMEMORYDB;create=true";
connection = DriverManager.getConnection(url);

Opis zmian

Wersjonowanie jest potrzebne do rozróżnienia poszczególnych etapów prac nad daną rzeczą. Należy przyjąć, że będzie ono opisane liczbami które są zwiększane sekwencyjnie o 1. Opis ten oparty będzie na zestawie trzech liczb rozdzielonych kropkami X.X.X. Konkretny przykład jak to zrobić będzie opisany na wersjonowaniu API. Poszczególne liczby w wersjach zmieniamy według założeń:

Trzecią liczbę w wersji zwiększamy gdy poprawione zostały tylko błędy. Wywołania metod pozostają bez zmian i zwracane parametry pozostają bez zmian.
Drugą liczbę w wersji zwiększamy gdy dodane zostały nowe funkcjonalności i zmiany te utrzymują kompatybilność wstecz. Kod aplikacji które używają API nie wymaga zmian.
Pierwszą liczbę w wersji zwiększamy gdy zmiany które zostały wprowadzone nie utrzymują kompatybilność wstecz.

Odpowiednie zarządzenia wersją umożliwia optymalne realizacje celów na poszczególnych etapach rozwoju, ulepszania i utrzymania.

Temat ten można rozpatrywać w różnych kontekstach:

wersjonowanie projek…

Seven Guidelines For Designing High-Performance Mobile User Experiences

Obraz
A positive first impression is essential to relationships. People look for trust and integrity, and they expect subsequent encounters to reflect and reinforce their first impression. The same principles apply to brands and their products. Design plays an important role in building lasting relationships with end users and, thus, in supporting the brand’s promise.

Users expect mobile services to be relevant and user-friendly and to perform well. The limitations of the medium, however, impose significant challenges to designing products that meet all of those expectations. While often underestimated, performance is a crucial contributor to a trustworthy mobile user experience. Therefore, it should be considered a key driver in the design process.

In this article, we’ll discuss performance in relation to design and present seven guidelines that can help shape design decisions related to performance while accounting for the needs of end users and businesses. These guidelines are based on the…

Ubuntu DVB-T firmware

sudo apt-get install linux-firmware-nonfree

Asterisk communications project

Obraz
What is Asterisk?
Asterisk, the world's most popular open source communications project, is free, open source software that converts an ordinary computer into a feature-rich voice communications server. Asterisk makes it simple to create and deploy a wide range of telephony applications and services, including IP PBXs, VoIP gateways, call center ACDs and IVR systems.

Asterisk is released as open source under the GNU General Public License (GPL), and it is available for download free of charge. Asterisk® is the leading open source telephony project and the Asterisk community has been ranked as a key factor in the growth of VoIP.
What Does Asterisk Do?
Asterisk is like an erector set or a box of Legos for people who want to create communications applications. That's why we refer to it as a "tool-kit" or "development platform". Asterisk includes all the building blocks needed to create a PBX system, an IVR system or virtually any other kind of communications solut…

Jboss Mobicents

Obraz
Mobicents is the leading Open Source Cloud Communications Platform. It provides a runtime environment and comprehensive suite of tools for development, deployment and management of services integrating voice, video and messaging across a range of communications networks. Mobicents drives convergence of Web, Enterprise and Communications apps via the following enablers:



Mobicents JAIN-SLEE - a highly scalable event-driven application server with a robust component model and fault tolerant execution environment. Mobicents JAIN-SLEE is the first and only Open Source Platform compliant with JAIN-SLEE 1.1 (JSR 240). It provides a set of connectors to a variety of networks elements: SS7, MAP, TCAP, INAP, ISUP, XMPP, SIP, MGCP, HTTP, SMPP, XDM, XCAP and many others.
Mobicents Sip Servlets - an open platform for rapid development and deployment of SIP and Converged applications. The first open source implementation of SIP Servlets v1.1 (JSR 289). Mobicents SIP Servlets can run on top of Tomcat,…

Ubuntu 12.04 must have applications setup

VIM
sudo apt-get install vim

Google Chrome
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
sudo sh -c 'echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list'
sudo apt-get update
sudo apt-get install google-chrome-stable
sudo apt-get install -f

Adobe Flash
sudo apt-get install flashplugin-nonfree

Skype
http://www.skype.com/intl/en/get-skype/on-your-computer/linux/

Dropbox
http://www.dropbox.com/install?os=lnx

System Monitor
sudo apt-get install indicator-multiload

Dropbox
sudo apt-get install nautilus-dropbox

Inkscape
sudo apt-get install gimp inkscape

vlc
sudo apt-get install vlc