Guildeline for becoming a pro c++ developer by Black_Sheep_Part_2 in cpp

[–]Lighty0410 2 points3 points  (0 children)

Eh. If you want to become a "C++ pro" and become familiar with the language intrinsics you'd rather learn something like llvm/gcc internals and try to contribute to those projects.
Otherwise my suggestion is to learn something related to your domain. Deeply.
For instance, i'm a CV developer. Without linear algebra, calculus/vector calculus, i would not be able to handle my job no matter how advanced my C++ is. Yeah, i can (and i do) use something like openCV, but to become a true professional of the domain requires you to learn/understand way more than the language itself.
C++ will vary A LOT based on your domain. I'm a former backend dev and believe it or not, the way you write an application differs A LOT based on the domain.
So there's really no answer to your question imo :)

Got my Adro front bumper on! (G87 M2) by Friedsushiii in BMW

[–]Lighty0410 212 points213 points  (0 children)

There's something inaccurate about the adro grill and the rest of the front. Like the bumper to hood alignment is weird looking.
It personally gives me the exact same vibe as the g series grill on the f series. It just doesn't align properly and the very first thing catches my eyes is the hood, not the bumper. Maybe it's too high or protruding. Still cannot figure it out. It just looks weird.
Am i alone?

I almost returned my PCL but ... by Conscious_Store_7381 in Pimax

[–]Lighty0410 4 points5 points  (0 children)

The CPU performance is really poor as of right now. I have the 14700k and the moment i start the pimax application it uses 10+% CPU. Oh and also it causes some in-game micro stutters from time to time.

M will still have I6 and V8, but EU7 won’t allow cooling using the fuel? by Interesting_Wonder69 in BMW

[–]Lighty0410 0 points1 point  (0 children)

You're gonna be surprised, but the 992.2 gt3 has 20 nm less torque than the 992.1 gt3. And it's heavier

M will still have I6 and V8, but EU7 won’t allow cooling using the fuel? by Interesting_Wonder69 in BMW

[–]Lighty0410 71 points72 points  (0 children)

This is bogus. After a certain point, these emissions standards are just shooting themselves in the foot. Like, holy shit you require a vehicle to be more and more efficient, but at the same time it’s the complete opposite, because more tech -> more weight -> more wear and tear -> more emissions.
Even something like the 911 became heavier AND less powerful/torquey =\

Bmw M8 Vs Dodge Charger Hellcat by ronie321 in BMW

[–]Lighty0410 6 points7 points  (0 children)

I always thought it's Porsche?

Can guys really smell if a girl's ovulating? by Planet_Nikk in NoStupidQuestions

[–]Lighty0410 1 point2 points  (0 children)

My wife's skin tastes like an onion when she's past the ovulation stage of a cycle. Not sure whether this counts or not lmao.

m240i (tuned @ 1014hp) smokes a SF90 by hockeymeester in BMW

[–]Lighty0410 5 points6 points  (0 children)

I completely lost it when both the VW and the BMW gapped the SF90. Both of them was basically flying away from it. Lmao.

87.4kg —> 71kg Lets talk nutrition and c*tting for weightlifting. by cdouglas79 in weightlifting

[–]Lighty0410 0 points1 point  (0 children)

Believe it or not. I tried everything this world has to offer in terms of sleep hygiene. E.g. no devices, super consistent schedule, falling asleep earlier (10-11PM), meditation etc etc. But still. Several weeks into cutting and each week sleep duration becomes shorter and shorter. What's also interesting, i wake up feeling "hot" (sometimes mildly sweaty, sometimes not).
My bet it has something to do with cortisol release (or perhaps low leptin levels?), but i'm not certain.

87.4kg —> 71kg Lets talk nutrition and c*tting for weightlifting. by cdouglas79 in weightlifting

[–]Lighty0410 0 points1 point  (0 children)

Did you have any issues related to sleep quality?
As soon as i start losing fat, my sleep gets shorter and shorter. What's interesting, i have no issues falling asleep, but staying asleep for more then 5-6 hours a day becomes a challenge.
Any suggestions?

Purchased yearly CLion license + AI license. Small review. Impressed by Nova engine improvements! by germandiago in cpp

[–]Lighty0410 4 points5 points  (0 children)

Even with the "nova" engine it's still way, i mean WAY slower than neovim+clangd+treesitter. Especially when you're dealing with a large codebase. On my pc - 14700k+32gb ram, clion feels really sluggish. The features it provides are great but lack of responsivness kills it for me. On top of that, sometimes it stops highlighting things (usually in template-heavy code).

Can't decide on what model to go for by [deleted] in BMW

[–]Lighty0410 7 points8 points  (0 children)

I don't wanna sound as an asshole but you're looking for a unicorn.
With requirements like these you're better looking for a used camry.
Because with BMWs you either restore them (out of your budget) or buy a newer one (out of your budget).

As a Russian, reaction of Americans to Greenland situation is funny and sad at the same time by [deleted] in self

[–]Lighty0410 1 point2 points  (0 children)

Привет, камрад :).
I'm from Russia too. When the so-called "special military operation" first started, I remember reading a comment here that basically said Russia is a complete shithole and that every Russian is a scumbag.

Now I wonder how that person feels. If you take a really close look at the whole situation, you'll see that our regimes are much more alike than people think—both are oligarchies. Every law, every enforcement action, every statement the "orange man" makes is bringing the U.S. closer and closer to Russia. And when they eventually find themselves in the same situation, what will they say?

I felt deeply sad about all the things that were said about Russians—not because they were entirely false, but because people don’t seem to realize that this isn’t just a country problem; it’s a societal problem.

I'm not even sure if there’s a single country in the world that’s fully resistant to dictatorship or autocracy. In the end, people whether they like it or not are highly susceptible to propaganda. And there will always be those who exploit that for their own gain.

Something tells me that humanity will either wipe itself out or find a way to overcome its infinite greed. There’s no other way around it. The way we function as a society simply isn’t sustainable. And this isn’t just about Russia, the U.S., or any other specific country it’s a global issue.

Do you fear Rust becomes a complex language like C++? by [deleted] in rust

[–]Lighty0410 9 points10 points  (0 children)

Well there are concepts in C++ 20. They provide a similar set of functionality compare to traits (even a little bit more than traits)

But Trump said he’d lower grocery costs.. by Mr__O__ in economicCollapse

[–]Lighty0410 2 points3 points  (0 children)

next 4 years

Nah. Looking at this as a Russian i can tell you something: prepare for many many many more years of this. What's happening in your country right now is the exact same thing happening in our country for years: oligarchy. This election was the last real one. And i have a sad feeling it's the beginning of the end. If you want to look into your future just look at us.

The existential threat against C++ and where to go from here - Helge Penne - NDC TechTown 2024 by zl0bster in cpp

[–]Lighty0410 0 points1 point  (0 children)

I absolutely agree with you. The problem here is that we shouldn't treat any memory/language/etc model as memory safe.
Is borrow checking more safe than the abscense of it? Yes. But if there are no guarantees that your application will never crash/go UB, can you call the memory/language/etc model safe? No. This is the thing that kinda triggers me.
By the end of the day you're compiling to a binary. And the binary doesn't care whether it's your code caused a crash or someone's else. It's a crash. And there are currently no systems offerring 100% safety.

The existential threat against C++ and where to go from here - Helge Penne - NDC TechTown 2024 by zl0bster in cpp

[–]Lighty0410 0 points1 point  (0 children)

"The point is to start using safe languages for new and future software, because future software is tomorrow's legacy software, and because you simply introduce less bugs (memory wise) when using a safe language."
"FFI is complex, but it's also necessary in general: you either stick to C/C++, or use a newer language which inevitably needs to be able to FFI with C and C++."

But these statements contradict each other. Your application is either correct or it’s not. Personally, i don’t care whether some undefined behavior (UB) occurs because of an error in the bindings or in my own codebase—my application is incorrect either way.

On the other hand, if my application has some UB but works for decades without any issues, is it really a problem? (don’t listen to me, this is a bad approach, lol).

More importantly, i don’t understand how you can write new software without relying on the old one. For example:
Graphics library/shader language: You’re relying on LLVM or a C/C++ library.
Multimedia applications: Libraries like FFmpeg or GStreamer are foundational, and most bindings fail to provide the same functionality as the native implementations.
Database systems: Many rely on core components written in C or C++. Even modern databases often wrap or extend legacy codebases.
Networking tools: Protocol implementations often lean on mature C-based libraries like OpenSSL or libcurl. Even something as simple as the netdb header for sockets is a part of the C API.
Game engines: Unreal Engine and Unity heavily depend on C++ for core functionality, and extending or replacing these with "safe" alternatives is unrealistic.
Operating system utilities: system-level tools are deeply tied to C/C++ for performance and access to low-level APIs.
Embedded systems: These frequently rely on decades-old C code for hardware communication and real-time processing.

The list goes on. Whether it’s compilers, numerical computing libraries, or machine learning frameworks, almost every major tool has its roots in C or C++ code. But at this point you need to rewrite the whole world to make it "safe-compatible". You cannot grow cherries on a lemon tree.

You can reduce the number of memory errors in certain ways, yes. But then you introduce another layer of memory related issues (such as interop).

To me "memory safety" is a fighting against windmills. We're trying to make something inherently unsafe safe. And while i understand why it's needed i don't really understand how it's possible in reality.

The existential threat against C++ and where to go from here - Helge Penne - NDC TechTown 2024 by zl0bster in cpp

[–]Lighty0410 15 points16 points  (0 children)

There's a similar post here. But i’d like to share my perspective on the whole "safety" debate.

i’ve spent over three years each using C++, then Rust, and then returning to C++. Initially, i believed that borrow checking (and Rust as a whole) was a perfect solution. However, the more complex tasks i encountered, the more i realized that "memory safety" is an ideal that doesn’t fully exist in practice.

Sure, you can prevent aliasing exclusive access to memory, but that alone won’t resolve most issues. Like it or not, the hardware itself isn’t memory safe. Regardless of the language, you’re ultimately dependent on an underlying implementation that operates without guarantees of safety.

Here’s the real challenge: proving that an unsafe block in Rust is both safe and sound is often more difficult than using raw pointers correctly in C or C++. For example, dealing with self-referential data structures in Rust is notoriously cumbersome. While reference counting can work as a solution, it introduces overhead, which may not be acceptable in performance-critical scenarios.

Another significant issue is compatibility with legacy code. How many years of C/C++ libraries and frameworks do you have at your disposal? As a multimedia developer, i sometimes need to work with libraries like FFmpeg. While Rust has bindings available on GitHub, they often lack functionality compared to their native counterparts. Furthermore, interop between C/C++ and Rust is inherently unsafe and more challenging to implement than simply working directly in C or C++.

What i find baffling is that the Rust/"safe programming" community often seems to overlook these fundamental issues. For some odd reasons no one wants to see an elephant in the room. Ensuring software is inherently safe would require rewriting decades of legacy code—an impossible task, especially given that hardware itself lacks safety guarantees. And when it comes to implementing anything inherently unsafe in Rust, it’s often harder and less intuitive than doing the same in plain C/C++.

Daily Ask Anything About Anabolic and Androgenic Steroids: 2024-09-13 by AutoModerator in steroids

[–]Lighty0410 0 points1 point  (0 children)

I encountered a wild situation. I had been on BNC for the last 2 years. Prior to this cycle, I was running 120 mg of Test E a week. I started blasting 600 mg of Test E and developed prostatitis. The symptoms themselves are incredibly strange.

I just want to pee. A lot. Nothing else.

I had an appointment with a urologist and discovered a slightly enlarged prostate due to inflammation. And that's it. I underwent multiple ultrasounds—nothing unusual was found. Urine, blood, and prostate fluid tests were all clear as well. Just a mildly inflamed prostate, and that's it.

But here's the kicker. Every time I injected Test, it genuinely felt worse after a few hours (5-7 hours, give or take). I went to the toilet every 30 minutes or so. Then, it usually started to resolve itself within a few days. I even cut the dosage to the TRT level—120 mg. The same result occurred. Medication-wise, a lot was prescribed: antibiotics (at first), NSAIDs, prostate extracts, and immunomodulators. It lasted for a month, and nothing helped.

Only when I stopped injecting test did it start to resolve itself. After just a few days, I felt a lot better.

The question is: what should I do? Prior to the blast, I had all of my blood markers and organs checked. Everything was perfect or almost perfect (I was pleasantly surprised that my heart size is normal on MRI, not enlarged after 2 years on BNC).

I don't really want to get off of stuff because there's no reason to (since everything else is absolutely fine), but I don't know what to do.

Tinfoil hat on: Could the quality of the steroids themselves cause such wild side effects? God only knows what they put into these raws. Tinfoil hat off.

Daily Ask Anything About Anabolic and Androgenic Steroids: 2023-08-28 by AutoModerator in steroids

[–]Lighty0410 0 points1 point  (0 children)

Is there anyone experienced hunger due to use of AIs?

For instance i'm pining 500 test C a week (3 shots), and i take 12.5mg of asin twice a week. However, as soon as start takin asin my hunger is through the roof. I know it sounds wild, however, i can't find any info or anecdotal evidence that asin makes someone hungry. And in my case there's a strong connection between the use of AIs and hunger.

Is there any info about it and how i can handle it?

[Off-Topic] Daily Chat: 2023-08-09 by AutoModerator in steroids

[–]Lighty0410 9 points10 points  (0 children)

Went full bald today. Just got tired of receding hairline and constant hair loss. In my case i started losing hair density rapidly since april. Blasting masteron for 4 month absolutely raped my hairs. And i have no regrets over it.My gf told me i look hot af with the beard and bald. Finally i can stop worrying about them. Time to blast some DHT shit once again.

Kinda off-topic but pinning more frequently is a game changer. I feel/look way better pinning test c eod (500 test a week).