422 place 0

952 Структура против хаоса — практическая валидация форм с помощью Zod

Habr
webrise @ Habr · 11/18/2025 04:10 EDT

Всем привет, с вами Артем Леванов, Front Lead в компании WebRise. В прошлой статье мы разобрали, как навести порядок в создании форм — выделили примитивы, ячейки и типовые поля.Следующая проблема, с которой сталкивается любая форма — валидация.Формы могут быть красивыми и структурными, но без единого подхода к валидации они быстро превращаются в хаос.В этой статье поговорим о том, почему встроенные и кастомные проверки плохо масштабируются, особенно в динамических формах, и как Zod решает эту проблему, прев

To see detailed statistics for the news please log in »

Read the original

Add your comment
You must be logged in with Facebook to read and write comments.

A newsletter a day!

You may get 10 most important news around midday in daily newsletter. Press the button and we will send you the most important news only, no spam attached.

or register

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

News from the same source
Habr Habr
🔮
08.12.2025 ♉︎ Dear Taurus, today is characterized by an ambiguous day in which it is worth paying... Read more ›
Engadget
Kris Holt @ Engadget 1 place · today 10:22 EDT

Paramount makes a $108 billion hostile takeover bid for Warner Bros. Discovery

Paramount has been none too pleased about Netflix striking an $82.7 billion deal to buy much of Warner Bros. Discovery (WBD). Now, Paramount is making a hostile takeover bid for WBD. It's making its pitch directly to WBD shareholders with an all-cash offer of $30 per share that expires on January 8.Late last week, the WBD board unanimously accepted Netflix's offer of $27.75 per share. That breaks down to $23.25... Read more

1,475 fresh

The Verge
Emma Roth @ The Verge 1 place · today 09:39 EDT

Paramount launches a hostile $108 billion bid to snatch Warner from Netflix

Paramount has launched a $108.4 billion hostile takeover bid for Warner Bros. Discovery, calling Netflix’s $83 billion arrangement to purchase the entertainment giant’s studios and streaming service “inferior.” The Paramount proposal, unlike Netflix’s, would also include the linear networks owned by WBD. Paramount says its deal offers a “superior alternative to the Netflix transaction,” citing […] Read more

833 fresh

TechRadar
TechRadar 1 place · today 10:00 EDT

NYT Strands hints and answers for Tuesday, December 9 (game #646)

Looking for NYT Strands answers and hints? Here's all you need to know to solve today's game, including the spangram. Read more

804 fresh

Business Insider
Simone Paget @ Business Insider 3 place · today 09:44 EDT

I live in a Canadian town where hundreds of Hallmark movies are filmed. Here's what it's like, fake snow and all.

For years, I've lived in Canada's Victoria, British Columbia, where Hallmark Christmas movies are filmed. It's a great place to visit all year. Read more

661 fresh

Vox
Rachel Cohen @ Vox 1 place · today 06:45 EDT

Traditional gender roles won’t get men what they want

For years now, falling birth rates have been a subject of alarm, with most of that discussion focused on women — the factors preventing them from having kids, whether mothers can balance work and family, if feminism has led women astray.  But what about men and what they think? Demographers focused on fertility trends have […] Read more

646 fresh

The Verge
Verge Staff @ The Verge 2 place · today 09:27 EDT

Netflix is buying Warner Bros: All of the latest updates

After a bidding war that reportedly also involved Paramount, Comcast, Amazon, and Apple, on December 5th, Netflix struck a deal to buy Warner Bros. for $82.7 billion, buying the studio, HBO / HBO Max, Warner Games, and more, while leaving cable and sports assets, including CNN, TNT Sports, and the Discovery channels out. A few […] Read more

623 fresh

The Verge
Nilay Patel @ The Verge 3 place · today 10:00 EDT

Square’s product chief on the death of the penny and the future of money

Today, I’m talking with Willem Avé, who’s head of product at Square. You know Square — it was started by billionaire Jack Dorsey, of Twitter fame, more than 15 years ago, and it got big on the back of that little magnetic reader that plugged into the headphone jack of the iPhone and let small […] Read more

523 fresh

Engadget
Steve Dent @ Engadget 2 place · today 07:00 EDT

Trump says if Netflix buys Warner Bros. its market share 'could be a problem'

After Netflix announced that it was acquiring Warner Bros. Discovery last week, observers immediatley wondered when or if the deal could obtain regulatory approval. Now, President Trump has made comments indicating that said approval is likely to take awhile if it happens at all, Bloomberg reported.  "Well, that’s got to go through a process, and we’ll see what happens," Trump told reporters in a recent Q&A scrum. "But it is... Read more

497 fresh

Engadget
Ian Carlos Campbell @ Engadget 3 place · today 09:30 EDT

Blink budget security cameras will support AI-powered video descriptions

Amazon's budget Blink smart home brand is adding AI-generated video descriptions as a new benefit for subscribers. Blink Video Descriptions are text descriptions of the motion doorbells and cameras capture, and they’ll be available in beta starting today, November 17.Not unlike Ring Video Descriptions, a feature offered on Amazon's other smart home brand, Blink's AI-generated descriptions are supposed to be a concise way to check out what's happening in and... Read more

420 fresh

Skift
ProColombia + Skift @ Skift 1 place · today 10:00 EDT

Colombia Takes Flight: Air Connectivity and Trust Power a Tourism Transformation

Colombia’s emergence as one of Latin America’s most dynamic tourism markets stems from a deliberate, long-term strategy grounded in connectivity, confidence, and community. With new air routes expanding global access and a growing focus on sustainability and inclusion, the country is reshaping the future of modern tourism. Read more

414 fresh

Droid Life
Kellen @ Droid Life 1 place · today 09:40 EDT

Samsung Launches One UI 8.5 Beta on Galaxy S25 Ultra

The signs suggesting that Samsung was about to release One UI 8.5 in some form were there, like this massive changelog and a never-ending series of leaks. Today, they went ahead and confirmed its launch, at least in beta form. Owners of the Galaxy S25, Galaxy S25+, and Galaxy S25 Ultra can join the One … Continued Read the original post: Samsung Launches One UI 8.5 Beta on Galaxy S25... Read more

401 fresh

GSMArena.com
GSMArena.com 1 place · today 09:02 EDT

Samsung Galaxy Watch FE gets Wear OS 6 with One UI 8 Watch update

Samsung started updating its smartwatches to One UI 8 Watch based on Wear OS 6 back in July, and it's been a rather slow trickle ever since. Today, the latest wearable to be graced with the update is the Galaxy Watch FE, launched in 2024 as a lower-cost model, essentially a re-released Galaxy Watch4 under a different name. [#InlinePriceWidget,13112,1#] Its One UI 8 Watch update is now rolling out in... Read more

366 fresh

The Verge
Andrew J. Hawkins @ The Verge · today 09:00 EDT

Segway’s new Myon e-bike will straddle past and future

Segway’s modest e-bike lineup is about to gain a new entrant. The Ninebot-owned brand, once known for its pioneering self-balancing scooters, currently only sells two e-bikes: the moto-styled Xyber and the low-step Xafari. Now it’s getting a third, Myon, which it plans on officially debuting at the Consumer Electronics Show in Las Vegas next year. […] Read more

363 fresh

Gizmodo
Germain Lussier @ Gizmodo 1 place · today 09:19 EDT

‘Andor’ Snubbed For Best Drama in Tight Genre Golden Globes Race

'Severance' and 'Pluribus' did get Best Drama nominations, as did 'Sinners' and 'Frankenstein'. Read more

361 fresh

The most popular news from the same source for the last week
Habr Habr
Habr
V_Sukhov @ Habr 2 place · 12/07/2025 10:13 EDT

Олимпиады — всё?

Думаю, что среди читательской аудитории Хабра многих бывших (а возможно, и действующих) олимпиадников, поэтому решил поделиться с сообществом наблюдениями и размышлениями об актуальных проблемах олимпиадного движения в стране. Коротко о том, какое я имею отношение к олимпиадному движению и почему считаю себя в праве публично высказываться на эту тему: я сам бывший олимпиадник (призёр Всероса по информатике), 15 лет веду кружки по информатике и программированию и, в том числе, готовлю... Read more

50

Habr
onlyahead @ Habr 1 place · 12/05/2025 04:01 EDT

Как армия китайских роботов обнуляет торговую войну с США?

Роботизация Китая побила все мировые рекорды и растёт по экспоненте. О стратегии Made in China 2025 и о том, как новая сверхдержава перекраивает мировую экономику вопреки главному конкуренту. Читать далее Read more

37

Habr
Dmytro_Kikot (ua-hosting.company) @ Habr 1 place · 12/04/2025 05:35 EDT

Коммуникация будущего: квантовая телепортация данных

Преодоление пути от точки А до точки Б может быть весьма увлекательным приключением, которое может стать куда более важно самого пункта назначения. Однако, чаще всего присутствует желание как можно быстрее преодолеть этот путь. В работах жанра фэнтези и научная фантастика часто встречается технология (или заклинание) для моментального переноса человека из одно место в другое — телепортация. Теоретически, это вполне возможно реализовать, но пока нам до этого еще очень далеко. А... Read more

30

Habr
cognitronn (BotHub) @ Habr 1 place · 12/04/2025 00:35 EDT

[Перевод] ИИ убил не литературу. Он убил иллюзию, что каждый может быть писателем

Настоящая беда не в технологии. Она в потопе сгенерированных машиной черновиков, которые под видом готовых романов, мемуаров и «экспертных» книг выбрасываются на рынок, лишённый всякого отбора, - рынок, где читатели больше не могут отличить то, что создано с любовью, от того, что скопировано, и того, что и вовсе не знало руки редактора.Каждые несколько месяцев очередное эссе провозглашает смерть литературы. В этих повествованиях ИИ неизменно предстаёт злодеем, обвинённым в уплощении подлинности... Read more

30

Habr
oneastok (Selectel) @ Habr 1 place · 12/06/2025 07:00 EDT

[Перевод] Конец эпохи паяльника или как гаражные энтузиасты случайно создали многомиллиардный бизнес

В 1977 году занавес поднялся, и на сцену, расталкивая локтями кустарные поделки энтузиастов, вышла знаменитая тройка микрокомпьютеров: Apple II, Commodore PET и TRS-80 от Tandy/Radio Shack. В то время Apple выглядела в этой компании, прямо скажем, гадким утенком, которому еще только предстояло расправить крылья и затмить конкурентов.Современники не были слепы. Журналисты той эпохи сразу почуяли ветер перемен: на смену суровым машинам, требующим от оператора инженерных навыков и паяльника, пришел «бытовой»... Read more

18

Habr
cognitronn (BotHub) @ Habr 1 place · 12/05/2025 05:42 EDT

[Перевод] Секрет, который скрывают создатели ИИ: почему галлюцинации — это не сбой, а заложенная функция

Галлюцинации - одна из самых коварных проблем, терзающих современные большие языковые модели (LLM). Этим словом, заимствованным из психиатрии, мы описываем текст, который выглядит безупречно правдоподобно, но по сути своей является чистым вымыслом.Эти цифровые миражи бросают тень на надёжность и безопасность реальных приложений на базе ИИ, подтачивая саму основу доверия к ним. Но какова природа этих призраков в машине? Что заставляет их появляться?В этой статье мы попытаемся заглянуть за кулисы этого... Read more

18

Habr
alinafayz @ Habr 2 place · 12/02/2025 13:31 EDT

Гайдлайн по кофе: почему до 10 утра — бесполезно, и как по науке выжать из кофеина 100%. Личный эксперимент

Всем кофеманам пламенный привет!Этот гайд — результат моего личного эксперимента по подбору идеального кофейного пайплайна. Я расскажу, как выжать из кофеина все 100%, просто перенастроив время его потребления.Я пила кофе по утрам большую часть своей осознанной жизни. Мой ритуал был священен и неизменен: подъем, борьба с соблазном залечь обратно, и — чашечка кофе. Каков был результат? К 11 утра я чувствовала себя так, будто я отработала две смены подряд на... Read more

17

Habr
master_program @ Habr 2 place · 12/01/2025 21:26 EDT

Теорема Пифагора: великий обман школьной программы. Как абстракция убила смысл

Все мы знаем эту формулу. . Это, пожалуй, единственное знание из школьной геометрии, которое остается с человеком на всю жизнь, даже если он работает баристой или копирайтером.Но задавали ли вы себе когда-нибудь вопрос: почему именно квадраты? Почему не кубы? Почему не просто сумма модулей ?Если вы спросите учителя, он нарисует квадратики на сторонах треугольника. Если вы спросите преподавателя вуза, он напишет определение скалярного произведения. И оба они, по сути, вас... Read more

15

Habr
Sergey_Kovalenko @ Habr 1 place · 12/01/2025 23:29 EDT

Математика через игры

Вопрос, который всех интересуетКогда мои знакомые узнают, что я математик, они часто спрашивают меня, как привить математическое мышление их детям. Раньше я рекомендовал купить пять-шесть определенных книг, поставить их на видное место и надеяться на детское любопытство.Здесь нужно сделать ремарку, что я исследователь, а не педагог, и этот мой совет основывался скорее на личном опыте, чем на какой-либо практике или теории. Одна из моих новых приятельниц – наоборот: давно и... Read more

15

Habr
cognitronn (BotHub) @ Habr 1 place · 12/03/2025 09:24 EDT

Топ-10 бесплатных нейросетей для создания презентаций

Помню, как в школе мне впервые задали сделать презентацию на классный час. Тогда я едва дружил с этими сервисами, и весь процесс казался настоящим испытанием. Я сидел несколько часов за красным фоном, пытаясь поставить текст и подобрать картинки. Волновался, переживал, и, честно говоря, результат был далёк от идеала. Проходит время, а мы видим, как быстро всё меняется. Сегодня презентации можно создавать почти мгновенно, а нейросети умеют сами подбирать тексты, искать... Read more

9

Most popular sources

  • You see 588 news out of 588.
  • Sources 61 out of 61.
Business Insider 26% 2
The Verge 9% 5
Slashdot 9% 2
Eurogamer.net 7% 5
Engadget 6% 4
View sources »

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

08.12.2025 11:29
Last update: 11:20 EDT.
News rating updated: 18: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 © 2025