<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Hacker News: mayyue</title><link>https://news.ycombinator.com/user?id=mayyue</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Tue, 28 Apr 2026 21:07:40 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=mayyue" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[New comment by mayyue in "Wasmer JavaScript SDK"]]></title><description><![CDATA[
<p>Finally got this working. I was unable to get this to play well with Node or Bun but I did get the <script> approach working.<p>For the CORS with Vite you can just set a config like so in vite.config.ts<p>import { defineConfig } from "vite";<p>export default defineConfig({
  server: {
    headers: {
      "Cross-Origin-Embedder-Policy": "require-corp",
      "Cross-Origin-Opener-Policy": "same-origin",
    },
  },
});<p>I was then able to just use this code example with one caveat (<a href="https://github.com/wasmerio/wasmer-js?tab=readme-ov-file#use-with-a-script-tag-without-bundler">https://github.com/wasmerio/wasmer-js?tab=readme-ov-file#use...</a>)<p>I had to update the SDK import with crossorigin="anonymous"</p>
]]></description><pubDate>Fri, 22 Dec 2023 01:45:04 +0000</pubDate><link>https://news.ycombinator.com/item?id=38729891</link><dc:creator>mayyue</dc:creator><comments>https://news.ycombinator.com/item?id=38729891</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=38729891</guid></item><item><title><![CDATA[New comment by mayyue in "Wasmer JavaScript SDK"]]></title><description><![CDATA[
<p>Doing some more due diligence: <a href="https://docs.wasmer.io/javascript-sdk">https://docs.wasmer.io/javascript-sdk</a> <-- this is the one source of truth on the docs.<p>Seems like they still have to update their stuff a fair few places...<p>Now I'm just struggling to use the package registry, none of the copy and paste examples have worked for me, but I'm sure I can figure it out. Will post here if I do.</p>
]]></description><pubDate>Fri, 22 Dec 2023 01:10:10 +0000</pubDate><link>https://news.ycombinator.com/item?id=38729608</link><dc:creator>mayyue</dc:creator><comments>https://news.ycombinator.com/item?id=38729608</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=38729608</guid></item><item><title><![CDATA[New comment by mayyue in "Wasmer JavaScript SDK"]]></title><description><![CDATA[
<p>Note: I tried it with both Bun and Node, neither worked.</p>
]]></description><pubDate>Fri, 22 Dec 2023 00:50:48 +0000</pubDate><link>https://news.ycombinator.com/item?id=38729424</link><dc:creator>mayyue</dc:creator><comments>https://news.ycombinator.com/item?id=38729424</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=38729424</guid></item><item><title><![CDATA[New comment by mayyue in "Wasmer JavaScript SDK"]]></title><description><![CDATA[
<p>Can anyone get the actual JavaScript example posted to work with Node or any JS runtime for that matter?<p>I tried it with Bun and I feel weird showing examples that don't seem to run.<p>> $ npm install @wasmer/sdk<p>```js
import { Wasmer } from "@wasmer/sdk";<p>let cowsay = Wasmer.fromRegistry("cowsay");
let instance = await cowsay.entrypoint.run({
  args: "\"Hello world\""
  });
let output = await instance.wait();
```<p>I also tried to use the <script> approach and I cannot get it working on a local dev server due to CORS.</p>
]]></description><pubDate>Fri, 22 Dec 2023 00:50:21 +0000</pubDate><link>https://news.ycombinator.com/item?id=38729419</link><dc:creator>mayyue</dc:creator><comments>https://news.ycombinator.com/item?id=38729419</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=38729419</guid></item><item><title><![CDATA[New comment by mayyue in "Ask HN: Could you share your personal blog here?"]]></title><description><![CDATA[
<p><a href="https://queercat.github.io/blog" rel="nofollow noreferrer">https://queercat.github.io/blog</a>
i write about random tech stuff that interests me at the time. haven't written in a minute but i'd like to again.<p>Magic The Gathering & 8 billion text files: <a href="https://queercat.github.io/blog/posts/on-magic-arenas-deck-limits" rel="nofollow noreferrer">https://queercat.github.io/blog/posts/on-magic-arenas-deck-l...</a></p>
]]></description><pubDate>Tue, 04 Jul 2023 18:43:44 +0000</pubDate><link>https://news.ycombinator.com/item?id=36590968</link><dc:creator>mayyue</dc:creator><comments>https://news.ycombinator.com/item?id=36590968</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=36590968</guid></item><item><title><![CDATA[New comment by mayyue in "[dead]"]]></title><description><![CDATA[
<p>Twitter has either disabled (or broken) the ability to view accounts and tweets without having an account. Which is... interesting.</p>
]]></description><pubDate>Fri, 30 Jun 2023 07:21:22 +0000</pubDate><link>https://news.ycombinator.com/item?id=36531612</link><dc:creator>mayyue</dc:creator><comments>https://news.ycombinator.com/item?id=36531612</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=36531612</guid></item><item><title><![CDATA[New comment by mayyue in "Deploy your own GPT-3 API with Docker and fly"]]></title><description><![CDATA[
<p>i thought it was interesting and few (3-4) people would like it. i ABSOLUTELY did not expect for anyone to actually look at this with any amount of thought nor care.<p>it is a hack that this works and is guaranteed something that does not make OpenAI happy. rewriting to reflect this.</p>
]]></description><pubDate>Sat, 04 Feb 2023 14:04:21 +0000</pubDate><link>https://news.ycombinator.com/item?id=34654560</link><dc:creator>mayyue</dc:creator><comments>https://news.ycombinator.com/item?id=34654560</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=34654560</guid></item><item><title><![CDATA[Deploy your own GPT-3 API with Docker and fly]]></title><description><![CDATA[
<p>Article URL: <a href="https://github.com/queercat/gpt-api-docker">https://github.com/queercat/gpt-api-docker</a></p>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=34653965">https://news.ycombinator.com/item?id=34653965</a></p>
<p>Points: 24</p>
<p># Comments: 9</p>
]]></description><pubDate>Sat, 04 Feb 2023 12:29:23 +0000</pubDate><link>https://github.com/queercat/gpt-api-docker</link><dc:creator>mayyue</dc:creator><comments>https://news.ycombinator.com/item?id=34653965</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=34653965</guid></item><item><title><![CDATA[New comment by mayyue in "How to handle 8 billion text files"]]></title><description><![CDATA[
<p>been working on making stuff, not sure if i'll finish this and figured i'd share it. :)</p>
]]></description><pubDate>Sat, 04 Feb 2023 08:21:16 +0000</pubDate><link>https://news.ycombinator.com/item?id=34652726</link><dc:creator>mayyue</dc:creator><comments>https://news.ycombinator.com/item?id=34652726</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=34652726</guid></item><item><title><![CDATA[How to handle 8 billion text files]]></title><description><![CDATA[
<p>Article URL: <a href="https://may-blog.fly.dev/posts/on-magic-arenas-deck-limits">https://may-blog.fly.dev/posts/on-magic-arenas-deck-limits</a></p>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=34652725">https://news.ycombinator.com/item?id=34652725</a></p>
<p>Points: 2</p>
<p># Comments: 1</p>
]]></description><pubDate>Sat, 04 Feb 2023 08:21:16 +0000</pubDate><link>https://may-blog.fly.dev/posts/on-magic-arenas-deck-limits</link><dc:creator>mayyue</dc:creator><comments>https://news.ycombinator.com/item?id=34652725</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=34652725</guid></item></channel></rss>