
Раньше предложения изменений для основной дизайн-системы могли месяцами оставаться в ветках Figma — иногда вплоть до года. В макетах эти изменения уже были, но до кода и публикации в Storybook так и не доходили..
Когда нам понадобились общие компоненты для ИИ-интерфейсов, мы решили организовать для них свой процесс и сами отвечать за результат: от исследования и проектирования до реализации, проверки и исправлений. Рутинную работу делегируем агентам, а фронтендерам передаем на ревью уже подготовленные изменения в коде.
Расскажу, как мы устроили свою библиотеку ИИ-компонентов и что пришлось освоить по пути. Этот опыт может пригодиться дизайнерам и командам, которые хотят участвовать в полном цикле создания общих компонентов и готовы взять на себя их проверку и дальнейшее развитие.
Читать далееDemand for individual applicant records as part of purported civil rights review fails on procedural grounds
A federal district court judge dismissed a lawsuit on Monday filed by the Trump administration seeking individual applicant records from Harvard, finding the government failed to meet procedural requirements before filing the lawsuit against the university.
Judge Myoung J Joun did not rule on the merits of the case, rather he granted a request from Harvard to dismiss the case on procedural grounds, finding that the justice department failed to demonstrate it took necessary steps to seek voluntary compliance before moving for judicial enforcement.
Continue reading...Bank to make ‘early settlement’ offers before outcome of legal battle, with those who accept likely to get money before Christmas
Barclays will this month start offering compensation to tens of thousands of people who claim they were mis-sold car loans, with some of those who accept likely to see the money land in their account before Christmas.
Amid an ongoing legal battle over an industry-wide compensation scheme for victims of the UK’s car finance scandal, Barclays has become the first big UK lender to break cover and begin offering payouts to some customers who have complained.
Continue reading...
В задаче обучения модели машинного перевода есть приятный момент: вы находите несколько миллионов пар предложений и на секунду чувствуете, что самая трудная часть уже позади. Потом открываете случайную строку. Слева — предложение, справа — фрагмент таблицы. У следующей пары совпадает тема, но не смысл. Ещё чуть дальше кто-то заботливо положил в текст остатки HTML. Датасет приехал с мебелью предыдущих жильцов.
Для малоресурсных языков к этому добавляется ограниченность параллельных данных. Поэтому здесь особенно полезно понимать, что именно модель получает на вход и какую архитектуру мы пытаемся на этом обучить.
На связи Аня Лебедева, разработчик в отделе экспериментальных технологий AI VK, и сегодня я расскажу про kazRush — систему перевода с русского на казахский и обратно. Мы собрали и очистили корпус из открытых источников, обучили модели с нуля и подобрали конфигурацию модели примерно на 197 миллионов параметров. По дороге выяснилось, что более строгая очистка иногда ухудшает результат, бо́льший словарь не обязательно полезнее, а увеличение модели до 738 миллионов параметров само по себе не решает задачу. В общем, несколько вполне разумных идей пришлось проводить обратно до двери, но итоговый результат оправдал усилия. Русско-казахская модель заняла первое место в своём треке на LoResMT 2026 — воркшопе при конференции EACL.
Читать далееAI agents may make code faster to produce, but they don’t make it cheaper to run. In applications managing millions of objects, memory allocation and garbage collection still matter. The JVM has been addressing these costs on several fronts: ZGC targets garbage collection pauses, Project Leyden tackles startup and warmup, and Project Lilliput reduces the space occupied by every single object header. In Java 27, HotSpot enables compact object headers (Project Lilliput, JEP 534) by default.
Synthetic benchmarks frequently demonstrate smaller object footprints, but what does this change actually deliver for a massive, real-world JVM application? We evaluated the impact directly inside IntelliJ IDEA.
Every Java object carries a header. It identifies the object’s class and holds or encodes state used for locking, identity hashing, and garbage collection. Because every instance incurs this tax, shrinking the header represents an attractive target for memory optimization.
In the 64-bit HotSpot configuration we tested, a conventional instance header takes 12 bytes: an 8-byte mark word and a 4-byte class pointer. The compact layout compresses both into a single 8-byte word.
Does that translate to an immediate 10%–20% reduction in total application memory? Not necessarily. Below, we trace the impact of compact headers from raw object layouts and heap dumps through to resident process memory and interactive IDE workloads, highlighting where the savings materialize and where they vanish.
We measured three configurations with escalating resource demands:
The codebase sizes differ by nearly four orders of magnitude, providing substantially different indexing profiles and memory footprints. For both project configurations, we ran an automated script that repeatedly opened Java source files, inserted and removed comments, resolved code references, saved changes, and closed the editor.
We used IntelliJ IDEA 2026.2.3 running on JBR 25.0.4 (the Java runtime used by JetBrains IDEs), explicitly switching compact headers on and off. Within each on/off comparison, the build, project snapshot, workload, and -Xmx values stayed the same. We ran multiple runs per configuration on an otherwise idle host, alternating the on/off execution order to minimize cache-warming and ordering bias.
Let’s start with the primary metric users tend to notice when a process looks large: its RSS (resident set size).
RSS counts the physical RAM pages mapped to a process. This includes private memory pages and shared memory pages, such as dynamic libraries. Because shared pages count toward every process mapping them, RSS does not represent the amount of RAM exclusively held by the IDE.
We sampled the main IDE process using the ps command. The table below lists the mean of three per-run phase medians in MiB, with the lowest and highest run medians given in brackets.
| Condition | Headers off, MiB | Headers on, MiB | Delta |
| Welcome screen (-Xmx2048m) | 1,226.9 [1,213.6–1,247.8] | 1,266.4 [1,238.8–1,294.1] | +39.5 MiB (+3.22%) |
| Petclinic active (-Xmx2048m) | 3,576.4 [3,442.8–3,647.1] | 3,531.7 [3,436.3–3,625.3] | −44.7 MiB (−1.25%) |
| Monorepo active (-Xmx4096m) | 7,352.6 [7,351.3–7,353.4] | 7,376.9 [7,339.8–7,426.1] | +24.3 MiB (+0.33%) |
Verdict: At identical -Xmx limits, compact headers produced no statistically significant or consistent reduction in overall RSS.
Does this imply that compact headers yielded no practical benefit? To answer that, we need to look inside the heap and find out how compact headers actually work, rather than assuming an across-the-board drop in process memory.
Process RSS encompasses much more than live Java heap objects. Resident pages can include unallocated headroom inside the committed heap, class metadata, JIT-compiled code, thread stacks, native buffers and JVM data structures, shared libraries, and other memory-mapped files. Reducing object headers alone, therefore, might not necessarily lower the process’s RSS by a matching number of bytes (if it makes a visible change at all).
To isolate the structural savings, we compared the object footprint – how many bytes the same set of captured objects would occupy under each header layout model.
For your projects, you can explore this directly in IntelliJ IDEA. Its memory dump shows instance counts, shallow sizes, and retained sizes by class, so you can see what occupies the heap. As of the 2026.3 EAP, it also offers compact-header-aware estimates using JOL’s layout models.
The table below contrasts the modeled footprints for identical captured heaps.
| Captured population | Instances | Conventional model | Compact model | Memory saved |
| Welcome screen | 2,587,924 | 141.533 MiB | 132.619 MiB | 8.914 MiB (6.3%) |
| Petclinic, headers off | 9,335,990 | 472.304 MiB | 442.633 MiB | 29.671 MiB (6.3%) |
| Petclinic, headers on | 9,314,900 | 470.790 MiB | 441.179 MiB | 29.610 MiB (6.3%) |
| Monorepo, headers off | 19,102,676 | 924.818 MiB | 848.823 MiB | 75.995 MiB (8.2%) |
| Monorepo, headers on | 19,980,536 | 953.401 MiB | 873.060 MiB | 80.341 MiB (8.4%) |
Here, the savings are visible: The fixed-population model reduces the Welcome and Petclinic objects by about 6.3%, and the monorepo objects by 8.2%–8.4%. While system-level RSS obscured the effect, the memory savings within the heap are real.
Why doesn’t removing 4 bytes from the header translate to a uniform 4-byte saving for every single object? Because two heaps of the same size can contain very different objects, and the header is only one of the variables at play.
An instance also stores primitive fields and references. An array stores its length and element data. Their number, type, and reference width all affect an object’s overall size. In our comparison, field types and reference width stay the same, but changing the header can move field offsets and alter padding. Here’s how that works:
HotSpot rounds each object’s shallow size up to a multiple of eight bytes by default. That can absorb the four-byte header reduction: An object with one int stays 16 bytes in either layout (12 + 4 bytes, or 8 + 4 bytes plus 4 bytes of padding). An empty Object, by contrast, shrinks from 16 to 8 bytes; one with two int fields shrinks from 24 to 16 bytes, as illustrated in the image below:

There can also be padding inside an object. Fields have their own alignment requirements; they do not all start on eight-byte boundaries. In the HotSpot layout modeled here, ordinary field offsets follow their storage width: one byte for byte/boolean, two for short/char, four for int/float and compressed references, and eight for long/double. That is separate from rounding the whole object to an eight-byte size, and it is not a Java-language guarantee.
Let’s look at Long.value. After a 12-byte header, its eight-byte field starts at offset 16, leaving a four-byte gap. After an eight-byte header, it can start at offset 8. The whole object shrinks from 24 to 16 bytes. HotSpot can pack or reorder fields, so the exact offsets still depend on the class and the JVM’s layout rules.

Arrays show the same pattern: byte[0] stays 16 bytes, while byte[1] shrinks from 24 to 16 bytes. When a heap contains millions of different shapes, its total saving depends on that mix, not just the object count.

We checked these examples against actual shallow sizes with Instrumentation.getObjectSize on the same JBR, with compact headers explicitly off and on. A shallow size counts the object’s header, fields, and padding, but not any objects reached through its references. We also verified compressed references and alignment. Here is what JBR 25.0.4 reported:
| Shape | Headers off | Headers on | Saved |
| Empty Object | 16 B | 8 B | 8 B |
| One int field | 16 B | 16 B | 0 B |
| Two int fields | 24 B | 16 B | 8 B |
| Integer | 16 B | 16 B | 0 B |
| Long | 24 B | 16 B | 8 B |
| Node shape: int + three references | 32 B | 24 B | 8 B |
| byte[0] | 16 B | 16 B | 0 B |
| byte[1] | 24 B | 16 B | 8 B |
| byte[4] | 24 B | 16 B | 8 B |
| byte[8] | 24 B | 24 B | 0 B |
| int[4] | 32 B | 32 B | 0 B |
| Object[1000] | 4,016 B | 4,016 B | 0 B |
The takeaway from the table is simple: A smaller header does not make every object smaller. Total heap reduction depends entirely on an application’s object population profile.
Even if the process’s RSS does not decline at a fixed -Xmx, does reduced object size benefit the runtime elsewhere? We looked for four effects:
For the first three questions, we compared headers off and on at the same -Xmx: 2,048 MiB for Petclinic and 4,096 MiB for the monorepo.
For each project, our benchmark script repeated the same sequence of operations: opening a Java file, inserting and removing a comment, resolving references, saving, and closing the editor. That includes concurrent background and probe work, so it is not an allocation summary for the edits in isolation.
If you want to analyze allocation hotspots in your own code, IntelliJ IDEA’s Memory Allocations profiler tracks call paths and timelines. Like IntelliJ IDEA’s heap dump tool, it natively models compact object headers, so you can expect true numbers for your application, regardless of your target JVM version.
| Project | Scripted operations | Headers off, MiB | Headers on, MiB | Total reduction |
| Petclinic | 75 | 671.2 [655.4–683.1] | 612.3 [605.4–621.0] | −58.9 MiB (−8.8%) |
| Monorepo | 384 | 5,241.6 [5,118.0–5,341.3] | 4,558.2 [4,486.8–4,598.7] | −683.4 MiB (−13.0%) |
Under identical workloads, compact headers eliminated 8.8% to 13.0% of total allocated volume.
Lower allocation volume could mean less work for the garbage collector. We compared the JVM’s GC counts and elapsed collection time during project opening/indexing, followed by GC pause times during scripted operations.
| Project and phase | Metric | Headers off | Headers on | Delta |
| Petclinic, opening/indexing | GC events | 90.7 [82–98] | 82.3 [63–95] | −8.4 events (−9.3%) |
| Petclinic, opening/indexing | GC elapsed, ms | 758.3 [733–788] | 698.0 [595–783] | −60.3 ms (−8.0%) |
| Petclinic, opening/indexing | Recorded GC CPU, s | 5.9 [5.6–6.1] | 5.3 [4.8–5.9] | −0.6 s (−10.2%) |
| Petclinic, scripted operations | GC elapsed, ms | 24.3 [10–50] | 13.0 [0–25] | −11.3 ms (−46.5%) |
| Monorepo, opening/indexing | GC events | 560.0 [546–574] | 530.7 [527–534] | 29.3 events (−5.2%) |
| Monorepo, opening/indexing | GC elapsed, ms | 11,322 [10,944–11,823] | 11,001 [10,965–11,061] | 321 ms (−2.8%) |
| Monorepo, opening/indexing | Recorded GC CPU, s | 88.9 [86.5–92.0] | 85.7 [85.3–85.9] | −3.2 s (−3.6%) |
| Monorepo, scripted operations | GC elapsed, ms | 92.0 [77–107] | 72.0 [36–106] | −20.0 ms (−21.7%) |
During monorepo opening/indexing, every compact-header run recorded fewer GC events than the conventional-header runs. Mean GC elapsed time and recorded GC CPU were lower in these comparisons, too.
This is ultimately the question developers care about most. For the same operations, we compared their total time, their 95th-percentile operation latency, and process-wide CPU utilization.
| Project | Metric | Headers off | Headers on | Delta |
| Petclinic | Cumulative operation time, s | 3.682 [3.632–3.710] | 3.568 [3.423–3.775] | −0.114 s (−3.1%) |
| Petclinic | Per-operation p95, ms | 60.63 [59.51–61.72] | 59.11 [52.81–63.48] | −1.52 ms (−2.5%) |
| Petclinic | Total process CPU, s | 12.92 [12.66–13.18] | 12.90 [12.62–13.09] | −0.02 s (−0.2%) |
| Monorepo | Cumulative operation time, s | 16.768 [16.220–17.246] | 16.751 [15.565–17.422] | −0.017 s (−0.1%) |
| Monorepo | Per-operation p95, ms | 69.06 [68.56–69.44] | 67.46 [64.48–69.53] | −1.60 ms (−2.3%) |
| Monorepo | Total process CPU, s | 52.73 [51.95–53.24] | 51.55 [49.58–52.84] | −1.18 s (−2.2%) |
The performance numbers trend slightly positive, suggesting a modest speedup.
If compact headers pack more instances into the same heap volume, how far can we drop -Xmx before workloads fail?
We stepped -Xmx downward until the indexing and editor scenarios could not completely reliably. A pass meant that the short scenario finished, even if it became slow.
The table below shows the lowest tested settings that completed every repeat for each project and header layout.
| Project | Headers | Effective -Xmx, MiB | Active RSS, MiB | Opening/indexing, s | Opening/indexing GC, s | Fixed-work time, s |
| Petclinic | Compact | 376 | 2,528.2 [2,465.4–2,558.2] | 67.0 [60.0–71.0] | 29.6 [22.9–32.6] | 4.74 [4.42–5.09] |
| Petclinic | Conventional | 400 | 2,529.3 [2,508.9–2,580.7] | 69.5 [64.0–70.0] | 31.9 [25.6–33.3] | 5.18 [4.75–6.76] |
| Monorepo | Compact | 1568 | 4,718.8 [4,658.6–4,837.0] | 344.0 [344.0–348.0] | 36.5 [36.4–39.6] | 17.8 [17.8–17.8] |
| Monorepo | Conventional | 1888 | 5,063.1 [4,804.2–5,097.9] | 341.0 [338.0–344.0] | 27.9 [27.8–33.5] | 16.3 [16.2–17.4] |
Note: These represent the boundary thresholds where test workloads consistently completed – not suggested production configurations.
For Petclinic, compact headers allowed us to lower the minimum viable heap from 400 MiB to 376 MiB (a 6% reduction). For the monorepo, the minimum ceiling dropped from 1,888 MiB down to 1,568 MiB – a 320 MiB (17%) saving.
Upgrades that make existing applications more efficient without requiring a single line of application code are rare. Compact object headers achieve this by reducing a memory tax paid by millions of objects. Alongside improvements to startup and garbage collection, they are part of Java’s broader work on runtime efficiency – strengthening the JVM at a time when we’re generating more code than ever.
When you adopt compact headers in your own applications, the actual benefit will depend on your mix of objects and their alignment. Many objects will take up less space, which often translates into lower allocation churn, reduced GC pressure, and a smaller viable heap ceiling. However, it does not guarantee an immediate, matching drop in process RSS or faster execution across the board. Measure those metrics separately, and don’t lower your -Xmx just because headers are supposed to be smaller.
You may already be using the feature in IntelliJ IDEA. The IntelliJ Platform change arrived in 2026.2, and Java 27 enables company headers by default. That removes any manual configuration as soon as you migrate to the new Java version – which is well worth doing, given how much runtime work has landed recently.
What would you like us to explore next? Are you interested in more articles on Java performance, newer Java features, or both? Let us know in the comments!

Прогнали фронт киберспортивной платформы на Nuxt через vue-why-render. Пять правок по несколько строк убрали до 98% лишних перерисовок: таймер, который перерисовывал карточку 600 раз в минуту, реф в слоте, будивший не тот компонент, и тест, который проходил, ничего не проверяя.
Читать далееАнализ телеметрии, сетевого взаимодействия и механизма установки плагинов
Автор статьи: - Гришаев Юрий, специалист по анализу защищённости веб-приложений и ПО под Windows. Тимлид в АБП2Б. Сертифицированный специалист OSCP+, багхантер.
Remmina — популярный клиент удалённого доступа для Linux, поддерживающий RDP, VNC, SSH и другие протоколы. Он входит в стандартные репозитории многих дистрибутивов и используется для подключения к удалённым серверам и рабочим станциям.
Поводом для исследования стало предупреждение о том, что Remmina передаёт на серверы разработчика отпечаток рабочей станции. Возникли вопросы: какие именно данные собирает приложение, при каких условиях они отправляются и можно ли увидеть их содержимое?
Для проверки были изучены бинарный файл клиента, сетевые запросы и процесс формирования телеметрии в изолированной среде. Все проверки проводились на Remmina 1.4.43 из официального репозитория Arch Linux. Учётные данные в примерах синтетические.
Читать далее
Привет, Хабр!
Сегодня хочу рассказать про боль, которая, думаю, знакома многим, кто хоть раз сталкивался с поддержкой устаревших Windows-систем. А также про то, как небольшая консольная утилита на C# решила проблему, которая годами заставляла меня и моих пользователей хвататься за голову.
С чего всё началось
Всё началось с проекта BELPORTAL — набора решений для работы с государственными порталами Беларуси. Среди прочего там есть клиент для доступа к порталам, и вот с ним-то и возникла проблема.
Пользователи ставили BELPORTAL на Windows 7, Windows XP, на терминальные серверы — словом, туда, где всё ещё жил старый добрый софт. И примерно через одного получали вот такую картину:
Не удается установить защищенное соединение с сервером
или на более свежих системах:
Ошибка 0x800B0101
или классическое:
Сертификат сервера не является доверенным
При этом HTTP-сайты открывались, интернет работал, антивирус молчал. Но HTTPS — ни в какую.
Диагностика: в чём оказалась проблема
Копнув глубже, я выяснил банальную вещь: устаревшее хранилище корневых сертификатов. Windows хранит список доверенных корневых сертификатов в реестре по пути:
HKLM\SOFTWARE\Microsoft\SystemCertificates\ROOT\Certificates
Microsoft регулярно обновляет этот список через Windows Update. Проблема в том, что:
На Windows XP Windows Update для сертификатов уже давно не работает.
На Windows 7 обновления сертификатов прекратились с окончанием поддержки.
На корпоративных машинах политиками часто отключён Windows Update целиком.
На терминальных серверах обновление сертификатов — это отдельный квест.
На изолированных системах (POS-терминалы, банкоматы, медицинское оборудование) интернета нет вообще.

Вы вводите запрос и сразу получаете готовый ответ над ссылками. Откуда он берётся, почему иногда выглядит странно и когда на него можно опереться? Собрали независимые измерения точности, разобрали, в чём спорит с исследователями сам Google, и составили понятную схему проверки: от простого факта до налогов и здоровья.
Читать далееSlovenian star is averaging 38.3 points per game
Antetokounmpo offers high praise to fellow All-Star
Giannis Antetokounmpo has offered high praise to his fellow All-Star Luka Dončić after the Los Angeles Lakers star went on another scoring tear on Monday night.
Dončić scored 42 points in the Lakers’ 138-117 win over Antetokounmpo’s Heat to bring the Slovene’s scoring average this season to 38.3 points per game, the best in the NBA.
Continue reading...Beijing launches diplomatic salvo to woo Gulf leaders and bolster its influence in the region
China has held a flurry of meetings with Gulf leaders in a sign that Beijing is stepping up its diplomatic efforts in the Middle East.
The diplomatic salvo comes before a highly anticipated meeting between Donald Trump and Xi Jinping when the US president is expected to attend the Apec conference in Shenzhen, China, on 18 and 19 November.
Continue reading...Stopgap measure does not solve fundamental problem that millions can’t afford the healthcare they need, experts say
Some of the millions of Americans who collectively owe billions of dollars for medical expenses have seen their debt forgiven in recent years, and there has been a dramatic uptick in aid this year.
But the relief still only covers a small fraction of the outstanding balance and is just a stopgap measure that does not solve the fundamental problem: people in the US get into serious financial trouble because they can’t afford the healthcare they need, experts say.
Continue reading...Federal court says group likely to win its free speech claim and tells officials to approve application within seven days
A federal judge ordered state officials in Iowa on Monday to permit a local Satanic Temple organization to hold a holiday event in the rotunda of the state capitol after years of denying the group’s application.
The religious organization and Iowa Republican state officials have been in a legal battle over the group’s applications to hold a holiday event at the state capitol in recent years.
Continue reading...Garden Climate Assessment Tool will allow users to predict a plant’s response to the projected climate in a given location
“In the 20th century, we could pretty much grow the same things with confidence, we could learn from previous generations,” said Prof Sam Brockington, a curator at Cambridge University Botanic Garden.
“But now we’re moving into climate scenarios that we just don’t have the traditions to understand fully.”
Continue reading...Beijing launches diplomatic salvo to woo Gulf leaders and bolster its influence in the region
China has held a flurry of meetings with Gulf leaders in a sign that Beijing is stepping up its diplomatic efforts in the Middle East.
The diplomatic salvo comes before a highly anticipated meeting between Donald Trump and Xi Jinping when the US president is expected to attend the Apec conference in Shenzhen, China, on 18 and 19 November.
Continue reading...Cop30 host sets out steps to break link with coal, oil and gas as it aims to move focus from negotiating to implementing
All countries can start to break their dependence on fossil fuels now without needing to wait for new technologies or economic changes, Brazil’s government has said ahead of a global climate summit.
Brazil, the host of last year’s UN climate conference, set out the world’s first global “roadmap” for phasing out fossil fuels on Tuesday, showing that countries could boost their economies and pull people out of poverty while breaking the link with coal, oil and gas.
Continue reading...The Guardian’s picture editors select photographs from around the world
Continue reading...Elsinore is in contention for 12 Bifas, including for Scott’s highly praised performance, while Clio Barnard’s I See Buildings Fall Like Lightning, Ashley Walters’ Animol and Mike Leigh’s Tender Loving Care are also recognised
Elsinore, the drama in which Andrew Scott plays the actor Ian Charleson as he takes on Shakespeare’s Hamlet in the last months of his life, before he died of Aids in 1990, has emerged as the leading contender for the British independent film awards (Bifas).
The film, which is directed by Simon Stone and co-stars Olivia Colman, Billie Piper and Johnny Flynn, received 12 nominations, including best British independent film, best director for Stone and best lead performance for Scott. Elsinore has collected rave reviews since its premiere at the Telluride film festival in September, with the Guardian’s Benjamin Lee describing it as “a devastating movie [that] is a reminder of Charleson’s strength and the many men like him and it implores us to remember them too”. Scott is also already being tipped as the favourite for the best actor Oscar – and he would be the first out gay actor to win.
Continue reading...Exclusive: While tenants are challenging increases in record numbers, renters and landlords say system is ‘not working for anyone’
The rent tribunal system is “not working for anyone”, tenants and landlords have said, as rent increases of up to 88% continue to be approved despite Labour’s pledge to curb unfair rises.
Tenants are challenging rent increases in record numbers since the Renters’ Rights Act came into effect in May, making the process easier and less risky for renters.
Continue reading...
Сотрудник с адресами, контактами и словарями: в EF Core это 54 таблицы и 31 Include, в redb Pro один класс. Замеры на 100 тыс. объектов: где кто быстрее.
Один сотрудник из наших примеров в EF Core читается 62 SQL-запросами и почти две секунды. В redb Pro тот же сотрудник, на тех же данных и в том же виде, читается за 131 мс и девять запросов, а в повторном прогоне за 36 мс и пять. Разница не в том, что один движок «быстрый», а другой «медленный». Разница в том, сколько таблиц приходится собрать, чтобы получить из базы один бизнес-объект.
Ниже разбор: что именно сравнивали, почему граф дорог в нормальной форме, как redb Pro научился читать его без полной свёртки, и где EF Core честно быстрее. Таких мест немало, и они тоже в таблицах.
Читать далееSlowly cooked, sticky sausages sauteed with onion, soy and perhaps a bit of Marmite … our panel even has bangers with bangs for bonfire night
What are the best, comforting sausage dinners for autumn?
Rachel, by email
Sausages defy the seasons, being just as at home inside buns in the summer as they are simmering in stews come autumn. “Sausages are one of the most adaptable ingredients – they go with almost anything,” says Ali Stoner, author of Scran. “Obviously, there’s the classic Scottish sausage stovies, which, for me, is one of the most comforting of dishes, but then there are stewed sausages.” For this, she starts by frying sausages until “kind of browning”, then sets aside. “Caramelise lots of onions in the fat left in the pan, then stir in a little flour, pop the sausages back in with a bit of stock, a splash of soy, maybe a squeeze of Marmite – that always freaks people out – and simmer.” That’s then good to go with a big mound of mash or rice.
If it’s a sausage-and-beans kind of night, David Gingell, co-founder of Primeur, Westerns Laundry and Jolene, all in London, colours a couple of rashers of streaky bacon and some fennel sausages in a heavy-based pan. “Take them out, and you should be left with a good amount of fat in which to sweat an obscene amount of finely diced onions with some salt and a couple of crushed garlic cloves, until sticky and delicious.” Add some chopped carrots, too, should the mood take you, but Gingell often doesn’t bother. Add a good glug of cider, white wine (or sherry), followed by some bay leaves and a couple of jars of butter beans. “Pour in chicken stock, return the sausages to the pot and get them in a medium-hot oven for 30-40 minutes, until caramelising on top.” Crucially, they’ll then need a 30-minute rest: “Chop up the fried bacon, chuck that in, too, and serve with cabbage cooked with olive oil and/or butter and onions, plus a pot of mustard.”
Got a culinary dilemma? Email feast@theguardian.com
Continue reading...For the first time since 1937, no open permits to hunt ruffed grouse in Ohio have been issued due to falling numbers
Every November, hundreds of hunters descend on four designated wilderness areas in southern Ohio in pursuit of the elusive ruffed grouse.
But not this year.
Continue reading...Two days after pivotal US midterm elections, join Jonathan Freedland and our Guardian panel as they discuss the winners and losers, and what the results could mean for America – and the world.
Date: Thursday 5 November
Times: 7.30pm-9pm (GMT)
Donald Trump heads into these midterm contests with some of the lowest approval ratings in presidential history, finding himself on the wrong side of US public opinion on everything from AI data centres to building work at the White House. Will voters punish his party, even though his name is not on the ballot paper? Will his promise to give $5,000 to every US adult if Republicans triumph turn things around? Or do his failed attempts to ram through changes to the US voting system, coupled with the daily cost of ongoing war with Iran, mean a Democratic blue wave is now unstoppable?
Guardian columnist and host of the Politics Weekly America podcast Jonathan Freedland will join global editor Devika Bhat and the Edward Orsborn Professor of US Politics & Political History, Prof Adam Smith, in London, along with Mary Trump, clinical psychologist, author, and political commentator, Washington bureau chief David Smith and leading US commentator and co-Founder, CEO The Seneca Project Tara Setmayer live from the US. They’ll discuss the results and their implications for the future of Trump, the US and global politics. They’ll explore the key questions, ranging from the politics of artificial intelligence to whether a new age of US instability lies ahead – and ask who might succeed Trump in the White House in 2028.
Book tickets – in person or livestream
Continue reading...Cop30 host sets out steps to break link with coal, oil and gas as it aims to move focus from negotiating to implementing
All countries can start to break their dependence on fossil fuels now without needing to wait for new technologies or economic changes, Brazil’s government has said ahead of a global climate summit.
Brazil, the host of last year’s UN climate conference, set out the world’s first global “roadmap” for phasing out fossil fuels on Tuesday, showing that countries could boost their economies and pull people out of poverty while breaking the link with coal, oil and gas.
Continue reading...
Привет, Хабр!
Я помню время, когда фронтендеры активно делились своими велосипедами. Буквально каждый день я встречал статьи, где автор рассказывает, какую классную штуку он придумал.
Я, конечно, не такой умный. Ничего нового я не придумал, но мне хочется показать вам мой набор базовых стилей, которые я использую для всех проектов. В нём есть старые фишки, есть малоизвестные, а есть и новые.
Давайте посмотрим, что я вам подготовил.
Читать далееElsinore is in contention for 12 Bifas, including for Scott’s highly praised performance, while Clio Barnard’s I See Buildings Fall Like Lightning, Ashley Walters’ Animol and Mike Leigh’s Tender Loving Care are also recognised
Elsinore, the drama in which Andrew Scott plays the actor Ian Charleson as he takes on Shakespeare’s Hamlet in the last months of his life, before he died of Aids in 1990, has emerged as the leading contender for the British independent film awards (Bifas).
The film, which is directed by Simon Stone and co-stars Olivia Colman, Billie Piper and Johnny Flynn, received 12 nominations, including best British independent film, best director for Stone and best lead performance for Scott. Elsinore has collected rave reviews since its premiere at the Telluride film festival in September, with the Guardian’s Benjamin Lee describing it as “a devastating movie [that] is a reminder of Charleson’s strength and the many men like him and it implores us to remember them too”. Scott is also already being tipped as the favourite for the best actor Oscar – and he would be the first out gay actor to win.
Continue reading...Exclusive: While tenants are challenging increases in record numbers, renters and landlords say system is ‘not working for anyone’
The rent tribunal system is “not working for anyone”, tenants and landlords have said, as rent increases of up to 88% continue to be approved despite Labour’s pledge to curb unfair rises.
Tenants are challenging rent increases in record numbers since the Renters’ Reform Act came into effect in May, making the process easier and less risky for renters.
Continue reading...
Shortly after they'd both won Academy Awards at the 2024 Oscars, Godzilla Minus One director Takashi Yamazaki got a chance to speak with Christopher Nolan when Oppenheimer premiered in Japan. "As part of our conversation I told him, 'One day I think I would like to make a response to your movie,'" Yamazaki recalls. "In my mind I was thinking I'd develop a film that looks directly at Hiroshima. But then I began thinking, 'Wait—Godzilla is itself a metaphor for nuclear war. Maybe I can combine the two and make a Godzilla movie that is also an answer to Oppenheimer.'"
It wasn't a crazy idea; the King of the Monsters has indeed been a walking, building-smashing allegory for the atomic bomb ever since the very first film in 1954. But audiences may be shocked by the degree to which Godzilla Minus Zero, the follow-up to 2023’s Minus One, is a full-throated response to Oppenheimer. No movie in this franchise that's three-quarters of a century old has ever been as explicit about the bomb as Godzilla Minus Zero—including the original. Minus Zero is an intense, often gruesome film that tackles big themes, and it does this while also giving the big guy another kaiju to fight in an action-packed spectacle.
Set in 1949, four years after the end of World War II and two years after Godzilla was seemingly vanquished in Minus One, the sequel has a new monster attack a still-rebuilding Japan. Ghidorah, a dragon who arrived from outer space, destroys a city in the opening set piece and only gets more dangerous from there. Yamazaki, who wrote Minus Zero in addition to directing it and helming the visual effects, admits that the classic kaiju's alien background is a bit goofier than the more grounded world he'd created for Minus One. Ghidorah speaks to a challenge that all Godzilla sequels have faced: movies where Godzilla is the only monster can be serious metaphors, but as soon as you start adding other kaiju for him to fight, the franchise seems doomed to turn dumb. Yamazaki was mindful of avoiding this with Minus Zero. The entertainment spectacle would be there, of course, but especially considering the previous film reached a much wider audience than anyone expected—making north of $114 million globally against a budget between $10 million and $15 million—Yamazaki thought the sequel had an obligation to "really dig deeper and even explore some uncomfortable subjects."
As the characters, including Ryunosuke Kamiki's returning protagonist Kōichi Shikishima, try and fail to stop Ghidorah on their own, a professor, Murakami, unveils an invention that could lure Godzilla (who it turns out is still alive) to Ghidroah's location. The plan is for the two kaiju to fight so the humans might have an easier time doing a coup de grâce on the weakened victor. On paper, this is the sort of plot that you might expect from the sillier Showa era of the franchise, in the '60s and '70s. But Professor Murakami's past trauma and hidden agenda push Minus Zero into more provocative territory.

Murakami survived the bombing of Hiroshima, but as the audience sees in a flashback to the immediate aftermath of the event, his daughter and grandson did not. While the bombings of Hiroshima and Nagasaki have been key parts of Godzilla's backstory and significance, they've never been part of the plot in the way they are in Minus Zero. Godzilla's atomic breath in Minus One evoked a mushroom cloud and the resulting mass destruction, but in Minus Zero we see what nuclear death actually does to humans. The charred bodies of Murakami's family are a much more graphic and human-scale sort of violence than is normal for the franchise.
But Minus Zero goes even further. In a sequence where Murakami imagines Godzilla getting revenge on the United States by attacking New York City, the monster unleashes atomic breath on Manhattan, and the action suddenly switches to slow motion. Unsuspecting Americans look up in shock and horror as a massive inferno erupts and engulfs them. We see the flesh peel off their faces. Oppenheimer drew criticism for not showing the effects of the bomb its subject created. Godzilla Minus Zero does so in horrifying detail, and Yamazaki says he was inspired by a different American blockbuster director in his depiction of nuclear death.
"It was important to show as many people as possible what the effects of an atomic bomb would really look like. With the violence we see in New York City, I think back to Terminator 2, where James Cameron shows audiences what nuclear war does to us," Yamazaki explains. "I wanted to evoke something similar because it's very important for it to feel relatable—to jog our imaginations in a way that says, 'Wow. This is real. It is a very violent act.'"

While the Big Apple's destruction is only a terrifying dream sequence, the United States doesn't come off especially well in other parts of Godzilla Minus Zero. The American forces occupying postwar Japan have ulterior motives as they offer "help" in the fight against Ghidorah. They’re invested in controlling this Godzilla-luring device so they can add the kaiju to their nuclear arsenal, rendering the US of A as a secondary antagonist by the end of the film.
Other movies, like 2016's Shin Godzilla and 1991's Godzilla vs. King Ghidorah, have been critical of the United States. (The latter, which features flashbacks to a pre-mutated Godzilla stomping American GIs in WWII, is about an American who travels back in time to destroy Japan because it's too economically successful in the future.) But Minus Zero's unflattering depiction feels different—though considering that Minus Zero had its world premiere in New York City, there doesn't appear to be any real animosity towards the U.S. Yamazaki says he intentionally avoided making the American military too prominent in Minus One, instead having the army be "an almost unseen threat" throughout the film, but the 1940s setting meant that it was inevitable that the Yankees would take on a more explicit role. "As time passes, it was important to really take a look at what that relationship between the U.S. and Japan was," Yamazaki explains. "I went down the rabbit hole and did a lot of research about U.S. and Japan's military forces and tension, ultimately leading up to the story we see."
There's a lot going on in Godzilla Minus Zero, but Yamazaki thinks the monster is up to the task. "Godzilla was the only creature, kaiju, or entity that could handle all that weight on its shoulders," he says. Yamazaki found a way to make an exciting Godzilla sequel and respond to Oppenheimer. If he ever makes a third Godzilla movie, though, he'll face a different challenge: What to call it.
"We've gone from Minus One to Minus Zero so we're now neutral," Yamazaki says somewhat sheepishly. "That might be the biggest problem we have to solve if there is a sequel."

Google выводит Dreambeans за пределы США: первым международным рынком экспериментального приложения стала Индия. Сервис создаёт иллюстрированные истории на основе информации из подключённых приложений Google. Пользователю достаточно разрешить доступ к выбранным источникам — темы для ежедневной подборки ИИ предложит сам.
В Индии Dreambeans доступно на Android и iOS пользователям от 18 лет. Приложение поддерживает английский и 13 местных языков. Вместе с новой аудиторией Google получает проверку своей идеи: насколько людям нужна лента, которая сама выбирает темы из их личной информации.
Читать далее