HNHacker News
TopNewBestAskShowJobs

acro5piano

68 karma · joined December 24, 2018

A TypeScript enthusiast.
submissionscomments
acro5piano··on GitHub Copilot is generally available
I have a repository with 625 stars, but it redirects to the subscription page.
acro5piano··on Show HN: Wayremap is a Dynamic key remapper for Wayland desktop environment
Thanks for your suggestion.

GUI is awesome, but I wanted to keep it code so that we can manage it with Git and dotfiles.

acro5piano··on Tailwind CSS v3.0
I love it
acro5piano··on Docker Desktop no longer free for large companies
Just use Linux desktop
acro5piano··on Show HN: CircleCI Config Generator Powered by TypeScript
Thank you for your feedback! I actually use this in my current project and found it useful for reducing boilerplates.
acro5piano··on Ask HN: Resources/Steps for Becoming a Consultant?
I have been working as a consultant/contractor since April last year.

Writing a lot of good blog posts is the best. Sometimes people contact me directly via my blog.

Now software developers are shortage, so you can find your clients easily. Good luck!

acro5piano··on Show HN: Shots AI – Turn designs into code with one click
Yeah it looks MVP or test marketing. Their technology is actually the core.
acro5piano··on Show HN: docker-run.com enables to “docker run” in the clould with a subdomain
Thank you!
acro5piano··on Show HN: docker-run.com enables to “docker run” in the clould with a subdomain
Thank you for the question.

The same as Heroku, provide docker-based PaaS and users would pay for their containers.

acro5piano··on Show HN: docker-run.com enables to “docker run” in the clould with a subdomain
Yes, but they are migrating their own FaaS to v2. In some case docker based PaaS is useful.
acro5piano··on Show HN: docker-run.com enables to “docker run” in the clould with a subdomain
Thank you for your response. That was just a typo, fixed it!
acro5piano··on Show HN: docker-run.com enables to “docker run” in the clould with a subdomain
Thank you for pointing out.

Pricing is not decided. However, current ui is sucks so will show a message soon.

acro5piano··on Show HN: docker-run.com enables to “docker run” in the clould with a subdomain
Yeah, based on feedbacks, I will try to launch!
acro5piano··on Show HN: docker-run.com enables to “docker run” in the clould with a subdomain
Thank you for trying and researching.

Sorry, in that time server is down due to disk space. I fixed it, so please try again.

This service will try to implement simple container management in production. Mainly for small start-ups, like Heroku.

acro5piano··on Show HN: docker-run.com enables to “docker run” in the clould with a subdomain
Thank you for trying!

The system is down when you tried because of disk space. I fixed it so could you try again? Sorry for the inconvenience.

acro5piano··on Show HN: docker-run.com enables to “docker run” in the clould with a subdomain
Thank you for your interest.

sub-domains would works, but the container will be destroyed after 120 seconds for this demo. Of course it persist in production environment (soon).

acro5piano··on Show HN: docker-run.com enables to “docker run” in the clould with a subdomain
Thank you for your interest.

This website is a kind of demo screen, but not fake. Actually running Docker remotely and run containers in it.

acro5piano··on Show HN: TypeScript to GraphQL conversion tool with type inference
Sounds great. Thanks for sharing!
acro5piano··on Show HN: TypeScript to GraphQL conversion tool with type inference
Runtime Type Check looks very useful when developing a system which communicate with other systems, cause we cannot perfectly predict other systems output.

I am grad to give you some development hints!

acro5piano··on Show HN: TypeScript to GraphQL conversion tool with type inference
I didn't know Apollo codegen also interpret GraphQL in .ts file. Thanks!
acro5piano··on Show HN: TypeScript to GraphQL conversion tool with type inference
Thank you!
acro5piano··on Show HN: TypeScript to GraphQL conversion tool with type inference
As far as I know, json-schema just checks type in runtime right? I don't know how we let TypeScript check json-schema type in compile-time.
acro5piano··on Show HN: TypeScript to GraphQL conversion tool with type inference
GRelDAL is an interesting project! N+1 problem in GraphQL is difficult problem. It remind me Lighthouse PHP [1] which is a GraphQL framework top of Laravel. Lighthouse handles N+1 problem to create a lot of "union all" queries.

[1] https://github.com/nuwave/lighthouse

acro5piano··on Show HN: TypeScript to GraphQL conversion tool with type inference
Thank you for pointing out. I haven't used such tools, but with editor support we can do furthermore.

Type information can be perfectly inferred from the schema. I agree though.

acro5piano··on Show HN: TypeScript to GraphQL conversion tool with type inference
> I wonder how schema information/introspection from the back end could be used to improve this further.

Yes, Apollo's schema validation is really awesome as we can find wrong type before we run code. I would like to add feature in the future.

Thank you for your suggestion!

acro5piano··on Show HN: TypeScript to GraphQL conversion tool with type inference
> What's the advantage of using this tool instead of apollo-cli/apollo-codegen?

> Unfortunately I'm not yet able see any benefits you'd get over Apollo's codegen in return

> Doesn’t Apollo’s Codegen tool already solve this?

I am sorry for my late response.

I add the section to README.md which explains why I created this library even there is Apollo CLI's codegen.

https://github.com/acro5piano/typed-graphqlify#why-not-use-a...

In short,

- Simplicity make this tool works as expected

- Can handle multiple schemas

- Works without schema file

I wrote a lot there, but I just wanted to try the paradigm TypeScript -> GraphQL conversion, because there are no tools to do that, unlike GraphQL -> TypeScript conversion tools.

However, this is not just a hobby project, cause I use this in my current real world project, and it reduces a lot of boilorplate. So I submit here.

# I thought Apollo codegen needs .graphql extension and webpack loader, but it reads .ts files too... Awesome.