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

“A tricky problem I had to be thoughtful about.”

Phones grow big and their top edges inch closer and closer toward the horizon. Over time, iOS and apps moved some of the important surfaces to the bottom (for better or worse – I still struggle with seeing results and completions appearing above inputs), a...

via Unsung September 2, 2026

Claude's new system prompt really doesn't want to reproduce song lyrics

Anthropic publish the system prompts for their Claude consumer applications (Claude.ai and the Claude mobile apps - sadly not for Claude Cowork or Claude Code). I love that they do this, and that they share not just the current prompts but historic changes...

via Simon Willison's Weblog: Entries September 2, 2026

Pluralistic: Unpermissioned research (02 Sep 2026)

Today's links Unpermissioned research: Fighting Trump means preserving the internet, which means scraping. Hey look at this: Delights to delectate. Object permanence: Leaked advanced PalmOS device specs; Stalwart workers; "I, Rowboat"; SMS uprising; Facebo...

via Pluralistic: Daily links from Cory Doctorow September 2, 2026

Generated by openring