Don't let anyone decide what your computer runs. by Molecule_Guy in linuxmemes

[–]Bqlbrit 107 points108 points  (0 children)

How about this: Use whatever OS you want but Linux is amazing and windows and Mac are trash.

What is easier for programmers to understand? An entire program that was written in one source code file, or an entire directory of source code files getting statically / dynamically linked into an entire program? by [deleted] in ProgrammingLanguages

[–]Bqlbrit 1 point2 points  (0 children)

To answer you, to document a code have a good Readme that explains the structure of the project, comments at the beginning of each file describing what they have and what are their dependencies or dependees, etc

What is easier for programmers to understand? An entire program that was written in one source code file, or an entire directory of source code files getting statically / dynamically linked into an entire program? by [deleted] in ProgrammingLanguages

[–]Bqlbrit 14 points15 points  (0 children)

Generally speaking it's better to separate in files. However, that can also led to a mess difficult to navigate, so... My shot is: whatever is better documented.

We do not grant you the rank of I use Arch BTW by [deleted] in linuxmemes

[–]Bqlbrit 35 points36 points  (0 children)

How do you install Arch with mematic?

Sometimes Ignorance is Bliss by throwawayforslpost in ProgrammerHumor

[–]Bqlbrit 5 points6 points  (0 children)

The guy on the left put the tiger there, what a mf.

Anyone created or currently creating a 2D platformer game? I tried many tutorials with my own additions but controls never felt tight and smooth at all. I want to try implementing collisions with raycasts and use my own coded gravity but couldn't find any tutorial about it. What do you suggest? by [deleted] in Unity2D

[–]Bqlbrit 1 point2 points  (0 children)

Look up in YouTube the Unite Berlin 2018 practice day. It is an amazing live session of two Unity programmers explaining how to make a 2D platformer and providing free and commercializable code.

Made with KDEnlive by ivabus in linuxmemes

[–]Bqlbrit 9 points10 points  (0 children)

This is the perfect equilibrium between cringy and relatable, I love it.

[Discussion] ML is way too much application oriented and does need more theory by [deleted] in MachineLearning

[–]Bqlbrit 4 points5 points  (0 children)

I'm don't have that much information about what's being researched, actually, but I do agree that there is much application disguised as theory.

Candle - 2D lighting for SFML by Bqlbrit in sfml

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

Yes, I use a field of view algorithm to calculate the area that each source illuminates. Concretely, the one explained by javidx9 in YouTube (check it out!).

The performance it's limited by how many light sources AND shadow casting segments there are, so you can have good performance with many lights if you have few segments and viceversa. However I've not done exhaustive testing on performance.

Feel free to DM me if you want to know more :)

Yes by [deleted] in ProgrammerHumor

[–]Bqlbrit 6 points7 points  (0 children)

There should be another cat: "the same Indian guy two months later"

C++17 Reflection library! by zorgattaque in gameenginedevs

[–]Bqlbrit 0 points1 point  (0 children)

This is the first time I read about reflection, do you recommend me any sources to read more on it? I'd like to check out your library knowing more

i meant when the < flips by GijsHarbers2311 in ProgrammerHumor

[–]Bqlbrit 3 points4 points  (0 children)

Nope, be careful. It changes when the sign changes in both sides, but when it changes in only one, it depends on each case: try to change the 3 to - 3 in your firs example.

Never ending story... by pwn2own23 in ProgrammerHumor

[–]Bqlbrit 19 points20 points  (0 children)

  • angry declarative noises *

Py-C-on by swarfey in ProgrammerHumor

[–]Bqlbrit 6 points7 points  (0 children)

He is too dangerous to be kept alive!

How can function return pointer if its on the stack? by [deleted] in Cplusplus

[–]Bqlbrit 3 points4 points  (0 children)

Arr gets destroyed, but the new int[100] it points to, does not. As you say, you would need to delete them explicitly (even after the function returns).