useless stuff
154 subscribers
765 photos
12 videos
5 files
230 links
умный шитпост
иногда не шитпост

Я ⭐️НИНИКА⭐️ @dcnick3
Download Telegram
Do you accept frequency as hertz or as kilohertz?

Yes.

this code will interpret the passed argument either as hertz or as kilohertz, depending on the range. [0.001, 50] -> kHz; [50; 50000] -> Hz

Yet another day when I learn the cursed ways of LAME
💩4🤯3
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
🔥2
С наступающим новым дымом!!
🎉3
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
5🤯1
Finally, a decent use for LLMs: https://cronprompt.com/
💩3😁2🎉2
Try to spot the bug in this code fragment (it's very subtle)

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
Another day, another FUCK YOU to the MPEG cartel
🤬2💩2🤯1
Not the fish I meant...
🔥3🤯2
Wanna see a trick?

Try encoding an mp3 using this command in bash:

lame $(printf -- '--preset 128 %.0s' {1..100}) test.wav test.mp3


This will run LAME with --preset 128 flag repeated 100 times.

Spoiler: this switch is not idempotent. But you won't believe what it results in
1🔥1
Are we sure this article is that old?

https://fractalfir.github.io/generated_html/jtcpp.html
👍2
🙏83💩2👍1
Краткий гайд о том, как насрать себе в повидло на ночь глядя:

1. Подключаем девайс, с которого хотим слить прошивку, к компорту
2. Используем screen в качестве терминала
3. Включаем питание, видим логи и меню загрузчика
4. Пытаемся скроллить наверх чтобы почитать логи
5. Терминал вместо скролла отдаёт событие в screen
6. screen посылает устройству ESC+A для прокрутки вверх на одну строку
7. Устройство игнорирует ESC и активирует в бут меню команду [A]LL FLASH ERASE, отрабатывающую без подтверждения немедленно
8. Готово, вы восхитительны 🖕
🎉10🤩3👍21
Statements dreamed up by the utterly deranged
😢61🤯1
why
🤯3🤔2🙏1
Я как-то пропустил, но reqwest наконец-то переключился на rustls по-умолчанию 🎉

Осталось только чтобы rustls по-умолчанию перешёл на RustCrypto бэкенд и революция будет закончена 👀

https://github.com/seanmonstar/reqwest/releases/tag/v0.13.0
🎉6
Thank you, have a nice day

(it's a segfault in ninja)
🥰10😁1
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
🥰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