Habr hasn't published any news in the last 24 hours.
Habr

News from Habr


Fresh news
Other news
older that 24 hours
Habr
Habr 3 place · 10/05/2023 00:14 EDT

React Custom Hook: useStateWithValidation

One of the key advantages of this custom hook is its flexibility. You can pass any validation function that suits your specific requirements. Whether it's checking the length of a string, ensuring a numeric value falls within a certain range, or performing more complex validations, useStateWithValidation has got you covered. Read more Read more ›

0

Habr
Habr 1 place · 10/03/2023 13:29 EDT

The anatomy of a pre-sale meeting to the USA

My name is Paul Karol and I work connecting Russian IT with their customers in the United States. Please find on Hbar my previous article for a complete explanation of my credentials. Today we're going to look at a presale meeting that was not successful and we will explain exactly how the Russian company lost this business. Please take a look at this photograph. Going into this presale meeting the... Read more ›

0

Habr
Habr 1 place · 10/02/2023 00:11 EDT

React Custom Hook: useStateWithHistory

In this article series, we embark on a journey through the realm of custom React hooks, discovering their immense potential for elevating your development projects. Our focus today is on the "useStateWithHistory" hook, one of the many carefully crafted hooks available in the collection of React custom hooks. Read more Read more ›

0

Habr
Habr 1 place · 10/01/2023 14:33 EDT

[Translation] React + Three.js. Creating your own 3D shooter. Part 1

Hello, dear users of the IT world!In the era of active development of web technologies and interactive applications, 3D-graphics is becoming more and more relevant and in demand. But how to create a 3D application without losing the advantages of web development? In this article, we will look at how to combine the power of Three.js with the flexibility of React to create your own game right in the browser.This... Read more ›

15

Habr
Habr 1 place · 09/28/2023 00:07 EDT

React Custom Hook: useScript

useScript can be used in various scenarios. For instance, you can load external libraries like jQuery, enabling you to harness its powerful functionalities without adding bulk to your bundle. Additionally, you can load analytics scripts, social media widgets, or any other script necessary for your application's dynamic behavior. Read more Read more ›

0

Habr
Habr 1 place · 09/26/2023 13:08 EDT

[Translation] 1. Information theory + ML. Entropy

I've long wanted to create educational materials on the topic of Information Theory + Machine Learning. I found some old drafts and decided to polish them up here, on Habr. Information Theory and Machine Learning seem to me like an interesting pair of fields, the deep connection between which is often unknown to ML engineers, and whose synergy has not yet been fully revealed. Let's start with basic concepts like... Read more ›

0

Habr
Habr 2 place · 09/26/2023 00:04 EDT

React Custom Hook: useRenderCount

One of the major advantages of using useRenderCount is its simplicity. By abstracting the logic into a reusable hook, you can easily integrate it into any component without cluttering your codebase. Additionally, it provides a clear and concise way to monitor render behavior, which can be crucial for performance optimization and debugging. Read more Read more ›

0

Habr
Habr 2 place · 09/25/2023 00:33 EDT

React Custom Hook: usePrevious

This custom hook can be a game-changer in various scenarios. For instance, you can utilize usePrevious to compare and visualize changes in data, track state transitions, or implement undo/redo functionality. Additionally, it can be valuable in form handling, animations, and any situation where having access to the previous value is crucial for your application's logic. Read more Read more ›

0

Habr
Habr 2 place · 09/24/2023 07:14 EDT

LeetCode, Hard++ (Acceptance 24%, Latest): 2867. Count Valid Paths in a Tree. DFS. O(n). Swift

The intuition is to employ a depth-first search (DFS) approach through the tree.During each step in the traversal, we perform the following key calculations:1. Determine the path that ends at the current node.2. Compute two different subtree paths that traverse the current node.3. Maintain an array that keeps track of the cases where paths contain either 0 or 1 prime number.This method allows us to efficiently count the valid paths... Read more ›

0

Habr
Habr 1 place · 09/21/2023 06:25 EDT

[Translation] Creating a mini-game with drip effect and moving circles. Part 2. Final

Hello, dear users of the IT world!In modern web development there are many ways to make your website interesting and attractive to users. And even using simple techniques you can achieve great results!I suggest you to create a mini-game from scratch yourself. And then, you can use it to liven up and add interactivity to any web page. Read more Read more ›

0

Habr
Habr 1 place · 09/20/2023 00:21 EDT

React Custom Hook: useOnScreen

One of the key advantages of useOnScreen is its simplicity. With just a few lines of code, you can detect if an element is visible and respond accordingly. This can be immensely useful in scenarios where you want to trigger animations, lazy load images, or load additional content as the user scrolls. Read more Read more ›

0

Habr
Habr 1 place · 09/18/2023 07:53 EDT

[Translation] Creating a mini-game with a drip effect and moving circles. Part 1

Hello, dear users of the IT world!In modern web development there are many ways to make your website interesting and attractive to users. And even using simple techniques you can achieve great results!I suggest you to create a mini-game from scratch yourself. And then, you can use it to liven up and add interactivity to any web page. Read more Read more ›

0

Habr
Habr 2 place · 09/18/2023 00:12 EDT

React Custom Hook: useOnlineStatus

One of the main advantages of "useOnlineStatus" is its simplicity. By importing and using this hook in your component, you can effortlessly access the online status of the user. The hook internally uses the "navigator.onLine" property to determine the initial online status and dynamically updates it whenever the user's connectivity changes. Read more Read more ›

0

Habr
Habr 3 place · 09/17/2023 11:51 EDT

MSSQL: Table Rebuild and Reorg in highload 24/7 Environments

How do you deal with index fragmentation if your SQL server is working in high load environment with 24/7 workload without any maintenance window? What are the best practices for index rebuild and index reorganize? What is better? What is possible if you have only Standard Edition on some servers? But first, let's debunk few myths.Myth 1. We use SSD (or super duper storage), so we should not care about... Read more ›

0

Habr
Habr 1 place · 09/15/2023 05:35 EDT

[Translation] Detection of meterpreter sessions in Windows OS

IntroductionHello Habr! This is a translation of my first article, which was born due to the fact that I once played with the types of meterpreter payload from the Metasploit Framework and decided to find a way to detect it in the Windows OS family.AnalysisI will try to present everything in an accessible and compact way without delving into all the work. To begin with, I decided to create the... Read more ›

0

Habr
Habr 2 place · 09/14/2023 08:07 EDT

Exploring FIFO principles using an HDL training tool

FIFO is a key concept in hardware design. Understanding of FIFO is necessary to understand the valid/ready protocol, which in turn is necessary for organisation of flow-control within a design.Unfortunately, there are very few books on this topic, and to be fair, microarchitectural concepts are quite difficult to master from books, since understanding of these concepts are coming with practice. In other words it is more about developing hardware intuition.The... Read more ›

0

Habr
Habr 1 place · 09/13/2023 02:12 EDT

[Translation] PostgreSQL 17: Part 1 or Commitfest 2023-07

We continue to follow the news in the world of PostgreSQL. The PostgreSQL 16 Release Candidate 1 was rolled out on August 31. If all is well, PostgreSQL 16 will officially release on September 14.What has changed in the upcoming release after the April code freeze? What's getting into PostgreSQL 17 after the first commitfest? Read our latest review to find out! Read more → Read more ›

0

Habr
Habr 2 place · 09/13/2023 00:20 EDT

React Custom Hook: useMediaQuery

One of the key advantages of this custom hook is its simplicity and reusability. With just a few lines of code, you can effortlessly implement responsive behavior throughout your application. Whether you need to conditionally render components, apply specific styles, or trigger different functionality based on screen size, useMediaQuery has got you covered. Read more Read more ›

0

Habr
Habr 1 place · 09/11/2023 04:49 EDT

Create a native Kotlin application with Spring Boot Native, Gradle, and GraalVM without Docker for MacOS and Windows

In this tutorial, I want to talk about the practical experience of native compilation of a production application written in Kotlin with Spring Boot and Gradle using GraalVM. I’ll start right away with the pros and cons of the native compilation feature itself and where it can be useful, and then I’ll move directly to the build process for MacOS and Windows.At the end of the article, in the afterword... Read more ›

0

Habr
Habr 2 place · 09/11/2023 00:15 EDT

React Custom Hook: useLongPress

One of the key advantages of useLongPress is its simplicity. By utilizing this hook, developers can easily define a long-press action on any element in their React application. With just a few lines of code, the hook takes care of handling the intricacies of tracking the long-press duration and triggering the associated callback function. Read more Read more ›

0

Most popular sources

  • You see 886 news out of 886.
  • Sources 63 out of 63.
Business Insider 36% 7
Gizmodo 10% 6
Eurogamer.net 9% 2
Tom's Hardware 7% 4
MacRumors 5% 2
View sources »

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

05.10.2024 04:20
Last update: 04:05 EDT.
News rating updated: 11:12.

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