327 place 0

891 SQLSet — отделяем GO код от SQL-запросов

Habr
stoi @ Habr · 12/15/2025 15:44 EDT

SQLSet — отделяем GO код от SQL-запросов

Мухи — отдельно, котлеты — отдельно. Отделяем Go-код от SQL-запросов. Зачем это делать и как?Личный опыт миграции большого проекта на новую СУБД показал: смешивание SQL с кодом приложения создаёт проблемы. Представляю простую библиотеку SQLSet для хранения именованных SQL-запросов в отдельных файлах. Читать далее

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
Wired
Kat Tenbarge @ Wired 1 place · today 06:30 EDT

AI Deepfakes Are Impersonating Pastors to Try to Scam Their Congregations

Religious communities around the US are getting hit with AI depictions of their leaders sharing incendiary sermons and asking for donations. Read more

736 fresh

🔮
05.01.2026 ♒︎ Hello, Aquarius! Your today's horoscope is a unique blend of opportunities and challenges, so prepare... Read more ›
Wired
Tomoko Hasegawa @ Wired 2 place · today 07:00 EDT

‘Shogun’ Creator Says Season 2 ‘Defies Expectations’

The historical series Shogun was an international hit that won a record 18 Emmy Awards. With production on season 2 starting, the writer and executive producer talk about their new challenges. Read more

713 fresh

Wired
Molly Higgins @ Wired 3 place · today 06:36 EDT

9 Best Cat Water Fountains, WIRED-Tested and Reviewed (2025)

Ensuring your cat is drinking enough water is one of the best ways to keep your pet healthy. We tested nearly two dozen models to find the best water fountains for most cats. Read more

641 fresh

Android Authority
Jay Bonggolto @ Android Authority 1 place · today 06:24 EDT

RingConn’s new smart ring gives you insights on your blood pressure

The RingConn Gen 3 finally gives you a reason to upgrade, adding direct vibration alerts and blood pressure insights. Read more

628 fresh

Wired
Boutayna Chokrane @ Wired · today 07:00 EDT

Magnesium Supplements Crash Course (2026): Benefits and Side Effects

Promises of better sleep—and better poops—are driving the magnesium supplements craze. Read more

487 fresh

Vox
Eric Levitz @ Vox 1 place · today 06:00 EDT

Did Trump really invade Venezuela for oil?

Over the weekend, the United States invaded Venezuela, captured its leader, and then declared itself to be in charge of South America’s fifth-largest country.  And no one — not even the US government — seems entirely sure why. The Trump administration has offered multiple high-minded explanations for its toppling of Venezuelan President Nicolás Maduro, none […] Read more

435 fresh

Vox
Christian Paz @ Vox 2 place · today 06:30 EDT

Marjorie Taylor Greene’s requiem for MAGA

Today, the controversial congressional career of Marjorie Taylor Greene comes to end — at least for the foreseeable future.  But before her exit, she got a few more jabs in at President Donald Trump. First, in a wide-ranging New York Times Magazine profile last week, the retiring Georgia representative reignited her feud with the president, […] Read more

412 fresh

Vox
Caitlin Dewey @ Vox 3 place · today 06:50 EDT

America’s century-long interest in Venezuelan oil

This must be about the oil, right? It’s a presumption that got lots of airtime this weekend, following the dramatic seizure of Venezuelan President Nicolás Maduro and his wife by US forces. The pair now face drug trafficking and narco-terrorism charges in New York, while observers in both countries are scrambling to interpret the sudden action by President […] Read more

379 fresh

Business Insider
Emily Stewart @ Business Insider 2 place · today 04:11 EDT

Welcome to the new, sorta socialist era of American capitalism

Trump is having the government buy stakes directly in companies — and it's going to change the way we all do business and reshape the economy. Read more

367 fresh

Business Insider
Henry Chandonnet @ Business Insider 3 place · today 05:55 EDT

Are you a software engineer? Tell us what you think about vibe coding

Vibe coding has upended software engineering, strapping developers with a suite of new AI tools. We want to hear from those navigating the moment. Read more

350 fresh

GSMArena.com
GSMArena.com 1 place · today 06:26 EDT

Motorola Signature full specs leak ahead of launch

Motorola is gearing up to launch its new Signature series smartphone tomorrow and ahead of the big unveiling Evan Blass shared the device's full specs. The Signature is set to be a Snapdragon 8 Gen 5-equipped flagship paired with up to 16GB LPDDR5X RAM and 1TB UFS 4.1 storage. It’s expected to feature a 6.8-inch LTPO AMOLED with 2,780 x 1,264px resolution alongside a 165Hz refresh rate. The panel will... Read more

347 fresh

Wired
Boone Ashworth @ Wired · today 06:00 EDT

At CES 2026, Everything Is AI. What Matters Is How You Use It

Integrated chatbots and built-in machine intelligence are no longer standout features in consumer tech. If companies want to win in the AI era, they’ve got to hone the user experience. Read more

276 fresh

Mashable
Mashable 2 place · today 06:08 EDT

Jimmy Kimmel gives Trump a special thanks during Critics Choice Awards speech

Jimmy Kimmel paid tribute to Donald Trump in his best talk show acceptance speech at the Critics Choice Awards. Read more

231 fresh

Mashable
Mashable 3 place · today 06:01 EDT

NYT Pips hints, answers for January 5, 2026

The New York Times' latest game, Pips, brings domino fun to your desktop. How to play Pips as well as hints in case you get stuck. Read more

229 fresh

The most popular news from the same source for the last week
Habr Habr
Habr
shiru8bit (RUVDS.com) @ Habr 1 place · 12/30/2025 08:01 EDT

С Новым 2026-ым как в 1992-ом

Очередной Новый Год на носу, а значит, срочно нужно придумать очередной новогодний проектик и написать про него статью. И я придумал сделать интро-поздравление для ZX Spectrum. Да не современное, поражающее невообразимыми эффектами, а напротив, в максимально классическом стиле очень ранней демосцены. Заодно это повод рассказать про особенности национальных хакерских традиций в зимний и иные периоды. Сведём же новогодние олдскулы зарядом концентрированной ностальгии! Читать далее Read more

80

Habr
MisterClever @ Habr 1 place · 12/31/2025 02:48 EDT

[Перевод] Чай или кофе. Что сильнее влияет на кости?

Чай и кофе — два самых популярных напитка в мире. Да еще и вписанные в ежедневные ритуалы, связанные с культурой, комфортом и продуктивностью. Причем и чай, и кофе, влияют на плотность и здоровье костей, особенно в контексте рисков остеопороза. А вот в худшую или лучшую сторону, разберем в материале. Читать далее Read more

30

Habr
onlyahead @ Habr 2 place · 01/04/2026 05:13 EDT

Израиль первыми в мире развернул боевые лазеры: Гонка вооружений снова началась

И теперь выстрел из ПВО стоит пару долларов, вместо сотен тысяч на одну ракету. О том, как работает система Железный Луч, почему ученым ранее не удавалось построить компактные лазеры, и как остальной мир строит свои военные технологии будущего, вплоть до насекомых-киборгов. Читать далее Read more

29

Habr
GIGAIDECommunity (Сбер) @ Habr 2 place · 12/30/2025 01:15 EDT

Тестирование с плагинами из маркетплейса GigaIDE

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

24

Habr
pink0D @ Habr 1 place · 01/02/2026 12:32 EDT

Прокачиваем LEGO-машинки с помощью Arduino

В этой статье попробуем разобраться, почему игрушечные машинки за условные 1000р ездят лучше, чем серьезные модели из конструкторов с электрикой за 10000р, и что с этим можно сделать, если вы разбираетесь в Arduino. Читать далее Read more

21

Habr
AI_Foxmaster @ Habr 1 place · 01/03/2026 08:00 EDT

Искусственный интеллект… и Третья Мировая война

Не раз встречал мнение, что война - двигатель прогресса. Радар, реактивная авиация, компьютеры и медицина - продукты WW-II, а новые сплавы, спутниковая связь и интернет - тоже продукты войны, но уже холодной. Может ли война снова стать драйвером, только в области ИИ? Читать далее Read more

15

Habr
ArturGukasov @ Habr 1 place · 12/31/2025 08:15 EDT

Решил сделать себе смартфон на Линукс. Linux phone Xiaomi Poco X3 NFC на Ubuntu Touch по шагам

Времена сейчас тяжелые, я как пользователь iPhone, давно чувствую себя неполноценным пользователем смартфона в нашей юрисдикции. А с недавнего времени возглавил команду линуксоидов и потянуло меня на всё линуксовое. Решил, так скажем, стать пингвином. Все началось с того, что выкинул свой макбук, которым пользовался с 2015 года, купил хороший ThinkPad на Ryzen 7 и накатил туда Linux Mint 22.2 и, знаете что, радости моей нет предела, я прям кайфую и... Read more

11

Habr
vkni @ Habr 1 place · 01/01/2026 16:04 EDT

Крошечный язык для инструкций к выключателям

Давайте представим такую ситуацию: мы рисуем электрическую схему квартиры, в которой есть разные выключатели. Естественно, с точки зрения профессионала, какой-то из использованных выключателей мы подключили неправильно. Более того, часто профессионал может посмотреть не на всю схему, а только на подключение выключателя, и сказать, что да - ошибка. Почему?Давайте посмотрим на выключатели со схем 1-7. Понятно, что выключатель №1 должен быть подключён по двум контактам (1 и 2), иначе это ошибка.... Read more

9

Habr
davidaganov @ Habr 2 place · 01/02/2026 10:55 EDT

Осознанный вайб-кодинг

Личный опыт использования ИИ в разработке: от пет-проектов до рабочих задач. Где вайб-кодинг действительно ускоряет работу, а где превращается в иллюзию скорости и потерю контроля над проектом. Читать далее Read more

8

Habr
dreammaster19 @ Habr 1 place · 01/03/2026 08:07 EDT

Установка и настройка llama.cpp с ROCm на Ubuntu 24.04 для AMD Radeon RX 7600 XT

Моя цель казалась простой: поставить Ubuntu 24.04 и запустить локальную нейросеть на своей новой Radeon RX 7600 XT. Реальность оказалась жестче.Делюсь полным чек-листом действий — от первого терминала после установки ОС до момента, когда Python-скрипт получает ответ от модели, думающей на вашем же железе. Если вы тоже верите в силу open-source и «красного» стека, вам сюда. Читать далее Read more

7

Most popular sources

  • You see 532 news out of 532.
  • Sources 61 out of 61.
Tom's Hardware 27% 20
Business Insider 14% 39
The Verge 10% 7
Wired 9% 1
Android Authority 7% 7
View sources »

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

05.01.2026 08:22
Last update: 08:16 EDT.
News rating updated: 15:11.

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 © 2026