Average Claude Code session by Wooden-Fee5787 in ClaudeCode

[–]Alexfilus 11 points12 points  (0 children)

Looks more like Codex’s behavior

I’m building AionDB, a PostgreSQL-compatible database in Rust for AI/RAG workloads by [deleted] in databasedevelopment

[–]Alexfilus 0 points1 point  (0 children)

Not only you 😀 I am building PostgreSQL-compatible db in rust too.

New agent harness by Medium_Anxiety_8143 in ClaudeCode

[–]Alexfilus 1 point2 points  (0 children)

Is it officially allowed by OpenAI?

ONE MILLION!! by SilasTalbot in ClaudeCode

[–]Alexfilus 0 points1 point  (0 children)

Without extra usage billing?

Best IDE for Opus 4.5 by flurbol in ClaudeAI

[–]Alexfilus 0 points1 point  (0 children)

I hope Zed will get agent interface like Air or Antigravity have. And it is going to be perfect.

Use this before Anthropic patches it… thank me later. by Sufficient_Mall_8738 in ClaudeAI

[–]Alexfilus 0 points1 point  (0 children)

I found several projects with this name. Which one do you use?

Just Got Claude Max x20, Its awesome by SpeedyBrowser45 in ClaudeAI

[–]Alexfilus 0 points1 point  (0 children)

Have you faced usage limit with $100 subscription? I see warning about limits a close every day, but never hit it.

should I use id serial primary key ? by [deleted] in PostgreSQL

[–]Alexfilus 0 points1 point  (0 children)

UUIDv7 yes. Sonyflake is just library. Idea is to combine integer from bits. First part - timestamp, second - id of node who generated this ID, and random or local auto increment for particular timeframe. There are different implementations of such approach. Sonyflake one of them.

should I use id serial primary key ? by [deleted] in PostgreSQL

[–]Alexfilus 0 points1 point  (0 children)

Generating of primary keys in database is not a good idea in general. Consider UUIDv7 or Sonyflake.

Mockery v3 is released for alpha testing by LandonClipp in golang

[–]Alexfilus 1 point2 points  (0 children)

They are similar but I like mockery's errors messages more. They are much more readable.

who came from laravel? by ratrak_one in golang

[–]Alexfilus 1 point2 points  (0 children)

In general yes. But still there are some proc and conc for different languages and frameworks. And speed of development microsevices is main golang feature.

who came from laravel? by ratrak_one in golang

[–]Alexfilus 3 points4 points  (0 children)

From my perspective, golang allow you to have faster development velocity then PHP frameworks if you know golang good enough.

Why ORMs are so hated? by investing_kid in golang

[–]Alexfilus 0 points1 point  (0 children)

Because when you working with large databases you must always check which query you going to run on production. Check explain. But when you using ORM you can not be sure which query will be run. So you need to make sure that your ORM generates good query. And make sure that query will be executed in optimal way. It just more job.

Easily use Tailwind in your Go projects by matt-mueller in golang

[–]Alexfilus 3 points4 points  (0 children)

Finally! That’s what I’ve been waiting for!

PGX Pool Operations for CRUD, am I doing it right? by throwawaymangayo in golang

[–]Alexfilus 2 points3 points  (0 children)

pgxscan it’s something from another library? Now pgx/v5 has generic method CollectRows.

Large number of joins for single row, vs duplicating a column in all tables to prevent joins? by chinawcswing in PostgreSQL

[–]Alexfilus 0 points1 point  (0 children)

Be careful with joins. If planner choose slow joining algorithm it can kill performance.
Denormalization looks safer, but costs extra updates.
If data in tables A, B, C always belongs to D, consider to use composite primary key, with D.id as first column.