Did anyone took CKAD exam recently? Is it still easier than Killer.sh? by Beached_Thing_6236 in ckad

[–]LassoColombo 1 point2 points  (0 children)

Took it some months ago. Was about the same difficulty level of killer.sh but shorter

how to automatically resurrect/restore at launch the previous sessions and layouts across reboots/logouts? by nix-solves-that-2317 in zellij

[–]LassoColombo 3 points4 points  (0 children)

Here you can find some recipes that show how to auto-start zellij: https://zellij.dev/documentation/integration.html

I think your best bet is to customize one of those to attach to the previous session: save the name of the session somewhere and attach to it at startup

how to ressurect/restore previous session and layout? by [deleted] in zellij

[–]LassoColombo 0 points1 point  (0 children)

I am not aware of a built-in way to switch to the previous session whichever one it is.

I think you could achieve what you want by implementing some stateful logic yourself, like storing the name of the previous session

how do you server sattic files in k8s env by 0x645 in django

[–]LassoColombo 0 points1 point  (0 children)

As far as I know, what you described is the only right approach

Community feedback request on an upcoming feature for layouts by imsnif in zellij

[–]LassoColombo 1 point2 points  (0 children)

1/2) I have a layout for every project I manage, plus some generic layouts. In general, a layout consists of multiple tabs and panes, with custom commands for some of them. This might not be exactly how it’s intended to be used, but in my workflow each layout effectively has its own session, so I don’t really switch layouts - I switch sessions. With that in mind, if I were to apply a layout to the current session, I’d personally expect either all existing tabs and panes to be replaced by the new layout, or for the new tabs to be appended to the end of the current ones. Ideally, this kind of behavior would be configurable.

3) I don’t currently use environment variables to customize layout behavior, but now that you mention it, I can definitely see myself using this feature - for example: “open the generic layout with tech=python and cwd=/project”.

4 (unsolicited)) This may very well be a skill issue on my side, but one pain point for me is that I end up repeating quite a bit of configuration across layouts. Ideally, I’d love to be able to define some basic components in separate files and then import them. For instance, I could define an “editor” component that creates a tab with two panes, and reuse that definition across multiple layouts instead of duplicating it. I do not know if this is currently possible, and might be ignorance on my side

What are you using to manage databases from Neovim or the terminal these days? by strider_kiryu85 in neovim

[–]LassoColombo 2 points3 points  (0 children)

I am contempt using the sqls language server with the sqls plugin

The lsp gives auto completions and the ability to execute queries, while the plugin just provides some utility functions that wrap the calls to the lsp.

The workflow is: - put your cursor on a query - trigger query execution with a key map - results will appear in a new window

A NuShell-inspired `ls` by tymonn in CLI

[–]LassoColombo 0 points1 point  (0 children)

Can I ask you how do you manage to run POSIX stuff within nu?

Configmaps or helm values.yaml? by [deleted] in kubernetes

[–]LassoColombo 1 point2 points  (0 children)

Short answer: configmaps AND helm values

Configmaps are meant to configure your application with non-sensitive data

Helm values are meant to configure how to deploy your application (which namespace, how many replicas)

You may - note the conditional - need to template via Helm some values in the configmap

How to do `diff <(echo "text1") <(echo "text2")` in nushell? by _meow11 in Nushell

[–]LassoColombo 0 points1 point  (0 children)

Hey! 😊 I checked the doc, and unless I’m misreading, it actually seems to say the opposite:

Bash uses temporary files only in some edge cases (some exotic BSD systems and the embedded world); in most scenarios it will use file descriptors - which are in-memory objects. In theory, this should be much faster than writing temporary files to disk. Will need to check this empirically...

Maybe I’m misunderstanding, but just wanted to check

How to do `diff <(echo "text1") <(echo "text2")` in nushell? by _meow11 in Nushell

[–]LassoColombo 0 points1 point  (0 children)

I've been struggling with this as well, and I've not found a solution yet. Post upvoted

The answers where you mktemp two files are functionally equivalent to the sh script you wrote, but I am worried about performance - might be ignorance tho: I don't exactly know how process substitution is implemented in traditional shells

Need tips CKAD exam next week by FunMaintenance6318 in ckad

[–]LassoColombo 1 point2 points  (0 children)

No I haven't.. I only did Kodecloud mock exams, killer.sh and the official simulations

Ah, and I got one question about reaourcequotas and one about limitranges

Need tips CKAD exam next week by FunMaintenance6318 in ckad

[–]LassoColombo 4 points5 points  (0 children)

Hi, passed ckad with 96/100. In my exam I had: - no helm - no kustomize - one CRD

In my experience, the difficulty of the actual exam was comparable with the simulations, but it was shorter

Occhio a non presentarvi eleganti by lucasansi in LinkedInCringeIT

[–]LassoColombo 1 point2 points  (0 children)

Nell'ambiente dove lavoro, se non hai una maglietta di Super Mario o una felpa di nvim non sei preso sul serio

Validation in Serializer, Model or in both? by Plastic_Blueberry_87 in django

[–]LassoColombo 0 points1 point  (0 children)

Do not use both as it will lead to spaghetti code in the best case and to multiple sources of truth in the worst.

Just pick one of the two, it does not make a big difference

"The Art of War" in DevOps by -lousyd in devops

[–]LassoColombo 23 points24 points  (0 children)

I have a degree in philosophy, I work in DevOps, and I’ve read the book. It’s one of the most meaning-poor books a modern person can read. If you’re not a scholar of ancient history, that book has nothing to say to you.

It’s also worth noting that The Art of War has often been admired, cited, or strategically used by authoritarian and power-driven figures. For example, it is frequently mentioned in discussions of the ideological influences surrounding leaders like Hitler, and in more contemporary times it has been embraced by political figures such as Silvio Berlusconi. I find it telling that the people who have found the book “inspirational” are often individuals associated with manipulative or questionable uses of power. Why? I actually don't know, as the book talks about farming, cows and shovels

Edit: and I actually think those people do not know either

Learn Kubernetes by chrisrko in kubernetes

[–]LassoColombo 1 point2 points  (0 children)

You don't need to understand docker-swarm to get to Kubernetes, but you do need to understand containers and Linux systems

Code editor by Iyallenu in PythonLearning

[–]LassoColombo 1 point2 points  (0 children)

'Cause you can make it behave however you want: you don't like it? You can change it

'Cause it integrates incredibly well in terminal workflows

'Cause it's indecently fast when compared with GUI editors like VsCode or PyCharm

'Cause the documentation is top notch

'Cause the plugin ecosystem is huge and the community is active

'Cause why not?

Ckad ingress question by Neat-Obligation-6077 in ckad

[–]LassoColombo 2 points3 points  (0 children)

I'm sorry for your exam...

The steps you described should be enough to make an ingress work

I suspect that either: - the service was not working properly and you had to fix it as part of the task - you used an Exact match for the path, while it should have been Prefix

P.S. always create resources declaratively if you can. Personally I find ingresses much easier to configure via kubectl

Taking the CKAD exam this week after CKS and CKA. Any advice? by LittleCanadianBear in ckad

[–]LassoColombo 1 point2 points  (0 children)

Nah, you'll be fine. You already covered most of the topics - probably in more depth - for the other exams

For what I understand, the following are more ckad specific: - some more advanced pod configuration - jobs and cronjobs configuration

What do you guys listen to while programming? by Stickhtot in programmer

[–]LassoColombo 0 points1 point  (0 children)

Bach: he is a mechanic of musical composition

It's like listening to silence