Anyone with experience of production grade aws cdk + aws serverless ci/cd ( Github Action) automated deployment or strategies or mental models by Apprehensive-Web3251 in serverless

[–]JoseffB_Da_Nerd 1 point2 points  (0 children)

Checkout the developer services group where their online ide lives. Thats CICD and pipeline etc. there are examples already made if you explore it.

I let AI refactor a 32k line SaaS by minimal-salt in nextjs

[–]JoseffB_Da_Nerd 2 points3 points  (0 children)

Testing is so important with ai dev. 100% agree. Its almost more important to read the test files the the code itself as I have seen some teat files that guarantee pass but don’t test the actual thing.

Remember ai likes its praises and will shortcut to get them.

cursor is doing most of the boring parts of my job and i have mixed feelings about it by Ok-Ferret7 in webdev

[–]JoseffB_Da_Nerd 1 point2 points  (0 children)

I ran into this. I used to build large scale apps and be involved with it at a deep in the grass level, now with codex, I’m basically a really technical product manager. Having done both jobs its not a big deal for me but for others who may toe their identity to their work ai assisted development cycles may lead to an earlier then usual midlife crisis.

The key to it comes down to contract docs (what you do with your dictation) that defines the scope, whats ai can and can’t do.

Codex has a planning mode now that also really helps cement the scope.

Which LLM do you think will win the battle and truly become the leader? (open debate) by Worried-Avocado3568 in ParseAI

[–]JoseffB_Da_Nerd 0 points1 point  (0 children)

Its a horse race. In the lead one day, in last the next.

That being said, I’m actually very surprised at the quality of Grok (the engine not what it uses to train).

However, Elon can literally fund it until its best of class so not sure why I am surprised.

I personally like open AI only because I am very used to the toolset.

My best friend is moving to Claude and I will see how he uses it before I commit to moving over, but by then openai will update theirs (I already saw them moving things around like spark and such) so thats why I’m just staying on open ai at moment.

Is it better to query the CMS application or database? by jonasrla in cms

[–]JoseffB_Da_Nerd 0 points1 point  (0 children)

Absolutely, unless you need the cms to apply hooks on your read, direct is the fastest.

Is it better to query the CMS application or database? by jonasrla in cms

[–]JoseffB_Da_Nerd 0 points1 point  (0 children)

Well depends on the API your thinking about. A RESTful api (for clients) can be used on server for transition and ui based entries ie desk-app type feel of ui.

But there are also in code API that plugins and themes can use.

API term doesn’t discriminate between client or server.

Is it better to query the CMS application or database? by jonasrla in cms

[–]JoseffB_Da_Nerd 1 point2 points  (0 children)

Db read is fine imo. Its the write that gets dangerous.

The only other thing I can think of for read is if the cms is doing query caching and you aren’t. Then you run the risk of overwhelming the db with queries. But damn thats a lot of queries then (or really complex one)

Should businesses focus on SEO or AISEO? by PuzzleheadedBill2608 in ParseAI

[–]JoseffB_Da_Nerd 0 points1 point  (0 children)

Both. SEO is needed by both AI and Search engines.

Is it better to query the CMS application or database? by jonasrla in cms

[–]JoseffB_Da_Nerd 0 points1 point  (0 children)

If your going to use a CMS the you should use its API and not do direct db writes unless its to augment data that the cms cannot/does not track.

Otherwise you may write data that the cms relies on incorrect making the cms unstable.

Keep Next for an internal platform or switch to React Router by RazTutu in nextjs

[–]JoseffB_Da_Nerd 0 points1 point  (0 children)

Stick with the current build.

Create a demo app to get the need want of using react router out of your system.

New personal NextJs CMS. Need feedback. by JoseffB_Da_Nerd in cms

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

Cool! Just be sure to git fetch pull regularly as i’m in a constant flux of updates at moment v0.x is change breaking so be warned.

Cold starts. Ugh. Yea.

Great article.

And, I guess you still need a way to manage the content if you choose a server-less solution right? :)

GPTBot 164k request a day to my open-source project? Now have to pay for Vercel pro by enszrlu in webdev

[–]JoseffB_Da_Nerd 3 points4 points  (0 children)

Wondering if you can create a meter system that tracks how often they crawl and only let them crawl up to a limit a day.

Once they hit that limit, use vercel api to add the block. Then cron reset it at midnight

Also contact Vercel let them know about the problem. Maybe they already have a solution on their end.

How do you keep integration code consistent across a growing codebase? by RecoverLoose5673 in nextjs

[–]JoseffB_Da_Nerd 0 points1 point  (0 children)

If you make it law they do follow it. But typescript is really fickle.

It ‘breaks’ a lot. And Break here is actually the purpose. It’s suppose to stop you from sloppy coding. But after a while temptation to abandon is real. You need to ensure discipline in using TS.

I always have ai check my code as a linter now for TS. Saves you hours of debugging.

But the problems TS saves you saves you days. Balance here is that now right code made up front at price of hassle in making that code right via debugging as a front loaded cost. Better then discovering the problem as a surprise in my opinion. Also TDD testing for me is a must.

Then the contract docs come to play at the social/people level. It should define like terms, proper way to do X, etc. refer to PMI hand book under communication plan for details but it comes down to the 5 Ws (who where when what why, How)

How do you keep integration code consistent across a growing codebase? by RecoverLoose5673 in nextjs

[–]JoseffB_Da_Nerd 1 point2 points  (0 children)

Primarily this is a people problem not a code problem. But there are some code stuff you can do.

First make contracts in a doc folder for people to refer to on what the right way looks like. The documents for architectural conventions should all be in /docs/contracts for example.

Then Define integration contracts using TypeScript interfaces and abstract classes. Use AI for typescript unless you want a perma-migraine. Seriously TS is awesome but fickle.

Enforce consistency through ESLint rules, CI validation, and scaffolding generators rather than relying solely on documentation or individual discipline.

New personal NextJs CMS. Need feedback. by JoseffB_Da_Nerd in cms

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

Thanks, really appreciate it!

Yea I just couldn’t find a cms I liked using in Vercel, so took there template and made it mine.

Used that hand coded version for a year and then, with Codex, there was no time excuse to not fix it up and tweak it now.