GithubHelp home page GithubHelp logo

stalmanu's People

Contributors

emiln avatar

Watchers

 avatar

stalmanu's Issues

Use emit/handle flow for the channels

Inspired by re-frame it would be cool to try out their emit and handle flow. Basically you can only communicate over the internal channels by calling

(emit! :message {:user "..." :channel "..."})

and handle this event by creating a handler for the topic :message:

(handle :message
  (fn [json] "..."))

which will (for every matching handler) be passed any arguments beyond this first from the call to emit!.

Switch from string topics to keyword topics

The client will currently emit! topics of type String, like "message". The only reason it isn't emitting the more idiomatic keyword type is laziness. It would be very easy to convert the limited range of Strings used by Slack to keywords.

Something along these lines:

(fn [string]
  (-> string
    (clojure.string/replace #"_" "-")
    (keyword)))

Only give the full rant every so often

The full rant takes up a great deal of space in the chat. It would be nice if Stalmanu only responded in full every few minutes and used a slightly less verbose rant for any necessary reminders between the full rants. I suggest the following:

  • He may rant at length if he hasn't done so for 5 minutes.
  • His short rant reads: It's GNU+Linux.

Update docstrings

The rapid progress of Stalmanu has left most docstrings rather outdated. This should be fixed, and particularly for stalmanu.client where many important functions reside.

Words to avoid

While Stalmanu's effort to correct improper use of Linux without paying proper homage to GNU is applaudable, he is only scratching the surface of improper word usage. I think he should be extended to cover the most obviously software-centric terms on this list.

Figure out logging

Slacker is already using clojure.tools.logging so it would make sense to hook into this to log relevant events to disk.

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.