News for hackers. Stuff that matters.
Re:Show HN: Simple Slackbot Library for .Net Core by NicoJuicy on Thursday March 09, 2017 @04:49PM (#13834061)
Nice seeing things come up for dotnet core. I recently wrote a Sendy API client for dotnet core: https://github.com/NicoJuicy/SendyAPI.dotnet

And another API for a website screenshot server ( in nodejs --> https://github.com/NicoJuicy/WebsiteAsImageWebService ), but the connector is for dotnet core: https://github.com/NicoJuicy/WebsiteAsImageWebService.Api.Cs...

I wonder how much downloads you have per day if you put the library on Nuget immediatly

Re:Show HN: Simple Slackbot Library for .Net Core by devoply on Thursday March 09, 2017 @08:52PM (#13835686)
I am considering learning .net core, but I think my time would be better spent learning Elixir. Microsoft has a though battle ahead for itself.
Re:Show HN: Simple Slackbot Library for .Net Core by mattcbaker on Friday March 10, 2017 @02:44AM (#13837019)
Interesting. What is driving you towards Elixir?
Re:Show HN: Simple Slackbot Library for .Net Core by devoply on Friday March 10, 2017 @07:59AM (#13838229)
I can already do most of what I would do with .net core with other languages, PHP, Python, Ruby. Elixir would allow for more scalability and a different paradigm. That sounds more useful than learning another language to just build monolithic sort of webapps. The only draw I guess is C#, love the language having used it a bit. But other than that, meh.
Re:Show HN: Simple Slackbot Library for .Net Core by mattcbaker on Thursday March 09, 2017 @01:32PM (#13831660)
To celebrate the release of .Net Core, I wrote a slackbot that solves the most common use cases that I've come across.
Re:Show HN: Simple Slackbot Library for .Net Core by danjc on Thursday March 09, 2017 @02:21PM (#13832301)
Thank you for this. I was intending to write something similar in the next week or so and you've shaved off some time on that.

One comment - when the socket gets disconnected it will throw an exception and in the catch block the connect method is called again. Looks like this would cycle very quickly when no internet connection was available.

Re:Show HN: Simple Slackbot Library for .Net Core by mattcbaker on Thursday March 09, 2017 @03:32PM (#13833259)
Just closing the loop, here is the issue link: https://github.com/mattcbaker/dotnetcore-slackbot/issues/1
Re:Show HN: Simple Slackbot Library for .Net Core by mattcbaker on Thursday March 09, 2017 @03:27PM (#13833201)
That is a great point. I'll add an issue to the repo now and get a fix in soon. Thank you for the suggestion!
Re:Show HN: Simple Slackbot Library for .Net Core by trichey on Thursday March 09, 2017 @04:13PM (#13833699)
Nice. I built a trigger word driven one for mono not to long ago: https://github.com/tylerrichey/selfhosted-slackbot
Re:Show HN: Simple Slackbot Library for .Net Core by canadaj on Thursday March 09, 2017 @02:21PM (#13832317)
I have a Slackbot built with Node that I use every day, and I've been looking for a way to move it out of JS (for various reasons). Thanks for this!
Re:Show HN: Simple Slackbot Library for .Net Core by mattcbaker on Thursday March 09, 2017 @03:33PM (#13833273)
I hope it is useful! I'd love any feedback you have.
Re:Show HN: Simple Slackbot Library for .Net Core by hprotagonist on Thursday March 09, 2017 @01:58PM (#13831948)
awesome! i'm digging all the cool stuff showing up on dotnet core now.
Re:Show HN: Simple Slackbot Library for .Net Core by mattcbaker on Thursday March 09, 2017 @04:34PM (#13833931)
Agreed!