1.97K subscribers
3.95K photos
156 videos
15 files
4.1K links
Блог со звёздочкой.

Много репостов, немножко программирования.

Небольшое прикольное комьюнити: @decltype_chat_ptr_t
Автор: @insert_reference_here
Download Telegram
Forwarded from diablogang
Юбисофт это единстванная компания, которая может выпустить игру в стиме с единственным битым экзешником в 24 киллобайта...

Теперь представьте, что если бы они это сделали в пс сторе, где нету легкого возврата денег, как в стиме.
🤣2612🤩4
7😁5🤔1
🤯5🔥1
Forwarded from Добрый вечер, я диспетчер
🚬🚬🗿
😁20
#prog #rust #article

How we saved 100 terabytes of memory by optimizing 1.1.1.1’s DNS cache

Big Pineapple, the platform behind 1.1.1.1, Gateway DNS, DNS Firewall, AS112, and several other Cloudflare DNS services, stores over 250 billion DNS cache entries at any given time. At that scale, wasting a single byte per entry costs more than 250 gigabytes of memory across our fleet.

Five successive changes to how cache entries are stored in memory cut the per-entry footprint by over 50%. Across our fleet, these changes freed up roughly 100 terabytes of memory, equivalent to the amount of RAM in 130 of our Gen 13 servers. The cache also got faster. Insert throughput rose 43% and lookup latency dropped 19%, as fewer allocations and better memory locality meant we did not trade speed for space.


Большая часть изменений довольно простая.
🎉7🔥2🤔2
Forwarded from kosmonozhka
😁128🤔1
Everyone has errands, but only rustaceans have okands

#justrustaceanthings
😁9
#prog #rust #article

How I made Rustdoc 33% faster in one week

More than any technical detail, the learnings I most want you to take away are to trust your instincts and to question assumptions. Just because a piece of code (or anything, not just code!) has been a certain way for a long time doesn’t mean that it’s optimal or even correct.
👍71
А вы уже прочитали хотя бы половину списка литературы на лето?
🌚13💯4😐4😭3
Депутат Боярский подчеркнул, что использование VPN небезопасно
https://tass.ru/obschestvo/28058101

"Мы всячески пытаемся отучить, особенно молодежь, находиться в интернете с постоянно включенным VPN, потому что это небезопасно", - подчеркнул Боярский. По его словам, "злоупотреблять этими сервисами точно не стоит", поскольку это может завести пользователей "в те уголки интернета", от опасности которых "всеми своими ресурсами государство пытается их оградить".

"Вот в этом наша сейчас основная задача", - отметил глава комитета, подчеркнув, что сам не использует VPN-сервисы.


Цель благородная максимально. Спасибо Сергею Михайловичу за заботу.

Было бы неплохо, если бы Сергей Михайлович ещё рассказал как молодёжи получить доступ к OWASP (https://xn--r1a.website/tech_b0lt_Genona/6560), я был бы очень признателен.

А с другой стороны, если подумать, может быть OWASP и является тем самым тёмным уголком интернета? Камунити, расскажите, пожалуйста, до чего вас OWASP довёл?
😁5🤩3🤣2
#prog #js #abnormalprogramming #article

The Depths of JavaScript: Minesweeper in 247 Bytes

b=e=>document.body.innerHTML=m(73,e||[~9,..."1172711",~9].map(j=>m[i-=j]?++e:i).map(j=>b(b[i=j]^1|e),b[i]=!m[O--,i]*~e));b(m=t=>t--?`<a onmouseup=b(b[i=${t}]^=event.which)>${t%9?"*#F"[x=b[t]??=(O-=m[t]=Math.random()<.1,1)]??~x:"<p>"}`+m(t):O,O=64)
🔥13😱1
add with concealed carry
😁41
Forwarded from trace!("TheBestTvarynka") (Pavlo Myroniuk)
If your disk isn’t critically struggling with available space, are you even #Rusting?

(src)
😁30
Определённо #suckassstory

Source
😁19
#prog #rust #article

iddqd, or the hardest kind of unsafe Rust

I’m the main author of iddqd, a Rust library for maps (named after the Doom cheat code) where keys are borrowed from values. <...>

iddqd consists of a fair amount of unsafe code underneath. There’s been some recent concern over the amount of unsafe code in Rust rewrites, so I thought I’d write about some of the unsafe code in iddqd and how we try to tame it.
🤔3
...Щедро
20
Forwarded from AlexTCH
А можно мне, пожалуйста, не быть goal-oriented, top performer, great team player и rockstar?
😭175🙏3🖕1