From bdc587901bcc66c371100cc507ea330d5c3d921a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oliver=20Hn=C3=A1t?= Date: Fri, 4 Nov 2022 13:40:06 +0100 Subject: [PATCH] Changed time_factor to 0.5, changed the stored tweets to 1000, changed the displayed tweets to 100 --- __pycache__/dashboard.cpython-310.pyc | Bin 2341 -> 2303 bytes dashboard.py | 2 +- dashboard_static/index.html | 2 +- dashboard_static/js/events.js | 4 ++-- dashboard_static/lib/tweets.js | 4 ++-- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/__pycache__/dashboard.cpython-310.pyc b/__pycache__/dashboard.cpython-310.pyc index 8420058fe156290be959fe0b6dcc4bab295d5c2a..f790f1a5c2baa97647997d817e3f9f318def588d 100644 GIT binary patch delta 227 zcmZ1~^k0xKpO=@50SKP3rzZPwZRC?=WCw8>7#>X4V{~-%(GM+7Eh^T}&&e!HEy~DC zEYWvKEzT~BTEhx&*N=+`&-@J(N z3zNVxMh1owh8o5!#%9J^rmDT0m$8&Fx`#95u`n`#U?f8cOA1d7Q!^7ILkVjQQwpyn zLo=fbLo8n{Gf;*vg};QYhPjzBMIenSMQ{#SUE!q^hF}IwA-~PNY@v)?Z9q43F)=YR RF;3!0nry(qH93jnFaW_kJeU9g delta 224 zcmew_xKxNQpO=@50SFGgNlxbF-pD7($UbW(2<)7!$LMHm=WG=dTAW%`98;2+Tb>!? zlAm0fo0?Zr9OIjxQks*hU>H+Uo>@|oTBKW0l%JKFToSW+1LGGafftMn3?&RTj9HA$ zjI~Tv=QeL)DPt6?Vy|IZz?8zXkdcugoFR{sg`tGG^5SGUHfaam8m49@MurmB8m1IJ zNrq-d7lv5ATILd#6#f)}61E!VX2ul3G^P}xIbd~#k5d?e88n6cqS!K1;)_d)HW#vm TGBQq>e4M>>5(n308;-*OU2Q|1 diff --git a/dashboard.py b/dashboard.py index 5040641..e62eb14 100644 --- a/dashboard.py +++ b/dashboard.py @@ -13,7 +13,7 @@ root_content_path = 'dashboard_static' # the action will be called with the context and the event @event('init') def setup(ctx, e): - start_offline_tweets('sports1.txt', event_name="tweet", time_factor=0.1) + start_offline_tweets('sports1.txt', event_name="tweet", time_factor=0.5) ctx.count = 0 # fire('sample', {'previous': 0.0}) diff --git a/dashboard_static/index.html b/dashboard_static/index.html index 0b9df44..6260692 100644 --- a/dashboard_static/index.html +++ b/dashboard_static/index.html @@ -137,7 +137,7 @@