Sometimes when you are a hobby junkie you end up asking yourself what is that ONE thing you want to do in life? What is your true interest? I haven't found an answer to that until this very moment. One day I dream of pursuing my interest in music and then one day I see myself wearing a photographer's vest and then one another day my dream of being rich and quenching my wanderlust.
But I guess I can photograph my travel destination and that singing while at it won't hurt. And just when I come to such a solution I start going after arts and crafts. Now, that's back to square one! Then I had to make this list.
> you are not really an expert in anything.
Side effects include being chided by your dad/mom for not learning anything completely.
> every new hobby is a new adventure which keeps your stress down and mind up.
> you can also make people think you are a mysterious person (given that you have such varied interests you project a different "you" depending on what you have in mind) while in reality you are only confused.
And then after all this you actually feel like you are more cool-hip-yoyo than you really are and I think that's the whole point isn't it? Pursuing a hobby to make yourself content.
So, my thought process ended with me thinking that my life is awesome. It's interesting. And having a hobby of having hobbies makes my life. Makes me what I am. A jack of many trades and master of none!
INteresting post. Information is pretty useful. Thanks a lot for sharing with us.
This kind of 6: 53 second songs will be qualified Show 9: First 30 days.That changes into detail concerning just how members can method the particular market property during that essential preliminary 30 days.
Hey, your blog is an interesting read! Check out our blog punediaries.com-for all the talking and listening taking place in the city of Pune!


S Satyanarayan Cycle Store is listed in Bicycles. The average user rating and a snapshot of S Satyanarayan Cycle Store follows below, followed by all the user reviews.
There are no events at S Satyanarayan Cycle Store scheduled currently.
Our factory is specializing in the manufacture and export of the bicycle spokes for more than ten years. We have profuse designs with series quality grade.Our price is very competitive because we are manufactory, We are the source. You are welcome to visit our website www.qingjinchina.cn which includes our company profiles, history and something latest designs.
Shandong Qingyun Qingjin Vehicle Spokes Co, . Ltd.
fullhyd.com has 700,000+ monthly visits. Tell Hyderabad what you feel about S Satyanarayan Cycle Store!


text:
L'Église baptiste du septième jour de Londres, dite Église Millyard (Millyard Church), est une Église baptiste du Septième Jour à Londres, en Angleterre.

Histoire
L'Église baptiste a été fondée en 1651 à Londres par  (physicien de Charles  puis de Charles II).

, elle-même .

Références

Voir aussi

Bibliographie
 .

Articles connexes

 Baptistes du Septième Jour

Religion à Londres
Église baptiste en Angleterre

redpajama_set_name: RedPajamaWikipedia


text:
Books by Jim Yackel
mailto:jim.yackel@gmail.com
Jim Yackel hails from upstate New York. An author of Christian Fiction, Jim is also an indie news reporter, and a singer/songwriter. HOME: A Wayfarers Story is his tenth fiction book release.
A Wayfarers Story
Genre: Suspense / Thriller/ Christian (Edgy)
They're at odds with the new system – or is the system at odds with them? They're on the run from the new device and they can't let it gain ground on them.
Blood, lightning, Artificial Intelligence, and reconstruction: these are the elements of the New World Order and the colors representing the man who'll be at the head of it. But is he an ordinary man, or are there supernatural and AI elements at play?
Was there a book of the bible that came after Revelation but was removed during the Reformation? Does this book describe a place worse than Hell that even God and Satan fear to tread?
Powers, principalities, and rulers of dark places. Journey along with a cast of wayfarers as they pursue truth in a time of great deception. Will they overcome, or will the succumb to the supernatural, physical, and technological battles waged in the fallen U.S.A. during the End of Days?
Through it all, will these wayfarers find truth, healing, deliverance, and mercy?
It's the end times, and yet the beat of the heart is the still the enabler of human life. The mind is reliant on that beat, but the spirit is the guider of thought. And as so much of America has rejected the promptings of the Holy Spirit, is there any goodness left in its heart and mind? Years after suffering a peculiar Traumatic Brain Injury, musician Jack Eaton finds himself on yet another perilous journey. His spirit guides him as he sets out on the narrow path at a time when America as most have known it has ceased to exist. While his thoughts are clear and concise and his body strong, there is still residual head pain that plagues him, and dreams, visions, and the promptings of the Holy Spirit that drive him.
Jack has seen two failed marriages, and yet in his heart there is unfinished business. It's that longing that draws him out of relative safety and into a Godless landscape of artificial intelligence, military rule, economic collapse, perversion, idol worship, and war. Can Jack find real love in a time of abject chaos and hate? Will there be a total healing of his physical pain? America has broken down, but will God use Jack as a force to hold lives together as he longs to get home?
A Wayfarer's Story
Genre: Suspense / Thriller / Christian (Edgy)
Where do the lines between fiction and non-fiction become blurred? Musician Jack Eaton struggles to the point of physical pain over events witnessed in his dreams and while in a coma eight years prior. Did he see much of the future eight years in advance? Like someone speaking in their dreams, Jack said things while in his coma that has made him a threat to national security. America has been flipped upside-down as the New World Order is dissolving the nation's sovereignty. Artificial Intelligence and cryptocurrencies are the norm, despite electricity, internet, cable, and phone service working only part of the time. The fog of deception is heavy, and even the elect – and the elected – are being deceived. American citizens are losing Constitutional rights, and possibly the Constitution itself. The rich and powerful are playing God, and on the surface, it appears that they're enjoying great success. The members of Jack's band and others were taken to an undisclosed location after a raid by government agencies on an apartment complex in upstate New York. Now Jack and his friend Dave Jamison must find the musicians and the others taken; if they're still alive. In the darkness, will there be light for them to follow? It's mayhem in End of Days America, and the journey Jack and Dave take could be their last.
Genre: Christian/Fiction/Mystery/Suspense
Fortress – a Wayfarers Story is an edgy and realistic fiction tale that depicts an America that is a far cry from that which your grandparents, or even your parents grew up in. God has been asked to leave the proverbial building, leaving the door open for enemies natural and supernatural to enter. As the nation stands on the verge of global and civil war and economic collapse, up is down, right is wrong, and a fog of deception has settled over the amber waves of grain. Lies are presented as truth, while those who would tell the truth are marginalized and persecuted. And could it be that those who disseminate the truth would have their very modes of conveyance taken away? If you're a fan of the alternative media and a watcher of world events, Fortress is a fiction story that just might smack of truth.
Genre: Christian/Fiction/Suspense/Thriller
The Wayfarers puts its first step forward with Walking Dreams, paces off the miles in Five Feet From the Cabin Door, and culminates with Jacob's Trouble.
An intriguing cast of characters that could possibly be you, your neighbors, and your friends, take together and separately an unintended journey seeking safety, security, and answers – as an America in sudden crisis and the entire world spin out of control into the biblical End of Days. As these individuals are pulled into a natural and supernatural battle against powers, principalities and the rulers of dark places, could they all survive and make it to that place of safety and security? As you survey a radically-changing world today, are you seeking that same eternal refuge? Are you ready to take the walk?
Part One – Walking Dreams
Can't anything go right!?
He's a bright, industrious, and creative man whose world is falling down around him as his very life has become imperiled. As he teeters on the precipice of total breakdown; an automobile's mechanical failure forces this man without an address to begin a walk that was intended to take him to his place of lodging – but would he ever make it there? What colorful and potentially impactful individuals would he meet while on his unplanned walk? While life is tough for our friend; there are others who have it tougher. The suffering individuals that he meets along the way will bless him, enlighten him, and help to prepare him for an epic journey where he will be called upon to play a role of leadership to others as the Unites States of America is inflicted with severe trauma.
Part Two – Five Feet From the Cabin Door
The world has been flipped on its head as a distressed young woman is rapidly spinning toward rock-bottom and feels compelled to take a walk to try to clear her mind and relieve her burdens. Little does she know that she does not walk alone; but who or what is walking with her? Does it mean her harm or will it ultimately save her? What on earth drove her to come down to this desolate path? Where does this path lead?
That same day, a spirit-led man is compelled to take a walk because there is a calling he must answer. There is no time to ask questions, and he too finds that he is not walking alone. Time is of the essence as the landscape and the world as a whole may be changing; albeit suddenly and not for the best. Are these individuals running from trouble, or are they running to a sanctuary that will bring them safety and security?
Part Three – Jacob's Trouble
Six months after America's worst day – that being a wave of terror attacks on the east coast – the nation has fallen to its knees. The Christian Church has been raptured, or were the UFO's in the sky an indicator of a massive alien abduction instead? The U.S. Dollar is on the verge of collapse as rioting and looting mar the streets of the country's population centers and Martial Law is still in effect – but there are some new sheriffs in town and they are bent on taking over the traditional means of enforcement. Television and radio are being controlled and only one network is left to report the news of the world. It seems that even the weather forecasts are being massaged!
A young man and his brother are being watched by the "new sheriffs" and he is led to head "out back" in an effort to stay on the "down-low." But, how far out back or how far away will he and his brother have to go in an effort to stay safe? Will they end up going it alone, or will they meet others along the way to make whatever journey they take a safe one? Will a new man on the world scene have any influence on the events that transpire in the lives of the young man, his brother, or the world? This could be a journey where the end is the beginning at a time when the world is seeing the beginning of the end…
REMEMBERING WILL
Memory is pain, but there are some things he'll never forget…
At thirty-nine years of age, Will Gailey is an "over the hill" singer-songwriter who leads a rock band that the music business doesn't consider to have the "now" sound. A trauma has rocked his world, and as a result his memory of events has been severely affected. Will can remember the lyrics and chord changes to his songs, but there are other things that seemingly he's forgotten. Will has always enjoyed fishing, but even that relaxing activity has become a source of frustration. He's become angry and disassociated, and has turned from the one thing that could bring him peace and healing. And where that one thing is concerned, that's where his anger and the blame for his physical and spiritual pain are errantly directed. In his mind, that one thing is the cause for his loss and his suffering.
Months after the trauma, Will continues to suffer crushing headaches. He decides to take matters into his own hands as what is supposed to heal his anguish is only exacerbating it. He's become weakened, vulnerable, and open to spiritual torment. He's alone and in need of help, but when people come into his life that can be of assistance he's apt to reject them. Vivid dreams, visions, and hallucinations occur, and in them are both the help he needs and likewise persecution. Will was a strong man, but now there's a strong man that's found a breach and is creating havoc in his life. Will remembers how to defeat the strong man, but it seems that he's chosen to forget.
Will has changed, but band mates and friends remember how he "used to be." Can he be the way he used to be again?
What will it take to shake them awake? Living in a world of convenience and instant self-gratification, American sleepwalkers are numbed, dumbed, and blind to the perilous shadows that the nation is being surrounded by. This diverse demographic lives a life of alcoholism, drug use, lotto, computer games, smartphones – and in many cases opulence and haughty self-anointing. But the single thread that ties these various demographic groups together is their ignorance to the collapsing economy and world around them. As the year 2013 winds down, there is a darkness that is sweeping America and the world, and these individuals are collectively blinded to it by self-medication and by The Powers That Be through the entertainment and mainstream news media. The darkness is as much supernatural as natural, and seemingly only a few watchmen can see it coming.
A Christian man named Jeff Seagraves toils in a busy convenience store serving those who choose to stay asleep, and while he is awake and aware those who slumber appear to enjoy a higher quality of life and a greater sense of freedom. As they wallow in the trappings of modern convenience and swallow the lies that the government and media feed them, Jeff suffers through anxiety, depression, fear and worry as he struggles to make ends meet. His faith is strong, but he is not free. Could the roots of his failure and despair be as much supernatural as natural? Could much of his malady be linked to his past?
Jeff relies on the alternative media and YouTube for his news as the mainstream does nothing but facilitate the spread of the darkness. Will he encounter a mysterious messenger on YouTube who has inside knowledge as to coming events that will change the world? Will there be an event that will shake the sleepwalking populace into consciousness? Will Jeff ever be delivered of his own darkness and used by God to be a source of light when seemingly all light has been extinguished?
EYES PRIED OPEN
America was warned but most didn't listen. Darkness has settled upon the majority of the contiguous fifty states during a brutally cold and snowy winter. Many have frozen or starved to death, or was it the strange flu that killed them?
The military and government agencies have taken control with such rapidity that it seems they must have had prior knowledge that the event that brought darkness was coming. But is it the American government that's truly in charge? Has a promised "transformation" finally been achieved? And when a transformation is considered, it it merely geopolitical or are there spiritual and religious elements involved?
Cheryl Seagraves struggles in what could be referred to as the Modern Stone Age. Her husband Jeff donned a black ski mask on YouTube and offered a warning to the nation, and now he's gone missing. Cheryl is left to care for a young girl that Jeff rescued after the child's parents were killed by government forces intent on enforcing Martial Law. With her husband gone without a trace, will the strain of caring for the child while she endures the heartbreak of his absence be too much for Cheryl to bear? Will she fall into old vices as a means of coping? Will she be forced to question the faith in Christ that has been her rock and fortress?
Eyes Pried Open picks up where The Sleepwalkers left off, and could be a hint of things to come for an America lulled to sleep in the cozy bed of modern convenience and freedom taken for granted in a world headed into the End Times.
DEAD-RINGER
Prophetic dreams and visions? Dire warnings of imminent Biblical apocalypse? A musician named Jesse Same, who reluctantly impersonates Elvis Presley for his living, resides in the same small town that was the birthplace of The Wonderful Wizard of Oz author L. Frank Baum. We all know that foolish flying monkeys were a part of the journey to the fictional Land of Oz, but could they also serve as legitimate real-life demonic apparitions? Jesse thinks so, as he sees them and things far more foreboding and relative to contemporary America, the world, the occult, secret societies, and the powers that be. Would anyone – including a local church pastor – even believe him, or would they consider him absurd?
Jesse has grown weary of the Elvis gig and desires to do something new with his music career. Likewise, he desires to have more time with his young son and that means wrestling him away from his manipulative and controlling ex-wife and her hard-driving new husband. They don't subscribe to Jesse's strong faith in Jesus and are troubled that the young son has developed his father's passionate love for the Lord. How far would the ex and her husband go to keep the young son from Jesse? Would the young boy put himself into great danger in order to be with his dad? Would Jesse ever learn who his own father is? As this man who is a dead-ringer for the King of Rock-n-Roll dreams prophetic dreams, the supernatural creeps through the cracks in the walls that separate it from the natural realm as those who are bound to this world may soon witness the end of America and the world as they know it. Will the man's dreams and visions come to pass? Is there any hope for the nation and the individuals who appear in his dreams?
*The Dead-Ringer book cover was in the semi-finals of the 2013 Book Cover Contest at AUTHORSdB.com.

redpajama_set_name: RedPajamaCommonCrawl


This fruity spin on slaw is delicious. Buy the season's best apples and, for convenience, a bag of precut, thickly shredded carrots.
Place apples in a large bowl and toss with lemon juice. Add carrots, chives, oil, sugar, salt, pepper and cheese; toss to mix thoroughly. Yields about 3/4 cup per serving.
If you want more tang, use blue cheese instead of French feta (could affect SmartPoints values).


text:
Le FCM F1 est un prototype de char de rupture français de la Seconde Guerre mondiale.

Origines

Dans les années 1920, la France fait usage d'une typologie des chars, classifiés selon leur masse. Les plus de  rejoignent les chars lourds, au-delà de , les chars super-lourds. Le rôle ou type vient s'adjoindre à la classe : char de bataille, char d'arrêt, char d'assaut ou forteresse terrestre.
Le premier char lourd de plus de  fut le FCM 2C de  avec sa version canonnière FCM 2C bis avec obusier de .

Le programme de 1926 à 1928 de Char d'arrêt, où char de bataille à la mission de stopper l'avancée ennemie par attraction de son tir, amène le projet d'un char de cinquante tonnes, cependant le concept de FCM est celui d'un super lourd de cent tonnes. En février 1929, FCM travaille sur un nouveau plan d'un blindé, plus léger, de . Cependant, par défaut de budget celui-ci se termine le 17 mai 1929.

Le 4 mai 1936, le Conseil Consultatif de l'Armement, sous l'autorité du général Julien Dufieux, décide de développer un nouveau char lourd. Il devra respecter les spécifications minimales suivantes imposées le 12 novembre 1936 : masse maximale de  métriques, immunité à tout tir de  AP tiré au-delà de , rayon d'action de , armement composé d'un canon de coque de  et d'une tourelle de . Il devait être une version agrandie du char B1.

Un mois après le début de la Seconde Guerre mondiale, sur le rapport des Corps Francs projetés à partir de la ligne Maginot sur les défenses de la ligne Siegfried, la décision est prise de constituer un blindé capable d'affronter cette menace.

Le FCM F1

Le FCM F1 où FCM modèle Forteresse 1 est un char de rupture ou char super-lourd de type « Forteresse terrestre » destiné à briser les lignes blindées et fortifications ennemies, développé en France par les Forges et Chantiers de la Méditerranée. Douze exemplaires de ce modèle F1 ont été commandés en 1940 pour remplacer le char 2C.

Sa conception a été basée sur sa mission principale, de l'assaut des points les plus fortifiés de la ligne Siegfried.

Seul un char de démonstration a été conçu et armé pour la présentation officielle. Toutefois, tous les rapports concernant ce char ont été capturés par l'envahisseur allemand. Lorsque les Allemands capturèrent Le Havre, un FCM F1 était en phase de fin de montage des tourelles, les plans furent capturés, le modèle et l'usine détruits sans autre forme de procès.

Le char était massif avec , un équipage de 9 cuirassiers,  de long sur 3 de large, un blindage feuilleté de  de front et arrière,  de flanc pouvant encaisser jusqu'aux tirs de pièces d'artilleries de  ou anti-chars de 128 mm de la ligne Siegfried et des plus hauts calibres allemands de l'époque.

Deux moteurs de 550 CV amenaient ses  à  sur route, avec seulement une infime perte de vitesse en montée. Par contre sa mécanique empêchait toute accélération dans les descentes.
Ce principe devait permettre au FCM F1 d'évoluer sur toute surface, jusqu'à d'importantes inclinaisons même de face en descente sans perte de contrôle tout en maîtrisant la manœuvre.

Sa masse de  le rendait capable d'écraser la protection dite dent de dragon en toute aisance, dans la limite de sa manœuvrabilité.

Un blindage révolutionnaire

La sidérurgie lourde française était à ce moment-là la meilleure, grâce aux éléments majeurs, variés et rares que fournissaient les colonies de la France. Cette supériorité sidérurgique fut ensuite à l'avantage de l'Allemagne lors de l'occupation par l'usage des méthodes françaises.
Ainsi, à épaisseur égale, certains blindages français avaient de meilleures performances que les blindages allemands. Cette efficacité sera encore améliorée par l'emploi d'angles innovants.

Le FCM F1 était doté d'un blindage feuilleté répartissant l'impact de la munition sur la totalité de sa surface, amenant non seulement la perte de pénétration, de cinétique, mais retournant une partie de la puissance d'impact contre la munition elle-même en la freinant, jusqu'au rebond dans le cas d'un impact en angle obtus ou même de face de manière permanente d'une munition jusqu'au , protégeant par là même l'équipage de l'onde de choc.

Seul un doute persista à sa conception quant aux projectiles explosifs de haut calibres qui pourraient par frappe successives amener la brisure du blindage, ôtant sur la totalité de la face fendue sa capacité de répartition du choc.

Armement

Tourelle avant
Sa tourelle avant était de  explosif haute cadence de tir avec mitrailleuse coaxiale pour neutralisation de véhicules d'infanterie et de points de sauvegarde légers et moyens d'infanterie (tranchées, casemates moyennes…). Une seconde version de la tourelle avant fut prévue  emportant un canon de  à barillet, avec munitions à têtes creuses et explosives, pour une version antichar et d'autoprotection.
Une version antiaérienne a été envisagée en tourelle avant par deux mitrailleuses  Schneider modèle 1930 ou un canon Bofors de  avec mitrailleuse  coaxiale.

Tourelle arrière
La tourelle arrière était un , d'origine d'artillerie antiaérienne, haute cadence de tir à 12 coups par minute, faisant feu des obus de  à , munition perforante explosive, devant exploser 100 millisecondes après avoir percé, pour faire sauter les pans de béton armé, neutraliser les personnels, faire détoner les munitions de casemates comme de blindés. La munition standard de , calibre 50 AA (antiaérien) à fragmentation pouvant atteindre  d'altitude pouvait également être embarquée.
Une seconde version fut envisagée, de , cette fois en munitions de rupture, c'est-à-dire destinées à arracher une part du blindage percé l'amenant à haute température et lui fournissant une part de la force d'impact pour en faire usage de projectile secondaire augmentant ainsi de manière exponentielle spontanée la puissance initiale de la munition.

Armement secondaire
Quatre à six mitrailleuses Hotchkiss de , dont une de chaque côté et à l'arrière, assuraient sa protection rapprochée contre l'infanterie.

Notes et références

Annexes

Bibliographie

.

Char français de la Seconde Guerre mondiale
Char de rupture
Char super-lourd
Projet militaire abandonné de la France
Forges et chantiers de la Méditerranée


text:
Vanni Treves
Vanni Emanuele Treves CBE (1940 – 10 November 2019)[1] was a British business executive. He was Chairman of Channel 4 (1998–2003), a senior partner of City law firm Macfarlanes, and Chairman (2001–2009)[2] of Equitable Life.[3]
Early life and educationEdit
Treves was born in Florence, Italy in 1940.[4] His father was killed during the Second World War in 1944 and his mother remarried, hence the family relocated to Swiss Cottage in London. He won a scholarship to the independent St Paul's School, London before attending the University of Oxford to study jurisprudence. Treves later completed a Fulbright scholarship in the United States at the University of Illinois. He relinquished his dual Italian-British nationality at the age of 36 when he realised that it made him eligible for national service in the Italian Army.[5]
Following his graduation from Oxford, Treves joined Macfarlanes in 1963 and went on to become a specialist in corporate governance. It was this that led to his appointment as a non-executive director of Saatchi & Saatchi in 1987. During the 1990s he went on to develop a career, as Philip Inman puts it, as a "serial chairman." In 2001 he took up the chairmanship of Equitable Life, determined to resolve its troubles.[5]
Treves was appointed Commander of the Order of the British Empire (CBE) in the 2012 New Year Honours for services to education (as chair of the National College for School Leadership).[6]
Treves was married with two sons and a daughter.[5] He was a donor to the Labour Party.[7]
He authored "What life after retirement from the law?" which was published in The Times on 4 April 2013.[8]
^ Treves
^ "Press Release Archive 2009". Equitable Life. Equitable Life. 2009. Retrieved 18 December 2009.
^ "The Board". Equitable Life. Equitable Life. 2009. Retrieved 18 December 2009.
^ "Vanni Treves: the barrister manqué at Korn/Ferry". Martin Waller. The Times. 30 August 2008. Retrieved 21 September 2008.
^ a b c "Corporate charmer coaxing cash for children's charity". Philip Inman. The Guardian. 9 May 2008. Retrieved 21 September 2008.
^ http://www.thelawyer.com/equitable-boss-shown-to-be-new-labour-donor/101221.article
^ http://www.thetimes.co.uk/tto/law/article3729351.ece
Michael Bishop Chairman of Channel 4
January 1998 – December 2003 Succeeded by
Retrieved from "https://en.wikipedia.org/w/index.php?title=Vanni_Treves&oldid=926114151"


text:
Q: Check inside loop if *txt file has been created My code is searchcing inside a loop if a *txt file has been created.
If file will not be created after x time then i will throw an exception.
Here is my code:
 var AnswerFile = @"C:\myFile.txt";

 for (int i = 0; i <= 30; i++)
 {
     if (File.Exists(AnswerFile))
          break;
      await Task.Delay(100);
 }

 if (File.Exists(AnswerFile))
 {
 }
 else
 {
 }

After the loop i check my file if has been created or not. Loop will expire in 3 seconds, 100ms * 30times.
My code is working, i am just looking for the performance and quality of my code. Is there any better approach than mine? Example should i use FileInfo class instead this?
  var fi1 = new FileInfo(AnswerFile);
  if(fi1.Exists)
  {
  }

Or should i use filewatcher Class?

A: You should perhaps use a FileSystemWatcher for this and decouple the process of creating the file from the process of reacting to its presence. If the file must be generated in a certain time because it has some expiry time then you could make the expiry datetime part of the file name so that if it appears after that time you know it's expired. A note of caution with the FileSystemWatcher - it can sometimes miss something (the fine manual says that events can be missed if large numbers are generated in a short time)
In the past I've used this for watching for files being uploaded via ftp. As soon as the notification of file created appears I put the file into a list and check it periodically to see if it is still growing - you can either look at the filesystem watcher lastwritetime event for this or directly check the size of the file now vs some time ago etc - in either approach it's probably easiest to use a dictionary to track the file and the previous size/most recent lastwritedate event.
After a minute of no growth I consider the file uploaded completely and I process it. It might be wise for you to implement a similar delay if using a file system watcher and the files are arriving by some slow generating method

A: Why you don't retrieve a list of files name, then search in the list? You can use Directory.GetFiles to get the files list inside a directory then search in this list.
This would be more fixable for you since you will create the list once, and reuse it across the application, instead of calling File.Exists for each file.
Example :
var path = @"C:\folder\"; // set the folder path, which contains all answers files

var ext = "*.txt"; // set the file extension.
// GET filename list (bare name) and make them all lowercase.
var files = Directory.GetFiles(path, ext).Select(x=> x.Substring(path.Length, (x.Length - path.Length) - ext.Length + 1 ).Trim().ToLower()).ToList();

// Search for this filename
var search = "myFile";

// Check
if(files.Contains(search.ToLower()))
{
    Console.WriteLine($"File : {search} is already existed.");
}
else
{
    Console.WriteLine($"File : {search} is not found.");
}

redpajama_set_name: RedPajamaStackExchange


A WageWorks® Dependent Care Flexible Spending Account (DCFSA) is a pre-tax benefit account used to pay for dependent care services, such as preschool, summer day camp, before or after school programs, and child or elder daycare. A WageWorks Dependent Care FSA is a smart, simple way to save money while taking care of your loved ones so that you can continue to work.
Why enroll in a WageWorks Dependent Care FSA?
A Dependent Care FSA lets you pay for qualified out-of-pocket dependent care expenses on a pre-tax basis. The money you contribute to a Dependent Care FSA is not subject to payroll taxes, so you end up paying less in taxes and taking home more of your paycheck.
Use this calculator to see how much you can save with a Dependent Care FSA.
A different limit may apply to you according to your employer's plan.
*Annual contribution limit for 2018.
You enroll in or renew your election in your Dependent Care FSA through your employer during your Open Enrollment period each year. Your human resources department or benefits administrator can tell you when employees in your organization can enroll in a Dependent Care FSA and help you get started.
A Dependent Care FSA is an annual account. As a rule, the money you contribute to your Healthcare FSA must be used within the plan year.
That's why it's important to estimate how much you spend on eligible dependent care expenses each year before you decide how much to contribute to your Dependent Care FSA. Any money left unspent in your Dependent Care FSA at plan year end is forfeited to your employer, unless your employer's plan offers a grace period of up to 2½ months at the end of your plan year to spend down money left in your account.
Use this calculator to estimate your annual eligible expenses and determine an annual Dependent Care FSA election amount that's right for you and your family. And read about circumstances that allow you to change your election amount during the plan year.
WageWorks makes saving simple. You decide how much to contribute to your Dependent Care FSA, and funds are withdrawn automatically from each paycheck for deposit into your account before taxes are deducted. As soon as your account is funded, you can use your balance to pay for many eligible dependent care expenses.
With a variety of convenient payment and reimbursement options, your WageWorks Dependent Care FSA makes it easy for you to pay for variety of eligible dependent care expenses, like preschool, summer day camp, before or after school programs, and child or elder daycare.
Pay Me Back. Arrange for account funds to be deposited directly into your bank account or a check to be mailed to reimburse you for eligible expenses you've already paid.
Pay My Provider. Arrange for convenient direct payments to your dependent care provider. Simply log into your WageWorks account and fill out a form to have eligible expenses paid directly from your account.
The WageWorks mobile app puts the power of the WageWorks web portal in the palm of your hand. Download this handy app to your mobile device, log in to your account, and check balances, submit claims, view transactions, snap photos of receipts, get account alerts by text or email—all on the go! You can even have your dependent care provider sign receipts using your mobile device.
When you use the WageWorks mobile app, you can have your dependent care provider sign receipts right from your mobile device.


text:
package org.apereo.cas.config;

import org.apereo.cas.configuration.CasConfigurationProperties;

import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * This is {@link IgniteTicketRegistryTicketCatalogConfiguration}.
 *
 * @author Misagh Moayyed
 * @since 5.1.0
 */
@Configuration("igniteTicketRegistryTicketCatalogConfiguration")
@EnableConfigurationProperties(CasConfigurationProperties.class)
public class IgniteTicketRegistryTicketCatalogConfiguration extends TicketDefinitionBuilderSupport {

    public IgniteTicketRegistryTicketCatalogConfiguration(final CasConfigurationProperties casProperties) {
        super(casProperties, new CasTicketCatalogConfigurationValuesProvider() {});
    }
}

redpajama_set_name: RedPajamaGithub


Like most cities in Japan, Yokohama's gay cruise club scene is very local, and communicating in English can be a challenge.
Bring your photo ID, and be discreet upon entry.
Gay cruise club in Yokohama on two floors, featuring showers, private rooms, smoking area, for guys 18-49 years old (up to 35 years old on Wednesdays).
Restricted entry/theme – check the website for details. Valid ID required. Japanese language ability preferred. Free condoms are provided.
Tickets are available for re-entry (up to a 3-hour absence). Admission: 1,500¥ (surcharge for any stay of more than 16 hours).


Tradus Customer Care Phone Number. Allegro in Poland.Tradus also features its discount coupons on several dealing websites such as.Marketplaces are a flavor of the season and we bring you some exclusive discount coupons from the top online.
SaveMoneyIndia is a leading daily deal, coupons, discounted products website in India.Buy Fastrack watches and get 30% discount by using Discount Coupon - BRAND And use your HDFC bank credit. Indiatimes Shopping 5% Off Cell Phones Discount Coupon October 2017.Coupon code: LAND30 Description: Get 30 Cashback on Landline Bill Payment T and C: Minimum amount should be greater than or equal to Rs.500. Promocode is valid on Landline Bill Payment.
Search for best Yepme coupon Codes, discount coupons, offer coupon codes, promo codes, and promotion codes for Yepme.With more than thousands of items being offered on any given day for up to 85% discount off the retail price,. - Tradus - Fashionandyou - Saholic. Find here the list of top eWallet service providers in India and their specialities.Buy One Get One Free: Garnier Men Deodorant Extreme Cool 150 ml.EMI on credit cards is provided by banks like HDFC and ICICI bank to. of gift coupon discount. article on the safe payment methods while shopping online.Look at most relevant Online tradus discount hdfc bank websites out of 144 Thousand at KeyOptimize.com. Online tradus discount hdfc bank found at clientcenter.
We, Indians, are very bargain friendly and always want to go for the least possible price, even if it means saving a few hundred rupees by going out and shopping.Get 10% cashback on the site (website and mobile) and 15% cashback on the app on successful single transaction net of refunds on purchases of Rs. 6000 and above from 1st to 5th Oct 2016.If you have been hunting down the web for the cheapest price of HTC One and.Get Flipkart discount code on Flipkart sale to avail upto 90% Off on clothing, mobile, electronics, bags, wallets.
Rs 1000 Off on New Google Chromecast 2 when bought with selected Television Range.
An instant discount will be awarded at the time of making the payment.
Enjoy extra 5% cash back for HDFC debit card. Tradus.com offer Flat 12% Off Coupon on.Read our comprehensive inindiashop.com Review - Stat Analysis Report - including SEO Report,. tradus hdfc coupons rs1000 off, ebay discount coupon.Now Save Money with latest Online Shopping deals, discount offers and other.Tradus: Get a flat 10% discount on digital cameras. Discount Coupons,.Offers Deals Coupons India. 45 likes. This is one stop place for deals discount offers in India.
T and C: Minimum amount should be greater than or equal to Rs.500. Promocode is valid on Data Card Recharge.
Make online shopping experience exciting with Tradus Coupons, Discount Coupons, Coupon Codes, Promotion code, Offers and Deals.Metal body with a premium finish, fingerprint sensor with chip-level security encryption and 0.3s unlock time.Information about exciting deals, offer, discount coupons and many. at Rs.1000 on clothing from Tradus.com. offers, HDFC credit card, HDFC credit card.Get the maximum out of your shopping with Homeshop18.com with the Discount Coupons.Admagnet Clients are IBM,DELL, intel, ING, HDFC, FUTUREBUZUR.
As you all know amazon selling product now they started his new service mobile recharge and they are giving any 1st recharge with amazon pay balance.


Do you live in the Tri-State area and long to work as an armed or unarmed security officer? If that's what's in your heart, consider applying for security employment work opportunities in the Garden State. Right now, there are New Jersey firms actively seeking SORA Certified security personnel.
In the early 2000s, the state passed what's widely recognized as the Security Office Registration Act. It's designed, in part, to ensure that all of the security personnel working in the Garden State start out on an even footing. So the act's core elements include state regulated training, extensive background checks, basic standards and a state issued, renewable registration card.
Once you are ready to get serious about obtaining security employment in New Jersey, you'll need to go online. The New Jersey State Police's website has a link that will let you fill out a registration form and SORA Certification application online. There are typically several fees involved in the initial process. They include an application fee, temporary registration fee and fingerprinting fee.
If you hope to be an armed SORA Certified security officer in the Garden State, you must complete a separate application process. That process traditionally starts with a visit to the New Jersey police department nearest your place of residence. It doesn't have to be a state troopers' barracks. A local police station should be able to help you apply for a carry permit too. The list of fees associated with the armed portion of the process tends to include the carry permit fee, certificate of eligibility fee and fingerprinting fee.
After the applications have been submitted, you'll have a certain amount of time to complete the state regulated training certification program, which is offered by select New Jersey schools. In most instances, the certification training program will take 24 hours to complete. Once it ends, you'll need to notify the state that you finished the course and complete the rest of the application process.
The final step on the road to SORA Certified security employment is to swing by Jobvertise. While there, post your resume and search for security employment work opportunities until you find one that suits your needs.


Nurses at Penn Medicine took part in the "PJs with a smile" project, aiming to help mothers with children in the NICU.
After giving birth, most mothers are discharged from the hospital with balloons and a baby in their arms. 2015 Master's of Bioethics graduate Bridget Nolan-McKinney said she had to leave the hospital empty-handed.
Her daughter Nora was born prematurely and would have to spend time in the Neonatal Intensive Care Unit.
When she arrived home, Nolan-McKinney, who is the Director of Regulatory Affairs at Women's Health Clinical Research Center, said her mother had given her a fresh set of pajamas, a reminder for Nolan-McKinney to rest and recover. After bringing her daughter home two weeks later, Nolan-McKinney said she was determined to provide support to every mother who also had to leave the hospital with her baby staying in the NICU. She said this is what prompted her to launch her new initiative, PJs with a Smile, at the Hospital of the University of Pennsylvania.
"I realized that there's so much focus on baby that there's not enough focus on mom during this time, and I wanted to do something special for moms," she said.
Through the project, every mother discharged without her baby is given a care package containing a fresh-cut flower and a new set of pajamas.
To launch her initiative, Nolan-McKinney worked with The Superhero Project, a nonprofit founded in 2015 that aims to help NICU families. The Superhero Project was founded by Kelly Gallagher, whose own experience as a NICU mom inspired her to help other NICU moms through a difficult time.
Credit: Katharine Shao The NICU moms each received gift bags with PJs and the contact information of another former NICU mom in them.
The PJs with a Smile package also includes a note from a former NICU mom and her contact information. For Nolan-McKinney, connecting NICU moms with one another is one of the most important aspects of the initiative.
"Unless you go through the experience, you really can't know what it's like or have the right advice." Nolan-McKinney said.
"It's that whole line of having empathy, not sympathy, and being able to say to somebody 'I understand what you're going through' is so important for moms," Gallagher said.
NICU moms are at a high risk of developing postpartum depression and anxiety. One study showed up to 70 percent of women whose babies spend time in the NICU have experienced postpartum depression to some extent.
Bridget Nolan-McKinney (left), 2015 Penn Medicine graduate, and Sarah Wadsworth (right), a clinical practice leader at Penn Medicine, both took part in the event.
Sarah Wadsworth, a clinical practice leader at Penn Medicine, said while the hospital does host some support groups for mothers, there was no formal support given specifically for NICU moms. She added that though doctors and nurses offer help and encourage NICU moms to ask questions, that approach may not be effective enough.
Though PJs with a Smile only launched last November, Nolan-McKinney already has plans to host a 5K in May to fundraise for the initiative and launch a nationwide NICU mom letter-writing campaign. Nolan-McKinney said she hopes to eventually expand the initiative to hospitals around the country.


text:
Site Map 中文版
Home About CMA Weather Climate News Services Research International Links
Home>News
Greenhouse gas concentrations in atmosphere reach yet another high
26-11-2019Source:WMO
Another year, another record
Geneva, 25 November 2019 - Levels of heat-trapping greenhouse gases in the atmosphere have reached another new record high, according to the World Meteorological Organization. This continuing long-term trend means that future generations will be confronted with increasingly severe impacts of climate change, including rising temperatures, more extreme weather, water stress, sea level rise and disruption to marine and land ecosystems.
The WMO Greenhouse Gas Bulletin showed that globally averaged concentrations of carbon dioxide (CO2) reached 407.8 parts per million in 2018, up from 405.5 parts per million (ppm) in 2017.
The increase in CO2 from 2017 to 2018 was very close to that observed from 2016 to 2017 and just above the average over the last decade. Global levels of CO2 crossed the symbolic and significant 400 parts per million benchmark in 2015.
CO2 remains in the atmosphere for centuries and in the oceans for even longer.
Concentrations of methane and nitrous oxide also surged by higher amounts than during the past decade, according to observations from the Global Atmosphere Watch network which includes stations in the remote Arctic, mountain areas and tropical islands.
Since 1990, there has been a 43% increase in total radiative forcing – the warming effect on the climate - by long-lived greenhouse gases. CO2 accounts for about 80% of this, according to figures from the US National Oceanic and Atmospheric Administration quoted in the WMO Bulletin.
"There is no sign of a slowdown, let alone a decline, in greenhouse gases concentration in the atmosphere despite all the commitments under the Paris Agreement on Climate Change,? said WMO Secretary-General Petteri Taalas. "We need to translate the commitments into action and increase the level of ambition for the sake of the future welfare of the mankind," he said.
"It is worth recalling that the last time the Earth experienced a comparable concentration of CO2 was 3-5 million years ago. Back then, the temperature was 2-3°C warmer, sea level was 10-20 meters higher than now," said Mr Taalas.
Emissions Gap
The WMO Greenhouse Gas Bulletin reports on atmospheric concentrations of greenhouse gases. Emissions represent what goes into the atmosphere. Concentrations represent what remains in the atmosphere after the complex system of interactions between the atmosphere, biosphere, lithosphere, cryosphere and the oceans. About a quarter of the total emissions is absorbed by the oceans and another quarter by the biosphere.
Global emissions are not estimated to peak by 2030, let alone by 2020, if current climate policies and ambition levels of the Nationally Determined Contributions (NDCs) are maintained. Preliminary findings from the Emissions Gap Report 2019 indicate that greenhouse gas emissions continued to rise in 2018, according to an advanced chapter of the Emissions Gap Report released as part of a United in Science synthesis for the UN Secretary-General's Climate Action Summit in September.
The United in Science report, which brought together major partner organizations in the domain of global climate change research, underlined the glaring – and growing – gap between agreed targets to tackle global warming and the actual reality.
"The findings of WMO's Greenhouse Gas Bulletin and UNEP's Emissions Gap Report point us in a clear direction - in this critical period, the world must deliver concrete, stepped-up action on emissions," said Inger Andersen, Executive Director of the UN Environment Programme (UNEP). "We face a stark choice: set in motion the radical transformations we need now, or face the consequences of a planet radically altered by climate change."
A separate and complementary Emissions Gap Report by UN Environment will be released on 26 November. Now in its tenths year, the Emissions Gap report assesses the latest scientific studies on current and estimated future greenhouse gas emissions; they compare these with the emission levels permissible for the world to progress on a least-cost pathway to achieve the goals of the Paris Agreement. This difference between "where we are likely to be and where we need to be" is known as the emissions gap.
UN Secretary-General António Guterres said the Summit had delivered "a boost in momentum, cooperation and ambition. But we have a long way to go."
This will now be taken forward by the UN Climate Change Conference, which will be held from 2 to15 December in Madrid, Spain, under the presidency of Chile.
Key Findings of the Greenhouse Gas Bulletin
The bulletin includes a focus on how isotopes confirm the dominant role of fossil fuel combustion in the increase of atmospheric carbon dioxide.
There are multiple indications that the increase in the atmospheric levels of CO2 are related to fossil fuel combustion. Fossil fuels were formed from plant material millions of years ago and do not contain radiocarbon. Thus, burning it will add to the atmosphere radiocarbon-free CO2, increasing CO2 levels and decreasing its radiocarbon content. And this is exactly what is demonstrated by the measurements.
Carbon dioxide is the main long-lived greenhouse gas in the atmosphere related to human activities. Its concentration reached new highs in 2018 of 407.8 ppm, or 147% of pre-industrial level in 1750.
The increase in CO2 from 2017 to 2018 was above the average growth rate over the last decade. The growth rate of CO2 averaged over three consecutive decades (1985–1995, 1995–2005 and 2005–2015) increased from 1.42 ppm/yr to 1.86 ppm/yr and to 2.06 ppm/yr with the highest annual growth rates observed during El Ni?o events.
The National Oceanic and Atmospheric Administration (NOAA) Annual Greenhouse Gas Index shows that from 1990 to 2018 radiative forcing by long-lived greenhouse gases (LLGHGs) increased by 43%, with CO2 accounting for about 80% of this increase
Methane (CH4) is the second most important long-lived greenhouse gas and contributes about 17% of radiative forcing. Approximately 40% of methane is emitted into the atmosphere by natural sources (e.g., wetlands and termites), and about 60% comes from human activities like cattle breeding, rice agriculture, fossil fuel exploitation, landfills and biomass burning.
Atmospheric methane reached a new high of about 1869 parts per billion (ppb) in 2018 and is now 259% of the pre-industrial level. For CH4, the increase from 2017 to 2018 was higher than both that observed from 2016 to 2017 and the average over the last decade.
Nitrous oxide (N2O) is emitted into the atmosphere from both natural (about 60%) and anthropogenic sources (approximately 40%), including oceans, soil, biomass burning, fertilizer use, and various industrial processes.
Its atmospheric concentration in 2018 was 331.1 parts per billion. This is 123% of pre-industrial levels. The increase from 2017 to 2018 was also higher than that observed from 2016 to 2017 and the average growth rate over the past 10 years.
Nitrous oxide also plays an important role in the destruction of the stratospheric ozone layer which protects us from the harmful ultraviolet rays of the sun. It accounts for about 6% of radiative forcing by long-lived greenhouse gases.
The WMO Global Atmosphere Watch Programme coordinates systematic observations and analysis of greenhouse gases and other trace species. Fifty four countries contributed data for the Greenhouse Gas Bulletin. Measurement data are reported by participating countries and archived and distributed by the World Data Centre for Greenhouse Gases (WDCGG) at the Japan Meteorological Agency.
Source: WMO
Editor: Liu Shuqiao
Academician Zeng Qingcun received China's top science award
Mr. LI Jian appointed as Engineer-in-Chief of CMA
NMC predicts large scale rainy and snowy weather process in China from January 9
FY-2 satellite data receiving system installed in Mozambique
Meteorological departments nationwide have completed the upgrading of new type sonde
National platform of real-time observation has been put into operation
Waliguan Baseline Observatory
2-year operation of RSMC-ASDF Beijing
Shouxian National Observatory
Met services for "Belt and Road"
Belt and Road Met Cooperation
World Meteorological Day 2019
ABOUT CMA
Govermance
Typhoon track
FY-3 Earth
Data Service
Disaster Mitigation
Climate Conditions
FOCRAII
ISCS
S&T Innovation
MICAPS
China Study Tour
CMACast
GISC Beijing
WIS Portal
Copyright© 2011 China Meteorological Administration All Rights Reserved


text:
Q: php currency conversion rounding errors I have a database which stores currency amounts in GBPs (to two decimal places). Occasionally we get orders in in USD. These are converted prior to storage using an exchange rate of 1.51. The problem is when these figures are retrieved and converted back to the original currency I am encountering small rounding errors. For example...
$amount = 100 ///figure in USD
$gbpAmount = number_format((float)($amount/1.51), 2, '.', ''); //// gives GBP figure of 66.23

////Store this in dB then retrive////

$usdAmount = number_format((float)($gbpAmount*1.51), 2, '.', ''); //// gives USD figure of 100.01

Any ideas on how I can resolve this problem?
Many thanks

A: I once faced the same issue. My values where stored in a table.
So instead of saving 2 decimal, I saved 6 and shows only 2 in the client side


text:
Front Matter How Troy was Taken Voyage of the Argonauts Theseus and Ariadne even Against Thebes Lycurgus and Spartan Laws Aristomenes, Hero of Messenia Solon, Law-Giver of Athens The Fortune of Croesus The Suitors of Agariste The Tyrants of Corinth The Ring of Polycrates The Adventures of Democedes Darius and the Scythians The Athenians at Marathon Xerxes and His Army The Spartans at Thermopylae The Wooden Walls of Athens Plataea's Famous Day Four Famous Men of Athens How Athens Rose from Ashes The Plague at Athens The Envoys of Life and Death The Defense of Plataea How the Long Walls Fell Socrates and Alcibiades Retreat of the Ten Thousand The Rescue of Thebes The Humiliation of Sparta Timoleon, Favorite of Fortune The Sacred War Alexander and Darius The World's Greatest Orator The Olympic Games Pyrrhus and the Romans The Fall of Sparta The Death-Struggle of Greece Zenobia and Longinus The Literary Glory of Greece
Historical Tales: 10—Greek - Charles Morris
The Humiliation Of Sparta
Thebes was free! But would she stay free? Sparta was against her,—Sparta, the lord of Greece. Could a single city, however liberty-loving and devoted its people, maintain itself against that engine of war which had humbled mighty Athens and now lorded it over the world of Greece? This is the question we have to answer; how in a brief space the dominion of Sparta was lost, and Thebes, so long insignificant and almost despised, rose to take the foremost place in Greece.
Two men did this work. As seven men had restored Thebes to freedom, two men lifted her almost into empire. One of these was Pelopidas, the leading spirit of the seven. The other was Epaminondas, whose name was simply mentioned in the tale of the patriotic seven, yet who in the coming years was to prove himself one of the greatest men Greece ever produced.
Pelopidas belonged to one of the richest and highest families of Thebes. He was one of the youngest of the exiles, yet a man of earnest patriotism and unbounded daring. It was his ardent spirit that gave life to the conspiracy, and his boldness and enterprise that led it forward to success. And it was the death of Leontiades by his hand that freed Thebes.
Epaminondas was a man of different character and position. Though of ancient and honorable family, he was poor, while Pelopidas was very rich; middle-aged, while Pelopidas was young; quiet, patient, and thoughtful, while Pelopidas was bold, active, and energetic. In the wars that followed he was the brain, while Pelopidas was the right hand, of Thebes. Epaminondas had been an earnest student of philosophy and music, and was an adept in gymnastic training. He was a listener, not a talker, yet no Theban equaled him in eloquence in time when speech was needful. He loved knowledge, yet he cared little for power, and nothing for money, and he remained contentedly poor till the end of his days, not leaving enough wealth to pay his funeral expenses. He did not love bloodshed, even to gain liberty. He had objected to the conspiracy, since freedom was to be gained through murder. Yet this was the man who was to save Thebes and degrade her great enemy, Sparta.
Like Socrates and Alcibiades, these two men were the warmest friends. Their friendship, like that of the two great Athenians, had been cemented in battle. Standing side by side as hoplites (or heavy armed soldiers), on an embattled field, Pelopidas had fallen wounded, and Epaminondas had saved his life at the greatest danger to himself, receiving several wounds while bearing his helpless friend to a place of safety. To the end of their lives they continued intimate friends, each recognizing the peculiar powers of the other, and the two working like one man for Theban independence.
Epaminondas proved himself a thinker of the highest military genius, Pelopidas a leader of the greatest military vigor. The work of the latter was largely performed with the Sacred Band, a warlike association of three hundred youthful Thebans, sworn to defend the citadel until death, bound by bonds of warm friendship, and trained into the highest military efficiency. Pelopidas was the captain of this noble band, which was never overcome until the fatal battle of Chæronéa, and then only by death, the Three Hundred lying dead in their ranks as they had stood.
For the events with which we have now to deal we must leap over seven years from the freeing of Thebes. It will suffice to say that for two years of that time Sparta fought fiercely against that city, but could not bring it under subjection again. Then wars arose elsewhere and drew her armies away. Thebes now took the opportunity to extend her power over the other cities of Bœotia, and of one of these cities there is something of interest to tell.
We have told in an earlier tale how Sparta and Thebes captured Platæa and swept it from the face of the earth. Recently Sparta had rebuilt the city, recalled its exiled citizens, and placed it as a Spartan outpost against Thebes. But now, when the armies of Sparta had withdrawn, the Thebans deemed it a good opportunity to conquer it again. One day, when the Platæan men were at work in their fields, and unbroken peace prevailed, a Theban force suddenly took the city by surprise, and forced the Platæans to surrender at discretion. Poor Platæa was again levelled with the ground, her people were once more sent into exile, and her soil was added to that of Thebes. It may be well to say here that most of the Grecian cities consisted of the walled town and sufficient surrounding land to raise food for the inhabitants within, and that the farmers went out each morning to cultivate their fields, and returned each night within the shelter of their walls. It was this habit that gave Thebes its treacherous opportunity.
During the seven years mentioned we hear nothing of Epaminondas, yet we know that he made himself felt within the walls of Thebes; for when, in 371 B.C., the cities of Greece, satisfied that it was high time to stop cutting each other's throats, held a congress at Sparta to conclude peace, we find him there as the representative of Thebes.
The terms of peace demanded by Athens, and agreed to by most of the delegates, were that each city, small or large, should possess autonomy, or self-government. Sparta and Athens were to become mutual guarantees, dividing the headship of Greece between them. As for Thebes and her claim to the headship of Bœotia, her demand was set aside.
This conclusion reached, the cities one after another took oath to keep the terms of peace, each city swearing for itself except Sparta, which took the oath for itself and its allies. When it came to the turn of Thebes there was a break in this love-feast. Sparta had sworn for all the cities of Laconia; Epaminondas, as the representative of Thebes, insisted on swearing not for Thebes alone, but for Thebes as president of all Bœotia. He made a vigorous speech, asking why Sparta was granted rights from which other leading cities were debarred.
This was a new question. No Greek had ever asked it openly before. To Sparta it seemed the extreme of insolence and insult. What daring stranger was this who presumed to question her right to absolute control of Laconia? No speech was made in her defence. Spartans never made speeches. They prided themselves on their few words and quick deeds,—laconic utterances, as they have since been called. The Spartan king sprang indignantly from his seat.
"Speak plainly," he scornfully demanded. "Will you, or will you not, leave to each of the Bœotian cities its separate autonomy?"
"Will you leave each of the Laconian towns its separate autonomy?" demanded Epaminondas.
Not another word was said. Agesilaus, the Spartan king, who was also president of the congress, caused the name of Thebes to be stricken from the roll, and proclaimed that city to be excluded from the treaty of peace.
It was a bold move on the part of Epaminondas, for it meant war with all the power of Sparta, relieved of all other enemies by the peace. Sparta had conquered and humbled Athens. It had conquered many other cities, forcing some of them to throw down their walls and go back again to their old state of villages. What upstart was this that dared defy its wrath and power? Thebes could hope for no allies, and seemed feeble against Spartan strength. How dared, then, this insolent delegate to fling defiance in the teeth of the lord of Greece?
Fortunately Thebes needed no allies. It had two men of warlike genius, Epaminondas and Pelopidas. These were to prove in themselves worth a host of allies. The citizens were with them. Great as was the danger, the Thebans sustained Epaminondas in his bold action, and made him general of their army. He at once marched to occupy a pass by which it was expected the Spartans would come. Sparta at that moment had a strong army under Cleombrotus, one of its two kings, in Phocis, on the frontier of Bœotia. This was at once ordered to march against defiant Thebes.
Cleombrotus lost no time, and with a military skill which Spartans rarely showed he evaded the pass which Epaminondas held, followed a narrow mountain-track, captured Creusis, the port of Thebes, with twelve war-ships in the harbor, and then marched to a place called Leuctra, within an easy march of Thebes, yet which left open communication with Sparta by sea, by means of the captured port.
The Thebans had been outgeneralled, and were dismayed by the result. The Spartans and their king were full of confidence and joy. All the eloquence of Epaminondas and the boldness of Pelopidas were needed to keep the courage of their countrymen alive and induce them to march against their foes. And it was with much more of despair than of hope that they took up at length a position on the hilly ground opposite the Spartan camp.
The two armies were not long in coming to blows. The Spartans and their allies much exceeded the Thebans in numbers. But Epaminondas prepared to make the most of his small force by drawing it up in a new array, never before seen in Greece.
Instead of forming the narrow line of battle always before the rule in Greek armies, he placed in front of his left wing Pelopidas and the Sacred Band, and behind them arranged a mass of men fifty shields deep, a prodigious depth for a Grecian host. The centre and right were drawn up in the usual thin lines, but were kept back on the defensive, so that the deep column might join battle first.
Thus arrayed, the army of Thebes marched to meet its foe, in the valley between the two declivities on which the hostile camps were placed. The cavalry met first, and the Theban horsemen soon put the Spartan troop to flight. Then the footmen came together with a terrible shock. Pelopidas and his Sacred Band, and behind them the weight of the fifty shields, proved more than the Spartans, with all their courage and discipline, could endure. Both sides fought bravely, hand to hand; but soon Cleombrotus fell, mortally hurt, and was with difficulty carried off alive. Around him fell others of the Spartan leaders. The resistance was obstinate, the slaughter terrible; but at last the Spartan right wing, overborne by the heavy Theban mass and utterly beaten, was driven back to its camp on the hill-side above. Meanwhile the left wing, made up of allies, did little fighting, and quickly followed the Spartans back to the camp.
It was a crushing defeat. Of seven hundred Spartans who had marched in confidence from the camp, only three hundred returned thither in dismay. A thousand and more Lacedæmonians besides were left dead upon the field. Not since the day of Thermopylæ had Sparta lost a king in battle. The loss of the Theban army was not more than three hundred men. Only twenty days had elapsed since Epaminondas left Sparta, spurned by the scorn of one of her kings; and now he stood victor over Sparta at Leuctra, with her second king dead in his camp of refuge. It is not surprising that to Greece, which had felt sure of the speedy overthrow of Thebes, these tidings came like a thunderbolt. Sparta on land had been thought irresistible. But here on equal ground, and with nearly double force, she had been beaten by insignificant Thebes.
We must hasten to the end of this campaign. Sparta, wrought to desperation by her defeat, sent all the men she could spare in reinforcement. Thebes, too, sought allies, and found a powerful one in Jason of Pheræ, a city of Thessaly. The Theban leaders, flushed with victory, were eager to attack the enemy in his camp, but Jason gave them wiser advice.
"Be content," he said, "with the great victory you have gained. Do not risk its loss by attacking the Lacedæmonians driven to despair in their camp. You yourselves were in despair a few days ago. Remember that the gods take pleasure in bringing about sudden changes of fortune."
This advice taken, Jason offered the enemy the opportunity to retreat in safety from their dangerous position. This they gladly accepted, and marched in haste away. On their journey home they met a second army coming to their relief. This was no longer needed, and the whole baffled force returned home.
The military prestige held by Sparta met with a serious blow from this signal defeat. The prestige of Thebes suddenly rose into supremacy, and her control of Bœotia became complete. But the humiliation of Sparta was not yet near its end. Epaminondas was not the man to do things by halves. In November of 370 B.C. he marched an army into Arcadia (a country adjoining Laconia on the north), probably the largest hostile force that had ever been seen in the Peloponnesus. With its Arcadian and other allies it amounted to forty thousand, or, as some say, to seventy thousand, men, and among these the Thebans formed a body of splendidly drilled and disciplined troops, not surpassed by those of Sparta herself. The enthusiasm arising from victory, the ardor of Pelopidas, and the military genius of Epaminondas had made a wonderful change in the hoplites of Thebes in a year's time.
And now a new event in the history of the Spartan commonwealth was seen. For centuries the Spartans had done their fighting abroad, marching at will through all parts of Greece. They were now obliged to fight on their own soil, in defence of their own hearths and homes. Dividing his army into four portions, Epaminondas marched into rock-bounded Laconia by four passes.
The Arcadians had often felt the hard hand of their warlike neighbors. Only a short time before one of their principal cities, Mantinea, had been robbed of its walls and converted into open villages. Since the battle of Leuctra the villagers had rebuilt their walls and defied a Spartan army. Now the Arcadians proved even more daring than the Thebans. They met a Spartan force and annihilated it.
Into the country of Laconia pushed the invaders. The city of Sellasia was taken and burned. The river Eurotas was forded. Sparta lay before Epaminondas and his men.
It lay before them without a wall or tower. Through its whole history no foreign army had come so near it. It trusted for defence not to walls, but to Spartan hearts and hands. Yet now consternation reigned. Sparta the inviolate, Sparta the unassailable, was in imminent peril of suffering the same fate it had often meted out freely to its foes.
But the Spartans had not been idle. Allies had sent aid in all haste to the city. Even six thousand of the Helots were armed as hoplites, though to see such a body of their slaves in heavy armor alarmed the Spartans almost as much as to behold their foes so near at hand. In fact, many of the Helots and country people joined the Theban army, while others refused to come to the aid of the imperilled city.
Epaminondas marched on until he was in sight of the city. He did not attempt to storm it. Though without walls, Sparta had strong natural defences, and heaps of earth and stones had been hastily thrown up on the most open roads. A strong army had been gathered. The Spartans would fight to death for their homes. To attack them in their stronghold might be to lose all that had been gained. Repulse here would be ruin. Content with having faced the lion in his den, Epaminondas turned and marched down the Eurotas, his army wasting, plundering, and burning as it went, while the Spartans, though in an agony of shame and wounded honor, were held back by their king from the peril of meeting their enemy in the field.
In the end, his supplies growing scarce, his soldiers loaded with plunder, Epaminondas led his army back to Arcadia, having accomplished far more than any foe of Sparta had ever done before, and destroyed the warlike reputation of Sparta throughout Greece.
But the great Theban did not end here. He had two other important objects in view. One was to consolidate the Arcadians by building them a great central city, to be called Megalopolis (Great City), and inhabited by people from all parts of the state. This was done, thick and lofty walls, more than five miles and a half in circumference, being built round the new stronghold.
His other purpose was to restore the country of Messenia. We have already told how this country had been conquered by the Spartans centuries before, and its people exiled or enslaved. Their descendants were now to regain their liberty and their homes. A new city, to be named Messenia, was ordered by Epaminondas to be built, and this, at the request of the Messenians, was erected on Mount Ithome, where the gallant hero Aristomenes had made his last stand against his country's invaders.
The city was built, the walls rising to the music of Argeian and Bœotian flutes. The best architects and masons of Greece were invited to lay out the plans of streets and houses and of the sacred edifices. The walls were made so strong and solid that they became the admiration of after-ages. The surrounding people, who had been slaves of Sparta, were made freemen and citizens of the reorganized state. A wide area of land was taken from Laconia and given to the new communities which Epaminondas had formed. Then, in triumph, he marched back to Thebes, having utterly destroyed the power and prestige of Sparta in Greece.
Reaching home, he was put on trial by certain enemies. He had broken the law by keeping command of the army four months beyond the allotted time. He appealed to the people, with what result we can readily understand. He was acquitted by acclamation, and he and Pelopidas were immediately re-elected Bœotarchs (or generals) for the coming year.


SpiritWood Retreat is located 20 minutes SW of Calgary, on the edge of the foothills. This versatile and spacious meeting space bordering on Priddis Creek combines with the quiet serenity of the land and provides a place to step outside the stress of modern city life. Step away from the hustle and bustle of downtown Calgary meeting rooms and convention halls and experience SpiritWood Retreat.
Take Highway 22X heading west past Priddis to Priddis Greens Drive. Turn left (south) at Priddis Greens Drive and then turn immediately left onto the SpiritWood Retreat gravel road. When approaching via Bragg Creek and heading east on Highway 22, turn right (south) at Priddis Greens Drive and turn immediately left onto the SpiritWood Retreat gravel road. Once you turn onto the road on the right hand side you will see a blue rural address sign 240139 and a sign for SpiritWood Retreat. Proceed down the road to the SpiritWood parking lot.
Note: If using Google, please google SpiritWood Retreat because googling the address number sometimes gives the incorrect information.
Click on the map above to get a printable 8.5 by 11 version of the location of SpiritWood Retreat.
SpiritWood is a rustic, natural setting. Please remember to wear appropriate footwear and clothing to suit the current seasonal weather and conditions. To enjoy the outdoors, you may want to bring your own sunscreen, bugspray, umbrella, warm clothes or boots.
If you know someone else attending your session, consider carpooling. The parking lot is located outside the trees a short distance from the building. It is possible to drive those with physical challenges to the front entrance way.
To preserve the beauty and cleanliness of the meeting space, no outdoor footwear is permitted. Please bring clean, appropriate indoor footware (ie. gym shoes, soft soled shoes, slippers) to wear inside the retreat centre.
Coffee, tea, drinks and refreshments are provided morning and afternoon for all SpiritWood events. Please REMEMBER to bring your own lunch if it is not included in your session.


text:
Next 810 Antique Typewriter Tips In 2022 Antique Typewriter, Typewriter, Vintage Typewriters
Previous 'bullet Train' Review: Brad Pitt Stars In A Thrill Ride You Can Afford To Miss
Each and every move you make in the game is a transaction in the Litecoin blockchain that creates worth. Every single weapon, item and even your characters can be traded safely and with no limits, thanks to the energy of cryptocurrency. Make smarter choices than the other players and earn dollars when enjoying the game. Bluestacks App Player is a free of navigate to this web-site charge Android emulator developed by Bluestack Systems, Inc. With this emulator, you can play lots of single-player and multiplayer games that exist on the Android game platform. The emulator has advanced capabilities such as being capable to map touch-screen controls to important binds so you are capable to play any Android game by just using your keyboard and mouse.
We aim to create a bridge between music, technologies, Online, and commercialization, and concentrate on cultivating talents in technologies and streaming media era of music industry as properly. TME live is the new "panoramic music reside entertainment brand" that was launched by Tencent Music Entertainment Group in March 2020. As of June 30, 2021, TME reside has currently hosted additional than 70 on line concerts for dozens of domestic and international musicians, such as Mayday, A-Mei Andy Lau, JJ Lin, Jessie J, Dua Lipa, and so forth.. TME live is becoming the best bridge to connect well-identified artists, rookie singers and fans. Get complete access to all functions inside our Corporate Options. As a Premium user you get access to the detailed supply references and background information about this statistic.
Typically commercial software program or games are created for sale or to serve a commercial purpose. Trial software program permits the user to evaluate the software program for a restricted quantity of time. Just after that trial period the user can decide irrespective of whether to purchase the software or not. Even though, most trial computer software merchandise are only time-limited some also have function limitations. Freeware programs can be downloaded used totally free of charge and without the need of any time limitations.
The tightened scrutiny has prompted Tencent to take precautionary measures. Tencent has been engaging in public welfare to showcase its social duty, it actively marketed new games and e-sport event for oversea market instead of domestic market place. Meanwhile, international gaming revenues for Tencent saw a 4% boost year-over-year, despite the fact that that quantity didn't spark unbridled elation from the firm, who attribute the plateau to the "post-COVID" normalization throughout the quarter.
International gaming revenues saw a slight four% increase YOY to RMB ten.six billion ($1.six billion), with improved revenues in titles like Valorant and Clash of Clans becoming partially offset by decreases in revenues in other games, namely PUBG Mobile. Of course, that's not to say that Tencent's personal culture — numerous teams competing — and dismal marketing company, which created gaming extra urgent, didn't help. But it actually wasn't till 2016 or so that its self-developed games became genuinely very good. Tencent's results as a platform + gaming corporation was by no signifies guaranteed. In , CrossFire and a couple of other hot games truly offered a fantastic foundation.
Tencent Cloud has a range of compute and storage offerings mainly aimed at the Asia Pacific but is fast becoming a worldwide contender. Tencent Cloud's expansion is fuelling growth in its service ecosystem, from financial services merchandise, to livestreaming, gaming and even Smart City solutions. Tencent Cloud is a sturdy player in the business, thanks to years of accumulated experience and knowledge in technologies innovation, in distinct in games, audio and video, social communications, monetary technology services, and far more," Yeung stated.
Discover the most up-to-date client stories, case research, and news releases highlighting data-centric innovations. Under some situations modifications in the status of the atmosphere and its apps will not be updated automatically. To ensure you are seeing the current status, you may possibly will need to click the Refresh button on the screen . For this to operate effectively, you have to have to set the ApplicationRootUrl Custom Runtime Setting in the Runtime tab to the app's URL. If you delete an app which has environments on Tencent, you will not be in a position to reach the environments by way of the Developer Portal. The Model Selections tab permits you to modify the configuration of scheduled events and constants in your app.
Select the version or language in which you want to download the emulator. WhatsApp Plus for Android Whatsapp Plus is one of the most common modified WhatsApp APK. It has different customizable features and you can customize your… Tencent Gaming Buddy Emulator supports keyboard mapping at a quite higher level. All in all, Gaming Buddy is an interesting way to access Chinese state-run games if they are a niche you happen to be interested in.
It could be highly interactive games, various games under one particular widespread IP or infrastructure that enables customers to make games, according to Ma. Tencent Holdings Ltd. is searching into shedding extra of its substantial investment portfolio as the Chinese social-media and videogame organization tries to fund a series of share buybacks and refocus its growth str… All investments involve risk, and not all dangers are appropriate for just about every investor. The worth of securities may possibly fluctuate and as a outcome, clientele could drop extra than their original investment.
ATOS SA history, profile and corporate video ATOS SA is an international information and facts technologies solutions business. The firm gives integrated design and operates solutions to significant multi-national clients… Every program can enable you attain distinct objectives and provides a special mixture of economic accounts and features.
It operates the instant messengers Tencent QQ and WeChat, and QQ.com. It is 1 of the highest grossing multimedia providers in the planet primarily based on income. It is also the largest corporation in the video game market in the globe based on its investments, with Tencent Games becoming the subdivision of Tencent Interactive Entertainment Group focused on publishing of games. Its communication and social services, Weixin and QQ, connect customers with each and every other and with digital content and solutions, each on line and offline, creating their lives more handy. Its targeted advertising service assists advertisers reach out to hundreds of millions of shoppers in China.
Tags: costfreedownloadgameloopuptodownwindows
Love + Chocolate Leonidas: Chocolate Shop In Walnut Creek, Ca
Three Crucial Steps You've To Get Before Buying Orlando Magic
Intel Stock Forecast & Predictions: 1y Price Tag Target $39 94 Get Or Sell Nasdaq: Intc 2022


text:
Q: standalone svg add element dynamically with javascript I am creating a stand alone svg. With javascript embedded.
I have difficulties accessing the root element "svg".
It's easy enough when it's embedded in a HTML page (getElementById), but is it possible to do as standalone?

<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
  "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg id ="testsvg"  width="1000" height="500" viewBox="0 0 1000 500"
     xmlns="http://www.w3.org/2000/svg" version="1.1">
  <desc>Example script01 - invoke an ECMAScript function from an onclick event
  </desc>
  <!-- ECMAScript to change the radius with each click -->
  <script type="application/ecmascript"> <![CDATA[
    function circle_click(evt) {
      var circle = evt.target;
      var currentRadius = circle.getAttribute("r");
      if (currentRadius == 100)
        circle.setAttribute("r", currentRadius*2);
      else
        circle.setAttribute("r", currentRadius*0.5);
    }

 function make_shape(evt) {

  var svg =                          // <-------------  WHAT TO USE?
  console.log(svg);
  shape = svg.createElement("circle");
  shape.setAttribute("cx", 25);
  shape.setAttribute("cy", 25);
  shape.setAttribute("r",  20);
  shape.setAttribute("style", "fill: green");
  svg.appendChild(shape);
 }

  ]]> </script>

  <!-- Outline the drawing area with a blue line -->
  <rect x="1" y="1" width="900" height="498" fill="none" stroke="blue"/>

  <!-- Act on each click event -->
  <circle onclick="circle_click(evt)" cx="300" cy="225" r="50"
          fill="red"/>
   <!-- Act on each click event -->
  <circle onclick="make_shape(evt)" cx="500" cy="225" r="50"
          fill="yellow"/>

  <text x="500" y="380" font-family="Verdana" font-size="35" text-anchor="middle">
    Click on red circle to change its size.
  </text>
  <text x="500" y="480" font-family="Verdana" font-size="35" text-anchor="middle">
    Click on yellow circle to add a circle
  </text>

</svg>

A: When your SVG element is displayed as the main document in your browser, it is actually an element of a generated document, so you can simply use techniques already familiar from javascript:
var svg = document.querySelector('svg')

Since the SVG is not a document, you cannot use it to create elements, but you can use the document itself to create new shapes:
var shape = document.createElementNS('http://www.w3.org/2000/svg', 'circle');

And then you can append them to your new-found svg element. I have amended your code for clarity. If this is not working, what exactly are you using to display these SVGs? Since if they have support for 'ecmascript' (aka javascript), they must also support at least the functionality described in the spec.

<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"  "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg id ="testsvg"  width="1000" height="500" viewBox="0 0 1000 500" xmlns="http://www.w3.org/2000/svg" version="1.1">
  <desc>
    Example script01 - invoke an ECMAScript function from an onclick event
  </desc>

  <!-- ECMAScript to change the radius with each click -->
  <script type="text/javascript">
    function circle_click( evt ){

      var circle = evt.target;
      var currentRadius = circle.getAttribute("r");

      if( currentRadius == 100 ){

        circle.setAttribute("r", currentRadius*2);

      } else {

        circle.setAttribute("r", currentRadius*0.5);

      }

    }

    function make_shape( evt ){

      var svg = document.querySelector('svg');
      var shape = document.createElementNS('http://www.w3.org/2000/svg', 'circle');

      shape.setAttribute("cx", 25);
      shape.setAttribute("cy", 25);
      shape.setAttribute("r",  20);
      shape.setAttribute("style", "fill: green");

      svg.appendChild( shape );

    }

  </script>

  <!-- Outline the drawing area with a blue line -->
  <rect x="1" y="1" width="900" height="498" fill="none" stroke="blue"/>

  <!-- Act on each click event -->
  <circle onclick="circle_click(evt)" cx="300" cy="225" r="50" fill="red"/>
  <!-- Act on each click event -->
  <circle onclick="make_shape(evt)" cx="500" cy="225" r="50" fill="yellow"/>

  <text x="500" y="380" font-family="Verdana" font-size="35" text-anchor="middle">
    Click on red circle to change its size.
  </text>
  <text x="500" y="480" font-family="Verdana" font-size="35" text-anchor="middle">
    Click on yellow circle to add a circle
  </text>

</svg>

A: The DOM API still works just fine, so you can use document.querySelector('svg'). I assume you could assign a class or id to the svg if you need to select it in another way. The selected svg, however, is still just an element, so rather than svg.createElement(), you'll need document.createElement(). If you do that, the code should work, but nothing will display. This, I've just learned, is because svg elements must be created with document.createElementNS(), which takes two arguments: the xmlns, and the type of element you want to create: document.createElementNS("http://www.w3.org/2000/svg", "circle").

<?xml version="1.0" standalone="no"?>
    <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
      "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
    <svg id ="testsvg"  width="1000" height="500" viewBox="0 0 1000 500"
         xmlns="http://www.w3.org/2000/svg" version="1.1">
      <desc>Example script01 - invoke an ECMAScript function from an onclick event
      </desc>
      <!-- ECMAScript to change the radius with each click -->
      <script type="application/ecmascript"> <![CDATA[
        function circle_click(evt) {
          var circle = evt.target;
          var currentRadius = circle.getAttribute("r");
          if (currentRadius == 100)
            circle.setAttribute("r", currentRadius*2);
          else
            circle.setAttribute("r", currentRadius*0.5);
        }

        function make_shape(evt) {

            var svg =     document.querySelector('svg');

            shape = document.createElementNS( "http://www.w3.org/2000/svg", "circle");
            shape.setAttribute("cx", 25);
            shape.setAttribute("cy", 25);
            shape.setAttribute("r",  20);
            shape.setAttribute("fill", "green");
            svg.appendChild(shape);
        }

      ]]> </script>

      <!-- Outline the drawing area with a blue line -->
      <rect x="1" y="1" width="900" height="498" fill="none" stroke="blue"/>

      <!-- Act on each click event -->
      <circle onclick="circle_click(evt)" cx="300" cy="225" r="50"
              fill="red"/>
          <!-- Act on each click event -->
      <circle onclick="make_shape(evt)" cx="500" cy="225" r="50"
              fill="yellow"/>

      <text x="500" y="380" font-family="Verdana" font-size="35" text-anchor="middle">
        Click on red circle to change its size.
      </text>
      <text x="500" y="480" font-family="Verdana" font-size="35" text-anchor="middle">
        Click on yellow circle to add a circle
      </text>

    </svg>


text:
Q: How to calculate Zak phase from numerical wavefunctions with arbitray phase? In numerical calculations, an arbitrary gauge or phase attached to a wavefunction at a particular $\mathbf{k}$ places an obstacle in calculating the Berry connection $$\mathcal{A}(\mathbf{k})=\langle u_{n}(\mathbf{k})|\nabla_{\mathbf{k}}u_{n}(\mathbf{k})\rangle$$ because of the derivative. In 2D, for instance, using Berry curvature formulae can overcome this when calculating the Chern number.
However, for a 1D system, is there a way to calculate the (quantized, when there's appropriate symmetry) Zak phase $$\gamma =\oint_\mathrm{BZ}d\mathbf{k}\mathcal{A}(\mathbf{k})$$ without being affected by the arbitray gauge of wavefunctions?

A: You can do this in the same way that Wannier charge centers are computed (see papers by Vanderbilt).
Suppose $\mathcal{C}$ is some closed path in $\mathbf{k}$-space (e.g. a 1D BZ). We'll define the Berry phase of the $n$th band along $\mathcal{C}$ as (note the imaginary unit, absent in your definition):
$$\gamma_n(\mathcal{C}) = \mathrm{i}\oint_{\mathcal{C}} \langle u_{n\mathbf{k}}|\boldsymbol{\nabla}_{\mathbf{k}}u_{n\mathbf{k}}\rangle.$$
The discrete formulation can be obtained by using e.g. forward differences and eliminating gauge invariances by cleverly taking logarithms of 1 + small terms (or by parallel transport reasoning). If we suppose the path is discretized into (not necessarily equidistant) $\mathbf{k}_i$ steps with $i=1,\ldots, N$ and $\mathbf{k}_{N+1} \equiv \mathbf{k}_1$, the end result is:
$$\gamma_n(\mathcal{C}) = \mathrm{Im}\log \prod_{i=1}^N \langle u_{n\mathbf{k_i}}|u_{n\mathbf{k}_{i+1}}\rangle$$
You can view this as the product (i.e. phase summation) of $N$ small rotations of the eigenvector's phase as it's transported along $\mathcal{C}$; the $\mathrm{Im}\log$-part merely picks out the phase.
If $\mathcal{C}$ is a non-contractible path in the BZ along a reciprocal lattice vector $\mathbf{G}$, it is desirable to enforce a periodic gauge, in which case one would take $u_{n\mathbf{k}_{N+1}}(\mathbf{r}) = u_{n\mathbf{k}_1}(\mathbf{r})\mathrm{e}^{-\mathrm{i}\mathbf{G}\cdot\mathbf{r}}$.
Z2Pack is a tool which implements this (to a much greater degree of generality...). That's also a good starting point for further reading.


What beautiful colors that bird has!
Thanks for your visit and the comments.
Gorgeous photos! I especially love the one of the birds in flight.
Thanks for stopping by my blog and commenting.
The parrot is very nice.
So beautifully captured! Lovely birds!!
I keep seeing birds popping up all over blogs. Yearning for spring?
The best time for birding. Thanks.
Yes they are. Thank you very much for your visit and comments.
Lovely photo of them on the wing! An interesting-looking bird. Thanks for dropping by my blog.
You are welcome. Do keep visiting.


Tears in eyes and smiles on face… that's real celebration.
Team India did this for the second time. After 1983 win, it was a dream come true for India. It's 8 years today, but the warmth of this win will remain forever.
1. The first country to win the Cricket World Cup final on home soil.
2. This was the first time in World Cup history that two Asian teams had appeared in the final.
3. It was also the first time since the 1992 World Cup that the final match did not feature Australia.
4. India's Yuvraj Singh was declared the man of the tournament.
5. Yuvraj Singh had the highest batting average.
6. Sachin Tendulkar made the most runs for India in the tournament and registered the highest impact because of his runs tally.
7. Sachin has featured in five World Cups since 1992, and has virtually every batting record under his belt but a world title was missing before this win.
9. Virat Kohli absorbed the most pressure for India right through the tournament. He came under pressure thrice during the tournament and he had a 100% absorption rate.
भारत के लिए क्रिकेट ऐसा खेल है जिसके लिए एक भारतीय अपना तन, मन, धन सब कुछ अर्पण कर सकता है। जिस दिन क्रिकेट मैच की तारीखें सार्वजनिक की जाती हैं, उसी दिन से दफ्तर से छुट्टी लेने के बहाने सोचने शुरु कर दिए जाते हैं। और अगर किसी वजह से छुट्टी नहीं मिली तो दफ्तर में क्रिकेट के स्कोर की फिक्र ज़्यादा और काम के स्कोर की फिक्र कम होना लाज़मी है… आखिर आज भारत का मैच है भई…!


text:
package org.symnet
package models.iptables
package extensions.filter

// scala
import org.junit.runner.RunWith
import org.scalatest.{FunSuite, Matchers}
import org.scalatest.junit.JUnitRunner

// 3rd party: scalaz
import scalaz.Maybe._

// project
import types.net._
import core._
import extensions.nat.SnatTarget
import Policy._

@RunWith(classOf[JUnitRunner])
class FilterValidationSuite extends FunSuite with Matchers {

  private val emptyCtx = ValidationContext.empty

  test("chain is valid") {
    // Success
    {
      val rule = Rule(Nil, AcceptTarget)
      val chain = BuiltinChain("INPUT", List(rule), Drop)
      val table = Table("filter", List(chain))

      table.validate(emptyCtx) shouldBe Just(table)
    }
    {
      val rule = Rule(Nil, AcceptTarget)
      val chain = UserChain("MY_CHAIN", List(rule))
      val table = Table("filter", List(chain))

      table.validate(emptyCtx) shouldBe Just(table)
    }

    // Failure
    {
      // The filter target cannot appear in the PREROUTING chain.
      val rule = Rule(Nil, AcceptTarget)
      val chain = BuiltinChain("PREROUTING", List(rule), Drop)
      val table = Table("filter", List(chain))

      table.validate(emptyCtx) shouldBe empty
    }
  }

  test("table name should be filter") {
    // Success
    {
      val rule = Rule(Nil, AcceptTarget)
      val chain = BuiltinChain("FORWARD", List(rule), Drop)
      val table = Table("filter", List(chain))

      table.validate(emptyCtx) shouldBe Just(table)
    }
    {
      val rule = Rule(Nil, AcceptTarget)
      val chain = BuiltinChain("FORWARD", List(rule), Drop)
      val table = Table("mangle", List(chain))

      table.validate(emptyCtx) shouldBe Just(table)
    }
  }

  test("interface match") {
    val inIntMatch = InInterfaceMatch("eth0", false)
    val outIntMatch = NegatedMatch(OutInterfaceMatch("eth1", false))

    // Success
    {
      val rule = Rule(List(inIntMatch), AcceptTarget)
      val chain = BuiltinChain("INPUT", List(rule), Drop)
      val table = Table("filter", List(chain))

      table.validate(emptyCtx) shouldBe Just(table)
    }
    {
      val rule = Rule(List(outIntMatch),
                      SnatTarget(Ipv4(8, 8, 8, 8), None, None))
      val chain = BuiltinChain("POSTROUTING", List(rule), Drop)
      val table = Table("nat", List(chain))

      table.validate(emptyCtx) shouldBe Just(table)
    }
    {
      val otherChain = UserChain("MY_CHAIN", Nil)
      val rule = Rule(List(inIntMatch), otherChain)
      val chain = BuiltinChain("FORWARD", List(rule), Drop)
      val table = Table("filter", List(chain, otherChain))

      table.validate(emptyCtx) shouldBe Just(table)
    }

    // Failure
    {
      val rule = Rule(List(inIntMatch), AcceptTarget)
      val chain = BuiltinChain("OUTPUT", List(rule), Drop)
      val table = Table("filter", List(chain))

      table.validate(emptyCtx) shouldBe empty
    }
    {
      // Input interface match is not available in the POSTROUTING chain.
      val rule = Rule(List(inIntMatch),
                      SnatTarget(Ipv4(8, 8, 8, 8), None, None))
      val chain = BuiltinChain("POSTROUTING", List(rule), Drop)
      val table = Table("nat", List(chain))

      table.validate(emptyCtx) shouldBe empty
    }
  }

  test("ip match always true") {
    val srcIpMatch = NegatedMatch(SourceMatch(Ipv4(192, 168, 0, 1)))
    val dstIpMatch = DestinationMatch(Ipv4(10, 10, 10, 1))

    // Success
    {
      val rule = Rule(List(srcIpMatch), AcceptTarget)
      val chain = BuiltinChain("FORWARD", List(rule), Drop)
      val table = Table("filter", List(chain))

      table.validate(emptyCtx) shouldBe Just(table)
    }
    {
      val rule = Rule(List(dstIpMatch), AcceptTarget)
      val chain = BuiltinChain("INPUT", List(rule), Drop)
      val table = Table("filter", List(chain))

      table.validate(emptyCtx) shouldBe Just(table)
    }
    {
      val rule = Rule(List(srcIpMatch, dstIpMatch), ReturnTarget)
      val chain = BuiltinChain("OUTPUT", List(rule), Drop)
      val table = Table("filter", List(chain))

      table.validate(emptyCtx) shouldBe Just(table)
    }

    // Failure
    {
      // It fails because the chain/rule contraints are not respected.
      val rule = Rule(List(srcIpMatch, dstIpMatch), ReturnTarget)
      val chain = BuiltinChain("PREROUTING", List(rule), Drop)
      val table = Table("filter", List(chain))

      table.validate(emptyCtx) shouldBe empty
    }
  }

  test("protocol match") {
    // Success
    {
      val rule = Rule(List(ProtocolMatch("tcp")), AcceptTarget)
      val chain = BuiltinChain("FORWARD", List(rule), Drop)
      val table = Table("filter", List(chain))

      table.validate(emptyCtx) shouldBe Just(table)
    }
    {
      val rule = Rule(List(ProtocolMatch("udp")), DropTarget)
      val chain = BuiltinChain("OUTPUT", List(rule), Drop)
      val table = Table("filter", List(chain))

      table.validate(emptyCtx) shouldBe Just(table)
    }
    {
      val rule = Rule(List(ProtocolMatch("all")),
                      SnatTarget(Ipv4(8, 8, 8, 8), None, None))
      val chain = BuiltinChain("POSTROUTING", List(rule), Drop)
      val table = Table("nat", List(chain))

      table.validate(emptyCtx) shouldBe Just(table)
    }

    // Failure
    {
      // 'tpc' is not a valid protocol.
      val rule = Rule(List(ProtocolMatch("tpc")),
                      SnatTarget(Ipv4(8, 8, 8, 8), None, None))
      val chain = BuiltinChain("POSTROUTING", List(rule), Drop)
      val table = Table("nat", List(chain))

      table.validate(emptyCtx) shouldBe empty
    }
    {
      // 'any' is not a valid protocol.
      val rule = Rule(List(ProtocolMatch("any")), DropTarget)
      val chain = BuiltinChain("OUTPUT", List(rule), Drop)
      val table = Table("filter", List(chain))

      table.validate(emptyCtx) shouldBe empty
    }
  }
}