<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: khalidx</title><link>https://news.ycombinator.com/user?id=khalidx</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Fri, 07 Aug 2026 07:17:53 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=khalidx" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[New comment by khalidx in "Celld: Self-hosted, distributed Durable Objects"]]></title><description><![CDATA[
<p>Finally!<p>So happy to see support for running durable objects outside of one provider. Upvoted.<p>The "durable object" concept has been repeatably demonstrated to be a valuable abstraction.<p>"Each object is its own SQLite database, addressed by name and replicated to an S3-compatible bucket you own" -- this concept can take you a long way, both in its power and simplicity.</p>
]]></description><pubDate>Wed, 05 Aug 2026 21:17:46 +0000</pubDate><link>https://news.ycombinator.com/item?id=49189135</link><dc:creator>khalidx</dc:creator><comments>https://news.ycombinator.com/item?id=49189135</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49189135</guid></item><item><title><![CDATA[New comment by khalidx in "Show HN: Lfi – a lazy functional sync, async, and concurrent iteration library"]]></title><description><![CDATA[
<p>This is nicely done.<p>One function I've written that I frequently use is a generic iterate <T> function which (in JS/TS land) allows you to loop over a T[], Array<T>, ArrayLike<T>, Iterable<T>, AsyncIterable<T>, including generators and async generators.<p>It is just easier to always be able to write: "for await (const item of iterate(iterable))" in most places, without worrying about the type of the item I am looping over.<p>I like the reducers and collectors in your library! Going to try it out.<p>Also, something new I discovered is the Array.fromAsync() method in JS, which is like Array.from() but for async values. I don't think it is available in all browsers/runtimes yet though.</p>
]]></description><pubDate>Mon, 16 Dec 2024 14:00:34 +0000</pubDate><link>https://news.ycombinator.com/item?id=42431003</link><dc:creator>khalidx</dc:creator><comments>https://news.ycombinator.com/item?id=42431003</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=42431003</guid></item><item><title><![CDATA[New comment by khalidx in "Show HN: A free multiviewer to watch major news events like elections"]]></title><description><![CDATA[
<p>This is awesome.<p>I think another audience for this is stock market traders and analysts who usually have Bloomberg and other channels up for watching market news.</p>
]]></description><pubDate>Wed, 06 Nov 2024 16:44:57 +0000</pubDate><link>https://news.ycombinator.com/item?id=42065019</link><dc:creator>khalidx</dc:creator><comments>https://news.ycombinator.com/item?id=42065019</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=42065019</guid></item><item><title><![CDATA[New comment by khalidx in "Ask HN: How are you deploying your lambdas these days?"]]></title><description><![CDATA[
<p>I wanted to expand and say that if you are keen on writing and managing infra and running it yourself, besides Serverless Framework, SST, CDK, arc.codes, and Terraform are all good options.</p>
]]></description><pubDate>Fri, 07 Jun 2024 08:32:06 +0000</pubDate><link>https://news.ycombinator.com/item?id=40606566</link><dc:creator>khalidx</dc:creator><comments>https://news.ycombinator.com/item?id=40606566</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=40606566</guid></item><item><title><![CDATA[New comment by khalidx in "Ask HN: How are you deploying your lambdas these days?"]]></title><description><![CDATA[
<p>We’re building <a href="https://rx.run" rel="nofollow">https://rx.run</a> so you don’t have to think about these sorts of things and can just ship your app.<p>If you can write a function, you can deploy to the cloud. No infra or deployments to configure or manage. Storage, auth, payments, and more are all built right in.<p>Currently in beta and TypeScript only but support for all mainstream languages coming soon.</p>
]]></description><pubDate>Fri, 07 Jun 2024 08:21:57 +0000</pubDate><link>https://news.ycombinator.com/item?id=40606497</link><dc:creator>khalidx</dc:creator><comments>https://news.ycombinator.com/item?id=40606497</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=40606497</guid></item><item><title><![CDATA[New comment by khalidx in "You'll regret using natural keys"]]></title><description><![CDATA[
<p>Yeah, this works fine unless you’re using something like DynamoDB or any system which requires you to have knowledge of the key.<p>For relational setups this is the way to go though. I prefer the combo approach though - autoincrementing numbers plus a UUID in another column.</p>
]]></description><pubDate>Thu, 06 Jun 2024 01:38:09 +0000</pubDate><link>https://news.ycombinator.com/item?id=40592543</link><dc:creator>khalidx</dc:creator><comments>https://news.ycombinator.com/item?id=40592543</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=40592543</guid></item><item><title><![CDATA[New comment by khalidx in "Jepsen: Datomic Pro 1.0.7075"]]></title><description><![CDATA[
<p>Oh, boy, have I been waiting for this one! I've been building my own datomic-like datastore recently and this is going to be useful. Reading it now.<p>I enjoyed the MongoDB analyses. Make sure to check it out too as well as the one for Redis, RethinkDB, and others.<p>Would be great if there was an analysis done for rqlite/dqlite or turso/libsql at some point in the future.</p>
]]></description><pubDate>Thu, 16 May 2024 16:23:57 +0000</pubDate><link>https://news.ycombinator.com/item?id=40380194</link><dc:creator>khalidx</dc:creator><comments>https://news.ycombinator.com/item?id=40380194</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=40380194</guid></item><item><title><![CDATA[New comment by khalidx in "Show HN: Tailwind Nested VSCode Extension"]]></title><description><![CDATA[
<p>This a great idea.<p>You could also add a collapse toggle ">" to the classname line that will open the focus view (instead of the keyboard toggle). I think the VSCode API supports it.</p>
]]></description><pubDate>Sun, 21 Apr 2024 18:12:54 +0000</pubDate><link>https://news.ycombinator.com/item?id=40107874</link><dc:creator>khalidx</dc:creator><comments>https://news.ycombinator.com/item?id=40107874</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=40107874</guid></item><item><title><![CDATA[New comment by khalidx in "Neon Serverless Postgres is generally available"]]></title><description><![CDATA[
<p>The market timing of this ~1 day (same day?) after Supabase GA? Both are good platforms though.</p>
]]></description><pubDate>Mon, 15 Apr 2024 14:27:37 +0000</pubDate><link>https://news.ycombinator.com/item?id=40040966</link><dc:creator>khalidx</dc:creator><comments>https://news.ycombinator.com/item?id=40040966</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=40040966</guid></item><item><title><![CDATA[New comment by khalidx in "Hosted Raspberry Pi Servers (Free) in the Rx Beta"]]></title><description><![CDATA[
<p>Also:<p>- It'll be hosted in our data center in the USA.
- It will have 4GB RAM, 20+GB SSD, super fast internet, and lots of bandwidth.<p>Like getting a Digital Ocean Droplet or an EC2. Except we're hosting it for you for free and you can deploy as many applications as you want to it.</p>
]]></description><pubDate>Mon, 15 Apr 2024 14:05:29 +0000</pubDate><link>https://news.ycombinator.com/item?id=40040710</link><dc:creator>khalidx</dc:creator><comments>https://news.ycombinator.com/item?id=40040710</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=40040710</guid></item><item><title><![CDATA[New comment by khalidx in "Hosted Raspberry Pi Servers (Free) in the Rx Beta"]]></title><description><![CDATA[
<p>We're giving away free hosted Raspberry Pis for the first ~X :) users that sign up for the <a href="https://rx.run" rel="nofollow">https://rx.run</a> beta.<p>rx is a lightweight CLI and runtime that lets you deploy any function instantly as you save it in your editor. It’s fast, simple, and takes care of setting up all your cloud infrastructure.<p>Currently I personally host ~20 or so web and scheduled applications on a Raspberry Pi. It just runs in a closet, has a fan on it to keep it cool, and is super fast. I basically never check on it. It is locked down for security, has scripts to automatically run services on restart, and to keep stuff updated.<p>Way better than dealing with EC2 or Lambda. Lets me ship stuff fast, THEN I can think about scaling later and paying for expensive cloud services and databases (after ACTUALLY having users).<p>I want more people to experience this! You don't need cloud and microservices and Kubernetes (come on) for everything.<p>Sign up for the beta here: <a href="https://rx.run" rel="nofollow">https://rx.run</a></p>
]]></description><pubDate>Mon, 15 Apr 2024 14:03:26 +0000</pubDate><link>https://news.ycombinator.com/item?id=40040681</link><dc:creator>khalidx</dc:creator><comments>https://news.ycombinator.com/item?id=40040681</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=40040681</guid></item><item><title><![CDATA[Hosted Raspberry Pi Servers (Free) in the Rx Beta]]></title><description><![CDATA[
<p>Article URL: <a href="https://rx.run">https://rx.run</a></p>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=40040680">https://news.ycombinator.com/item?id=40040680</a></p>
<p>Points: 5</p>
<p># Comments: 2</p>
]]></description><pubDate>Mon, 15 Apr 2024 14:03:26 +0000</pubDate><link>https://rx.run</link><dc:creator>khalidx</dc:creator><comments>https://news.ycombinator.com/item?id=40040680</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=40040680</guid></item><item><title><![CDATA[Show HN: Rx, the Deploy-as-you-save client for the cloud]]></title><description><![CDATA[
<p>rx is a lightweight CLI and runtime that lets you deploy any function instantly as you save it in your editor. It’s fast, simple, and takes care of setting up all your cloud infrastructure.<p>The best dev experience with everything you need built-in:
- auth
- permissions
- payments
- secrets
- storage
- logs
- email & SMS
- and way more<p>Related beta launch tweet: <a href="https://x.com/KhalidZoabi/status/1777673531972608249" rel="nofollow">https://x.com/KhalidZoabi/status/1777673531972608249</a><p>Wanted to show it to you guys, gauge interest, and get some feedback.<p>There's a large roadmap of upcoming stuff.<p>Feel free to DM me on X for more information!</p>
<hr>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=39978704">https://news.ycombinator.com/item?id=39978704</a></p>
<p>Points: 8</p>
<p># Comments: 1</p>
]]></description><pubDate>Tue, 09 Apr 2024 12:30:11 +0000</pubDate><link>https://rx.run</link><dc:creator>khalidx</dc:creator><comments>https://news.ycombinator.com/item?id=39978704</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=39978704</guid></item><item><title><![CDATA[New comment by khalidx in "Major Node.js Pitfall: Globstar paths not matched by shell"]]></title><description><![CDATA[
<p>TLDR: Issue with yarn also.<p>I just tested with yarn, and the same issue exists unless the yarn or npm config option for `script-shell` is set to zsh (like the solution described in the link).<p>With `script-shell` set to zsh: globstar paths work with subdirectories.
Without `script-shell` set (the default on linux): only top-level paths work.<p>The command I ran was `yarn test` with this test script in the scripts section of package.json: `node --test src/**/*.test.ts`.<p>I don't want to turn this into a GitHub issue thread, but also didn't want to be dismissive. I hope that helps.</p>
]]></description><pubDate>Thu, 08 Feb 2024 09:42:30 +0000</pubDate><link>https://news.ycombinator.com/item?id=39300092</link><dc:creator>khalidx</dc:creator><comments>https://news.ycombinator.com/item?id=39300092</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=39300092</guid></item><item><title><![CDATA[New comment by khalidx in "Major Node.js Pitfall: Globstar paths not matched by shell"]]></title><description><![CDATA[
<p>I'm reporting this here for awareness. Please check your CI pipelines for any issues.<p>TLDR:<p>Fixing the issue with globstar paths (`**/*`) not working when running an npm script:<p>`npm` uses `sh` by default on Linux when running a script with `npm run`. The thing is, if you are using globstar paths in your script, like `node --test src/**/*.test.js`, paths that are more than one-directory-level deep won't be expanded!<p>This is not an issue with Node.js or npm per say, but with how `sh` works by default. The thing is, this isn't the behavior that most people _expecting_ when setting up their npm scripts.<p>The link in this submission includes a description of this "pitfall", a resolution for Linux, and some other notes.<p>I strongly recommend checking your important repositories and CI pipelines for any issues, like tests getting skipped or assets not getting bundled (since their globstar paths are not being picked up by `sh`). Basically just check for any `package.json` that has `**/*` in it. You may also want to check that all your other scripts are being run with bash (with the `shopt globstar` setting set to `on` -- or just use `zsh`).<p>Sorry for the drama -- but I just _KNOW_ that this is being overlooked all over the place.</p>
]]></description><pubDate>Thu, 08 Feb 2024 09:21:54 +0000</pubDate><link>https://news.ycombinator.com/item?id=39299964</link><dc:creator>khalidx</dc:creator><comments>https://news.ycombinator.com/item?id=39299964</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=39299964</guid></item><item><title><![CDATA[Major Node.js Pitfall: Globstar paths not matched by shell]]></title><description><![CDATA[
<p>Article URL: <a href="https://gist.github.com/khalidx/70f14efa145da4e8d6c4ffb9cb9911bb">https://gist.github.com/khalidx/70f14efa145da4e8d6c4ffb9cb9911bb</a></p>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=39299963">https://news.ycombinator.com/item?id=39299963</a></p>
<p>Points: 1</p>
<p># Comments: 3</p>
]]></description><pubDate>Thu, 08 Feb 2024 09:21:54 +0000</pubDate><link>https://gist.github.com/khalidx/70f14efa145da4e8d6c4ffb9cb9911bb</link><dc:creator>khalidx</dc:creator><comments>https://news.ycombinator.com/item?id=39299963</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=39299963</guid></item><item><title><![CDATA[New comment by khalidx in "Show HN: We're working on a startup to reduce space debris"]]></title><description><![CDATA[
<p>I've been following this issue for some time. Having a large trash compactor/incinerator in space sounds so cool. Would love to help or join the team!</p>
]]></description><pubDate>Wed, 24 Jan 2024 03:34:32 +0000</pubDate><link>https://news.ycombinator.com/item?id=39113303</link><dc:creator>khalidx</dc:creator><comments>https://news.ycombinator.com/item?id=39113303</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=39113303</guid></item><item><title><![CDATA[New comment by khalidx in "I'm 24, but I used a Nokia 'dumbphone' for the whole 2010s"]]></title><description><![CDATA[
<p>One word. Maps.</p>
]]></description><pubDate>Mon, 08 Jan 2024 17:46:53 +0000</pubDate><link>https://news.ycombinator.com/item?id=38915475</link><dc:creator>khalidx</dc:creator><comments>https://news.ycombinator.com/item?id=38915475</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=38915475</guid></item><item><title><![CDATA[New comment by khalidx in "Ask HN: Who is hiring? (December 2023)"]]></title><description><![CDATA[
<p>Short answer: Yes.</p>
]]></description><pubDate>Fri, 08 Dec 2023 21:30:37 +0000</pubDate><link>https://news.ycombinator.com/item?id=38574732</link><dc:creator>khalidx</dc:creator><comments>https://news.ycombinator.com/item?id=38574732</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=38574732</guid></item><item><title><![CDATA[New comment by khalidx in "Ask HN: Who is hiring? (December 2023)"]]></title><description><![CDATA[
<p>I've been nerd sniped! Emailed you.<p>Also, the current theme I'm seeing across many companies is "we have added lots of engineers/products/vendors and we need to focus on building a platform (infra, automation) that lets us ship and not get in the way".<p>It seems industry went from un-bundling engineers --> sre, devops, network, security, developers --> re-bundling much of this knowledge back into a new role/practice area called "platform engineering".</p>
]]></description><pubDate>Sat, 02 Dec 2023 15:25:16 +0000</pubDate><link>https://news.ycombinator.com/item?id=38499185</link><dc:creator>khalidx</dc:creator><comments>https://news.ycombinator.com/item?id=38499185</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=38499185</guid></item></channel></rss>