If you prefer something the exact same is unavailable in the format that you want then and it's a song or a video you must do a tiny amount of exercise. It a consequence of fact that pill e20, pill e20, pill e20, pill e20, pill e20, pill e20, pill e20, pill e20. together with sending films with your friends, you're unable to exhibit your family movies and test by yourself. Be aware that you may also add new videos to the list while some are being downloaded.
There are a lot of iPod browsers on the marketplace. There's no need and there aren't any Extras for setup. Flash is definitely an Adobe product which allows the consumer to create interactive multimedia.
There's a superb benefit for having dual HDMI outputs as soon as it comes to 3D viewing. There's no SD Card Slot.
You are going to discover a share button on YouTube that lets you share your video into your FB account. As stated in the part more or less all movies possess some type of copyright protection related to them. YouTube is the largest video-sharing site on the web.
As a consequence, you may decrease by picking on a little bit rate the size of your media file. You are going to be downloading and converting and the interface can also be simple to navigate in moments. There was no quality loss during the conversion procedure.
Conversion support and another popular downloading is OnlineVideoConverter, however it usable on account of their excessive ads and limitations. The setup procedure, the tool provides the easiest and quickest way to download YouTube videos. Downloading has turned into one of the tasks of our routine.
Using a YouTube to MP3 converter, it is easy to download your songs onto your private computer in the shape of files. It is the best out of finest if you looking for the very best youtube mp3 converter. You likely know that file versions of exactly the exact same song can have quality if you're using documents for some time.
A copyright is deemed intellectual property, including patents and trademarks. It's a completely free program which enables users download embedded files.
With the youtube converter large number of video formats easily available, but you may have to use a program to convert your video to the filetype that is right. Pick video file you would like to clip. Transparent PNG files might be used.
There's just one USB port and it's situated on the player's region. It is possible to download and convert videos at any moment. The relations are observed at the back of the player including another Port.
Watching movies on the internet is an intriguing thing which makes mover fans glued to their screens. The amount of time between once the video is uploaded and as soon as the movie is publicly visible on YouTube varies. You do not actually have to put in a video nearly all the moment.
Looking for testimonials customer testimonials, and guarantee options are fantastic strategies to make sure that you are receiving the best system that is excellent accessible. Don't be concerned, our service is free. Click Next in case that you agree on the conditions of service.
There's no limitation to convert files you're in a position to convert many you desire. You will have the ability to get the file as it's ready. Well, it has to be converted to some other file type.
The website is live. Because various labels such as Sony Music sue the site however, it is not working now or worse, permanently. There are a couple places from where one can purchase the Apad for an price. While the particulars of the deal aren't public, it seems that YouTube-MP3 is ready to shut down.
Remember that movie is among the greatest trends of the moment and you ought to attempt to obtain the absolute most out of it if you dedicate yourself to marketing internet business or some other profession concerning the world. The fact is 1080p videos may have an normal sound quality. YouTube provides the users to produce their channel where you are able to showcase your talent.
Their final need has been located by the music lovers since they don't take pleasure in the video. The increased part of YouTube viewers want to know more about music. You'll have to spell out the mp3 and the videos to friends and families.
Every song you can picture that has a writer is about Pandora, and you can become much information concerning the song that you never knew you had to know and the artist. You will keep watching one movie till you comprehend all the vocabulary and phrases, or perhaps you change movies. There are many websites available which are going to have the ability to help you convert the movies if Anyone wants to convert YouTube videos to format afterward.
Mp3 to Youtubmp3 Youtubee – Dead or Alive?
The plan will begin downloading the video. YouTube is a video website that is major. YouTube supplies a extensive range of videos.
Patience is all we require from you, since it might take a couple of seconds the MP3 file must be performed and prepared for you to download. You might or might not have heard of Facebook. Is Peggo is the exceptional converter from any connection.
You just have to enter the URL of the video you would really like to convert, and after that click on Convert to immediately convert it. Or perhaps you want to understand how to convert an MP3 from YouTube. There are tons of reasons you may choose to convert a YouTube video.


text:
Global: Corruption Perception Index
Romania: De facto head of the country sentenced to 3 1/...
Malaysia: Former deputy prime minister Zahid Hamidi cha...
India: Lokpal bill to be discussed in parliament next month
Mar 24, 2013 | Bribery, General, Politics | 0 |
24 March 2013. The anti-corruption Lokpal bill will be taken up for discussion in parliament next month after the ongoing one-month recess of the budget session. There Union Minister Narayanasamy said this today. The bill had been passed in the Lok Sabha, and then it went to Rajya Sabha and from there are to a select committee. The government has done a lot of work on this bill said Narayanasamy, who is the Union Minister of Personnel, Public Grievances and Pensions. He said that it was wrong to say that it was Anna Hazare who initiated the Lokpal bill. The governments for the past 30 years have been trying to pass this bill. The bill could not be passed in the past because of lack of unanimity. In answer to a question, Narayanasamy said that the bill will check corruption at all levels of service delivery. All categories of the employees will come under the jurisdiction of the Central Vigilance Commission which can recommend action to the Lokpal.
The government is proposing to amend the Indian Penal Code (IPC) so that action can be taken against bribe givers in the private sector. So far the law only acted against the bribe taker. He noted that the Right To Information (RTI) act has put immense amount of information in the hands of the public. So far the government had dealt with 700,000 applications under the RTI. He added that the e-governance is being pushed to have paperless offices.
Aam Aadmi Party (AAP) leader Arvind Kejriwal continued his indefinite hunger strike against 'inflated' power and water bills in Delhi for the second day on Sunday. He said that the increase in the price of water and electricity was due to a corruption and he claimed that the Congress led government was working hand in glove with the electricity and water companies.
Union Petroleum Minister Veerappa Moily faces corruption charges that a family owned trust was paid donations by a business house when he was union minister for corporate affairs. These corruption charges have surfaced at a time when Karnataka state assembly elections have just been announced.
PreviousSingapore: Peter Lim's Trial
NextMyanmar: Rising drug trade
Sweden: Mother applauds Assange asylum bid
China: Corruption enables trillions to slip out
Italy: Shell and Eni charged with international corruption offences
India: Bengal CID asks Facebook to remove pictures mocking Mamata Banerjee
nine − one =
Maldives: Abdulla Yameen was sentenced to five years in prison
Ukraine: Focus on uprooting corruption
USA: Donald Trump's impeachment battle
Vatican: Cardinal Becciu at centre of financial investigation
China: Is Xi Jinping's anti-corruption campaign a success?
Unites States: Kleptocrat Exposure Act
Brazil: Operation Car Wash collusion between judge and prosecutors
Russia: Anti-corruption journalist Ivan Golunov charged with drug dealing
Nigeria: Jersey authorities to return part of $267 seized from family of General Sani Abacha.
Germany: Volkswagen CEO Martin Winterkorn charged with fraud.
All Country Afghanistan Algeria Angola Argentina Australia Austria Azerbaijan Bangladesh Belgium Bosnia and Herzegovina Brazil British Virgin Islands Bulgaria Burma Cambodia Canada Chad Chile China Colombia Croatia Cuba Czech Republic Denmark Egypt France Georgia Germany Ghana Greece Guatemala Haiti Honduras Hong Kong Hungary India Indonesia Iran Iraq Ireland Israel Italy Japan Jordan Kazakhstan Kenya Lebanon Libya Macau Malawi Malaysia Maldives Malta Martinique Mexico Monaco Mongolia Morocco Mozambique Nepal New Zealand Nigeria Pakistan Panama Papua New Guinea Peru Philippines Poland Portugal Puerto Rico Romania Russia Rwanda Saudi Arabia Serbia and Montenegro (Yugoslavia) Singapore Slovakia Slovenia South Africa South Korea Spain Sri Lanka Sudan Suriname Swaziland Sweden Switzerland Taiwan Tajikistan Tanzania Thailand Turkey Turkmenistan Uganda Ukraine United Arab Emirates United Kingdom United States of America Uzbekistan Venezuela Zambia Zimbabwe Palastine Global Myanmar Vatican

redpajama_set_name: RedPajamaCommonCrawl


Abstract: the fruit of schinus terebinthifolius raddi is a globose red drupe with friable exocarp when ripe and composed of two lignified layers: the epidermis and hypodermis. the mesocarp is parenchymatous with large secretory ducts associated with vascular bundles. in the mesocarp two regions are observed: an outer region composed of only parenchymatous cells and an inner region, bounded by one or more layers of druse-like crystals of calcium oxalate, composed of parenchymatous cells, secretory ducts and vascular bundles. the mesocarp detaches itself from the exocarp due to degeneration of the cellular layers in contact with the hypodermis. the lignified endocarp is composed of four layers: the outermost layer of polyhedral cells with prismatic crystals of calcium oxalate, and the three innermost layers of sclereids in palisade.
Abstract: the etoh extract from the leaves of schinus terebinthifolius showed anti-radicalar potential in the dpph test. it was partitioned between n-buoh:h2o (1:1) and these two phases were also evaluated for anti-radicalar activity. the active n-buoh phase was partitioned between etoac:h2o (1:1) and the active etoac phase was submitted to chromatographic procedures to afford five active phenolic compounds: ethyl gallate, methyl gallate, quercitrin, myricetrin and myricetin. the structures of these compounds were established by nmr spectral data analysis.
Abstract: Schinus terebinthifolius Raddi is a brazilian native dioecious species of Anacardiaceae with a wide geographical distribution and great ecological plasticity. The studywas carried out in a sandbank area, in the municipal district of Florianópolis-SC, from September 2002 to May 2003. Analysis of the flower morphology of both sexes, measures of the inflorescence lengths and widths, counting of the inflorescence numbers per branchs and flowers per inflorescence, as well as the daily number of opened flowers, were all performed with the aim of detecting a probable reproductive dimorphism. The results obtained in the present study demonstrate that the studied plant present diclinous flowers depending basically on insects for pollination. Anthesis occurs always in the morning and the male flower has a duration of only 12 hours, while the female flower remains receptive for a period of more than 32 hours. In the 1st reproductive period of the study (springtime), just 22% of the plants were blooming. In the 2nd period (summer/autumn), 100% of the individuals were blooming. The species presented sexual dimorphism, manifested by the length (t= -12.75; p<0.5) and (t= -11.78; p<0.5) of their inflorescence. However, the similarities between their flowers, added to the synchrony of their reproductive period, the anthesis and availability, in both sexes, seem to attenuate the differences and possibly favor reproductive success through the attraction of floral visitors to both types of flower.
Abstract: the essential oil of schinus terebinthifolius (anacardiaceae) was analyzed by gc and gc-ms. α-fenchene, limonene, β-pinene, α-phellandrene, and β-isosylvestrene represent about 80% of the oil composition. the reproductive toxicity of the essential oil in wistar male rats was evaluated. no changes were observed in the mass of the reproductive organs, number and morphology of spermatozoa, reproductive rates, and the body mass of offspring of male rats after treatment with the essential oil of s. terebinthifolius.
Abstract: essential oils of ripe fruits from schinus terebinthifolius (anacardiaceae), obtained using a pilot extractor and a clevenger apparatus were chemically characterized. due the high amount of (-)- α-pinene in both oils, this monoterpene was tested against the protozoan parasite trypanosoma cruzi, showing a moderate potential (ic50 63.56 μg/ml) when compared to benznidazole (ic50 43.14 μg/ml). otherwise, (-)- α-pinene oxide did not showed anti-trypanosomal activity (ic50 > 400 μg/ml) while (-)-pinane showed an ic50 of 56.50 μg/ml. the obtained results indicated that the epoxydation of α-pinene results to the loss of the anti-parasitic activity while its hydrogenation product, contributed slightly to the increased activity.
Abstract: the effect of soil polluted by diesel oil on the germination of seeds and the growth of schinus terebinthifolius raddi seedlings was analyzed at different times after contamination of the soil. the experiments were conducted under greenhouse conditions, with four treatments and five repetitions. the four treatments included: soil contaminated 30 (t30), 90 (t90) or 180 (t180) days before planting as well as a non-polluted soil (t0) (control). soil saturated to 50% of its maximum retention capacity (mrc) was contaminated with diesel oil at a rate of 92.4 ml per kg. the germination rate and germination speed index (gsi) were significantly affected only in t30. the development of the plants was affected significantly in all the treatments, with reductions of biomass and eophyll area. it could be concluded that diesel oil significantly affected the germination, gsi and seedling growth of s. terebinthifolius, but the toxic effect decreased over the time.
Abstract: the secreory cavities in fruits of schinus terebinthifolius raddi were studied by optical and electron microscopy. these are complex cavities with a multistratified epithelium, surrounding a lumen filled with whole cells and viscous fluid. each cavity is surrounded by two or three layers, radially flattened cells, which will progressively mature into epithelial cells. the secretory cavities initiate schizogenously and develop schizolysigenously. the lumen appears by the dissolution of the middle lamela in a group of precursor cells arranged in a rosette, and widens by the separation of the inner cells of this rosette. the young epithelial cells have dense cytoplasm with large mitochondria, extensive rough endoplasmic reticulum, numerous multivesicular bodies, and modified plastids. clumps of electron-dense material without a delimiting membrane occur the peripheral cytoplasm, periplasmic space, and scattered in the cavity lumen. as differentiation progresses, the innermost epithelial cells are continuously released into the lumen and degenerate. lysigeny of these cells contributes with materials to secretion, also leading to cavity enlargement. optical and ultastructural data indicate that secretion elimination occurs by ecrine and holocrine mechanisms.
Abstract: reproductive phenology, floral morphology and the reproductive system of schinus terebinthifolius were investigated in two physiognomies of restinga vegetation at grussai/iquipari, rio de janeiro, from january to december/2004. schinus terebinthifolius had cornucopia flowering strategy, with two flowering peaks during the year, both in the rainy season; fruit was set in the dry period. morphological analysis of the flowers and pollination experiments confirmed dioicism and obligatory xenogamy in this species. high synchrony between male and female plants occurred, an important strategy for dioecious species. no difference in fruit set was found between natural and cross pollinations in the two physiognomies studied, indicating lower values than those observed in others studies.
Abstract: schinus terebinthifolius fruit contains a single seed that is reniform, with a smooth pale-brown membranaceous seed coat, and a small dark brown saddle-shaped patch. it is an exalbuminous seed and the reserve foods in the cotyledons are proteins and lipids. the ovule is anatropous, bitegmic, crassinucellar with well developed rafe, inserted in an apical-lateral position in the fruit. the outer tegument is continuous with the base of the funicle and has been interpreted as a partially tegumentar funicular obturator. the hypostase is tanniferous and results from the chalazal and nucelar tissues. the presence of remains of the funicle fused to the seed-coat is considered a vestigial aril. the seed-coat has double origin: a partially pachychalazal one, externally evident in the mature seed, as a small dark brown saddle-shaped patch, and another one of tegumentary origin.


text:
Champions Speakers
Corporate Social Responsibility|
Become a Champion|
Credentials|
Clients|
Meet the Team|
Rewards|
Recommend a friend|
FOOTBALLING ROYALTY WHO WON 5 LEAGUE TITLES AND 3 EUROPEAN CUPS WITH LIVERPOOL AS WELL LEADING BLACKBURN TO THE PREMIER LEAGUE TITLE
One of the greatest players in the history of football, Kenny Dalglish is a legend at Celtic, Scotland, Blackburn Rovers and Liverpool. He was the IOC European Footballer of the Season , a Ballon D'or Runner Up and FWA Tribute Award recipient in his playing days, and has since been recognised in the FIFA 100 , which is a list devised by Pele of the greatest living footballers, as well as the Scottish, English and European Hall of Fames.
As a manager he also goes down in history, having won the First Division title with Liverpool on three occasions and the Premier League with Blackburn Rovers, a season which also saw him presented with the Premier League Manager of the Season award.
Publications have also heaped praise of Kenny throughout his career, as FourFourTwo magazine named him as the greatest striker in post-war British football. Affectionately referred to as King Kenny by Liverpool FC fans, the former trickster was to top a 2006 Liverpool fan poll of 100 Players Who Shook the Kop .
Kenny continued the impressive legacy of his predecessors, Bill Shankly, Bob Paisley and Joe Fagan, leading Liverpool to their first double, by triumphing over Merseyside rivals Everton in both the League, by two points and in the FA Cup Final in 1985-86.
Though his second season was to prove fruitless, he would sign the services of Peter Beardsley, John Barnes and John Aldridge, to give Liverpool the firepower for the road ahead. His new look side only lost two games the entire season and were subsequently crowned league champions.
Another all Merseyside FA Cup Final brought Liverpool fans more delight in 1989 as Liverpool secured another memorable double under Kenny. But that year was to bring the club significant distress, as the Hillsborough Disaster occurred, claiming 96 lives. His appearances at funerals and in helping in the aftermath were considered " colossal and heroic " and in 2018 he was knighted for his contribution to football, charity and the City of Liverpool. He would also have Anfield's Centenary Stand renamed The Kenny Dalglish Stand in recognition of his contribution to the club.
Since stepping away from football, Kenny has helped raise millions of pounds for charity, and founded The Marina Dalglish Appeal with his wife to support the treatment of cancer. Snippets from his remarkable personal and professional story has been widely broadcast and written about, and as an after dinner football speaker he is able to captivate audiences of all shapes and sizes. Ideal for speaking on themes such as leadership, teamwork and overcoming adversity, Kenny Dalglish is a must-have football speaker, capable of inspiring any team.
To book Kenny Dalglish as the football speaker for your corporate event, function or conference, simply contact the Champions Speakers agency.
Enquiry Form0207 1010 553agent@championsukplc.com
When at corporate events, Kenny is known to cover the following topics:
Sporting Success
Man-Management
Back to Football
Speakers relevant to Kenny Dalglish:
Liverpool Footballing Legend & Rangers Manager
Jamie Carragher
Liverpool Footballing Legend
Ronnie Whelan
Liverpool Legend & Football Speaker
Business & Motivational
AI & Digital Disruption
Finance & Futurism
Leadership & Peak Performance
Motivation & teamwork
News Presenters & Correspondents
Retail & Business Management
Sustainability & The Environment
Entertainment & Comedians
Comedians For Hire
Entertainers For Hire
Magicians For Hire
Host & Auctioneer
Auctioneers for Hire
Event Hosts
TV & Celebrity Chefs
Reality TV Stars
TV & Radio Presenters
Book A Celebrity Chef
Music Acts
Bands For Hire
Dance Acts For Hire
Book A Celebrity DJ
Solo Artists For Hire
Book This Speaker
Please note we do not accept requests for autographs personal messages or video messages
Would you like to receive newsletters from After Dinner Speakers Agency?
For more information please read our privacy policy
In saying that, I would highly recommend you and Champions too. All your dealings in the process of this booking have been highly professional and extremely helpful to us as we have sought to make a b
The Telegraph have used Champions as a speaker and celebrity partner for multiple years. Whether it be product launches or content for upcoming sporting events, we go to Champions first as the
"Thank you for transforming our event and making it dynamic." Marita, Senior Vice President
Brilliant service from Champions Speakers - Dealt with Jack for a couple of years now in arranging entertainment for my clients events and they have always been brilliant! Highly recommended service a
I'm writing to say a heartfelt thank you to Champions for your magnificent support to raise approximately £18000, which from one night is quite astonishing!
The whole Champions team put in 100% and were very easy to work with. Here's to many more successful nights!
We thoroughly enjoy working with Champions and they are extremely reliable
"With unparalleled access to the best business leaders and sports personalities, not only in the UK but internationally too, they're undoubtedly the best people to speak to if you're looking to create
Champions - you were amazing. And, the responsiveness on very short notice incredible. Having worked with many agencies over the years, I can say from experience, you and Champions are a step above.
They make you feel important- they make you feel like you are the most important client of theirs. Chris Darlington Senior Partner
An extremely trustworthy and reliable company with an amazing caring and professional team representing them. I can not recommend them highly enough! U.S. Bank has been using Champions for celebrity
"Let me thank you again for all your great help up to that point, Looking forward to the next steps." Marwan Benaïssa, Communications Officer, Group Internal Communications, Orange
Barrington House
Leake Road Costock
Loughborough LE12 6XA
London Office:
Top 10 Sustainability & Environmental Speakers
SAS: Who Dares Wins 2020: Who are the Recruits? Who's The Mole? What Happened? Twitter Reaction? Your Questions Answered
2020 Winter Love Island? Line Up, South African Villa, Start Date & Previous Contestants
Copyright © 2020 Champions (UK) plc. All rights reserved.
Terms of use•
For corporate entertainment, tribute bands
and Party bands visit Champions Music & Entertainment.
Book motivational speakers with the
Motivational Speakers Agency
Book Football Speakers with the Champions Football Speakers Agency


3D rendering of a futuristic mean looking robot dog. Dark background.
With the news that 300,000 boys across the globe are living with Duchenne Muscular Dystrophy (DMD), scientists have been genetically editing dogs in the hope that it will help humans who have a muscular condition. The practice isn't without controversy, but the benefits to humanity could be huge. Genetic engineering allows scientists to alter an organism's characteristics by manipulating its DNA.
This can be on the level of a virus, all the way up to mice, sheep and even cows. The aim is to aid the goals of humanity. For instance, pigs have been genetically modified to emit up to 60% less phosphorus than other pigs in order to limit their impact on the environment. Through editing the genes of dogs, scientists are hoping to find a way to eradicate muscular disorders by biohacking human embryos in future.
How are Dogs Being Genetically Modified?
Scientists have utilized a new gene editing technology called CRISPR and have for the first time used it on a large animal – the dog. Like humans, dogs are affected by a muscular disorder known as DMD. By using CRISPR, scientists have been able to hack into the DNA of four beagles and correct the defect responsible for the emergence of DMD. It is thought that the technology may also be able to treat obesity in canines or other serious conditions such as cancer.
The fact that they have managed this feat on such a large animal shows that it could potentially be applied to an organism as complex as a human. The level of pain and understanding that a dog experiences is not too far away from that of a human. When they are living with a muscular condition, it can affect a dog's mental health in the same way that it does for a person. This makes the dog a perfect candidate for testing out cutting edge biohacking before applying it to humans. If it can be shown that scientists can reliably and effectively prevent muscular conditions in dogs, then it is very likely that they can do the same with human embryos.
Not all genetic engineering goes to plan. For instance, Dolly, the first cloned sheep, died when she was just six years old. Scientists are at risk of bringing animals into the world with genetic defects, who experience a life of suffering. However, if they can perfect the gene editing process, then they may be able to reliably create animals which are healthier and protected from disease. It can therefore be argued that the biohacking and genetic engineering experiments that are occurring right now, could lead to future generations of animals that can avoid enormous levels of suffering.
The aim of genetic engineering is not for the welfare of the animals, but rather a means to be able to biohack humans. Once we have control of our DNA, there is no limit to the kind of humans we could create. In these early stages, scientists are looking to be able to identify and remove birth defects. With 300,000 boys across the world living with DMD, gene editing experiments of dogs could mean that no new child is born with such a condition.
However, beyond this there could a future generation of super intelligent babies ready to be born. Once the DNA code is fully cracked, the progress of humanity could be about to take off. With a new generation of super healthy and smart humans, technological and academic progress will accelerate so that humanity can achieve societies currently considered impossible.


text:
The best smartphones and mobile innovations to watch in 2020
Joe Svetlik - 12 December 2019
A 5G iPhone, folding phones, and other breakthroughs to look forward to next year.
2020 is the start of a whole new decade. As we enter the 2020s, smartphone use has never been higher, and the devices themselves never more capable. And they're only going to get better.
The next 12 months will bring a range of breakthroughs, from 5G iPhones, 100-megapixel cameras, the most exciting folding phones we've seen and better performance all round. Here's why 2020 could be the best year for smartphones yet.
5G iPhone
Apple is rarely the first to innovate. So when Samsung and co announced 5G handsets, Apple sat back and waited. And probably rightly so: 5G is only available in a handful of places right now, with only certain phones supporting it. But that could all change next year.
Once Apple gets behind a technology, you know it has a good chance of going mainstream. 5G iPhones would mean many more people were capable of using the technology, fuelling demand, which in turn would prompt the mobile networks to make 5G more available. Hence a 5G iPhone is massive news.
All signs point to Apple adding 5G to 2020's iPhones in September. It's also expected to add an in-screen fingerprint scanner, which would be much more reliable than its home button-based scanner, and a treat for anyone put off using Face ID.
Motorola's first folding phone has already been announced, but won't go on sale until next year. It's styled after the original RAZR from 2004, but with one crucial difference: a folding screen.
Open it up, and the whole inside is taken up by a folding display, which gives you much more screen real estate to play with. That means better gaming, clearer web pages when surfing, emailing and so on, and more immersive videos. It still has the smaller second screen on the outside, which shows notifications, messages and more. That means for certain features, you won't even have to open the phone.
Open it up, and you've got a near tablet-sized device on your hands. But one that – when closed – fits in your jeans pocket.
After the initial excitement, folding phones have had somewhat of a rocky start. The Samsung Galaxy Fold was recalled after it kept breaking, while the Huawei Mate X has been delayed repeatedly. Could the razr be the first truly desirable foldable? Watch this space…
It might seem like the Galaxy S10 only just launched, but the S11 isn't far away. Rumours say it could land as early as February. Smartphone trade show Mobile World Congress starts on 24th February, so expect to see it before then.
All eyes are on the device's camera. Internet whispers say Samsung could introduce a whopping 108-megapixel sensor to the device, which would be quite a step up from the S10's 12-megapixel offering.
The phone is also rumoured to have a spectrometer built in, which would let it determine the nutritional content of food when pointed at it. And you thought people only snapped their meals for Instagram…
Microsoft Surface Duo
Windows-branded phones might not have been a big hit, but that won't stop Microsoft from making more handsets. The Surface Duo puts the Surface computing logo onto a smartphone, but not just any smartphone: one that has two screens that rotate in 360 degrees.
The screens themselves aren't foldable, but you can use the device in lots of different orientations.
So what else do we know about it? It will run Android, though the jury is out as to whether it will support 5G. If it does, Microsoft could have a real contender on its hands. And if it doesn't? It could bring back memories of the failure that was the original Windows Phone.
After decades in the game, Nokia is still going strong, mostly thanks to its low-cost Android handsets and its retro-styled basic range. But its next phone aims to show it can still mix it with the big boys.
The Nokia 10 should pack a dual-lens 48-megapixel camera, a 16-megapixel selfie snapper, and a massive 6.5-inch screen.
Ah, the rumour that refuses to die. Four years on from the launch of the original SE, Apple is rumoured to be launching a successor. But it reportedly won't be as small as its predecessor's 4-inches. With reports suggesting it will measure up at 4.7-inches, it'll be the same size as the iPhone 8.
Inside, it should have the same A13 Bionic chip as the iPhone 11, which would certainly make it more powerful than the iPhone 8. Look out for it in the first three months of 2020.
Better everything
Qualcomm makes the chips that power pretty much every major phone around, so a new processor is a very big deal. Its upcoming Snapdragon 865 boasts a range of superpowers that will give new phones great new features.
Such as? Live translation has been previewed, in which you don't have to wait for the phone's brains to work out what someone is saying. It should boost video quality, make for quicker, easier fingerprint unlocking and better quality calls over Bluetooth speakers and headphones. It'll make GPS more accurate, and aid better performance over wi-fi. In other words, better all round.
Mobile driving licences
One other feature the Snapdragon 865 will bring – driving licenses on your phone. That's because it fulfils the relevant security requirements that US states demand in order to have a digital driving licence. Once it launches in the US, expect it to reach other countries soon.
Samsung Galaxy Buds: everything you need to know
Samsung's wireless earbuds are free when you pre-order the S10.
Samsung Galaxy Fold on EE: Five things you need to know
The future's unfolding on the UK's fastest network.
Samsung Galaxy S10, S10 Plus and S10e: everything you need to know
Tenth-anniversary phones offer reverse wireless charging and better screens and cameras.
Joe Svetlik
Tagged: 5g, android, apple, ios, samsung, smartphones
And it's free for Sky VIP customers.
news - 16 January 2020
Samsung Galaxy Fold: first impressions review
Unfolding Samsung's exciting new smartphone.
reviews - 14 January 2020
Samsung announces S10 Lite
New smartphones are on their way.
Mobile phones for children
Which mobiles are best for children? We take a look.
guides - 19 December 2019
Should you buy a refurbished phone? A complete guide
Refurbished? Reconditioned? Used? We take a good look at the world of nearly-new phones.


In a suburban home, in a dusty dark attic, behind some damp old boxes, in a wooden picture frame lies the key to an adventure only dreams can create, but in Richard Donner's wonderful 1985 ensemble film, the dream is reality. From the imaginations of two of cinema's children-in-peril masters – Steven Spielberg (from Elliot's 'He's a man from outer space and we're taking him to his spaceship!' in E.T: The Extraterrestrial, to Tim and Lex watching a cup of water tremble to the 'thud-thud' of something rather large and nasty drawing near in Jurassic Park, or the fabulous John Williams score unsettling the stomach as Alex Kintner loses his in Jaws) and Chris Columbus (from Home Alone Kevin McCallister, and his defiant 'this is my house and I have to defend it', to Billy Peltzer's 'don't feed it after midnight' pet problem in the Gremlins), the groundwork was set. Throw in Richard Donner, the director of arguably the best superhero action film ever made (Superman) and the film begins to promise so much even before the Warner Brothers logo starts to appear on the screen. The almost iconic opening shot and the sound of the unlocking prison door start proceedings, and while some films promise so much yet deliver so little, The Goonies seems to just keep getting better.
In a small part of Astoria, Oregon, houses are being knocked down and in order for the town's people to keep their homes they have to stump up a hefty fee. A fee none of them can afford, so the kids of some of the families get together on the final day before they have to move home. Gathering at Mikey's (Sean Astin) house, Mouth (Corey Feldman) has the idea of searching the attic where Mikey's Dad keeps museum artifacts, in the hope they could find something valuable. Accompanied by Mikey's brother Brand (Josh Brolin), and friends Chunk (Jeff Cohen) and Data (Jonathan Ke Quan) they begin searching the attic. Chunk finds an old map that supposedly leads to One Eyed Willie's treasure hidden somewhere in the hills of Astoria. Not totally believing that anything is to be found, they're skepticism is put on hold when they find a newspaper cutting of a professional who went looking for this treasure, and never returned. Deciding that they have to do something, even if it is in vain, they set out to find what could be their saving grace. Along the way they band together with Andy (Kerri Green) and Stef (Martha Plimpton), and end up being pursued by a trio of on-the-run criminals out to get the loot for themselves led by Anne Ramsey and her two sons Jake (Robert Davi) and Francis (Joe Pantoliano).
The Goonies works because it has the visual flair, the action, and the inept, bumbling baddies that kids can understand and enjoy, and the sense of adventure, the character camaraderie, and the 'feel-good' sense of hope, that adults can associate with. The nostalgia of this very 'eighties' film oozes from the screen, in a time of class divisions and an ever-growing materialistic America, where the 'American dream' was becoming less than enough. In our less fortunate child-heroes, we are given glimpses of their working class lives – Mouth's father, a struggling plumber, and the small, but adequate family home of Brand and Mikey. Perhaps the fact that Brand has recently failed his driving test, is not just an excuse to throw him into the plot, but strengthen that divide between his girlfriend's rich, sports-car driving admirer, and him, someone who wouldn't be able to buy a car, even if he could drive. How things have changed since every school senior had a car in sixties American Graffiti, or seventies Dazed and Confused. It all culminates to enliven, and flourish the rags to riches tale that this story ultimately is.
The film, from start to finish, thrives on the kids relationship between one another. One of the most exceptional things about The Goonies, is that each individual has a unique core, and the personality of each character is different, though they each share the same ultimate goal. The wonderful introduction of Chunk, has the slightly-overweight teenager forced into a friendly 'truffle-shuffle' ritual to earn his rite-of-passage into the home of his friend, and then, having done the deed, waiting while a bizarre, home-made invention unlocks and opens the gate. Clearly, this sort of 'joke' between friends is nothing new and provides an indication of the bond amongst them, while exampling in material form, the kid's notion that 'there is never anything to do around here', as they certainly have enough time on their hands.
The performances are in no way 'outstanding' from the main young cast members, but they're as good as they have to be. Sean Astin does a decent job of holding them all together, and both Corey Feldman and Jonathan Ke Quan offer some light amusement. Donner allows such performance inadequacies add to the realistic ambience of their characters, and the friendship between them. It is the bumbling baddies though, that stand out, with Anne Ramsey offering another sublime performance at the head of the Fratelli family. Not so far removed from her over-powering, old-dear in Throw Momma From The Train (although she had a little less left in the tank, in that movie), her commanding-officer style parenting stings the funny bone, while her under-appreciated son, played by Robert Davi (ultimate hard-man in front of the kids, but wet behind the ears in front of his mother) whines about his younger brother, played by Joe Pantoliano, always getting better parental treatment. While the trio might not be 'Godfather' material, their Italian heritage becomes a bit of an in-joke, right down to throwing pizza at each other.
The Goonies is a wonderful adventure story, which won't fail to amuse children, however, it is one of those films that has too much delicious detail for simply children to admire. Like such Pixar animations as the brilliant Toy Story 2, A Bug's Life and Monster's Inc, or other live-action adventures like Joe Dante's The Explorers, Ron Howard's Willow and John McTiernan's Last Action Hero, The Goonies offers feel-good escapist entertainment, with enough wry humour, intelligent scripting, warm characters and a sense of optimism to ensure its longevity.
I think the only thing I'll disagree on is how awesome the performances are from the kids. Chunk isn't outstanding? How about the scene where he has to spill it all for the Fratellis? And the dialogue is so rapid-fire yet filled with little kid slip ups. It's perfect. I LOVE THE GOONIES!
Also, everything out of Data's mouth is awesome.


text:
$:.unshift(File.dirname(__FILE__))
require 'spec_helper'
require 'sample_parser'

module Raspar

  describe DynamicParser do

    before do
      @site = 'http://dynmaicparser.com'
      @domain = URI(@site).host

      selector_map = {
        :common_attrs => {
          :desc => {:select => '.desc'}
        },
        :collections =>{
          :products => {
            :select => 'div.item, span.second',
            :attrs => {
              :name =>  { :select => 'span:first'},
              :price =>  { :select => 'span.price'},
              :image => { :select => 'img', :prop => 'src'}
            }
          }
        }
      }

      Raspar.clear_parser_list
      @dynmaic_parser = Raspar.add(@site, selector_map)
    end

    describe '#onload' do

      it "should register DynamicParser to Raspar parser list" do
        expect(Raspar.parsers[@domain].class).to eq(Raspar::DynamicParser)

        expect(@dynmaic_parser.domain).to eq(@domain)
      end

    end

    describe '#parse' do

      it "should parse html and create object" do
        parsed_objs = Raspar.parse(@site, FAKE_PAGE)
        parsed_objs[:products] == 4

        count = 1
        parsed_objs[:products].each do |o|
          expect(o.class).to eq(Raspar::Result)

          expect(o[:name]).to eq("Test#{count}")
          expect(o[:image]).to eq(count.to_s)

          #Price should eval using proc given in option which convert string value
          #to integer
          expect(o[:price]).to eq((count * 10).to_s)

          #External Field check
          expect(o[:desc]).to eq("Description")
          count = count + 1
        end

      end

      it 'should return absoulte url' do
        expect(@dynmaic_parser.absolute_url('/test')).to eq(@site + '/test')
      end

    end

  end
end

redpajama_set_name: RedPajamaGithub


Celebrating its thirty-second season, this remarkable show and sale features a diverse selection of fine American, European and Oriental antiques and decorative art. Antiques merchants from across the country, noted authors, and nationally known experts will be exhibiting and selling their antiques collections. Excellent café dining, coat check and free parking will be available.


text:
Forum location: QI.com Forum Index > The E Series - Research
MatC
153221. Sat Mar 03, 2007 5:46 am
The following dates were all marked on mediaeval calendars as "Egyptian" (ie, unlucky) days:
·	January 1 and 25
·	February 4 and 26
·	March 1 and 28
·	April 10 and 20
·	May 3 and 25
·	June 10 and 16
·	July 13 and 22
·	August 1 and 30
·	September 3 and 21
·	October 3 and 22
·	November 5 and 28
·	December 7 and 22
S: www.wordsources.info/words-mod-dismal.html
153282. Sat Mar 03, 2007 10:53 am
Some more on evil days:
http://www.worldwidewords.org/weirdwords/ww-egy1.htm
Molly Cule
169276. Tue Apr 24, 2007 6:04 am
What is the King's Evil?
It is a disease like TB called Scrofula, which affects the lymph nodes in the neck. In the Middle Ages thought that the "royal touch" could cure it. The first English King who is supposed to have had this power was Edward the Confessor. The French Kings also cured King's Evil by touching it. There was a ceremony in the Book of Common Prayer for this ritual. Usually the person who had been touched would be given a gold coin, like an angel, sometimes with a hole in it so the recipient could wear it around their neck like a talisman.
Queen Anne touched baby Dr. Johnson's neck when he had it in 1712. His coin has St. George and the Dragon on one side and a ship on the other.
Charles II. touched 92,107 persons all together. The smallest number in one year was 2,983, in 1669.
http://www.1911encyclopedia.org/King's_Evil
I thought I'd have a look at different ideas of EVIL from various times and places. Please chip in with further examples. Forfeit for the first one to mention Davros.
Britain's post-war welfare state was based to a large degree on the Beveridge Report, chaired by William Beveridge, a former lawyer and director of the LSE. The Report was commissioned by the government in 1941, and charged with outlining how Britain should be reformed and rebuilt after the war. It was published in 1942, and famously declared that future governments must find ways of defeating the five "Giant Evils" - Want, Disease, Ignorance, Squalor and Idleness. (Cue jokes about students ...)
I have been trying to find - without success so far - a half-remembered list of evils, drawn up by Franco, or perhaps by the Falangists, or the Church, during or before the fascist period in Spain. In my memory it is something like "The Seven Evils Facing Spain," and it includes Communism, Capitalism, Atheism, Judaism ... and some others. Possibly, photographers' monkeys widdling on tourists, but possibly not.
The Three Evils are:
Terrorism, separatism and religious extremism in contemporary China and elsewhere (according to Human Rights watch, http://hrw.org/english/docs/2006/06/14/eca13545_txt.htm)
Corruption, waste and bureaucracy in China in the 1950s.
http://www.marxists.org/reference/archive/mao/selected-works/volume-5/mswv5_17.htm
Covetousness, resentment, and evil-mindedness, to Buddhists.
http://www.rk-world.org/ftp/basic3.html
The Four Evils are:
"To be fond of conducting great affairs, changing and altering what is of long-standing, to obtain for one's self the reputation of meritorious service, is called ambition; to claim all wisdom and intrude into affairs, encroaching on the work of others, and representing it as one's own, is called greediness; to see his errors without changing them, and to go on more resolutely in his own way when remonstrated with, is called obstinacy; when another agrees with himself, to approve of him, and, however good he may be, when he disagrees, to disapprove of him, is called boastful conceit. These are the four evils. When one can put away the eight defects, and allow no course to the four evils, he begins to be capable of being taught." - in Taoism, http://www.sacred-texts.com/tao/sbe40/sbe4015.htm
Conquest, war, famine and plague, in Christianity at the end of the world. . http://www.thefreedictionary.com/Four+Horsemen
The Five Evils are:
Bribery, tax evasion, theft of state property, cheating on government contracts and stealing of economic information, in China in the 1950s.
The Six Evils are:
Wind, cold, heat, dampness, dryness, summer heat: these are the six external causes of disease, also known as the six evils, in traditional Chinese medicine.
http://www.aworldofacupuncture.com/acupuncture-disharmony-causes.htm
dr.bob
Carrying on the theme...
The Seven Evils, according to the Confucian government in Korea, were seven reasons for which a man could "expel" his wife. Known in Korean as "ch'ilgo chiak", these seven evils were:
disobeying parents-in-law
bearing no son
committing adultery
carrying a hereditary disease
talkative to a fault
s: http://www2.hu-berlin.de/sexology/IES/southkorea.html
According to Buddhist teachings, there are eight evils associated with the use of a leaf hut (well, it's news to me!). These are:
1) The great labour involved in searching for materials and in the putting of them together
2) The constant care necessary to replace the grass, leaves, and bits of clay that fall down
3) The liability to interruption
4) The protection afforded against heat and cold renders the body delicate
5) The cover it affords for disgraceful practices (!)
6) The taking possession, saying, "This is mine"
7) To have a house is like having a companion
8) The sharing of it with many others, as for instance with lice, bugs, and house-lizards
s: http://www.bartleby.com/45/3/101.html#noteFN271
Oh, I love that, Bob. Looks like a list drawn up by a husband for not having to do the jobs on his wife's list of jobs for him to do (because he hasn't found a reason to expel her yet).
What's the highest number of "Evils"? I'm up to fifteen so far (St Paul, I think). If there was a number missed out, we could invite the panellists to come up with their own list to fill the gap.
eggshaped
170450. Sun Apr 29, 2007 3:05 am
Illegal immegration blamed on Satan:
Utah County District 65 Chairman Don Larsen has submitted a formal resolution to oppose the devil's plan to destroy the country
Heh - I came upon that picture yesterday too! :-D From one of Garrick's links, I think...
170598. Sun Apr 29, 2007 12:48 pm
Don't forget the Axis of Evil.
QI.com Forum Index > The E Series - Research


Hi Nancy, nice to hear from you!
We used to live in Zwanenburg, very nearby Osdorp.
My hubby worked at Schiphol, at the Air Traffic Control.
But since he retired we travel fulltime in our motorhome through Europe and Morocco.
Yes, this is a bit boring, sipping, walking and sleeping, but soon you will burst with energy!
I followed the "clear liquids, thicker liquids, pureed foods, soft foods, solid foods" rule.
It just felt better for me somehow.
I wish you continued succes with your sleeve!
And thanks for messaging me!
How are you doing? Long time no see.
Hi Shannon, welcome here. My advice would be to educate yourself as much as you can. Read, learn and ask many questions. Good luck!
Whoop whoop! Postergirl for WLS!
I hope Sandra comes along. Her wisdom and knowledge is very needed here.


text:
You are here: Home » Property News >> Industry buzz » Sobha invites expression of interest for Dubai project
Sobha invites expression of interest for Dubai project
Editor | September 6, 2016 @ 11:23 AM
Sobha Group Invites Expression of Interest for upcoming 'Hartland Estates - Town Houses' at Sobha Hartland. The largest and only Townhouses in the heart of Dubai and along the Water Canal Dubai.
Sobha Group, the leading premium real estate developer, is inviting expressions of interest for its forthcoming Townhouse community at Sobha Hartland – the largest and only townhouse project in the heart of Dubai and along the Dubai Water Canal. The resort-style luxury housing project, encompasses 8 million square feet of freehold community in Mohamed bin Rashid Al Maktoum City. Its close proximity to Dubai's top attractions makes it a soughtafter project. With special focus on lavish space and privacy, the Townhouses at Sobha Hartland will be spread across three floors and each unit will be of 3300 square feet. Phase 1 of the Townhouses will comprise of 27 units.
The Townhouses are set in the most scenic views and marvelous settings with colorful gardens and lush parks sprawled over 30% (2.4 million square feet) of the community. The design and planning of the project is such that each Townhouse will be diagonally arranged from its neighbor for extra privacy both indoors & outdoors. Investors will have an option of either choosing the surrounding greenery of a corner unit or the intimacy of a middle unit. Special Launch prices & payment plans are offered during Cityscape The Townhouses in Sobha Hartland will feature uniquely staggered versus flat row arrangement with private road access for added privacy. Sky roof, walk-in closets, solar panels, choice of home automation, option for private lift and state-of-the-art facilities to bolster a warm sense of belonging in this community within the community. WIth a wide selection of world-class amenities, such as international schools, nurseries, healthcare facilities, swimming pools, tennis courts, yoga centres, gyms, playgrounds, and parks just a stroll away; there will never be a dull moment in the community. Mr. PNC Menon, Founder and Chairman, Sobha Group, said: "With the foreign investments to the tune of AED 57 billion in the first half of 2016, the Dubai property market continues to be the preferred investment destination for more than 149 nationalities.
Dubai offers a range of exciting projects that caters to every need and fancy of the investors. Sobha Hartland, surrounded by 2.4 million square feet of greenery and set along the Dubai Water Canal, enjoys the unique advantage of prime location backed by over 40 years of expertise. With Hartland Greens, waterfront villas, and now Hartland Estates –Town House community, Sobha Group continues to set a benchmark in offering world-class bespoke living experience. We have just been recognized by as one of the Top Real Estate Companies in the Arab world for 2016 by Forbes Middle East."
About Sobha Group
Sobha Group is a multinational, multiproduct group with developments and investments in U.A.E., Sultanate of Oman, Qatar, Bahrain, Brunei and India. Established in 1976 by a first generation Indian entrepreneur, PNC Menon as an interior decoration firm under the name of Services and Trade Company in Muscat, Oman, the group has grown into one of the most respected names in all the countries in which it has established businesses. The organisation is one of the fastest growing and foremost backward integrated real estate organisations in the region. It means that the company has all the key competencies and in-house resources to deliver a project from conceptualization to completion. Sobha is primarily focused on residential and contractual projects. The Company's residential projects include presidential apartments, villas, row houses, super luxury & luxury apartments, plotted developments and aspirational homes. The company is currently developing Sobha Hartland, a mixed-used development in the centre of Dubai.
Priyadarshini Roy, Manager, Sobha Group
priyadarshini.roy@sobha-me.com


text:
Q: Evitar que o navegador preencha o campo email e senha Quando adiciona no type de uma input o valor password e email o navegador muda o background deste input para a cor amarela e preenche os dados do usuário automaticamente. Existe uma forma de prevenir este evento:

A: Essa cor amarela até onde sei a padrão do Chrome e vc consegue removê-la assim:
input:-webkit-autofill {
    -webkit-box-shadow:0 0 0 1000px #fff inset; /* muda o background color */
    -webkit-text-fill-color: #333; /* muda a cor do texto*/
}
input {
    background-color: #fff;
    color: #333;
}

Sobre o autocomplete vc pode tirar do form inteiro
<form autocomplete="off">
...
</form>

Ou direto no input
<input type="email" autocomplete="off">

Sobre o <input type="password"> nele o autocomplete="off" não vai funcionar para o Password por uma questão do engine do próprio browser. Exestem outras repostas a respeito disso. Uma forma de resolver é tendo 2 campos de password. O primeiro vc coloca display:none. O Browser em alguns casso só preenche o primeiro campo de password, então o segundo que estará visivel e vai ficar vazio...
OBS: Vc também pode fazer uma validação em duas etapas como o Google. Primeiro vc pede o e-mail e faz a validação, depois na próxima etapa vc pede o password. Assim o campo password não fica visível logo de cara pro usuário, e só aparece depois de validar o e-mail.

redpajama_set_name: RedPajamaStackExchange


text:
Note of comment on the Address of the President of Uzbekistan to the national Parliamentary Assembly
1. The 2017 Presidential Address to the Parliament of Uzbekistan and its political impact
For the first time since the creation of the new Republic of Uzbekistan, on 22 December 2017 the President of this country , H.E. Mr. Mirziyoyev, issued a Presidential "State of the Country" Address to the Parliament. By this formal and unprecedented initiative he seized the opportunity to highlight the positive socio-economic results achieved by the Government and the country in 2017. He also made explicit references to some constraints and challenges still facing the Country in its drive towards reform, modernization, diversification and more administrative efficiency. He indicated new orientations and concrete priorities for 2018 and he called for a more direct dialogue between the Government and the population. At last, he insisted very much on the need for the national Parliament to undertake new initiatives to improve dialogue with the population , achieve more openness, efficiency and transparency and provide more effective legislative support to the on-going reform process.
The political, far-reaching impact of this gesture should not be underestimated. This annual Address could become an important event for the whole region and it could even be imitated by other leaders of the neighbouring countries in Central Asia.
Under the new leadership of President Mirziyoyev Uzbekistan has undertaken more decisive steps towards ambitious objectives of democratization, openness, trade integration and market-based economic reform. The fact that the new President has decided to address the national Parliament is, in itself, a clear evidence of a new leadership's determination to engage the Government and other public authorities at central and local/district level in a constructive dialogue with the population of Uzbekistan, its elected representatives and other main components of the Country's society.
The construction of a new and more inclusive democratic society and more sustainable, open, market- oriented and inclusive growth model and long-term investment strategies (and relative re-allocations of public expenditure) will be successful only if the Government ensures public "ownership" of reforms, systematic cooperation, popular support, long-term public and private engagements and an equal distribution of the benefits stemming from this transformation process.
There is a sense of urgency as regards the implementation of this ambitious transformative policy agenda. Time is running out and concrete results of this adjustment process are now needed and they should be shown by now. There is a widespread awareness that much more needs to be done to cope with new challenges and overcame the resistance of deeply entrenched vested interests of old bureaucracies and oligarchies. Public opinion's full support is needed, particularly in view of a second round of economic adjustment in the next two-three years which would need a firm steering and a general consensus and which could bring about additional significant economic and social costs.
By directly addressing the elected body of Uzbekistan, the President also expresses his attachment to democratic principles. He projects a profile of an accessible, innovative and reliable Leader "who cares", who is in a "listening mode" towards the people's needs and who is committed to render the Government and the administration accountable and liable to the people. At the same time, through this new manifestation of direct democracy the President would increase also his legitimacy, he would become more influent in the domestic scene and he would also raise its political profile among its partner countries in Central Asia and internationally. He could be the originator of a Central Asian "Renaissance" with a positive impact on society, economy, culture, art, national and regional security and international relations .
2. The main messages of the 2017 Presidential Address
In general terms the Address is well balanced and realistic. On-going reforms now need to deliver concrete results and people now need to perceive their positive impact on their living standards and welfare. The Presidency and the administration are responsible for the positive outcome of this systemic transformative process. A risk needs to be avoided that transition lasts too long, that outcomes are not decisive or sustainable and that a "reform fatigue" prevails, further delaying a deepening of the on-going reform. Violent social opposition and unrest may erupt and radical Islamic tendencies may emerge. In his Address the President duly emphasised the positive outcomes of the first year of his Presidency (2017) but , at the same time, he also stressed some "most critical and pressing issues of political, socio-economic and democratic development of the country" which would deserve more attention, corrections or improvements .
The Presidential Address is divided in two parts. In the first part of it – focusing on 2017 accomplishments – the President mentioned that the country has embarked on a new stage of development and systemic transformation. This reform drive will continue and intensify also in 2018, by encompassing various dimensions : economy, finance, governance, the role of the State in the economy, investment strategies, competitiveness, productivity, innovation, capacity building, training/education and administrative efficiency. In this context he brought some examples of positive outcomes mentioning specific events, facts and figures referring to the accomplishments of the Country in the field of societal changes, industrial investments, the economy, finance and legislation.
The year 2017 was defined as a "Year of Dialogue with the people and of Human Interests". "The Human interest comes first", he stressed at the last UN General Assembly in New York. In this respect the Government and the Administration are seeking to reconcile public and private interests through an open, transparent and direct civic dialogue thereby the Public Authorities are listening to the grievances and the needs of the people. In this respect the President stressed that the Government and the public bureaucracy need to be "at the service of the people and not vice-versa". Encouraging people's direct access to the authorities is a sign of good governance and an evidence of a Government interest in dialogue and innovative ideas coming from the various components of the society, open to criticism and ready to concretely implement democratic principles. According to the President, these "access rights" granted to people , no matter their race, income level and social position, should become the norm by using specific e-portals open to questions, comments, suggestions and constructive criticism.
To increase administrative efficiency and public scrutiny and avoid corruption, public managers are now personally accountable to the people. This is another example of a sound administration focusing on personal responsibility, concrete outcomes, performance assessments and evaluations. On the economic sphere some first steps have been undertaken to implement effective reforms. Also these economic reforms now need to deliver concrete results.
On the other hand the second part of the Address focuses on the political and economic agenda which is expected to be implemented in 2018, the "Year of support to active Entrepreneurship, Innovation and Technologies". The policy agenda, as a key priority, aims at improving legislation and enhancing the performance and the efficiency of the Government and administration. He also expects that the Members of the Uzbek Parliament become more involved in the reform process by approving new legislation and trying to anticipate new needs of citizens at regional, district and very local level .
The President's strong appeal for more administrative efficiency and more direct dialogue with the Country's various realities and people's organizations reflect one concern and one new priority in the legal, regulatory and economic governance of the country.
First of all, the President is concerned about the risk that the MPs are perceived by the people as either clearly inactive or inefficient, too distant or too bureaucratic, their role being limited to a simple approval of Executive Orders or Presidential decrees. In this Presidential republic the risk is that the President is left alone to act, not duly supported by other executive and legislative bodies. Providing strategic orientation and guidance, managing public affairs and a complex reform process should imply a team spirit, a higher public involvement, risk burden-sharing, collegial decisions and a broad popular consensus. Acting "in isolation" through top-down decision-making processes is no longer a politically acceptable and sustainable option, especially if the Country wants to appear democratic, accountable and inclusive not only formally but also in substance, A democratic President is expected to report to the Constitution, the Parliament and the people. This may improve the Country's democratic profile and image domestically, in the region and in the rest of the international community, and become a reference for the group of moderate and tolerant Islamic countries undergoing their own domestic reform and transformation/modernization processes.
Furthermore, in view of future difficulties and risks (including a rising double digit inflation forecasted in 2018, mounting doubtful or non-performing loans by banks to loss-making public enterprises and declining capital- labour and agricultural productivity and competitiveness), the President is also concerned about the need to ensure full political support and ownership of the reform process , and to share relative risks. Some unpopular decisions may be required in 2018 and beyond in order to consolidate a smooth, sustainable and accelerated reform and growth process .
To gain consensus and fill a growing gap between administration/bureaucracy (upper class of high- income public officials) and the civil society representatives and members (many of them low- to-medium income citizens) , decision-making should be decentralized as much as possible to increase the efficiency and effectiveness, performance and concrete impact at very local level.
Summing up, long-term sustainability of the reform process, a more decisive and concrete implementation of a new round of reforms, dialogue with the different segments of the national public opinion and society and accountability of public authorities are the key priorities for the Presidency's political agenda.
3. Need to tackle new issues and better explain them to the public opinion.
The 2017 Address is rather comprehensive, encompassing governance issues, economic and social affairs and the country's position in regional and international relations and multilateral fora. It is also mainly an Address directed towards a domestic public of elected personalities and audience. However some key issues should deserve more attention and they should be more clearly explained, particularly if policy credibility, public accountability, transparency and policy/reform ownership-related objectives are to be achieved. The Presidential Address makes a reference to the need to speed and deepen the reform process. This is a good signal in itself but the impact of the whole message would improve if more details are provided on the type of reforms needed at this stage, frontloading the monetary and currency reforms taken last September, their timing and sequencing. In addition some efforts should be made to try to quantify the costs of these reforms and the sources of finance from the national budget, possibly taking into account a medium-term financial perspective (3-5 years ).
In addition , while promoting dialogue with the civil society , the Presidential Address would have more impact if it makes a more explicit reference to public policies required to tackle poverty (especially in rural areas where the bulk of low-income population is living) and a growing social inequality .
As regards pro-poor public policies and fighting social exclusion, the Presidency should put more emphasis not only on the income-side of poverty but also on other life quality indicators such as access to water, electricity, health, education etc. (once again by focusing on rural areas where per-capita socio-economic indicators are well below the national average). Emphasis should also be put on the protection of minorities, the rule of law and "Women as entrepreneurs".
Another area where further improvements are needed is the quality of national statistics to correctly monitor the evolution of macroeconomic indicators and CPI inflation, the country's economic performance and the evolution of social indicators having an impact on living standards. Commitments in this field were taken on occasion of the IMF Country visits in July and November 2017.
The Presidency also could be more explicit on regional integration strategies and processes it intend to pursue with its strategic partners in Asia, on account of the Country's ambition to become a "hub for regional integration". Presenting the positive outcomes of the regional Summit in Samarkand in November 2017 under the UN aegis (with some follow-up in 2018) could be a good occasion for the Presidency to explain, for instance, the active role played (and progress made) by Uzbekistan to enhance regional security, fighting terrorism, checking drugs' smuggling and organized crime, strengthening border controls and implement international conventions on terrorism finance, money laundering, illegal migration, decent jobs, children' labour , social and environmental protection , SDGs, climate etc.
In a regional integration perspective cross-border inter-connectivity is expected to play a key role. This should focus on joint water management, joint management of electricity grids, transport systems, pipelines, joint exploitation of natural resources, creation of internet networks etc . Investments in inter-connectivity may be one of the main driving factors in the development and regional integration process in Central Asia. In this respect the Address should shed some light on what would be the sources of such massive investments required to enhance regional integration in Central Asia. China may provide a substantial amount of investments through its "One Belt-One Road" (OBOR) strategic investment programme linking China with Europe through Central Asia. The rest could be provided by banks, including the EIB and the EBRD.
The EU (which should be mentioned by the Presidential Address) may also provide some funds under its budgets and financing facilities for Central Asia, in the framework of the Multiannual Financial Framework (MFF) for 2020-2027. These European grant funds should be directed to finance Technical Assistance, feasibility studies or national or regional master plans. EU grants may also have relevant leverage effects on the mobilization of international bank's loans and other private investments. Foreign investors may channel further FDI towards this region if markets become more integrated, political stability is ensured, governance and financial transparency improves and exchange rate risks are minimized and the business climate improves in the region.
The 2017 Address makes a reference to the Art VIII commercial convertibility of the national currency (the Som), FOREX liberalization for residents, the unification of the exchange rates and the double devaluation of the Som which took place in September 2017. These reforms need to be completed by strengthening the instruments for indirect monetary management by the Central Bank of Uzbekistan. The CBU should also become an independent body, in charge of reserves' management, bank supervision, implementation of prudential requirements under Basel II and III and , with the Treasury , it should be involved in the reform of the Country's financial system and the privatization of banks.
The Presidency should also better explain the impact of these reforms. On the positive side they will allow an easier access to foreign currency by residents (enterprises, individuals ) and, on the other hand , they will increase the external competitiveness of national exports .
However, on a more problematic side, the two massive currency devaluations decided last September would fuel new inflationary pressures (as imports will become more expensive), thereby tight fiscal policies would be required in the next few months to rein in inflation and keep price levels manageable (however, rising interest/refinancing rates to 14 % will penalize investments and will lead to credit rationing for private enterprises and SMEs) .
Moreover, more expensive imports following two consecutive devaluations of the national currency may jeopardize the Government's objective to import more innovative know- how and high- tech hardware to support industry modernization and productive diversification. The Som devaluation may also trigger other competitive devaluations in the region. New protectionist measures may be adopted by the Uzbekistan's main trading partners in the Central Asian region. In this respect the Government objective to liberalize international trade and attract more FDI may become difficult to achieve. But a more open trade regime would be necessary to achieve sustained economic growth in the medium-term, create new employment, reduce poverty and channel investment to competitive sectors.
Tight fiscal policies may have a negative impact on private investment, thus creating a major obstacle for job creation by SMEs and the implementation of labour market reforms.
Another issue that needs to be addressed refers to a progressive price liberalization as a major incentive for better public resource and economic factors' allocation and sector productivity and as a main signal for investment decisions and profitability for enterprises.
More light needs to be shed on Government's intentions to reduce the public role in the Uzbek economy through privatizations, commercialization of state-owned enterprises, their listing on national or international Stock Exchanges etc. State-owned enterprises and banks need to be privatized and this painful but necessary process could be implemented by a National Privatization Agency as it was the case in Hungary, Poland the Czech Republic and other adjusting countries during the 1990s and in THE early 2000s in Europe and the rest of the world.
More could also be said on concrete initiatives and steps to improve business climate for national and international investors and specific legislation required (beside the creation of pilot Free Economic Zones) to attract FDI in areas outside gas, oil, petrochemicals and mining.
The Presidency should not overlook the reform of the agricultural sector (and the cotton industry more specifically). This should deserve a great attention in any country planning, investment strategy and modernization/diversification process , on account that :
a) a large size of poor people live in rural areas and in the agricultural sector,
b) cotton is a primary commodity for Uzbekistan , one of the largest producers and exporters in the world, and
c) there is still a prevailing centralized role of the State in this sector, thus creating major economic distortions, fund misallocation and acting as a disincentive for small farmers (and their state cooperatives) to increase investments , innovation, crop diversification and productivity. Rural incomes continue to be still very depressed and poverty in rural areas is quite widespread.
The old centralized Soviet production, pricing and marketing model in this sector is still prevailing and the Presidency should clearly define concrete ways and means to reform it as a key priority.
The Presidency should also mention underlying risks which may negatively impact the reform programme by postponing or derailing its implementation, increasing economic and social costs of adjustment and changing sequencing, priorities etc .
To avoid these risks a strong evaluation, impact assessment, risk analysis tools and monitoring instruments and mechanisms will be required to ensure that transition will not last for too long and brings benefits to be shared among all. A strong international technical assistance may be required to advise the Uzbek decision- makers on strategic orientations , priority setting and timing and sequencing for the implementation of next round of reforms. Modern methods of monitoring and evaluation would be needed. It would also be necessary to sharpen policy analysis in selected sectors (water, energy , transport, agro-industry etc ). Civic participation should also be strengthened to ensure full popular ownership of the second phase of the reform process leading to substantial structural changes of the economic and growth model of the Country.
Further reflection would also be needed on State governance issues. As said, the second part of the Address focuses very much on the administrative reform and a more active role of the Parliament in the decision- making and legislative process. The President advocates a more direct dialogue with the citizens as a sign of a more democratic consultation process with the Uzbek society, However, by so doing, there is the risk is that the Parliament (which is a democratically elected body) is definitely sidelined and eventually become irrelevant unless directly and actively involved in this direct dialogue process.
Also attributing to the people to right to initiate legislation would require some further interpretation. In a modern parliamentary democracy the Parliament (and the political Parties composing it) is at the center of law-making processes, political debates between a ruling majority and opposition Parties and law implementation, political control and supervision.
The Parliament is also in charge of the policy formulation and implementation. People intervene in the political debate by actively participating in the life of political Parties or through periodical elections of their representatives. This is the essence of a modern representative democracy. Candidates belonging to Parties (or civic lists) are elected in function of their programmes and electoral manifestos or proposed policies. In addition groups of citizens may start a referendum to push to Government to adopt a new a new legislation or to reject a new law. They may also start a class action against a Public authority. But they are not "legislators" or "initiators" of laws , as the 2017 Address seems to suggest.
If the political model adopted by the Country is a Presidential democracy , rules and power-sharing between the elected President, its PM, the Cabinet and the other Public functions need to be well defined and clear checks- and- balances need to be put in place to ensure effectiveness, avoid conflicts of interests or overlapping, and ensure a correct division of labour. If this does not happen there is a risk of an arbitrary, authoritarian leadership and top- down legislative processes, with a limited role of the Parliament (mainly a "rubber- stamping" institution) .
In this respect a Presidential democracy may lead to a progressive demotivation and disengagement of the rest of the political representation and other organs of the public administration, further inefficiencies, opaque chains of command-and-control of political or legislative action, lack of accountability, release or transfer of ownership from one administration to another and, eventually, to corruption, and mismanagement. In this kind of direct democracy, to be effective, control functions should be implemented by independent public institutions such as the Central Bank, the Court of Auditors, the State Council, an independent statistical Office, and free and independent civil society organizations, trade unions, press and media.
The 2018 Address could launch a collective reflection on these governance issues , quite crucial to define the future, most efficient form of Government for Uzbekistan.
Andrea MOGNI, Senior Associate, European Institute for Asian Studies


Havana City, surrounded by the Harbor of Havana or "Port of Carenas"; named like this by the Spanish conqueror Sebastian Ocampo in 1509, is located in the northern coast of the western region of Cuba and it is extended over 740 km2. The population is compound by 2 million inhabitants approximately. It is characterized by plain lands and small hills. Besides, it is the Capital of Cuba so there is a high level of urbanization and the endemic vegetation does not represent a significant contrast.
Private guide for all the activities.
1 hour of wifi free per person at the arrival.
1 bottle of water of 1500 ml per room daily.
Transportation for the activities that require it.
Transfer to your Casa Particular and check in.
Your first chance to try the nice taste of our cuban food.
After dinner you will have the night free to rest from your trip and get ready for the activities to come.
Inwalls Havana or Old Havana is the most ancient area in the city. The village of San Cristobal de La Habana, founded in 1514, from the XVII century until mid of XIX was surrounded by a wall as a protection from the attacks of the corsairs and pirates. Inside this zone of 4 km2 we can find the group of buildings that constitute one of the treasures of Cuba and Latin America. It has 88 monuments of great historical value, 86 monuments of environmental value and 178 harmonic edifications keeping like this the most representative architectural and urban collection from the colonial period. This is the reason why the city was proclaimed as a Cultural Heritage of the Humanity by the UNESCO in December in 1982.
Experience a panoramic tour ride in a 1950's American classic car.
.Dinner at a local Paladar.
Canyon shooting ceremony at 9 pm.
Acclimatized upon the XVIII century it consists in a canyon shoot right at 21 hours local time from San Carlos de La Cabana fortress that, together with the Castle of Los Tres Reyes del Morro, stands by the entrance of the city and the main harbor of the Island. In times of the colony it marked the "toque de queda", time for the Wall of the city to be closed and no one could enter or leave from the Village of San Cristobal de La Habana.
Rural community in Sierra del Rosario in the province of Artemisa. With wonderful landscapes of great natural and cultural value, the locals promote a plan of management directed to the sustainable use of its resources because there are many places where you can enjoy the culture of the place with a colorful way peculiar from the locality and taking us to fall in love with its green magnificence.
Free night to enjoy by your own.
Short view of the city.
With 30 km long from which 22 belong to the beaches, Varadero is in the province of Matanzas to the western part of its harbor. It has the best beaches in the Caribbean and all over the World.
Free day to enjoy by your own at the beach and a walk in the city.
Lunch and dinner at a local Paladar.
Short walking tour in Matanzas City.
Known as "The City of the Bridges" because it keeps 29 of these architectural pieces, Matanzas City is the main municipality of the province with the same name. Founded in 1693 it has 28 km2 long and it also guards wonderful monuments of a great historical and cultural value.
Free afternoon to enjoy by your own.
Farewell dinner at a local Paladar.
Rates per Person base on a double occupancy.
Children until 2.99 years free.
Children from 3 to 6 years 50% discount.
You can modify the Schedule of any activity of your choice within the same program and also suggest any other that you wish too add. Always with previous coordination with the agency.
Groups with 4 adults receive a 10% discount per person.
Groups with 6 adults receive a 10% discount and an extra night free in Havana.


text:
Arts of Asia Magazine
Robin Markbreiter, Publisher and Editor
I am now looking forward to several spectacular and enjoyable art events in the months ahead, and would like to mention two shows in particular. Oliver Hoare will be presenting a new edition of "Every Object Tells a Story", a public exhibition on view from May 4th to July 5th, 2017 at 5 Cromwell Place, London. The exhibition comprises approximately 400 unusual and interesting objects spanning five millennia that represent multiple civilisations; each has been carefully selected on the basis of its backstory and historical interest.
Highlights include a 13th century silver drinking vessel bearing the seal of Mongke Khan, grandson of Genghis Khan and ruler of the Mongol dynasty at its peak; an exceptional group of objects from the Indus Valley civilisation, probably the finest in private hands; a silver skull pomander believed to have been owned by King James II; a rare group of votive figures from ancient Bactria; a 2000-year old Mexican stargazer; and there are also sections dedicated to magic, sex, myths, meteorites and unicorns.
Click to read complete article


Town of South Cle Elum is located at the address 523 Lincoln Ave in South Cle Elum, Washington 98943. They can be contacted via phone at (509) 674-4322 for pricing, hours and directions.
For maps and directions to Town of South Cle Elum view the map to the right. For reviews of Town of South Cle Elum see below.


When I started my career in UX, I was brought onto the task of improving our user onboarding experience. I spent quite a lot of time reading articles about this "magic moment" that people experienced, a term coined the Aha moment.
The Aha moment is the point at which your user has accomplished the core and basic functionality of your application, and understands not just how it works, but how it will improve their lives (Weiss, Hackernoon).
At one point while I was reading, I realized that we all experience our own version of these Aha moments throughout our lives. Experiences that are memorable, insightful and stick to us "forever".
This made me think of UX.
What has always been an interesting topic of discussion is how diverse UX is as a field. You could be a professional gymnast, stumble across UX at the age of 40 and then decide to pivot. It's not something you hear about too regularly in other fields. It's also not exactly the easiest field to explain to other people as you're making that transition (sounds familiar, doesn't it?).
The question now is… how did you end up here?
What was that one moment where you realized that UX meant something more to you?
— What was your Aha moment?
Of course this applies to all occupations and pursuits alike. It's one of my favourite questions to ask someone. I find that this is where I get to be a part of another person's journey and self-reflection. I get to take the backseat as a listener and learn a little bit about what drives them.
You didn't ask — but here's the story of my Aha moment into UX design and why it excites me each day.


text:
The Yale Chalkboard Rebellion of 1830
BY Anna Green
When a new teaching device—the chalkboard—arrived at Yale University in the 1820s, it didn't receive an especially warm welcome. In fact, it actually incited a rebellion.
What is now seen as a taken-for-granted classroom staple was once the object of intense controversy because it changed the way students were expected to learn mathematics. Students at Yale in the 1820s were accustomed to using their textbook as a reference when they solved problems. According to Smithsonian, the introduction of the chalkboard meant that they were suddenly expected to solve problems at the board, without the help of their books.
The scholars did not embrace the new challenge. Instead, they complained that it was unfair, especially when applied to a particularly tough section of their geometry curriculum: conic sections. And so, in 1825, the Yalies launched the first "conic sections rebellion," insisting that the old teaching style be restored, their textbooks returned, and the blackboard reserved for less complex material.
Out of a sophomore class of 87 students, 38 refused to solve problems at the board, and were suspended. It wasn't long, though, before the rebellious students backed down, succumbing to faculty and parental pressure and signing a formal apology, which read:
We, the undersigned, having been led into a course of opposition to the government of Yale College, do acknowledge our fault in this resistance, and promise, on being restored to our standing in the class, to yield a faithful obedience to the laws.
But that wasn't the end of the battle. Five years later, in 1830, a second "conic sections rebellion" was launched by 43 Yale students—among them future physician Alfred Stille—who refused to take their math exam. This time, the students refused to give up, but the university wasn't about to let the students win: After negotiations failed, the school expelled all 43 students, ending the great rebellion in one fell swoop.
And those weren't the only moments of discontent on campus. The 1820s and '30s were tumultuous years for Yale University. In addition to the 1825 and 1830 "conic sections rebellions," students in 1827 also launched a "great bread and butter rebellion," against the quality of food served in the cafeteria. One college historian writing in the 1870s called it "an uprising against the authorities of the college that for persistency and violence, and the numbers engaged in it, has, we believe, no parallel in the history of American colleges."
[h/t Smithsonian]


The official Mommy Bootcamp Page! We offer fitness classes for moms at all stages of the game!
We are Mommies just like you with a passion for fitness and our families. With over 20 years in fitness instruction, we are proud to bring the best of the industry to you. Each workout is led by 2 certified instructors. Our experience and flexibility allow us to accommodate all levels of fitness from new recruits to seasoned veterans.
Try a class for FREE today!
Mission: We strive to provide exciting and challenging fitness classes designed for Mommies at all stages of the game. We invite you to bring your baby or toddler and Be MommySTRONG! Try a class for FREE at any location! *Let us know if you want MBC near you! Contact us at 571-214-MOMS (6667).
Keep your kids moving this summer with you! Join us from Facebook each morning for a FREE 50 Day Family Fitness Challenge! Just check out our Studio Pink Fit page each morning starting tomorrow (Tue 6/13) for the daily challenge. It runs until 8/1 and all the exercises are designed to be completed quickly in your home, hotel room, park, poolside, etc! There's no equipment required. We start simple and then increase the workload until you're feeling like a true Amazon ... you had to see WonderWoman to get that one! Here's to keeping our kids moving and setting a great example!
Get a great workout led by the area's best bootcamp instructors AND bring your baby with you! Classes offered in Ashburn, Chantilly, & Springfield.
FitMom = HappyMom = HappyBaby!
Mommy Strong All Day Long!
Here's to staying MommySTRONG all day long! #beYOUtiful even when you are tired!
WHOA! This video by Coffee Blocks totally made my heart explode, my tears jerk, and my soul inspired!
For all my Lady Boss Mom's out there - this ones for you!
Are you snowed in our looking for a fun at home workout? Try our Spell-it-Out & Work-it-Out exercises. Spell out your FULL name for the workout. Get the kids involved by doing their names and helping count. It's an educational workout too!
*BONUS: Spell-out "Mommy Bootcamp" ... now that's a lot of cardio!
Feel good during holidays by sweating out the stress (& cookies) with friends! Join us for a FREE trial at any of our VA locations, Springfield/Fairfax, Chantilly, & Ashburn.
Fairfax Mommy Bootcamp, Mommy Bootcamp - Chantilly, and Mommy Bootcamp - Ashburn.
Creating positive change in your child's life, in your home or school.
Jiva DC is where you can find balance, harmony, and energy renewal amidst the hectic bustle of everyday pressures and deadlines.
LaVida Massage is the leader in customized and affordable therapeutic massage for the family. Unparalleled service and convenient; LaVida is The Life.
Our goal is to pamper you from head to toe and to bring out your individual, natural beauty and encourage you to Age Better.
We're your other family doctor! We help you make the best decisions for you and your unique pet. Also have a holistic veterinarian, Dr. Grasso, on staff.


text:
package vn.eazy.base.mvp.di.module;

import android.app.Application;
import android.content.Context;
import android.support.annotation.Nullable;

import com.ihsanbal.logging.Level;
import com.ihsanbal.logging.LoggingInterceptor;

import java.io.File;
import java.util.List;
import java.util.concurrent.TimeUnit;

import javax.inject.Singleton;

import dagger.Module;
import dagger.Provides;
import okhttp3.Cache;
import okhttp3.HttpUrl;
import okhttp3.Interceptor;
import okhttp3.OkHttpClient;
import retrofit2.Retrofit;
import retrofit2.adapter.rxjava2.RxJava2CallAdapterFactory;
import retrofit2.converter.gson.GsonConverterFactory;
import vn.eazy.base.mvp.BuildConfig;
import vn.eazy.base.mvp.intergration.handler.error.RxErrorHandler;
import vn.eazy.base.mvp.intergration.handler.error.listener.ResponseErrorListener;

/**
 * Created by harryle on 6/17/17.
 */
@Module
public class ClientModule {
    private static final int CACHE_SIZE = 10 * 1024 * 1024; //10MiB
    private static final int CONNECT_TIMEOUT = 10;
    private static final int READ_TIMEOUT = 30;
    private static final int WRITE_TIMEOUT = 60;
    //Todo Application's injected from AppModule

    @Provides
    @Singleton
    public Cache provideCache(File cacheFile) {
        Cache cache = new Cache(cacheFile, CACHE_SIZE);
        return cache;
    }

    @Provides
    @Singleton
    public OkHttpClient.Builder provideOkHttpBuilder() {
        OkHttpClient.Builder builder = new OkHttpClient.Builder();
        return builder;
    }

    @Provides
    @Singleton
    public OkHttpClient provideOkHttpClient(Application application, OkHttpClient.Builder builder, @Nullable Cache cache, @Nullable List<Interceptor> interceptors, @Nullable OkHttpConfiguration httpConfiguration) {
        builder.cache(cache)
                .connectTimeout(CONNECT_TIMEOUT, TimeUnit.SECONDS)
                .readTimeout(READ_TIMEOUT, TimeUnit.SECONDS)
                .writeTimeout(WRITE_TIMEOUT, TimeUnit.SECONDS)
                .addInterceptor(new LoggingInterceptor.Builder()
                        .loggable(BuildConfig.DEBUG)
                        .setLevel(Level.BODY)
                        .request("Request")
                        .response("Response")
                        .build());

        if (interceptors != null && !interceptors.isEmpty()) {
            for (Interceptor interceptor : interceptors) {
                builder.addInterceptor(interceptor);
            }
        }

        if (httpConfiguration != null) {
            httpConfiguration.configOkHttp(application, builder);
        }

        return builder.build();
    }

    @Provides
    @Singleton
    public Retrofit.Builder provideRetrofitBuilder() {
        return new Retrofit.Builder();
    }

    @Provides
    @Singleton
    public Retrofit provideRetrofit(Application application, OkHttpClient okHttpClient, Retrofit.Builder builder, HttpUrl httpUrl, @Nullable RetrofitConfiguration configuration) {
        builder.baseUrl(httpUrl)
                .addCallAdapterFactory(RxJava2CallAdapterFactory.create())
                .addConverterFactory(GsonConverterFactory.create())
                .client(okHttpClient);

        if (configuration != null) {
            configuration.configRetrofit(application, builder);
        }
        return builder.build();
    }

    @Provides
    @Singleton
    public RxErrorHandler provideErrorHandler(Application application, ResponseErrorListener errorListener) {
        return RxErrorHandler.builder()
                .with(application)
                .responseErrorListener(errorListener)
                .build();
    }

    public interface OkHttpConfiguration {
        void configOkHttp(Context context, OkHttpClient.Builder builder);
    }

    public interface RetrofitConfiguration {
        void configRetrofit(Context context, Retrofit.Builder builder);
    }
}