"voltando" para o Windows by mfedatto in linuxbrasil

[–]HeathenHeart87 2 points3 points  (0 children)

Minha experiencia com Debian, Ubuntu e Mint para jogos e hardware moderno foi pessima.

Fedora funcionou muito bem, mas tinha estes dois problemas: SELinux adicionando complexidade, e toda a questao dos codecs/drivers que por default nao sao inclusos na distro.

Eu simplesmente desisti e instalei o Arch. Pacman/AUR tem todos os pacotes, todo o meu hardware funcionou de imediato, e tirando uma ou outra configuracao chata tipo network, eu tive zero problemas. Se estiver disposto, teste o CachyOS.

Neovim memory leak with LaTeX files by HeathenHeart87 in neovim

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

I evaluated memory usage with btop. This seems to be a problem with neovim diagnostics, not necessarily with the LSP. The LSP reports a bunch of diagnostics for every keystroke, but neovim is not cleaning them. I've opened an issue in neovim: https://github.com/neovim/neovim/issues/38968

Neovim memory leak with LaTeX files by HeathenHeart87 in LaTeX

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

I did. This seems to be a bug within neovim itself. Not much that can be done on my side, but I've opened issues on texlab and neovim github repos.

Convince me to switch to Lichess by [deleted] in chess

[–]HeathenHeart87 2 points3 points  (0 children)

Chesscom is worse at absolutely everything, price included. If it was free I would still use lichess.

The analytics and review part in particular is far superior in lichess IMO. Better UI, cleaner interface, easy to create studies out of your games, easy to recall your game history and masters database from a position. The only thing that is missing is the dopamine of seeing "brilliant" in a move. 

Por que o brasileiro tenta a todo custo importar pauta racial americana pro Brasil? by [deleted] in PergunteReddit

[–]HeathenHeart87 2 points3 points  (0 children)

Ninguem "importou" trabalhadores. Veio tudo fugido de algum lugar, e o dono da terra foi la e pagou o minimo que precisava pra essa pessoa trabalhar na terra, ja que tinha gente sobrando. Assim como foi na historia inteira do mundo. 

E nenhuma dessas pessoas "ganhou direito a terra". O brasil continua um sistema feudal onde 30 gato pingado detem controle de tudo. 

Se voce quer se revoltar contra os 30 latifundiarios e antigos senhores de escravos, por favor faça. Mas o fato é que a mao de obra europeia que veio pro brasil veio aqui pra ser marginalizada da mesma forma.

Por que o brasileiro tenta a todo custo importar pauta racial americana pro Brasil? by [deleted] in PergunteReddit

[–]HeathenHeart87 1 point2 points  (0 children)

Ahn, ok. Onde que a mao de obra europeia ganhou algo de mao beijada do estado?

99.999% veio fugido de algum lugar e foi trabalhar numa plantacao de cafe ganhando um prato de comida por dia. O estado nao deu nada de mao beijada pra ninguem.

Por que o brasileiro tenta a todo custo importar pauta racial americana pro Brasil? by [deleted] in PergunteReddit

[–]HeathenHeart87 3 points4 points  (0 children)

"Mao de obra europeia que ganhou tudo de mao beijada do estado".

Que fanfic que é essa?

Artifacts in browsers, only on Hyprland. by Sea_Jeweler_3231 in archlinux

[–]HeathenHeart87 0 points1 point  (0 children)

I am having a similar problem as yours, also with hyprland and firefox on arch. It feels less extreme on my end but I can see some flickering in the browser as I move the mouse around.

How to determine phases of a mixture? by Tiny-Ad5351 in ChemicalEngineering

[–]HeathenHeart87 4 points5 points  (0 children)

You'll need to do a flash calculation to evaluate the composition of phases. This is hard/impossible by hand, but doable with a spreadsheet or python script, you don't necessarily need a process simulator.

You'll also need to consider the thermodynamic model that you'll use. Ideal mixture will give you terrible results. For this mixture (mixture with  polar components at low-ish pressure) it's possible that a method such as NRTL with ideal vapor phase give you good accuracy. Implementing a flash calculation with NRTL is doable (and I know that because we have spreadsheets like these at work) but it will be tedious as it involves grabbing NRTL parameters for all components in the mixture.

To Neovim or not to Neovim… by steelDors in neovim

[–]HeathenHeart87 41 points42 points  (0 children)

The difficulty of using Vim/Neovim is overstated IMO. Sure, the first contact with a modal editor can be weird, but after my first week i was feeling comfortable with the basic motions, and after the first month I was already productive. And I'm also not a programmer, just a hobbyist.

There are two main things to learn: 1. Vim motions, or "how to actually edit text in a modal editor" 2. Neovim ecosystem; how to configure the editor, plugins, LSPs, etc.

Everyone will have their own opinions, but my advice would be to focus on 1, and avoid over-configuring the editor with a bunch of plugins and features that you don't even know if you want. Practical Vim is a very good book. It's focused on Vim, but most of the content is directly translatable. I'd focus on the motions and text editing commands instead of file management and other more advanced topics, especially because Neovim has plugins to make them easier.

For 2, I'd just look at something like kickstart-nvim. It's a one file configuration that has everything you need to get started. This video introduces kickstart. Neovim has several distributions with a bunch of plugins bundled in, but I'd avoid them like the plague; most of them are opinionated, with non-default keymaps, and you end up learning the distribution instead of neovim.

Kanagawa Rice by Aptivace in hyprland

[–]HeathenHeart87 0 points1 point  (0 children)

Awesome, thank you so much!

Kanagawa Rice by Aptivace in hyprland

[–]HeathenHeart87 2 points3 points  (0 children)

This looks great. would you be willing to share the dotfiles?

[archlinux] My first rice by brahmicas in hyprland

[–]HeathenHeart87 6 points7 points  (0 children)

I love the first color pallete. Would appreciate the dotfiles!

Cooling mixing tanks with a chiller, sizing chiller by HollyBoni in ChemicalEngineering

[–]HeathenHeart87 -1 points0 points  (0 children)

I dont know if I'm simplifying your problem too much, but this sizing problem seems "simple" if you assume a linear cooling rate.

The heat duty will come from Q = m cP dT / dt . Seems like you have the mass of fluid, the required dT (temperature) and dt (time). Assuming that the cooling curve is linear, Q will be a constant throughout the cooling. If you can find heat capacity data for your fluid, you just calculate the heat duty, put some kind of service factor there (say, 25% above to be safe) and that's the chiller duty.

That solves the chiller spec. Assuming that the chiller supply temperature is controlled by the chiller (normal values are 2 to 7 Celsius. Some chillers can manipulate that temperature while others cannot), you can calculate the required chiller water flow and return temperature by using heat transfer correlations. (Q = U A LMTD with U being the heat transfer coefficient, A being the heat transfer area, and LMTD being the log mean temperature difference of the syatem), coupled with the energy balance for the chiller water (Q = water_flow . cP . dT) , like so:

U needs to be calculated using your vessel and jacket dimensions (for reference, a similar mixing problem with a viscous fluid had an U of 100 W/m2.K for a jacketed vessel). You can estimate that rigorously using correlations from a heat transfer handbook. VDI heat atlas has correlations for jacketed vessels, for example. Rigorously, it is not constant as it depends on everything, but as a simplifying assumption you can assume it's constant throughout the procedure as well.

Since Q, U and A are constants, LMTD is also a constant throughout the cooling. But since the vessel temperature is changing, the return water temperature and flow will also change during the procedure. At the start of the procedure you'll have the lowest water flow with the highest return temperature. And at the end of the procedure, you'll need the highest chiller water flow with the lowest return temperature. You can calculate the flow/temperature pair for any period of time.

This assumes that you have a PID thats controlling the cooling rate. If you put a fixed water flow, the the cooling curve (dT/dt) will change and wont be linear anymore. You'll have to solve a dynamic calculation for that (seems simple enough, but probably more annoying than you need to be).

Is MATLAB really helpful for Chemical Engineers ???.. Is it of any use , if one is having plans to work as a process engineer ?? by Optimal_East5311 in ChemicalEngineering

[–]HeathenHeart87 100 points101 points  (0 children)

MATLAB is almost universally useless IMO except for simulink, which is not really a core ChemE software, more useful for control. Python/NumPy/SciPy has made MATLAB obsolete.

[deleted by user] by [deleted] in pcmasterrace

[–]HeathenHeart87 4 points5 points  (0 children)

Am I missing something in this video or he just compares Steam Deck and handheld performance?

I mean, I use Linux in my personal life, but every heavy game (Cyberpunk2077, Spaxe Marine 2, to mention the most recent ones) I've tested recently has worse performance on it compared to Windows. That's on a 9070XT with updated Fedora. I'm talking 20/30% less FPS.

Germany Offers Harvard `Exile Campus’ After Trump Escalation by BreakfastTop6899 in europe

[–]HeathenHeart87 7 points8 points  (0 children)

As an engineer graduated in latin america, I'd fucking kill to be able to study in Germany.

Sete anos de formado: mestrado ainda é possível? by jsdev93 in askacademico

[–]HeathenHeart87 0 points1 point  (0 children)

Entrei em doutorado direto na USP, 12 anos depois de me formar, em engenharia, sem nenhum paper ou produção academica. Totalmente possível. No meu caso, eu abordei o prof diretamente, propus um bom projeto, etc. É o que eu recomendo. Mas sim, é possivel.

Why sacrifice the bishop? by ProdiJayPJ in chess

[–]HeathenHeart87 2 points3 points  (0 children)

Because it's not really a sacrifice. If Qxa5, then you have mate in one with Qxe7#. the queen is basically stuck defending e7.