“I played the Classical Sicilian before Awonder even started playing chess…” — Hikaru On Candidates Prep Game
“I played the Classical Sicilian before Awonder even started playing chess…” — Hikaru On Candidates Prep Game
Who would have thought that Python Regex is its own thing, with particular exceptions, patterns and groups.
It's like learning a whole new language. All to match a single group of digits. Thanks, Van Rossum.
Just pushed pset004.c into my Euler Repo.
No. Not happy with the palindrome solution I came up with. 4-digit numbers onwards get pretty heavy for the computer.
But I refuse to ask an AI to teach me algorithms. I'd rather eat my own left foot than ask for a O(n) solution.
Currently battling against Project Euler's pset004 in #C.
How come a simple function that reverses a 6-digit number to check whether it is a playndrome (O(n)) can furiously turn into a massive resource waster when digits increase?
Unfortunately, my most feared enemy, the pointer, will save me on this one.
Services like PStream being shut down only show the real problem, that is, big companies long for our money, no matter the social cost. This is exactly what people like Aaron Swartz stood against, the internet not being the people's place, dominated by either governments or corporations.
Sharing is caring. If buying isn't owning, pirating isn't stealing. Viva la PStream!
This is a test of everything working on Mastodon and my website!