How to become an author
.NET Knowledge Base
  • All streams
  • Development
  • Administrating
  • Design
  • Management
  • Marketing
  • PopSci
Log in Sign up
All streams

Articles

Hubs

Authors

Companies

  • All posts
  • Top
  • Any rating
  • ≥10
  • ≥25
  • ≥50
  • ≥100
  • SvyatoslavMC yesterday at 08:18 AM

    Short-lived Music or MuseScore Code Analysis

    • PVS-Studio corporate blog,
    • Open source,
    • C++,
    • C,
    • Sound

      Having only programming background, it is impossible to develop software in some areas. Take the difficulties of medical software development as an example. The same is with music software, which will be discussed in this article. Here you need an advice of subject matter experts. However, it's more expensive for software development. That is why developers sometimes save on code quality. The example of the MuseScore project check, described in the article, will show the importance of code quality expertise. Hopefully, programming and musical humor will brighten up the technical text.

      Читать далее
      • 0
      • 144
      • Comment
    • Firensis March 4, 2021 at 12:04 PM

      What Is yield and How Does It Work in C#?

      • PVS-Studio corporate blog,
      • Programming,
      • .NET,
      • C#,
      • Development for Windows

        C# capabilities keep expanding from year to year. New features enrich software development. However, their advantages may not always be so obvious. For example, the good old yield. To some developers, especially beginners, it's like magic - inexplicable, but intriguing. This article shows how yield works and what this peculiar word hides. Have fun reading!

        Read more
        • +1
        • 385
        • Comment
      • WhiteBlackGoose March 4, 2021 at 11:48 AM

        What's new in AngouriMath 1.2?

        • Algorithms,
        • C#,
        • Mathematics,
        • F#
        • Translation

        After 210 days, 600 commits, tens of debugging nights, and thousands of messages in the project chat, I finally released AngouriMath 1.2.

        This is an open-source symbolic algebra library for C# and F#, maybe it is interesting for someone?

        Read more
        • +6
        • 271
        • Comment
      • Andrey2008 March 3, 2021 at 08:06 PM

        PVS-Studio, Blender: Series of Notes on Advantages of Regular Static Analysis of Code

        • PVS-Studio corporate blog,
        • Information Security,
        • Open source,
        • C++,
        • C

          PVS-Studio and Blender


          In our articles, we regularly repeat an important idea: a static analyzer should be used regularly. This helps detect and cheaply fix many errors at the earliest stage. It looks nice in theory. As we know, actions still speak louder than words. Let's look at some recent bugs in new code of the Blender project.

          Read more →
          • 0
          • 120
          • Comment
        • Please pay attention

        • Firensis March 2, 2021 at 05:30 PM

          PVS-Studio Clashes with Hardcoded Passwords

          • PVS-Studio corporate blog

            PVS-Studio is a static analyzer that allows to find many problems hidden in the source code. Among them there are also errors related to application security. For example, the analyzer has recently learned to identify the presence of confidential data such as passwords in the code. The OWASP Top Ten list includes this potential vulnerability. It is much more dangerous than it may seem at first glance. What makes it so dangerous? How can a static analyzer save us from it? That's what you'll know about (and more) in this article!

            Read more
            • 0
            • 196
            • Comment
          • dmitrykabanov February 28, 2021 at 10:26 PM

            Startups going global: a guide to Startup Digest

            • ITMO University corporate blog,
            • Display advertising,
            • Content-marketing,
            • Start-up development,
            • Lifehacks for geeks

              Techstars Startup Digest was designed as a discovery tool for entrepreneurs looking for tech events in their area. It was founded in 2009 by Chris McCann who just moved to the Valley. He created an old-school newsletter, featuring promising events in the Bay Area. There was no website, all the events were hand-picked by Chris himself, and the newsletter had 22 subscribers. People liked the idea and that number quickly grew. In 2012 it was acquired by Startup Weekend. Three years later, Startup Weekend’s parent company UP Global was acquired by Techstars — and that’s how the project got its name.

              Startup Digest can be a useful tool for startups and event coordinators. If you can successfully leverage it, your event, blog post and/or tech product can reach thousands of people at no cost.

              Continue Reading
              • +3
              • 385
              • Comment
            • diversenok February 28, 2021 at 05:15 PM

              Intercepting Program Startup on Windows and Trying to Not Mess Things Up

              • Programming,
              • Delphi,
              • Debugging,
              • Development for Windows

                Have you ever heard of Image File Execution Options (IFEO)? It is a registry key under HKEY_LOCAL_MACHINE that controls things like Global Flags and Mitigation Policies on a per-process basis. One of its features that drew my attention is a mechanism designed to help developers debug multi-process applications. Imagine a scenario where some program creates a child process that crashes immediately. In case you cannot launch this child manually (that can happen for various reasons), you might have a hard time troubleshooting this problem. With IFEO, however, you can instruct the system to launch your favorite debugger right when it's about to start this troublesome process. Then you can single-step through the code and figure what goes wrong. Sounds incredibly useful, right?

                I don't know about you, but I immediately saw this feature as a mechanism for executing arbitrary code when someone creates a new process. Even more importantly, it happens synchronously, i.e., the target won't start unless we allow it. Internally, the system swaps the path to the image file with the debugger's location, passing the former as a parameter. Therefore, it becomes the debugger's responsibility to start the application and then attach itself to it.

                So, are there any limitations on what we can do if we register ourselves as a debugger? Let's push this opportunity to the limits and see what we can achieve.

                Read more
                • 0
                • 172
                • 1
              • Ads
                AdBlock has stolen the banner, but banners are not teeth — they will be back

                More
              • Jessy_James February 27, 2021 at 08:02 PM

                HDB++ TANGO Archiving System

                • Open source,
                • Python,
                • IT Infrastructure,
                • Data storage,
                • Data storages
                • Translation
                • Tutorial
                main

                What is HDB++?


                This is a TANGO archiving system, allows you to save data received from devices in the TANGO system.


                Working with Linux will be described here (TangoBox 9.3 on base Ubuntu 18.04), this is a ready-made system where everything is configured.


                What is the article about?


                • System architecture.
                • How to set up archiving.

                It took me ~ 2 weeks to understand the architecture and write my own scripts for python for this case.


                What is it for?


                Allows you to store the history of the readings of your equipment.


                • You don't need to think about how to store data in the database.
                • You just need to specify which attributes to archive from which equipment.
                Read more →
                • 0
                • 147
                • Comment
              • silaev_ka February 26, 2021 at 08:18 PM

                Run MongoDB Atlas locally for testing

                • IT systems testing,
                • Programming,
                • Java,
                • MongoDB

                  What happens to your MongoDB replica set when it comes to failures like network partitioning, restarting, reconfiguration of the existing topology, etc.? This question is especially important these days because of the popularity gained by the multi-cloud model where chances of these scenarios are quite realistic.


                  However, is there a solution, preferably a free one, for testing such cases that would obviate the need of writing manual scripts and poring over the official documentation? As software developers, we would be better off preparing our applications in advance to survive these failures.

                  Read more →
                  • 0
                  • 247
                  • Comment
                • chdan February 25, 2021 at 07:35 PM

                  Chatbox on Top of SIEM Solution

                  • Information Security,
                  • Machine learning

                    One of the most time-consuming steps while implementing a SIEM solution is writing and tuning "Playbook" – a set of reaction procedures SOC Team has to follow in case of alert triggering.

                    So during one of our projects we stoped for a moment and thought: "How can we optimize (ideally automate) the Playbook?"

                    Read more
                    • 0
                    • 222
                    • Comment
                  • Stolyarrr February 24, 2021 at 10:31 AM

                    Free Heroes of Might and Magic II: Open-Source Project that You Want to Be Part of

                    • PVS-Studio corporate blog,
                    • Open source,
                    • C++,
                    • Game development

                      Recently we found out that the new version of the fheroes2 project was released. In our company there are many fans of Heroes of Might and Magic game series. So, we couldn't pass it up and checked the project by PVS-Studio.

                      Читать далее
                      • +6
                      • 2.6k
                      • Comment
                    • Boozlachu February 24, 2021 at 09:28 AM

                      Creating and using your own deb repository (not mirroring)

                      • Configuring Linux,
                      • *nix,
                      • Development for Linux,
                      • DevOps
                      • Tutorial

                      Tested on the following configuration:
                      Server: ubuntu 20.04
                      Clients: ubuntu 16.04, 18.04, 20.04

                      It doesn’t require a lot of software to create it.

                      Читать далее
                      • +1
                      • 322
                      • 2
                    • tnt4brain February 22, 2021 at 04:42 PM

                      Improving Ansible

                      • System administration,
                      • Python,
                      • *nix,
                      • Server Administration,
                      • DevOps
                      • Translation

                      Let's once again improve Ansible. Well, this won't work without getting into sources.

                      Take the action
                      • +2
                      • 580
                      • Comment
                    • aydu February 22, 2021 at 11:58 AM

                      Algorithms in Go: Matrix Spiral

                      • Programming,
                      • Algorithms,
                      • Go

                        Most solutions to algorithmic problems can be grouped into a rather small number of patterns. When we start to solve some problem, we need to think about how we would classify them. For example, can we apply fast and slowalgorithmic pattern or do we need to use cyclic sortpattern? Some of the problems have several solutions with different patterns. In this article of series Algorithms in Go we consider an algorithmic pattern that solves an entire class of the problems related to a matrix. Let's take one of such problems and see how we can handle it.

                        How can we traverse a matrix in a spiral order?

                        Read more
                        • +2
                        • 672
                        • Comment
                      • serenaryder February 21, 2021 at 04:53 PM

                        Top 7 Technology Trends to Look out for in 2021

                        • Information Security,
                        • Network technologies,
                        • Research and forecasts in IT,
                        • Artificial Intelligence,
                        • IOT
                        • From sandbox

                        Technology is as adaptable and compatible as mankind; it finds its way through problems and situations. 2020 was one such package of uncertain events that forced businesses to adapt to digital transformation, even to an extent where many companies started to consider the remote work culture to be a beneficiary long-term model. Technological advancements like Hyper automation, AI Security, and Distributed cloud showed how any people-centric idea could rule the digital era. The past year clearly showed the boundless possibilities through which technology can survive or reinvent itself. With all those learnings let's deep-dive and focus on some of the top technology trends to watch out for in 2021.

                        Read more
                        • 0
                        • 2k
                        • 1
                      • basiliscos February 20, 2021 at 08:28 AM

                        Overview of recent changes in rotor (v0.10… v0.14)

                        • Open source,
                        • Programming,
                        • C++

                          actor system


                          rotor is a non-intrusive event loop friendly C++ actor micro framework with hierarchical supervising, similar to its elder brothers like caf and sobjectizer. There is a bulk of important changes since the last release announcement v0.09

                          Read more →
                          • 0
                          • 406
                          • Comment
                        • anton-malakhov February 18, 2021 at 07:31 PM

                          OOX 2.0: Out of Order eXecution made easy

                          • Intel corporate blog,
                          • Programming,
                          • C++,
                          • Concurrent computing

                            As Intel Threading Building Blocks (TBB) is being refreshed using new C++ standard, deprecating tbb::task interface, the need for high-level tasking interface becomes more obvious. In this article, I’m proposing yet another way of defining what a high-level parallel task programming model can look like in modern C++. I created it in 2014 and it was my last contribution to TBB project as its core developer after 9 wonderful years of working there. However, this proposal has not been used in production yet, so a new discussion might help it to be adopted.

                            Read more
                            • +10
                            • 724
                            • 1
                          • Andrey2008 February 18, 2021 at 05:35 PM

                            Why PVS-Studio Uses Data Flow Analysis: Based on Gripping Error in Open Asset Import Library

                            • PVS-Studio corporate blog,
                            • Open source,
                            • C++,
                            • Algorithms

                              Why PVS-Studio Uses Data Flow Analysis
                              An essential part of any modern static code analyzer is data flow analysis. However, from an outside perspective, the use of data flow analysis and its benefit is unclear. Some people still consider static analysis a tool searching for something in code according to a certain pattern. Thus, we occasionally write blog posts to show how this or that technology, used in the PVS-Studio analyzer, helps to identify another interesting error. Today, we have such an article about the bug found in the Base64, one of the encoding standard implementations of binary data.

                              Read more →
                              • +2
                              • 269
                              • Comment
                            • Andrey2008 February 16, 2021 at 09:02 PM

                              Date Processing Attracts Bugs or 77 Defects in Qt 6

                              • PVS-Studio corporate blog,
                              • Information Security,
                              • Programming,
                              • C++,
                              • Qt

                                PVS-Studio & Qt 6


                                The recent Qt 6 release compelled us to recheck the framework with PVS-Studio. In this article, we reviewed various interesting errors we found, for example, those related to processing dates. The errors we discovered prove that developers can greatly benefit from regularly checking their projects with tools like PVS-Studio.

                                Read more →
                                • +1
                                • 1.2k
                                • Comment
                              • quaer February 16, 2021 at 04:22 PM

                                Third Order Low-pass Filter with One Op Amp

                                • Circuit design,
                                • Manufacture and development of electronics,
                                • DIY,
                                • Electronics for beginners
                                • Tutorial
                                Amateur vs Pro

                                Common approach to build a third order low-pass filter is to use two circuit stages and two Op Amps. Making good One Op Amp design is not always easy, but it is possible.
                                Read more →
                                • +10
                                • 779
                                • Comment
                              • ← here
                              • there →
                              • 1
                              • 2
                              • 3
                              • 4
                              • 5
                              • 6
                              • 7
                              • 8
                              Ads
                              AdBlock has stolen the banner, but banners are not teeth — they will be back

                              More

                              Community sponsors

                              • VTB
                                Develops and makes financial services accessible online.
                              • Huawei
                                ICT expert. Supplies smart devices and builds intelligent infrastructure
                              • Avito
                                Master of ads in Russia. Handles high loads.
                              How to become a sponsor

                              Top companies

                              • RUVDS.com
                                3,506.35
                              • VDSina.ru
                                1,478.56
                              • Selectel
                                1,380.92
                              • Mail.ru Group
                                849.67
                              • ITSumma
                                691.45
                              • Флант
                                627.45
                              • OTUS
                                573.19
                              • ITSOFT
                                564.51
                              • PVS-Studio
                                520.83
                              • SkillFactory
                                478.91
                              All companies

                              Popular right now

                              • Audio over Bluetooth: most detailed information about profiles, codecs, and devices
                                164k 9
                              • Java vs .Net: Who will Reign in the Future?
                                26.1k 3
                              • Bluetooth stack modifications to improve audio quality on headphones without AAC, aptX, or LDAC codecs
                                25.4k 3
                              • Python consumes a lot of memory or how to reduce the size of objects?
                                60.7k 3
                              • Full disclosure: 0day vulnerability (backdoor) in firmware for Xiaongmai-based DVRs, NVRs and IP cameras
                                65.3k 15
                              • Spring Boot app with Apache Kafka in Docker container
                                4.5k 1
                              No reasons for downvotes yet
                              Reasons for downvotes

                              Top posts

                              • Day
                              • Week
                              • Month
                              • Audio over Bluetooth: most detailed information about profiles, codecs, and devices
                                +22 164k 14 9
                              • Java vs .Net: Who will Reign in the Future?
                                +3 26.1k 5 3
                              • What Is yield and How Does It Work in C#?
                                +1 385 1 0
                              • Hack Your XiaoMi Vacuum Cleaner
                                +18 35.5k 8 0
                              • What Is yield and How Does It Work in C#?
                                +1 385 1 0
                              • Startups going global: a guide to Startup Digest
                                +3 385 5 0
                              • What's new in AngouriMath 1.2?
                                +6 271 2 0
                              • Free Heroes of Might and Magic II: Open-Source Project that You Want to Be Part of
                                +6 2.6k 0 0
                              • Date Processing Attracts Bugs or 77 Defects in Qt 6
                                +1 1.2k 0 0
                              • Algorithms in Go: Dutch National Flag
                                +8 1k 5 4
                              • Should We Initialize an Out Parameter Before a Method Returns?
                                +4 877 1 0

                              Please pay attention

                              Your account

                              • Log in
                              • Sign up

                              Sections

                              • Posts
                              • Hubs
                              • Companies
                              • Users
                              • Sandbox

                              Info

                              • How it works
                              • For Authors
                              • For Companies
                              • Documents
                              • Agreement
                              • Terms of service

                              Services

                              • Ads
                              • Subscription plans
                              • Content
                              • Seminars
                              • Megaprojects
                              © 2006 – 2021 «Habr»
                              Language settings
                              About
                              Support
                              Mobile version
                              Language settings
                              Interface
                              Content