I’m learning C and made a simple version of ls. Could someone review my code?

I’m learning C and made a simple version of ls. Could someone review my code?

I’m currently learning C and decided to build a simple version of ls as a small project to practice what I’ve learned.It’s still pretty basic, and I’m sure I’ve made some mistakes or done some things in a bad way. I’d really appreciate it if someone could take a look at the code and point out any bugs, bad practices, or things I could improve. Repo

u/Sensitive-Raccoon155 — 8 days ago

Is standing while working actually better than sitting?

I’ve been reading Deskbound, and the book suggests that working while standing can be better for your body. I’ve tried it, but I have a hard time focusing when I work standing up. I also find it difficult to stand for more than an hour without a break because my legs start to hurt.At the same time, I’ve heard that standing for too long isn’t necessarily good either and may contribute to problems like varicose veins.So what do you guys recommend? Should I try to work standing more often, or is it better to sit and just make sure I take regular movement breaks? I’d also be interested to hear from people who actually work at a standing desk and how it works for them.

reddit.com
u/Sensitive-Raccoon155 — 1 month ago

Is standing while working actually better than sitting?

I’ve been reading Deskbound, and the book suggests that working while standing can be better for your body. I’ve tried it, but I have a hard time focusing when I work standing up. I also find it difficult to stand for more than an hour without a break because my legs start to hurt. At the same time, I’ve heard that standing for too long isn’t necessarily good either and may contribute to problems like varicose veins. So what do you guys recommend? Should I try to work standing more often, or is it better to sit and just make sure I take regular movement breaks? I’d also be interested to hear from people who actually work at a standing desk and how it works for them.

reddit.com
u/Sensitive-Raccoon155 — 1 month ago

Does anyone else feel incomplete without the gym?

Lately I've realized that I feel completely different when I'm not going to the gym. It might sound weird, but without it I almost feel incomplete. I lose weight surprisingly fast, my energy drops, and I just don't feel like myself.I've tried training at home with dumbbells, a pull-up bar, and dip bars, but it never gives me the same feeling or results as working out in a gym. Does anyone else experience this, or is it just me?

reddit.com
u/Sensitive-Raccoon155 — 2 months ago
▲ 27 r/NoFap

Nofap is not enough

I see so many people expecting nofap to completely change their lives. They quit porn and masturbation, wait a few weeks, and then get disappointed because they don't suddenly become confident, motivated or successful. The truth is that quitting porn only removes one bad habit. it doesn't automatically build a better life for you. If you spend your days scrolling on your phone, sitting inside, avoiding difficult things and chasing other sources of cheap dopamine, your brain will simply replace one addiction with another. What actually changed things for me was treating nofap as just one piece of a much bigger picture. Lifting weights, doing cardio, walking every day, eating well, sleeping enough and finding hobbies that force my brain to think instead of constantly consuming entertainment. That's when i started feeling like i was actually becoming a different person. Nofap doesn't create discipline. It gives you the opportunity to build it. Stopping porn is only removing the obstacle. Everything that comes after is what really changes your life.

reddit.com
u/Sensitive-Raccoon155 — 4 months ago

Just Found Out Creatine Is Made From Petrochemicals. Does That Matter?

I just watched a video claiming that the creatine most people buy is made using ingredients that come from the petrochemical industry. I had no idea and honestly it sounded pretty strange at first. My first thought was that if it comes from petrochemicals, how is it considered safe and natural? Is there actually any reason to be concerned about creatine being made this way, or is this one of those facts that sounds scary until you understand the science behind it? I'd be interested to hear what people who know chemistry or nutrition think.

reddit.com
u/Sensitive-Raccoon155 — 4 months ago

Just Found Out Creatine Is Made From Petrochemicals. Does That Matter?

I just watched a video claiming that the creatine most people buy is made using ingredients that come from the petrochemical industry. I had no idea and honestly it sounded pretty strange at first. My first thought was that if it comes from petrochemicals, how is it considered safe and natural? Is there actually any reason to be concerned about creatine being made this way, or is this one of those facts that sounds scary until you understand the science behind it? I'd be interested to hear what people who know chemistry or nutrition think.

reddit.com
u/Sensitive-Raccoon155 — 4 months ago
▲ 22 r/dotnet

How do you handle read-only DTOs in Clean Architecture with EF Core?

I'm working on a project using clean architecture. My domain entities and repository interfaces live in the domain layer.

The issue I'm struggling with is read-only queries.For example, let's say I need to display a list of products, but I only need a few fields. Loading the entire Product entity from the database feels wasteful, so projecting directly into a ProductDto would make more sense.

However, ProductDto is not part of the domain model, so it doesn't belong in the Domain layer. Because of that, creating repository methods like GetProductDtoAsync() feels wrong since repositories are supposed to work with domain entities.

Am I understanding this correctly, or am I trying too hard to follow clean architecture?

reddit.com
u/Sensitive-Raccoon155 — 4 months ago

What kind of projects helped you learn C as a web developer?

I'm a web developer and recently started learning C because I want to understand lower-level programming better and get a deeper understanding of how things work under the hood.

The language itself is starting to make sense, but I'm struggling to come up with project ideas. Most of my experience is in web development, so when I think about building something, my brain immediately goes to APIs, databases, and web apps. C feels like a completely different world.

I know this is a C++ community, but my plan is to move on to C++ after building a solid foundation in C, so I thought this might be a good place to ask.

For those who learned C or C++ after working in higher-level languages, what projects helped you stay motivated and actually learn useful concepts? Any suggestions would be appreciated.

reddit.com
u/Sensitive-Raccoon155 — 4 months ago

What kind of projects helped you learn C as a web developer?

I'm a web developer and recently started learning C because I want to understand lower-level programming better and get a deeper understanding of how things work under the hood.The language itself is starting to make sense, but I'm struggling to come up with project ideas. Most of my experience is in web development, so when I think about building something, my brain immediately goes to APIs, databases, and web apps. C feels like a completely different world.For those who learned C after working in higher-level languages, what projects helped you stay motivated and actually learn useful concepts? Any suggestions would be appreciated.

reddit.com
u/Sensitive-Raccoon155 — 4 months ago

What kind of projects helped you learn C as a web developer?

I'm a web developer and recently started learning C because I want to understand lower-level programming better and get a deeper understanding of how things work under the hood.The language itself is starting to make sense, but I'm struggling to come up with project ideas. Most of my experience is in web development, so when I think about building something, my brain immediately goes to APIs, databases, and web apps. C feels like a completely different world.For those who learned C after working in higher-level languages, what projects helped you stay motivated and actually learn useful concepts? Any suggestions would be appreciated.

reddit.com
u/Sensitive-Raccoon155 — 4 months ago
▲ 18 r/node

Feeling stuck after building full backend systems — what’s next?

I’m a full-stack developer and I’ve reached a point where I can build medium-sized backend systems on my own without much struggle, for example things like an e-commerce app or a small social network, including APIs, auth flows, Docker setup and CI/CD pipelines.

But recently I started feeling like I’m hitting a plateau where building more of the same doesn’t really move me forward anymore. I can implement features and ship complete systems, but I’m not sure I’m actually improving as an engineer in a meaningful way.

I’m curious what actually helped others at this stage level up. Was it going deeper into system design, learning how production systems behave under load, focusing more on databases, or shifting mindset toward architecture and scalability?

It feels like the next step is less about adding more tools and more about understanding systems on a deeper level, but I’m not really sure where to focus first.

reddit.com
u/Sensitive-Raccoon155 — 4 months ago
▲ 21 r/Backend

Feeling stuck after building full backend systems — what’s next?

I’m a full-stack developer and I’ve reached a point where I can build medium-sized backend systems on my own without much struggle, for example things like an e-commerce app or a small social network, including APIs, auth flows, Docker setup and CI/CD pipelines. But recently I started feeling like I’m hitting a plateau where building more of the same doesn’t really move me forward anymore. I can implement features and ship complete systems, but I’m not sure I’m actually improving as an engineer in a meaningful way. I’m curious what actually helped others at this stage level up. Was it going deeper into system design, learning how production systems behave under load, focusing more on databases, or shifting mindset toward architecture and scalability? It feels like the next step is less about adding more tools and more about understanding systems on a deeper level, but I’m not really sure where to focus first.

reddit.com
u/Sensitive-Raccoon155 — 4 months ago

As a Full-Stack Developer (TypeScript/C#), Is Learning C Worth It or a Waste of Time?

I've been working mainly with TypeScript and C#/.NET for several years, building web applications and backend services.

Recently I started learning C out of curiosity. The language is obviously much lower level than what I use every day, and many of the things I learn don't seem directly applicable to my daily work.

For those who have already gone through this path, did learning C make you a better developer? Did it improve your understanding of memory, performance, operating systems, compilers, or how higher-level languages work under the hood?

Or is it one of those things that's interesting academically but doesn't provide much practical value for a typical full-stack developer?

I'm curious to hear opinions from people who use both high-level and low-level languages.

reddit.com
u/Sensitive-Raccoon155 — 4 months ago
▲ 2 r/dotnet

As a Full-Stack Developer (TypeScript/C#), Is Learning C Worth It or a Waste of Time?

I've been working mainly with TypeScript and C#/.NET for several years, building web applications and backend services. Recently I started learning C out of curiosity. The language is obviously much lower level than what I use every day, and many of the things I learn don't seem directly applicable to my daily work. For those who have already gone through this path, did learning C make you a better developer? Did it improve your understanding of memory, performance, operating systems, compilers, or how higher-level languages work under the hood? Or is it one of those things that's interesting academically but doesn't provide much practical value for a typical full-stack developer? I'm curious to hear opinions from people who use both high-level and low-level languages.

reddit.com
u/Sensitive-Raccoon155 — 4 months ago
▲ 121 r/dotnet

Why choose Dapper over EF Core in 2026?

I’m curious about the practical reasons for choosing dapper today when ef core has become quite mature.Ef Core already allows writing raw sql when needed, handles migrations, change tracking, relationships, and provides a lot of productivity benefits. If a project still requires custom sql for certain queries, ef core can handle that as well.For developers who prefer dapper, what are the main advantages that make it worth using instead of ef Core? Is it mainly about having full control over every query, or are there other benefits that become obvious in real-world projects?

reddit.com
u/Sensitive-Raccoon155 — 5 months ago
▲ 38 r/vuejs

PrimeVue updates feel unreliable and hard to trust

I’ve been using PrimeVue in a few projects and the experience has been increasingly frustrating, especially on the maintenance side.The biggest problem is that the changelogs are basically not maintained in a meaningful way. In many releases, it’s unclear what actually changed, so upgrading turns into guesswork instead of a predictable process.Because of that, even minor version bumps feel risky. You can’t confidently update without going through your entire UI and hoping nothing silently broke.There are also some long-standing bugs and inconsistencies that make things worse. For example, nesting a carousel inside another carousel leads to unexpected behavior where the inner component inherits configuration from the parent. That kind of cascading behavior shouldn’t happen, but it does, and it’s painful to debug.Overall it feels like a library that moves fast in version numbers but not in developer experience or stability, especially when it comes to clear release communication and safe upgrades.

reddit.com
u/Sensitive-Raccoon155 — 5 months ago

Can someone tell me if this cardio workout is beginner friendly?

I’m 26 and I’ve never really done cardio workouts before. I mostly just lift weights at the gym, and usually walk around 10k–20k steps a day.

I found a 20-minute cardio workout video on YouTube and I’m thinking about trying it, but I’m not sure if it’s actually suitable for beginners or if the intensity is too high for someone with no cardio background.

Could someone take a look and tell me if this is a good starting point for me?

https://m.youtube.com/watch?v=Pv6NrM7fqHY&list=WL&index=3&t=6s&pp=2AEGkAIBiAQBsAgC

u/Sensitive-Raccoon155 — 5 months ago

Is combining gym, cardio and daily yoga too much for recovery?

I’ve been trying to combine cardio, weight training and yoga into one routine and I’m wondering if this is actually sustainable or if I’m putting too much stress on my body.

My routine is basically alternating gym and cardio every morning, then doing yoga later in the evening around 5 PM almost every day. Overall I feel pretty good and yoga honestly helps me feel less stiff and more recovered, but sometimes I start thinking maybe the total workload is still too much long term.

For people who train like this, how do you tell the difference between a healthy active routine and overtraining? Does daily yoga usually help recovery enough to balance things out or can it still become excessive combined with gym and cardio?

reddit.com
u/Sensitive-Raccoon155 — 5 months ago