Pull to refresh
607.59
Rating

Programming *

The art of creating computer programs

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

PVS-Studio is now in Compiler Explorer

PVS-Studio corporate blog Programming *C++ *Compilers *C *
image1.png

Not so long ago, a landmark event has happened: PVS-Studio appeared in Compiler Explorer! Now you can quickly and easily analyze the code for errors right on the godbolt.org site (Compiler Explorer). This feature opens up a large number of new possibilities – from quenching curiosity about the analyzer's abilities to being able to quickly share check results with a friend. This article will cover the topic on how to use these features. Caution – large GIFs!
Read more →
Total votes 1: ↑1 and ↓0 +1
Views 528
Comments 0

How to find an English teacher. Part 1

Python *Programming *Data Mining *Data visualization Natural Language Processing *


In the modern world, here and there ideas are arising about using data science for an extra benefit. For instance, Google can use a history of watched videos for providing recommendations about new ones. Online shops are using a recommendation system for increasing your receipt. However… if companies use the data for their benefit, could we do the same for own needs such as looking an online English teacher?


Disclaimer

It is an approach based on my own experience and can be unsuitable to your point of view, ideas, or principles.

Total votes 2: ↑1 and ↓1 0
Views 1.1K
Comments 0

How to introduce a static code analyzer in a legacy project and not to discourage the team

PVS-Studio corporate blog Programming *Perfect code *Product Management *DevOps *


It is easy to try a static code analyzer. But it requires skills to introduce it in the development of an old large project. If the approach is incorrect, the analyzer can add work, slow down development, and demotivate the team. Let's briefly discuss how to properly integrate static analysis into the development process and start using it as part of CI/CD.
Read more →
Total votes 1: ↑1 and ↓0 +1
Views 1.2K
Comments 0

Implementation of Linked List in PHP

Programming *Algorithms *
Sandbox

A linked list is a linear data structure, which contains node structure and each node contains two elements. A data part that stores the value at that node and next part that stores the link to the next node as shown in the below image:


Linked List Node

The first node also known as HEAD is usually used to traverse through the linked list. The last node (next part of the last node) points to NULL. The list can be visualized as a chain of nodes, where every node points to the next node.


Linked List

Implementation of Singly Linked List


Representation:


In PHP, singly linked list can be represented as a class and a Node as a separate class. The LinkedList class contains a reference of Node class type.


//node structure
class Node {
  public $data;
  public $next;
}

class LinkedList {
  public $head;

  //constructor to create an empty LinkedList
  public function __construct(){
    $this->head = null;
  }
};

Read more →
Total votes 7: ↑5 and ↓2 +3
Views 3K
Comments 4

Future of PHP: Bright or Dull?

PHP *Programming *
image

PHP is a popular scripting language founded in 1995 designed to perform several functions. Do you think the essence of PHP has faded away since the newer programming languages and frameworks have come into the market?

If you think so, then let me tell you that your perception is totally wrong! In fact, in the contemporary market of custom software development, it has become the most popular language in server-side programming.

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

Annotations for Concurrency in Java. Our approach to coloring threads

Miro corporate blog Programming *Java *
At Miro, we always try to improve the maintainability of our code by using common practices, including in matters of multithreading. This does not solve all the issues that arise because of the ever-increasing load, but it simplifies the support: it increases both the code readability and the speed of developing new features.

Today (May 2020) we have about 100 servers in the production environment, 6,000 HTTP API requests per second and more than 50,000 WebSocket API commands, and daily releases. Miro has been developing since 2011; in the current implementation, user requests are handled in parallel by a cluster of different servers.

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

The Anatomy of LuaJIT Tables and What’s Special About Them

VK corporate blog Programming *Perfect code *Designing and refactoring *Lua *
I don't know about you, but I really like to get inside all sorts of systems. In this article, I’m going to tell you about the internals of Lua tables and special considerations for their use. Lua is my primary professional programming language, and if one wants to write good code, one needs at least to peek behind the curtain. If you are curious, follow me.


Read more →
Total votes 28: ↑28 and ↓0 +28
Views 1.7K
Comments 0

Programming as an endless educational pursuit

ITMO University corporate blog Programming *
When one embarks on the journey to master the craft of programming, they come to the realisation that it has no finish line. No matter how good you are, there are still things to learn, solutions to explore.

Today, we’ll talk about the importance of remaining a lifelong student, language adoption trends according to StackOverflow and why programming itself might not be what you end up learning to become better.

Read more →
Total votes 9: ↑9 and ↓0 +9
Views 971
Comments 0

Why I keep track of spendings in a personal app made with Git+JS

Abnormal programming *JavaScript *Programming *HTML *DIY
Translation

Hi, folks, let me share my experience of creating an application to keep track of my spendings. Specifically, let me do it by answering the following questions:


  1. Why keep track of spendings in an application?
  2. Why did I create the application as a personal project?
  3. Why does the project use Git+JS?

1. Why keep track of spendings in an application?


I, like many people out there, wanted to become rich and successful. To become rich, one is often advised to run a personal budget, that's what I started to do several years ago. I'd like to point out that running my personal budget hasn't made me rich and successful, and I increased income simply by moving to Moscow.

Rating 0
Views 776
Comments 0

Does gender segregation in the labor market still persist?

Microsoft corporate blog Programming *IT-companies
Common sense prompts that gender segregation and gender discrimination on labor market have declined. There is a popular opinion that too much is talked about smaller women’s chances to blossom forth at work, while the problem was solved long ago. Actually, women all over the world have the same opportunities as men to get higher education, to hold a supervisor or manager position, to climb the career and salary ladder.



The biggest corporations and companies run special programs to shorten gender inequality on labor market. That seems like the evidence: smaller firms try to imitate the policy, and also values, of world famous companies in order to succeed and gain benefit like the second ones do (it is an economic-sociological proved behavior), so in nearest future, or perhaps in present, all players on labor market will popularize the idea of gender equality in all its senses. However, the state of affairs is far from desired. Even if organizations follow gender unbiased strategy, will it solve the global problem of gender inequality at work overall?

This is the guest article by Maria Antomony, HSE University graduate student, sociologist and code passionate.
Read more →
Total votes 4: ↑3 and ↓1 +2
Views 638
Comments 0

Juggling work and study at ITMO University: CS edition

ITMO University corporate blog Programming *Studying in IT IT career Sound
We talked to the graduates of the Speech Information Systems MA program at ITMO about the ways our university helped jumpstart their careers. [More stories from our startups]:


Read more →
Total votes 6: ↑5 and ↓1 +4
Views 621
Comments 0

Esoteric programming languages: a systematic approach

ITMO University corporate blog Programming *
A surprising number of programming languages were created to accomplish unusual tasks that have nothing to do with programming. These are commonly called esoteric. Today, we’re going to paint a general overview of the esolang landscape, and try to figure out why people are continuing to create them.

Read more →
Total votes 7: ↑6 and ↓1 +5
Views 1.3K
Comments 0

Legacy Languages still Pretty Hard to Beat

Programming *Software
Sandbox
image

Evolution and development have always been the integral parts of every sector you come across. Same is the case with programming languages. Numerous up gradations and invention of entirely new languages have divided the world of programming into legacy and modern. But no matter what, legacy programming still makes the foundation of many software, web applications and AI based techniques.
Read more →
Total votes 8: ↑6 and ↓2 +4
Views 1.4K
Comments 1

Analyze your builds programmatically with the C++ Build Insights SDK

Microsoft corporate blog Programming *C++ *Visual Studio *API *
We’re happy to announce today the release of the C++ Build Insights SDK, a framework that gives you access to MSVC build time information via C and C++ APIs. To accompany this release, we are making vcperf open source on GitHub. Because vcperf itself is built with the SDK, you can use it as a reference when developing your own tools. We’re excited to see what sort of applications you’ll be building with the SDK, and we’re looking forward to receiving your feedback!

Read more →
Total votes 2: ↑2 and ↓0 +2
Views 854
Comments 0

[Interview] Top Programming Trends And Practical Advice to Follow in The New Decade

Programming *IT career


Image credit: Unsplash

What will the future bring to the programming world? Are there any specific technologies that will rise and fall? Which programming language one should learn to succeed in their career? What should a newbie programmer know and understand to build a successful career in the 2020s?

I had the opportunity to sit down and talk about these issues in greater detail with Vitaly Kukharenko, a CTO with 10+ years of experience and creator of several high load startups.
Read more →
Total votes 9: ↑7 and ↓2 +5
Views 1.7K
Comments 0

Developing and deploying Python for secured environments with Kushal Das

Конференции Олега Бунина (Онтико) corporate blog Information Security *Python *Programming *Conferences
Here is the translated Russian version of this interview.

The company of speakers at Moscow Python Conf++ 2020 is great, and it's not a good luck but thorough Program Committee's work. But who cares about achievements, it's much more interesting what the speaker thinks about our own questions. Conferences suits good to find it out, get insider information or advice from an experienced developer. But I got an advantage of being in Program Committee so I already asked our speaker Kushal Das some questions.

A unique feature of Kushal's speeches is that he often unveils «secret» ways to break Python code and then shows how to write code so that the NSA can't hack it. At our conference Kushal will tell you how to safely develop and deploy Python code. Of course I asked him about security.

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

Clean Decomposition

Programming *Development of mobile applications *Development for Android *Project management *
Translation
In this article, I want to consider an approach to splitting tasks into subtasks when using Clean Architecture.

The decomposition problem was encountered by the NullGravity mobile development team and below how we solved it and what get in the end.
Read more →
Total votes 2: ↑1 and ↓1 0
Views 806
Comments 0

Augmented Reality: A perfect vehicle for 21st-century education

Programming *Development of mobile applications *Development for IOT *Development for AR and VR *AR and VR
Sandbox
With the advancements in technology, new ways are being explored and introduced to make teaching and learning more productive. This has taken the e-learning industry to new heights. It has been expected that the global e-learning market revenue will reach $300 billion by 2025.
Read more →
Total votes 1: ↑0 and ↓1 -1
Views 743
Comments 0

Authors' contribution