Star Schema Design Help - data-warehouse

I'm stuck on how I would put together a star schema around my current web application (similar structure as stackoverflow). I have:
Surveys have many Questions
Questions have many Votes
Questions have many Comments
Questions, Votes and Comments are all attached to a User and Date
I'm stuck on how I can create a star schema so that I can store and answer questions i.e. How many votes did question a receive today? What were the comments did question b have today and by who?
Any ideas would be helpful!
Thanks in advance

How many votes did a question receive today?
What were the comments a question had today and by whom?
another option...

Related

What is the best practice for associations and view restrictions? [closed]

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 2 years ago.
Improve this question
I'm working on a rails app to teach myself associations. Its an app with Tutors and Students where Tutors create Students as Users and can then Tutors create "posts" for what was taught in that lesson to the specific Students page to show their progress. When the Student logs in they can only see their assigned progress and do nothing else.
I figured an option is having Students as "categories" so the Students can be filtered but what is the best practice?
It seems simple but I keep overthinking it
Generally you want to create the associations as you need them in your code later. So if a tutor has many students and many posts and a student has many posts and belongs to a tutor and so on.
In order to restrict it in the view, you can restrict that in the controller. So this is where you can filter the posts by the students then. So you could do student.posts (Beware, I am not super sure what your db structure/schema looks like).
And there are gems that handle authorization. Look at pundit (my favorite) or cancancan. With those you can specifiy for each controller action, who can see/do certain things.
Now judging from the little information you gave, you might also want to look into namespaced controllers because you probably have a posts#index for tutors and another one for students. Here you can get another layer of organisation by adding a so called namespace meaning you can have one posts controller under tutors and one under students. You can find more info here: https://guides.rubyonrails.org/routing.html#controller-namespaces-and-routing
Let me know if anything is unclear!

How can I use JIRA to track Story Points per Developer on my team? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about programming within the scope defined in the help center.
Closed 5 years ago.
Improve this question
I need to provide some metrics on my Scrum team for management. The most important metric is how many story points are assigned to each member during a sprint. I would like to just assign them to the team in general, as that would be a better implementation of SCRUM, but unfortunately I can't do that.
Anyway, I have been looking for a dashboard gadget that will track how many points are assigned to each team member, how many story points are verified complete, and how many remain. So far the search (in Jira documentation, google, and stackoverflow) has yielded nothing. My current solution is to put all of the information in an excel spreadsheet. This works, but seeing how all other metrics are integrated into a Jira gadget or the like, I would really like this to be present on my board.
So again: Can I use JIRA gadgets to track story points per developer?
*Sorry if this is not the right community for this question, but searching JIRA in stackexchange brought me here.
Credit to https://answers.atlassian.com/questions/9383627/i-need-to-see-the-total-story-points-per-user-in-the-sprint- for the answer
If you look at your sprints in plan mode, you see the people that are assigned work in that sprint just below the sprint start and end date. To the right of the people, you see 3 dots, which when clicked will open a summary showing every assignee and the number of issues and associated story points assigned to them.

who are people Devs/techies should follow on twitter/ facebook? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 12 years ago.
Improve this question
yesterday i was reading an article that touched on twitter and made mention of how it can be influential if someone like Tim O'Reilly makes a suggestion then his 1.5 million followers on twitter will react to such tweets and cause some sort of reaction.
weather tweets and/ or the entire online social media ecosystem is debatable to no end it is a means of staying informed, sort of like watching the morning news.
this thought has sparked me to create a twitter account so that i can follow current events in what im interested in, namely software development and technology in general.
this brings me to my current situation of what intelligent people are worth following and listening too. i know the social media web is flooded with mind numbing nonsense but in part there are movers and shakers like Tim O'Reilly who are well worth listening too if for nothign more than getting a sense of which direction the wind is blowing.
so the million dollar question is who do you follow regularly?
please list the moniker of the person for others (ME) to be able to easily add & follow them as well... also list the medium (facebook/ twitter...)
in particular im interested in these technologies(MS SQL, asp.net/ C#)
thanks all for helping me get off to a fast start.
The standard ones are problably something like:
haacked
jonskeet
spolsky
scottgu
Not exactly your what you are looking for, but I would also consider blogs as well if I were you, which I find much more in depth and easier to follow than tweets. I would certainly add Scott Hanselman to the list of people you follow.
Blog: http://www.hanselman.com/blog/
Twitter handle: shanselman
The two that top my list:
martinfowler
unclebobmartin

Best practice to start with the development of a web app [closed]

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 6 years ago.
Improve this question
We (a group of 4 students) are planning to create a web-app on Ruby on Rails. I have done some web app projects in the past and one thing I have learned is the initial time devoted to design the app, which was very less, I just start coding with some basic things in my mind.
So, this time, I don't want to do the same mistake and want to plan the app (high level design). But again, sometimes I feel it might be an overkill for a student project which might span for 6 months.
So, what should be the best approach in this case?
My reqs are:
A plan which guides us through the development.
Should the plan be a text doc, a block diagram or what?
Should be clean, crisp and concise.
Would be great if you point me to some sample doc, template etc. Which is not an overkill but effective.
Start making a clone for stackoverflow. Dont go for a full deep functionality for initial stage.
Divide the whole functionality in 4-5 different phases.
Decide your phases.
You can use basecamphq(30 days free) or Fogbugz for planing, to-dos and lighthouse for bug tracking.
EDIT
Just think about the basic minimal functionality SO has:--
Sign-up. (Normal + open-id)
Ask a question, answer a question
Comments on question and answer
Votes on question and answer
tag a question
Question stats like question views, Unanswered question etc
Points
Badges etc
Make a list and divide them in various phases. Don't try to make exact thing in one go. Just start from basic things.
Like for the first phase.
Sign up
Ask question, with tags
answer a question
comments on them
Basic profile page.
For next phase:--
Add ajax for comments (Good for learning ajax)
Votes, Not points
Add things like Unanswered questions. (initial dont try to find the logic how SO is listing unanswered questions, Just do something like unanswered questions means question having no answer.)
Question views
then next phase and next phase. and finally you have a clone. :-)
Ask Jeff to review it. (Kidding)

how to get more involvement from employees? [closed]

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 3 years ago.
Improve this question
Once a week we have a half hour session where we talk about a few features in our application or explain a customer question to our employees(sales, support, technical services, and development). This session is to teach our employees the application we sell and to help them improve the service to our customers. Once every two weeks, this session is mandatory. Unfortunately, some of our employees do not take this too seriously.
How can we, as developers, gain more involvement from the rest of the company? And make them understand the application we're building, selling and supporting more?
Ask them to present the topic in front of you after some days from the session day.
Another good way is to make them suggest new features and modifications in the project.
If you have any hidden "tricks" or "easter eggs" in your application then start showing them one every week.
Make it interesting and tell them how a trick can help a customer.
Couple of points:
Make them feel important. Give them direct input using proper questions, even if you need to resort to analogies.
Speak with them, not at them. When people are being lectured there's a natural instinct to not take any notice.
Use analogies for things they do not understand, and again, give them direct input.
The main goal is giving the person a stake in the project. If they do not have anything valuable in the project (even an opinion that led to a feature classes in here), they will not care.
You can't get any more involvement from your employees because subconsciously they know they will not get any more benefits through exercise of extra involvement.
Reasons?
They may not agree with your development strategy or with your customer relationship model. So they feel as they don't really belong here.
Their work will not profit from any extra insight, so for them it's a waste of time
They don't get paid enough so they are at a minimum accepted performance
They have other personal problems in mind and don't want to take extra mental burden during their working hours
They long since learned the company does not care about their opinion and improvement ideas, so they shut down their involvement service
They're that kind of people that are not interested in being involved (hire strategy issue)
Recognized anything? Then you know what to fix.
The important thing to understand that you should not just cure the disease but the reasons of its emergence. You may threaten people with some punishment actions if they don't get involved. You may play to emulate the need for their involvement. It will work for a brief time then fade out. Until you get to the origin of the problem, nothing will help.

Resources