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

Help Us Stabilize NetBeans IDE 8.2 - Join NetCAT 8.2!

NetBeans Highlights - Fri, 09/16/2016 - 15:40
Do you enjoy playing with software and hunting for bugs? If you are a passionate NetBeans IDE user and you have a few hours per week from July 2016 through mid September 2016, you can join other community volunteers in the NetCAT 8.2 program. Get your NetBeans bug(s) fixed and make friends along the way. Thanks! The NetBeans team
Categories: Java, Open Source

NetBeans Community Approves NetBeans IDE 8.1 for Release

NetBeans Highlights - Fri, 09/16/2016 - 15:40
We are pleased to announce the results of the NetBeans IDE 8.1 Community Acceptance Survey that ended November 2nd: 85% of 89 respondents agree that NetBeans IDE 8.1 Release Candidate is stable enough to be shipped! A few respondents pointed out several serious issues. We evaluated them all not to overlook some important problem. We have noticed that majority of web programmers appreciate improved generic support for JavaScript development like enhanced Node.js support, debugging, inspection and especially testing and packaging so our investment into this area paid off. Another success worth mentioning is big (98%) satisfaction with redesigned Java Profiler. Check it out yourselves! Overall, this is a good news for the NetBeans IDE 8.1 from the community, and we thank all who provided this valuable feedback!
Categories: Java, Open Source

Build with NetBeans IDE, Deploy to Oracle Java Cloud Service

NetBeans Highlights - Fri, 09/16/2016 - 15:40
Save time and effort deploying applications. Learn to set up Oracle Java Cloud Service, then install and use the Oracle Cloud plugin in the NetBeans IDE.
Categories: Java, Open Source

Build a Rich Client Platform To-Do Application in NetBeans IDE

NetBeans Highlights - Fri, 09/16/2016 - 15:40
Practice using NetBeans IDE features that improve code quality and increase developer productivity.
Categories: Java, Open Source

Video: Installing and Using Java ME SDK 8.0 Plugins in NetBeans IDE

NetBeans Highlights - Fri, 09/16/2016 - 15:40
This screencast demonstrates installation and usage of Oracle Java ME SDK 8.0 Plugins in NetBeans IDE on the Windows operating system.
Categories: Java, Open Source

Is that Really Good Quality Code You’re Writing?

SourceForge.net: Front page news - Fri, 09/16/2016 - 05:53

Have you given any thought to the quality of your code lately?

If you’ve been coding for some time now, chances are the quality of your code may have taken a back seat. Perhaps it’s begun to deteriorate, or perhaps you’ve gotten used to coding a certain way that you’re no longer too concerned about code quality.

But exactly what is code quality anyway?

Defining Quality in Code

It can be difficult to absolutely define code quality primarily because it can mean different things to different people. Users may define quality code as that which serves their purposes, while programmers will define it as code which is easy to understand and modify. Code quality may also differ from one programmer to the next, and from one type of software to the next.

One thing that’s certain is that quality is essential when it comes to code. We may not be able to objectively define code quality, but we know its presence through the positive and much sought-after effects it produces: wider audience reach and increased use and contributions.

Common Characteristics of High Quality Code

While we can’t pinpoint a single, objective definition for code quality, there are a few telling characteristics that many people agree signify good quality code. These characteristics combined almost always guarantee good quality code behind them:

  • It works. First and foremost, good quality code simply works, or does what it’s supposed to do.
  • Readability. Many developers agree that good quality code is easy to read and understand.
  • Simplicity. This is another characteristic of good code that developers agree on. No matter how complex the task a software is capable of doing, the code behind it should be as simple as possible in order to be considered exceptional.
  • It can be tested. Specifically, through unit tests.
  • It’s easy to maintain and manipulate. Maintenance is always necessary, but it need not be difficult. The same goes for changes. Eventually code will have to be changed in order to become better, and for developers being able to do so easily is a sign of good code.
  • It just looks good. There’s something about good quality code the moment you look at it. That something is a combination of proper formatting and good composition that simply makes it good to look at. While the appearance of code may not necessarily affect how the software performs, many developers agree that good looking code is often higher quality code.

Based on these characteristics, it’s easy to determine whether you’re producing high quality code or not. However, the significance of each of these characteristics in determining the quality of code can vary with each individual project. The key takeaway here is that developers should be aware of these characteristics and remain vigilant regarding what is considered good code quality with their own projects.

Categories: Open Source

Google Summer of Code 2016 is a wrap

Google Open Source Blog - Thu, 09/15/2016 - 18:27
soc_horizontal500.png

As school in much of the world begins, Google Summer of Code 2016 winds down. The last three months have seen a whirlwind of activity on over 178 open source projects. University students from around the globe have been working with their mentors to contribute their technical skills to the common good.

Student participants submitted their completed work late last month, mentors evaluated the submissions, and the results have been announced.

We accepted 1,206 university students from 67 countries in April and we are excited to announce that 1,032 students (85.6%) successfully completed the program. To learn more about how that compares to previous years, check out our statistics from the last eleven years.

Google Summer of Code isn’t over though. In October we’ll be hosting our annual mentor summit in Sunnyvale, California where mentors and organization administrations will meet and exchange ideas.

Thank you to all of the students, mentors and organization administrators for your contributions to open source and for making the 12th year of Google Summer of Code such a great success!

By Josh Simmons, Open Source Programs Office
Categories: Open Source

Keynotes, Tracks and Sponsors Announced for the 11th Annual EclipseCon Europe Conference

Eclipse News - Thu, 09/15/2016 - 15:00
The Eclipse Foundation is pleased to announce EclipseCon Europe 2016.
Categories: Open Source

Aiven brings easy, powerful hosted PostgreSQL to Microsoft Azure

PostgreSQL News - Thu, 09/15/2016 - 01:00

Helsinki, Finland — September 15, 2016 — Aiven brings easy, powerful hosted PostgreSQL to Microsoft Azure

Aiven adds service availability for nineteen new cloud regions from the Microsoft Azure cloud, making Aiven the cloud database provider with the widest geographic availability in the world. Microsoft Azure is a leading global cloud provider and what makes them special is their high number of data centers around the world, currently totaling 30+ regions.

Aiven PostgreSQL is an easy-to-use Database-as-a-Service (DBaaS) offering providing Highly Available service plans with advanced features. Aiven PostgreSQL backups are automatic and zero-downtime database plan upgrades allow easy upgrades from single-node starter plans to a geo-replicated premium setups. Database services can even be migrated between different cloud providers with no downtime. Aiven PostgreSQL plans include all of the most popular PostgreSQL extensions such as PLv8 and PostGIS. All Aiven services keep your data safe and encrypted at all times, both in transit and at rest.

The first batch of new Azure cloud regions that are immediately available are all from North America and Europe. Asian and South American regions will be made available in the upcoming weeks.

The new Aiven Azure regions that are immediately available:

  • United States: Iowa (Central US), Virginia (East US), Virginia (East US 2), Illinois (North Central US), Texas (South Central US), California (West US), Washington (West US 2), Wyoming (West Central US)
  • Europe: Ireland (North Europe), Netherlands (West Europe), England (UK South), Wales (UK West)
  • Canada: Ontario (Canada Central), Quebec (Canada East)

 

The following regions will become available in the upcoming weeks:

  • South America: Brazil (Brazil South)
  • Asia: Hong Kong (East Asia), Singapore (Southeast Asia), Japan (Japan East), Japan (Japan West)

 

New services can be launched in the new Azure regions today and using Aiven's zero-downtime migration, it is also possible to easily migrate your existing services to Microsoft Azure.

About Aiven

Aiven is a Finnish, Helsinki-based cloud technology startup company focusing on delivering easy to use, yet technically advanced cloud database services to companies around the world. Aiven offers hosted PostgreSQL, Elasticsearch, Apache Kafka, Redis and InfluxDB services on five different cloud providers: Amazon Web Services, Google Cloud, DigitalOcean, UpCloud and Microsoft Azure.

https://aiven.io/

https://aiven.io/postgresql

Categories: Database, Open Source

g9 Database Import

Date Created: Wed, 2016-09-14 09:30Date Updated: Mon, 2016-09-19 02:52Submitted by: Dag Bøyesen

Do you need to create Java classes, or an Xcore or Ecore representation of your exisiting database? g9 Database Model Import is a free g9 Eclipse plugin producing models based on structure information read from databases.

Given a connection to an existing database, the g9 Database Import will read tables and columns in your database (using the database schema) and create the corresponding model either in Java, Xcore or Ecore depending on the project type of your Eclipse project. An import of your database to a Java Project will create Java classes, an import to an Xcore Project will create an Xcore model, all other Eclipse Project types will result in an Ecore model. The Java classes may be enriched with JPA annotations. If you work with Xcore or Ecore models you should use Eclipse for Java and DSL Developers.

In the g9 Database Import feature you connect to a database using a JDBC driver. The built-in drivers are MySQL, MS SQL Server (jTDS) and Sybase ASE (jTDS). Use the function [Maintain JDBC Drivers] in the g9 Import feature to connect to other databases, e.g Oracle, PostgreSQL, Firebird or a DBMS of your choice.

Choose

  • which tables to include: by default all tables are included and a class name based on the table names are suggested
  • which columns to include: by default all columns are included and an attribute name based on the column names are suggested
  • the data type mappings for your domain model based on the JDBC types - or use default values

You may download the complete g9 product and use the Database import feature in a g9 Eclipse Project. To be able to exploit the other features in g9, you should create a g9 UI Modeling Project and import your database to an Ecore, Xcore model or Java source with g9 annotations. Please see the User guide for more information about the g9 Database Import feature.

Categories: Open Source

RemindMe

Date Created: Wed, 2016-09-14 06:27Date Updated: Thu, 2016-09-15 16:58Submitted by: Mary Bellapu

RemindMe project is a break reminder plugin within the Eclipse IDE. RemindMe plugin reminds developers to take a break with the duration they select(15,30,45,60 minutes) and suggests some ergonomic exercises which will help relieve stress to the body while working at their desk. RemindMe plugin has the ability to start or stop the timer at anytime.

Categories: Open Source

Introducing OpenType Font Variations

Google Open Source Blog - Wed, 09/14/2016 - 10:15
Cześć and hello from the ATypI conference in Warsaw! Together with Microsoft, Apple and Adobe, we’re happy to announce the launch of variable fonts as part of OpenType 1.8, the newest version of the font standard. With variable fonts, your device can display text in myriads of weights, widths, or other stylistic variations from a single font file with less space and bandwidth.
 OpenType variable fonts support OpenType Layout variation.To prevent that the $ sign becomes a black blob,the stroke disappears at a certain weight.


At Google, we started tinkering with variable fonts about two years ago. We were fascinated by the typographic opportunities, and we got really excited when we realized that variable fonts would also help to save space and bandwidth. We proposed reviving Apple’s TrueType GX variations in OpenType, and started experimenting with it in our tools. The folks at Microsoft then started a four-way collaboration between Microsoft, Apple, Adobe, and Google, together with experts from type foundries and tool makers. Microsoft did the spec work; Apple brought their existing technology and expertise; Adobe updated their CFF format into CFF2; and we brought the tools and testing we’d been developing.  After months of intense polishing, the specification is now finished.

On the Google end, we did a lot of work to build, edit and display variable fonts:As always, all our font tools are free and open source for everyone to use and contribute.

Now that the spec is public, we can finish the work by merging the changes upstream so that our code will soon flow into products. We’ll also update Noto to support variations (for many writing systems, the sources are already there — the rest will follow). Much more work lies ahead, for example, implementing variations in Google Fonts. Together with other browser makers, we’re already working on a proposal to extend CSS fonts with variations. Once everyone agrees on the format, we’ll support it in Google Chrome. And there are many other challenges ahead, like incorporating font variations into other Google products—so it will be a busy time for us!  We are incredibly excited that an amazing technology from 23 years ago is coming back to life again today. Huge thanks to our friends at Adobe, Apple, and Microsoft for a great collaboration!
To learn more, read Introducing OpenType Variable Fonts, or talk to us at the FontTools group.
By Behdad Esfahbod and Sascha Brawer, Fonts and Text Rendering, Google Internationalization
Categories: Open Source

EGradle

Date Created: Tue, 2016-09-13 14:26Date Updated: Mon, 2016-09-26 06:52Submitted by: Albert Tregnaghi

EGradle is a lightweight gradle integration for eclipse
Code, Issues and more information can be found at https://github.com/de-jcup/egradle

  • Parallel working with console and IDE:
    in contrast to other gradle integrations egradle does simply use the same project setups for eclipse as gradle itself proposes - so a "gradlew cleanEclipse eclipse" call on console simply refreshes your eclipse settings and does not destroy your workspace any more...
  • Its just another run as ... : EGradle supports own launch configurations , so launching, management and editing take place as usual.
  • One click features: It provides "refresh all eclipse dependencies of current root project" per one click. This will do automatically a "gradlew cleanEclipse eclipse" and refresh all projects in workspace automatically. JUnit resutls from gradle can be imported by one click also.
  • contains a eclipse help documentation
  • supports syntax highlighting for gradle console output
  • contains a tiny gradle build file editor (still alpha)

Current restrictions

  • Only multi projects are supported. You can select only one root project as base for operations.
Categories: Open Source

Projects of the Week, September 12, 2016

SourceForge.net: Front page news - Mon, 09/12/2016 - 05:11

Here are the featured projects for the week, which appear on the front page of SourceForge.net:

Shareaza

Shareaza is a very powerful multi-network peer-to-peer file-sharing client supporting Gnutella² G2, Gnutella, eDonkey2000 / eMule, DC++, HTTP, FTP and BitTorrent / DHT protocols for Windows or Wine.
[ Download Shareaza ]


TuxGuitar

TuxGuitar is a multitrack guitar tablature editor and player written in Java-SWT, It can open GuitarPro, PowerTab and TablEdit files.
[ Download TuxGuitar ]


winPenPack: Portable Software Collection

winPenPack is a project that aims at collecting the most frequently used and most popular open source applications made portable, so that they can be executed without installation from any USB Flash Drive or Hard Disk. The winPenPack suites offer a wide range of portable applications like office tools, internet tools, multimedia tools, development tools, security applications and other frequently used utilities. Everything you need, completely free, open source and portable!
[ Download winPenPack: Portable Software Collection ]


Outlook CalDav Synchronizer

Free Outlook Plugin, which synchronizes events, tasks and contacts between Outlook and Google, SOGo, Horde or any other CalDAV or CardDAV server. Supported Outlook versions are 2016, 2013, 2010 and 2007. This project was initially developed as a master thesis project at the University of Applied Sciences Technikum Wien, Software Engineering Degree program. Outlook CalDav Synchronizer is Free and Open-Source Software (FOSS), still you can support the project by donating on Sourceforge or directly within the About dialog of our Plugin. ### German review can be found in c’t 27/15 http://www.heise.de/ct/ausgabe/2015-27-Kurztest-Outlook-Add-in-3035256.html Another german review in PC-Welt http://www.pcwelt.de/tipps/Google-Kalender-mit-Outlook-abgleichen-per-CalDAV-Synchronizer-9916911.html ### ### New in version 2.0.0 Google native Contacts API support with mapping of Google contact groups to Outlook categories. ###
[ Download Outlook CalDav Synchronizer ]


Freeplane

Application for Mind Mapping, Knowledge Management, Project Management. Develop, organize and communicate your ideas and knowledge in the most effective way.
[ Download Freeplane ]


gretl

gretl is a cross-platform software package for econometric analysis, written in the C programming language.
[ Download gretl ]


Dolibarr ERP – CRM

Dolibarr ERP – CRM is an easy to use ERP and CRM open source software package (run with a web php server or as standalone software) for businesses, foundations or freelancers (prospect, invoicing, inventory, warehouse, order, shipment, POS, members for foundations, bank accounts…). Dolibarr is also available with auto-installers for users with no technical knowledge to install Dolibarr and all its prerequisites (Apache, Mysql, PHP) with just one package. Available platforms for such packages are: Windows, Debian, Ubuntu, Mint, Redhat, Fedora, OpenSuse, Mandriva, Mageia. Other platform can use the generic distribution. This is a modular product, than can be enhanced with tons of external modules (to provide you features not available by default) from https://www.dolistore.com Download Dolibarr ERP – CRM here or sign up for 15-day free trial of the cloud-based application with free updates and support at one of the Cloud providers https://saas.dolibarr.org/
[ Download Dolibarr ERP – CRM ]


OS X Portable Applications

OS X FOSS portable applications are packaged so you can carry around on any portable device, USB thumb drive, iPod, portable hard drive, memory card, other portable device (or also on your internal hard disk), taking your preferences with you.
[ Download OS X Portable Applications ]


NamelessROM

NamelessRom is opportunity; an opportunity to have a voice to the development team of the after-market firmware that you run on your device. The main goal of NamelessRom is to provide quality development for android devices, phones, and tablets alike. NamelessRom developers are available nearly 24/7 and respond to bug reports and feature requests almost instantly. This availability will allow you, the end-user, to have direct input into exactly what features and functions are included on the firmware that YOU run. NamelessRom == endless possibilities. Unless you have an iPhone, then you’re out of luck. Get more information and find support on our forums at https://nameless-rom.org
[ Download NamelessROM ]

Categories: Open Source

Google Summer of Code 2016 statistics: celebrating our mentors

Google Open Source Blog - Fri, 09/09/2016 - 18:00
Our final statistics post of the year is dedicated to to the incredible Google Summer of Code (GSoC) 2016 mentors. There were a total of 2,524 mentors, but today we'll look at the 1,500+ mentors who were assigned to an active project. Mentors are the lifeblood of our program. Without their hard work and dedication to the success of our students, there would be no GSoC. A merry band of volunteers, mentors work with students for more than 12 weeks — remotely, across multiple time zones, giving their time, expertise and guidance in addition to a regular full-time job for an average of 7.45 hours a week. Today we’ll take a closer look at our 2016 team.

GSoC 2016 mentors reside all over the world and represent 66 countries.




Want to see the data? Here’s the breakdown of the countries our mentors come from.



We have many mentors who participate in GSoC year after year. In 2016, we have six mentors who have participated since the program’s inception in 2005! GSoC “lifer” Bart Massey, who participated as a mentor for Portland State University and X.Org had this to say about his time with GSoC:

“I'm not sure which is more astonishing, that I am 12 years older with GSoC or that GSoC is 12 years old with me. Some of the most fantastic, interesting, brilliant and hardworking folks on the planet have gotten together every year for 12 years to change the world: Google folks and open source leadership and skilled, special students. It's been great to get to be part of it all, both as Portland State University and during my time with X.Org...I hope I get to keep working with and hanging out with these people I love every year forever.” 

Awww, we love you too Bart!

There are also plenty of newbies to the program each year and 2016 is no exception. We’d like to welcome 528 (33%) new mentors to the GSoC family.

Some fun facts:
  • Average age: 32
  • Youngest: 14
  • Oldest: 78
  • Most common mentor first name: David
At the end of each program year, we invite two mentors from each participating organization to join us at the Mentor Summit, a three day unconference at Google HQ in Northern California. There they enjoy a weekend with their peers to talk about all things open source-y (a technical term) and have some fun.

A huge thanks to each and every Google Summer of Code mentor. We salute you.

By Mary Radomile, Open Source Programs
Categories: Open Source

5 Things that Can Turn Open Source Users Away

SourceForge.net: Front page news - Fri, 09/09/2016 - 05:26

You’ve put so much work into your open source project, the last thing you want to do is to give users a reason to avoid it.

Alas, this can happen unknowingly to a lot of open source projects. Amid all the things that must be taken care of in order to properly set up a project, developers can become unaware of those aspects that are actually keeping users away.

What are these user-repelling aspects you ask? Here they are:

Poor Documentation
If you’re a programmer more often than not documentation may take the backseat to coding. But you need to keep in mind that no matter how wondrous a piece of software you’re developing, no one will notice if no one knows how to use it.

Good documentation is one of the most important ingredients to a successful open source project. It is what enables users to understand, take interest in and use the software.

Haphazardly written documentation won’t cut it. You need quality documentation if you want it to effectively attract users to your project.

Poor Execution
Just as you wouldn’t buy an item that looks cheap and shabby, users won’t gravitate towards projects that are not presented in the best way: projects that are poorly coded, use dated technology or are difficult to install and use.

Unwelcoming Culture
There’s no hard-and-fast rule that says you have to welcome every single inquiry or contribution that comes your way, but ignoring them or treating them unkindly will have negative consequences. Such actions may paint your project to be a highly restrictive, uncaring or unwelcoming one, which will most likely discourage users from using and contributing to it.

Selective Open-Sourcing
This often occurs with open source companies that choose to open source only some of their code, and not all. While this may be a good move business-wise, this not-entirely-open approach to open-sourcing can be discouraging to many potential users.

Falling Behind Competition
It’s good to think through every possible change in the code before implementing them or choosing to skip them entirely. But you need to be aware that skipping or spending too much time on such changes may cause your project to fall behind. Not being able to keep up with changes requested by users may cause them to switch to a far superior competing software.

If your project seems to be lacking user support, you might want to look into these details and make sure that you’re luring users instead of driving them away.

Are there other aspects that have turned open source users away in your own experience? Share them with us in the comments section below.

Categories: Open Source

JDBC 1210 released!

PostgreSQL News - Wed, 09/07/2016 - 01:00

The JDBC group is proud to announce the latest driver with the following notable changes:

Better support for RETURNGENERATEDKEYS, statements with RETURNING clause Avoid user-visible prepared-statement errors if client uses DEALLOCATE/DISCARD statements (invalidate cache when those statements detected) Avoid user-visible prepared-statement errors if client changes searchpath (invalidate cache when set searchpath detected) Support comments when replacing {fn ...} JDBC syntax Support for Types.REF_CURSOR

See Change Log for more details.

Categories: Database, Open Source