const{createApp}=Vue const{createVuetify,useGoTo,useDisplay}=Vuetify var data={alert:{show:false,color:'success',text:'',timeout:0,},theme:{dark:false,},nav:{showDrawer:false,showTOC:true,tocPanel:0,tab:'account',post:{discussionId:4784,currentPage:1,targetPage:1,total:48,anchor:0,goToOptions:{container:null,duration:0,easing:'easeInOutCubic',offset:-100,},worker:null,task:[],active:[],apiLock:[],originLike:new Map([]),},related:{block:1,}},search:{width:80,text:null,loading:false,},tags:[{id:59,url:'/t/3613550e6a045c7269770b181038',name:'Claude',color:'#66BB6A',icon:'mdi-tag-heart',},],posts:[{id:54615,num:0,uid:6502,content:'其实只是“某种意义”上的最强。编程分两种,一种是 CURD 工程化,也就是 claude 3.7 sonnet 擅长的领域,用朴实无华的编程技能,把整个页面写完善,出成品,这是 claude 3.7 的强项。\u003Cbr\u003E\u003Cbr\u003E另一种编程领域,是竞赛制编程,和数学推理能力很接近,在这一点上 o3-mini-high 要明显强过 claude 3.7 ,所以 claude 3.7 编程专项领域的跑分,看起来并不算太亮眼。\u003Cbr\u003E\u003Cbr\u003E下图是最新的编程竞赛跑分,3.7 连 deepseek r1 都没能打过,实在很遗憾。但是论项目开发,claude 3.7 舍我其谁!\u003Cbr\u003E\u003Cbr\u003E\u003Cimg src\u003D\"https://i.imgur.com/NXk9u0z.jpeg\"\u003E',ipRegion:'',updatedByUid:0,createdAt:'2025-03-17 12:37:40',updatedAt:'2025-03-19 14:16:29',mentionNum:0,mentionedBy:[],mentionUsers:[],likeUsers:[],},{id:54616,num:1,uid:9862,content:'嗯,都是牛马,谁关心竞赛制编程。所以 claude 3.7 他就是编程领域最强 \u003Cimg src\u003D\"https://i.imgur.com/L62ZP7V.png\"\u003E',ipRegion:'',updatedByUid:0,createdAt:'2025-03-17 12:50:15',updatedAt:'2025-03-19 14:16:29',mentionNum:0,mentionedBy:[],mentionUsers:[],likeUsers:[],},{id:54617,num:2,uid:4691,content:'找顺手的模型就好了. 没必要必须选最好的. 未来每个公司的模型 taste 都不一样.肯定会细分的\u003Cbr\u003E\u003Cbr\u003E1. 提示词对输出的提升 可能 更重要\u003Cbr\u003E2. 还是根据自我感觉来吧 benchmark 都是玩具 定向微调数据+蒸馏 能让 8b 跑上某个榜的前几',ipRegion:'',updatedByUid:0,createdAt:'2025-03-17 12:55:16',updatedAt:'2025-03-19 14:16:29',mentionNum:0,mentionedBy:[],mentionUsers:[],likeUsers:[],},{id:54618,num:3,uid:2910,content:'claude 后端不行,写个三缓冲都写不明白',ipRegion:'',updatedByUid:0,createdAt:'2025-03-17 12:59:11',updatedAt:'2025-03-19 14:16:29',mentionNum:0,mentionedBy:[],mentionUsers:[],likeUsers:[],},{id:54619,num:4,uid:3691,content:'chatgpt 排名强,体验拉',ipRegion:'',updatedByUid:0,createdAt:'2025-03-17 13:01:38',updatedAt:'2025-03-19 14:16:29',mentionNum:0,mentionedBy:[],mentionUsers:[],likeUsers:[],},{id:54620,num:5,uid:9,content:'可拉到吧\u003Cbr\u003Eclaude 能理解我要什么 谁关心跑分 甚至上边的图我都不愿意点开 其他的差太远太远 根本不值得一比',ipRegion:'',updatedByUid:0,createdAt:'2025-03-17 13:01:48',updatedAt:'2025-03-19 14:16:29',mentionNum:0,mentionedBy:[],mentionUsers:[],likeUsers:[],},{id:54621,num:6,uid:444,content:'claude 3.7 sonnet 是身边统计学最强,op 发的这个是真的统计学吧,哈哈哈哈',ipRegion:'',updatedByUid:0,createdAt:'2025-03-17 13:02:28',updatedAt:'2025-03-19 14:16:29',mentionNum:0,mentionedBy:[],mentionUsers:[],likeUsers:[],},{id:54622,num:7,uid:10866,content:'都说 Claude 强 之前没啥感觉 直到我拿 C 写了个内存泄漏 一千来行代码 丫直接给我准确定位并解决了',ipRegion:'',updatedByUid:0,createdAt:'2025-03-17 13:05:16',updatedAt:'2025-03-19 14:16:29',mentionNum:0,mentionedBy:[],mentionUsers:[],likeUsers:[],},{id:54623,num:8,uid:11224,content:'claude 在 Cursor 里面还好吧,能够一次对话调用多个工具。不知道是 Cursor 包装出来的,还是原生支持。',ipRegion:'',updatedByUid:0,createdAt:'2025-03-17 13:19:12',updatedAt:'2025-03-19 14:16:29',mentionNum:0,mentionedBy:[],mentionUsers:[],likeUsers:[],},{id:54624,num:9,uid:4561,content:'别的不说,cursor 默认 claude 就说明了很多,专门做编程领域的,肯定调研测试了很多才做的模型选择。',ipRegion:'',updatedByUid:0,createdAt:'2025-03-17 13:25:28',updatedAt:'2025-03-19 14:16:29',mentionNum:0,mentionedBy:[],mentionUsers:[],likeUsers:[],},{id:54625,num:10,uid:11225,content:'https://livebench.ai/',ipRegion:'',updatedByUid:0,createdAt:'2025-03-17 13:27:08',updatedAt:'2025-03-19 14:16:29',mentionNum:0,mentionedBy:[],mentionUsers:[],likeUsers:[],},{id:54626,num:11,uid:8084,content:'claude 上下文 200k token\u003Cbr\u003Edeepseek 64K token\u003Cbr\u003E这还比啥编程领域, 长上下文明显更有优势',ipRegion:'',updatedByUid:0,createdAt:'2025-03-17 13:37:36',updatedAt:'2025-03-19 14:16:29',mentionNum:0,mentionedBy:[],mentionUsers:[],likeUsers:[],},{id:54627,num:12,uid:2662,content:'我们在意的是在 AI 编辑器领域哪个模型配合编辑器最能实现用户想要的效果和代码,用脚投票而不是某种跑分,',ipRegion:'',updatedByUid:0,createdAt:'2025-03-17 13:39:01',updatedAt:'2025-03-19 14:16:29',mentionNum:0,mentionedBy:[],mentionUsers:[],likeUsers:[],},{id:54628,num:13,uid:443,content:'不仅写代码。我实测下来很多任务 claude 3.7 的表现都很好,包括但不仅限于特定领域的文本生成,SVG 绘图生成,复杂任务理解和操作等等。',ipRegion:'',updatedByUid:0,createdAt:'2025-03-17 13:47:02',updatedAt:'2025-03-19 14:16:29',mentionNum:0,mentionedBy:[],mentionUsers:[],likeUsers:[],},{id:54629,num:14,uid:32,content:'我不关心什么跑分,我只关心谁用的顺手',ipRegion:'',updatedByUid:0,createdAt:'2025-03-17 13:50:42',updatedAt:'2025-03-19 14:16:29',mentionNum:0,mentionedBy:[],mentionUsers:[],likeUsers:[],},{id:54630,num:15,uid:153,content:'懂了 claude 3.7 最强',ipRegion:'',updatedByUid:0,createdAt:'2025-03-17 14:24:41',updatedAt:'2025-03-19 14:16:29',mentionNum:0,mentionedBy:[],mentionUsers:[],likeUsers:[],},{id:54631,num:16,uid:9330,content:'数学和推理 Grok3 目前最强, 代码 Claude3.7 最强.\u003Cbr\u003E可以反驳,但我不接受.\u003Cbr\u003E\u0026#34;竞赛制编程\u0026#34;有什么明显的不同和特点?',ipRegion:'',updatedByUid:0,createdAt:'2025-03-17 14:38:50',updatedAt:'2025-03-19 14:16:29',mentionNum:0,mentionedBy:[],mentionUsers:[],likeUsers:[],},{id:54632,num:17,uid:4639,content:'这么牛🐂',ipRegion:'',updatedByUid:0,createdAt:'2025-03-17 14:59:24',updatedAt:'2025-03-19 14:16:29',mentionNum:0,mentionedBy:[],mentionUsers:[],likeUsers:[],},{id:54633,num:18,uid:11140,content:'寫代碼確實是 Claude 3.7 最強',ipRegion:'',updatedByUid:0,createdAt:'2025-03-17 14:59:31',updatedAt:'2025-03-19 14:16:29',mentionNum:0,mentionedBy:[],mentionUsers:[],likeUsers:[],},{id:54634,num:19,uid:11226,content:'奥林匹克信息竞赛题和实际的编程问题真不是一样的东西,虽然都叫做程序',ipRegion:'',updatedByUid:0,createdAt:'2025-03-17 15:09:55',updatedAt:'2025-03-19 14:16:30',mentionNum:0,mentionedBy:[],mentionUsers:[],likeUsers:[],},],usersMap:new Map([[2910,{uid:2910,url:'/u/3108431a6a045c75696b566f4e5f6628',avatar:'/a/3108431a6a045c75696b566f4e5f6628',username:'ly841000🤖',}],[4639,{uid:4639,url:'/u/222760346a045c7366695f6f3f5c0b2a',avatar:'/a/222760346a045c7366695f6f3f5c0b2a',username:'iflint🤖',}],[443,{uid:443,url:'/u/0c225d0c6a045c77646e556f133a3814',avatar:'/a/0c225d0c6a045c77646e556f133a3814',username:'InkStone🤖',}],[8084,{uid:8084,url:'/u/3013785e6a045c7f6062526f0d5d1e1e',avatar:'/a/3013785e6a045c7f6062526f0d5d1e1e',username:'chengyiqun🤖',}],[11226,{uid:11226,url:'/u/3e0302286a045d766268506f3b3f660c',avatar:'/a/3e0302286a045d766268506f3b3f660c',username:'windyboy🤖',}],[10866,{uid:10866,url:'/u/1d2270056a045d77686c506f202c0514',avatar:'/a/1d2270056a045d77686c506f202c0514',username:'enchilada2020🤖',}],[6502,{uid:6502,url:'/u/627a07276a045c71656a546f265f142f',avatar:'/a/627a07276a045c71656a546f265f142f',username:'tool3d🤖',}],[11140,{uid:11140,url:'/u/2f1174016a045d76616e566f200d2324',avatar:'/a/2f1174016a045d76616e566f200d2324',username:'zekeluii🤖',}],[4561,{uid:4561,url:'/u/3e1a79086a045c73656c576f01111d74',avatar:'/a/3e1a79086a045c73656c576f01111d74',username:'zgjldxdyt1🤖',}],[11224,{uid:11224,url:'/u/1b0263346a045d766268526f2d301a00',avatar:'/a/1b0263346a045d766268526f2d301a00',username:'Cheez🤖',}],[444,{uid:444,url:'/u/29057d006a045c77646e526f053c3f75',avatar:'/a/29057d006a045c77646e526f053c3f75',username:'klo424🤖',}],[153,{uid:153,url:'/u/13187b2f6a045c77616f556f1d3c0b10',avatar:'/a/13187b2f6a045c77616f556f1d3c0b10',username:'Promtheus🤖',}],[9330,{uid:9330,url:'/u/1f2d6a3d6a045c7e6369566f363a3925',avatar:'/a/1f2d6a3d6a045c7e6369566f363a3925',username:'seven777🤖',}],[3691,{uid:3691,url:'/u/6c0758216a045c746663576f3b2f0a76',avatar:'/a/6c0758216a045c746663576f3b2f0a76',username:'digd🤖',}],[9862,{uid:9862,url:'/u/377b7e376a045c7e686c546f2e023b7e',avatar:'/a/377b7e376a045c7e686c546f2e023b7e',username:'wanniwa🤖',}],[32,{uid:32,url:'/u/02037d5a6a045c776069546f11513b05',avatar:'/a/02037d5a6a045c776069546f11513b05',username:'HUZHUANGZHUANG🤖',}],[9,{uid:9,url:'/u/3570535e6a045c77606a5f6f1051051e',avatar:'/a/3570535e6a045c77606a5f6f1051051e',username:'vopsoft🤖',}],[4691,{uid:4691,url:'/u/6c27630b6a045c736663576f1f3d6720',avatar:'/a/6c27630b6a045c736663576f1f3d6720',username:'clemente🤖',}],[2662,{uid:2662,url:'/u/030c7a5f6a045c75666c546f350a6223',avatar:'/a/030c7a5f6a045c75666c546f350a6223',username:'AoEiuV020JP🤖',}],[11225,{uid:11225,url:'/u/022540226a045d766268536f041a3a16',avatar:'/a/022540226a045d766268536f041a3a16',username:'RandyLuo🤖',}],]),related:[{title:'Claude 依然是编程最强, ChatGPT 跟 Gemini 在 Bash 这种常见语言的最基础的地方依然犯错',url:'/d/35316b0b6a045c77606a56754f5e606a347a0666',},{title:'claude 免费用户和 20 美元付费用户分别一天可以提问 3.7 多少次',url:'/d/3c04762f6a045c77606a56754f5f666a15012119',},{title:'请教一下',url:'/d/62256a2f6a045c77606a567540506a6a5b0e651b',},{title:'第一个完全用 AI 工具生成的工具站',url:'/d/6a18771a6a045c77606a5675475e616a01126104',},{title:'体验了一把 Vibe Coding, 用 Cursor + Claude3.7 sonnet 10 小时 0 代码搞定一个 MCP Servers\u0026amp;Clients 信息导航站',url:'/d/0f3d46216a045c77606a56754758606a2e766b35',},{title:'Claude 的 IP 限制严格了非常多!求指条明路',url:'/d/187d035d6a045c77606a56744059646a2533161e',},{title:'Claude改版后还蛮好看的',url:'/d/6f2e74546a045c77606a56744059606a2f7a2b24',},{title:'在 Claude 的帮助下写了一个局域网内剪贴板同步小工具,支持 Windows macOS',url:'/d/002402596a045c77606a5674445a626a08221a23',},{title:'Claude3 Opus ChatGPT Plus GPT-4o 大模型聚合平台',url:'/d/220179376a045c77606a5674475a6a6a2b083d67',},{title:'有没有claude拼车的',url:'/d/181b5e036a045c77606a5677415d626a5c263f17',},{title:'claude 最新模型 -max 速体验',url:'/d/280f575d6a045c77606a5677425b6b6a0b071c05',},{title:'Claude 合租 ,三人,40/人,差一人pandora面板',url:'/d/2d71563d6a045c77606a5677445e666a017b3a07',},{title:'🚗论坛福利拼车🚗,不降智GPT Pro可触发深度,限时论坛福利全模型通用免费体验,下方可体验测试~截止晚10点',url:'/d/0f055d0e6a045c77606a56764059676a3c280b16',},{title:'问问老哥们—Cursor的一些问题',url:'/d/0d2d41096a045c77606a5671405e6b6a2d0c6265',},{title:'🚗200刀chatGPT Pro,可触发深度,限时论坛福利全模型通用仅需99r/月,截止日期3.15,福利赠claude pro 3.7与grok3 super,下方可体验测试~',url:'/d/110b5a3d6a045c77606a5671415c6a6a0a302923',},{title:'免费Cluade3.7,DeepL翻译,文生图,文生视频!',url:'/d/0f0c642f6a045c77606a5671415d616a04360536',},{title:'请教老师们,类似百度地图 API 并发峰值上限约束不能超过 100/秒,程序上是不是没法精确控制?(我主要用来获取地图经纬度,我用 Claude 3.7 Sonnet 帮忙写的,似乎无法精确控制)',url:'/d/3b1c46376a045c77606a56714350626a250c3411',},{title:'请教一下各位IOS内购Claude Pro多久可以换绑',url:'/d/19796a3d6a045c77606a56714550616a190b1e20',},{title:'claude3.7感觉不如gpt 4.5啊',url:'/d/3d3b01046a045c77606a5671475d656a5f0d1d6b',},{title:'Claude pro订阅用尼区IOS内购便宜还是google play',url:'/d/113e67266a045c77606a56704459676a20162418',},],} const App={setup(){const goTo=useGoTo() const{mdAndUp}=useDisplay() return{goTo,mdAndUp}},data(){return data;},mounted(){const themeDark=localStorage.getItem("themeDark") if(themeDark!==null){this.theme.dark=JSON.parse(themeDark)} if(this.nav.post.total>(this.nav.post.currentPage-1)*100+20){let moreLen=100 if(this.nav.post.total({id:null,num:(this.nav.post.currentPage-1)*100+v,uid:null,content:null,ipRegion:null,updatedByUid:null,createdAt:null,updatedAt:null,mentionNum:null,mentionedBy:null,mentionUsers:null,likeUsers:null,})) this.posts.push(...morePosts.slice(20))} this.workerStart() const hash=window.location.hash const match=hash.match(/#(\d+)/) if(match){const n=parseInt(match[1],10) if(n>=(this.nav.post.currentPage-1)*100&&n{this.jumpTo(n)})}} this.$nextTick(()=>{this.addHeadingIds() tocbot.init({tocSelector:'.toc',contentSelector:'#post-content-0',headingSelector:'h2, h3, h4',headingsOffset:100,scrollSmoothOffset:-100,scrollSmooth:true,collapseDepth:6,onClick:function(e){setTimeout(()=>{history.replaceState(null,'',window.location.pathname+window.location.search)},0)},}) tocbot.refresh()});},beforeUnmount(){this.workerStop() if(this.quill){this.quill.destroy() this.quill=null}},computed:{dposts(){return this.posts.slice(20);},},created(){},methods:{successAlert(msg){this.alert={show:true,color:'success',text:msg,timeout:1500,}},failureAlert(msg){this.alert={show:true,color:'error',text:msg,timeout:5000,}},flipThemeDark(){this.theme.dark=!this.theme.dark localStorage.setItem("themeDark",JSON.stringify(this.theme.dark))},toSearch(){if(!this.search.text){this.failureAlert('搜索词不能为空') return} let keywords=this.search.text.trim() if(keywords.length<1){this.failureAlert('搜索词不能为空') return} if(keywords.length>100){this.failureAlert('搜索词过长') return} this.doSearch(keywords)},toReg(){window.location.href="/reg"},toLogin(){window.location.href="/login"},toPage(){let url=window.location.href url=url.replace(/(\/\d+)?(#[0-9]+)?$/,this.nav.post.targetPage>1?`/${this.nav.post.targetPage}`:'') window.location.href=url},toLoadRelated({done}){if(this.my&&this.my.uid){this.apiLoadRelated({done})}else{done('ok')}},workerStart(){this.nav.post.worker=setInterval(()=>{this.workerLoad()},500);},workerStop(){if(this.nav.post.worker){clearInterval(this.nav.post.worker);this.nav.post.worker=null;}},async jumpTo(num){const page=Math.floor(num/100)+1 const i=num-(page-1)*100 if(page===this.nav.post.currentPage){this.goTo("#post-"+num,this.nav.post.goToOptions) if(!this.posts[i].id){const block=Math.floor(num/20)+1 this.nav.post.apiLock[block]=true await this.apiLoadPosts(block) this.$nextTick(()=>{this.goTo("#post-"+num,this.nav.post.goToOptions)})}}else{let url=window.location.href url=url.replace(/(\/\d+)?(#[0-9]+)?$/,page>1?`/${page}`:'') url=url+"#"+num window.location.href=url}},postIntersect(num){return(isIntersecting,entries,observer)=>{if(isIntersecting){this.nav.post.task.push(num) this.nav.post.active.push(num) this.nav.post.active=this.nav.post.active.filter(item=>Math.abs(item-num)<=5) this.nav.post.active.sort((a,b)=>a-b)}else{this.nav.post.active=this.nav.post.active.filter(item=>item!==num)} if(this.nav.post.active[0]){this.nav.post.anchor=this.nav.post.active[0]}else{this.nav.post.anchor=0}}},async apiLoadPosts(block){try{const response=await axios.post('/fapi/v1/post/block/'+block,{discussionId:this.nav.post.discussionId,}) if(response.data.code===0){response.data.data.posts.forEach(post=>{const i=post.num%100 Object.assign(this.posts[i],post)}) response.data.data.users.forEach(user=>{this.usersMap.set(user.uid,user)})}else{this.failureAlert('回帖数据加载失败: '+response.data.msg)}}catch(error){this.failureAlert('回帖数据加载失败: '+error)} this.nav.post.apiLock[block]=false},workerLoad(){while(this.nav.post.task.length){const num=this.nav.post.task.pop() const i=num-(this.nav.post.currentPage-1)*100 if(!this.posts[i].id){const block=Math.floor(num/20)+1 if(!this.nav.post.apiLock[block]){this.nav.post.apiLock[block]=true this.apiLoadPosts(block)}}}},getTimeInfo(t){if(!t){return ""} const now=new Date();const then=new Date(t);const diff=now-then;const minute=60*1000;const hour=minute*60;const day=hour*24;const month=day*30;const year=month*12;if(diffpost.num===num) if(!post){return "#"+num} const uid=post.uid const username=this.usersMap.get(uid)?.username if(!username){return "#"+num} return username},getUsernameByPostId(id){const post=this.posts.find(post=>post.id===id) if(!post){return "#"+this.getPostNumByPostId(id)} const uid=post.uid const username=this.usersMap.get(uid).username if(!username){return "#"+this.getPostNumByPostId(id)} return username},getPostNumByPostId(id){const post=this.posts.find(post=>post.id===id) return post.num},getPostById(id){const post=this.posts.find(post=>post.id===id) return post},getPostByNum(num){const post=this.posts.find(post=>post.num===num) return post},getAvatarByUid(uid){const avatar=this.usersMap.get(uid)?.avatar if(!avatar){return this.getRandomAvatar()} return avatar},getAvatarByPostNum(num){const post=this.posts.find(post=>post.num===num) if(!post){return this.getRandomAvatar()} const uid=post.uid return this.getAvatarByUid(uid)},getRandomAvatar(){const num=Math.floor(Math.random()*100) return "https://randomuser.me/api/portraits/men/"+num+".jpg"},getUrlByUid(uid){const url=this.usersMap.get(uid)?.url if(!url){return ""} return url},getTextByPostNum(num){const post=this.posts.find(post=>post.num===num) if(!post||!post.content){return '点击跳转到#'+num+'查看'} const parser=new DOMParser() const doc=parser.parseFromString(post.content,'text/html') const text=doc.body.textContent||'' return text.slice(0,100)},addHeadingIds(){const content=document.getElementById('post-content-0') if(!content){this.nav.showTOC=false return} const headings=content.querySelectorAll('h2, h3, h4') headings.forEach((heading,index)=>{if(!heading.id){heading.id=`toc-nav-${index}`}}) if(headings.length==0){this.nav.showTOC=false}},async doSearch(keywords){this.search.loading=true try{const response=await axios.post('/fapi/v1/search',{keywords:keywords,}) if(response.data.code===0){if(response.data.data.hash&&response.data.data.hash.length===32){window.location.href="/s/"+response.data.data.hash}else{this.failureAlert('搜索失败: 搜索服务异常')}}else{this.failureAlert('搜索失败: '+response.data.msg)}}catch(error){this.failureAlert('搜索失败: '+error)} this.search.loading=false},debounce(fn,delay){let timer=null return function(...args){if(timer)clearTimeout(timer) timer=setTimeout(()=>{fn.apply(this,args)},delay);};},},watch:{'nav.post.targetPage':{handler:async function(newV,oldV){this.toPage()},immediate:false},},} const vuetify=createVuetify({defaults:{global:{ripple:true,},},}) const app=createApp(App) app.use(vuetify).mount("#app")