R1D26 Spinning My Wheels

| programming |

I spent an entire hour trying to work through the issue I wrote about in my last post. Sadly, I did not make much progress.

I was able to convert multiple spaces to a single space, but I ended up also cutting off the first letter of all subsequent words in the process.

So hello world becomes hello orld, hello        world becomes hello orld, and hello world its me lev becomes hello orld ts e ev. :(

This seemingly simple problem is giving me a lot of trouble. I think I am going to move on to the next problem and live with the fact that I don’t know how to do this in C (yet).

I asked on the freeCodeCamp forum for some advice so hopefully someone will come along and point me in the right direction. :)

Thank you for reading! Share your thoughts with me on bluesky, mastodon, or via email.

Check out some more stuff to read down below.

Most popular posts this month

Recent Favorite Blog Posts

This is a collection of the last 8 posts that I bookmarked.

Articles from blogs I follow around the net

Zig's anti-LLM contribution policy

As shared by on Simon Willison’s blog, Zig has an interesting anti-LLM policy for contributions in their code of conduct. Zig values contributors over their contributions. Each contributor represents an investment by the Zig core team - the primary goal of...

via Information Overload June 11, 2026

Stormdancer (Lotus Wars 1)

Author: Jay Kristoff Rating: ★★★★★ Description: Arashitoras are supposed to be extinct. So when Yukiko and her warrior father Masaru are sent to capture one for the Shōgun, they fear that their lives are over – everyone knows what happens to those who fail...

via Home on Søren's Blog June 11, 2026

“This is my favorite news from all of WWDC this week.”

John Gruber on Daring Fireball: Perhaps the worst UI crime in MacOS 26 Tahoe was the inexplicable decision to add inscrutable, distracting icons next to every item in the menu bar. You will recall Jim Nielsen writing about it, rightly describing it as exac...

via Unsung June 11, 2026

Generated by openring