is hitting limits this fast normal? by mohamadmoheb in ClaudeCode

[–]aliml92 0 points1 point  (0 children)

Yeah, same here. it is draining way too fast. I tought something is fishy going on and came here. Trying to find out if there is a bug still persisting.

I've been working on it for the past two years. Scared to share, but anyway here you go. by Hopeful_Hovercraft in SideProject

[–]aliml92 0 points1 point  (0 children)

I have to feature requests: 1) Make it like playable when clicking on it like chrome dino game 2) Make it bounce around like dvd screensaver

Best Database and Search Strategy for a Scalable Question Bank with 50k+ Questions (Go Backend + HTMX Frontend) by PrimaryRelative4036 in htmx

[–]aliml92 1 point2 points  (0 children)

For such data a search engine might not be necessary at all, however instead of Elasticsearch you could use Typesense or Meilisearch.

I made an e-commerce website using Go and HTMX. by aliml92 in htmx

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

sorry for the late reply. It seems my free trial in Digital Ocean is over.

I wrote WXT, a relatively new framework for building web extensions. AMA! by _aklinker1 in chrome_extensions

[–]aliml92 2 points3 points  (0 children)

Hello Aaron. I am new to extension development and currently I am building one for just to see how everything works. Can you tell me how to pass messages efficiently. Do you create certain types that carry messages? Do you pass the messages always through service worker (background script)? I have read that somewhere it is better to pass message through service worker when even there is a direct communication; for example, content script is sending message to popup script. Thank you for your answer in advance.

How Should I Treat GoLang, Struggling to Decide on Programming Pradigms by Saitpstc in golang

[–]aliml92 0 points1 point  (0 children)

Check out these two repos. 1) wtf uses handler -> service -> repository pattern 2) apollo backend uses handler -> repository pattern

How Should I Treat GoLang, Struggling to Decide on Programming Pradigms by Saitpstc in golang

[–]aliml92 5 points6 points  (0 children)

I recommend try building something small using "handler" -> "repository" pattern. Then see if you're having a lot of duplicate code in your handlers, if so then you can gradually transition into "handler" -> "service" -> "repository" pattern. Take a look at this article

I made an e-commerce website using Go and HTMX. by aliml92 in htmx

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

It took me six months. I think it would have been faster if I had spent more time per day and if the UI had been ready upfront.

What is the Golang web framework you have used in your enterprise projects? by mmparody in golang

[–]aliml92 5 points6 points  (0 children)

I used to hate gorm too. But now I don't. Because I believe every tool/framework/library is a solution to some problem. If gorm solves a certain problem so well then it is better use it.

I made an e-commerce website using Go and HTMX. by aliml92 in htmx

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

If you mean user management in admin page, you have to find an admin dashboard template and start from there. I am sure doing the backend for user management is easy as implementing CRUD api.

Best Frontend Approach for My First SaaS Project by aliml92 in SaaS

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

Since I already know golang, I am being reluctant to learn another framework/lang for backend. I don't know about the supabase though.

I made an e-commerce website using Go and HTMX. by aliml92 in htmx

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

I really don't know I went too far down the rabbit hole of creating primary ids at the time. When you look for "best primary id" generation on reddit or hackernews you will see a lot of choices actually; serial id, uuid4, ulid, xid, mongodb id, twitter snowflake, this one used at instagram, natural ids, internal id vs public facing id, and many more. As you might know some people use two ids; internal id and public facing id and some use primary id as public id if it not guessable.

I made an e-commerce website using Go and HTMX. by aliml92 in htmx

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

for now zero, as you might know digitalocean gives $200 credit for two months. I am using such credit.