1.84K subscribers
3.26K photos
129 videos
15 files
3.54K links
Блог со звёздочкой.

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

Небольшое прикольное комьюнити: @decltype_chat_ptr_t
Автор: @insert_reference_here
Download Telegram
Небольшой #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
В СМЫСЛЕ УЖЕ АВГУСТ
😭232🎉1
Forwarded from addmeto (Grigory Bakunov)
Помните, была такая сокращалка от гугла goo.gl? В 2019 году гугл прекратил принимать новые ссылки для сокращения. А теперь и старые ссылки прекратят свою работу.

Нафига, собственно, нужно убивать старые ссылки — я не понимаю совсем. Гугл ТОЧНО может себе позволить поддерживать сервис с уже сокращенными ссылками бесконечно долго. А сейчас они просто опять убивают связанность интернета 🙁

https://www.theverge.com/news/713125/google-url-shortener-links-shutdown-deadline
🤡17🤬8😢5💯2💩1👌1😭1
This media is not supported in your browser
VIEW IN TELEGRAM
Открыл рандомную лекцию препода по линалу с ФКН... столько базы за 15 секунд я ещё не слышал
💯34😁18🤡53🤩1
У тех, кто проводит эвтаназию, не может быть положительных отзывов 🤔
🥴9😁5
#meme про утопию

(thanks @notatky)
😁15👍6