smart-facility / cognicity-reports Goto Github PK
View Code? Open in Web Editor NEWMaster module for collecting reports for the CogniCity framework
License: GNU General Public License v3.0
Master module for collecting reports for the CogniCity framework
License: GNU General Public License v3.0
If we hit the tweeting rate limit, handle this and back off sending so that we don't get our sending account blocked or keep increasing the rate limited period.
Allow data sources to perform some startup verification actions which can fail startup. E.g., the powertrack data source used to check the outgoing connection to twitter and check the configured tweet message lengths were acceptable. If either of these fails, an error when starting is more useful than an error later on once running.
See fix for smart-facility/cognicity-server#34
The README.md needs more info about what the project is about and how it inter-relates, including hyperlinks to and discussion of submodules.
The connection to Twitter should only reside in either the Twitter or the PowerTrack module. Reasoning:
As the parent module for the Detik submodule, this repo is also affected by this bug:
smart-facility/cognicity-reports-detik#2
This error on Travis:
$ git submodule update
Cloning into 'detik'...
Warning: Permanently added the RSA host key for IP address '192.30.252.128' to the list of known hosts.
Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights and the repository exists.
Clone of '[email protected]:smart-facility/cognicity-reports-detik' into submodule path 'detik' failed
I guess we need to use a 'deploy key', see http://docs.travis-ci.com/user/private-dependencies/#Using-an-existing-key , to allow Travis to checkout our SSH URL submodules.
Could we use HTTPS URLs for the submodules perhaps?
If the DB throws an error (which we see on Amazon environment switch IIRC), our error handler which caches incoming data and tries to reconnect to the database fails under pg 3.0.0 (at least on Windows - comments indicate this may not be universal). It worked on 2.0.0.
This describes the issue:
brianc/node-postgres#746
And this is the fix:
brianc/node-postgres#843
which was in >= 4.4.2
What was the reason for the initial PG upgrade? It would be nice to get this reconnection behaviour working again. Testing if it fails on the deployment environment would be interesting. But upgrading the pg dependency may be simplest.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.