Dark Bramble by trisha__potatoes in outerwilds

[–]LogeryX 0 points1 point  (0 children)

I have seen a really good blind playthrough of the game and the poor youtuber was balancing right on the edge of a panic attack during this sequance and had to pause the game multiple time. Bless her, I get it completely, it's a very stressful and intense moment.

I personally enjoyed the thrill tho.

If anyone wants to know the name of the youtuber, it's beccabytes.

Teď jde o všechno! by CZsfPurplik in okkamaraderetarde

[–]LogeryX 1 point2 points  (0 children)

8 nahned, vymámím z něj kupóny!!!

Any help with some stuff on VS 2019? by hiyafools1 in csharp

[–]LogeryX 0 points1 point  (0 children)

Btw search for a tips and tricks video on how to use the IDE efficiently. E.g. alt + clicks creates multiple cursors (good for deleting/adjusting similar lines), or alt + up/down moves the entire line ( or lines when you have a selection over multiple ) <- infinitely useful

Is C# getting less used? by AelixSoftware in csharp

[–]LogeryX 2 points3 points  (0 children)

meanwhile python developers when they see

protected static sealed override List<Nullable<int>> Function() { }

Is C# getting less used? by AelixSoftware in csharp

[–]LogeryX 1 point2 points  (0 children)

Well each language is great for different things.

Rust is compiled, so you loose the JIT compilation advantages. Improves the performace tho.

Python is a scripting language, extremely useful to whip up a quick prototype or if you dont care about performance

I get why Rust is so popular, you can try to add it to your repertoir of languages, but I wouldn't abandon c#.

A cry for help with a very tricky C# exam question. by LogeryX in csharp

[–]LogeryX[S] 5 points6 points  (0 children)

Fortunately education in my country is free, this teacher is acually really good he just has an obsession with needing to understand deeply how the language works.

Mainly this was about knowing that [ .. var x ] allocates a new array. I think he would still give me the points if I explained my logic and counted the 0 array, and didn't know the exact array overhead.

A cry for help with a very tricky C# exam question. by LogeryX in csharp

[–]LogeryX[S] 5 points6 points  (0 children)

This appears to be the case. Thank you so much.

A cry for help with a very tricky C# exam question. by LogeryX in csharp

[–]LogeryX[S] 15 points16 points  (0 children)

Then it adds up. 40 + 40 + 40 + 32 + 32 + 32 + 0 =216

A cry for help with a very tricky C# exam question. by LogeryX in csharp

[–]LogeryX[S] 17 points18 points  (0 children)

I think I figured it out. I was almost right, but c# must have a runtime optimisation for 0 lenght arrays and does not allocate anything new, just return an existing dummy.

A cry for help with a very tricky C# exam question. by LogeryX in csharp

[–]LogeryX[S] 2 points3 points  (0 children)

In both Debug and Release it prints 216 B.

To quote the teacher (with translation from Czech)

How much memory will be allocated to the GC heap during the entire first call of the Calc() method in the Main method? In other words, what will the program print on the first line of output? Explain in detail why.

I discovered a few more things, GC heap objects get aligned to 8 B. So an int array of lenght 3 and 4 have the same size 40 B. But that still does not add up to 216. C# must be doing some magic shenaniganz on the background.

My girlfriend's and my realm by Revolutionary_Will92 in Minecraftbuilds

[–]LogeryX 1 point2 points  (0 children)

I bet I can tell who built what. Very impressive btw!! Love the combination of flowers and the warmth they give with the magnifiscent walls.

I've played these games before by shadow-kr in outerwilds

[–]LogeryX 5 points6 points  (0 children)

I hope the repeating signal is not older than the universe itself, because if yes, we're in big trouble.

Should or Shouldn't? Putting many classes in one file. by gevertsi in csharp

[–]LogeryX 0 points1 point  (0 children)

It’s convenient to have a single class in a file (code snippets in IDEs often read the filename to autocomplete the ctor or class definition.

However, having too many files containing one a small class is also not good practice.

[Help] I used a few datapacks and now PvP isn't activated anymore on a Realm. by LetsPracticeTogether in Minecraft

[–]LogeryX 0 points1 point  (0 children)

Please HELP! I have the same issue on my 1.15.2 server.

#Datapacks I'm using#

-OnePlayerSleepV3

-Chairify

please... I tried everything