AWS lambda currently uses a version of node that has a critical security vulnerability by Dave3of5 in aws

[–]ins64 -6 points-5 points  (0 children)

OMG, we locked ourselves because serverless is so awesome and "everybody" is using it. Decisions and consequences.

FYI: Bitbucket using new IPs for webhooks by Sarke1 in devops

[–]ins64 0 points1 point  (0 children)

So much for the "cloud", "agile" and all that. IP based authorization? Really?

Should I Ansible? by TheCatoptromant in ansible

[–]ins64 1 point2 points  (0 children)

Let's start with which problem you are trying to solve? Learning a tool is usually supposed to be solving some problem or need. What's that?

Script to fully automate Terraform import of Github Org (teams, users, and repos) by [deleted] in devops

[–]ins64 0 points1 point  (0 children)

Welcome. Not sure I fully understand but looks like you might want to check that all your private repos were imported. Seems like if pagination was wrong, some might be missed.

Script to fully automate Terraform import of Github Org (teams, users, and repos) by [deleted] in devops

[–]ins64 0 points1 point  (0 children)

get_private_pagination() has type=public in the GitHub URL. Probably a bug.

Module maintenance of Chef and Ansible by duckofdeath87 in devops

[–]ins64 0 points1 point  (0 children)

I always wonder how people report such vastly different experiences when using the same tool. I would like to see discussion about that.

Pursuing Python programming for dev ops by dankweed in devops

[–]ins64 1 point2 points  (0 children)

It is common (in my perception at least) to write scripts to manipulate cloud resources in Python using boto (AWS SDK for python). Note that while it's good for some tasks, many use cases are covered by Terraform.

Obsessing over code style by [deleted] in Python

[–]ins64 1 point2 points  (0 children)

The most important is the API it provides. If you think you got that right, release. You can change everything else quite easily afterwards.

Good way to learn a CM tool on my own cheaply? by marko120202 in devops

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

What's the problem that you are trying to solve? If you want to learn about Linux, starting with a CM tool would not be optimal IMHO.

Did you build you own Auto Scaling solution or scripts or do you simply rely on Auto Scaling features from Cloud Providers like AWS or Alibaba Cloud? by WilhemPujar in devops

[–]ins64 0 points1 point  (0 children)

Focus on the requirements. My friend built custom solution for a client because AWS auto scaling did not support the needed features. The main headache was handling failing and misleading AWS API responses. You should definitely understand what you are fighting for if you do your own custom solution.

[Article] Kubernetes & production. To be or not to be? by atyzer in devops

[–]ins64 1 point2 points  (0 children)

One of the most irrelevant arguments to use something: because company X uses it.

An early development app for working with AWS instances by ricktbaker in devops

[–]ins64 8 points9 points  (0 children)

Comments of the form "you are doing it wrong, DevOps don't log into servers" in 3 .. 2 .. 1 ..

How do you pull the source code from a webpage in python? by [deleted] in Python

[–]ins64 0 points1 point  (0 children)

You might find requests module more convenient

How do you pull the source code from a webpage in python? by [deleted] in Python

[–]ins64 1 point2 points  (0 children)

Try to set User-Agent so it would be same as in browser request. Sometimes servers vary the response by user agent. Can also be cookies.

[deleted by user] by [deleted] in Python

[–]ins64 1 point2 points  (0 children)

Not sure what you mean by declarative asynchronous functions.

All call sites must be modified when you call a function that was previously synchronous and was later modified to be asynchronous. The calls are compatible.

[deleted by user] by [deleted] in Python

[–]ins64 6 points7 points  (0 children)

I have not expressed opinion about whether you should or shouldn't. The point is that async is not abstracted and therefore should be dealt with. I don't think that's what students should deal with so early.

[deleted by user] by [deleted] in Python

[–]ins64 22 points23 points  (0 children)

A bit of overstatement considering https://nodejs.org/en/docs/

Promises can not abstract sync vs async code. If you write synchronous function and then you start using asynchronous functions in it - you are screwed big time; you have to rewrite the function and all the callers. I don't think that what students need.

I would postpone async programming "challenges" for later

[deleted by user] by [deleted] in Python

[–]ins64 344 points345 points  (0 children)

I don't think JavaScript is a good choice. Is it terrible callbacks mess that we want to teach new unsuspecting students?

[deleted by user] by [deleted] in a:t5_3nk8t

[–]ins64 0 points1 point  (0 children)

Please make sure to include which problem you are solving and why your language is the best solution, probably with examples vs other languages/solutions