Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I am playing around with Meteor as a framework for building web-deployed economics experiments. I am seeking advice on how to structure the app.
Here is the logic:
Users create an account and are put in a queue.
Groups of size N are formed from users in the queue.
Each group proceeds together through a series of stages.
Each stage consists of:
a. The display of information to and collection of simple input from group members.
b. Computing new information based on the inputs of all group members.
Groups move from stage to stage together, because the group data from one stage provides information needed in the next stage.
When the groups complete the last stage, data relating to their session is saved for analysis.
If a user loses their connection, they can rejoin by logging in and resume the state they were in before.
It is much like a multiplayer game, and I know there are many examples of those, so perhaps the answer to my question is just a pointer to a similarly structured and well-developed Meteor game.
I'm writing a framework for deploying multi-user experiments on Meteor. It basically does everything you asked for and a lot more.
https://github.com/HarvardEconCS/turkserver-meteor
We should talk! I'm currently using this for a couple of experiments but it is not well documented yet. However, it is a redesign of https://github.com/HarvardEconCS/TurkServer so all of the important features are there. Also, I'm looking to broaden out from using Amazon Mechanical Turk for subject recruitment, and Meteor makes that easy.
Even if you're not interested in using this, you should check out the source for how people are split into groups and kept segregated. The original idea came from here, but I've expanded on it significantly so that it is automagically managed by the smart package instead of having to do it yourself.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 2 years ago.
Improve this question
I'm studying Java since 8/2020 ans I'm making recipe app for my school project.
I'm using android studio,Java and currently finished making Frontend UI , every layout of my app and connected to FireBase.
on my app I want users to add their food,health data on app and get recipe which fit for their data.
At this point I want to know what tool,program should I use to build my recipe recommendation algorithm and apply it on my app,Firebase.
I searched many Question,post on google and couldn't find what to use.
This is my first complicated app and I don't know much about programming
I'm stuck at this point for 5 days. Can somebody Help me?
The question can have a vast number of answers, and it depends upon your database structure and you to decide, which approach to pick.
You need to search for the data on two bases, i.e. ingredients and health data
One approach could be:
For the ingredients part, this would do the job:
Including an array of tags in each document of a recipe which would list out the ingredients of the recipe by which you can query (array-contains)
And for the health data part, I'm not quite sure what you mean by filtering based on health but let's say; you are going to search for the recipes based on the calories the user needs in a day. So after calculating the calories required in a day, it would be like:
Including a field of totalCalories in each document of a recipe which would tell the total calories in the recipe by which you can query (whereEqualTo or whereLessThan)
I suggest you read the Firebase documentation for executing the queries to get to know about all the possible ways.
Perform simple and compound queries in Cloud Firestore
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 5 years ago.
Improve this question
My team is making the transition to Scrum.
I am facing an issue I still not found on the various Scrum resources I've been studying: how to manage training?
I express myself by example:
my team has 4 developers, 2 of them know nothing about Test Driven Development
the project must be done using TDD
Should I create a backlog item "Study TDD" and use the first sprints so that the untrained developers learn TDD?
Or should I remove the developers from the project until they completed the training? Which is the best practice in this case?
Just send them to the training, and continue your sprints as normal. While they are in training they won't contribute to the velocity, the same as if they were sick or on vacation or just having a bad day. The velocity isn't a goal so much it's an indicator.
You can create a story for training if you want, but it isn't necessary. If creating the story helps, by all means do it. Don't do it just because you think you're supposed to. I've been on teams that liked to track non-product tasks, and teams that didn't. Do what your team decides to do.
In your question you wrote:
the project must be done using TDD
I hope that's because the team decided that, and it wasn't something that was decided for them. The whole point of scrum is to build a team that can make these decisions for themselves.
Well, I will answer YES.
you need to create back log
you need to define test cases and follow TDD
you need to do stand-up meetings and daily follow up
you need to define a team member as scrum master who have best understanding
further, you can engage an online training of transformation expert
Like, I know these guys regarding Agile/Scrum Transformation. http://sparklegenius.com/solutions/agile-transformation/
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
I am using Shiny to create interactive graphs on a website, but it doesn't seem to have support for things like comment threads, or database storage. Are you supposed to somehow use Shiny within another language?
This question was downvoted, and I hope I won't lose scarce rep points by answering it. I can't speak for the Shiny development team, and I'm only a novice Shinyapps developer, but ...
It seems to me that Shiny aims to make it easy for for R programmers to build small to medium-sized, self-contained, web-based graphic-centric interactive data-analysis displays, without adding an unreasonable amount of code to what they wrote to do their actual work, i.e. the analysis. This is a fairly common requirement for researchers and practitioners (as opposed to full-time professional developers) coming from the R heritage and culture (stats and data science). Shiny achieves this aim pretty well!
You can find out more about the kinds of problems that Shiny aims to solve by going to the source. Note that it says Turn your analyses into interactive web applications, not Build a full-service website with interactive chat and a backing store. It sounds as if you want something different in scale and kind, and you may be wasting time by trying to shoehorn your requirement into the Shiny problem/solution space. I've occasionally hammered nails into wood using a pair of pliers because my toolbox was at the bottom of the ladder, but that didn't make it the right thing to do!
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 6 years ago.
Improve this question
Recently, I am working on my course project, the topic is the creation of a new hybrid software process model by integrating Scrum and Team Software Process (TSP). Integration of these two models will be based on the SEMAT Essence Kernel Framework.
I am wondering:
Which steps should be followed for this integration (like
determination of the roles and artifacts in these two models)?
What should be the criteria to decide on good sides?
Thanks in advance!
The best way I think I can answer this question is by quoting the agile manifesto.
"Individuals and interactions over processes and tools"
Agile is about people, teamwork and craftsmanship. It's about involving the customer closely to figure out what really is needed - and delivering that, in small increments of working software. Agile is inspect and adapt, based on experimental delivery and the feedback and evidence that comes from that.
Trust yourself. Work closely together and you can do this. The best learning often comes from doing. :)
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
Currently I am doing a restructuring project mainly on the Oracle PL/SQL packages in our company. It involves working on many of the core packages of our company. We never had documentation for the back end work done so far and the intention of this project is to create a new set of APIs based on the current logic in a structured way along with avoiding all unwanted logic that currently exists in the system.
We are also making a new module currently for the main business of the organization that would work based on these newly created back-end APIs.
As I started of this project, I found out that most of the wrapper APIs had around more than 8000 lines of code. I managed to covert this code into many single APIs and invoked them from the wrapper API.
This activity in itself has been a time-consuming process but I was able to cut down the number of lines of code to just 900 in the wrapper API by calling independent APIs for each business functionality.
I would like to know from you experts if this mode of modularizing the code is good and worth the time invested in it as I am not sure if it would have many performance benefits.
But from a code readability perspective, this is definitely helping and now I am able to understand the 8000 lines of code much better after restructuring and I am sure the other developers in my organization too will understand.
Requesting you to let me know if I am doing the right thing and if its having its advantages apart from readability please do mention them. Sorry for the long explanation.
And is it okay having more than 1000 lines of code in a wrapper API.
Easy to debug
Easy to update
Easy to Modify/maintain
Less change proneness due to low coupling.
Increases reuse if the modules are made generic
Can identify unused code easily