1.85K subscribers
3.27K photos
130 videos
15 files
3.54K links
Блог со звёздочкой.

Много репостов, немножко программирования.

Небольшое прикольное комьюнити: @decltype_chat_ptr_t
Автор: @insert_reference_here
Download Telegram
#video

Как соображения о тектонических плитах могут влиять на дизайн карт для создания реалистичного ландшафта.

youtube.com/watch?v=x_Tn66PvTn4
👍2
#prog #db #article

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
Forwarded from AlexTCH
Сколько кошку ни корми — шило из жопы не выдавливается...
🤨10😁3
Source: r/rustjerk
😁9
Вроде #prog #rust #meme, но говорят, что объявление реальное.

Source
🤡21😁14
Небольшой #prog текст от Грейдона Хоара (который автор Rust)

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😁32🌚1
— Почему ты вообще работаешь программистом?
💯8🫡6👎1😁1
#politota #meme про... Сникерсы
😭14🌚9😁81👎1
Блог*
Bad Apple, но это аватарки в телеге
#video

Рекурсивный Bad Apple с бесконечным* уровнем вложенности и постоянным зумом на протяжении всей длительности.

youtu.be/hpVxbNHCdP4

*на самом деле три уровня, но с учётом разрешения разница не видна.
🤯1
😢19😁11👍5💯4😭41🎉1
А можно эти меню как-нибудь разделить? А то что-то ссыкотно входить в место, где написано "удалить аккаунт"
😁20💯3👍2
var foo = new();
🥴132
Папищеки, а что такое Kafka и зачем оно вообще нужно?
😁23🤡7💯1
Я не гетеро, но 20 баксов — это 20 баксов
🫡134💩4🤡3😁2
#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.

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
#meme про... Гей-коммунизм? Вообще всё так и есть.

(thanks @eugene_horny_memes)
👍6😁5💩42