[{"data":1,"prerenderedAt":73},["ShallowReactive",2],{"\u002Ftlt-2017.01.11-slack-hash-store":3},{"id":4,"title":5,"body":6,"createdAt":59,"description":60,"draft":61,"extension":62,"image":63,"mastodonThread":63,"meta":64,"navigation":65,"path":66,"seo":67,"stem":68,"tags":69,"updatedAt":71,"__hash__":72},"content\u002FTLT - 2017.01.11 - Slack Hash Store.md","TLT_-_2017.01.11_-_Slack_Hash_Store",{"type":7,"value":8,"toc":56},"minimark",[9,26,37,40],[10,11,12,13,20,21,25],"p",{},"Last night at the ",[14,15,19],"a",{"href":16,"rel":17},"https:\u002F\u002Fwww.meetup.com\u002FDC-Perl-Mongers\u002F",[18],"nofollow","DC Perl Mongers meetup"," we collaboratively built a proof-of-concept for storing key\u002Fvalue pairs as messages in a slack channel, ",[14,22,23],{"href":23,"rel":24},"https:\u002F\u002Fgithub.com\u002Fplicease\u002Fglobalhash",[18],". This was made straightforward by great Slack API docs and cpan:WebService::Slack::WebApi. Example usage:",[27,28,33],"pre",{"className":29,"code":31,"language":32},[30],"language-text","# writes \"hello=world\" into the #globalhash channel\n$ globalhash set hello world\n\n# reads the #globalhash channel for the most\n# recent value of hello and prints it\n$ globalhash get hello\nworld\n","text",[34,35,31],"code",{"__ignoreMap":36},"",[10,38,39],{},"There are of course a TON of things you could do from here. Some ideas:",[41,42,43,47,50,53],"ul",{},[44,45,46],"li",{},"More features: list of keys, delete, complex values, binary values, value history",[44,48,49],{},"Clean implementation and better usage\u002Ferror messaging, docs",[44,51,52],{},"Port to other languages -- perl6 and still using the perl5 module would be fun",[44,54,55],{},"Register as a slack app that anyone can use, fix up OAuth or whatever",{"title":36,"searchDepth":57,"depth":57,"links":58},2,[],"2017-01-11T09:00-05:00","Last night at the DC Perl Mongers meetup we collaboratively built a proof-of-concept for storing key\u002Fvalue pairs as messages in a slack channel, https:\u002F\u002Fgithub.com\u002Fplicease\u002Fglobalhash. This was made straightforward by great Slack API docs and cpan:WebService::Slack::WebApi. Example usage:",false,"md",null,{},true,"\u002Ftlt-2017.01.11-slack-hash-store",{"title":5,"description":60},"TLT - 2017.01.11 - Slack Hash Store",[70],"blog","2017-01-18T08:27-05:00","iuknoDv973vh7pvhKSYOY-zFyqAs-AQJjDlsgeYVck8",1778988314587]