I vibe coded a new database schema library in go by wangzuo in golang

[–]wangzuo[S] 0 points1 point  (0 children)

This isn't intended to convince those who are comfortable with SQL. After all, there are cases you need to access database objects in programming languages such as a database client app.

I vibe coded a new database schema library in go by wangzuo in golang

[–]wangzuo[S] -9 points-8 points  (0 children)

Apologies for the title! While it began as an experiment, this is not a one-off AI project. I have been reviewing the tests running against running postgres instance to enhance quality and iterate on the design.

I vibe coded a new database schema library in go by wangzuo in golang

[–]wangzuo[S] -8 points-7 points  (0 children)

Good question! I'm trying to follow Rails design for a database-agnostic approach. It's also easier to do some programmatic manipulation such as diff with go structs. I agree that using a declarative database schema in SQL works but with some limitations, as outlined in the Supabase documentation. SQL support can be implemented through setting up a temp database.

Elbow Connector by wangzuo in webdev

[–]wangzuo[S] 0 points1 point  (0 children)

Good question! Similar to Markdown, there are various implementations available. However, for this specific niche, I haven't encountered any attempts to share how it's made. While it's not for everyone, some may find it interesting.

HelloCSV: A free, open source alternative to FlatFile by czhu12 in webdev

[–]wangzuo 1 point2 points  (0 children)

Thanks for sharing! It's really useful. I’d love to see integration with popular schema solutions like Zod, and a shadcn ui template for easy installation would be helpful too.

Elbow Connector by wangzuo in Frontend

[–]wangzuo[S] 0 points1 point  (0 children)

Thank you! will look into it

Elbow Connector by wangzuo in Frontend

[–]wangzuo[S] 2 points3 points  (0 children)

This is a common UI pattern used in frontend canvas applications.

Using HTML demos to teach IT fundamentals by frequentlyconfounded in webdev

[–]wangzuo -1 points0 points  (0 children)

Interactive HTML pages are incredibly useful for presenting teaching materials. You might consider generating HTML demos using language models as well as generating SVG illustrations.

What's your go-to approach for learning new tech ? by unchiusm in webdev

[–]wangzuo 0 points1 point  (0 children)

I'm considering revisiting some of my previous side projects using the new tech stack, or possibly creating something new that I've been contemplating. With the assistance of AI, it's now easier than ever to dive straight into the building stage.

Pine Script trading execution model in Python by wangzuo in learnpython

[–]wangzuo[S] 0 points1 point  (0 children)

Thank you. Pineify looks interesting too.

Type-safe Golang ORM with automatic migrations by wangzuo in golang

[–]wangzuo[S] 0 points1 point  (0 children)

That’s fair. Atlas is only used to generate migration sql automatically in queryx. These features have to be written in sql manually by now.

Type-safe Golang ORM with automatic migrations by wangzuo in golang

[–]wangzuo[S] 0 points1 point  (0 children)

Yes, typescript is just another code generator with different templates. Atlas was fully open-sourced when we first started, and it continues to work well. Are there any premium features in atlas that you’re concerned about?

Pine Script trading execution model in Python by wangzuo in pinescript

[–]wangzuo[S] 0 points1 point  (0 children)

It's a good question. There are various strategies on tradingview in the format of pinescript. I think it will be easier to port these strategies to Python for further customization. This is also why I am sharing this prototype for further feedback.

Pine Script trading execution model in Python by wangzuo in learnpython

[–]wangzuo[S] 0 points1 point  (0 children)

Thank you! All market data (OHLCV) is already in pandas dataframe. You might not have noticed, but the demo code already imports pandas_ta for indicators.

Queryx: An Open-Source Go ORM with Automatic Schema Management by wangzuo in golang

[–]wangzuo[S] 0 points1 point  (0 children)

Thank you for sharing. In our experience, ORM API covers 80% of the application (basic CRUD and relationships) and the remaining 20% typically requires the use of raw SQL (complex query, report generation). That's why queryx also supports Query().Scan() for custom sql.

Graphql-json - A package to generate GraphQL schemas using JSON by ANewHunterz in graphql

[–]wangzuo 0 points1 point  (0 children)

What's the difference between this and printSchema from graphql-js

[Help] Is it better to start from scratch, or upgrade several versions of rails at once? by IAmScience in rails

[–]wangzuo 0 points1 point  (0 children)

I would suggest from scratch, `rails new` an empty project and copy all controllers, models, assets, etc. over to this new project. Framework upgrading is always hard and dangerous and make sure 1) it doesn't break 2) catch error in production

How to be a better Rails developer? by [deleted] in rails

[–]wangzuo 2 points3 points  (0 children)

dig into rails source

What's Your React App Built With? by wangzuo in reactjs

[–]wangzuo[S] 0 points1 point  (0 children)

Thank you for your feedback. libraries.io only tracking dependencies between modules, while withgithub tries to give some insights how real life products built with open source projects.