Monthly Archiv: April, 2019

Weight Loss Dietary Supplements Market Has Transformed Rapidly In Past Few Couple Of Decades

As per the latest study by Persistence Market Research (PMR), the global weight loss dietary supplements market is anticipated to witness healthy growth. The market is likely to register 6.0% CAGR throughout the forecast period 2017-2026. The global weight loss dietary supplements market is also estimated to bring in US$ 37,177.6 million revenue by 2026 end.

With obesity becoming a global health concern, weight loss continues to be one of the most focused areas. Hence, increasing number of companies are coming up with the new products in weight loss supplements. The increasing consumption and demand for weight loss dietary supplements, regulations on the production of these supplements along with ingredients used are also gaining traction in various countries. The government in various countries are also focusing on the quality and quantity of ingredients used and if any of these ingredients can have severe side-effects, affecting the health of the consumers negatively.

Increasing use of Natural and Organic Ingredients in the Weight Loss Dietary Supplements

The negative effects of being obese and overweight are resulting in the increasing use of weight management products. Consumers are also adopting weight loss supplements in forms of pill, liquid, and powder. Hence, with the increase in the use of these supplements, manufacturers are also trying to produce safer products, thereby using organic and natural ingredients and plant-based ingredients. Among various ingredients, green tea extract is considered as one of the most popular and safest ingredients in the weight loss dietary supplements. Similarly, Garcinia cambogia is also being considered as an ingredient in the weight loss supplements. However, these ingredients have been reported to have adverse effects like a headache, constipation, UTI. Hence, there has been an increase in the investment in the research on other organic ingredients that can be used to produce weight loss supplements.

Global Weight Loss Dietary Supplements Market: Segmental Insights

The global weight loss dietary supplements market includes various segments such as end-user, form, ingredients, distribution channel, and region. Based on the form, the market is categorized into powder, liquid, and soft gell/pills. Soft gell/pills are expected to dominate the market during the forecast period. By the end of 2026, soft gell/pills are expected to exceed US$ 18,500 million revenue.

Based on the end-user, the segment consists of men, women and senior citizen. Among these, women are expected to be the largest users of weight loss dietary supplements. Women segment as the end-user is estimated to create an incremental opportunity of more than US$ 7,900 million between 2017 and 2026.

By Distribution Channel, pharmacies drug store is expected to emerge as the largest distribution channel for the weight loss dietary supplements. Pharmacies drug store is estimated to account for more than one-third of the revenue share by the end of 2017.

Request For Sample :   https://www.persistencemarketresearch.com/samples/20380

Based on the ingredients, the segment consists of amino acids, vitamins minerals, botanical supplements, and others. Vitamins minerals are expected to emerge as one of the largest used ingredients in the weight loss dietary supplements. By the end of 2026, vitamins minerals are estimated to exceed US$ 16,900 million revenue.

Region-wise, the market is categorized into Europe, North America, Asia Pacific Excluding Japan (APEJ), Latin America, Japan, and the Middle East and Africa (MEA). Among the given regions, North America is expected to dominate the global weight loss dietary supplements market throughout the forecast period 2017-2026.

Global Weight Loss Dietary Supplements Market: Competitive Assessment

Key players in the global weight loss dietary supplements market are Amway (Nutrilite), Abott Laboratories, GlaxoSmithKline, Glanbia, Herbalife International, Pfizer, American Health, Stepan, Nature’s Sunshine Products, and FANCL.

Article source: https://newdailyherald.com/2019/04/30/weight-loss-dietary-supplements-market-has-transformed-rapidly-in-past-few-couple-of-decades/

Laravel Nova PHP MySQL Manager (New)

Package:
Laravel Nova PHP MySQL Manager
Summary:
Web interface for MySQL server management
Groups:
Databases, PHP 5, Systems administration
Author:
Naif Alshaye
Description:
This package provides a Web interface for MySQL server management...

Read more at https://www.phpclasses.org/package/11098-PHP-Web-interface-for-MySQL-server-management-.html

Managing Multiple PHP versions via the ondrej/php PPA

Last week, I did some system updates, and then decided to compile the most recent PHP releases. I've used phpbrew to manage multiple PHP releases for a number of years, and having it install a new version is fairly routine.

Except this time, it wasn't. Due to updates I installed, I was getting errors first with compiling the GD extension, then with ext-intl:

  • If you want Freetype support in ext-gd, you are expected to install the package libfreetype-dev. On Ubuntu, this now installs libfreetype6-dev, which no longer includes the freetype-config binary that PHP's configure script uses to determine what features it supports.

  • Similarly, ext-intl depends on the package libicu-dev. Ubuntu's package now omits the icu-config binary used by PHP to determine feature support.

I searched for quite some time to find packages that would resolve these problems. I could have found the source code and compiled it and linked to that, but that would mean keeping that up-to-date on top of my PHP installs.

I even looked in the ondrej/php PPA, as that repository has multiple PHP versions already, including source packages.

And then I thought: why not try using those instead of phpbrew?

The rest of this post is how I made that work.

I use Ubuntu for my operating system. The instructions I present here should work on any Debian-based system, but your mileage may vary. If you are using an RPM-based system, yum will be your friend, but I have no idea how to add repositories in that system, nor if update-alternatives is available. As such, these instructions may or may not help you.

Which is okay. I mainly wrote them to help future me.

Register the PPA

First, I had to add the PPA to the system:

$ sudo add-apt-repository ppa:ondrej/php

Then the usual:

$ sudo apt update

Approach to installation

I first identified the extensions I typically install, matched them to packages in the PPA, and made a list. I knew I'd be installing the same extensions across all PHP versions I wanted, so I figured I could script it a bit.

From there, I executed the following from the CLI:

$ for VERSION in 5.6 7.0 7.1 7.2 7.3;do
for> for EXTENSION in {listed all extensions here};do
for for> sudo apt install php${VERSION}-${EXTENSION}
for for> done
for> done

This grabbed and installed each PHP I needed along with all extensions I wanted.

Switching between versions

To switch between versions, you have two options:

  • Use the version-specific binaries: /usr/bin/php5.6, /usr/bin/php7.0, etc.

  • Set a default via update-alternatives:

    $ sudo update-alternatives --set php /usr/bin/php5.6
    

    If you're not sure what you have installed, use:

    $ sudo update-alternatives --config php
    

    which will give you a listing, and an ability to select the one to use.

Rootless alternatives

What if you'd rather not be root to switch the default version, though? Fortunately, update-alternatives allows specifying alternate config and admin directories.

Define the following alias in your shell's configuration:

alias update-my-alternatives='update-alternatives \
 --altdir ~/.local/etc/alternatives \
 --admindir ~/.local/var/lib/alternatives'

Additionally, make sure you add $HOME/.local/bin to your $PATH; since defining $PATH varies based on the shell you use, I'll leave that for you to accomplish.

If you open a new shell, the alias will now be available; alternately, source the file in which you defined it to have it take effect immediately.

Once you've done that, you can run the following, based on the PHP versions you've installed:

$ for VERSION in 5.6 7.0 7.1 7.2 7.3;do
for> update-my-alternatives --install $HOME/.local/bin/php php /usr/bin/php${VERSION} ${VERSION//./0}
for> done

This will create alternatives entries local to your own user, prioritizing them by version; as a result, the default, auto-selected version will be the most recently installed.

You can verify this by running update-my-alternatives --config php:

There are 5 choices for the alternative php (providing $HOME/.local/bin/php).

  Selection    Path             Priority   Status
---------------

Truncated by Planet PHP, read more at the original (another 7476 bytes)

php[podcast] episodes from php[architect]: Frontend Fundamentals and Chris Hartjes

In Episode 19 Eric, John, and Oscar record together again to discuss the April 2019 issue on the new frontend fundamentals, php[tek], and quite a lot more about web browsers than anyone anticipated. Topics Eric and John get a look behind the scenes into what goes into producing each magazine issu...

Pine: Handy RegEx Constraints in Laravel Routes

It’s a well-known feature, but still in some cases it may require longer research to find the good regex patterns for defining constraints for our route parameters. Let’s see some idea.

Getting Started First of all, let’s see how to even use patterns to create rules for our rout...

Technical Thoughts, Tutorials, and Musings: PSR-14: Example – PSR-14 in a non-blocking application server

PSR-14: Example - PSR-14 in a non-blocking application server

        We continue our exploration of PSR-14's potential with a guest post.  Cees-Jan Kiewiet was the Sponsor of PSR-14 (meaning the member of the Core Committee who bridged from the Working Group to the Core Committee), and is on...

423 Locked

The 423 Locked status-code does not appear in the base HTTP specification, but is part of WebDAV specification, which is an extension to HTTP.

A major goal of WebDAV was to provide a ‘filesystem over the web’. One of its core features is for users to ‘lock’ specific files and directories to prevent others from editing them.

A user can lock a resource by issuing a http LOCK method and later on unlock the resource by using the UNLOCK HTTP method.

Both ‘shared locks’ and ‘exclusive locks’ are supported.

Example

Locking a resource

LOCK /article/5 HTTP/1.1
Content-Type: application/xml

<?xml version="1.0"?>
<d:lockinfo xmlns:d='DAV:'>
 <d:lockscope><d:exclusive/></d:lockscope>
 <d:locktype><d:write/></d:locktype>
 <d:owner>Evert</d:owner>
</d:lockinfo>

A successful response to this includes a Lock-Token header.

HTTP/1.1 200 OK
Content-Type: application/xml
Lock-Token: <urn:uuid:e71d4fae-5dec-22d6-fea5-00a0c91e6be4>

<?xml version="1.0"?>
...

If a user tries to make a change to a locked resource, they will get an error:

PUT /article/5 HTTP/1.1
Content-Type: text/plain

New content
HTTP/1.1 423 Locked
Content-Type: application/xml

<?xml version="1.0" encoding="utf-8" ?>
<d:error xmlns:d="DAV:">
  <d:lock-token-submitted>
  <d:href>/article/5</d:href>
  </d:lock-token-submitted>
</d:error>

Unless, they also include the lock-token in the If header:

PUT /article/5 HTTP/1.1
Content-Type: text/plain
If: <urn:uuid:e71d4fae-5dec-22d6-fea5-00a0c91e6be4>

New content
HTTP/1.1 204 No Content

Usage on the web

I haven’t seen a lot of usage of LOCK, UNLOCK and the 423 code outside of WebDAV. However, I don’t see strong reasons against their usage.

A big part that the lock functionality of WebDAV hopes to solve, is avoiding problems with multiple users making updates on (groups of-) resources at the same time.

If you also have this issue, bear in mind that there is a more popular feature in HTTP to deal with this: Etags and the If-Match / If-None-Match headers.

These headers ten

Truncated by Planet PHP, read more at the original (another 1519 bytes)

Community News: Latest PECL Releases (04.30.2019)

Latest PECL Releases:

  • event 2.5.0
    Issue #53: Added EventConfig::setFlags() method. (There was no way to set EVENT_BASE_FLAG_* flags.)

  • uv 0.2.3
    - Fix Windows build - Fix PHP 7.4 build
  • gRPC 1.20.0
    - Added memory leak tests #17862 - Fixed segfault on accessing a closed client #18302 - Added ini settings for fork support #18539 - Fixed fork hang #18558
  • datadog_trace 0.20.0
    ### Added - Force tracing or discarding trace via special Span tag (manual.keep and manual.drop) #409

    Fixed

    • Resource use by caching configuration values instead of processing data on every access #406
  • mysql_xdevapi 8.0.16
    WL#9879: Prepared statement support WL#11983: Support session-connect-attributes WL#12396: Support new session reset functionality orabug #28802543: classes: Driver, ExecutionStatus, Expression, and Statement orabug #28803208: the DocResult prototype appear wrong orabug #28803039: the fields() method seems odd orabug #28805757: how exactly are set() and replace() different?
Powered by Gewgley