|
honey the codewitch wrote: (srect16)target1.bounds()
I saw what you did there.
|
|
|
|
|
honey the codewitch wrote: Such is the hazard of trying to user test one's own code.
It's called dogfooding[^] and unfortunately is one of the best ways to get high quality code. It might not be appealing but it works
Mircea
|
|
|
|
|
Dogfooding is when you use something you've developed.
This is more about usability testing. It's a design phase thing. Dogfooding is well past that phase.
Real programmers use butterflies
|
|
|
|
|
Seems like a place where
delete this;
could come in handy in the changeMode function but you would have to refactor. Or else have 1 static/global object in memory for each mode and you switch between them.
// global
target = target->changeMode(newMode);
target->filled_rect(…)
changeMode could return this if newMode matches current setup or else do 1 of 2 things.
1.
delete this and return new replacement object
2.
Return pointer to correct static mode object.
I prefer 2 as it is less heap churn.
Good luck
|
|
|
|
|
I did a thing where the main driver class holds something like that instead of as a global.
Then, each mode holds a reference to the driver class that spawned it.
Whenever the driver class switches modes it deinitializes the old mode.
Whenever a mode goes out of scope or otherwise gets deinitialized it references the driver to kill the pointer to the last mode (setting it to null) while deinitalializing.
Real programmers use butterflies
|
|
|
|
|
Has both hands treated in vain with this product (4,7)
"I didn't mention the bats - he'd see them soon enough" - Hunter S Thompson - RIP
|
|
|
|
|
Has HAS
both hands LR
treated (anag)
in vain INVAIN
with this product
NAIL VARNISH
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Well done YAUT
"I didn't mention the bats - he'd see them soon enough" - Hunter S Thompson - RIP
|
|
|
|
|
I'm pretty sure I've seen that one before somewhere though ...
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Yeah I've got a database of my favourite clues over the years which I modify/bastardise when I don't have one of my own ready.
"I didn't mention the bats - he'd see them soon enough" - Hunter S Thompson - RIP
|
|
|
|
|
DB? Mine is still only a text file ...
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
It's interesting that, despite the complaints, we have had a lot of those "translate before you anagram" clues recently.
Three in a row I believe!
|
|
|
|
|
Not quite with this one L & R ( hands ) are not synonyms
"I didn't mention the bats - he'd see them soon enough" - Hunter S Thompson - RIP
|
|
|
|
|
I would never have guessed LR for hands.
|
|
|
|
|
They are commonly used in cryptics
"I didn't mention the bats - he'd see them soon enough" - Hunter S Thompson - RIP
|
|
|
|
|
I don't recall ever seeing that in The Spectator, Sunday Times or Telegraph crosswords. Although it's a while since I did either of the last two. The Spectator is fiendish enough to keep two of us occupied for a couple of days a week on and off.
|
|
|
|
|
I've never tried The Spectator - I mainly did ( still do occasionaly ) The Daily Telegraph and The Financial Times ( I contracted for Deloitte for 20+ years so there was always a copy of the FT lying around ). The Telegraph was always my favourite - not too easy and not too hard.
"I didn't mention the bats - he'd see them soon enough" - Hunter S Thompson - RIP
|
|
|
|
|
In the days of newspapers I always like the Telegraph crossword. If I remember correctly Thursday's was usually a bit more difficult.
|
|
|
|
|
Yes it got progressively harder as the week went on and then got easier for the prize crossword on Saturday
"I didn't mention the bats - he'd see them soon enough" - Hunter S Thompson - RIP
|
|
|
|
|
Not synonyms, but still require translation to something other than the word(s) in the clue.
|
|
|
|
|
It seems it occurs after update. Does anyone have the same problem?
|
|
|
|
|
Nope. But then, you haven't given us any details on what crashes or what gets updated so it's difficult to tell ...
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
So I didn't open the Google search app. But it crashed in the background. (There is a pop-up message saying that). The Google app just got updated recently.
Anyway, I found someone who has the same problem with me in another forum. What they tell me is to stop the service or uninstall the Google App.
|
|
|
|
|
|
Here is an interesting problem and I bet it’s not the first time this has happened!
Ours is a 2-man development company, for the sake of anonymity I am going to use PQR instead of our actual company name, so I have PQR Limited with a web site of PQR.co.uk.
Suddenly we start to receive phone calls from people in different countries who have paid for goods from what they think is our site and wanting to know when their purchases will be delivered! This is a bit of a surprise as we don't sell anything, we just use the site to advertise our services for hardware design and custom embedded software, there is no shop or e-commerce.
It turns out that some scammer has taken a similarly named https domain of PQRltd.com so pretending to be our company, they have even copied my business partners name and contact details. They are offering for sale all sorts of high-priced consumer electronic products. The poor people duped by the site having thought they made a purchase do not receive any goods, its blatant robbery.
In the UK we have actionfraud.police.uk and reporting this crime to them results in a comforting message of:
"The use of another person’s identity, often referred to as identity theft, is not a police recordable crime. Where the details are used to obtain goods or services, we can only record a crime on behalf of the person or organisation which was defrauded as a result of the misuse of an identity."
To ease any stress that we might be feeling as a result of the above response involved they add....
"Whilst we have not recorded this matter as a crime, we will still make use of the information you have provided. Information reports are utilised to enrich the overall intelligence picture which assists with the formulation and refinement of prevention strategies."
I am so happy to learn that in the UK identity theft is not a recordable crime and that the time wasted trying to research and report the problem (more than a day) has just served to enriched the picture. What a load of rubbish!
Any suggestions what realistic action I can take to try and stop the fraud taking place?
|
|
|
|