PSL 8 opening ceremony, Date and Tickets - psl

I know its the season for PSL 8th. I wanted to know when will this season start.
PSL 8 opening ceremony, Date and Tickets?

Opening ceremony of PSL 8th Edition to be held in Multan. Star players from across the world will participate in the mega event.The colourful opening ceremony for the 8th edition of the Pakistan Super League (PSL) will be held on February 13 at Multan Cricket Stadium.
For Details visit
PSL 8 opening ceremony, Date and Tickets

Related

How to structure reference table changes overtime

This is more of a design issue than technical though I do plan on building my report in PowerBI so any limitations of that system should be noted
I am trying to wrap my head around changes in employee information over time and a time card system.
Let’s say I get a time card report that has some standard information. Thier employee ID, number of hours, task hours charged to, date hours charged and so forth.
I also have a HR report of details of each employee which I of course would link via employee ID. This table would have information like job title, department, name, location and so forth.
I am building a report that would show how many hours are charged each month historically by job title and department.
Let’s say employee 3453 was a Janitor in June and charged 20 hours. In November he became a security Manager and charged 10 hours.
When doing reports in December using the current HR data my report would show that 30 hours were charged to the security department instead of 20 to sanitation and 10 to security.
Adding multiple employee records to the HR table wouldn’t work because it would have duplicate keys
I guess I can’t wrap my head around it.
Any help would be greatly appreciated
Thanks.
This is generally handled by working with a separate table that tracks the details of the employees over time.
For example:
EmpID Position DateStart DateEnd
3453 Janitor 1/1/2018 10/31/2018
3453 Manager 11/1/2018 null
There other ways to handle this. I recommend doing to searching and reading using the term:
"slowly changing dimension"

Quarterly Reports on Dates

I have a challenge ahead of me. I have looked at this for a couple of days now in a trial and error sense and am getting tired of not getting it… My SQL knowledge is very very basic.
Each quarter I have to report on the questions below (of course the date period changes):
The number of doctors with whom the designated body has a prescribed connection at 31st December.
The number of doctors due to hold an appraisal meeting in the reporting period (from 1st October to 31st December 2017).
The number of those doctors above who held an appraisal meeting in the reporting period.
The number of those doctors above who did not hold an appraisal meeting in the reporting period.
I have three lists:
A list of staff responsible to the designated body. In a linked table- ‘GMC_Main’ Field- GMC Ref No
A list of all appraisals that have ever taken place (historical and ones performed by staff not responsible to us). In a query called-
‘Latest Appraisal’ Fields- ProfNum, MaxOfAppDate
List of emails in a linked table- ‘MARS_Core’ Fields- ProfNum, EmpSurname, EmpFirstName, EmpEmail
Things to consider
ProfNum and GMC Ref No are the Unique identifiers for each member of
staff.
GMC_Main is the list of all staff that need to be considered in the
report. So should have a row regardless of the results from the other
tables.
All appraisals are valid for 365 days. So The date 1 year in the future from that in MaxofAppDate will be needed to calculate expiry in the period.
Due to software limitations I only have available Access 2016.
I need to count all that should have taken place, including ones that
are still overdue from previous quarters.
Count all the ones that actually took place in the period.
Be able to contact all the ones that did not achieve and appraisal.
At year end (31 March) do this for the entire year and not just the
quarter…
Fuff!
Each time I approach this problem I am missing a group of people or feel I am doing it in a very wrong-handed way.
If anyone could help, then that would be amazing. This is a little beyond me.

Round Robin Seeding simple logic iteration psudocode required

I'm going bananas at something that should be simple. A teamfixtures table for a league database. Imagine we have 12 teams with primary key 1,2,3... until 12 in team table
Each team plays each other twice home and away. Imagine that team fixtures is empty but I want to loop 22 (total weeks of league with 12 teams) times with an inner loop of 6 times (since 6 days games a week)
The idea is to make it so that (as much as possible) each team gets home game then and away game
So the table we want to populate is team fixtures with a hometeamId and an AwayTeamId (remembering 1-12 for each team))
How can we loop in c sharp and have it seed 1st half of season everyone plays everyone once. Then the 2nd half repeating but reversed
I keep getting into a mess with the logic and the examples online explain the pricinples of round robin seeding but no good simple examples
Trying now to rotate them clockwise I think thats the way to go, should be easy but its tricky
REgards
J

How to model the opening times of shops in an object oriented way?

What I need
I want to build an application that has a model "shop" in it. Each shop has opening times. These opening times can be quite complex. I think the complexity is best demonstrated by examples:
A shop is open on Monday to Friday, from 10 to 18 o'clock.
A shop is open on Monday to Wednesday from 10 to 18 o'clock, on Thursday from 14 to 18 o'clock, and from 10 to 14 o'clock on Friday.
A shop is open on Monday to Sunday, from 10 to 18 o'clock, but only in a given time span, say from 18th April 2014 to 30th of May 2014
A shop is open on the second Saturday of each month, from 10 to 16 o'clock.
A shop is open all year from Monday to Saturday between 8 and 20 o'clock, but not on a couple of special days, e.g. 24th to 26th December and on easter Monday.
As you can see, there are many complex combinations.
The resulting data structure should support three things:
Return a list of all time spans in which a shop is open for the next half year (or something in that order of magnitude)
Return a human readable representation of the opening times which is shown to end users.
The opening times of a shop will be entered by end users, which should be easily able to specify any of the above possibilities with a form (without training, its on a website).
My approach
I have tried to model this into an object structure. My current idea is this:
Each opening time is an object implementing a common interface.
For each case there is a class implementing it, for example:
One class is a "weekly opening time", which models opening times like #1 (opening and closing time for each day of the week)
One class for specific single dates (24th of December)
One class for recurring times each month (each second Saturday of a month)
One class for bigger time spans (18th April 2014 to 30th of May 2014)
More, if the need occurs.
Each shop has a list of opening times.
Each of these opening times has a list of exceptions to it, where each exception is an opening time itself, which may in turn itself have exceptions.
Problems I see
My greatest concern is usability: How do I print the opening times modeled like this, and how do the users enter them?
I'm open to other approaches. Nothing is implemented yet, and my stomach aches when thinking about the approach above...
(As far as the data-modeling tag is concerned) One single entity :
OpeningPeriod(CalendarDay, OpeningHour, ClosingHour)
or
OpeningPeriod(OpeningTimeStamp, ClosingTimeStamp).
A full opening/closing schedule for any shop/org is a set of such opening periods.
Don't try to capture some sort of "generic all-encompassing predicative way" to describe any possible opening/closing schedule "in full", all exceptions and exceptions-to-the-exceptions included. You will fail because there is no end to the nature of the "exceptions". Also you will be hitting serious problems very quickly when you start trying to "prioritise" between rules that overlap.
Just try to build as much "standard" rule-based facilities in the UI as possible, plus a facility to manage the schedule at the lowest detail of OpeningPeriod, for handling any possible "exception left unhandled by the provided rules".

Can't get transaction data older than 7 months from customer account data api with developer account

I am using a free development account, rails 4.0, ruby v2, heroku toolbelt, redis-server, and postgres 9
I have a rails app that had been loading transactions from Aug. 2013 to Feb. 2014 this past Feb..
In March the app loaded back to Sept., saw that we had hard-coded 7 months, so I switched to load 9 months. The transactions will not load farther back than Sept., both for the cc bank test accounts and a personal bank of america account. It will load a shorter time period(3 months) but calls further back than 7 months only load 7 months.
the main calls I'm making
def services
IntuitIdsAggcat::Client::Services
end
def fetch_transactions
#transactions = services.get_account_transactions(
account.user.intuit_id, account.intuit_id, 9.months.ago
)
end
Is there a limit on how far back you can look at transactions with the free development account?
Thank you for your time
This is what I got from Intuit APP team - it sucks :)
We only capture 180 days prior to the add day and that is dependent on the FI. Some FIs we can only get 90 days at most.