Lamron

Results 24 comments of Lamron

Spark serialize whole class at the beginning and then process it by each machine parallelly. Therefore, if unserializable instance is contained it throws error, and you must initialize each time...

I've tried to make kuromoji-core classes Serializable but been not to able to serialize Tokenizer because java.nio.HeapByteBuffer is unserializable. This work may take a lot of trouble

This is changes I made(Sorry, unnecessary space diff included) https://github.com/lamrongol/kuromoji/commit/415e0fbc242d891e0708aaeacbb7a18ed478fee9 by using my tool https://github.com/lamrongol/MakeJavaClassSerializable

@akkikiki If not serializable, Spark doesn't work. https://databricks.gitbooks.io/databricks-spark-knowledge-base/content/troubleshooting/javaionotserializableexception.html By the way, I think we all understand Japanese and it's no problem to write in Japanese, isn't it? ところで、ここに書いてる人はみな日本語を理解してると思うので日本語で書いても問題ないのではないでしょうか?

Sorry I'm not familiar to Kuromoji but I think Kuromoji reads dictionary file when processing and it is not suited to Serializable. If Kuromoji has new mode to contain all...

I want to let app re-connect when app is foreground. I'm a beginner of Android developer but it's easy by using `onRestart()` , I think.

Hmm... I can't understand why we have to think so difficult. We need it just works same operation as when the connect button is pressed?

@kelsos Thank you for reply. >Also maybe you could enable logs on the app on the S20 and leave it until this happens, and then send me the logs? I...

@kelsos I set app setting "(Battery) Don’t optimize" and connection no longer drop for at least three days. Thank you very much.