NYCrb / devpunks

http://devPunks.com modern development site for podcast & youtube videos
MIT License
15 stars 1 forks source link

[Talk Proposal] Debug Hard: Ruby String Library Methods and Underlying C Implementations #56

Closed vchandnani-zz closed 1 year ago

vchandnani-zz commented 5 years ago

Hello,

Happy New Year! I recently joined NYC.rb.

At this time, the Ruby String library 'reverse' method is fairly stable. However, what if the underlying C implementation had a bug? What if it produced unexpected results with certain types of inputs? e.g. strings with unicode characters. How would you catch and fix such a bug? How would you explain the unexpected results?

In this talk, we'll take a close look at how Ruby's String library 'reverse' method works. In order to catch a potential underlying bug in this method, we need to understand its implementation. Where exactly is the source code? Does it have adequate unit tests? Put on your debugger hats and join me explore some powerful techniques to isolate and fix such bugs. This talk will add value to your debugging tool belt and improve your confidence in finding/fixing problems that lay underneath the current (Ruby) application programming language.

Please note, I presented the following related 5-minute lightning talks at work:

  1. C versus Ruby String Reversals
  2. Debugging Ruby String Library Methods

This proposal for the meetup talk includes some ideas/materials from the above lightning talks, with the addition of unicode characters. I'm excited to share my learning experiences and get feedback from our community.

I look forward to hearing from you soon!

Best, Vishal LinkedIn: https://www.linkedin.com/in/vchandnani/

SpencerTang commented 5 years ago

Hi @vchandnani, the talk looks good. We have one opening on 2/12 and 3/12 when would prefer?

vchandnani-zz commented 5 years ago

@SpencerTang Thanks! I would prefer 3/12.

vchandnani-zz commented 5 years ago

@SpencerTang Just checking in, are we on for Tuesday 3/12?

SpencerTang commented 5 years ago

@vchandnani sure thing, you are confirmed for 3/12!

vchandnani-zz commented 5 years ago

@SpencerTang Great, thanks!

vchandnani-zz commented 5 years ago

@SpencerTang @dmitrinesterenko Hello, I need more time to prepare for the talk. Can we please reschedule to April (4/9) or May (5/14)? My apologies for any inconvenience.

vchandnani-zz commented 5 years ago

@SpencerTang @dmitrinesterenko Just checking in, are we good for April (4/9) or May (5/14)?

SpencerTang commented 5 years ago

@vchandnani no worries, 4/9 works for us!

vchandnani-zz commented 5 years ago

@SpencerTang @dmitrinesterenko Thanks! I plan to attend Tuesday, 3/12 (gives me a chance to check out the venue) and will be ready to speak Tuesday, 4/9. See you soon.