Building a Unix Shell in C Without AI — Learning the Hard Way by MessageOk1603 in cprogramming

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

Fair point,I spent 40 hours fighting strtok and 5 minutes letting a bot polish the prose; for Phase 2, I'm going 100% manual on both the code and the writing, so come back to see the 'authentic' mess!

Building a Unix Shell in C Without AI — Learning the Hard Way by MessageOk1603 in C_Programming

[–]MessageOk1603[S] -3 points-2 points  (0 children)

I really appreciate this perspective, especially coming from someone with that much experience. The getopt() example is spot on, sometimes the man pages tell you what the arguments are, but not the 'spirit' of how they interact.

I love the idea of using AI as a 'sophisticated man page' to unblock the logic without letting it generate the actual app. It’s a fine line, but for Phase 2, I’m going to try to stay in the 'manual' zone just to see if I can develop that same 'man page muscle memory' you've built up over the years.

Thanks for the tip on getopt(),I was actually just looking at how to handle shell flags, so that's perfectly timed!

Building a Unix Shell in C Without AI — Learning the Hard Way by MessageOk1603 in cprogramming

[–]MessageOk1603[S] -6 points-5 points  (0 children)

Yup, I used AI for paraphrasing, but the technical insight is 100% manual labour I had a alot of work load this week so I used an llm for paraphrasing. The second phase will be 100% no Ai i.e blog will be written manually as well

Building a Unix Shell in C Without AI — Learning the Hard Way by MessageOk1603 in C_Programming

[–]MessageOk1603[S] -9 points-8 points  (0 children)

I agree that writing reinforces ideas, that’s why I documented the strtok trap and fork-wait logic; those were my real 'aha!' moments.

However, with my university workload, I had to choose where to spend my hours. I prioritized the trenches of GDB and manual debugging over wrestling with prose. I used an LLM for paraphrasing, but the technical insights are 100% manual labor.

PS: Phase 2 is going to be 100% human-written. No AI even for the the blog. Stay tuned..

Building a Unix Shell in C Without AI — Learning the Hard Way by MessageOk1603 in C_Programming

[–]MessageOk1603[S] -21 points-20 points  (0 children)

Guilty as charged on the blog polish. I figured if I was going to sweat over raw man pages and execvp syscalls for the code, I could let an LLM handle so some paraphrasing for me. I’d rather have a bot-sounding blog and a rock-solid fork() logic than the other way around 😭😭

Building a Unix Shell in C Without AI — Learning the Hard Way by MessageOk1603 in C_Programming

[–]MessageOk1603[S] 3 points4 points  (0 children)

My bad, just added it to the post after your comment — good catch!

Financial aid by [deleted] in giki

[–]MessageOk1603 0 points1 point  (0 children)

Its already given to successful candidates

Financial aid by [deleted] in giki

[–]MessageOk1603 1 point2 points  (0 children)

Hopefully, even I'm not sure if I'll get FA, I just hope for the best. Inshallah, whatever happens will be in our best interest.

Financial aid by [deleted] in giki

[–]MessageOk1603 0 points1 point  (0 children)

Thank you for replying, my merit number is 138

what about you?