RSS Feeds

Should You Invest in Bonds Right Now?
Published: 2026-08-21 16:48:03 | Created: 2026-08-21 10:04:55
High-quality bonds are still safer than stocks, but they have been swinging in value, so move cautiously, our columnist says.
show more
Return of Harry and Meghan to U.K. Renews Questions About Their Security Fears
Published: 2026-08-21 11:10:47 | Created: 2026-08-21 10:04:55
The couple lost their publicly funded security after deciding to leave Britain in 2020, deepening their split with the royal family.
show more
Trump Announces a New Policy for a ‘Golden Age of Space Transportation’
Published: 2026-08-21 01:03:35 | Created: 2026-08-21 10:04:55
The policy aims to greatly increase the number of spacecraft launches and re-entries.
show more
On the Radio, Trump Has a Reunion (of Sorts) With Michael Cohen
Published: 2026-08-21 01:30:44 | Created: 2026-08-21 10:04:55
President Trump’s former personal lawyer tried to revisit the past in a radio interview. But this was not exactly a stroll down memory lane.
show more
How Harvard’s Epic Fight With Trump Is Costing the University
Published: 2026-08-21 12:52:29 | Created: 2026-08-21 10:04:54
The federal government has slowed Harvard’s funding, despite the university’s legal victories. The conflict is forcing hard choices on campus.
show more
Iran War Raises Risk of Collisions and Oil Spills in Strait of Hormuz
Published: 2026-08-21 09:02:46 | Created: 2026-08-21 10:04:54
More vessels are navigating the Strait of Hormuz with their location devices turned off to evade attacks by Iran, adding to the threat of collisions.
show more
The Super El Niño Won’t Fix the West’s Water Crisis
Published: 2026-08-21 10:00:00 | Created: 2026-08-21 10:03:56
“People have talked about the Colorado River crisis for decades—we’re now in it,” says one expert. “Everyone you talk to is like, ‘Shit, man.’”
show more
Blackwater’s Erik Prince Launches Air-Defense Startup
Published: 2026-08-21 10:00:00 | Created: 2026-08-21 10:02:57
The private security contractor has joined with Ukraine company Swarmer to offer defense technology to Middle East sites getting hit by Iran.
show more
Прощай, Tkinter: Как я написал FreedomGUI для создания красивых интерфейсов на Python
Feed: Все публикации подряд на Хабре (https://habr.com/ru/rss/articles/)
Published: 2026-08-21 10:01:33 | Created: 2026-08-21 10:02:56

Hello World!

Я много раз видел, как новички в программировании пытаются писать свои первые интерфейсы на Tkinter. Но результат выглядит, мягко говоря, не очень - старый, серый дизайн из девяностых часто отбивает любое желание продолжать.

Именно поэтому я решил создать FreedomGUI - максимально простую библиотеку, с которой писать код под интерфейсы станет легко, быстро, а главное — приятно.

Читать далее
show more
Скептик выбрал гипотезу, которую ИИ не решит. Grok ее решил
Feed: Все публикации подряд на Хабре (https://habr.com/ru/rss/articles/)
Published: 2026-08-21 10:00:28 | Created: 2026-08-21 10:01:57

Математик Паата Иванишвили из Калифорнийского университета в Ирвайне сообщил, что Grok 4.6 в обвязке Grok Build (аналог Claude Code от SpaceXAI) доказал гипотезу Холмса, Холройда и Рамиреса, которую Иванишвили окрестил "Greedy is least speedy" ("жадный — самый медленный"). Модель доказала более сильную комбинаторную Гипотезу 5 из той же статьи — а из нее основное утверждение следует автоматически. Результат оформлен в короткую заметку, соавтором которой стал Шэнтун Чжан из Стэнфорда.

Читать далее
show more
Why this year’s Medicare-for-all debate is different
Published: 2026-08-21 10:00:00 | Created: 2026-08-21 10:00:57
Supporters look on as Sen. Bernie Sanders (I-VT) speaks during a news conference to announce the re-introduction of the Medicare for All Act of 2023, outside the Capitol on May 17, 2023, in Washington, DC. | Drew Angerer/Getty Images

The affordability and availability of healthcare is emerging as a top concern for Americans, with some recent surveys ranking it easily as the top concern. Voters are upset with rising costs, and federal cuts to Medicaid and Obamacare subsidies threaten to leave millions more uninsured

Progressive candidates, who have won major primaries this cycle, have been eager to offer Medicare-for-all as a solution. Polling suggests there is broad support for the idea, even if most American voters aren’t sure what the phrase means in practice.

But Democrats have also been fighting about Medicare-for-all for the last decade, with battles reaching a fever pitch in the 2020 presidential primary. The popular slogan has been most closely associated with Vermont Senator and two-time presidential candidate Bernie Sanders, whose federal Medicare for All Act would enroll virtually every American into one national plan and largely eliminate private health insurance. Six years later, plenty of Democrats still remember bitter arguments over whether to replace private insurance or build on it, dividing the party over an issue they otherwise agreed was a top priority.

Key takeaways

  • The health care fight that defined 2020 may not happen again: Abdul El-Sayed, who wrote a book on Medicare-for-all, is running on a version that keeps private insurance — and Sanders and Ocasio-Cortez have endorsed him.
  • Voters still don’t agree on what Medicare-for-all means: A March 2026 survey found 60 percent think Medicare-for-all would create a single-payer system, while 61 percent also think they’d keep their private plan.
  • The stakes are rising fast: Health insurers want a median 15 percent premium hike on top of roughly 20 percent this year, and Medicaid work requirements start in January, just as the 2028 campaign begins.

Yet there are emerging signs that the party is not about to experience déjà vu when it comes to healthcare politics. In interviews over the last few weeks, activists, pollsters, and policy experts sound cautiously optimistic that the Democratic healthcare wars might finally be headed for a collaborative truce. And Abdul El-Sayed, the buzzy Michigan progressive who wrote a book on Medicare-for-all, is campaigning for US Senate on a version that would let people keep their private health insurance, a potentially major shift. In a recent interview, El-Sayed went as far as to say, “as long as it reduces the power of healthcare corporations, expands healthcare, and does so publicly, I’m for it.”

In the meantime, Democrats have been busy building a new stockpile of ideas. New and serious healthcare proposals are circulating among lawmakers and potential 2028 presidential contenders, ranging from breaking up healthcare monopolies and expanding public drug manufacturing, to regulating hospitals and establishing new public options, meaning government-run health insurance plans that people can choose to buy instead of private insurance.

Next year is shaping up to be particularly painful. Health insurers want to raise Obamacare premiums by a median of 15 percent, on top of a roughly 20 percent jump this year, and starting in January, millions on Medicaid will have to prove they’re working to keep their coverage. Higher premiums and new hurdles to staying on Medicaid will land right as the next presidential campaign gets going.

That’s part of why the drafting feels urgent. Major healthcare legislation is rare, and the groups crafting these proposals think the next window may be opening.

“People have moved on from messaging; people aren’t staking out extreme positions to move the Overton Window,” said Neale Mahoney, a Stanford healthcare economist who has been reviewing many of the new proposals and advises the Kitchen Table Project, one of the groups developing them. “I think people are very much in the ‘what is something that could actually work?’ phase.”

What Americans really think about Medicare-for-all

One reason healthcare experts are feeling hopeful that reform may play out more amicably this time is that the fight that consumed the last one — whether everyone would be forced off their private plans — may not happen. Medicare-for-all supporters themselves seem tentatively open to paths beyond the strict single-payer program outlined in Sanders’ bill.

This is also significant because to many Americans, “Medicare-for-all” means having the option to enroll in a public health insurance program, but to keep their employer health coverage if they want.

The ambiguity over private insurance became the single biggest source of confusion and infighting among Democrats the last time they debated Medicare-for-all. A 2019 Kaiser Family Foundation poll found over half of Americans thought Medicare-for-all meant you could keep your private insurance, a finding that led presidential primary candidates to finger-point and flip-flop on the question for months. Kamala Harris, for example, initially backed Sanders’ bill in her presidential run, but later renounced her support after facing questions about whether she’d back abolishing private plans. 

New polling suggests Americans’ ideas about Medicare-for-all remain largely the same today. A March 2026 survey led by the center-left Searchlight Institute and Impact Research, a progressive polling firm, found that while 60 percent of Americans agreed that Medicare-for-all would create a single-payer health system, 61 percent also said Medicare-for-all would allow people to keep their current private health insurance plan if they preferred to.

Another recent survey led by Searchlight, the Democratic polling firm Tavern Research, and the progressive media organization Zeteo found that support for government-run health insurance was least attractive to voters when it included mention of the elimination of private and employer-sponsored plans and that it would be funded through higher federal taxes. Asked directly, 70 percent said they’d rather keep their current coverage than enroll in a federal plan similar to Medicare.

Battleground state focus groups held this past spring by the Democratic research firm Navigator found that while nearly all wished the country’s healthcare system was “universal” and “affordable,” few could say what separates one healthcare reform label from the next.

Put differently, most voters, including most Medicare-for-all supporters, seem open to a range of approaches that improve access to affordable care. 

Mahoney, the Stanford health economist, thinks what’s new is that Democrats are realizing they don’t have to choose between improving the coverage people have now and building something better over time, like a strong public option. There’s a growing recognition among experts, he said, that people are being squeezed right now, while deeper structural problems keep mounting underneath, like an insurance system tied to employment that would only grow more precarious if AI drives waves of layoffs. 

Natasha Murphy, the director of health policy at the Center for American Progress,  a liberal think tank, said voter research has led them to recommend new “short-term solutions” that can bring healthcare costs down now. “Candidates and elected officials would serve themselves and their constituents by focusing on the more immediate benefits,” she told me, “while continuing to talk about universal coverage and broader-scale change” that could take a decade or more.

Adam Gaffney, a prominent single-payer advocate who previously served as president of Physicians for a National Health Program, believes Americans indicating support for “Medicare-for-all” in polls broadly support a national insurance health system, but it doesn’t mean that everyone therefore knows “everything in Bernie’s bill, or Jayapal’s bill, or [Physicians for a National Health Program] proposal” since “very few people do.” 

Gaffney says he’s not opposed to incremental reforms on the path to single-payer, though he does believe voters interpret “Medicare-for-all” as one insurance program that covers everyone, just as they generally know that Medicare covers all people above age 65.

The 2028 test

Whether Democrats can actually sustain a tentative peace on healthcare will likely depend on how the next presidential primary season shakes out.

Alexandra Ocasio-Cortez, who is considering a run, is a vocal Medicare-for-all supporter closely aligned with Sanders — yet both have enthusiastically endorsed El-Sayed and continue to stump for him. Would Ocasio-Cortez campaign on Sanders’s bill specifically, or on something like El-Sayed’s broader healthcare vision? How would she handle disagreements with rival plans, which at times became heated in 2020? And where will groups like the Democratic Socialists of America draw their lines for endorsements?

Weighing in on the topic recently on his political newsletter, journalist and Vox co-founder Matt Yglesias noted that El-Sayed’s recent remarks characterizing Medicare-for-all as more aspirational than any specific piece of legislation may help build a “permission structure” for all kinds of center-left Democrats to run on worthy healthcare reform ideas. 

“The single most important thing that El-Sayed can do to win moderate support is to leverage his credibility with the left into ending the destructive Medicare for All wars that have paralyzed the Democratic Party for the past 15 years,” Yglesias argued. 

The reverse might help too. Single-payer supporters have long suspected a public option is meant to defuse pressure for bigger change, and moderates could answer that by stating plainly they want a plan that grows to cover nearly everyone — not a patch for people falling through the cracks.

In Jacobin earlier this month, the socialist writer who publishes under the pseudonym Carl Beijer urged leftists to hold the line on single-payer healthcare. He noted that El-Sayed’s position is almost identical to the stance that Democrats like Pete Buttigieg and Elizabeth Warren got slammed for by the left for proposing back in 2020. The Sanders wing of the party, Beijer stressed, held back then that any plan that allows for private insurance has no right to associate itself with Medicare-for-all. The risk now, he argued, is that rather than serve as a stepping stone to single-payer, a private option would let the rich opt out, and voters who’ve opted out don’t tend to fight to fund what they’ve left behind. He mused that socialists may be more willing to let El-Sayed off the healthcare hook because of the uncompromising stance he’s taken on Israel, but that the underlying issues had not changed. 

Beijer’s warning is that agreement this easy is agreement about nothing. The next presidential primary is where we’ll find out where the real differences remain.

show more
[Перевод] Изучаем Triton ядро за ядром: сложение векторов
Feed: Все публикации подряд на Хабре (https://habr.com/ru/rss/articles/)
Published: 2026-08-21 09:59:25 | Created: 2026-08-21 10:00:56

Основы программирования для GPU, оптимизация и ваше первое ядро на Triton

В эпоху моделей, оперирующих миллиардами параметров, даже небольшая оптимизация может дать значительный эффект. На обучение таких моделей как GPT4 тратится свыше $100 миллионов, и поэтому выигрыш в 1% КПД позволяет сэкономить более миллиона долларов. Есть мощный способ оптимизировать эффективность моделей машинного обучения – для этого нужно написать некоторые их компоненты прямо на GPU. Если ваш опыт похож на мой, то одно только упоминание ядер CUDA может вызвать у вас озноб — ведь печально известно, как сложно их писать и отлаживать.

Читать далее
show more
PLAYWRIGHT ДЛЯ КОМПОНЕНТНЫХ CAT-ТЕСТОВ В ПРОЕКТЕ НА ANGULAR
Feed: Все публикации подряд на Хабре (https://habr.com/ru/rss/articles/)
Published: 2026-08-21 09:58:54 | Created: 2026-08-21 09:59:56

Когда говорят «у нас есть тесты на Playwright», обычно представляют классический e2e-сценарий: тест открывает приложение, проходит авторизацию, переходит по нескольким страницам и работает с настоящим или почти настоящим backend.

Мы используем Playwright немного иначе.

Основной пласт UI-автоматизации в нашем Angular-проекте — это CAT-тесты. CAT в данном случае расшифровывается как component autotest. Мы поднимаем отдельный компонент или целую бизнес-форму в Storybook, открываем её в настоящем Chromium, выполняем пользовательские действия, управляем HTTP-ответами и сравниваем интерфейс с эталонными снимками.

Получается тест, который находится между unit и e2e:

Читать далее
show more
Spring Boot Configuration Management Best Practices
Feed: The JetBrains Blog (https://blog.jetbrains.com/feed/)
Published: 2026-08-21 08:35:26 | Created: 2026-08-21 09:59:55

Spring Boot provides comprehensive externalized application configuration support. It enables one application artifact to run in different environments by supplying values from various sources such as:

  • Property files
  • Environment variables
  • System properties
  • Command-line arguments


In this article, we’ll explore the best practices for managing Spring Boot application configuration.
A well-designed configuration strategy should ensure that:

  • Configuration remains separate from the application code.
  • The application fails to start when the required configuration is missing or invalid.
  • Default values can be overridden for each deployment environment.
  • Sensitive values are supplied by a dedicated secrets management system.

Configuration properties classification

Typically, Spring Boot application configuration falls into three categories:

  • Application defaults: Safe, non-secret values such as third-party service URLs, timeouts, and retry limits. Store these with the application.
  • Deployment configuration: Values that identify an environment, such as database hosts, queue names, and external service URLs. Supply these through the deployment platform.
  • Secrets: Passwords, API keys, certificates, and private keys. Store these in a dedicated secrets system.

For example, application.properties can provide application default configuration properties:

app.promotion-service.base-url=http://localhost:8181
app.promotion-service.timeout=3s
app.promotion-service.retries=3
logging.level.com.jetbrains=DEBUG
spring.jpa.hibernate.ddl-auto=validate
spring.jpa.open-in-view=false

A default value should be safe for every environment in which it may be used. Properties such as database URLs and credentials should never be hard-coded in the application code. If a required value has no safe default, validate its presence during startup.

Use @ConfigurationProperties for binding application properties

Spring applications can access configuration values through Environment, @Value, or @ConfigurationProperties.

Use Environment when property names must be resolved dynamically or infrastructure code needs direct access to property sources.

Use @Value for isolated values:

PromotionService(
  @Value("${app.promotion-service.base-url}") String baseUrl,
  @Value("${app.promotion-service.timeout}") Duration timeout,
  @Value("${app.promotion-service.retries}") int retries) {
    this.baseUrl = baseUrl;
    this.timeout = timeout;
    this.retries = retries;
}

Scattered @Value expressions make property names difficult to discover, validate, and refactor. A dedicated configuration type using @ConfigurationProperties supports all these features.

For related configuration properties, prefer @ConfigurationProperties. It provides:

  • Type-safe binding and conversion
  • Relaxed binding between property names and Java members
  • Group-level validation
  • IDE completion and navigation through generated metadata

For example, if we are integrating with a third-party REST API, we may want to configure the service base URL, timeout, and number of retries.

app.promotion-service.base-url=${PROMOTION_SERVICE_URL}
app.promotion-service.timeout=${PROMOTION_SERVICE_TIMEOUT:3s}
app.promotion-service.retries=3

In the above configuration, we are setting base-url value from the environment variable PROMOTION_SERVICE_URL and timeout value from the PROMOTION_SERVICE_TIMEOUT environment variable with a default value of 3 seconds.

Spring Boot supports setter-based binding. You can bind properties to a class that uses setters as follows:

@ConfigurationProperties(prefix = "app.promotion-service")
public class PromotionSvcProperties {

    private String baseUrl;
    private Duration timeout;
    private int retries;

    // Setters and getters
}

Register configuration types using @ConfigurationPropertiesScan:

@SpringBootApplication
@ConfigurationPropertiesScan
public class Application {

    public static void main(String[] args) {
        SpringApplication.run(Application.class, args);
    }
}

The @ConfigurationPropertiesScan annotation scans for @ConfigurationProperties annotated components and registers them as Spring beans.

Now we can inject PromotionSvcProperties into other Spring beans and access property values.

Prefer Records for @ConfigurationProperties binding

Typically, configuration is normally established during startup and remains unchanged for the lifetime of the application.

For most application configurations, a Java record is the preferred option. It provides immutability out of the box so that their values won’t be modified even by mistake in contrast to class-based binding where you can accidentally invoke a setter:

@ConfigurationProperties(prefix = "app.promotion-service")
public record PromotionSvcProperties(
        String baseUrl,
        Duration timeout,
        int retries) {
}

Spring Boot’s relaxed binding maps canonical kebab-case names such as base-url to the baseUrl field.

Sometimes we may want to bind properties to a bean provided by a third-party library, and we can’t change their source code to add @ConfigurationProperties annotation.

To bind configuration properties directly to a third-party class, declare it as a @Bean and annotate the bean method with @ConfigurationProperties:

@Configuration
public class ClientConfiguration {

    @Bean
    @ConfigurationProperties(prefix = "third-party.client")
    public ThirdPartyClientProperties clientProperties() {
        return new ThirdPartyClientProperties();
    }
}

You can configure the third-party.client properties as follows:

third-party.client.base-url=https://api.example.com
third-party.client.connect-timeout=5s
third-party.client.read-timeout=30s

If the third-party class is immutable or not supports setter binding, create your own properties class and use it to construct the third-party object:

@ConfigurationProperties(prefix = "third-party.client")
public record ClientProperties(
    URI baseUrl,
    Duration connectTimeout,
    Duration readTimeout
) {}


@Configuration
@EnableConfigurationProperties(ClientProperties.class)
class ClientConfiguration {

    @Bean
    ThirdPartyClient thirdPartyClient(ClientProperties properties) {
        return new ThirdPartyClient(
                properties.baseUrl(),
                properties.connectTimeout(),
                properties.readTimeout()
        );
    }
}

The wrapper approach is generally preferable because it avoids coupling your application configuration directly to the third-party library’s class structure.

Fail fast, fail early: validate configuration during startup

Configuration errors should be detected on application startup and fail fast if a configuration is missing or invalid. Add @Validated to a @ConfigurationProperties bean and apply Jakarta Bean Validation constraints to its properties.

@Validated
@ConfigurationProperties(prefix = "app.promotion-service")
public record PromotionSvcProperties(
 @NotBlank String baseUrl,
        @NotNull Duration timeout,
        @Min(1) @Max(5) int retries,
        @NotNull @Valid SyncProperties sync) {

    public record SyncProperties(@NotEmpty String cron) {
    }
}

With spring-boot-starter-validation on the classpath, binding or validation failures stop application startup. Validate required values, numeric ranges, nested groups, and other application-level constraints.

Use wrapper types when absence must be distinguished from a Java default. For example, an Integer annotated with @NotNull can identify a missing value, while an int defaults to 0.

You can also specify default values using @DefaultValue as follows:

@Validated
@ConfigurationProperties(prefix = "app.promotion-service")
public record PromotionSvcProperties(
 @NotBlank String baseUrl,
        @NotNull Duration timeout,
        @Min(1) @Max(5) @DefaultValue("3") Integer retries,
        @NotNull @Valid SyncProperties sync) {

    public record SyncProperties(@DefaultValue("0 0 * * * *") String cron) {
    }
}

In the above example, we have specified the default values for retries and cron properties using @DefaultValue which will be used in case these property values are not configured.

Understand property precedence

Spring Boot combines multiple property sources. When the same property appears in more than one source, the source with higher precedence supplies the effective value.

The following simplified order shows the sources most commonly used in application deployments, from lowest to highest precedence:

application.properties/yaml (low-precedence)
           ↓
profile-specific configuration files
           ↓
OS environment variables
           ↓
Java system properties
           ↓
command-line arguments    (high-precedence)

Spring Boot configuration loading precedence matters when troubleshooting a value that differs from the expected configuration value.

Environment variables are widely supported by operating systems, container runtimes, and cloud platforms. Spring Boot derives environment variable names from canonical property names by replacing dots with underscores, removing dashes, and converting the result to uppercase:

app.payment-timeout     -> APP_PAYMENT_TIMEOUT
spring.datasource.url   -> SPRING_DATASOURCE_URL

Determining the effective value of a property can be challenging when it is defined in multiple configuration sources. IntelliJ IDEA can display resolved configuration values as editor inlay hints. Selecting a hint identifies the property source that supplies the value and indicates whether it is overridden by another source, such as an environment variable or a system property.

IntelliJ IDEA also provides navigation between property declarations, @ConfigurationProperties members, and property usages. For custom configuration properties, this support is enhanced by the metadata generated by spring-boot-configuration-processor.

Store secrets in a dedicated system

Do not store passwords, API keys, certificates, or private keys in source control. Use a system such as HashiCorp Vault, AWS Secrets Manager, Google Cloud Secret Manager, Azure Key Vault, or an equivalent platform service.

Ensure that secrets are excluded from logs, error messages, configuration metadata, and publicly accessible management endpoints.

NOTE: In non-production environments, the Actuator env endpoint can help identify the source of an effective property. It should not be exposed publicly because configuration may contain sensitive information.

Recommended configuration management

There is no single configuration-management approach that works for every application. Choose a strategy based on the application’s architecture, deployment environment, and complexity.

Monolith

For a monolithic application, keep shared defaults in the application, use profile-specific files only where necessary, and supply deployment-specific overrides through environment variables. Store sensitive values in a dedicated secret manager.

Containerized workloads

For workloads running in a container platform such as Kubernetes, keep sensible defaults in the application and provide deployment-specific configuration through ConfigMaps. Store secrets separately in a dedicated secret-management system.

Microservices

For a microservices architecture, consider Spring Cloud Config Server to centralize configuration, governance, and versioning. Continue to manage secrets through a dedicated secret-management system.

Summary

Effective application configuration starts with sensible defaults, type-safe @ConfigurationProperties, and startup validation. Keep environment-specific values outside the application, understand property-source precedence, and store secrets in a dedicated secret-management system.

The right configuration strategy should reflect the application’s architecture and deployment environment.

During local development and debugging remotely, IntelliJ IDEA helps reveal the effective configuration by showing resolved property values and their sources, highlighting overrides, and providing navigation between configuration files and bound Java properties.

show more
I, robot? AI and consciousness
Published: 2026-08-21 09:02:05 | Created: 2026-08-21 09:58:55
Also on the daily podcast: Europe’s rising number of STIs and a tribute to Mary de Rachewiltz
show more
Five missing after fire in Swiss Alpine town
Published: 2026-08-21 13:10:39 | Created: 2026-08-21 09:56:59
Eight others were injured, local police say, with the cause of the fire still being investigated.
show more
Gandhi's handwritten notes on life sold for $1.69m at Indian auction
Published: 2026-08-21 06:33:32 | Created: 2026-08-21 09:56:59
The collection documents key moments in Gandhi’s freedom movement as well as his personal relationship with close aide.
show more
Eight killed in plane crash at remote Alaskan military site, air force says
Published: 2026-08-21 09:53:47 | Created: 2026-08-21 09:56:58
It is unclear why the civilian-contracted plane was at the radar site on Alaska's south-west coast.
show more
Как я запарился считать плитку для ванной и написал свой калькулятор раскладки
Feed: Все публикации подряд на Хабре (https://habr.com/ru/rss/articles/)
Published: 2026-08-21 09:51:16 | Created: 2026-08-21 09:52:57

Затеял ремонт в ванной, дошёл до плитки — и тут понеслось. Санузел у меня Г‑образный, в углу венткороб, раскладку хочу диагональную, а «раздели площадь на плитку» вообще не работает, я это понял когда мои циферки не сошлись с тем что плиточник насчитал — разница набежала непонятно откуда.

Плиточник говорит — берите пятнадцать процентов запаса и всё. Пятнадцать процентов от плитки по 2000 с лишним за метр это уже сумма, я в столбик посчитал и решил что нет, надо по‑другому. Калькуляторы онлайн — площадь на цену умножают, я и сам умею. В CAD полез — там сначала модель строй, а мне не чертежи нужны были.

Написал своё в итоге, дальше расскажу что вышло, скрины ниже, там понятнее чем я объясню.

Читать далее
show more
Программу, по которой я учился в началке, просто вычеркнули
Feed: Все публикации подряд на Хабре (https://habr.com/ru/rss/articles/)
Published: 2026-08-21 09:50:20 | Created: 2026-08-21 09:51:56

Учебник математики, по которому учились поколения детей, не прошёл экспертизу с формулировкой: содержание не способствует формированию патриотических чувств, поскольку в книге присутствуют «гномы, эльфы, факиры со змеями, три поросёнка». Это не анекдот, а заключение 2014 года. Рассказываю, как разобрали образовательную систему, по которой я сам учился в начальной школе.

Читать далее
show more
Trump appears on radio show of Michael Cohen, patching up public split
Published: 2026-08-21 09:49:00 | Created: 2026-08-21 09:50:54
President Trump appeared on the radio show of Michael Cohen, his fixer-turned-foe, in a stunning public reunion that would have been impossible to imagine several years ago.
show more
The Premier League's new plan to end corner chaos
Published: 2026-08-20 12:53:03 | Created: 2026-08-21 09:49:56
Holding, pushing, shoving, jostling and grappling. It became something of an epidemic in the Premier League last season - here's what's being done to fix it.
show more
Мой опыт с Hermes Agent — ненависть, любовь, ненависть, любовь
Feed: Все публикации подряд на Хабре (https://habr.com/ru/rss/articles/)
Published: 2026-08-21 02:30:37 | Created: 2026-08-21 09:45:59

В какой‑то момент я осознал, что у меня много источников данных, есть мощная машинка в виде MacBook Pro M4 Max со 128 гигами оперативки, и надо как‑то это объединить, чтобы эффективно использовать. Всё же такую покупку согласовывали под использование ИИ, а не просто так я решил потратить деньги.

И триггером стал момент, когда в клубе по ИИ начало появляться всё больше и больше классных отзывов про Гермес. Причём отзывов, похожих на магию — типа он сам продумал за меня весь отдых, делал планы, проверял меню ресторанов и развлечения на день и всё в таком духе. Про рабочие кейсы почему‑то никто не рассказывал, но в магию я влюбился.

В целом Гермес выглядел идеально — есть память, скиллы, которые он пишет сам (ну и ты, конечно, тоже можешь написать), простота установки и использования, крон‑задачи. В общем, полный комплект.

Потом я радовался, что всё работает, потом понял, что это была видимость работы, и разочаровался, потом пересмотрел подходы и переизобрёл то, о чём, естественно, писали не раз, но зато у меня всё стало работать.

В статье не буду рассказывать о том, как установить Гермес, подключить Codex и наслаждаться. Будут локальные модели, виртуалки, шишки и преодоление в истинно инженерном стиле.

Читать далее
show more
Plane Crash Near Remote Military Radar Site in Alaska Kills 8
Published: 2026-08-21 23:32:00 | Created: 2026-08-21 09:44:58
The civilian-contracted plane crashed at a remote radar site some 450 miles from Anchorage.
show more
Best Early Tech Labor Day Sales I’d Shop Myself (2026): AirTags, Dyson, and More
Published: 2026-08-31 20:47:46 | Created: 2026-08-21 09:43:56
From the best Dyson vacuum to the best wireless earbuds we’ve tested, you can get some great gadgets on sale already ahead of Labor Day.
show more
Dave Bautista confirmed as new God of War star
Published: 2026-08-21 09:15:57 | Created: 2026-08-21 09:42:56
The ex-wrestler replaces Ryan Hurst as Kratos in the upcoming adaptation of the popular PlayStation series.
show more
16-year-old girl charged after tackling middle school football player during game
Published: 2026-08-20 17:41:00 | Created: 2026-08-21 09:24:56
A 16-year-old Middle Tennessee girl is facing charges after authorities said she ran onto the field and tackled a middle school football player during a game. WSMV's Brendan Tierney reports.
show more
‘The friendship disappeared’: López faces Romero after years of sparring and support
Published: 2026-08-21 09:00:31 | Created: 2026-08-21 09:22:55

Boxing’s most mercurial star is putting an old friendship aside as he moves up to 147lb to challenge Rolly Romero for the welterweight title he won against Ryan Garcia

For more than a decade, Teófimo López’s friendship with Rolando ‘Rolly’ Romero endured through amateur tournaments, Las Vegas sparring sessions and the mismatched peaks and troughs of two volatile careers. That friendship ended, López says, the moment they signed to fight one another.

On Saturday night at T-Mobile Arena along the Vegas Strip, the 29-year-old López will challenge for Romero’s World Boxing Association welterweight title. The former lightweight and junior-welterweight champion is moving up to 147lb in pursuit of a belt in a third division. For Romero, himself a three-weight belt-holder after stacking titles at 135lb and 140lb, a victory would add another marquee name to a résumé transformed by last year’s upset of Ryan Garcia. The fight will be broadcast globally on Dazn pay-per-view and will see the champion go off as a roughly 2-1 underdog.

Continue reading...
show more
Tadej Pogacar looks unstoppable as he sets sights on another slice of history at Vuelta
Published: 2026-08-21 08:31:31 | Created: 2026-08-21 09:22:55

Slovenian is aiming to become the ninth rider to win all three Grand Tours, and it doesn’t look as if anyone can stop him

Who’s coming second? That’s the question being most frequently asked as the peloton convenes for the final Grand Tour of 2026, the Vuelta a España, which rolls away from the start line in Monaco on Saturday.

The unrelenting Tadej Pogacar, making his first appearance in the Spanish race since 2019, is the overwhelming favourite to take the top spot on the podium in Granada on 13 September, with his cowed rivals already seemingly accepting of his supremacy.

Continue reading...
show more
From Showtime to Insurance Time: how the LA Lakers became a $12.5bn hedge fund play
Published: 2026-08-21 09:00:30 | Created: 2026-08-21 09:22:55

Bob Iger and Josh Kushner’s $12.5bn bid to buy the Lakers shows that NBA teams are no longer family dynasties, but quick flips for private equity sharks

For years, the NBA was built on the alliance of patient money and marketing pizzazz, and no team captured that curious mixture better than the Los Angeles Lakers. Through Showtime in the 1980s and the dominance of the Shaq-Kobe years, the Lakers became the benchmark for a league and a sport intent on global conquest: charismatic, ambitious, and flashy, a sporting-cultural amalgam in which athleticism and celebrity held equal rank. Through careful front office recruitment, savvy coaching, and the harnessing of Hollywood’s star power, the Lakers evolved from a team into a “brand,” establishing a template that virtually every other outfit in the NBA has felt compelled to mimic in the years since. But the razzle-dazzle on the court – the Laker Girls, Magic flinging no-look passes, Shaq smashing the glass, Jack Nicholson smiling his Joker smile in the front row, all eyebrows and mischief – depended on a far more staid and stable arrangement off it. Real estate investor Jerry Buss bought the Lakers for $16m in 1979, and remained the majority owner until his death in 2013, when his children assumed control of the franchise.

When Jerry Buss died, the Lakers were valued at $1bn. Now, the team looks set to be sold to former Disney CEO Bob Iger and venture capitalist Josh Kushner, the brother of Donald Trump’s son-in-law Jared, for $12.5bn. The sale is still under negotiation and will need to be approved by the NBA’s board of governors; the Buss siblings are also now bickering over whether to join the stampede and sell their minority 17.8% stake in the franchise to Iger and Kushner, which has added a subplot of Shakespearean family intrigue to proceedings. But in the likely event it goes through, the sale would make the Lakers the most valuable franchise in basketball. It would also signal an acceleration in private equity’s scramble to get its claws into the world of sport.

Continue reading...
show more
England beat Pakistan by an innings and 103 runs: first men’s cricket Test, day three – live reaction
Published: 2026-08-21 14:48:52 | Created: 2026-08-21 09:22:55

Updates from Headingley; play starts 11am BST
Day two: Brook keeps England on top | Sign up for the Spin

83rd over: England 367-8 (Smith 17, Archer 0) A quiet first over of the day from Mohammad Abbas, with just a single to Jamie Smith. The new ball is available but the left-arm spinner Ali Usman, who took five of the six wickets to fall yesterday, is going to continue at the other end.

The second Test between Australia and Bangladesh starts in the early hours of tomorrow morning UK time; we’ll have live over-by-over coverage on the site. Australia, who were hammered in the first Test, have made one change to their XI: Matt Renshaw replaces Jake Weatherald at the top of the order.

Continue reading...
show more
NHS patient data groups Arcturis and Akrivia agree £140m merger
Feed: The Latest News from the UK and Around the World | Sky News (https://feeds.skynews.com/feeds/rss/home.xml)
Published: 2026-08-21 09:18:00 | Created: 2026-08-21 09:21:54
Two major providers of NHS patient data to the pharmaceuticals industry are to merge in a £140m deal to give them greater scale in their battle with the American giant Palantir Technologies.
show more
[Перевод] Почему ИИ так и не заменил разработчиков (и вряд ли заменит)
Feed: Все публикации подряд на Хабре (https://habr.com/ru/rss/articles/)
Published: 2026-08-21 09:18:14 | Created: 2026-08-21 09:19:56

Тема замены людей нейросетями сейчас обросла массой страхов и домыслов. Но как отсеять пустые страшилки с хайповыми прогнозами и посмотреть на ситуацию через призму реальных фактов? Один из способов — проанализировать ту сферу, куда ИИ проник глубже и быстрее всего. Речь, разумеется, о разработке ПО.

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

Мы прекрасно понимаем механику этого процесса. Любой интеллектуальный труд, и создание софта здесь не исключение, можно представить в виде эдакого «сэндвича»: решить — сделать — сдать. Искусственный интеллект берет на себя слой исполнения, ту самую «начинку» сэндвича. Однако два крайних слоя упорно не поддаются автоматизации, и простым наращиванием мощностей эту стену не пробить.

Читать далее
show more
Локальный ИИ-агент в своём контуре: Ollama плюс OpenClaw на серверном GPU
Feed: Все публикации подряд на Хабре (https://habr.com/ru/rss/articles/)
Published: 2026-08-21 08:24:54 | Created: 2026-08-21 09:16:57

Однажды за один вечер мне пришлось разобрать двенадцать ошибок, и почти все прятались в конфигурации и связях между компонентами. Модель отвечала пустой строкой, хотя в логах не было ни одной явной ошибки. Агент не мог достучаться до Ollama, панель не проходила авторизацию, ключ отклонялся из-за прав доступа, а gateway показывал зелёный статус, но будто не замечал изменений в конфиге.

В этой статье хочу разобрать три случая, сопроводим их реальными репликами агента и выводами команд. Посмотрим, как модель имитирует выполненную работу, почему при переполнении лучше не увеличивать окно, а искать причину по логам, и как скилл по расписанию оказался удобнее панели управления.

Статья написана на основе моего вебинара, можно посмотреть его в записи. 

Читать далее
show more
OpenAI API в 2026 году: как получить ключ, выбрать модель и не разориться на токенах
Feed: Все публикации подряд на Хабре (https://habr.com/ru/rss/articles/)
Published: 2026-08-21 09:14:10 | Created: 2026-08-21 09:15:56

В июле OpenAI выпустила новую линейку моделей, в конце месяца дважды поменяла цены, а на осень назначила отключение Assistants API, Videos API и всего поколения GPT-4. Мы переподключали свои сервисы под эти изменения и по ходу сверяли каждый шаг с документацией — заодно выяснилось, сколько русскоязычных руководств успело устареть.

Ниже проход от пустого аккаунта до продакшена: ключ, первый запрос, выбор модели, расчёт бюджета, пополнение, лимиты, ограничения для российских команд и календарь отключений.

Читать далее
show more
Retail sales in Great Britain fall despite heatwave increasing food and drink demand
Feed: World news | The Guardian (https://www.theguardian.com/world/rss)
Published: 2026-08-21 08:58:10 | Created: 2026-08-21 09:13:57

Volume of goods sold in stores and online dropped 0.5% in July, ONS says

Retail sales across Great Britain weakened last month despite the men’s football World Cup and record temperatures boosting the demand for food and drink.

The Office for National Statistics said the volume of goods sold in stores and online fell 0.5% in July. That is down from 0.7% rise in June – revised down from initial estimates of 1% – and a 1.3% rise in May.

Continue reading...
show more
See the Light: Tracey Emin and Steve McQueen illuminate Durham gallery’s revival
Feed: World news | The Guardian (https://www.theguardian.com/world/rss)
Published: 2026-08-21 09:00:30 | Created: 2026-08-21 09:13:57

Art of international significance planned for £17m redevelopment of museum whose closure sparked uproar

Works by Tracey Emin, Steve McQueen and Olafur Eliasson have gone on display at a new contemporary art gallery and museum in north-east England which aims to show works of international significance.

The Light is a £17m redevelopment of a museum in Durham that closed 10 years ago to local uproar.

Continue reading...
show more
The Next China Shock Is Here
Published: 2026-08-21 17:06:13 | Created: 2026-08-21 09:09:55
China is winning the industries of the future. What should the U.S. do about it?
show more
Why Do We Keep Imagining a New Civil War?
Published: 2026-08-21 15:57:20 | Created: 2026-08-21 09:09:55
Art doesn’t predict the future, but it can be an early warning system.
show more
See the Light: Tracey Emin and Steve McQueen illuminate Durham gallery’s revival
Published: 2026-08-21 09:00:30 | Created: 2026-08-21 09:07:56

Art of international significance planned for £17m redevelopment of museum whose closure sparked uproar

Works by Tracey Emin, Steve McQueen and Olafur Eliasson have gone on display at a new contemporary art gallery and museum in north-east England which aims to show works of international significance.

The Light is a £17m redevelopment of a museum in Durham that closed 10 years ago to local uproar.

Continue reading...
show more
‘She had this divine calling’: the incredible and transporting art of Minnie Evans
Published: 2026-08-21 09:00:31 | Created: 2026-08-21 09:07:55

Just over 50 years after she was one of the first Black artists to have a solo show at the Whitney, the museum gathers some of her most remarkable paintings for a new exhibition

Surprisingly, the term “outsider art” was coined fairly recently – in 1972, when the art historian Roger Cardinal made it the title of the book with which he introduced the idea to the English-speaking world. Since then, debates have raged as to whether it’s really justified to use such a term to describe art made beyond the confines of the art world, and if any of the other competing terms – among them naive art, folk art and raw art – are really any better.

The Whitney Museum of American Art’s new show, The Lost World: The Art of Minnie Evans, offers audiences an opportunity to contemplate just how its subject may – or may not – have been an outsider to the art world, and to also revel in Evans’s increasing insiderness in the decades since her death in 1987. A comprehensive retrospective with nearly 100 pieces covering the entirety of Evans’s artistic output, the show occurs almost exactly 50 years after the Whitney first introduced the artist’s genius to New York’s art elite.

Continue reading...
show more
У Claude Code уже есть такая память. Тогда зачем я держу свою?
Feed: Все публикации подряд на Хабре (https://habr.com/ru/rss/articles/)
Published: 2026-08-21 09:06:16 | Created: 2026-08-21 09:07:55

Недавно я рассказал, как держу долговременную память агента на обычных markdown‑файлах, без вектор‑базы и эмбеддингов. За кадром той статьи осталось главное: показал, к чему пришел, а вот от чего ушел и почему — нет. И еще одно, о чем стоит сказать прямо: у Claude Code есть своя встроенная память почти того же вида. Я про нее знаю — и сознательно держу свою, в проекте. Дальше объясню, почему.

Если совсем коротко, вот к чему сводится разница:

Читать далее
show more
Women’s football shouldn’t have to copy a men’s game that isn’t working – just look at Ted Lasso | Karen Dobres
Published: 2026-08-21 09:00:31 | Created: 2026-08-21 09:07:55

The rapid professionalisation of woman’s football has brought money and status. But copying the structures and culture of the male game risks undermining what made it distinct

  • Karen Dobres is the author of Pitch Invasion: My Story as a Woman on a Football Club Board

The fourth season of the critically acclaimed football drama Ted Lasso has taken a surprising twist. The show’s writers have decided to have their hero coach AFC Richmond’s women’s team, testing whether Ted’s “Lasso way” can work in a very different footballing environment. We’re only three episodes in, but I’ve already found myself wondering if the series will showcase what makes the women’s game distinct, or just treat it as the same sport with different characters.

The early signs are promising: we’ve already seen the issue of substandard facilities, initial disinterest from the club’s fanbase and the flak that Coach Chilton gets for exhibiting the same qualities lauded in the men’s coach, Roy Kent.

Karen Dobres is the author of Pitch Invasion: My Story as a Woman on a Football Club Board

Continue reading...
show more
Alice Roberts: ‘By the time I’d finished Richard Dawkins I’d left faith behind’
Published: 2026-08-21 09:00:31 | Created: 2026-08-21 09:07:55

The TV presenter and author on the evolutionary biologists who inspired her, the genius of George Eliot – and fun with Frog and Toad

My earliest reading memory
The first books I remember were from The Village with Three Corners series Sheila K McCullagh. I loved the – literally – colourful characters, like Johnny Yellow Hat. I was reading with my Grandma, in her garden perhaps, sitting on a small patio, surrounded by bright begonias and busy lizzies.

My favourite book growing up
Arnold Lobel’s wonderful Frog and Toad stories. Toad would get himself tied up in knots, trying to find a button or fly a kite, but Frog was always there – a constant, caring and funny friend. I enjoyed reading these stories to my own children when they were young, and we still sometimes go back and revisit them. They’re so full of humour, heart and simple humanism.

Continue reading...
show more
World's oldest living person turns 117
Feed: ABC News: Top Stories (https://abcnews.go.com/abcnews/topstories)
Published: 2026-08-21 09:10:11 | Created: 2026-08-21 09:07:55
Ethel Caterham, the world's oldest living person, is turning 117 on Friday.
show more
Ebola outbreak: five big questions
Published: 2026-08-21 09:02:22 | Created: 2026-08-21 09:07:55

On 23 August, it will be 100 days since the Bundibugyo strain was first reported. How did it became the DRC’s most deadly outbreak and what must be done to stop it becoming the world’s largest?

Almost 100 days ago, Africa’s public health watchdog reported an outbreak of Ebola in the Democratic Republic of the Congo.

There have now been almost 5,000 cases and more than 2,000 deaths since 15 May, making this Ebola outbreak the biggest and most deadly in the DRC’s history.

Continue reading...
show more
Uefa and Concacaf discuss joint Nations League in latest challenge to Fifa
Published: 2026-08-21 09:00:30 | Created: 2026-08-21 09:07:55
  • Biennial tournament could launch as early as 2028

  • Confederations are seeking to oust Gianni Infantino

Uefa and Concacaf have begun talks about setting up a combined Nations League tournament featuring all 96 European and North and Central American and Caribbean countries, in another direct challenge to Fifa.

The Guardian has learned that having come together to push for Gianni Infantino’s removal in the light of the World Cup sell-off controversy, the two confederations are now working on creating their own biennial tournament, which could launch as early as 2028 after the next European Championship.

Continue reading...
show more
As USS Lincoln heads home, mental health experts tally the stressors of life at sea
Feed: NPR Topics: News (https://feeds.npr.org/1001/rss.xml)
Published: 2026-08-21 09:00:00 | Created: 2026-08-21 09:06:58
The USS Abraham Lincoln conducts U.S. blockade operations related to the Strait of Hormuz on April 16 in the Arabian Sea. The aircraft carrier is now headed homeward after reports of deteriorating conditions onboard.

The USS Abraham Lincoln is now on its way home after spending nine months at sea. Experts weigh in on the mental health challenges of prolonged confinement and isolation aboard an aircraft carrier.

(Image credit: U.S. Navy)

show more
Amid intense backlash, people are vandalizing Flock surveillance cameras
Feed: NPR Topics: News (https://feeds.npr.org/1001/rss.xml)
Published: 2026-08-21 09:00:00 | Created: 2026-08-21 09:06:57
Brady O

In dozens of states around the country, people are vandalizing, blocking and taking down Flock cameras. A surge in such activity underscores the growing resistance to this police surveillance technology.

(Image credit: Meg Anderson)

show more
Federal government thins the herds of wild horses in Colorado
Feed: NPR Topics: News (https://feeds.npr.org/1001/rss.xml)
Published: 2026-08-21 09:00:00 | Created: 2026-08-21 09:06:57
A trailer of wild mustangs is transported to a temporary holding facility during the federal Bureau of Land Management

U.S. officials say the ever-growing population of wild horses that roam federal lands in Colorado is depleting natural resources. But some activists say efforts to remove the horses are inhumane.

(Image credit: McKenzie Lange)

show more
Page 201 of 981 (49009 total items)