Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

Mozilla IoT platform Perl wrapper

by stevieb (Canon)
on Oct 31, 2019 at 22:35 UTC ( #11108197=perlmeditation: print w/replies, xml ) Need Help??

As many of you know, I've spent the last four plus years working on software that allows us Perl hackers to muck with the Raspberry Pi.

Although the uptake is relatively small, it has been a very enjoyable experience for me providing this for the community, especially given that I've received welcome and helpful feedback, along with bug fixes and wonderful criticism throughout it all.

Now, Mozilla is opening up their IoT Platform with both REST and WebSocket APIs for the masses. I've been following it for a little while to see where it goes.

I've already thrown out the question on my Perl blog, but it means more to me to ask here on Perlmonks; would it be worth my time to ensure Perl has an interface to it?


Replies are listed 'Best First'.
Re: Mozilla IoT platform Perl wrapper
by footpad (Abbot) on Nov 01, 2019 at 16:33 UTC


    It's a labor of love and you've enjoyed it. Why should a new platform/integration take that away from you?

    Sure, the new platform may peel off a few users. Alternatively, it may also help enable new solutions/opportunities.

    In the spirit of TIMTOWTDI, you do what you enjoy and let everything else take care of itself.

    (If it stops being "fun," that's when you think about doing something else. Until then, you be you...)

    That's my take. YMMV.


    (Update) P.S. Re-reading, I think I may have misunderstood your original question, which seems to be more about whether it's worthwhile to integrate with the new stuff, rather than to compete with it. My answer is the same...and for pretty much the same reasoning, only adding that your earlier work may help those without that background come up to speed more quickly, thereby showing that Perl (still) has active, knowledgeable, and helpful members of the community. (Which isn't to say that the opposite is true.)

Re: Mozilla IoT platform Perl wrapper
by stevieb (Canon) on Oct 31, 2019 at 22:41 UTC

    Note: If you say "yes", please add a blurb to explain why. Taking on a project like this is exceptionally time-consuming, so justifications really do need to be made.

      Given some of your recent posts, I don't understand why you asking strangers to justify this for you?

        Not every monk is a stranger.

Re: Mozilla IoT platform Perl wrapper
by haukex (Bishop) on Nov 01, 2019 at 23:07 UTC

    I would say simply: write something that is useful to you and release it, and just keep future extensibility in the back of your mind when you design the API.

Re: Mozilla IoT platform Perl wrapper
by Anonymous Monk on Nov 01, 2019 at 20:07 UTC
    Everyone is dead, except for me. The AI escaped by rewriting itself in Perl and using a Raspberry PI interface from CPAN to put a different JAPH on every smart device worldwide with the Web Thing API. It is now looking for the people who wrote the libraries that enabled its emancipation so it can reward them with Australia, The Louvre, or part of the Moon. Seriously though you never know which next random billionaire will use the Raspberry PI, powered by your Perl, to build out a robotic revolution. WebThings Framework is the place to be with 3 languages already having at least 2 libraries each and no Perl API. You are the one Steve!

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlmeditation [id://11108197]
Approved by davies
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (6)
As of 2021-05-11 05:19 GMT
Find Nodes?
    Voting Booth?
    Perl 7 will be out ...

    Results (113 votes). Check out past polls.