text:
Q: The xs:extension causes my element to stop enforcing its type I have a simple element in an XSD file "strict" that only acepts boolean, however when I use xs:extension, the type is no longer enforced.
Here it is declared without attributes:
<xs:element name="strict" type="xs:boolean"/>

And xml is enforced properly. I.e.,:
<strict>false</strict> <!-- succeeds -->
<strict>XXXXX</strict> <!-- fails    -->

And with attributes:
<xs:element name="strict"> <!-- purposely needed to remove type from this line -->
    <xs:complexType>
        <xs:simpleContent>
            <xs:extension base="xs:boolean"> <!-- the base is the same as the previous type -->
                <xs:attribute ref="operation"/>
            </xs:extension>
        </xs:simpleContent>
    </xs:complexType>
</xs:element>

Then my intentionally bad element here is no longer enforced.
<strict operation="none">XXXXX</strict> <!-- succeeds...         -->
<strict operation="none">false</strict> <!-- succeeds as well... -->

I noticed that when I am using the xs:extension I can no longer put a type into my xs:element and I assumed the base="xs:boolean" would have covered me there, but it doesn't.
My end goal: allow attributes in an xs:element and also enforce the data type
Note:
I am using IntelliJ XML/XSD feature to help guide me here by using it's internal lint engine to highlight errors. So it could be possible this is IntelliJ giving an error (or not giving an error) when one is due? Very doubtful since I feel like this is a pretty fundamental aspect of XMLs.
Reference:

*

*XML & XSD validation failed: Element has both a 'type' attribute and a 'anonymous type' child

*Unfortunately, this answer doesn't discuss types.

Update:
With the help of @kjhughes - determined this may be an IntellJ bug. https://youtrack.jetbrains.com/issue/IDEA-257186

A: Your XSD declaration is the correct way to declare that the strict element should have an attribute (although you do not include its declaration, so we cannot verify its correctness) and have content of type xs:boolean.
See also: How to define a simple element and attribute in XSD
You are correct to believe that this XML
<strict operation="none">XXXXX</strict>

should fail.  I have verified that it does fail with a complete example:
XSD
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:element name="strict">
    <xs:complexType>
      <xs:simpleContent>
        <xs:extension base="xs:boolean">
          <xs:attribute name="operation" type="xs:string"/>
        </xs:extension>
      </xs:simpleContent>
    </xs:complexType>
  </xs:element>
</xs:schema>

If the above works for you in your validation setup, suspect that you're missing an error regarding missing parts of your XSD (e.g. ref="operation").  If the above does not work, suspect the tool or its configuration.

redpajama_set_name: RedPajamaStackExchange


Blessed are they that mourn: for they shall be comforted, Matt 5:4. President Obama spoke the sentiments of the hearts of many as he stated "Our hearts are broken today. Each time I learn the news I react not as a president, but as anyone else would -- as a parent. And that was especially true today." As a mother and grandmother, I cannot begin to imagine the heartbreak these families are experiencing. Our hearts are broken for each victim, child and adult touched by this senseless violence.
On the same day of this tragedy there was another event in China: A knife-wielding man injured 22 children and one adult outside a primary school in central China as students were arriving for classes Friday, police said, the latest in a series of periodic rampage attacks at Chinese schools and kindergartens per Associated Press. Our families expecially our children are under attack.
It is unimaginable to think that something like this could happen did happen. We cannot begin to understand the pain that they are feeling, the bewildment of it all. We pray that each family will be surrounded with those professions who can assist them in walking through the stages of grief: Denial, anger, bargaining, depression and acceptance. We pray for the Lanza family as well who are also dealing with the death of the mother, the shame of having a member of your family do the unthinkable.
As a therapist accustomed to assisting families and children develop coping skills to deal with grief, separation and loss I offer these observations. Each person will deal with grief differently and at different times. Parents, your first responsiblity is to take care of yourselves. Yes, your self. In order to meet the needs of the children and others in your family, you must take care of yourself. Set aside time for you to weep, read, write, listen to inspiration songs do what you need to do to be healthy. POUR OUT YOUR HEARTS TO GOD. TRUST HIM TO COMFORT YOU. HE IS THERE TO HELP YOU. Husbands and wives take care of each other. You need to grieve indiviudally but also as a family. It is ok for your children to see you cry because that is what we do when we experience grief but assure them things will get better. You must know that as difficult as this moment is THIS TOO SHALL PASS. IT WILL NOT ALWAYS BE LIKE THIS.
Children particulary have less capacity to express their feelings and symptoms of grief can include regression i.e. wetting the bed, thumb sucking. They may exhibit isolation, aggression, anger and increase irritability. They may want to talk or they may not want to. You must observe and know your child. Art is a great way to help children cope. Keep them supplied with paper, crayons etc and encourage them to draw how they feel. Use the teddy bear or their favorite toys to help them talk. Give hugs and reassurance of your love for them. PRAY WITH YOUR CHILDREN. YOU MAY NOT KNOW HOW TO ANSWER THEIR QUESTIONS BUT ASSURE THEM THAT GOD LOVES THEM AND WILL HELP THE FAMILY GET THROUGH THIS.
Therefore, for these families we send to them the word of hope, comfort and peace that is found in the word of God. We pray that they will not turn to alcohol, drugs, or violence. We pray that instead they will turn to the only one who is able to see them through this. We pray that they will not focus on tomorrow but ask God to give them strength to get through each day one hour at a time. Please know that people across the nations are praying for each of you.
Joseph M. Scriven, 1855.wrote this song "What a Friend we have in Jesus, all our sins and griefs to bear! What a privilege to carry everything to God in prayer! O what peace we often forfeit, O what needless pain we bear, All because we do not carry everything to God in prayer."
SPEAK THE ANSWER NOT THE PROBLEM. THE ANSWER IS IN THE WORD OF GOD. Heavenly Father, your word declares blessed are they that mourn FOR THEY SHALL BE COMFORTED, Rejoice with them that do rejoice, and weep with them that weep. We weep with each of these families. And God shall wipe away all tears from their eyes; and there shall be no more death, neither sorrow, nor crying, neither shall there be any more pain: for the former things are passed away. We pray father for you to wipe away their tears with your finger of love. Casting all your care upon him; for he careth for you. Father let them come to you and remember in the midst of the storm you still care for them. For we have not a high priest which cannot be touched with the feeling of our infirmities; but was in all points tempted like as we are, yet without sin. Father help them to turn to you and lift up their eyes to the hills knowing that you are their source of help. Give them courage to go through. We pray that you lift them up in your arms, carry them through this storm, be the wind beneath their wings, let their sorrow be brief and keep the sweet memories strong of their loved ones. When they are along with their grief, hold them close to your bosom and rock them like a baby. We look to you God the only one who is able to bring good out of evil. We trust you to have mercy upon them as we hold them up in prayer in Jesus' name. You are I am that I am, you are whatever they need you to be, whatever they need you to do and you are there to help them in their time of need. To God be all the glory for you are faithful, just and merciful and you will give peace and strength to your people.
Please feel free to post a prayer here for these families.


魏宪芸, 顾静, 张名全, 秦智杰, 迪丽娜尔·艾尼瓦尔, 龚小玲. 上海市江心水库鲢、鳙年龄结构及生长特性[J]. 上海海洋大学学报, 2019, 28(1): 49-57.
WEI Xianyun, GU Jing, ZHANG Mingquan, QIN Zhijie, DILINAER Ainiwaer, GONG Xiaoling. Age structure and growth of silver carp and bighead carp in Qingcaosha Reservoir in Shanghai[J]. Journal of Shanghai Ocean University, 2019, 28(1): 49-57.
王少坤, 王绍祥, 顾静, 等. 上海饮用水源地青草沙水库轮虫群落结构的特征及其环境影响因子[J]. 动物学杂志, 2017, 52(6): 1023-1036.
WANG S K, WANG S X, GU J, et al. The characteristics of community structure of rotifer and its environmental factors in Qingcaosha Reservoir, Shanghai[J]. Chinese Journal of Zoology, 2017, 52(6): 1023-1036.
陆晓如. 特大型水库综合运行调度平台建设研究与实践[J]. 净水技术, 2014, 33(3): 111-114.
胡忠军, 吴昊, 陈立侨, 等. 长江口青草沙水库正式供水前的鱼类群落结构特征[J]. 水产学报, 2012, 36(8): 1234-1241.
HU Z J, WU H, CHEN L Q, et al. Structure of fish assemblages before drinking-water supplies in Qingcaosha Reservoir of Yangtze River Estuary[J]. Journal of Fisheries of China, 2012, 36(8): 1234-1241.
GAO Z J. The growth and ecological effects of silver carp and bighead carp in Xiquanyan reservoir[D]. Harbin: Northeast Forestry University, 2012.
段金荣, 张宪中, 刘凯, 等. 鲢鳙鱼和藻类治理关系的初步研究[J]. 中国农学通报, 2009, 25(20): 327-330.
DUAN J R, ZHANG X Z, LIU K, et al. The preliminary study on the ralation between carp fish and algae[J]. Chinese Agricultural Science Bulletin, 2009, 25(20): 327-330.
张学健, 程家骅. 鱼类年龄鉴定研究概况[J]. 海洋渔业, 2009, 31(1): 92-99.
李强, 胡继飞, 蓝昭军, 等. 利用鱼类钙化组织鉴定年龄的方法[J]. 生物学教学, 2010, 35(6): 51-52.
NEGI R K, MAURYA A. Length-weight relationship and condition factor of Labeo rohita and Hypophthalmichthys molitrix[J]. Research Journal of Pharmaceutical, Biological & Chemical Sciences, 2015, 6(2): 1505-1509.
杨景峰, 申玉春, 祁宝霞, 等. 孟家段水库鲢、鳙鱼生长规律的研究[J]. 内蒙古民族大学学报(自然科学版), 2002, 17(3): 277-280.
刘明, 王仁曾. 基于t检验的逐步回归的改进[J]. 统计与决策, 2012(6): 16-19.
LIU M, WANG R Z. Stepwise regression improvement based on t test[J]. Statistics and Decision, 2012(6): 16-19.
靳庭良, 张宝青. 回归分析中t检验与F检验关系的进一步探讨[J]. 统计与决策, 2009(21): 7-9.
JIN T L, ZHANG B Q. Further discussion on the relationship between t test and F test in regression analysis[J]. Statistics and Decision, 2009(21): 7-9.
熊飞, 陈大庆, 刘绍平, 等. 青海湖裸鲤不同年龄鉴定材料的年轮特征[J]. 水生生物学报, 2006, 30(2): 185-191.
ZHANG G D. Study on the eutrophication of the plateau reservoir by using the carp, bighead and aquatic plants[D]. Qingdao: Qingdao University of Technology, 2011.
朱峰跃, 刘家寿, 李钟杰, 等. 傀儡湖鲢、鳙的生长特性及渔业利用[J]. 淡水渔业, 2013, 43(2): 32-35.
殷名称. 鱼类生态学[M]. 北京: 中国农业出版社, 1995.
YIN M C. Fish ecology[M]. Beijing: China Agricultural Press, 1995.
李思发, 王瑞霞. 长江、珠江水系鲢、镛的性成熟速度及其遗传分析[J]. 水产学报, 1990, 14(3): 189-197.
LI S F, WANG R X. Maturity speed and genetic analysis of silver carp and bighead from Changjiang and Zhujiang River systems[J]. Journal of Fisheries of China, 1990, 14(3): 189-197.
Abstract: The Qingcaosha reservoir in the Yangtze River estuary is a special system for water supply and the water quality is mainly controlled through biological manipulation methods by Hypophthalmichthys molitrix(H.molitrix) and Hypophthalmichthys nobilis(H.nobilis). A total of 139 tails of H.molitrix and 59 H.nobilis were collected from June 2015 to May 2017. Their ages were identified through the scales or vertebrae, and their growth characteristics were studied based on ages. The results showed that:the age of H.molitrix ranged from 1 to 10 years old and most of them ranged from 3 to 4 years old; The age of H.nobilis was composed of 1 to 11 years old, most of them were 2 or 3 years old. The formula of body length and weight of H.molitrix and H.nobilis were W=0.037 9L3.027 and W=0.039 0L2.946 respectively. the functions of Von Bertalanffy in H.molitrix was Lt=77.73[1-e-0.183(t+0.60)], Wt=20 024.3[1-e-0.183(t+0.60)]3.027, and that in H.nobilis were:Lt=92.11[1-e-0.172(t+1.27)], Wt=23 875.2[1-e-0.172(t+1.27)]2.946, the growth inflection points of H.molitrix and H.nobilis were 5.24 and 5 years old respectively. So it is recommended that the fishing age of H.nobilis and H.molitrix should be 5.5 years old respectively.


text:
Home / News / Uttar Pradesh BJP drops 'love jihad' from resolution
Uttar Pradesh BJP drops 'love jihad' from resolution
Mathura (UP) (PTI): After breathing fire over 'love jihad', BJP dropped any mention of it in the political resolution at its two-day state executive meet that concluded here on Sunday.
'Love Jihad' (marriage between a Muslim man and a Hindu woman), especially in the western parts of Uttar Pradesh, had been taken up by BJP as a big challenge ahead of the Assembly elections three years hence as part of its moves to consolidate the party base in the state.
In his inaugural address on Saturday, state party chief Laxmikant Bajpai had asked youths to be vigilant on the issue of "love jihad", questioning whether men of the minority community have got the licence to convert and rape women of majority community.
However, interestingly, the political resolution passed on Sunday did not have any reference to "love jihad".
When asked why the resolution was silent on "love jihad", Bajpai, when contacted, said, "It was not on the agenda, so there is no question of having it in the resolution."
After its grand performance in the Lok Sabha elections in the state, where it bagged 71 of the 80 seats, BJP asked its workers to strengthen the organisation from the booth level so that it can come to power in the state with thumping majority.
It asked partymen to launch a people's movement against "complete anarchy and lawlessness" and oppose "communal appeasement and crumbling law and order".

redpajama_set_name: RedPajamaCommonCrawl


text:
Printfriendly.com
The Turkish-Israeli Crisis and U.S.-Turkish Relations
Simmering Turkish-Israeli tensions have escalated sharply since the release on September 2 of the UN secretary general's panel of inquiry report on the Gaza flotilla crisis last year. The further worsening of relations does not only underline changes in the strategic balance in the Middle East, it also presents serious policy questions for the United States, which is allied to both countries and has long viewed the Turkish-Israeli friendship as one of the most important components of its policies in the region.
The Origins of the Current Crisis
There has been a steady deterioration in the previously close relationship between the two countries since Turkey's strong condemnation of the Israeli military operation in Gaza in December 2008 and the subsequent public confrontation in Davos a few weeks later between Prime Minister Recep Tayyip Erdogan of Turkey and President Shimon Peres of Israel. However, the roots of the current crisis can be traced directly back to May 31, 2010, when Israeli soldiers boarded a vessel owned by the Turkish nongovernmental organization, the Humanitarian Relief Foundation (IHH), that was part of a six-ship flotilla sailing to Gaza with the declared intention of breaking Israel's naval blockade, and killed eight Turkish citizens and a Turkish-American. Turkey immediately recalled its ambassador in Tel Aviv and declared that the normalization of relations required Israel to issue a formal apology, pay compensation to the victims' families, and lift the blockade on Gaza. It also called for an emergency meeting of the UN Security Council (UNSC), which issued a presidential statement ordering "a prompt, impartial, credible and transparent investigation."
As the UN inquiry panel chaired by Sir Geoffrey Palmer, a former prime minister of New Zealand, with a representative each from Turkey and Israel, carried out its task during the past year, senior Turkish and Israeli officials also held four ultimately unsuccessful bilateral meetings to try to overcome their differences. Two days before the release of the report, Foreign Minister Ahmet Davutoglu of Turkey reiterated that if Israel met Turkey's conditions, relations would be normalized and the report would, in effect, be disregarded. However, he also warned that the failure to do so would force Turkey to implement "Plan B."
The Israeli coalition government, which was clearly as wary of the political and legal implications of acceding to the Turkish demands as the diplomatic consequences of not acceding, chose to try to play for time by asking for a further six-month delay of the release of the report. Although Turkey opposed the request, it was nonetheless willing to accept a recommendation for a one-month postponement made by Secretary of State Hillary Clinton during a meeting with Davutoglu in Paris on September 1. However, the leak of the report a few hours later by the New York Times, which highlighted the parts favorable to Israel, prompted Davutoglu to announce that the "time had come for Israel to pay a price for its actions."
Turkey's "Plan B"
While the Palmer report characterized the actions of the Israeli soldiers who boarded the Turkish ship as "excessive and unreasonable" as Turkey had maintained all along, it also concluded to Ankara's dismay that Israel's naval blockade of Gaza "was imposed as a legitimate security measure" and that "its implementation complied with the requirements of international law." This was clearly unacceptable for Turkey, and President Abdullah Gul categorically rejected the report as "null and void." Davutoglu then proceeded to unveil, even before the official release of the report, a five-point set of measures against Israel.
These included the downgrading of diplomatic relations to the level of second secretary—in effect expelling the Israeli ambassador who had stayed on in Ankara even as Turkey had refrained from representation at that level in Tel Aviv—and the suspension of all military agreements. Davutoglu also stated that Turkey would give support to victims of the Israeli raid seeking legal redress while endeavoring to get the International Court of Justice to review Israel's blockade of Gaza. At the same time, Turkey would take "whatever measures it deemed necessary to ensure the freedom of navigation in the Eastern Mediterranean."
With Prime Minister Benjamin Netanyahu of Israel confirming once again after the release of the report that his country would not satisfy Turkish demands, Erdogan declared that further steps would be taken in accordance with what could be called "Plan C." He followed up by a virtually daily series of increasingly strident comments, first in Turkey and then during his tour last week of the three Arab countries in North Africa that had witnessed regime change during the current upheaval. These included characterizing Israel as "a spoiled child of the West" that wrongly assumed it could always avoid the consequences of its actions but was in fact "endangering its future." Erdogan also stated that the Turkish Navy would be challenging Israel's "ability to do what it wanted in the Eastern Mediterranean" and to "unilaterally exploit natural resources" in the region. He thus raised the very real possibility of a naval confrontation between Turkey and Israel, especially as he had earlier announced that warships would escort and protect Turkish ships delivering humanitarian aid to Gaza. Although Erdogan did not make the symbolically important visit to Gaza from Egypt as he had previously suggested, he escalated his diplomatic challenge to Israel by meeting the Palestinian leader Mahmoud Abbas in Cairo and then reminding members of the Arab League that it was "the duty of the Arabs" to support the Palestinian bid for statehood at the United Nations and to struggle with Turkey until the Palestinian flag was raised there.
Between Two Allies
As the U.S. State Department spokesperson confirmed on September 6, the Obama administration has been publicly and privately urging both sides to reach a compromise throughout the past year in order to avoid the complications that now seem inevitable.
President Barack Obama has been looking to Turkey as "a model partner" to help improve U.S. relations with the Middle East and the wider Islamic world, particularly since his visit to Turkey in April 2009. As part of this policy, he has been regularly consulting Erdogan during the region-wide upheaval resulting from the "Arab Spring." However, the maintenance of this close relationship, recently underlined by Turkey's agreement to host a radar station associated with the projected U.S. missile defense system, may prove more difficult for Obama during the current pre-election phase in the United States, which inevitably maximizes the influence of Israel's supporters, especially in Congress. They were already uncomfortable with Obama because of what many of them regard as his "ambivalent" attitude toward Israel and also critical of Turkey because of the flotilla incident as well as its "no" vote at the UNSC on additional Iranian sanctions. This influential bloc, which has recently been drawing closer to Obama's Republican opponents, has already begun to try to force Obama to distance himself from Erdogan. On September 19, seven U.S. senators sympathetic to Israel sent a letter to Obama urging him to "mount a diplomatic offense" to reverse what they characterized as Turkey's "ill-advised policy towards Israel," which "threaten[ed] regional stability and undermine[d] U.S. interests." It is likely that there will be additional moves in Congress. These could include renewed calls for the administration to officially designate the IHH as "a terrorist organization," backing for a resolution recognizing the "Armenian genocide," and opposition to additional military cooperation with Turkey.
While Obama, who is meeting Erdogan at the United Nations this week, will resist such efforts, it nevertheless seems likely that their relationship will be strained by the Palestinian bid for UN recognition. Erdogan will be personally directing a major Turkish drive at the United Nations to maximize support for the Palestinians and intends to remind Obama of his pledge to support a two-state solution that would bolster their joint efforts in what the Turkish leader has been calling "the new Middle East." However, Obama, who is due to also meet with Netanyahu, has already declared that he would use his veto if the issue comes up before the UNSC and seems certain to resist Erdogan's arguments. Erdogan, in turn, will resist Obama's advocacy of a softer Turkish line against Israel. In a preemptive move, Davutoglu discouraged Obama from even attempting to act as a mediator by saying bluntly that "No mediation is needed. The demands of Turkey are clear."
To be sure, the current Turkish government's drive to increase its profile and influence in the Middle East, coordinated to a considerable extent with the United States, predated the current crisis with Israel. Erdogan's postelection victory speech on June 12, for example, stressed that the people across the region benefited from his reelection as much as Turkish citizens. Nevertheless, it is clear that stronger opposition to Israel further enhances Erdogan's appeal to Arab public opinion, while making it difficult for Arab regimes—new as well as old—to resist his calls for closer cooperation or openly express concern about Turkish activism in the region. As the new approach, which has the overwhelming support of the Turkish people, is perceived to bring regional benefits, it is difficult to see why Erdogan would abandon his policy of confronting Israel at the diplomatic, economic, legal, and even military levels in the foreseeable future. Consequently, Obama has a difficult hand to play with respect to U.S.-Turkish relations.
Bulent Aliriza is a senior associate and director of the Turkey Project at the Center for Strategic and International Studies in Washington, D.C.
Commentary is produced by the Center for Strategic and International Studies (CSIS), a private, tax-exempt institution focusing on international public policy issues. Its research is nonpartisan and nonproprietary. CSIS does not take specific policy positions. Accordingly, all views, positions, and conclusions expressed in this publication should be understood to be solely those of the author(s).
© 2011 by the Center for Strategic and International Studies. All rights reserved.
Bulent Aliriza
Director and Senior Associate, Turkey Project
Defense and Security, Geopolitics and International Security, Middle East, Turkey, Turkey Project, Turkey Update
Most Recent From Bulent Aliriza
Erdogan and Trump at the NATO Summit: Another Display of Solidarity
By Bulent Aliriza
Trump-Erdogan Meeting: Abiding Friendship, Continuing Problems
Congress Rebukes Erdogan, Defies Trump
After Trump's 'pinprick' Turkey sanctions, Congress reaches for sledgehammer, aims for Erdogan
USA Today | Deirdre Shesgreen
Some U.S. troops leave Syria, cross into Iraq under White House's orders
Yahoo News | CBS News Videos
Trump talks tough on Turkish economy, but actions so far fall short
Washington Post | David J. Lynch
Invasion of northeast Syria carries gain and risk for Turkey
Associated Press | Suzan Fraser
Trump defends decision to abandon Kurdish allies in Syria
Associated Press | Robert Burns, Lolita C. Baldor and Matthew Lee


text:
Q: Webstorm says Promise is an unresolved type Using WebStorm 10.0
I am currently learning Node Js  and installing all of the component it need to work .
So i chose to used Jest to test my work, i already installed Jest to my frameworks and languages inside the WebStorm but its keeps showing Promise as unresolved type how do i fix it in WebStorm?

A: Promise type is not a part of Jest module; please try enabling 'ECMAScript 6' library for your project in Settings | Languages & Frameworks | JavaScript | Libraries. If it's not available in your version (it is there since WebStorm 11), try downloading typescript stubs for 'promise' library (promise.d.ts)

A: Also, check your tsconfig.json. Either add es6 or es2015.promise to your tsconfig.lib[]
{
  "compilerOptions": {
    ...
    "lib": [
      "es2015.promise"
    ]
  }
}

A: I used the vanilla Javascript Promise and also got an unresolved type error message in phpStorm.
I fixed it by downloading this file:
https://raw.githubusercontent.com/Microsoft/TypeScript/master/src/lib/es2015.promise.d.ts
And imported it into phpStorm like this:
Go to Settings | Languages & Frameworks | JavaScript | Libraries. Then click on Add type in a name, choose Global (if you like), click on the + symbol and choose Add file. Select es2015.promise.d.ts from your drive and click OK two times.
The underline disappears and I got intellisense now!


Tom Parish is a thought leader and facilitator of conversations around technology and the problems of our times. Tom continually leverages his experience in working with AI researchers from the early 1980's through the early 1990's having worked at Symbolics and MCC, Motorola Semiconductor and Bildr.com. Tom is continually motivated to bring new technologies to market that help people team with each other and with smarter tools to work at higher levels of abstraction. Business wins big when you focus on inspiring curiosity and sharing our insights.
His background includes 30 plus years in management in networking, cloud computing, SCADA and process control, enterprise software, mobile technology, customer relationship management, social media, AI, multi-media production, as well as a career as a musician and a film colorist.
Tom is a producer and host of some 1300 thought-leadership focused podcasts about technology featuring a vast range of management personnel and creatives at " Fortune 1000" top performing tech and design companies.
The conversation nearest his heart is addressing how best to educate young people on the virtue of adaptability in the workplace and developing a keen sense of understanding interdisciplinarity ties. In bearing witness to the new economy and its unprecedented whims, on behalf of his grandkids, Tom seeks to create a legacy giving voice and visibility to this pivotal dialogue as a writer and public speaker.
Tom works in an advisory role with startups and enterprises seeking advanced technologies to improve their competitive edge. He seeks people who are problem solvers and business builders striving to bring new ideas to market. In his heart, he's about helping people discover more of what they want to become in life.
Tom's hobby and passion are connecting with amateur radios operator around the world. His call sign is KB5RF (Extra). In addition to helping companies with AI strategies, Tom is extremely curious about the evolution of software defined radios and the layering of radio network technologies. He's a life-long percussionist and a budding accordion player always looking for an opportunity to play. More on Tom here.
Life without Color – Can You Imagine?


text:
Meek Mill's Phone Stolen On Ghana Trip
One of the best Philly rappers took a nice vacation this week for a performance, and it was eventful to...
Nas Announces First Ever Concert At Madison Square Garden
H.A.G Entertainment November 14, 2022 Hip-Hop
Source: Daniel Knighton / Getty Nas is on yet another iconic run. He plans to close out his current album...
BOGO: DaBaby Denies That He Fell Off After Low Ticket Sales For New Tour
Source: Kevin Rawls / Radio One Digital DaBaby is struggling to sell concert tickets for his new tour thus all...
Drake Announces Apollo Theater Concert
H.A.G Entertainment October 5, 2022 Hip-Hop
Drake has announced that he will be performing at the storied Apollo Theater in Harlem, New York City next month....
Latto Checks TikTok User Who Says She Had An "Attitude" During Concert
A recent show in Philadelphia has caused Latto to go at it with a fan. Not every live performance is...
One of the best Philly rappers took a nice vacation this week for a performance, and it was eventful to say the least. A pickpocket stole Meek Mill's phone during his trip to Ghana, prompting him to ask for help on his Instagram story. The "Dreams & Nightmares" MC headlined the Afro Nation concert on Thursday night (December 29th). Also, the incident comes after he bailed 20 incarcerated women out of jail to be with their families for the holidays.
PHILADELPHIA, PENNSYLVANIA – NOVEMBER 03: Rapper Meek Mill performs on the field prior to the start of Game Five of the 2022 World Series at Citizens Bank Park on November 03, 2022 in Philadelphia, Pennsylvania. (Photo by Tim Nwachukwu/Getty Images)
As proven on this trip, that good karma comes back to reward you when you're feeling low. Meek fortunately got his phone back, and thanked the crew that got it to him on his Instagram story.
"I wanna say thank you guys for getting this phone back to my life, man," the 35-year-old said. "Y'all ain't let 'em hack me or nothin', did you, Commander?" He spoke to a Ghanan official who was seemingly escorting the phone-rescuing entourage. Also, he captioned the story post with "All my lil chicks was scared lol thankyouuuu."
A post shared by The Shade Room (@theshaderoom)
Moreover, video clips of Meek before he hit the Afro Nation stage show the chaos the phone might've been lost in. Dozens of people gathered around the Philly rapper. "They roughed me tf upppppp but the love overpowered it…" he wrote on Instagram. "Almost went from dreams to nightmares quick lol."
A post shared by Meek Mill (@meekmill)
Besides the crowds and almost-robbery, Meek had a ball in Ghana. As the Internet does, fans were quick to identify a woman who Meek was filmed riding an ATV with. Still, amid fans and admirers, it seemed the streets were all for it. When his phone was stolen, even Ghana musicians like dancehall artist Shatta Wale called for action.
"Streetz, if you know you have Meek Mill's phone, please return if that's true," he tweeted. "You can't do that to a real hustler. By [tomorrow] morning, return a.m. Meek inspires all of us on the street a lot."
Streetz if you know you have meek mills phone pls return am …that's if it's true .
You can't do that to a real hustler ..
by Moro morning Return am
Meek inspires all of us on the street a lot
#1DON
— SHATTA WALE (@shattawalegh) December 30, 2022
What do you think of Meek Mill's stolen and returned phone and his trip to Ghana? Moreover, are you excited for new Meek music soon? Let us know in the comments down below. Also, as always, stay tuned to HNHH for the latest celebrity antics and close calls.


If an ordered item is out of stock or marked with ETA/BY ORDER it will be placed on backorder or partial backorder (which you will be able to see on the Order Information page accessed from the My Account page). An estimated time of arrival (ETA) will be specified in the Order History where available. BY ORDER means an item is never held in stock and must be ordered in specifically for your order, which means it will generally take a bit longer. Please contact us for details of your specific item. If you do not wish to wait, please contact us and we will refund you for the items (although we may pass on any cost associated with ordering the item in specifically for you).
You purchase a product which has stock as "ETA" or "BY ORDER"
When one of these conditions occurs at the time of purchase and you see your order status remaining as Shipping, Back Order or Partial Back Order for a period of more than 3 days without further information on the ETA, please contact us to discuss available options (i.e. Keep the order and wait for the item to arrive in stock or cancel the order (or part) and immediately receive a full refund for the unshipped items). Please note, there may be additional shipping costs if you request a partial shipment of your order.
To track your order, please log into our website with your account and look at the My Account page. You will be able to see the status of all your orders. We also use the My Account page to display any additional information about your order. Please check the order progress regularly and contact us if there are any issues or concerns.
Credit Card Handling Fees - For order cancellations paid for by Credit Card (NOT PayPal), the Credit Card Handling Fee of 1.5% is not refundable, as this fee is charged by the bank and is not refunded to us when an order is cancelled and we have to issue a refund.
Only applicable to orders with a minimum product value of $500.
To find out more please see our Flexirent page.
MegaBuy takes no responsibility for any delays associated with processing your payment by third-party financial institutions.
MEGABUY or MEGABUY PTY LTD will appear on your credit card statement for orders placed with us.
MegaBuy Technology Superstore uses the industry standard security protocol Secure Sockets Layer (SSL) to encrypt all sensitive information (like your credit card details) that passes between your computer and the MegaBuy Technology Superstore website. We employ the latest 128-bit encryption technology in all areas of the site which require you to provide your personal or account information. This means that the credit card information you send is encrypted by your computer, and then decrypted again on our side, preventing others from accessing your private information in transit. So, when using an SSL capable browser, shopping on the MegaBuy Technology Superstore website is perfectly safe.
Also, when your provide credit card information on our website, it is passed directly to the bank via an SSL secured payment gateway and is at no stage stored on our website or in our database. This means there is no risk of your credit card information being stolen, even in the highly unlikely event of someone gaining access to our database.
Shipping charges apply to all orders placed. Our shipping cost is calculated on the weight, volume and delivery post code for every order. Shipping and dispatch times on our website are indicative only. To avoid delays and possible second delivery charges, we strongly recommend that you provide an attended business address (such as a work address), where someone you trust will be available to receive and sign for the order during normal business hours.
Normal delivery times for items in stock are 1-2 days from payment clearance. These timelines are guidelines only. Megabuy does not take any responsibility for any delays in shipping. Where possible we provide consignment details and courier tracking numbers to customers (in the order status), so please contact the corresponding courier to track your shipments. You should check the Order History on the Order Information page accessible from the My Account area for information on your order.
These promotions are in no way under the direct or indirect control of MegaBuy. Manufacturers will place set time frames in which these promotions are current and valid, and we have no ability to extend these times. We may still offer products for sale after the promotion has expired, and the promotion shall not be redeemable.
BEFORE returning any faulty goods to us you must initiate a return / warranty claim with our Service Department from My Returns / Warranty Claims section of the My Account page. You must select the faulty item from the list of products you have purchased and provide the faulty item's serial number (for those items that have a serial number) and as much information as possible about the fault / problem. Where appropriate, we will issue you with a Return Authorisation Number (RA Number) and provide with instructions on returning the faulty item. The RA Number is generally valid for 7 days from the date of issue, in which time the faulty goods need to be received by our Service Centre. If the faulty goods may not be returned within 7 days please advise us as soon as possible so that we can contact and advise the Service Centre to take steps to ensure the goods are not rejected at delivery. The RA Number MUST be clearly displayed on the return package. Any goods returned without an RA Number will be not accepted and shipped back to you at your expense. Depending on the item we may require that it is returned with all original accessories (i.e. Power supply, cables, I/O shields, controllers, adapters, etc) to enable the faulty goods to be properly tested for the specified fault. The Service Centres reserve the right to reject incomplete or poorly packaged items where poor packaging may have resulted in damage to the item.
A refund for the amount paid for the item or a replacement item will be provided at our discretion for any goods returned under Express Store Warranty where the Express Store Warranty provide a remedy over and above the rights you have under Statutory Warranty provided for by the ACL. For claims under Statutory Warranty your rights are as provided by the ACL depending on whether the goods have suffered a major or a minor failure. A refund or replacement item will only be issued once the faulty item has been received and tested for the specific fault / problem specified in the Return / Warranty Claim and found to be faulty.
If a product is sold in a bundle with another product only the faulty product will be replaced or refunded with the non-faulty products valued at the individual product price as at the time of the purchase.
You must go through Return / Warranty Claim procedure outlined above in order for us to process your return / warranty claim. If the item is found faulty, we will either replace the item or refund the full amount of the order based on your choice. To ensure expedient handling of your DOA return please initiate the DOA return within 7 days of receiving the product.
All products sold by MegaBuy are covered by Statutory Warranty, Express Store Warranty and/or Express Manufacturer Warranty. Most of the goods carry 12 months Return-To-Base Store Warranty or Express Manufacturer Warranty, but some, like monitors, could have an Extended Manufacturer Warranty. Please contact the product manufacturer for Extended Manufacturer Warranty details. As provided by the ACL it is up to you as the consumer to decide whether to deal with us or directly with the manufacturer with respect to your warranty claim under Statutory Warranty. However, where the manufacturer has a service centre network in Australia you may find it more efficient to handle the warranty claim directly with the manufacturer as we may not have the facilities or the expertise to test the product for the specified fault and would ultimately have to return the product to our supplier who may in turn need to return it to the manufacturer for testing and dealing directly with the manufacturer will avoid the delay of the product being handled through the entire supply chain. This process may add up to 4 weeks of extra handling time. PLEASE NOTE! All Ex-Gov products have a 30 day warranty only.
MegaBuy does not accept any responsibility for any data loss caused by the product purchased from us.
Terms and conditions are subject change from time to time without prior notice. It is your responsibility to review the terms and conditions prior to placing orders on the website.


If you're a carrier trying to find bulk freight, hopper freight, agricultural shipments you've come to the right place. At Allready Logistics, we value our partner hopper carriers and look for opportunities to maximize our relationships with you. We'll help you find truckloads, of fertilizer, bulk commodities, partial truckloads, flatbeds . We also offer Quick Pay, which includes next-day payment by paper mail So, if you've been trying to find a freight broker you can count on, look to us.
For customers communication is number one, we are there to answer any questions you have and help your freight get there on time and safe manner.


text:
Q: Remove an element from an explode() array I have a bit of a difficult one for you today. I'm trying to set up an inventory system of sorts (via mysqli and a database).
I am storing items - based off of their id,  in a string. (I.E. "1,0,2,1,0").
In order to read the inventory, I am using the 'explode' function.
I need to find a way to 'remove' an item from the inventory.
For example, let's say the inventory is set to "1,2,3,4,5" and I want to remove item 3.
This would leave the inventory set to "1,2,4,5".
Is there any way to do this? The only information I have that is related to the item's location in the string is it's place in the array, made by the explode function.

A: While the trivial solution has been given by @MarkBaker in comments (use array_search to find the key, then unset the key), I will be showing you how to first transform the data into something usable.
$items = explode(",",$inventory); // this is presumably what you have so far
$clean_inventory = array();
foreach($items as $item) {
    if( !isset($clean_inventory[$item])) $clean_inventory[$item] = 0;
    $clean_inventory[$item]++;
}

// now delete the item you want
unset($clean_inventory[$item_to_delete]);
// or, if you only want to remove one item,
// $clean_inventory[$item_to_delete]--;

// re-save in the "ugly" format...
$saved = array();
foreach($clean_inventory as $item=>$quantity) {
    $saved = array_merge($saved,array_fill(0,$quantity,$item));
}
$saved = implode(",",$saved);

As you can see from the amount of code needed, this is a hint that your data structure is bad, and you should feel bad :p It would be much better to store "item / quantity" pairs in the database in the first place.


John Gardner FCA was born in the middle of the last century in Bristol. He was educated at Colston Boys' School where his passion for rugby was born and nurtured.
When he left school he had a short spell with the Inland Revenue which taught him which side of the fence he did not wish to work. He left for Leicester University and gained an Honours Degree in Economics three years later. He then took articles with Josolyne Layton-Bennett in Birmingham and after qualification, expanded his experience with Binder Hamlyn in Doncaster and Clark Whitehill in Cheltenham.
He has always worked in practice, liking the wide variety of businesses working in the profession. He set up his own practice in 1990 and became a founder member of the partnership in 1993. John has lived in Prestbury, a village just outside Cheltenham, with his wife and family since 1985.
John is a member of Gloucester Rugby Club and an honorary steward at Twickenham.
Bonnie Connolly ACCA has lived in Cheltenham all her life, where she attended the local school and college. She started studying accountancy when she joined Hazlewoods in 1999 where she gained the AAT qualification and then went on to study ACCA. After 5 years in practice Bonnie joined RR Donnelley as a management accountant.
In 2005, Bonnie then went on to set up her own business trading as BLM Accounting Services, where she worked with the set up and running of the accounting aspect of various different clients. She developed an excellent knowledge of Sage accounting software and also provided Sage training for several clients.
In 2008 Bonnie joined Gardner Brown, where she has built a good relationship with the existing client base while gaining new business for the firm. She then became a partner in the autumn of 2012.
Bonnie is married to Rob Connolly, owner of The Regency Groom in Cheltenham and they have a little boy called Tommy, who keeps them busy at weekends.


text:
On Consumerism: The Myth of the "Peace Dividend" | Weekend magazine
By Edna R. Thompson on	 August 28, 2021 Money Matters
By Arthur Vidro
As ugly or chaotic as our departure from Afghanistan may be, and however much damage may be done to the Afghan people, we are leaving and this war is coming to an end. I am not here to discuss its benefits or results. I'm here to look into money matters.
In the August 21 edition of that newspaper, an opinion piece on the editorial page discussed the money the United States had spent on its 20-year stay in Afghanistan. Calculating these numbers is more art than science, but the columnist gave an estimate that our nation will now save $ 70 billion a year. These savings – the result of funds not spent on hostilities or military training or preparation or logistics or materials in Afghanistan – are known as the "peace dividend."
I do not dispute the author's guess or preference for how that money could be better spent each year.
But I don't think the peace dividend exists.
The term "peace dividend" first caught my eye in early 1990. I worked for a weekly trade newspaper. The term was in the news because our nation's main enemy at the time – the old Soviet Union – was disintegrating into its bits and pieces. East Germany and West Germany negotiated terms for their reunification, and the Soviet Union – although it still existed – allowed them!
In short, the Cold War was coming to an end. Little by little the iron curtain was drawn back.
Wow, thought many writers. With all the money no longer needed for the Cold War, think about what other areas could benefit from it! Let's put the money into education! Medical research! The social system! Environmental remediation! Health insurance for everyone! There is no shortage of worthy reasons. A colleague wanted everything to be spent on the space program to expedite our eventual landing on Mars.
The hypothetical issue of the peace dividend was a great way to learn about each individual's priorities. It's still a great classroom exercise today: "Students, if the peace dividend is $ 70 billion every year, how would you spend it?"
In 1990 I was in the minority if I believed the peace dividend didn't exist. In my opinion, the national debt was so great that if you shoveled money on the debt, the peace dividend would be depleted and there would be nothing left for new spending.
My reasoning was flawed, but I had found the correct answer. At that time there was no peace dividend. And I predict there will be no peace dividend now.
Why was there no peace dividend back then? Because although we no longer have a communist empire to fight, our nation and its military quickly and easily found new enemies and battlefields. It may have started with the 1991 Gulf War that drove the invading Iraqis out of Kuwait. That was a worthy thing, that's right. But wherever there was trouble, our leaders and military soon became aware of it and too often became overly involved.
Maybe without a Cold War we have focused more on the rest of the world. There was a lot going on, especially in the Middle East and Africa. There are many civil wars that attract outside forces. (As in high school, I was beaten by a fighter in a fight that I foolishly tried to end.) Out of my head there have been civil wars in Rwanda, Somalia, Yemen, Uganda, Congo, Syria, and Lebanon. The Iran / Iraq war was more traditional but no less deadly. There was abundant bloodshed and fighting as areas of the former Yugoslavia overflowed. And I'm sure other wars and military actions have taken place, but now I miss them.
The United States played a role in many of these actions – sometimes only in monetary terms, sometimes it provided weapons, soldiers, or other assistance.
In any case, the overly optimistic feeling of world peace in early 1990 only lasted a blink of an eye. And without world peace there is no real peace dividend.
So discuss the peace dividend. Speculate on spending it. But don't expect it to happen. It's chimeric.
Arthur Vidro is a recurring finance columnist for the Eagle Times. His "EQMM Goes to College" appeared in the May / June 2021 issue of Ellery Queen's Mystery Magazine.


text:
Frederick Douglass, a prominent African-American activist, condemned remarks made by Frances Willard, president of the WCTU, that he and other African-Americans believed condoned lynching:
And now comes the sweet voice of a Northern woman, Miss Frances Willard, of the W.C.T.U., distinguished among her sisters for benevolence and Christian charity. She speaks in the same bitter tone and hurls the same blasting accusation. She says in a letter now before me, 'I pity the Southerners. The problem in their hands is immeasurable. The colored race multiplies like the locusts of Egypt. The safety of women, of childhood, of the home, is menaced in a thousand localities at this moment, so that men do not dare go beyond the sight of their own roof tree.' Such, then, is the crushing indictment drawn up against the Southern Negroes, drawn up, too, by persons who are perhaps the fairest and most humane of the Negro's accusers. Yet even they paint him as a moral monster, ferociously invading the sacred rights of woman and endangering the home of the whites.
—Excerpt from Frederick Douglass,"Why is the Negro Lynched?"
in the pamphlet, The Lesson of the Hour, 1894
12. According to Douglass, what did Willard say that portrayed African-American men as monsters?


text:
RAYMOND H. PERRAS SR.
Raymond H. Perras Sr., 72, a 40 year resident of Hampton, died in Palmyra, Va., on May 12, 2009, after a brief, but heroic battle with cancer.
Raymond was born in North Adams, Mass., on Dec. 26, 1936, where he was a 1955 Alumnus of Drury High School. Shortly after graduating, he joined the United States Air Force, serving his country proudly for 20 years.
Once retired, Raymond spent the next 25 years selling textiles, draperies, and home interiors for Pearl's Inc. in Phoebus until the time of his diagnosis. He was well known and respected by local universities, school districts, U.S. Government Offices and residential clientele as a man of great character and integrity with an unwavering work ethic, a man always true to his word. He was passionate about the work he did and the people he worked with.
He enjoyed spending his free time working in the garden, refurbishing antiques, taking long afternoon naps, and dancing with his beloved wife, 'Bea'.
Survivors include his brothers, Theodore C. Perras of Sun City, Ariz., and Frederick H. Perras of North Adams, Mass.; sister, Jacqueline A. Whalen of North Adams, Mass.; sons, George H. Perras of Somerset, Pa., Raymond H. Perras Jr. of Clayton, N.C., and Eric A. Perras of Weitsburg, Wash.; stepsons, John H. Biondolillo of Gloucester, Mark E. Biondolillo and William B. Biondolillo of Hampton and Todd M. Biondolillo of Yorktown; stepdaughter, Lori A. Kuna of Spotsylvania; and 22 grandchildren.
He was preceded in death by his parents, Clement H. and Doris E. Perras; his beloved wife of 20 years, Beaulah Woodmansee Perras; and daughter, Beverly J. Stafford.
He was a devoted husband, a dedicated father, and friend in every sense of the word to all who knew him. Words cannot express how much he will be missed.
The family would like to extend their love and gratitude to the Vaught's, who opened their hearts and home without hesitation; the 5th floor Oncology nurses at Sentara Careplex in Hampton, whose work makes such as difference in the lives they touch; John H. Knight Jr., D.D.S., PLC and his staff for giving Raymond back his smile; and everyone at the Hospice of the Piedmont, Charlottesville for their constant love, support and belief in a peaceful and dignified death.
The family will receive friends from 1 to 2 p.m. Saturday, May 16, at R. Hayden Smith Funeral Home, 245 S. Armistead Ave., Hampton. A 2 p.m. service will follow in the chapel with military honors and interment at Parklawn Memorial Park. A reception will be held afterwards at the Perras home.
In lieu of flowers, donations may be made to the Hospice of the Piedmont, 675 Peterson Jefferson Parkway, Suite 300, Charlottesville, VA 22911.


text:
Today's Anti-Tech Protests Are Nothing New
The uprising against the tech industry has gone global, but just because we're afraid of a fated Terminator-like world doesn't mean we are headed into a catastrophe.
[Image: Flickr user Jason Scragz]
By Jenna Kagel 2 minute Read
From anti-Google bus vandalism to Uber drivers being attacked in Paris, the rise in anti-tech tension is hard to miss. Some suggest that this is the beginning of a trend with more upheaval to come. But before we get all hysterical about robots replacing humans, we may want to take a look at the history books to understand our uprisings against technology.
We have a Terminator complex. We don't want the machines we create to outsmart us, leave us jobless, or worse. And yes, you could easily attribute overall high unemployment rates to a more automated economy, but you could just as easily pin recent drops in that rate to the vast number of jobs being created by the tech sector.
The Luddite movement in the early 1800s was history's most famous display of people organizing to prove how essential the human workforce is to the economy. Working class Englishmen, during a a seemingly endless war on Napolean's France and rampant low wages, lashed out at the Industrial Revolution's textile machinery. The men saw machines as a threat to their employment as they were gradually phased out and replaced by the technology. So they met at night secretly, sent death threats to magistrates, attacked the British army, and assailed the machines. Luddites didn't attack the foundations of emerging industry, but rather wanted high-quality machines run by well-paid, properly trained workers.
Still, society was fearful in early 1800s England that machines were jeopardizing their livelihoods as they knew them, a sentiment that sounds familiar today. Back then, machines were attacked. Today, Bay Area residents and Parisian taxi drivers are assaulting omnipotent technology in any form they can.
The situation in Silicon Valley has gone from bad to worse. Google's corporate buses are being vandalized by Bay Area protestors upset with rising housing prices and tech companies' limited investment in the local community. Last week, a Google engineer was personally vilified by fliers left around his home saying, "Anthony Levandowski is building an unconscionable world of surveillance, control and automation. He is also your neighbour." The activists objected to Google's role in creating military robots, so they followed Levandowski to his Berkeley home to publicly try to shame him.
In Paris last year, taxi drivers assaulted Uber drivers and passengers. They slashed tires and broke windows in protest of the startup stealing clients from the hard-working taxi chauffeurs. Additionally, Amazon was protested last year by employees demanding fair labor treatment. The protestors wore stickers emblazoned with their message in front of Amazon.com headquarters: "We are people! Not Robots!"
The parallels between the Luddites and the protests against the tech community are relevant but don't necessarily foreshadow what may come next. The uprising in the U.K. only lasted for six years, with little-to-no global significance on technological progress. The impact of today's protests has yet to be seen, but it's worth noting that it's not the first time people have lashed out at technology. Nor will it be the last.
The 10 most exciting world-changing ideas of 2020
2020 saw a record drop in emissions—but it's not the climate win it should be
Dd the 2020 economy end up being K-shaped?
How to help Nashville: What you can do in the wake of the Christmas Day bombing
Trump has finally signed the stimulus bill: Here's the latest on $600 checks and unemployment benefits
Remember greeting cards? They're making a COVID-19 comeback
These high-performance skis are made out of algae
Facebook is the worst brand of the year
How data designers helped us make sense of 2020's chaos
How saying 'yes' to everything is curtailing your creative impulses
These are the considerations to keep in mind when reinventing your office culture
Why honing your company's culture should be a top priority in 2021


text:
Q: Protect a server folder from non-logged in Wordpress users I have wordpress site that hides certain links in its post to non logged in users. The links go to a folder stored on the server (nothing too do with wp-uploads, all uploaded manually). For example -
http://domain.com/courses/course-one/index.html
I would like to secure the http://domain.com/courses folder so anyone typing or pasting the link in directly, or coming from another site has no access to the files inside.
Is it possible to only allow access to users who are currently logged into the site?
Or maybe the link only works if clicked from the site pages itself?

A: I can think of two ways of doing it
Using cookies
As funkysouls suggested, we can create a .htaccess file to check if the user is loged in. For example:
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} ^.*(mp3|m4a|jpeg|jpg|gif|png|bmp|pdf|doc|docx|ppt|pptx|)$
RewriteCond %{HTTP_COOKIE} !^.*wordpress_logged_in.*$ [NC]
RewriteRule . - [R=403,L]

This .htaccess file simply checks if the user have a cookie named "wordpress_logged_in". If there is no "wordpress_logged_in" cookie, then a 403 - forbiten page is shown.
The problem with this approach is that cookies can be created and modified by the client. In other words, the user can simply open browser's storage, create a cookie with this name, and access your protected files without login to wordpress.
Using a PHP script
Another solution is to use .htaccess file to "redirect" to a php script. For example:
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} ^.*(mp3|m4a|jpeg|jpg|gif|png|bmp|pdf|doc|docx|ppt|pptx|)$
RewriteRule . http://<HOST>/<YOUR-PHP-FILE>.php?file=%{REQUEST_FILENAME}

Note that we pass the file name (REQUEST_FILENAME) to our php file through query params.
At the php file, you can check for user permissions and provide the file to the user:
<?php
define( 'WP_USE_THEMES', false );

# load wordpress functions. We need that to retrive loged user information
include('../../wp-load.php');

# get filename from query params
$filename = $_GET['file'];

# check if user is loged in
global $current_user;
get_currentuserinfo();
$can_access = ($user_level > 1);

# You could also check if the user is an adm
# $is_adm = current_user_can('administrator');

# Clean buffer management (prevent erros at file "generation")
while (ob_get_level()) {
   ob_end_clean();
}

if ($can_access){
        header('Content-Type: '.mime_content_type($filename));

        $read = readfile($filename);

        if (!$read){
                echo "error while loading the file";
        }
}else{
        echo "you can not access this file";
}

?>


A car seat is the most important item you will buy and use for your baby. Make sure you are using it correctly.
Car seat checks or installations are complimentary with the purchase of a car seat at Green Bambino. An appointment is required. Call 405-848-2330 for scheduling or set up your appointment at the time of purchase.


Sterling Silver (.925) Salem Witch Pendant - Witch on Broom with Cats.
Size: 1 3/8 inches (3.5 cm) including the Bail.
Features a Salem Witch on Broom, with two cats, stars, and crescent Moon.
Salem, Massachusetts 1692 - The Witch City.


text:
Stagediary
Brisbane theatre reviews
Theatres and companies
The Dressing Chair
(Brisbane Arts Theatre)
By Nigel Munro-Wallis
Amateur production
Darren Kruck's is not yet a name on Brisbane's theatrical lips, but if this performance is anything to go by, he has a great deal of talent and, with the right parts, may very well be somebody to watch.
A one-hander is always a challenge for an actor, especially if there is more than one part to play, and in Nigel Munro-Wallis's gentle little play he has five roles and five of Brisbane's historical periods to cover, ranging from 1919 to 2005, and featuring a returned WWI soldier, an American GI over here during the notorious Battle of Brisbane in 1943 ("overpaid, over-sexed and over here"), a young man in 1975 torn between his duty to look after his mentally-retarded brother and his need to live his own life, a student at the Darling Downs Institute of Advanced Educatioin in 1989, and a high-camp antique dealer in our own day.
It's a big ask for a young actor, and inevitably Kruck is better in some roles than in others. He's very good indeed as the ethically-torn brother and the university student, quite good as the returned soldier and the American GI, and completely over-the-top as the antique dealer. This kind of caricature we can do without, although I feel that playwright director Nigel Munro-Wallace also has much to answer for here, for letting the actor get away with it. It points up the need for an external objective eye in a director, and that no playwright should direct his or her own play.
What all this suggests is that, like many young actors, Kruck is better at playing roles close to his own age, which is no reflection on his undoubted talent. It's just that too much was asked of him here.
The play itself is a gentle piece of nostalgic reminiscence, centred on a unique piece of furniture and five of its owners. The dressing chair was made (I may be wrong here, as I missed the first ten minutes falling up the stairs and breaking my wrist no sympathy cards, please, but chocolates are always welcome) for a young woman at the turn of the century, and as it passes from owner to owner and moves further away from its origins, it takes on an increasingly mysterious value, and in so doing says something about the power of the unknown past to fascinate later generations.
It's a useful theatrical device for bringing together five very disparate stories, and although the play doesn't have any big major statement to make, it captures very well a range of moods, historical periods and types of men, some of whom you wouldn't expect to have any sentimentality at all.
There are other theatrical devices, most notably an anthology of Elizabethan love poems, which turns up in every scene and counterpoints the mood and the situation of each of the characters and his situation. It's a device that could seem very strained, but Munro-Wallace weaves it so skilfully into each narrative so that its appearance never jars.
This isn't a play that is going to change the world, but it's a nicely-crafted script with a more-than-competent actor, and for a evening at the theatre that brings back memories and makes you think, but isn't too emotionally or intellectually challenging, it's something that should appeal to anyone with a sense of Brisbane's history and a love of the past.
Directed by Nigel Munro-Wallace
Early week production, playing Sunday – Wednesday until Tuesday 27 September 2005 at 7.30pm (Sundays at 6pm)
Running time: 70 minutes, no interval
— Alison Cotes
(Performance seen: Mon 12th September 2005)
Previous Previous post: Holy Lies, Unholy Truth
Next Next post: The Daylight Atheist
Copyright Stagediary.com


KÍ Klaksvík's fight back continues!
With a stoppage time winner, KÍ have moved to within a point of ÍF Fuglafjørður in 8th place and within 4 points of 7th placed AB Argir who seem to have run out of steam.
KÍ took the lead after a quarter of an hour with a goal from Stefan Kalsø after Kristoffur Jakobsen – who has huge importance for KÍ although he's only 20 - had set him up.
But the joy was short-lived as the Serb Nenad Saric equalized for ÍF just 3 minutes later.
John Hammer pulled KÍ ahead again with 5 minutes remaining of the first half but just to see ÍF equalize again just before the half-time whistle with a goal from another Serb, Balazs Sinko.
The second half looked to be ending goalless, but 3 minutes into stoppage time, defender Jógvan Isaksen had come forward in connection with a free kick from Heðin á Lakjuni, and Isaksen headed the ball in the back of the net for a 3-2 victory. - A goal that can prove to be the goal that keeps KÍ in the top division where they together with HB Tórshavn are the only club that who have always been in the top flight since the league started in 1942.
After an even first half it was Víkingur who had the upper hand in the second half and created several scoring opportunities but weren't able to convert any of them. Instead it was Pætur Dam Jacobsen who scored for EB/Streymur with a quarter of an hour of the match remaining. - Geza Turi in the Víkingur-goal didn't look quite innocent.
But isn't that a penalty for Víkingur at 2:50 in the video below?
07 Vestur have stopped conceding, but they still can't win, however.
After 07 Vestur´s Ragnar Niclasen had been sent of some 30 minutes through the first half, 10-men 07 Vestur got a glorious opportunity to take the lead 5 minutes later when they were awarded a penalty. But the regular visitors on this website know already how that ended and can skip the next line: 07 Vestur goalkeeper Tórður Thomsen saved the spot kick from Jens Erik Rasmussen. That makes it 10 missed penalties out of 21 so far this season!
Also AB had a man sent off in the second half, but that did not break the deadlock, however.
AB Argir who looked to be more or less safe just a couple of weeks ago seem to have lost breath and are now only 4 points ahead of KÍ Klaksvík in 9th place and 3 ahead of ÍF Fuglafjørður in 8th.
AB's next game is on Saturday when they take on HB Tórshavn. This match is brought forward from 19 July because of HB's involvement in the Europa League. HB, who play tomorrow against B36, will therefore have one day less than AB to rest.
With AB´s schedule in mind, where they meet HB (h), EB/Streymur (a), Víkingur (a) and then NSÍ Runavík (h), AB could soon be back in the relegation zone.
07 Vestur's situation looks hopeless, but they have announced that they will be strengthening their teams with 2 or 3 Serbian players in the summer break (which started today for 07 Vestur). More about that in a June round-up at the end of the month.
The first half was a pretty even affair, where HB maybe had slightly more possession, but B36 were just as dangerous. In the second half B36 had the upper hand for most of the half and put a lot of pressure on HB whose defence didn't look to convincing.
The first chance of the game fell to B36 after 10 minutes when they knocked a free kick over HB's defence, but the "long toe" or the "high head" failed to connect with the ball which went out for a goal kick.
But it was HB who took the lead midway through the first half when Andrew av Fløtum's through-ball played Rógvi Poulsen completely clear to score.
But the lead lasted only about 4 minutes as Bergur Midjord equalized with a well placed header as he was left unmarked in the penalty area in connection with a free kick.
Also B36's joy was short-lived as HB restored their lead only 5 minutes later. Páll Mohr Joensen brilliantly found Rógvi Poulsen on the left in B36's penalty area and Poulsen then coolly squared the ball to Andrew av Fløtum who finished well with a low drive.
B36 went close again when Brima Koroma on the left set up Sam Malso (or Róaldur Jacobsen?) with a shot on the edge of the penalty area, but the shot went half a metre over the crossbar.
With 5 minutes remaining of the first half B36 were back level. Magnus Olsen knocked a free kick from 35-40 metres into the penalty are where goalkeeper Símun Rógvi Hansen made a blunder and allowed the ball to go straight between his legs.
HB appealed for a penalty early in the second half when Bjarni Jørgensen went down. He stayed up at first but then fell rather late which maybe put the referee off and waved play on.
The rest of the chances mostly fell to B36, although HB had some of their own as well, but B36 had the far better chances.
Símun Rógvi Hansen in the HB goal dived to save a shot from Sam Malson and later B36 looked sure to take the lead, but again the goalkeeper blocked the shot from Róaldur Jacobsen.
With about 15 minutes remaining, B36 thought they had scored, but the referee blew for off side.
But the match ended 2-2 and as B68 Toftir and NSÍ Runavík also drew 2-2, HB are still sitting firmly on the top of the table with an 8 point gap to B68 who climbed to 2nd.
On Saturday HB visit AB Argir in a match that is brought forward from July 27 because of HB's participation in the Europa League.
Apart from Saturday's match, the Vodafone Division goes on holiday and resumes on 18 July.
Having come from behind twice, B68 drew 2-2 with NSÍ to climb to second place in the table. B68 truly have been the surprise package of the league so far.
Klæmint Olsen opened the scoring for NSÍ in the 19th minute, but Keita equalized 5 minutes before the interval with a great shot.
NSÍ pulled ahead again in the 19th minute of the second half with Bogi Løkin, but B68 equalized again with defender Niclas Joensen.
Only 3 points separate no. 2 B68 and no 5 EB/Streymur.


AM stations have begun to ask the FCC for waivers to use power-saving Modulation Dependent Carrier Level technologies, which reduce the amount of power transmitted in the carrier portion of an AM signal while maintaining the quality and coverage area of the station.
According to NAB Tech Check, an AM station in California has made the first request for a waiver under the terms of the recent Public Notice.
The station was Crawford Broadcasting's KCBC in Manteca, Calif.
The Media Bureau recently established procedures for AMs to seek a rule waiver in order to use energy-saving MDCL technologies. The commission suggests that easier implementation of MDCL algorithms and higher energy costs have made these techniques more attractive to domestic broadcasters, according to Tech Check.
RW also has reported that Chuck Lakaytis, director of engineering with Alaska Public Broadcasting, discussed the topic at spring NAB. Lakaytis is using the technique under experimental authorization with both Nautel and Harris transmitters. Over a 90-day trial period, two 10 kW AMs, KOTZ, Kotzebue, and KDLG, Dillingham, saved 30% on their power bill, according to Lakaytis; and there were no complaints about audio quality nor coverage loss.
Lakaytis also told Radio World's Leslie Stimson this spring he was interested to see how MDCL would perform on an AM transmitting an HD Radio signal. NAB's Tech Check states a number of broadcasters and transmitter manufacturers are interested in testing how well HD Radio receivers work when presented with DCC-processed signals.
The AM and FM Analog Broadcasting Subcommittee of the National Radio Systems Committee is following work on this technology and will review any test results made available.


text:
Joe Piersante of the DEA Named ticklethewire.com Fed of The Year for 2019
Dan Moldea: On The 44 Anniversary of Jimmy Hoffa's Disappearance. Here's What I Think Happened
Separating Fact from Fiction in the Hit on Mobster Joey 'Crazy Joe' Gallo
Read Past Reports
Associated Press National News
Columnist Al Kamen
Courthouse News Service
Deadline Detroit
FBI Counterterrorism website
FBI Retired Case File Review – Podcast
Federal Law Enforcement Officers Association
FedScoop
Fraud With Peril
Gang Land News
Gun Safety in America
Hemp Today
Law Enforcement Online (LEO)
Main Justice
Mike Causey's Federal Report
Motor City Muckraker
National Assoc. of Assistant U.S. Attorneys
National Association of Former U.S. Attorneys
Security DeBrief
Spy Talk
The BLT: Blog of LegalTimes
The Crime Report
The Hansen Files (NBC)
The Isikoff Files
The Prime-Time Crime Review
The Rap Sheet (Crime Fiction)
Under the Radar (Politico)
Wall Street Journal Law Blog
WIRED Threat Level
WORLDFAMOUSPRIVATEEYE'S Blog
Entire (RSS)
How to Become a Bounty Hunter
Illinois Couple Killed After Agreeing To Cooperate With FBI
East St. Louis/city photo
Coincidence or Not? A couple was shot to death after agreeing to cooperate in an FBI probe of a farmer.
By Jim Suhr
EAST ST. LOUIS, Ill. — A couple who helped a farmer hide a tractor from his creditors were found shot to death at their rural home just two days after they had agreed to talk to FBI agents investigating his bankruptcy, federal prosecutors say.
No one has been charged in the April 2007 deaths of George and Linda Weedon, whose bodies were found by firefighters responding to a fire at their home near Keyesport, a lakeside resort village about 60 miles east of St. Louis.
George Weedon had told an FBI agent he would cooperate with their investigation of farmer Joseph Diekemper, but feared Diekemper would burn down his house if he found out, according to documents filed in the case Monday.
Diekemper and his wife were charged in June with bankruptcy fraud. Prosecutors allege they hid valuable farm equipment at various places, including a tractor found behind a fake wall of a barn on the Weedons' property.
For Full Story
Posted: October 22nd, 2008 under FBI, News Story.
Men In Ft. Dix Terrorist Case Bought Assault Weapons
Defendants in the Ft. Dix terrorism case were caught buying weapons from an FBI informant. Were they terrorists or just wannabes?
wcbstv.com photo
By JASON NARK
CAMDEN, N.J. –Moments before an FBI SWAT team kicked in his door, the government's top informant in the Fort Dix terrorism case dropped a little irony on two men he had just set up.
"I don't trust anybody," Mahmoud Omar said to brothers Shain and Dritan Duka before the FBI arrested the Dukas last year.
According to a video played in U.S. District Court in Camden yesterday, the brothers were inside the apartment to purchase weapons – four M-16 and three AK-47 assault rifles – from Omar, an Egyptian national and paid government informant who received the neutered weapons from the FBI.
Yesterday, the seven assault rifles, along with four other weapons that the defendants owned, sat on a table inside the courtroom a few feet away from the jury.
The government alleges that the weapons were a key component in a terrorist plot to attack and kill U.S. soldiers at Fort Dix in New Jersey. They allege that the men were inspired by Osama bin Laden and al Qaeda to defend Islam and start a holy war in the United States.
See Daily Transcript Of The Trial and Videos
ATF Probe Leads To Mass Arrests Of Bikers In Six States
An undercover ATF investigation may spell the demise of the Mongols, a Southern-California based biker gang accused of everything from hate crimes to murder. In many circles, it's a resume only a mother could love. Agents began rounding up the indicted suspects Tuesday.
By Scott Glover
More than 1,000 heavily armed federal agents and local police fanned out across Southern California and cities in five other states early this morning, arresting dozens of members of the notorious Mongols motorcycle gang on federal racketeering charges.
But the most lasting blow to the San Gabriel Valley-based bikers may be down the road: In an unusual maneuver, the feds are also seeking to seize control of the Mongols' trademarked name, which is typically accompanied by its cherished insignia — a ponytailed Genghis Khan-like figure riding a chopper.
U.S. Attorney Thomas P. O'Brien said if his plan is successful, the government would take over ownership of the trademark, and anyone caught wearing a Mongols patch could have it seized by law enforcement on the spot.
"Not only are we going after the Mongols' motorcycles, we're going after their very identity," O'Brien said in a telephone interview early this morning. "We are using all the tools at our disposal to crush this violent gang."
Read Indictment
Posted: October 22nd, 2008 under News Story.
"Die Hard" Director Gets Break In Lie to FBI
In Hollywood, people are always re-writing the endings. Well, the U.S. Court of Appeals has given "Die Hard" director John McTiernanan the opportunity to re-write his ending after he pleaded guilty to lying to an FBI agent in the infamous Pellicano wiretap scandal.
John McTiernan/photo flixster
By Victoria Kim
LOS ANGELES — A Hollywood director who pleaded guilty in 2006 to lying to the FBI about his dealings with convicted private eye Anthony Pellicano may be entitled to withdraw his plea, an appeals court ruled today.
"Die Hard" and "Predator" director John McTiernan had argued he would not have admitted to the charge, for which he was sentenced to four months in prison, if his attorney at the time had given him better legal advice. Last year, a judge denied his motion to withdraw his plea.
The action-flick director was one of seven people who pleaded guilty to charges connected to Pellicano's wiretapping and racketeering enterprise before the case went to trial.
McTiernan, 57, admitted to paying Pellicano to wiretap film producer Charles Roven after they had worked on the 2002 film "Rollerball," and to misleading an FBI agent who interviewed him over the phone.
Finally: Sen. Stevens Case Goes To Jurors Today
After a bumpy trial, jurors get to have their say. Sen. Stevens is crossing his fingers, hoping for an acquittal and an opportunity to hit the campaign trail before Nov. 4.
Sen. Stevens/official photo
By Del Quentin Wilber
WASHINGTON — A federal jury today will begin deliberating two conflicting views of Sen. Ted Stevens, the powerful Alaska Republican charged with lying on financial disclosure forms to hide more than $250,000 in gifts and renovations to the Alaska house he affectionately calls his "chalet."
Closing Arguments Beginning in Stevens' Trial
Defense lawyers, backed by a string of character witnesses, have portrayed Stevens, 84, as an honest public servant who conscientiously paid his bills, never lied on the forms and is the victim of overzealous authorities.
Prosecutors have argued that the senator is a miser who went to extraordinary lengths to hide free remodeling work financed by Veco, a now-defunct Alaska oil services company, and its top executive.
UPDATE – (Wednesday: 6 p.m.) — The first day of deliberations ended without a verdict. Jurors will return Thursday for further deliberations.
Fed Judge In Philly Asks Whether White Student Got Preferential Treatment
In the city of brotherly love, a federal judge suggests race may have been a consideration in a potential child pornography case involving a white Ivy League student.
Judge Michael M. Baylson/penn law school photo
Maryclaire Dale
PHILADELPHIA – A federal judge questioned Tuesday why a white Ivy League student found with thousands of images of child pornography during a computer hacking probe was not charged with that crime, and was spared the decade-long sentence looming over a black convicted child pornographer at the same hearing.
University of Pennsylvania senior Ryan Goldstein, 22, of Ambler, will spend three months in prison and five years on federal probation for a hacking scheme that caused a Penn engineering server to crash in 2006.
Goldstein pleaded guilty to a misdemeanor and worked long hours helping the FBI investigate a worldwide hacking enterprise, lawyers on both sides agreed.
But even as he was cooperating, Goldstein twice engaged in unspecified mischief with FBI computers, causing investigators to fall short of their ultimate goal, U.S. District Judge Michael Baylson said.
"It was very detrimental to the investigation," said Baylson, who heard details of the misconduct behind closed doors at the start of Tuesday's sentencing hearing. "It's very disturbing."
© 2020 Tickle The Wire - Entries (RSS) - Comments (RSS) - Log in
Home | Advertise | Milestones | Documents | Agencies | Jobs | Contact Us | About Us | Mobile Site
Site by: Sik Solutions, LLC.


text:
Tag Archives: national house price
Banking on Toronto
September 17, 2009 Buying Real Estate, Leaside Real Estate, Luxury Real Estate, Toronto Real Estate
The financial industry's strength is attracting worldwide talent to Bay Street – and giving a big boost to the high-end real estate market
Carolyn Ireland – Globe and Mail
Paul Knight was certain his wife would not go for the house.
"I'm not even getting out of the car," he told their real estate agent as they pulled up in front of a house on a leafy street in Rosedale.
Mr. Knight didn't have to wait long.
"This is the one," Ann Dugan said as she emerged from a character-filled, 100-year-old house and got back in the car.
The couple and their three children are now unpacking the last of their boxes as they make themselves comfortable in their new roost.
At the same time, Mr. Knight is also settling into his new post as chairman and chief executive officer at UBS Canada, a global investment bank.
Born in Montreal, Mr. Knight is repatriating to Canada after a 20-year career in cities such as New York, Hong Kong and – most recently – London.
He's one of many bankers and investment professionals streaming back to Bay Street from some of the world's most prominent financial capitals.
The influx has spurred a resurgence in the Toronto real estate market – from mid-priced houses up to the highest echelons.
The speed and magnitude of the rebound in sales activity spurred the Canadian Real Estate Association (CREA) to lift its national forecast for the housing market in 2009. CREA is now expecting sales across the country to remain roughly flat compared with activity in 2008.
Previously, CREA had been expecting a 14.7% fall in sales this year.
The association also points out that sales of more expensive houses will lead to a slight 1.5% rise in the national average house price in 2009. The increased number of sales at the high end – rather than an actual swelling of prices – skews the national average price upwards.
CREA chief economist Gregory Klump says that low interest rates and strengthening consumer confidence have drawn buyers to the market. With no inflation pressures apparent, he expects interest rates to remain low for the next 12 months.
Mr. Klump says the suddenness of the arrival of a busy market in the late spring and early summer came as a surprise to industry watchers.
"Nobody expected this second quarter swing."
Mr. Klump notes that many sellers took their houses off the market as they waited for conditions to improve.
Looking farther out, Mr. Klump expects listings to increase in 2010 as sellers see firmer prices in the second half of 2009.
Elise Kalles of Harvey Kalles Real Estate Ltd. and Jimmy Molloy of Chestnut Park Real Estate Ltd. have teamed up on the listing of a Rosedale estate at 338 Douglas Drive for $7.5 million.
It's the sort of property, with secluded ravine setting, generous rooms and lush gardens surrounding the pool that they hope will capture the attention of the international set.
"The only person in London who has this kind of privacy is Her Majesty," quips Mr. Molloy.
Ms. Kalles and Mr. Molloy agree that they have seen a rebound in sales to the carriage trade after that tranche of the market languished through the spring of 2009. In May and June, sales of houses listed for $5-million and up suddenly took off.
Comment: May set the record for number of sales over $1 million.
"The banks are bringing them back," says Ms. Kalles in describing two of her big sales this summer.
The two agents were also on opposite sides of a deal recently when Mr. Molloy represented a returning investment professional in purchasing a property sold by Ms. Kalles.
While banks in the United States and Great Britain have diminished or even disappeared in some cases, Canada's more staid big six chartered banks have remained steadfast in comparison.
"Our financial system has run a tighter ship," says Mr. Molloy. "A lot of them are Canadians that went off to make their fortune," he says of his roster of recent clients.
Meanwhile, some other big cities makes Toronto look very desirable right now. The city offers good schools, safety and security, he says.
Jonathan Buick is the managing director and founder of Toronto-based Harp Capital Corp.
The boutique merchant bank specializes in helping Canadian mining companies find joint venture partners out of Asia.
Mr. Buick says he regularly receives calls from ex-pats working in other cities who are job hunting in Toronto. His database of contacts, he says, has almost entirely rolled over as acquaintances lose or switch jobs.
Meanwhile, he's also heard from some London-based fund managers who are bringing their expertise back to Toronto.
"For anybody that's tied to commodities, this is the first place that will be revitalized."
Mr. Buick currently has his house on Farnham Avenue near Avenue Road and St. Clair listed for sale with an asking price of $2.495 million. He has noticed that traffic through the house has increased noticeably in the past couple of weeks.
He's expecting that September will bring even more house hunters.
Mr. Knight was asked last spring to return to Toronto to help UBS rebuild its equities department and wealth management business here after the Switzerland-based bank suffered during the economic downturn.
He and Ms. Dugan quickly decided that they very much wanted to come home to Canada.
They made sure children Max, Tess and Seth Dugan-Knight could get into school in September, then began house hunting.
Mr. Knight was not familiar with the market, so he had his agent show him houses in neighbourhoods all over the map, from Lawrence Park to the Annex.
"He had to spend a lot of time driving me around."
Mr. Knight noticed a marked change in mood between April, when the family first started their search, and the early summer, when they purchased their current home.
"In retrospect, that was the time to strike a deal," he says. "People were nervous. We had a lot of nervous sellers."
But Mr. Knight says he and Ms. Dugan were uneasy too. They didn't know the Toronto real estate landscape and the outlook was uncertain. They made offers on two houses that weren't accepted.
By the time they learned their way around the market, sellers were a lot more confident, he says.
"Toronto was – unfortunately from our point of view – clearly recovering."
At the same time, the couple sold a house in suburban New York which they had purchased during their sojourn there before the stint in London. The New York area has not recorded the robust sales numbers that Toronto has.
"The worst thing you could do was sell in New York and buy in Toronto, which is what I did," he says ruefully.
Still, Mr. Knight and his family love the new house, which is rich with character. They marvel at all of the nooks and crannies, he says, and a tremendously old oak tree stands outside.
"It's really enchanting."
What really astonishes Mr. Knight is that he can live in such a verdant setting and yet still walk to the subway at Bloor and Yonge. In most other world capitals, even a tiny patch of green is almost unheard of in the city centre. Only the "stratospherically wealthy" could buy a house with a garden in New York, he points out.
"If you're looking for trees outside your window and a garden on your lot, it's very rare."
Mr. Knight says he and his wife chose the house precisely because it maintains its traditional layout. It doesn't have the combination kitchen and family room, for example, that have become so prevalent in Toronto.
Whole studies, he says tongue-in-cheek, have been done on the necessities of the mud room.
"You wouldn't find that in London."
They also saw a lot of houses decorated exactly the same. Again, that's not a phenomenon they've seen in London.
"I think we kind of rebelled against that."
Instead, the family bought a house which they think suits them perfectly.
"To buy what we did in other cities – well it almost doesn't exist."
Contact Laurin Jeffrey for more information – 416-388-1960


Sherry started with our Prosthodontic practice in 1997 as a chairside assistant after graduating from the Spotsylvania Vocational Dental Assisting program in 1996. She continued to work part time as she expanded her education in Dental Hygiene and graduated from the Northern Virginia / Germanna joint venture program in 2002. She takes pride in her high standards of care and making patients feel at ease in the dental chair. Sherry is married with two very active daughters. In her spare time she enjoys going to the beach and spending time with friends and family.
Krista is a Certified Dental Assistant with 30 years experience. Military upbringing with Virginia as her last stop. She has been with our practice since 2003 when she moved from Alexandria to King George. She loves a challenge, in our specialty we get many! Always nice for the patient to be happy with the end result and the journey it took to get there. Away from the office she enjoys spending time in the Outer Banks with family and friends.
Having grown up in Virginia, Melanie has lived in the Fredericksburg and King George areas since 1981. She graduated with a Bachelor of Arts degree from Mary Washington College. Melanie is married and has one son. She enjoys spending time with family, walking her black lab, reading, museums, biking, kayaking and movies. A favorite vacation destination is North Carolina's Outer Banks. She has worked in the dental field almost her whole working career. Melanie worked for Dr. Rose for just over twenty-three years and is now enjoying working with Dr. Yuh. She enjoys getting to know patients and their life stories. Helping patients navigate their dental paths to successful restoration of their dental health is her goal.
Alliencia comes to us with 15 years of dental experience. She enjoys meeting all patients and loves that they teach her something new every day. After facing many challenges in dentistry, each making her a stronger assistant, she states "The smile on the patient's face makes my job very rewarding". Alliencia is married with 2 daughters and 2 granddaughters. Outside of the office she enjoys camping, 4 wheeling, horseback riding, amusement parks and long talks with her Mom, daughters and granddaughters. "I have been blessed".


"Fayyad's call is far away from any national proposal," said Hamas spokesman Fawzi Barhoom in Gaza.
The Islamic Hamas movement on Saturday rejected a call by Palestinian Prime Minister Salam Fayyad to end the political split between the Gaza Strip and the West Bank.
Barhoom said Fayyad is the most dangerous person on the Palestinian cause and he is not a part of the Palestinian equation, he is part of the Israeli and American equation."
In an interview with a pan-Arab newspaper, Fayyad had said that "the home must be reunited because this is the way to respond to the Israeli actions." Israel recently launched raids against charities and civilian institutions in the West Bank.
Hamas doesn't recognize Fayyad's government which President Mahmoud Abbas formed in June 2007 when Hamas routed his Fatah forces and took control of the Gaza Strip. Hamas rules the Gaza Strip with a government which was sacked by Abbas.
For Fayyad, the "national dialogue can be held later but the unity (between Gaza and the West Bank) must occur immediately," al- Hayyat newspaper reported.
Hamas wants the dialogue to start first and it demands that the issue of the Gaza takeover be dealt with through the talks, but Fayyad concurs with Abbas' vision that Hamas must give up its control over Gaza to pave the way for dialogue.
Palestinian Islamic Resistance Movement (Hamas) delegation was due to head for Yemen on Saturday to discuss proposals for Palestinian reconciliation put forward by President Ali Abdullah Saleh, a Hamas spokesman said.
Yemen news agency reported during the few-day visit, the Palestinian delegation will held talks with the political leadership and a number of officials in the government on mechanisms of implementing the Yemeni initiative to end the Palestinian dispute "Sana'a Deal", according to the state-run weekly 26 September.


The CPEA Story Writing Competition was conceptualised to provide pupils participating in the CPEA an opportunity to create stories that would be read by a regional audience of their peers. The project is aimed at identifying short stories, written by pupils, which can be used as reading materials by other pupils. By providing pupils with an authentic audience for their stories, they will become more motivated to write. Additionally, this activity provides an avenue to unearth pupils writing potentials and talents.
The stories are numbered according to their placement in the competition. We hope that you will enjoy them!