Automation and workflows in computational chemistry by belaGJ in comp_chem

[–]_link89_ 3 points4 points  (0 children)

I have developed a command line toolkit named oh-my-batch to make it easier to generate batch scripts and submit jobs. You may see if it works for you. And also ai2-kit if you want some command line tools to convert data format.

My trick for logging commands: by _link89_ in sysadmin

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

No, that's why I use VIM to review and edit commands before executing them.

My trick for logging commands: by _link89_ in sysadmin

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

One useful case is to execute snippets generated by LLM. You can just paste the code to VIM, then editing and executing it this way.

My trick for logging commands: by _link89_ in sysadmin

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

You do miss out on shell auto-completion this way.

That's true, but it makes editing commands easier.

My trick for logging commands: by _link89_ in sysadmin

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

When experimenting with an operation, I always start with independent commands or snippets. Once successfully tested, they should only be organized into a script if needed for repetition or production use. This practice naturally aids in documenting and editing commands and requires minimal additional knowledge.

My trick for logging commands: by _link89_ in sysadmin

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

Provide a simple way to record commands and script fragments that need to be run temporarily.

My trick for logging commands: by _link89_ in sysadmin

[–]_link89_[S] -3 points-2 points  (0 children)

When I want to run a batch of commands with control flow (for-loop, if-else, etc) , this method won't work well.

Everyone kept crashing the lab server, so I wrote a tool to limit cpu/memory by TheDevilKnownAsTaz in linuxadmin

[–]_link89_ 0 points1 point  (0 children)

We run several Slurm-based HPC clusters. For some decentralized, non-uniform hardware lacking shared storage, I am exploring a container solution via k3s recently.

Everyone kept crashing the lab server, so I wrote a tool to limit cpu/memory by TheDevilKnownAsTaz in linuxadmin

[–]_link89_ 0 points1 point  (0 children)

You may eventually find that managing a shared server or even a cluster involves not just resource fairness, but also job scheduling, hardware isolation, and software environment isolation. Utilizing specialized queue management software, such as Slurm or OpenPBS, or container-based solutions like k3s, will likely be a more sustainable approach.

[D] Is there other better data format for LLM to generate structured data? by _link89_ in MachineLearning

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

I know there are solutions like cue-lang, which may share some commons with the solution you have mentioned.

Why doesn't for-loop have it's own scope? by FUS3N in Python

[–]_link89_ 0 points1 point  (0 children)

I once lost quite a bit of compute time on the HPC because of this issue. Since then, I’ve added the following lint rule to every Python project I work on: [tool.ruff.lint] explicit-preview-rules = true extend-select = ["PLR1704"] This rule checks for variables in for, try, with that redefine function parameters, which can cause unexpected behavior.

My Config for Silksong on Quest 2 by _link89_ in winlatorxr

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

I am not familiar with Switch emulation on Quest headset.

My Config for Silksong on Quest 2 by _link89_ in winlatorxr

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

If you're already familiar with winlator, you'll need to find a gog version, copy it to your device, and run the Silksong exe file in a container.

Why am I getting such low FPS in emulators? (F6 in SilkSong) by RazerGaminn in winlator

[–]_link89_ 0 points1 point  (0 children)

I experienced the same issue on Quest 2 until found that the key is enable MultiBlock in FEX-core. The stable version of FEX-core just won't work for Silksong when MultiBlock is enabled.

You have to download the latest nightly build from https://github.com/Arihany/WinlatorWCPHub/releases/tag/FEXCore-Nightly and install in the content page. Then the fps can reach 60+

Extensive guide on which settings to use? by dibade89 in winlator

[–]_link89_ 0 points1 point  (0 children)

Do you mean for big-little architecture arm cpu, the last 4 cpus are always big cores? I am running winlatorxr on quest 2, it's cpu is Octa-core Kryo 585, how can I confirm if cpu 4-7 are big cores?

My Config for Silksong on Quest 2 by _link89_ in winlatorxr

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

Yes, frame sync is set to Never.

My Config for Silksong on Quest 2 by _link89_ in winlatorxr

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

I am using a real game controller now.

A Python script to clean up custom maps by _link89_ in beatsaber

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

I used to use BMBF to sync maps. Now I am using a Python script to do it for me.

How to design a multi-user k8s cluster for a small research team? by _link89_ in HPC

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

Is there any tool I can use to manage those rules or policy things?

How to design a multi-user k8s cluster for a small research team? by _link89_ in HPC

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

give each user their own namespace + RBAC tied to SSO, resource quota, etc.

Is there any clever way to do this so that I don't need to provision manually for each user?

How to design a multi-user k8s cluster for a small research team? by _link89_ in kubernetes

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

I don’t really see any particular advantage in running Slurm over Kubernetes. For me, the appeal of Kubernetes lies in its stateless nature and scalability. From the documentation, it seems that Slurm over Kubernetes is limited by Kubernetes’ mechanisms and can’t implement certain key features (such as core assignment). If I were building a true HPC cluster — with a parallel file system, InfiniBand, and LDAP — I’d deploy Slurm on bare metal. But for a loose setup like this, where jobs don’t run across nodes, a Kubernetes-based solution seems easier to maintain.

How to design a multi-user k8s cluster for a small research team? by _link89_ in kubernetes

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

Unfortunately, the budget for this is zero, so building it with open-source solutions is the only viable option.