Git Product home page Git Product logo

waketi's Issues

Slow query

mysql> explain SELECT prefix02,suffix,chain_ID,prefix01,start FROM chain WHERE prefix01=44 order by rand() LIMIT 1;
+----+-------------+-------+------------+------+----------------+----------------+---------+-------+---------+----------+---------------------------------+
| id | select_type | table | partitions | type | possible_keys  | key            | key_len | ref   | rows    | filtered | Extra                           |
+----+-------------+-------+------------+------+----------------+----------------+---------+-------+---------+----------+---------------------------------+
|  1 | SIMPLE      | chain | NULL       | ref  | INDEX_PREFIX01 | INDEX_PREFIX01 | 9       | const | 1986170 |   100.00 | Using temporary; Using filesort |
+----+-------------+-------+------------+------+----------------+----------------+---------+-------+---------+----------+---------------------------------+

絵文字がくると例外発生

01/05 04:03:51:124 AbstractBot DEBUG
studyFromLine 256 <U+1F62D><U+1F62D>
01/05 04:03:51:167 TwitterBot ERROR
study 348 sql error
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1075) ~[mysql-connector-java-5.1.13-bin.jar:na]

NullPointerException

05/19 01:00:10:706 AbstractBot INFO
studyFromLine 232 studyFromLine:π_11(S^3) = Z/2
05/19 01:00:10:707 AbstractBot DEBUG
studyFromLine 238 it's not Japanese
05/19 01:00:10:722 TwitterBot ERROR
main 631 system error
java.lang.NullPointerException: null
at java.util.ArrayList.addAll(ArrayList.java:577) ~[na:1.8.0_25]
at com.pokosho.bot.twitter.TwitterBot.study(TwitterBot.java:316

ぬるぽ

π_22(S^6) = Z/504 + (Z/2)^2

01/16 03:00:10:849 AbstractBot INFO
studyFromLine 232 studyFromLine:π_22(S^6) = Z/504 + (Z/2)^2
01/16 03:00:10:850 AbstractBot DEBUG
studyFromLine 238 it's not Japanese
01/16 03:00:10:873 TwitterBot ERROR
main 631 system error
java.lang.NullPointerException: null
at java.util.ArrayList.addAll(ArrayList.java:577) ~[na:1.8.0_25]

Refactoring

  • Safe unwrap
  • Write document about how to build kuromoji with neologd

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.