TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

MegaHAL Turns Twenty-One

25 点作者 kranzky超过 10 年前

1 comment

kranzky超过 10 年前
I spent the last couple of weeks rewriting MegaHAL, and it&#x27;s finally online again after a brief absence.<p>You can talk with MegaHAL here: <a href="http://megahal.kranzky.com/" rel="nofollow">http:&#x2F;&#x2F;megahal.kranzky.com&#x2F;</a><p>All source is freely available on GitHub, unencumbered by a license.<p>The main MegaHAL repository is <a href="https://github.com/jasonhutchens/megahal/" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;jasonhutchens&#x2F;megahal&#x2F;</a> It includes a console application and eight built-in personalities, including Sherlock Holmes. And it&#x27;s easy to hook into its API if you want to build something else with it.<p>MegaHAL uses Sooth, which is a simple stochastic predictor, written in C but wrapped in a Ruby gem. It&#x27;s available at <a href="https://github.com/jasonhutchens/sooth/" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;jasonhutchens&#x2F;sooth&#x2F;</a> MegaHAL uses five separate Sooth predictors to do its thing. You could build other things with it.<p>Finally, the code for the server itself is available at <a href="https://github.com/jasonhutchens/megahal-server/" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;jasonhutchens&#x2F;megahal-server&#x2F;</a> It&#x27;s a Rails 4.2 app with a crappy Bootstrap theme. A basic REST api hooks things up, and a daemonized version of MegaHAL processes the queue of jobs coming in from the world.<p>Have fun, I&#x27;m looking forward to seeing how warped the online personality becomes, and how big the brain file grows.<p>Share and Enjoy!
评论 #8784942 未加载
评论 #8785874 未加载
评论 #8785508 未加载