Code Monkey home page Code Monkey logo

suikoden-election-2019's Introduction

CircleCI

Suikoden Election 2019

  • Suikoden Election 2019

Execute CircleCI CLI

$ cp circleci_local_sample.sh circleci_local.sh
$ vim circleci_local.sh
$ ./circleci_local.sh

LICENSE

suikoden-election-2019's People

Contributors

dependabot[bot] avatar nikukyugamer avatar renovate-bot avatar renovate[bot] avatar

Watchers

 avatar  avatar

suikoden-election-2019's Issues

nginx 側で public/aseets へ通す方法を書く

  • production.rbconfig.public_file_server.enabledtrue にするのは推奨されない(はず)
  • なお↑をやったあとは一度 nginx の全プロセスを止めて新たに cap する必要がある

ツイートが見られるかどうかの判定について

  • @client.user(12345678).protected? というメソッドはある
    • ドキュメントに見当たらない……
  • ツイートが取得できないときは nil が返ってくる
    • nilが返ってくるときは3つのパターンが有りうる
      • ツイートが削除されている
      • ユーザが鍵をかけている
      • ユーザにブロックされている
        • これが複合する場合もある、合計で7とおりありうる
        • 3C1 + 3C2 + 3C3 = 3 + 3 + 1 = 7
  • 現実的には削除と鍵さえ判別できればいいんだろう
    • ブロックされてない純粋APIアカウントで収集するから
    • ツイートの存否の判断材料さえ得られればいいから

ツイート半自動集計への道

  • キャラ名テーブルを作る
    • 正式名称と呼称(通称)を作る
  • ツイート中に呼称があればそれを抽出する
  • 呼称から正式名称に変換した上でレコメンドする
  • 票数のレコメンドは難しい
    • 数字とキャラ名の文字との位置関係は必ずしも一様ではないから
    • 全振り、全部、などもありえるから

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.