PHP GeoHelper API Client
Read more at https://www.phpclasses.org/package/11184-PHP-Retrieve-location-lists-using-the-Geohelper-API.html#2019-05-02-16:03:51
The PHP Core team has now officially approved the addition of short arrow functions and they are hoping to have this available in PHP 7.4.
Visit Laravel News for the full post.
The post PHP Approves Short Arrow Functions appeared ...
The PHP development team announces the immediate availability of PHP 7.3.5. This is a security release which also contains several bug fixes.All PHP 7.3 users are encouraged to upgrade to this version.For source downloads of PHP 7.3.5 please visit our downloads page, Windows source and binaries can ...
There are many ways to contribute to the Symfony community besides submitting Pull Requests to the GitHub-Repository, from reviewing issues to joining discussions on Slack. I particularly enjoy answering questions on Stack Overflow.
Most of my questions on Stack Overflow are from when I first sta...
Short closures, also called arrow functions, are a way of writing shorter functions in PHP. This notation is useful when passing closures to functions like array_map or array_filter.
This is what they look like: // A collection of Post objects $posts = [/* … */];
$ids = array_map(fn($p...
The second release candidate for WordPress 5.2 is now available!
WordPress 5.2 will be released on Tuesday, May 7, but we need your help to get there—if you haven’t tried 5.2 yet, now is the time!
There are two ways to test the WordPress 5.2 release candidate: try the WordPress Beta Tester plugin (you’ll want to select the “bleeding edge nightlies” option), or you can download the release candidate here (zip).
For details about what to expect in WordPress 5.2, please see the first release candidate post.
This release includes the final About page design. It also contains fixes for:
Please test your plugins and themes against WordPress 5.2 and update the Tested up to version in the readme to 5.2. If you find compatibility problems, please be sure to post to the support forums so we can figure those out before the final release.
The WordPress 5.2 Field Guide has also been published, which details the major changes.
Do you speak a language other than English? Help us translate WordPress into more than 100 languages!
If you think you’ve found a bug, you can post to the Alpha/Beta area in the support forums. We’d love to hear from you! If you’re comfortable writing a reproducible bug report, file one on WordPress Trac, where you can also find a list of known bugs.
It’s the start of May
and the release is coming.
We all give a cheer!
You may have seen a much-circulated story, allegedly posted on CNN’s website, in which a Cornell University student claims to have lost 37 pounds through a diet regimen consisting of apple cider vinegar and supplements of Garcinia cambogia, a type of tropical fruit.
If it is not immediately obvious to you, this is an internet ad for weight loss supplements, not a CNN story. The woman interviewed in the story doesn’t exist. Apple cider vinegar and Garcinia cambogia do not do what the ad claims they do, and can in fact be harmful when taken as suggested.
Everything about this ad is a lie. It lies about big things that could hurt people’s health and it lies about stupid little things like celebrity diets. It is a lie smothered in lies and served open-faced on a bed of lies. Let’s unpack this.
Fact: A good way to tell where a story is from is to look at where the story is from. If I were to write, “This story you are reading on www.gov.uk represents official UK policy on phony diet ads,” you could look at the top of your browser and see that you are in fact on qz.com and I am lying. CNN’s URL is cnn.com, not independant-research.com, and that is not how “independent” is spelled.
Fact: There is no Suzanne Pischner on LinkedIn or Twitter. Her byline appears only on other fishy-looking weight loss ads, including one purporting to be from TMZ posted under the URL trompe l’oeil tmzf.itness.co. Suzanne, if you are real and reading this, please send a notarized birth certificate to hi@qz.com.
There is no Amanda Haughman in Cornell’s current student or alumni directories. In December, a nearly identical ad for a product called “Premiere Garcinia Cambogia” labeled a completely different woman’s photo as “Cornell student Amanda Haughman.” A lifestyle blogger pointed out that the photo was in fact of a Scottish woman named Seana Forbes, and was taken from a YouTube ad for a fitness app.
An independant-research.com story dated March 13 said Amanda was a Cornell student. In similar ads dated March 14, she went to Harvard or Stanford. A Google image search turns up ads describing the same blond woman with the too-big jean shorts as a student at UCLA, Michigan State University, the University of South Wales, and the National University of Singapore. Amanda Haughman is either a privacy-minded global scholar or—and this is just a theory—not a real person.
Fact: The image of the man identified as Mark was lifted from a 2015 story in the Daily Star, a UK daily tabloid, about a man named Mark Smithers. Here a pellet of truth is dropped in the rabbit hutch of lies: there is a Mark and he did lose weight. But he did not use this product and is not a close friend of Amanda, who is not real.
Fact: Amanda can’t sit. She has no lower extremities. She doesn’t exist.
Fact: The photo labeled “2016” is from 2015; the one labeled “2015” is from 2014. No such interview with McCarthy exists. In actual interviews, McCarthy has politely rebuffed repeated requests to talk about if or how she may have lost weight, for the same reason US speaker of the house Paul Ryan has never released his colonoscopy reports—it’s nobody’s business and it’s a kind of weird thing to ask about in the first place.
This is where TrimGenesis’s claims go from absurd to potentially dangerous. Hydroxycitric acid (not “hydroxycitcric,” as above) is a type of citric acid found in many tropical plants, including Garcinia cambogia. In the world of unregulated supplements, “natural” is an often-abused term that has no bearing on how safe or effective a product is. Arsenic is naturally occurring. Mercury is naturally occurring. Nature makes a lot of stuff. Humans aren’t supposed to eat it all.
A 1998 study in the Journal of the American Medical Association found no significant difference in weight loss between participants who took Garcinia cambogia and those who took a placebo. A 2011 meta-review in the Journal of Obesity found that while there was some evidence of short-term weight loss in patients using the supplement, those that took it were also twice as likely to have bad gastrointestinal side effects. Another 2013 review of 17 studies deemed Garcinia cambogia safe for human consumption, but concluded that its effect on weight loss was unclear.
The unproven benefits of Garcinia cambogia have not stopped assorted hucksters from pushing it as a weight loss wonder drug; television personality Mehmet Oz called it “a revolutionary fat buster” on a 2012 show.
“I don’t get why you need to say this stuff ‘cause you know it’s not true,” Claire McCaskill, a Democratic senator from Missouri, said at a 2014 Senate hearing on Oz’s false claims (quoted in this actual CNN story).
“I do personally believe in the items that I talk about on my show. I passionately study them,” Oz, a trained surgeon, responded. This is an acceptable defense for an amateur Bigfoot hunter, but not a scientist.
Fact: Several claims follow; they are all bogus. There have been zero clinical studies on the effects of apple cider vinegar combined with Garcinia cambogia.
The ad never discusses the supposed benefits of drinking the apple cider vinegar, though here “Suzanne Pischner” may be relying readers’ previous familiarity with the subject. A long-time favorite of health food advocates, apple cider vinegar is increasingly popular as a home remedy for maladies including sore throats, high cholesterol, high blood sugar, acne, and jellyfish stings.
“There is ample scientific evidence” that vinegar does in fact help control blood sugar, if taken as one tablespoon diluted in a cup of water at the start of a meal, says Carol Johnston, a professor and associate director at Arizona State University’s School of Nutrition and Health Promotion. “The evidence on weight loss is meager but there are hints of this—particularly in the rat model,” she added. “If vinegar impacts body weight, it is very subtle and not what most have in mind when they start a weight loss trial.”
The active ingredient in apple cider vinegar that helps control blood sugar (and possibly weight) is acetic acid, which is found in all vinegar. And while drinking one to two teaspoons in water as recommended by Cornell/Harvard/MSU/National University of Singapore grad Amanda Haughman probably isn’t harmful to most people, it’s worth remembering that vinegar is an acid, and drinking acid straight can be dangerous.
Ultimately, the ad serves apple cider vinegar as a folksy side dish to a weight loss supplement that could have harmful side effects. The US Food and Drug Administration says weight loss supplements, including those purporting to contain Garcinia cambogia, often contain undisclosed ingredients, including active drugs.
The danger of weight-loss related fake news is that—like their political counterparts—they make ridiculous claims that can distract from the fact that they are still lies masquerading as the truth, and could end up hurting someone.
In memory of Amanda Haughman (1995-2017), a victim of the Bowling Green Massacre.
Swollen feet is a common problem, especially after a long tiring day, when you take off your shoes and notice that your feet have literally doubled up due and finding a quick fix for that becomes difficult. well, fret not we have found some amazing remedies to cure swollen feet.
This painless swelling is quite common and can happen to anyone, but is most common among pregnant women. If you too get swollen feet quite often, it’s best to keep some home remedies in mind. The swelling is caused when excess fluids accumulate in the feet. Finding out the reason behind the swelling is more important as it can be caused due to numerous reasons, which includes ill-fitting shoes, wearing high heels all day, desk-bound lifestyle, sport injuries, obesity and infections among other things.
If you get swollen feet quite often, it’s best to get it checked by a professional because it might be a sign of serious health problems but if it’s not due to any serious medical problem, home remedies can become your saving grace.
Try out these home remedies and see which one’s best for you!
Compression Socks
The best remedy is to prevent the swelling from happening in the first place. Compression socks are super helpful for this. These socks provide compression, as the name states and prevent body fluids to accumulate in your feet. The blood in your feet gets a boost and it circulates well, thus, helping ease the pain and ache in your feet. Wear these socks whenever you’re out and it is most ideal to wear it in the morning and take off in the evening.
Epsom Salt
This home remedy is the best and most common one. It’s been used for centuries to cure all types of pains and can be found in any drug store near your house. Soak your feet in a tub filled with water and Epsom for 15-20 minutes. This salt contains magnesium sulphate which, when dissolved in water, gets into your body through the skin and relieves pain and swelling. It also relaxes your body which leads to an increase in the blood flow. Good blood circulation can help you avoid swollen feet in the future.
Weight loss
People who are overweight or suffer from obesity often get swollen feet. It’s because of the pressure that their feet in under, therefore it is important to reduce the blood circulation in that area. The strain on the feet along with bad blood flow can lead to swelling. A good BMI should be maintained, so consult your doctor and take a journey towards healthy weight loss to avoid recurrent swollen feet among other problems.
Contrast Bath Therapy
For this remedy, all you need is water. For your swollen feet, contrast bath therapy is done by immersing the feet in a tub of hot water (not boiling). Soak for 10 minutes and quickly switch to cold water and soak for another 10 minutes. Lastly, switch back to the hot water and soak for 5 more minutes. The contrast in temperatures helps in dilating and contacting the blood vessels which results in smoother and better blood circulation and relieving you from swollen feet.
Baking Soda and Rice Water
Both these ingredients are okay for swollen feet on their own, but a blend of these two can relieve your swelling instantly. You can either prepare a bucket with these two ingredients or make a paste with their mixture. Use them for 15-20 minutes to relieve swollen feet. The baking soda provides the anti-inflammatory properties that help in bringing down the inflammation and also relives the pain; The rice water sponges up the fluid accumulation in the feet. Together, they stimulate the blood circulation, thereby helping alleviate the swelling.
Lemon Water
Drinking lemon water every day can help eradicate the chances of getting swollen feet all together as it flushes out the toxins and the excess fluid present in the body. The excess fluid is flushed out so the risk of getting swollen feet is out the window.
Cinnamon and lemons
This overnight soothing sensation to mitigate swollen feet is great for pregnant women as they can’t help but deflect the possibility of getting them and suffer for longer duration. Create a paste with cinnamon, lemon, milk and olive oil and apply a generous layer over your swollen feet. Leave it overnight to soothe the pain and swelling. The lemon, cinnamon and olive oil have anti-inflammatory properties along with many other benefits and the overnight application helps the skin soak up all these beneficial properties. It eases the pain, brings down the swelling while nourishing the skin.
Cucumbers
You must have heard that they are great for your swollen eyes, but did you know that they can also provide relief to your swollen feet? The name cucumber rings a soothing bell in our minds and for all the right reasons. Since drinking water is one of the ways to help reduce the chances of getting swollen feet and cucumbers are 90% water, they are an obvious relief method. Other than the water content, cucumbers also have antioxidants and anti-inflammatory properties. It helps flush out the excess fluids, thus, reducing the swelling. Other than increasing your fluid intake with the cucumbers, one way to use it is to cut slices and place them on the swollen area and lightly wrap a bandage over it to keep them in place. You can also extract cucumber juice and apply them to the swollen feet.
Follow these to have a Happy Feet!
Article source: https://timesofindia.indiatimes.com/life-style/food-news/home-remedies-for-swollen-feet/articleshow/69142085.cms
Here's what was popular in the PHP community one year ago today:
The post Interview with Matthew Weier O’Phinney appeared first on Voices of the ElePHPant.