Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »

Welcome to Software Development on Codidact!

Will you help us build our independent community of developers helping developers? We're small and trying to grow. We welcome questions about all aspects of software development, from design to code to QA and more. Got questions? Got answers? Got code you'd like someone to review? Please join us.

Posts by Iizuki‭

41 posts
71%
+3 −0
Q&A Kubectl exec: "Error from server (BadRequest): Upgrade request required"

Ok I got it working again. The issue was that I had updated my kubeconfig file, and the current-context setting had changed. This setting essentially selects which cluster kubectl targets. Now th...

posted 1mo ago by Iizuki‭

Answer
50%
+0 −0
Q&A Kubectl exec: "Error from server (BadRequest): Upgrade request required"

I'm getting an error when trying to open a shell to a pod. This used to work. $ kubectl exec --tty --stdin --namespace my-ns my-pod -- sh Error from server (BadRequest): Upgrade request required ...

1 answer  ·  posted 1mo ago by Iizuki‭  ·  last activity 1mo ago by Iizuki‭

Question kubernetes kubectl
50%
+0 −0
Q&A Simplest way of getting failure notification emails from kubernetes

The simplest solution I managed to find is robusta. It still has a bunch of unnecessary features, but with the correct configuration it's possible to disable these. As a bonus, it nicely adds some...

posted 2mo ago by Iizuki‭

Answer
75%
+4 −0
Q&A What is a .gitkeep file?

They are not a part of git the way .gitignore files are. It's just a convention to add empty directories to git repositories. Normally git ignores empty directories altogether. Adding an empty fil...

posted 2mo ago by Iizuki‭  ·  edited 2mo ago by Iizuki‭

Answer
71%
+3 −0
Q&A What is a .gitkeep file?

Sometimes there are empty files named .gitkeep sprinkled around a repository. What are these files?

1 answer  ·  posted 2mo ago by Iizuki‭  ·  edited 2mo ago by Iizuki‭

Question git
80%
+6 −0
Q&A Why is global evil?

Global variables make the code hard to reason about This is especially visible when debugging. Say you have a function which errors. The stacktrace tells you where the function got it's arguments,...

posted 2mo ago by Iizuki‭

Answer
75%
+4 −0
Q&A Simplest way of getting failure notification emails from kubernetes

What would be the simplest (and most lightweight) way of getting email notifications of failures in kubernetes clusters. Mostly interested in failing pods, so notifying on certain kubernetes event ...

1 answer  ·  posted 2mo ago by Iizuki‭  ·  last activity 2mo ago by Iizuki‭

60%
+1 −0
Q&A What are the prefixes like "md:" and "ds:" in SAML metadata?

The prefixes are explained in saml-metadata-2.0-os spec in section 1.1: "Notation" Prefix Explanation saml: This is the SAML V2.0 assertion namespace [SAMLCore]. The prefix is gen...

posted 3mo ago by Iizuki‭  ·  edited 3mo ago by Michael‭

Answer
66%
+2 −0
Q&A What are the prefixes like "md:" and "ds:" in SAML metadata?

SAML service provider (and other types as well) metadata XMLs are full of prefixes like md: and ds:. What do these mean? To illustrate my point, here's a sample metadata file from Wikipedia (CC-BY...

1 answer  ·  posted 3mo ago by Iizuki‭  ·  last activity 3mo ago by Michael‭

Question saml saml-metadata
84%
+9 −0
Q&A How to delete a remote branch in git?

With the --delete option of git-push: $ git push <remote-name> --delete <branch-name> For example: $ git push origin --delete my-branch

posted 3mo ago by Iizuki‭

Answer
77%
+5 −0
Q&A How to delete a remote branch in git?

How to delete a branch from a remote in git? E.g. maybe you had this branch locally too, but you deleted it already according to this question. Now you want to get rid of the corresponding remote ...

2 answers  ·  posted 3mo ago by Iizuki‭  ·  last activity 3mo ago by hkotsubo‭

Question git
71%
+3 −0
Q&A Why does this work? .collect() automatic conversion to function return type

You're very much on the right track. std::iter::FromIterator trait This trait is indeed what makes it work. In particular, both functions' return types implement the trait: std::result::Result&l...

posted 3mo ago by Iizuki‭

Answer
71%
+3 −0
Q&A How to surround jinja expression with curly brackets?

You can separate the curly brackets with spaces, and instruct jinja to remove them afterwards: { {{- jinja_expression -}} }. That way the outer curly brackets are left untouched. The minus signs s...

posted 4mo ago by Iizuki‭

Answer
66%
+2 −0
Q&A How to surround jinja expression with curly brackets?

A jinja template expression starts and ends with double curly brackets, which the templating engine consumes. But what if you need a single pair of curly brackets left in the output? Something lik...

1 answer  ·  posted 4mo ago by Iizuki‭  ·  last activity 2mo ago by Alexei‭

Question jinja
60%
+1 −0
Q&A Do the elements of 'required' array need to be defined in 'properties' dictionary in JSON schema?

According to my reading of the JSON Schema Spec, the answer is no. required array can contain elements which are not in the properties dictionary. The example schema in question seems to be valid....

posted 4mo ago by Iizuki‭  ·  edited 4mo ago by Iizuki‭

Answer
66%
+2 −0
Q&A Do the elements of 'required' array need to be defined in 'properties' dictionary in JSON schema?

In a JSON schema, do the required properties need to be a subset of properties? E.g. is this a valid schema, even though cookies isn't mentioned in properties? { "type": "object", "properti...

1 answer  ·  posted 4mo ago by Iizuki‭  ·  last activity 4mo ago by Iizuki‭

Question json json-schema
80%
+6 −0
Q&A Git apply vs git am

What are the differences between git apply and git am commands? Both seem to be used for applying patches to repositories. When should one be used over the other?

1 answer  ·  posted 4mo ago by Iizuki‭  ·  last activity 4mo ago by Michael‭

Question git
77%
+5 −0
Q&A What is the default port number of MariaDB?

The default port is 3306. MariaDB is a fork of MySQL, and this is the default port for MySQL as well. Source.

posted 6mo ago by Iizuki‭  ·  edited 6mo ago by manassehkatz‭

Answer
50%
+2 −2
Q&A What is the default port number of MariaDB?

What is the default port number of MariaDB database server? (Remembering defaults is surprisingly hard since usually you don't need to specify them..)

1 answer  ·  posted 6mo ago by Iizuki‭  ·  last activity 6mo ago by manassehkatz‭

Question database port mariadb
71%
+3 −0
Q&A How to run Gitlab CI jobs only in specific branches?

Compare $CI_COMMIT_BRANCH to your desired branch name in rules: # .gitlab-ci.yml stages: - test - deploy # This job will run always. test-job: stage: test image: bash script:...

posted 6mo ago by Iizuki‭

Answer
75%
+4 −0
Q&A How to run Gitlab CI jobs only in specific branches?

By default Gitlab CI jobs run on any commit. I would like to restrict some of them to run only on commits to specific branches. How to do this in .gitlab-ci.yml?

1 answer  ·  posted 6mo ago by Iizuki‭  ·  last activity 6mo ago by Iizuki‭

Question gitlab-ci
84%
+9 −0
Q&A What is the point of triggering CI/CD with an empty git commit?

There's no point. It just causes unnecessary clutter and confusion. The correct way is to configure a manual way for triggering the CI/CD pipeline. In most systems there should be an API endpoint ...

posted 6mo ago by Iizuki‭

Answer
77%
+5 −0
Q&A How to compare a git stash to the current working tree?

Well it was easier than I thought: git diff stash A note about the direction: This will show things which are present in the working directory but not present in the stash as added +. And vice ...

posted 7mo ago by Iizuki‭

Answer
80%
+6 −0
Q&A How to compare a git stash to the current working tree?

In git you can put your current changes aside for a moment with git stash. This is really neat but what often ends up happening is that you forget what was in there, and what was the state of the b...

1 answer  ·  posted 7mo ago by Iizuki‭  ·  edited 7mo ago by Iizuki‭

71%
+3 −0
Q&A How to use docker hub with podman?

Add the following to /etc/containers/registries.conf: unqualified-search-registries = ["docker.io"] [[registry]] location = "docker.io" Now you can pull just like you would in docker: podm...

posted 7mo ago by Iizuki‭  ·  edited 7mo ago by Iizuki‭

Answer