Я ненавижу подарки в ТГ. Абсолютно бесполезная вещь, с идиотским ограничением по времени на обмен на звёзды, и в интерфейсе вкладка с подарками показывается первее более полезных вкладок с медиа и ссылками.
Нет, это не байт.
Нет, это не байт.
🤝20👍8❤3
#prog #rust #serde
serde's borrowing can be treacherous
Из-за экранирования данных, главным образом. Для обхода этой проблемы можно использовать
serde's borrowing can be treacherous
(This is not super surprising when you think about it, but it bit me recently so I figured I'd write it up.)
TL;DR: Be careful when using&'a stror&'a [u8]with serde deserializers; serde has no way to produce an appropriate compile-time error when zero-copy deserialization isn't possible or just isn't supported. Instead, you'll get a runtime error indefinitely later.
Из-за экранирования данных, главным образом. Для обхода этой проблемы можно использовать
Cow<'a, str> с #[serde(borrow)]Forwarded from HN Best Comments
Re: Microsoft Office renamed to “Microsoft 365 Copilot app”
I genuinely thought this was a joke when I saw the headline, and I had to double check the domain name to verify that this wasn't a parody.
Apart from being absolutely abysmal marketing, the front page alone is wildly inconsistent:
* "Welcome to Microsoft 365 Copilot"
* "The Microsoft 365 Copilot app (formerly Office) [...]"
* "Microsoft 365 (formerly Microsoft Office 365) is a subscription service [...]"
Which is it, "Microsoft 365 Copilot", "(The) Microsoft 365 Copilot app", "(The) Microsoft 365 Copilot app (formerly Office)", "Microsoft 365" or "Microsoft 365 (formerly Microsoft Office 365)"?
I think Microsoft delegated all marketing decisions to AI. Not even joking.
ulrikrasmussen, 8 hours ago
I genuinely thought this was a joke when I saw the headline, and I had to double check the domain name to verify that this wasn't a parody.
Apart from being absolutely abysmal marketing, the front page alone is wildly inconsistent:
* "Welcome to Microsoft 365 Copilot"
* "The Microsoft 365 Copilot app (formerly Office) [...]"
* "Microsoft 365 (formerly Microsoft Office 365) is a subscription service [...]"
Which is it, "Microsoft 365 Copilot", "(The) Microsoft 365 Copilot app", "(The) Microsoft 365 Copilot app (formerly Office)", "Microsoft 365" or "Microsoft 365 (formerly Microsoft Office 365)"?
I think Microsoft delegated all marketing decisions to AI. Not even joking.
ulrikrasmussen, 8 hours ago
😁11🤡3😢2❤1
#prog #article
On 'function coloring'
On 'function coloring'
Exposing asynchrony in our programming model does create a distinction between two different kinds of functions. But that distinction always existed, it just wasn’t visible. It was just always handled on our behalf.
Tedinski
On 'function coloring'
How much of a problem is it to sharply distinguish between different kinds of functions?
👍4❤1🤔1
Йей, ещё один ваншот провёл. Игроки довольны и хотят продолжения — благо, оно есть.
Приятно.
Приятно.
❤6💩2🔥1🤮1🤡1