Hacker Newsnew | past | comments | ask | show | jobs | submit | ahaapple's commentslogin

Could you tell me your input? let me check it.

This is probably because the generated code uses unsupported components. You can click the 'Auto fix error' button to fix it


I did that 2x, and it gave me the same error.


This is a demo video of PageGen AI: https://www.youtube.com/watch?v=uKUbb-Hh1MM


Powerful Features That Set PageGen Apart:

Real-Time Page Preview : Instantly render and preview generated Page

AI-Powered Content Search : Enrich Page with relevant content using our advanced AI search functionality

Image-Driven Page Generation : Create UI components and pages that closely match your reference images

File-to-Page Generation : Transform any file content into a beautifully structured web page with AI parsing and AI summary

Code Editor Integration : Edit and refine your generated code with VSCode-like editing capabilities, complete with syntax highlighting and auto-completion

React + TailWind + Shadcn UI Integration : Leverage AI-generated code using the most popular front-end stack: React, TailWind, and Shadcn UI

Animation Support : Create engaging web pages with built-in animation effects, bringing your content to life with smooth transitions and dynamic elements

One-Click Page Publishing : Publish and share your UI to the web instantly with a single click

Responsive Code and Preview : Preview your UI across various devices in real-time, ensuring perfect adaptation to all screen sizes

Dark Mode Code and Preview : Effortlessly generate AI-powered UI code with built-in dark mode support, allowing you to preview both light and dark modes instantly

Page Screenshot Export : Easily export and share your UI designs as high-quality screenshots for seamless collaboration

Smart Error Correction : While PageGen's advanced AI model and sophisticated code rules strive for perfection, occasional errors may occur. Our Smart Error Correction feature allows you to instantly fix any issues with just one click


I'm going to switch from buttondown to resend


1. Compared with column storage, the performance of vectorized search is relatively poor.

2. Postgre is not serverless, so it is not easy to separate read and write, and it is not easy to auto scaling


> 2. Postgre is not serverless, so it is not easy to separate read and write, and it is not easy to auto scaling

By the time you're hitting the limitations of vertical scaling a single do-everything instance of Postgres on cloud infrastructure, you're making boatloads of money and can afford to stand up something else for search. And besides which, creating read replicas horizontally is very doable.

Though to be fair, I wouldn't implement moderately complex search on postgres, just because there are better tools for the job. Keeping data consistent between multiple systems though is "involved", and there's therefore a good argument for doing search in Postgres if your needs are simple.


You don't have to be that big for mixed workloads to cause issues for a do-everything PG instance.

Imagine a scenario where read-heavy but infrequent search queries end up pushing, say, your sessions table out of cache.

Postgres has no facilities for earmarking cache for one table vs another, so the noisy neighbor problem is real, and hard to fix. You can throw money/ram at it, but that's needlessly expensive if you have some workloads that don't require that level of performance.


You can get 512GB RAM and 96 core machines for $1000 / month and at that point you can throw any workload on it.


Parent comment already mentioned read-replicas.

The main problem I've seen is companies allowing tables to grow enormous because they never partition (by year, for instance) or archive out old stale data.


Multi-master is not common, but it's easy to have a single master and multiple read-only slaves (with failover), though of course you're going to have to configure your application's database/ORM layer to handle multiple servers. That requires a bit of effort, but then you're set for running analytic queries on a completely different database or column store later on if you choose to do so.

I'm not saying you don't need multi-master, but I've worked on several large projects and one Postgres database can handle a lot of traffic. My first solution is to offload analytic queries to read-only instances or pull data into a column store for "offline" processing. Just make sure you don't get stuck into some ancient ORM or application framework.

There are several Kubernetes operators that are moving towards more complex topologies, so I think a lot of innovation and progress is happening somewhat outside of core Postgres itself, building on functionality already present within.


While both points are true now, there is a lot of work happing to bring both column storage and separate compute and storage to Postgres.

The pg_duck project has the eventual aim to implement a column storage engine for Postgres. There are a few steps to get there as it needs to be tied into the Postgres page storage and replication system. So it's not solved by the first version of pg_duck, but the team is incredible and I believe it will happen.

Neon and Oriole (acquired by Supabase) are both open source and separate storage and compute. There is a few steps more for them to go to be truly usable self hosted, but they will get there, and some of the work they are doing will hopefully be upstreamed.



Fixed. It's live now. please check – https://spotlight.thisux.com


I am curious about what great role AI can play in the chartdb project?


Very attractive!


I'm building MemFree, https://www.memfree.me/

The open source project: https://github.com/memfreeme/memfree

An Open Source Hybrid AI Search Engine: Instantly get accurate answers from the internet, bookmarks, notes, and documents. Obtain the most precise answers in the shortest time. With one click, AI indexes your personal knowledge base, eliminating the need to remember or manage it.


What could you do with Open Source MemFree You could deploy your own Hybrid AI Search Engine bases on your bookmarks, notes, and docs You can start by indexing the best resources on a topic and then build a domain-specific AI search engine You can first index all the documents of a website, and then build an intelligent answer assistant for a website


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: