![]() |
Re: Web-Based Crowdsourced Scouting App for 2014
Quote:
|
Re: Web-Based Crowdsourced Scouting App for 2014
Some notes:
1) While I've only skimmed the code, it looks like the PHP you're using has a couple "gotchas". Firstly, research and begin using prepared statements. You'll thank me if you ever run into a case of http://xkcd.com/327/ Secondly, store passwords as some hash (ideally hash + salt). Not as big of a deal in a robotics context, but if you ever do professional development, you'll want to have experience with that as it's considered not only standard, but pretty much a mandate in my experience. Thirdly, and the biggest issue by far, don't send my password in plaintext over http://. I say that in bold to push a point, I'm not at all trying to be rude, but let's take a look at the POST request: teamNumber=3138&scoutName=Josh&teamPassword=<THIS IS MY ACTUAL, PLAINTEXT PASSWORD>&teamType=frc&location=Cincinnati Again, is it the end of the world in a robotics context? No. But it's definitely a habit you won't want to be in should you decide to do professional development (assuming I'm speaking to a student here of course :o) I'd recommend crypto-js or similar for doing this client-side, and the standard crypto libraries PHP/SQL have to do it server side. 2) I'd definitely appreciate the textboxes on the calculations page being similar to the Location field on the homepage in functionality - I have the benefit of using my desktop browser and having the team list up simultaneously as the input page, here, but if I'm a drive team trying to use a phone/tablet quickly before the start of a match, that's an unnecessary evil. 3) While predicted scores are interesting, and my own system, FIRES (formerly IPA) includes them, as a drive team, what does this provide me? Can I use this to formulate a per-match strategy? Can I use this to say, "Oh, I can defend the other alliance for more points than my personal offensive contribution is worth - I'm gonna be a defense bot this game!"? Can I use it to avoid traffic holdups and potentially get more cycles in by avoiding statistically known location bottlenecks? Does one of the teams I'm against react in a significant way to defensive pressure? If so, which of my alliance partners can most significantly shut that bot down? These are all questions I feel a drive team would benefit from knowing the answers to. I'm aware you said you wanted to add some stats and graphs to this, and as a developer myself I fully understand Rome wasn't built in a day, but these are things you might want to look into. Some food for thought on a purely implementation level: 1) You'll want data problem resilience. 3138 scouts on 4G tablets and before implementing some client-side safety mechanisms, we were losing 25-33% of data. We now lose <5%. Definitely a problem you'll need to have an answer to. 2) There's lots of points that, as a UI developer, threw me for a loop. Bugs, and early in the season, so I can totally understand things not working quite to "production" yet, but some links don't seem functional for the most simple of functionality (going back to Scouting Home I seem to recall being one). 3) Relying on the scouter to input things such as the match number, team number, color, etc. can be a lot of burned time, and has an inherent human error component. Consider making this use a JSON array of matches to the effect of: Code:
[ |
Re: Web-Based Crowdsourced Scouting App for 2014
Quote:
As far as passwords -- I have been hashing, but I figure for this for this context it's not really worth the time to salt them (if I really cared about security, I would use something better than md5, lol). That's definitely something to look into though. I will also see about using crypto-js for client-side hashing though, that sounds cool. Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
|
Re: Web-Based Crowdsourced Scouting App for 2014
Quote:
|
Re: Web-Based Crowdsourced Scouting App for 2014
NO HOME BUTTONS FROM COMPARE ALLIANCE PAGES
sorry for the shout I faked a scout but it wouldn't let me back to home without discarding data. should I be trying a fake/testing location rather than a real one? seems logical now that I think of it. :D |
Re: Web-Based Crowdsourced Scouting App for 2014
Quote:
I fixed that issue. Wasn't sure what you were talking about until I tried it myself. |
Re: Web-Based Crowdsourced Scouting App for 2014
Quote:
When do you plan to delete the test data? We were thinking of doing some pre-event "pit" scouting this week through robot reveal videos and week zero event videos. |
Re: Web-Based Crowdsourced Scouting App for 2014
One comment I have is, I would like to see the ability to select multiple robot roles(I envision buttons like the robot abilities working well) and removing offense/balanced. Also renaming thrower to truss shot.
|
Re: Web-Based Crowdsourced Scouting App for 2014
Zaque: I was thinking about that as well when I designed that page, but then I thought that it wouldn't really differentiate from the robot abilities section very well. Maybe there's a way to make that work, though. I definitely do want to implement multiple roles in some sort of meaningful way though, because filtering by role is not very useful right now. I can see removing "balanced" if multiple roles are allowed, but I'm curious as to why you wanted to remove the "offense" role.
rwodonnell: We will probably delete test data soon, probably later this week, because we're also planning on using it this weekend. I don't want to do anything drastic without lead-developer-guy's approval, though (he's been out of the country recently.) |
Re: Web-Based Crowdsourced Scouting App for 2014
With all of the multiple ball autonomous(s)? out there you may want to include something for that for match scouting.
|
Quote:
we will delete all test data Wednesday night. |
Re: Web-Based Crowdsourced Scouting App for 2014
Quote:
|
Re: Web-Based Crowdsourced Scouting App for 2014
Quote:
|
Re: Web-Based Crowdsourced Scouting App for 2014
Quote:
We will likely go with a paper backup system if data connections are weak in Nashua. We had been developing our own app that would use bluetooth but ran into some trouble and it won't be ready by this weekend. One other note - I can no longer "authenticate as administrator" - not sure what happened but the password I was using is not working for that. I'm pretty sure I am typing the same one. The reset page doesn't seem to work either - it says "unable to update database." Thanks again for the great work! |
Re: Web-Based Crowdsourced Scouting App for 2014
We have added the ability to count multiple autonomous shots.
We have also created a release version, which is now hosted at frcscout.com. If you'd like to play with the development version, it will be hosted at dev.frcscout.com. This version will use the same databases, but will contain new features in development which potentially may not work correctly. Therefore, use this site at your own risk! Release information will be hosted here. The main website will run the latest release; the dev website will run the latest code which is updated on a daily basis. Once versions with significant enough changes are known to be stable, they will be pushed to the master branch on Git, and a new release will be created which will be pushed to the main site. |
| All times are GMT -5. The time now is 02:08. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi