Pahud Hsieh

@pahud.net

【讓AI幫你打出降龍十八掌】 讓AI editor幫你debug問題的時候,多次iterations終於定位到問題並且解決之後,有一件事非常重要,你要問AI 「這次debug你學到了什麼?」 (然後AI會跟你講一大堆) 「好!全部記下寫成一個markdown放在 doc/ 下面」 (搞定) Agent的記憶就跟金魚腦一樣,你下次再開一個Agent session它會不記得昨天或上禮拜發生了什麼事,很多事情就得重新摸索,所以你跟一個Agent周旋三百回合打完收功的時候,務必讓他留下武功秘笈,下一個Agent來直接讓他看秘笈就行了!降龍十八掌直接打出第十八掌不需要從第一掌重新開始摸索。

Pahud Hsieh@pahud.net · 2y ago

Lessen learned today working with AI editor - after a lot of iterations with AI and finally get it fixed. You got to say "What have you learned here?" It should tell you a lot of key take-aways and you just say "Good. Take notes all of them and save a mkdoc under doc/ for future reference." Done

Lessen learned today working with AI editor - after a lot of iterations with AI and finally get it fixed. You got to say "What have you learned here?" It should tell you a lot of key take-aways and you just say "Good. Take notes all of them and save a mkdoc under doc/ for future reference." Done

Bild

一直很喜歡YF的影片,看來他也在跟我一樣糾結Cursor vs WindSurf,其實兩個都很不錯,WS相對來說比較aggressive一些,WS的Cascade跟Cursor的Composer Agent已經相當接近了。我也每天兩個一起交換使用。 Windsurf vs Cursor: In-Depth AI Code Editor Comparison youtu.be/C-6Jn4Tbg0g?...

BildBildBild

在三萬四千英尺的高空寫代碼是什麼體驗?Well, 你只要跟你的Cascade講,讓他幫你跑完這堆pytest並且找出問題修正錯誤,你就可以讓他幫你iterate代碼直到pytest 全部跑成功,然後自動產生git commit message提交上去GitHub,而其實你只需要用一隻手敲鍵盤就夠了😂

Pahud Hsieh@pahud.net · 2y ago

Cascade has been working so hard to help me iterate the pytests until everything passes when I was flying from NYC to LAS using the Delta air WIFI. All I need to do is just clicking "Accept All" and watch it iterating.

Cascade has been working so hard to help me iterate the pytests until everything passes when I was flying from NYC to LAS using the Delta air WIFI. All I need to do is just clicking "Accept All" and watch it iterating.

BildBild

Amazon Bedrock pricing文件似乎沒有比較適合AI閱讀的模式,而是這種傳統文件模式,不過沒關係,我依然可以要AI去看這個網址,然後產生一個價格表存在我的class裡面,這樣我在invoke model的每一次返回就可以計算花了多少錢,超級方便!價格改了也沒關係,叫AI再去看一眼文件進行相應的class修改即可。

BildBild

Cursor composer agent似乎這兩天變聰明了,調整一個代碼裡面的功能,composer agent居然知道自動幫我新增相應的測試,以及新增PRD文件相應的說明,這樣一來等於我只專注抽象的概念,他幫我實現細節之外還同時補充了相應的測試與文件,這真的非常貼心。

認真推薦這位來自上海小紅書的博主,她的內容都非常棒,不用AI配音而是用自己的聲音,非常誠懇,也實際hands on了很多產品的新功能第一時間發布,這種博主小紅書已經很少見了,推薦!

BildBildBild