Post con #pythonic

#pythonic

Post pubblici su X che usano #pythonic.

Hashtag correlati

  1. Psyho✓@FakePsyho
    meh, the more you dig into each experiment, the less magical it gets; it feels like a loose collection of cherry-picked demonstrations with a grand narrative built around them Exp 1-2 are tiny (~20K params) with unusually easy to interpret architecture; Exp 1 is an MLP, where nearly all params are used in the first layer, so you can easily tell what kind of objects the network is trying identify Exp 5 is about designing a game strategy (we already know that Astra is extremely good at this) and then converting it to a tiny (~20K params) MLP; entirely doable by a human, but of course would require a lot of effort Exp 3 & 8 are closer to automated mechinterp using python and established techniques, rather than direct weight interpretation (at least according to chat) to be clear, those are genuinely cool results, but I think people are reading too much into them I don't think any of this should meaningfully change anyone's intuition about what models are capable of
    Rikiya Takehi @rikiyatakehi
    We asked GPT-6 Astra to edit Qwen3.5-0.8B weights to improve math. It directly changed only 0.016% of weights, fixing 0.8B's reasoning loops & improving math up to 6x and even instruction following 3x, without gradients or training. We call this Weight-Space Programming: frontier LLMs can now natively read/write neural network weights! 🧵 Blog:
    50761.1K57.9K
  2. Rikiya Takehi@rikiyatakehi
    We asked GPT-6 Astra to edit Qwen3.5-0.8B weights to improve math. It directly changed only 0.016% of weights, fixing 0.8B's reasoning loops & improving math up to 6x and even instruction following 3x, without gradients or training. We call this Weight-Space Programming: frontier LLMs can now natively read/write neural network weights! 🧵 Blog:
    Scarica
    2.3K7.3K55.5K9.2M
  3. div (fp32)✓@divagr1925
    1/4 Meet Qwenputer: Qwen3.5-4B with a full RISC-V CPU inside its weights, using the model's own Gated DeltaNet layers as RAM. It runs C and MicroPython in its forward passes, no external runtime. On DeepMind math: base 55–90%, base + Python tool 95–100%, Qwenputer 97.5–100%.
    Scarica
    3027586.1K879K
  4. Santiago✓@svpino
    Nothing will ever be the same for developers. It's just incredible that you can build a complete application and deploy it in under 5 minutes. @vercel added Python support, and I'm in heaven!
    Scarica
    381826525.9K
  5. 爱吃折耳根的Ace✓@_zheergen
    卧槽!AKShare 的 1000 多个财经数据接口,现在连 Claude Code 都能直接调用了! 股票、ETF、基金、期货、宏观经济数据,不用自己写 Python 爬取,直接让 AI 查询就行。 AKTools,1.5K Stars、MIT 开源,由 AKShare 团队开发,支持 HTTP API + MCP 两种调用方式。 以前做量化研究,Python 获取数据还算方便,但换成 JavaScript、Go、Java,又得自己封装接口,AI 想查询行情也得额外写工具。 现在 AKTools 直接把 AKShare 的数据接口变成标准 API,AI 还能通过自然语言自动查找和调用。 核心能力: 1️⃣ 1000+ 财经接口:覆盖 A 股、基金、期货、宏观经济等 AKShare 数据资源 2️⃣ AI + MCP:支持 Claude Code、Claude Desktop、Cursor,让 AI 自动查找接口并获取数据 3️⃣ 跨语言调用:Python、JavaScript、Go、Rust、Java 等都能通过 HTTP 获取行情 4️⃣ 数据直接导出:支持 JSON、CSV、Excel,不用自己写数据格式转换代码 5️⃣ 一键启动服务:一行命令启动 HTTP API,支持 Docker 和服务器部署 6️⃣ 接口搜索与缓存:自动查询接口参数,内置 60 秒缓存,减少重复请求 更实用的是,你可以直接告诉 Claude Code: “帮我获取贵州茅台最近一年的日线行情,再分析价格和成交量变化。” AI 就能搜索对应的 AKShare 接口、填写参数并读取数据,不用自己反复查文档。 整个服务也能部署到本地或服务器,让多个程序共用同一套财经数据接口。 做 A 股量化、金融 AI Agent、股票数据分析或者自动化投研的,这套工具值得收藏!
    Scarica
    爱吃折耳根的Ace @_zheergen
    卧槽!TradingView 的 Pine Script,居然能直接用 Python 拆解代码结构! 连 RSI 指标计算、买卖条件、策略下单逻辑,都能解析成结构化数据。 这个开源项目就是 Pynescript,专门用 Python 解析、分析和重建 TradingView 的 Pine Script 代码。 以前研究别人的 Pine Script 策略,代码一长,变量、指标、买卖条件混在一起,想批量分析还得自己写解析器。 这套工具直接把 Pine Script 转成 AST(抽象语法树),让 Python 可以读取和处理代码结构。 核心能力: 1️⃣ Pine Script 解析:自动识别变量、函数、条件判断和策略调用 2️⃣ 交易逻辑拆解:解析 RSI、均线交叉、strategy.entry 等代码结构 3️⃣ AST 结构展示:把复杂脚本展开成代码树,方便检查内部逻辑 4️⃣ Python 自动化:提供解析接口,可用于开发策略检查和代码处理工具 5️⃣ Pine Script 重建:将 AST 重新生成 Pine Script,方便后续修改 6️⃣ 命令行操作:直接解析 .pine 文件,输出结构或重新生成源码 比较实用的是,比如拿到一套 RSI 策略,可以用它拆出指标计算、超买超卖条件和开平仓调用,再用 Python 做进一步分析。 还可以在此基础上开发批量检查、代码重构和策略分析工具。 做 TradingView 指标、Pine Script 开发,或者想用 Python 自动化分析交易策略的,这个值得研究! GitHub:
    13187212.9K
  6. 爱吃折耳根的Ace✓@_zheergen
    卧槽!TradingView 的 Pine Script,居然能直接用 Python 拆解代码结构! 连 RSI 指标计算、买卖条件、策略下单逻辑,都能解析成结构化数据。 这个开源项目就是 Pynescript,专门用 Python 解析、分析和重建 TradingView 的 Pine Script 代码。 以前研究别人的 Pine Script 策略,代码一长,变量、指标、买卖条件混在一起,想批量分析还得自己写解析器。 这套工具直接把 Pine Script 转成 AST(抽象语法树),让 Python 可以读取和处理代码结构。 核心能力: 1️⃣ Pine Script 解析:自动识别变量、函数、条件判断和策略调用 2️⃣ 交易逻辑拆解:解析 RSI、均线交叉、strategy.entry 等代码结构 3️⃣ AST 结构展示:把复杂脚本展开成代码树,方便检查内部逻辑 4️⃣ Python 自动化:提供解析接口,可用于开发策略检查和代码处理工具 5️⃣ Pine Script 重建:将 AST 重新生成 Pine Script,方便后续修改 6️⃣ 命令行操作:直接解析 .pine 文件,输出结构或重新生成源码 比较实用的是,比如拿到一套 RSI 策略,可以用它拆出指标计算、超买超卖条件和开平仓调用,再用 Python 做进一步分析。 还可以在此基础上开发批量检查、代码重构和策略分析工具。 做 TradingView 指标、Pine Script 开发,或者想用 Python 自动化分析交易策略的,这个值得研究! GitHub:
    Scarica
    24228.8K
  7. Mike Driscoll✓@driscollis
    💡 Remember, in Python, "explicit is better than implicit." Code clarity > clever one-liners. #ZenOfPython #Pythonic Run `import this` in your REPL to see the full Zen of Python
    Scarica
    47739.7K
  8. Khuyen Tran✓@KhuyenTran16
    Polars 2.0 mainly changed how existing code behaves. Polars 2.1 brings a more exciting set of new features. Here are three I found most useful: • Run group-bys faster with less memory • Use more warehouse-style SQL functions • Encrypt selected columns in Parquet files Polars 2.1 also adds support for conditional joins, approximate quantiles, and masked NumPy arrays. This article demonstrates each feature with concrete examples, outputs, and diagrams. 🚀 Full article: #DataEngineering #Python #DataScience #BigData
    Scarica
    371054.9K
  9. Python Programming✓@PythonPr
    Python Quiz Challenge! Comment your answer: A, B, C, or D before running the code.
    Scarica
    211310615.4K
  10. AYi✓@AYi_AInotes
    当世最强的AI大神Karpathy 在 GitHub 上留下的这 7 个仓库,可以说是全网含金量最高的免费 AI 学位了, 没有昂贵门票,没有商业营销,7 个精心打磨的GitHub代码仓库,是他留给这个时代最宝贵也最纯粹质朴的一份礼物! 看遍整个开源社区,能把大模型底层逻辑拆解得如此优雅纯粹的,大概只有 Andrej Karpathy 一人了, 这位深度学习之神,特斯拉智能驾驶教父在代码仓库里,悄悄给我们这些普通人备了一套顶级的硬核人工智能进阶路径。 7 个累计收获超过 30 万星标的开源项目,按顺序串起来,刚好是一条从零手写反向传播直到跑起自主科研智能体的完整路线。 普通人学大模型总以为得先啃完几千页晦涩的高数和论文,最后大多卡在复杂的环境配置与框架依赖里。 但这套代码的绝妙之处,是每一层都在精准拆掉上一代的黑盒: 第一步 micrograd,只用约 100 行干净的 Python 代码,把神经网络求导与学习的本质摊开给你看。 第二步 nn-zero-to-hero,配套完整讲座笔记,带你体验从单个神经元徒手搭到生成式模型的完整链路。 第三步 minbpe,剥开文本编码的底层外衣,带你弄懂所有现代大语言模型最开头的分词原理。 第四步 nanoGPT,全网最适合个人练手微调的小型框架,帮你彻底跑通自己的轻量化生成模型。 第五步 llm.c,直接抛弃厚重的深度学习框架,纯粹用 C 语言和图形处理器硬件指令硬核复现完整训练。 第六步 nanochat,把 2019 年需要花费四万多美元的训练任务,直接压缩到用几十美元就能跑完的完整闭环。 第七步 autoresearch,给代码配上能通宵自主试验、自动验证并迭代优化的研究型智能体。 能把这个链路顺着吃透的人,早就不需要再到处找所谓的提示词速成班了,底层的工业脉络已经全在你的代码库里了, 当然开源代码虽说开箱即用,但后半截涉及纯硬件指令和自主试验的项目,依然需要你真正沉下心去读懂显存调度与系统日志,代码免费不等于能省去动手调试的汗水。 真正拉开认知差距的从来不是你收藏了多少技术文章,而是你有没有亲手从第一行代码把那个模型给跑起来。
    Scarica
    AYi @AYi_AInotes
    Karpathy 刚刚示范了什么是真正的个人超级生产力, 一个人加一个 Opus 5.5,两个小时内把四千三百万条讨论数据洗完,并且直接从零搓出一个完整上线的视频平台,真他喵牛逼,不愧是卡神!! 而且未来的全栈开发到底长什么样?我觉得卡神已经给我们做了示范,这就是版本答案,不接受反驳hh, 背景是深度学习教育之神、Software 2.0 教父 Karpathy 嫌 YouTube 的算法推荐全是垃圾标题党,周末花了两个小时,让 Claude 扫完 Hacker News 二十年来四千三百万条讨论,搓出了一个专门看硬核长视频的网站 HackerTube。 整个产品没有任何登录门槛,连封面图都极其反直觉,它不要创作者精心诱导点击的浮夸封面,而是直接强制抓取视频正中间的那一帧画面。 二十年里极客社区反复筛选留下的六千四百多个硬核视频,全被提取成了纯粹的高密度长内容,这他喵的简直就是AI学习的宝藏啊卧槽, 但比这个网站更好用的是他的开发全流程, 整个过程他只在浏览器里做了三件杂事, 去谷歌云申请了一个 YouTube 的接口密钥, 租了一台服务器,买了个域名, 服务器开机之后,他把 IP 地址直接丢给 Claude, 说了一句去部署、加固安全并优化代码, AI 就把剩下的所有活全干完了。 以前一个需要工程师团队折腾几个星期甚至几个月的完整上线项目, 现在一个人在早餐时间靠几句对话就能全部搞定, AI已经不再是写代码的辅助工具了,完全就是把个人的想法直接编译成可用服务的最小生产力闭环,damn,真的牛逼, 原项目的体验地址、开源数据包和部署工作流整理在一楼,需要自取👇
    173722123.1K
  11. AYi✓@AYi_AInotes
    Karpathy 刚刚示范了什么是真正的个人超级生产力, 一个人加一个 Opus 5.5,两个小时内把四千三百万条讨论数据洗完,并且直接从零搓出一个完整上线的视频平台,真他喵牛逼,不愧是卡神!! 而且未来的全栈开发到底长什么样?我觉得卡神已经给我们做了示范,这就是版本答案,不接受反驳hh, 背景是深度学习教育之神、Software 2.0 教父 Karpathy 嫌 YouTube 的算法推荐全是垃圾标题党,周末花了两个小时,让 Claude 扫完 Hacker News 二十年来四千三百万条讨论,搓出了一个专门看硬核长视频的网站 HackerTube。 整个产品没有任何登录门槛,连封面图都极其反直觉,它不要创作者精心诱导点击的浮夸封面,而是直接强制抓取视频正中间的那一帧画面。 二十年里极客社区反复筛选留下的六千四百多个硬核视频,全被提取成了纯粹的高密度长内容,这他喵的简直就是AI学习的宝藏啊卧槽, 但比这个网站更好用的是他的开发全流程, 整个过程他只在浏览器里做了三件杂事, 去谷歌云申请了一个 YouTube 的接口密钥, 租了一台服务器,买了个域名, 服务器开机之后,他把 IP 地址直接丢给 Claude, 说了一句去部署、加固安全并优化代码, AI 就把剩下的所有活全干完了。 以前一个需要工程师团队折腾几个星期甚至几个月的完整上线项目, 现在一个人在早餐时间靠几句对话就能全部搞定, AI已经不再是写代码的辅助工具了,完全就是把个人的想法直接编译成可用服务的最小生产力闭环,damn,真的牛逼, 原项目的体验地址、开源数据包和部署工作流整理在一楼,需要自取👇
    Scarica
    456242171.6K
  12. Michael Pyrcz🌻✓@GeostatsGuy
    I just added a brandnew chapter on Transformers to my free, online e-book, 🧠 Powerful #DeepLearning responsible for the recent AI revolution! 🚀 Join me as we build a simple Transformer from the ground up! ⚡ Then we'll train and diagnose it through two simple demonstrations. 📊💻 📚 This is the 8th deep learning chapter out of the 56 chapters in my FREE online e-book, Applied Machine Learning in Python! 🌎 I'm stoked to support students and working professionals on and off campus! ❤️ Let's make powerful AI concepts accessible to everyone! 🔥 Check it out @
    Scarica
    1351915K
  13. Can Bölük✓@can1357
    this numpy+matplotlib artifact was produced by dquickts. yes, you read that right. they just do codemode so much better in py, so we figured, why not dual purpose the bytecode!
    Scarica
    109885.4K
  14. Python Coding✓@clcoding
    Python Seaborn: Create Beautiful Statistical Visualizations! Want to turn raw data into beautiful, meaningful visualizations using Python? Meet Seaborn — a powerful Python library built on top of Matplotlib that makes statistical data visualization easier and more attractive. A practical thread for Python developers and Data Science beginners.
    Scarica
    6157610.8K
  15. Robin Lovelace@robinlovelace
    As part of the Introduction to Data Science sessions, I've set-up GitHub Codespaces to run Python and R code natively, no installation steps needed! Amazing that all you need to run data science code now is a browser (and in this case a GitHub account)🚀
    Scarica
    1472409.8K
  16. sopersone✓@sopersone
    this is f*cking DANGEROUS for your wallet a former WorldQuant director put 151 hedge fund strategies and 550+ formulas in one book, and made it 100% FREE i fed the best of them to Claude Fable and turned them into a working trading bot, and gave away the COMPLETE codebase here's what you get with every strategy: > the exact formula from the book, explained symbol by symbol > Python code Claude Fable wrote for every term of it > a copy-paste prompt for Claude Fable to backtest it with real fees on data it never saw > trend filters, nearest neighbors, neural nets, dollar-neutral stat arb & tweet sentiment > crypto on Binance, Bybit, OKX and dozens more, from daily candles down to 15-minute bars you can plug any strategy into ONE bot skeleton that runs 24/7 & i've added the FULL step by step guide too it starts on paper trading, then testnet, with leverage capped at 1x and a daily stop that closes everything and shuts the bot down there are 26 more strategies from the book waiting at the end, save it Steal this before everyone starts using it:
    Scarica
    sopersone @sopersone
    81112111.4K
  17. sopersone✓@sopersone
    1311130163K
  18. James Ward✓@JamesWard
    This all could have been avoided by not writing it in Python on the first go-around.
    Somi @somi_ai
    Anthropic rewrote its Messages API in Rust. Zero Rust devs on the team. Claude wrote the code. Humans wrote the plan and checked old vs new matched on real traffic. CPU dropped 40-50%. Pretty sure "never do the big rewrite" is dead advice. @katelyn_lesse on @latentspacepod
    7712310.2K
  19. Somi✓@somi_ai
    Anthropic rewrote its Messages API in Rust. Zero Rust devs on the team. Claude wrote the code. Humans wrote the plan and checked old vs new matched on real traffic. CPU dropped 40-50%. Pretty sure "never do the big rewrite" is dead advice. @katelyn_lesse on @latentspacepod
    Scarica
    1052343K744K
  20. Mostra altri post