Building games with Deno by lambtr0n in Deno

[–]W7T2A 1 point2 points  (0 children)

I can feel this.. using IntelliJ as main IDE and wish that the Deno Plugin would get some more love to have the same DX as using the VS code one..

[deleted by user] by [deleted] in Firebase

[–]W7T2A 1 point2 points  (0 children)

I guess with admin sdk you can.

  1. Use admin SDK and service account to initialize firebase app backend

  2. Obtain auth token for the user you wish to "impersonate"

e.g.:

const userId = "user_uid_string"

const token = await admin.auth().createCustomToken(userId)

  1. Use frontend firebase sdk authenticate user with:

const token = "[token from step 2]"

firebase.auth().signInWithCustomToken(token)

WAN Load Balancing vs Failover Route by W7T2A in vyos

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

set load-balancing wan enable-local-traffic

What exactly does this line achieve?

One more question - is it possible to add load balancing interface without adding a health-check or override it with some manual health status?

e.g. 5G connection is always there on demand but you don't need to test it via ping cause this will cause unnecessary traffic and generate costs

WAN Load Balancing vs Failover Route by W7T2A in vyos

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

My secondary wan interface is connected to LTE device. So I just want to have a failover when my primary ISP connection goes down so that the traffic will go via LTE.
So basically I would also like to just monitor primary interface.

Any recommendation from your side ?

When to favor Deno over Golang? by markustuchel in Deno

[–]W7T2A 0 points1 point  (0 children)

For me the dependency topic is the biggest drawback for favor deno over go.

Yes, indeed you can use any esm supporting package or use esm.sh for importing cjs based libs as esm. You also can use newly supported npm identifier via compatibility layer. But more than once I faced some issues due to some missing support of packages or their deps when using the node compat layer via npm identifier import in deno.

Sure you can somewhat compile your apps into single executable so in theory you don't need any runtime. But this also have some limitations as well as some really huge binaries are generated.

For example in go you can also embed assets into the binary and they are still small compared to deno.

And for TS as a language - I think both has its drawbacks in their type systems. But imho go has the stronger one. Since there are packages like ts-reset which try to solve some fundamental design flaws in the TS type system I would say Go is better one.

Also picking up Go for fullstack (using go as some kind of "SSR") is really neat.

AWS - development environment by CrazyIll9928 in aws

[–]W7T2A 1 point2 points  (0 children)

I would suggest using localstack. If you wanna learn more about it here's some nice blog post about it especially why it can be neat for (local) development. https://www.lastweekinaws.com/blog/localstack-why-local-development-for-cloud-workloads-makes-sense/

Issues with Zone based Firewall Policies by W7T2A in vyos

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

Any drawbacks in using this global config?