text:
Q: Postgresql inbox query I have a Messages table that looks like this:
                    Messages
+-----+------------+-------------+--------------+
|  id |  sender_id | receiver_id |  created_at  |
+-----------------------------------------------+
|  1  |      1     |      2      |   1/1/2013   |
|  2  |      1     |      2      |   1/1/2013   |
|  3  |      2     |      1      |   1/2/2013   |
|  4  |      3     |      2      |   1/2/2013   |
|  5  |      3     |      2      |   1/3/2013   |
|  6  |      5     |      4      |   1/4/2013   |
+-----------------------------------------------+

Where a 'thread' is a group of messages between a given sender_id and receiver_id I want a query to return the most recent 10 messages for the most recent 10 threads where either the sender_id or receiver_id is a given id.
Expected output where given user_id is 5:
+-----+------------+-------------+--------------+
|  id |  sender_id | receiver_id |  created_at  |
+-----------------------------------------------+
|  1  |      5     |      2      |   1/4/2013   |
|  2  |      5     |      2      |   1/4/2013   |
|  3  |      2     |      5      |   1/4/2013   |
|  4  |      3     |      5      |   1/4/2013   |
|  5  |      5     |      2      |   1/3/2013   |
|  6  |      5     |      4      |   1/3/2013   |
+-----------------------------------------------+

up to a limit of 10 messages between, for example, user 5 and 2 (above there are 4) and a limit of 10 threads (above there are 3).
I've been trying with this sort of query using a subquery but haven't managed to get the second limit on the number of distinct threads.
SELECT * FROM (SELECT DISTINCT ON (sender_id, receiver_id) messages.*
FROM messages
WHERE (receiver_id = 5 OR sender_id = 5) ORDER BY sender_id, receiver_id,
created_at DESC)
q ORDER BY created_at DESC
LIMIT 10 OFFSET 0;

I'm considering creating a new Thread table containing a thread_id field which would be the concatenation of sender_id + receiver_id and then just joining on Messages but I have a sneaky suspicion that it should be doable with just one table.

A: The tidiest query I could imagine to resolve your problem within one query is the following one:
select * from (
  select row_number()
    over (partition by sender_id, receiver_id order by created_at desc) as rn, m.*
  from Messages m
  where (m.sender_id, m.receiver_id) in (
    select sender_id, receiver_id
    from Messages
    where sender_id = <id> or receiver_id = <id>
    group by sender_id, receiver_id
    order by max(created_at) desc
    limit 10 offset 0
  )
) res where res.rn <= 10

The row_number() over (partition by sender_id, receiver_id order by created_at desc) column will contain the row number of each message within each thread (it will be like the record number if you run a separate query to query just for one thread). Apart from this row number you query the message itself if it is contained in the 10 topmost threads (that is made by that (m.sender_id, m.receiver_id) in ...query.... And finally as you want just 10 topmost messages you limit the row number to be lower or equal to 10.

A: I would suggest taking couling's answer and slightly modifying it so that it does provide effectively two queries using a common table expression:
WITH threads (sender_id, receiver_id, latest) as (
        select sender,
               receiver,
               max(sent)
          from sof_messages
         where receiver = <user>
            or sender = <user>
         group by sender,
               receiver
         order by 3
         limit 10
 ),
 messages ([messages fields listed here], rank) as (
         select m.*,
                rank() over (partition by (sender, receiver), order by sent desc)
           from sof_messages
          WHERE (sender, receiver) in (select (sender, receiver) from threads))
 SELECT * from messages where rank <= 10;

This has the advantage of allowing the planner to have a pretty good idea of when to use indexes here.  In essence each of the three pieces to the query is independently planned.

A: I'm posting this to show what can be done.
I do not really recommend using it.
It would be much better to do two separate queries: 1 to retrieve the 10 most recent threads and 1 repeated to pull back the 10 most recent messages for each thread.
However you may achieve your goal with the rank() window function as shown below.
select * from (
      select message.*,
             rank() over (partition by message.sender, message.receiver
                              order by sent desc )
      from sof_messages message,
           (
            select sender,
                   receiver,
                   max(sent)
              from sof_messages
             where receiver = <user>
                or sender = <user>
             group by sender,
                   receiver
             order by 3
             limit 10
           ) thread
      where message.sender = thread.sender
        and message.receiver = thread.receiver
      ) message_list

where rank <= 10

There are a couple of different queries which will achieve your goal with window functions, none of them particularly clean.

A: Creating a Thread table looks wrong because of data duplication, but a view may help:
CREATE VIEW threads AS
  SELECT sender_id, receiver_id, min(created_at) AS t_date
  FROM messages
  GROUP BY sender_id,receiver_id;

Change min(created_at) to max(created_at) if the thread's date is to be the date of its most recent message, rather than the oldest one.
Then it can be joined back to messages simply with:
SELECT ... FROM messages JOIN threads USING (sender_id,receiver_id)

A: I haven't tested this, but it looks like you forgot the LIMIT 10 on your subquery which gives you the 10 most-recent threads:
SELECT
  *
FROM
  (SELECT DISTINCT ON
     (sender_id, receiver_id) messages.*
   FROM
     messages
   WHERE
     (receiver_id = 5 OR sender_id = 5)
   ORDER BY
     sender_id, receiver_id, created_at DESC
   LIMIT
     10)
  q
ORDER BY
  created_at DESC
LIMIT
  10
OFFSET
  0;

(I've pretty-printed the SQL so it is easier to tell what is going on.)


What's in Your Career Planning Toolbox?
From time to time, I like to give you–my loyal readers!–and newcomers an opportunity to see previously posted blogs on a particular subject. When I've done so in the past, many of you have commented that it was nice to reread a piece or read one you've missed without having to search around. So, without further ado, today's topic is you and your fire service career planning and development. Enjoy!
You might just be starting out in your career as a firefighter, but any retiree will likely tell you that their career seemed to go by in the "blink of any eye." If you think it is hard to get into the fire service, wait until you try to get out; here are things you can do now to navigate that end-of-career change.
You may be part of an organization that has numerous opportunities with various fire service career paths outlined, or your department — particularly if it's a smaller department — may be more limited in what it has to offer for your career development.
Regardless of your situation, it is your responsibility to handle your professional development. If there's a program in place, great, learn all you can about it and get going.
If not, here's how you can create your own plan for your fire service career.
Networking is the lifeblood for your professional life, but how can you effectively and efficiently network in the digital age? It can be relatively easy if you have an action plan and that's my purpose with today's post: Help you to develop an action plan for your professional networking.
So, what is your purpose for getting on the LinkedIn network? Are you looking for a job? Are you starting out to develop a professional network of contacts? Are you looking to expand your "circle of influence"? Or, are you looking for possible solutions for a vexing problem on the job?
Well, I've got good news: LinkedIn is a multifunctional tool that can help you do all of those things and more. Just like every other tool in our business, however, you'll get better results from using the tool when you know and understand the tool's capabilities. What do you say we get started?
I loved my jobs, all of them, and I gave 110 percent effort every day. Most of us in the fire service and our brothers and sisters in the other public safety agencies are the same: We eat, breath and live the job.
But at the same time, you've got to be investing in your future, a "future" that could show up tomorrow. What job(s) would you like to be doing if you suddenly couldn't be a firefighter anymore? What type of education or training is required for those jobs? Are there opportunities to volunteer with companies or organizations that have those kinds of jobs where you could get some practical experience?


text:
Q: Does anyone know how a style title could be adjusted to have custom border and shading? Does anyone know how a style title could be adjusted to look like the following.
What I am trying to achieve:

When I am trying to modify the style through the tab Borders, the different colour stick to the box. However, I am trying to have the box in one colour and the text and the underline in a similar one. The underline should not be at the very end of the border, which is the best I could achieve now.
Welcome to any hints that could help solve the matter. Thank you

A: The Borders function will not do what you want ... that is if I understand your question correctly.
Use the Underline feature (Home tab, Font Group) and then only the text will contain the single colored line. You can set the underline color to be the same as the text or different from the text.
Use the Border function to only apply the shading to the paragraph.

A: You could try something like this, which expands on Rich Michaels's answer and my comment to it:

*

*Either in the Styles pane on the side of the window or in the Styles gallery on the Home tab of the ribbon, right-click the style that's being used for the heading, and then click Modify.

*In the Modify Style dialog box, on the Format drop-down in the lower-left corner, select Border.

*On the Shading tab, set the shading color.

*As you've seen, adding shading won't give you the extra 'padding' that you want around the text. Therefore, on the Borders tab, add borders in the same color that you used for the shading. You can adjust the thickness of the border, and even set a different border thickness on each side, to get the look that you want.
Because the borders are available in only a limited number of predefined thicknesses, you can fine-tune the result by clicking Options, and then setting the Top, Bottom, Left, and Right fields to get exactly what you want. For example, if you want your shaded box to extend 9 points above and below the text, but 6 points on the left and right, add a 6-point border to all sides, and then, in the Border and Shading Options dialog box, set Top and Bottom to 3 pt, and Left and Right to 0 pt.

*Back in the Modify Style dialog box, select Format > Paragraph. Then click Tabs, and set a right tab at the right text margin.

*Back in the Modify Style dialog box, select Format > Font, and then set the desired underline style and color.

*After the last character of your heading text, press Tab before you press Enter.
In the following example, I've modified the built-in Heading 1 style in this manner.

redpajama_set_name: RedPajamaStackExchange


Have you ever heard a woman say "I want to get married (again), but it's hard to make a true connection to the man of your dreams"? That's the conversation that I recently had with a group of progress single women searching for love. When you understand the power of connection it will lead to places you've only imagined possible for your love life.
Let me first set the record straight, I am not "coined" as a relationship expert or love coach by any means. What I can say is that I've learned so much over the past several years about love and relationships. To be completely honest it's because I've failed at it in the past and rebounded to discover the power of love. If love is rooted and grounded on the basis of friendship and built on a foundation of God's love that's when we learn how to have the kind of love that God has intended for us.
Here's the most important step to making a lasting connection. You have to get to know the man for who he is and not what he does. You must realize that most men just want someone who they can trust, love and cherish. Because when you learn to listen to his thoughts, feelings, challenges and even insecurities (without judgment) it encourages him to open up and desire to share more with you.
*Bonus: For women who are desiring to live a life pleasing and honoring God, hold true to your promise and avoid having a sexual relationship. Introducing sexual intimacy can be dangerous and limits you from both discovering the authentic love that friendship can produce.
Stay in your feminine energy by being receptive and open to his attention. As a result, when the man of your dreams sees that you're a woman who's secure in herself and doesn't need to pursue him, he'll be encouraged to step up his game so another man doesn't beat him to the chase. For a man to feel like he wants to get closer to you, he needs to feel good around you. As long as you're happy to see him and tell him you enjoy his company, most men will come back for more.
Keep your eye on the big picture and that is FRIENDSHIP, believe me, love will soon follow. Seek for a purposeful relationship with him that will bring him to need you as a life partner. In exchange, you will be more fulfilled by life and vision of the life you can have with your best friend.
Once you're in a committed relationship with the man of your dreams, it is your reasonable service to oversee, protect, and care for who God is entrusting to you. Let him take the lead and continuing to be receptive to him and it will fuel his passion for you. He will adore you and appreciate you. And you will be able to relax knowing that you are desired, valued and most of all cherished by him.
This post was written by Latricia Chisholm. Latricia Chisholm is the CEO and Founder of Emerge, which is an organization specializing in organizational leadership development and training. In addition to her operational oversight, Latricia is a sought after personal development coach. She has a unique way of helping clients via strategies and guiding principles to inspire intentional growth which ultimately leads to personal power, abundance and prosperity. Known as a Facilitator of Discovery™, she quickly identifies her client's areas of strength. She then guides them through a process that leads to maximizing their full potential and discovering their purpose. Her motto is "Leave No Dream Unfulfilled".
Latricia has 15 years in the filed of leadership training and project management. She received her Master of Science, in Creative Studies and Change Leadership from Buffalo State. She is a dedicated mother of 2 amazing children and key contributor to community.
Moms 'N Charge® is a community committed to inspiring and empowering moms to feel good without feeling guilty. When mom can learn to FLY (First Love Yourself), everyone else will benefit from her self-care.


Our goal is to resolve your problem as quickly and efficiently as possible. Follow these quick guidelines for using all the support resources we have to offer efficiently, so we can serve you better, faster, and help you connect your students to their dream jobs.
Follow the links on this page for access to user guides, videos, in-depth training articles, technical documentation and many more resources that can help you find solutions quickly and on your own.
If you can't find an answer in our support portal or KnowledgeBase, click on the Live Chat window below. With chat, we can answer quick questions and resolve minor issues in 10-15 minutes.
Problems that can't be resolved in a few minutes, or require a lot of explanation, are better answered via email. Contact our support team via email and get your case assigned to one of our specialists in less than 24 hours.
If your issue requires additional training, intervention from our technical team, or a meeting with our support team, we'll escalate it as needed. For additional information about our support process, please refer to our Service Request Process.


text:
SEP04 Sibling Class, 6:30 – 7:30 p.m. FHN Memorial Hospital, 1045 West Stephenson Street, Freeport
Sibling Class, 6:30 – 7:30 p.m.
Designed to help siblings adjust to a new baby in the family. Instructor is Danielle Wittig. Registration required; for more information or to register, call 815-599-6221.
SEP09 Living Through Grief, 6 – 7:30 p.m. FHN Memorial Hospital, 1045 West Stephenson Street, Freeport
SEP10 Community Health Forum: Chemicals' Effects on Your Health, 5:30 p.m. Freeport Public Library, 100 E. Douglas Street
Community Health Forum: Chemicals' Effects on Your Health, 5:30 p.m.
Dr. Jack Herrmann will discuss the latest research on how exposures to chemicals in our environments can result in ailments ranging from obesity to reproductive failure. Presented by the Stephenson County Health Department and FHN; no registration is necessary. Open to the public; refreshments will be served.
SEP11 FHN Speaker Series: Waging War Against an Invisible Enemy, 5:30 – 6:30 p.m. FHN Family Healthcare Center – Burchard Hills, 1010 W. Fairway Drive, Freeport
FHN Speaker Series: Waging War Against an Invisible Enemy, 5:30 – 6:30 p.m.
Join FHN Infection Preventionist Margie Kochsmier to learn how to combat germs in your environment and learn how FHN works to keep patients safe from germs – including dangerous "superbugs". Open to the public; refreshments will be served. Registration open soon.
SEP14 Heartsaver® Pediatric First Aid, CPR & AED, 8 a.m. – 4:30 p.m. FHN Memorial Hospital, 1045 West Stephenson Street, Freeport
Heartsaver® Pediatric First Aid, CPR & AED, 8 a.m. – 4:30 p.m.
FHN Memorial Hospital Conference Dining Room, lower level
Hands-on learning program to teach members how to perform high-quality CPR, first aid, and proper Automated External Defibrillator (AED) use specific to infants and children. The course is $60, which includes student workbook and CPR certification card that is valid for 2 years.For more information or to register, use our registration form, or you can call 815-599-6707 or email coil@fhn.org.
SEP17 The First Steps Grief Support Group, 10 – 11:30 a.m. FHN Memorial Hospital, 1045 West Stephenson Street, Freeport
SEP17 Blood Pressure Screening - Freeport, 4 – 6 p.m. Joseph's Pantry Faith Center, 203 W. Pleasant, Freeport
SEP17 Small Steps. Big Rewards., 5 – 7 p.m. FHN Memorial Hospital, 1045 West Stephenson Street, Freeport
Small Steps. Big Rewards., 5 – 7 p.m.
FHN Memorial Hospital Globe Room – Lower Level
This pre-diabetes class, a joint program of the National Institutes of Health and the Centers for Disease Control and Prevention, helps individuals at risk for Type 2 diabetes take the first step toward preventing diabetes and living a healthier, longer life. No charge; registration is required. To register or for more information, call 815-599-6253.
SEP17 Prenatal Class, 5 – 9 p.m. FHN Memorial Hospital – Conference Dining Room
SEP18 Managing Early Grief: The First Nine Months After a Loss, 6 – 8 p.m. FHN Memorial Hospital, 1045 West Stephenson Street, Freeport
Managing Early Grief: The First Nine Months After a Loss, 6 – 8 p.m.
FHN Memorial Hospital, 1045 W. Stephenson Street
This 9-week support group is designed for anyone who has lost a loved one during the past nine months. There is no charge, but registration is required to attend. For more information or to register, call FHN Hospice at 815-599-7240.
SEP19 Perinatal Loss Support Group, 6:30 – 8 p.m. FHN Memorial Hospital, 1045 West Stephenson Street, Freeport
SEP25 Free Vein Screening, 3 – 6 p.m. FHN Memorial Hospital, 1045 West Stephenson Street, Freeport
Week 2. This 9-week support group is designed for anyone who has lost a loved one during the past nine months. There is no charge, but registration is required to attend. For more information or to register, call FHN Hospice at 815-599-7240.
< July 2019 August 2019 Sept. 2019 >

redpajama_set_name: RedPajamaCommonCrawl


"Work," featuring Drake, rules again, while Bieber breaks his own longevity record with another week in the top 10 for "Love Yourself."
Rihanna's "Work," featuring Drake, spends a ninth week at No. 1 on the Billboard Hot 100 (dated April 30), pushing her past the Beatles for the second-most total weeks spent at the summit. "Work" narrowly fends off Desiigner's "Panda," which surges 5-2 on the Hot 100 and tops the Streaming Songs chart.
Plus, Justin Bieber breaks his own longevity record in the Hot 100's top 10 with "Love Yourself" and Drake takes over atop the Digital Songs chart with "One Dance."
As we do every Monday, let's run down the Hot 100's top 10 and more. Highlights of the airplay, sales and streaming-based Hot 100 post on Billboard.com each Monday, with all charts updated each Tuesday.
"Work," released on Westbury Road/Roc Nation, drops to No. 2 on the Streaming Songs chart after eight weeks at No. 1, with 26 million U.S. streams, down 4 percent, in the week ending April 14, according to Nielsen Music. It falls 3-6 on Radio Songs (97 million in all-format airplay audience, down 13 percent), after reaching No. 2 on the list, and descends 12-13 on Digital Songs (52,000 downloads sold, down 18 percent), which it led for two weeks. Still, "Work" tops Billboard's Hot R&B/Hip-Hop Songs chart for an 11th (nonconsecutive) week.
As reported when the song reached the top, "Work" is Rihanna's 14th Hot 100 No. 1, placing her in a solo share of the third-most all-time, ahead of Michael Jackson (13). The Beatles lead with 20 No. 1s, followed by Mariah Carey (18). "Work" is the record-breaking ninth Hot 100 No. 1 in a row by non-U.S.-born acts (with Rihanna from Barbados and Drake, from Canada), while this week marks the record-extending 41st straight week that non-Americans have led the Hot 100.
Ask Billboard: What's the Longest Streak for Americans Atop the Hot 100?
"Work," down 9 percent in overall chart points, narrowly stays atop the Hot 100 over Desiigner's "Panda," which pounces 5-2 (up 27 percent). The rapper's debut hit also takes over atop Streaming Songs (2-1) and the subscription services-based On-Demand Songs chart (4-1), with 28.5 million overall domestic streams (up 28 percent) and 12.9 million on-demand clicks (up 26 percent) (and with roughly two-thirds of its Hot 100 points from streaming). More than half (53 percent) of the song's streams are from non-Vevo YouTube views, as no official video for the track has yet been released, although an official clip is in the works, according to Def Jam.
"Panda" also soars 9-4 on Digital Songs (87,000, up 23 percent, good for the Hot 100's top Digital Gainer award); is the week's top debut on Radio Songs at No. 32 (34 million, up 34 percent); and spends a second week at No. 1 on Billboard's Hot Rap Songs chart.
Lukas Graham's "7 Years" drops to No. 3 on the Hot 100 after three weeks at its No. 2 high. The single from the Danish pop band, fronted by Lukas Graham Forchhammer, keeps at No. 2 on Digital Songs (101,000, down 20 percent) and No. 3 on Streaming Songs (17.7 million, down 1 percent) but continues to grow in airplay, rising 7-4 on Radio Songs (107 million, up 19 percent).
Meghan Trainor's "No" descends to No. 4 from its No. 3 Hot 100 peak. Still, she adds a rewarding consolation prize: Rascal Flatts tops Billboard's Country Airplay chart with "I Like the Sound of That," which she co-wrote before breaking through with her own 2014 eight-week Hot 100 No. 1 "All About That Bass." Having Rascal Flatts record "Sound" was Trainor's "biggest dream come true," she beamed in her first interview with Billboard in 2014.
Zayn's former No. 1-debuting "Pillowtalk" dips 4-5 on the Hot 100, while two tracks reach new peaks: Mike Posner's "I Took a Pill in Ibiza" climbs 8-6, matching the peak of his prior top 10, his debut hit "Cooler Than Me," in 2010, and Fifth Harmony's first top 10, "Work From Home," featuring Ty Dolla $ign, leaps 9-7.
Justin Bieber's "Love Yourself" drops 6-8 on the Hot 100 after topping the chart for two (nonconsecutive) weeks. Still, it spends a 10th week at No. 1 on Radio Songs (141 million, down 2 percent) and grants Bieber history: it has spent its first 22 weeks on the Hot 100 in the top 10, dating to its debut at No. 4 on the Dec. 5 chart. With its latest week in the region, "Love Yourself" breaks the record for the most consecutive weeks logged in the top 10 from a song's debut, passing his two prior singles from his album Purpose, as well as two other tracks.
Rounding out the Hot 100's top 10, DNCE's debut single "Cake by the Ocean" returns to the bracket and its peak (12-9); and G-Eazy and Bebe Rexha's "Me, Myself & I" holds at No. 10 after hitting No. 7 (and crowns Billboard's Pop Songs radio airplay chart for a second week).
Beyond the Hot 100's top 10, and as he stays atop the chart thanks to his featured role on "Work," Drake jumps 21-13 in his second week with "One Dance," featuring WizKid and Kyla. The track roars 4-1 on Digital Songs (119,000, up 14 percent), becoming Drake's seventh leader on the list, and dethrones his own "Pop Style," featuring The Throne (a.k.a. Jay Z and Kanye West) (1-5; 85,000, down 34 percent). Drake is the first artist to replace himself with consecutive No. 1s on Digital Songs since Jordan Smith, the latest winner of NBC's The Voice, who led successively with "Somebody to Love" and "Mary Did You Know" in December and January. "Dance" wins top Digital and Airplay Gainer honors on the Hot 100, as it also enters Radio Songs at No. 34 (33 million in airplay audience).
Find out more notable news in the weekly "Hot 100 Chart Moves" column to post later this week. And visit Billboard.com on Tuesday, when all rankings, including the Hot 100 in its entirety, will refresh, as they do each Tuesday. The Hot 100 and other charts will also appear in the next issue of Billboard magazine, on sale Friday (April 22).


Scotland's largest outdoor ice rink is back!
Skate under the stars in Glasgow city centre – 12noon – 10pm weekdays and 10am – 10pm at weekends.
You can also sit back in comfort and enjoy festive food and drink and watch the skaters.
Wrap up warm and enjoy this family friendly event.


text:
The royal palace of Sadabad Tehran
Aliqapoo Palace Isfahan
Niavaran Palace Tehran
The palace of Ardeshir Fars
Farahabad Palace Mazandaran
Hasht Behesht Palace Isfahan
The royal palace of Sadabad
The royal palace of Sadabad covers an area of about 110 hectares and consists of 18 buildings including village palaces and mansions, located in the heart of Tehran, the capital city of Iran and is made of bricks. At first , this palace served as the residence of Qajar kings bu today it is one of the best attractions of Iran.
https://arian-tour.com/iran-guide/what-to-see-in-iran/historical-palaces-of-iran.html#sigProId563a0a27fc
Aliqapoo Palace
Aliqapoo Palace The history of Aliqapoo Palace dates to the 17th century and is located in the ancient city of Isfahan in front of the magnificent mosque of Sheikh Lotfollah. At first, this palace was a residence for Shah Abbas I and Shah Abbas II expanded the palace and added a beautiful music hall to the building. The palace has 52 rooms and is beautifully decorated with miniature paintings, plaster carvings, stucco, breath-taking ceilings and a balcony facing to the royal garden which will surely catch your eyes.
https://arian-tour.com/iran-guide/what-to-see-in-iran/historical-palaces-of-iran.html#sigProId8c97f0c421
Niavaran Palace
Niavaran Palace consists of several buildings such as Sahebgharaniye Palace which is remained from Nasir al-Din Shah of the Qajar dynasty. but the main and the most beautiful building was completed in 1968. at first, this palace served as the residence of Mohammad Reza Pahlavi and his family until the Iranians revolution. The palace encompasses an area of about 9000 square meters and is located in the northern part of Iran. Niyavaran Palace is surrounded by a beautiful garden filled with lush greenery and has cool weather. The jaw-dropping architecture of buildings and museums shows exquisite artworks of Iranian architects. Niyavaran Palace complex is a great combination of architecture and nature which attracts a lot of tourists annually.
https://arian-tour.com/iran-guide/what-to-see-in-iran/historical-palaces-of-iran.html#sigProId16912cdfb5
The palace of Ardeshir
The palace of Ardeshir; also known as Atashkade is one of the most important structures of the Sassanid era. The place was built on the north edge of Firouzabad Plain and at first, it served as the king's residence. The castle includes several parts such as an entrance(Ayvan), a public reception area, a central dome, and a courtyard. The main materials used in this construction are gypsum and brick. The area around Ardeshir Palace is filled with agricultural fields and there is also a pond and a spring near the castle which irrigate nearby fields. Don't miss this historical palace during your stay in Iran.
https://arian-tour.com/iran-guide/what-to-see-in-iran/historical-palaces-of-iran.html#sigProIdfeb79a3a9e
Farahabad Palace
Farahabad Palace was built under the order of Shah Abbas I (who had also built Aliqapoo Palace). The palace is located in the green city of Iran, north of Iran. The construction of the building started in 1611 and it was built on a hill. The whole building is blessed with murals and gold works and is surrounded by several beautiful Persian-style gardens. The palace is the best place to get refreshed and enjoy its lovely atmosphere.
https://arian-tour.com/iran-guide/what-to-see-in-iran/historical-palaces-of-iran.html#sigProId50bf75e3c9
Hasht Behesht Palace
Hasht Behesht Palace( Hasht Behesht in Farsi means 8 paradises) was built under the provision of Shah Soleyman in the Safavid era about 450 years ago in Isfahan. The two-story octagonal palace was home to 8 of king Soleyman's beloved women. The palace is designed by tiles with beautiful pictures of birds, reptiles, and predators painted on them. An amazing pool called the pearl pool and breath-taking architecture of ceilings. The glorious architecture of Hasht Behesht Palace has made visitors speechless throughout all these years.
https://arian-tour.com/iran-guide/what-to-see-in-iran/historical-palaces-of-iran.html#sigProIdba506e0992
Historical Palaces of Iran - 5.0 out of 5 based on 3 votes


text:
All Events, Closures and Refurbishments at Disney Springs, Hollywood Boulevard or Magic Kingdom in Walt Disney World during January, February, April, July, November and December of 2021
Disney Springs Disney's Animal Kingdom Disney's Hollywood Studios EPCOT Hollywood Boulevard Magic Kingdom Disney Resorts
Under Construction - TBD Tomorrowland : Magic Kingdom TRON: Lightcycle Run TRON Lightcycle Run is coaster-style attraction, in which riders board a train of two-wheeled Lightcycles. It offers access into the energy, lights and excitement of TRON's high-tech universe and is one of the most thrilling adventures.
Dec 2018 - December 23, 2022 Main Street USA : Magic Kingdom Walt Disney World Railroad The Walt Disney World Railroad will cease running and will sit "in residence" at its Main Street Station while work progresses on the new Tron coaster coming to Tomorrowland. This will give guests the chance to have an up-close look at the railroad and take advantage of some unique photo opportunities.
2020 - Jan. 30 Tomorrowland : Magic Kingdom Tomorrowland Transit Authority PeopleMover
January 2021 - August 2021 Magic Kingdom : Walt Disney World The Hall of Presidents - Refurbishment
Jul. 06 - Aug. 13 Disney Springs : Walt Disney World Flavors of Florida
2021-07-06 - 2021-08-13 Disney Springs : Walt Disney World 2021 Flavors of Florida
Oct 1, 2021 - Apr 1, 2023 Magic Kingdom : Walt Disney World Walt Disney World 50th Anniversary Across all 4 parks
Oct 11, 2021 - Nov 11, 2021 Magic Kingdom : Walt Disney World Mickey's PhilharMagic The popular show in Magic Kingdom will close for a month long refurbishment, as Disney adds in a brand new animated scene based on Disney and Pixar's 'Coco.' Mickey's PhilharMagic will reopen on November 12th, 2021.
Nov. 08 - Dec. 21 Magic Kingdom : Walt Disney World Disney Very Merriest After Hours On select nights only
Whatever Happened to River Country? The History Behind Disney's Abandoned First Water Park
Why did Disney close River Country after 25 years of operation, and then let it...
Everything You Need to Know About Magic Key Pass Renewals for Disneyland
Disneyland's Magic Key Holder program has been in limbo for quite a while, so what's...


text:
US displays military firepower after Pyongyang's latest ICBM test – Washington Post
Posted by Cited in article on July 30, 2017
Posted in: North Dakota Cannabis News.	Tagged: North Dakota Marijuana News Cannabidiol Dispensary.	Leave a Comment
By Carol Morello,
The United States pointedly showed off its military prowess over the Pacific and the Korean Peninsula on Sunday in response to North Korea's launch Friday of a missile capable of reaching the U.S. mainland, a test Pyongyang said was a "stern warning" for Washington to back off from threats and more sanctions.
In a sign that tensions are spiraling upward rapidly, the United States flew two supersonic B-1 bombers over the Korean Peninsula as part of a joint exercise with Japan and South Korea. And U.S. forces conducted a successful missile defense test over the Pacific Ocean, sending aloft from Alaska a medium-range ballistic missile that it detected, tracked and intercepted using the Terminal High Altitude Area Defense System.
[As North Korea intensifies missile program, U.S. opens $11 billion base in the South ]
The sense that time is running out in the confrontation with North Korea was reinforced when Nikki Haley, the U.S. ambassador to the United Nations, retweeted a photo of the bomber drills and wrote, in her own words, "Done talking about NKorea. China is aware they must act. Japan & SKorea must inc pressure. Not only a US problem."
Amid the show of force by the United States and its allies, North Korea said it would respond with a "resolute act of justice" if it were provoked either militarily or economically.
"In case the U.S. fails to come to its own senses and continues to resort to military adventure and 'tough sanctions,' the DPRK will respond with its resolute act of justice," the state-run Korean Central News Agency quoted a Foreign Ministry spokesman saying, using the acronym for the North's official name, the Democratic People's Republic of Korea.
The spokesman said the United States should "wake up from the foolish dream of doing any harm to the DPRK," and warned Washington against a preemptive nuclear strike.
"If the Yankees . . . dare brandish the nuclear stick on this land again . . . the DPRK will clearly teach them manners with the nuclear strategic force," the spokesman said.
The Trump administration's frustration has grown exponentially in recent days, since Pyongyang on Friday conducted its second successful test of an intercontinental ballistic missile. Though it landed off the Japanese coast, experts said if the missile had flown in a lower arc it could have reached the U.S. mainland.
U.S. officials have been trying to get China, North Korea's main trading partner and economic lifeline, to exert pressure on its neighbor. Secretary of State Rex Tillerson has called Beijing and Moscow the "principal economic enablers" of Pyongyang. Though China voted last year for harsh U.N. sanctions against the country's leaders and state-tied companies, it fears that a destabilized regime would send refugees flooding across the border and has urged dialogue as the only pragmatic approach.
President Trump on Saturday berated China, tweeting that "they do NOTHING for us with North Korea, just talk. We will no longer allow this to continue." And Vice President Pence, traveling Sunday in Estonia, told reporters that "all options are on the table."
"The continued provocations by the rogue regime in North Korea are unacceptable, and the United States of America is going to continue to marshal the support of nations across the region and across the world to further isolate North Korea economically and diplomatically," Pence said.
North Korea tested its first nuclear weapon in 2006 and has been burdened with six sets of U.N. sanctions since then. The North claims its weapons are for defensive purposes. But a series of missile launches and tests conducted since Kim Jong Un came to power have increased concern that North Korea may be closing in on the ability to fit a nuclear weapon on a missile's nose cone.
The North Korean leader himself had openly boasted that more missile tests would be coming. In late March, he vowed to send a "bigger gift package to the Yankees," state-run media reported.
"People have been warning about the North Korean ICBM for 20 years," Joseph Cirincione, president of the Ploughshares Fund, said Sunday on ABC's "This Week." "But the wolf is at the door. This a very real threat to the United States."
Sen. Dianne Feinstein (D-Calif.), speaking on CBS's "Face the Nation," called North Korea a "clear and present danger" that must be taken seriously.
"I'm convinced that North Korea has never moved at the speed that this leader has to develop an ICBM to put solid fuel, to have an interesting launch device, and to have a trajectory which, as of the latest analysis, would enable it to go about 6,000 miles and maybe even hit as far east as Chicago," she said. "We can't have that."
Feinstein said she hoped John F. Kelly, the incoming White House chief of staff who starts his new position Monday, would be able to begin negotiations with Pyongyang that would eventually end its nuclear program.
For now, however, worried capitals are focusing on bulking up their militaries. South Korea announced Saturday that it will start talks with the White House about building more powerful ballistic missiles capable of striking the North.
[South Korea, in a shift, wants more military firepower against the North]
And the U.S. military was blunt in its assessment of the threat posed by North Korea. In a statement accompanying the departure of the two B-1 bombers from Guam to the Korean Peninsula, the Pacific Air Forces commander, Gen. Terrence J. O'Shaughnessy, called the country the "most urgent threat to regional stability."
"If called upon, we are ready to respond with rapid, lethal, and overwhelming force at a time and place of our choosing," he said.
Ashley Parker and Madhumita Murgia contributed to this report.
← Putin, Responding to Sanctions, Orders US to Cut Diplomatic Staff by 755 – New York Times
Putin To Expel 755 US Diplomatic Staff From Russia In Response To New Sanctions – NPR →


Mark Hardy was born in Hazleton, Pennsylvania. He studied music composition at Carnegie Mellon University with Nancy Galbraith, Lukas Foss, Leonardo Balada and Eduardo Alonso Crepo and at Northwestern University with Amnon Wolman, Jay Alan Yim and Alan Stout.
His music has been played and broadcast all over the world by Cuarteto Latinoamericano, Butchershop Quartet, Hara Quintet, Articular Facet, and Soundings, and at festivals such as Aspen Music Festival, I-Park, BAMF, Produce, and the Canadian Flute Conference.
Past commissions have been from Nike, MTV, VH1, Nicktoons, HP and GM. He is a student of the sitar, currently studying with Indrajit Banerjee. He has produced, written music for, performed and engineered recordings by K-rad, Terry Callier, Irons, Euphone, Resinator, and his own solo work.
Mark has guided every kind of student from ages 4 to 80 on their adventures in music on piano, guitar, bass, sitar, theory, and composition. His students gain a firm foundation in musical notation and theory, and he believes it is never too early or late to start learning an instrument.
A musician translates what they hear in their head along with the language of notation into action as sound. As a teacher Mark makes sure his students develop their inner sense of rhythm along with their reading of music through exercises and pieces designed to make students more self-confident as music-makers. He advocates solid technique based in good practice habits as a cornerstone for a lifetime of making music.


This time of year we all get excited about the weather.
Many of us aren't excited about the current weather. Rainy, windy, volatile. 50 degrees one day, 80 the next. But we are excited because we know that summer is coming.
And with summer comes all kinds of great things.
The most notable of those great things is time spent in the pool or at the beach.
Which is why May is National Water Safety Month!
While we can't predict or always prevent accidents related to water safety, there are some things that you can do to help improve the chances that your summer fun in the water will be safer for your kids. Because swimming is not only fun, it's great exercise too.
There is something about being in the water that causes my kids to get along better. It's kinda like magic! Last spring we stayed in a hotel and had the pool all to ourselves. I've never seen them get a long so well. Water has that affect, it's calming and relaxing. I really think it's good for your physical and emotional health.
But it can be dangerous too!
Keeping kids safer around the water is as simple as remembering your A, B, C, and D's! The ZAC Foundation, an organization whose mission it is to advance water safety, has put together the following list of 4 water safety things you must do to keep kids safe.
Never let kids be alone near the water. If you have a backyard pool and need to step inside, make everyone get out of the water until you return. Bathroom trip at the beach? Everyone out until you get back. Put those smartphones away too. This is one time where constant supervision is important. Besides, you don't want sunburn on the back of your neck from being hunched over your phone!
If you have a backyard pool, make sure there is a fence around it and that gates latch and lock when not in use. Make sure you check that the gates close and lock behind you. If you are staying somewhere with a pool, make sure the same rules apply.
Beyond knowing how to swim, classes that teach first aid for kids and adults are critical so that everyone knows what to do in case something does happen.
Pool and spa drains can potentially cause suction that can prevent someone from returning back to the surface of the water. Educating kids to stay away from all drains is important, especially drains that are not raised. But hair, fingers, toes and clothes can also get snagged and trapped on drains so it's best to stay away from all of them. Avoid toys that sink to the bottom of the pool as they can migrate over to the drains causing children to get too close.
Swimming should be a fun activity, not one that ends in disaster. A little bit of planning and education can go a long way towards reducing these potentially preventable accidents.
For more information about water safety visit: The ZAC Foundation's video and parent's page. For tips delivered right to your email, you can signup for The ZAC Foundation newsletter.
Each prize pack will include a bag, towel, book, water watcher card, t-shirt and wristband. To enter fill out the form below.


text:
The Early Edition: July 27, 2020 Curated summary of up-to-the-minute national security developments at home and abroad.
by Siven Watt and Nat O'Connell
Daily News Roundup, Featured-old
Before the start of business, Just Security provides a curated summary of up-to-the-minute developments at home and abroad. Here's today's news.
PROTESTS AND RACIAL INJUSTICE REFORM
Protests and riots erupted across US states over the weekend in response to police violence against black people and racial injustice in the country. Many protests turned violent this weekend, including in Portland, Seattle, Texas, California and Virginia: in Portland, Oregon thousands gathered Saturday evening, attacking a federal courthouse building and pulling down part of a perimeter fence put up to protect the building, and throwing rocks and bottles at federal agents; in Seattle, Washington protesters set ablaze buildings and cars, including a King County court building, and attempted to destroy security cameras; and in Austin, Texas a man protesting was shot dead by an individual that drove a car at protesters. Matthews S. Schwartz reports for NPR.
The United Nations (UN) human rights office Friday called for federal security forces to limit their use of force in response to protesters, responding to particular concerns with recent policing in Portland, Oregon. "Peaceful demonstrations that have been taking place in cities in the U.S., such as Portland, really must be able to continue without those participating in them — and also, the people reporting on them, the journalists — risking arbitrary arrest or detention, being subject to unnecessary, disproportionate or discriminatory use of force, or suffering other violations of their rights," said the office's spokesperson, Elizabeth Throssell. She expressed particular "worry" that some officers were not wearing any identifiable markings or badge numbers, and made clear that "any victims of unnecessary or excessive use of force do have the right to remedy, and there should be, as we often say, prompt, independent, impartial and transparent investigations into any allegations of human rights violations, and that should ensure that those responsible are held accountable." Throssell also announced that the U.N. Human Rights Committee will issue guidance on Wednesday covering protests, public order and the media's involvement in such. The UN News Centre reporting.
The FBI made clear Friday that it is investigating "criminal activity that constitutes a federal crime or poses a threat to national security," not ideology, in protests in Portland. Renn Cannon, special agent who leads Portland's FBI field office, said in a statement Friday that the bureau is investigating "specific violations of federal law, including arson, the use of improvised explosive devices, and interstate transportation of stolen goods," making clear that the bureau's focus is on people who commit federal crimes. "The FBI does not and will not police ideology," the top agent stressed. J. Edward Moreno reports for The Hill.
Republican Sen. Tom Cotton (Ark.) opined Sunday that slavery was a "necessary evil" on which the US nation was built. Whilst speaking to the Arkansas Democrat-Gazette, Cotton dismissed arguments that America was systemically racist. He is also introducing legislation that aims to block federal funds for New York Times' 1619 Project, an initiative aimed at focusing on the historicity of the U.S. and slavery. "The entire premise of the New York Times' factually, historically flawed 1619 Project … is that America is at root, a systemically racist country to the core and irredeemable," Cotton said. Bryan Armen Graham reports for The Guardian.
An insightful perspective on the surge in violent protests is provided by Associated Press reporters – one of whom was inside federal buildings with federal officers during violent protests, and another who was outside with crowds – in a Twitter thread by Mike Balsamo, which highlights the significance of reporting during nationwide protests that continue to grow in fury and violence.
Federal enforcement agents deployed by the Department of Homeland Security (DHS) "are not there to enforce the law … they are acting as a paramilitary wing to assist the president in his longstanding goal to (in his words) "take over" US cities run by Democrats," writes Elizabeth Goitein for Just Security. Goitein explains why President Trump has resorted to using federal forces, why the DHS is the president's go to weapon of choice and what this means for the 2020 elections.
The novel coronavirus has infected 4.2 million and killed nearly 147,000 people in the United States, according to data compiled by Johns Hopkins University. Globally, there have been more than 16.2 million confirmed coronavirus cases and almost 650,000 deaths. Sergio Hernandez, Sean O'Key, Amanda Watts, Byron Manley and Henrik Pettersson report for CNN.
Florida has reported more coronavirus cases (423,855) than New York state (411,736), which was once the epicenter of the outbreak in the US. Only California, the most populous state in America, has more, with 450,242 cases. Rachel Treisman reports for NPR.
Republicans plan to release their proposals for a fresh round of stimulus today, including $1,200 per person in direct payments, an extended moratorium on evictions and reduced federal unemployment benefits. Trump administration officials previewed text of the proposed bill yesterday, with benefits passed in March due to expire by the end of the month — risking an abrupt end to measures that have supported the U.S. economy during the coronavirus pandemic. Treasury Secretary Steven Mnuchin mentioned in a Fox News Sunday interview the possibility of passing a new round of stimulus bit by bit, rather than in one single bill, an approach previously dismissed by Democrats. Kadhim Shubber reports for the Financial Times.
The Trump administration is going to invest another $472 million into expanding Moderna's clinical trial to test the safety and efficacy of its coronavirus vaccine candidate. Moderna announced yesterday that the Biomedical Advanced Research and Development Authority, known as BARDA, is providing the additional dollars the day before the phase three trial of the vaccine candidate is slated to commence. Rachel Roubein reports for POLITICO.
North Korea declared a state of emergency and a lockdown in a border town yesterday after one person in the country was suspected of being positive for Covid-19. State news agency KCNA reported yesterday North Korean leader Kim Jong-un convened an emergency politburo meeting after a person who defected to South Korea three years ago returned to the North Korean border city of Kaesong with symptoms of "the vicious virus." Reuters reporting.
A map and analysis of all confirmed cases of the virus in the US is available at the New York Times.
US and worldwide maps tracking the spread of the pandemic are available at the Washington Post.
Latest updates on the pandemic at The Guardian.
INTEL ASSESSMENT ON FOREIGN ELECTION INTERFERENCE
China, Russia and Iran are "expanding [their] influence efforts" in the US ahead of the 2020 presidential election, National Counterintelligence and Security Center (NCSC) director William R. Evanina said in a statement 100 days before Americans will vote. "We're primarily concerned with China, Russia and Iran — although other nation-states and nonstate actors could also do harm to our electoral process," the statement read. Evanina's warning did not go as far as to say China was attempting to hack the vote but did say they were using their influence "to shape the policy environment in the United States." He said that Russia was continuing to "spread disinformation in the US that is designed to undermine confidence in our democratic process," and that Iran is "recirculating anti-US content" in an attempt to spread disinformation and interfere with elections. However, the warning has received criticism from many who say the Trump administration has treated warnings as far less serious than they should have. David E. Sanger and Julian E. Barnes report for the New York Times.
Democrats have criticized Evanina's assessments of foreign election as not going "far enough,"sparking a debate between Congressional Democrats and President Trump's administration. Evanina's statement "omits much on a subject of immense importance … [and] does not go nearly far enough in arming the American people with the knowledge they need about how foreign powers are seeking to influence our political process," said House Speaker Nancy Pelosi (D-NY) and Senate Minority Leader Chuck Schumer (D-NY) in a joint statement with House Intelligence Chair Adam Schiff (D-Calif.) and Senate Intelligence Committee Vice Chair Sen. Mark Warner (D-Va.). The lawmakers further stressed that statement does not help identify the level of risk posed by different countries and, therefore, "gives a false sense of equivalence to the actions of foreign adversaries by listing three countries of unequal intent, motivation and capability together." They added that Evanina's statement "fails to fully delineate the goal, nature, scope and capacity to influence our election, information the American people must have as we go into November." Martin Matishak reports for POLITICO.
Republicans, including Senate Majority Leader Mitch McConnell (Ky.) and Senate Intelligence Committee Chair Marco Rubio (Fla.) have defended Evanina's intelligence assessments and dismissed Democrats' criticisms. The pair made clear that the U.S. is "safer" with Evanina and his center. In a joint statement yesterday, the Republicans expressed disappointment with the statement from Senator Schumer, Senator Warner, Speaker Pelosi, and Representative Schiff, adding that the Democrats' statement "baselessly impugns his character and politicized intelligence matters. Their manufactured complaint undercuts Director Evanina's nonpartisan public outreach to increase Americans' awareness of foreign influence campaigns right at the beginning of his efforts." Rebecca Klar reports for The Hill.
ATTORNEY GENERAL BARR
A comprehensive Backgrounder on Attorney General William Barr and the investigation by John Durham, U.S. Attorney for Connecticut, is provided by George Croner, former principal litigation counsel at the National Security Agency, for Just Security. Croner also touches on potential dangers being inflicted on the intelligence community.
Four themes the House Judiciary Committee should concentrate on in its July 28 Barr hearing are proposed by Lisa Gilbert for Just Security.
US DEVELOPMENTS
US Immigration and Customs Enforcement (ICE) announced Friday that students who were not already enrolled on courses as of March 9 will "likely not be able to obtain" visas if they take courses delivered entirely online, a move that comes a week after ICE and President Trump's administration revoked their initial plans that would ban all foreign students form taking online courses. The new guidance issued said: "Nonimmigrant students in new or initial status after March 9 will not be able to enter the U.S. to enroll in a U.S. school as a nonimmigrant student for the fall term to pursue a full course of study that is 100 percent online." ICE have also made clear that the announcement will not affect international students already in the U.S. or returning from abroad, who will be allowed to continue their online courses. Rachel Treisman reports for NPR.
Trump administration has bypassed an arms control pact in order to allow the US to sell large armed drones to foreign militaries, a State Department official told reporters Friday. The administration has sidestepped provisions within the Missile Technology Control Regime (MTCR), an agreement between 35 countries that aims to stop the proliferation of nuclear weapons, which will allow the U.S. to sells arms to countries barred from buying them under the MTCR. Currently, only the U.K., France and Australia can purchase the larger, armed drones from American manufacturers; however, Clarke Cooper, the State Department's assistant secretary for political-military affairs, said the new measure will help the U.S. meet "urgent national security and commercial requirements." According to Senate Foreign Relations Committee member Bob Menendez (D-NJ), the measures are a "reckless decision," which will make it more "likely that we will export some of our most deadly weaponry to human rights abusers across the world." Ellen Mitchell reports for The Hill.
Trump's former personal attorney Michael Cohen was released from prison Friday and will serve the remainder of his criminal sentence at home, Cohen's attorney confirmed, following an order by Judge Alvin Hellerstein that Cohen must be released as the decision to bring him back to prison was "retaliatory." Reutersreporting.
Chinese authorities have taken over the US consulate in the southwestern city of Chengdu today in retaliation for a Washington order to shut the Chinese consulate in Houston last week. At dawn today, the American flag outside the consulate was lowered as police cordoned off streets around the facility. A statement from China's foreign ministry said that the mission was closed at 10 a.m.. Lily Kuo reports for The Guardian.
The Chinese Consulate General in Houston has shut following Tuesday's order to do so after US officials alleged it was part of a larger Chinese espionage scheme using diplomatic facilities around the US, a State Department spokesperson confirmed to CNN late Friday. US officials speaking to reporters Friday said the consulate had been involved in a fraud investigation at a Texas research institution and that Chinese consulate officials "were directly involved in communications with researchers and guided them on what information to collect." The actions of consulate officials in Houston "are a microcosm, we believe, of a broader network of individuals in more than 25 cities that network is supported through the consulates here," a U.S. Justice Department official said Friday. Nicole Gaouette and Jennifer Hansler report for CNN.
A Chinese researcher who took refuge at China's San Francisco consulate in an effort to evade visa fraud charges has been arrested, according to the U.S. Department of Justice, and is due to appear in court today. Juan Tang, who is accused of hiding her connections to the Chinese military when she applied for a visa to work in the United States, was being detained at a jail in Sacramento County, California, records showed on Friday. Al Jazeera reporting.
US Secretary of State Mike Pompeo is "raising the temperature with China to force decoupling," James Palmer argues in an opinion piece for Foreign Policy that covers Pompeo's recent speech on China following months of intensifying hostile actions between Beijing and Washington.
Iran's judiciary has said passengers of an airliner "harassed" by a US fighter jet over Syria can sue the "terrorist" United States military for damages in Iranian courts. Iranian media on Friday said multiple passengers on the flight heading from Tehran to Beirut were hurt on Thursday after the pilot quickly changed altitude to avoid collision with the U.S. jet. Ali Bagheri-Kani, head of the judiciary's human rights office, said complainants could also take an international legal route through the International Civil Aviation Organization (ICAO), the United Nations body that oversees international civil aviation accords. Al Jazeera reporting.
For some Iranians the passenger flight incident "offered a grim echo of an accidental shootdown by American forces over 30 years ago." Amin Hossein Khodadadi and Isobel van Hagen report on the interaction for NBC News.
Iran has moved a mock aircraft carrier to the strategic Strait of Hormuz amid increased tensions between Tehran and the US, satellite images released today show, likely signaling the Islamic Republic soon plans to use it for live-fire exercises. A photograph from Maxar Technologies taken yesterday shows an Iranian fast boat hurry toward the carrier, sending waves up in its wake, after a tugboat pulled her out into the strait from the Iranian port city of Bandar Abbas. AP reporting.
Russian President Vladimir Putin has said the Russian Navy will be loaded with hypersonic nuclear strike weapons and underwater nuclear drones, which the defense ministry said were in their final stage of testing. The weapons, some of which have yet to be deployed, include the Poseidon underwater nuclear drone, developed to be carried by submarines, and the Tsirkon (Zircon) hypersonic cruise missile, which can be deployed on surface ships. The mix of speed, maneuverability, and altitude of hypersonic missiles, capable of traveling at over five times the speed of sound, makes them hard to track and intercept. Reuters reporting.
Russia dismissed US and British claims that it tested an anti-satellite weapon in space and announced Friday that the accusations served to defend Washington's own plans to deploy weapons in orbit. U.S. and British officials claimed Thursday that the July 15 test of an anti-satellite weapon indicated a continuing Russian effort to design technologies that could threaten space assets of the United States and its allies. The Russian Foreign Ministry rejected the allegations, saying in a statement that the July 15 experiment did not threaten any other space objects and observed the international law. It characterized the claims as part of an "information campaign to discredit Russia's space activities and its peaceful initiatives aimed at preventing an arms race in space." AP reporting.
The United States military has said Russia seems to be dispatching more military supplies to its mercenaries in Libya, including in the flashpoint city of Sirte, in violation of an arms embargo. The U.S. military's Africa Command (AFRICOM) said on Friday there was growing evidence from satellite photos of Moscow's military cargo planes, including IL-6s, bringing equipment to fighters from Russian private military contractor Wagner Group. Al Jazeera reporting.
The Taliban has accused the Afghanistan government of recapturing previously freed prisoners from its ranks, an allegation dismissed by the Afghan authorities. The government has released over 4,000 Taliban fighters, while the insurgent group has released nearly 700 prisoners under a U.S.-Taliban deal that aims to pave the way for peace talks among the Afghans. Suhail Shaheen, Taliban spokesperson at its Doha office, on Saturday wrote on Twitter that the Afghan intelligence agency, the National Directorate of Intelligence, had carried out surprise operations against the released fighters. Al Jazeera reporting.
Washington has sent a special envoy for Afghanistan to push for peace talks between the government and Taliban fighters, with the diplomat scheduled to visit Kabul on a trip with stops in five countries, the U.S. State Department said on Saturday. U.S. Special Representative for Afghanistan Zalmay Khalilzad left on Friday to travel to Doha, Kabul, Islamabad, Oslo and Sofia, the department said in a statement. Reuters reporting.
GLOBAL DEVELOPMENTS
An Israeli military drone crashed in southern Lebanon yesterday as regional tensions ran high, days after a spate of cross-border exchanges between Israel and Syria and the killing of a Hezbollah militant in an Israeli airstrike near the Syrian capital. The military said the drone went down over Lebanese soil "during operational activities" along the border. Lebanon's state-run National News Agency reported that Israeli warplanes and drones coasted over southern Lebanon throughout yesterday. AP reporting.
Sudan will send security forces to conflict-stricken Darfur to "protect citizens and the farming season" after a string of attacks, the prime minister has said. Abdalla Hamdok's announcement on Sunday came two days after gunmen in the region killed at least 20 civilians, including children, as they went back to their fields for the first time in years, the latest in a series of violent incidents. Al Jazeera reporting.
Siven Watt
Siven Watt (@SivenWatt) is a Legal Fellow at Just Security.
Nat O'Connell
Former Associate News Editor at Just Security and Senior Legal Fellow at JUSTICE, a law reform and human rights organization based in the UK. Follow her on Twitter (@oconnellnat).


The Ukrainian Research in Switzerland (URIS) is calling for applications for one URIS fellowship for the 2019 autumn semester at the University of Basel (Switzerland). The internationally oriented fellowship programme is open to postdoctoral and senior scholars in the humanities, cultural studies and social sciences whose research has the potential to make a substantial contribution to a better understanding of the history, society, politics and culture of Ukraine. The URIS fellowship enables the recipient to spend six months researching at the University of Basel (August 2019–January 2020) and will be awarded on the basis of excellence criteria. The initiative is looking for an internationally recognised researcher who is prepared to be involved in the network of Swiss Ukraine research and to offer a Ukraine-related course at the University of Basel during his/her stay in Switzerland. The recipient is obliged to reside in Basel for the duration of the fellowship. The awarding of the fellowship will be decided by an academic advisory board.
The University of Basel is a dynamic centre for research on Eastern Europe with strong international networks. Switzerland's first interdisciplinary BA programme "East Europe Studies" was inaugurated here in 2005. The field of East Europe studies at the University of Basel is organised by the Slavic Seminar and the Department of East European History. It also has close ties with art history, the social sciences, law and economics, and Jewish Studies.
The initiative Ukrainian Research in Switzerland (URIS) receives funding from the Swiss State Secretariat for Education, Research and Innovation (SBFI). URIS's objectives are to make a long-term contribution to furthering Ukraine expertise in Switzerland, to foster the next generation of scholars, and to contribute to the international networks of Switzerland-based university research on Ukraine. To this end, the initiative announces URIS fellowships, supports a database and website on Swiss Ukraine research, and organises regular academic network events.
Further information is available at www.uris.ch.
• University degree and excellent PhD in the humanities, cultural studies or social sciences. The application is open to both younger and experienced scholars.
• The application is open to scholars of any nationality or citizenship. Researchers from Ukraine and its neighbouring countries are explicitly encouraged to apply. In case of equal qualification, applications from women will be given preferential consideration.
• The URIS fellowship entails a monthly allowance of CHF 4000. In addition, costs will be reimbursed for visa fees, accident and health insurance coverage in Switzerland, for one round trip to and from Basel from the country of origin, and for a subscription entitling the holder to half-price travel on the Swiss Federal Railways.
• The visiting scholar will be given a work station at the University of Basel with electronic infrastructure, access to libraries, etc.
• The visiting scholar will receive administrative support from the URIS coordination office.
• Concept (not exceeding 2 pages) for a one-semester course (1.5 hrs per week), i.e. approx. 12 teaching units. The course will be integrated into the interdisciplinary BA curriculum "East Europe Studies" at the University of Basel and should be accessible to students from different subjects and levels.
• Two pertinent letters of reference (at least one from the holder of a university professorship). These are to be sent separately – not together with the application – by the referees directly by e-mail to uris@unibas.ch by 26 November 2018.
Please send your application documents in English or German in electronic form in a single document (pdf format) by e-mail to uris@unibas.ch by 26 November 2018.


text:
Q: Como faço para estilizar somente um fillText no Canvas? Estou implementando um sistema que gere um arquivo .gif com a assinatura de email do cliente, com as propriedades: nome, setor, telefone, ramal e email. O único problema até o momento é estilizar cada propriedade separadamente. A propriedade nome tem uma fonte e tamanho diferente da propriedade setor por exemplo. Quais dicas vocês me dão para estilizar cada propriedade? Agradeço desde já !
index.html
    var form = $('#oi');

        var nome = form.find('input[name="nome"]').val();

        $(document).ready(function(){
          var canvas = $("#myCanvas")[0];
          var context = canvas.getContext("2d");
          var imageObj = new Image();
          imageObj.onload = function(){
             context.drawImage(imageObj, 10, 10);
             context.font = "20px Arial bold";
             context.fillStyle = '#006400';
             imageObj.setAttribute('crossOrigin', 'anonymous');
             context.fillText(nome, 243, 65);
             context.fillText("Estagiário de Desenvolvimento", 243, 85);
             context.fillText("(85) 000-000", 240, 125);
             context.fillText("|", 380, 125);
             context.fillText("Ramal", 390,125 );
             context.fillText("moises@edu.br", 243, 145);

         };
         imageObj.src = "ASSINATURA-BG.png";
        });

A: Eae, beleza?
Bom, vc pode criar uma função de renderização limpa e chama-la passando os estilos que você deseja
Para complementar, criar um objeto com os styles das fontes e apenas chama-las para cada categoria (nome, setor, etc)


text:
May 9, 2013 Defending the Cause: Sowing the Good Ground – Lester Spell, Jr. DVM
…Still other seed fell on good soil. It came up, grew and produced a crop, some multiplying thirty, some sixty, some a hundred times. Mark 4:8
When Jesus shared the story in Mark 4 about the farmer going out to plant his seed, the farmer could have been Lester Spell, Jr. DVM, who lives with his wife Clara, two Labs and a horse on his family's farm near Jackson, MS.
Years of planting in "good ground," Dr. Spell has reaped a harvest outlasting any seeds planted among rocks, thorns or birds circling overhead as Jesus described in the gospel story. By giving his life away, Dr. Spell's produced a crop "some thirty, some sixty, some a hundred times what was sown" (verse 20). The allegory Jesus told from a boat to a crowd gathering around a lake's edge is perfect to describe a man who has lived off the land and promoted its richness his entire life.
The former veterinarian and state of Mississippi's Commissioner of Agriculture and Commerce continues to meet the growing needs of his community even after his retirement. When a man decides to invest his life, time, talent and money in growing the Kingdom of God, through giving to ministries like Fathers in the Field, his crop never ceases to grow.
"Through the years I've witnessed the sad and often tragic lives of young men who did not have a Christian father-figure in their lives," said Dr. Spell. "I feel a personal responsibility to financially support this ministry because it's meeting a real need in our local communities and making an eternal difference in the lives of many boys."
Dr. Spell received his Doctor of Veterinary Medicine at Auburn University in 1968 and after serving two years as a Captain the U.S. Veterinary Corps, started his practice focused on small animal and equine medicine and surgery until 1995. While still operating his veterinary practice, Dr. Spell became the first mayor of his hometown, Richland, and served for five consecutive terms. He then served four terms as Commissioner and, after sixteen years, retired in January 2012 and now spends most of his time hunting, fishing and enjoying the outdoors.
In the midst of an illustrious veterinary and political career, Dr. Spell raised two children and served in various capacities at his church, First Baptist Church in Jackson where he first heard about Fathers in the Field at an annual sportsmen's dinner in 2011. Founder John Smithbaker gave his testimony about growing up fatherless and the consequences abandonment had on his life.
"Throughout the Bible God speaks of his love and protection for the fatherless, warns against taking advantage of them and teaches us to reach out and help them," said Dr. Spell. "Kevin Drewry (Fathers in the Field's Southeastern missionary) is doing an outstanding job seeking and enlisting men to serve as Mentor Fathers. He's a great representative of the ministry that helps fatherless boys experience the love of Christ and overcome an emptiness in their lives. This is a great Christ-centered organization that is helping reach and change lives and I felt compelled to support its mission."
"'Consider carefully what you hear," he continued. "With the measure you use, it will be measured to you—and even more.'" Mark 4:24


text:
Q: Python: Tallying the number of unique sizes in a list Word Problem:
Pant Sizes
A store marketing manager has a chronological list of pant sizes sold to customers for a particular style of pant sold during a promotion. A tally of each unique size is required. Write and test a function that given a list of sizes, returns a new list with each size followed by its tally (total number sold).
Function Definition
def tally(sizes: list) -> list:

Example input:
a = [30, 34, 30, 20, 34]

print(tally(a))

Example output:
[30, 2, 34, 2, 20, 1]

So far I created a function that returns a new list with the unique values and I need help including the tally beside the value. I was thinking about creating a accumulator but I don't know the number of unique values in a list
sizes = [30, 34, 30, 20, 34]

unique = []
for i in sizes:
    if i not in unique:
        unique.append(i)

print(unique)

A: If you want to learn python, learn how to use the builtin modules.
Here using collections.Counter and a list comprehension.
def tally(l):
    from collections import Counter
    return [x for t in Counter(l).items() for x in t]

tally([30, 34, 30, 20, 34])
# [30, 2, 34, 2, 20, 1]

If you don't want to use a module, you can code your own Counter (quite easy for a simple count).

A: If you want to stick to using only lists, then you could keep track of the tally in a separate list and then merge the two lists at the end.
sizes = [30, 34, 30, 20, 34]

unique = []
tally = []
for i in sizes:
    if i not in unique:
        unique.append(i)
        tally.append(1)
    else:
        idx = unique.index(i)
        tally[idx] += 1
result = []
for i in range(len(unique)):
    result.append(unique[i])
    result.append(tally[i])

print(result) # [30, 2, 34, 2, 20, 1]

if you are okay with using a dictionary which is the better/more efficient way then you could do something like this:
sizes = [30, 34, 30, 20, 34]

unique = {}
for i in sizes:
    if i in unique:
       unique[i] += 1
    else:
       unique[i] = 1
result = [j for i in unique.items() for j in i]
print(result) #  [30, 2, 34, 2, 20, 1]