R1D26 Spinning My Wheels
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.
- The contagion of fear from The Observation Deck
- The revolt of the reader from The Observation Deck
- Deeper dive: Were Touch Bar’s problems software rather than hardware? from Unsung
- Joining Cursor from Fatih Arslan
- Pluralistic: Digital sewer socialism (08 Aug 2026) from Pluralistic: Daily links from Cory Doctorow
- Pluralistic: Enshittification and Reverse Centaurs go global (29 Jul 2026) from Pluralistic: Daily links from Cory Doctorow
- AI Mania Is Eviscerating Global Decision-Making from Ludicity
- The default person from https://popagandhi.com/
Articles from blogs I follow around the net
Pluralistic: Remembrance of proteins past (17 Nov 2026)
Today's links Remembrance of proteins past: People like what they like. Hey look at this: Delights to delectate. Object permanence: BBC's bullshit DRM story; Radical hotel-room coffee independence; Foreclosure map predicts Trump vote; Pinkest pink v Anish...
via Pluralistic: Daily links from Cory Doctorow November 17, 2026Pumped Up Kicks
ALICE Experiment/CERN A simulated collision of lead ions, showing the spray of generated particles. There are two ways to study the earliest moments of the Universe. One is to peer into the deepest, darkest regions of space. The other is to study the most...
via Brian Koberlein November 17, 2026Actual curl rewrites in rust
For a long time we have received repeated requests for, or questions about, a curl rewrite in rust. Often as a joke, but also seriously. In this modern world of AIs, we have only been waiting for someone to prove it possible and now it seems we don’t have...
via daniel.haxx.se November 16, 2026Generated by openring