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
- SQLite DB Migrations with PRAGMA user_version
- Edge Detection with Inkscape
- Using cgit
- Making cgit Pretty
- Lev Lazinskiy
Recent Favorite Blog Posts
This is a collection of the last 8 posts that I bookmarked.
- 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
- No-One Escapes the Permanent Underclass from Fernando Borretti
- Is it ethical to use AI? from charity.wtf
- The logical destination of LLMs from Andy Bell
- Revised rules of engineering leadership. from Irrational Exuberance
- The circus freaks of open source from Drew DeVault's blog
- Clanker: A Word For The Machine from Armin Ronacher's Thoughts and Writings
Articles from blogs I follow around the net
Now we have a timeline of the OpenAI accidental attack against Hugging Face
OpenAI gave a last-minute presentation at the Black Hat security on Wednesday about "the Hugging Face Incident" (previously on this blog). The video was published yesterday. It's short and information dense and well worth watching, in particular because it...
via Simon Willison's Weblog: Entries August 7, 2026Spoiler: Wil Wheaton is a Wizard
I am holding pink pages in my hand, reviewing them before I collate them into my script. A magic battle ensues between Wil and Bert (fireballs, energy bolts, conjured beasts, etc.) I look at the script again, to make sure I haven’t misread it. Yeah, it rea...
via WIL WHEATON dot NET August 7, 2026Seeing like a state
The post about the dark mode toggle reminded me of two similar things rattling in my brain. On the positive side, here’s a delightful interaction from macOS. I can easily maximize the window to take up half the screen, but the moment I start dragging it, i...
via Unsung August 7, 2026Generated by openring