You are hereFeed aggregator / Sources / Dzone

Dzone


Syndicate content
Recent posts on DZone.com
Updated: 1 hour 5 min ago

Manipulating Trees Using SQL and the Postgres LTREE Extension

19 hours 4 min ago

Previously, I used the LTREE extension to save a tree data structure in a Postgres table. After saving the tree, I used the @>, or ancestor operator, to count the number of descendant nodes on a given branch.

But that's not all LTREE can do. Today, I'll show you how to delete, move, and copy branches from one place to another in your tree using @> in combination with other LTREE functions. After that, in my last post in this series, I'll look at how LTREE works under the hood and explore the computer science that makes all of this possible.

Categories: Technical

An SDK to Integrate DialogFlow With Golang for Bot Development

19 hours 4 min ago

DialogFlow (formerly API.AI) gives users new ways to interact with your bot by building engaging voice- and text-based conversational interfaces powered by AI.

DialogFlow offers many SDKs in different programming languages:

Categories: Technical

Top Analytical Skills Every Product Manager Needs in 2018

19 hours 4 min ago

Product managers are modern-day Renaissance women and men. To be successful, PMs must have a solid understanding of various disciplines in order to inspire and lead a team of disparate skill sets and personality types through the turmoil of product development to a victorious launch.

Part engineer, part coder, part marketer, and part business analyst, product managers have the ability to analyze data, communicate across departments, and understand the costs and profit margins to keep the project within budget.

Categories: Technical

The 12 Days of Content (Day 4): 2017 Guides

19 hours 4 min ago

DZone released 14 Guides in 2017 - the most we have ever released in a single year. Planning for each Guide begins as much as a year prior to its planned release and often runs right up to the Friday evening prior to its Monday launch. Each Guide requires a full team effort at DZone, and we also rely on the excellent DZone contributor community to provide us with the articles that you read.

On this 4th Day of the 12 Days of Content, we'd like to provide you with 4 calling birds a complete list of the 2017 Guides, and highlight the four first-time Guides for you to peruse.

Categories: Technical

Develop Web Applications With Hapi.js and Couchbase NoSQL [Video]

23 hours 4 min ago

About a month ago, I wrote about developing RESTful APIs for web applications using Node.js and the Hapi.js framework. In this article, I demonstrated the use of these technologies with NoSQL in the flavor of Couchbase Server.

In case you're unfamiliar, Hapi.js is a great framework for creating web APIs both quickly and easily.

Categories: Technical

The First tinyK22 Board With NXP K22FN512 ARM Cortex-M4F

23 hours 4 min ago

The NXP Freedom boards are very popular. Many of them are inexpensive (less than $20), include a debug interface, and can be easily extended with extra shields or boards. The FRDM-KL25Z is especially popular: I’m told because of Processor Expert and tutorials available on websites.

Unfortunately, there are no small or breadboard friendly Kinetis boards available. There is the NXP LPC800-DIP — but with no onboard debugger and without Processor Expert support. We have the tinyK20, but projects tend to use more CPU power, FLASH, and RAM space than what the tinyK20 board can provide (50 MHz, 128 KByte FLASH, 16 KByte RAM). So we ended up designing the big brother of the first tinyK20: the tinyK22 with 120 MHz, 512 KByte of FLASH, and 128 KByte of RAM.

Categories: Technical

Deep Learning for Drug Discovery With Keras

23 hours 4 min ago

Drug discovery is the process of identifying molecular compounds that are likely to become the active ingredient in prescription medicine. At a high level, it works by taking a set of candidate compounds (either synthetic or naturally derived) and evaluating their chemical reactions with (an often cloned) molecule that is largely correlated with a particular disease. Machine learning, and deep learning, in particular, have been highly successful in predicting the chemical reactions between candidate compounds and target molecules (see some examples here, here, and here). These models have enabled biomedical engineers to rapidly iterate on the design of new synthetic compounds by querying a trained deep neural network to estimate how a candidate compound would interact with a target molecule. This enables the largest pharmaceutical companies, such as Merck, to significantly reduce their drug discovery costs.

Applications of machine learning such as these typically require a cluster of GPU machines to perform parallel model training, parallel model selection, or both. Cloud providers minimize the capital expenses otherwise incurred on initial deployment of such clusters. Qubole Data Service (QDS) minimizes the time and operating expenses otherwise incurred in maintaining and updating such infrastructure. This demonstration, therefore, utilizes the framework developed in my log post on distributed deep learning within QDS.

Categories: Technical

Java Remote Debugging in the Real World

23 hours 4 min ago

<!-- Google Tag Manager (noscript) --> <iframe src="https://www.googletagmanager.com/ns.html?id=GTM-PDSRGWC" height="0" width="0" style="display:none;visibility:hidden"></iframe>

Troubleshooting a problem on a remote server, especially in production, is not an easy task. Sometimes it involves debugging the application code directly on the server.

Categories: Technical

Write a Simple Go Application to Work With BigQuery Data on Linux

23 hours 4 min ago

Go is an open-source programming language that enables you to easily build software on Linux/UNIX machines. When Go is paired with the ODBC Driver for BigQuery and unixODBC, you are able to write applications with connectivity to live BigQuery data. This article will walk you through the process of installing the ODBC Driver for BigQuery, configuring a connection using the unixODBC Driver Manager, and creating a simple Go application to work with BigQuery data.

The CData ODBC Drivers are supported in various Red Hat-based and Debian-based systems, including Ubuntu, Debian, RHEL, CentOS, and Fedora. There are also several libraries and packages that are required, many of which may be installed by default, depending on your system. For more information on the supported versions of Linux operating systems and the required libraries, please refer to the Getting Started section in the Help documentation (installed and found online).

Categories: Technical

Shifting Left and Going Beyond Agile and DevOps in the SDLC

23 hours 4 min ago


We are almost at the end of 2017 and it has been almost 17 years since the Manifesto for Agile Software Development was published in 2001. Agile adoption has ever since remained the Holy Grail of project management, guiding software teams to embrace iterative and incremental planning and development methods, keeping continuous attention on quality. The focus has shifted to create early and demonstrate a working model of the software to the stakeholders after each iteration thereby shortening the feedback loop and adapting faster to the changes as mandated by the customer or dynamics of a fast-paced fiercely competitive industry. For each iteration or sprint, members from cross-functional teams take part in planning, analysis, design, coding, testing, and deployment to create a working version of the product. Thus, testing and operations team members along with coders get involved early during sprint run, unlike traditional waterfall linear model where they have long waiting time.

Agile vs Waterfall Methods comparison (Source: Smartsheet Inc).

Categories: Technical

Monitoring and Observability

23 hours 4 min ago

Defining the term "monitoring" is a difficult task considering the performance space has evolved significantly over the years. Lately, there has been a shift in the monitoring world, sparking a healthy debate regarding the definition and purpose of monitoring, through which a new term has emerged: observability. Some of that debate can be found in blogs by Charity Majors and Cindy Sridharan.

Many organizations like AirBnB, Twitter, and Stripe are embracing the observability by creating observability teams or observability engineers.

Categories: Technical

First Steps With Vert.x and Infinispan - Part 1: REST API

23 hours 4 min ago

Welcome to the first in a multi-part series of blog posts about creating Eclipse Vert.x applications with Infinispan. The purpose of this first tutorial is to showcase how to create a REST API.

All the code of this tutorial is available in this GitHub repository. The backend is a Java project using Maven, so all the needed dependencies can be found in the pom.xml.

Categories: Technical

Fixing Kubernetes FailedAttachVolume and FailedMount Errors on EBS

23 hours 4 min ago

This blog is part of a new series on debugging Kubernetes in production. Portworx has worked with customers running all kinds of apps in production, and one of the most common errors we see from customers relates to failed attach and failed mount operations on an AWS EBS volume. This post will show you how to resolve Failed AttachVolume and FailedMount warnings in Kubernetes and how to avoid the issue in the future.

Background

As we described in our blog post about stuck EBS volumes and containers, using one EBS volume for each container creates a very fragile system. As we pointed out in that post, when we create a 1-to-1 relationship between our EBS drives and containers, there are a variety of problems that can occur:

Categories: Technical

Flask 101: Filtering Searches and Deleting Data

23 hours 4 min ago

Last time we got our Flask based music database application partially functional. It could now add data to the database, edit said data, and also display everything in the database. But we didn’t cover how to filter the data by using the user’s filter choice (Artist, Album name, or publisher name) and search string. We also didn’t cover how to delete items from the database. That is the two-fold goal of this article.

Filtering Search Results

Filtering search results using SQLAlchemy (via Flask-SQLAlchemy) is actually quite easy. All you need to do is create some very simple query objects. Open up the main.py file that we were editing last time and replace the search_results() function with the following version of the code:

Categories: Technical

How to Create a Post-Launch Plan for a Successful Mobile App

23 hours 4 min ago

How do you build a successful mobile app?

Seems like a reasonable question, right? Judging by how quickly Google auto-complete filled it in for me, seems like a question people search for with some frequency. So, how do you build a successful app? Is there a secret formula to guarantee your new app will be successful?

Categories: Technical

GDPR and OSS: How Are They Linked and Why Should You Care?

23 hours 4 min ago

What does the GDPR have to do with Open Source Software (OSS)?

The answer is Data.

Developers use OSS to speed time to development so that they can focus on writing code that gives them a competitive advantage. In fact, open source is so widely used, that according to recent research, about 80% of a software application is made up of open source components. While this is great for providing speed and efficiency, it can cause some issues because not all open source components are created equal. Some components have security vulnerabilities and sometimes developers choose a vulnerable version involuntarily. Without empowering development teams to choose the right, healthy open source component, vulnerabilities can be exploited and personal data can be stolen.

Categories: Technical

Tips for Agile Product Roadmaps and Product Roadmap Examples

23 hours 4 min ago

As a Product Owner, you are responsible for Product Backlog management, stakeholder management, and forecasting. Therefore, you will probably use a variety of tools and techniques to track progress, manage expectations, and keep people informed. One of the tools that may come in handy for you is a product roadmap. Applying product roadmaps effectively can be challenging, however. The concept of a product roadmap is that it is a high-level, strategic plan, that describes the likely development of the product over a given period of time. The roadmap should support the products' purpose and vision and it helps the Product Owners to keep their stakeholders aligned. The roadmap also makes it easier to coordinate the development of different products and it fosters transparency in order to manage customer expectations.

In a lot of organizations, I see that Product Owners are focused mostly on developing features and therefore, a lot of roadmaps are also dominated by features and functionalities to be delivered. The disadvantage of focusing on features too much is that there are always too many features that would add value, therefore creating a lack of focus on the vision and goals. By focusing on the features too much, the roadmap will turn into an overloaded product backlog, instead of a high-level, strategic plan for the products' future development.

Categories: Technical

Dev How You Want. Run Where You Want: Application Portability with Kubernetes [Webinar]

Sat, 12/16/2017 - 11:01am

Containers and Kubernetes allow for code portability across on-premise VMs, bare metal or multiple cloud provider environments. Yet, despite this portability promise, developers may include configuration and application definitions that constrain or even eliminate application portability.

In this webinar Oleg Chunikhin, CTO at Kublr, will describe best practices for “configuration as code” in a Kubernetes environment. He will demonstrate how a properly constructed containerized app can be deployed to both Amazon and Azure using the Kublr platform, and how Kubernetes objects, such as persistent volumes, ingress rules and services, can be used to abstract from the infrastructure.

Categories: Technical

The 12 Days of Content (Day 3): Top 10 Daniel Stori Comics

Sat, 12/16/2017 - 6:01am

If you're a frequent DZone visitor, then chances are you've read a comic by Daniel Stori this year. He has kept us laughing through all 63 of his comics that have published to our site this year (not to mention all the bonus clips he publishes on his own site, turnoff.us)!

With 62 comics published and over 665,000 pageviews on his comics that published this year alone, we thought it would be good to highlight the top 10 most popular ones, and give you a good laugh.

Categories: Technical

Let's Be Extra Vigilant With Our Data This Holiday Season

Sat, 12/16/2017 - 6:01am

Thanksgiving weekend is well behind us, so it's official" the holiday season is here. That means virtually everyone not named Ebenezer Scrooge is busy shopping, attending parties, and bracing for visits from the in-laws. People are easily distracted, and that can increase the risk of your organization suffering a data breach.

Innocent insiders are more prone to making mistakes handling and sharing data, and malicious insiders or external actors count on you're being distracted while they move data along the Insider Threat Kill Chain. That's why you need to monitor current employees and ensure former employees do not still have access to sensitive information.

Categories: Technical