Good vs. Evil

  • The FTB Forum is now read-only, and is here as an archive. To participate in our community discussions, please join our Discord! https://ftb.team/discord

lenscas

Over-Achiever
Jul 31, 2013
2,015
1,801
248
27 you know what is fun? When you are working with 2 servers that are talking to each other without access to a good debugger and one of them not having a terminal window either.

Guess its time to look up where php's error_log functions log their stuff and hope for the best.
 

lenscas

Over-Achiever
Jul 31, 2013
2,015
1,801
248
27 just tried getting the school project to actually run on my computer.
It started with dotnet run to complain about the build failing. Trying to run dotnet build gave no output however.
eventually I figured out that it wasn't installing dependencies. This lead to try and install nuget, Which became installing mono-complete to run a windows version of nuget like people suggested.

This however lead to a dead end (because, why not). After some more googling I concluded that I had to delete some specific folders however, this failed as well.

After that I tried running it as root, which looked like it worked, until it segfaulted.
This meant I had to rename something todo with ssl to fix that. So now, dotnet restore finally worked.

dotnet build however, still did not. However, at this point fixing that was easy as it just needed to run as root, and so does dotnet run.

Leave it to microsoft to make a compiler that needs to run as root >_>
 

duckfan77

Popular Member
Mar 18, 2013
80
683
118
26 Why would a compiler need to run as root. It isn't making any changes to the device, only building a file that might. I can see that file needing root, but not the compiler itself.
 

GamerwithnoGame

Over-Achiever
Jan 29, 2015
2,808
1,507
224
25. Speaking of Root; has anyone done much with the Roots or Roots 2 mods? I've only ever seen people use them in modpacks where basically they had to because recipes and progression were Minetweaked together with other mods.
 

lenscas

Over-Achiever
Jul 31, 2013
2,015
1,801
248
26 Why would a compiler need to run as root. It isn't making any changes to the device, only building a file that might. I can see that file needing root, but not the compiler itself.
27 because of microsofts amazing design /
they want to install each dependencies globally and that obviously need root access. (Why they can't just store them in your user folder is beyond me.)
Then in order to build it, the compiler needs access to those stored dependencies, and because the dependencies are created by root and microsoft doesn't handle the permissions on those thing correctly you need to give the compiler root access.

Even better, the first step of dotnet run is to also make a new build. EVEN if you ran dotnet build seconds ago and nothing has changed. And with microsofts great design so far I would be surprised if your application doesn't end up running as root because of it.

Also, the compiler being build by microsoft means that it collects user data to send to them. BECAUSE, OF COURSE IT IS!

Can someone please explain why people like C# and .net (core)? Because so far its been a shithole, and I didn't even write a single line of code yet >_>
 

duckfan77

Popular Member
Mar 18, 2013
80
683
118
24 I spent 3.5 hours hunting down a bug in the code. It ended up being that someone had misspelled initialize as "inialize", and because it was supposed to be an overridden function, the calling location didn't complain. This is why we use @Override annotations...
 

GamerwithnoGame

Over-Achiever
Jan 29, 2015
2,808
1,507
224
23. Well there's an issue. I remember when doing some simple programming in BBC Basic, and anything - even a single character error, could and would cause the whole program to fail.
 

lenscas

Over-Achiever
Jul 31, 2013
2,015
1,801
248
23. Well there's an issue. I remember when doing some simple programming in BBC Basic, and anything - even a single character error, could and would cause the whole program to fail.
24 that is generally the case when writing code. If you miss one character either your program will crash or even worse the program won't crash but doesn't do what you expect it to do and its up to you to find the typo (and that is if you are lucky and already know its because of a typo).
 
  • Like
Reactions: GamerwithnoGame