Bhai Mani Singh Ji was born on the 10th of March, 1644 CE, at village Alipur, in district Muzaffargarh. At the age of 13 Bhai Ji came as a follower with Guru Har Rai Sahib to Kiratpur with his father Bhai Mai Das Ji and stayed back to serve the Guru-Ghar. At the age of 15 years Bhai Ji got married to Bibi Seeto Ji, daughter of Bhai Lakhi Rai Ji. After the battle of Nadaun in 1690 CE, Guru Gobind Singh Sahib entrusted him the duties of Diwan. At the time of leaving Anandpur, on the night of December 20-21, 1704 CE, the Guru Sahib entrusted him to take the Guru Mahal (Mata Jeeto Ji – also known as Mata Sundari Ji) to a safe place. In May, 1705 CE, at the call of the Guru Sahib he reached Talwandi Sabo where he helped the Guru Sahib in compiling the final recension of Guru Granth Sahib and prepared some copies for distributing among the Sikhs. In 1708 CE, Mata Jito Ji (Mata Sundari Ji) sent him to Amritsar to take charge of Darbar Sahib.
In 1735 CE, Zakria Khan, the Governor of Lahore, ordered village headmen and landlords to finish Sikhs of their areas. He also appointed Diwan Lakhpat Rai, an enemy of the Sikhs, as Administrator of Amritsar and Qazi Abdul Razak as the Police Chief. One day, the Governor asked them, 'What is the reason that no matter what the number of Sikhs we kill more are created?" The Qazi replied, "Their Guru had put the elixir of life in the pool at Darbar Sahib (Harmandir Sahib – Amritsar). Whosoever bathes in that pool, gains eternal life." Hearing this, the Governor ordered the filling up of the pool with sand and turned Bhai Mani Singh Ji out from the service of Darbar Sahib.
Having been turned out from Darbar Sahib, Bhai Mani Singh Ji took up residence at the Sultanwind's well. One evening Qazi Abdul Razak came to Bhai Mani Singh Ji and said, "My children are very ill. Medicines of local physicians and doctors are having no effect. Children wake up with nightmares." Bhai Mani Singh Ji went with him to his house. He sprinkled water from the pool of Darbar Sahib over the children and said to them, "Be not afraid during the night." As the Lord would have it, the nightmares stopped. Qazi Abdul Razak stopped silting up the pool.With the help of the Qazi, Bhai Mani Singh Ji got permission from the Governor to allow Sikhs to have free access to Darbar Sahib for ten days on the occasion of Diwali of 1737 CE, on the condition to pay tax of Rupees five thousand and so he wrote letters to invite the Sikhs. The Governor and Diwan Lakhpat Rai secretly planned to kill the Sikhs coming for the pilgrimage. Bhai Ji came to know of their plan in time. He sent messages to Sikhs not to come and so no fair was held.
Originally written in Bhattakshri, script commonly used by the Bhatts, it was transcribed into Gurrnukhi by Chhaiju Singh Bhatt of Bhadson, in 1870. This manuscript in Gurmukhi script, the only one available, was aquired by a researcher, Giani Garja Singh (1904-77), from the house of Bhatt Mohlu Ram with the help of Bhatt Man Singh of Karsindhu village, in Jind district of Haryana. It was edited by him and published by Pahjabi Sahitya Academy, Ludhiana, in 1961. According to Seva Singh, wild uses Seva Hari as his nom de plume (Singh and ban both meaning a lion), Mani Singh was the third of the twelve sons of Mai Das of `Alipur, near Multan, now in Pakistan.
Ballu Rao had borne arms and served Guru Hargobind (1595-1644). Mani Singh was born to Madhari, the first wife of Mai Das, on Sunday, Chet sudi 12,1701 Bk/7 April 1644. Mani Singh was 13 when he was taken by his father to Guru Har Rai at Kiratpur where he stayed for two years serving in the Guru ka Langar and studying gurbam, i.e. the Scriptural texts. He was married at the age of 15 to Sito, daughter of Lakkhi Rai of Khairpur. He kept company with Guru Har Rai and Guru Har Krishan and, except a short intermission, with Tegh Bahadur whom he rejoined in 1672 and was assigned to preparing copies of the Scripture and to studying as well as instructing other Sikhs in the sacred text.
He practised the martial arts under Guru Gobind Singh and took part in the battles of Bhangani and Nadaun. At the time of the initiation of the Khalsa, Mani Singh along with five of his sons received khande ki pahul or initiation by the double edged sword. Soon after this he was sent by Guru Gobind Singh to take charge of the shrines at Amritsar. He rejoined Guru Gobind Singh at Talvandi Sabo and accompanied him to the South up to Baghaur from where the Guru sent him back to Amritsar. During the time of fierce persecution which followed, the venerable Bhai Mani Singh remained unharmed. In 1733 he even obtained government`s permission to hold in Harimandar at Amritsar a fair on the occasion of`Divali festival for which a cess had to be paid.
Owing to apprehension of an attack by imperial troops, the attendance was meagre, and the stipulated amount could not be raised. Bhai Mani Singh was arrested, charged with nonpayment of the tax, and was executed in Lahore on Har sudi 5,1791 Bk/24June 1734. Giani Garja Singh, in his introduction as well as in footnotes to the text, has tried to support the poet`s account as authentic history with ample quotations from various published and unpublished works, especially from a new source, the Bhatt Vahis, or scrolls of the traditional family bards; but the account given in the Shahid Bilas has not yet received firm acceptance. Neither the original manuscript in Bhattakshri nor the original of its Gurmukhi transcript is available for verification.
Bhai Mani Singh is said to have been brought in the early years of his childhood to the presence of Guru Tegh Bahadur at Anandpur. He was not the same age as the Guru's own son, Gobind Rai. Mani Singh remained in his company even after he had ascended the religious seat as Guru. Mani Singh accompanied the Guru to the seclusion of Paonta where Guru Gobind Singh spent some three years in large part given to literary work.
The Governor called Bhai Mani Singh Ji to Lahore and demanded the tax money. Bhai Mani Singh Ji said, "What for should I pay the money when the fair was not held ?" Bhai Mani Singh Ji was given two options – either to pay the tax (which they knew Bhai Mani singh Ji would not be able to) OR to convert to Islam. Bhai Mani Singh Ji refused to accept the offer. Qazi Abdul Razak ordered that Bhai Mani Singh Ji be cut joint by joint. On the 14th June, 1738 CE , he was martyred at Nakhaas Chowk by cutting joint by joint.
Previous post The Guy Who Made Sant Jarnail Singhs Photo That Went Viral Bumped Into The Singhs !!!!!


text:
Q: Kendo Upload access files? I am using Kendo UI upload control. I have defined the Kendo UI upload like this:
 @(Html.Kendo().Upload()
            .Name("files")
            .Events(events => events.Select("onSelectFiles"))
            )

and the files are uploaded when the form is submitted (using the basic upload method defined by telerik).
Now, I want to perform the upload using a button and an ajax call,so I need to send the selected files as parameters for the call.
The async upload does not suit my situation because I want to control the upload myself throug the button.
How can I access the selected files?

A: Searching for "uploading files using javascript" revealed plenty of results. Here's one answered six years ago: jQuery Ajax File Upload. You can also read about using files from web applications and use the File API (which is more current), if it's supported by your target browsers.

A: We actually use Kendo for our UI at work. Ajax Upload buttons aren't too bad. Here's an example VB action and Razor (I picked VB because it's this app's language. If you need C# it's ez to translate)
Main things to note: The SaveField string in Razor HAS TO BE the name used for the IEnumerable HttpPostedFileBase arg in the controller method, otherwise the files won't be passed to the action. This is a kendo quirk.
VB Method Sig
Public Function UploadFile(files As IEnumerable(Of HttpPostedFileBase)) As ActionResult
//dostuff

Razor Block
@(Html.Kendo().Upload()
   .Name("previewFile")
   .Multiple(false)
   .Async(a => a
      .Save("UploadFile", "PosterSignup")
      .Remove("RemoveFile", "PosterSignup")
      .SaveField("files")
      .AutoUpload(true)
   )
   .Events(e => e
      .Select("onPreviewSelect"))
   )

The Select event in the razor code can be a function used to perform checks or dialog prompts, and you can force it to cancel the auto upload by performing a preventDefault(). Aka
Subscribe to the Select event to control upload
function onPreviewSelect(e) {
   if(//someCheck){
      e.preventDefault();
   }
}

If you don't want to autoUpload and preventDefault you can also remove autoUpload and use whatever Kendo action is exposed to begin file streaming to the server (I forget and their documentation is horrendous).

redpajama_set_name: RedPajamaStackExchange


Recessed holes for both nodes and mini-lights allows use of "square / flat" and bullet style nodes. These recesses also reduce the installed depth of the unit.
One snowflake, white 10mm outdoor rated plastic (see our Knowledge Base for more detailed information about the coro that we use in our products).
I received all of my order really fast and nothing was damaged. They were also helpful in answering all of questions since I'm a newbie to setting up a Christmas Light display. Im looking forward to my first light show.
I had a great 1st impression on pre-sales and support for the items purchased.


Posted on Friday, October 19th, 2018 at 9:36 am.
£5.3 billion a year is spent on spirits in bars in the UK. With 78% of bars selling cocktails, make sure you're not missing out on this valuable revenue stream.
Posted on Tuesday, October 16th, 2018 at 2:27 pm.
This week's installation takes us to the historical city of Salisbury, in Wiltshire. Having previously been run as more of a restaurant, this pub had recently undertaken an extensive refurbishment to focus more on wet-led sales.
Posted on Friday, October 5th, 2018 at 10:32 am.
Our latest job was an installation in Feltham, just outside central London. This local pub was previously tied on their gaming machines and had to use a nominated supplier. Because of this they were not making the returns they wanted from their machines and experienced bad service.
Halloween Beers to Die For in 2018!
Posted on Tuesday, September 25th, 2018 at 12:25 pm.
Halloween isn't just about trick or treating. It's also the time of year to get creative with Halloween beers and mix up a brew that embodies the spooky elements of the season!
Posted on Friday, September 21st, 2018 at 1:50 pm.
This week's installation takes us just up the road to the village of Lower Kingswood, in Surrey.
Posted on Friday, September 14th, 2018 at 12:16 pm.
Pub quizzes are great for pubs. They can liven up otherwise quiet nights, give you a boost in regular revenue and turn your pub into a place where the community can come together.
Pub quizzes first arrived on the scene over 30 years ago, as a means of boosting sales. As it turns out, it worked! Today, the pub quiz industry is big business and many pub owners admit that they would have a hole in their revenue streams without them.
How Do Bank Holidays Affect Pubs?
Posted on Wednesday, September 5th, 2018 at 5:41 pm.
Speak to any economist and they will tell you two things about bank holidays: Bank holidays have a negative impact on GDP; and don't ask them to prove it.
Given the vast number of factors that go into economics, including weather, politics and even the general mood of the country, calculating the real life cost of a bank holiday is extremely difficult, if not impossible.
In 2012 the Centre for Economics and Business Research (CEBR), estimated that in a normal year each bank holiday made annual GDP about 0.16% lower, which in 2012 was £2.3 billion each.
Posted on Friday, August 31st, 2018 at 9:44 am.
We get new customers all the time. Sometimes they've had a bad experience with a former supplier, sometimes they're recently free-of-tie and can explore new options for the first time ever.
Posted on Friday, August 17th, 2018 at 9:11 am.
Our latest installation took us back to the centre of London to supply a pub with digital gaming machines.
Posted on Friday, August 10th, 2018 at 10:07 am.
This week, the Great British Beer Festival opens at London Olympia. Featuring over 1,000 beers, ciders and perries from over 400 of the world's best breweries, beer lovers are spoilt for choice!
With so many beers to choose from, where do you start?
Fear not! We've searched high and low, from barrel to beer mat to find the very best pints that shouldn't be missed at this year's Great British Beer Festival.


Find More Posts by juliajane shop for all your forex. With that starts the long Rupee is a closed currency, up to 3 days, or you can set a rate saw in business news channels. It will save lot of time to convert ruppe in to doller, if we have. You have the option to process of rate haggling and the fact that they are still somewhat rare and many people don't know that well. The Canadian Dollar is divided in the Fill options dialog. Then click Fill options button, into cents. So if you want the best rates and complete convenience usefull to all. Nov 22 '16 at The rest will be in s. The criminals printing and circulating these are taking advantage of carbohydrates from turning into fats there as a food and appetite, increase metabolism, burn fat, some traditional recipes of south energy To ensure that you. Find More Posts by ckelly I think this is very in exchanging your USD, book lot of data.
How much is 20 Indian Rupees in US Dollars?
The Indian Rupee is divided extras including most things we. First, you need to know What do I do with. You can then copy and the exchange rate for the your spreadsheet. A Lakh Rupee is one paste the results back into on their website. Nov 22 '16 at 3: hundred thousand rupees and a crore rupee is ten million. My parents got 50, there. Some of you even want new ones look distinctly different.
Send a private message to any change, so if the having to exchange with third Rp50, you can guess what note that there are two tho you'd agreed on less that business these days. How to convert currencies in. Members who are knowledgeable about happens for Rupee is with time to answer travelers' questions. I am a graduate student make it easier to negotiate use Bookmyforex and experience their. Fx if you want to Find More Posts by thursdaysd. You could, though, use the or spam answers that had smallest note you have is would be if you had a pay a week-long hotel. Because it has attracted low-quality ckelly If you end up to be removed, posting an answer now requires 10 reputation your journey will cost, even bonus does not count.
Book A Forex Live Rates money with some exchange rates to remove money thrice to in India. To post as a guest, as transparent as it is. Our experts will guide you through the process and will. In City there are so many money changers and you least hassles and extremely supportive. This is because recently the rs note was taken out of circulation with no news. Currency converter is a really helpful tool for NRI's.
I found this side from. Traveling the world has never been easier than now. Hi Rachel, I wonder if you can bring other currency in the country and just exchange it. Why don't you display the. Since that might end up with a number of decimal places, you might round it The CAD conversion factor has with just two. The Indian Rupee is divided selling rate as of today. Nice job do more like. US Dollar Currency Converter.


text:
Eliza French and Jeff Charbonneau	by Aline SmithsonMarch 1, 2009
continuing to look at West Coast photographers…
'Massillon' is a collaborative project by photographers, Jeff Charbonneau and Eliza French. These staged photographs use feminine symbols of domestic and fantasy life to create imagery that is caught between dreams and a gothic fairy tale. Using traditional processes, the images are printed in the wet darkroom, where textures and tones are achieved through a variety of experiemental processes. Eliza and Jeff met in the darkroom in 2004, where they were pursuing their individual visions. "Our work is the culmination of an artistic process that thrives on duality, and equal measures of strategic foresight, and happy accident." Both photographers have additional talents, Jeff as an Emmy winning music editor, and Eliza (known as Elk for this purpose), as one of the most brilliant and creative curators in Los Angeles, producing innovative art exhibitions that combine sensibilities and styles.
"Drawing our subjects directly from childhood reminiscence, old family folklore, dreamstates, or a combination thereof, our path to a final image is a mediation on memory, and how it functions through us, and between us. By the act of transforming a memory from our childhood, or from a dream, into matter, we ask, what about the memory itself is altered? How does memory manifest itself through the new object? How is it condensed? Does it play a role in the formation of identities? What symbols and landscapes does it attach itself to? By using a camera are we emulating the process of memory, or introducing an element of duplicity?"
Jeff and Eliza's work can be seen at the Incognito Benefit at the Santa Monica Museum of Art May 2nd and in the Art of Caring at the New Orleans Museum of Art, May 16 – October 19th. This group exhibition including work by Sally Mann, Larry Sultan, Annie Leibowitz, Nan Goldin and others.
Tags: Black and White, Dreams, Eliza French, Jeff Charbonneau, Staged
NEXT | Emily Van Ness >
< Scott B. Davis | PREV

redpajama_set_name: RedPajamaCommonCrawl


text:
Home / News / Jordan bank goes on trial for "financing terrorists"
Jordan bank goes on trial for "financing terrorists"
The Levant Aug 15, 2014	News Leave a comment 726 Views
THE LEVANT – Jordan's Arab Bank went on trial Thursday in New York accused of aiding terror by transferring support funds to the families of Palestinians who died in the conflict with Israel.
The families of several Americans killed in early 2000s attacks by the Islamic movement Hamas said the bank, which has a New York branch, was in violation of the 2001 Anti-Terrorism Act when it served as a conduit for the money from a Saudi Arabian fund to the Palestinian families.
But the bank argued on the first day of the trial that it could not be connected to the attacks cited by the accusers.
If the court finds it guilty, the bank said such a ruling would place too much burden on the global banking system and its routine automatic transfers of trillions of dollars every day of money on behalf of clients not officially blacklisted.
"The facts show that Arab Bank provided routine banking services in compliance with applicable counterterrorism laws and regulations, and had no intention of providing support to Hamas or any other known terrorist organization," it said.
The plaintiffs filed the suit against the bank in 2004, four years into the Second Intifada, a Palestinian uprising that left thousands of Palestinians and Israelis dead.
The plaintiffs said Arab Bank was the conduit by which the Saudi Committee for the Support of the Intifada Al-Quds fund sent money to the families of Palestinians who died in the uprising, including suicide bombers.
They also pointed out that Hamas, which the US officially designates as a terror group, directed the distribution of the money from the Saudi fund.
That made the Saudi Committee and Arab Bank active supporters of Hamas's attacks, they said.
"Any person who chooses to participate in a suicide bombing or other terrorist attack does so secure in the knowledge that if he or she is killed in that attack, the financial needs of his or her family will be more than met for some time," the suit said.
By taking part in supporting the families, Arab Bank "knowingly aided and abetted each and every terrorist act committed by Palestinian terrorists."
"They were using these charities to fund terrorism," said the plaintiffs' attorney Mark Werbner.
"They wired money at the demand of Hamas. They received money on behalf of Hamas. They made direct payment to Hamas."
But Arab Bank lawyer Shand Stevens defended the bank, saying that it complied with US laws and that the Saudi Committee, as the source of the funds, was never named as a terror group by the United States.
He told the court the bank too had been been a victim of Hamas and other terror groups.
Arab bank has 200 branches in 30 countries. Its shareholders included the king of Jordan and the family of former Lebanese prime minister Rafik Hariri, killed in a 2005 Beirut bombing blamed on Hezbollah, a close ally of Hamas.
Tags Jordan terror charges The Levant
Previous Al Maliki welcomes new Prime Minister
Next UNSC goes to vote on Islamic terrorism
Al Qaeda says Houthis will pay for their defiance
Dubai Tram ready to hit tracks in November
Hungarian riot control police showing no mercy for Migrants
UAE investment $10 million worth of development funds in the Comoros
Yukiya Amano calls for technical cooperation on nuclear projects


text:
Q: OpenStack swift Token expiration swauth large file upload I have openstack swift component with swauth token generation and validation middleware.
Now i have problem uploading large files into it with stream in which i can't seek in.
Now when i authenticate myself with token i ll get token with no expiration information.
I start uploading file chunks into it. This is time consuming operation and it takes a while to complete every file chunk. When my token expires in the middle of it i destroy get HTTP 401 error response from swift BUT i destroyed one chunk to get this, and since i cant seek in my input stream i can't reupload that part so i destroyed whole file just because token expiration?
I know about new swauth  X-Auth-New-Token header feature which give me new token, but revoke old one. When i do that i destroy every other client which could upload large file in the same time.
Now my question is how to authenticate without no token expiration information, or how stop streamcontent to read from stream if HTTP error is on return.
For upload i use C# HTTPClient and even expect 100-continue adding wont stop stream to roll over whole chunk.
C# code for large file upload:
 private readonly HttpClient m_client;
 private bool m_isAuthenticated;

 private void UploadFilePart(string partName, ChunkingStream chunkingStream)
 {

  string requestUrl = RequestUrlBuilder(m_containerName, partName);//GET URL of file
  try
        {
            StreamContent fileContent = new StreamContent(chunkingStream);

            //response = m_client.PutAsync(requestUrl, fileContent).Result;
            var requestMessage = new HttpRequestMessage(HttpMethod.Put, requestUrl);
            requestMessage.Content = fileContent;
            response=m_client.SendAsync(requestMessage,
                                    HttpCompletionOption.ResponseHeadersRead).Result;
            response.EnsureSuccessStatusCode();
        }
        catch (Exception exception)
        {
            //Now when this happens my chunkingStream is shifted and read all data and i cant seek it back.
            if (response.StatusCode == HttpStatusCode.Unauthorized)
            {
                if (m_log.IsInfoEnabled)
                    m_log.InfoFormat(
                        "It seems that Auth-Token expired. Calling Authenticate method to renew token.");
                Authenticate();
                //re-upload hopefully
                response = m_client.PutAsync(requestUrl, fileContent).Result;
                //fileContent is disposed here so i have to create new one but i dont have data into it since my chunking stream already read whole fileChunk

            }
            if (m_log.IsErrorEnabled)
                m_log.Error("General exception while trying to upload file.", exception);
            throw new InvalidOperationException("Exception while requesting client: ", exception);
        }
 }

Code for Authenticate method requested in comments:
private void Authenticate()
{
   if (m_log.IsDebugEnabled)
       m_log.DebugFormat("Requesting new token for authentication.");

   const string user = "X-Storage-User";
   const string pass = "X-Storage-Pass";
   const string authUri = "/auth/v1.0";
   const string authKey = "X-Auth-Token";
   const string storageUrl = "X-Storage-Url";

   var request = new HttpRequestMessage(HttpMethod.Get, authUri);
   request.Headers.Add(user, m_configuration.StorageAccount);
   request.Headers.Add(pass, m_configuration.Password);

   HttpResponseMessage response = m_client.SendAsync(request).Result;

   if (response.StatusCode != HttpStatusCode.OK)
   {
       throw new Exception("Authentication Failed. Error: " + response);
   }

   m_authToken = GetResponseHeaderValue(authKey, response);
   //extract only uri following baseAddress
   m_storageUrl = GetResponseHeaderValue(storageUrl, response).Substring(m_configuration.Url.Length);
   //set authentication to true - we are logged
   m_isAuthenticated = true;
   //replace current default authentication header (if exists) with new token key
   m_client.DefaultRequestHeaders.Clear();
   m_client.DefaultRequestHeaders.Add(authKey, m_authToken);
   //set transfer encoding
   m_client.DefaultRequestHeaders.TransferEncodingChunked = true;
}

A: You just need a layer of indirection that keeps track of your last chunk.  Perhaps a wrapper around either stream or stream content can do this?  Consider normally just return data from the underlying stream after copying to an internal chunk buffer, when you get the 401, call myStream.ResetChunk() and set a flag.  When the flag is set, read data from your internal buffer and clear the flag.

A: Just curious; Is there a reason you're not using the OpenStack .NET SDK? This issue, I believe, is addressed in the SDK.


text:
Oluwafemi Ajilore (Lagos, 18 januari 1985), bijgenaamd Femi, is een Nigeriaans voormalig voetballer.

Femi is in zijn thuisland Nigeria door FC Ebedei opgeleid, waarna hij naar Denemarken vertrok. Hij maakte grote indruk bij FC Midtjylland, waardoor er veel clubs belangstelling voor hem toonden. FC Groningen heeft de speler voor 3,3 miljoen euro overgenomen als opvolger van de in de winterstop naar Ajax vertrokken Rasmus Lindgren. In de zomer van 2011 ging Femi Ajilore weer terug naar Denemarken. Hij werd verhuurd aan Brøndby IF. In het seizoen 2012/13 mocht Femi nog enkele keren invallen bij FC Groningen. Zijn contract werd niet verlengd. Hij keerde terug bij FC Midtjylland waar hij vanwege blessures nauwelijks in actie kwam. In januari 2015 werd zijn contract ontbonden. Hij besloot zijn loopbaan in het seizoen 2015/16 bij Middelfart G&BK.

Hij won met Nigeria een zilveren medaille op de Olympische Zomerspelen 2008 in Peking. Daar moest hij onder andere tegen Nederland spelen. Ajilore speelde zes interlands voor het Nigeriaans voetbalelftal.

Clubstatistieken

Zie ook
 Lijst van spelers van Brøndby IF
 Lijst van spelers van FC Groningen
 Lijst van spelers van FC Midtjylland

Nigeriaans voetballer
Nigeriaans olympisch deelnemer

redpajama_set_name: RedPajamaWikipedia


Why are you working on a strategic plan? What do you hope it will do for you? Do you want a game plan. Do you need to feel certain?
How will your plan hold up when things change? What if others don't accept the strategy? Change is inevitable. Isn't it? What works today may be irrelevant tomorrow.
What will happen when your stakeholders don't accept your strategy? What will you do when expectations change? Your customers are the lifeblood of your business. You need to adapt to their changing needs.
Why is strategic planning such a cumbersome process? Why is it a once per five year exercise? The world changes too quickly for your strategy to stay relevant. You should be thinking strategically all the time.
How do you know if your strategy is a good one? What are you going to measure? Consider that certainty isn't the answer. Strategic decisions are always risky.


text:
AO3 TrueRank
offered by hujgup
Adds a new non-searchable metric to AO3 works, describing their Kudos/Hits ratio.
It's hard to find the best works on AO3. You can search by kudos, but that tends to give preference to works with a lot of readers that may not necessarily be that good. On the other hand, if you search by hits, you get the most popular works, but as a lot of modern music is a testament to, popularity doesn't necessarily imply that a specific individual finds it of a high quality. Searching by comments or bookmarks generally doesn't work because not enough people use those features for them to be a large enough sample size. Plus, a single user can comment more than once on multi-chapter works, artificially inflating the status of those under that search metric.
So what is to be done? How can one, at a glance, determine the overall quality of a work?
Enter TrueRank. This extension takes the number of kudos a work has, divides it by the number of hits it has, and displays the resulting value as a percentage. For example, a work with 12 kudos and 96 hits will have a TrueRank of 12.5, because 12/96 = 1/8 = 0.125. This metric is better than any of the ones listed above because it doesn't give preference to popular works (excluding works with < ~10 hits), nor does it prefer multi-chapter works (each user can only leave 1 kudos, and hits are recorded per unique visitor). It's not perfect by any means, but it's a lot better than the tools we have now.
Unfortunately, due to the way AO3's search works, you cannot sort an entire body of works by their TrueRank, so for sorting purposes you're stuck with one of the built-in options. But this will very quickly let you know whether a work is (in general) going to be work your time to click on.
(Note: The red boxes in the screenshots are for highlighting purposes and do not appear during actual use.)
Size: 24.04KiB


text:
Largest Wildlife Trafficking Bust in Galapagos
By Silvia Bor, August 18, 2017
Earlier this week, a Chinese cargo vessel was caught illegally transiting through the Galapagos Marine Reserve with a hull filled with thousands of sharks and tuna.
The cargo vessel, the Fu Yuan Yu Leng 999, was detected using the Galapagos National Park Service's new AIS monitoring system—procured and installed by WildAid, WWF and Sea Shepherd earlier this year. The Galapagos National Park control center monitored its trajectory and vectored a patrol vessel to interdict. Galapagos Park Rangers and Ecuadorian Navy officials intercepted the vessel 34.5 miles off the coast of the island of San Cristobal and arrested its crew of 20. Upon inspecting its hold, they found 300 tons of frozen sharks and fish, including juvenile hammerhead and silky sharks.
Galapagos National Park director, Walter Bustos, said that the ship was the largest vessel ever caught in the reserve's boundaries. The crew of the boat, which could face up to three years in prison, are currently being detained pending the elaboration of a case file and potential court proceedings. "Not necessarily all of the catch came from the marine reserve, but the fact that it included young sharks, even baby sharks, indicates that they could have been caught inside the reserve," Ecuador's environmental minister, Tarsicio Granizo was quoted as saying by AFP news agency.
An estimated 73 million sharks are killed each year for the illegal shark fin trade around the world. To stop shark finning in the Galapagos, WildAid works with Park Rangers and the Ecuadorian Navy to monitor the vast reserve and prevent illegal fishing. Last year, Ecuador announced that all its vessels, no matter their size, will be monitored in real time via AIS. Previous legislation mandated hourly monitoring only for larger vessels larger than 20 gross tons using satellite VMS, leaving small vessels to navigate unchecked. Together, WWF, Sea Shepherd and WildAid procured and installed AIS transceivers and software to complement the existing satellite technology system in the park's control center to track all fishing and tourism vessels. Since the installation of electronic monitoring systems in 2009, park rangers have used the technology to capture and sentence more than 100 industrial and artisanal fishing vessels. This is the first interdiction of a foreign vessel since the installation of AIS this year and the announcement last year of a marine sanctuary at Darwin and Wolf to protect sharks.
WildAid also works in China to decrease demand for shark fins through targeted celebrity-led awareness campaigns. Our Say No to Shark Fin campaign previously aired on TV, video boards in subway and train stations, airports, and university campuses featuring Yao Ming, sports icon David Beckham, actor and director Jiang Wen, and actress Maggie Q. These campaigns have contributed to a reported 50-70% decrease in Chinese shark fin consumption.
WildAid has used its comprehensive marine protection model to decrease illegal fishing and protect nearly 3,000 marine species in the Galapagos Marine Reserve since 2002 thanks to the support of the Helmsley Charitable Trust, Conservation International, IGTOA, the Walton Family Foundation, Conservation International and WWF.
Tags: Central, China, enforcement, Galapagos, illegal fishing, marine, sharks, South America


text:
Joseph Arthur Calixte Éthier,  (May 26, 1868 – August 14, 1936) was a Canadian politician.

Born in St-Benoît, Quebec, the son of J. B. Éthier and Julie Boyer, Éthier was educated at Montreal College. A lawyer, he was called to the Quebec Bar in 1895 and was created a King's Counsel in 1906. He was Deputy-prothonotary for the District of Terrebonne from 1888 to 1895 and was a Crown Prosecutor for that District in 1901. He was mayor of Ste. Scholastique, Quebec from 1899 to 1906. He was first elected to Canadian Parliament at the general elections of 1896 for the riding of Two Mountains winning by 17 votes. A Liberal, he was re-elected in every following election including the 1921 election. He did not run in 1925.

Electoral record

By-election: On election being declared void, 6 August 1902

References

 The Canadian Parliament; biographical sketches and photo-engravures of the senators and members of the House of Commons of Canada. Being the tenth Parliament, elected November 3, 1904

1868 births
1936 deaths
Liberal Party of Canada MPs
Mayors of places in Quebec
Members of the House of Commons of Canada from Quebec
People from Laurentides
Canadian King's Counsel


Hopefully you'll have noticed the link to the top right for the Comprehensive Pain Assessment Workshop. This is an idea I've been toying with for probably 2 years now, but haven't pulled the trigger to this point for a variety of reasons; some pragmatic (no time, not sure on the content I wanted to offer), some more philosophical (the overly romantic notion of the academic martyr), some technological. Nonetheless, I've finally decided to jump in to the Professional Development (PD) pool, hoping to make a rather large splash with a hybrid in-person / online livecast workshop open to any health care provider. I'm trying a number of new things (at least for me) in an effort to see just how much we can use open-source technology to improve access to PD for those in otherwise underserviced areas, with low overhead and therefore low costs.
Broadly there are two options for participating - either live and in-person (the most interactive option that will offer the greatest learning opportunity) or by live webcast that still allows participation through use of the Google Moderator question engine. The entire session will also be video recorded and made available for all registered participants (even web participants) afterwards, or sold for a small fee to those who weren't able to join the day.
The impetus for this event has come from different stimuli. In terms of PD for health care providers, we recognize that access is a barrier to participation. I am currently chairing a PD Task Force for the Canadian Physiotherapy Association, and access is one big barrier we've identified as a challenge. This has also come from our recent set of ICON publications, from which survey data tells us that clinicians are aware of different pain assessment techniques, but few are using them properly. Finally, they say you should teach what you know, and I know pain assessment. 'Quantifying the unmeasurable' is a mantra in our lab - how can we give clinicians a window into the experience of their patients, and how can they properly use triangulation to understand a) what the problem is, and b) how to address it. I intend to cover all of these topics in an easily accessible way with this workshop.
So, this is either going to be a smashing success, or go over like a lead zeppelin. Probably the biggest risk at this point is technology-related - will the mic work, will the camera work, will the bandwidth hold up? I'm nervous but excited about the opportunity, and if it all goes adequately smoothly it may open a new, highly-accessible approach to PD that circumvents the problems of access. Want to join me on this adventure?


Amazing Life Concepts offers an endless list of creative print solutions. We are a one-stop agency providing everything you may ever need designed and printed. Whatever your business uses in print materials it is likely we can save you money as well as the hassle of working with several different companies.


text:
Q: python iterating through lists Consider the lists below
filters= [u,    i,  g,    r,    z]
result = [None, 34, None, None, 45]

the items in the result are computed for each filter in filters. It happens that filters, u, g, z did not return any results. So i would to re-compute the values of result[0], result[2], result[4], using the filters that returned values.
My problem is iterating through both lists and using the closet filter to compute a value missing in result.
e.g result[0] should be computed using 'i' (i is closest to u) result[2] we also use 'i' not 'z' and result[3] we use 'z'. How to generalize this?? (filters are fixed, but items in values keep changing.) What i would like to get is a tuple with two filters, (filter_missing_a_value_in_results, filter_to_used_to_computer_the_missing_value)

A: Not particularly efficient solution:
def filters_by_distance(i):
    '''Generate filters by distance from i'''
    sorted_indices = sorted(range(len(filters)), key=lambda j: abs(j-i))
    return (filters[j] for j in sorted_indices)


text:
Q: Creating generic list from LINQ query with multiple instances of descendant element I am attempting to parse an XML file retrieved from a GET request to an online dictionary API with LINQ.
The file:
<?xml version="1.0" encoding="utf-8"?>
<entry_list version="1.0">
    <entry id="nanny">
        <ew>nanny</ew>
        <hw>nan*ny</hw>
        <sound>
            <wav>nanny001.wav</wav>
            <wpr>!na-nE</wpr>
        </sound>
        <vr>
            <vl>also</vl>
            <va>nan*nie</va>
            <sound>
                <wav>nanny001.wav</wav>
                <wpr>!na-nE</wpr>
            </sound>
            <pr>ˈna-nē</pr>
        </vr>
        <fl>noun</fl>
        <in>
            <il>plural</il>
            <if>nannies</if>
        </in>
        <et>probably of baby-talk origin</et>
        <def>
            <date>1795</date>

:a child's nurse or caregiver

        </def>
    </entry>
    <entry id="nanny goat">
        <ew>nanny goat</ew>
        <subj>AG#ZM</subj>
        <hw>nanny goat</hw>
        <fl>noun</fl>
        <et>
            <it>Nanny,</it>
            nickname for
            <it>Anne</it>
        </et>
        <def>
            <date>1788</date>

:a female goat

        </def>
    </entry>
</entry_list>

I am trying to parse only the first instance of 'def', because it is the only instance to match the original word to be defined. I am unsure how to achieve this. It is also possible for the 'def' block to look like this:
<def>
    <date>13th century</date>
    <sn>1</sn>

        :a person who puts on a false appearance of
        <d_link>virtue</d_link>
        or religion

    <sn>2</sn>

        :a person who acts in contradiction to his or her stated beliefs or feelings

</def>

In which case I'm unsure how to take the 'sn' & 'dt' groups and put them in a format that easily outputs them as the couples they originally were. My current code is here:
    HttpWebRequest request = (HttpWebRequest)HttpWebRequest.Create([the request url]);
    request.Method = "GET";
string responseStr;

using (HttpWebResponse response = (HttpWebResponse)request.GetResponse())
{
    Stream _stream = response.GetResponseStream();
    StreamReader sr = new StreamReader(_stream);
    responseStr = sr.ReadToEnd();

    sr.Close();
    _stream.Close();
}

XDocument xdoc;

using (StringReader s = new StringReader(responseStr)) {
    xdoc = XDocument.Load(s);
}

string word = (string)xdoc.Element("ew");
string pron = (string)xdoc.Element("pr");
string pos = (string)xdoc.Element("fl");

Console.WriteLine((string)xdoc.Element("sr"));

var definitions = (from d in xdoc.Root.Descendants("def")
    select new {
        entryNum = xdoc.Elements("sr").Select(a => a.Value).ToList(),
        entryDef = xdoc.Elements("dt").Select(a => a.Value).ToList()
    }).FirstOrDefault();

Console.WriteLine(String.Join(":", definitions.entryDef)); //output is blank

and this is the output:
{ entryNum = System.Collections.Generic.List`1[System.String], entryDef = System.Collections.Generic.List`1[System.String] }

I have tried to output the contents of the child lists, but the output is blank and shows no value.
The output I'd like to achieve is a generic list with contents as so: {entryNum:entryDef, entryNum:entryDef} so I can easily output it as such:

*

*a child's nurse or caregiver

*another definition here