You are here
Révolutionnaires, Black Panthers, mouvements de libération… la vie trépidante d'Elaine Mokhtefi à Alger
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.
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.)
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:
You probably think of someone who exemplifies the “keeping up with the Joneses” mindset as behaving in an obnoxious way. You may roll your eyes at a neighbor preening their immaculate clone-army-of-grass-blades lawn, but you probably still feel a tug that keeps you within the bounds of what our community considers normal. That apparently includes conserving energy.
In a new study, a team led by Columbia Business School’s Jon Jachimowicz and the University of Exeter’s Oliver Hauser set out to better understand why efforts to encourage reduced energy use get different results in different places. And they found evidence that community attitudes may make a bigger difference than personal ones.Think of your neighbors
The researchers worked with data from a company called Opower, which shows utility customers how their energy use compares to others in their area. Opower randomly selects its participants and keeps a control group of customers for comparison.