text:
Q: Icon design and jagged edges I thought I had my ios app icon all settled. I designed in Photoshop and tested in the prescribed sizes and it looks great (resizing in photoshop and saving to .png). I also tested via the "add to home screen" to see how it would look and looks nice and crisp (via a cool little webpage that lets you upload icon and bookmark on your device).
However, when I upload it as the large 1024 x 1024 icon (png) you do via iTunes Connect my shapes look all jagged. At least in the preview you get when initially getting ready to submit a new application.
Wondering what causes this and what I need to take into account as it pertains to how Apple resizes icons for delivery. Any help in pointing me in the right direction would be great.

A: What resolution did you design it in?  If you designed it in Photoshop, it is a raster image and I would suggest you design in illustrator as a vector, but at the very minimum make sure your designed resolution is higher than the proportions required for the icon by Itunes.


text:
(The Canadian Press)
High-end B.C. house prices dropping, but no relief at lower levels
But experts say home ownership remains out of reach for many for middle- and lower-income families
Nov. 18, 2018 3:45 p.m.
The British Columbia government says it's already seeing positive results from the policies it put in place to address the housing crisis, but one expert says there's still a long way to go.
Housing Minister Selina Robinson says the government is seeing some high-end house prices starting to drop.
"Right now we've got the speculation and empty home taxes, so part of what we need to do is monitor the impact that it has and continue to see what it does," Robinson said in an interview Sunday.
But Andy Yan, the director of the City Program at Simon Fraser University, says that while very expensive houses are starting to show a decline in price, the numbers haven't translated to mid- and lower-level units.
"Sixteen months is a little bit premature to know whether the polices are a success or failure," Yan said, referring to the approximate time the NDP minority government has been in power.
"But the softening of the market and cooling of the market is something that is definitely happening."
He said despite that softening, home ownership remains out of reach for many for middle- and lower-income families.
READ MORE: B.C. asking for tips on 'dirty money' in horse racing, real estate, luxury cars
To tackle the issue, the provincial government is investing $7 billion on affordable housing over the next 10 years, and has developed a 30-point plan to increase affordability.
However, Yan said some of the announcements made by the government are just that — announcements.
"They are not actual shovels in the ground yet," he said.
While there is some actual construction going on, he said it's still going to take years before the promises take the shape of homes that people can move into.
"It will take a combination of supply and demand policies to really get us out of the housing crisis mess," he said.
Meantime, B.C. Premier John Horgan says the housing crisis didn't happen overnight — and it won't resolve overnight.
Addressing attendees at a housing conference in Vancouver on Sunday, Horgan said the government will have to work with partners including Indigenous communities, transgender and social justice advocates and women's groups to resolve the crisis.
Horgan said it's not just affecting those who have small incomes, but is creeping into the middle-class too.
He said his government is doing its best to ensure that critical work staff such as teachers, nurses and construction workers have houses so that they can build the economy.
British Columbia should not be a place to fear because of unaffordable housing, Horgan said.
Hina Alam, The Canadian Press
Saving salmon: B.C. business man believes hatcheries can help bring back the fish
Trump says 'no reason' for him to hear Khashoggi death tape
B.C. mom to go to Europe court in hopes of getting alleged abducted daughter back
Tasha Brown alleges her estranged wife abducted their daughter Kaydance Etchells in 2016

redpajama_set_name: RedPajamaCommonCrawl


I spoke with British radio and TV outlets throughout Wednesday and Thursday about the significance of Donald Trump's former lawyer Michael Cohen implicting Trump in criminal activity.
5. The prospects of that departure, in light of both political developments — such as November's mid-term Congressional elections — and the legal process.
What we have are two dimensions of possible criminal activity by Donald Trump and his advisors, and they are now intersecting: the first is over the payoffs to women just before the 2016 election, and the second is the wider Trump-Russia investigation.
When Robert Mueller, the Special Counsel for the Russia investigation, presents what I think will be a wealth of evidence claiming there was conspiracy with the Russians to influence the 2016 election — that, in addition to what we have heard from Mr Cohen, will present Republicans with a choice.
Step aside now or face the music later.
Donald Trump will be willing to stay in office, supported by advisors like Bannon, by calling journalists "enemy of the people". He will be willing to use language which is insulting to African Americans, Hispanic Americans, immigrants. He will be willing to insult his own officials.
What Donald Trump is trying to do is say, "I am above being questioned." I am above any claim that I may be involved in criminal activity.
I grew up in an America where the system was supposed to maintain freedom and values. And this man is not doing that.
It is a crime — you can't just wish all this away like magic smoke….Michael can try to hold back the waves with all types of fluff and nonsense about a reality that isn't real. The legal process plays out, and it will come to a head next spring when Robert Mueller presents his evidence.
And then, as it should do, the system will make its judgement on whether Donald Trump should be President.
If this is not the beginning of the end for Donald Trump — not only for his Presidency, but also for his personal fortunes — it is definitely the end of the beginning….
This is the equivalent of the consigliere turning against the Mafia boss. Whether Trump suffers the fate of the Mafia boss remains to be seen.


Syria's state news agency says missiles have struck an air base in central Syria in the early hours of the day.
The agency said it was likely "an American aggression" but U.S. officials say the United States had not launched airstrikes on Syria.
Monday's missile attack followed a suspected poison gas attack on Saturday on the last remaining foothold for the Syrian opposition in the eastern suburbs of Damascus. At least 40 people were killed, including families found in their homes and shelters, according to opposition activists and local rescuers.


text:
Q: How to call API in background so that it not affect in other process? I have collectionview with custom layout like pintrest, first I load 10 images, then when user reached at half of scroll request is fired , I've fetch data from sql local database, every time when app open API call , I have to call API in such way that affect other process:
DispatchQueue.global(qos: .background).async {}

Using  alamofire  to call API,
if I fetch data in background from SQL database the app crashes, so I can't fetch data in background thread. However, it hangs scrolling.
Also, when I reload data every for 10 new records collectionview jerks and it slows down the scroll speed. How to handle these both issues?

redpajama_set_name: RedPajamaStackExchange


Colorado will have a front-row seat to a rare astronomical event next week. On Monday, August 21, a solar eclipse will darken the sun for a period of time, giving Boulder Valley School District students an excellent opportunity to engage in real-life science by simply stepping outside.
Most BVSD teachers will take their students outside, knowing that this real-life event will spark learning not only on the day of, but perhaps for days and weeks afterward.
During the event, the moon will slide in front of the sun. At its peak in the Boulder area, about 93 percent of the sun will be blocked.
With the proper precautions, the viewing will be completely safe and a great opportunity for learning. NASA offers safety tips on its 2017 Eclipse website.
In BVSD, students will have the opportunity to see the eclipse directly, using solar glasses donated by Ball Aerospace System and Test Engineer Phil Mehalko. The Ball Corporation matched Mehalko's contribution, allowing him to purchase about 7,000 pairs of the special glasses, or about one for every four Boulder Valley students.
When he learned about the eclipse a couple years ago, he saw an opportunity.
Editor's Note: BVSD purchased the solar glasses using the donation. The Eclipser glasses conform to and meets the Transmission Requirements of ISO 12312-2, Filters for Direct Observation of the Sun.
Some schools are purchasing additional glasses, so that every student has a pair. Additionally, many schools will be offering indirect ways to observe the eclipse's impact, including pinhole projectors.
At Centennial Middle School, teachers are planning a number of cross-curricular activities.
"We will be rotating all 650 of our students through viewing stations of the eclipse event in different areas around our school. Each teacher will be providing direct instruction regarding the event, with many making curricular ties to their academic content area," Centennial Middle School Principal John McCluskey said.
For teachers who do not have a background in science, professional development classes have been available so they can deepen their knowledge before the big event. Taught by Dr. Claire Raftery, of the National Solar Observatory which recently moved to Boulder, and Briana Ingermann, the Education Programs Manager at Fiske Planetarium at CU Boulder, the course is providing an understanding of the eclipse in the context of the solar system and the sun's impact on life on Earth.
Knowing that many students won't want to miss a moment of the celestial event, BVSD's Food Services is planning a special menu that will accommodate the event.
Lunch at all BVSD schools will be Pulled Pork Sandwiches (gluten-free without a bun), Cheese Pizza and Pepperoni Pizza. Salad bars will be set up as normal. Entrees will be served in compostable boats, which can be easily taken outside.


Supplement manufacturers have discovered that off label prescriptions for ADD/ADHD medications are extremely lucrative.
Once individuals learned that there were supplements which could boost their brain power tenfold while heightening their focus and enhancing their recall, they started scrambling for them.
Purity Products was right on top of it and seized this billion-dollar opportunity be creating their Brain Vitality GPC supplement formula.
The makers of Brain Vitality GPC assert that their supplement blend has the power to enhance the efficiency of signal cell receptors by strengthening their membranes; clear the fog from people's brains; and wipe out obstacles to mental clarity.
We are going to examine a few facts about Brain Vitality GPC to judge whether it should get a thumbs up or thumbs down.
The Purity Product company webpages lists all of the components of Brain Vitality GPC as well as their functions.
Acetyl-L-Carnitine provides support to the phospholipid bi-layers of neural cells and facilitates the manufacture of energy for all systems of the body.
Phosphatidyl Serine promotes higher cognition and so that the brain can age healthily. It offers neuroprotection against the many pitfalls of the aging brain and notably improves recall.
Alpha GPC intensifies the amount of choline in the brain which is required y neurons for heightened communication among cells; transmission signals; and the processing of information.
The Brain Vitality GPC package advises a dosage of 2 to 4 capsules to be consumed every morning in conjunction with a physical activity program and a healthy diet.
It is important and the best policy to weigh all of the elements prior to committing to a purchase.
Purity Products, the makers of Brain Vitality GPC, is a widely known supplement manufacturer.
There is evidence of each individual components actions to prove it effective; however, this product should contain a number of others as well.
It is thought that this product would turn into a costly investment with prolonged use.
There are no consumer reviews to read posted anywhere on the website.
There are trials or peer group research studies of this precise product.
Purity Products does not reimburse dissatisfied customers.
The webpage for the manufacturer of Brain Vitality GPC offers an order form for purchasing this product.
Consumers must pay $80 to receive enough Brain Vitality GPC to last one to two months, depending upon personal dosing.
When customers buy four bottles at regular price, the receive a fifth container at no cost.
Consumers may take advantage of an extra discount by signing up for recurring charges and auto delivery.
There are hard facts which prove that each ingredient in this formula produces the effects claimed by the maker; however, the general consensus that it is lacking in several other important properties.
The reviewers here will not, in good conscious, promote the purchase of Brain Vitality as there are no user experiences to review or monetary reimbursements to consumers who are not satisfied.


text:
MPI alerts on scams and phishing
/ News/ Media releases/ Online training programme launched to help public identify myrtle rust
Online training programme launched to help public identify myrtle rust
Media contact: MPI media team
Email: media@mpi.govt.nz
Biosecurity New Zealand (part of the Ministry for Primary Industries) and the Department of Conservation (DOC) have launched an online training programme to help New Zealanders identify suspected myrtle rust infections in their backyards.
The plant fungus can be hard to identify without training and can look different during seasonal changes. The new online training modules provide resources to better understand the fungus and its symptoms.
"The courses are available to everyone and cover how it spreads, what to do if you find it and climatic factors that influence myrtle rust," says Biosecurity New Zealand's manager for recovery and pest management, John Sanson.
The courses provide guidance for people that are interested in learning more about myrtle rust in New Zealand. DOC and Biosecurity New Zealand have also developed a new website as a central place to house resources and information (http://www.myrtlerust.org.nz/ ).
"We are trying to understand the spread of the disease so are asking staff and the public to keep an eye out for myrtle rust over the autumn months," Mr Sanson says.
New Zealand's precious native myrtle plants including pōhutukawa, rātā, mānuka, kānuka and ramarama are vulnerable to the disease. The fungus, which is mainly spread by wind, generally infects shoots, buds, and young leaves of myrtle plants. Infected plants show typical symptoms including bright yellow powdery spots on the underside of leaves but can also show other symptoms such as grey powdery spots during the cooler months.
DOC's project manager for myrtle rust, Fiona Thomson, says the website is an excellent tool for the public to learn what myrtle plants look like, how to spot myrtle rust and what to do when you find infected plants.
"The more eyes looking out for myrtle rust, the better we can monitor this disease and protect our precious myrtles", says Dr Thomson.
If you think you see symptoms of myrtle rust, especially in areas where it has not yet been found, remember to not touch the plant or collect samples, but take pictures and report it to Biosecurity New Zealand's Exotic Pest and Disease Hotline on 0800 80 99 66
The new website – Myrtle Rust in New Zealand
Register for the training courses
Last reviewed: 12 Sep 2020


text:
Aeolis Palus 002
Basic information Name: Aeolis Palus 002
Abbreviation: There is no official abbreviation for this meteorite.
Mass: 2.8 t
Meteoritical Bulletin: MB 106 (2018) Iron
Recommended: Iron [explanation]
This is 1 of 99 approved meteorites (plus 3 unapproved names) classified as Iron. [show all]
Search for other: Iron meteorites, Metal-rich meteorites
Aeolis Palus 002 -4.6408, 137.3986
Find: 2014 May 9
Classification: Iron meteorite
History: The MSL rover Curiosity observed 3 rocks, informally named Littleton (henceforth Aeolis Palus 001), Lebanon (henceforth Aeolis Palus 002), and Lebanon-B (henceforth Aeolis Palus 003), on Sol 634 and imaged them on Sols 637-641 using Mastcam and the Remote Micro-Imager (RMI) on ChemCam. Aeolis Palus 002 and 003 were observed from as close as ~11 m, and Aeolis Palus 001 from ~34.5 m. Aeolis Palus 001 and Aeolis Palus 002 are large (>1 m) boulders separated by ~20 m; Aeolis Palus 003 is a smaller (0.3 m) piece next to Aeolis Palus 002.
Physical characteristics: The Aeolis Palus 002 and 003 fragments are partially buried in the surrounding soil. The rocks have a lustrous blue-gray color and contain mm- to cm-sized irregularly shaped holes likely created by differential weathering. At high resolution, the surfaces are smooth with mm-scale, intermittent pockmarks. The mass of the Aeolis Palus 002 above ground is estimated to be ~2800 kg.
Geochemistry: All pieces/rocks exhibit surface textures and visible/near-infrared spectra (445-1012 nm) consistent with iron meteorites, similar to those observed by the Mars Exploration Rover (MER) missions. Aeolis Palus 002 (at ~12 m distance) and Aeolis Palus 001 (at ~36 m distance) were imaged with Mastcam at 3 times of day. This included multispectral images of Aeolis Palus 002 along with a 6-frame RMI mosaic and a single position on Aeolis Palus 001. Mastcam reflectance spectra of these rocks are red-sloped, with variations <550 nm related to specular reflections, similar to laboratory spectra of iron meteorites (and MER spectra of similar rocks) (Johnson et al., 2014; Schröder et al., 2008). The Aeolis Palus 001 and 002 rocks do not exhibit the patchy coatings associated with meteorites observed by MER.
Classification: Iron meteorite.
Specimens: Left in situ on Mars.
Date: 2014 May 9
Latitude: -4.6408
Mass (g): 2800000
Class: Iron
Classifier: MSL team
Main mass: In situ
Finder: Mars Curiosity Rover
Comments: Submitted by Barbara Cohen
References: Published in Gattacceca J., Bouvier A., Grossman J., Metzler K., and Uehara M. (2019) Meteoritical Bulletin, no. 106. Meteorit. Planet. Sci. 54 in press.
Coordinates on Mars:
Recommended:: (4° 38' 27"S, 137° 23' 55"E)
This is 1 of 6 approved meteorites from Mars


Indulge all of your senses as you enter world of Evergreen Day Spa. Step into this one-of-a-kind oasis and leave behind the endless chaos that surrounds you! Choose from any of our carefully curated spa sessions inspired by gentle streams, and pampered palaces to kickstart your busy day. With the use of our all-natural and organic products, you will be transported into a world of health and beauty suitable for any lifestyle.
Manicures: What is a manicure you might ask? A manicure is a cosmetic treatment of the hands involving cutting, shaping, and often painting of the nails, removal of cuticles, and softening the skin with a gentle hand massage.
Pedicures: What is a Pedicure? A pedicure is a cosmetic treatment of the feet and toenails.
Next Generation Shellac Gel Manicure: Also known as just Gel manicure or Shellac manicure which is a lasting nail polish that are cured using UV lamps. The word Shellac is the popular name for the brand of the actual Gel Product.
Next Generation Shellac Gel Pedicure: Just like the Gel manicure or Shellac manicure which is a lasting nail polish that are cured using UV lamps. The word Shellac is the popular name for the brand of the actual Gel Product. But this is applied to the toenails.
Princess Polish Change: A Nail polish change is basically the change of color nail. This service does not deal with shaping or cutting the nails unless you desire to fix a nail or get fill ins. This can be done for the toenails as well.
Remove Acrylic Nail Polish: Clip the acrylic nails as short as possible. We closely get the edges with the pointy end of the tweezer. Then acetone is poured into a bowl where the hands are placed freely to remove the nail polish. Then the nails are soaked in the nail polish remover for at least 30-40 minutes.
UV Gel Fill Ins: The product used to create nail extensions using gel or gel nails not to be confused with acrylic nails, which are created using liquid monomer and polymer powder. All gel services are performed using some form of gel, which usually comes in pots of gel or bottles of gel polish.
Dipping Powder For Nails Full Set or Fill Ins: Dip powder nails are somewhere between a regular mani and a fake nail. We can consider them a "diet acrylic," says celebrity manicurist Erica Marton. Instead of using UV rays to seal in your polish, the color comes from a pigmented powder. Which the nails are dipped on, hence the name.
Dipping powder can stay on natural nails for up to 2-4 weeks. Keep in mind nail growth differs from person to person due to variables such as gender, age, health, weather, and hygiene. (Reference is from American Academy of Dermatology).
Many nail technicians and their customers have experienced and seen the results of stronger natural nails after using the dip powder process. The results are typically visible immediately after the first application and very noticeable among those who have switched to dip powder fully.
This is a great alternative for those who are allergic to various ingredients in Gel and Acrylic Nail polish. Dip powder does not use ingredients that can be found in Gel or Acrylic Nail Polish that are known to result in allergic reactions.
Our Nail Salon can be found near Boca Raton or Near Mizner park. Our location is near Plaza Real just South of Palmetto Park Road, in the same plaza as the Big White Bank of America Building is in. If you would like to book your appointment now or book it for a later date. Simply Click Here or Call Now at 561-409-4825!


text:
"""
Given an array of integers with possible duplicates, randomly output the index of a given target number. You can assume
that the given target number must exist in the array.

Note:
The array size can be very large. Solution that uses too much extra space will not pass the judge.

Example:

int[] nums = new int[] {1,2,3,3,3};
Solution solution = new Solution(nums);

// pick(3) should return either index 2, 3, or 4 randomly. Each index should have equal probability of returning.
solution.pick(3);

// pick(1) should return 0. Since in the array only nums[0] is equal to 1.
solution.pick(1);
"""
import random

__author__ = 'Daniel'

class Solution(object):
    def __init__(self, nums):
        """
        :type nums: List[int]
        """
        self.A = nums

    def pick(self, target):
        """
        O(n)
        Reservoir Sampling
        :type target: int
        :rtype: int
        """
        sz = 0
        ret = None
        for idx, val in enumerate(self.A):
            if val == target:
                sz += 1
                p = random.randrange(0, sz)
                if p == 0:
                    ret = idx

        return ret

class SolutionError(object):
    def __init__(self, nums):
        """
        Reservoir Sampling
        Assume pick is only called once
        :type nums: List[int]
        """
        self.d = {}
        for idx, val in enumerate(nums):
            if val not in self.d:
                self.d[val] = (idx, 1)
            else:
                prev, sz = self.d[val]
                p = random.randrange(0, sz)
                if p < sz:
                    self.d[val] = (idx, sz + 1)
                else:
                    self.d[val] = (prev, sz + 1)

    def pick(self, target):
        """
        :type target: int
        :rtype: int
        """
        return self.d[target][0]

redpajama_set_name: RedPajamaGithub


text:
Q: Exoplayer 2: Play video in reverse My android app plays videos in Exoplayer 2, and now I'd like to play a video backwards.
I searched around a lot and found only the idea to convert it to a gif and this from WeiChungChang.
Is there any more straight-forward solution? Another player or a library that implements this for me is probably too much to ask, but converting it to a reverse gif gave me a lot of memory problems and I don't know what to do with the WeiChungChang idea. Playing only mp4 in reverse would be enough tho.

A: Videos are frequently encoded such that the encoding for a given frame is dependent on one or more frames before it, and also sometimes dependent on one or more frames after it also.
In other words to create the frame correctly you may need to refer to one or more previous and one or more subsequent frames.
This allows a video encoder reduce file or transmission size by encoding fully the information for every reference frame, sometimes called I frames, but for the frames before and/or after the reference frames only storing the delta to the reference frames.
Playing a video backwards is not a common player function and the player would typically have to decode the video as usual (i.e. forwards) to get the frames and then play them in the reverse order.
You could extend ExoPlayer to do this yourself but it may be easier to manipulate the video on the server side if possible first - there exist tools which will reverse a video and then your players will be able to play it as normal, for example https://www.videoreverser.com, https://www.kapwing.com/tools/reverse-video etc
If you need to reverse it on the device for your use case, then you could use ffmpeg on the device to achieve this - see an example ffmpeg command to do this here:

*

*https://video.stackexchange.com/a/17739
If you are using ffmpeg it is generally easiest to use via a wrapper on Android such as this one, which will also allow you test the command before you add it to your app:

*

*https://github.com/WritingMinds/ffmpeg-android-java
Note that video manipulation is time and processor hungry so this may be slow and consume more battery than you want on your mobile device if the video is long.


text:
Home Category Culture Racism
New Zealand mosque attacks and the scourge of white supremacy
Today's New Zealand mosque shootings, which killed at least 49 people and were allegedly carried out by white supremacists, are only the latest on a long list of...
Decathlon drops French sports hijab after politicians threaten boycott
The French sports store Decathlon has cancelled a plan to put a sports hijab on the market in France after several politicians, including one from Emmanuel Macron's centrist...
Macron to visit Paris Holocaust Memorial after spate of anti-Semitic incidents
French President Emmanuel Macron said he would visit the Paris Holocaust Memorial on Tuesday as symbolic gatherings are held across France to denounce a spate of anti-Semitic incidents...
France rallies to denounce anti-Semitic insults at protests
Mass rallies are planned in Paris and other French cities Tuesday (Feb 19) to denounce a flare-up of anti-Semitic acts which culminated in a violent tirade against a...
PSG fined €100,000 over racial profiling of young players
A collective negligence led to racial profiling at youth-team level inside Ligue 1 champions Paris Saint-Germain, French league authorities said Tuesday when fining the club 100,000 euros ($114,000)....
France's National Rally links to violent far-right group revealed
Al Jazeera's Investigative Unit has exposed close links between high ranking figures in France's National Rally and a violent far-right movement that calls for the expulsion of...
Former students sue French state for 'racist' stop and search
Three former high school students are suing the French state for racial discrimination saying they were stopped and searched by police on a school trip because of...
China accuses Sweden of violating human rights over treatment of tourists
A disagreement between Chinese tourists and a hostel in Stockholm over check-in time has turned into a diplomatic spat between China and Sweden, after Beijing criticised Sweden for violating...
Italy is my country – but it must face its racist history
In 1979 a homeless Somalian by the name of Ahmed Ali Giama was burned alive in the Piazza della Pace, right in the centre of Rome. Killed...
Germany's German Problem — and Ours
Since the time of Augustus, when a German army under Arminius wiped out three Roman legions in the Teutoburg Forest and sent the Empire scurrying back permanently...


text:
Q: Creating customer search using LEFT JOIN. Results excluded if no match found in second table I'm trying to create a way to search through a database of customers, where some pieces of data like phone numbers and emails have a one-to-many relationship. I have a table that has a customer ID (unique, autonumber), a first name, and a last name. I have a second table containing a phone number, and the customer ID that that phone number is associated with. I have a third table containing an email address, and the customer ID that that email address is associated with.
Here is the query built in PHP:
$query = "SELECT *
            FROM customers
            LEFT OUTER JOIN phone_numbers ON customers.customer_id = phone_numbers.associated_customer
            LEFT OUTER JOIN email_addresses ON customers.customer_id = email_addresses.associated_customer
            WHERE first_name LIKE '%" . $_GET["fname"] . "%'
            AND last_name LIKE '%" . $_GET["lname"] . "%'
            AND phone_number LIKE '%" . $_GET["phone"] . "%'
            AND email_address LIKE '%" . $_GET["email"] . "%'";

With this, the customer I searched for only comes up if they have an phone number and email address. I also get duplicate results from the first table if the customer has multiple phone numbers or emails, so if the customer has 2 phone numbers and 2 emails, I would get 4 results back.
Am I structuring my tables correctly for to achieve this one-to-many relationship?
EDIT: Sample data for clarification.
table 1:
╔════════════════════════════════════════╗
║                customers               ║
╠═════════════╦════════════╦═════════════╣
║ customer_id ║ first_name ║ last_name   ║
╠═════════════╬════════════╬═════════════╣
║      1      ║ John       ║ Doe         ║
║      2      ║ John       ║ Wick        ║
║      3      ║ John       ║ Cena        ║
║      4      ║ John       ║ Krasinski   ║
║      5      ║ Jane       ║ Doe         ║
║      6      ║ Freddie    ║ Mercury     ║
╚═════════════╩════════════╩═════════════╝

table 2:
╔══════════════════════════════════════════════════╗
║                   phone numbers                  ║
╠════════════════╦═══════════════╦═════════════════╣
║  phone_number  ║ associated_id ║ primary_contact ║
╠════════════════╬═══════════════╬═════════════════╣
║   5555555555   ║       2       ║        0        ║
║   6692216251   ║       2       ║        1        ║
║   2025550174   ║       3       ║        1        ║
╚════════════════╩═══════════════╩═════════════════╝

table 3:
╔═══════════════════════════════════════════════════╗
║                   email_addresses                 ║
╠═════════════════╦═══════════════╦═════════════════╣
║  email_address  ║ associated_id ║ primary_contact ║
╠═════════════════╬═══════════════╬═════════════════╣
║ jdoe@aol.com    ║       1       ║        1        ║
║ jwick@email.com ║       2       ║        1        ║
║ jwick@aol.com   ║       2       ║        0        ║
╚═════════════════╩═══════════════╩═════════════════╝

search query:
first name: "John"
last name: ""
phone number: ""
email address: ""

The expected result is for it to return all matches for "John" in the first name field, and only include the primary methods of contact:
╔═════════════╦════════════╦═════════════╦══════════════╦═════════════════╗
║ customer_id ║ first_name ║  last_name  ║ phone_number ║  email_address  ║
╠═════════════╬════════════╬═════════════╬══════════════╬═════════════════╣
║      1      ║ John       ║ Doe         ║              ║ jdoe@aol.com    ║
║      2      ║ John       ║ Wick        ║  6692216251  ║ jwick@email.com ║
║      3      ║ John       ║ Cena        ║  2025550174  ║                 ║
║      4      ║ John       ║ Krasinski   ║              ║                 ║
╚═════════════╩════════════╩═════════════╩══════════════╩═════════════════╝

The actual result is that all results that do not have an associated phone number AND email address are excluded, and a duplicate is included for each phone number and each email address:
╔═════════════╦════════════╦═════════════╦══════════════╦═════════════════╗
║ customer_id ║ first_name ║  last_name  ║ phone_number ║  email_address  ║
╠═════════════╬════════════╬═════════════╬══════════════╬═════════════════╣
║      2      ║ John       ║ Wick        ║  5555555555  ║ jwick@email.com ║
║      2      ║ John       ║ Wick        ║  6692216251  ║ jwick@email.com ║
║      2      ║ John       ║ Wick        ║  5555555555  ║ jwick@aol.com   ║
║      2      ║ John       ║ Wick        ║  6692216251  ║ jwick@aol.com   ║
╚═════════════╩════════════╩═════════════╩══════════════╩═════════════════╝

However, let's say my search query is the following:
first name: "John"
last name: ""
phone number: "5555555555"
email address: ""

The expected result would be:
╔═════════════╦════════════╦═════════════╦══════════════╦═════════════════╗
║ customer_id ║ first_name ║  last_name  ║ phone_number ║  email_address  ║
╠═════════════╬════════════╬═════════════╬══════════════╬═════════════════╣
║      2      ║ John       ║ Wick        ║  5555555555  ║ jwick@email.com ║
╚═════════════╩════════════╩═════════════╩══════════════╩═════════════════╝

I am aware of SQL injection attacks. I will have measures in place to prevent them, but this will be an internal system, so I'm not that worried about it.

A: Could you try the following query which for each table (phone and email) consider two cases
1. there's a non empty search criteria so you'll use it to filter the table
2. the search criteria is empty, you then only look for primary_contact. The situation where the client doesn't have a contact is handled with the outer join but then you need to allow for primary_contact to be null.
The situation where the customer only has only secondary contacts is not handled but it doesn't make sense if you have a contact phone (or email) one has to be the primary one.
The query is much longer but it's twice the same logic (one for email one for phone)
SELECT *
FROM customers c
LEFT OUTER JOIN phone_numbers p ON c.customer_id = p.associated_customer
LEFT OUTER JOIN email_addresses e ON c.customer_id = e.associated_customer
WHERE c.first_name LIKE '%" . $_GET["fname"] . "%'
AND c.last_name LIKE '%" . $_GET["lname"] . "%'
AND (( '%" . $_GET["phone"] . "%' <> '' and
        p.phone_number LIKE '%" . $_GET["phone"] . "%' )
     or
     ( '%" . $_GET["phone"] . "%' = '' and
        (p.primary_contact = 1 or p.primary_contact is null) ))
AND (( '%" . $_GET["email"] . "%' <> '' and
        e.email_address LIKE '%" . $_GET["email"] . "%' )
     or
     ( '%" . $_GET["email"] . "%' = '' and
        (e.primary_contact = 1 or e.primary_contact is null) ))

A: Your database design is fine.
Your conditions:

*

*If $_GET["phone"] <> '' then only matching phone rows, else only primary contacts.

*If $_GET["email"] <> '' then only matching email rows, else only primary contacts.

This leads to the following query:
SELECT *
FROM customers c
LEFT JOIN phone_numbers p ON p.associated_customer = c.customer_id
LEFT JOIN email_addresses e ON e.associated_customer = c.customer_id
WHERE c.first_name LIKE :fname
  AND c.last_name LIKE :lname
  AND
  (
    (:phone <> '' AND p.phone_number LIKE '%' || :phone || '%')
    OR
    (:phone = '' AND (p.primary_contact = 1 OR p.primary_contact IS NULL))
  )
  AND
  (
    (:email <> '' AND e.email_address LIKE '%' || :email || '%')
    OR
    (:email = '' AND (e.primary_contact = 1 OR e.primary_contact IS NULL))
  )
ORDER BY c.first_name, c.last_name, p.phone_numbers, e.email_addresses;

(I've replaced your GET commands with bind variables for readability.)
Anyway, with weak search patterns, say the phone number containing a certain digit and and the email address containing a certain letter, you could still get a cartesian product:
E.g: John Smith, phones: 123456, 234567, emails: one@company.com, two@company.com. Search: John Smith, phone contains 2, email contains o. Result:

fname | lname | phone  | email
------+-------+--------+----------------
John  | Smith | 123456 | one@company.com
John  | Smith | 123456 | two@company.com
John  | Smith | 234567 | one@company.com
John  | Smith | 234567 | two@company.com

You may want to consider this somehow, e.g. use string aggregation, so as to get the following result instead:

fname | lname | phones         | emails
------+-------+----------------+---------------------------------
John  | Smith | 123456, 234567 | one@company.com, two@company.com


David Kirk died following the collision last year.
The family of David Kirk have spoken out following the sentencing of Samantha Ayres, who was jailed for three years this morning (Wednesday).
The family's statement reads: "The 7th of November 2016 changed so many lives. We lost a wonderful man, a loving husband, son, brother and the most caring father Alyssa could have wished for.
"David was killed in the collision with Mrs Ayres, it wasn't an accident as the evidence has shown it could have been avoided by simply driving with proper care and attention.
"As a result of the driving of Mrs Ayres our family now has to live with this tremendous loss. Alyssa had just turned one when her daddy was killed, she has her whole life to live without her daddy. As a family we all talk about David with Alyssa and she will know what a wonderful man her father is but she will not have any genuine memories about him.
"People say time heals but we all wake up every morning with the same pain we felt the day it happened, hoping it was a horrible nightmare and then having to go through another day without seeing David's cheeky smile or hearing his voice. Time does not heal; we as a family are just learning how to hide our true emotions and the heartache this has caused.
"We understand this is a hard time for Mrs Ayres' family and their emotions are high, but we would appreciate it if they could keep their opinions to themselves and not concentrate their anger on our family. We as a family have had enough to deal with without being made to feel that we are in the wrong.
"This result is because of the actions of Mrs Ayres, and she will be returned to her family when she has served her time, our family will not get David back. There is a justice system for a reason and every action has a consequence.
"This case has had a lot of interest from the press due to the devastating impact it has had on the friends and family of David, and the way the collision occurred. In time we will be willing to give further statements to help promote the awareness of bikers, the importance of driving safely and the impact using hands free devices while driving can have.
"However at this time after sitting through the trial and hearing all the evidence, we would appreciate time to process all of this as a family.
"Finally, our family would like to take this opportunity to thank Lincolnshire police and the CPS for the work they have done, and the support they have given us through this tragic time, in particular, PC Godfrey Barlow, DC Julie Bevan, and a special thank you to Sergeant Rob McCracken, our Family Liaison Officer.
"Rob has helped our family so much during this horrible time, by keeping us informed and supporting us throughout the last year and during the court case.
"The time Rob spent helping our family through the liaison service is voluntary, it takes a special person to work with bereaved families in this way. We cannot thank him enough. He is a credit to the Lincolnshire Police and most of all his family.


text:
Q: In python, How do I make a partial function call like this: partial(adder , 2)(4)? How do you make a partial function that calls like this: function(func , arg1)(arg2). And why/how are you able to do this.
f(x)(y).

x  = (func , arg1)
y = (arg2)

I thought I tried using decorators to pass a parameter. I can call the wrapper and it works when I call adder(5), for example.
def partial(arg):
    def add(func):
        def wrapper(x):
            return arg + func(x)
        return wrapper
    return add

@partial(1)
def adder(z):
    return z

adder(4)
a = adder(4)

partial(a, 4)(5) /////////

###///////////////////////////////another format ///////////

def decorator(func , x):
    def wrapper(y):
        return func(y) + x
    return wrapper

def adder(z):
    return z

adder = decorator(adder , 2)

#########I can call the wrapper, but I get a local error when I call a partial function.

Can call the wrapper, but I get a local error when I call a partial function.
I want to be able to get the sum of two or more  numbers using partial functions.

A: If you don't want to use functools.partial try e.g a lambda function adder = lambda x: lambda y: x+y or
def adder(x):
   def g(y):
       return x+y
   return g

That should do the job.
You mentioned you want to get the sum of several arguments using partial functions, try:
def adder(*summands):
    def h(*more_summands):
        return sum(list(summands)+list(more_summands))
    return h

If you want to implement the partial application of arguments to an arbitrary function f here is what you can do
partial = lambda f, *args1, **kwargs1: lambda *args2, **kwargs2: \
          f(*args1,*args2, **kwargs1, **kwargs2)


text:
Burgwall is a word of German origin, literally meaning "fort rampart", and may refer to:

 Gord (archaeology), a typical Slavic settlement type of the High Middle Ages, sometimes called a Slavic burgwall
 Burgwall, the local term for a pre- and early historic hillfort in the non-Slavic areas of Central Europe
 Burgwall, a village in the borough of Zehdenick in Oberhavel district, Germany

See also
 Wallburg (disambiguation)

redpajama_set_name: RedPajamaWikipedia


Register for free and talk with whatever you want free credits for everyone. Have fun make new friends or find love. Dogging contacts both couples and singles browse profiles look at pictures and all for free.
Dogging site UK. Is specifically designed for singles from Chorley and across the UK looking for more from an online dating website in Chorley Swinging Tetbury. LifeTips is the place to go when you need to know about AOL Customer Service and other AOL topics. The latest free stuff on offer from products services and more. Chorley Dating Site Chorley Personals Chorley Singles is a 100 free online dating and personal ads site. Information on Searching the Death Indexes please read this first To Obtain a Copy Death Certificate Perform a search using either the. Meet loads of available single women in Chorley with POF! Find anything from pets horses and stuff for. Not interested in casual serial dating or long distance relationship. Find ads in Chorleys largest independent classifieds or become a free ad trader post for FREE in minutes. Join one of the best UK online singles service and meet lonely people to date and. Start meeting new people in Chorley with POF!
Chorley Dating Meet Chorley Singles Welcome to Urbansocial dating for sociable singles looking to meet that someone special online. Join the nets best dogging contacts site now. Meeting lots of people and Baildon Friend Finder Adult. Join one of the best UK online singles service and meet lonely people to date and chat in Chorley United Kingdom. 100 free Chorley Lancashire dating site for local single men and women! LifeTips is the place to go when you need to know. COGNOMI ITALIANI L 01.
Chorleys best 100 FREE online dating site. A Chorley perspective on news sport whats on lifestyle and more from your local paper the Chorley Guardian. There are a lot of Chorley singles searching romance friendship fun.
Read this tip to make your life smarter better faster and wiser. Online personals with photos of single men and women seeking each other for dating love and marriage in Chorley. Start meeting new people in Chorley with Mingle s Chorley dating services!
Find the latest freebies in Chorley Lancashire on Gumtree. I am years old live at home with. Find a girlfriend or lover. How To Contact AOL Customer Support. Online Dating Safety Tips Dating Articles and Advice How Online Dating Works Success Stories Dating Tips Help FAQs Contact Us Site Chorley Free Personals Map Match.
Online dating service with personals photo. Welcome to Cupid Chat!
Lancashire Personals Personals Lancashire Personals for over 1000 cities 00 regions worldwide in Lancashire free uk british England. Start browsing and messaging more singles by registering to POF the largest. Turn on search history to start remembering your searches Wivenhoe Adult Finder. Online Dating in Chorley for Free. Chorley Lancashire.


text:
Home » Gear
4 Top Macro Wet Lenses for Compact Camera Users
UW360 Posted On September 16, 2016
The latest generation of compact cameras is capable of producing top-quality underwater images for a wide range of subjects and in various conditions. But compacts are only as flexible as the focal length range of their built-in zoom lenses, and users who want to get the most from their camera will need to add either a wide-angle wet lens for big subjects, like reef scenes or wrecks, or a macro wet lens for the small stuff, such as nudibranchs and shrimp.
Placed in front of your housing's port, a macro wet lens reduces the minimum lens-to-subject distance, allowing you to get closer and fill more of the frame with your subject. Otherwise known as a close-up lens, diopter, magnifier or macro converter, these lenses are offered by a variety of manufacturers and vary by optical power, mount type, and price. The major distinguishing factor, optical power, is typically measured in "diopters" (a higher number means higher power) but this is only a guide, as actual magnification depends both on your camera and your port configuration.
Here we look at four of the top choices for macro wet lenses for your compact camera.
Nauticam CMC-1
Inspired by Nauticam's Super Macro Converter (SMC-1) for DSLRs, the CMC-1 offers similarly impressive magnifications for compact cameras. The CMC-1 is quoted as giving an average magnification of 4.5x, which Nauticam compares with the optical power of a +15 diopter lens. Equipped with a standard 67mm thread, the lens can be mounted on almost any compatible housing. For use with its own housings, Nauticam suggests using their flip lens holder, which is designed to position the lens close to the lens port on the housing when shooting, and flipped out of the way when not in use. The CMC-1 weighs 260 grams and costs US$320. www.nauticam.com
ReefNet SubSee +5
ReefNet's SubSee Magnifier comes in a two-element version with an optical power of +5 diopters and a four-element version boasting +10 diopters. With its standard 67mm thread, the lens can be mounted directly onto most housing ports or used with ReefNet's flip adapters. The SubSee has the added flexibility of being designed for both compacts and full-frame cameras. The ReefNet SubSee +5 weighs 240 grams and costs US$195. www.reefnet.ca
Inon UCL-165M67
One of the most popular and most highly regarded close-up lenses, the Inon UCL-165M67 is designed to work equally well whether you're using a compact, mirrorless or DSLR camera. This dual-element lens has an optical power of +6 diopters, and greater magnifications can be achieved by stacking multiple lenses. As the name suggests, the lens has a standard 67mm thread, but Inon make various other versions with different mounts to provide compatibility with almost any housing. The Inon UCL-165M67 weighs 140 grams and costs US$175. www.inon.jp
Offering an average 2.8x magnification, the recently announced CMC-2 is designed to be used side by side with the CMC-1, which boasts a magnification average of 4.5x. Nauticam don't quote its lenses' optical power in diopters, but the CMC-2 is likely around half as powerful as its sibling, making it not only easier to use but also a great choice for larger macro subjects. The CMC-2 is constructed using low-dispersion optical grade glass with broadband anti-reflective coatings, and features a 67mm threaded mount. The CMC-2 weighs 220 grams and costs US$290. www.nauticam.com
Underwater Photographer of the Week: Anuar Patjane


text:
Outdoor Sports, Part 2
Sports play a giant role in contemporary society worldwide. But few of us pause to think about the larger questions of money, politics, race, sex, culture, and commercialization that surround sports everywhere. This course draws on the tools of anthropology, sociology, history, and other disciplines to give you new perspectives on the games we watch and play. It's the new and improved version of Professor Orin Starn's original "Sports and Society" for Coursera, which drew more than 40,000 students. We will focus on both popular sports like soccer (or "football," as anyone outside America calls it), basketball, and baseball, and also lesser-known ones like mountain-climbing and fishing. You will never watch or think about sports in the same way again.
Orin Starn has a unique and interesting way of communicating his ideas and knowledge. The course has helped me to deepen my knowledge about the relation of sports and society.
Professor Starn gives insight into the sports world and explains complex topics using anthropological reasoning in a way that makes sense to the average person. Great class!
Outdoor Sports, Extreme Sports, and the Search for Adventure
Outdoor Sports, Part 18:21
Orin Starn
We talked in the first part of the lecture about how outdoor sports are never
a complete escape into nature.
Because pure nature doesn't really exist anymore in the age of the anthropecene.
A second issue that I want to raise in relationship to outdoor sports is what
could be called the sportification of outdoor activities.
And what you see over the course of the last hundred hundred and 50 years.
Is that outdoor activities that didn't begin as sports
have gradually been turned into sports.
In other words, they've taken on dimensions of competition with prize money
and a contest to see who will emerge as the winner and the loser.
All of these classic attributes of sports.
And to take one example of the sportification of nature activities
one can think about kayaking.
So kayaks are invented by peoples in the Arctic,
Inuit people, and others for hunting, and to get around.
And they exists for thousands of years in these high Arctic areas of our planet.
But in the 1800's,
Westerners start to take an interest in kayaks and build their own kayaks.
There's a film called Nanook of the North that's made in the early 19th century.
A documentary about Inuit showing them in their kayaks that
helps to spread the popularity of kayaking and the idea of kayaking.
So kayaking begins with the Inuit, begins with the Arctic peoples,
is taken up by Westerners and then in 1936 of all dates.
At the Berlin Olympics, kayaking is turned into an Olympic sport.
It's sportified, in the sense that this activity, which were really linked to
livelihood, to hunting particularly early on is now turned into an athletic
competition and the first kayaking events are held in 1936.
It's been held every four years, in the Olympics, ever since.
Some have said the reason that Hitler and the Germans were into making kayaking
an official Olympic sport was cause the Germans were really good at it.
In fact they apparently won most of the gold medals in kayaking
in those first Olympics.
So, you see this dynamic of sportification of kayaking, being turned into
a sport which it continues to be with institutions that regulate competitions,
and regular competitions, and prizes, and all the rest.
And at the same time though kayaking also
persists as just a leisure activity you do for fun with your kids or your partner, or
whatever you go out on the weekend on the lake.
So with outdoor activities you very often have this sportification.
But then at the same time the activity persisting in a more leisure,
non sportified way.
One could take the example also of fishing.
Back in the 1800's when Issac Walton was writing the complete angler and
fishing is this thing that English country gentleman.
And people in many different parts of the world are doing,
there's not an idea that fishing is a competition, much less a sport.
A secret life fisherman always want to catch more fish than their fishing buddy,
but that's all you'll, you don't talk about that directly.
It's not supposed to be a competition.
But by the mid 20th century, fishing is also sportified, and
in particular what you see in the United States over the last 20 or
30 years is the development of the professional bass fishing circuit.
So now you have these guys there mostly guys all though there is
a female division.
Who dress up in these Nascar like car racing uniforms with
logos and dark glasses and they often use these speed boats to get around the lakes.
Then the speed boats are also,
plastered with logos in the great corporate nascar tradition.
And these people go out and they fish to see who can catch the most and
the biggest usually large mouth bass.
In a day or over a couple of days competition.
And it's televised and there's prize money and all the rest.
At the same time though, just as with kayaking,
you see this sportification of bass fishing.
But then fishing and bass fishing are also just a recreational activity where again,
the family and whoever that you do where it's not about prize money and leagues.
Outdoor activities sportification, but
they also exist as simple recreational things.
A final that could be talked about out in terms of the social cultural political
issues around outdoor sports is that the commodification of outdoor sports.
Think back to the late 1800's,
early 1900's and a famous favorite figure of mine.
John Muir.
He's a Scottish immigrant who loves nature and falls in love with Yosemite and
the west and goes on to found the Sierra Club and
become one of the first great environmentalists in this country.
Now John Muir, when he went out Hiking would take a little bit of water,
maybe a little bag of corn meal or whatever something that he could cook up.
And his walking stick and a blanket.
That was pretty much it.
Now, 100, 150 years later, going hiking in the outdoors, doing this
outdoor activity seems to us very often to demand getting all the right gear.
We've gotta go to REI, or to the big box sporting goods place,
and to buy the right backpack, and get the right backpacking stove.
And the right sleeping bag, and the right sleeping bag pad.
And all the other gizmos and gears, and the special flashlight,
and the right shoes.
So we have now this paradox of wanting to get away from it all,
to do this outdoor activity, but to be able to get away from it all, thinking
that we need to buy all this stuff, and to spend a lot of time shopping.
And wherever the mall is where they sell this stuff, or ordering it online.
So you have then this phenomenon, the commodification of outdoor activities,
that's gone along with the development of big brands like North Face and
Patagonia, that sell to people.
For doing outdoor activities.
Outdoor sports has become a big business in America.
And the fact that outdoor activities has been commoditized has
lead to certain kinds of counter reactions, contrarian feelings.
And so for example, I have a friend who every couple of years will
go out into the wilderness for a week.
But his idea is forget REI and all the money,
I wanna do this in a way without spending this money, and buying all these brands.
So he'll just go out there with a pocket knife, a fishing line,
a hook, and a blanket and try to survive for a week.
And he always comes back pretty bruised and battered and
I'm not sure if he's always had a great time.
Although he always says that he has.
But the point is that this commodification of outdoor activities sometimes
leads in some cases to these contrary reactions of people wanting to go out.
And experiment with what roughing it on their own without all of the assists
that you get from all this great camping and other gear will give you.
So just to sum up this lecture, what I've talked about is the way that
outdoor sports develops in the 1800's as a response to and
out of the context of industrialism.
And then also some of the issues that go into and surround outdoor sports.
And I don't mean to suggest that outdoor sports are something that we should
give up or look down upon because they're compromised.
And sportify, and commodify, I have a great time going fishing, and backpacking,
and doing all of these other things.
But I think as with any dimension of sports and sporting experience,
it is interesting and worthwhile to try to think through the different
issues that attach to this whole phenomenon of outdoor sports.


The Nigeria Communications Commission (NCC) says operators will roll out 5G services by 2020, reports The Nation.
NCC CEO Garba Umar Danbatta said already, they have started test-running the technology in Atlantic City, Lagos.
Danbatta said the mobile industry is a significant contributor to the economic activities of Nigeria and also to the growth of other sectors of the economy.
Head of sub-Saharan Africa for the GSMA, Akinwale Goodluck, said the organisation's research has shown that the mobile market in Nigeria has made significant contribution to the economy.
He said the mobile industry contributed USD 21 billion to GDP in 2017, representing 5.5 percent of Nigeria's total GDP.
In addition, the growth of Nigeria's digital economy resulted in the creation of nearly 500,000 direct and indirect jobs.


Please plan to arrive by 5:30pm. The program will start at 6pm. We will show two of the best sessions from TED 2019 Bigger Than Us in Vancouver. Each session will run about 115 minutes, and we'll have a networking intermission between sessions. We'll expect to conclude about 10pm.
Although we encourage everyone to use mass transit, NAS is not especially convenient to public transit. You can get more information about directions and parking here.


text:
class Loader:
    def __init__(self, src):
        self.src = src

    def load():


Health tourism or medical tourism is one of the new products for travellers that the industry has on sight. As well as investments. Many hotel chains, mainly the ones that count with hotels located in the centre of Madrid and accommodations in Barcelona for long stays close to the main hospitals and districts close to health resort, have decided to make the most of this motivation which, after the last european directives regarding to health measures, has opened a new path for the hospitality industry.
The hotels in the centre of Madrid have been welcoming tourists for years travelling to the capital to make the most of a few relaxing days and receive health or beauty treatments in one of the most prestigious clinics in the country. Cosmetic surgery, medical check-ups or second opinions, participation in patients conferences… The motivations for health tourism are increasingly varied.
Nevertheless, it is very important not to confuse it with active or healthy tourism, which have been one the main poles of attraction for travellers in Spain. Healthy tourism is based on all the packages of sports activities, gastronomy and spa escapes attracting all types of travellers. Medical tourism, on the other side, hides a clear sanitary motivation and the traveller, in this case, organizes the whole trip around a medical appointment or concrete health treatment.
With some of the best plastic surgeries and fertility clinics of the country, Palma has been at the top of the Spanish sanitary destinations for years. Many hotels in the centre of Palma have been specializing in this segment, offering special packages for accommodation near to clinics such as Rotger, Juaneda, IBI or Palma Planas.
It allows them to break up with the excessive seasonality of tourist activity of the capital of the Balearic Islands, which tends to concentrate its greatest amount of visitors during summer months, as the major part of the travellers related to health tourism prefer winter or spring seasons to get treated. The decrease in activity of the clinics and specialists during summer months could also explain this trend.
Even if Palma is a special case being a major holiday destination as well as an important destination in the european medical tourism map, Madrid and Barcelona are still the top ranking cities in health tourism.They have the most renowned public care centres in Spain, some of the cutting-edge research centres and clinics of all types, capable to attend any health condition.
"Health travellers" usually plan their stay in one of the hotels in the centre of Madrid and Barcelona, to be as close as possible to the hospital or clinic where they are getting treated, but also because it allows them to be near museums, recreation and leisure areas and all means of public transports: patients and the people they travel with agree that both medical and recreational motivations matter when planning their stay.
Talking about health tourism was still taboo a few years back, being seen as a way to take advantage of Spanish public health service in order to access unauthorized medical treatments in their home country or at a prohibitively high price. But, with the change in european politics, the Spanish government started to see it as a competitive asset and as a new niche for the touristic sector, most important driver of economic growth.
For now, according to various studies and reports coming from the administration, there are no concrete numbers to measure the extent of health tourism over the global tourism sector and what it could represent in the future of hospitality industry in Spain (and its complementary offer).
This entry was posted in Sin categoría on 26 February, 2015 by Clementine.
The capital of Ecuador is one of the most visited destinations in Latin America. Although its heritage is one of the main attractions, it boasts a significant economic activity, so it has become an important city for business travellers. In the last years, hotel trade has substantially increased, so those who are planning a business trip to Quito have many options to choose from.
As Quito has preserved a big part of its historic places, it is divided into two areas: the modern and the old part. The Old Quito is characterized by offering luxury hotels, many of them situated in colonial-style buildings, very attractive for those in search of unique hotels, without leaving behind the importance of offering quality services and facilities. As for modern hotels, there is a wide range of hotels with avant-garde architecture located right in the centre of the city, as is the case of the hotel chain Dann Hotels.
If you like colonial style, Patio Andaluz boutique hotel is the place. It is an impressive building situated right in the heart of the city, offering rooms designed under international comfort standards, with services specially targeted at those who use to stay in 5-star hotels.
On the other hand, if you look for a modern accommodation, Swissôtel Quito, located in the commercial area of the city, has a beautiful décor where the combination of sobriety with modernity prevails. Its rooms offer many facilities such as air conditioning, mini-bar, cable TV, Wifi. Besides, it has gym, spa with hydromassage bath, tennis and squash courts, and five restaurants offering the best of the Swiss, Japanese and French cuisine.
If you travel to Quito for business, do not miss to stay in a hotel, there are many business hotels waiting for you.
This entry was posted in Luxury Hotels and tagged 5 star hotel Quito, business hotel Quito, business travel Quito, luxury business hotels, luxury hotel Quito, Luxury Hotels on 26 February, 2015 by Loren Reshen.
In the last years, tourism has been looking for new markets and this is how, a few years ago, Adults Only hotels appeared. This is a sector with fans and detractors. Nevertheless, among the customers of these hotels we find many parents escaping during a couple of days from children.
Adults Only hotels are a trend which is rapidly gaining in importance worldwide and hotel chains have not fallen behind in this respect. This types of hotels without children were created in the Caribbean in 70's, because of the increase of romantic trips and honeymoons that boosted the creation of all inclusive hotels for couples.
The term "Adults Only hotels" was not very known until the last decade when accommodations specialized on this type of public began to appear, hotels focused on couples enjoyment, relaxation, luxury and quietness.
These hotels are designed to go beyond the destination, since they offer a different selection of products and provide added value to couples, groups and honeymoons. It is worth mentioning the hotel chain Sol Hotels which offers a wide range of hotels specialized in romantic trips.
These hotels are recommended to adults and couples wanting to enjoy the holiday without children. Their location is usually in paradisiacal beaches and places offering special attractions such as clubs, spas, discos and futuristic infrastructure, so they become the perfect option for enjoying leisure time with quality services.
Those who use to visit these hotels can also choose charming hotels without many rooms located in diverse and dispersed areas, in contrast to the resorts which are more focused on beach tourism.
The minimum age to stay in these accommodations is generally 16 years old. These hotels are characterized by the quality customer service: ideal to plan a holiday as a couple or to enjoy a romantic escapade. The quietness, the paradisiacal locations, the rooms with beautiful views and the gastronomy will make the moments in these Adults Only hotels an unforgettable memory.
This entry was posted in Adults only hotels and tagged adults only hotels, honeymoon destinations, Hotels for couples, hotels for honeymoon, romantic escape, romantic trips, Sol Hotels, travelling without kids on 24 February, 2015 by Loren Reshen.
It is one of the most comprehensive travel proposals that has been designed by the Spanish hotel chain, Iberostar Hotels and Resorts. Although they have been working on this for many years and the hotels have been open for some time, they have never stopped growing and incorporating new services, currently offering an accommodation range of almost unfathomable plans and modalities, the most specialized within the market.
One of the most emblematic and well known is the Grand Hotel Mencey, a five star hotel in the centre of Santa Cruz de Tenerife, where famous people such as Liz Taylor have stayed and which even today continues to transmit the essence of tradition and elegance which converted it, some years ago, into benchmark for hotels around the island. Recently incorporated is a unique gastronomic area with the most extensive cookery classroom in Tenerife and a gourmet restaurant that will not leave you indifferent.
With similar characteristics is highlighted the Grand Hotel Budapest, always in fashion but more so since appearing in the film of Wes Anderson, which has been nominated for this year's Oscars. Although the hotel in the film was pure fiction the name has gone around the world and the Iberostar hotel in the centre of Budapest, has received more visits that ever. The experience, more than fame, is of luxury, a 5 star hotel in the most emblematic area of Pest, especially indicated for top executives and travellers who like their own special spaces together with the most exclusive services. Essential, in the case of the Mencey, is the gastronomy: their restaurant offers the best Spanish cuisine in Budapest.
However, without a doubt, the Grand destination par excellence is Costa Adeje in Tenerife. We return to this dream island and we go to the south, to one of the most visited tourist areas in the world, not only for the services but also for the climate and landscape. In Costa Adeje, Iberostar has located two of their most exclusive hotels in Tenerife: the Grand Salome and the Grand Hotel El Mirador. Both meet the requirements to be selected amongst the best beach resorts of the world and specifically the Salome also has advantage of being attached to the best All Inclusive hotel in Spain: the Iberostar Anthelia.
Suites, VIP zones, personalized attention concierge style, exclusive spaces, elite sports, gourmet gastronomy….To be a Grand traveller implies being ready to enjoy some of the choicest vagaries of life, immerse yourself in a special ambience and allow yourself to be pampered at every step. An experience that without a doubt is not for every day but that should be lived at least once in a lifetime. And if you can, of course, you should return!
This entry was posted in Uncategorized on 24 February, 2015 by Luke Durden.
When you travel, the most important choice is the destination. Enjoying the landscape, the street life, shopping, monuments, bars, restaurants, culture, nights… But there are also trips that are made just to rest and relax, and, in such cases, the accommodation is the most important part. They are usually shorter breaks where the goal is to amuse yourself and have time for all those things that you usually postpone.
There are accommodations for all tastes, but there are some that few can resist. If you do not think of your budget, the first option that comes to mind is to spend four days in a luxury hotel in Majorca, for example, or in one of those historic hotels in Madrid that transport you to another time and allow you to experience the city in a completely different way.
Actually, there are hotels that can be a destination in themselves, hotels that you do not want to leave. Even at low prices if booked in low season. This is the case of the spa hotel in Playa de Palma, Royal Cupido, an Adults Only hotel that pay special attention to detail so that guests can enjoy their getaway without leaving the hotel. Spa, lounge area, terrace and Beach Club overlooking the sea, design rooms, gourmet restaurant… It also organizes interesting events open to the public all the year round.
Another accommodation designed to surprise is the Petit Palace Museum, a boutique hotel in the centre of Barcelona located in the old modernist house Garriga Nogués, with a reform worthy of appearing in top magazines of interior design in Spain. With free wifi and computers in the rooms, hydromassage shower and many faciltiies, it is perfect for combining relaxation and destination. Or for a romantic getaway to the centre of Barcelona.
As for urban hotels, we also would outstand the Palladium Hotel, an accommodation in the centre of Palma, perfect for a shopping break or a business trip to the Balearic capital: design rooms, views of Paseo Mallorca, a few metres away from the harbour and the sea and situated next to the main shopping street of the city. Moreover, it is a really affordable hotel for all it offers.
And, thirdly, Las Letras Hotel in Madrid, just opened by Iberostar Hotels & Resorts chain after a careful refurbishment. The improvement in both design and facilities is enough reason to choose it as it combines all the advantages of a hotel in the centre of Madrid with the comforts of a complete holiday resort. A must visit in a gourmet getaway to Madrid or a business trip, but also suitable for a weekend with friends in the capital.
The last recommendation is dedicated to golf lovers: an all-inclusive accommodation in Isla Canela to get away from it all for months. It is a beach resort accommodation offering all type of services, several accommodation boards and luxury facilities. Only its architecture and its perfect integration into the landscape of this beautiful area of Huelva are worth a visit.
This entry was posted in Uncategorized on 23 February, 2015 by Loren Reshen.


text:
What mentoring is… and what it's not
While the rewards of mentorship are real and lasting, helping others grow is not something that motivates everyone. So what does it take to be a good mentor?
Mentoring differs from coaching in that it is more directive, and involves, teaching, telling, training, instructing, advising, guiding or supporting.
There are different types of mentoring, each with its own unique outcomes and potentially differing processes.
Mentoring comes naturally to some, but it can also be learnt.
In South Africa, we are all too aware of the need to develop people and nurture entrepreneurs, and mentoring is often touted as the method of choice for doing so. However, as John Paisley, Director of Procoaching, points out, it seems likely that the debate over the distinctions between coaching and mentoring will last forever.
Here, Paisley, a teacher, lecturer, and learning and leadership specialist who been involved in education, training and development for more than 30 years, explains what exactly mentoring is, how it works, and why it should not be confused with coaching…
"Mentoring is the process whereby a wiser, more experienced and knowledgeable person transmits his or her experience and knowledge to a person who does not yet have that knowledge or experience," he says, adding that "transmits" is the operative word in this case. "It can mean 'teaches', 'tells', 'trains', 'instructs', 'advises', 'guides' or 'supports' and, as such, mentoring therefore differs from coaching in that it is more directive."
Mentoring is also "domain specific", Paisley adds. "This means that the mentor must have experience or knowledge in the domain in which he or she is mentoring. To put it simply, an accountant could not mentor an architect if he has no knowledge of architecture."
Paisley highlights the different types of mentoring, each with its own unique outcomes and processes:
Qualification mentors support those who are working towards a qualification. In South Africa, accountants and engineers working towards professional status are required to have mentors who guide them towards that qualification. These mentors must have successfully acquired the qualification.
Career mentors support those who wish to develop or follow a particular career. Knowledge of career possibilities and a strong network of contacts are invaluable in this regard.
On-boarding mentors ensure the transition into an organisation is smooth and speedy. Knowledge of the organisation, its culture, policies and processes is imperative.
Leadership mentors develop leaders.
Learning mentors enable learners to implement their learning.
Entrepreneur mentors build business skills for entrepreneurs.
Domain-specific mentors have the required experience and knowledge in a specific field or profession, or in an aspect of a field, such as human resources, logistics, marketing, finance, IT, teaching, admin, management, and so on.
Life mentors are usually role models, such as parents, priests, teachers, or older siblings – those whose wisdom guides us through life. Life mentors can be with their mentees for a long time.
Casual mentors are those who pass through our lives briefly but leave their mark through a few words or some action that we come to admire.
What makes a good mentor?
Given the above distinctions, it's important that organisation leaders clearly identify the type of mentoring that will best serve their businesses, insists Paisley, who believes that volunteer mentors often have the most powerful effect. "Those who are keen to help (not rescue) others, who have an abundance (as opposed to scarcity) approach and who are willing to sacrifice their own time and energy, are those who will inevitably make a positive difference."
According to Paisley, the mentor's attitude is key. "Many people feel it is simply not their responsibility to grow others. Some fear losing their power if they share their knowledge. At other times, racism or sexism underlies a reluctance to pass on experience. More often than not, a deep-seated sense of insecurity underlies these fears."
Crucial, too, to the mentor's ability is to remember what it was like not to know, to be naïve, says Paisley. "I have come across mentors who have difficulty translating their experience to someone new to the field. Ever had a tech geek explain a computer programme in language you don't understand? That feeling of foolishness is not at all conducive to good learning or confidence building."
Mentoring comes naturally to some, but it can also be learnt, says Paisley. "Certainly, there is value in developing coaching skills (such as questioning and listening), as well as in providing a model and process for beginner mentors. As a rule of thumb, mentors should only give advice when the mentee is 'stuck' or specifically asks for it. Mentors should bear in mind the words of American writer and management consultant Margaret Wheatley: 'People support what they create, and resist what they are excluded from'."
On the other side of the relationship, care should be given to selecting the mentees, he continues. "As in coaching, where 'coaching readiness' is critical, so 'mentee readiness' is equally important. Mentoring works best where the mentee is open to learning from the mentor. It is also very powerful to thoroughly prepare mentees for mentoring, ensuring that the relationship, outcomes and boundaries are clearly understood. Also, where possible, both mentors and mentees should voluntarily choose their mentees/mentors. Working with someone you disrespect does not lead to great results."
When mentoring really works
While the rewards for being a good mentor are tangible and lasting, helping others grow is not something that necessarily motivates everyone," Paisley points out. "Tradition dictates that mentors were not paid for mentoring, but this idea is fast losing traction as the positive outcomes of 'professional' paid mentorship – particularly in the field of entrepreneur development – are more widely acknowledged."
As a result of this shift, there are organisations where formal mentoring programmes have been implemented. "These will have carefully identified outcomes and measurables, and will involve the focused enrolment of mentors and mentees as well as the development of skills for both, and a planned and coordinated programme, with regular sessions, feedback, supervision and evaluation," Paisley explains.
On the flipside, however, are organisations where informal mentoring is order of the day. "Here, the process will be an organic one, and encouraged but not necessarily planned and coordinated. Mentors show up, find and connect with mentees and off they go, as often as is necessary and for as long as is necessary," he says.
Are you interested in learning more about the sacred role that mentors play within our society, and gaining a greater understanding of the methods used to bring out the best in others? The South African College of Applied Psychology offers a range of accredited coaching courses, from a part-time Coach Practitioner Programme to a Postgraduate Diploma in Coaching. For more information, enquire now.
Ultimately, though, the success of any mentorship programme depends on the dedication of those involved. "What helps is commitment and support from the top, with a champion and sponsor who can create a learning-mentoring environment. Selecting the right mentors and mentees, developing their skills, careful contracting, skillful planning and coordination with an abundance of appreciation, recognition and reward all ensure success and a positive and powerful outcome."
What it's like being a psychologist in South Africa
The life-changing rewards of studying psychology


text:
Bus parking (12)
Children's quiz available (11)
Disabled toilets (14)
Picnic area (13)
Water bottle refill (10)
The search has returned 14 places
Balvenie Castle
Face a mighty, curtain-walled fortress, built in the 1200s as the seat of the powerful earls of Buchan.
Dallas Dhu Historic Distillery
Step back in time to see and hear how whisky was made in the 1900s – and then sample a dram for yourself.
March the length of this massive fort built in the wake of the Battle of Culloden to see why it's served the British Army so well for 250 years.
Huntly Castle
Visit the seat of one of medieval and Renaissance Scotland's most powerful families, the earls of Huntly.
Kinnaird Head Castle Lighthouse and the Museum of Scottish Lighthouses
Explore a fine castle altered in 1787 to contain the first lighthouse built by the Northern Lighthouse Board.
Spynie Palace
Enter Scotland's largest surviving medieval bishop's house – residence of the bishops of Moray for 500 years.
Tolquhon Castle
Judge for yourself why this noble residence is said to be one of Grampian's most picturesque castles.


text:
Carriera
Cresciuto nel settore giovanile dell', debutta in prima squadra il 15 aprile 2018 in occasione dell'incontro di División Profesional vinto 4-2 contro l'.

Il 2 luglio 2021 viene prestato al .

Statistiche

Presenze e reti nei club
Statistiche aggiornate al 7 novembre 2021.

Note

Collegamenti esterni