Code Monkey home page Code Monkey logo

camille-js's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

camille-js's Issues

Camille should detect karma on message edits

This is a bit more complicated than at first glance, because there's currently not a way of knowing whether or not the edited message already triggered a valid karma update. So by adding this, it'd just be adding another different problem: false positives.

I'm not sure I want to do this feature at all because of that. Above pretty much all else, I want to avoid adding the possibility of false positives to @Camille. But I wanted to flag it here as something I've at least thought about and provide a place for discussion around it.

Feature Request - Make karma more friendly to new-comers

It was suggested (by @mochs in Slack) that new people joining may be intimidated by the karma scores of folks who've been in the community for a while and that it should show just the past 30 days or so of karma.

My idea for how to do this is to make the response to ++/-- show just the past 30 days of karma for that user, but still track the cumulative score. Then modify the karma top command so that we have the ability to query for top all time, and top 30 days... maybe karma top (unchanged) and karma hottest which would show the just the past 30 days.

Add a timezone converter

It'd be cool to be able to say "@Camille: What is 17:00 PDT in UTC". There's probably a hubot plugin that does this already.

It'd also be cool if it could use info about Slack users to determine timezones on its own. But I don't know if that's possible yet.

Add a default response handler

I'd like to put together a list of catchall responses so that when somebody addresses her directly and it doesn't match as a command she responds with something colorful like:

  • I'll get right on that...
  • I know, right?!
  • pffft!
  • /shrug

Make Camille do her own github integration/announcements

Currently we have a separate Slack github integration set up for announcing activity in this repo. It occurred to me that there's probably a hubot script that does this that would be super simple to set up and then Camille can just do it herself and we wouldn't have to use up a valuable Slack integration for it.

Add a markov chain command

I want to have Camille start collecting everything she hears into a frequency table (as explained here). Maybe have this table separated out per #channel. Then add a "markov me [word]" command that will generate a Markov Chain starting with the given word for the channel the command originated from.

Tests!

It'd sure be nice to have some automated tests for Camille.

Update hubot-slack

The PR which let's hubot-slack @-mention users finally got merged! I need to update the lib and test it out!

Camille should be able to scrape Apple documentation and give doc data for queries

I'm imagining a query like:

@camille doc NSString stringWithFormat

And then she'd either inline or snippet the doc text..

Returns a string created by using a given format string as a template into which the remaining argument values are substituted.

Declaration
    OBJECTIVE-C
    + (instancetype)stringWithFormat:(NSString *)format
    , ...

Parameters
    format  
        A format string. See Formatting String Objects for examples of how to use this method, and String Format Specifiers for a list of format specifiers. This value must not be nil.
        IMPORTANT
            Raises an NSInvalidArgumentException if format is nil.

    ... 
        A comma-separated list of arguments to substitute into format.

Return Value
    A string created by using format as a template into which the remaining argument values are substituted without any localization.

Discussion
    This method is similar to localizedStringWithFormat:, but without localization. This is useful, for example, if you want to produce non-localized formatting which needs to be written out to files and parsed back later.

Availability
    Available in OS X v10.0 and later.

...or (more easy) provide a link to that anchor on the page:

https://developer.apple.com/library/mac/documentation/Cocoa/Reference/Foundation/Classes/NSString_Class/#//apple_ref/occ/clm/NSString/stringWithFormat:

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.