text:
Episode-by-episode
REVIEW: Agatha Christie - The Pocket Essential by Mark Campbell (2015)
2015 is the year of Agatha Christie's 125th birthday. The Christie estate is gearing up for two new TV adaptations on BBC1: Partners in Crime this July (miniseries starring Tommy and Tuppence, aka David Walliams and Jessica Raine), and And Then There Were None (TV film with an "all star cast"). We could also add the upcoming adaptation of Murder on the Orient Express (apparently without David Suchet!), possibly to be directed by Kenneth Branagh, and the release of Sophie Hannah's The Monogram Murders last year, to that list.
To coincide with the anniversary, Oldcastle Books are rereleasing a new and updated edition of Mark Campbell's Agatha Christie, a 'Pocket Essential' book which examines Christie's entire body of work, as well as every English language adaptation on television, radio, stage and film (not including the not-yet-released BBC1 adaptations and the new MOTOE). Mark Campbell has written for The Independent, Midweek, Crime Time and The Dark Side. He was also one of the main contributors to the two-volume British Crime Writing: An Encyclopedia, and the last theatre critic for The Kentish Times.
Campbell's book is a comprehensive and fascinating guide to Christie. For some die-hard Christie fans, most of the information should be well-known. We get thorough introductions to each Christie character, including Hercule Poirot, Miss Marple, Tommy and Tuppence, Parker Pyne, Harley Quin. We also get a complete checklist of Christie's work, and each character chapter offers a guide to the individual stories, with a case overview, context, and a review by Campbell. But even for die-hard fans, there should be something to get their teeth into. I enjoyed the character descriptions, as they are possibly the most concise and accurate descriptions I've seen, apart from Anne Hart's excellent character studies of Poirot and Miss Marple in the early 1990s. And it's always intriguing to read other reviews of the stories you know, to see whether you agree with them or not. Also, I was pleasantly surprised to discover that Campbell includes Christie's Mary Westmacott novels as well as her poetry, children's stories and memoirs. I shouldn't be surprised, since this claims to be a complete guide, but more often than not, books on Christie tend to focus on her crime writing career exclusively.
Since this blog focuses mainly on the Christie adaptations, particularly ITV's Agatha Christie's Poirot, I'm happy to say that Campbell is just as thorough when, later in the book, he turns his attention to every single adaptation of a Christie story. We get the same, handy guide to the individual adaptations, with cast, crew, premiere dates and Campbell's observations. The guide seems to be up to date as of 2015, including the final series of Poirot, Sophie Hannah's novel, and a new stage adaptation of The Secret Adversary. However, as a Poirot fan, I must admit I was somewhat disappointed Campbell didn't offer his thoughts on every single Poirot episode. Instead, we get an overall review. Still, with 70 different adaptations, that would almost amount to a separate 'Pocket Essential' in itself!
All in all, then, Mark Campbell's Agatha Christie is an impressively complete guide to Agatha Christie's work; an essential Christie encyclopedia. The book is a perfect birthday or Christmas present for anyone who has an above average interest in all things Christie. Or those who don't know her range - from crime to thriller, adventure, poetry, romance and children's stories. I'll certainly have my copy available whenever an 'uninitiated' Christie fan stops by!
Posted by Eirik at 10:42 No comments:
The Screenwriters: Nick Dear
"I was first approached to do it in 2002 I think. (...) I couldn't say Agatha Christie was very high on my reading list. I thought I was much too much of an intellectual for that. I'm now prepared to accept that I might have been too much of a snob because after a dozen years of being associated with the shows, because I have written six of them now for ITV, I think it's very classy entertainment and I'm pleased to be associated with it." (Huffington Post interview, 2013)
Nick Dear (1955-) wrote six adaptations for Poirot between 2003 and 2013. Outside of Poirot, he is known as a BAFTA-winning script writer (for Persuasion, an adaptation of Jane Austen's novel, in 1995). He has also written biographical TV movies on Byron and Beethoven. In 2011, he adapted Mary Shelley's Frankenstein for the stage, directed by Danny Boyle and starring Benedict Cumberbatch and Johnny Lee Miller (the two Sherlocks!). In other words, he was no stranger to literary adaptations when he was asked to adapt Christie's novels.
"Nobody ever grieves for a minute in Christie; 10 seconds of grief, then it's onto the next murder. What we've done with them in the last 10 years is make them rather darker, existentially bleaker, and have Poirot faced sometimes with very difficult moral choices" (Huffington Post interview, 2013)
Dear's first episode was The Hollow, for Series Nine (2003-2004). I know opinion is divided on whether this is a successful adaptation, but I'm rather fond of it. The novel is complex, in the sense that there's a lot of internal monologue. Dear elegantly balances the melancholy with the humour, the seriousness with the eccentricity of our central character. As the quote above shows, Dear's adaptation and that entire 2003-2004 series was the beginning of a new development in the series. I'm one of the supporters of this move. The difficult moral choices would resurface in his last adaptation, not to mention in Murder on the Orient Express and Curtain, adapted by Stewart Harcourt and Kevin Elyot respectively.
"In most of the stories, the proposal is of a world that we recognise in which people behave appropriately and politely, and then very quickly discover that beneath that surface there's all kinds of mayhem." (Huffington Post interview, 2013)
The above quotation could describe several, if not all, Dear's episodes. It also helps to explain his changes to Cards on the Table, which was his next adaptation, for Series Ten (2005-2006). The adaptation certainly centres on mayhem beneath the surface. I think most fans consider this adaptation a deviation too far from the source material. The episode is faithful and almost perfect up until the last half hour. I'm all for updating stories for a modern audience if it's done in a clever and almost unnoticable way, but the added gay subtext just doesn't work here, even if it provides a somewhat understandable motive for murder. Look to Five Little Pigs for an example of when a gay subtext really works.
However, I enjoy the rest of the episode so much that I'm inclined to excuse this peculiar plot change. He writes brilliantly for Suchet and Zoë Wanamaker as Poirot and crime writer Ariadne Oliver (which is probably why four of his six adaptations are Ariadne/Poirot novels).
"There's been a stipulation from ITV, who always produces it, they're always set in the 1930s. So no matter when they are written, we have to set them in the late 30s, just for that style thing that people like so much." (Huffington Post interview, 2013)
Dear's third adaptation was Mrs McGinty's Dead for Series Eleven (2008). As mentioned, Dear really makes the friendship between Poirot and Mrs Oliver work. Of course, a great deal of praise should go to the actors, but Dear manages to condense the novels and make changes without losing out on the excellent chemistry between both the characters and the actors. Once again, the theme of secrets beneath the surface is prominent, and Dear effortlessly shifts the setting from the 1950s to the 1930s (see the quote above).
Three Act Tragedy was Dear's next adaptation, for Series Twelve (2010). Like all (but one) Dear's scripts, it stays remarkably close to its source material. Dear manages to convey the theatricality of the plot as well as the darkening of Poirot's character (as a result of the added friendship with Sir Charles). The more I think of it, Dear is truly the main representative of the change in atmosphere and character study that occurred in the later years of the series.
"To a degree we are looking to 'modernise' the glamour of the story if you like. Not to update it. (...) I say modernise, I don't mean update the story, I mean update the grammar, and sometimes the pace. (...) It's trying not to make them look dated. They are all set in the 1930s, but we try and keep them at the speed that we like to watch TV now." (Huffington Post interview, 2013)
Elephants Can Remember, Dear's seventh adaptation, for Series Thirteen (2013) must have been a real challenge. It was the last Poirot novel Christie wrote, and that shows. I think the adaptation is reasonably successful. The novel is very slow-paced and rather chatty. That wouldn't do for a modern audience, as the above quote shows. It seems Dear's solution was to add the second murder investigation into the Willoughby institute, and that works surprisingly well. Most of the episode is carried by the excellent chemistry between Poirot and Ariadne, however. But the episode is surprisingly faithful, considering the circumstances.
Dead Man's Folly, for Series Thirteen, was Dear's final adaptation. It's his own favourite, as stated in a recent interview, and I'm inclined to agree with him. It flows well, it has some excellent actors and an unbeatable location. Not to mention the fact that it underlines Poirot's evolving morals, seemingly 'allowing' and approving of a murder-suicide - and that's a long way away from the 'I do not approve of murder'-Poirot from the first series.
His last adaptation is perhaps also an example of how Dear, for the most part, was gently modernising Christie's stories without making it seem to obvious (as always, Cards on the Table is the notable exception). The Hollow is 'sexed-up' with a very modern sex scene, but that doesn't intrude on the story and occurs is the result of an embellishment rather than a change to Christie's original. Mrs McGinty's Dead plays up the 'mainiac/weirdo killer' element of the murderer's character, but that's arguably a reasonable interpretation of the character. The same goes for Three Act Tragedy, and to a certain extent Elephants Can Remember. We are used to serial killers, psychopaths and maniacs in our modern crime dramas, so it's no surprise that Dear and the team decide to emphasise those elements in Christie to keep up with its audience - for better or for worse. Dead Man's Folly, finally, emphasises the difficult moral dilemmas in the subtext of some of Christie's later novels, and the later adaptations, but without stretching the source material too far.
Posted by Eirik at 12:07 6 comments:
The Screenwriters: Guy Andrews
"The book, by Agatha's own admission, was not one of her favourites, and we've taken some monstrous liabilities with it." (Behind the scenes: The Mystery of the Blue Train, 2006)
Guy Andrews wrote four scripts for Poirot: The Mystery of the Blue Train and Taken at the Flood for Series Ten (2005-2006), Appointment with Death for Series Eleven (2008), and The Labours of Hercules for Series Thirteen (2013). He is known for the mini-series Lost in Austen, Blandings and Prime Suspect 5: Errors of Judgement. The first two demonstrates that he is entrusted with adapting other literary classics (Jane Austen and P. G. Woodehouse), and in Lost in Austen I'd say he succeeds, at least within its genre of television. Prime Suspect, the award-winning and exceptional series starring Helen Mirren, proves that he masters the crime genre, and his episode is well done (Prime Suspect 5 won and Emmy for Outstanding Miniseries).
I have a very conflicted view of Guy Andrews' screenwriting abilities on Poirot, as my episode-by-episode reviews can testify to. The quotation above sums up his approach to the source material - 'monstrous liabilities'. Appointment with Death is easily my least favourite Poirot episode (or at least it would have been if it hadn't been saved by an excellent soundtrack, location and production design). Taken at the Flood is passable, but the whole point of the title and the murder is lost in transition from page to screen. The Mystery of the Blue Train is, again, simply saved by great actors and a beautiful location. Only The Labours of Hercules manages to succeed, and I think that's simply because 'monstrous liabilities' was the only thing we could expect. I'm merely impressed by the fact that he actually managed to create something that almost makes sense and tie up some loose ends in Poirot's life.
However, I say I'm conflicted, and that's because I realise that he's been given some of the most challenging adaptation tasks. Appointment with Death is the only exception, really, and I offer no apologies for that particular adaptation. Yes, it's filled with internal monologues and overheard conversations, but look at what Nick Dear managed to do with The Hollow, an intensely internal novel, or Kevin Elyot, with Five Little Pigs.
Now, back to the adaptation challenge and why Andrews should be allowed at least a little leeway. The Mystery of the Blue Train is not one of Christie's best novels, and the team had already adapted the short story on which the plot is based, 'The Plymouth Express'. So changes were, indeed, necessary. Without any knowledge of Christie's novel, the adaptation works, for the most part, for a 'modern' audience. And I'm glad he took the opportunity to emphasise Poirot's increasing loneliness by the end of the episode (though I feel certain that's Suchet's doing). Taken at the Flood suffers from ITV's insistence on keeping the adaptations in the 1930s, which meant the war background was lost in Andrews' script. So the fact that it doesn't completely work isn't entirely Andrews' fault. And once again, he manages to develop Poirot's character by emphasising the hints of Catholicism in the source material (but I think we can thank (?) Suchet for that, too).
The Labours of Hercules was the surprise of the bunch for me. Remember, this is a collection of twelve more or less unrelated short stories - an almost impossible task for any script writer and possibly the most difficult of all the Poirot adaptation (with the exception of The Big Four, perhaps). Yes, the Mexian stand-off in the denoument scene and the melodramatic final lines between Poirot and Marrascaud ('I shall not hide' etc) are over the top. And it's disappointing that so many of the short stories are left out. Not to mention the fact that it stretches credibility more than a little that all these people just happen to be in the same hotel (but, to be fair, so does the premise that Poirot just happens to stumble upon a series of cases, in the right order, that resemble the mythological Labours). However, as I've tried to demonstrate in my episode-by-episode review, the atmosphere and character study more than makes up for any plot niggles, in my view.
To summarise, Andrews is not my favourite of the Poirot script writers. He takes too many risks and the changes tend not to work - unfortunately. But his adaptation of The Labours of Hercules manages to redeem his reputation somewhat, and I think he should be given some leeway for being handed some of the more impossible novels.
The Screenwriters: Anthony Horowitz
(Photo: Andrew Crowley, The Telegraph)
Anthony Horowitz (1955-) wrote eleven adaptations for Agatha Christie's Poirot between 1991 and 2001. His body of work is too long to summarise here, but he is a miracle man. Where does he get his energy from? In addition to Poirot, he created and wrote nearly all the scripts for the exceptional Foyle's War (2002-2013) and wrote the first few scripts for Midsomer Murders (1997-). He also wrote and created three other successful crime dramas; Murder in Mind (2001-2003, with a significant role for David Suchet in the first episode "Teacher"), Collision (2009) and Injustice (2011). Outside of television, he is a renowned author of young adult novels, and has written for both the Arthur Conan Doyle / Sherlock Holmes (The House of Silk, Moriarty) and the Ian Fleming / James Bond (Trigger Mortis) estates. So he is by no means a stranger to the crime genre.
"Brian Eastman [the original Poirot producer] was thinking of doing a series of Maigret and they brought me in as a possible writer, and when that didn't happen, I ended up writing scripts for Poirot. Actually, I'm much more of an Agatha Christie than Georges Simenon fan. I first encountered her as a student in my gap year and read them while I was travelling around the world – I think I read about 30 of them in one long journey. Why be snooty about her? She is what she is, which is a wonderful constructor of puzzles." (The Guardian interview, 2013).
"With Hastings I used to have a competition with Brian (Eastman) to see have many times I could get the words 'Good Lord!' into the script. Hastings would always hear something; Poirot would make an announcement, and Hastings would say 'Good Lord!'. Two or three times in one script was good going, I used to think." (Super Sleuths, ITV, 2006)
Horowitz was first brought in to adapt four short stories for Series Three (1991). These included 'The Million Dollar Bond Robbery', 'The Double Clue', 'The Mystery of the Spanish Chest' and 'The Theft of the Royal Ruby' (which he co-wrote with Clive Exton). Horowitz proved that he understood the dynamic between the main characters, and, for the most part, the right balance between humour and seriousness. In general terms, the changes he makes to the short stories are sensible and often an improvement on the source material (I'm particularly fond of 'The Double Clue' as an adaptation). Interestingly, Horowitz decides to tie some of the stories in with real historical events, as seen in 'The Million Dollar Bond Robbery' (the virgin voyage of the Queen Mary) and 'The Theft of the Royal Ruby' (the actual Prince Farouk of Egypt). This ties in neatly with his work method on Foyle's War, where almost (?) every episode is based on real life events.
It was not until Series Five (1993) that Horowitz returned to write his final three short story adaptations; 'The Yellow Iris', 'Dead Man's Mirror' and 'Jewel Robbery at the Grand Metropolitan'. Personally, I'm not as fond of these episodes as I am of the ones I discussed above. 'Dead Man's Mirror' is a difficult short story to adapt, simply because of its length and structure, but Horowitz does a decent job and it does contribute to the gradual 'darkening' of the series. 'Jewel Robbery at the Grand Metropolitan' is certainly one of the funnier episodes of the series. I did a google search to research what casual viewers of Poirot thought of Horowitz's episodes, and most seemed to enjoy the fact that they had more humour in them than other adaptations. I would certainly agree that the humour works, but it can come dangerously close to making Poirot a 'buffoon', as Suchet describes it.
'The Yellow Iris' is special, in the sense that it distances itself significantly from the source material. Horowitz enjoyed the process:
"In an episode of mine, Yellow Irises (sic), which takes place entirely inside a West End restaurant, with a waiter trying to poison somebody at the table, we then managed to turn that into a story about a South American coup connected with some kind of scam with oil prices. In other words, the body of the story had absolutely nothing to do with this actual short story that Agatha Christie had written! Actually, it was an episode that I like very much; it has David Suchet as Poirot facing a firing squad at one particular moment, so that was sort of nice to write." (Super Sleuths, ITV, 2006)
I actually like that episode, despite the plot changes. The oil scam is reminiscent of some of Horowitz's Foyle's War episodes, in that it takes inspiration from historical events. His changes are based mostly on other events in the Poirot canon (like Poirot going to South America to visit Hastings). But I can understand how some fans might find the changes difficult to accept. Suchet felt the need to explain in his autobiography:
'Thinking about The Yellow Iris now, it reminds me that her greatest fans sometimes object when we depart from her original story in the television films - and they write to tell me so. I always reply by telling them that I am terribly sorry, but not all of her stories adapt easily to the small screen, they are simply too slight, which is why we describe them as 'based on' her originals. I think her die-hard fans forgive us for the adaptations, but I do understand how they feel.' (Poirot and Me 2013, p. 140).
Actually, I think that's one of Horowitz's great strengths. Several of the short stories he adapted are slight and need embellishment to fit the 50 minutes time frame of an episode. Others are lengthy and need to be condensed. Horowitz usually manages both while remaining, in essence, true to Christie's plot devices and way of constructing a crime.
For Series Six (1995-1996), Horowitz was brought back to adapt two novels, Hickory Dickory Dock and Murder on the Links. With the former, he once again decided to tie the story in with a real historical event, the Jarrow March in October 1936. Now, having tried to create a working chronology of the episodes, I must admit I still can't quite forgive the discrepancy with other adaptations (and within the adaptation itself!). But Horowitz is know for that, too. He messed up some of the back story details in his own Foyle's War as well. But don't get me wrong, that has absolutely no impact on the adaptation per se, it's just one of those quibbles nerds/fans like me tend to highlight... (Sorry, Anthony).
Having said that, I do think he does an acceptable job with Hickory Dickory Dock (the mouse motif of the episode is really annoying, but that isn't his fault). The novel is a challenge, because it's one of the first post-war novels to be adapted to the 1930s setting and transporting a student hostel with its diverse residents to the 30s is essentially an impossible task.
Murder on the Links is, by and large, a great episode. Yes, I know some fans dislike the newsreel sequence, but apart from that I really do believe in the love story of Bella and Hastings, and Horowitz makes only minor changes to the novel.
Horowitz's final Poirot scripts were Lord Edgware Dies for Series Seven (2000) and Evil Under the Sun for Series Eight (2001). I'm not entirely sure why, but I'm not particularly fond of any of the episodes from those two series. Perhaps it is because the team seemed to be running out of steam and the adaptations started becoming more formulaic. However, both scripts offer very capable adaptations of Christie's novels, and it's obvious that Horowitz knows Christie inside out. Curiously, he decides to add an Argentinean restaurant in Evil Under the Sun. In fact, Argentina seems to run as a subplot through several of his adaptations. Hastings mentions his dream of a farm in South America in 'The Double Clue', Poirot goes to South America in 'The Yellow Iris', Hastings returns from Argentina with the farm in financial difficulties in Lord Edgware Dies and he opens the restaurant in Evil under the Sun. I'm not entirely sure that was deliberate, apart from the fact that Hastings had to come back from his life with Bella for the remaining adaptations. But it's a curious fact, nonetheless.
"I think it's fair to say that Agatha Christie had a serious influence on my work and I look up to her to this day." (The Mysterious Affair at Styles, introduction by Anthony Horowitz, p. xi)
"The detective-sidekick relationship is a very helpful one and has been in use ever since Conan Doyle created it. Think Morse and Lewis, Barnaby and Troy or even Foyle and Sam." (The Mysterious Affair at Styles, introduction by Anthony Horowitz, p. xiv)
Personally, I see several links between Poirot and Foyle's War. For instance, I'm not surprised to see Horowitz admit that the relationship between Foyle and Sam mirrors that of Poirot and Hastings. In fact, I would suggest Horowitz's family unit (Foyle, Sam, Milner) mirrors Exton's family unit in Poirot (Poirot, Hastings, Japp/Lemon). Another similarity between the two series is the humour and warmth that Horowitz brings to his adaptations. He deserves as much credit as Exton for creating the family dynamic and the familiarity and warmth of the central characters in Poirot. (I must point out, though, that the final scene in Hickory Dickory Dock, between Japp and Poirot, really doesn't work. I'm not sure if it's supposed to be a play on words (i.e. their modern meaning) or simply a way to display Poirot's distaste for English cooking, but I do cringe a little every time a watch that particular scene.
In summation, it's fair to say that Anthony Horowitz left a distinct mark on the Poirot series. He contributed to producer Brian Eastman's main purpose for the show; to give it a definite time and place (linking it to historical events) and create a 'family' and a main character dynamic for viewers to grow fond of (using humour and catchphrases - Good Lord!). With Foyle's War and his many other successful projects in later years, he has proved that he is a crime writer in his own right, beyond scriptwriting for Poirot.
Eirik
I'm a passionate fan of Poirot, Agatha Christie and the ITV series. If you have any questions, comments, suggestions or requests, please e-mail me at poirotchronology@gmail.com, post a comment on one of my blogs, or get in touch on Twitter @pchronology. (I used to call myself HickoryDickory)
This blog is a spin-off from poirotchronology.blogspot.com and will deal with all aspects of the television series Agatha Christie's Poirot.
Follow me on Twitter: @pchronology
E-mail me at poirotchronology@gmail.com
You might want to use the 'By Topic' section below; a quick and easy way to find posts of interest.
characterisation (8)
characterisation (episode) (67)
Christian Henson (1)
Christie (10)
Christopher Gunning (2)
Clive Exton (1)
David Suchet (16)
David Yelland (1)
digital restoration (1)
directing (episode) (70)
episode-by-episode (71)
final series (22)
Florin Court fire (1)
Hugh Fraser (4)
Ian Hallard (1)
Kevin Elyot (1)
Kika Markham (1)
locations (episode) (70)
Pat Gavin (1)
Pauline Moran (5)
Philip Jackson (4)
production design (6)
production design (episode) (55)
Richard Hope (1)
script writing (4)
script writing (episode) (70)
soundtrack (episode) (65)
special post (1)
Stephen McKeon (1)
The Complete Poirot (1)
Zoë Wanamaker (3)
REVIEW: Agatha Christie - The Pocket Essential by ...


Facebook owned messaging platform, WhatsApp Messenger, has launched new camera features that allow users to add images, emoji and text to their photos. It is worth noting that these new features that WhatsApp is adapting have been available on rival social media platform Snapchat. It is these new features that have made Snapchat wildly popular. It is interesting to see other platforms adapting them. It is rumoured that Messenger is also testing the features on its platform.
Go ahead and capture a new photo or video.
Alternatively, choose a photo or video you would like to share from your local or external storage.
Once you carry out any of the steps above, you will automatically see new editing tools appear at the top right corner.
Use these tools to customize your photos. That is all it takes.
WhatsApp has also introduced a bunch of other updates related to the camera interface. A front-facing flash has been added to the WhatsApp camera. This will allow users to take photos in low light or at night. With the front facing flash the screen simply lights up to act as a flash. Zooming features for recording video have also been introduced. You will now be able to switch between the back and front cameras when recording videos through the app. To do this you will only need to quickly double tap the screen in the camera interface window.
These new features started rolling out yesterday, 4th October, 2016 first to Android users. If you are an Android user you need the latest version of WhatsApp (v 2.16.293) to access these new features. WhatsApp is expected to roll the features to iPhone users soon.


text:
Chris SchlakJanuary 28, 2022
New Poll Has Stacey Abrams Losing to Both Brian Kemp and David Perdue in Georgia Governor Election
A new poll released yesterday shows Georgia voters would pick both Brian Kemp, the current governor, and David Perdue over Stacey Abrams if the 2022 gubernatorial election was held today.
According to a survey conducted by the University of Georgia's School of Public and International Affairs between January 13 and 24, published on The Atlanta Journal-Constitution, 48% of respondents said they would vote for Kemp, 41% said they would vote for Abrams, and 8% were undecided.
Stacey Abrams is the only Democratic candidate running for governor in 2022, as of now. Abrams, the once Georgia House Democratic leader, narrowly lost to Kemp in the 2018 gubernatorial race by 1.4 percentage points.
Abrams refused to officially concede after the race in 2018. Since then, she founded Fair Fight Action to address supposed voter suppression and is now making voting rights the central issue of her campaign.
The poll also found that 47% would vote for Perdue and 43% would vote for Abrams.
Perdue narrowly lost the Georgia senate runoff election in 2020 to John Ossoff by 1.2 percentage points. He is the only Trump-endorsed candidate in the 2022 GOP gubernatorial primary.
Another high-profile Republican candidate running for governor in 2022 is former Georgia state Representative Vernon Jones. Vernon Jones was a former Georgia Democrat who became a Republican after endorsing Donald Trump in the 2020 presidential race and speaking at the 2020 RNC.
The poll may look like good news for Republicans in Georgia; however, the poll is only of 872 registered voters and has a margin of error of 3.3 percentage points.
Follow on Twitter @ChrisSchlak
Protests Against Communist Tyranny Erupt Across China After CCP Atrocity Goes Viral
Bishop REMOVES Catholic Status From Woke Liberal School
Bryan RichardsonJune 19, 2022
WATCH: Kamala Gives Horrid Address To Space Force, Talks to Them Like They Are Children
Democrat Wants to Criminalize 'Hate Speech,' 'Replacement Theory,' By Curtailing Your 1st Amendment Right In Sweeping New Bill
Family Members of Slain Afghanistan Marine Hero Slap Leftist Alec Baldwin with Major Lawsuit
Sterling MosleySeptember 2, 2022

redpajama_set_name: RedPajamaCommonCrawl


To hear silence in the noise, to find calm among all worries. Having got inspired by new impressions, you perceive your body in a new way and give it a new lease of life.
SPA-Day "Anti-age SPA" was developed for quick wellness renewal of youth, toning, strengthening and re-energizing of organism. As a result – the skin becomes soft and silky. Nourishing ingredients add strength, and aromatherapy provides calming effect.
Dedicate a day to the fight against toxins in internal and external mediums of the organism. Get detoxifying and rejuvenating effect. This program helps to achieve weight loss, decreases swelling and lymphostasis, removes toxins from the body and aids to metabolism activation.
SPA-Day "Relaxation" combines ancient oriental rituals for health and beauty. Dip yourself into the world of aromatic spices, natural yogurt and fruits, wonderful dance of silk. The procedure provides relax and restores the organism balance.
During the procedure, you are on a warm floating bed, feel the lightness and weightlessness of the body, and it calms and relaxes the heat.
The program helps to relieve tension and stress, improve your well-being, uplift, and lose extra pounds. Peat is rich in bioactive elements.
An exotic ritual has been known since the time when the jazz and Bali Islands performed the traditional wedding ceremony for the brides before the wedding.
The program is carried out with the help of a special moisturizing cream mousse. The product is saturated with natural moisturizing, soothing and protective properties.
With this massage, our ancestors harmonized the nervous system and relaxed the body. The method combines the traditions of the East and the West, cares about the beauty and health of the body.
Ancient Cilithic art combines the meditative calm and energetic properties of volcanic stones. As a result - a wonderful mood and an instantaneous increase in vital tone.
The ancient Oriental ritual is used on the islands of Java and Bali to this day. The dance-massage transmits to the body the active properties of aromatic spices and fruits.
The training program will improve your athletic skills and adjust the shape. The group program includes aqua aerobics, pilates items, yoga and even dance. Classes are held in fitness halls, outdoor playgrounds and in water.


text:
Q: Wordpress how to apply specific CSS property based on user role on every page I am using the theme "Neve".
I have added a custom function to my child's theme > functions.php
Based on the user role, if the user is X role the topbar which appears above the head/nav menu will change colour.
Can someone advise where I may have gone wrong / as to why this is not changing colour when expected to do so?
Kind Regards,
function topbar_switcher () {

    $current_user = wp_get_current_user();

    switch (true)  {
    case ( user_can( $current_user, "subscriber") ):
        ?>
            <style>
                .header-top {
                background-color:black;
                }
            </style>
        <?php
    break;
 case ( user_can( $current_user, "customer") ):
        ?>
            <style>
                .header-top {
                    background-color:#00337f;
                }
            </style>
        <?php
    break;
 case ( user_can( $current_user, "administrator") ):
    ?>
            <style>
                .header-top {
                    background-color:yellow;
                }
            </style>
        <?php
 break;

    }
}

Top bar is the red strip where you see the phone icon:

A:
"I need this to apply to all pages without having to use shortcode"

You could use the wp_head action hook to run the following code for every single page without using a shortcode.
add_action('wp_head', 'changing_color_of_top_navbar');

function changing_color_of_top_navbar()
{

    $current_user = wp_get_current_user();

    $user_roles = $current_user->roles;

    if (in_array("subscriber", $user_roles)) {
        ?>
        <style>
            .header-top {
                background-color: black;
            }
        </style>
    <?php
    } elseif (in_array("customer", $user_roles)) {
    ?>
        <style>
            .header-top {
                background-color: #00337f;
            }
        </style>
    <?php
    } elseif (in_array("administrator", $user_roles)) {
    ?>
        <style>
            .header-top {
                background-color: yellow;
            }
        </style>
    <?php
    }
}

Code goes into the functions.php file of your active theme or child theme.

redpajama_set_name: RedPajamaStackExchange


Ideal for use in driveways & parking spaces, parking posts prevent your vehicle from being moved, deterring thieves & keeping it secure. Available in telescopic, folding & removable models, you're sure to find the right one with us. Order yours today.


text:
When Will We Find Another Earth?
Fraser Cain - Universe Today
fraser cain
We hear about discoveries of exoplanets every day. So how long will it take us to find another planet like Earth?
Back in the olden days, astronomers could only guess if there were planets orbiting other stars.
These were the days when we had to wait at the bank to pay our bills, nobody carried computers in their pockets and those computers gave direct connections to everyone else's pockets because pocket connectivity is highly important, school was uphill both ways, the number 6 was brand new, we recorded images on thin sheets of transparent plastic, 5 bees were worth a quarter and I had an onion tied to my belt, as was the style at the time.
With the discovery of a mega Jupiter-sized world orbiting the star 51 Pegasi in 1995, the floodgates opened up. In the years that followed, dozens more planets were discovered. Then hundreds, and now, we know about thousands orbiting other stars.
The bad news is we can't get to any of them. The good news is most of these worlds suck. You don't want any part of them. For starters their wifi is terrible.
Consider Kepler-70b. This world orbits its star 4 times in a 24 hour period. This means it's super close, and a great place to really quickly win all the human torch cosplay competitions. The surface temperature is a completely unreasonable 7200 Kelvin, hotter than the surface temperature of the Sun.
There's the planets orbiting pulsar PSR B1257+12, a millisecond pulsar in the constellation of Virgo. As they whip around their exotic host, they're bathed in intense radiation. Which is generally considered bad for creatures who need functioning organs.
Perhaps HD 106906 b, orbiting its star 650 times more distantly than we orbit the Sun. You'd spend every second of your short life on that planet inventing new words for cold. And then you'd die. Cold.
Imagine a world that orbits a star like our Sun. A world made of about an Earth's worth of rocky material that you could stand on, at just the right distance from its star that water can exist as a liquid.
This is what astronomers search for, the tri-wizard cup of extrasolar planetary research. Earth 2? Terra Nova? The Gaia part le deux.
Here's the exciting part. Astronomers have found each of these characteristics in a planet, but never all together. They've found plenty of stars similar to our Sun, with planets orbiting them. In fact, the star HD 10180 is incredibly similar to the Sun, and astronomers have discovered 9 planets orbiting it so far. Which does have a familiar ring to it. No word so far on which ones are about to be demoted to dwarf planets.
They've found planets roughly the same mass as the Earth. Kepler-89, with 98% the mass of the Earth. So close! Sadly, it's way too close to its parent hydrogen furnace to be habitable.
They've found planets in the habitable zone. Here on Earth, the global average temperature is -18 degrees C. Sounds cold, but the wintery nights in Antarctica absolutely wreck our GPA.
The closest analog discovered is Kepler-22b, with a global average temperature of -11C. So, it should feel downright balmy. Except, it's about 2.4 times bigger than Earth and orbits a nasty red dwarf star.
Astronomers have even matched up two criteria at the same time. Earth-sized world orbiting around a Sun-like star, but it's hellishly hot. Wrong flavor star but with the right temperature and size, it's a veritable tic tac toe board of near wins.
So far, there hasn't been a single extrasolar planet discovered that meets all three criteria. An Earth-sized world, orbiting a Sun-like star inside the habitable zone where liquid water could be present.
Astronomers were hoping that NASA's Kepler spacecraft would have been the first to discover Earth 2.0. It had already turned up thousands of planets, including many of the ones I've already mentioned.
Sadly, just a few years into the mission, it lost too many reaction wheels, which allow the spacecraft to change direction. It wasn't able to make enough observations to help confirm a true Earth 2.0. Kepler is still searching for planets, but with a reduced ability to point, it's only looking at red dwarf stars.
Don't worry, NASA's Transiting Exoplanet Survey Satellite will launch in 2017, and will survey a region of the sky 400 times larger than Kepler did. It should turn up thousands of planets, Earth-sized and larger.
Once we actually find New Terra, things get really interesting. Astronomers will search those planets for life. I know it sounds almost impossible to see life from this distance, but astronomers know that if they can analyze the atmosphere of these worlds, they can detect life flourishing there.
They might even be able to detect the pollution from their alien cars and heavy industry, contributing to their CO2 levels, and learn we're not so different after all. Even if they're icky bug people.
At the time I'm recording this video, no analog Earth planet has been discovered so far. But it's just a matter of time. In the next few decades astronomers are going to find that first Earth 2.0, and then dozens, then hundreds, and even figure out which ones have life on them.
It's a great time to be alive. Place your bets. Predict the date astronomers announce that we'll find Earth 2.0. Put your guess into the comments below.
Images: Artist's impression of the planets orbiting PSR B1257+12. Credit: NASA/JPL-Caltech/R. Hurt (SSC); Sizes and temperatures of Kepler discoveries compared to Earth and Jupiter; Artist's conception of the Kepler Space Telescope. Credit: NASA/JPL-Caltech.
This post by Fraser Cain originally appeared at Universe Today. Video via Fraser Cain's Creation.
Popular from io9
In a Heartfelt Interview, Robert Downey, Jr. Discusses His Post-Marvel Future


text:
Q: cancancan not authorizing controller actions I have a namespaced post controller with a discard function. I have set the ability class such that discard can only be done by owner of post if the post saved attribute is false.
class User::PostsController < User::BaseController
  authorize_resource :class => 'Post'

  .
  .
  .
  def discard

    @post.destroy
    respond_to do |format|
      format.html { redirect_to user_posts_url, notice: 'Post was successfully discarded.' }
      format.json { head :no_content }
    end

  end
end

class UserAbility
  include CanCan::Ability

  def initialize(user)
    can [:discard], User::Post, :user => user
    cannot [:discard], User::Post, :saved => true
  end
end

But the post can be discarded even when the saved attribute is true. But inside the views,
if can? :discard, @post
  <some action>
end

is working as expected. I think it is happening because cancan is authorizing only the model and not the controller actions. Is there any way to make it authorize controller actions?
PS: I use mongoid.


Police in Walsgrave Road, Coventry, following reports of a knifepoint robbery in the city.
Two teenagers have been charged in connection with an alleged knifepoint robbery in Coventry.
Police say a man in his 20s was approached by a group who stole his phone and wallet in Far Gosford Street on the evening of Wednesday, March 27.
Having been called to the incident at around 9pm, officers arrested two people nearby in Walsgrave Road, Stoke, and also recovered a sword, a knife and a hammer.
West Midlands Police has now charged Joe Delaney, 18, of Silverton Road, Foleshill, and a 17-year-old, who cannot be named for legal reasons, with robbery and possession of a blade.
Delaney has also been charged with possession of cannabis.
The two teenagers appeared at Coventry Magistrates' Court on Friday (March 29) where no pleas were entered and the case was sent up to the crown court for a hearing on April 25.
They were both remanded in custody until that date.


text:
Eteone flava är en ringmaskart som först beskrevs av Fabricius 1780.  Eteone flava ingår i släktet Eteone och familjen Phyllodocidae. Arten är reproducerande i Sverige. Inga underarter finns listade i Catalogue of Life.

Källor

Havsborstmaskar
flava

redpajama_set_name: RedPajamaWikipedia


To access the COPD template, click the lungs icon under the patients name.
You can also find the template under auto consultations > Ardens Consultations > COPD. From this template you can access the COPD Control + MRC Score, Spirometry, Diagnostic Criteria, Leaflets, Formularies and the Care Plan.


text:
<?php

class Post extends CI_Controller {

        public function index()
        {
                $this->load->model('The_model');

                $this->The_model->insert_entry();

                $this->load->helper('url');

                $this->load->view('formsuccess');
        }
}
?>

redpajama_set_name: RedPajamaGithub


text:
Q: Sequence of elements having a convergent subsequence -NBHM $2014$ Question is to find which of the following are true?

*

*Let $V$ be the space of continuous functions on $\mathbb{R}$ with compact support endowed with metric $$d(f,g)=\bigg(\int_{-\infty}^{\infty}|f(t)-g(t)|^2\bigg)^{\frac{1}{2}}$$Let $f:\mathbb{R}\rightarrow \mathbb{R}$ which vanish outside $[0,1]$. define $f_n(x)=f(x-n)$ for $x\in \mathbb{N}$. Then $(f_n)$ has a convergent sub sequence in $V$.

*Let $\varphi, \psi$ be continuous function on $[0,1]$. Let $(f_n)$ be a sequence in $\mathcal{C}[0,1]$ with its sup norm topology suchthat, for all $n\in \mathbb{N}$ the functions $f_n$ are continuously diffrerentiable and for all $x\in[0,1]$ and for all $n\in \mathbb{N}$ we have $|f_n(x)|\leq \varphi(x)$ and $|f_n'(x)|\leq \psi(x)$ Then there exists a sub sequence of $(f_n)$ which converges in $\mathcal{C}[0,1]$.

*Let $\{A_n\}$ be a sequence of orthogonal matrices in $M_n(\mathbb{R})$. then it has a convergent subsequence.

I am sure that $3$ is true as Orthogonal matrices are compact and every sequence in compact space has a convergent subsequence.
I see that $2$ is also correct by Arzela Ascoli Theorem.
I am not so sure about $1$ and actually i did not understand the idea behind that.
Please help me to see this question more clearly and help me to answer this.
Thank you.

A: For any supposed limit $g$ (continuous function with compact support), take $n_0$ large enough s.t. for $n\ge n_0$: ${\rm supp}\,f_n\cap{\rm supp}\,g=\emptyset$. Now, if $n_k\ge n_0$:
$$
d(f_{n_k},g)^2=\int_{-\infty}^{\infty}|f_{n_k}(t)-g(t)|^2dt=
\int_{-\infty}^{\infty}|f_{n_k}(t)|^2dt+\int_{-\infty}^{\infty}|g(t)|^2dt\ge
$$
$$
\ge\int_{-\infty}^{\infty}|f_{n_k}(t)|^2dt
=\int_{-\infty}^{\infty}|f(t)|^2dt,
$$
and this implies $f=0$. The property is only true in this trivial case.


text:
Best Practices: How Ayesha Curry Amped Up and Stayed Balanced During the Pandemic
On recipe testing with her sister, keeping her restaurant International Smoke afloat with takeout, and the importance of exercise during trying times.
hunter-lewis-headshot-fwcooks-0119.jpg
By Hunter Lewis November 20, 2020
Each product we feature has been independently selected and reviewed by our editorial team. If you make a purchase using the links included, we may earn commission.
Ayesha Curry
Credit: Eva Kolenko
Editor's note: The news can weigh heavily on all of us during these strange days, and especially on small business owners and employees whose jobs have been altered by the pandemic. Hey, we could all use a little inspiration and light, so we've launched Best Practices, a new column for F&W Pro, to share how leaders are facing unprecedented challenges head on during the pandemic while growing personally and professionally.
Back in 2017, about three months into my job at Food & Wine, we published a story featuring Ayesha and Stephen Curry's Thanksgiving feast. I love basketball because it's the ultimate team sport, and when a game is really flowing, it serves a good lesson about how individuals can each express themselves while working in harmony. Stephen Curry and the Golden State Warriors' free-wheeling, improvisational style of play articulates that sense of flow. And what most stuck with me from the story's outtakes was the Curry family's infectious, ever-present sense of play, sparked by Ayesha. Every photo showed the family dancing, playing music, or giggling with their children—not to mention the table filled with vibrantly-colored food.
Ayesha, a New York Times best-selling author, entrepreneur, and TV host, has used that same reservoir of positive energy to keep herself and her family healthy this year while launching several new projects, including the charity Eat.Learn.Play, which she and Stephen created to help kids realize their full potential. The organization focuses on education, providing safe spaces to play, and ending childhood hunger, and they collaborated with World Central Kitchen and a local community food bank to deliver more than 5 million breakfasts and lunches to students in Oakland Unified School District.
She and business partner Michael Mina have put expansion of their San Francisco-based global barbecue restaurant International Smoke on hold for now, focusing on takeout and delivery to keep the lights on, like so many other restaurants across the country right now. "From the hospitality side, it's such a bummer because I'm most passionate about taking care of people," she said.
Curry will soon open a new Sweet July store in Oakland where she'll sell items from her cookware line, like a Dutch oven that recently landed on Oprah's Favorite Things 2020 List, her new family-friendly cookbook The Full Plate, and a Sweet July lifestyle magazine, published by Food & Wine's parent company Meredith.
"Yes, we launched a new magazine in the beginning of the pandemic," she said. "People need a bright spot and something positive to lean on."
How many people do you employ within your core team?
Eight. We're spread out all over the place. I have the production side of things, my internal day-to-day team that has their hands on everything, and we're opening a Sweet July store in a couple weeks here in Oakland, and so I have that core team, too. And then, also, everyone that works on the magazine. There's a lot of WebEx, Zooms, Google Meets. But we're still managing to get things done. From a business perspective, it's been nice to see that we can be so resilient and quick on our feet.
RELATED: Best Practices: How Vivian Howard Is Launching New Businesses During the Pandemic
Is there any crossover with the way you talk to your team and the way that you talk to your kids about the pandemic in terms of keeping morale up?
At International Smoke we're family and operate like that day to day. I take the cues from Michael Mina who is keeping everybody amped. There are parts of this business where we've been so blessed with seeing growth. We're fortunate to be able to fulfill takeout and curbside and delivery. It's enough to keep things afloat. We've figured out innovative ways of takeout and delivery. The Michael Mina Group has housed all their restaurants under Mina Family Kitchen to offer each restaurant's top selling selections. It's a one-stop shop that can be delivered to your home in sustainable packaging. The biggest change that I've seen to our menu is comfort food right now. We have 10 different mac 'n' cheeses. Of course delivery of alcohol has been great for everybody.
From the hospitality side, it's such a bummer because I'm most passionate about taking care of people. We were open for a week and a half and then just shut back down in San Francisco when the city mandated it. We're all learning on the fly here and trying to keep up with what's going on. Where morale is low because of the uncertainty of the restaurant we encourage everybody that it's going to be okay.
What's your criteria for saying yes to a pitch about something with your name on it?
During the first five years I said yes to everything. I didn't want it to pass me by or be off-putting. I was overloaded. You have to be more strategic and meaningful with your choices. I've been saying no to 95% of things coming in. It comes down to this: First, will it take away from my family with three small kids—they always come first. Then, is it a true interest of mine? Three, does it spark joy and impact my life in a positive way and will it bring joy to other people? Four, when it comes to brand partnerships, it has to be something I use in my everyday life.
Tell me about your creative process.
My book process for The Full Plate was totally different than the first book The Seasoned Life, which was full of my second-nature recipes that I cooked all the time. The first book was always there in my head, and I was ideating all along, and then put it on paper to make it clear and concise. This new book is true and meaningful because I created this arsenal of recipes not only for everyone else but also to have ones that I could rely on, too. Breakfast and lunch in our house are always on the fly. I focused on dinner and worked alongside my sister on the recipe development. While creating, we were texting, working on flavor profiles. It was a fun process from a family standpoint, and it strengthened our relationship. We homed in on the recipes to make sure they're true to my life, and also fun and nostalgic.
What are some things that you've been doing differently because of the pandemic that will carry over into your life once we're out of this mess?
Fitness. I work better and parent better when I implement physical activity. Growing up it wasn't a part of my life. Now I have more mental clarity and get so much done in a day. I'm grateful for this time and the opportunity to realize that.
Also, our charity Eat.Learn.Play, which I launched in July with Stephen. It focuses on ending childhood hunger, education, and providing safe spaces to play. It scaled faster than we could have imagined. We have to be there for the Oakland community.
What are other non-negotiables, the things that you have to do to feel whole?
Coffee. And we have to have one family meal around the table, even if it's at the kitchen island. We have to be together, eating and talking. Communication is always so important, and even more so at this time. Mental health is a non-negotiable. It's a domino effect: If we as parents fall then everything else falls.
Is there any piece of technology right now that's making your life better?
Fitbit. It buzzes my arm if I haven't gotten enough steps in. I track my heart rate.
How about an album you've been listening to nonstop?
For two years strong now, the Hamilton soundtrack. It's on heavy rotation in the house.
If you have a mentor, what's a valuable lesson they've taught you?
My mom taught me to put myself first. It sounds so narcissistic and crazy but for a long time I wasn't putting myself first. She was a hairstylist for over 40 years and spent so much time working and never put herself first. She really made it a point that I take care of myself first. When I do, I find everything else in the house moves better.
According to an article in Sweet July, "How Black Women are Making it Work," there are 2.7 million Black-women owned businesses in the US. Whose company inspires you the most right now and why?
Our Sweet July store in Oakland is surrounded by a bunch of female-owned black businesses. I love the vibrancy they bring to the community. All the women on the block are holding one another accountable. We have a Zoom call tomorrow to come together to do some Christmas planning. I love that about it. One business—McMullen, a womenswear boutique, is celebrating their 13th anniversary today. Talk about longevity. That's Sherri McMullen.
Your Dutch oven made Oprah's list of Favorite Things this year. What's on your list?
Can I pick something from my line? The cast iron skillet. You only need one. It's a really solid cast iron skillet. I love mine because it's cute and cleans so easy.
I got the kids a 3-D printer this year to make their own toys. And a good ring light. You don't have to be a YouTuber to use these things.
Ayesha Curry makes Banana Fritters with Rum Sauce
Who do you look to for inspiration for how they modeled their career?
It's still Jessica Alba from a business standpoint. She came up with an innovative business model that nobody had done before. She was always so honest, very vulnerable, and smart. Chef Michael Mina is my mentor when it comes to food. He's a role model because he has the same excitement and lust for life for his first restaurant that he does with every new restaurant.


Since merging as a metropolitan police department in 2003, the Louisville Metro Police Department (LMPD) continually strives to be progressive in transparency initiatives and cooperative relationships with news organizations.
The Media and Public Relations Office serves as the liaison with news organizations to provide them with a 24-hour-a-day on-call response, providing timely and cooperative information regarding matters of public interest and concern. At least one member of the office responds, in-person, to significant crime scenes and events. The office coordinates media access and press conferences, reviews newsworthy items for release to the media and coordinates media requests for articles or programs involving the department. The unit also fulfills all open records requests, from media organizations, under the "Freedom of Information Act".
In addition to coordinating with the media, the unit strives to enhance the overall public relations of the department and has produced numerous advertising and promotional campaigns. The unit is also responsible for maintaining departmental social media sites in order to disseminate timely information directly to our citizens.
The unit consists of four personnel – two Public Information Officers and two civilian Public Information Specialists. The unit reports directly to the Special Advisor, who is a member of the Chief's Executive Staff.


text:
Q: Creating week wise dataframe from date wise columns data frame in pandas I have a data like this
                                          Average    Std         Rank
Index
('East', 'Mid', 'Equities', '2017/09/01')   7.1      2.3            5
('East', 'Mid', 'Equities', '2017/09/04')   6.4      4.2           14
('West', 'Mid', 'Equities', '2017/09/05')   6.3      4.3           16
('East', 'Mid', 'Equities', '2017/09/06')   4        1.8           18

I need to group it by week to make it look like this
Week-1                            Average  Std     Rank

East Mid Equities 2017/09/04       6.4      4.2     14
West Mid Equities 2017/09/05       6.3      4.3     16

Week-2
East Mid Equities 2017/09/12       8.1      1.7    25

and so on.
The columns average , std and rank are derived from some other dataframes. I just need to group the dates according to the week number (1-4) as it is a monthly data. So I need to add week-1, week-2 etc. as index here
Which functions can help me in generating such dataframe? Thanks in advance

A: Use resample by weekly frequency starting in Monday with aggregating:
df.index = pd.to_datetime(df.index)
df = df.resample('W-MON').agg({'Average':'mean', 'Std':'std'})
print (df)
            Average       Std
Date
2017-09-04     6.75  1.343503
2017-09-11     5.15  1.767767

EDIT:
print (df.index)
#MultiIndex(levels=[['East', 'West'], ['Mid'], ['Equities'],
#                   ['2017/09/01', '2017/09/04', '2017/09/05', '2017/09/06']],
#           labels=[[0, 0, 1, 0], [0, 0, 0, 0], [0, 0, 0, 0], [0, 1, 2, 3]])

#set MultiIndex level names for later groupby
df.index.names = ('a','b','c','date')
#create DatetimeIndex
df = df.reset_index(level=[0,1,2])
df.index = pd.to_datetime(df.index)

#aggreagte, rank has to be aggregate some method like mean, sum,
#because rank of ranks has no sense
d = {'Average':'mean', 'Std':'std', 'Rank': 'mean'}
df = df.groupby(['a','b','c']).resample('W-MON').agg(d)
print (df)
                              Average       Std  Rank
a    b   c        date
East Mid Equities 2017-09-04     6.75  1.343503    19
                  2017-09-11     4.00       NaN    18
West Mid Equities 2017-09-11     6.30       NaN    16


text:
/**
 * @author Batch Themes Ltd.
 */
(function() {
    'use strict';

    $(function() {
        $('.navbar-1 [data-click]').on('click', function(e) {
            var action = $(this).data('click');
            var id = $(this).data('id');

            if (action === 'toggle-search') {
                e.preventDefault();
                toggleSearch();
                return false;
            }
            if (action === 'toggle-fullscreen-mode') {
                e.preventDefault();
                toggleFullscreenMode();
                return false;
            }
            if (action === 'toggle-layout') {
                e.preventDefault();
                toggleLayout();
                return false;
            }
            if (action === 'toggle-right-sidebar') {
                e.preventDefault();
                toggleRightSidebar();
                return false;
            }
            if (action === 'toggle-theme-selector') {
                e.preventDefault();
                toggleThemeSelector();
                return false;
            }
            if (action === 'set-layout') {
                e.preventDefault();
                setLayout(id);
                return false;
            }
        });
        $('.theme-selector [data-click]').on('click', function(e) {
            var action = $(this).data('click');
            var id = $(this).data('id');

            if (action === 'set-palette') {
                e.preventDefault();
                setPalette(id);
                return false;
            }

        });
    });

})();


Cell phones are great devices. You can shop, browse webpages, and more. Recently, potential employees have begun looking on their mobile devices for jobs. This could be a real market you are missing out on! This article will talk about how these users currently use their cellphones, what they would like to see in the future, and more to help guide your web design, application process, and more. We will also look at the taboo subject of phones and interviews.
Over half of job seekers look at job postings on their phones. Then, around 68% of these same users look for jobs online using their cell phones more than once per week. Most of these users only use their phones to search for jobs, not to actually apply for them. They may also do research on the posting company, read company reviews, save listings for later, and more. This means that you website needs to be easy to access and read on mobile devices for potential employees. About 25% of potential employees will move-on if your company's webpage is not.
What Do These Users Expect?
While it is true that applying for a job on a mobile phone is difficult, people already see the changing tides for how people search for jobs. Within the next five years, around 84% believe people will start to rely more on mobile phones to search for jobs. Of these people, most think it will happen in the next 6 months to two year time period. This data shows that you should begin optimizing your webpage for these users right now. Delaying this process may only mean that you lose out on vary valuable potential future employees.
Before an interview, don't be surprised to be checked-out on social media by potential employees: over 64% already do this. In the time period before interviews, many people may be using their cell phones. Normally, they are using these devices to read job descriptions, look at the company website, or look up more reviews for the company. About 20% of interviewees think it is OK to check their phones while the interviewer is not around. Even more importantly, 10% say they actually make use of their phone during interviews in order to show off what they have done in the past and more.


text:
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace NMF.Expressions.Test
{
    [TestClass]
    public class MethodCallTests
    {
        [TestMethod]
        public void MethodCall_NoObservableTarget_NoUpdate()
        {
            var update = false;
            var dummy = new Dummy<int>() { Item = 23 };

            var test = new NotifyValue<string>(() => dummy.Item.ToString());

            test.ValueChanged += (o, e) => update = true;

            Assert.AreEqual("23", test.Value);
            Assert.IsFalse(update);

            dummy.Item = 42;

            Assert.IsFalse(update);
        }

        [TestMethod]
        public void MethodCall_ObservableTarget_Update()
        {
            var update = false;
            var dummy = new ObservableDummy<int>() { Item = 23 };

            var test = new NotifyValue<string>(() => dummy.Item.ToString());

            test.ValueChanged += (o, e) =>
            {
                update = true;
                Assert.AreEqual("23", e.OldValue);
                Assert.AreEqual("42", e.NewValue);
            };

            Assert.AreEqual("23", test.Value);
            Assert.IsFalse(update);

            dummy.Item = 42;

            Assert.IsTrue(update);
            Assert.AreEqual("42", test.Value);
        }

        [TestMethod]
        public void MethodCall_ObservableTarget_NoUpdateWhenDetached()
        {
            var update = false;
            var dummy = new ObservableDummy<int>() { Item = 23 };

            var test = new NotifyValue<string>(() => dummy.Item.ToString());

            test.ValueChanged += (o, e) => update = true;

            Assert.AreEqual("23", test.Value);
            Assert.IsFalse(update);

            test.Detach();

            dummy.Item = 42;

            Assert.IsFalse(update);

            test.Attach();

            Assert.IsTrue(update);
            Assert.AreEqual("42", test.Value);
            update = false;

            dummy.Item = 0;

            Assert.IsTrue(update);
        }

        [TestMethod]
        public void MethodCall_NoObservableArgument_NoUpdates()
        {
            var update = false;
            var dummy = new Dummy<string>() { Item = "23" };

            var test = new NotifyValue<int>(() => int.Parse(dummy.Item));

            test.ValueChanged += (o, e) => update = true;

            Assert.AreEqual(23, test.Value);
            Assert.IsFalse(update);

            dummy.Item = "42";

            Assert.IsFalse(update);
        }

        [TestMethod]
        public void MethodCall_ObservableArgument_Update()
        {
            var update = false;
            var dummy = new ObservableDummy<string>() { Item = "23" };

            var test = new NotifyValue<int>(() => int.Parse(dummy.Item));

            test.ValueChanged += (o, e) =>
            {
                update = true;
                Assert.AreEqual(23, e.OldValue);
                Assert.AreEqual(42, e.NewValue);
            };

            Assert.AreEqual(23, test.Value);
            Assert.IsFalse(update);

            dummy.Item = "42";

            Assert.IsTrue(update);
            Assert.AreEqual(42, test.Value);
        }

        [TestMethod]
        public void MethodCall_ObservableArgument_NoUpdatesWhenDetached()
        {
            var update = false;
            var dummy = new ObservableDummy<string>() { Item = "23" };

            var test = new NotifyValue<int>(() => int.Parse(dummy.Item));

            test.ValueChanged += (o, e) => update = true;

            Assert.AreEqual(23, test.Value);
            Assert.IsFalse(update);

            test.Detach();

            dummy.Item = "42";

            Assert.IsFalse(update);

            test.Attach();

            Assert.IsTrue(update);
            Assert.AreEqual(42, test.Value);
            update = false;

            dummy.Item = "0";

            Assert.IsTrue(update);
        }
    }
}


text:
CommunityJoin
Friso & Play
Pre-schooler
Pre-teen & Teen
Parenting & Play by Friso
IPad:The Cool New Device for Autistic Children
For some children with autism though, the iPod touch and it's bigger cousin the iPad are life-changing. One teacher working with severely autistic children calls the iPod a "magic wand". A mother with a non-verbal autistic daughter calls hers a "godsend". What makes these devices so great for autistic children?
Since the launch of the IPhone, Singaporeans have been clamoring to get hold of one and finding every opportunity to use it. Whether on the MRT or bus ride home, waiting in a queue or even crossing the road, people are glued to their gadgets checking their mail, replying an SMS or just playing games. And now, the introduction of the newly developed IPad has got everyone excited once more.
They allow kids with limited verbal skills to think and communicate easily using pictures. Transitions from one activity to another, or one space to another, often make autistic children very anxious. Having an iPad show them in pictures what is happening now, and what will happen next, eases these transitions.
Children can also use them communicate what they want. One mom described the hit or miss process of going shopping with her autistic daughter. The girl would indicate that she wanted to go shopping, but couldn't say where. They'd drive from store to store in frustration. Now she has an iPod app that shows pictures of her daughter's favorite destinations, and she can use the touchscreen to show her mom which one she wants before they leave the house.
The devices are also relatively inexpensive. The iPad starts at US$500, which is steep for a toy. But it's half the cost of a medical device designed to assist autistic children with non-verbal communication. Apps to assist communication are free or very cheap, and there are plenty of games and movies available to entertain kids, too. It works out to a bargain for families who need this kind of bridge for their kids to communicate.
Unfortunately, the IPad is not yet available in Singapore but when it is, we'd love to see them being used as a communication and educational tool in schools for children with special needs.
Got a parenting concern? Read articles or ask away and get instant answers on our app. Download theAsianparent Community on iOS or Android now!
Felicia Chin
3 special education schools for autistic children in Singapore to expand
Singapore's First School for Autistic Children
Children and autism: A new cause?
Family Occasions
Diet & Weightloss
© Copyright theAsianparent 2019. All rights reserved


text:
(person) by iocane Tue May 15 2001 at 10:09:31
With a name like that, it was inevitable that Delroy would become a movie star. Ironically, not many people know his name, but a lot of people would recognise his face. He tends to play hardened characters like drug dealers, FBI Agents or mob bosses, although he has done a few good turns in comedy and stage acting as well as providing voice overs for cartoons and TV shows.
He was born to Jamaican parents in Lewisham, South London, England before moving to Canada in his teens and then finally to the USA where he would graduate from the American Conservatory Theater in San Francisco. After a brief foray into TV and film, Lindo spent 10 years concentrating on stage acting, appearing in a Broadway production directed by Athol Fugard in 1982. Since then A-List directors Spike Lee, Barry Sonnenfeld and Danny Boyle have all cast Lindo in roles during his career.
Filmography highlights:
Heist (2001)
Gone in Sixty Seconds (2000)
Romeo Must Die (2000)
The Cider House Rules (1999)
A Life Less Ordinary (1997)
The Devil's Advocate (1997)
Ransom (1996)
Feeling Minnesota (1996)
Broken Arrow (1996)
Clockers (1995)
Crooklyn (1994)
As usual, IMDB was on hand with information
Heist Get Shorty Romeo Must Die A Life Less Ordinary
Broken Arrow Canada Ossie Davis The Devil's Advocate
Lewisham Gone in Sixty Seconds Chicken Hawk Devil's Advocate
Ransom The One The Cider House Rules stage
mob Jamaican movie star Malcolm X
1982 Spike Lee
The ability of planarian worms to run a maze more successfully after being fed the remains of a successful worm
Rotring 600
Ball lightning
Looking for America


ChessCube Forums • View topic - Feb 10, 2011 - Quiz 2 - Winner: "dieter33"
Last quiz of the day!
Question: Which city recently withdrew their bid to organize 2012 World Chess Championship?
First to respond gets 100 Cubits!


text:
whale-watching cruises
Pricing and schedules
Equipment and security
Charlevoix et Baie-Sainte-Catherine
Manicouagan
Saguenay Fjord
Croisière au baleine Tadoussac
Whale-watching cruises Pricing and Schedules Contact Us
Fjord du Saguenay
In Charlevoix, which you will travel through to go on a whale-watching excursion in Les Escoumins, various activities abound. The area is home to three national parks and majestic landscapes! What Manicouagan offers at sea, Charlevoix offers in the mountains where visitors will be breathless at the untouched scenery.
The area's craftsmen, painters and photographers tell nature's tale while visitors are greeted at renowned restaurants, galleries and shops to suit a variety of tastes.
Grands Jardins National Park offers memorable fishing stories (it is home to 60 lakes, all in a natural state). Pedestrian excursions in exceptional landscapes and the chance to discover otherwise inaccessible ecosystems (the Taïga) beckon to tourists.
Hautes-Gorges-de-la-Rivière-Malbaie National Park presents one of the most impressive valleys in Quebec. This National Park constitutes one of the central parts of the Charlevoix Biosphere World Reserve. A popular river cruise in Charlevoix will take you down the Hautes-Gorges River.
Of course, one cannot mention Charlevoix without speaking about the famous Casino de Charlevoix and the nearby Manoir Richelieu located in the town of La Malbaie.
Another charming characteristic of Charlevoix is its series of small and picturesque coastal towns such as Port-au-Persil, named by 17th century explorer Samuel de Champlain. Port-au-Persil is a tiny hamlet tucked away on the edge of a small bay on the St-Lawrence River.
The village of St-Irénée in Charlevoix can be found hidden away between two hills clutched to the mountainside and lying alongside the beach. The village embraces the spectacular shoreline and the landscape's wonders.
Les Eboulements is a Charlevoix village from where one can admire landscapes that seem to plunge into the River and where large ships seem miniscule while threading through the canal.
The village of Les Eboulements, which means "The Landslides" in French, was named following a violent earthquake in 1663. Les Eboulements sits at 200 meters above sea level and offers a spectacular view of the St-Lawrence River and Iles-aux-Coudres Island.
LES ÉCUMEURS DU SAINT-LAURENT
31 rue des Pilotes
G0T 1K0
jeanlouisberube@bell.net
Tickets office
© Les Écumeurs du Saint-Laurent 2017
A Creation of Global Internet


CSL Limited has finalised its transaction to acquire Novartis's global influenza vaccine business for $275 million.
The move means Novartis has completed its exit of the vaccines market, following the divestment of its vaccines in an asset-swapping deal with GSK.
As part of the multi-billion dollar deal GSK acquired Novartis' global human vaccines business (except the influenza vaccines unit) for $7.1 billion, and Novartis taking over GSK's oncology business for up to $16 billion.
In a statement to the Australian Securities Exchange, CSL said the closing of the transaction will allow the company to integrate the influenza vaccines division with its subsidiary, bioCSL.
The combined business will create the $4 billion global industry's second largest influenza vaccine business. bioCSL will have manufacturing plants in the US, UK, Germany and Australia, a commercial presence in some 20 countries, a differentiated product portfolio and strong pandemic and pre-pandemic franchises.
Since April 2014, the influenza vaccines unit results have been reported under discontinuing operations in the Novartis consolidated financial statements – and the figures show sales in this area have been dwindling since the announcement of the company's market exit.
The company's financial results for the second quarter of 2015 show its influenza vaccines sales were $39 million, compared to USD 29 million in the same period in 2014. Sales for the first half of 2015 were $56 million, compared to USD 81 million in 2014.
Novartis said the deal marks the end of a series of transactions aimed at focusing it on its three leading global-scale businesses: pharmaceuticals, generics and eye care.


text:
"Pressure Off" by Duran Duran is 2015's first great pop single
In the last few years, the first great pop single of the year has emerged relatively early in the year. Last year, we started to notice a delay in the emergence of new pop music brilliance. "Ext...
Take That seduce their hometown Manchester all over again with &#...
This review has been co-written with Guest Blogger Sophie Wray Date: May 23rd 2015 Venue: Manchester Arena (Manchester,UK) In September of 2014, we made a post about the implications of Jason Oran...
Simply Red triumphs on their swan song "Big Love"
30 years in the music business (most of it in the commercial limelight) is infinitely longer than any new artist aspires for these days. This is an achievement that blue-eyed pop/soul outfit Simply Re...
Spandau Ballet makes the 32-year long wait worthwhile at Beacon T...
This review is by Guest Blogger Lily C Vargas Date: May 2nd 2015 Venue: Beacon Theater (New York City) For two hours on May 2, 2015 we were transported back to the Blitz Club circa 1978 and taken ...
Simply Red makes a surprising if not earth-shattering return with...
Change has been one of the central themes to the career of British band Simply Red. Not only was the band for the most part a revolving door with lead singer Mick Hucknall as the only constant fixture...
Natalie Imbruglia returns with a beautiful rendition of Daft Punk...
When we hear that one of our favorite artists is returning with a new "covers" album, we cannot help but feel substantially less excited than we would feel if the same artist is slated to ...
"Mad World" is an essential read for every pop music connoisseur
Last year, we made a post about the back-story around George Michael's timeless classic "Careless Whisper" to celebrate 30 years since the song went to #1 in the UK. It got us thinki...
Music Industry, Reviews
Take That's "III" is far from a "retirement record"
"We're not writing a retirement record" – said Gary Barlow, the undisputed frontman of Take That – one of UK's hottest exports and the greatest comeback act in pop ...
Spandau Ballet's "Soul Boys Of The Western World" is a treat
Glamour, decadence, political strife, and the creativity of a new youth movement wanting to be at the forefront of stylist change were some of contributing elements to the British pop culture of the 8...
Ronan Keating diversifies in "Once The Musical"
By guest blogger Janina from RonanKeatingNews.com So, next Monday was going to be Ronan's first night at 'Once' at London's Phoenix Theatre. There was no way I was going to mis...


COLUMBUS, Ohio, March, 19, 2018 – NextGen consumers are leading the retail industry to a new view on loyalty, according to new research by Alliance Data's card services business, a provider of market-leading private label, co-brand, and business credit card programs. The newly released study, "The Rules of NextGen Loyalty," reveals how Gen Z and Millennials have been empowered by unique experiences, technology, and the power of choice to engage brands and experience loyalty in truly new ways.
Loyalty is earned. Understanding the role of and influences on choice is more important than ever before: 63% of younger consumers agree they have many choices of where to shop, so a brand must show them loyalty to earn their business. Once brands recognize the unique motivations of Gen Z and Millennials, they have taken the critical first step in building deep brand connectivity and earning lasting loyalty.
Loyalty is complex. Traditionally, loyalty has been viewed as one-dimensional. Yet, loyalty is anything but simple. Research shows when it comes to life loyalty and brand loyalty, a continuum emerges spanning a range from functional to emotional. Different types of loyalty span the continuum from traditional, mostly functional loyalty, to brand love, emotional loyalty. Re-thinking a brand's approach to loyalty means understanding that true loyalty requires a combination of function and emotion.
Loyalty is fragile. Today's younger consumers are increasingly unforgiving. They are empowered by instant access and greater choice to want more and "put up" with less. In fact, 76% of younger consumers only give brands two to three chances before they stop shopping them. One in three consumers said nothing could be done when asked what a brand could do to win them back.
Loyalty is multifaceted. Brands have typically viewed loyalty through a transactional lens. But NextGen loyalty is a combination of transaction (function) and emotion–traditional brand loyalty and brand love loyalty. Transactions aren't the only indicators of loyalty. Brands must understand customers' unique needs and think differently about measuring loyalty. Some consumers want the basics while others need more.
Alliance Data is releasing the results of its "The Rules of NextGen Loyalty" study during this year's Shoptalk conference in Las Vegas. To access deeper insights into NextGen Loyalty, visit KnowMoreSellMore.com/NextGenLoyalty.
Based in Columbus, Ohio, Alliance Data's card services business develops market-leading private label, co-brand, and business credit card programs for many of the world's most recognizable brands. Through our branded credit programs, we help build more profitable relationships between our partners and their cardmembers, and drive lasting loyalty.
Using the industry's most comprehensive and predictive data set, advanced analytics, and broad-reaching capabilities, Alliance Data's card services business has been helping partners increase sales and provide greater value to their cardmembers since 1986. We are proud to be part of the Alliance Data enterprise (NYSE: ADS), an S&P 500 company headquartered in Plano, Texas. To learn more, visit KnowMoreSellMore.com, follow us on Twitter @Know_SellMore, and connect with us on LinkedIn at Alliance Data card services.
Alliance Data's Analytics and Insights Institute systemizes its more than 20 years of expertise in delivering best-in-class data assets and resources to provide brand partners a customized approach to growing their credit programs. Its award-winning analysts and strategists are experts at developing a deep understanding of a brand's customers by combining a variety of data sets, representing 250 million consumers, to provide a complete 360-degree customer view.


text:
Board International strengthens ESEF compliance offering through CoreFiling partnership
Thursday, 10 December 2020 - Chiasso, Switzerland and Boston, US
The move will enable users of the Board decision-making platform to produce ESEF-compliant filings with ease
Software vendor Board International today announced a partnership with regulatory reporting software provider CoreFiling, which will see the Board decision-making platform benefit from industry-leading iXBRL reporting capabilities.
The European Single Electronic Format (ESEF) is the new standard for preparation of annual financial reports for companies listed on EU and UK exchanges. Through the partnership, CoreFiling's iXBRL reporting functionality will be available directly within the Board platform, enabling users to easily generate compliant AFRs. Auto-tagging, table tagging and AI assistance ensures that tagging is fast, correct and consistent. All taxonomies and filing rules are managed and require no effort from the users to keep up to date.
"Our Seahorse® iXBRL offering, which is now embedded directly within the Board platform, allows companies to effortlessly convert their glossy financial statements into ESEF-compliant AFRs.. We are very happy to partner with Board to help more European issuers produce high-quality ESEF reports as easily as possible. We see this as a strategic partnership and look forward to working with Board on further regulatory and compliance requirements," comments Philip Allen, Executive Chairman of CoreFiling.
"The Board platform offers a powerful, flexible approach to financial reporting as part of its unified business intelligence, planning, and predictive analytics environment. With many organizations facing the need to deliver ESEF compliant reports, we wanted to enhance our offering by introducing a range of iXBRL reporting features to the platform. We partnered with CoreFiling based on their industry-leading status in the field, which will enable companies to make light work of ESEF-compliant financial disclosure within Board," comments Pietro Ferrari, CTO at Board International.
"We have already received extremely positive feedback from customers who have piloted the new iXBRL ESEF reporting capabilities and look forward to enabling more organizations to deliver compliant reports with ease," adds Michele Bernasconi, Head of Financial Applications at Board International.
Board is the #1 decision-making platform. Founded in 1994, Board enables people to have a transformative impact on their business, helping them to intuitively explore and leverage their data in a flexible, all-in-one decision-making platform. By unifying Business Intelligence, planning, and predictive analytics, the Board platform allows companies to produce a single, accurate, and complete view of business information, gain actionable insights, and achieve full control of performance across the entire organization. Thanks to Board, more than 3,000 organizations worldwide, including Coca-Cola, Ricoh, KPMG, Puma, Siemens, and ZF Group, have deployed end-to end decision-making applications at a fraction of the time and cost associated with traditional solutions. www.board.com
About CoreFiling
CoreFiling exist to help companies and governments manage, produce, collect, review and understand performance information. Our enterprise solutions and professional services help organisations around the world improve the quality, timeliness and relevance of the information that they need to operate effectively and efficiently. The flagship True North Data Platform enables businesses and accounting professionals to integrate and publish data with confidence, ensuring the highest data quality while focusing on efficiency and ease of use. CoreFiling was founded in 1997 and is based in Oxford, UK. www.corefiling.com
Board named a Leader in the IDC MarketScape: Worldwide Cloud Enterprise Performance Management Software for Planning, Budgeting, and Forecasting 2020 Vendor Assessment
Board International welcomes three industry experts to United States leadership team
Board named #1 Sales Performance Management Software Vendor by Dresner Advisory Services
Board International appoints Christopher Wilkins as Director of Partners and Alliances, ANZ
Board International Partners with Solvanni Corporation to Deliver Transformational Planning and Analytics Projects


Run! Don't get caught but also don't let the detective down!
Great stuff! Love the mood. Way to keep it short and simple.
Nice little game you have here. I really like the villain's runcycle, as well as the rather humorous theme. Could be improved by some chase music, or perhaps changes in terrain that you need to jump over.
Neat concept and execution. Love it!
It would be even better if there is an end result screen.
Very fun elegant game. The mechanic made me repeatedly press R :) Miss some sound though!
Ha, I like the run cycle myself too!
It's sad that I no nothing about music.
You're right! There should be more endings!
Short, sweet, well-executed, and fits the theme perfectly. All it needs is an infinite mode and a catchy chiptune soundtrack to devour my life.
The art style is really nice! Though the game is short but it feels very completed.
The guy is really looking for a beating rofl.
Endless / looping mode would be great! Really neat graphics and animation.
Hahaha look at him run! Yeah endless mode would be awesome, still a excellent game!
cute idea playing off the respect a villain has for his adversary.
Pretty interesting graphics here! And nice gameplay element too!
Love it! It's simple, works really well, and hits the theme square-on.
Nice graphics. A little short, but simple, and very fun. I hope you develop it further.
Very simple but the graphics puts you in some interesting mood. Well done !


text:
Q: How can I pass todo list object to test file to override initial state? This is pretty common problem with less solved results here in the web. I tried to test my Statistics component which uses useContext hook. As test runs in isolated mode it catches always empty array and I couldn't pass my todo list object.
I am trying to run test but it fails
FAIL src/components/Statistics/__test__/Statistics.test.js (5.23 s)
  ● Testing Statistics Component › should return valid complete amount and due tasks count

    expect(element).toHaveTextContent()

    Expected element to have text content:
      3
    Received:
      0

      36 |
      37 |     const completedCount = screen.getByTestId("completed-count");
    > 38 |     expect(completedCount).toHaveTextContent(3);
         |                            ^
      39 |
      40 |     const dueTaskCount = screen.getByTestId("due-todo");
      41 |     expect(dueTaskCount).toHaveTextContent(1);

My context code
export const TodoContext = createContext(null);

function TodoContextProvider(props) {
  const initialState = []
  const [state, dispatch] = useReducer(reducer, initialState);

  return (
    <TodoContext.Provider value={{ state, dispatch }}>
      {props.children}
    </TodoContext.Provider>
  );
}

export default TodoContextProvider;

My Statistics component
function Statistics() {
  const { state } = useContext(TodoContext);

  const completedTodo = todos?.filter((item) => item.complete === true);
  const dueTodos = todos?.filter((item) => new Date(item.due) < new Date());

  return (
    <Row className="m-1 p-4">
      <Col>

My ToDo Statistics

          Completed: {completedTodo?.length} |
          Due: {dueTodos?.length}

      </Col>
    </Row>
  );
}

export default Statistics;

And at last my test file for Statistics
describe("Testing Statistics Component", () => {
  it("should return valid complete amount and due tasks count", () => {
    render(
      <TodoContextProvider>
        <Statistics />
      </TodoContextProvider>
    );

    const completedCount = screen.getByTestId("completed-count");
    expect(completedCount).toHaveTextContent(3);

    const dueTaskCount = screen.getByTestId("due-todo");
    expect(dueTaskCount).toHaveTextContent(1);
  });
});

 Here is todo list items

const todos = [
  {
    todo: "Take a note",
    due: "2022-04-01",
    id: 1648874401775,
    complete: true,
    order: 1,
  },
  {
    todo: "Brush teeth",
    due: "2022-04-13",
    id: 1648874401776,
    complete: true,
    order: 2,
  },
  {
    todo: "Go to bed",
    due: "2022-04-23",
    id: 1648874401777,
    complete: true,
    order: 3,
  },
];

A: I analyze your code. Let's quickly run the main problems which I detected.

*

*TodoContextProvider is not extendable. It's strongly encapsulated.

*In Statistics test file you did not provide (todos) state values. Where context does need to accept it?

*For note - always libraries which need to wrap all your app create custom render. As in example below.

import { render } from "@testing-library/react";
import { todoContext } from "../context/TodoContext";

const customRender = (ui, { providerProps, ...renderOptions }) => {
  return render(
    <todoContext.Provider {...providerProps}>{ui}</todoContext.Provider>,
    renderOptions
  );
};

export { customRender as render };

Source
I create additional file for testing utils. Named as testing-library-utils.jsx. And import render from there.
import { screen, waitFor } from "@testing-library/react";
import Statistics from "../Statistics";
import { render } from "../../../test-utils/testing-library-utils";

const todos = [
  {
    todo: "Take a note",
    due: "2022-04-01",
    id: 1648874401775,
    complete: true,
    order: 1,
  },
  {
    todo: "Brush teeth",
    due: "2022-04-13",
    id: 1648874401776,
    complete: true,
    order: 2,
  },
  {
    todo: "Go to bed",
    due: "2022-04-23",
    id: 1648874401777,
    complete: true,
    order: 3,
  },
];

describe("Testing Statistics Component", () => {
  it("should return valid complete amount and due tasks count", () => {

    const providerProps = {
      value: {
        state: todos,
      },
    };

    render(<Statistics />, { providerProps });

    const completedCount = screen.getByTestId("completed-count");
    waitFor(() => expect(completedCount).toHaveTextContent(3)).then();
  });
});

In my case, all the tests are passed.
I recommend you learn of testing concept in react before starting to write any tests.


Here's where to call Hollywood home for a little while.
Is Hollywood calling your name? Here's your chance to live it up in North Hollywood and watch the sunset over its famed hills.
Right now, this deal from Flight Centre will see guests check in to ever-so-stylish The Garland hotel for four nights and stay in a Deluxe King Room. The Garland is a peaceful retreat that offers views of the Hollywood Hills, and some excellent on-site dining options.
Included in the stay is a guided Hollywood Hills Sunset Hike, return transfers from LAX airport, free wifi, free transfers to Universal Studios Hollywood, Citywalk and Metro Station. Guests also have the option to add a horseback tour of the iconic Hollywood Sign, or a Malibu stars tour onto their itineraries.
Along your sunset hike, your personal guide will show you the sites where blockbuster films and TV shots were filmed. You'll also see the Griffith Observatory, the Greek Theatre and more world-famous sights.
The deal is valid for selected travel dates between 20 August and 23 December 2019. For more information, visit Flight Centre.


The June Jordan School for Equity Community Farm and Kitchen provide an interactive and multi-sensory outdoor environment that supports diverse learning styles for youth.
Programming forgoes the lecture-audience teaching model and is structured around exploration, experimentation, and knowledge-sharing. In all classes, youth are physically active outdoors, have their hands in the soil, are trying new food combinations using plants they grew, and sharing stories of their relationship to food and land.


text:
GlobalSCAPE Announces Hosted Content Management Service
GlobalSCAPE announced the availability of its PureCMS hosted content management service. PureCMS now enables organizations to share responsibility for Web site content among non-technical team members, without the need to install and manage a software application internally. The service enables an administrator to manage multiple Web sites from a single Web-based interface and ensures consistent workflow for content contributors. The PureCMS hosted service enables small organizations with limited IT resources to save time and money through use of a content management system that does not require investment in hardware, software or additional IT personnel and provides 24-hour availability, backup and ongoing maintenance of a staging environment for their Web sites. Users can access the service from any computer connected to the Internet with Internet Explorer 5.5 or greater. Users simply browse to a protected copy of their Web site, hosted on GlobalSCAPE's PureCMS staging server, click the page they want to edit and make textual or graphic changes on screen. Users can even copy and paste information from Windows applications such as Microsoft Word or Excel into their Web sites. Once the user saves the proposed changes, PureCMS sends the designated group leader an email notification that the changes are pending approval. The group leader can compare the proposed changes to the previous version, approve and publish, or schedule for publishing later. The PureCMS hosted service is available immediately from GlobalSCAPE. Pricing begins at $99 per month for 3 users. Service fees include live technical support, maintenance and a storage allowance. www.globalscape.com/purecms


Peter Orner is the author of the novels, Love and Shame and Love and The Second Coming of Mavala Shikongo, and the story collections, Last Car Over the Sagamore Bridge and Esther Stories. A book of oral histories, edited by Orner, Underground America: Narratives of Undocumented Lives, was published in 2008 by McSweeneys for the Voice of Witness Series. His work has appeared in The Atlantic Monthly, The Paris Review, and Best American Stories . Orner has been awarded a Pushcart Prize, the Rome Prize from the American Academy of Arts and Letters, a Guggenheim Fellowship, and a Lannan Literary Fellowship.


Roczniki Naukowe Stowarzyszenia Ekonomistów Rolnictwa i Agrobiznesu, 2011, T. 13, z. 1, s. 131-134, rys., bibliogr. 6 poz.
Agricultural subsidies in the WTO green box: ensuring coherence with sustainable development goals. ITCSD 2009: Information Note Number 16, September.
Communication from the Commission to the Council and the European Parliament. 2002: Mid-term review of the Common Agricultural Policy. Komisja Europejska COM (2002), 394 final, Brussels, 10.07.
Gay S.H., Osterburg B., Baldock D., Zdanowicz A. 2005: Recent evolution of the EU Common Agricultural Policy (CAP): state of play and environmental potential. Prepared within the EU project SSPE-CT-2004-5036604. FAL & IEEP, March.
Green growth strategy synthesis report. 2011: OECD, C(2011)29.
Komisja Europejska, CAP-post 2013. 2010: key graphs and figures, November (www.ec.europa.eu), 25.04.2011.
The CAP towards 2020. 2010: Meeting the food, natural resources and territorial challenges of the future. Komisja Europejska COM (2010) 672 final, Brussels, 18 November.