Программа "Всенаука сворачивается"
https://vsenauka.ru/o-proekte/novosti/programma-vsenauka-svorachivaetsya.html
https://vsenauka.ru/o-proekte/novosti/programma-vsenauka-svorachivaetsya.html
😢6👎1
Бесплатная книга "Rust Atomics and Locks, Low-Level Concurrency in Practice" by Mara Bos
https://marabos.nl/atomics/
https://marabos.nl/atomics/
marabos.nl
Rust Atomics and Locks by Mara Bos
Low-level Concurrency in Practice. This practical book helps Rust programmers of all levels gain a clear understanding of low-level concurrency. You'll learn everything about atomics and …
👍3👎2
#KingMe attack
An input validation error in the move parser allows remote privilege escalation.
The popular internet chess site lichess.org allows for the import of PGN files, a standard text-based inter-change format for giving the sequence of moves in a game. Moves look like “e4” (move a pawn to the e4 square) or “Qxd3” (queen captures on d3) or “Rcc8” (the rook on the C file moves to c8). When a pawn moves into the last or first rank, it usually promotes to queen, but may legally promote to a bishop, knight, or rook at the player’s option. This preference is specified using the notation g8=B (or N for knight, R for rook, or Q for queen to optionally be explicit). lichess.org does not properly implement this syntax, and allows a move like g8=K, which is not legal chess.
The pawn is promoted to a king. This is a privilege escalation vulnerability, because the king has privileges that the pawn does not have, such as the privilege to be checkmated.
http://tom7.org/chess/cve.pdf
An input validation error in the move parser allows remote privilege escalation.
The popular internet chess site lichess.org allows for the import of PGN files, a standard text-based inter-change format for giving the sequence of moves in a game. Moves look like “e4” (move a pawn to the e4 square) or “Qxd3” (queen captures on d3) or “Rcc8” (the rook on the C file moves to c8). When a pawn moves into the last or first rank, it usually promotes to queen, but may legally promote to a bishop, knight, or rook at the player’s option. This preference is specified using the notation g8=B (or N for knight, R for rook, or Q for queen to optionally be explicit). lichess.org does not properly implement this syntax, and allows a move like g8=K, which is not legal chess.
The pawn is promoted to a king. This is a privilege escalation vulnerability, because the king has privileges that the pawn does not have, such as the privilege to be checkmated.
http://tom7.org/chess/cve.pdf
🥰11🎃2👍1👎1
☕️ Мерлин заваривает τσάι 🐌
❤️ https://github.com/segfaultdev/tree
Жёлтые летающие точки - это 🐝, которые роятся
👍3👎2👏1
Хочу сказать спасибо @olegkovalov за очень приятную библиотеку с SQL builder-ом.
https://github.com/cristalhq/builq
Минималистичная, но всё мне нужное есть из коробки. И интересный подход с compile-time строками
https://github.com/cristalhq/builq
Минималистичная, но всё мне нужное есть из коробки. И интересный подход с compile-time строками
GitHub
GitHub - cristalhq/builq: Easily build SQL queries in Go.
Easily build SQL queries in Go. Contribute to cristalhq/builq development by creating an account on GitHub.
👍9👎5
The Great Runas would be real angry if some simpleton like you showed up to it's favorite plac-Eh? Is that a...Turrón?!
👎2😁1
Если у вас есть пачка утилит на Go, то для управления ими можно использовать https://github.com/burik666/gobin
Простая, но эффективная штука - сама ищет бинарники в GOPATH/bin, вытаскивает main пакет, версию и позволяет обновить с помощью go install
Простая, но эффективная штука - сама ищет бинарники в GOPATH/bin, вытаскивает main пакет, версию и позволяет обновить с помощью go install
GitHub
GitHub - burik666/gobin: gobin is a package manager for /go/bin
gobin is a package manager for /go/bin. Contribute to burik666/gobin development by creating an account on GitHub.
👎3❤1
Джеймс Уэ́бб и задача коммивояжёра: как утоптать больше фотографий в литр топлива
https://www.youtube.com/watch?v=Ov0EetgMws4
https://www.youtube.com/watch?v=Ov0EetgMws4
YouTube
James Webb Space Telescope and the Traveling Salesman Problem
How do you decide which stars the world's most expensive telescope looks at? This video introduces the Traveling Salesman Problem and some basic algorithms to solve it, attitude control and momentum management on the James Webb Space Telescope, and some…
👍1👎1🔥1
The Tau Manifesto: математик против π
Это что-то из оперы "табы против пробелов"
https://tauday.com/tau-manifesto
Это что-то из оперы "табы против пробелов"
https://tauday.com/tau-manifesto
Tau Day
No, really, pi is wrong: The Tau Manifesto
For millennia, the circle has been considered the most perfect of shapes, and the circle constant π captured the geometry of the circle in a single number. But π is wrong, and it’s time to set things right.
👍2👎2⚡1
☕️ Мерлин заваривает τσάι 🐌
Photo
После выхода brew 4.0.0 вместо пачки ruby скриптов в качестве базы данных пакетов используется один json файл массой 20 Мб
Субъективно - стало быстрее
https://brew.sh/2023/02/16/homebrew-4.0.0/
Субъективно - стало быстрее
https://brew.sh/2023/02/16/homebrew-4.0.0/
👍6👎4😁3🤩1
Оказывается мою любимую командную оболочку fish переписывают с C++ на #rust
https://github.com/fish-shell/fish-shell/pull/9512
Любопытный момент: код переписывают не сразу и целиком, а кусками - отдельные команды и операторы
Кое-что уже вмержено в мастер https://github.com/fish-shell/fish-shell/issues?q=rust+is%3Amerged
Будущее проступает пятнами - всё больше инструментов моего окружения мигрируют с C/C++ на языки нового поколения или написаны на них изначально.
ncdu -> zig
ls -> rust (exa)
grep -> rust (rg)
top -> rust (btm)
direnv (go)
jump (go)
modd (go)
aerc (go)
cheat (go)
rssnix (go)
https://github.com/fish-shell/fish-shell/pull/9512
Любопытный момент: код переписывают не сразу и целиком, а кусками - отдельные команды и операторы
Кое-что уже вмержено в мастер https://github.com/fish-shell/fish-shell/issues?q=rust+is%3Amerged
Будущее проступает пятнами - всё больше инструментов моего окружения мигрируют с C/C++ на языки нового поколения или написаны на них изначально.
ncdu -> zig
ls -> rust (exa)
grep -> rust (rg)
top -> rust (btm)
direnv (go)
jump (go)
modd (go)
aerc (go)
cheat (go)
rssnix (go)
GitHub
Rewrite it in Rust by ridiculousfish · Pull Request #9512 · fish-shell/fish-shell
(Editor's note - please read #9512 (comment) and #9512 (comment) before commenting if you are new to fish or not familiar with the context - @zanchey)
(Progress report November 2023)
(Sorry...
(Progress report November 2023)
(Sorry...
🎉6👍2👎2🤓2❤1
Media is too big
VIEW IN TELEGRAM
Реклама Apple, снятая Ридли Скоттом для Superbowl XVIII в 1984
https://www.youtube.com/watch?v=ErwS24cBZPc
https://www.youtube.com/watch?v=ErwS24cBZPc
❤🔥3👎1👌1
LuaJIT internals and exploitation
Intro: https://0xbigshaq.github.io/2022/08/22/lua-jit-intro/
VM: https://0xbigshaq.github.io/2022/08/23/lua-jit/
JIT Compiler: https://0xbigshaq.github.io/2022/09/13/lua-jit-part2/
Shellcodes: https://0xbigshaq.github.io/2022/09/27/lua-jit-part3/
The Saga Ends: https://0xbigshaq.github.io/2022/12/30/luajit-sandbox-escape/
https://fxtwitter.com/0xor0ne/status/1628854770982178824
Intro: https://0xbigshaq.github.io/2022/08/22/lua-jit-intro/
VM: https://0xbigshaq.github.io/2022/08/23/lua-jit/
JIT Compiler: https://0xbigshaq.github.io/2022/09/13/lua-jit-part2/
Shellcodes: https://0xbigshaq.github.io/2022/09/27/lua-jit-part3/
The Saga Ends: https://0xbigshaq.github.io/2022/12/30/luajit-sandbox-escape/
https://fxtwitter.com/0xor0ne/status/1628854770982178824
🤣3❤2