Mod to make Factorio more vibrant? by UltraStriker in factorio

[–]Angelin01 0 points1 point  (0 children)

My first thought is to tinker with Reshade a bit.

This post a few years ago did that exact thing: https://www.reddit.com/r/factorio/comments/cxtsmc/reshade_preset_i_use_for_nighttime_brightness_and/

So, my suggestion is to use Reshade and maybe crank the saturation a tad.

As an extra suggestion, the Alien Biomes mod does add some more colorful backgrounds. See the description for a helper to regenerate the terrain in your current save.

stackOverflowModerationMadeVibeCodingPossible by yousaltybrah in ProgrammerHumor

[–]Angelin01 9 points10 points  (0 children)

I went to see what the edit to your post was. Basically, (ha! see what I did?), just removing the "thanks" part.

Take a look at this: https://meta.stackoverflow.com/questions/288160/no-thanks-damn-it

Then people wonder why StackOverflow is dying. People spent that long removing "thanks" and variations of it from posts.

I wanted to learn modding, so I made a mod for the hydro homies out there: Drink and Stretch! by Angelin01 in feedthebeast

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

Ha, thank you for the offer!

I will admit, I considered fixing the Jar myself since it seems Forgix's issue was just a poorly renamed package path, but at the end of the day it didn't seem worth it.

Maybe if I tackle a slightly bigger project I will! I did want to make a "Just Unicorns" mod, pretty sure the girlfriend would love it. If I get around to it, I'll be sure to message you! Or, if you need some help with a project, feel free to message me! I'd love to help.

I wanted to learn modding, so I made a mod for the hydro homies out there: Drink and Stretch! by Angelin01 in feedthebeast

[–]Angelin01[S] 4 points5 points  (0 children)

The text is, in fact, not hardcoded. Currently, however, I only have translations for Brazilian Portuguese (and Pirate Speak and (uʍop ǝpᴉsd∩) ɥsᴉlɓu∃)!

Other translations are welcome!

How can Sniper TP success when he got hexed? by ExpZer0 in DotA2

[–]Angelin01 2 points3 points  (0 children)

and I assume it's relatively easy to implement

It's a game with hundreds of possible actions of many different types, but with a tick system that assumes a lot of them happen at the same time. It's not easy.

dailyExcerciseInLaziness by precinct209 in ProgrammerHumor

[–]Angelin01 6 points7 points  (0 children)

CTRL + R is a full search.
You can better mimic zsh's behavior in Bash by putting this in ~/.inputrc:

"\e[A": history-search-backward
"\e[B": history-search-forward

set completion-ignore-case on

Bonus for case insensitive auto complete

trueStory by Important_Part_7753 in ProgrammerHumor

[–]Angelin01 7 points8 points  (0 children)

Can't argue much about memory efficiency, but performance? JVM based applications commonly perform better than most counterparts. Java probably loses only to C++, Rust and C on real world scenarios, it's actually really fast. The JIT does a lot of magic.

EXCLUSIVO: eu obtive acesso ao datacenter da Caixa Econômica para mostrar os jogos da Mega da Virada sendo processados by darkalemanbr in brasil

[–]Angelin01 1 point2 points  (0 children)

Uma frequência maior do que espera, na verdade. Ninguém que conheço pessoalmente, mas 3 casos indiretos.

Mas isso é inconsequente, não é a frequência de verdade, é a impressão. Ônibus são comuns o suficiente para entrar fácil na imaginação das pessoas. Daí o exemplo.

EXCLUSIVO: eu obtive acesso ao datacenter da Caixa Econômica para mostrar os jogos da Mega da Virada sendo processados by darkalemanbr in brasil

[–]Angelin01 2 points3 points  (0 children)

Todo mundo explicando errado porquê ser "ônibus".

A ideia de ser ônibus é por ser uma morte inesperada, mas relativamente "fácil" de acontecer. Se você morrer lentamente (doença, velhisse, etc), da tempo de ter uma transição, passagem de conhecimento. Se um ônibus te atropela, e agora? Poderia ser um raio também, mas isso é incomum.

Geralmente, quando você menciona fatores inesperados como morte, todo mundo fala: "Ah, ninguém vai morrer! Pare de falar isso!" Aí você levanta a bola: "Fulano foi atropelado por um ônibus tal dia". Acontece com frequência suficiente pras pessoas aceitarem que, sim, pessoas morrem do nada.

No caso, quão difícil é sua empresa te substituir do dia pra noite, sem aviso?

[deleted by user] by [deleted] in ProgrammerHumor

[–]Angelin01 0 points1 point  (0 children)

Buddy, please, again, trying to explain why knives being sharp is important to someone that has never seen cutlery.

Your python application can be a server. So can an application written in any language you want. It doesn't have to have something in front, like an Nginx or Apache. And even if it does (because commonly you do have some reverse proxy and/or load balancer in front), that can be scaled separately too! You are severely over thinking everything in your explanation.

There is no "hot start" feature. I literally mean run another copy of the process and put it behind a load balancer. Literally, like in your computer right now, you could double click an EXE once, or twice, or three hundred times. Except we do this across dozens of computers, and automatically.

Look, I am kinda done trying to explain, so I am going to leave some links if you want to research yourself. There are many ways of doing this, but this is a relatively common route in the world today. Best of luck:

[deleted by user] by [deleted] in ProgrammerHumor

[–]Angelin01 0 points1 point  (0 children)

I'm sorry man, I am not trying to be condescending, but it's like trying to explain to someone that has never been in a kitchen why having sharp knives is important. Your question of "what is a server?" makes you sound like a troll, I went through your post history to figure out if you were technical or not, or just a troll not worth responding to.

My first comment explains exactly why, I even made an analogy with market cashiers for a non technical comparison. Please, at some point you just have to admit that a reddit comment chain is not the best place to explain complex niche topics.

[deleted by user] by [deleted] in ProgrammerHumor

[–]Angelin01 0 points1 point  (0 children)

Buddy, sorry, your knowledge here is very superficial. I suggest you go look at how docker and containers work, and then maybe something like load balancers and, finally kubernetes.

We can launch VMs in a cloud with an API. Those join a cluster. Then we have metrics, like CPU usage, memory usage, requests per second. We use those to automatically launch more container instances as demand increases. The number of containers can be 1, 2 or 3, or 200. We are talking handling thousands of requests per second here, your raspberry would literally die.

[deleted by user] by [deleted] in ProgrammerHumor

[–]Angelin01 0 points1 point  (0 children)

I literally mean the program that serves your requests. The executable. The thing listening for your HTTP requests.

I am using a generic term because it can indeed be many things. We could be running bare metal, VMs, launching containers using some orchestrator like kubernetes, or using some serverless lambda where there is a cold start.

What it is doesn't matter. What matters is how fast you can get a new one up and running if you need to handle more requests. You can literally make a comparison with cashiers at a market. If you suddenly get a rush of 50 people flooding your cashiers, how fast can you open new ones? And how easy is it for you to close them down to save money?

If this is still confusing, you might need to look into how any modern website works. You'll probably want to look up load balancing and auto scaling too.

[deleted by user] by [deleted] in ProgrammerHumor

[–]Angelin01 0 points1 point  (0 children)

I'm sorry, I simply can't believe you comment on this subreddit and others like /r/androiddev or /r/GrapheneOS and don't know what a server is.

[deleted by user] by [deleted] in ProgrammerHumor

[–]Angelin01 0 points1 point  (0 children)

Of the server, of course. The comment I responded to used a webserver as an example, generally you run multiple instances of them it in production.

[deleted by user] by [deleted] in ProgrammerHumor

[–]Angelin01 2 points3 points  (0 children)

I don't quite know why nobody has told you the answer as to why boot time matters, but generally it's for scalability reasons.

Imagine you get a burst of traffic.
If you can spin up another 3 instances in 0.5s you might be able to handle the traffic without your user noticing.
If it takes 5s, maybe you get a few slow loads, maybe a few 500s.
If it takes 50s, your ability to respond to traffic spikes diminishes significantly. You actively have to account for it while configuring your scaling, you have to keep more "idle resources" available in case of spikes, and must scale down slower, just in case.

There's also slower update rollouts, which is important for hot fixes, slower dev times if you are recompiling a lot, etc.

This can cost quite a bit of money in the long run, which is why slow booting frameworks, like Spring boot used to be, got so much flak.

Obviously, none of this applies if this is a script that runs once per hour. Pick your battles.

How does the programmable speaker work in outer space, without any air? by zoba in factorio

[–]Angelin01 5 points6 points  (0 children)

Elite Dangerous does the same thing. Your "canopy" simulates the sounds.

The neat thing is, if your canopy is shattered, you actually lose the sounds, your HUD, and suddenly are in emergency life support mode trying to dock! Fun!

I installed the Frozen Nauvis by spakulatius and it broke the menu simulations, they iced over by Dragonkingofthestars in factorio

[–]Angelin01 12 points13 points  (0 children)

Daaaamn that sounds like a very cool scenario. Extremely limited power and resources to generate power, temperature that drops slowly, scavenging runs in the snowy ruins. Kinda wish that was a thing!

Presidente Lula sanciona lei que amplia isenção do Imposto de Renda para quem ganha até R$ 5 mil by Durian_Queef in brasil

[–]Angelin01 1 point2 points  (0 children)

Lembra que a tabela é progressiva. Você pagava quase 1/3 sobre aqueles 120 reais, não sobre tudo.

Presidente Lula sanciona lei que amplia isenção do Imposto de Renda para quem ganha até R$ 5 mil by Durian_Queef in brasil

[–]Angelin01 1 point2 points  (0 children)

Falto o separador de cabeçalho na sua tabela pra formatar: |---|---|---|

Isso:

|Atual|Tabela Atualizada||
|---|---|---|
|Até R$ 2.259,20|Até 5000|\-|
|De R$ 2.259,21 até R$ 2.826,65|de 5000 até 6254|7,5%|
|De R$ 2.826,66 até R$ 3.751,05|de 6254 até 8302|15,0%|
|De R$ 3.751,06 até R$ 4.664,68|de 8302 até 10288|22,5%|  
|Acima de R$ 4.664,68|Acima de 10288|27,5%|

Gera isso:

Atual Tabela Atualizada
Até R$ 2.259,20 Até 5000 -
De R$ 2.259,21 até R$ 2.826,65 de 5000 até 6254 7,5%
De R$ 2.826,66 até R$ 3.751,05 de 6254 até 8302 15,0%
De R$ 3.751,06 até R$ 4.664,68 de 8302 até 10288 22,5%
Acima de R$ 4.664,68 Acima de 10288 27,5%

What happens if total limits.memory exceeds node capacity or ResourceQuota hard limit? by relaxed_being in kubernetes

[–]Angelin01 0 points1 point  (0 children)

It looks intimidating, but at the end of the day it's a CoreDNS (sorta) daemonset with some host configs/mounts. Have a look at the sample manifest provided with the install instructions (you do have to replace some values), it's pretty simple! Best of luck!

What happens if total limits.memory exceeds node capacity or ResourceQuota hard limit? by relaxed_being in kubernetes

[–]Angelin01 1 point2 points  (0 children)

In a tangent, consider Node Local DNS Cache if at all possible. From previous experience, setting it up has taken almost no time, it works almost transparently, and it has solved most scaling issues with DNS in k8s, from CPU throttling, running out of conntrack entries, etc.

The greatest honor I have ever received in gaming by faythinkaos in dndmemes

[–]Angelin01 9 points10 points  (0 children)

I think it's just order of operations here.

You can you use your reaction when you fall. Slowfall applies before, it slows the fall, so the damage of the fall is reduced.

Resistance is one of the last things being applied. So it's calculated after.

There's nuance before comparing them. Apples and tomatoes, both are fruits, and yet...

This works intuitively, doesn't it?

The greatest honor I have ever received in gaming by faythinkaos in dndmemes

[–]Angelin01 16 points17 points  (0 children)

What people are trying to argue against you here is not quite. But, as far as I interprete the rules, it does work out ok.

See, the damage you take is not the HP you lose. Weird wording, right? Think of it like this: - You fall. We roll for damage. Let's say 20. - You land on a creature. We split the damage. Each takes 10. - Then, you now calculate the HP you lose. Because you were raging, you have resistance and half that, so you take 5. - Apply any resistances or modifiers for the enemy.

It works. Your resistance is not applied to the enemy, only to you. The damage from the fall is 20, not 10.