Pull to refresh

All streams

Show first
  • New
  • Top
Rating limit
  • All
  • ≥0
  • ≥10
  • ≥25
  • ≥50
  • ≥100

React: Lifting state up is killing your app

Website development *JavaScript *ReactJS *

Cover


I now have a new shiny blog. Read this article with the latest updates there https://blog.goncharov.page/react-lifting-state-up-is-killing-your-app

Have you heard about "lifting state up"? I guess you have and that's the exact reason why you're here. How could it be possible that one of the 12 main concepts listed in React official documentation might lead to poor performance? Within this article, we'll consider a situation when it's indeed the case.

Read more →
Total votes 10: ↑10 and ↓0 +10
Views 3.4K
Comments 2

Vue.js Is Good, But Is It Better Than Angular or React?

Website development *JavaScript *Angular *ReactJS *VueJS *
Sandbox
Vue.js is a JavaScript library for building web interfaces. Combining with some other tools It also becomes a “framework”. Now, from our last blog, you already know that Vue.js is one of the top JavaScript frameworks and it is replacing Angular and React in many cases. This brings in the topic of this blog ‘Vue.js is good, but is it better than Angular or React?


In case you’ve never heard or used Vue.js before, you are probably thinking: Come on! yet another JavaScript framework! We get it. However, Vue.js is not new in the custom software development domain. It was first released in 2013 and now it has 130549 stars on Github and downloaded a number of times this year.
Total votes 22: ↑19 and ↓3 +16
Views 5.1K
Comments 6

Digital Forensics Tips&Tricks: «Your Phone» app Forensics

Information Security *
Recently I've received the Announcing Windows 10 Insider Preview Build 18999 including an update for «Your Phone» app, and my first thing was — is there something useful for digital forensics?

So, I've immediately installed this app on my test workstation and connected it with my Android phone. On the same time I was checking for all system activities with Process Monitor to understand where all Your Phone app files are stored.

image
Read more →
Total votes 5: ↑3 and ↓2 +1
Views 1.3K
Comments 0

Python vs JavaScript: Which One Can Benefit You The Most?

Website development *Python *JavaScript *Programming *Django *
Sandbox


The web development arena is moving at a fast pace and has reached an advanced stage today. Python and Javascript making some significant contributions for almost three decades. Now, being a developer or a business if you are planning to pick one of these, then it’s going to be tough just because both are too good to avoid. Hence, this brings up the topic ‘Python vs JavaScript: Which One Can Benefit You The Most?’

These two languages are supported by various trending web frameworks and libraries which are the real game-changers. The introduction of these frameworks and libraries to the web ecosystem has brought new paradigms, traditional notions, and standards of software development.
Read more →
Total votes 12: ↑10 and ↓2 +8
Views 19K
Comments 3

Introducing solution-level NuGet Package Management in Visual Studio for Mac

Microsoft corporate blog Visual Studio *Development for MacOS *
Visual Studio 2019 for Mac version 8.3 comes with many new features as summarized in this blog post. While the entirety of this release was greatly influenced by your feedback, having the ability to manage packages at the solution level was one of the capabilities that most of you expressed as lacking in Visual Studio for Mac. A new solution-level NuGet Package Manager is one of the exciting new features of Visual Studio 2019 for Mac version 8.3.

We’ve made improvements to help you discover packages more easily. This includes an improved experience while searching for new packages, gaining an understanding of what packages are already installed in your project, and finding packages that have updates available. In this blog post, we will focus on the package management experience for a Solution. However, most of the experiences including installing, updating, and viewing installed packages have a similar new experience at the project-level, too.

To launch the NuGet Package Manager for a Solution, you can go to the context menu for the Solution and select «Manage NuGet Package…»:

Read more →
Total votes 1: ↑1 and ↓0 +1
Views 647
Comments 0

MVCC in PostgreSQL-2. Forks, files, pages

Postgres Professional corporate blog PostgreSQL *SQL *
Translation
Last time we talked about data consistency, looked at the difference between levels of transaction isolation from the point of view of the user and figured out why this is important to know. Now we are starting to explore how PostgreSQL implements snapshot isolation and multiversion concurrency.

In this article, we will look at how data is physically laid out in files and pages. This takes us away from discussing isolation, but such a digression is necessary to understand what follows. We will need to figure out how the data storage is organized at a low level.

Relations


If you look inside tables and indexes, it turns out that they are organized in a similar way. Both are database objects that contain some data consisting of rows.

There is no doubt that a table consists of rows, but this is less obvious for an index. However, imagine a B-tree: it consists of nodes that contain indexed values and references to other nodes or table rows. It's these nodes that can be considered index rows, and in fact, they are.

Actually, a few more objects are organized in a similar way: sequences (essentially single-row tables) and materialized views (essentially, tables that remember the query). And there are also regular views, which do not store data themselves, but are in all other senses similar to tables.

All these objects in PostgreSQL are called the common word relation. This word is extremely improper because it is a term from the relational theory. You can draw a parallel between a relation and a table (view), but certainly not between a relation and an index. But it just so happened: the academic origin of PostgreSQL manifests itself. It seems to me that it's tables and views that were called so first, and the rest swelled over time.
Read more →
Total votes 7: ↑7 and ↓0 +7
Views 2.9K
Comments 0

Analysis of commits and pull requests in Travis CI, Buddy and AppVeyor using PVS-Studio

PVS-Studio corporate blog GitHub Build automation *DevOps *Cloud services

Picture 11

Starting from the version 7.04, the PVS-Studio analyzer for C and C++ languages on Linux and macOS provides the test feature of checking the list of specified files. Using the new mode, you can configure the analyzer to check commits and pull requests. This article covers setting up the check of certain modified files from a GitHub project in such popular CI (Continuous Integration) systems, as Travis CI, Buddy and AppVeyor.
Read more →
Total votes 21: ↑21 and ↓0 +21
Views 390
Comments 0

Visual Studio for Mac: Top Features of the New Editor

Microsoft corporate blog .NET *Visual Studio *C# *Development for MacOS *
Over the past year, the Visual Studio for Mac team updated the editors within the IDE to be faster, more fluent and more productive. We did this by building a macOS-native editor interface on top of the same editor backend as Visual Studio on Windows. In version 8.1 we introduced the new C# editor. This was followed by the new XAML editor in 8.2. And most recently, we updated our web languages to utilize the new editors in version 8.3, completing the process we set out to do a year ago. To celebrate this accomplishment, I wanted to share a bit of detail regarding the design and implementation of the new editors along with my five favorite new features in the Visual Studio for Mac code editors.

At the core of the updated editors within Visual Studio for Mac is the shared language service with Visual Studio on Windows. What this means is that the same backend that powers the Windows version of Visual Studio now powers the macOS version as well. This includes IntelliSense, Roslyn, text logic, and all the language services behind the scenes. The only portion not shared between Windows and macOS is the UI layer, which stays native for each platform. In the case of macOS, that means using macOS frameworks like Cocoa and CoreText to power the UI experience. By using a native UI, while also being able to utilize support for native input methods as well as support for right-to-left languages, font ligatures and other advanced graphical features.

Read more →
Total votes 3: ↑3 and ↓0 +3
Views 657
Comments 0

Тarantool Cartridge: Sharding Lua Backend in Three Lines

Mail.ru Group corporate blog High performance *Lua *Distributed systems *Tarantool *

In Mail.ru Group, we have Tarantool, a Lua-based application server and a database united. It's fast and classy, but the resources of a single server are always limited. Vertical scaling is also not the panacea. That is why Tarantool has some tools for horizontal scaling, or the vshard module [1]. It allows you to spread data across multiple servers, but you'll have to tinker with it for a while to configure it and bolt on the business logic.

Good news: we got our share of bumps (for example, [2], [3]) and created another framework, which significantly simplifies the solution to this problem.

Тarantool Cartridge is the new framework for developing complex distributed systems. It allows you to concentrate on writing business logic instead of solving infrastructure problems. Under the cut, I will tell you how this framework works and how it could help in writing distributed services.
Read more →
Total votes 26: ↑25 and ↓1 +24
Views 1.5K
Comments 0

The science behind how our brains work best, and how technology and our environment can help

Microsoft corporate blog Machine learning *Artificial Intelligence Brain


You’re utterly focused. You’ve lost track of time. Nothing else in the world exists. You’re living in the moment.

While this might sound like meditation, it’s a description that can also be applied to the state of flow – the feeling of being so engaged by your work, that you lose yourself to it completely, while massively increasing your productivity in the process.

It’s the holy grail that we all strive for, whether it’s a hobby we’re passionate about, or a project at work. Achieving our best and utilising our maximum potential at all times, can however, be a struggle.
We had the pleasure of talking with Dr. Jack Lewis, a neuroscientist with a passion for exploring how our minds work, to see what motivates us to do our best work, and the important roles that workplace environments, culture, and technology can play.
Read more →
Total votes 4: ↑4 and ↓0 +4
Views 1.2K
Comments 1

Azure PowerShell: Mostly Harmless

PVS-Studio corporate blog Visual Studio *C# *Microsoft Azure Development for Windows *

Picture 6

Hello, everyone. Today we have another Microsoft project on the check. By the title of this article, you can guess that this time developers didn't «please» us with a large number of errors. We hope the project's authors won't be offended by the title. After all, a small number of errors is great, isn't it? However, we still managed to find something intriguing in the Azure PowerShell code. We suggest getting to know the features of this project and checking out errors, found using the PVS-Studio C# analyzer.
Read more →
Total votes 27: ↑27 and ↓0 +27
Views 636
Comments 0

How to Write a Smart Contract with Python on Ontology? Part 3: Runtime API

Cryptography *Python *Programming *DevOps *Cryptocurrencies
Tutorial
image

Introduction


Earlier, I have introduced the Ontology Smart Contract in
Part 1: Blockchain & Block API and
Part 2: Storage API
Now when you have an idea about how to call the relevant API for persistent storage when developing Python smart contract on Ontology, let’s go on to Runtime API (Contract Execution API). The Runtime API has 8 related APIs that provide common interfaces for contract execution and help developers get, convert, and validate data. Here’s a brief description of these 8 APIs:
Read more →
Rating 0
Views 624
Comments 0

How to Write a Smart Contract with Python on Ontology? Part 2: Storage API

Python *Programming *DevOps *Distributed systems *Cryptocurrencies
Tutorial
image
This is an official tutorial published earlier on Ontology Medium blog
Excited to publish it for Habr readers. Feel free to ask any related questions and suggest a better format for tutorial materials

Foreword


Earlier, in Part 1, we introduced the Blockchain & Block API of Ontology’s smart contract. Today we will discuss how to use the second module: Storage API. The Storage API has five related APIs that enable addition, deletion, and changes to persistent storage in blockchain smart contracts. Here’s a brief description of the five APIs:
Read more →
Rating 0
Views 646
Comments 0

Machine Learning for your flat hunt. Part 2

Python *Programming *Data Mining *Data visualization Machine learning *


Have you thought about the influence of the nearest metro to the price of your flat? 
What about several kindergartens around your apartment? Are you ready to plunge in the world of geo-spatial data?


The world provides so much information…



Read more →
Total votes 4: ↑4 and ↓0 +4
Views 1.2K
Comments 0

Best Languages for Game Localization

Alconost corporate blog Game development *Language localisation *Games monetization *Games promotion *


In the previous article, we discussed the most important languages for app localization. Soon afterward we received several requests to share our perspective on the key languages for game localization. That’s why we came up with this new post.

We’ve analyzed localization languages from the perspective of return on investment.

There are numerous case studies, research projects, and forecasts regarding the most promising countries and languages for game localization. In this article, we’re going to examine the game language issue from the perspective of the most efficient allocation of your localization budget.

What are the highest- and lowest-priority objectives when it comes to game localization?


We suggest raising this question first before selecting localization languages. Why? Because, depending on the type of game you’re localizing, your business objectives, and your audience’s expectations, there are several levels of localization.

You can do the minimum required and stop at the first level, or you can go further with a step-by-step localization and maximize outreach.

The first thing to start with is the localization of keywords and game description for app stores. This alone might work perfectly well if your game has little to no text or voice and its interface design is fully compatible with the standards of the country you are targeting.

Next, if your game contains text-based instructions, you have no choice but to translate them. In addition, other design choices will also need adjustments in terms of colors, numbers, and other local standards.

Finally, voice-over, if present in the game, must be translated as well, or at least subtitled. Or you can fully complete the localization process by rerecording voice-over in your target languages, thereby providing the perfect user experience.

Written by Alconost
Total votes 3: ↑3 and ↓0 +3
Views 903
Comments 2

PVS-Studio in the Clouds: CircleCI

PVS-Studio corporate blog C++ *DevOps *Development for Windows *

Picture 2

This is a new piece of our series of articles about using the PVS-Studio static analyzer with cloud CI systems. Today we are going to look at another service, CircleCI. We'll take the Kodi media player application as a test project and see if we can find any interesting bugs in its source code.
Read more →
Total votes 28: ↑26 and ↓2 +24
Views 568
Comments 0