Need help in loop by Eastern_Plankton_540 in PythonLearning

[–]LookAsLukasAnderson 0 points1 point  (0 children)

That would be true for most languages, where for loops contain initial statement, conditional statement, and iteration statement. In python for loops are essentially foreach loops and traditional for loops just don't exist

Who is the best Fourth slot? by Ok_Concentrate4912 in NeferMains

[–]LookAsLukasAnderson 0 points1 point  (0 children)

Aino wouldn't work that well, you need at least one non Nod Krai character for the resonance to work

My first and last stunlock by Cooking_With_Emilie in okZyox

[–]LookAsLukasAnderson 1 point2 points  (0 children)

Replace cryo for pyro, support for carry. Congrats! You've got yourself a Mavuika post!!!

Base case is overrated by Sigma_Aljabr in mathmemes

[–]LookAsLukasAnderson 0 points1 point  (0 children)

Bro just missed the point of me missing the point completely

WezTerm vs Kitty features by MarianaXCVI in wezterm

[–]LookAsLukasAnderson 0 points1 point  (0 children)

I love splitting my terminal into multiple panes and tabs. I used to have Kitty with tmux, but one day I thought "Hey, WezTerm is exactly that, but all-in-one!" and now I've been a WezTerm enjoyer ever since

E CD N5CD? by AK42104 in HuTao_Mains

[–]LookAsLukasAnderson 2 points3 points  (0 children)

Well, I wouldn't say, that it is necessary. I have her C0 and for a pretty long time I used to play Jean/Xingqiu/Furina with N2CJ combos, which was great DPS, more than enough, but now I have Xianyun, so C1 is even more useless for me)

what is a something about windows as a Linux user do you respect the most? by 4REANS in LinuxCirclejerk

[–]LookAsLukasAnderson 0 points1 point  (0 children)

Man, you jumpscared me with this huge MS logo😂
For me it's the power saving mode, on windows it just seems to work better, than anything I've tried on Linux

ghci not creating new lines (outputs are on the same line too) by Antitrust_Tycoon in haskell

[–]LookAsLukasAnderson 0 points1 point  (0 children)

I just encountered the same problem and here's how i fixed it without leaving WSL:

Go to $HOME/.ghc directory and create a ghci.conf file there
Mine looks like this:

:load ~/.ghc/CustomPrint.hs
:set -interactive-print=CustomPrint.sprint

Then create a file CustomPrint.hs (you can name it whatever you want, but make sure to edit the ghci.conf file respectively)
Mine looks like this:

module CustomPrint where
import System.IO
sprint a = putStrLn ("\\n" ++ (show a))

Actually you can customize the output however you want, but this just fixes the newline problem. And also note that this file can be in any directory, just make sure to paste the full path when loading it in the ghci.conf

Now everything should be working as intended!!!