返回首页

一周热榜

2作者: theaniketmaurya4 天前
我一直在使用 SmolVM 运行 Pi 来构建 SmolVM! SmolVM 提供了对 microVM 的抽象,可以轻松地为编码代理、OpenClaw 或仅仅为了构建自定义框架创建沙盒。 要使用它,请使用以下命令安装: curl -sSL <a href="https://celesto.ai/install.sh" rel="nofollow">https://celesto.ai/install.sh</a> | bash 然后运行: smolvm pi start
2作者: enduku6 天前
我编写了 vibe,一个用于在 Linux 上通过帧式 TCP 和 Unix 域套接字进行消息传递的小型单头 C 库: [https://github.com/xtellect/vibe](https://github.com/xtellect/vibe) 它使用一个后台 epoll 线程。应用程序代码轮询一个收件箱队列,以获取 CONNECTED、DATA 和 DISCONNECTED 事件,并通过每个连接的发件箱发送数据。 我想要的功能: - TCP 或 Unix 流套接字 - 4 字节长度前缀的消息 - 应用程序端非阻塞轮询 - 通过引用计数有效载荷块进行单拷贝扇出 - 明确的每个连接背压,而不是无界队列 对于多播,有效载荷被复制一次到引用计数块中,然后通过引用排队到每个接收者。一个 1 KB 的消息发送给 1,000 个对等方,只需一次有效载荷分配/复制,加上 1,000 个队列节点,而不是 1,000 次有效载荷复制。 目前仅限 Linux:epoll、eventfd、accept4 和 Linux 抽象 Unix 套接字。没有 UDP、TLS、HTTP 或 WebSocket 层。 这并非旨在成为一个完整的网络框架。我发布它主要是为了征求您的意见/审查,特别是关于连接生命周期、背压计算、边缘情况和队列设计。 Apache 2.0 许可。
2作者: viru74 天前
我创建了一个简单的项目,允许你将手机用作Web代理。这并不是为手机设置代理,而是通过手机代理来自其他地方的Web流量。一个实际的应用场景是访问受地理位置限制的内容。如果你在某个国家/地区有值得信赖的联系人,并且他们拥有一部安卓手机,这可以作为商业VPN的简单替代方案。 要设置它,你需要运行一个代理服务器,该服务器可以作为Docker容器运行。然后,你需要在安卓手机上安装应用程序,该应用程序将连接到服务器。最后,你将浏览器配置为使用代理服务器作为HTTP/HTTPS代理。 更多详细信息请参考:<a href="https:&#x2F;&#x2F;github.com&#x2F;vgaj&#x2F;proxy#mobile-phone-proxy" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;vgaj&#x2F;proxy#mobile-phone-proxy</a> 请告诉我你的使用情况,以及你是否遇到任何问题。
2作者: chartreuseai7 天前
Hi HN,<p>I built ukbinday to provide a nicer way to find your bin collection days and actually remember when to put them out.<p>It shows your upcoming collections and generates a calendar that updates automatically as the schedule comes out. Coverage is at about 85% of the UK so far and I&#x27;m working on getting that to 100%. There is also an API for the Home Automation community.<p>This was built on top of two amazing open-source projects without which this would not exist: <a href="https:&#x2F;&#x2F;github.com&#x2F;robbrad&#x2F;UKBinCollectionData" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;robbrad&#x2F;UKBinCollectionData</a> &amp; <a href="https:&#x2F;&#x2F;github.com&#x2F;mampfes&#x2F;hacs_waste_collection_schedule" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;mampfes&#x2F;hacs_waste_collection_schedule</a> Thank you to all the contributors of those repositories!