428 place 0
Привет, Хабр! Сегодня я хочу поделиться своим опытом и знаниями о pinning в Rust, замечательной конструкции Pin, которая поначалу вызывает вопросы, зачем нужен какой-то пин, если и без него всё работало? Но вот незадача, без Pin не реализовать безопасно ни одну хитрую программку, самоссылающиеся структуры и связанные с ними асинхронные генераторы. В этой статье я расскажу, почему вообще появился Pin/Unpin, как он спасает от падений программы, и как правильно его применять на практике. Закрепиться
A newsletter a day!
You may get 10 most important news around midday in daily newsletter. Press the button and we will send you the most important news only, no spam attached.
LIKE us on Facebook so you won't miss the most important news of the day!
The AFL-CIO, which represents some 15 million workers across the US, is backing a planned Minnesota economic blackout to protest ICE. Read more ›
1,406 fresh
President Donald Trump threatens tariffs on Denmark and other European nations over Greenland annexation, citing national security concerns. Read more ›
903
Ars Technica reports: Security firm Mandiant [part of Google Cloud] has released a database that allows any administrative password protected by Microsoft's NTLM.v1 hash algorithm to be hacked in an attempt to nudge users who continue using the deprecated function despite known weaknesses.... a precomputed table of hash values linked to their corresponding plaintext. These generic tables, which work against multiple hashing schemes, allow hackers to take over accounts by... Read more ›
123 fresh
"Share a Disney quote that sums up how you're feeling right now!" That's what Disney posted on Threads the other day, and people immediately replied with lines from Star Wars, The Hunchback of Notre Dame, and even Mary Poppins. The throughline between all the quotes: they were pretty pointedly anti-fascist and clearly aimed at the […] Read more ›
113
Since the United States announced it would “run” Venezuela and captured President Nicolás Maduro, the Trump administration has openly floated similar interventions elsewhere in Latin America. But the country Donald Trump has fixated on most isn’t an adversary — it’s an ally. Greenland, a NATO member and longtime partner of the United States has repeatedly […] Read more ›
100
Turns out people might like to circumvent centralized financial infrastructure in times of political upheaval. Read more ›
79 fresh
We now have some idea of what's at stake in the longstanding feud between Elon Musk and OpenAI. As first reported by Bloomberg, the latest filing, as part of a lawsuit that accuses the AI giant of abandoning its non-profit status, claims that Musk is owed anywhere between $79 billion and $134 billion in damages from the "wrongful gains" of OpenAI and Microsoft. Musk claimed in the filing that he's... Read more ›
77
Increasing DDR5 prices are leading buyers to buy "ancient" desktop platforms going as far back as the DDR3 era. YouTuber discovers 4790K powered system with an RTX 2060 Super and $40 worth of 32GB DDR3 memory can run games modern AAA games at 60FPS. Read more ›
75
A couple months ago, YouTuber Benn Jordan "found vulnerabilities in some of Flock's license plate reader cameras," reports 404 Media's Jason Koebler. "He reached out to me to tell me he had learned that some of Flock's Condor cameras were left live-streaming to the open internet." This led to a remarkable article where Koebler confirmed the breach by visiting a Flock surveillance camera mounted on a California traffic signal. ("On... Read more ›
67
A new article from Bloomberg says dozens of America's colleges "succumbed to a fundamental problem killing colleges across the US: not enough students. The schools will award their final degrees this spring, stranding students not yet ready to graduate and forcing faculty and staff to hunt for new jobs." The country's tumbling birth rate is pushing schools toward a "demographic cliff," where a steadily dropping population of people in their... Read more ›
65
At the AI safety site Foom, science journalist Mordechai Rorvig explores a paper presented at November's Empirical Methods in Natural Language Processing conference: [R]esearchers at the Swiss Federal Institute of Technology (EPFL), the Massachusetts Institute of Technology (MIT), and Georgia Tech revisited earlier findings that showed that language models, the engines of commercial AI chatbots, show strong signal correlations with the human language network, the region of the brain responsible... Read more ›
65 fresh
An anonymous reader shared this report from the Washington Post: The U.S. Department of Transportation brought an automated bus to D.C. this week to showcase its work on self-driving vehicles, taking officials from around the country on a ride between agency headquarters at Navy Yard and Union Station. One of those trips was interrupted Sunday when the bus got rear-ended. The bus, produced by the company Beep, was following its... Read more ›
62
AMD will try to keep graphics card prices as low as possible for gamers during the DRAM shortage. Read more ›
60
Here's the answer for "Wordle" #1673 on January 18 as well as a few hints, tips, and clues to help you solve it yourself. Read more ›
54 fresh
Friday a federal judge "cleared U.S. power company Dominion Energy to resume work on its Virginia offshore wind project." But a U.S. federal judge also ruled Thursday that another major offshore wind farm is allowed to resume construction, reports the Hill. "The project, which would supply power to New York, was one of five that were halted by the Trump administration in December...." In fact, there were three different court... Read more ›
53 fresh
Plus: AI reportedly caused ICE to send agents into the field without training, Palantir’s app for targeting immigrants gets exposed, and more. Read more ›
52
Figure AI, the humanoid robotics startup, responded to a lawsuit from its former head of product safety Rob Gruendel and countersued Gruendel, according to court filings made public on Friday. Figure alleged in a filing that Gruendel violated trade secret law and company policy by saving company ... Read more ›
48 fresh
I began choosing grocery cashiers over self-checkout and was surprised by how much small human interactions helped combat loneliness. Read more ›
48
Причинность – один из наиболее фундаментальных и в то же время ускользающих понятий в физике. От интуитивной роли в повседневном опыте до формальной и часто неявной роли в научных теориях причинность бросала вызов философам и физикам на протяжении веков. В этой работе мы совершаем краткое историческое и концептуальное путешествие через классическую и современную физику, прослеживая, как причинность трактовалась, подвергалась сомнению или защищалась в последовательных физических системах – от механики Галиле Read more ›
32
За 2025 год генеративные инструменты выросли не только по качеству, а по ощущениям в работе дизайнера (и не только для генерации КДПВ на Хабре). Я много времени провожу в AI-UI экспериментах и вижу, что решать прикладные UX задачи стало заметно проще.Уже сейчас внятный lo-fi прототип можно получить быстрее, а дальше уже выбирать, как жить: отдавать фронтендеру, прогонять через Lovable, Cursor или v0, или же доводить руками до идеала.В этой статье... Read more ›
30
Термин «фрактал» появился в 1975 году. Его ввёл математик Бенуа Мандельброт, работавший в IBM и преподававший в Йельском университете. Фракталы — это математические объекты или природные формы, обладающие свойством самоподобия: их части повторяют общую структуру при любом масштабе. Мандельброт предложил формальный язык для описания таких форм — фрактальную геометрию. Она позволила анализировать изломанные линии, ветвящиеся структуры и объекты с дробной размерностью, которые не укладывались в рамки классичес Read more ›
24
В последние дни внимание мировых СМИ приковано к событиям в Венесуэле. По данным издания The Wall Street Journal, в ходе одной из операций в воздушном пространстве страны было зафиксировано присутствие более 150 американских военных самолётов. Среди них находился и Boeing EA-18G Growler — реактивный самолёт, принцип действия которого заключается не в поражении людей, а в подавлении систем связи и управления противника. Читать далее Read more ›
7
Все самое лучшее от Google в одном месте: нейросети, промты, гайды, а также, ИИ-проекты, которые пока не вышли в официальный доступ. Читать далее Read more ›
5
На протяжении всей истории существования домашних компьютерных развлечений им сопутствует процедура, именуемая «загрузка» — процесс передачи кода и данных игры с внешнего носителя в память компьютера, необходимый, чтобы можно было начать играть в игру. В зависимости от типа носителя, загрузка занимает некоторое время, порой весьма заметное. Сначала это были компакт-кассеты, с которых игры грузились несколько минут, потом их сменили дискеты, загрузка с которых тоже иногда могла занимать минуту-другую, и даже Read more ›
3
Как мы автоматизировали курс ООП для 360 студентов и открыли неожиданные закономерности. Почему посещаемость важна, а умеренное использование LLM даёт наивысшие баллы. История системы Frieren, которая спасла 7 преподавателей от рутины и показала, как студенты на самом деле учатся в эпоху AI. Читать далее Read more ›
3
Всем привет. Я Диана Шигаева, создатель “могучей кучки”😁 международных карьерных консультантов LifeCareerBalance. Пишу, опираясь на свой опыт и на кейсы коллег. Поэтому в этой (и в любой другой) статье собраны и инструменты, и психология, и наблюдения, и мотивация, и инсайды и много других интересностей. Читать далее Read more ›
3
Предисловие: вся информация находится в открытом доступе. Статья написана с целью привлечения внимания к общественно важной теме.Я хочу всесторонне разобраться в ситуации, услышать комментарии всех участников (особенно компаний «Яндекс» и «Авито») и только после этого делать какие-либо выводы, и вас к этому тоже призываю.Недавно вышло интервью HR из Яндекса основателю сообщества «Осознанная меркантильность». В нём говорилось о найме, «красных флагах» в резюме соискателей и другом булщите о найме, от которог Read more ›
2
Нич-чего не понимаю! Или это ностальгический обзор легендарной компьютерной игры «Братья Пилоты» и всех ее продолжений, или одно из двух! Невозмутимый многомудрый Шеф, забавный расторопный Коллега, неуловимый злодей Карбофос… Отложим мухобойки, сверим часы и вспомним, как появился, чем запомнился и как тихо ушел в небытие один из первых русских квестов. Читать далее Read more ›
2
Most popular sources
|
|
41% 29 |
|
|
20% 16 |
|
|
6% 3 |
|
|
5% 3 |
|
|
4% 6 |
| View sources » | |
LIKE us on Facebook so you won't miss the most important news of the day!
17.01.2026 23:59
Last update: 23:50 EDT.
News rating updated: 06:50.
What is Times42?
Times42 brings you the most popular news from tech news portals in real-time chart.
Read about us in FAQ section.