Forwarded from Технологический Болт Генона
Можно дебажить GitHub Actions. Считаю, что сие просто прекрасно.
Debug your GitHub Actions via SSH by using tmate to get access to the runner system itself.
https://github.com/mxschmitt/action-tmate
Debug your GitHub Actions via SSH by using tmate to get access to the runner system itself.
https://github.com/mxschmitt/action-tmate
👍9🔥4
Forwarded from мне не нравится реальность
в новой версии tg desktop сообщения слишком закруглённые
👍2
Forwarded from мне не нравится реальность
для людей которые как я: settings -> advanced -> experimental settings -> use small message bubble radius (благодарим @hatkidchan <3)
🔥3
Forwarded from Awful Rust snippets for fun and profit
this code compiles and runs without panicking
thanks to @asokol123 for bringing it
original tweet by @m_ou_se
code on playground
relevant RFC with rationale for this design decision
thanks to @asokol123 for bringing it
original tweet by @m_ou_se
code on playground
relevant RFC with rationale for this design decision
😱5
Forwarded from мне не нравится реальность
Добавлять "safety footgun" линты в компилятор весело потому что даже тесты писать не обязательно, просто запускаешь билд стандартной библиотеки и он падает потому что стандартная библиотека это сплошной "safety footgun"
Мне нужен буфер обмена между телефоном и компьютером.
А пока что есть "Избранное" в Telegram.
А пока что есть "Избранное" в Telegram.
👍13❤2
Вафель: шитпостит
Подписчики Вафеля: улыбаются, говорят, какой Вафель хороший, и просят ещё
Я: шитпостю
Мои подписчики: отписываются
Подписчики Вафеля: улыбаются, говорят, какой Вафель хороший, и просят ещё
Я: шитпостю
Мои подписчики: отписываются
😁17👍6❤1
#prog #rust
github.com/rust-lang/rust/pull/101514
This change stabilizes the associated
github.com/rust-lang/rust/pull/101514
This change stabilizes the associated
BITS constant for NonZero{U,I}{8,16,32,64,128,size} integersGitHub
Stabilize `nonzero_bits` by nvzqz · Pull Request #101514 · rust-lang/rust
Closes #94881, implemented by #93292.
This change stabilizes the associated BITS constant for NonZero{U,I}{8,16,32,64,128,size} integers, e.g.:
impl NonZeroUsize {
pub const BITS: u32 = usize::...
This change stabilizes the associated BITS constant for NonZero{U,I}{8,16,32,64,128,size} integers, e.g.:
impl NonZeroUsize {
pub const BITS: u32 = usize::...
🤔3🔥1💩1
Forwarded from Generative Anton
Наткнулся на статью 1994ого года про продуктивность разработчика и языки (Haskell/Ada/C++) и случайно заметил AWS.
❤2
> how to trim string in rust
Just use scissors, silly. It doesn't matter whether a string is covered with rust or not
Just use scissors, silly. It doesn't matter whether a string is covered with rust or not
👍9😐4❤3😁3
> how to trim string in python
Why the heck would you need to cut a string inside of a snake?
Why the heck would you need to cut a string inside of a snake?
❤5💩3👍1
> how to trim string in C
You do not cut strings to tune them to specific notes, you stretch them instead
You do not cut strings to tune them to specific notes, you stretch them instead
❤14👍2
Forwarded from Кіт ✙ без шляпи🇺🇦
> how to trim string in go
You do not cut strings in hurry, just stop and trim them
You do not cut strings in hurry, just stop and trim them
👍7❤1
> how to trim string in java
Just like in every other country, I guess. I mean, I didn't hear that cutting strings there is prohibited by law
Just like in every other country, I guess. I mean, I didn't hear that cutting strings there is prohibited by law
👍8❤1
> how to trim string in haskell
Firstly, they are called tendons, not strings. Secondly, leave messing with body to professional surgeons
Firstly, they are called tendons, not strings. Secondly, leave messing with body to professional surgeons
👍5❤1😁1