Skip to main content

Posts about dgplug (old posts, page 29)

A Hundred Days of Code, Day 034

Ok, back from hiatus, much earlier than expected :)
Need to take care not to burn myself out now.
I need to do this slowly.

Done with a tiny program, Kushal asked me to write.
If you download a log from the DGPLUG log archive and then run the program and give it the filename, it’ll spit out a list of how many nicks, spoke how many words.

The code is here, Gitlab and Github

I’ve written this program before, and this time I wanted to use Regular Expressions in the program.
I went and learnt Regex.
And then came and found out all I needed, was such a teensy bit of what I learnt XD

However, the combination of Python and Regular Expressions is quite compelling to me.
And I have a ton of more important work, suddenly.
So the plan, now going forward is to first finish up the Talk Python course and then to practice Python and Regex, until I am comfortable.
If I feel like writing something whimsical in the middle, I sure will.

The important part, I realise, is to do this slowly and steadily.
I commit to working two hours a day, five days a week.
No use burning myself out again.

P.S. Forgot to add, that the hundred days of code for me, is now a hundred and sixteen days :)


Short Hiatus on A Hundred Days of Code

I fell sick, and now I seem to have personal issues because of quarantine.
So a bit of hiatus. But I’m not abandoning it this time.
Will add all the days I missed and keep going, once I am back.
Which I really hope, is soon.

A Hundred Days of Code, Day 033

Done with an introductory Regular Expressions book.
Picked up an advanced one.

My physio used keep to telling me, that we needed to loosen and pry my hips open to expand my range of motion.

These past few days have been the same, with respect to pattern matching using Regular Expressions. These lessons have been prying my brain open to a new way of thinking about words and characters.

From the way things are going, I think I will be spending the better part of next week on Regular Expressions too.
It’s still hard work, but it’s getting to be enjoyable hard work now.
I need to pace myself better and slow down.
I burnt myself out this week.

Onwards …

Introducing Regular Expressions

Done with Introducing Regular Expressions, by Michael Fitzgerald.
The subtitle, of the book says it all.

Unraveling Regular Expressions, Step-by-Step

Michael is a funny, patient and pithy author.

The book breaks down the basics of Regular Expressions into its components and then walks through explaining them in examples, line by painstaking line.
Any book that uses Coleridge to teach me Regular Expressions is awesome, so I’m biased :)

Definitely worth a read if you are brand new to the powerful world of RegEx.