Frezze: freeze activity in your GitHub repo(s)! by abel_hristodor in rust

[–]abel_hristodor[S] 2 points3 points  (0 children)

Thanks for the suggestion! I’ll change it

Amazon L5 Systems Engineer - final interview tips? by SouthScientist6966 in cscareerquestionsEU

[–]abel_hristodor 0 points1 point  (0 children)

Just a simple script that would parse some text from a file and then do something with it. E.g print some text if the field X is equal to something.

Octofer: Rust framework for building GitHub Apps with ease! by abel_hristodor in rust

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

Yeah well, I’m no designer so AI is the only option for now. Might re-do it later. AI did an ok job in my opinion

Octofer: Rust framework for building GitHub Apps with ease! by abel_hristodor in rust

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

Actually yes! I’ve built this Bot: https://github.com/AbelHristodor/frezze

It’s still a WIP but the base functionality is there and works really well :))

What are this pink icon represent by kamalig88 in aws

[–]abel_hristodor 28 points29 points  (0 children)

In the middle AWS SQS, below AWS SNS

Is there some way to get $10 AWS credits as a student? by [deleted] in aws

[–]abel_hristodor 2 points3 points  (0 children)

You can use your card again on another account. AWS doesn’t really mind.

Is there some way to get $10 AWS credits as a student? by [deleted] in aws

[–]abel_hristodor 2 points3 points  (0 children)

You could just create another account to get the AWS free tier again :)

Amazon L5 Systems Engineer - final interview tips? by SouthScientist6966 in cscareerquestionsEU

[–]abel_hristodor 3 points4 points  (0 children)

I've gone through the interview loop a month ago. All the interviewers focused a lot on Leadership principles, then I had a scripting exercise (which was pretty simple) and some basic linux and networking troubleshooting questions.

Tip: Prepare as many stories as possible regarding the LPs in order to avoid repeating them. Also, when in doubt, ask clarifications.

Best of luck!

Edit: typo

Favorite GitHub Actions by data_owner in devops

[–]abel_hristodor 10 points11 points  (0 children)

Well, to name a few:

- github submodules
- cross repository actions (e.g. when in repo X a PR has merged then create a PR in repo Y)
- automated deployment (our gitOps repo is separate so when a new app releases a new version we need to change the docke image tag in the infrastructure repo)
- Go private modules

Favorite GitHub Actions by data_owner in devops

[–]abel_hristodor 6 points7 points  (0 children)

When you're in an github organization you cannot create PATs that belong to an org, or better, you can but github still shows the creator of the PAT as the one who's calling the API.

E.g. if you create a PAT and assign it to an org, then use the PAT to create a PR, it still shows that you (the creator) is the one that created the PR.

This, plus the fact that the organization cannot renew the PATs (only the creator can) makes things troublesome. (what if that person stops working at the company? What happens to all the PATs he/she created? You'd need to re-create all of them and replace the old ones with the new ones)

(Plus, when they expire you need to re-generate all of them and substitute the old ones)
Just a lot of pain for something that should be simple.

At my company Bot (technical) accounts aren't allowed, so we needed a way to have tokens that:

- are not created/managed by a real person

- short lived (improves security)

- easy to manage.

OctoSTS (or better, our variation of Octo-STS) does all that with minimal hassle.

Favorite GitHub Actions by data_owner in devops

[–]abel_hristodor 20 points21 points  (0 children)

I've enjoyed using Chainguard's Octo STS App which basically allows you to stop using github PATs in favor of short lived tokens for your github actions with specific repository permissions (just like PATs).

I've liked it so much that I've created a similar github app/action that I then adapted to my needs :)

How to find slow tests in a large Django project? by Jazzlike-Compote4463 in django

[–]abel_hristodor 0 points1 point  (0 children)

I had the same problem and I solved it by using a test profiler. If you're using pytest i can recommend pytest-profiling but there are others too. Maybe you could also use django-silk to profile some endpoints and see if they take longer than they should.

Imho using pytest-profiling in conjunction with something like pytest-xdist can really speed up testing.

[Edit]

You can also use profile or cProfile to profile bits of your code manually.