You are hereFeed aggregator / Sources / Dzone

Dzone


Syndicate content
Recent posts on DZone.com
Updated: 59 min 26 sec ago

Machine Learning After Dark

Sat, 01/13/2018 - 6:01am

So you've made this great social media app and you are about to sit back and wait for the money to roll in. But, there is a problem: people keep trying to upload nude photos to it.

What if we could have a trained machine learning model that could detect not-safe-for-work (NSFW) content and do it on an iOS device before any image would be uploaded to a server?

Categories: Technical

Enterprise DevOps: Context is King

Sat, 01/13/2018 - 6:01am

This is the third in a series of blogs about enterprise DevOps. The series is co-authored by Nigel Willie, DevOps practitioner, and Sacha Labourey, CEO, CloudBees.

"So, how can I help you?" Nigel asked.

Categories: Technical

Microservices vs. Monolith: Risk Analytics in a Microservices Architecture: Part 3

Sat, 01/13/2018 - 6:01am

Unless you've been living under a rock without wi-fi, in which case I would question your ability to read this article, you've likely heard the concept of microservices compared with a monolithic architectural style. Comparison with the monolith is a great way to explain the characteristics of a microservices style because the two architectural concepts exist in stark contrast: large and interwoven, small and discrete.

If you're looking for the benefits of microservices, you can find that in our article here. Or, if you're looking for a dive into the implementation of microservices, you can find a Q&A here. For now, we will simply contrast microservices with the monolithic approach to development to gain a baseline understanding of the concept.

Categories: Technical

10 IoT Predictions for 2018

Sat, 01/13/2018 - 2:01am

After highlighting the top 10 stories of IoT in 2017, the IoT Analytics team looked back at the IoT predictions they made a year ago and ventures a prognosis on the 10 things that seem likely for IoT in 2018.

Evaluation of Our 2017 IoT Predictions

Last year, we made 4 IoT predictions (as part of the 2016 in review article) of which we believe most did turn into reality (Except IoT prediction #3).

Categories: Technical

Xamarin - Setting Up Your Environment

Sat, 01/13/2018 - 2:01am

Xamarin is a solution to start developing cross-platform apps. It gives you a smooth user interface with native output for iOS, Android, and even UWP.

With Xamarin.Forms, the user interface is dedicated to all three platforms using one framework: XAML. It’s very interesting if we are able to release an app with the code sharing for all three platforms.

Categories: Technical

Surmounting Cloud Adoption Challenges With an iPaaS Model

Sat, 01/13/2018 - 2:01am

Cloud is not the next big thing anymore. It is now the big thing. Immersive cloud-based technologies have totally altered the IT landscape. Organizations now understand that centralized computing and archaic architectures cannot drive the edge. The zeal to achieve low latency and hyper-interactivity is pushing organizations to adopt cloud-based technologies. Integration is being seen in the light of new approaches, but organizations are facing same old challenges that were prevailing in old frameworks. We will cover those challenges and methods to circumvent them with the help of an Integration Platform as a Service (iPaaS) framework.

Barriers to Cloud Adoption

A fair share of cloud migration challenges are spawned by weak integration between on-premise and cloud-based applications. These problems keep on resurfacing when the point-to-point network and hairball coding is used to integrate several applications. Developers develop code and throw it before the testing team for validation. And whenever there is a shakeup, developers need to repeat the entire process. This strategy is not ideal for companies with thousands of applications.

Categories: Technical

Parsing JSON in PhoneGap/Apache Cordova [Code Snippets]

Sat, 01/13/2018 - 2:01am

JSON stands for JavaScript Object Notation. It's a syntax for storing and exchanging data and is an easier-to-use alternative to XML. JSON uses JavaScript syntax, but the JSON format is text-only, just like XML.

Sample JSON data:

Categories: Technical

Starting With Ethereum: Setup

Sat, 01/13/2018 - 2:01am

Many people know about Bitcoin, because of its recent rise (and soon crash?). However, Bitcoin is just a currency, albeit a crypto one. As such, it's of very limited interest to me. But it's based on the concept of blockchain and that seems to be much more interesting. While there are a lot of resources available on the Web regarding blockchain, they mainly focus on the concept of blockchain, or how it works internally, not so much on how you can as a developer use it.

This is the first post in what I hope will be a series which aims at correcting that. The blockchain implementation I'll be using will be Ethereum because it's an already established technology, with a mature ecosystem around it.

Categories: Technical

Java 9 Modules Introduction (Part 1)

Sat, 01/13/2018 - 2:01am

In this post, we will introduce the Java Platform Module System (JPMS), which is the biggest change in the Java 9 release. In this post, we will take a look at some basics of the JPMS (Why do we need modules? What has changed in the JDK?). After that, we will take a look at how a single-module application can be created, compiled, and executed. At the end, we will take a look at how a multi-module application can be created, compiled, and executed as well. In this post, we will only use command line tools. The examples used can be found on GitHub.

Why?

Let's start with the fundamental question: Why do we need modules anyway? In order to answer that question, we take a look at JSR-376. The following bullets are copied from the JSR:

Categories: Technical

6 DevOps Trends to Be Aware of in 2018

Sat, 01/13/2018 - 2:01am

DevOps has evolved big time since many of us thought it was just a buzzword. Now we know that is a myth. DevOps has become a main focus and has been shaping the world of software for the last few years. Experts say that DevOps is going to be the mainstream and its popularity is going to reach its peak in 2018.

Below is the Google trend shown for the term "DevOps" and a hypothesis of its projected growth in 2018.

Categories: Technical

API Lifecycle Basics: DNS

Sat, 01/13/2018 - 2:01am

DNS is one of those shadowy things that tends to be managed by a select few wizards, and the rest of an organization doesn’t have much knowledge, awareness, or access at this level. APIs has shifted this reality for me and this is something I’m also seeing at organizations who are adopting a microservices, and DevOps approaches to getting things done. DNS should be a first-class citizen in the API toolbox, allowing for well-planned deployments supporting a variety of services, but also allowing for logging, orchestration, and, most importantly, security, at the frontline of our API operations.

There are some basics I wanted to introduce to my readers when it comes to DNS for their API operations, but I also wanted to shine a light on where the DNS space is headed because of APIs. Some DNS and cloud providers are taking things to the next level, and APIs are central to that. Like most other stops along the API lifecycle, DNS is not just about doing DNS for your APIs, it is also about doing APIs for your DNS.

Categories: Technical

How to Seed Your Database With EF Core

Sat, 01/13/2018 - 2:01am

Yesterday, I showed how to do EF Core DB migrations using either the Package Manager Console or the .NET CLI. But you can also do these code migrations automatically, triggering them via code.

After following the steps shown yesterday, you have all your migrations setup, and you can apply the DB changes using the dotnet CLI. But there is a lesser-known feature, that is still experimental and not ironed out completely, that makes it possible to run migrations from code, and even seed the DB with initial data.

Categories: Technical

Deploying a Dog Identification TensorFlow Model With Python and Flask

Sat, 01/13/2018 - 2:01am

In my last post, I surveyed the growing array of options for deploying your ML models into production. In this post, we’ll create a demo to see how simple it is to develop your own service using Python’s Flask library.

There are a number of cases where you might not be able to use a cloud service to host your model and would be required to roll-your-own inference service. In many large enterprises, on-premise solutions are mandatory. Approvals to purchase third-party solutions can also be lengthy and complex. So, developing your own small service may be the best solution.

Categories: Technical

FTS With Facets in Couchbase NoSQL With Node.js [Video]

Sat, 01/13/2018 - 2:01am

Earlier this month, I wrote about using facets with Full Text Search (FTS), a subject that is often considered scary. In that tutorial, we configured an FTS index and a sample application with the premise of being able to do narrow searches against beer data provided within the Couchbase sample bucket.

Because of the usefulness of the subject, it made sense to convert this tutorial into a step by step video to clear up all loose ends.

Categories: Technical

How to Add Dynamic Controls Row in HTML Web Resource CRM

Fri, 01/12/2018 - 6:23pm

Today, I will explain how to add a new row to a div tag with predefined controls in an HTML Web Resource.

For this, add one HTML web resource to your CRM solution and place it in any of the entity forms. I added a web resource and placed it in the Lead entity form. I have a requirement to add a Customer (Contact/Account) from the Lead form, so I placed the web resource in the Lead entity.

Categories: Technical

A Detailed Study of WSGI: Web Server Gateway Interface for Python

Fri, 01/12/2018 - 6:21pm

Developers shoulder the responsibility of building reliable, scalable, and maintainable web applications, web resources, and dynamic websites through sophisticated and state-of-the-art web frameworks.

These web frameworks come with a set of coding components and a set of basic structuring tools that help simplify web development. These frameworks can solve problems and tasks through programming languages that fit their needs.

Categories: Technical

Why Using WebJars Is a Good Idea!

Fri, 01/12/2018 - 5:59pm

1. Assessment

Since I started working on web applications, I noticed that we often tend to manage our web dependencies like this:

  1. Find a great and reliable library (either JS or CSS) like jQuery, Bootstrap, AngularJS, or even some great directives for AngularJS found on GitHub.

    Categories: Technical

Topic vs. Style: Which Comes First for Content Writing?

Fri, 01/12/2018 - 5:58pm

There are a lot of articles on the Internet about how to write web content, blogs, or articles. The advice varies depending on the type of content you are going to offer. For instance, if you are writing web content, you should take a more formal approach. And if you're blogging, you'd better keep it conversational, mingled with humor and a lot of information.

Let’s say you know all these things and write “quality” content. Still, you are not getting good engagement. So, where are your customers going? I have the answer.

Categories: Technical

DevOps: Culture and Process

Fri, 01/12/2018 - 5:44pm

As DevOps continues to evolve, we are witnessing the speed at which it’s being implemented at all levels, whether it be at a start-up or an established enterprise. With this sustained growth, it’s also important to recognize the foundation of what makes DevOps successful. The 2018 Guide to DevOps explores topics such as DevOps culture and philosophy, CI/CD and Spring Planning, and Continuous Delivery Anti-Patterns.

Categories: Technical

How To Use HAR File To Find The Hidden Performance Bottlenecks In Your App

Fri, 01/12/2018 - 5:01pm

Introduction

App performance can be a killer problem for any digital company, especially when the performance issues take too long to identify. What I have found by working with many of our customers is that the answer can be hiding in the HAR file data – which is why you should always check your HAR files.

Step 1: What Is a HAR File?

HAR (HTTP Archive Viewer) is a JSON file that contains a record of the network traffic between client and server. It contains all the end to end HTTP requests/responses that are sent and received between the two network components.

Categories: Technical