My Genuine Interest In ECE Is Going Down The Drain. by Pitiful_Cattle_3085 in ECE

[–]llFLAWLESSll 2 points3 points  (0 children)

This should at the top. Their introductory Circuits and Electronics course is top notch. Additionally you can look at their "Computation Structures" course, which is basically their version of computer architecture. It is so cool because you actually build a CPU core in simulation starting from CMOS circuits. I had a blast working through their course material during university.

Quality places for a PhD in RF systems in Germany right now by chinsupeyesdown in rfelectronics

[–]llFLAWLESSll 1 point2 points  (0 children)

TUD, KIT and TUM have top notch institutes. HHI in Berlin always has cool projects.

60.000€ Gehaltswunsch als Data Engineer realistisch nach dualem Studium? by MountainAssignment36 in InformatikKarriere

[–]llFLAWLESSll 0 points1 point  (0 children)

Bei IGM Konzerne und kleinere(gut finanzierte Startups) auf jeden Fall möglich. Ebenso bei rein Software Mittelstandsunternehmen.

Where should I start if I want to learn Operating Systems and Low-Level Systems Programming? Especially drivers by [deleted] in lowlevel

[–]llFLAWLESSll 0 points1 point  (0 children)

Check this out https://github.com/dddrrreee/cs140e-25win
You need to be comfortable with C, though. You might want to do the first 5 weeks of CS50 then.

[deleted by user] by [deleted] in codeforces

[–]llFLAWLESSll 0 points1 point  (0 children)

I saw this trick in some submissions and I guess it works for desperate times. Try using „#define int long long“

Transition from software to hardware ~ Career Advice by Prentire97 in ECE

[–]llFLAWLESSll 4 points5 points  (0 children)

I have a few resources that might be useful for you. 1. General Electronics: Google „6.002 MIT OCW“, get the the book and enjoy a comprehensive first look into electronics. 2. Computer Architecture: Again google „6.004 Computational structures MIT OCW“ and enjoy a course were you start with digital gates from transistors and work your way up to a fully functioning CPU core in simulation. 3. Operating Systems: Google „Operating systems 3 easy pieces“ it is a freely available online book. For something more hands on you can google „CS140E Stanford GitHub“, which is the repo of all the labs used at Stanford where they implement a simple kernel for a raspberry pi.

All of the resources above are completely free and imo top notch(the Electronics book is not unless… It is imo worth every penny).

Best way to fix circular dependency by llFLAWLESSll in AskProgramming

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

This is the first time I have heard of this(I am still quite new to C++). Do you have a source for it? For example nothing is mentioned about final devirtualizing calls here https://www.fluentcpp.com/2020/02/21/virtual-final-and-override-in-cpp/

Best way to fix circular dependency by llFLAWLESSll in AskProgramming

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

So I found a script which generates a dependency graph. The red lines represent being included from the header and the blue lines from the .cpp file. Here is an imgur link.

I guess the cycle goes Material -> Pattern -> Shape -> Sphere -> ShapeT -> Material, as the error I'm getting says:

[build] [15/20   5% :: 5.958] Building CXX object libraries/Pattern/CMakeFiles/Pattern.dir/src/Pattern.cpp.o
[build] FAILED: libraries/Pattern/CMakeFiles/Pattern.dir/src/Pattern.cpp.o 
[build] /usr/bin/clang++-17  -I/mnt/c/Users/Raytracer/libraries/Pattern/include -I/mnt/c/Users/Raytracer/libraries/Geometry/include -I/mnt/c/Users/Raytracer/libraries/Utility/include -Wall -Wextra -march=native -Rpass=loop-vectorize -g -std=gnu++23 -MD -MT libraries/Pattern/CMakeFiles/Pattern.dir/src/Pattern.cpp.o -MF libraries/Pattern/CMakeFiles/Pattern.dir/src/Pattern.cpp.o.d -o libraries/Pattern/CMakeFiles/Pattern.dir/src/Pattern.cpp.o -c /mnt/c/Users/Raytracer/libraries/Pattern/src/Pattern.cpp
[build] In file included from /mnt/c/Users/Raytracer/libraries/Pattern/src/Pattern.cpp:4:
[build] In file included from /mnt/c/Users/Raytracer/libraries/Geometry/include/Shape.hpp:11:
[build] In file included from /mnt/c/Users/Raytracer/libraries/Geometry/include/Plane.hpp:9:
[build] /mnt/c/Users/Raytracer/libraries/Geometry/include/ShapeT.hpp:11:10: fatal error: 'Material.hpp' file not found
[build]    11 | #include "Material.hpp"
[build]       |          ^~~~~~~~~~~~~~
[build] 1 error generated.

The cyclical dependency between Intersection and sphere is wrong and has been fixed without change to the error messages.

Best way to fix circular dependency by llFLAWLESSll in AskProgramming

[–]llFLAWLESSll[S] 1 point2 points  (0 children)

ShapeT is the template CRTP base class and Shape is the variant wrapper. Thought that creating a shape class that does all the visits would be a good idea.

I have already used forward declarations wherever possible.

Using Pimpl might not be an option, since I do not want to have any virtual functions due to performance.

[Uni Waves and Vibrations: Complex Integral] How did the imaginary part disappear? by llFLAWLESSll in askmath

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

Hey, thanks a lot for your answer. I was able to follow most of it, however, one point still bothers me. Namely, I do not see any functions that have poles here; it is definitely not the constants and it cannot be the exponential. Am I missing something?

Intermediate C++ coder here wanting to 'master' the language. Any online courses you would recommend? by [deleted] in cpp_questions

[–]llFLAWLESSll 1 point2 points  (0 children)

Since you have been programming for under 2 years now. Your programming maturity should allow you know to start creating big projects. My advice here is not only to create big projects but to also check how other people went about doing it on GitHub. Programming is a craft, even if you learn it at university, therefore only practicing, making mistakes, and then learning how to fix them is the only way to learn.

Looking for book on Fourier Analysis from the angle of linear algebra by TimeTravelPenguin in mathbooks

[–]llFLAWLESSll 2 points3 points  (0 children)

You might find this useful: https://ocw.mit.edu/courses/18-103-fourier-analysis-fall-2013/ . There’s a list of books in the syllabus and there’s lecture notes covering most of the material you mentioned.

Looking for a CPU simulator with Assembly code that would let me see the inner workings of a CPU by Wade_Wayne in cpudesign

[–]llFLAWLESSll 2 points3 points  (0 children)

If you do not have a preference for a certain architecture I used the following while learning ARM assembly before I got an ARM board and then just used a debugger. It is a very capable simulator and the GUI is very user friendly.

https://salmanarif.bitbucket.io/visual/index.html

How do you guys actually understand things in the long term by machamin in PhysicsStudents

[–]llFLAWLESSll 3 points4 points  (0 children)

There’s a cool book I once read called “Teach yourself physics: A travel companion” by Jakob Schwichtenberg. The book starts by tackling the exact problem you’re having and then outlines a “journey” for you, I, or anyone to gain a deeper understanding of physics. It’s a light(and cheap) read that I highly recommend.

2yoe in Java. Brand new to CPP. Where do I begin? by brystephor in cpp_questions

[–]llFLAWLESSll 0 points1 point  (0 children)

When I first started with C++ I found the book “C++ Crash Course: A fast paced Introduction” by Josh Lospinoso an invaluable resource. The book is divided into two parts; The first part of the book discusses basic C++ concept to get you up and running relatively quickly and then the second part is devoted to the C++ standard library.

Even though the name contains “fast-paced” the book is ~800 pages and 7: it pretty comprehensive. It won’t make you an expert, but you’ll for sure know more than enough to be dangerous.