AlexTCH
313 subscribers
77 photos
4 videos
2 files
906 links
Что-то про программирование, что-то про Computer Science и Data Science, и немного кофе. Ну и всякая чушь вместо Твиттера. :)
Download Telegram
SHAP (SHapley Additive exPlanations) is a game theoretic approach to explain the output of any machine learning model. It connects optimal credit allocation with local explanations using the classic Shapley values from game theory and their related extensions:
https://github.com/slundberg/shap#citations

#machinelearning #explainableai
https://www.hertzbleed.com/

Holw cow! They're now leaking secrets from constant-time cryptographic algorithms using CPUs' frequency scaling! 😱
🔥1
Хроники войны против компьютеров общего назначения, так сказать: https://cheapskatesguide.org/articles/owning-our-devices.html

Типа, "мы программисты" и так понимаем к чему всё идёт, и давно возмущены. Мы, типа, поборники свободного или хотя бы открытого софта, прожжёные пользователи GNU/Linux. Но там всё равно имеется кучка интересных ссылок. В частности.

https://cheapskatesguide.org/articles/pluton.html — Ryzen 6000 CPU for laptops is the first to incorporate Microsoft's Pluton technology. Давайте, фанаты Ryzen, топайте стройными рядами в цифровой концлагерь Microsoft. 😏

В общем, дело идёт к тому, что лет через 5 я личными вещами буду заниматься на "полукустарном" ноуте на RISC-V под управлением DragonflyBSD (просто давно хотел попробовать Dragonfly, если не попрёт, слезу на FreeBSD, конечно).
🤔3
Highlights from #Unison Forall conf.

They're working on Native Compilation and GPU support (at least in their cloud).
🔥2
— I'm a confounder.
— Did you mean cofounder?
— No.
AlexTCH
Внезапный ночер поэзии. Без особого повода вспомнил https://stihi.ru/2007/06/21-1254 Наслаждайтесь.
Вчера недостаточно внимательно прочитал. Потому что я помню вариант отсюда: http://lib.ru/SHTERN/shliman.txt (там и остальное прекрасно).
TIL: в Google Docs сочетание клавиш ctrl + space сбрасывает форматирование (полужирное-курсив-подчёркивание).
Интересное дело, базы данных — особенно реляционные — разрабатывали и разрабатывают не просто для хранения данных, но и для работы с ними, в частности — анализа. OLAP значит OnLine Analytic Processing, и поддерживается всеми основными РСУБД, как коммерческими, так и открытыми. Некоторые поддерживают очень продвинутую аналитику.

И тем не менее, когда Data Analysis стал "Sexy Job" оказалось, что данные выгружают в Excel и "развлекаются" с ними уже там...
👍2
https://types22.inria.fr/files/2022/06/TYPES_2022_paper_24.pdf
For all Property-Based Testing fans out there: test properties of your properties! Exhaustively! 😂
(An upcoming TYPES-2022 workshop talk.)
👍2
Советские переводчики были настолько крутые, что даже верлибры переводили в рифму! 😂
Решил реанимировать и подновить один JS frontend проект. npm outdated ни в какую не показывает devDependencies. На SO висит старый вопрос почему npm outdated не показывает ничего кроме devDependencies. 🤦‍♀️
Оказалось, что npm outdated почему-то не может найти devDependencies без npm install. npm install конечно не работал из-за протухших зависимостей.
Вдохновлено IKEA: Web frontend -- у тебя есть инструкция, но собрать по ней ничего не возможно.
😁2
Refocusing Programming Languages Theory from programs to programming: http://tomasp.net/histogram/

Tomas Petricek presents and discusses (at length!) a prototype of a new programming language (together with two interactive online editors!) built around the process of constructing a program, not the end artifact. The language named Histogram encapsulates a formal interaction calculus representing several user interactions with a system that result in a (partial) program.

As Tomas points out this approach is akin to interactive theorem proving with tactics, where the user interacts with the system writing down tactics which implicitly build a program (most often a formal proof is a (kind of) program).

But explicit focus on interactions allows going further and capturing not only usual notions of programs-as-texts or programs-as-ASTs, but also such atypical (in academic research) forms as Jupyter Notebooks with heavily non-linear (in reality) evaluation order and implicit global state of computation. Plus good old autocompletion. 😊

The fun part: we can develop a type system for interaction calculus with non-trivial metatheoretic and practical properties. Rephrasing Robin Milner's "Well-typed programs cannot go wrong" — "Well-typed interactions cannot produce ill-typed programs". 😁
👍4🔥3