why capped

planteria
Posts: 6360
Joined: Tue Nov 23 2010 4:52pm
Location: England
Has thanked: 701 times
Been thanked: 1670 times
Contact:

Re: why capped

Post by planteria » Fri Apr 05 2019 10:00am

to make it midnight to midnight exactly?
Thanked by: blythburgh

richard@imutual
Posts: 6163
Joined: Wed Jun 23 2010 10:19am
Sharing: 2stars.png
Has thanked: 1880 times
Been thanked: 4097 times
Contact:

Re: why capped

Post by richard@imutual » Fri Apr 05 2019 10:21am

That's the intention. But (as I proved) it's easy to get in a muddle when it comes to programming with times and timezones

For instance, if our system is looking back at 28th/29th March now, it sees rayf as having done a transaction at 23.30GMT on 28th and then again at 09:00 GMT on 29th

But as we're now in british summer time, it might see 23:30GMT as being half past midnight on 29th - and therefore see 2 transactions on the same day

Of course, I'm expecting one of our technically-minded members to now pipe up and point out the "correct" approach ;) But when you don't work on these things week in, week out it's easy to get tripped up :(

Richard Frost
Posts: 13231
Joined: Tue Jun 29 2010 8:14pm
Location: The Isle of Dreams
Has thanked: 2874 times
Been thanked: 6862 times

Re: why capped

Post by Richard Frost » Fri Apr 05 2019 10:25am

I have just submitted a query re a capped transaction on 20/3 it tracked three times twice at zero and once at 50p Needless to say the 50p was capped.
Thanked by: blythburgh

blythburgh
Posts: 17737
Joined: Tue Jun 29 2010 7:14pm
Location: The Far East
Has thanked: 35005 times
Been thanked: 6106 times
Contact:

Re: why capped

Post by blythburgh » Fri Apr 05 2019 10:37am

richard@imutual wrote:
Fri Apr 05 2019 9:48am
rayf wrote:
Thu Apr 04 2019 7:55pm
why have all of my transactions on 28th March been capped? :thumbdown:
Apologies, I've had to completely rewrite the capping algorithm to work more efficiently

It's surprisingly fiddly to get a computer to work out "How many transactions have been done in the past X days?", especially when daylight savings kicks in when you're halfway through! I think this happened to you because you did transactions after 11pm one day and then again the following morning

I'm working on a fix ....
I remember the good old days on the amstrad PCW with something gold that meant you did not have to write programme stuff but had a front page like windows. No worry about scams and phishing but did an enormous amount of work on it but not a lot of time spent on games.
Keep smiling because the light at the end of someone's tunnel may be you, Ron Cheneler

richard@imutual
Posts: 6163
Joined: Wed Jun 23 2010 10:19am
Sharing: 2stars.png
Has thanked: 1880 times
Been thanked: 4097 times
Contact:

Re: why capped

Post by richard@imutual » Fri Apr 05 2019 4:05pm

William Joseph1 wrote:
Fri Apr 05 2019 10:25am
I have just submitted a query re a capped transaction on 20/3 it tracked three times twice at zero and once at 50p Needless to say the 50p was capped.
I've checked and this has been capped correctly. I'll PM you with details
Thanked by: Richard Frost, blythburgh

macliam
Posts: 11226
Joined: Thu Jul 18 2013 12:26pm
Location: By the Deben, Suffolk
Has thanked: 1630 times
Been thanked: 9281 times
Contact:

Re: why capped

Post by macliam » Fri Apr 05 2019 6:59pm

richard@imutual wrote:
Fri Apr 05 2019 9:48am
rayf wrote:
Thu Apr 04 2019 7:55pm
why have all of my transactions on 28th March been capped? :thumbdown:
Apologies, I've had to completely rewrite the capping algorithm to work more efficiently

It's surprisingly fiddly to get a computer to work out "How many transactions have been done in the past X days?", especially when daylight savings kicks in when you're halfway through! I think this happened to you because you did transactions after 11pm one day and then again the following morning

I'm working on a fix ....
Sounds like the Y2K bug again - but don't ask kev, he'll say it doesn't exist!! ;)
Thanked by: blythburgh
Just because I'm paranoid, it doesn't mean they're not out to get me

macliam
Posts: 11226
Joined: Thu Jul 18 2013 12:26pm
Location: By the Deben, Suffolk
Has thanked: 1630 times
Been thanked: 9281 times
Contact:

Re: why capped

Post by macliam » Fri Apr 05 2019 7:03pm

blythburgh wrote:
Fri Apr 05 2019 10:37am
richard@imutual wrote:
Fri Apr 05 2019 9:48am
rayf wrote:
Thu Apr 04 2019 7:55pm
why have all of my transactions on 28th March been capped? :thumbdown:
Apologies, I've had to completely rewrite the capping algorithm to work more efficiently

It's surprisingly fiddly to get a computer to work out "How many transactions have been done in the past X days?", especially when daylight savings kicks in when you're halfway through! I think this happened to you because you did transactions after 11pm one day and then again the following morning

I'm working on a fix ....
I remember the good old days on the amstrad PCW with something gold that meant you did not have to write programme stuff but had a front page like windows. No worry about scams and phishing but did an enormous amount of work on it but not a lot of time spent on games.
Ah, the old punched cards! These new-fangled floppy things will never catch on!!

Actual quote from my first job in IT, c1980 "If it can't be done in 64kb, it doesn't need doing!!". Yeah, right..... I love the smell of machine-code in the morning - pass me the hex calculator!!
Thanked by: blythburgh
Just because I'm paranoid, it doesn't mean they're not out to get me

expressman33
Posts: 12468
Joined: Tue Jun 29 2010 10:36pm
Location: stockport
Has thanked: 3006 times
Been thanked: 10641 times
Contact:

Re: why capped

Post by expressman33 » Mon May 06 2019 11:01pm

In the report "Transactions by merchant/status" ( https://www.imutual.co.uk/report?id=776 ) all capped/rejected offers are showing as 0 transactions , but if you click on the 0 it still brings up the list of capped/rejected transactions
Thanked by: blythburgh, xxxraichxxx

BeautifulSunshine
Posts: 26721
Joined: Tue Sep 14 2010 8:23pm
Location: [The Finest City in the World: London]
Has thanked: 192 times
Been thanked: 3686 times
Contact:

Re: why capped

Post by BeautifulSunshine » Tue May 07 2019 7:04am

expressman33 wrote:
Mon May 06 2019 11:01pm
In the report "Transactions by merchant/status" ( https://www.imutual.co.uk/report?id=776 ) all capped/rejected offers are showing as 0 transactions , but if you click on the 0 it still brings up the list of capped/rejected transactions
Sometimes you're paid and sometimes you aren't. What the reports say or do not say is for intents and purposes immaterial.
Thanked by: kevinchess1, xxxraichxxx
[imutual Cashback Investment Club]

expressman33
Posts: 12468
Joined: Tue Jun 29 2010 10:36pm
Location: stockport
Has thanked: 3006 times
Been thanked: 10641 times
Contact:

Re: why capped

Post by expressman33 » Tue May 07 2019 2:03pm

AAAlphaThunder wrote:
Tue May 07 2019 7:04am
expressman33 wrote:
Mon May 06 2019 11:01pm
In the report "Transactions by merchant/status" ( https://www.imutual.co.uk/report?id=776 ) all capped/rejected offers are showing as 0 transactions , but if you click on the 0 it still brings up the list of capped/rejected transactions
Sometimes you're paid and sometimes you aren't. What the reports say or do not say is for intents and purposes immaterial.
what I am saying is the report is NOT showing the number of transactions that have been capped or rejected
Thanked by: xxxraichxxx

Post Reply

Who is online

Users browsing this forum: No registered users and 8 guests