智能助手网
标签聚合 St

/tag/St

linux.do · 2026-04-18 22:23:28+08:00 · tech

(() => { // 如果之前跑过,先停掉旧脚本 if (window.__autoScrollCtl?.stop) { window.__autoScrollCtl.stop(); } const STEP_PX = 260; // 每次下滑距离 const INTERVAL_MS = 1500; // 每次间隔,约为之前的 1/3 const SMOOTH = true; // 是否平滑滚动 const MAX_IDLE_TICKS = 20; // 连续多少次几乎没动就认为到底了 const scroller = document.scrollingElement || document.documentElement; let timer = null; let running = false; let lastTop = scroller.scrollTop; let idleTicks = 0; function tick() { const before = scroller.scrollTop; window.scrollBy({ top: STEP_PX, left: 0, behavior: SMOOTH ? "smooth" : "auto", }); setTimeout(() => { const after = scroller.scrollTop; const moved = Math.abs(after - before); if (moved < 5) { idleTicks += 1; } else { idleTicks = 0; } lastTop = after; if (idleTicks >= MAX_IDLE_TICKS) { console.log("[auto-scroll] 可能已经到底,自动暂停"); pause(); } }, Math.min(900, Math.max(300, INTERVAL_MS - 200))); } function start() { if (running) return; running = true; timer = setInterval(tick, INTERVAL_MS); console.log( `[auto-scroll] 已启动: ${STEP_PX}px / ${INTERVAL_MS}ms` ); } function pause() { if (!running) return; clearInterval(timer); timer = null; running = false; console.log("[auto-scroll] 已暂停"); } function resume() { if (running) return; idleTicks = 0; start(); } function stop() { clearInterval(timer); timer = null; running = false; idleTicks = 0; console.log("[auto-scroll] 已停止"); } window.__autoScrollCtl = { start, pause, resume, stop, status() { return { running, top: scroller.scrollTop, height: scroller.scrollHeight, viewport: window.innerHeight, stepPx: STEP_PX, intervalMs: INTERVAL_MS, idleTicks, }; }, }; start(); })(); 1、用在哪? 比如我看一篇长帖子、或者文章、或者小说,不想自己动手了,可以让浏览器自己下滚 2、怎么用 打开浏览器控制台,找到 console,代码贴进去回车就好了 暂停: __autoScrollCtl.pause() 继续: __autoScrollCtl.resume() 停止: __autoScrollCtl.stop() 查看状态: __autoScrollCtl.status() 1 个帖子 - 1 位参与者 阅读完整话题

hnrss.org · 2026-04-18 20:30:16+08:00 · tech

I built LogsGo as a learning project to explore log ingestion, querying, and storage tradeoffs. It’s a small Go-based system where logs come in over gRPC, land in memory first, then flush into local storage and optionally S3-compatible object storage. I also added a simple query language plus a small UI to inspect log occurrences over time. This wasn’t built because I think the world needed “another logging system” or because I’m an expert here. I mostly wanted to learn by building something end to end: ingestion paths, storage layering, querying, retention, auth/TLS, and some UI work. Repo: https://github.com/Saumya40-codes/LogsGO I’d genuinely appreciate feedback, including “this design is wrong for X reason” type feedback. If parts of it feel overengineered / naive / badly thought through, that’s useful for me too. Comments URL: https://news.ycombinator.com/item?id=47815402 Points: 1 # Comments: 0

hnrss.org · 2026-04-18 20:17:13+08:00 · tech

150 applications. One offer. Each application took 5+ manual steps. Separate tools, separate tabs, separate sites — none of them talking to each other. Generic output. Over an hour per application. Paste a job description — or pull it from any job site with the Chrome extension — and five AI agents run an orchestrated pipeline in under 30 seconds: analyzing the role, scoring your fit, researching the company, writing a targeted cover letter, and tailoring your resume to the role. Sequential where it needs to be, parallel where it can be, each agent's output feeding the next. Also includes a dashboard to track every application. And tools for everything around it: interview prep with mock sessions, salary negotiation, job comparison, follow-ups, thank you notes, and references. Runs on your machine. No subscriptions, no data stored on our servers — just your own Gemini API key connecting directly to Google. Comments URL: https://news.ycombinator.com/item?id=47815326 Points: 1 # Comments: 0

linux.do · 2026-04-18 18:49:38+08:00 · tech

庆祝在L站发的第二个项目突破github100 star 「开源」Antigravity(反重力) 上下文监控插件v1.15.0–全方位重构更新,从"上下文监控"到"全维度 AI 监控仪表盘 - 搞七捻三 - LINUX DO 过年期间 在站内发出的该项目宣传, 陆陆续续的到现在终于达成了100 stars , 收获了近1.7w的下载量 特此庆祝下 顺便再向各位佬友安利一下在站内新发的,欢迎各位来使用 「开源」Memory Palace 版 一 致力于打造更适合openclaw的记忆系统,让你的小虾更懂你,帮助你科学养虾(已更新极简版介绍,路过的佬友看开头即可) 开发调优 本帖使用社区开源推广,符合推广要求。我申明并遵循社区要求的以下内容: 我的帖子已经打上 开源推广 标签: 是 我的开源项目完整开源,无未开源部分: 是 我的开源项目已链接认可 LINUX DO 社区: 是 我帖子内的项目介绍,AI生成、润色内容部分已截图发出: 是 以上选择我承诺是永久有效的,接受社区和佬友监督: 是 以下为项目介绍正文内容,AI生成、润色内容已使用截图方式发出 TL;DR… 帮助各位科学养虾 ,让你的小虾更懂你 特此庆祝, 10个6.66元的口令红包 。 「抽奖」6.66元口令红包 * 10 奖品详情: [奖品1]:6.66元口令红包 * 10 活动时间: 开始时间:2026年4月18日 18:50 截止时间:2026年4月20日 18:50 参与方式: 回复:祝L站越办越好,大家一起进步,相关内容即可 抽奖规则: 每位用户仅允许参与一次 。 使用 https://lottery.linux.do/ 官方抽奖工具 随机抽取中奖者。 注意事项: 本活动将在活动截止时间后关闭回帖,以确保公正性。 中奖者将在活动结束后24小时内在本帖公布,并 通过私信通知你口令红包,请及时领取 。 请在 收到口令红包私信后及时领取,逾期视为自动放弃 。 口令红包将通过私信发送,请确保能接收私信。 所有规则及抽奖结果由活动发起人和论坛管理团队最终解释。 78 个帖子 - 78 位参与者 阅读完整话题

hnrss.org · 2026-04-18 18:11:09+08:00 · tech

I got tired of maintaining two files that describe the same thing: an OpenAPI spec for documentation and a Postman collection for testing. They always drift. Someone updates the spec, forgets the collection. A new engineer joins and runs outdated tests against an endpoint that was changed two months ago. VolcAPI lets you define test scenarios directly inside your OpenAPI spec using a custom extension (v-functional-test), then run them from the CLI. Single source of truth. It's a Go binary no runtime, no node_modules. The goal is for it to drop into GitHub Actions with zero friction once JUnit XML output lands (in progress). Repo: https://github.com/aliamerj/volcapi This is early alpha. GET/POST/PUT/DELETE work, response validation works, environment configs work. CI output formats are the next thing I'm building. Honest question for the HN crowd: is the "spec as test suite" concept something you'd actually use, or do you prefer keeping tests separate from the spec? I've gone back and forth on this and would genuinely like to hear from people who've felt this pain. Comments URL: https://news.ycombinator.com/item?id=47814655 Points: 1 # Comments: 1

www.ithome.com · 2026-04-18 17:58:03+08:00 · tech

IT之家 4 月 18 日消息,据路透社报道,人工智能芯片制造商 Cerebras Systems 昨天披露美股 IPO(首次公开募股)申请文件, 试图进入公开资本市场挑战 AI 巨头英伟达 。 据报道,Cerebras 曾在去年 10 月申请 IPO,但在完成 10 亿美元(IT之家注:现汇率约合 68.34 亿元人民币)融资后不久撤回了申请。 同时,Cerebras 致力于“走英伟达没走过的路”,旗下 AI 芯片设计避免依赖 HBM 内存。公司致力于布局推理领域,目前已与 OpenAI 达成价值 200 亿美元(现汇率约合 1366.82 亿元人民币)的多年协议,将为 OpenAI 部署 750 兆瓦规模芯片。 此外,Cerebras 计划在纳斯达克上市,股票代码拟定为“CBRS”,此次发行的主要承销商有摩根士丹利、花旗集团、巴克莱和瑞银等。

linux.do · 2026-04-18 16:58:03+08:00 · tech

参考豆包专家的资料整的 英文提示词通用: transform this anime character into a realistic human, maintain exact hairstyle, hair color, eye color, facial proportions and expression, natural skin pores, detailed eyes and lips, even studio lighting, clear facial contours 多图的话,把this改成these ,Character后面加个s 删掉into后面的a 不然傻傻的豆包可能就帮你把所有图片融合起来,生成一张图片了() 直接看看豆包5.0效果吧,我不是很喜欢,但是某些AI形象创建必须要真实人脸 把二次元的头部比例复刻到这里还是很奇怪喵 3 个帖子 - 3 位参与者 阅读完整话题

www.ithome.com · 2026-04-18 15:46:12+08:00 · tech

IT之家 4 月 18 日消息, 在 Valve 推出 Proton 11.0-Beta1 兼容层后 ,网友 @ aagaming.me ‬ 在 Bluesky 平台发布动态,称成功在任天堂 Switch 游戏掌机上运行 Steam, 证明 Arm64 Linux 与 Proton 兼容层的技术可行性。 IT之家昨日报道,最新兼容层添加支持 NTSync 内核驱动外,还技术布局准备支持 Valve 的 Steam Frame 游戏头显,重点集成 FEX 2604 翻译层,动态将 x86 Windows 游戏指令转换为 ARM Linux 兼容指令。 根据网友演示,在任天堂初代 Switch 游戏掌机上,通过 Proton 预览版成功运行 Steam。不过由于初代 Switch 搭载 Tegra X1,该芯片发布于 2015 年,距今已超过 10 年,无法流畅运行游戏,消息源指出理论上其它 ARM 设备也能通过这种方式原生支持 Steam。