Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
khalidx
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
khalidx
1mo ago
Finally! So happy to see support for running durable objects outside of one provider. Upvoted. The "durable object" concept has been repeatably demonstrated to be a valuable abstraction. "Each object is its own SQLite databas
2.
▲
by
khalidx
2y ago
This is nicely done. 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
3.
▲
by
khalidx
2y ago
This is awesome. I think another audience for this is stock market traders and analysts who usually have Bloomberg and other channels up for watching market news.
4.
▲
by
khalidx
2y ago
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.
5.
▲
by
khalidx
2y ago
We’re building https://rx.run so you don’t have to think about these sorts of things and can just ship your app. If you can write a function, you can deploy to the cloud. No infra or deployments to configure or manage. Storage,
6.
▲
by
khalidx
2y ago
Yeah, this works fine unless you’re using something like DynamoDB or any system which requires you to have knowledge of the key. For relational setups this is the way to go though. I prefer the combo approach though - autoincrementing numbe
7.
▲
by
khalidx
2y ago
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. I enjoyed the MongoDB analyses. Make sure to check it out too as well as the one for R
8.
▲
by
khalidx
2y ago
This a great idea. 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.
9.
▲
by
khalidx
2y ago
The market timing of this ~1 day (same day?) after Supabase GA? Both are good platforms though.
10.
▲
by
khalidx
2y ago
Also: - 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. Like getting a Digital Ocean Droplet or an EC2. Except we're hosting it for you for free and you
11.
▲
Hosted Raspberry Pi Servers (Free) in the Rx Beta
(rx.run)
5 points
by
khalidx
2y ago
|
2 comments
12.
▲
by
khalidx
2y ago
We're giving away free hosted Raspberry Pis for the first ~X :) users that sign up for the https://rx.run beta. rx is a lightweight CLI and runtime that lets you deploy any function instantly as you save it in your editor.
13.
▲
Show HN: Rx, the Deploy-as-you-save client for the cloud
(rx.run)
8 points
by
khalidx
2y ago
|
1 comments
14.
▲
by
khalidx
3y ago
TLDR: Issue with yarn also. 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). With `script-shell` set to zsh: globstar paths w
15.
▲
Major Node.js Pitfall: Globstar paths not matched by shell
(gist.github.com)
1 points
by
khalidx
3y ago
|
3 comments
16.
▲
by
khalidx
3y ago
I'm reporting this here for awareness. Please check your CI pipelines for any issues. TLDR: Fixing the issue with globstar paths (`**/*`) not working when running an npm script: `npm` uses `sh` by default on Linux when running a s
17.
▲
by
khalidx
3y ago
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!
18.
▲
by
khalidx
3y ago
One word. Maps.
19.
▲
by
khalidx
3y ago
Short answer: Yes.
20.
▲
by
khalidx
3y ago
I've been nerd sniped! Emailed you. 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
21.
▲
A Distilled Summary of Sam Altman's "How to Succeed with a Startup"
(gist.github.com)
2 points
by
khalidx
3y ago
|
0 comments
22.
▲
by
khalidx
3y ago
I definitely will!
23.
▲
by
khalidx
3y ago
I just dug a bit deeper as I couldn't remember the differences. They're not referring to the same things. "alwaysStrict", which adds "use strict", is different than TypeScript "strict" mode, which con
24.
▲
by
khalidx
3y ago
This would be a nice direction for the Node community. I wish for this. Especially since so many other platforms are supporting it out of the box.
25.
▲
by
khalidx
3y ago
Is alwaysStrict the same as strict? I think this skips a lot of the strict options that are usually the case for using TypeScript in the first place.
26.
▲
by
khalidx
3y ago
I generally agree with your statement, but have found ts-node incredibly valuable especially when developing servers or CLIs where I want to start/restart the process many times without a build step every time.
27.
▲
by
khalidx
3y ago
Strong agree. This has caused a major rift in the Node ecosystem (and for its packages). All we can do is adapt and keep building. Using Node v20 (LTS) currently with the config linked in the parent post.
28.
▲
by
khalidx
3y ago
I agree that the migration experience has been subpar! I dropped ESM migration of my packages 2-3 times before finally picking it up again and wrapping it up in a simple guide. Hopefully with the config I shared you’ll find that you can use
29.
▲
by
khalidx
3y ago
You're right, but what guide is easier than "Just add the following files and run npm run dev. You'll be good to go!".
30.
▲
by
khalidx
3y ago
I tried `tsx` but it didn't work for some reason (can't remember why right now). Also, if you've been using `ts-node` and feel comfortable with it, this setup should work for you instead of switching your toolchain.
More ›