Search
Write a publication
Pull to refresh

My feed

Type
Rating limit
Level of difficulty
Warning
To set up filters sign in or sign up
News

Перчатки для компьютерного ввода, сделанные изобретателем мыши, выставлены на аукцион

Reading time1 min
Views1.9K

Прототип перчаток для набора текста, разработанный Дугласом Энгельбартом и Валери Ландау в качестве замены клавиатур, выставлен на аукцион. Цена лота на момент публикации составляет $717, следующая ставка $787.

Read more
News

«Коммерсантъ» узнал о возможной покупке сервиса Boosty холдингом VK

Reading time1 min
Views1.7K

My.Games ведёт переговоры с потенциальными покупателями сервиса Boosty, который после блокировки Patreon в России стал одной из самых популярных площадок монетизации контента, пишет «Коммерсантъ» со ссылкой на источники на медиарынке.

Read more
News

«Мегафон» опубликовал финансовую отчётность впервые за два года

Reading time1 min
Views1.1K

Один из крупнейших в России телеком-операторов, «Мегафон», подвёл финансовые итоги первого полугодия 2023 года. По итогам первых шести месяцев 2023 года чистая прибыль «Мегафона» выросла на 133,9% до 26,9 млрд рублей, а выручка — на 13% до 209,89 млрд рублей.

Read more
Article

React Custom Hook: useDeepCompareEffect

Level of difficultyMedium
Reading time3 min
Views3.4K

One of the key advantages of useDeepCompareEffect is its ability to prevent unnecessary re-renders. By performing a deep comparison between the current and previous dependencies, the hook intelligently determines if the effect should be triggered, leading to optimized performance in scenarios where shallow comparisons fall short.

Read more
News

Ушёл из жизни сооснователь Adobe Джон Уорнок

Reading time1 min
Views1.5K

Adobe сообщила о смерти сооснователя компании Джона Уорнока. Он ушёл из жизни 19 августа в возрасте 82 лет.

Уорнок основал Adobe в 1982 году в сотрудничестве с Чарльзом Гешке, с которым он ранее работал в Xerox. Вскоре компания выпустила язык описания страниц PostScript, предназначенный для настольных издательских систем. Сам Джон Уорнок известен как создатель программы Adobe Illustrator и формата PDF.

Read more
Article

React Custom Hook: useDebugInformation

Level of difficultyMedium
Reading time3 min
Views2.6K

The useDebugInformation hook can be applied in various scenarios. For instance, imagine you're working on a complex form component where certain props trigger updates or affect rendering. By utilizing useDebugInformation, you can easily monitor how these props impact your component's performance and whether unnecessary re-renders are occurring. Additionally, the hook can be invaluable when investigating why a specific component is not updating as expected or when fine-tuning optimizations in a performance-critical application.

Read more
Article

LeetCode, Hard: 2818. Apply Operations to Maximize Score. Swift

Level of difficultyHard
Reading time4 min
Views1.3K

Time complexityO(max(nums) * log(max(nums)) + n * log(n)). Accounting for computing prime scores, using the stack to compute next greater elements, and sorting the tuples.

Space complexityO(max(nums) + n). Considering the space required for arrays and the stack used for computation.

Read more
Article

Making Java 8 aware of Let's Encrypt root certificate

Level of difficultyEasy
Reading time3 min
Views3K

When using older version of Java with not updated truststore, you may face an error while connecting to web hosts, that Java is unable to find a valid certification path to the requested target.

This happens because JRE truststore is unaware of the new root certificate that is being used by Let's Encrypt nowadays. Below I tried to clarify detail behind this issue and how to solve it. I hope newcomers might find this material helpful.

Read more
News

Минпромторг предложил сделать обязательным выпуск банковских и SIM-карт в России

Reading time2 min
Views2K

Все банковские карты, пропуска и другие типы карт с чипами, используемые в России, должны будут производить внутри страны с 2025 года, следует из проекта постановления правительства, который подготовил Минпромторг.

Read more
News

В «Яндекс Картах» появился Ленинградско-Казанский диаметр (МЦД-3)

Reading time1 min
Views1.2K

В «Яндекс Картах» появился Ленинградско‑Казанский диаметр (МЦД-3). Он соединяет Зеленоград и Раменское с пересадками на другие виды транспорта. Сразу после запуска движения диаметр стал отображаться в мобильной и веб‑версии «Яндекс Карт» и «Яндекс Метро», рассказали Хабру в компании.

Read more
News

VK создала закрытый клуб «Акселератор сообществ» для администраторов пабликов «ВКонтакте»

Reading time2 min
Views871

Компания VK заявила, что департамент по работе с сообществами VK создал закрытый клуб для администраторов пабликов социальной сети «ВКонтакте» под названием «Акселератор сообществ». Новый проект должен помочь авторам улучшать собственные сообщества с помощью различных развивающих практик.

Создатели клуба рассказали, что вступить в акселератор можно по специальному приглашению. Однако позднее появится возможность подать заявку на вступление в закрытое сообщество у всех авторов «ВКонтакте».

Участники проекта делятся на 4 группы по числу подписчиков: 500 тысяч и больше, от 100 тысяч до 500 тысяч, от 10 тысяч до 100 тысяч подписчиков и от 1 тысячи до 10 тысяч. Авторы каждой группы распределяются по тематикам.

Read more
News

Microsoft в тестовой сборке упростила удаление стандартных приложений в Windows 11

Reading time1 min
Views1.1K

Microsoft начала тестировать следующий билд Windows 11 25931, который позволит пользователям удалить ещё больше приложений, встроенных в ОС.

Read more
News

VK выпустила отчёт по устойчивому развитию за 2022 год

Reading time2 min
Views422

VK опубликовала отчёт в области устойчивого развития за 2022 год. Компания также запустила ESG-портал, который посвящён ключевым для VK событиям за прошедший год в экологической, социальной и других областях, связанных с устойчивым развитием.

Read more
News

Starfield «ушла на золото», релиз состоится 6 сентября 2023 года

Reading time1 min
Views629

О том, что Starfield «ушла на золото», Bethesda сообщила в соцсетях. Это означает, что студия завершила основную работу над игрой и отправила диски в печать. С большой вероятностью Starfield больше не перенесут.

Read more
Article

Setup of Qt Creator for programming and debugging of STM32 microcontrollers

Level of difficultyMedium
Reading time9 min
Views3K

Currently I am investigating firmware development for STM32 microcontrollers and I would like to share with you my experience for doing it in Qt Creator IDE.

There are a lot of IDEs, which are used for firmware development of STM32. Some of them, being quite comfortable, have restrictions for trial license. For example, the one of the most known IDE, IAR Embedded, suggests either a limited amount of product usage time (30 days) or the limited firmware size of 32 MB, which is not too much.

Within this scope of the publication, we investigate the method of setting up an environment that allows one to develop the full value of the STM32 firmware in Qt Creator.

Read more
Article

React Custom Hook: useDebounce

Level of difficultyMedium
Reading time2 min
Views3.1K

This custom hook is particularly beneficial in scenarios where you need to handle user input, such as search bars or form fields, where you want to delay the execution of an action until the user has finished typing or interacting. It's also useful for optimizing network requests, ensuring that requests are sent only after the user has stopped typing or selecting options.

Read more
Article

Wi-Fi internet radio from a router with station switching capability

Level of difficultyMedium
Reading time8 min
Views2.4K
Wi-Fi интернет-радиоприёмник.
ChatGPT was not used in writing this article.
The animated image uses the webp file format instead of gif.
In this article, you will find a complete description of how to make a Wi-Fi internet radio receiver from a router that can play mp3 streams from internet radio stations.
It is also possible to switch between two internet radio stations. We will use OpenWRT firmware installed on the router to create a Wi-Fi internet radio. It is possible to complete this project without using a soldering iron. All the components can be placed inside the router to create a finished device — a Wi-Fi internet radio.
To make this, you will need:
Read more →
Article

LeetCode, Hard, last two problems: 2809. Min Time to Make Array Sum At Most x & 2813. Max Elegance of a K-Length Subseq

Level of difficultyHard
Reading time3 min
Views940

2809. Min Time to Make Array Sum: Efficient Swift solution, using dynamic programming, for minimizing time to reach a sum in arrays A and B. Time: O(n²), Space: O(n).

2813. Max Elegance of K-Length Subseq: Swift code for elegantly selecting unique k-length subsequences with profit and categories. Solution uses sorting and iteration. Time: O(nlogn), Space: O(n).

Github: https://github.com/sergeyleschev/leetcode-swift

Read more
Article

React Custom Hook: useDarkMode

Level of difficultyMedium
Reading time4 min
Views2.7K

One of the main advantages of "useDarkMode" is its simplicity. With just a few lines of code, you can enable dark mode in your React application. By invoking this hook, you'll receive the current dark mode state and a function to toggle it.

The "useDarkMode" hook dynamically updates the HTML body class to apply the "dark-mode" styling whenever dark mode is enabled. This approach ensures consistency across all components without the need for manual class manipulation.

Read more