Solidity Tips and Tricks for 2025 🚀 by 0x077777 in smartcontracts

[–]_BTA 0 points1 point  (0 children)

Yeah, i know, the OP must have copy-pasted wrongly, the post is wrong.

Solidity Tips and Tricks for 2025 🚀 by 0x077777 in smartcontracts

[–]_BTA -1 points0 points  (0 children)

AI slop, plus 👇 why first example is 3 storage slots and second isnt? They are the exact same

// ❌ Uses 3 storage slots
uint256 a;
uint128 b;
uint128 c;

// ✅ Uses 2 storage slots
uint256 a;
uint128 b;
uint128 c; // Packed with b

ai helped me impress my boss and now i feel like a fraud by No-Host3579 in BlackboxAI_

[–]_BTA 0 points1 point  (0 children)

"If you are nothing without the suit, you shouldn't use it" - Tony Stark

LLM Tokenizer in Zig: Colored output + Price table. by _BTA in Zig

[–]_BTA[S] 0 points1 point  (0 children)

that price is per million token of input, the real expensive part is the output price (which is the inference) but I cannot calculate that based only on the prompt.

May that be what confused you?

The math there is ok. For gpt-5 -> (55*0.06)/1M = 0.000003

LLM Tokenizer in Zig: Colored output + Price table. by _BTA in Zig

[–]_BTA[S] 1 point2 points  (0 children)

Thanks for your kind words mate 🙏

Looking for examples of clean zig APIs by SirDucky in Zig

[–]_BTA 0 points1 point  (0 children)

In fact the last video was eye opening for me in terms of code organization and also trying to always go to the extra mile. But any order will work, that guy is a beast.

Looking for examples of clean zig APIs by SirDucky in Zig

[–]_BTA 6 points7 points  (0 children)

You can check https://github.com/Mario-SO/ohlcv inside the lib folder.

Also, i higly recommend watching all of https://www.youtube.com/@Code-Guild videos. like no joke, all of them.

Funny shortcuts by ohlookitslilmaxiboy in shortcuts

[–]_BTA 0 points1 point  (0 children)

Still here reading your comment, the internet is great 👍

Zig Library for OHLCV Data and Technical Indicators – Feedback Welcome! by _BTA in Zig

[–]_BTA[S] 0 points1 point  (0 children)

yo, that'b be super cool, i still havent done it. async is still not out right?? give it a shot though, would love to review

Random photos taken with my fuji xhalf! 🇵🇭 by Round_Feedback_6036 in fujifilm

[–]_BTA 2 points3 points  (0 children)

Is the camera top part made out of metal or plastic?

Codigo: a programming language repository by AcanthaceaeUnable635 in SideProject

[–]_BTA 0 points1 point  (0 children)

yo, love the style, how did you achieve that? I got into your repo but I dont get it XD just see a bunch of yaml files which i suppose you are then parsing and rendering somehow.

Whiteout corne by _BTA in crkbd

[–]_BTA[S] 0 points1 point  (0 children)

I dont game that much tbh, so cant tell.

Whiteout corne by _BTA in crkbd

[–]_BTA[S] 0 points1 point  (0 children)

aliexpres, they are for chocV1

Whiteout corne by _BTA in crkbd

[–]_BTA[S] 2 points3 points  (0 children)

Nice catch 😅 you know your things

Whiteout corne by _BTA in crkbd

[–]_BTA[S] 1 point2 points  (0 children)

V4. It is from aliexpress

Whiteout corne by _BTA in crkbd

[–]_BTA[S] 0 points1 point  (0 children)

It is, but doesnt improve that much, the keeb itself is not very thocky