HackerTrans
TopNewTrendsCommentsPastAskShowJobs

danfritz

no profile record

Submissions

Adonisjs v7 released (Next.js alternative)

adonisjs.com
3 points·by danfritz·4 เดือนที่ผ่านมา·0 comments

GitHub partial outage

githubstatus.com
188 points·by danfritz·8 เดือนที่ผ่านมา·82 comments

AI Pullback Has Officially Started

planetearthandbeyond.co
62 points·by danfritz·9 เดือนที่ผ่านมา·62 comments

Safe Chain prevents developers from installing malware

npmjs.com
11 points·by danfritz·10 เดือนที่ผ่านมา·1 comments

Safe Chain: Stopping Malicious NPM Packages Before They Wreck Your Project

aikido.dev
2 points·by danfritz·10 เดือนที่ผ่านมา·0 comments

comments

danfritz
·9 วันที่ผ่านมา·discuss
It's my daily driver, it's fast affordable and with a bit of guidance gets the job done.

I only reach for Claud when i need to plan something big or want to have a sparring partner to fire of some ideas.

I think what a lot of people don't realize is that you don't need a fronteer model for 80% of coding tasks. Composer 2.5 is often more than good enough, less token hungry and way faster
danfritz
·20 วันที่ผ่านมา·discuss
This resonates a lot with me. I often use AI for the plan and let it propose multiple possible implementations, I often have to point out the glaring easier / logical solution.

When implementing its often a lot of misses with a few golden hits. The other day it used flex for a table layout while our app uses tables everywhere sigh.

Another typical one is that it tends to prefere frontend aggregation and looping of data instead of letting the database and backend deal with it.

Using mix of claude, cursor composer and codex.
danfritz
·2 เดือนที่ผ่านมา·discuss
Always let your db generate uuids. On postgres this is easy since v18 it supports uuid v7!

There is no need to set uuids through javascript or node imo
danfritz
·2 เดือนที่ผ่านมา·discuss
I wonder how well this corolates with azure incidents. Especially for the US regions.
danfritz
·2 เดือนที่ผ่านมา·discuss
Alternative https://github.com/peterldowns/localias

Granted no fancy UI to start and stop things but is it really needed?

Tbh this is not a single binary you need dnsmasq go and other things
danfritz
·3 เดือนที่ผ่านมา·discuss
I can only say: learn how to use reduce and you never loop twice through a list of items or objects.

To me reduce is very easy to reason about and makes it super easy to properly filter, combine, extract values without ending with filters on filters on maps and maps
danfritz
·5 เดือนที่ผ่านมา·discuss
Ha yes classic showcase of:

1) obvious green field project 2) well defined spec which will definitely be in the training data 3) an end result which lands you 90% from the finish

Now comes the hard part, the last 10%. Still not impressed here. Since fixing issues in the end was impossible without introducing bugs I have doubts about quality

I'm glad they do call it out in the end. That's fair
danfritz
·5 เดือนที่ผ่านมา·discuss
Indeed totally unbearable to even read the article
danfritz
·6 เดือนที่ผ่านมา·discuss
By the time I have figured out all those quirks and guardrails I could have done it myself in 45min tops.
danfritz
·6 เดือนที่ผ่านมา·discuss
Whats the improvement here? I spend more time fixing it then doing it myself anyways. And I have less confidence in the code Opus generates
danfritz
·6 เดือนที่ผ่านมา·discuss
Every time I see a post like this on HN I try again and every time I come to the same conclusion. I have never see one agent managing to pull something off that I could instantly ship. It still ends up being very junior code.

I just tried again and ask Opus to add custom video controls around ReactPlayer. I started in Plan mode which looked overal good (used our styling libs, existing components, icons and so on).

I let it execute the plan and behold I have controls on the video, so far so good. I then look at the code and I see multiple issues: Over usage of useEffect for trivial things, storing state in useState which should be computed at run time, failing to correctly display the time / duration of the video and so on...

I ask follow up question like: Hide the controls after 2 seconds and it starts introducing more useEffects and states which all are not needed (granted you need one).

Cherry on the cake, I asked to place the slider at the bottom and the other controls above it, it placed the slider on the top...

So I suck at prompting and will start looking for a gardening job I guess...
danfritz
·8 เดือนที่ผ่านมา·discuss
Related to the recent announcement they are moving to Azure?