You are here

InfoWorld

Subscribe to InfoWorld feed InfoWorld
Updated: 54 sec ago

Python virtualenv and venv do’s and don’ts

3 hours 46 min ago

One of the biggest draws of Python is its expansive ecosystem of third-party packages. If there is a task you want to pull off—file format conversion, scraping and restructuring web pages, linear regression, you name it—odds are that one or more packages in the Python Package Index will fill your need.

The hard part is managing the accumulation of packages in a given Python installation. It’s all too easy to thoughtlessly install dozens of packages and in time end up with a Python environment fraught with conflicts between older and newer versions of tools, making work harder than it needs to be.

[ What is Python? Everything you need to know. • Tutorial: How to get started with Python. • 6 essential libraries for every Python developer. • Why you should use Python for machine learning. | Keep up with hot topics in programming with InfoWorld’s App Dev Report newsletter. ]

Python comes with an automated system for keeping a package set local to a given Python project. Virtual environments—courtesy of the virtualenv tool in Python 2 and venv in Python 3—can be used to create a separate, isolated instance of the Python runtime for a project, with its own complement of packages.

To read this article in full, please click here

(Insider Story)
Categories: News

How to secure your PostgreSQL database

3 hours 46 min ago

Avinash Vallarapu is a PostgreSQL support tech lead at Percona.

Another month, another database security disaster. It seems database security breaches are becoming more common as bad actors realize that databases contain lots of, well, data.

How does this keep happening? Usually, the answer is poorly executed database security protocols. How can we stop it from happening?

The good news is that it’s preventable. Databases do not need to be at risk, as long as you take the necessary precautions. Usually the answer is configuration. Don’t just use the out-of-box settings. Do use iptables to secure access. (As far as can be determined in the recent Exactis breach, had the setup made use of iptables or a similar feature, then the breach would have been prevented.)

To read this article in full, please click here

(Insider Story)
Categories: News

Microsoft’s SignalR real-time service moves to the cloud

Tue, 09/18/2018 - 17:30

Version 2.4.0 of the ASP.Net SignalR real-time communications library will support Azure SignalR Service, a managed service for adding real-time web functionality to applications.

ASP.Net SignalR 2.4.0 is due later this year; Azure SignalR Service currently is in beta. It is an Azure cloud-managed service that can be used to develop capabilities such as chat rooms, instant broadcasting, and IoT dashboards. Developers using the service do not have to deal with hosting, authentication, scaling, or load-balancing.

[ InfoWorld explains: What is cloud-native? The modern way to develop software. | Get started: Azure cloud migration guide. • Tutorial: Get started with Google Cloud. | Keep up with the latest developments in cloud computing with InfoWorld’s Cloud Computing newsletter. ]

Working with the Visual Studio and Visual Studio Code development tools, Azure SignalR Service is tuned to apps with the following needs:

To read this article in full, please click here

Categories: News

How to work with Azure Pipelines for devops

Tue, 09/18/2018 - 06:00

Microsoft’s recent renaming of Visual Studio Team Services as Azure DevOps came as a surprise, rebranding a familiar service and adding significant new features. One of those new features, Azure Pipelines, builds on Microsoft’s previous cloud-hosted build service to deliver a more powerful tool for building and delivering on-premises and cloud-hosted applications for Windows, MacOS, and Linux.

Azure Pipelines is a continuous delivery tool, competing with tools like the open source Jenkins. It’s designed to build code in popular languages, test them, and then deliver them to your choice of endpoint. Like other CI/CD systems, it’s also extensible, with a library of tasks and extensions to add support for test tool and for integration with your devops tool chain.

To read this article in full, please click here

(Insider Story)
Categories: News

Does the cloud still make sense when the economy is good?

Tue, 09/18/2018 - 06:00

The economy is doing well. Even the Fed is looking to figure out ways to slow things down, so the economic boom does not become overheated and then collapse.

How will the good economy affect the adoption of cloud computing? Most people answer quickly that it’s good for cloud. But that’s not always the case. Some technologies are more valuable the worse the economic climate.

[ InfoWorld explains: What is cloud-native? The modern way to develop software. | Get started: Azure cloud migration guide. • Tutorial: Get started with Google Cloud. | Keep up with the latest developments in cloud computing with InfoWorld’s Cloud Computing newsletter. ]

Cloud computing rose in the tough economic times of a decade ago. Enterprises were seeking ways to cut costs, and cloud computing was a major weapon in doing that. Indeed, my cloud computing consulting dance card was full while the banks where failing, because I was the “save money” guy.

To read this article in full, please click here

Categories: News

Microsoft’s ML.Net framework adds TensorFlow scoring

Mon, 09/17/2018 - 06:00

Microsoft has refreshed its ML.Net open source machine learning framework, fitting its beta Version 0.5 with TensorFlow model scoring as a transform to ML.Net. This capability enables use of an existing model from Google’s TensorFlow deep learning and machine learning toolkit in an ML.Net experiment.

[ Get started with TensorFlow machine learning. • TensorFlow review: The best deep learning library gets better. • See what’s new in the latest version of TensorFlow. | Keep up with hot topics in programming with InfoWorld’s App Dev Report newsletter. ] What’s new in ML.Net 0.5

Version 0.5 begins adding support for deep learning, with the TensorFlow Transform class, which can take an existing TensorFlow model and get scores from that model into ML.Net. Users of this TensorFlow scoring capability do not need a working knowledge of TensorFlow internal details. The transform is based on code from the TensorFlowSharp .Net bindings.

To read this article in full, please click here

Categories: News

Business can’t win without developers, but you need more

Mon, 09/17/2018 - 06:00

Money can’t buy you happiness, but developers just might. According to a new survey from Stripe, companies finally recognize that access to engineering talent is a bigger inhibitor to growth than access to capital. In fact, as fed up as enterprises may be with their outdated IT infrastructure, they’re convinced that if they can just find good developers, most other problems will prove secondary.

But just hiring more developers isn’t the answer. There’s more to it.

[ Watch out! 8 career pitfalls every developer should avoid. • 7 books you must read to be a real software developer. • 15 noob mistakes even experienced developers still make. | Keep up with hot topics in programming with InfoWorld’s App Dev Report newsletter. ]

Of course, you do need more development capability. Mainstream enterprises now recognize that their biggest threat is likely not another bank or a rival hospitality company. Instead, it’s that a currently noncompetitive technology vendor today will be a clear and present danger tomorrow. Those tech vendors are fueled by developers; everyone else therefore feels they must “developer up,” too.

To read this article in full, please click here

(Insider Story)
Categories: News

How to use Dapper in ASP.Net Core

Mon, 09/17/2018 - 06:00

Dapper is an open source, lightweight “micro ORM” that supports many databases including SQL Server, MySQL, SQLite, SQL CE, and Firebird. By using Dapper in your applications you can simplify data access while ensuring high performance. In previous articles here I provided an introduction to Dapper and examined the Dapper Extensions Library

In this article I will show how Dapper’s support for asynchronous operations can be leveraged in ASP.Net Core.

[ Watch out! 8 career pitfalls every developer should avoid. • 7 books you must read to be a real software developer. • 15 noob mistakes even experienced developers still make. | Keep up with hot topics in programming with InfoWorld’s App Dev Report newsletter. ]Create a new ASP.Net Core Web API project

First off, let’s create an ASP.Net Core project and install the necessary packages. Assuming that Visual Studio 2017 is up and running in your system, follow the steps outlined below to create an ASP.Net Core Web API project.

To read this article in full, please click here

(Insider Story)
Categories: News

Review: Keras sails through deep learning

Mon, 09/17/2018 - 06:00

As I discussed in my review of PyTorch, the foundational deep neural network (DNN) frameworks such as TensorFlow (Google) and CNTK (Microsoft) tend to be hard to use for model building. However, TensorFlow now contains three high-level APIs for creating models, one of which, tf.keras, is a bespoke version of Keras.

InfoWorld

Keras proper, a high-level front end for building neural network models, ships with support for three back-end deep learning frameworks: TensorFlow, CNTK, and Theano. Amazon is currently working on developing a MXNet back end for Keras. It’s also possible to use PlaidML (an independent project) as a back end for Keras to take advantage of PlaidML’s OpenCL support for all GPUs.

To read this article in full, please click here

(Insider Story)
Categories: News

HackerRank launches tool to help hire developers

Fri, 09/14/2018 - 16:04

Technical recruiter HackerRank has introduced Tech Talent Matrix, a subscription service that provides data to help with the hiring of software developers.

[ Watch out! 8 career pitfalls every developer should avoid. • 7 books you must read to be a real software developer. • 15 noob mistakes even experienced developers still make. | Keep up with hot topics in programming with InfoWorld’s App Dev Report newsletter. ]

Tech Talent Matrix draws from an analysis of more than 150 million assessments and company data points. Recruiting performance is measured, with insights provided to help users hire talent. Enterprises are evaluated on their technical recruiting process, including the type of developers they can attract, how well candidates are being assessed, and the level of alignment between hiring managers and recruiters. Companies also can be benchmarked against peers based on industry and size. A company’s position on the matrix is a graphical representation of two factors:

To read this article in full, please click here

Categories: News

What’s new in TypeScript 3.1

Fri, 09/14/2018 - 16:00

Microsoft has released the release candidate for TypeScript 3.1, which focuses on programming enhancements, some of which can break existing code.

Where to download TypeScript

You can download the production version of TypeScript through NuGet or via NPM. To get TypeScript via NPM, use the following command: npm install -g typescript.

[ What is TypeScript? Industrial-strength JavaScript. | Keep up with hot topics in programming with InfoWorld’s App Dev Report newsletter. ]Future version: What’s coming in TypeScript 3.1

The release candidate for TypeScript 3.1, an upcoming upgrade to Microsoft’s typed superset of JavaScript, focuses on programming enhancements.

To read this article in full, please click here

(Insider Story)
Categories: News

What’s new in Microsoft’s Visual Studio 2017

Fri, 09/14/2018 - 15:30

Microsoft has released the production version of Visual Studio 2017 15.8, which offers a unified Docker container experience. It also has released the second beta of Visual Studio 15.9.

Where to download Visual Studio

You can download Visual Studio 15.8 from the Visual Studio website.

[ Review: Visual Studio 2017 is the best ever. | Get started with Visual Studio Code, Microsoft’s lightweight editor for Windows, MacOS, and Linux. • Learn what’s new in the latest version of Visual Studio Code. ]Future version: What’s coming in Visual Studio 15.9

Microsoft has released a second beta of Visual Studio 2017 Version 15.9, with improvements for Universal Windows Platform (UWP) development and C++ debugging.

To read this article in full, please click here

(Insider Story)
Categories: News

Cloud complexity management is the next big thing

Fri, 09/14/2018 - 06:00

Where have you heard that enterprises using cloud are moving to more complexity as well? That’s right, from this guy.

The growing cloud computing complexity was recently documented by the Wall Street Journal that cites a survey of 46 CIOs by KeyBanc Capital Markets. It found that 32 percent said they plan to use multiple vendors to create internal private cloud systems, while 27 percent planned hybrid cloud arrangements.

To read this article in full, please click here

Categories: News

Interview: Craig McLuckie and Joe Beda on the value of Kubernetes

Fri, 09/14/2018 - 06:00

Over the past year, Kubernetes has become the de facto standard for managing and orchestrating Docker containers. To find out why, I asked its creators Craig McLuckie and Joe Beda—cofounders of the startup Heptio and former Google colleagues—to explain Kubernetes’s value to the enterprise.

As Joe Beda describes Kubernetes, it builds on container portability to enable orchestration of many services in many containers. “With Kubernetes, instead of saying I want to run this program on this particular machine, or particular server or VM, you can say, ‘Find me the right place to do that,’” says Beda. “Now you can go from deploying one of something to deploying ten or 100 instances across a whole set of machines. It starts enabling new workflows with how people develop, how they deploy, and how they operate software over the long term.”

To read this article in full, please click here

Categories: News

LinkedIn open-sources a tool to run TensorFlow on Hadoop

Thu, 09/13/2018 - 11:40

LinkedIn has open-sourced a project for scaling and managing deep learning jobs in TensorFlow, using the YARN (Yet Another Resource Negotiator) job scheduling system in Hadoop.

The Tony project came about after LinkedIn tried to use two existing open source solutions for running scheduled TensorFlow jobs on Hadoop and found them both wanting. A few projects to run TensorFlow on Hadoop already exist, but LinkedIn was unsatisfied with them. One, TensorFlow on Spark, runs TensorFlow via Apache Spark’s job engine, but it couples too tightly with Spark. Another, TensorFlowOnYARN, provided the same basic functionality as Tony, but is unmaintained and didn’t provide fault tolerance.

To read this article in full, please click here

Categories: News

When to use a CRDT-based database

Thu, 09/13/2018 - 06:00

Roshan Kumar is a senior product manager at Redis Labs.

Bending the consistency and availability as described by the CAP theorem has been a great challenge for the architects of geo-distributed applications. Network partition is unavoidable. The high latency between data centers always results in some disconnect between the data centers for a short period of time. Thus traditional architectures for geo-distributed applications are designed to either give up data consistency or take a hit on availability.

To read this article in full, please click here

Categories: News

IBM Cloud services guide: The right tools for the job

Thu, 09/13/2018 - 06:00

IBM was a bit late to the cloud party but has since caught up and is growing quickly. It trades third and fourth place with Google from one market research report to the next, but it is growing quickly.

The company’s first cloud computing effort came in 2008 with a software-as-a-service collaboration suite called LotusLive, which was later was renamed IBM SmartCloud for Social Business. IBM jumpstarted its cloud effort with the 2013 acquisition of SoftLayer, then the world’s largest privately held cloud computing infrastructure provider. It launched a PaaS service called Bluemix, and then added its Watson AI services.

To read this article in full, please click here

(Insider Story)
Categories: News

Oracle forges a Java microservices framework

Wed, 09/12/2018 - 17:00

Oracle has introduced Project Helidon, an open source microservices framework for Java.

Helidon features a collection of Java libraries for writing microservices that will run on a web core powered by the Netty network application framework. The project also includes Helidon Reactive WebServer, which provides a functional programming model to run on Netty. Cloud application development is supported, along with health checks, metrics, tracing, and fault tolerance.

[ Learn what microservices are. • Then learn how to build a microservices app. • Finally, learn how to choose a database for your microservices. | Keep up with hot topics in programming with InfoWorld’s App Dev Report newsletter. ]

Oracle said that although it is already possible to build Java EE (Enterprise Edition) microservices, it is better to have a framework designed for this purpose. The intent has been to build lightweight libraries that do not require an application server and can be used in Java SE (Standard Edition).

To read this article in full, please click here

Categories: News