Continuing the discussion from Getting text from Twitter and making it accessible to a Python app:
After a lot of yak-shaving, and failure to get anywhere achieving my goals in Python (simply due to my lack of knowledge in Python), I’m thinking about switching to Ruby.
Although I’d class myself as a Rails dev, I’m not sure I can truly call myself a Ruby dev as I’ve not done anything in Ruby outside of Rails - I’m hoping this project can change that.
This introduces it’s own issues, such as the majority of support on the Pi for the GPIO being Python-based, but I think I have a couple of solutions.
Solution the first: Look for a UnicornHAT library written in Ruby. I think I’ve found one, but not (yet) spent any time exploring it - I shall do that at my first convience.
Solution the second: Ignore the fact the UnicornHAT is powered by python, and just treat it as any other CLI command. I have a python script which I simply fire text at to display, so if I do everything I need using Ruby, then simply fire off a CLI command when it comes to displaying some text, I think I’m golden.
It’s possible I’m ignoring a bunch of other solutions, or maybe even whimping out by ignoring Python, so I’m keen on hearing what you good folk think.