HNHacker News
TopNewBestAskShowJobs

cramforce

3,668 karma · joined October 11, 2010

submissionscomments
cramforce··on Death to long-lived static credentials
Author here. Feedback welcome, and would love to hear ideas to bring about the end of static credentials.
cramforce··on fx :Tiny, open, native coding agent.
Harness = the software the agent runs on. This is plain old software. You can trust it as much as any software. Agent = the thing that runs on the harness. It cannot be trusted because it is driven by an LLM
cramforce··on Deepsec
Author here. Let me know if you have questions!
cramforce··on Just-bash: Bash for Agents
I would not over-read into that doc. In practice, the only missing stuff are extreme edge cases of the type that is actually not consistent between other implementations of bash.

In practice it works great. I haven't seen a failed command in a while

[Disclaimer: I made the thing]

cramforce··on Just-bash: Bash for Agents
In practice it is actually extremely fast because there is no process fork. You're talking nanoseconds for common commands

[Disclaimer: I made the thing]

cramforce··on Vercel Fluid Compute
The initiative is really focused on our current workloads like APIs, SSR, etc.

It definitely makes Vercel suitable for a broader set of workloads, though!

cramforce··on Vercel Fluid Compute
The big difference is how the microvm is utilized. Lambda reserves the entire VM to handle a request end to end. Fluid can use a VM for multiple concurrent requests. Since most workloads are often idle waiting for IO, this ends up being much more efficient.

Displaimer: CTO of Vercel here

cramforce··on Vercel Fluid Compute
That's 1 part, yes!

Part 2 is that you can also use an actual server if your workloads happens to be predictable (or is partly predictable). That gives you better cost efficiency for that part of the workload

Displaimer: CTO of Vercel here

cramforce··on Serverless servers: Efficient serverless Node.js with in-function concurrency
Author here. Let me know if you have questions!
cramforce··on Building towards a new default rendering model for web applications
Co-author and CTO of Vercel here. Happy to answer questions!
cramforce··on V0: Generative UI
<CTO of Vercel here>

We're embracing copy-and-paste with the product rather than increasing abstraction. The tool provides the HTML or React code for building the generated UI. The way you actually use it, is by copy-pasting it into your app. From that moment on your workflow and specially debugging workflow is exactly as before. The tool just writes the first 100 lines of code to get you started with a great UI.

cramforce··on v0: Generate UI with simple text prompts
New generations are behind a waitlist, but you can see what the service does on the explore page (and bottom of homepage linked above) https://v0.dev/explore
cramforce··on Vercel Visual Editing: Click-to-edit content for headless CMSes
<CTO of Vercel here>

- You can turn this on without changing the code of your site (just need to activate emitting the metadata in the CMS)

- Supports any framework

- We're working on an open content-source mapping standard that makes the underlying tech available to any CMS, e-commerce system, or other content source.

cramforce··on Vercel Visual Editing: Click-to-edit content for headless CMSes
The editing functionality is delegated to the CMS. Respectively content changes flow through the exact pipeline as changes originated directly from the CMS would. In fact, we allow the CMS to completely control the actual editing experience.

The main point of this feature is that if an employee does find a typo on some article, they can just fix it rather than going to the CMS, finding the actual place where that text is stored, making the change, etc.

cramforce··on Storage on Vercel
Yeah, if you go into the dashboard it gives you a bunch of options for connecting to the DB including the names of the automatically generated environment variables. And that includes POSTGRES_URL which most tools default to.
cramforce··on Storage on Vercel
Yes! Any postgres and redis client will just work. And the blob store has a REST API.
cramforce··on Show HN: AI Playground by Vercel Labs
There are a bunch of examples here https://vercel.com/templates/ai
cramforce··on Show HN: AI Playground by Vercel Labs
There was a problem with some models. I went ahead and fixed them.
cramforce··on Show HN: AI Playground by Vercel Labs
I'm super excited in graphing this over time. Will be interesting to see how the providers develop over the coming months. FWIW we also need TTFB not just tokens per second. The first token is key for UX
cramforce··on Powering a Serverless Web: Vercel Joins AWS Marketplace
<Vercel CTO> So, why this price is there is complicated within the way this marketplace works. In practice, you talk to sales and these figures are irrelevant. From the page: For custom pricing, EULA, or a private contract, please contact awsmarketplace@vercel.com for a private offer.
cramforce··on Powering a Serverless Web: Vercel Joins AWS Marketplace
You can email my first name at our domain!
cramforce··on Powering a Serverless Web: Vercel Joins AWS Marketplace
<Vercel CTO here> It does not mean this immediately. We're currently working with some clients on hybrid solution where a very limited feature set is available in a government context, but the full Vercel feature set is not yet available in AWS Gov Cloud. Definitely happy to have a conversation about it!
cramforce··on Framework-Defined Infrastructure
I think these are all good concerns. Where FdI runs counter to lock-in is applications do not "know" the target platform (as in they don't hard code any dependency on the platform). Respectively, the app is staying portable to every target that the app can deploy to.
cramforce··on Framework-Defined Infrastructure
The way we handle it is to provide a "runtime" within those environments to normalize behavior along the lines that the framework expects.
cramforce··on Framework-Defined Infrastructure
Yeah, good question. For stateful infrastructure the way we are exploring it is basically like: "Hey, it looks like you expect to talk to a database and we've never seen this before. Would you like us to make one?" …and then going forward the mapping is persisted.
cramforce··on Framework-Defined Infrastructure
Author here: Happy to answer questions about the post!
cramforce··on Turbopack, the successor to Webpack
The Turbopack project is led by Tobias Koppers, creator of Webpack
cramforce··on Next.js 13
If you have no alt attribute, then screen readers read the URL!

Empty strings are the way to go for decorative images

cramforce··on Vercel Edge Middleware: Dynamic at the speed of static
Disclaimer: Chief Architect @ Vercel

This is a good summary. Edge Functions bring another set of trade-offs into the mix:

- Startup-time so fast that if you hit a "cold start" it is still fast enough from a human perception (often <30ms attributable to startup)

- Global by default

- Cheaper on a per invocation

- No limits on concurrent invocations

BUT

- Restricted API set, no node.js API support like Buffers or filesystem access

- Smaller max binary size

- Lower available CPU quota per request

- Lower max RAM usage

- Lower CPU-

cramforce··on Bunny fonts – privacy respecting drop-in replacement for Google Fonts
It's super trivial to outsource the sub setting to Google Fonts. Just request their CSS and curl the font files referenced in it. If that is too tedious, build a small proxy.
Page 1 of 7Next →