Skip to content

Software Development News: .NET, Java, PHP, Ruby, Agile, Databases, SOA, JavaScript, Open Source

Methods & Tools

Subscribe to Methods & Tools
if you are not afraid to read more than one page to be a smarter software developer, software tester or project manager!

Open Source

SourceForge response to Heartbleed

SourceForge.net: Front page news - Thu, 04/10/2014 - 15:35

Hello,

A vulnerability is something susceptible to attack (regardless of whether attack actually occurs using that weakness), and a compromise is something that has been successfully attacked.

Sites and services across the internet have been impacted by a recent vulnerability in OpenSSL, CVE-2014-0160, known as “Heartbleed”. More information on this vulnerability may be found at http://heartbleed.com

Upon disclosure of this vulnerability, SourceForge’s operations team expeditiously reviewed all of our services and confirmed that the only vulnerable service was SourceForge’s Subversion over HTTPS on Allura (svn.code.sourceforge.net).

We are aware of no compromise of our systems. On Tuesday, vulnerable systems were updated to new versions of OpenSSL, and the related SSL certificates were revoked and re-issued with new private keys.

A mailing will be sent to those users who accessed the vulnerable service (svn.code.sourceforge.net) during the window of vulnerability. While we are aware of no compromise of data resulting from this vulnerability, to further reduce risk we are asking certain users to change their SourceForge password.

To change your SourceForge password:

  1. Go to https://sourceforge.net/account/
  2. Login with your username and current password
  3. Click the “Change Password” link on the resulting page
  4. Enter your current and new password in to the form and submit

Passwords may also be reset using the account recovery facility at https://sourceforge.net/account/registration/recover.php

If you do not already make use of a secure password manager, such as KeePass, Password Safe, Mac OS X Keyring, LastPass, etc. you may wish to begin using such a tool, which makes it easy to manage unique and long passwords for every site you access.

Questions and concerns may be directed to the SourceForge.net support team at sfnet_ops@slashdotmedia.com

Thank you,

SourceForge.net Support

Categories: Open Source

Postgres Open 2014 - Opens the Call for Papers

PostgreSQL News - Thu, 04/10/2014 - 01:00

Postgres Open 2014 will be held in Chicago, IL, at the Hotel Sax, September 17 - 19, 2014. It will feature two full days of multiple parallel tracks of PostgreSQL presentations (September 18 - 19th) from both local and global speakers, covering a wide range of topics. In addition we will also be offering a separate day of tutorials (Wednesday, September 17th). For more information about the conference, please see our website http://postgresopen.org/2014

The Program Committee is currently accepting proposals for presentations at the conference. We are interested in submissions from both seasoned PostgreSQL experts and people new in the community, from both locals and representatives of the global community. In short, from anybody who has an interesting story to tell about PostgreSQL, whether deeply technical or story about a successful (or failed) usage. All presentations are 45 minutes, with time for questions. Talks can be submitted via the website: http://postgresopen.org/2014/callforpapers/

Our early-bird ticket registration will open in May 19, 2014 and are available through June 30, 2014, after which tickets will go up to their regular price.

Finally, we are also looking for sponsors! We several tiers of sponsorship, to make sure there is a choice for everybody. If you are interested, please see the Postgres Open sponsor page http://postgresopen.org/2014/becomesponsor/

We look forward to seeing you in Chicago in September!

Categories: Database, Open Source

Easy Console Grepper

An easy to use grep console for Eclipse IDE with a handful of useful functions.

Filter Strings or RegExp matches from any TextConsoles
Highlights matches
Use filter settings for each Grep Console
Enable/disable filter per click
Filter / search ranges of lines (useful for XML-content)
Resume filtering after a console has been disposed and restarted (beta state, tested for Java and Ant Consoles)
Re-filter on demand
...

Categories: Open Source

Case study: Softeco Sismat (TELL ME Project)

The Dojo Toolkit - Announcements - Wed, 04/09/2014 - 20:26

The large companies that use Dojo are widely known. This series features lesser known users of Dojo, and their stories. This time, we interview Stefano Bianchi from Softeco Sismat, an ICT Italian company that participates in the TELL ME project, an European Commission-funded research initiative to improve training in small and medium-sized manufacturing environments.

TELL ME Front End Web App interface – portal-like layout based on ContentPanels

Q: How did you first learn about Dojo?

A: We were looking for a solid JavaScript framework to develop a prototype for a complex, desktop-like web user interface (UI) to support learning activities for blue collar workers at the workplace. We evaluated several different renown frameworks and we found references to Dojo in several JavaScript framework evaluation tables – we then decided to give it a chance considering its features and the positive feedback.

Q: Why did you choose Dojo?

A: At a very first glance, Dojo seemed like a robust JavaScript framework for client-based desktop-like applications, shipped with several interesting built-in features (plenty of ready to use components and widgets, such as e.g. the Store-based Tree widget and the rich chart & graphing library). Also, the documentation (and tutorials, in particular!) was rather rich and complete, providing an incremental guide for differentiated (novice, intermediate and expert) users. The Asynchronous Module Definition (AMD) and Object Oriented (OO) approach was also a plus. As for our previous expertise in Rich Internet Application (RIA) development, what really convinced us to adopt Dojo was the possibility to replicate on client-side the same desktop-like functionality that we previously deployed with a Java-based RIA frameworks on server-side. As the project we are participating in also addresses mobile devices, the Dojo Mobile toolkit represented a valuable asset for future development.

Q: Were you previously using another toolkit?

A: In previous research projects, we extensively used several JavaScript libraries and frameworks – Prototype, Scriptaculous, jQuery, ExtJS to name a few. Working with Dojo represented for our Research & Innovation division a good opportunity to extend our expertise in JavaScript frameworks.

Q: What does your application or service do?

A: The prototype we developed for the front-end user interface of the TELL ME (Technology-Enhanced Learning Livinglab for Manufacturing Environments) system includes several different widgets (“chunks” of HTML5/JavaScript/CSS code that can be used independently or assembled in a portal/desktop-like layout) that provide different learning-oriented functionality. The main aim is to allow a blue collar worker to express a learning need (e.g. “what do I need to learn/be trained/recap about?”) by e.g. selecting a set of predefined tags from several complementary domain taxonomies (i.e. trees of concepts describing activities, tools etc. in a given workplace) and to receive back a learning path (i.e. a list of learning-oriented activities) including different learning contents to be consumed in order to acquire or improve specific working skills. Each type of learning content (documents, videos, pictures, lessons etc.) should be then consumed/launched in a specific widget, with the possibility to also provide social feedback such as ratings and comments.

Q: How does your application use Dojo?

A: The whole application has been developed from scratch with Dojo. Each widget included in the UI can be used independently or assembled according to specific requirements by means of native Dijit and DojoX components such as BorderContainer (for the whole layout) and ContentPane (for inclusion of single widgets). The widget for the selection of taxonomy concepts is based on Dijit’s Tree component powered by JsonStore, following one of the many examples provided in the excellent tutorials. The widgets extensively use the native dojo/topic mechanism for publish/subscribe support in order to exchange data – a few lines of code brings the whole UI alive. Here and there, several useful components were used for specific typical UI functionality, such as Dijit’s Button, input fields, FilteringSelect, Dialog, etc.. Dojo’s has and sniff feature were also used to help contextualize the UI according to the detected features of the device. Finally, the whole UI is designed to interact with a battery of REST web services and Dojo’s native functionality (xhr, script) for Ajax request were extensively used, including support for JsonP.

Q: Overall what is your user experience with Dojo?

A: Dojo generally confirmed the initial expectations: the good impression it gave at a first glance was confirmed by the technical results achieved by the prototype, which included in its first release all the expected functionality, allowing us to focus also on usability and customization (see layouts, CSS and responsive design – e.g. the original Tree-based component was fully customized with minor efforts).

Being a complex framework, Dojo required an initial period of training, but the learning curve was not as steep as initially expected: the examples provided in the tutorials helped a lot in setting up conceptual mock-ups that were then iteratively improved as specific technical knowledge was acquired. Several concepts – AMD, to mention one – are not strictly Dojo-related, but must be nevertheless be proficiently known to ensure a smooth development experience.

Q: What’s your favorite thing about Dojo?

A: The Dojo architecture is truly inspiring when approaching OO JavaScript, and the rich set of examples provided help understanding how to make JavaScript code modular and reusable throughout the application – the whole approach is clear, clean and scalable. Reference documentation and tutorials are also a valuable resource.

Q: What are your future plans with Dojo?

A: One of the possible future plan is to move the prototype developed so far on mobile devices, i.e. to re-implement the front-user interface with Dojo Mobile, which should allow the consumption of learning contents (documents, pictures, videos, lessons etc.) on different mobile devices without developing dedicated apps.

The templating mechanism still has to be completely understood and evaluated, and surely represent a direction to follow for further developments.

The prototype will also be extended to provide all the expected additional functionality, including e.g. the complete logging of all learning experiences by mean of a dedicated Dojo-based logic connecting to a Learning Record Store (LRS) as specified by the ADL specifications for the Experience API.

Furthermore, as the TELL ME project addresses also the use of advanced Human-Computer Interfaces (HCI), the Dojo-based UI will be ported as the HTML layer for an Augmented Reality (AR) application developed on the Unity 3D engine.

Finally, we are definitively eager to start playing with Dojo 2.0 as soon as it is released!

TELL ME Back End Tool Login page – Dojo-powered responsive design

TELL ME Back End Tools entry page – Dojo-powered responsive design

Dojo Tree-based Tags Taxonomy Editor

TELL ME Front End Web App interface – portal-like layout based on ContentPanels

TELL ME Front End Services – Request Widget, using (REST-powered) dynamic Dojo Tree, JsonStore and sniff

About TELL ME

TELL ME (Technology-Enhanced Learning Livinglab for Manufacturing Environments) is a research project co-funded by the European Commission to improve training in small and medium-sized manufacturing environments by using the latest technologies and insights. The aim is to bring innovative learning methods to manufacturers so they can better supply the needs of their markets, which include larger industries. TELL ME is a three-year project that started in November 2012 with a partnership of 14 leading organisations in academic research, technology and industry from Italy, the UK, Finland, Sweden, France, Germany, Spain and Portugal. It is a significant €8.3m R&D project, funded by the Consortium Partners and a €5.9m research grant from the European Commission under its FP7 Framework Programme.

Thanks!

Thanks Stefano for telling us about your experience with Dojo. If you would like to share your experience with Dojo, please contact us.

Categories: Open Source, RIA

Google Summer of Code meets Hungary!

Google Open Source Blog - Wed, 04/09/2014 - 18:00
Today we have a guest post from a former Google Summer of Code student, Dániel Géhberger, who is eager to spread the word about GSoC to his fellow Hungarians! The student application period for GSoC 2014 is now closed, but we are happy to report that there were 6,313 proposals by 4,420 students this year.  Accepted students will be announced on April 21, 2014.

In 2013, 17 Hungarian students (including myself) participated in Google Summer of Code. Although this is a decent number, I was certain there were many more talented people around these parts who could participate in the 2014 program. I decided to hold an informational session at the Budapest University of Technology and Economics to inform more students about the program.

The members of the Department of Telecommunications and Media Informatics helped me to officially organize the event. We decided to hold the event in February on the same date as when the 190 Mentoring Organizations were announced so that the students could dive into different project ideas right away. We created a flyer and sent out many invitations to various student mailing lists.
The day of the event arrived quickly and we were hoping there would be lots of interest. We were pleasantly surprised that the room was completely full five minutes before the official start of the meetup.  We eventually had to move into a larger room as students kept arriving.  We ended up with over 90 students at the meetup! 

We began the event with a general introduction of the program, covering the basic rules, dates, number of participating organizations, etc. The second part was dedicated to short talks about the personal experiences of past GSoC students. We strived to show that GSoC can suit a variety of students. We had one BSc student and two former MSc students speak — their projects ranged from embedded development Linux based systems and games, to an HTTP 2.0 implementation in JavaScript.

During the talks, we tried to emphasize some critical points for new students including choosing realistic projects, proposal writing, and most importantly, how crucial early communication with the organizations is. We also pointed out that participating students can make new connections which, in the long run, can be much more important than the money.
All in all the event was quite successful, and I strongly hope that we will see a huge rise in the number of Hungarian students in 2014. The Google Summer of Code program has opened endless opportunities for me— I hope it can do the same for others!

The slides (in Hungarian) are available on the webpage of the event, and if you are a Hungarian student, feel free to join our mailing list.

I would like to thank everyone who attended or helped to organize the event and special thanks to our speakers: Gábor Molnár (Mozilla), Péter Bozsó (ScummVM) and László Boros (The Fedora Project).

By Dániel Géhberger, GSoC student in 2012, 2013 and mentor in 2014 at The Wiselib

Categories: Open Source

EclipseCon France - Early-bird talk selection

Eclipse News - Tue, 04/08/2014 - 18:30
Five talks were accepted from the early-bird submissions. Congratulations to the speakers! The deadline for submissions is next Monday, April 14.
Categories: Open Source

MQTT Test Day Demonstrates Successful Interoperability for the Internet of Things

Eclipse News - Tue, 04/08/2014 - 15:45
On March 17, the Eclipse Foundation and the Eclipse IoT Working Group hosted the first MQTT Interop Test Day to demonstrate the success of MQTT as a standard for the Internet of Things. Read more
Categories: Open Source

Babbage: easily encode or decode data with a click

Google Open Source Blog - Mon, 04/07/2014 - 22:09
Engineers at Google deal with encoded data on a daily basis. It’s very common to handle files encoded in a variety of different formats. For example, email attachments are Base64 encoded and web requests are URL encoded. Custom encodings bring another level of complication especially when different codings are chained together. Over time this constant need to encode / decode data left me with a large, unmanageable collection of scripts. This collection was simply not scaling, so I set off to create a better solution. We needed something easy to use and extensible enough to serve our future needs.

Today, I’m happy to introduce Babbage, an open source tool for manipulating data in many different formats. With Babbage you can easily decode or encode data with just a click. Paste in “SGVsbG8h”, select base 64 decode and you get “Hello!”. You can paste in text to process with plugins (which are an easy way to transform data). Babbage comes with a basic set of plugins to cover simple encodings and obfuscation techniques such as Base64, URL encoding, XOR and others. If you have something a bit more complicated, you can chain multiple plugins together. Babbage is open source and written so that anyone can create their own collection of plugins with libraries already in use.

Babbage was written in Python and JavaScript with Google Closure on top of Google App Engine. The full source code is available on GitHub. Develop something cool and share it with the world! We are always looking for new contributions — feel free to contact us on our developers discussion group.

By Tom Fitzgerald, Google Engineering
Categories: Open Source

Projects of the Week, April 7, 2014

SourceForge.net: Front page news - Mon, 04/07/2014 - 20:55

Here’s the projects that we’re featuring this week on the front page of SourceForge.net:

devkitPro

This project is for homebrew console development tools based on the gnu compiler collection with additional tools and libraries to aid programming each supported console. The windows variants are built with MinGW.

[ Download devkitPro ]

calibre

calibre – Ebook management

[ Download calibre ]

digiCamControl

digiCamControl is an free and open source (GPL) software. This allows you to save time by transferring images directly from your camera to your computer as you take each shot and allow to control camera shooting parameters.

[ Download digiCamControl ]

D-Fend Reloaded

D-Fend Reloaded is a graphical environment for DOSBox. D-Fend Reloaded is a successor of the discontinued D-Fend. Both environments look alike and D-Fend Reloaded contains all features of D-Fend. Even the D-Fend config files can be used.

[ Download D-Fend Reloaded ]

Grisbi

Grisbi is a very functional personal financial management program with a reasonable set of homefinance features.

[ Download Grisbi ]

Areca Backup

Areca-Backup is a file backup software that supports incremental, image and delta backup on local drives or FTP servers. Areca-Backup also allows you to browse your backups and navigate among different version of the files contained in your archives.

[ Download Areca Backup ]

Uniform Server

The Uniform Server is a lightweight server solution for running a web server under the WindowsOS. Less than 24MB! Modular design, includes the latest versions of Apache2, Perl5, PHP (switch between PHP53, PHP54, PHP55 or PHP56), MySQL5 or MariaDB5, phpMyAdmin or Adminer4. Run from either hard drive or USB memory stick… NO INSTALLATION REQUIRED! NO REGISTRY DUST! Just UNPACK and FIRE UP!

[ Download Uniform Server ]

Maxima — GPL CAS based on DOE-MACSYMA

Maxima is a fairly complete computer algebra system written in Common Lisp with an emphasis on symbolic computation. It is based on DOE-MACSYMA and licensed under the GPL. Its abilities include symbolic integration, 3D plotting, and an ODE solver.

[ Download Maxima -- GPL CAS based on DOE-MACSYMA ]

FOG – A Free Cloning Solution

FOG is a free open-source cloning/imaging solution/rescue suite. A alt. solution used to image Windows XP, Vista PCs using PXE, PartImage, and a Web GUI to tie it together. Includes featues like memory and disk test, disk wipe, av scan & task scheduling.

[ Download FOG - A Free Cloning Solution ]

Categories: Open Source

IoTLive - April 9

Eclipse News - Mon, 04/07/2014 - 18:00
Join the great lineup of speakers for our Hangouts on Air to celebrate the International IoT Day! We will have great talks about open hardware, building enterprise solutions, IoT standards and protocols, and more. Sign-up and make this virtual conference informative and interactive!
Categories: Open Source

OneSky Sync

OnySky Sync allows you to send file to OneSky platform for translation and download translated files back into your project. Currently, only Android Project is supported.

Features:
-Send Android Project base language file to OneSky Platform
-Sync translated language files back into project

To learn more about OneSky, please visit: http://www.oneskyapp.com/

Categories: Open Source

Case study: Univention

The Dojo Toolkit - Announcements - Mon, 04/07/2014 - 09:49

The large companies that use Dojo are widely known. This series features lesser known users of Dojo, and their stories. This time, we interview Alexander Kläser from Univention, a Germany company that creates an enterprise Linux distribution.

Q: How did you first learn about Dojo?

A: In 2011 we were faced with an entire redesign of our administrative web interface in order to allow a more flexible, intuitive and interactive usage. At that time, the web interface relied mainly on Python to generate HTML pages every time an action was carried out. We wanted to develop a Rich Internet Application (RIA) with Ajax technologies that could run as client in web browsers. This client should communicate with existing server part which was written in Python. For this process, we wanted to base the client upon a JavaScript library that facilitates to ensure cross-browser compatibility.

We already knew Dojo which we used for the web interfaces here and there, e.g., the calendar widget and some combo boxes. For an overview, we investigated many different frameworks: ExtJS, jQuery, Dojo, Yahoo UI, Prototype, Mootools, GWT, etc. The ones we investigated in greater detail were ExtJS, jQuery and, of course, Dojo.

Q: Why did you choose Dojo?

A: We quickly realized that jQuery is an extremely popular library and great for manipulating DOM elements. However, jQuery is not able to deliver a ready-to-use infrastructure for RIAs. ExtJS and Dojo seemed to be the only more mature libraries that could offer a very rich set of features including widgets, a consistent API, module management, i18n, layout management, DOM manipulation, data abstraction, object oriented programming, theming, data grids, build system, etc.

When we compared ExtJS and Dojo in 2011, we saw that especially documentation and tutorials were lacking for Dojo at that time (this is different now). However, in difference to ExtJS, the development of Dojo is open and its license uses the Academic Free License v2.1 as well as the new BSD license. At last, Intellectual property rights are held by the non-profit Dojo Foundation. As our products are 100% Open Source, as well, it is clear that Dojo is the perfect match.

Q: Were you previously using another toolkit?

A: We were only employing a few Dojo widgets for calendar and combo boxes. The Python code that was rendering HTML pages was mainly written by ourselves and evolved over time to a point where a rewrite was reasonable.

Q: What does your application or service do?

A: Our main product is the Univention Corporate Server (UCS) which is an Enterprise Linux server system and a fully functional alternative to Windows server products. UCS provides Active Directory functionality as well as a platform for 3rd party business applications that range from groupware, over two-factor authentication, CRM or ERP to backup solutions. UCS is easy-to-use, cost-efficient and 100% Open Source. It suits all needs for the operation of distributed, heterogeneous (Microsoft Windows, OS-X or Linux systems) and virtualized IT infrastructures.

With the Dojo Toolkit, we were able to develop a first-class, user friendly and extensible management interface for UCS that is completely web-based. The management interface acts as single point for the administration of users, computers, networks, virtualized systems and many other aspects of IT infrastructure. As it is web-based, it is possible to instantiate and configure new server instances in the cloud (e.g., Amazon EC2) within a few clicks.

More information about UCS and its management interface can be found on the Univention website and the UCS management system

Q: How does your application use Dojo?

A: The UCS management interface is as single-page RIA entirely based on Dojo. Its focus is an intuitive, comfortable and complete user experience. Under the hood, the web interface is communicating with an RPC back-end based on a Python web server. Entry point of the web interface is an overview page that shows various modules which can be launched as separate Dijit tabs.

We mainly adapted existing Dijits to our needs (especially form widgets and the EnhancedDataGrid) and developed several custom widgets. For the handling of forms, we added an automatic dependency mechanism along with automatic loading of content from the server-side. For the communication with the back-end, a custom Object Store has been implemented. For the outward appearance, a customized theme has been designed and integrated. The interface itself has also been adapted for mobile devices to some degree. For the integration with tools like xgettext for .po files, we developed our own i18n tool set providing a _() function for JavaScript.

Q: Overall what is your user experience with Dojo?

A: Overall we are very happy to be able to use such a great framework as Dojo. We truly appreciate its openness and the Dojo Foundation that stands behind it.

The Dojo Toolkit has constantly evolved and feels like a solid and mature framework with many great features. The stability of the API has been maintained throughout 1.x which really is crucial to anyone who wants to deliver a solid product. Still, new features have already been made available within Dojo 1.x to allow a smooth transition to Dojo 2.x. This allowed us to already adapt our code base for Dojo 2.x, as well.

It is wonderful to see that a great number of tutorials and examples have been added in the past years. These truly help to quicker understand basic as well as more advanced aspects/concepts in Dojo. In the beginning, the build process was somewhat more complex to understand and integrate, yet this has evolved, as well. The only part which did not fit our expectations were the Dojo tools for internationalization, for which we developed our own tool set.

Q: What’s your favorite thing about Dojo?

A: The Dojo Toolkit is a first class JavaScript framework that really covers many aspects of web applications. As an Open Source library, it allows its users to participate in the development process via bug reports and patches. One great aspect is its flexibility: it can be used as light weight JavaScript library for HTML-based websites to Rich Internet Applications realized in an entirely programmatic fashion. Its modularity via the AMD loader allows to easily include other libraries as well. Dojo is reliable and continues to evolve in a promising direction.

We appreciate the new and much easier to use Object Stores (as compared to the Data Store). We employ the dojox/grid/EnhancedDataGrid at many places and are happy to see that the dgrid is much clearer and easier to use. We already have employed it in some parts, but have not replaced many parts of older code using the EnhancedDataGrid.

Q: What are your future plans with Dojo?

A: We currently have integrated Dojo 1.9.1 and plan to move on to 1.9.3 soon. Another point is the support for mobile devices which will also be revised in the near future. Otherwise we will keep with the development of Dojo and hope to replace dojox/grid/EnhancedDataGrid with dgrid at some point. We are looking forward to Dojo 2.0.

Please also check out the UCS management system online demo to see this application in action, or watch a few videos to learn more about the product!

Thanks!

Thanks Alexander for telling us about your experience with Dojo. If you would like to share your experience with Dojo, please contact us.

Categories: Open Source, RIA

AngularJS Eclipse

AngularJS Eclipse Plugin extends Eclipse WTP to :

  • provides an HTML editor which supports AngularJS expression and directive. See HTML features for more informations.
  • provides an Angular Explorer view which displays modules, controllers of your project in a tree.
  • provides a Javascript editor which supports AngularJS features (modules, etc). See Javascript features for more informations.

AngularJS Eclipse is based on tern.java to manage powerfull completion on HTML files (AngularsJS Expression, directive, modules) and Javascripts files (see Tern Eclipse IDE)

If you start with AngularJS Eclipse, please read Getting Started.

Categories: Open Source

RMI Plug-in for Eclipse

The RMI Plug-in for Eclipse is the most comprehensive solution for developing Java RMI systems using the Eclipse platform. RMI Plug-in will help you getting started with the Java RMI technology and will provide advanced configuration, analysis and debugging tools.

Categories: Open Source

// Tag Gen

This is a Eclipse Plugin to generate java code.

  • Your project code is used as a template.(A comment of java code and a spreadsheet is used for generating.)
  • Generating code could be merged. (It is not a Generation Gap Pattern but is a better.)
  • You could customize a template or even logic for generating.The logic could make on your project.
  • Default is enum generator.

It will be easy to understand if the spreadsheet in a sample project is used.
Sample Project:
https://github.com/ko2ic/comment-tag-gen-plugin-sample

Categories: Open Source

2014-04-04 - DEPRECATED MODULE - Uize.Data

UIZE JavaScript Framework - Fri, 04/04/2014 - 08:00
The Uize.Data module has been deprecated as a package module containing static methods, in favor of it becoming a pure namespace module.
Categories: Open Source, RIA

qLabel: Multilingual content without translation

Google Open Source Blog - Wed, 04/02/2014 - 17:31
Today we are happy to release qLabel, an open source JavaScript library that looks up and displays the labels of entities marked-up in a Web site in the language of the user. You can use qLabel in any Web document - below are some examples of where it might come in handy.

Some web sites provide content in a very structured form - think of restaurant menus, schedules, images with textual annotations, catalogs, etc. For example, this is a map of the inhabited continents:
Providing this content in different languages is as easy as looking up how all the mentioned entities in the SVG map are named in the other language. If we want to display the content in German, we need to know that South America is Südamerika in German and replace it.
The same works for Chinese:

Or, to take a language that Google Translate does not support yet, such as Uzbek:

The labels that we have used so far are from Wikidata, a sister project of Wikipedia launched in 2012. Wikidata supports more than 300 languages, but there aren't labels for all entities in all languages yet. Let’s take a look at Hindi:
We see that the Hindi name for Australia is still missing. But adding that is as easy as going to the Hindi view of Wikidata for Australia and add the label, and likely by now someone has already fixed it (and that would be visible here if those images above would indeed be embedded SVGs instead of PNG files - see the live map demo). You can improve the content in Wikidata and make more knowledge accessible to everyone.

In these cases, there is no need for intelligent translation algorithms in order to translate the Website: it is enough to look up the label for the mentioned entities in the language of the reader and display them in place. qLabel does exactly that.

The Website author annotates the entities mentioned in the page with unique identifiers, and qLabel looks up the name for these entities in the language requested by the user and displays them. No need to wait until your translation service of choice supports your language, it only depends on the underlying lexicon of entities and the languages they support.

Every entity is marked up with a URI, which is then used to look up the labels in the requested language. Take a look at the examples: the above map, a tournament schedule, a food menu, and tour dates. You can use any URI that supports look-up using Linked Data standards, in particular Google’s Freebase and Wikidata, but you can also publish your own set of entities and labels as RDF or JSON-LD and use them — and at the same time releasing them to the Semantic Web!

Read more about qLabel and how you can use it. Contributions to the code base are more than welcome, the source code is on Github.  Let us know about how you use qLabel!

Thanks and kudos to rdfquery, Wikidata, any23, Freebase, Universal Language Selector, the Wiki Atlas, and the Wikidata Multilingual Picture Dictionary.

By Denny Vrandečić, Ontologist, Google Knowledge Graph 

Categories: Open Source

Eclipse Foundation Announces Java 8 Support

Eclipse News - Wed, 04/02/2014 - 15:00
The Eclipse top-level project is very proud to announce official support for Java™ 8 for Eclipse Kepler SR2 (Eclipse 4.3.2). For details on how to discover and install the Java 8 support please visit our Java™ 8 support page.
Categories: Open Source

Java™ 8 support for m2e for Eclipse Kepler

This is a service release (version 1.4.1.20140328-1905) for m2e 1.4 that enables Java™ 8 support for Kepler SR2-based Eclipse IDEs. Note that Java 8 Support in Kepler must also be installed.

Categories: Open Source

Java 8 Facet for Web Tools for Eclipse Kepler SR2

This is a patch that enables Java™ 8 support for the Kepler SR2-based "Eclipse IDE for Java™ EE Developers". Note that Java 8 Support in Kepler must also be installed.

Categories: Open Source