Recent News

  2016/02/18
Codemotion Rome March 18 - 19
Last changed: Feb 18, 2016 11:26 by Bartolomeo Sorrentino
Labels: codemotion, conference

CodeMotion is the biggest tech conference in Europe, which includes tech sessions about all programming languages and all platforms.

Codemotion Conferences

Codemotion Youtube

Posted at 18 Feb @ 10:30 AM by Bartolomeo Sorrentino | 0 Comments
  2016/01/04
Markdown is enabling ... "Write once read everywhere"
Last changed: Jan 04, 2016 12:19 by Bartolomeo Sorrentino

Markdown revolution

Markdown format is rapidly spreading and its support is becoming a “must have” for the wiki provider and not only for them. From developers perspective the fact that GIthub supports flavour markdown has forced them to learn it (that is also my case) and currently the markdown know-how is considered a plus in development skill (assuming documentation as part of it).
However Markdown has dramatically simplified the way to write (especially) technical documentation, making such task pretty straightforward

Read more on original article >> here

Posted at 04 Jan @ 11:12 AM by Bartolomeo Sorrentino | 0 Comments
  2014/09/03
NEXT GEN ARCHITECTURE - Move from Java Tech. to JavaScript Tech.
Last changed: Sep 03, 2014 17:59 by Bartolomeo Sorrentino
Labels: architecture, enterprise, technology, javascript, nodejs, angularjs, mongodb

Introduction

The Information Technology is always moving on looking to the future. From software development perspective for a long time Java and .Net has ruled the Enterprise development, providing robust and reliable Architectures based on mature Technology Stack.

Now seems that the game is changing and is the Javascript that is driving this big change. Obviously all of us recognize Javascript as main actor in HTML5 technology but when  Node.js technology has took the field then the real change has started.

Summarizing...

The main objective of such next gen technologies is to fullfill the same requirements but doing it in much simpler & flexible way

Technology Stack Goals

In order to have a good Architecture we need to rely on a Technology Stack that accomplishes the basic goals outlined below:

  • Performance and scalability
  • Ease of use
  • Testability and testable system

 We have identified the "NEXT GEN ARCHITECTURE COMPONENTS" shown in the table below:

  Category Performance
and
Scalability
Ease of Use Testability
and
Testable system
Compatibility
with
Others
MongoDB Database High High Medium High
Nodejs Backend High High High High  
Angularjs Frontend Medium Medium High High

Blueprint

Conclusion

I've tested it and I strongly believe that such kind of Architecture will become fastly the Reference Architecture for Enterprise




Article inspired by hubba

Posted at 03 Sep @ 2:48 PM by Bartolomeo Sorrentino | 0 Comments
  2014/07/07
JITSI spin off 'libjitsi' to allow integration of secure audio video communication in java appliaction
Last changed: Jul 07, 2014 13:36 by Bartolomeo Sorrentino
Labels: sip, chat, video, java

What's is interesting

JITSI (aka sip communicator) is very complete open source java platform to make video chat and call.

The JITSI Team has decided to make available to third party java application their JITSI MEDIA LIBRARY under LGPL

This library provides:

  • Video capture and rendering on Windows, Mac OS X and Linux.
  • Video codecs: H.264 and H.263 (VP8 coming in early 2013)
  • Audio codecs: Opus, SILK, G.722, Speex, ilbc, G.711 (PCMU, PCMA), G.729 (get your licences first though).
  • Security: SRTP (with ZRTP or SDES)
  • RTP DTMF (RFC 2833/RFC 4733)
  • RTP audio levels (RFC 6465)
  • … and all other media features in Jitsi
You can download libjitsi at the following locations:
Further infos
Posted at 07 Jul @ 12:57 PM by Bartolomeo Sorrentino | 0 Comments
  2014/03/04
PlantText - The new Online UML Editor powered by PlantUML
Last changed: Mar 04, 2014 13:32 by Bartolomeo Sorrentino
Labels: uml, plantuml, planttext, cloud

At beginning "PlantUML Server"

As states in a previous article "PlantUML - a DSL for creating UML Diagrams", PlantUML is a great way to create & share UML diagrams quickly & easily.

PlantUML already provided a sort of "cloud solution" named "PlantUML Server" which was mostly a kind of "Proof Of Concept" to give an idea of its functionalities

And finally "PlantText"

Continue to original post >>

Posted at 04 Mar @ 1:08 PM by Bartolomeo Sorrentino | 0 Comments
  2014/02/02
git svn Broken in Mavericks (or Mountain Lion)
Last changed: Feb 02, 2014 18:50 by Bartolomeo Sorrentino
Labels: git, svn, maverick

To allow use git connecting to subversion server there is a package called git-svn which includes connectors between the two systems. Upon upgrading to the Mavericks, git svn stopped working with the following error

$ git svn clone ....

Can't locate SVN/Core.pm in @INC (@INC contains: /usr/local/Cellar/git/1.8.4/lib /Library/Perl/5.16/darwin-thread-multi-2level /Library/Perl/5.16 /Network/Library/Perl/5.12/darwin-thread-multi-2level /Network/Library/Perl/5.16 /Library/Perl/Updates/5.16.4 /System/Library/Perl/5.16/darwin-thread-multi-2level /System/Library/Perl/5.16 /System/Library/Perl/Extras/5.16/darwin-thread-multi-2level/System/Library/Perl/Extras/5.16 .) at /usr/local/Cellar/git/1.8.4/libexec/git-core/git-svn line 41.

The problem here is that the git svn command requires Perl libraries that aren’t linked in Mavericks (or Mountain Lion). So, we’ll have to manually link them. Run the following in your terminal to link the library:

$ sudo ln -s  /Applications/Xcode.app/Contents/Developer/Library/Perl/5.16/darwin-thread-multi-2level/SVN /System/Library/Perl/Extras/5.16/SVN

Now when you run git svn clone you will likely be presented with a different error. This is good because it indicates progress! But obviously poor because it’s not working.

$ git svn clone ....

Can't locate loadable object for module SVN::_Core in @INC (@INC contains: /usr/local/Cellar/git/1.8.4/lib /Library/Perl/5.16/darwin-thread-multi2level /Library/Perl/5.16 /Network/Library/Perl/5.16/darwin-thread-multi-2level /Network/Library/Perl/5.16 /Library/Perl/Updates/5.16.4 /System/Library/Perl/5.16/darwin-thread-multi-2level /System/Library/Perl/5.16 /System/Library/Perl/Extras/5.16/darwin-thread-multi-2level /System/Library/Perl/Extras/5.16 .) at /System/Library/Perl/Extras/5.16/SVN/Base.pm line 59 BEGIN failed--compilation aborted at /System/Library/Perl/Extras/5.16/SVN/Core.pm line 5. Compilation failed in require at /usr/local/Cellar/git/1.8.4/libexec/git-core/git-svn line 41.

So now it appears it can find the Subversion core, but cannot find some other libraries it requires. Issue the following command to remedy this:

$ sudo ln -s /Applications/Xcode.app/Contents/Developer/Library/Perl/5.16/darwin-thread-multi-2level/auto/SVN/ /System/Library/Perl/Extras/5.16/auto/SVN

After that all shold be on the way

For further detail please take a look to original article here

Posted at 02 Feb @ 6:16 PM by Bartolomeo Sorrentino | 0 Comments
  2013/10/06
How To Set $JAVA_HOME Environment Variable On Mac OS X
Last changed: Oct 06, 2013 22:23 by Bartolomeo Sorrentino
Labels: java, macosx

In this article we show you how to set $JAVA_HOME environment variable on Mac OSX 10.5 or later.

Set the $JAVA_HOME variable to /usr/libexec/java_home, just export $JAVA_HOME in file ~/. bash_profile or ~/.profile as shown below

 
$ vim .bash_profile 
 
export JAVA_HOME=$(/usr/libexec/java_home)
 
$ source .bash_profile
 
$ echo $JAVA_HOME
/Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home

Orginal Article from Mkyong.com

Posted at 06 Oct @ 9:51 PM by Bartolomeo Sorrentino | 0 Comments
  2013/10/02
My Personal Blog on Blogger
Last changed: Oct 02, 2013 11:45 by Bartolomeo Sorrentino
Reasons
From Apr 15, 2013 i've moved my personal blog at blogger , in order to inherit all services provided by google.
Idea is to keep in confluence, complex and ongoing articles (e.g GIT EXPERIENCE), while in blogger just one-shot ones
Posted at 02 Oct @ 11:23 AM by Bartolomeo Sorrentino | 0 Comments
  2012/07/26
JMX over HTTP + JSON
Last changed: Jul 26, 2012 21:56 by Bartolomeo Sorrentino
Labels: jmx, jsr160, http, json

You agreed with me that Monitoring & Control of application is a core feature.

Java Management Extension (JMX)

JMX is the standard to Monitor & Control java application. JMX API is defined and under maintenance release of the Java Specification Request (JSR) number 3. JMX defines the API for management of Java applications, and those API are local to the application.

JSR 160 (JMX Remoting)

To fill this gap, JSR 160 extends JSR 3 by providing a standard API to connect to remote JMX-enabled applications.
Currently, JSR 160 has defined a mandatory connector based on RMI (that supports both RMI/JRMP and RMI/IIOP), and an optional one based on sockets and Java serialization (JMXMP).

The Jolokia project

Jolokia is a JMX-HTTP bridge giving an alternative to JSR-160 connectors. It is an agent based approach with support for many platforms. In addition to basic JMX operations it enhances JMX remoting with unique features like bulk requests and fine grained security policies. Read More ... >>

Posted at 26 Jul @ 9:44 PM by Bartolomeo Sorrentino | 0 Comments
  2012/03/28
iPhone KeyChain 1.5 Video about Drag & Drop Features
Last changed: Mar 28, 2012 19:59 by Bartolomeo Sorrentino

KeyChain 1.5

The new release 1.5 of KeyChain, the iPhone App provided by Softphone in Open Source, will be released soon. Below, the video to show the new Drag & Drop features

Video from YouTube

http://www.youtube.com/watch?v=XjLJTewcSuA

Video from Camtasia

http://www.screencast.com/t/jcBXtdv6Ba

Posted at 28 Mar @ 7:33 PM by Bartolomeo Sorrentino | 0 Comments
  2012/03/19
Do u want validate phone numbers ? Google help you.
Last changed: Mar 19, 2012 20:53 by Bartolomeo Sorrentino
Labels: google, phone, validation

Solve the problem

Solve the problem

During my day by day work i had the problem to validate phone numbers. I tried to work with regular expression but soon i have had a lot of problem to deal with this topic ... in particular about localization.

Fortunately i have find out (through the mytical "stackoverflow") the google project LIBPHONENUMBER that solves a lot of problems and more ...

Posted at 19 Mar @ 8:49 PM by Bartolomeo Sorrentino | 0 Comments
  2012/02/23
Some Of The Best Chrome Apps For Web Develper - Postman
Last changed: Feb 23, 2012 08:57 by Bartolomeo Sorrentino
Labels: chrome, webstore, app, extension, rest

Description

Postman is a tool to help developers work with APIs more efficiently and avoid repetitive steps.
Postman is a powerful HTTP REST client to help developers work with APIs more efficiently.

Chrome Web Store

https://chrome.google.com/webstore/detail/fdmmgilgnpjigdojojpjoooidkmcomcm?utm_source=chrome-ntp-icon

Posted at 23 Feb @ 9:02 AM by Bartolomeo Sorrentino | 0 Comments
  2012/01/31
OAuth explained - sequence diagram
Last changed: Jan 31, 2012 10:52 by Bartolomeo Sorrentino

Introduction

OAuth (Open Authentication) is an open standard for authorization. It allows users to share their private resources (e.g. photos, videos, contact lists) stored on one site with another site, desktop or mobile application without having to hand out their credentials, typically username and password.

Sequence Diagram

Reference

Claudiu Farcas Blog

Posted at 31 Jan @ 10:54 AM by Bartolomeo Sorrentino | 0 Comments
  2012/01/30
release 1.0.2-20120130 of Softphone Commons is out
Last changed: Jan 30, 2012 11:36 by Bartolomeo Sorrentino

Release 1.0.2-20120130 of Softphone Commons Packages has been delivered

Development Release

The development release is: 1.0.2-SNAPSHOT

Details

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] commons parent .................................... SUCCESS [2.597s]
[INFO] common services ................................... SUCCESS [6.163s]
[INFO] commons gwt ....................................... SUCCESS [4.144s]
[INFO] commons utility for json .......................... SUCCESS [4.558s]
[INFO] gwt event module .................................. SUCCESS [2.426s]
[INFO] commons security shiro implementation ............. SUCCESS [5.798s]
[INFO] common report ..................................... SUCCESS [2.815s]
[INFO] commons spring .................................... SUCCESS [3.101s]
[INFO] commons genesys psdk .............................. SUCCESS [11.824s]
[INFO] commons genesys psdk 7.6.x ........................ SUCCESS [3.481s]
[INFO] commons tomcat module ............................. SUCCESS [2.142s]
[INFO] google gdata module ............................... SUCCESS [3.333s]
[INFO] commons jseditor component ........................ SUCCESS [3.084s]
[INFO] commons jgroup module ............................. SUCCESS [2.432s]
[INFO] commons cache module .............................. SUCCESS [2.117s]
[INFO] commons genesys wfm ............................... SUCCESS [1.177s]
[INFO] commons-genesys-wfm-81 ............................ SUCCESS [2.387s]
[INFO] License Manager parent project .................... SUCCESS [0.968s]
[INFO] License Manager client module ..................... SUCCESS [2.866s]
[INFO] License Manager admin module ...................... SUCCESS [2.711s]
[INFO] scripting features - only for JDK6 ................ SUCCESS [2.643s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1:13.237s
[INFO] Finished at: Mon Jan 30 11:31:24 CET 2012
[INFO] Final Memory: 36M/87M
[INFO] ------------------------------------------------------------------------
Posted at 30 Jan @ 11:35 AM by Bartolomeo Sorrentino | 0 Comments
  2011/12/03
Disabling ARC in Xcode 4
Last changed: Dec 03, 2011 09:19 by Bartolomeo Sorrentino

Description

With Xcode 4.2 (iOS 5) Apple introduce ARC (Automatic Reference Counting) to help with memory management. Basically you no longer need to call retain or release. However current examples/books (and (open source) libraries) are still doing it. This leads to (annoying) errors like:

ARC forbids explicit message send of ‘retain’

To get rid of this error you need to disable ARC, but how? Here is what you need to do in Xcode:

Solution

  • Select your project file.
  • You should be in the “Build settings” tab. Select the “levels” option (default is “Combined”)
  • There’s a search field to the right of “Combined”. Enter “Automatic”
  • Second group should be “Apple LLVM Compiler 3.0 – Language”. Second line under that controls ARC.
  • Click that line, then in the middle column (where it says “yes”), click and choose “no”.

References

Posted at 03 Dec @ 9:20 AM by Bartolomeo Sorrentino | 0 Comments