Better HN
topnewbestaskshowjobs
Log inSign up

izakfr

71 karma · joined Feb 24, 2023 (3y ago) · 46 submissions

learning and growing
Submissions

1.

Curated Website Design Examples(repaint.com ↗)

2 points · by izakfr · 3mo ago · discuss

2.

GPT 5.6 Sol 20% price reduction(developers.openai.com ↗)

94 points · by izakfr · 3mo ago · 78 comments

3.

How to Keep SEO Traffic When You Redesign Your Website(repaint.com ↗)

3 points · by izakfr · 5mo ago · discuss

comment 1y ago · link · parent

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!

comment 1y ago · link · parent

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?

comment 1y ago · link · parent

This is really awesome, great job!

comment 2y ago · link · parent

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.

comment 2y ago · link · parent

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

}

comment 2y ago · link · parent

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.

comment 2y ago · link · parent

Just updated the repo. Thanks for the clarification.

comment 2y ago · link · parent

Yeah that's a good point. We meant application config. I will change the repo's description to reflect this.

comment 2y ago · link · parent

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.

comment 2y ago · link · parent

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.

14.

Show HN: Varse – Simple remote application config(github.com ↗)

38 points · by izakfr · 2y ago · 23 comments

15.

Show HN: Repaint – A visual editor for HTML and CSS(repaint.com ↗)

7 points · by izakfr · 2y ago · discuss

comment 2y ago · link · parent

The two-way sync does seem to be another problem with these export tools. Thanks for sharing, I'll take a look!

17.

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

3 points · by izakfr · 2y ago · 7 comments

comment 2y ago · link · parent

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.

comment 2y ago · link · parent

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.

comment 2y ago · link · parent

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.

comment 2y ago · link · parent

Wow, this is really cool! Thanks for sharing.

comment 2y ago · link · parent

At the top of this post there is a link to the playground.

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

comment 2y ago · link · parent

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.

comment 2y ago · link · parent

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.

comment 2y ago · link · parent

The engine is written in Typescript.

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

comment 2y ago · link · parent

We added a link to a playground in the post so that you can try Repaint without creating an account.

comment 2y ago · link · parent

This has been linked in the comments already, but check this out: https://faultlore.com/blah/text-hates-you/

comment 2y ago · link · parent

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?

comment 2y ago · link · parent

That's the default speed that Loom plays, unfortunately we can't update it.

comment 2y ago · link · parent

Thanks for the screenshot and info, we'll fix this!
12