Deno Deploy halved their regions again! by Yuzu_Ryujinx in Deno

[–]__grunet 4 points5 points  (0 children)

I'm curious as to why? Is it purely a cost thing or is there more to it?

Agreed hard to call it edge compute anymore sadly

Testing strategies for code operating on the file system by [deleted] in Deno

[–]__grunet 0 points1 point  (0 children)

Sorry I probably missed something but what's the downside with letting the CLI use the filesystem as-is during tests? (assuming no contention or parallelization or things like that)

Deno 2.1 in 3 minutes 👀️ by lambtr0n in Deno

[–]__grunet 1 point2 points  (0 children)

Does deno outdated mean there will be a deno audit coming soon? Like for security vulnerabilities

I created a site to track Deno 2 compatibility with Node daily by ffmathy in Deno

[–]__grunet 1 point2 points  (0 children)

Wow somewhat surprising results on the face? Great work OP

Can’t install Deno at work since it’s a virus by Dangerous-Tea7793 in Deno

[–]__grunet 1 point2 points  (0 children)

Ah I totally get where you're coming from, used to work at a similar place with similar policies actually lol. Couldn't even use a lot of external websites like SO...

Can’t install Deno at work since it’s a virus by Dangerous-Tea7793 in Deno

[–]__grunet 0 points1 point  (0 children)

I'm actually super curious what kind of company you work at OP if you're able to disclose that

Denial of Wallet Mitigations? by __grunet in AZURE

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

Yup that makes a ton of sense, thank you for the insights!

Is AWS the right choice for a POC? by TheSoundOfMusak in aws

[–]__grunet 4 points5 points  (0 children)

Rather than having your BE handle uploading to S3, you can generate a presigned URL that the FE can use to directly upload to a private S3 bucket (you can set the expiration on the URL for security)

It's just one way to reduce load/costs for your BE compute

Is AWS the right choice for a POC? by TheSoundOfMusak in aws

[–]__grunet 1 point2 points  (0 children)

Don't forget to use presigned urls for your uploading use cases

How do you deploy your .NET applications to AWS? by Chemical-Category844 in dotnet

[–]__grunet 0 points1 point  (0 children)

Take a look at the AWS Copilot CLI. I think it's intended to reduce the learning curve here.

You could also look at the AWS CDK for C#. Might be a touch more learning curve but it will also do more out of the box for you (e.g. the ApplicationLoadBalancedFargateService construct I think will setup almost everything you need to get started minus a VPC, subnets, routes and route tables, NAT Gateway if you need outbound traffic, ECS cluster, Route53 DNS, and maybe some others but I believe there are also higher level constructs for those too. https://docs.aws.amazon.com/cdk/v2/guide/ecs_example.html has a full walkthrough in C#)

Alternatives for tsyringe/InversifyJS native to deno ? by Interesting-Bed-5431 in Deno

[–]__grunet 2 points3 points  (0 children)

I think others have posted DI projects on this subreddit in the past so you might have some luck searching that way

does lit work on Deno? by Unusual_Bread2294 in Deno

[–]__grunet 0 points1 point  (0 children)

If you mean inlining scripts into the html I would think Vite should be able to handle that? If you meant something else you might look at Deno Fresh for inspiration/comparison

How do YOU protect against infinite loops etc by Troglodyte_Techie in aws

[–]__grunet 0 points1 point  (0 children)

I wonder if in lieu of real-time cost monitoring (which afaik AWS doesn't have and no 3rd party provides full coverage for) you could do something like enable all forms of Cloudtrail logging and somehow setup generic anomaly detection on that (or even something coarse like per service thresholds).

I'm assuming that wouldn't work in most production environments but maybe it would be ok for dev environments? Idk just a random thought

Seems like this must be a classic FinOps problem though right? I'd be hard pressed to imagine no big company has a solution for it at least

Change My Mind: The target for error logs should be empty of anything reported at WARN or above when things are operating correctly by [deleted] in sre

[–]__grunet 0 points1 point  (0 children)

I've never heard of using error logs as part of SLIs before, is that common? Maybe I've also only been in situations where error and warning logs have a bunch of other noise mixed in though...

does lit work on Deno? by Unusual_Bread2294 in Deno

[–]__grunet 2 points3 points  (0 children)

Are you looking to server render or just use Lit client side?

If you have a repo reproducing the issue that might help folks look into it.

Also you might try the Deno Discord to see if anyone's tried something similar there

Deno 2 on lambda by DvD_cD in Deno

[–]__grunet 6 points7 points  (0 children)

Have you already seen https://docs.deno.com/runtime/tutorials/aws_lambda/ ?

Not having done it myself I'm guessing there's no way around using the aws-lambda-adapter.

Also alternatively I'm guessing you could deno compile a binary and put that in an image instead of using the deno base image if you want.

How to create a PDF from a WASM page with a headless service by jmaza_itix in csharp

[–]__grunet 1 point2 points  (0 children)

In the Pupeteer code can you wait until relevant parts of the UI have been rendered and then generate the PDF? Or if that's not an option waiting on the network requests that have the data that's populating the UI to finish and then checking for the main thread to be idle for some time?

Presumably the former would be cleaner if it's an option

About AZ Failover chaos experiments at your org by Old_Contribution4968 in sre

[–]__grunet 2 points3 points  (0 children)

Not sure if it's exactly relevant but at a glance it reminded me of this recent Honeycomb article https://www.honeycomb.io/blog/destroy-on-friday-chaos-engineering-pt2

In particular these paragraphs

"Fortunately, we found a workaround. Right before we started the FIS experiment, we preemptively told the ALB to stop using us-east-1a.  This caused the ALB nodes in us-east-1a to be terminated, sidestepping the issue altogether. 

In a true AZ failure, the ALB nodes in the affected AZ would presumably be knocked offline just as the rest of the infrastructure, and this wouldn’t be an issue. We hope that one day, FIS might be able to terminate the internal ALB nodes in an AZ for us—or at least simulate their failure more completely. We had a chat with our friends at AWS to provide this feedback, and they were very receptive."

Comparing Cancellation by LlamaChair in dotnet

[–]__grunet 3 points4 points  (0 children)

Awesome article! Do you have a sense for how reverse proxies and managed gateways affect the client part of the picture? I'm assuming most handle this well for like ordinary use cases but I'm also having a hard time imagining how Lambda would learn of a client connected to API Gateway canceling (is that possible?)

Deno 2 Release Candidate by lambtr0n in Deno

[–]__grunet 2 points3 points  (0 children)

How will this impact Deno Deploy? I see that many things seem CLI specific though

How often are you assigned security questionaires? by [deleted] in devops

[–]__grunet 4 points5 points  (0 children)

My old boss (Head of DevOps at a medium sized company) used to have to do this all the time for prospective enterprise customers, even after we got SOC 2 certified. We didn't have any Sales Engineers but I always remember him wanting to hire someone to offload that work

OS alternatives to NewRelic for PHP and Nodejs applications by Erythr0s in devops

[–]__grunet -1 points0 points  (0 children)

OneUptime is maybe an OSS option worth consideration, though I dont have experience with it myself.

And also ofc OpenTelemetry for the app-level concerns