1.83K subscribers
3.3K photos
132 videos
15 files
3.58K links
Блог со звёздочкой.

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

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

Mobile App Supply Chain Vulnerabilities Could Endanger Sensitive Business Information

We identified 1,859 publicly available apps, both Android and iOS, containing hard-coded AWS credentials. Almost all were iOS apps (98%) - a trend and difference between the platforms we've been tracking for years, possibly linked to different app store vetting practices and policies. In any case, we examined the scope and extent of the risks involved when AWS credentials were found embedded inside apps. We found the following:

* Over three-quarters (77%) of the apps contained valid AWS access tokens allowing access to private AWS cloud services
* Close to half (47%) of those apps contained valid AWS tokens that also gave full access to numerous, often millions, of private files via the Amazon Simple Storage Service (Amazon S3)

(thanks @tech_b0lt_Genona)
😱42👍1
📆 = Matrix2::<f32>::new(-1.0, 0.0, 0.0, -1.0) * 📆;
👍9👎7😁3🤮1💩1
#prog #go #haskell #article

Сложность простоты

Или о том, как Haskell показал себя лучше на задаче, для которых Go преподносится хорошим решением, с точки зрения человека, который и то, и то знал слабо.

Статья старая в том смысле, что она написана до того, как в Go запилили дженерики, но выводы и сейчас остаются валидными.
👍12🔥41
Forwarded from что же тут теперь (Таня)
thx sub 💖
👍7🤔3😱21👎1
Учебный #meme
👎1
Forwarded from TrapsWorld
с началом учебного года, кому актуально
#gender
😁93
#article

Lightweight linear types in System F°

We present System F°, an extension of System F that uses kinds to distinguish between linear and unrestricted types, simplifying the use of linearity for general-purpose programming. We demonstrate through examples how System F° can elegantly express many useful protocols, and we prove that any protocol representable as a DFA can be encoded as an F° type. We supply mechanized proofs of System F°’s soundness and parametricity properties, along with a nonstandard operational semantics that formalizes common intuitions about linearity and aids in reasoning about protocols.

We compare System F° to other linear systems, noting that the simplicity of our kind-based approach leads to a more explicit account of what linearity is meant to capture, allowing otherwise-conflicting interpretations of linearity (in particular, restrictions on aliasing versus restrictions on resource usage) to coexist peacefully. We also discuss extensions to System F° aimed at making the core language more practical, including the additive fragment of linear logic, algebraic datatypes, and recursion.

---

Об одном важном моменте в абстракте, впрочем, не упомянуто: они вводят не просто kinds, но и отношение subkinding, конкретно ★ ≤ ◦, где ★ — kind обычных типов, чьи значения могут быть дублированы и отброшены без ограничений, и ◦ — kind линейных типов, чьи значения не могут быть дублированы и должны быть использованы ровно один раз. У этого подхода оказалось несколько приятных следствий, но одно из них — это то, что, стерев информацию о сортах, можно получить широко изученную System F, про которую уже известны многие приятные свойства, в частности, корректность, гарантия прогресса и сильная нормализация.
👍4🤯1
#prog #rust

Хозяйке на заметку

Положили значение в умный указатель со счётчиком ссылок, а теперь хотите достать обратно? Не беда: в std есть API специально для такого случая! Функция Arc::try_unwrap возвращает значение, если сильная ссылка уникальна, и сам Arc в неизменном виде в противном случае. Разумеется, Rc::try_unwrap тоже есть.
👍6
👎1
Forwarded from я что-то �� и всё ����
😁11👍2💩2🤣1
#game и, видимо, #abnormalprogramming?
Forwarded from Backtracking (Дима Веснин)
This media is not supported in your browser
VIEW IN TELEGRAM
для тех, кто часто копирует большие файлы, держите приложение, которое определяет диалог копирования в windows 10/11 и рисует поверх него игру lunar lander (в которую можно поиграть)

https://github.com/Sanakan8472/copy-dialog-lunar-lander
👏15👍4👎2🤔21
Forwarded from я что-то �� и всё ����
Завтра английский в аудитории 404

Интересно, можно ли на него не прийти, сославшись на не найденную аудиторию :ageblobcat:
💩15🔥21