• Configure the development environment for learning HTML, CSS, PHP in Windows

    • Tutorial

    Configure the development environment for learning HTML, CSS, PHP in Windows.


    (article is published on linkedin.com (Alexander Panov) )


    web - developer PHPStorm and Vagrant


    Beginning programmers always ask the question, where to start learning about creating websites? Search on the Internet gives a lot of various information, but unfortunately only more confuses novice developers. Having more than 5 years of teaching experience, I have seen many times how students, making breaks in computer games and deciding to become web developers, tried to customize development environments. They began to sort out the programs for layout. They grabbed Sublime Text, Notepad ++, Visual Studio Code, NetBeans or PHPStorm. We tried to install on our local computer WAMP (stands for Windows, Apache, MySQL and PHP) platforms, such as Denver, Xampp, Open Server and many others. But since there is no systematic knowledge in the head of a novice developer, there is no experience of customization, it was rare for some of them to set up a convenient development environment, and whoever got it, understood that it became more difficult to play, since many additional programs, smoothness in the game.


    This article was born because of explaining for many years to each student how to do everything correctly and conveniently.


    Once again I want to say that we will set up a working environment in the Windows system to study the creation of sites in HTML, CSS and their links to PHP. We will call this computer working, so that beginning web developers get used to the idea that their computer is their source of income.


    Begin

    Читать дальше →
  • PVS-Studio 7.00

      PVS-Studio C#\Java\C++Today is an important day — after 28 releases of the sixth version we present our PVS-Studio 7.00, in which the key innovation is the support of the Java language. However, during 2018 we have acquired many other important changes related to C++, C#, infrastructure and support of coding standards. Therefore, we bring to your attention a note that sums up the major changes that have happened in PVS-Studio for the last time.
      Читать дальше →
    • Startups’ mistakes and pitfalls at patenting their IP

      • Translation
      Most startups are created by devotees who don’t really want to know about protecting their intellectual property. Often, this leads to unfortunate consequences. Here, I would like to give an overview of the most common errors — and how to avoid them.

      Nuts and bolts


      Patent is a document of title to:
      • the exclusive right to,
      • authorship and
      • priority of an —
      invention,
      — utility model, or
      — industrial design.
      Invention, in its essence, is a technical solution expressed in the combination of essential features — that are sufficient for achieving the technical result.
      Essential features are those affecting the achievability of the technical result — or, in other words, are in a cause-and-effect relation with the result.
      Technical result is a trait of the technical effect, event, property, etc. that effectively appear in the exercise of the method, or in the production or use of the product, including in the use of the product produced directly by the method, of invention.
      Patent claim defines the scope of protection of the patent, as it comprises the combination of essential features — that are sufficient for achieving the technical result.

      Error 1 — The lack of protection


      Peter created an ingenious algorithm; there are no known analogues to that whatsoever. He fiercely codes a prototype and begins the commercialisation in Russia. He puts up a website, uploads a demo, does some exhibitions. Gains momentum and taps into the US market. And here we go…

      No protection — no entry
      Читать дальше →
    • Kalman Filter

      • Translation
      • Tutorial


      There are a lot of different articles on Kalman filter, but it is difficult to find the one which contains an explanation, where all filtering formulas come from. I think that without understanding of that this science becomes completely non understandable. In this article I will try to explain everything in a simple way.

      Kalman filter is very powerful tool for filtering of different kinds of data. The main idea behind this that one should use an information about the physical process. For example, if you are filtering data from a car’s speedometer then its inertia give you a right to treat a big speed deviation as a measuring error. Kalman filter is also interesting by the fact that in some way it is the best filter. We will discuss precisely what does it mean. In the end of the article I will show how it is possible to simplify the formulas.
      Read more →
      • +21
      • 2.5k
      • 1
    • Automation VS Chaos

        image

        IT technologies evolution allowed to control huge data flows. Business has a lot of IT solutions: CRM, ERP, BPM, accounting systems or at least just Excel and Word. Companies are different too. Some of companies are composed of plenty branches. Let’s name such as “Pyramid”. Pyramids have data synchronization issue for pile of IT systems. Software vendors and versions differ for branches significantly. In addition management company continuously modify reporting requirements that causes frustration assaults in the branches. This is a story about the project I happened to encounter chaos that needed to be systematized and automated. Low budget and tight deadlines limited the use of most existing industrial solutions but opened up scope for creativity.
        Читать дальше →
      • Receiving shortwave faxes with your PC and an off-the-shelf receiver

        • Tutorial

        One of the many botched faxes

        This is a (rather freely) translated version of this article.

        When most people hear «fax», they remember those clumsy hybrids of a telephone and a printer straight outta 80s (unless you're in Japan, of course — they're still common there). But did you know that a similar technology is used to provide ship crews with weather data when there's no Internet connection? And Kyodo, a Japanese news agency (they sure like faxes, huh), still broadcasts news like that. And we can decode all this stuff, too — given a receiver, an audio cable and some software.
        So, how does it look?
      • How to Painlessly Unite Art with Java, JavaScript, and Graphs or The Story Behind Creating an Interactive Theatre Produc

          Last year 2018, a theatre production series called Tale of the Century was launched in Estonia. Throughout the year, 22 local theatres presented their interpretations of the past hundred years of Estonian history to the audiences. In the draw, the Russian Theatre was assigned the topic of the future of Estonia.

          Читать дальше →
        • Things you need to know should you want to switch from PHP to Python

          • Translation
          Did you ever think that one day you had got into PHP web programming too quickly?
          Several years have passed already, you have gained a lot of experience and can’t think of any other ways to work with web but PHP. Perhaps, you sometimes doubt the choice you have made, but are unable to confirm your doubts here and now. At the same time, you need real examples; you want to understand the changes that may occur in particular aspects of your work.

          Today I will try to answer the following question: "What if we use Python instead of PHP?".

          I have asked this question myself many times. I have been using PHP for 11 years already and am a certified PHP specialist. I have mastered it so it works just the way I want. I was really puzzled by several articles that criticized PHP severely (PHP: a fractal of bad design). However, when chance came, I switched to Ruby and then to Python. Eventually, I chose the latter. Now I will try to explain how we Python guys live out there.


          Read more
          • +20
          • 3.6k
          • 7
        • How to setup front-end project with automated formatting, linting, testing and auto-generated documentation

          • Tutorial


          Original post in Russian


          Keeping your code consistent and well formatted not an easy task even when you work alone. But when you work with a team or with open source project all start getting even harder. Everyone has own code style, someone doesn’t run tests, and no one writes documentation. This article will help you to set up all these things and even more — automate this routine to never do it manually.


          After reading you will get your own npm-ready project with next features:

          Read more →
        • What to think during NALSD interview

            There are a lot of posts about what a typical coding interview at Google looks like. But, while not as widely described and discussed, there is also quite often a system design interview. For an SRE position it’s NALSD: non-abstract large system design. The key difference between SWE and SRE interviews consists in these two letters: NA.

            So, what is the difference? How to be prepared for this interview? Let’s be non-abstract, and use an example. To be more non-abstract, let’s take something from the material world, such that you won’t be asked the exact same thing at the real interview (at least, not at the Google interview) :)

            So, let’s design a public library system. For the paper books, like you have seen everywhere around. The whole text below was written all at once within around one hour, to roughly show you the areas that you should be able to cover / touch during the interview. Please excuse some disorder, that’s how I think (therefore I am).
            Read more →
          • Creator of while True: learn() on programming in game development, VR issues and machine learning simulation

            • Translation


            A few years ago I had a feeling that Oleg Chumakov (then working at the game studio Nival) was the most famous programmer in the game development industry. He was giving speeches, hosted Gamesjams and frequently showed up on the podcast How games are made.

            When VR hit the market, Oleg was chosen to lead the company’s new department — NivalVR. But, as you probably know, VR didn’t quite take off as much as people expected.

            I kind of moved to other to other things in life and stopped keeping up with game development for a while, but after getting into it again I noticed that things were looking up for Oleg’s team. Now it’s called Luden.io, and their machine learning expert simulator, while True: learn() became a huge hit in its admittedly small niche. Lots of cool stories are happening around the game and the team.

            We decided to do an interview with Oleg, but I couldn’t stick to one topic — his life up to this moment has been, for the lack of a better word, “interesting”. He’s seen it all. And, to ensure that a programmer could talk about programming without fear of looking too “nerdy”, the interview was conducted by my friend, colleague and an experienced developer of its own fillpackart.
            Читать дальше →
          • Another event for CSS position: sticky

              Have you ever wondered how to track when elements with positions: sticky become fixed? Eric Bidelman has an amazing post on this topic, go and read it now.


              I've found some difficulties while using it in my project. Here they are:


              1. It breaks encapsulation. sticky-change event relates to header element, but you have to insert sentinels to header's parent (and make it position: relative).
              2. It involves lots of factors that should be consistent and their connection is not always obvious. For example you can't set --default-padding greater than 40px, which is top-sentinel's height.
              3. You can't track block in the middle of an article.

              Let's try to improve it!

              Читать дальше →
            • How to milk cows with robots and make an industrial startup of it. The history of the R-SEPT development

              • Translation


              In 2017, the media heard a very interesting story about a startup that robotizes milking cows on industrial dairy farms. The company is called R-SEPT, and back then it received 10 million rubles of investment. But a year has passed, and there's still no news on what happened further. We contacted Aleksey Khakhunov (AlexeiHahunov), the founder of the startup, and discussed the development. It turns out that the whole year his team was getting the prototype of the robot into shape, and just a week ago they conducted their first field test on the farm.

              Under the cut there's a story about a robotics student who grew up on his parents' farm, turned the University diploma into an industrial startup, as he collected the first manipulators with his friends, and then scaled up to the level of state programs for the robotization of agriculture. And the most important is how the iron hand of the robot and the machine vision are better than a living milkmaid.
              Читать дальше →
            • Info Desk: «Internet Archive» — history, mission and subsidiary projects

              • Translation


              Probably, there are not so many users on Habr who have never heard about the «Internet Archive», a service that searches and stores the digital data that is important for all mankind, whether it be the Internet pages, books, videos or other type of information.

              Who manages the Internet archive, when it appeared and what is its mission? Read about it in the today's «Inquiry».
              Read more →