summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2014-06-11getBrands: Do not lose uncommitted stuffHEADmasterPeter Wu2-0/+2
2014-06-11getBrands: Fix hang when donePeter Wu1-1/+4
For producer thread 0 and consumer threads 1 and 2 0:queue size = 0 1:get(); hangs... 2:get(); hangs... 0:put suicide pill 1:get resumes, exits Observe that 2:get is still running (deadlocks). To "fix" this, add multiple suicide pills. The current value (16) allows up to 16 concurrent workers.
2014-06-11Get rid of CR shit, LF ftw!Peter Wu1-81/+81
2014-06-11Merge branch 'master' of git.lekensteyn.nl:tue/2IOC0-DBL/GoldfarmerPeter Wu3-81/+163
Conflicts: src/main/Analyzor.java src/main/FarmShell.java
2014-06-11.gitattributes: Use native EOLPeter Wu1-2/+2
Should fix future conflicts due to the editor writing CRLF files.
2014-06-11getBrands: increase worker count from 2 to 4Peter Wu1-1/+1
Performance details: - 1 worker : 62k/min (n=60, sd=5.6k, max=70k) - 2 workers: 97k/min (n=45, sd=12k, max=123k) (+35k) - 3 workers: 133k/min (n=39, sd=23k, max=161k) (+36k) - 4 workers: 190k/min (n=102,sd=38k, max=230k) (+57k) No idea where the +57k spike comes from.
2014-06-11Use more workers for consumersPeter Wu1-8/+33
This improves the performance from 60k to about 95k tweets per second.
2014-06-11fixed.4s1231882-92/+117
2014-06-11Limit updating to unclassified tweetsPeter Wu1-1/+4
Tweets which do not mention a brand at all will have a brand "no".
2014-06-11Commit results early to avoid data loss on abortPeter Wu3-7/+26
2014-06-11More numbers for estimating durationPeter Wu2-0/+23
2014-06-11getBrands: add periodic status reporting, save memoryPeter Wu4-31/+158
Prevent out of memory error due to buffering the full resultset. This is done by disabling auto commit (starting a transaction) and setting a smaller fetch size. Watcher is based on my work in Datafiller.
2014-06-11fixed.3s1231881-0/+1
2014-06-11fixed.2s1231881-0/+4
2014-06-11fixeds1231885-280/+355
2014-06-11new method for categorizing wordss1231882-0/+55
2014-06-11Change to use 'RESET' instead of booleanPeter Wu2-23/+11
Also make selection query smaller
2014-06-04Producer / consumer for getBrandsPeter Wu2-17/+102
2014-06-04Formatting, remove unused importsPeter Wu2-123/+116
2014-06-04timezone command occurred twice.Maurice Laveaux1-1/+0
2014-06-04get rid of CRLF again.Maurice Laveaux1-81/+81
2014-06-04Merge remote-tracking branch 'origin/master'Maurice Laveaux3-89/+264
Conflicts: src/main/Analyzor.java src/main/FarmShell.java
2014-06-04Removed to many rules that were not needed.Maurice Laveaux1-65/+8
2014-06-04Added better notifications on getBrands.Maurice Laveaux2-585/+643
* Reports amount of tweets processed.
2014-06-02improved ratinginterval in posnegs1231881-1/+3
2014-06-02+5s1231881-1/+1
2014-05-31made a method that makes a csv to show the newsspreading process in disco. ↵s1231882-2/+110
Only looks at the replies/retweets of one tweet for a case, no tree by recursion (don't know how to show this in disco). Still needs testing.
2014-05-31made a method for the posnegVisualizers1231882-88/+152
2014-05-28Changed compnay iphone into appleMaurice Laveaux1-11/+11
2014-05-28Merge origin/masterdaanpeters8-691/+693
Conflicts: src/main/Analyzor.java src/main/FarmShell.java
2014-05-28Changed Timezonedaanpeters3-346/+555
2014-05-27changed Analyzor.timezone(String query) so that it adds a legenda "timezone" ↵s1231881-349/+361
so that the visualizer can display a legends
2014-05-26Formatting, drop useless license headerPeter Wu4-59/+42
Sam Hocevar doesn't know us nor does he have copyright about this work...
2014-05-26Optimize sentiment analysisPeter Wu3-16/+39
Do not create a new prepared statement every time. Use an optimized UPDATE query. Drop requirement for supplying a query.
2014-05-26FKING CRLFPeter Wu3-427/+427
2014-05-21Made a method in Analyzor that makes a csv file for an upcoming html app ↵s1231882-377/+426
that shows the amount of users in a timezone about a brand. Also made printing a csv file from a String, String, Integer hashMap a seperate method.
2014-05-21Change wordcloud with added brandsS1297781-285/+296
2014-05-21Committed a brandrule that only return brands.Maurice Laveaux1-0/+70
2014-05-19fixed wordcloud agains1231881-3/+3
2014-05-19fixed wordclouds1231881-1/+2
2014-05-19better value format for wordcloud.csvs1231881-1/+1
2014-05-19better header for wordcloud.csvs1231881-1/+1
2014-05-19added header for wordcloud.csvs1231882-282/+285
2014-05-19Merge branch 'master' of git@git.lekensteyn.nl:tue/2IOC0-DBL/Goldfarmer.gitunknown1-14/+27
Conflicts: src/main/Analyzor.java
2014-05-19wordcloud now makes csv files for wordcloud.htmlunknown1-12/+14
2014-05-19double exception fixedS1297781-18/+31
2014-05-19Updated brandrules.txt, apple and concatenated.Maurice Laveaux1-2/+6
2014-05-19BrandChecker removePunct replaces everything.Maurice Laveaux1-2/+2
2014-05-19Updated brandrules, added samsung.Maurice Laveaux1-1/+9
2014-05-19Also remove @ and # from input text.Maurice Laveaux1-2/+1