Habr

News from Habr


Fresh news
Other news
older that 24 hours
Habr
lany @ Habr 1 place · 08/22/2021 06:33 EDT

[Translation] One does not simply calculate the absolute value

It seems that the problem of calculating the absolute value of a number is completely trivial. If the number is negative, change the sign. Otherwise, just leave it as it is. In Java, it may look something like this:public static double abs(double value) { if (value < 0) { return -value; } return value; }It seems to be too easy even for a junior interview question. Are there any pitfalls... Read more

344

Habr
CGDrone @ Habr 2 place · 08/22/2021 04:39 EDT

Water Simulation

So, I finally found a moment to write a bit about how we created the water for TReload. Our basic goal was to flood all of the levels with acid - a lot of acid, as the flooded area is massive :) Here’s one of the results which we got out of this process: Read more Read more

0

Habr
yelnar @ Habr 3 place · 08/21/2021 10:03 EDT

How to setup TON validator

The The Open Network (TON) is a fast, secure and scalable blockchain and network project, capable of handling millions of transactions per second.It was originally introduced by Telegram and called Telegram Open Network. Unfortunately, in May 2020, they announced the closure of the project due to the US court decision. Right after that, three different organizations announced their intentions to continue work on the blockchain: TON Labs, NewTON (TON Foundation),... Read more

0

Habr
mischmasch @ Habr 1 place · 08/21/2021 08:11 EDT

New features of the hybrid monitoring AIOps system Monq

In one of the previous articles, I’ve already written about the hybrid monitoring system from Monq. Almost two years have passed since then. During this time, Monq has significantly updated its functionality, a free version has appeared, and the licensing policy has been updated. If monitoring systems in your company start to get out of control, and their number rushes somewhere beyond the horizon, we suggest you take a look... Read more

301

Habr
glebmachine @ Habr 2 place · 08/21/2021 04:00 EDT

Десятка лучших frontend-сообществ и каналов

Что может быть ценнее новых идей и нового опыта? Только возможность обсудить их вместе с людьми, которые в теме. Мы решили сделать для вас подборку самых интересных frontend-сообществ и полезных каналов на YouTube для разработчиков JavaScript и веб-дизайнеров. Read more Read more

159

Habr
LuxoftRussia @ Habr 2 place · 08/20/2021 05:30 EDT

Quantitative‌ ‌Funds:‌ ‌What’s‌ ‌Interesting‌ ‌for‌ ‌Coders?

Hello, Habr! Not only traders but also mathematicians and programmers work with stock markets. Director of Engineering at Luxoft Artem Sosulnikov tells about data, which specialists of quantitative hedge funds work with, things they pay attention to, and conditions in such companies. Read more Read more

3

Habr
vkhanieva @ Habr 2 place · 08/20/2021 04:51 EDT

Tutorial: how to port a project from Interop Word API to Open XML SDK

With the .NET5 release further development of some projects was questionable due to the complexity of porting. One can abandon small outdated libraries or find a replacement. But it's hard to throw away Microsoft.Office.Interop.Word.dll. Microsoft doesn't plan to add compatibility with .NET Core/5+, so in this article we focus on creating Word files with Open XML SDK. Read more Read more

77

Habr
servosila @ Habr 1 place · 08/19/2021 02:14 EDT

Controlling Brushless Motors using a Linux computer or a PLC

In this video, we will look at how to connect brushless motor controllers to a Linux computer. Specifically, we will use a computer running Debian. The same steps would work for Ubuntu Linux and other Linux distributions derived from Debian. I've got a small sensorless brushless motor, and a bigger brushless motor with a built-in absolute encoder. Lets look at how to control those from my Debian Linux computer. Servosila... Read more

0

Habr
melnik909 @ Habr 1 place · 08/17/2021 16:44 EDT

Шпаргалка по CSS свойству display

Привет, Хабр. Я часто вижу, что разработчики плохо знают, как работает свойство display. Это приводит к разного рода ошибкам. Чтобы побороть это, я собрал наиболее популярные значения и описал, как они влияют на элемент. Все эксперименты я выложил в виде шпаргалки на Codepen, чтобы вы могли проинспектировать их и изучить. Read more

0

Habr
numbrCodeHbr @ Habr 2 place · 08/17/2021 12:23 EDT

CodeIgniter 4. Prelude to PHPUnit

Thanks for your feedbacksI thank the members of the Habr community for their benevolent attitude to the article by the author «Speed Dating with the CodeIgniter 4 on GitHub» in the form of votes and comments.The friendly attitude to the author prompted him to continue developing a topic dedicated to PHPUnit as part of CodeIgniter 4.Install Xdebug on XAMPP (Windows 32-bit (x86))1. Why Xdebug? In file «appstarter/tests/README.md» in the «Requirements»... Read more

0

Habr
Firensis @ Habr 1 place · 08/17/2021 03:43 EDT

Is PHP compilable?! PVS-Studio searches for errors in PeachPie

PHP is widely known as an interpreted programming language used mainly for website development. However, few people know that PHP also has a compiler to .NET – PeachPie. But how well is it made? Will the static analyzer be able to find actual bugs in this compiler? Let's find out! Read more Read more

3

Habr
fpn @ Habr 2 place · 08/17/2021 01:47 EDT

Using a headless browser for WebRTC load tests

In the previous article we went over a load test whose data could be used to choose a load-appropriate server. In the course of the testing, we would publish a stream on one WCS, and we would pick up that stream several times using a second WCS. The acquired results could be used as a basis for decisions on server operability. Some would (justly) have concerns regarding the possible biases... Read more

1

Habr
servosila @ Habr · 08/17/2021 01:31 EDT

Controlling Brushless Motors from Windows

In this video, we will look at how to connect brushless motors to a Windows computer via USB. We are going to connect a network of Servosila brushless motor controllers to the computer. The other option is CANbus interface, but we will look at CANbus in a dedicated video. A regular USB cable is used. Note that the USB cable is not used to power the controller and its motor.... Read more

0

Habr
Andrey2008 @ Habr 3 place · 08/16/2021 04:15 EDT

PVS-Studio 7.14: intermodular analysis in C++ and plugin for JetBrains CLion

The PVS-Studio team is increasing the number of diagnostics with each new release. Besides, we are improving the analyzer's infrastructure. This time we added the plugin for JetBrains CLion. Moreover, we introduced intermodular analysis of C++ projects and speeded up the C# analyzer core. Read more → Read more

3

Habr
Armleo @ Habr 3 place · 08/16/2021 01:49 EDT

System-on-Chip bus: AXI4 simplified and explained

Protocol AXI4 was developed for High-bandwidth and low latency applications. It is designed to allow communication between master and slave devices. Master is typically a DMA or CPU and slaves are DRAM controllers, or other specific protocol controllers: UART, SPI, and others. Sometimes one component can implement multiple instances of this protocol. Usually, a prefix is used to differentiate between multiple AXI4 interfaces. For example, Ethernet MAC can integrate DMA... Read more

0

Habr
ENCRY @ Habr 3 place · 08/15/2021 07:00 EDT

Private Party Protocol: How to Distinguish Friends and Foes Using Cryptographic Tools

ENCRY presents a new interactive identification protocol aimed at controlling the access of selected users to various resources.Close your eyes and imagine Nice, a luxurious estate whose extravagant owner throws epic parties with jazz and fireworks every weekend.To attend such a party is a lot of the elite. Invitations are sent out in advance, and guests do not know the names of other invited persons. The owner of the estate,... Read more

0

Habr
akozh @ Habr 1 place · 08/13/2021 14:28 EDT

Doubling effective digitization frequency by multiple pass approach, is it possible?

As already described in the previous article, in the process of reworking the DSO138 oscilloscope toy, the idea arose in the DSO303 firmware at some point to try to double the maximum sampling frequency to achieve scanning times of 500 and 200 nanoseconds per cell. In fact, for the STM32F303, the theoretically maximum achievable sampling rate from the point of view of the ADC input, and this is determined by... Read more

0

Habr
akozh @ Habr 2 place · 08/13/2021 14:06 EDT

DSO138 upgrade

On Ali, an interesting toy – an oscilloscope called DSO138 is sold for a very inexpensive price. It has already gained quite a lot of popularity among electronics lovers, but the parameters of this device, alas, allow it to be more or less fully used only for debugging very low-frequency circuits. Actually, it is not positioned as a tool, but rather as a DIY-kit for novice electronics engineers.This "toy" oscilloscope... Read more

0

Habr
ENCRY @ Habr 3 place · 08/13/2021 06:17 EDT

Private Party Protocol: How to Distinguish Friends and Foes Using Cryptographic Tools

ENCRY presents a new interactive identification protocol aimed at controlling the access of selected users to various resources. Close your eyes and imagine Nice, a luxurious estate whose extravagant owner throws epic parties with jazz and fireworks every weekend. Read more → Read more

0

Habr
servosila @ Habr 2 place · 08/12/2021 13:33 EDT

Controlling Brushless Motors using Raspberry PI

In this video tutorial, we will control a pair of brushless motors from a Raspberry PI computer. We will use one of the computer's USB ports to connect a network of brushless motor controllers. We will power the computer, the controllers, and the brushless motors using a single battery, similar to a autonomous vehicle design. The first motor is an outrunner type, a kind of what you would use for... Read more

0

Most popular sources

  • You see 995 news out of 995.
  • Sources 63 out of 63.
Business Insider 25% 8
Tech Wire Asia 15%
CNET 8% 1
The Verge 6% 2
Gizmodo 6% 1
View sources »

LIKE us on Facebook so you won't miss the most important news of the day!

26.11.2024 05:32
Last update: 05:30 EDT.
News rating updated: 12:21.

What is Times42?

Times42 brings you the most popular news from tech news portals in real-time chart.
Read about us in FAQ section.


Times42 © 2024