Archive for the ‘others’ Category

NordVPN promises a private and fast path through the public internet, with no logs and unmetered access for 6 simultaneous devices. They are currently running a promotion, but you’ll have to use this link to find it. Its typical price has been discounted to $99 for 3 years of service. That’s a good deal at just $2.75 per month.  See the $2.75/month NordVPN holiday deal here.

This story, “Get 3 Years of NordVPN Service for Just $2.75 Per Month” … Read the rest

In Datastructures and algorithms in Java, Part 2 I introduced a variety of techniques for searching and sorting one-dimensional arrays, which are the simplest arrays. In this article we’ll explore multidimensional arrays. I’ll introduce the three techniques for creating multidimensional arrays, then show you how to use the Matrix Multiplication algorithm to multiply elements in a two-dimensional array. I’ll also introduce ragged arrays and show you why they are popular for big data applications. Finally, I will answer the question … Read the rest

Oracle has extended public updates for Java Development Kit (JDK) 8 until at least January 2019. These had been slated to end in September 2018.

With this extension, there will be additional quarterly updates in October 2018 and January 2019 for Version 8 of the JDK, which is based on Java Standard Edition 8. They will be free for use on general-purpose computers.

Oracle also noted other support deadlines for Java:

  • It reiterated that applets, which have relied on
Read the rest

Assignment statements in Python do not create copies of objects, they only bind names to an object. For immutable objects, that usually doesn’t make a difference.

But for working with mutable objects or collections of mutable objects, you might be looking for a way to create “real copies” or “clones” of these objects.

Essentially, you’ll sometimes want copies that you can modify without automatically modifying the original at the same time. In this article I’m going to give you the … Read the rest

The team behind Google’s Go language, aka Golang, has released the release candidate of Go 1.10, the next version of the popular open source language

The new features in Google Go 1.10 beta

The upgrade offers compiler tool chain and performance improvements but no substantive language changes.

Expected to be available in a production version in February 2018, Go 1.10 now provides these key features in its release candidate:

  • Improved performance of code generated by the compiler, spread across
Read the rest

When writing Python applications, caching is important. Using a cache to avoid recomputing data or accessing a slow database can provide you with a great performance boost.

Python offers built-in possibilities for caching, from a simple dictionary to a more complete data structure such as functools.lru_cache. The latter can cache any item using a Least-Recently Used algorithm to limit the cache size.

Those data structures are, however, by definition local to your Python process. When several copies of your … Read the rest

The Eclipse Foundation is preparing the next round of technologies to be added to enterprise Java, which it now runs. (Last year, the foundation was charged with developing Java EE (Enterprise Edition), in the wake of Oracle’s abdication of its stewardship of the project.)

Eclipse expects about 35 to 40 new projects as part of its open source enterprise Java implementation.

The foundation expects Eclipse Enterprise for Java (EE4J) project to ship a Java EE 8-compliant project as soon … Read the rest

In cases when a production server does not have access to the Internet or to the internal network, you will need to bundle up the Python dependencies (as wheel files) and interpreter along with the source code.

This post looks at how to package up a Python project for distribution internally on a machine cut off from the Internet using Docker.

Objectives

By the end of this post, you will be able to…

  1. Describe the difference between a Python wheel
Read the rest

Web Scraping Basics

What is web scraping all about? Consider the following scenario:

Imagine that one day, out of the blue, you find yourself thinking “Gee, I wonder who the five most popular mathematicians are?”

You do a bit of thinking, and you get the idea to use Wikipedia’s XTools to measure the popularity of a mathematician by equating popularity with page views. For example, look at the page on Henri Poincaré. There you can see that Poincaré’s pageviews … Read the rest

Amazon’s Echo Spot brings you all the features of its Echo, with a screen for displaying weather forecasts, news updates, sports scores, song lyrics and much more. All you need to do is ask Alexa. It fits comfortably on a nightstand and works well as an alarm clock and bedside calendar as well. Watch videos, call your friends, control your smarthome — new features are added all the time. Right now, if you buy two, Amazon will activate a $40 … Read the rest