HNHacker News
TopNewBestAskShowJobs

gsvclass

191 karma · joined June 1, 2017

https://twitter.com/dosco

https://github.com/dosco/super-graph

submissionscomments
gsvclass··on REST vs. GraphQL – A search for evidence on which is better
The categories are from ARXIV this is how they have defined stuff. I'm working on adding our own tag layer on top. https://arxiv.org/category_taxonomy
gsvclass··on REST vs. GraphQL – A search for evidence on which is better
The site 42papers.com that serving this link is build with Super Graph a GraphQL to SQL compiler. Tech like this makes GraphQL clearly the easier, faster and better option. I built Super Graph since I wanted something better than REST while building apps and did not want to go down the rabbit hole of GraphQL frameworks where I would still need to write and maintain all the database query code for the app.

I started out not liking GraphQL cause it didn't really reduce the code I needed to write but on digging deeper it seemed to be the best way to represent a data query from an app now only if something could convert that into SQL automagically. This was the motivation for Super Graph.

https://github.com/dosco/super-graph

gsvclass··on Ask HN: What's the best paper you've read in 2020?
I recently made public a personal project https://42papers.com to surface the top trending papers to read.
gsvclass··on TailwindCSS v2.0
I switched from tahyons to tailwinds like 3 years ago and been using it every since on all my React projects. I have tried all the CSS-in-JS stuff etc nothing compares to the dev speed with Tailwinds. Checkout https://42papers.com it's all tailwinds and has a darkmode too.
gsvclass··on How to GraphQL with Ruby, Rails, Active Record, and No N+1
Another way is to run the Super Graph servie alongside your Rails app. Super Graph can decode and use Rails cookies and it's in Go so very fast and lightweight. Super Graph automagically converts GraphQL queries into a single efficient SQL query. https://github.com/dosco/super-graph
gsvclass··on How to seriously read a scientific paper
I'm building https://42papers.com to surfaces top trending papers in Machine Learning and Computer Science. [shameless plug]
gsvclass··on Academic Substack: Open, Free, and Subject to Review
I'm building 42papers.com - Trending Papers in AI / ML / CS
gsvclass··on Prisma Raises $12M Series A
The config file is for when you use Super Graph as a standalone service that you can just deploy to Cloud Run, App Engine, Digital Ocean or whatever. The standalone service is the same core compiler library with a lot more valuable add-ons like auth middlewares, compression, etc.
gsvclass··on Prisma Raises $12M Series A
That almost describes Super Graph. It's not exactly config file driven it can be used as a library within your own GO code and it's configured via a config object. In fact if you look at the example here we're passing null (nil) for the config since unless you want to do something more complex out of the box it just works config is not needed. https://supergraph.dev/docs/home#using-it-in-your-own-code
gsvclass··on Prisma Raises $12M Series A
Also we currently expose a `GraphQL` function that can be used within your own GO apps as a way to replace ORMs and managing SQL. Just write the GraphQL and Super Graph will figure out the join, etc and build the most efficient single SQL query to do the job. We're expanding on this to expose the entire Super Graph service as an API.

GO is a great language for web development (especially API backends) and Super Graph is a natural fit. Using it as a library gives you unlimited flexibility. The link below shows you a GraphQL example fetching posts, comments, threads, votes, etc all related imagine the code you don't have to write and maintain. when you use Super Graph.

https://imgur.com/a/RNnoqXg

gsvclass··on Prisma Raises $12M Series A
FYI Super Graph has a built-in migrations framework and you can write seed scripts in javascript with built-in fake data functions. https://supergraph.dev/docs/seed
gsvclass··on Prisma Raises $12M Series A
Looking for something similar but not VC backed checkout Super Graph. It's very similar and in GO. Also it's not VC funded or even a startup just a good old open source project with a fast growing community.

Super Graph can learn your DB schema and relationships and automatically compile GraphQL to a single efficient SQL query. Use it as a standalone service or a library in your own code. It also works with Rails auth, JWT, Firebase auth, supports OpenCensus tracking and tracing, designed to be high-performance and startup in few milliseconds fro scale to zero environments. It works with all kinds of DB relationships including polymorphic associations, JSON and Array columns, and much more.

https://github.com/dosco/super-graph

gsvclass··on Prisma 2.0 – Type-safe and auto-generated database client
Yup a few startups mostly using the standalone version. One even runs it alongside their Rails app on Google Cloud Run to add a high-performance graphql api to an existing Rails app. I'm speaking to a couple people who want to use it within their traditional GO REST API to query the database instead of using an ORM.
gsvclass··on Prisma 2.0 – Type-safe and auto-generated database client
Use it to replace your ORM in your own GO app. No more having to struggle with joins etc just describe the data in GraphQL and Super Graph will generate the SQL for you.
gsvclass··on Prisma 2.0 – Type-safe and auto-generated database client
For those who rather work in GO checkout Super Graph its an automatic a GraphQL to SQL compiler. It works as a library or a standalone service. Also supports variety of auth schemes like Rails cookies, JWT, Firebase, etc. Super Graph auto-learns your database schemas and relationships. https://github.com/dosco/super-graph
gsvclass··on Ask HN: What startup/technology is on your 'to watch' list?
I'd say my project Super Graph it's a GraphQL to SQL compiler in GO. It saves developers thousands of man-hours and 10x their productivity. 80% of web backend coding is struggling with ORMs, SQL and writing APIs. Super Graph does away with all that. A simple GraphQL queries get you the data you need.

https://github.com/dosco/super-graph

gsvclass··on SQL is a better API language than GraphQL – Convince me otherwise
My response use Super Graph a GraphQL to SQL compiler in GO. https://twitter.com/dosco/status/1250878541849337856
gsvclass··on Hasura raises $9.9M to simplify GraphQL
Not a startup but still a very feature rich GraphQL to SQL compiler service works with Postgres and YugabyteDB. Written in GO. https://github.com/dosco/super-graph
gsvclass··on The dark side of GraphQL: performance
Checkout Super Graph it's a GraphQL to SQL compiler and API service in GO. In production mode it uses prepared statments so no compiling hence very latency. https://github.com/dosco/super-graph
gsvclass··on Show HN: An Instant Go Powered GraphQL API for Postgres. No Code Needed
Also want to mention that it works with Ruby-on-Rails apps and can serve as an instant GraphQL api for your existing Rails app just deploy it alongside the app. Super Graph can decode rails cookies and work with rails session stores to fetch the user id.
gsvclass··on Show HN: An Instant Go Powered GraphQL API for Postgres. No Code Needed
For those that care to know more. Super Graph works as a GraphQL to SQL compiler which also learns the schema and relationships in your DB to turn your GraphQL query into a highly efficient SQL one.
gsvclass··on I’m Peter Roberts, immigration attorney who does work for YC and startups. AMA
I moved from SF to Toronto last year with a Canadian PR. Absolutely love Toronto and miss Cali. My motivation was to get out of a work visa and explore some startup ideas. I have a blog https://movnorth.com to help others who are considering Canada. From traffic to the site and the forums I can tell that a lots of people are going this route.
gsvclass··on The Hitchhiker's Guide to Elm
I built https://bellpluscat.com/ entirely in Elm. It's a database in your browser kinda like a simpler Airtable. It uses Google Drive as it's backend.

Elm let me a single programmer build this in a couple weeks with no runtime issues even after major refactoring to add new features. It was such a pleasure to work on.

gsvclass··on Elm changed my mind about unpopular languages
I built this in browser database app entirely in ELM. Since there is no existing rich component library available I had to write everything including a high performance grid implementation from scratch. The entire app took about a week and has zero runtime bugs since launch. I have to give credit to Elm for most of that.

https://bellpluscat.com/

gsvclass··on An open source GitHub-like platform as an alternative for AWS Lambda
For anyone looking to try this out I would recommend Google Kubernetes cluster (choose the cheap preemptive vm machine type) and you can have a 5 node Kubernetes cluster running for less than 10 bucks a month. Google's new pricing means they don't charge for Kubernetes just for the instances. SanFran can be installed with a single Helm command.

helm install https://raw.githubusercontent.com/dosco/sanfran/master/helm-...

gsvclass··on An open source GitHub-like platform as an alternative for AWS Lambda
A serverless functions platform like SanFran can be deployed on your existing Kubernetes cluster. It will sit besides all your existing apps on there using resources only when needed. You can have many more services (functions) running / deployed than the size of your cluster.

It can be a way for anyone within the organization to deploy a function they need. For example marketing needs a quick endpoint to handle Mailchimp registrations or for Stripe payments. The function will not take up resources on the cluster until its needed. Functions will run in a isolated, devops free environment.

Technically you're not running on top of another framework, your javascript function is just running in a NodeJS instance thats managed there are no extra layers. Your NodeJS instance is running on Kubernetes but then why do I need Kubernetes is an entirely different discussion.

gsvclass··on An open source GitHub-like platform as an alternative for AWS Lambda
From taking a quick look its a great project for trusted environments and smaller use cases. I'm unclear from the documentation how I would scale this for anything more than a single machine without heavy devops overhead and when anyone across the org. runs their own functions where isolation etc is pretty important.
gsvclass··on An open source GitHub-like platform as an alternative for AWS Lambda
I've used Google App Engine + Cloud TaskQueues to build pretty solid pipelines.
gsvclass··on An open source GitHub-like platform as an alternative for AWS Lambda
Checkout SanFran - Lambda like serverless functions platform for Kubernetes https://github.com/dosco/sanfran

The main focus of its design was fast function startup time and horizontal scaling.

Fast function startup is done with a combination of pool of warm containers and instant container recycling.

As for horizontal scaling functions can themselves scale horizontally in high QPS situations and for large deployments every micro-service that makes up SanFran can itself be scaled horizontally.

Currently working on using machine learning to predictions to manage warm container pools.

gsvclass··on Three Years on Google App Engine
I built my first startup (Socialwok) in 2008 on GAE Java it had just launch then. Since then I've totally been sold on the Google Cloud and building products with serverless tech like GAE.

Even today surprisingly few people know about it. So I finally authored and published a book on building products using the Google Cloud this year. (Free to read on the site)

http://www.howtobuildthefuture.com/

← PreviousPage 2 of 3Next →