@edps
Forum Replies Created
-
AuthorPosts
-
Good luck with lecturing your daughter over changing her lifestyle!! :wacko:
Hopefully the medical profession will take on that task, or you risk becoming a very unpopular parent.
I agree SQL would have been the ideal, and MySQL is even free and works under Windows. I would not think it would have cost too much to hire a pro to do a proper job and it would not have taken very many hours to complete it including error checking encryption etc. and of course documentation and management information reports.
One of the first things I ever learned in Systems was that interfaces were where all the stuff-ups occur, and lines read, checksums etc would have been the first thoughts of any pro., even if they were given no money for doing a proper job.
Best wishes for your daughter. I have never had gall stones but I have had kidney stones – one of the worst experiences of my life, so I have a great deal of sympathy for anyone who has ‘stones’.
Sack Dido Harding – The Queen of Carnage!
It beggars belief, but the latest Dept of Health cock-up was their use of Excel Spreadsheets to record and transfer Covid testing results. Test results exceeded the allowable row count (obsolete Excel spreadsheets are used), and the excess was quietly dropped and not transferred into Test &Trace so inflicting more death and carnage on the North-West of England.
Hancock’s latest apology was less than fulsome, but the real horrendous details are revealed on ElReg.
Why did it happen – easy, it was done on the cheap by a bunch of IT amateurs. It is all down to a critical lack of NHS funding and Government policies of outsourcing IT expertise.
So Trump (or a suitably masked body double) , have gone for a ride in a car.
Read the Gizmodo report and you come out with the distinct impression that maybe it was actually a body double. I suppose given the lies that were promulgated about BoJo’s Covid health, we should not expect any better from the US, and even Churchill had a body double!
The event was just last Saturday at the White House Rose Garden according to Gizmodo,
The 15 years old daughter of one of the attendees went viral with her TikToik complaining about Trump’s attitude to masks and the resulting Covid infection of her mother Kellyanne Conway who was *’Covid coughing’ around the family home.
“… Claudia Conway, who in the past has been an outspoken critic of both Trump and her mother’s former position on his staff, states: “im furious. wear your masks. dont listen to our fucking idiot president piece of shit. protect yourselves and those around you.”
Assuming that this was the superspreader event the timing squares with the usual 3-9 days induction time between infection and symptoms appearing,. so early days for Trump if correct.
* A very recognisable deep lung cough which is akin to whooping cough where the victim is left breathless and gasping for air.
The Beeb reminded us that it was 9 days after testing positive that Bojo was hospitalised. They quoted odds of 1 in 4 that someone with Trump’s morbidity would die. Not great odds at this stage and historically the odds dropped to 50:50 if hospitalised.
Obviously this has huge implications for the US, but it must now start to feature in BoJo’s Brexit scenarios as the Democrats have made the Irish border an issue in any future trade negotiations. The problem for BoJo is trying to work out what Trump’s illness will do to the US election and trying to keep Brexit alive until the result is known.
Re irony/sarcasm – I do so agree!
I guess without the visual/emotive clues my tendency is to take every post at face value, and react even if the best reaction would be 🙂 . I suspect that others also have the same problem. :unsure:
The scary thing is that the US has gone into automated response mode.
All start singing the Tom Lehrer song — We’ll all go together when we go!
Could be John, but the Beeb had an interview with a Center for Disease Control woman who said that it was a close political aide who had Covid and resulted in Trump being tested. The spokeswoman said that face masks were not worn in the White House and that Joe Biden was on the list to be tested as a close contact. The spokeswoman also said that Trump was 74 and over-weight, not great survival characteristics even though he currently was symptom free.
I guess we will now see whether his hydrochloroquine+zinc regime improves his odds!.
If you had ideas on using the Pi4 for a media centre but gave up due to the lack of usb boot from SSD or usb drive then you can pull it out of a drawer and blow the dust off it as it will now boot from USB if you update the flash bios. (i.e boot from SD card, and follow the procedure given in Toms Hardware. )
I’m now thinking of buying one of these to make a classic Nintendo look-alike. Shame I do not have the ROMs to put on it!
Funny, but probably too clever for 98% of the general public.
I think i should also point out that if you had a pointer to an expanded Vector it won’t be valid
This link gives a useful understanding of vectors in C++. As you can assign things dynamically to a vector it isn’t too surprising that it barfs if you try to point at expanded elements as it would be pretty easy to generate variables that pointed at thin air.
Thanks Dave, as usual please pass on the best wishes.
Researching your comments I found that I am twenty+ years out of date! C++ reflects the design of modern OSs where the hardware lives at Ring 0 and has reflections onto Ring 3 but keeps the real stuff protected on Ring 0. As a result C++ prevents you writing stuff for an Atari or any other DMA system even if it is living in a vm or emulator.
As an aside I accidentally found this site which (ignoring protected mode) shows how arbitrary memory addressing can be carried out in 22 different ‘languages’. :yahoo:
I take back my comments, poxy C++ makes it very hard to use raw pointers.
You may have to use ‘friend’
Take the addresses of your peek and poke (say Pe and Po).
To peek just set a pointer to Pe (say pPe) then :
Pe = 0xCEff44 /* address in hex
void * pPe = (void *)Pe
if it is a char then use char* instead of void for other types of pointers such as struct etc
then just read the value pointed at by *pPe
printf(“value of peek = %d\n”, *pPe);
Poke is pretty much the converse look at this for more.
I recommend looking at C for obsolete uses such as peek and poke as they were deprecated about the time that C++ was released.
Based on my old C experience you really need to crack pointers and addresses as they underpin arrays, strings etc, but probably as important is the need to correctly instantiate and range check anything you use otherwise you finish up with pointers that point at thin air and null addresses.
Once you crack that then comes the real pain of making sure that you have already set aside memory for these objects (malloc etc.), and of course freeing it (garbage collection). This is the area where you can generate really unsafe programs e.g. memory overflow, use after free, corrupted double pointers, etc.
Just when you think you have cracked it all comes the problem of error trapping i/o. This becomes a very hard slog and only a very few programmers manage to write large completely ‘safe’ programs or routines. Bad programs can result in users blaming the OS for any security lapses (think of the ordure that Flash caused for years) and this is really why M$ pushed C# (though to be fair there are competitive ‘safe’ programming languages that are also a step or two away from the machine code that compiled C++ produces. e.g. Ruby, Python etc).
Glad to hear that you are OK, even if your original PC did not survive the change in environment. From a personal standpoint the boredom of lockdown with exercise being the only thing to pass the time has resulted in my being fitter than I have been in the last ten years. The only thing I have really disliked about lockdown restrictions is the fact that the incompetent ENGLISH Government does NOT follow the science in ignoring children under twelve from group gatherings. As a result we have been unable to see the grandchildren for a long time. :negative:
You can also have pointers to functions and double pointers (pointers to pointers) in your structure and these can when unwound point to other structures which in theory could even have double pointers pointing back at the calling structure. You can tangle your brains completely if you do this!
C/C++ enables you to do all sorts of crazy things which is why M$ pushes managed code.
-
AuthorPosts
