Better HN
topnewbestaskshowjobs
Log inSign up

albertgao

97 karma · joined Oct 27, 2016 (10y ago) · 80 submissions

Submissions

comment 4y ago · link · parent

Similar idea: https://twitter.com/albertgao/status/1582402385569525761

comment 4y ago · link · parent

Have the similar thought before:

https://twitter.com/albertgao/status/1582402385569525761?s=4...

comment 4y ago · link · parent

Native app , or, desktop app… it’s already there for decades….

comment 4y ago · link · parent

Request validation is the probably the most boring but critical layer of any web framework. Today I will show you how to do it right in gin framework in golang.

comment 5y ago · link · parent

Simply because Rails is not designed to solve frontend problem where complex user interactions and client side state are included, not to mention partial rendering and transition. Rails is a backend framework after all, spitting a HTML is all it can do in terms of a frontend part. Just don’t know why you think you can solve all the modern frontend user interaction with a backend framework like rails and Django,,,,,,,,,,,,,,

comment 5y ago · link · parent

Because in 21st century, not everyone likes a website with a lower-bar rendering experience… SPA or hybrid rendering is just plain better, but I get the point where time is limited for human being, so if modern frontend is hard to grasp for you, perfectly to stick with old tech. Pretty safe.

comment 5y ago · link · parent

Once u have enough experience in AWS tooling world, Amplify is probably the last one you want to use for your product, just so unpolished…..

comment 5y ago · link · parent

Backend is probably a lot easier than the frontend, which is why you can see service like hasura and supabase. Backend is a highly patternized work, which is why it can be low to no code, whereas front end as a service is merely just deployment as a service.

9.

The evil pattern of Redux that reduces boilerplate(albertgao.xyz ↗)

1 points · by albertgao · 6y ago · discuss

10.

How to implement Relay node in GraphQL(albertgao.xyz ↗)

2 points · by albertgao · 6y ago · discuss

11.

How to test react-hook-form with react-native-testing-library(albertgao.xyz ↗)

1 points · by albertgao · 6y ago · discuss

comment 6y ago · link · parent

no worries, it's their goal :)

comment 6y ago · link · parent

the DSL is only for table management, and pretty similar to GraphQL type definition

The ORM layer is not a DSL but some nicely done JS/TS functions

comment 6y ago · link · parent

I love both Prisma 2 and Hasura! 2 awesome products!

comment 6y ago · link · parent

Isn't a DB naturally embrace 'visually'? I mean, there is a table. Every time I think of a table, I get a picture in my brain... xD

comment 6y ago · link · parent

You need to try it 1st dude...

There is no query based language, the runtime API is generated from your DB layer, and is fully TS/JS, so there is no new language to learn. It is just TS/JS.

You don't know which API to use? Type a dot and all APIs is there, this is called Intellisense.

So, it is not `like every other multi-SQL-flavor-SQL ORM and query builder`

`I think the best approach to this problem is a single-SQL-flavor query builder that attempts to match SQL as closely as possibly`, you do not work with GraphQL, do you...

Knex. I think Objection.js is much better.

17.

Ask HN: Do you have a SaaS running in production with a heavy use of Amplify.js?

4 points · by albertgao · 6y ago · discuss

18.

Setup Monorepo via Yarn Workspace for Serverless and Expo with TypeScript(albertgao.xyz ↗)

1 points · by albertgao · 6y ago · discuss

19.

A 7KB AWS lambda Node.js library with zero runtime dependencies(npmjs.com ↗)

123 points · by albertgao · 6y ago · 59 comments

20.

How to apply different layout to React Router routes(albertgao.xyz ↗)

1 points · by albertgao · 6y ago · discuss

21.

How to Test React-Redux Hooks via Jest(albertgao.xyz ↗)

2 points · by albertgao · 7y ago · discuss

22.

How to Update Apollo Cache via React Hooks After Calling REST API(albertgao.xyz ↗)

2 points · by albertgao · 7y ago · discuss

23.

Reuse react router routes constants with hooks when navigating(albertgao.xyz ↗)

1 points · by albertgao · 7y ago · discuss

24.

Handle AWS lambda error with API gateway using TypeScript in a clean way(albertgao.xyz ↗)

1 points · by albertgao · 7y ago · discuss

25.

Use stage to manage environment variables in Serverless framework(albertgao.xyz ↗)

1 points · by albertgao · 7y ago · discuss

26.

How to dump remote dokku-mongodb and restore local instance(albertgao.xyz ↗)

1 points · by albertgao · 7y ago · discuss

27.

A style agnostic components library with a flexible and extendable API(github.com ↗)

1 points · by albertgao · 7y ago · discuss

28.

Google drive want to screw up Onedrive, or I miss something here(twitter.com ↗)

4 points · by albertgao · 7y ago · discuss

123