urbanriskmap / cognicity-grasp Goto Github PK
View Code? Open in Web Editor NEWGeosocial Rapid Assessment Platform for CogniCity
License: GNU General Public License v3.0
Geosocial Rapid Assessment Platform for CogniCity
License: GNU General Public License v3.0
Requirements for prototype:
Suggested fields:
Hi @talltom , after our discussion with BMKG (Meteorological, Climatological and Geophysical Agency), they are agree to feed our map with the realtime rainfall data in mm/h. Can we show it on the map like the waterlevel or sensor data in a realtime graph per hour?
I have made the wiki page and added this on our list. Please check on this link .
BMKG also will provides us the location data of the rainfall station for Jabodetabek, Bandung, Surabaya. Can we integrate their .csv/.kml data (with a column for coordinates)?
cc @anexact
Setting global values in the 'before' function, may return false positives where these are not updated in the test due to some other errors.
Need a more robust method of testing changes to logs.
Do we really need image_id or can we make card_id part of primary key in grasp_report_images?
Right now we are constrained to either testing on a phone or on Desktop. The touch and click apis are different. We should add code to make this more streamlined.
As we are collecting data directly from users we need to add validation processes for report cards:
Putting this here so I remember to fix it later.
I think we're not doing error checking correctly in ReportCard.js.
/Users/abrahamq/Documents/urop/cognicity-grasp/ReportCard.js:157
else if (result[0].received === false){
^
TypeError: Cannot read property 'received' of undefined
at /Users/abrahamq/Documents/urop/cognicity-grasp/ReportCard.js:157:29
at null. (/Users/abrahamq/Documents/urop/cognicity-grasp/ReportCard.js:85:6)
at Query.handleReadyForQuery (/Users/abrahamq/Documents/urop/cognicity-grasp/node_modules/pg/lib/query.js:114:10)
at null. (/Users/abrahamq/Documents/urop/cognicity-grasp/node_modules/pg/lib/client.js:172:19)
at emitOne (events.js:82:20)
at emit (events.js:169:7)
at Socket. (/Users/abrahamq/Documents/urop/cognicity-grasp/node_modules/pg/lib/connection.js:121:12)
at emitOne (events.js:77:13)
at Socket.emit (events.js:169:7)
at readableAddChunk (_stream_readable.js:146:16)
Right now, the client asks the server for a signed url, the server (which has credentials)
asks s3 for a signed url where the client can PUT an image. There's a corner case where the
server asks for a signed url, but the client doesn't actually PUT the image (connection drops, user backs out, so on.)
Here's a fix: use the lambda code to touch our database after it does the compression so that it tells us that an image url is present.
BNPB released regulation (no 2 year 2012) to standardise Indonesian hazards parameter. Please look into this link to see the original document.
*start from page 15 - table 1 on the document
Finding:
Basically, the alert levels for all hazards described as:
The thresholds for each level in each hazards are referring to the national standards that are released by related agency (i.e extreme weather by BMKG, etc).
We will follow up to BNPB next week if there is any update on this regulation while we have a discussion with PDC as well.
Right now photos are uploaded immediately when you click the upload button, but we should instead hold off until the user signs the terms and conditions.
We should write tests around the image upload functionality.
Hi! We were discussing about the bot language, which is may be the best for the users if we provide Indonesian & English.
We were talking deeper about how the bot will determine the language to be used for the rest of the report, and come up to this idea that the bot will send the first message to request the user to choose the language, like in the screenshot here:
Any comments? :) @talltom @fadmastuti @anexact @nashinmahtani @clgeros
cognicity-grasp should follow the template of other cognicity-reports submodules:
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.