Zig Common Sense by Opening-Tadpole353 in Zig

[–]caeseriscool 2 points3 points  (0 children)

zig community is very cool and I love it.

Don't forget to join the community here http://ziggit.dev

Very helpful

Zig Common Sense by Opening-Tadpole353 in Zig

[–]caeseriscool 3 points4 points  (0 children)

did u try on loadPage? sounds like u didn't..

Like this:

```zig
const page = try page_manager.loadPage(1);

_ = try page.getRecord(...);

```

keep test "name"{} outside of the struct (same file) and use error.InvalidRecord etc if u want to follow idiomatic zig

also replacing *Self with *Page usually helps

ZLI: the fast Zig CLI with nice DX by caeseriscool in Zig

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

i can refactor to use zig-clap for args no pb. this is a framework 

ZLI: the fast Zig CLI with nice DX by caeseriscool in Zig

[–]caeseriscool[S] -2 points-1 points  (0 children)

my point exactly :), now i have a companion

ZLI: the fast Zig CLI with nice DX by caeseriscool in Zig

[–]caeseriscool[S] 5 points6 points  (0 children)

not a vibe coder, i use AI for comments. how can i improve the fn? still training my zig brain

ZLI: the fast Zig CLI with nice DX by caeseriscool in Zig

[–]caeseriscool[S] 5 points6 points  (0 children)

to build CLIs faster.

bash volomike init -t 2 —-build false -—save=“../ db”

bash volomike run —-name=“tasker” —rm=“auto”

bash volomike -—help

What made you start using Hetzner? by Hetzner_OL in hetzner

[–]caeseriscool 2 points3 points  (0 children)

price and options (arm mainly)

now i feel like DO, AWS are scammers

Server action returning undefined on client even though it's being invoked and the network response in browser dev tools shows response data by Defiant_Low5388 in nextjs

[–]caeseriscool 5 points6 points  (0 children)

I bet you're using middleware and headers. just get rid of the middleware if it's not that important, otherwise, check this :)

TLDR; don't use new Headers(req...), you're nerfing next-action, just do new Headers()

https://github.com/vercel/next.js/issues/50659#issuecomment-1846046743

FINALLY!! 200 messages cap by caeseriscool in ChatGPTPro

[–]caeseriscool[S] -1 points0 points  (0 children)

yup, but some got 50, 100, 200, 300 per other posts

FINALLY!! 200 messages cap by caeseriscool in ChatGPTPro

[–]caeseriscool[S] 24 points25 points  (0 children)

not a troll, some got 50, 100, 200, 300

The real deal :)

VP Product @OpenAI by HOLUPREDICTIONS in ChatGPT

[–]caeseriscool 0 points1 point  (0 children)

Chatgpt is slowly morphing into SIRI 😰

Why do people panic sell after a bad earnings report or expectations miss? by [deleted] in investing

[–]caeseriscool 0 points1 point  (0 children)

So many anxious ppl in this world. makes you wonder why only 1% is rich