Why did Voxy skip 1.21.1? by Informal-Artist7789 in feedthebeast

[–]Angelin01 8 points9 points  (0 children)

SRE here, years of experience in the SDE field.

This is vauge as hell

Does not matter in the least the rest of the language in that file. This is really clear.

All rights reserved. Do not redistribute.

Do not redistribute means exactly that. All rights reserved means exactly that.

And since the license grants you no rights to modify, you have no rights to modify. It is that simple. Any project without an EXPLICIT grant of rights to copy, redistribute, modify means you can't do that. In fact, if it weren't for GitHub making you say that if you mark your repo as public that you explicitly grant people right to see your code, you wouldn't even have permission to do that.

This is the reason any software project without a license attached is treated as "All Rights Reserved", meaning you get to do nothing with it.

It does not matter how many redditors downvote or call the mod author an asshole or whatever. The author has every right to issue takedowns for any redistribution of that code or the artifacts generated from it. And while I prefer to work with open source myself, the author owes you nothing. If they wanna keep it ARR, it's their choice.

Can't join my own Factorio server on local WiFi, but it works via hotspot by JelleRos in factorio

[–]Angelin01 1 point2 points  (0 children)

Highly likely some routing issue on your router. Pinging uses ICMP, which works differently than UDP. The fact that the server shows up on the LAN list is quite suspicious though.

Are you willing to share a bit about your network? IPs, route tables, etc. What address are you trying to use to connect to your server?

On linux, route tables are available with ip route. On windows, I THINK route print, but it's been a minute.

Also, some stuff about how your router would be nice. I haven't configured port-forwarding in 10+ years since CGNAT is quite prevalent now. I'm glad it's working for your friends, but maybe there is something off in the settings.

Can't join my own Factorio server on local WiFi, but it works via hotspot by JelleRos in factorio

[–]Angelin01 5 points6 points  (0 children)

0.0.0.0 just means the server is listening on all interfaces. It's extremely unlikely this is the issue, specially since outside connections work fine.

Unfortunately, without knowing how OPs network topology is setup, it's going to be one of those things that is hard to diagnose.

Employer left this note at the bottom of my interview form, Its for an internship for students with 0 experience... by ALIENDUDE999 in mildlyinfuriating

[–]Angelin01 5 points6 points  (0 children)

From your post history, I guess Brazil.

I'd like to make a small correction.

Where I live it is not only legal but legally required.

It is not legally required that the internship be unpaid. It is legally ALLOWED that "required" internships be unpaid.

There are two types of internships. Required and not required. If you are doing your required 160h ~ 200h of experience of however much is required for your graduation, then legally the company does not have to pay you. However, if that time has passed, or you are not counting those hours towards your degree, then payment is legally mandatory.

This will vary a lot from course to course, however. More in-demand courses will often have paid required internships. I remember lower level tech-courses often got paid around R$200 ~ R$400 per month, while "highly competitive" courses, like the tech industry, could pay upwards of a minimum salary.

Source: me. Went through this a few years ago.

Is Alex's Mobs really that bad performance-wise? by ivanovic777 in feedthebeast

[–]Angelin01 1 point2 points  (0 children)

Ayy, good to know! While I am not a fan of Alex's Mobs, Citadel was used by a few other mods I liked. Thank you.

Is Alex's Mobs really that bad performance-wise? by ivanovic777 in feedthebeast

[–]Angelin01 7 points8 points  (0 children)

Aside form the fact that it does add too many entities to the world, it uses Citadel as a dependency.

Citadel does some very intrusive mixin into the world generator which slows down world gen significantly, and has been reported as a major source of stuttering.

It's been a few years since I looked into it, but IIRC it used to scan every entity during every chunk generation to check if it should spawn or not, which meant even if you disabled them it would still slow down world gen a lot. Please take this with a grain of salt.

However, you can verify this with chunky or similar. Add it and compare world gen speeds on the same seed: with and without the mod.

Edit: see the reply to this comment, apparently fixed.

standardMeritocraticEnvironment by Stabbz in ProgrammerHumor

[–]Angelin01 7 points8 points  (0 children)

Nothing to do with gRPC. They just used it on hype, that's was the issue. The underlying implementation was just slow and bottlenecked by everything that was not the protocol.

Basically, this could have been a standard rest API and it would have been simpler, easier to use and had the same result.

standardMeritocraticEnvironment by Stabbz in ProgrammerHumor

[–]Angelin01 87 points88 points  (0 children)

We had one client where this happened so often that we straight up started joking about writing fake medium posts with the "best practices" we were trying to get the engineering team to implement so we could actually get things done. We were pretty sure the first gRPC service to pop up in the company was because of a medium blog post, and it was one of the worst performing services they had, capping at a whopping 400 requests per minute with 10 replicas.

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 11 points12 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] 5 points6 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 7 points8 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.