#prog #python #article
Writing Python like it's Rust
Правда, только пример про мьютекс реально связан с Rust, остальное в принципе про плюшки системы типов.
Writing Python like it's Rust
Правда, только пример про мьютекс реально связан с Rust, остальное в принципе про плюшки системы типов.
Kobzol’s blog
Writing Python like it’s Rust
You can check out a YouTube recording of a talk based on this blog post.
👍5🔥1🖕1
#prog #rust #amazingopensource
Typst is a new markup-based typesetting system that is designed to be as powerful as LaTeX while being much easier to learn and use. Typst has:
* Built-in markup for the most common formatting tasks
* Flexible functions for everything else
* A tightly integrated scripting system
* Math typesetting, bibliography management, and more
* Fast compile times thanks to incremental compilation
* Friendly error messages in case something goes wrong
Typst is a new markup-based typesetting system that is designed to be as powerful as LaTeX while being much easier to learn and use. Typst has:
* Built-in markup for the most common formatting tasks
* Flexible functions for everything else
* A tightly integrated scripting system
* Math typesetting, bibliography management, and more
* Fast compile times thanks to incremental compilation
* Friendly error messages in case something goes wrong
❤🔥24🤔5👍2🤮1🖕1
Forwarded from Kedr to Earth | Земля, я Кедр (✅ Yuri Ammosov)
В MS Office после последнего апдейта восстановили тулбар с иконками. И надо было с 2008 года и так и эдак впихивать юзерам "ленту", чтоб вернуться назад? 15 лет бились за дурную идею, полтора десятка лет!
❤8😁8👍2👎2🤔2🖕1
#prog #rust #article
The Rust I Wanted Had No Future
Статья от Graydon Hoar — изначального автора Rust — о том, каким мог бы выйти язык, не отойди он от руководства проектом.
Divergence in preferences are real! My preferences are weird. You probably wouldn't have liked them. <...>. If I'd stayed in charge (or even asserted a more robust sense of "being in charge" when I was nominally moreso) the result would have been, I think, fairly unpopular. The Rust I Wanted probably had no future, or at least not one anywhere near as good as The Rust We Got.
The Rust I Wanted Had No Future
Статья от Graydon Hoar — изначального автора Rust — о том, каким мог бы выйти язык, не отойди он от руководства проектом.
Divergence in preferences are real! My preferences are weird. You probably wouldn't have liked them. <...>. If I'd stayed in charge (or even asserted a more robust sense of "being in charge" when I was nominally moreso) the result would have been, I think, fairly unpopular. The Rust I Wanted probably had no future, or at least not one anywhere near as good as The Rust We Got.
👍5❤2😁1🖕1
Я предсказуем.
Порой я читаю какое-то относительно старое публичное обсуждение, вижу чей-то комментарий и думаю, как бы я мог на это ответить. А потом читаю дальше и вижу собственный комментарий, слово в слово как я придумал у себя в голове. Иногда только со слегка иным порядком слов.
Порой я читаю какое-то относительно старое публичное обсуждение, вижу чей-то комментарий и думаю, как бы я мог на это ответить. А потом читаю дальше и вижу собственный комментарий, слово в слово как я придумал у себя в голове. Иногда только со слегка иным порядком слов.
👍7😱5🤔1🤩1🖕1
neowin.net/news/edge-sends-images-you-view-online-to-microsoft-here-is-how-to-disable-that
Кто вообще решил, что это хорошая идея?
Кто вообще решил, что это хорошая идея?
Neowin
Edge sends images you view online to Microsoft, here is how to disable that [Update]
Microsoft Edge has many convenient features to improve your browsing experience. However, some of those features raise privacy concerns. One, for example, sends images you view directly to Microsoft.
🤡15🤬4🖕1
#prog #rust
Хозяйке на заметку
В std::env есть функции split_paths и join_paths. Первая разбивает список путей в формате, используемом в переменной окружения PATH, а вторая объединяет пути в том же формате.
Их совместное применение вместе с var_os и set_var позволяет программно добавлять новые пути в PATH соответствующим целевой OS способом.
Хозяйке на заметку
В std::env есть функции split_paths и join_paths. Первая разбивает список путей в формате, используемом в переменной окружения PATH, а вторая объединяет пути в том же формате.
Их совместное применение вместе с var_os и set_var позволяет программно добавлять новые пути в PATH соответствующим целевой OS способом.
doc.rust-lang.org
split_paths in std::env - Rust
Parses input according to platform conventions for the `PATH` environment variable.
🔥5🥰2🖕1
— Да кому ты нужен со своими шаблонами в C++?
— Им
— Им
djinni.co
C++ templates Engineer (constexprs and constexpr ifs, SFINAE, enable_if, C++20 concepts, making static_assert(false)) at MoveUp
We are in the early stages of making a few 3D mobile games. Our goal is to create well-designed products and we develop our own game engine.
Now we are developing a mobile game based on real...
Now we are developing a mobile game based on real...
😁7🤡4🤔1🖕1