https://tbt.qkation.com/posts/cursed-story-1-crlf/
A little bedtime story for you😊
A little bedtime story for you
Cursed story - a tiny story from my experience I wish had never happened and increases my cursed knowledge.
Please open Telegram to view this post
VIEW IN TELEGRAM
TheBestTvarynka
Cursed story #1: CRLF | TheBestTvarynka
A small story about failed attempts to run migrations and what it has to do with CRLF.
Forwarded from Artem Diachenko
what it has to do with clrf
it's always CRLF, except the times when it's always DNS
👍1
Call for testing: Restricting trait implementability and field mutability: https://blog.rust-lang.org/inside-rust/2026/08/10/call-for-testing-impl-and-mut-restrictions/
tl;dr:
❓ What is
The exact example from the blog post:
And yes, it was possible before via sealed trait pattern (https://rust-lang.github.io/api-guidelines/future-proofing.html#sealed-traits-protect-against-downstream-implementations-c-sealed).
The
1. Cleaner code without workarounds.
2. The compiler can produce better error messages when the developer tries to implement such trait outside its crate
❓ What is
Also an example from the blog post:
The
1. You no longer need to define a getter method. When the field can be mutated only inside
2. Preserve an invariant: we can disallow unrestricted construction with struct expressions. The compiler will throw an error when you try to create a
3. Let me just cite the blog post:
More info:
🟡 RFC: https://rust-lang.github.io/rfcs/3323-restrictions.html
🟣 Tracking issue: https://github.com/rust-lang/rust/issues/105077
rustup update nightly
tl;dr:
impl_restriction?The `impl_restriction` feature allows explicit restriction of the scope in which a trait may be implemented.
The exact example from the blog post:
#![feature(impl_restriction)]
// The impl(crate) restriction prevents Foo from being implemented outside the current crate.
pub impl(crate) trait Foo {
fn method();
}
And yes, it was possible before via sealed trait pattern (https://rust-lang.github.io/api-guidelines/future-proofing.html#sealed-traits-protect-against-downstream-implementations-c-sealed).
The
impl_restriction approach has two pros:1. Cleaner code without workarounds.
2. The compiler can produce better error messages when the developer tries to implement such trait outside its crate
mut_restriction?The mut_restriction feature allows explicit restriction of the scope in which a field may be mutated.
Also an example from the blog post:
#![feature(mut_restriction)]
pub struct Bar {
// mut(self)
pub mut(crate) alpha: u8,
}
The
mut_restriction feature can also be used with fields of enum variants and unions. Where this feature may be helpful:1. You no longer need to define a getter method. When the field can be mutated only inside
self, then it's safe to access this field directly (because it cannot be mutated from the outside).2. Preserve an invariant: we can disallow unrestricted construction with struct expressions. The compiler will throw an error when you try to create a
struct using a struct expression outside the specified scope.3. Let me just cite the blog post:
It can also work better with the borrow checker, which can track borrows at the field level and allow disjoint fields to be borrowed independently.
More info:
Please open Telegram to view this post
VIEW IN TELEGRAM
blog.rust-lang.org
Call for testing: Restricting trait implementability and field mutability | Inside Rust Blog
Want to follow along with Rust development? Curious how you might get involved? Take a look!
👍3
Rust Playground now supports multiple files! I wanted it for a long time.
The implementation PR was landed around a month ago: https://github.com/rust-lang/rust-playground/pull/1240
The implementation PR was landed around a month ago: https://github.com/rust-lang/rust-playground/pull/1240
❤6
Forwarded from HN Best Comments
Re: Firefox is now the last major browser that still supports uBlock Origin
Support Firefox. F** Chrome.
imagetic, 2 days ago
Support Firefox. F** Chrome.
imagetic, 2 days ago
👍9❤1
trace!("TheBestTvarynka")
(src) 💔 (я живу на вулиці Юлії Здановської). Я дуже радий, що вулиці перейменовують на честь видатних українців 😌 ❤️ Рекомендую також прочитати пост, який я реплайнув. Там усе про Юлію Здановську, що вам потрібно знати.
Щойно побачив що про неї вийшла стаття на dou: https://dou.ua/lenta/articles/obituary-for-yuliia-zdanovska/
Якщо комусь цікаво, то в статті детально описане життя Юлії Здановської
Якщо комусь цікаво, то в статті детально описане життя Юлії Здановської
DOU
«Не хочу в Гарвард, хочу бути міністеркою освіти». Історія загиблої математикині Юлії Здановської
МІТ започаткував на її честь стипендію «Julia's Dream». 21-річна математикиня Юлія Здановська мріяла реформувати українську освіту. Щоб пізнати систему зсередини, вона пішла викладати у селищній школі, а з початком великої війни стала волонтеркою в Харкові…
😭8❤6
Enabling the next-generation trait solver on nightly ➡️ https://blog.rust-lang.org/2026/08/21/enabling-next-solver-on-nightly/
🥳 🥳 🥳
It's a huge step in the Rust language development. I hope to see this stabilized this year🤞
After nearly 4 years of active development, the next-generation trait solver is close to stabilization. We are enabling it by default on nightly to surface any remaining issues and plan to stabilize it in the next months.
The removal of the old implementation will unblock features such as Type Alias Impl Trait and Return Type Notation, allow us to add new implicit default trait bounds (e.g., Move and Forget), and enable us to fix the remaining type system unsoundnesses.
Even so, this already fixes a huge number of issues. As an underapproximation, we currently know of more than 200 issues on GitHub fixed by this change.
It's a huge step in the Rust language development. I hope to see this stabilized this year
Please open Telegram to view this post
VIEW IN TELEGRAM
blog.rust-lang.org
Enabling the next-generation trait solver on nightly | Rust Blog
Empowering everyone to build reliable and efficient software.
❤9
trace!("TheBestTvarynka")
It was a long journey but I finished it. I have a lot to say. I will post my review soon 😌
Please open Telegram to view this post
VIEW IN TELEGRAM
🤩4🥰1
trace!("TheBestTvarynka")
I wrote the second post in a series about building and rendering genealogy graphs: https://tbt.qkation.com/posts/genealogy-graph-interactivity/
TheBestTvarynka
Drawing Genealogy Graphs. Part 2: Genealogy Graph Interactivity | TheBestTvarynka
This post describes a set of algorithms implemented inside the [Grafily](https://github.com/TheBestTvarynka/grafily/) plugin for building and dynamically altering genealogy graphs
❤2
👉 September 18, 2026 👈
https://code.claude.com/docs/en/changelog#2-1-277
Finally. Now I'm wondering if it will read nested🤔
Added AGENTS.md support: in a project with no CLAUDE.md, Claude Code reads AGENTS.md instead;
https://code.claude.com/docs/en/changelog#2-1-277
Finally. Now I'm wondering if it will read nested
AGENTS.md files and .agents/ directory Please open Telegram to view this post
VIEW IN TELEGRAM
Claude Code Docs
Claude Code changelog - Claude Code Docs
Release notes for Claude Code, including new features, improvements, and bug fixes by version.
🤯1
Forwarded from КІБЕРБЕЗ
This media is not supported in your browser
VIEW IN TELEGRAM
Hister — як Google, тільки для вашої власної бібліотеки документів і збережених сторінок (PDF, DOCX, TXT, Markdown тощо). Це не просто пошук за назвою документа, він індексує кожен документ, який ви додали, видобуваючи з нього весь текст та дозволяє шукати за ключовими словами або фразами, які містяться в цьому документі. Позиціонує себе як приватна пошукова система, з локальною конфігурацією, без телеметрії. Windows, Linux, macOS.
Якщо у вас сотні різних навчальних лекцій, робочих документів, текстових файлів в різних форматах, і потрібно швидко щось знайти. Ви просто "гуглите" потрібне слово або фразу, яку пам'ятаєте і він знаходить всі ваші документи, які містять ці слова. Можете призначити його стежити за конкретною папкою, наприклад, там де у вас зберігаються документи, лекції та інші матеріали, і тоді всі файли, які ви закинете в цю папку, автоматично додаватимуться до пошукової видачі в Hister.
#програми #навчання
Please open Telegram to view this post
VIEW IN TELEGRAM
❤2👍2🔥2
Please open Telegram to view this post
VIEW IN TELEGRAM
GitHub
alloc: stabilise `Allocator` by nia-e · Pull Request #156882 · rust-lang/rust
View all comments
Allocator stabilisation report
Reference PR:
Document Box & allocator interactions reference#2364
This is the stabilisation report for a subset of the feature allocator...
Allocator stabilisation report
Reference PR:
Document Box & allocator interactions reference#2364
This is the stabilisation report for a subset of the feature allocator...
🔥2🤷♂1
Sorry for the undeleted (already deleted) spam in the channel chat 🙏 . I was on a 3-day camping trip in the Carpathian Mountains 🙃
Please open Telegram to view this post
VIEW IN TELEGRAM
🔥5
trace!("TheBestTvarynka")
I wrote the second post in a series about building and rendering genealogy graphs: https://tbt.qkation.com/posts/genealogy-graph-interactivity/
The last thing I did during my vacation (wrote a blog post): https://tbt.qkation.com/posts/genealogy-graph-positioning/
Tomorrow is a working day, but I want to take my backpack and go camping again😭 😭 😭
Tomorrow is a working day, but I want to take my backpack and go camping again
Please open Telegram to view this post
VIEW IN TELEGRAM
TheBestTvarynka
Drawing Genealogy Graphs. Part 3: Genealogy Graph Positioning | TheBestTvarynka
This post describes two approaches implemented inside the [Grafily](https://github.com/TheBestTvarynka/grafily/) plugin for positioning genealogy graph nodes
🔥5😢1
trace!("TheBestTvarynka")
I'm just a boy with adult money 🥺 🤩 🤩 🤩
This stamp contains a URL. Finally, that URL means something: https://mlib.qkation.com 🤩
Please open Telegram to view this post
VIEW IN TELEGRAM
❤1👍1
Tomorrow I will write a post about Rust 1.100. This release is huge, with many notable and important changes.
Till tomorrow, you can read the GitHub release: https://github.com/rust-lang/rust/releases/tag/1.100.0
Till tomorrow, you can read the GitHub release: https://github.com/rust-lang/rust/releases/tag/1.100.0
GitHub
Release Rust 1.100.0 · rust-lang/rust
Language
Stabilize never type
Lint against repeated #[repr(..)] attributes
Stabilize extern "custom"
Extend dropping_references, dropping_copy_types and undropped_manually_drops lints to...
Stabilize never type
Lint against repeated #[repr(..)] attributes
Stabilize extern "custom"
Extend dropping_references, dropping_copy_types and undropped_manually_drops lints to...
❤🔥3
Forwarded from trace!("TheBestTvarynka") (Pavlo Myroniuk)
Please open Telegram to view this post
VIEW IN TELEGRAM
🔥3👍2
trace!("TheBestTvarynka")
I used Telegram rich formatting for that post. My mistake. It looks good on the laptop but is clumsy on the phone.
😳 🤨 😡
Please open Telegram to view this post
VIEW IN TELEGRAM