Bohdan

1.2K posts

Bohdan banner
Bohdan

Bohdan

@halfbeardedman

가입일 Ekim 2017
471 팔로잉44 팔로워
고정된 트윗
Bohdan
Bohdan@halfbeardedman·
Обращение к россиянам сбежавшим заграницу от мобилизации. Хотите чтоб это всё быстрее закончилось? Донатьте ВСУ! Все счета можно нагуглить. RT
Русский
1
17
41
0
Bohdan
Bohdan@halfbeardedman·
@nesterov_u Це ж якщо заробляти як фізособа - а якщо як фоп?
Українська
1
0
0
46
Володар тепла у твоїй Хаті 🇺🇦🏳️‍🌈🇺🇸🇮🇱
Дуже проста математика: 3 грівні наш грос. 30% комісія поатформи. Залишилось 2 гримні. Знімаємо пдв 2/6*5=1,67 Далі йдуть податки: ПДФО = 18% ЄСВ = 22% Військовий збір = 5% 1,67/100*18=0,30 1,67/100*22=0,36 1,67/100*5=0,08 0,3+0,36+0,08=0,74 і того наш профіт 1,67-074=0,92 Стім видає 1 гривню бо не фіксує у себе військовий збір. Адже це збір а не податок.
Дарк Валерійович, 4 платини в Resident Evil 🇺🇦@DarkPrince9507

Охуєнно оновили торговий майданчик в Стімі

Українська
3
0
5
929
Bohdan
Bohdan@halfbeardedman·
@rachpradhan Love the idea. If 100% api compatibility is implemented, will switch for sure!
English
0
0
1
421
Rach
Rach@rachpradhan·
I replaced FastAPI's entire HTTP core with Zig. Same decorator API. Same Pydantic models. 7× faster. 47,832 req/s vs FastAPI's 6,800. 2.09ms p50 latency. Introducing. TurboAPI. Here's the story..
Rach tweet media
English
92
220
2.7K
326.9K
Bohdan
Bohdan@halfbeardedman·
@0xlelouch_ Instead of a bool, use datetime - "date_verified". If NULL - not verified, if set - datetime of verification. Does not lock the table, because needs no backfilling. Fast, effortless.
English
0
0
9
1.1K
Abhishek Singh
Abhishek Singh@0xlelouch_·
Your database has a users table with 50M rows. You add a new column is_verified BOOLEAN DEFAULT FALSE. The migration takes 6 hours and locks the table. How do you add this column without downtime?
English
54
19
504
214K
Bohdan
Bohdan@halfbeardedman·
@mrpopov_com REST API gone? So you not just rewrite 1-1 functionality, but removed something? In this case the comparison is not fair
English
1
0
6
1.5K
Daniil
Daniil@mrpopov_com·
At 1703 we migrated a production SaaS from Python/React microservices to Elixir Phoenix monolith 3 apps → 1. 4 languages → 1. 5 frameworks → 1. Thread with quick numbers breakdown:
Daniil tweet media
English
13
75
425
23.4K
Bohdan
Bohdan@halfbeardedman·
@G0nZaIeZ @skv_nskv Речь не про десктоп. Если купить VPS, там включить ufw (блокировать все порты), создать docker-compose.yaml с ports: 3000:3000, то порт 3000 будет видно с интернета.
Русский
1
1
1
181
Danil Semenov
Danil Semenov@G0nZaIeZ·
@skv_nskv Я не девопс и не техлид. Объясните, если в фаерволле заблокирован внешний доступ по каким-то портам, то каким образом проброс в докере это обходит?
Русский
7
0
14
5.1K
Жожень з бажин!
Жожень з бажин!@skv_nskv·
Пиздец техлиды усилились. Наверное, ИИ помогает. Хуй кто бы так просто догадался в чём проблема.
Жожень з бажин! tweet mediaЖожень з бажин! tweet media
Русский
20
4
161
25.6K
Bohdan
Bohdan@halfbeardedman·
@Manu343726 like 2% of my monthly quota of github copilot. Scary how good it is.
English
1
0
0
17
Bohdan
Bohdan@halfbeardedman·
@Manu343726 I built a reverse tunnel over QUIC in rust for remote ssh to nodes behind NAT over unreliable channel in 1 hr from 0 to a working prototype with sonnet 4.5. It needs some polishing, but 90% of the code is there and won't be changed. It also built tests. It spent...
English
1
0
0
32
Bohdan
Bohdan@halfbeardedman·
@tldraw Okay, these numbers will have to be represented in json somehow, and list of uints is apparently heavier than base64 encoded bytes
English
0
0
0
40
Bohdan
Bohdan@halfbeardedman·
@tldraw But 6 bytes can be packed in an uint64... That will be even smaller than base64. And you will have an extra space for one more 2-byte number. Even, pack every 4 points into 3 uint64 numbers.
English
1
0
17
1.9K
tldraw
tldraw@tldraw·
In the next version of tldraw, we're introducing a compressed format for storing points for freehand shapes. Each point (x, y, z) is now encoded as 6 bytes (3 Float16 values) = 8 base64 characters, compared to approximately 40+ bytes per point in the previous JSON format. This results in roughly 80% smaller storage for freehand drawings.
tldraw tweet media
English
49
18
988
383.6K
Winston Ighodaro
Winston Ighodaro@Officialwhyte22·
As a person in the Cybersecurity field, what would be your first response to this ?
Winston Ighodaro tweet media
English
1K
123
5.6K
3M
Newtonbomb
Newtonbomb@Wesleymooch·
@IlirAliu_ I hope you're lying about thinking this silly Auto driving thing is going to work, either that or you have extreme psychosis.
English
1
0
0
439
Ilir Aliu
Ilir Aliu@IlirAliu_·
You need $100 Billion to solve self-driving? Wrong. A small team of engineers in San Diego is doing it with a smartphone chip and a few cameras: ... for $999.🧵
English
743
551
7.4K
1.5M
doomer
doomer@uncledoomer·
been dry aging this baby since halloween, cant wait to see how it comes out!
doomer tweet media
English
1.3K
1.8K
64.3K
4.9M
Bohdan
Bohdan@halfbeardedman·
@denysdovhan @HoFTeR_ Чому не t3chat? Наче те ж саме, але за 8 баксів, + купа моделек?
Українська
1
0
1
290
den the dev 👨‍💻
den the dev 👨‍💻@denysdovhan·
@HoFTeR_ Я вже довго роздумую накрутити собі на домашній сервер OpenWebUI, закинути у нього ключі від LLM які я використовую (openai та Gemini) і платити лише за токени які використав, а не просто 25$ в місяць. От думаю чи буде дешевше, чи я дійсно використовую більше ніж коштує підписка
Українська
5
0
18
1.9K
Charlie Malmqvist
Charlie Malmqvist@CharlieMQV·
Ripgrep is slow. Nowgrep is fast, because I bypass the Windows slop and go straight to NTFS. Here's Ripgrep vs. Nowgrep searching through 300k files on a drive with 2M+. Nowgrep is written from scratch in C99. No borrow checker.
English
158
219
3.3K
304.7K
Bohdan
Bohdan@halfbeardedman·
@vaxryy Raw ptrs should be allowed for non-owning pointers
English
0
0
2
754
vaxry
vaxry@vaxryy·
fun fact: these three fellas in hyprutils that I wrote like 2 years back are used in every hypr* app and library and are the reason why we have 95% less memory bugs than in the early days without them if you've ever taken a gander inside the code, you know almost everything in hypr* is riding on these, and we even explicitly state in our contributing guidelines to never use raw pointers instead of these. These are custom implementations, not the STL ones, because the STL ones actually limit what you can do. With our implementation, they're much more flexible and allow you to write much nicer and logical code. At this point, with these, it's like memory management on easy mode. Things just work and you never get a garbage pointer. :)
vaxry tweet media
English
33
24
1.2K
153.6K
Filip Jerzy Pizło
Filip Jerzy Pizło@filpizlo·
I ported wayland, libevdev, libinput, xkbcommon, libpng, pixman, glib, cairo, libdrm, seatd, and weston to Fil-C. About a day's work. Say hello to a totally memory safe GUI. It's super fast, too. Oh and that's a Fil-C-compiled bash in that terminal. Oh and I built it using a meson running on Fil-C CPython.
Filip Jerzy Pizło tweet media
English
30
58
899
85.7K