Commit Graph

20 Commits

Author SHA1 Message Date
Louis Vallat
94550197e2
Update README.md 2019-06-17 19:55:14 +02:00
Louis Vallat
a5692db5b8 attempt to fix a memory leak 2019-05-03 23:27:54 +02:00
Louis Vallat
1ce343d523 minor update, more code optimization 2019-05-02 16:07:56 +02:00
Louis Vallat
930306a581 Update Hypervisor.java 2019-04-27 10:57:08 +02:00
Louis Vallat
3438370544 minor memory optimizations
there are memory leaks in the code but I can't find where.
2019-04-27 10:55:34 +02:00
Louis Vallat
0afc9e05ba Update TwitterTechSupportGoreBot.java
added version logging
2019-04-27 00:44:00 +02:00
Louis Vallat
b3af1f7982 huge refactor
hypervisor now don't rely on collections but only on the SQLite database for saving what post it has computed. It saves each post after each post, and marks it as shared before sharing it so if something bad happens, then it won't crash on it again. RAM usage has been improved too. After 8hrs running, it used more than 1GB. Now it barely uses more than 50MB.
Added a try catch for null pointer exception so it won't crash if a part of the JSON is missing. It'll just continue and don't compute this reddit post.
2019-04-27 00:37:32 +02:00
Louis Vallat
a2c7c4d8da MAJOR BUG FIX
logs are so powerful you can't mess with them
2019-04-26 00:19:36 +02:00
Louis Vallat
5c762ed6ee finished version 0.9
everything is working fine and can be used in testing environnement as it hasn't been tested long enough for being safely deployed in production environnement
2019-04-25 17:24:49 +02:00
Louis Vallat
ae1765851b Created the Hyervisor 2019-04-24 11:26:16 +02:00
Louis Vallat
105b59abf8 Added reddit extractor and subreddit ojects
it can now parse and extract everything we need from Reddit and create Reddit posts objects that corresponds to the given object.
2019-04-24 10:39:55 +02:00
Louis Vallat
1a7e8c88cc added support for "isXXX"
is text ? image ? link ? video ?
2019-04-23 12:15:51 +02:00
Louis Vallat
97624621ae Update RedditPost.java
updated newScore type from int to double
2019-04-23 12:01:44 +02:00
Louis Vallat
4f790f7c61 updated javadoc for RedditPost.java 2019-04-23 12:00:55 +02:00
Louis Vallat
51bbc2fee6 added postId support in subclasses 2019-04-23 11:51:56 +02:00
Louis Vallat
433f677749 added postId support 2019-04-23 11:49:47 +02:00
Louis Vallat
769c9d5793 added main skeleton for RedditHandler 2019-04-23 11:45:31 +02:00
Louis Vallat
520a2ee598 Added parser prototype
this is a prototype for the JSON parser.
Not fully fonctionnal (bunch of NullPointerException)
2019-04-23 10:35:02 +02:00
Louis Vallat
f42d4c81fd Created main NetBeans project
- created main netbeans project
- added license header in project properties
- added main class
2019-04-22 17:30:34 +02:00
Louis Vallat
47dfec69b9
Initial commit 2019-04-22 17:22:14 +02:00