It's this time of the year already.
39c3, a large european hacker conference, is underway, and there's already a ton of interesting talk recordings available:
https://media.ccc.de/c/39c3
39c3, a large european hacker conference, is underway, and there's already a ton of interesting talk recordings available:
https://media.ccc.de/c/39c3
🔥2
Some Guy™ is trying to solve the very hard problem of rendering youtube subtitles outside of the youtube player (and outside of a browser!)
And all of this just to make Vocaloid videos with cool typesetting work
Kudos to that guy!
https://github.com/afishhh/subrandr
Oh, and it's recently been merged into mpv: https://github.com/mpv-player/mpv/pull/16271
And all of this just to make Vocaloid videos with cool typesetting work
Kudos to that guy!
https://github.com/afishhh/subrandr
Oh, and it's recently been merged into mpv: https://github.com/mpv-player/mpv/pull/16271
GitHub
GitHub - afishhh/subrandr: An experimental subtitle rendering library
An experimental subtitle rendering library. Contribute to afishhh/subrandr development by creating an account on GitHub.
❤5🤯1
Try to spot the bug in this code fragment (it's very subtle)
(allegedly) This code calculates linear interpolation between points defined by the
gfp->VBR_q is an integer in [0; 9], gfp->VBR_q_frac is a float in [0; 1).(allegedly) This code calculates linear interpolation between points defined by the
sk array (with a twist of treating all values of VBR_q lower than 4 as 0, which is irrelevant for the bug in question).👍1
This CCC talk has been reverberating within me for several weeks already
https://media.ccc.de/v/39c3-a-post-american-enshittification-resistant-internet
https://media.ccc.de/v/39c3-a-post-american-enshittification-resistant-internet
media.ccc.de
A post-American, enshittification-resistant internet
Trump has staged an unscheduled, midair rapid disassembly of the global system of trade. Ironically, it is this system that prevented all...
👍4❤3🔥1
Wanna see a trick?
Try encoding an mp3 using this command in bash:
This will run LAME with
Spoiler:this switch is not idempotent. But you won't believe what it results in
Try encoding an mp3 using this command in bash:
lame $(printf -- '--preset 128 %.0s' {1..100}) test.wav test.mp3This will run LAME with
--preset 128 flag repeated 100 times.Spoiler:
❤1🔥1
Forwarded from Notes from the Dark Side of the Moon
Краткий гайд о том, как насрать себе в повидло на ночь глядя:
1. Подключаем девайс, с которого хотим слить прошивку, к компорту
2. Используем screen в качестве терминала
3. Включаем питание, видим логи и меню загрузчика
4. Пытаемся скроллить наверх чтобы почитать логи
5. Терминал вместо скролла отдаёт событие в screen
6. screen посылает устройству
7. Устройство игнорирует ESC и активирует в бут меню команду
8. Готово, вы восхитительны 🖕
1. Подключаем девайс, с которого хотим слить прошивку, к компорту
2. Используем screen в качестве терминала
3. Включаем питание, видим логи и меню загрузчика
4. Пытаемся скроллить наверх чтобы почитать логи
5. Терминал вместо скролла отдаёт событие в screen
6. screen посылает устройству
ESC+A для прокрутки вверх на одну строку7. Устройство игнорирует ESC и активирует в бут меню команду
[A]LL FLASH ERASE, отрабатывающую без подтверждения немедленно8. Готово, вы восхитительны 🖕
🎉10🤩3👍2❤1
Я как-то пропустил, но reqwest наконец-то переключился на rustls по-умолчанию 🎉
Осталось только чтобы
https://github.com/seanmonstar/reqwest/releases/tag/v0.13.0
Осталось только чтобы
rustls по-умолчанию перешёл на RustCrypto бэкенд и революция будет закончена 👀https://github.com/seanmonstar/reqwest/releases/tag/v0.13.0
GitHub
Release v0.13.0 · seanmonstar/reqwest
Breaking changes
rustls is now the default TLS backend, instead of native-tls.
rustls crypto provider defaults to aws-lc instead of ring. (rustls-no-provider exists if you want a different crypto ...
rustls is now the default TLS backend, instead of native-tls.
rustls crypto provider defaults to aws-lc instead of ring. (rustls-no-provider exists if you want a different crypto ...
🎉6
Can't let them generate random bytes insecurely!!!
What the hell, why are web standards like this?
https://developer.mozilla.org/en-US/docs/Web/API/Crypto/randomUUID
https://developer.mozilla.org/en-US/docs/Web/API/Crypto/randomUUID
🥰4🙏1
TIL that you can write :trollface: on GitHub and it will render 😁
Please open Telegram to view this post
VIEW IN TELEGRAM
🔥10