— Ты — сидр
— Почему это?
— Потому что ты сладенький и от тебя голова кругом
— Почему это?
— Потому что ты сладенький и от тебя голова кругом
🥰12🤮6💩2🤷2❤1😁1🍌1
#prog #article
Beating the L1 cache with value speculation
Редкий пример того, как использование кеша процессора вкупе с предсказателем переходов может замедлить программу.
Beating the L1 cache with value speculation
Редкий пример того, как использование кеша процессора вкупе с предсказателем переходов может замедлить программу.
mazzo.li
Beating the L1 cache with value speculation
🔥4🤔2
#prog #c #rust #article
"Just Use Rust": A Best-Case Historical Study of Open Source Vulnerabilities in C (PDF)
"Just Use Rust": A Best-Case Historical Study of Open Source Vulnerabilities in C (PDF)
We identified 68 prominent open source projects with C code, collected their vulnerability history data, and used their CWE designations to explore a best-case speculation on how many vulnerabilities might have been prevented with Rust. We estimate that 58.2% of historical vulnerabilities in our selection of open source C projects would have been virtually impossible in Rust.
😁13🤡7👍5🔥1🤔1
Forwarded from oleg_log (Oleg)
Daaaamn, that's smart.
> copy and pasta are simple wrappers around system clipboard managers, like pbcopy on macOS and xclip on Linux. I use these all the time.
https://evanhahn.com/scripts-i-wrote-that-i-use-all-the-www.tgoop.com/
> copy and pasta are simple wrappers around system clipboard managers, like pbcopy on macOS and xclip on Linux. I use these all the time.
# High level examplesrun_some_command | copy
pasta > file_from_my_clipboard.txt
# Copy a file's contents
copy < file.txt
# Open a file path from your clipboard
vim "$(pasta)"
# Decode some base64 from the clipboard
pasta | base64 --decode
https://evanhahn.com/scripts-i-wrote-that-i-use-all-the-www.tgoop.com/
Evanhahn
Scripts I wrote that I use all the time
I've written a number of little scripts over the years, many of which I use every day. Here's a little collection.
👍6❤🔥2🤯2
