News for hackers. Stuff that matters.

izakfr

This looks cool! Stablecoin on-ramps are still not perfect. I think it's important to meet customers where they're at, so a lot of the banking-centric onboarding options won't work everywhere. Don't really understand a lot of the criticism on this thread, seems to mostly be caused by the "crypto = bad" opinion. Good luck with Karsa, keep up the good work!
Re:Show HN: Vigilant - Blazing fast dev-friendly logs on Friday January 24, 2025 @12:00PM (#42815067)
CTO of Vigilant here. Does anyone have ideas on how to do versioning for an SDK that you change often? Would putting new features in a "beta" release version make sense?
Re:Show HN: A playable game of Tetris inside a PDF on Thursday January 09, 2025 @12:46PM (#42648022)
This is really awesome, great job!
Re:Show HN: Varse – Simple remote application config on Tuesday November 05, 2024 @12:40PM (#42053574)
Thank you for the feedback, this is helpful!

One of the features we're excited about adding is a way to cache values locally. Having control of cache ttl and refresh intervals would be a must if we added that. You're right that the tool should just work without the developer worrying about affecting latency.

Re:Show HN: Varse – Simple remote application config on Tuesday November 05, 2024 @12:09PM (#42053319)
You could make a variable like `rollout_percent` that is an number. It could be set to 1. Then in your app you could do something like:

const rollout_percent = await varse_client.getNumber('rollout_percent');

const random_number = Math.random() * 100;

if (random_number <= rollout_percent) {

// do gated action and will trigger for 1% of users when rollout_percent === 1

}

Re:Show HN: Varse – Simple remote application config on Tuesday November 05, 2024 @12:00PM (#42053229)
The axios point is helpful, thank you for mentioning it. I'll make a bug ticket to fix.

Also, we should probably put restrictions the keyname scheme. Ideally, it should be something readable.

Re:Show HN: Varse – Simple remote application config on Tuesday November 05, 2024 @11:42AM (#42053008)
Just updated the repo. Thanks for the clarification.
Re:Show HN: Varse – Simple remote application config on Tuesday November 05, 2024 @11:39AM (#42052965)
Yeah that's a good point. We meant application config. I will change the repo's description to reflect this.
Re:Show HN: Varse – Simple remote application config on Tuesday November 05, 2024 @11:39AM (#42052955)
Feature Flags looks like it's crafted around automated rollouts. Varse was designed to be more manual, just for reading / writing key - value pairs. You can use it to store long-lived variables like database_url. It could also be used for short lived variables like percent_db_migration_rollout.

Have you used Feature Flags in the past? I'm curious what your experience was.

Re:Show HN: Varse – Simple remote application config on Tuesday November 05, 2024 @11:20AM (#42052759)
It's a variable or config that gets injected into a server at runtime. At least that's what I've heard it called in the past. I think it's interchangeable with environment variable.

Show HN: Varse – Simple remote application config

https://github.com/varse-io/varse

Hey HN,We wanted a simple way to update application configs, without redeploying. We wanted to remotely set variables, and read them in our application. We created Varse to do this.Varse has a dashboard for creating key - value pairs and an SDK to read them. It's un-opinionated and allows for strings, booleans, or even json objects to be stored.We have instructions for running it yourself. We...

( Read More... | 23 comments | 14 points | on HN )

Show HN: Repaint – A visual editor for HTML and CSS

https://www.repaint.com/home

We’re Izak and Ben the founders of Repaint (YC S23). Repaint is an editor, like Figma, that natively exports code.We launched Repaint on HN a little over a month ago. At that point, it was a website builder. There was a lot of feedback that Repaint should directly export code. We took this feedback and decided to change the editor.We completely cut website hosting and decided to focus solely on...

( Read More... | no comments | 3 points | on HN )
Re:Ask HN: Why don't you like Figma to code? on Wednesday October 16, 2024 @12:37PM (#41861090)
The two-way sync does seem to be another problem with these export tools. Thanks for sharing, I'll take a look!

Ask HN: Why don't you like Figma to code?

It's a common sentiment that Figma to code tools don't work well. What exactly is bad about the code that these tools generate? Is it that the code doesn't look consistent with how'd you write it?Plugins either seem to either provide too little detail (Figma Dev mode) or feel too bloated (Anima).Has this been your experience as well? Do you have any alternatives that you've liked?

( Read More... | 7 comments | 2 points | on HN )
Re:Show HN: Modern Benchmarking Tooling for JavaScript on Saturday September 28, 2024 @05:42PM (#41683189)
This is awesome! I’ve been working on optimizing a javascript library recently and am feeling the pain of performance testing. I’ll check this out.
Re:Show HN: Repaint – a WebGL based website builder on Wednesday September 04, 2024 @10:39AM (#41446348)
Since almost all websites use HTML / CSS, its the output format we wanted to target. If you don't use HTML it breaks things like SEO, accessibility, etc.
Re:Show HN: Repaint – a WebGL based website builder on Wednesday September 04, 2024 @10:36AM (#41446316)
Our current API is design in the editor -> HTML / CSS. Exposing the internal data structure wouldn't work well. We've changed the structure multiple times in the past few months. We have plans to change it rather dramatically in the future.
Re:Show HN: Repaint – a WebGL based website builder on Wednesday September 04, 2024 @10:19AM (#41446163)
Wow, this is really cool! Thanks for sharing.
Re:Show HN: Repaint – a WebGL based website builder on Wednesday September 04, 2024 @10:18AM (#41446145)
At the top of this post there is a link to the playground.

Here's the link: https://app.repaint.com/playground

Re:Show HN: Repaint – a WebGL based website builder on Wednesday September 04, 2024 @10:17AM (#41446132)
Yes, repaint.com is made in Repaint.

What do you mean drawn live? The content is animated, but is still present in the DOM for indexing purposes.

Re:Show HN: Repaint – a WebGL based website builder on Wednesday September 04, 2024 @10:13AM (#41446084)
We actually looked into Tldraw. I read a lot of the source code and their editor is impressive. We ran into performance problems at around 1000 nodes when panning and zooming. After seeing that, we decided to make the jump to WebGL.
Re:Show HN: Repaint – a WebGL based website builder on Wednesday September 04, 2024 @10:07AM (#41446021)
The engine is written in Typescript.

Here's a good place to start for the basics: https://webglfundamentals.org/

Re:Show HN: Repaint – a WebGL based website builder on Wednesday September 04, 2024 @10:06AM (#41446012)
We added a link to a playground in the post so that you can try Repaint without creating an account.
Re:Show HN: Repaint – a WebGL based website builder on Wednesday September 04, 2024 @10:01AM (#41445957)
This has been linked in the comments already, but check this out: https://faultlore.com/blah/text-hates-you/
Re:Show HN: Repaint – a WebGL based website builder on Wednesday September 04, 2024 @09:28AM (#41445582)
What makes you want to host the website outside of Repaint? Is it related to website performance? We want to do things like optimize website speed and use CDNs to cache images. Is there something specific you need a hosting platform to have?
Re:Show HN: Repaint – a WebGL based website builder on Tuesday September 03, 2024 @07:28PM (#41440341)
That's the default speed that Loom plays, unfortunately we can't update it.
Re:Show HN: Repaint – a WebGL based website builder on Tuesday September 03, 2024 @07:17PM (#41440278)
Thanks for the screenshot and info, we'll fix this!

Older »