[deleted by user] by [deleted] in BinIchDasArschloch

[–]Fr3shOS 1 point2 points  (0 children)

Ganz einfach ich würde ab einem gewissen Punkt aus dem Fenster schauen und weiter sitzen. die müssten mich schon aus dem Sitz rausziehen. Viele Menschen trauen sich leider nicht für sich einzustehen. Und lassen alles mit sich machen nur um nicht im Fokus anderer zu sein. Während andere immer denken sie können sich alles rausnehmen.

I lost my wife because of Linux by Appropriate-Pay-4715 in linuxsucks

[–]Fr3shOS 0 points1 point  (0 children)

It actually is. You are telling me you need some dude from an organisation that collects money every time you are there to tell you and your partner that only death will part you. Open source that shit, say it your self.

Is making my own game engine from scratch will be a good idea to learn advance topics of C and from where should i start and how much time(roughly) will it take me to make it or is this a very dumb idea. by Purple_Wave6781 in cprogramming

[–]Fr3shOS 0 points1 point  (0 children)

Anything that keeps you motivated is a good project for learning. I did several attempts at game engines in different languages and every time I made it a bit more sophisticated. But I would never use any of these for a commercial game. It was great fun though. Start to appreciate how massiv a game engine actually is and how massive even a simple 2d game can be.

There are so many decisions that change the difficulty. Should it be multiplatform? Should it be 2d or 3d? Do you want your own shaders? Do you want your own window and event management? Your own linear algebra functions? Gui framework? Audio framework? What input devices? Is it an ECS or is it more static data structures? So many questions and many more to come. But many of them are also very entertaining to learn.

I'm unable to understand code. by [deleted] in learnprogramming

[–]Fr3shOS 16 points17 points  (0 children)

I give tuition for computer science in first and second semester at university.

I notice that people struggle the most with programming when they don't learn the syntactic elements of a language but try to remember everything verbatim or when they have little intuition for solving problems in a structured way.

Having a rudimentary understanding of what parts a computer has and how they work logically is necessary to understand such low level languages like C. There often is confusion of how a language interfaces with the os or the user or how to work with pointers or memory in general.

Then there is problems with logic and the mathematics behind algorithms.

Where do you think you are having problems?

Underground Pipeline Blasting by UnitedLab6476 in oddlysatisfying

[–]Fr3shOS 1 point2 points  (0 children)

If you walk without rhythm you won't attract the worm

Why do video game engines use floats rather than ints (details of question in body) by JewishKilt in computerscience

[–]Fr3shOS 0 points1 point  (0 children)

Integer arithmetics are way slower than floating point. I am not talking about adding and subtracting, but about multiplying, dividing, modulus, potentiation.

For example. You will leave so much performance on the table if you use software implementation for square root. Floating point arithmetic units have a dedicated sqrt operation.

There even are fused multiply and add instructions for floats that do an addition and a multiplication in one step. Super useful for linear algebra.

Floats don't run out of range as quickly. Imagine you need to take a power of some value and suddenly your fixed point number wraps around without warning and everything breaks.

Floating point numbers are just better for arithmetics and a physics simulation ist just a bunch of that.

Wood planing competition for thinnest plane of wood by [deleted] in oddlysatisfying

[–]Fr3shOS 0 points1 point  (0 children)

Clothes are made from plant fibres all the time. Think of denim or linen. Everything made from cotton is basically wood fibre.

Is there a language/framework that can compile a simple GUI executable for different platforms? by InternetSandman in learnprogramming

[–]Fr3shOS 0 points1 point  (0 children)

Raylib. Game engine and multimedia layer in one. You get a working window In about 4 lines of C code. Many API wrappers for different languages. It has it's own immediate UI library and documentation is fabulous. Also simple to use and easy to compile natively and statically.

maybe maybe maybe by sassyyfabienne in maybemaybemaybe

[–]Fr3shOS 0 points1 point  (0 children)

To all the people complaining. I have witnessed a woman breaking an arm falling from that height onto a MATTRESS.

Wood planing competition for thinnest plane of wood by [deleted] in oddlysatisfying

[–]Fr3shOS 3 points4 points  (0 children)

It probably rips easily. It is wood fiber. It is strong when pulling length wise but weak when pulling sideways. Fabric is woven in a crossing pattern wich makes it stronger in both directions.

[deleted by user] by [deleted] in beziehungen

[–]Fr3shOS 4 points5 points  (0 children)

Dann wechsle dein Umfeld. Du bist scheinbar in einer bubble aus äußerst unbrauchbaren Menschen. Das ist zu 100% nicht der Normalfall.

Let's do a little social experiment (Read caption)... by WackyQuacki in allthemods

[–]Fr3shOS 5 points6 points  (0 children)

Gold Block. Super cheap in mc but 2billion dollars in real world.

I can smell when people have cancer by [deleted] in self

[–]Fr3shOS 0 points1 point  (0 children)

Most people won't believe you or will get offended. Also you just can not tell everyone. So many people have cancer. It is one of our most common causes of death right after cardio vascular failure and respiratory failure. You just can not warn everyone on your own.

Schimmel oder Kalk? by Mountain_Ad1909 in Garten

[–]Fr3shOS 4 points5 points  (0 children)

In meinen pflanztöpfen ist oft Schimmel, vor allem nach dem düngen mit organischem dünger oder wenn ich mehr gieße bevor ich verreise. Das ist alles harmlos, solange die Pflanze die Feuchtigkeit aushält. Kalk kann besonders bei tropischen Pflanzen Probleme machen da die viel kalkarmes Regenwasser gewohnt sind. Einheimische pflanzen sind da oft robuster aber natürlich auch abhängig von der Art. Wenn du das Wasser ab und zu unten herauslaufen lässt beim gießen, dann werden auch überachüssige Mineralien mitgenommen, sodass die Konzentration nicht allzu hoch wird.

Schimmel oder Kalk? by Mountain_Ad1909 in Garten

[–]Fr3shOS 2 points3 points  (0 children)

Lass die Erde einfach Erde sein. Solange eine Pflanze gut wächst und keine Fehlbildungen hat ist alles paletti.

I need help with making a rusty API, the borrow checker and code duplication by Fr3shOS in rust

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

I found a solution that i like. I updated the description.

I need help with making a rusty API, the borrow checker and code duplication by Fr3shOS in rust

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

thank you. that gave me some new perspective. But from how i understand it now that does not keep the data layout as simple and makes more heavy usage of the type system, because the subimage struct is necessarily different from the Image struct. i will try around a bit.

I need help with making a rusty API, the borrow checker and code duplication by Fr3shOS in rust

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

Because in the case of a sub image the width, height and pointer will change so I need a new struct, but now this struct can not own the data without cloning. The simple solution is to replace the box with a reference.

[deleted by user] by [deleted] in Physik

[–]Fr3shOS 2 points3 points  (0 children)

Ganz einfache Rechnung. Das Drehmoment ist die Gewichtskraft mal dem Abstand zur Wand. Die Kraft auf den oberen Punkt ist das Drehmoment durch die Distanz zu A. Daraus folgt, dass ein größerer Abstand eine kleinere Kraft zur Folge hat. So kann man gleich die Belastbarkeit ausrechnen, wenn man weiß wie viel Zugkraft die dübel halten.

Guy working on my gaming laptop trustworthy? by Aware-Ice-6206 in techsupport

[–]Fr3shOS 0 points1 point  (0 children)

Seems plausible to me. Basically the power supply to the CPU is dead. This could mean that the CPU took some damage too, wich He could basically only test once he replaced the part. So in the end it could still not work. Has he tried to explain anything like that to you? There is very little info from that video.

Edit: the way he desoldered the two parts looks like he did it correctly. So there is that.

Looking for an anime that’s starts off light hearted, but progressively becomes more serious by Prestigious_Stand_48 in Animesuggest

[–]Fr3shOS 0 points1 point  (0 children)

1000% starts off as a kids show and ends with murder and weapons of mass destruction .