HackerLangs
トップ新着トレンドコメント過去質問紹介求人

danfritz

no profile record

投稿

Adonisjs v7 released (Next.js alternative)

adonisjs.com
3 ポイント·投稿者 danfritz·4 か月前·0 コメント

GitHub partial outage

githubstatus.com
188 ポイント·投稿者 danfritz·8 か月前·82 コメント

AI Pullback Has Officially Started

planetearthandbeyond.co
62 ポイント·投稿者 danfritz·9 か月前·62 コメント

Safe Chain prevents developers from installing malware

npmjs.com
11 ポイント·投稿者 danfritz·10 か月前·1 コメント

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

aikido.dev
2 ポイント·投稿者 danfritz·10 か月前·0 コメント

コメント

danfritz
·9 日前·議論
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 日前·議論
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 か月前·議論
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 か月前·議論
I wonder how well this corolates with azure incidents. Especially for the US regions.
danfritz
·2 か月前·議論
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 か月前·議論
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 か月前·議論
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 か月前·議論
Indeed totally unbearable to even read the article
danfritz
·6 か月前·議論
By the time I have figured out all those quirks and guardrails I could have done it myself in 45min tops.
danfritz
·6 か月前·議論
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 か月前·議論
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 か月前·議論
Related to the recent announcement they are moving to Azure?