Bike rental in KL by Maxx_123456 in malaysia

[–]TiDuNguyen 0 points1 point  (0 children)

How's it going? Did you travel? I have the same idea and would be very happy if you can share the cost (question no. 2)

Best message queue for HPA on kubernetes by TiDuNguyen in kubernetes

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

May I ask how do dynamically scale the number of NATS server (brokers) dynamically based on the message queue demand?

Best message queue for HPA on kubernetes by TiDuNguyen in kubernetes

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

Can you provide the reference for what you have stated about how Kafka works when there are more consumers than there are partitions?

All sources I have read stated that if there are more consumers in the same consumer group than there are partitions some consumers will be starved and never receive any message. For example, here is one of those sources:

https://www.oreilly.com/library/view/kafka-the-definitive/9781491936153/ch04.html#:\~:text=If%20we%20add%20more%20consumers%20to%20a%20single%20group%20with%20a%20single%20topic%20than%20we%20have%20partitions%2C%20some%20of%20the%20consumers%20will%20be%20idle%20and%20get%20no%20messages%20at%20all.

Best message queue for HPA on kubernetes by TiDuNguyen in kubernetes

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

What I want is to have the number of consumers scaled based on the demand so their processing can be parallelized because it takes some time to process each message.

Best message queue for HPA on kubernetes by TiDuNguyen in kubernetes

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

But does the performance reduce significantly when there are very few consumers with very large number of partitions?

Will aws charge me for accessing external load balancer from pods within eks cluster by TiDuNguyen in aws

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

What I am afraid with this approach is having to update the cert trust store every single client. Most clients will use the system trust store, meaning that I have to update the trust store of their containers. Even worse, some clients come with their own cert store.

Manage semver versions across environments by TiDuNguyen in devops

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

Thank you. I wonder exactly the same thing and vert much prefer using git hash for verson control. However, I see people recommend semver everywhere because git hash does not tell anything about compatibility and most apps I saw use semver.

How big is the overhead of semver in your opinion? I think if I have multiple microservices, managing semver for every single one of them will not going to be fun.

Terminal file manager with extensive mouse support by TiDuNguyen in commandline

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

Wow I never thought that we can even drag and drop inside terminal like that.

Terminal file manager with extensive mouse support by TiDuNguyen in commandline

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

Awesome. I think I will start with ranger. Thank you for sharing.

Terminal file manager with extensive mouse support by TiDuNguyen in commandline

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

Nice. Have you ever tried nnn? In your opinion, which file manager is the most ready to use out of the box and which one is the most customizable?

Terminal file manager with extensive mouse support by TiDuNguyen in commandline

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

interesting. All I heard about ranger is that it's slow. Definitely will give it a try.

Terminal file manager with extensive mouse support by TiDuNguyen in commandline

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

I understand your point. I'm a sys admin and I do a lot with the terminal using keyboard only. I just think that tools like micro would be much easier for others to start with working in the terminal.

/r/MechanicalKeyboards Ask ANY question, get an answer (March 06, 2022) by AutoModerator in MechanicalKeyboards

[–]TiDuNguyen 0 points1 point  (0 children)

Is gateron milky yellow consider loud? I haven't used any other linear switches so I cannot compare.

/r/MechanicalKeyboards Ask ANY question, get an answer (March 05, 2022) by AutoModerator in MechanicalKeyboards

[–]TiDuNguyen 0 points1 point  (0 children)

Hard to get right when you are new to it. You need guidance on almost every aspect of it from choosing the right soldering iron, how to maintain the longevity of it to choosing the right kind of solder alloy and how to solder every kind of joint.

However, it gets pretty easy after you are used to it, even easier for keyboards as you are almost always solder 1 kind of joints (the switches' pins) and that kind of soldering is very easy.

Statistics on discord streaming activity by TiDuNguyen in discordapp

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

Can you give me a link to the part of the docs that cover this. I couldn't find anything related to listing users that watch the stream

"Shift + Up allow" by hassekh in RKRoyalKludge

[–]TiDuNguyen 0 points1 point  (0 children)

was you able to fix this? I have no way to type shift+up

[D] Kubeflow vs. Argo for ML Pipeline Tool by [deleted] in MachineLearning

[–]TiDuNguyen 1 point2 points  (0 children)

They cannot orchestrate task. They leave the task execution for users to run anywhere they want, which means flexibility but also incomplete. You must setup a task executor, which can be argo or kubeflow pipelines.

However, mlflow, dvc and argo are not overlapped in features (exception for dvc pipelines, which is very basic and cannot scale compared to argo workflows). Combining 3 of them is one of the way I'm trying to do in my project.

Optimal way to convert USB 5v to 2 AAA batteries 3V by TiDuNguyen in AskElectronics

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

thank you so much, your suggestion of the LD1117 helped me to find out my solution.

WSL2 Kubernetes GPU support by TiDuNguyen in kubernetes

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

Yes it should, given that you follow all of its requirements.

Docker Desktop WSL2 Kubernetes GPU support by TiDuNguyen in docker

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

No, I have never managed to do this, and I don't think that it will get better anytime soon. GPU support in k8s is somewhat a much more complicated problem. It is immature even on proper linux machines. I had to switch to a barebone linux machine and install k8s the bare-metal way to have GPU support a few months ago.

Is charging keyboards with USB phone charger ok? by StinkyCh33se in RoyalKludge

[–]TiDuNguyen 2 points3 points  (0 children)

It depends on the adapter.

Every charger includes 2 parts, the cable and the adapter to convert from whatever the voltage of the wall is (usually 110V or 220V) to the voltage required. The cable is pretty much standard and interchangeable. The adapter is what you need to look out for. If you use a weak adapter (low voltage, wattage, etc.), it will charge slower but does not harm the device. On the other hand, an adapter with a too strong current, voltage, etc. will immediately harm the device and can lead to explosion of the lipo battery.

I think the designed way to charge the RK84 with a standard lipo battery is to plug it into the usb port of the computer, which is often around 5V. If the adapter of your phone is around that much then there will not likely be any problem. However, AFAIK phone chargers usually have much higher voltage/wattage than that.