News for hackers. Stuff that matters.

QuiiBz

Re:WebContainers: Dev environments. In your web app on Saturday July 13, 2024 @06:28AM (#40953118)
Sandpack is made by CodeSandbox, not StackBlitz: https://github.com/codesandbox/sandpack
Re:Warp is a modern, Rust-based terminal with AI built in on Thursday June 22, 2023 @11:43AM (#36433924)
They recently raised $50M in a Series B: https://www.warp.dev/blog/warp-drive-series-b
Re:Show HN: Cicada – Write CI/CD Pipelines in TypeScript on Tuesday April 25, 2023 @01:26PM (#35703739)
Cicada looks very promising, congrats. I'm wondering why you choose to use Fly.io for the CI/CD runners, instead of using VPS / baremetal servers that are a lot cheaper? Do you need the edge features that Fly.io offers?
Re:Launch HN: Moonrepo (YC W23) – Open-source build system on Tuesday February 21, 2023 @02:45PM (#34886007)
Thanks for your detailed answer.

> release workflows

Looking forward for this, especially if that also means auto-publishing of NPM packages, Rust crates, etc.

Re:Launch HN: Moonrepo (YC W23) – Open-source build system on Tuesday February 21, 2023 @02:09PM (#34885472)
Congrats on the launch! I've been following Moon since a few months, seems like an interesting project.

Could you explain why any existing project using Turborepo/Nx should switch to Moonrepo? What are the advantages and disadvantages? The support for multiple languages seems like a big advantage.

Re:Ask HN: What Are You Building? on Friday February 10, 2023 @03:22PM (#34745258)
I'm building Lagon, an open-source [1] runtime and platform that allows developers to run TypeScript and JavaScript serverless functions at the Edge, close to users. The runtime uses V8 Isolates and is written from scratch using Rust and rusty_v8 [2], Deno's Rust bindings for V8.

[1] https://github.com/lagonapp/lagon

[2] https://github.com/denoland/rusty_v8

Re:Netlify Acquires Gatsby on Wednesday February 01, 2023 @11:57AM (#34613413)
> We’re excited to integrate Gatsby’s cloud innovations into the Netlify platform

I feel like the acquisition is more focused on Gatsby Cloud than Gatsby (the framework).

Re:Deno vs. Bun performance is rigged on Sunday October 16, 2022 @09:53AM (#33223624)
> How do we know this?

Looking at the source code [0] for Deno HTTP server, they spawn at least one thread for the server to listen and handle requests, before they are sent through a MPSC channel to the thread running the Isolate.

[0]: https://github.com/denoland/deno/blob/07213dec94398aab687afd...

Re:Show HN: I made an Aesthetic Typing app on Saturday October 15, 2022 @03:43PM (#33217953)
Absolutely love the design.
Re:Serverless DNS: Self-hosted DNS resolver at the edge on Saturday July 30, 2022 @09:09AM (#32286491)
I wonder what can this be used for?

Show HN: Brainfuck interpreter using TypeScript types

https://github.com/QuiiBz/tsfuck

Yesterday, I made a Brainfuck interpreter using TypeScript types in ~40 lines of code for fun, because why not. Here's the file to look at: https://github.com/QuiiBz/tsfuck/blob/main/tsfuck.tsIt supports all brainfucks commands, but might not cover some edge cases/have bugs.Have you ever made something similar using TypeScript type system?

( Read More... | no comments | 2 points | on HN )
Re:Twitter Is Down on Thursday July 14, 2022 @08:42AM (#32095295)
It's back up for me (EU, France), was down for about ~30 minutes.
I wonder why the headline and other gradient title are images. Why not a text with linear-gradient and background-clip?
Great news! Feel free to DM me on Twitter (@tomlienard) if you want to chat about this, as I also want to support Next.js in the future for my runtime.
I wonder if we can build a Next.js app with this new `edge-runtime` mode, and host it on any platform that supports `edge-runtime` [0] APIs (like Cloudflare Workers (I think Vercel uses it?) and Deno Deploy).

If yes, that's truly amazing. It'll empower more and more people to run stuff at the Edge. I'm also working on an open-source alternative to the above offers [1], so I would love to be able to run and support Next.js on it.

edit: formatting

[0]: https://edge-runtime.vercel.app/

[1]: https://github.com/lagonapp/serverless

I don't understand why there's two apps, name and domains (doing the same thing?), one redirecting to the other.

Is your startup named OpsFlow (previously digger.dev)? Or is OpsFlow a new product home digger?

> initially

Does that mean you want to roll out your own runtime in the future?

I would love to see more in-depth explanations about Oxygen [0]. I'm currently creating a similar runtime [1] based on V8 Isolates so that would be interesting to compare.

[0]: https://shopify.dev/custom-storefronts/oxygen [1]: https://github.com/lagonapp/serverless/

Re:Ask HN: Pros and cons of V8 isolates? on Wednesday June 15, 2022 @04:31PM (#31759065)
For now, each process runs many isolates - but a single server run many processes. Cloudflare have implemented a similar mechanism [1]:

> Workers are distributed among cordons by assigning each worker a level of trust and separating low-trusted workers from those we trust more highly. As one example of this in operation: a customer who signs up for our free plan will not be scheduled in the same process as an enterprise customer. This provides some defense-in-depth in the case a zero-day security vulnerability is found in V8.

[1] https://blog.cloudflare.com/mitigating-spectre-and-other-sec...

Re:Ask HN: Pros and cons of V8 isolates? on Wednesday June 15, 2022 @04:15PM (#31758850)
Can you give a link to this? Cloudflare (Workers) and Deno (Deploy) both uses v8 isolates for their runtimes, with I believe some significant clients running production code (huge clients like Vercel and Supabase use these solutions)

Edit:

> If you execute untrusted JavaScript and WebAssembly code in a separate process from any sensitive data, the potential impact of SSCA is greatly reduced. Through process isolation, SSCA attacks are only able to observe data that is sandboxed inside the same process along with the executing code, and not data from other processes.

I do run isolates in separate processes to prevent security issues, even if that may not be enough. Still an early prototype for now.

Re:Ask HN: Pros and cons of V8 isolates? on Wednesday June 15, 2022 @04:09PM (#31758773)
I’m currently building a FaaS runtime using v8 isolates, which I hope to open-source soon. That’s actually not that hard since isolates are, isolated from each other.

Performance-wise, it’s also very promising. For a simple hello world, the « cold start » (which is mostly compile time) is around 10ms, and on subsequent requests it runs in 1ms.

Re:GitHub is now free for teams (2020) on Wednesday June 01, 2022 @04:58AM (#31579582)
The blogpost is from two years ago.

Older »