#video
Как соображения о тектонических плитах могут влиять на дизайн карт для создания реалистичного ландшафта.
youtube.com/watch?v=x_Tn66PvTn4
Как соображения о тектонических плитах могут влиять на дизайн карт для создания реалистичного ландшафта.
youtube.com/watch?v=x_Tn66PvTn4
👍2
#prog #db #article
PSA: SQLite WAL checksums fail silently and may lose data
(thanks @nosingularity)
PSA: SQLite WAL checksums fail silently and may lose data
In the previous posts I mentioned that SQLite does not do checksums by default, but it has checksums in WAL mode. However, on checksum errors, instead of raising error, it drops all the subsequent frames. Even if they are not corrupt. This is not a bug; it’s intentional.
(thanks @nosingularity)
🌚4
Небольшой #prog текст от Грейдона Хоара (который автор Rust)
losing language features: some stories about disjoint unions
losing language features: some stories about disjoint unions
A long time ago I wrote on twitter (now erased): "surprising how much computer stuff makes sense viewed as tragic deprivation of sum types".
<...>
One of the things he [Casey Muratori — прим. моё] discusses in here is that safe and correctly-designed disjoint unions aren't just an ML thing, they were around in the early 60s at least.
<...>
But another thing Muratori points out is that is that Dahl and Nygaard copied the feature in safe working form into Simula, and Stroustrup knew about it and intentionally dropped it from C++, thinking it inferior to the encapsulation you get from inheritance.
🤬8😁3❤2🌚1
Блог*
Bad Apple, но это аватарки в телеге
#video
Рекурсивный Bad Apple с бесконечным* уровнем вложенности и постоянным зумом на протяжении всей длительности.
youtu.be/hpVxbNHCdP4
*на самом деле три уровня, но с учётом разрешения разница не видна.
Рекурсивный Bad Apple с бесконечным* уровнем вложенности и постоянным зумом на протяжении всей длительности.
youtu.be/hpVxbNHCdP4
*на самом деле три уровня, но с учётом разрешения разница не видна.
YouTube
Bad Apple but it's Bad Apple but it's Bad Apple but it's Bad Apple but it's Bad Apple but it's...
Bad Apple but it's Bad Apple but it's Bad Apple but it's Bad Apple but it's Bad Apple but it's Bad Apple but it's Bad Apple but it's Bad Apple but it's Bad Apple but it's Bad Apple but it's Bad Apple but it's Bad Apple but it's Bad Apple but it's Bad Apple…
🤯1
Блог*
#prog #article #amazingopensource Jujutsu (jj) — система контроля версий, которая концептуально проще git и при этом мощнее. Неплохой (но местами устаревший) обзор Jujutsu — jj init — сделал Chris Krycho. Также есть пока что неполный туториал от Стива Клабника…
#prog #article
Jujutsu Megamerges and jj absorb
Или как Jujutsu позволяет работать над несколькими ветками одновременно без перескакивания между ними (технически такое можно и в git, но крайне неудобно)
Jujutsu Megamerges and jj absorb
Или как Jujutsu позволяет работать над несколькими ветками одновременно без перескакивания между ними (технически такое можно и в git, но крайне неудобно)
❤5🔥1
Forwarded from Осьмиарх Эльманн Павел II
А можно эти меню как-нибудь разделить? А то что-то ссыкотно входить в место, где написано "удалить аккаунт"
😁20💯3👍2
#prog #rust #article
The borrowchecker is what I like the least about Rust
Не со всем согласен, но большинство аргументов здравые.
The borrowchecker is what I like the least about Rust
Не со всем согласен, но большинство аргументов здравые.
In this post, I want to make two arguments:
1. That the borrowchecker causes serious ergonomic problems for Rust.
2. That the role of the borrowchecker in Rust's safety is overstated.
Perversely, because Rust's lifetime riddles are challenging, they are sort of fun. I believe that partly explains why so many people don't seem to mind them. Instead of thinking about how to write my code to solve the scientific problems I'm being paid to solve, I have to think about how to write it to please the borrowchecker. The latter is usually more tractable, limited in scope, have clearer requirements and is more 'puzzle-like'. In that sense, Rust enables escapism: When writing Rust, you get to solve lots of 'problems' - not real problems, mind you, but fun problems.
👍10🤡5👎1😐1
Блог*
#prog #rust #article The borrowchecker is what I like the least about Rust Не со всем согласен, но большинство аргументов здравые. In this post, I want to make two arguments: 1. That the borrowchecker causes serious ergonomic problems for Rust. …
Комментарий от BurntSushi касательно аргумента автора про замену ссылок на индексы
👍9