Giter Site home page Giter Site logo

random-ideas's People

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

random-ideas's Issues

Idea: Plivo SMS 2 way integration with Veris

So that user's can just send information on SMS and Veris would fill in the details for the user.
Read/ Write SMS from Twilio and interact with the user

Possibilty

  • google allo

Idea: Agent M & his greatest quests

Story

M is a busy being, he keeps running here and there, keeps delivering this and that to people in need, and yet he fails sometimes.
We need to help M help us!

Presentation

  • SOS App - call M for Help
  • Agent M App - M's personal app
  • Technical supremacy !

Required Features

  1. Call M to deliver X (X => biscuit, water etc)
  2. Check is X is present in the inventory
  3. Check the M's busy schedule (will not share what M is delivering, but where and to whom are needed)
  4. Kudos - Praise M - he deserves it
  5. M can Accept, Deny and schedule the request. (accept cleaning job, deny fruit request, schedule the maggie request)
  6. M can collect and write all the expense reports and collect receipts

Required Services

  1. Water Bottle
  2. Desk Cleaning
  3. Request Food/ Snacks - available in the inventory
  4. Coffee/ Tea
  5. Shout for M
  6. AC on/off

Additional Features

  1. Ask for help in shopping some item (aspirin, milk, subway etc)
  2. Check your balance and money transactions with M (if you have paid M something or M has paid for something) and help M close the accounts properly
  3. Schedule your coffee/team in advanced
  4. collective food ordering for you and your desk mates or your guests
  5. Ping your co-location mate, if mate is in the kitchen, then he can bring you stuff
  6. Chat with M
  7. M can manage other agents (P, Q, R, S etc)
  8. Remind M in sometime, if the order is delayed
  9. Provide feedback about deliveries
  10. provide additional details for order - warm water or hot milk or heat up tiffin
  11. AI: Inbuilding Navigation and delivery venues (meeting room, desk 3 etc)
  12. AI: Smart scheduling of the M's deliveries for maximum impact
  13. AI: Helps M manage inventory (take notes, ask agent A to fill back the inventory) and predict the inventory items finish date
  14. AI: Notify you about the end of your favorite thing, order before someone else - "end of oreo is approaching, you are up against AP, ND order fast"
  15. AI: help M in predicting the per person requirements in advanced, so that he can deliver without an order (someone drinks water 1 bottle per hour, someone needs one coffee per hour)
  16. AI: help M deliver the orders in bulk, based on co-location
  17. AI: Automatically write stories about Agent M
I lost my hope for getting the coffee, but then I saw M.
He was running towards me, holding my coffee in his tray.
As I drew my last breaths M got me my coffee and saved my life.

Publish this on Twitter

Other Services

  1. Stationary
  2. Open office for extra hours
  3. 3rd party Pluggable Services (buy milk .. etc)

Tech Stack

  • GraphQL
  • Node (core framework)
  • Express (some MVC framework)
  • Firebase (BaaS)
  • Relay, Redux, React(ev)
  • Lottie-react-native
  • Bobble-App for App Icons

Agent !

agent_m_by_inemasterkart-d6wxjce

Pushpin: Realtime API?

What is Pushpin ?
How does it work?
How can we use this to better manage Veris Clients?
How does it make the realtime happen?

Tech: DB + Web Service ORM for Mobile \ Web

Problem -

Local-DB support in native apps has quite a different functioning from the web's Local-DB.
Due to this limitation of the web, we have to ship out separate application codebase for web and native.
If we think on the basics - Web Services are just an interface to Remote-DB, so applying the same theory, of we can build a Web Service like interface over Local-DB, we would be able to keep application logic independent of the Database and Operating System

Refrences -

React Native Apps -> V3 Templates

Convert existing React Native Applications to V3 Templates. Why re-write screens when we can have scripts transform them ?

Babel Transform Plugins

Sample Transform:

Courtesy: https://github.com/babel/babel/tree/master/packages/babel-plugin-syntax-jsx

export default function({ types: t, ...props }) {
  const generateElement = (path, state) => {
    const FILE = state.file,
      OPTIONS = Object.assign({}, { type: "type", value: "value" }, state.opts);

    const NODE = path.node;

    if (!/JSXElement/.test(NODE.type)) return NODE.expression ? NODE.expression : t.StringLiteral(NODE.value);

    const OPENING_ELEMENT = NODE.openingElement,
      CHILDREN = path.get("children"),
      ELEMENT_ATTRIBUTES = OPENING_ELEMENT.attributes,
      EXTENDS = isExtension(OPENING_ELEMENT, path);

    let type = t.StringLiteral(OPENING_ELEMENT.name.name.split(/(?=[A-Z])/).join("-").toLowerCase()),
      attributes = ELEMENT_ATTRIBUTES.length ? buildAttributeObject(ELEMENT_ATTRIBUTES, FILE) : t.NullLiteral(),
      children = CHILDREN.length ? t.ArrayExpression(CHILDREN.map(child => generateElement(child, state))) : t.NullLiteral();

    const props = attributes.properties.map(({ key, value }) => t.ObjectProperty(t.StringLiteral(key.value), value));
    return t.ObjectExpression([
      ...props,
      t.ObjectProperty(t.StringLiteral(OPTIONS.type), EXTENDS ? t.NullLiteral() : type),
      t.ObjectProperty(t.StringLiteral(OPTIONS.value), children)
    ]);
  };

  const generateAttrObject = nodes => {
    let arr = nodes.map(node => {
      let name = t.StringLiteral(node.name.name);
      let value = !node.value
        ? t.BooleanLiteral(true)
        : /JSXExpressionContainer/i.test(node.value.type) ? node.value.expression : node.value;

      return t.ObjectProperty(name, value);
    });

    return [t.ObjectExpression(arr)];
  };

  const buildAttributeObject = function(attrs, file) {
    let _expressions = [],
      _spreads = [];

    while (attrs.length) {
      let attr = attrs.shift();

      /^JSXSpreadAttribute$/i.test(attr.type) ? _spreads.push(attr.argument) : _expressions.push(attr);
    }

    let attrObject = _expressions.length ? generateAttrObject(_expressions) : null;

    if (_spreads.length) {
      let extension = attrObject ? _spreads.concat(attrObject) : _spreads;

      if (extension.length > 1) extension.unshift(t.ObjectExpression([]));

      attrObject = t.callExpression(file.addHelper("extends"), extension);
    } else {
      attrObject = attrObject[0];
    }

    return attrObject;
  };

  const isExtension = (openingElement, path) => path.scope.hasBinding(openingElement.name.name);

  return {
    visitor: {
      JSXElement: function(path, state) {
        path.replaceWith(generateElement(path, state));
      }
    }
  };
}

Input

<Image style={{width: 128, height: 128, alignSelf: 'center'}}
           source={'assets/images/successful_check_icon.png'}/>;

Output (V3 Component Declaration)

({
           "style": {width: 128, height: 128, alignSelf: 'center'},
           "source": 'assets/images/successful_check_icon.png',
           "type": "image",
           "value": null
});

Caveats (as of now)

  • It only converts the JSX part, the User Interface only. No interactions/events gets handled.
  • It can only be used to jump start templates.

Terminal free veris ecosystem (raspberry pi as BLE beacon)

As soon as the user comes in the proximity of the beacon, he/she gets a local notification if to log an activity.
BLE beacon in this case is not the dumb beacon used everywhere but an intelligent on that keeps changing it's identity on time basis(that is where pi is needed).

P.S: No need of a terminal, a user runtime does all the job.

Idea: AI: Summarise commit messages to post on Discussion Board

in the commit messages

There are two primary text containers

  • single line message- one used in the commit message - should be < 50 characters
  • the multiline message - the message you can write to describe what you have done
    should be divided into following sections
    • problems (faced)
    • solutions (taken)
    • todo (next work)
    • future work (rnd)

The multiline message can be summarized into an interesting discussion point for the day !!!

Ref: (Use this to post your daily updates) #21

Idea: AI: Intelligent reverese-REGEX builder.

With the reference to -

Build and update REGEX with a ML algorithm, based on the list of Strings to be velidated !!

Intelligent reverese-REGEX builder.

Based on the list of data input, compile a REGEX.

This can be an interesting ML project.

Another thing, the REGEX should keep updating itself, based on the list of data strings added.

Use this to post your daily updates

Use this to post your daily updates.

#!/usr/bin/env bash

#
# This script will get your git commits and post a comment on an issue
# Accepts the issue id via command line params, first param $1
#

# Git command to get commit history for a given author after a given time
# can also use # yesterday.midnight
msg=$(git log --oneline --after="yesterday 09:00" --author="Abhinav Anand" | sed 's/\(.*\)/ \- \1\\r\\n/gm')


body='{"body":"'"$msg"'"}'


curl -H "Content-Type: application/json" \
       -H "Authorization: token _YourAccessToken_" \
       --data "$(echo $body)" \
       https://api.github.com/repos/peeyush-tm/v3-docs/issues/$1/comments

Idea: Open Source: Open Source A/B Testing Tool

this is related to #4 (Smart App: Analyze user actions and interactions to gather user expectations) idea.

If we could just provide users with Free and Open Source A/B testing tool and data, we can have an amazing collection of user expectations and interactions.

Idea: Mistral (Task Execution Engine) for Mobile

Mistral is General utility for => Running Tasks as a Service.

  • It's embedded version can be used to work like Firebase.
  • It's embedded version can be used to send the rules and states at the front-end for (probably) a better optimized mobile app.

Tech: Bot: Veris Bot for Frontdesk

Bots are sort of "Instant Apps" which connect users to services.
Bot ecosystem has multiple verticles

  1. Developer Tools (bot builders)
    1. Bot AI
  2. Bot Agents \ \ Bot Discovery Platforms
    1. standby agents to read user's inputs
    2. Messaging platforms
  3. Service Providers
  4. Bot Analytics
[Agent] 
<-- reads input and decides for --> 
[Bot] 
<-- reads input and decides for -->
[service provider]
<-- reads input and decides for -->
[action]
<-- reads input and decides for -->
[result]

User is provided with the [result] on some Messaging Platform or Agents

Starting references from Github

Bot Ecosystem Reference

bot-ecosystem-1

bot-ecosystem-3

bots-ecosystem-2

bots-ecosystem-3

bots-ecosystem-4

bots-sad

AWS is killing it

bot-work-amazon-win

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.