
Речь о процедурно‑параметрическом программировании, о котором почти никто не пишет. Я реализовал одну и ту же задачу в ООП и в этой парадигме и сравнил их численно. Одна из метрик разошлась в 6 раз.
Что же это такое?
В Казахстане часто смешивают казахский и русский в соцсетях, переписке, быту. Но попробуйте скормить русско-казахскую фразу любой системе машинного перевода (Machine Translation), и она начнёт чудить. Не потому, что она глупая, а потому что данных для обучения моделей переводить такую языковую кашу почти нет.
В этот раз разбираю научную работу коллег из MWS AI и нескольких университетов, в которой они предложили подход для генерации синтетического датасета под эту задачу на базе уже существующих обычных параллельных корпусов на казахском и русском. Да, это синтетические данные, но в условиях, когда альтернативы нет, это спасает. Их модель, обученная на синтетике, обошла известные коммерческие системы (ручная оценка) в узком, но реальном сценарии.
Велком под кат
Есть код, который физики передают друг другу с 2002 года. Кристиан Мэтцлер из Бернского университета написал набор MATLAB‑функций для расчёта рассеяния Ми, физики, из‑за которой небо голубое, а молоко белое. В 2009-м Стивен Жак обернул его для тканевой оптики, и с тех пор эти полторы сотни строк разошлись по тысячам работ, от атмосферных исследований до лазерной медицины.
Читать далееScotland’s Duncan Scott wins swimming gold
Boxing: England’s Lauren Mackie, in the women’s 54kg, punches through to the round of 16 with a unanimous victory against Kenya’s Amina Faki. DJ Khaled’s All I Do Is Win blasts around the ring.
This story has caught the eye, courtesy of Reuters:
Continue reading...Donald Trump has announced a landmark nuclear deal with Saudi Arabia while pressing ahead with efforts to stop Tehran from developing a nuclear weapon. What’s driving Trump’s new agreement with Riyadh? And how is it likely to be received at home and across the Gulf?
Jonathan Freedland speaks to Robert Jimison, who covers Congress for the New York Times with a focus on defence and foreign policy, about what the agreement contains, why it matters and the political challenges it could face
Continue reading...Suggests role will be his final job in top-level football
Warns journalists to ‘leave my family in peace’
Jürgen Klopp said he wants his team to “change a country” after being confirmed as Germany’s new head coach, but threatened to stand down if his family are hounded by the media during his time in charge.
In a forthright first press conference upon his unveiling as Julian Nagelsmann’s replacement, Klopp also suggested the role will be his final job in top-level football and expressed regret after poking fun at his predecessor while working as a television pundit during the World Cup. He is tasked with reviving Germany, who lost to Paraguay in the last 32 and have not made the last 16 since winning the tournament in 2014.
Continue reading...
Зайдите сегодня на любой популярный ИТ курс или откройте типичный туториал по бэкенд-разработке для начинающих. С первых же минут вас начнут учить одной и той же магии. Вам скажут: «Зачем забивать голову сложной теорией, архитектурой систем и внутренним устройством баз данных? Вот вам FastAPI, вот вам Django, Express или Spring Boot. Поставьте декоратор, напишите три строчки кода - и фреймворк сам поднимет веб-сервер, сам сгенерирует таблицы в СУБД, сам настроит маршрутизацию, валидацию и сериализацию данных».
Я сам регулярно сталкиваюсь с этим, когда открываю чужие репозитории или смотрю на тестовые задания новичков, но как такого фундамент оказывается очень хрупким.
В итоге за последние годы мы получили уникальное, но пугающее явление - огромную индустрию разработчиков, которые умеют виртуозно собирать конструкторы из готовых библиотек, но впадают в полный ступор, если из проекта убрать автоматику. Синдром «двух кнопок» стал главным скрытым кризисом современной разработки. Мы получили поколение инженеров, которые умеют пользоваться абстракциями, но не имеют понятия, как эти абстракции работают на уровне ОС, сети и железа.
Читать далееMeasures effectively replace blanket 10% tariffs Trump imposed in February that were struck down by US supreme court
Donald Trump has once again inspired anger and confusion in US allies and trading partners as he imposed a wave of tariffs on more than 80 countries, replacing an expiring global duty introduced earlier this year.
The new measures effectively replace blanket 10% tariffs that Trump imposed in February. The US supreme court ruled many of those were illegal. The new levies come in at between 10% and 12.5% on countries including the UK, Mexico, Canada, Australia, India, China and the 27 countries that make up the EU.
Continue reading...
The water in Charleston does not flow through the city as a policy debate. It comes gushing over curbs, through intersections, around school buses and storefronts. The city sits at sea level, and the sea is rising.
For years, Charleston flooded, recovered, and waited for the next storm. What changed was not the weather, but participating in the Bloomberg Harvard City Leadership Initiative and carrying those lessons home. City Hall began using data in new ways: tracking road closures alongside tide and weather patterns, analyzing high-water vehicle deployments, and mapping 118 vehicle rescues from floodwater over two years. A 7.1-foot tide with a northeast wind no longer leaves crews guessing. What had looked like scattered emergencies became a shared set of facts from which to build solutions.
Local government brought transportation planners and civil engineers, emergency managers and first responders, neighborhood leaders and environmental organizations, parents and business owners to the same table. This led to real-time barricade deployment on dangerous streets, basin-by-basin planning, a platform called WaterWise that brings residents into resilience, and protections and public space that cost less, arrive faster, and come together because city hall pulls other partners in to share the load—including the $1.4 billion Battery Extension, a local and federal project that will shield the peninsula while creating miles of waterfront promenade.
The same approach now guides decisions which are measured in generations. Today, infrastructure, transportation, housing, and land use no longer compete for lawmakers' attention. Work that began with water in the street became a way of seeing the whole city at once—and the residents whose lives depend on it working together.
We are the mayors of Charleston, South Carolina, and Boise, Idaho. We come from different parties, different regions, and different circumstances. As the nation’s 250th birthday invites reflection on the ideas that built this country, we write together about one of the most overlooked investments in strengthening it. For centuries, Americans have argued about what government should do. Michael R. Bloomberg has instead bet on what it takes.
Most mayors inherit a crowded ledger: housing shortages, aging infrastructure, public safety, rising costs, and economies and technologies changing beneath people’s feet. Yet local governments, often charged with the most, have the least room to move. Municipal pay runs about 35% below federal and 17% below state levels, and 50% to 75% of many operating budgets is fixed before a mayor can make a single new choice. That is not a shortage of will. It is the math of the job.
Nearly 2,000 miles west of Charleston is Boise—long considered a place where a teacher, a firefighter, or young family could expect to build a future. Now, the defining pressure is the cost of living. Population growth in and around the city accelerated in the 2010s and surged during the COVID-19 pandemic. Demand soared. Housing could not keep pace. By 2022, one study ranked Idaho’s capital the least affordable housing market in the country.
Boise officials began to address these issues by reaching out to residents experiencing the problem—and joining arms with neighbors to solve them together. City Hall brought more than 200 people into the process—homeowners, renters, developers, service providers, and frontline municipal employees. They offered more than 500 ideas. Officials tested them, set aside what didn’t work, learned from what did, and moved the strongest forward. Reforms including preapproved blueprints for accessory dwelling units helped drive an 113% increase in rental housing construction.
What began with housing policy became a different way of governing. Boise created a chief innovation officer to spread these practices across city hall. Today, that leader oversees the city’s first Department of Organizational Effectiveness. When in-home childcare providers said licensing was too slow and too expensive, staff closest to the process worked with providers and community groups to rebuild it, reducing approval times by 60 days and fees by roughly $230. The same discipline positioned Boise for its next Government Innovation effort. As one of 24 winners of Bloomberg Philanthropies’ 2025—2026 Mayors Challenge, the municipality will be the first in the U.S. to connect municipally owned geothermal systems to affordable housing—350 units and counting—cutting utility bills by up to 80% and turning a public asset into a lever for affordability.
Charleston and Boise are not alone. The mayors who passed through the same programs are posting gains of their own: Sioux Falls Mayor Paul TenHaken rebuilt a broken transit system that now covers 100% of the city, connects people to more than 50,000 jobs they could not reach before, and cuts costs per ride by 25%. In Chattanooga, after Mayor Tim Kelly listened to 500 residents about youth violence, one of the municipality’s most dangerous neighborhoods went a full year without a homicide. Anchorage hit zero major encampments by March 2026 under Mayor Suzanne LaFrance. In Las Vegas, four months were enough for Mayor Shelley Berkley to bring critical care to 1,000 residents experiencing homelessness and a home to 242 more.
This work largely goes unnoticed. So does what makes it possible. When local government succeeds, the results look ordinary. What stands behind them rarely does—and is so rarely funded.
That should matter now. The country is entering another great age of giving. Fortunes created through artificial intelligence, biotechnology, and industries still taking shape will define the next century of American philanthropy, just as Carnegie's libraries, Rockefeller's universities, and Gates’s fight against disease helped define the last.
But they should study the former mayor’s Government Innovation wager, which asks what most skip: not just which problems deserve funding, but whether the public institutions closest to the people they serve—responsible for them all—can succeed.
Two hundred and fifty years after our nation’s founding, that may prove to be one of the most consequential investments philanthropy can make in the country itself.
The author on the power of folktales, being inspired by Ulysses – and the book that every woman should read
My earliest reading memory
The summer my middle sister was born, my mum and I would walk to the shops at Cherryvalley, in east Belfast, to do her messages, and she’d buy me the latest issue of Storyteller, illustrated tales from around the world. It came with a cassette tape of actors reading the stories, a ding to tell you when to turn the page. My favourite was a Japanese folktale called The Goblin Rat. I was only just two, but I listened to it, entranced and terrified, until I could recite it by heart.
My favourite book growing up
Susan Cooper’s The Dark Is Rising series. I first read them aged 10 – I’ve read the title book every midwinter since, and read them last year with my own then-10-year-old son. They tell a haunting story of the age-old battle between the forces of dark and light, weaving in Arthurian legend, shot through with an adult melancholy that makes them as compelling now as then.
(RCA/Cult)
Allying the crackpot strangeness of Julian Casablancas’ side projects with his band’s gift for pop minimalism, the New Yorkers are on playful, joyous form
Here’s a sentence no old-head Strokes fan wants to hear: to understand Reality Awaits, the stalwart NYC group’s seventh album and first in six years, you first have to understand the Voidz. Julian Casablancas’s other band has been taking up more and more of his time in recent years, much to the chagrin of fans who may have dipped into the group’s painfully, awkwardly proggy 2014 debut Tyranny and decided to just let the old legend have his fun (away from their own speakers, of course). Anyone who decided to listen further will have found that the Voidz have turned into a great, crowd-pleasing, safely experimental zone for Casablancas to pull out some of the most energised, goofy work of his career. If you’re thinking I come to this guy for cool, not goof, I don’t know what to tell you: this is a man who spends interviews discussing his theories about ancient Sumerian culture.
The 2018 Voidz record Virtue is a high point of Casablancas’s entire catalogue: a gentle stylistic mixed bag that covers winsome pop-rock, yacht rock, bedroom pop and much more. That album seemed to clear the decks for the Strokes’ last record, 2020’s The New Abnormal, on which they sounded the most like their 2001 selves since Is This It. That album is now the definitive Strokes album for gen Z – go to any Strokes show and watch the younger contingent light up during The Adults Are Talking – but it didn’t presage a long-term back-to-basics route for Casablancas and co. On Reality Awaits, by sheer force of will, he fuses the crackpot strangeness and, ahem, fondness for AutoTune of the Voidz with the Strokes’ minimalism and pop melodicism.
Continue reading...‘Bulking’, or gaining weight on purpose to get stronger, challenged everything I was once taught to do with my body
I had been casually lifting weights for a few years when several things changed in quick succession.
First, my boyfriend proposed.
Continue reading...
The administration timed a new set of tariffs on all of its largest trading partners to take effect at the same time the old, global tariff ended.
(Image credit: Kevin Dietsch)

Marine biologists off of Baja California recorded one orca teeing up another to smash a sunfish into pieces. Scientists say there could be a reason for this behavior — or it could be just for entertainment.
(Image credit: NurPhoto)

Why is a Zulu-language drama taking the world by storm? The Polygamist mixes sex and scandal with a sharp portrait of modern South Africa.
(Image credit: Mpumelelo Macu)

Ascend West Virginia is one of dozens of relocation initiatives across the country offering cash and other incentives to move to states needing an economic boost. Here's how they're working out.
(Image credit: Chris Jackson for NPR)

Also: Ryan Gosling's regrets, Zohran Mamdani's exhortations and the Smithsonian's alleged wokeness.

RAG уже стал стандартным способом научить LLM работать с собственными документами без дорогостоящего дообучения. Но за кажущейся простотой скрывается множество практических вопросов: как разбить документы на чанки, где хранить эмбеддинги, как организовать быстрый семантический поиск и какую модель использовать на каждом этапе.
В статье соберем полностью локальную RAG-систему на Go, PostgreSQL и Ollama без облачных API и сторонних сервисов. Разберем весь путь — от индексации документов до получения ответа LLM на основе найденного контекста.
Читать далее
В прошлой части я разобрал хранилища — тома, bind mount, tmpfs. В третьей части (в этой) планировалось добраться до сети. До неё дойдём, но прежде чем разбирать, как сервисы общаются друг с другом, стоит на секунду остановиться и разобрать сам файл, в котором мы всё это описываем. Потому что compose.yaml — это спецификация со своими top-level разделами, правилами слияния, подстановкой переменных и кучей мелких нюансов, которые легко упустить, если читать документацию по верхам.
Эта часть, по сути, большой справочник по структуре Compose-файла: держите статью под рукой и возвращайтесь к ней, когда понадобится конкретный атрибут.
Читать далее
Мы привыкли думать о безопасности ИТ‑систем в терминах DDoS‑атак, уязвимостей и утечек данных — и это правильно. Но есть угроза, которая не связана с кодом, не прячется в логах и не лечится патчами: обычный огонь. Пожар в серверной способен за считанные минуты превратить дорогостоящую инфраструктуру в груду оплавленного металла — и тут уже никакие бэкапы не помогут.
Для ИТ‑инфраструктуры задача огнетушителя — не просто сбить пламя, а локализовать возгорание, не превращая оборудование в безвозвратный утиль. Поэтому к выбору ручного средства пожаротушения стоит подходить как к настоящей инженерной задаче: учитывать классы пожаров, особенности действующего вещества, температурный режим, последствия для техники и даже планировку помещения.
В этой статье разберём основные типы огнетушителей, посмотрим, как они работают, какие у них сильные и слабые стороны — и главное, какой из них реально имеет смысл держать рядом со стойкой серверов. Спойлер: ответ не всегда очевиден, а иногда и прямо противоречит привычным стереотипам. Поехали.
Читать далее‘Highly unpredictable’ blaze forces evacuation of Cap Ferret on French coast and Spain declares national emergency
More than 200,000 people have fled or been ordered to lock down as huge wildfires swept Spain and France on Friday, prompting Madrid to declare a national emergency and the French authorities to order the total evacuation, by land and sea, of one of the country’s best-known holiday spots.
Authorities in south-west France ordered the Cap Ferret peninsula on the Atlantic coast to be evacuated “village by village” in the face of an “intense, highly unpredictable” wildfire that has burned through more than 19,000 hectares (47,000 acres) of forest.
Continue reading...U.S.-Iran strikes escalate, affecting global energy markets, Trump imposes double-digit tariffs on dozens of countries, Vigil held in Madison, Wisconsin, for man killed by police.

AI-агент сегодня — это как джуниор, чью работу обязательно должен проверить сеньор. Разбираемся, почему искусственный интеллект не так всемогущ, как кажется на первый взгляд, почему он не терпит беспорядка и где сворачивает не туда.
Читать далее
Вы когда‑нибудь получали сообщение от мошенников? Там обычно что‑нибудь про службу безопасности банка, якобы вам нужно перевести деньги на некий безопасный счет, и тогда ваши сбережения останутся в безопасности. В локальных сетях на уровне L2 работает то же самое. Вместо сообщений — DHCP‑пакеты, вместо денег — ваши данные (а они в наше время — очень ценный ресурс).
DHCP spoofing — одна из самых распространённых и неприятных атак. Вопрос защиты от нее стоит особенно остро в сфере КИИ.
Мы с Семеном (соавтором) решили взять три самых популярных устройства, натравили на них 90 атак и выяснили, кто же лучший.
Читать далееInquiry’s focus this week is on security for the Jewish community, with the MP telling the commissioner his son is afraid to attend synagogues and events
Get our breaking news email, free app or daily news podcast
The shadow education minister, Julian Leeser, has called for universities to undertake an audit of any classes that teach about the Jewish community, Israel or Palestine.
Appearing before the royal commission into antisemitism and social cohesion on Friday, Leeser said he had been “very concerned” about antisemitism on university campuses and was not satisfied with how vice-chancellors had addressed the issue after the 7 October 2023 Hamas terrorist attack.
Continue reading...
Введение
Кажется, что нейросети могут все. Мы видим результат их работы в системах распознавания лиц, видеоаналитике. Нас поражает умение нейросетей рисовать изображения, распознавать и синтезировать голос, а большие языковые модели уже давно проходят тест Тьюринга и ведут беседу как живые люди. Но, как показал мой эксперимент, в задачах кредитного скоринга они нисколько не лучше классических ML-моделей. В этой статье я расскажу, как решающее дерево, случайный лес, бустинг и даже многослойная нейросеть упираются в один и тот же потолок на данных кредитного скоринга.
Ход эксперимента
В качестве датасета были взяты данные кредитного скоринга с https://www.kaggle.com/competitions/GiveMeSomeCredit. Сначала мы обучили решающее дерево, с кросс-валидацией. График зависимости roc-auc от количества элементов выборки (Ореол вокруг кривой – это дисперсия (разброс) при кроссвалидации):
Читать далее