uz
Feedback
Блог*

Блог*

Kanalga Telegram’da o‘tish

Блог со звёздочкой. Много репостов, немножко программирования. Небольшое прикольное комьюнити: @decltype_chat_ptr_t Автор: @insert_reference_here

Ko'proq ko'rsatish
1 927
Obunachilar
+224 soatlar
+47 kunlar
+330 kunlar
Postlar arxiv
t.me/rust_jobs_nobc Вакансии на Rust без блокчейна. (огромное thanks @goldsteinq)

> премиум-пользователи могут оставлять до трёх реакций на сообщении Ну то есть реакции резко стали гораздо менее полезными. Не настолько, конечно, как хлопки на Medium, но всё же

Repost from Generative Anton
Образовательный понедельник. Мем про парадокс корабля Тесея.
Образовательный понедельник. Мем про парадокс корабля Тесея.

Repost from Apple Media
Блогер MyOwnClone портировал шутер 1996 года Quake 1 на Apple Watch Series 5 и поделился результатом на своём YouTube-канале. Энтузиаст объяснил, что собрал игру поверх существующих портов для iOS и Mac со множеством настроек, чтобы заставить её работать на watchOS. Quake работает на часах со скоростью 60 кадров в секунду с разрешением 640x480. Порт Quake для Apple Watch можно скачать на Github, а дополнительная информация о процессе установки доступна на YouTube-канале MyOwnClone.  Стоит отметить, что для запуска игры на Apple Watch потребуется компиляция кода с помощью Mac, Xcode и файлов Quake.

#prog #game #abnormalprogramming

Repost from Jem
photo content

Repost from Neural Machine
Никто не знает, как жить в России

Поздравьте меня, я сократил .unwrap() до одного символа
+1
Поздравьте меня, я сократил .unwrap() до одного символа

#prog #rust Это просто праздник какой-то github.com/rust-lang/rust/pull/93628

Repost from N/a
photo content
+8

Repost from N/a
https://how-i-experience-web-today.com/ Как же больно с печенек и уведомлений ):

photo content

#prog #abnormalprogramming

Что-то на психически здоровом...
Что-то на психически здоровом...

Еще немного тайплевельного программирования — крестики-нолики на типах TypeScript: https://note89.github.io/typescript-typelevel-tic-tac-toe/

#prog #ts #abnormalprogramming

#prog #rust #article How we built Pingora, the proxy that connects Cloudflare to the Internet Today we are excited to talk about Pingora, a new HTTP proxy we’ve built in-house using Rust that serves over 1 trillion requests a day, boosts our performance, and enables many new features for Cloudflare customers, all while requiring only a third of the CPU and memory resources of our previous proxy infrastructure. <...> We chose Rust as the language of the project because it can do what C can do in a memory safe way without compromising performance. <...> Overall traffic on Pingora shows 5ms reduction on median TTFB and 80ms reduction on the 95th percentile. This is not because we run code faster. Even our old service could handle requests in the sub-millisecond range. The savings come from our new architecture which can share connections across all threads. This means a better connection reuse ratio, which spends less time on TCP and TLS handshakes. [В этом плане лучше Nginx, в архитектурные ограничения упёрлись в CloudFlare: у того пул соединений отдельный у каждого рабочего процесса] Across all customers, Pingora makes only a third as many new connections per second compared to the old service. For one major customer, it increased the connection reuse ratio from 87.1% to 99.92%, which reduced new connections to their origins by 160x. To present the number more intuitively, by switching to Pingora, we save our customers and users 434 years of handshake time every day. <...> When crashes do occur an engineer needs to spend time to diagnose how it happened and what caused it. Since Pingora's inception we’ve served a few hundred trillion requests and have yet to crash due to our service code. In fact, Pingora crashes are so rare we usually find unrelated issues when we do encounter one. Recently we discovered a kernel bug soon after our service started crashing. We've also discovered hardware issues on a few machines, in the past ruling out rare memory bugs caused by our software even after significant debugging was nearly impossible.