1.84K subscribers
3.41K photos
134 videos
15 files
3.66K links
Блог со звёздочкой.

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

Небольшое прикольное комьюнити: @decltype_chat_ptr_t
Автор: @insert_reference_here
Download Telegram
😁21👍2🙏1
Не #meme про мужчин
21
Блог*
Не #meme про мужчин
Кстати, мужики, декоративный маникюр — хороший способ получать комплименты от женщин, советую
20🤡14😁5👍1🥰1🤮1💩1
Блог*
#prog #go #article Статья о внутреннем устройстве map в Go. К сожалению, в статье длиннющая преамбула о различных вариантах реализации хэш-таблиц в разных языках и крайне мало о собственно реализации в Go. Ключевая фишка реализации — фактически нетипизированная…
#prog #go

В феврале выпустили версию Go 1.24, в которой, помимо всего прочего, поменяли реализацию встроенного типа map. Теперь там используется дизайн Swisstable. Ожидаемо перформанс операций на мапах ощутимо подрос:

In microbenchmarks, map operations are up to 60% faster than in Go 1.23. Exact performance improvement varies quite a bit due to the wide variety of operations and uses of maps, and some edge cases do regress compared to Go 1.23. Overall, in full application benchmarks, we found a geometric mean CPU time improvement of around 1.5%.


Тем не менее, реализация всё равно теряет перф из-за гарантий на поведение итерации по мапе, изменяемой в процессе итерации.
👍8🌚1
(Не) #meme про идеальное мужское тело
🙏11🥰9🤡6🤮4🤷43👎2🤩2💩2💯2🫡1
#prog #article #performancetrap

Use Fast Data Algorithms

As an engineer who primarily works with data and databases I spend a lot of time moving data around, hashing it, compressing it, decompressing it and generally trying to shovel it between VMs and blob stores over TLS. I am constantly surprised by how many systems only support slow, inefficient, and expensive ways of doing these operations.

In my experience, these poor algorithm choices are orders of magnitude slower than modern alternatives.
6👍1💯1
😁11🍌4
A Brief, Incomplete, and Mostly Wrong History of Programming Languages

1801 - Joseph Marie Jacquard uses punch cards to instruct a loom to weave "hello, world" into a tapestry. Redditers of the time are not impressed due to the lack of tail call recursion, concurrency, or proper capitalization.
🔥4🍌4🌚1
😁321🌚1
Birthday is a fake holiday created by baking companies to sell more cakes
🎉26😁1
Блог*
Birthday is a fake holiday created by baking companies to sell more cakes
Вы поспешили с поздравлениями на две недели, алё
👌3🌚2🤡1
Forwarded from АЙТИАЧ 💻🌴 (Pееr)
Классика 😎
👍183🌚3😁2
Блог*
#rustforlinux #suckassstory (link) I no longer have any faith left in the kernel development process or community management approach. Apple/ARM platform development will continue downstream. If I feel like sending some patches upstream in the future myself…
Asahi Lina делает паузу в разработке.

For personal reasons, I no longer feel safe working on Linux GPU drivers or the Linux graphics ecosystem. I've paused work on Apple GPU drivers indefinitely. I can't share any more information at this time, so please don't ask for more details. Thank you.

If you think you know what happened or the context, you probably don't. Please don't make assumptions. Thank you.

I'm safe physically, but I'll be taking some time off in general to focus on my health.
😢14😁6🤣4😭4🎉21🫡1
Forwarded from Install Wizard
Всё же видеокодеки - это нечто магическое. Конвертирую выкачанный с ютуба сериал. yt-dlp выкачал его в AV1 (как я понимаю, ютуб пользуется этим кодеком по умолчанию для хранения видео), но телевизор в силу возраста кодировку не понял, поэтому я в хендбрейке конвертирую все серии в более старую кодировку H.264. Выходные файлы получаются почти в 3 раза больше. При том, что в настройках стоит (очень небольшое) сжатие. Уменьшить размер файла без потери информации втрое, просто используя более современный кодек - это, конечно, дико впечатляет
👍23🤡2💯2
#prog #article

Small Functions considered Harmful

Статья скорее против догматичного подхода к небольшим функциям, но даже так, на мой взгляд, полезна.

In this post, I aim to:

— Shed light on some of the presumed benefits of small functions
— Explain why I personally think some of the benefits don’t really pan out as well as advertised
— Explain why small functions can actually prove counterproductive sometimes
— Explain the times when I do think smaller functions truly shine
👍4
Блог*
(Не) #meme про идеальное мужское тело
Фембои — это высшая форма развития человечества, дальше уже некуда.

(на втором месте, разумеется, томбои)
🥰14🤮7🤡4❤‍🔥3💯3😐3💩2🤣2😁1
<илья as Человек>
МАЛЕНЬКИЕ ЛЕГУШЬКИ
МАЛЕНЬКИЙ ТЕЛЕФОН
😁83🔥1
Forwarded from commit -m "better"
https://gitlab.xiph.org/xiph/ogg/-/merge_requests/11#note_57404

"A 3 year old MR, to fix a 14 year old bug, now arguing about using a 26 year old language, in a project that hasn't had a release in 5 years. Forget about it. Please don't merge this, I don't want my name associated with this project"

Open source, который мы заслужили!

(спасибо нашим радиослушателям за ссылку!)
😁12😢41🤯1