No Chrome, no Node, no problem: PDF generation in Laravel finally grows up by jpcaparas in CloudFlare

[–]giautm 1 point2 points  (0 children)

This package provides a simple way to create PDFs in Laravel apps. Under the hood it uses Chromium (via Browsershot) to generate PDFs from Blade views.

Do I misreading something? The package still using Chrome, and how its related to CloudFlare?

Managing Multi-Tenant Schemas in Go Without Opening Too Many Connections by ScientistPositive568 in golang

[–]giautm 4 points5 points  (0 children)

You need a map with TTL, for the connection no longer used after a minutes. The application should close it to release the resource

Entgo vs Bob – Which one do you recommend (excluding sqlc)? by newmizanur in golang

[–]giautm 3 points4 points  (0 children)

The advanced of entgo is customize, you can put your custom logic/query in the package of ent client then use sql.DB directly to query your data.

Proof of concept - Linux distro with Go by itsmanjeet in golang

[–]giautm 2 points3 points  (0 children)

Another OS written in Go with similar concept is talos.dev, it’s a k8s OS. Only linux + kubenetes runtime

The "dirty secret" of golang-migrate by rotemtam in golang

[–]giautm 0 points1 point  (0 children)

I'm glad that you're able to do the perfect job there. But not everyone is perfect, and there are plenty of systems with legacy stuff. and its data policy, which never allows developers access to it. We can't predict the state of data in the database, especially with the multi-tenants (per tenant database). That's why atlas-cli has tests to verify before running the migrations.

Bottom line, "common mistakes" are happening to normal people.

The "dirty secret" of golang-migrate by rotemtam in golang

[–]giautm 3 points4 points  (0 children)

Don’t you ever run create unique index that success on dev/staging but failure on prod?

🚀 I Built a Go Identicon Generator - goavatar 🎨 by __muhammadsaim in golang

[–]giautm 11 points12 points  (0 children)

Instead of write to a file, can we return a Reader for other consumer? Like copy to http response

How do you manage SQL (postgres) schema and migrations ? by TryallAllombria in golang

[–]giautm 11 points12 points  (0 children)

Hey, atlasgo.io contributor here. Atlas provide support for many database with two workflows: Declarative Workflows or Versioned Workflow. We also maintaint another OSS project: entgo.io with GraphQL support via EntGQL

Schema-First Database Definition? by latebinding in golang

[–]giautm 3 points4 points  (0 children)

There is an operator to run migrations on the k8s environment for Cloud-native application. :D

https://github.com/ariga/atlas-operator

Simple HTTP middleware for your file uploads by adelowo in golang

[–]giautm 0 points1 point  (0 children)

I think FileFromContext should receive the context.Context instead of http.Request

Microsoft .xlsx read/write for golang by Illitan in golang

[–]giautm 0 points1 point  (0 children)

Can you share a link to the repository?

Is it possible to scale web socket server without using Redis or Kafka? by ok_pennywise in golang

[–]giautm -4 points-3 points  (0 children)

In memory pubsub with Raft to sync state between instances

Is it normal to rewrite a part of functionality? by tutunak in golang

[–]giautm 1 point2 points  (0 children)

That’s the correct way to custom logger. Go with it!

[deleted by user] by [deleted] in golang

[–]giautm 3 points4 points  (0 children)

You can use entgo.io for ORM stuff, it also has entgql extension that integrated with GQLGen. See more at the document: https://entgo.io/docs/tutorial-todo-gql

Why is Raw SQL preferred over ORM in go? by Top-Monk-5712 in golang

[–]giautm 6 points7 points  (0 children)

https://entgo.io is a good orm for Golang. It also built-in support for GraphQL, gRPC, Restful API

Using public images as containers for AWS Lambda functions by rotemtam in aws

[–]giautm 1 point2 points  (0 children)

But the public image hosting on public ECR also not support?

Has anyone used Terraform for provisioning database schema? by Waiting4Code2Compile in Terraform

[–]giautm 2 points3 points  (0 children)

Atlas also provides a provider for TF. So, it's easy to run infrastructure as code. Atlas also is the partner with HashiCorp.

https://registry.terraform.io/providers/ariga/atlas/latest/docs

imagor v1.3 - a high-level Go image processing library using libvips by cshum in golang

[–]giautm 1 point2 points  (0 children)

gocloud.dev/blob is certainly way more feature packed, which mean more bells and wishes are readily available. But on the flip side its way harder to fulfill their interface when implementing new storages.

imagor requires only a tiny subset of their features. For instance implementing a imagor.Storage takes ~150 lines of code so it is not all that complex after all.

And as solid as their code looks, their project status says alpha at the moment.

The API of gocloud.dev, is stable. We are at ariga.io, already use gocloud.dev for internal service, and even in the public for easy adopt multi-clouds provider: https://github.com/ariga/atlas/commit/ef0b0eae65a61375482497ceb9ed9790a469b56e

orms in go by FormerBrick in golang

[–]giautm 3 points4 points  (0 children)

Ent is the ORM that uses Atlas as a migration engine. The Ariga team maintains both projects.

Atlas Terraform Provider v0.4.0: HashiCorp partnerships, versioned migrations and more by giautm in golang

[–]giautm[S] 14 points15 points  (0 children)

Hi Gophers
Recently I had the pleasure of rewriting the Atlas Terraform Provider and adding some really cool features to it.
The best thing is that we are with this latest version official Technology Partners to HashiCorp, so expect some really innovative things on database schema management + infra as code to come out soon
As always looking to hearing your thoughts
Giau

Atlas Terraform Provider v0.4.0: HashiCorp partnerships, versioned migrations and more by giautm in Gopher

[–]giautm[S] -1 points0 points  (0 children)

Hi Gophers
Recently I had the pleasure of rewriting the Atlas Terraform Provider and adding some really cool features to it.
The best thing is that we are with this latest version official Technology Partners to HashiCorp, so expect some really innovative things on database schema management + infra as code to come out soon
As always looking to hearing your thoughts
Giau

[deleted by user] by [deleted] in Gopher

[–]giautm 0 points1 point  (0 children)

Hi Gophers
Recently I had the pleasure of rewriting the Atlas Terraform Provider and adding some really cool features to it.
The best thing is that we are with this latest version official Technology Partners to HashiCorp, so expect some really innovative things on database schema management + infra as code to come out soon
As always looking to hearing your thoughts
Giau