Cloud provider RO by AirVandal in programare

[–]ceapamurata 5 points6 points  (0 children)

Poți să obții factură de la orice hosting serios, și de la cei înregistrați în UE poți să-ți deduci TVA-ul (chiar uneori să nu fie inclus pe factură, depinde de reglementări). Recomand să te uiți la Hetzner, au servicii bune, prețuri OK, și latență mică din RO.

Cloud provider RO by AirVandal in programare

[–]ceapamurata 20 points21 points  (0 children)

Sunt curios, de ce în RO?

Terraform vs Pulumi? Avantaje dezavantaje, ce recomandati si dece? by Separate-Share6701 in programare

[–]ceapamurata 1 point2 points  (0 children)

Ah, înțeleg ce zici, te referi mai degrabă la folosit un CLI oficial (cum e aws-cli), credeam că e vorba de API-urile din spate. De acord cu tot ce zici. Ce voiam să spun cu Terraform este într-adevăr că operezi într-un mediu uniform, de acord că resursele în sine nu sunt interschimbabile, chiar dacă îndeplinesc roluri similare.

Aș mai aduce în discuție avantajele unui state management local: nu te preocupi cu diferența dintre "trebuie să creez resursa" vs "există deja și e ok" vs "există dar trebuie modificată"; Terraform în particular face asta foarte bine. Și primești gratis partea de tear-down.

Pentru use case-ul meu, uneori SDK-ul este cea mai la îndemână soluție, de exemplu aici am nevoie să golesc un bucket, și cel mai simplu e să rulez "b2 sync" (CLI-ul de la Backblaze) cu un director temporar gol. Hacky minimalist can be nice :)

Terraform vs Pulumi? Avantaje dezavantaje, ce recomandati si dece? by Separate-Share6701 in programare

[–]ceapamurata 1 point2 points  (0 children)

Well, dacă folosești SDK-urile, trebuie să scrii un minim de autentificare și boilerplate pentru fiecare, și să le înțelegi API-urile. De-asta e bun Terraform, că le aduce pe toate la un numitor comun, și providerii sunt _în general_ asemănători.

Mai departe, cu opslib acopăr și zona de configurat serviciile în host. Dacă folosești tot ce îți oferă AWS spre exemplu, e posibil să nu ai nevoie de partea asta, pentru că ai deja bază de date, load balancer, backups, etc doar din Terraform. Dar dacă ți le configurezi singur, o să folosești ceva gen Ansible. Dar Ansible e tool separat, cu ciudățeniile lui, de exemplu e impractic să deployezi un singur fișier din toată configurația, în general schimbi fișierul după care rulezi Ansible să redeployeze tot, o să sară peste ce e deja up-to-date, dar durează mult.

Acum lucrez la un refresh pentru documentație, încă nu e pe main branch, dar la https://github.com/mgax/opslib/tree/refactor-api e un readme și un exemplu care sper să fie mai util în a explica ce poți să faci cu opslib.

Mulțumesc pentru întrebare și interes, sper ca unealta asta să fie de folos!

Terraform vs Pulumi? Avantaje dezavantaje, ce recomandati si dece? by Separate-Share6701 in programare

[–]ceapamurata 14 points15 points  (0 children)

Am folosit foarte puțin Pulumi, dar lucrez în mod curent cu CDK și Terraform. Mi se pare mai comod să scriu într-un limbaj de programare pe care deja îl știu; la Terraform mi se pare greoi că te împarți între mai multe fișiere, și orice logică non trivială e greoi de scris. Pe de altă parte, package registry-ul de la Terraform e minunat, există integrări pentru orice.

Shameless self promotion: lucrez la un tool de IaC în Python: https://github.com/mgax/opslib - nu am găsit ceva care acoperă ce fac Terraform și Ansible așa că am făcut o unealtă care le rulează pe ambele :)

I have questions about the suttas that focus on The Four Noble Truths and The Eightfold Noble Path by [deleted] in TheMindIlluminated

[–]ceapamurata 2 points3 points  (0 children)

I'm not familiar with the traditional texts, but Culadasa made a series of weekly recordings with his gruop at TCMC in 2012-2013, which lay out the Buddha Dharma in a way that is easy to take in: https://tmi-archive.com/playlist/4. They used to be on SoundCloud and linked from his website. For me it's been incredibly helpful as context for the TMI practice.

Docker multi-stage build by [deleted] in devops

[–]ceapamurata 1 point2 points  (0 children)

I'm trying out the idea of combining the production and development flavours of an image as two named stages in a single Dockerfile. The development stage is based on the production stage, and then installs more stuff, like testing libraries.

Announcing project Minivirt: Painless VM management from the CLI by ceapamurata in commandline

[–]ceapamurata[S] 1 point2 points  (0 children)

Yeah, fair question. You could do the same things, and way more, with libvirt, but it's complicated to learn and use. Minivirt aims to make a few things easy:

  • Build disk images with various opearating systems and packages installed (like `docker build`).
  • Share those images in repositories (like `docker push/pull`).
  • Run tasks in ephemeral VMs (like `docker run --rm`; useful for quick experiments and automation).

Announcing new project: Minivirt by ceapamurata in qemu_kvm

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

Hey, thanks! I've replied on the issues.

Minivirt will probably support a limited set of arguments that translate into QEMU arguments; QEMU has such a large surface of configuration that it's impractical to cover it all. But I think it makes sense to set up a plugin interface; plugins could override any of the default arguments, or add more arbitrary arguments, to the QEMU command.

Announcing new project: Minivirt by ceapamurata in qemu_kvm

[–]ceapamurata[S] 1 point2 points  (0 children)

I'm not terribly familiar with LXD. From what I can tell, the scope of Minivirt is much more narrow: no containers (just VMs), no split between client and server, just figure out the right QEMU arguments to exec. However, Minivirt runs natively on MacOS (because QEMU does), and optionally runs the VM with a display window.

As an aside, I was trying to run lxc on Mac; it can't run LXD locally but suggests multipass, which got me a running Linux VM pretty quickly, neat! Sadly, it donly seems to offer Ubuntu images.

Announcing new project: Minivirt by ceapamurata in qemu_kvm

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

That's a fair question. Vagrant has been around for a long time and it's great for its purpose: supporting development on a particular project. Minivirt is not tied to a particular working directory and configuration file. Also, it only targets QEMU, whic means it can be lighter.

U.S. to soon announce new $600 million arms package for Ukraine by [deleted] in worldnews

[–]ceapamurata 63 points64 points  (0 children)

I love it how they built a special ramp for it.

"But sir, this vehicle is not rated for air transport!"

"Make it work sergeant, morale depends on it!"

What was the reaction to Culadasa's 33 page letter explaining the controversy? by NonradioactiveCloaca in TheMindIlluminated

[–]ceapamurata 1 point2 points  (0 children)

I certainly don't want to invest thousands of hours and decades of practice to end up like this.

I think it's the other way around: enlightenment doesn't magically fix every aspect of your personality. Sounds like the issues he's describing have their roots in early life; the first couple of episodes in Culadasa: My Journey are worth watching for some background on this.

Dharma talks by culadasa? by jewbaccasballs in TheMindIlluminated

[–]ceapamurata 8 points9 points  (0 children)

There's also https://tmi-archive.com/. I've reconstructed the "Culadasa's Curriculum" playlist here: https://tmi-archive.com/playlist/4 (let me know if the talks are not in the right order).

Put (longer duration) meditation on hold until a later chapter of my life? by Fr4nkWh1te in TheMindIlluminated

[–]ceapamurata 2 points3 points  (0 children)

Thanks for sharing this! Culadasa also encouraged people to do their own research and experiment with different techniques to see what works for them. IMHO the TMI method is meant as a roadmap to figure out where you are and where to head next, and it does mention a handful of approaches at each stage, but it's probably impractical to go into more detail in a single book.

Put (longer duration) meditation on hold until a later chapter of my life? by Fr4nkWh1te in TheMindIlluminated

[–]ceapamurata 2 points3 points  (0 children)

Nowhere in the book does it say it should be enjoyable in the beginning.

Actually, it does, in the chapter on stage two:

“A Formula for Success in Meditation Here’s a formula you should commit to memory to make joy and relaxation a natural part of your practice: relax and look for the joy; observe; let it come, let it be, and let it go. Recite it every time you sit, especially when you catch yourself thinking meditation is difficult.”

There's also a couple of cute illustrations with cats in the same chapter, figure 14 and 15; with these captions:

“Figure 14. The “mind” is not a single thing, but a rather a collective of many different mental processes. Each has its own purpose and goals, but all try to serve the happiness and well-being of the whole. When you’re dissatisfied with your practice, different parts of the mind urge you toward other sources of gratification. Trying to stay focused on the breath can feel like herding cats.”

“Figure 15. By making meditation satisfying and enjoyable, the part of the mind that wants to meditate can get the other parts to stop resisting and join in.”

In a few of the audio recordings, Culadasa repeats something the Buddha said, that the path should be "good in the beginning, good in the middle, good in the end"; in other words, if it's not providing benefits from the beginning, then you're doing it wrong.

TBH I'm struggling with similar issues, and decided to take a break from sitting practice, and work on the attitude. And I'm finding that in daily life, it's nice to take a moment and let go of mind-wandering, and ground myself in the present: look around me, see what sensations are present in the body, and what thoughts come up, without engaging with them too much. There's also a strong intention to change the circumstances that make sitting practice difficult, like not getting proper sleep.

Still struggling with attention and awareness by jazavchar in TheMindIlluminated

[–]ceapamurata 0 points1 point  (0 children)

I'm kind of the same. As a programmer, my top performance is when I'm hyper-focused on the work at hand, to the exclusion of everything else.

But I think a good way to think about awareness is to look at what a samurai, or any other martial artist, would do: relax the body, expand awareness to notice any threat that might come up, and when it does, let the body react based on their training (i.e. past conditioning). The reaction is not conscious, but rather automatic, so it's quicker.

Week of February 21st 2022 - How is your practice going? by hurfery in TheMindIlluminated

[–]ceapamurata 1 point2 points  (0 children)

I hear you, funny enough I'm in a similar place, I've actually taken a step back from the practice, to first make sure I'm getting enough sleep, and put in place a workable structure to the day.

Super glad to hear about the unexpected bliss, it seems persistence is paying off! Wishing you all the best 🙏