text:
Q: IManage WorkSite refile WorkSpace via SDK Using the SDK for a Web Service, I have been able to add a user to a WorkSpace and grant them access, however the WorkSpace isn't refiled and so they effectively have access to only the root folder and nothing else.
I know there is the Refile() method, I am just not sure how to perform a refile of folders and documents within the WorkSpace.
Currently I have a function which grants a user access to the WorkSpace, I have tested and this function works, the following is part of the function, before this code I have initiated WorkSpace search methods and the code below is iterating through the search results.
Dim retString As String = ""
For Each w As IManWorkspace In oDB.SearchWorkspaces(oparams, oWparams)
' Get the WorkSpace security container
Dim oSec As IManSecurity = w.Security
Dim oUACLs As IManUserACLs = oSec.UserACLs
' Grant the user the defined access
oUACLs.Add(sUserID, imAccessRight.imRightReadWrite)
' Apply the changes
w.Update()
' Refresh the Collection on the client
oUACLs.Refresh()

' TO DO: REFILE THE SUB-FOLDERS AND DOCUMENTS

retString = oUACLs.Contains(sUserID).ToString()

Next

Return retString(at the moment I have hard-coded the defined access for the user to the WorkSpace, this will be changed to a dynamic value before going live).
As I already have the WorkSpace object, the

COM Developers Reference Guide (pg 244)

says I need to get an IManProfiledFolder object and then get the profile belonging to the profiled folder object:
Code:
Dim objProfFldr as IManProfiledFolder = w w being an IManWorkSpace in my above code
Dim objProf as IManProfile = objProfFldr.Profile  I can then get the WorkSpace security object via:
Dim oSecurity AS IManSecurity = w.SecurityAnd putting this together, I guess this makes the complete Refile() method be called as Refile(objProf, oSecurity).
I am just not clear on how I apply this all to the WorkSpace, do I need to iterate through all sub-folders and apply the Refile() method to each document, or can I issue a method at the WorkSpace level that will do the iteration for me?

A: Unfortunately there isn't a folder or workspace level refiling method. The Refile method is only available on the IManDocument object so you have to recursively enumerate each folder and it's .Contents in the workspace and call the Refile method on each document.
You should check the return value (IManProfileUpdateResult) of the Refile method as you may not have rights to amend the document profile if a user has locked their document down.

A: You may achieve this behavior with the help of one of the following methods form the IManWorkspace object:
 IManProfileUpdateResult UpdateAllWithResults(string file);
 void UpdateAll(string file, ref object errors);

For more details please take a look into the "iManage WorkSite COM
  Developer's Reference Guide (p.334)"

The following helper method could be helpful:
public void UpdateWorkspace(IManWorkspace workspace)
{
    var filePath = Path.GetTempFileName();
    try
    {
        if (workspace.HasObjectID)
            workspace.GetCopy(filePath);

        var results = workspace.UpdateAllWithResults(filePath);

        if (!results.Succeeded)
        {
            // Error handling
        }
    }
    finally
    {
        if (File.Exists(filePath))
            File.Delete(filePath);
    }
}

Hope that helps you or somebody else.

redpajama_set_name: RedPajamaStackExchange


The Question Box has just made its debut in Manjiri, a town outside of Pune. Question Box engineers Satish and Sachin (on left, Sachin with mask) are shown with the grocery story proprietor.
Satish's sister has just joined as a community awareness worker, and she will be circulating amongst the population to educate them on the Question Box.
We immediately got questions on poisonous snakes and the price of Toor Dahl.
Although this is a reenactment, this was an actual question that was asked a few weeks ago. The caller wanted to know if the pyramids had been damaged or moved.
Why types of questions have we received lately at Question Box?
How can one control Avocado fruits from getting rotten and falling off?
An s.6 student wants to invest but he has only 100.000/=, how can u help him invest in something good without getting a loan?
how can one control the moto weed which destroys crops?
how long does it take for banana suckers to dry without being affected by diseases?
the man's pig has wounds on its ears what should he use to treat it ?
Currently our service is being used as part of an Agricultural study with our partners at the Grameen and the Gates Foundations. So questions like the ones about livestock and farming are expected. However, it's always interesting for us when we get questions that don't fall into those categories. For instance, the question above about investment is particularly interesting to Question Box.
Because there are a lack of viable financial solutions and related education solutions for rural populations. Are there other students in this area that are interested in saving/investing? If not, can this particular student be motivated in some way to help us serve his community? Are there programs in place that can even facilitate this type of investment? 100.000 Ugandan Shillings is about fifty dollars and half to a third of the cost of average school fees here which is actually a lot of money in this particular region.
Can a person get swine fever / flu when he eats pork?
What is the best drug for candida?
I have chronic head ache and I can't even carry anything on my head and I get thirsty all the time?
The man developed high blood pressure and later a wound on his leg and its not curing yet he has been at Mulago Hospital but no change what should he do?
What are the dangerous signs of pregnancy in women?
Why do some women have deep voices like men?
If you're interested in helping out, please contact us !
In his latest podcast, Jon talks about the recent focus group on Question Box Uganda, our pilot with Grameen and how it all fits in to the big SMS suite of apps Google launched last week. Listen to it below.
Here's a few shots from the extensive focus group this week. The CEO of Grameen Foundation Alex Counts was there, as were Whitney Gantt, Eric Cantor (Applab), David Edelstein and Kiki Noviandi (Applab Indonesia). The format worked well with two focus groups held throughout the day.
There were two presentations on "What is it like to be a CKW?" and one presentation from our operators on "What is it like to be an AQB Operator?".
The good news for us is that the most popular services were AQB and 6001 (Google SMS Search). The common gripe about 6001 is that information wasn't thorough enough and lacked the 'human' interaction of AQB. The most common gripe about AQB was about the time it took to get a response back where 6001 usually takes only a minute to respond. Overall the feedback was positive as was the general response following Google, Grameen and MTN revealing that they were partnering to deliver the SMS applications (SMS Search, Google Trader, and Google Tips) the day prior.
These are really exciting times for Question Box!
Question Box's Nat Futterman and QB Uganda operators Sarah and Fiona hard at work.


text:
Browse our 2017/2018 Season collection featuring 684 photos
Our pictures are available as a range of Wall Art and Photo Gifts including Framed Prints, Posters, Canvas Prints, Jigsaw Puzzles and other Photo Gifts - all professionally made and delivered to your door quickly and securely
Spurs v Leicester (Home) 13/05/2018
Spurs v Newcastle (Home) 09/05/2018
Spurs v West Bromwich (Away) 05/05/2018
Spurs v Watford (Home) 30/04/2018
Spurs v Brighton (Away)17/04/2018
Spurs vs Manchester City (Home) 14/04/2018
Spurs v Stoke City (Away) 07/04/2018
Spurs v Chelsea (Away) 01/04/2018
Spurs v Bournemouth (Away) 11/03/2018
Spurs v Huddersfield (Home) 03/03/2018
Spurs v Crystal Palace (Away) 25/02/2018
Spurs v arsenal (Home) 10/02/2018
Spurs v Liverpool (Away) 04/02/2018
Spurs v Manchester United (Home) 31/01/2018
Spurs v Southampton (Away) 21/01/2018
Spurs vs Everton (Home) 13/01/2018
Spurs v West Ham (Home) 04/01/2018
Spurs v Swansea (Away) 02/01/2018
Spurs vs Manchester City (16/12/2017)
Spurs v Burnley (Away) 23/12/2017
Spurs v Southampton (Home) 26/12/2017
Spurs v Brighton (Home) 13/12/2017
Spurs v Stoke City (Home) 9/12/2017
Spurs v West Brom (Home) 25/11/2017
Spurs v Leicester City (Away) 28/11/2017
Spurs v Watford (Away) 02/12/2017
Spurs v Arsenal ( Away) 18/11/2017
Spurs v Crystal Palace (Home)
Spurs v Man Utd (Away) 28/10/2017
Spurs v Bournemount (Home) 14/10/2017
Spurs vs Liverpool (Home) 24/10/2017
Spurs v Hudderfield (Away) 30/09/2017
Spurs v West Ham (Away) 23/09/2017
Spurs v Swansea (Home) 16/09/2017
Spurs v Everton (Away) 09/09/2017
Spurs v Burnley (Home) 27/08/2017
Spurs v Chelsea (Home) 20/08/2017
Spurs v Newcastle United (Away) 13/08/2017
Newcastle United v Tottenham Hotspur - Premier League
Chelsea v Tottenham Hotspur - Premier League
Tottenham Hotspur v Crystal Palace - Premier League
Fbl-Eng-Pr-West Brom-Tottenham
Liverpool v Tottenham Hotspur - Premier League
Tottenham Hotspur v Arsenal - Premier League
West Ham United v Tottenham Hotspur - Premier League
Tottenham Hotspur v Manchester United - Premier League
Tottenham Hotspur v Burnley - Premier League
Tottenham Hotspur v Leicester City - Premier League
Tottenham Hotspur v Watford - Premier League
Tottenham Hotspur v Southampton - Premier League
Fbl-Eng-Pr-Tottenham-Southampton
Fbl-Eng-Pr-Tottenham-Crystal Palace
Tottenham Hotspur v Chelsea - Premier League
Fbl-Eng-Pr-Tottenham-Leicester
Fbl-Eng-Pr-Tottenham-Newcastle
Tottenham Hotspur v Newcastle United - Premier League
Tottenham Hotspur v Manchester City - Premier League

redpajama_set_name: RedPajamaCommonCrawl


text:
Aloidendron dichotomum subsp. ramosissima o Aloidendron ramosissima Pillans, es una especie de planta suculenta perteneciente a la familia Xanthorrhoeaceae (anteriormente en el género Aloe). Es originaria del sur de África.

Descripción
Aloidendron ramosissima es profusamente ramificada sin tronco principal y es esta característica la que hace que sea fácil distinguir entre ella y Aloidendron dichotomum.

Aloidendron ramosissima alcanza los dos o tres metros de altura con buen tallos, está tan altamente ramificada que parece una planta arbustiva. Tiene su origen en pequeñas rosetas de hojas, las cuales son alargadas y de color verde grisáceo con 200 mm en longitud y 20 mm de ancho en la base. Los márgenes de las hojas pequeñas son de color marrón y tienen dientes. Las flores son producidas en una inflorescencia de 200 mm de largo, las flores son de color amarillo y son bastante grandes. Florece de junio a agosto en el hemisferio sur.

Distribución y hábitat
Se encuentran en Namibia y Sudáfrica. Se le trata en peligro de extinción por pérdida de hábitat. Vulnerables debido a la actividad minera y el sobrepastoreo. Se encuentra sólo en el Parque nacional de Richtersveld y el sur de Namibia.

Taxonomía
Aloidendron dichotomum subsp. ramosissima fue descrita por (Pillans) Zonn. y publicado en Bradleya; Yearbook of the British Cactus and Succulent Society 20:10, en el año (2002). 2002.

Etimología

Aloeidendron: nombre genérico de origen muy incierto: podría ser derivado del griego άλς, άλός (als, alós), "sal" - dando άλόη, ης, ή (aloé, oés) que designaba tanto la planta como su jugo - debido a su sabor, que recuerda el agua del mar. De allí pasó al Latín ălŏē, ēs con la misma aceptación, y que, en sentido figurado, significaba también "amargo". Se ha propuesto también un origen árabe, alloeh, que significa "la sustancia amarga brillante"; pero es más probablemente de origen complejo a través del hébreo: ahal (אהל), frecuentemente citado en textos bíblicos. La parte de "dendron" viene del griego "dɛndrɒn" que significa "árbol".

ramosissima: epíteto que significa "muy ramificada".
Sinonimia
 Aloidendron dichotomum var. ramosissimum (Pillans) Glen & D.S.Hardy
 Aloidendron ramosissimum Pillans

Referencias

Enlaces externos
{
 http://www.succulents.co.za/aloes/tree-aloes/aloe-ramosissima.php

Asphodeloideae
Flora de África austral
Flora de África continental

redpajama_set_name: RedPajamaWikipedia


Name Type Description Manufacturer Location Keywords; SPSS: Statistical A statistical Package, designed for analysing data. Flint Cottage Buntingford, Rushden, Treacle Lane Herts.
The Online Stock Trading Software Review. Learn more about Revu for Mac to increase your workflow productivity. CAD ar Sally Marvin, Please forward this to Laura Hillenbrand. Utilize Bluebeam Revu' s core PDF editing markup collaboration capabilities on Mac. Get access to professional functionality like leading edge indicators drawing tools while trading CFDs† forex on OANDA' s Desktop platform. IBM SPSS: Staff WTS Cluster WTS.
CFD & FOREX DESKTOP TRADING PLATFORM. Vocal software articles vocal software downloads, free spectographs reviews for singers at Vocalist.
CAD software for Mac. It is diagnosed by symptoms as the Lyme bacteria compromise the immune system and it cannot be detected by normal tests.
The Screaming Frog SEO Spider is a small desktop program ( PC script , Mac) which crawls websites' links, CSS, images apps from an SEO perspective. Affinity Designer - the fastest smoothest, most precise professional graphic design software for desktop iPad. Drawing software for mac uk. Welcome to the most detailed Stock Trading Software Review on the planet we compare over 800 different features & functions , over 30 vendor products ultimately this filters down to highly rated software offerings from industry giants to new entrants. Her chro if profound fatigue is a classic symptom of Lyme disease.
Drawing software for mac uk. Page 1 of 2 - TRAX1 & TRAX2 - Layout Wiring & Track Design Software - posted in Layout & Track Design: TRAX1 & TRAX2 - Layout Wiring & Track Design Software - User Help Discussion ThreadI have decided to start a thread to act a reference point for the two TRAX model railway design software programs: TRAX 1 - Wiring the LayoutTRAX 2 - Track ConstructionI have sought gained permission.
, SG9 0SL: Tel: e- mail: We are The Premier Software House for Quilters in Europe.
Affinity Designer - the fastest, smoothest, most precise professional graphic design software for desktop and iPad. TheINQUIRER publishes daily news, reviews on the latest gadgets and devices, and INQdepth articles for tech buffs and hobbyists. Watch the design film; Our goal with MacBook was to do the impossible: engineer a full‑ size experience into the thinnest, lightest Mac notebook sign.
The Mac mini is broadly the same design as the previous model, but with one major change: it now comes in Space Grey rather than Silver, a move Apple said is partly to appeal to the.
Phylogeny programs page describing all known software for inferring phylogenies ( evolutionary trees). How to choose CAD software. CAD Software comparisons.
FREE CAD software. CAD software reviews.


text:
Of course, one of the most important steps in the process of selling products is setting prices. One of benefits of using Amazon to sell goods online is that you can see what other merchants are charging for similar items. If you want to make sure your copy of The Scarlet Letter sells over the other ones listed, set the price with shipping lower than your competitors. You can also specify whether you want to handle the shipping yourself or allow Amazon to do so.
Depending on which options you choose, using an online marketplace like Amazon can make the fulfillment process easier for new and small businesses. Not only can Amazon interact with customers on your behalf, saving you time while protecting your personal and private information, but it can also handle the entire shipping process, including returns. As a result, owners can concentrate on building their businesses.
While Amazon was expanding into streaming video, hardware, and cloud computing, it simultaneously maintained an aggressive push into even faster shipping and all new retail formats. The company started its same-day shipping initiative, Prime Now, in New York City in 2014, and it's since expanded it to dozens of cities around the world. Around the same time, Amazon began a program called AmazonFresh to stock and ship groceries — including vegetables and refrigerated and freezer products — that it used as a way to stay competitive with traditional big-box retailers like Walmart and Target and Uber-like logistics newcomers like Instacart. The company now sells its own line of meal kits through Fresh to rival ready-to-cook options from companies like Blue Apron and Plated.
This offer is valid ONLY to eligible Prime customers. To qualify, you must: (1) purchase the Amazon.com Gift Cards using the Amazon.com account to which you are currently logged in; and (2) enter promo code in the "Gift Cards & Promotional Codes" box when you check out.
Here's a special treat for Amazon Prime members: when you sign into your Amazon Prime account and buy Amazon gift cards worth at least $50, Amazon will deposit a $15 credit in your account! You'll get a notification banner in the last step of Checkout that lets you know your purchase qualified for the offer. If a promo code is requested, use this code. Don't leave free money on the table, grab this deal while it's hot! Some exclusions apply, see full instructions when clicking through.
When you sign up and get approved for the Amazon.com Rewards Visa Card from Chase (no annual fee!), you'll get $50 off your next purchase instantly. Click here for more details. Collect points and coupons as you shop at Amazon and use them to redeem more Amazon goods! You can also redeem for cash back, gift cards and travel. Get 3% back at Amazon and 1-2% back elsewhere! It's a win!
Receive free products and exclusive discounts from Amazon with Amazon Giveaways! Click here to find thousands of current Amazon Giveaways that are added and updated every day. No purchase is necessary to win, and you can even score exclusive coupons for up to 40% off just for entering! It's really that easy, sow hat are you waiting for? Click here to get your amazing freebies today!
Amazon, with its unfettered access to troves of valuable consumer and seller data, came upon a rather interesting business model around 2009, when it launched a private label division under the name AmazonBasics. It started first with the items the company noticed people most often purchased without thinking too hard about the brand name, like batteries and HDMI cables. But as The New York Times reported this past summer, this proved to be a way to fast track a fledgling product category into a massive money-making top seller — AmazonBasics' AA batteries now outsell Duracell and Energizer on Amazon.com after just a few years.
Save money without compromising quality when you shop Amazon Renewed! Products on Amazon Renewed are tested and certified by qualified suppliers to work and look like new and come with a minimum 90-day supplier warranty. Get great deals, like up to 33% off smartphones, computers, laptops, tablets, home and kitchen appliances, game consoles, office products, and more.
In the course of a single generation, Amazon has grown from fledgling online bookseller to one of the most valuable and powerful corporations in modern history. The empire of CEO Jeff Bezos has grown so vast that critics, overseas regulators, and Washington politicians are all now wondering whether the company has become an unstoppable force, and what, if anything, is capable of reining in its reach. A recent spat with Sen. Bernie Sanders (D-VT) resulted in a minimum wage hike for tens of thousands of employees, but Amazon still operates largely without any meaningful checks on its power even as it aggressively expands into physical retail, the smart home, and warehouse and aviation robotics.
In March 2015, it was reported in The Verge that Amazon will be removing non-compete clauses of 18 months in length from its US employment contracts for hourly-paid workers, after criticism that it was acting unreasonably in preventing such employees from finding other work. Even short-term temporary workers have to sign contracts that prohibit them from working at any company where they would "directly or indirectly" support any good or service that competes with those they helped support at Amazon, for 18 months after leaving Amazon, even if they are fired or made redundant.[190][191]
Amazon first entered the media industry as a major online retailer in the late '90s. The company began by selling CDs and DVDs to a burgeoning market of online shoppers who began turning to the internet for music and movies, before the technical feasibility of streaming and the advent of the iPod. But it wasn't until 2005, with the initial launch of Amazon Prime, that the company began laying the ground work for a future digital media ecosystem that integrated directly into its online store.
"Search Inside the Book" is a feature which allows customers to search for keywords in the full text of many books in the catalog.[126][127] The feature started with 120,000 titles (or 33 million pages of text) on October 23, 2003.[128] There are about 300,000 books in the program. Amazon has cooperated with around 130 publishers to allow users to perform these searches.[citation needed]
You can save even more money by shopping with discounted gift cards. "Companies like CardCash and Raise offer gift cards up to fifty percent off, so a one-hundred-dollar gift card could be purchased for only fifty dollars," says Conway of Slickdeals. "Some gift cards to popular merchants may be a lesser savings, but every dollar counts, especially if you're making a larger purchase."
The As Seen on TV logo is an unprotected image which can be used on any product. As such, you will get the most benefit from your product if you do your homework and check the reviews for the product before making a purchase. Going through the As Seen on TV Store on our website is a good way to make sure that you are examining only those products that have met the preferred quality standards.


text:
using System.Collections.Generic;
using System;
using ICSharpCode.NRefactory.TypeSystem;
using ICSharpCode.NRefactory.Semantics;
using ICSharpCode.NRefactory.Refactoring;

namespace ICSharpCode.NRefactory.CSharp.Refactoring
{
    [IssueDescription("[ThreadStatic] doesn't work with instance fields",
                      Description = "[ThreadStatic] doesn't work with instance fields",
	                  Category = IssueCategories.CodeQualityIssues,
	                  Severity = Severity.Warning,
                      AnalysisDisableKeyword = "ThreadStaticAtInstanceField")]
	public class ThreadStaticAtInstanceFieldIssue : GatherVisitorCodeIssueProvider
	{
		protected override IGatherVisitor CreateVisitor(BaseRefactoringContext context)
		{
			return new GatherVisitor(context);
		}

		class GatherVisitor : GatherVisitorBase<ThreadStaticAtInstanceFieldIssue>
		{
			IType threadStaticAttribute;

			public GatherVisitor(BaseRefactoringContext context) : base (context)
			{
				threadStaticAttribute = ctx.Compilation.FindType(typeof(ThreadStaticAttribute));
			}

			public override void VisitBlockStatement(BlockStatement blockStatement)
			{
			}

			public override void VisitFieldDeclaration(FieldDeclaration fieldDeclaration)
			{
                if (fieldDeclaration.HasModifier(Modifiers.Static))
                    return;

                foreach (var attributeSection in fieldDeclaration.Attributes) {
					int attributeCount = attributeSection.Attributes.Count;
					foreach (var attribute in attributeSection.Attributes) {
						var resolvedAttribute = ctx.Resolve(attribute.Type) as TypeResolveResult;
						if (resolvedAttribute == null)
							continue;
						if (threadStaticAttribute.Equals(resolvedAttribute.Type)) {
							string title = ctx.TranslateString("ThreadStatic does nothing on instance fields");
							if (attributeCount == 1)
								AddIssue(new CodeIssue(attributeSection, title, GetActions(attribute, attributeSection, fieldDeclaration)));
							else
								AddIssue(new CodeIssue(attribute, title, GetActions(attribute, attributeSection, fieldDeclaration)));
						}
					}
				}
			}

			IEnumerable<CodeAction> GetActions(Attribute attribute, AttributeSection attributeSection, FieldDeclaration fieldDeclaration)
			{
				string removeAttributeMessage = ctx.TranslateString("Remove attribute");
				yield return new CodeAction(removeAttributeMessage, script => {
					if (attributeSection.Attributes.Count > 1) {
						var newSection = new AttributeSection();
						newSection.AttributeTarget = attributeSection.AttributeTarget;
						foreach (var attr in attributeSection.Attributes) {
							if (attr != attribute)
								newSection.Attributes.Add((Attribute)attr.Clone());
						}
						script.Replace(attributeSection, newSection);
					} else {
						script.Remove(attributeSection);
					}
				}, attribute);

				var makeStaticMessage = ctx.TranslateString("Make the field static");
				yield return new CodeAction(makeStaticMessage, script => {
					var newDeclaration = (FieldDeclaration)fieldDeclaration.Clone();
					newDeclaration.Modifiers |= Modifiers.Static;
					script.Replace(fieldDeclaration, newDeclaration);
				}, fieldDeclaration.NameToken);
			}
		}
	}
}

redpajama_set_name: RedPajamaGithub


text:
How to Lower Your Electric Bill With Window Air Units
Written by Heath Robert; Updated December 17, 2018
1 Look Up the Utilities on a Property Before Moving In
2 How Many BTUs Are Needed for a Window Type A/C to Cool a 20x10 Room?
3 The Proper Voltage for Operating an Air Conditioner
4 Make a Window AC Heating Unit Work Better
Central air conditioners and refrigerators are the two largest consumers of energy in the average home. Supplementing or replacing a central air conditioning system with a window unit can dramatically reduce your electricity consumption and overall energy costs. By selecting the proper window unit for your needs, and by setting the unit to operate at peak efficiency and during proper times, you can expect to save big on your summer cooling bills and conserve electricity at the same time.
Selecting a Window Unit
Measure the room that you want to cool using a window unit by multiplying the length of the room by the width of the room. This will give you the room's square footage. Write down the total and bring it with you when shopping for a new window unit.
Compare the labels on the side of the window units to find the unit that best matches the square footage of your room. Purchasing a window unit that is designed for larger rooms will consume more electricity than a smaller unit that is designed for a smaller room. Select the unit that best matches your needs for the most energy-efficient unit.
Compare the labels on the window units that best match the size of your room for their seasonal energy efficiency ratio, or SEER rating. The higher the number, the more energy efficient the unit is. If there are multiple options that fit the size of your room, selecting a unit with a higher SEER rating will save you more money on electricity bills over time.
Programming the Unit
Set the unit's programmable timer, if it has one, to 78 degrees. This is a generally comfortable temperature that requires less energy to reach and maintain than cooler temperatures. For every one degree increase in the air conditioner setting, you will use between 1 percent and 3 percent less electricity (See Reference 3).
Set the programmable timer to operate only during the hours when you are home. It's a huge waste of electricity and money to cool a room that doesn't have any people in it. Setting the timer to begin when you arrive home from work and to end when you leave for the day will save money and energy.
Set a mechanical timer at the AC outlet where the air conditioner plugs in if the unit does not have a programmable timer. Set the unit to the "On" position and set the mechanical timer to turn on when you arrive home and off when you are away. This is a simple alternative for units that don't come with as many features.
Mechanical AC timer
Keep your curtains closed during the day to minimize heat transfer from windows.
Smartmoney.com: 13 Simple Ways to Lower Your Electricity Bills
Carbon Rally: Air Conditioners
Heath Robert has been a professional writer since 2001. Covering news, politics and local communities, he has worked for daily newspapers across Colorado, including the "Columbine Courier" and the "Colorado Statesman." Robert holds Bachelor of Arts degrees in journalism and political science.
Robert, Heath. "How to Lower Your Electric Bill With Window Air Units." Home Guides | SF Gate, http://homeguides.sfgate.com/lower-electric-bill-window-air-units-79542.html. 17 December 2018.
Robert, Heath. (2018, December 17). How to Lower Your Electric Bill With Window Air Units. Home Guides | SF Gate. Retrieved from http://homeguides.sfgate.com/lower-electric-bill-window-air-units-79542.html
Robert, Heath. "How to Lower Your Electric Bill With Window Air Units" last modified December 17, 2018. http://homeguides.sfgate.com/lower-electric-bill-window-air-units-79542.html
Estimate the Right Size of Gas Boilers for the Square Feet of the House
Reduce Your Carbon Footprint Now
Compare Residential HVAC Systems
What Can You Do to Reduce Pollution and Conserve Energy?
Select a Humidifier
Determine Proper Furnace Size
Heat a Home Efficiently With Propane
Measure the BTUs for the Size of a House
What Does an Air Exchanger Do on a Window Unit?
Look Up the Utilities on a Property Before Moving In
Calculate Heat Loss Through Windows
Save on Electricity in the Summer With Central Air


In this work, we present a rigorous mathematical framework for the usage of multiple patient-specific molecular images to enable model-based precision medicine, a paradigm of medical decision making defined by the employment of mathematical models of treatment efficacy to direct optimized treatment decisions for individual patients. We address the question of how to define and compute patient-specific probability of treatment success, using random field theory to define the notion of in silico virtual patient ensembles and patient-specific virtual clinical trials. We then provide a novel and rigorous deterministic and statistical analysis of photon-processing Emission Computed Tomography (ECT) data, highlighting the importance of functions and Poisson statistics in defining the virtual patient ensemble and probability of treatment success. We discuss novel high-performance parallel numerical methods to simulate virtual patient ensembles and photon processing ECT systems; these simulations will advance our understanding of the uncertainties inherent in imaging-based precision medicine. Finally, we present a spatially resolved model for chemotherapy efficacy that employs ECT data, and demonstrate how our framework can be used to define, compute and optimize patient-specific probability of treatment success in this setting.


text:
The Best Airline Stock to Own if Fuel Prices Stay High
One airline is uniquely positioned to post strong earnings if fuel prices remain elevated, thanks to its fuel hedging program and exposure to international markets where fuel surcharges are applied automatically.
Adam Levine-Weinberg
(TMFGemHunter)
Entering 2018, airlines expected to face significant profit headwinds from higher fuel costs, after oil prices soared nearly 50% in the second half of 2017.
Unfortunately, oil prices have continued to move higher in 2018, particularly since March. This has already forced American Airlines to cut its earnings-per-share forecast for 2018. Barring a reversal in the energy markets, other airlines are likely to follow suit in the coming months.
However, one U.S. airline is uniquely suited to weather the current environment of rising fuel prices: Hawaiian Holdings (NASDAQ:HA). Furthermore, Hawaiian Holdings stock trades for just seven times forward earnings, which makes this company a particularly attractive investment opportunity.
Fuel hedges intact at Hawaiian Airlines
Fuel hedging is one reason Hawaiian Airlines won't face as big a profit headwind from rising oil prices as its rivals. Many U.S. airlines have phased out their fuel hedging programs over the past few years, after having been burned by the 2014-2016 plunge in oil prices. But as a smaller carrier, Hawaiian decided to continue its relatively modest fuel hedging program in order to reduce its vulnerability to oil price shocks.
Unlike most airlines, Hawaiian Airlines still hedges its fuel costs. Image source: Hawaiian Airlines.
Not surprisingly, this strategy didn't pay off in the past couple of years. Hawaiian Airlines reported $27.6 million of settled hedge losses in 2016 and $534,000 of settled hedge losses in 2017. However, the recent surge in oil prices has changed the equation completely.
In the first quarter, Hawaiian had a realized gain of $5.7 million from fuel hedges. As of the end of the quarter, its remaining fuel hedges -- most of which cover the last nine months of 2018 -- had a market value of $19.7 million.
Oil prices (and jet fuel prices) have increased by more than $0.20 per gallon since the end of the first quarter. If that price level holds, Hawaiian Airlines would likely recognize an additional $20 million or more of hedge gains during the remainder of 2018. Including the $5.7 million gain realized in the first quarter and the $19.7 million of hedging gains on the books as of March 31, Hawaiian's 2018 hedging gains could boost its pre-tax margin by at least 1.5 percentage points.
Fuel surcharges will boost revenue
In theory, airlines should react to rising fuel prices by raising fares to offset cost increases. In practice, industry competitive dynamics rather than fuel costs have been the main driver of fare levels recently. In some markets, airlines have been able to recover their fuel cost increases. In others, stiff competition has held fares down.
However, a few international markets -- most notably, Japan -- have fuel surcharges that adjust automatically over time based on the price of jet fuel (albeit with a lag). Hawaiian Airlines gets about 15% of its revenue from Japan, so rising fuel surcharges there are a big unit revenue tailwind for the carrier. Last quarter, unit revenue surged 11.9% year over year in Hawaiian's international markets. Management estimated that fuel surcharges increased unit revenue by about 1 percentage point on a companywide basis.
Hawaiian Airlines has a major presence in Japan. Image source: Hawaiian Airlines.
For tickets purchased between August 2017 and November 2017, the fuel surcharge on flights between Japan and Hawaii was just 2,000 yen one-way. The surcharge rose to 4,000 yen in December and has been set at 6,000 yen (about $55 since the beginning of February.
The recent surge in jet fuel prices will drive fuel surcharges higher later this year. The price of jet fuel has averaged more than 9,000 yen per barrel over the past two months, which will cause the one-way fuel surcharge to reach 8,500 yen for tickets purchased in August and September (up from 2,000 yen a year earlier).
In the past week or so, Singapore jet fuel prices have surpassed 10,000 yen per barrel. If prices stay at this level or rise further in the next two months, the fuel surcharge would reach 11,000 yen (approximately $100) one-way for tickets bought in October and November. As a result, the year-over-year unit revenue tailwind from higher surcharges could easily double to 2 percentage points by the fourth quarter of this year.
Primed for strong profits
Hawaiian Airlines certainly isn't immune to rising fuel prices. But while most of its rivals are facing a roughly 6-percentage-point margin headwind from rising fuel costs this year, Hawaiian Airlines is on track to recover about half of that amount from fuel hedging gains and higher fuel surcharges on international routes. Meanwhile, strong demand has kept fares quite stable in the West Coast-Hawaii market, despite a surge in competition there this year.
Analysts currently expect Hawaiian Holdings' adjusted EPS to rise 9% in 2018, relative to the company's restated 2017 results. Apparently, they expect higher fuel costs (and perhaps also higher competition in the West Coast-Hawaii market) to offset most of the 25%-30% benefit from a lower tax rate and a lower share count.
This seems too pessimistic. Rising fuel surcharges and fuel hedging gains should enable stronger EPS growth at Hawaiian Holdings, which could enable the stock to rally later this year.
Hawaiian Holdings
NASDAQ:HA
Airlines' Growth on Hawaii Routes Is Set to Slow
3 Stocks That Are Absurdly Cheap Right Now
Hawaiian Airlines Is Banking On Growth in Japan
Why iRobot, Hawaiian Holdings, and Sirius XM Holdings Slumped Today
Hawaiian Holdings Earnings: Margin Pressure Continues
The Best Airline Stock to Own if Fuel Prices Stay High @themotleyfool #stocks $HA Next Article


'Invasion of the Triceratons' Part 1 of 5. A small force of armed extra-dimensional Triceratons have arrived in the heart of NYC! Will the Earth welcome them or destroy them? Bullet points: * The start of a major new story arc!


text:
100-year-old tree stump is made into a whimsical free public library
By Inigo
There's a Little Free Library in Idaho that, judging by its appearance, should be called Little 'Tree' Library.
For those unfamiliar with Little Free Library, it's a network of 75,000 small libraries – usually in the form of tiny house-like structures near busy streets – where bibliophiles can donate or take books.
The neat thing about this initiative is that, aside from promoting a love of literature, it also encourages participants to get creative with their little libraries. For example, this library in Chicago's Andersonville neighbourhood mimics a Swedish flag-bedecked water tower
I love this little free library that's modeled after the Andersonville water tower pic.twitter.com/f0JZxfdDfo
— Parker Molloy (@ParkerMolloy) June 3, 2018
Meanwhile, in the city of Coeur d'Alene, Idaho, artist and librarian Sharalee Armitage Howard turned a 100-year-old stump into a Little Tree Library. It features a quaint glass door, interior and exterior lighting, a roof, and even dentils in the form of classic titles.
What was once an unremarkable stump has now become a place where the local community can foster a culture of reading!
You can learn more about Little Free Library here.
0 0 Comments (0)
Name Email Email


text:
Home | News | New mobile units can create instant palliative care rooms
By Her Side, Nyein Chan Aung's painting of the Melbourne hospital room where his mother-in-law was receiving palliative care.
New mobile units can create instant palliative care rooms
By: Conor Burke in News, Top Stories November 10, 2020	0
A research team from Monash University has designed portable units which can transform acute and sub-acute hospital rooms into temporary palliative care rooms.
The Pal-care unit is the brainchild of the husband and wife team of Dr Thinn Thinn Khine and Dr Nyein Aung and looks to improve family togetherness during the palliative experience of a loved one.
The unit features a fold-out bed for visitors and a digital connectivity module so end-of-life patients can connect with the outside world.
Dr Khine was inspired to improve palliative care when she experienced the process first-hand with her late mother, Julia.
"During this personal experience and journey, we have noted that there are significant knowledge and design gaps in health system infrastructure and service design in relation to facilitating family togetherness in end-of-life care," she said.
Her husband Dr Aung, senior design research officer at Monash Design Health Collab, was similarly inspired after nights spent of the floor of his mother in-law's hospital room.
"Thinn Thinn took most of the night shifts, and I accompanied her every night, but the palliative care room and the furniture inside was not meant for two overnight visitors, so I had to sleep on the floor," he said.
"From this experience, we designed a system to help create better end-of-life care for palliative care patients."
In Australia, only about a third of palliative patients receive care in a designated palliative care room. Of the country's 673 public acute hospitals, only 133 have dedicated hospice units, about a third of which are located in NSW.
"We know from the data that the majority of the population want to die at home or close to home, but people are still dying in hospital because dying at home is still a huge task," Khine said.
"As clinicians, we have these thoughts in our mind when we are interacting with patients, but we have no idea how to turn this into an actual product or design, or something to touch and hold. So we are very fortunate to be able to collaborate with an industrial designer, Nyein, who is, fortunately, my husband.
"When I am dying, something I would want might be quite different to what you would like. How do we define those things?"
The unit is ideal for a health system which is under-resourced, said Aung, and the lack of fit-to-purpose palliative care spaces can be offset by these space saving units.
"Losing a loved one will always hurt," said Nyein. "I don't think we can design or invent our way around that. But that pain doesn't have to become trauma. That's when design can be useful."
The digital connectivity module can be used to charge and display any electronic devices a patient may have, such a iPhones, enabling patients to digitally spend time with family, beyond the hospital – particularly useful currently as COVID-19 places restrictions on visitation.
For Khine, it's all about being with a loved one in their final moments.
"The main advantage of this system is improved family togetherness – both physically and digitally. The digital connectivity module is especially relevant now due to physical distancing and current jurisdictional requirements during the COVID-19 pandemic, and people are dying alone," Khine said.
The portable system is at the concept visualisation stage and the researchers aim to develop a working physical prototype by December.
Do you have an idea for a story?
Conor Burke


text:
Menopause Now All about each symptom of menopause
Changes in Odor
Electric Shocks
Postmenopause
Premature Menopause
Menopause Symptoms
5 Natural Remedies to Stop Digestive Problems
By Leigh K. | Updated: Jun 18, 2020
Digestive problems can occur during many stages of a woman's life, including during menopause. A wide spectrum of digestive conditions are classified as "digestive problems", but some advice can work to treat some of these issues. There are things that you can do in order to remedy digestive problems and stop conditions like bloating that can be uncomfortable and distracting.
Probiotics are live organisms that are found naturally in the digestive tract. Also known as "friendly bacteria", probiotics can improve digestive health and protect you from a range of conditions, including bloating, diarrhea, and constipation. Probiotics are most famously found in many yogurts, but they can also be consumed in the form of cottage cheese, kefir, sauerkraut, miso, kimchi, and wheat grass.
Many hot teas can be excellent digestion aids that act to calm the stomach. However, ginger is one of the very best, especially for reducing bloating and trapped gas. Another benefit of selecting ginger is the ease of making it. Simply boil fresh ginger root inside a pot for a few minutes and serve. Grating ginger onto meals can also help to remedy digestive problems.
Aloe vera juice contains a host of different vitamins, minerals, and other nutrients that can help towards remedying digestive problems. Regularly drinking a glass of aloe vera juice can help keep you protected from gastrointestinal problems. However, aloe vera latex should not be used for an extended period of time.
Exercise can often feel like the last thing you want to do when you are suffering from digestive problems. However, it can also be one of the most effective remedies for it, because it can help relieve stress, which has a major impact on your digestive system. Body movement in itself can also help to regulate digestion and promote peristalsis, or the proper passage of food through bowels.
Pineapples contain a large amount of bromelain, an enzyme that helps to break down and digest the proteins from food, aiding one of the most significant parts of digestion. Pineapple is an effective remedy for digestive problems, whether it is eaten whole and raw, cooked as part of a meal, or drank as pineapple juice.
Digestive problems can frustrating, but the natural remedies listed above can go a long way in providing relief from a range of different digestive problems. However, if you have any further worries or concerns, the best thing to do is to seek the opinion of your doctor. For further information on how to deal with these digestive issues, follow the link below.
Treatments for Digestive Problems
Aragon, G. , Graham, D.B. , Borum, M. & Doman, D.B. (2010). Probiotic Therapy for Irritable Bowel Syndrome. Gastroenterology & Hepatology, 6(1), 39-44. Retrieved from http://www.ncbi.nlm.nih.gov/pmc/articles/PMC2886445/
Foster, M. , Hunter, D. & Samman, S. (2011). Herbal Medicine: Biomolecular and Clinical Aspects. 2nd edition. Chapter 3: Evaluation of the Nutritional and Metabolic Effects of Aloe vera. Boca Raton: CRC Press.
National Center for Complementary and Alternative Medicine. (2008). Research Shows Promise of Pineapple Extract for Inflammatory Bowel Disease. Retrieved October 29, 2013, from http://nccam.nih.gov/research/results/spotlight/070108.htm
National Institutes of Health. (2013). Ginger: MedlinePlus Supplements. Retrieved October 29, 2013, from http://www.nlm.nih.gov/medlineplus/druginfo/natural/961.html
van Nieuwenhoven, M.A. , Brouns, F. & Brummer, R.J. (1999). The effect of physical exercise on parameters of gastrointestinal function. Neurogastroenterology and motility, 11(6), 431-439. Retrieved from http://www.ncbi.nlm.nih.gov/pubmed/10583850
National Health Service UK. (2012). Digestive health. Retrieved October 29, 2013, from http://www.nhs.uk/livewell/digestive-health/Pages/digestive-health.aspx
How to Choose Fiber-Packed Foods at the Grocery Store
Eating more foods with fiber is a great way to manage digestive problems associated with menopause. Whole grains contain copious fiber, but sometimes...
Digestive System Problems
Menopause can lead to digestive problems. Click here to learn more.
More on Digestive Problems
Digestive Problems Overview
About Digestive Problems
Digestive Functions
Causes of Digestive Problems
Hormonal Causes
Other Causes
Digestive Problems Treatments
Receive Our Updates
MenopauseNow.com
MenopauseNow.com is dedicated to providing reliable, up-to-date information and advice on the most common topics in women's health, including PMS, menopause, natural hormones, hormonal conditions, and fertility.
©Copyright 2020. MenopauseNow.com. All Rights Reserved.


text:
\section{Introduction \label{sec:intro}}

Calculations predict that supernova and neutron-star-merger neutrinos experience fast flavor instabilities at some times and locations, possibly with important consequences for the dynamics, composition, and neutrino signal \cite{sawyer2005, sawyer2009, sawyer2016, chakraborty2016b, chakraborty2016c, dasgupta2017, tamborra2017, wu2017, wu2017b, dasgupta2018, dasgupta2018b, airen2018, abbar2018, abbar2019, abbar2019b, azari2019, shalgar2019, nagakura2019, capozzi2019, capozzi2019b, yi2019, chakraborty2020, martin2020, johns2020, johns2020b, shalgar2020b, capozzi2020, xiong2020, shalgar2020, shalgar2020c, bhattacharyya2020b, morinaga2020, glas2020, abbar2020b, padilla2020, george2020, martin2021, bhattacharyya2021, bhattacharyya2021b, richers2021, tamborra2020, abbar2020, abbar2021, capozzi2021, li2021, morinaga2021}. Of the physical conditions that affect stability, the electron-lepton-number (ELN) angular distribution $G(\mu)$ is recognized as being particularly important:
\begin{equation}
G(\mu) =  \int_0^{\infty} \frac{dE_\nu E_\nu^2}{(2\pi)^2} \left( g_{\nu_e} (E_\nu, \mu) - g_{\bar{\nu}_e} (E_\nu, \mu) \right),
\end{equation}
where $g_{\nu_e}$ and $g_{\bar{\nu}_e}$ are the neutrino and antineutrino distribution functions, $E_\nu$ is neutrino energy, and $\mu = \cos\theta$ is the angle of propagation away from the radial direction. (Axial symmetry is assumed and differences among the heavy-lepton flavors are ignored.) Angular crossings of $G(\mu)$---points where the function passes through 0---are associated with fast instability.

Since the presence of angular crossings is a simple criterion, searching for crossings is a useful alternative to running every single location through linear stability analysis. But while the criterion is straightforward to apply if the neutrino angular distributions are known, they usually are not. Because of the high complexity of supernova and merger physics, sacrifices simply have to be made in some aspects of the problem, even when using the most powerful supercomputers. Computing neutrino transport with high angular resolution in momentum space---that is, finely resolving the $\mathbf{\hat{p}}$-dependence of the neutrino distributions---is expensive, and many radiation-hydrodynamics simulations opt for evolving only the lowest moments of the angular distributions (the energy densities and fluxes, for example). Thus we face the question that occupies us here: \textit{How can this limited amount of information best be used in the search for angular crossings?}

Recently a few publications have advocated and adopted a search procedure that involves applying polynomial weighting functions to $G(\mu)$ \cite{abbar2020, abbar2021, capozzi2021}. In Sec.~\ref{sec:points} we examine this approach. We find that it never introduces spurious crossings but sometimes misses physical ones. In our view, more evidence is needed to establish whether this approach has any advantages over searching point-by-point for crossings in $G(\mu)$.

In Sec.~\ref{sec:criteria}, inspired by Ref.~\cite{abbar2020}'s contrasting of the polynomial method with other criteria found in the literature, we offer our own remarks on the similarities and differences.

Regardless of how the search is conducted, it inevitably runs into problems in (semi)transparent regions if only the first few angular moments are employed. In Sec.~\ref{sec:closures} we demonstrate this point, emphasizing that a closure prescription can be adequate for energy--momentum transport while being inadequate for angular-crossing searches. The paradigmatic example is a highly forward-peaked distribution. This case is easy to describe from the transport perspective: particles travel like a beam, and pressure is nonzero only along the flux direction. But the same distribution flusters angular moments, as very many of them are required to specify an approximation that is not compromised by unphysical features like negative particle numbers.

In this paper we use \textit{completion} to mean a prescription for reconstructing angular distributions from the first few moments (or, equivalently, generating all higher moments). We use this term in contrast with \textit{closure}, by which we mean a prescription for generating a finite number of higher moments. In practice, closures usually only specify moments that are one or two ranks above those that are actually being evolved, because that suffices to close the hierarchy of coupled transport equations. Our goal, however, is not to approximate transport by truncating the hierarchy of equations: our goal is to fill in the details of the angular distributions. We would prefer to complete, rather than close, the angular distributions that are output by moment-based simulations.

Here we focus on two completions that depend only on the neutrino flux factor $f = F / E$, where $F$ is the energy flux and $E$ is the energy density. The \textit{maximum-entropy completion} fills in the details by assuming that the angular distribution is of an entropy-maximizing form. The same distribution types have been used to motivate closures; here we are simply adopting them for a different (but obviously related) purpose. We compare this first prescription with the \textit{sharp-decoupling completion}, which maps an angular distribution with flux factor $f$ onto the angular distribution in the supernova bulb model with the same flux factor. These two completions are presented in Sec.~\ref{sec:completions}.

We also find in Sec.~\ref{sec:completions} that, given the same 0th and 1st moments, closed and completed distributions do not always agree on whether a crossing occurs. The disagreement can go either way, with closed distributions exhibiting a crossing not found with completed distributions or vice versa. In view of this fact, we urge caution when presenting or interpreting stability analyses that apply closures to obtain the angular distributions.

The maximum-entropy and sharp-decoupling completions have their own strengths and weaknesses, and we are not endorsing either one as a final answer to the question of how best to search for angular crossings using moment data. In Sec.~\ref{sec:discussion} we indicate the steps we will take elsewhere to provide a more actionable answer to this question.

\section{Points vs. polynomials \label{sec:points}}

In the method proposed in Ref.~\cite{abbar2020} and utilized in Refs.~\cite{abbar2021, capozzi2021}, a weighting function is introduced,
\begin{equation}
\mathcal{F}(\mu) = \sum_{n=0}^N a_n \mu^n \label{Fmudef},
\end{equation}
such that $\mathcal{F}(\mu) > 0$ for all $\mu \in [-1,1]$. The coefficients $a_n$ are arbitrary aside from having to satisfy the positivity constraint, and $N$ labels the highest angular moment for which simulation data is available. A weighted version of the ELN angular distribution is then formed,
\begin{equation}
I_\mathcal{F} = \int_{-1}^{1} d\mu ~\mathcal{F}(\mu) G(\mu), \label{IFdef}
\end{equation}
and the search for angular crossings is conducted by searching for functions $\mathcal{F}(\mu)$ that satisfy
\begin{equation}
I_\mathcal{F} I_0 < 0, \label{IFI0}
\end{equation}
where
\begin{equation}
I_n = \int_{-1}^{1} d\mu ~ \mu^n G(\mu).
\end{equation}
The idea is that if there is an angular crossing, a well-chosen polynomial $\mathcal{F}(\mu)$ will exaggerate the region where the crossing occurs, causing the integrated quantity $I_\mathcal{F}$ to have a different sign than $I_0$. We call this search procedure the \textit{polynomial method}.

An alternative is to simply scan over $G(\mu)$, evaluating the function at different values of $\mu$ and checking if it changes sign (the \textit{point-by-point method}). Ref.~\cite{abbar2020} does not explain why (or whether) the polynomial method is superior to the point-by-point method---the latter procedure is not mentioned---but the paper does observe, just as $\mathcal{F}(\mu)$ is being introduced (footnote 2), that an angular-moment expansion cannot be used to approximate $G(\mu)$ because higher moments are not necessarily negligible---they simply are not provided by moment-based simulations. We agree with this point and develop it further in Sec.~\ref{sec:closures}.

However, the polynomial method does not evade the issue of non-negligible higher moments. The product $\mathcal{F}(\mu) G(\mu)$ that appears in Eq.~\eqref{IFdef} is a kind of reshaped version of $G(\mu)$, and so it might be thought that the method in some way explores a fuller range of ELN angular distributions (because of the flexibility in $\mathcal{F}$) while at the same time being informed by the simulation's output (because the starting point is $G$). This is not the case, unfortunately. Let $G'(\mu) \equiv \mathcal{F}(\mu) G(\mu)$ be the reshaped ELN angular distribution. Then
\begin{equation}
I_\mathcal{F} = \int_{-1}^1 d\mu~G'(\mu) = I'_0,
\end{equation}
and the criterion $I_\mathcal{F} I_0 < 0$ becomes $I'_0 I_0 < 0$, which simply checks if $G(\mu)$ is capable of being reshaped in such a way that the overall lepton number changes sign. The polynomial method is thus in no way akin to searching for crossings in physically motivated modifications of the moment-reconstructed distribution. In fact the procedure is in quite the opposite spirit: the distribution is reshaped so as to \textit{artificially} exaggerate crossing regions. The polynomial and point-by-point methods are equally limited by truncation of the angular-moment expansion.

Moreover, the polynomial method sometimes misses angular crossings. (Because $\mathcal{F}(\mu) > 0$, spurious crossings are never created by the search procedure itself, although they may appear due to neglecting higher moments in the ELN angular distribution.) As an example of missed crossings, let $N = 1$, define $\epsilon$ by
\begin{equation}
\frac{I_1}{I_0} = \frac{1}{3} + \epsilon, \label{epsdef}
\end{equation}
and consider the case with $I_0 > 0$. Since
\begin{equation}
G(\mu) = \frac{I_0}{2} \left( 1 + 3\mu \frac{I_1}{I_0} \right),
\end{equation}
a crossing exists in the backward direction for $\epsilon > 0$. The criterion $I_\mathcal{F} I_0 < 0$ can be rewritten as $I_\mathcal{F} / I_0 < 0$, giving
\begin{equation}
a_1 < - \frac{a_0}{\frac{1}{3} + \epsilon} ~ \left[ \textrm{for crossing to be found} \right]. \label{N2crit}
\end{equation}
Assume that $a_0 > 0$. Then Eq.~\eqref{N2crit} entails
\begin{equation}
\mathcal{F}(\mu = +1) < a_0 \left( 1 - \frac{1}{\frac{1}{3} + \epsilon} \right).
\end{equation}
This says that if $0 < \epsilon < 2/3$, then $\mathcal{F}(\mu = +1)$ must drop below 0 in order to satisfy $I_\mathcal{F} I_0 < 0$. If instead $a_0 < 0$, then $\mathcal{F}(\mu = -1) < 0$ for all $\epsilon > 0$. Therefore many ELN angular distributions with crossings will not be identified as such in the polynomial search. The requisite polynomials are excluded by the positivity condition.

The idea being demonstrated here is that because $\mathcal{F}(\mu)$ is required to be nonnegative, it is limited in how much it can amplify certain regions relative to other ones. The ELN angular distribution itself is not limited in this way, and so small enough crossings can go unnoticed. This intuitive point is illustrated in Fig.~\ref{missed_crossing}. $\mathcal{F} (\mu)$, the purple curve, weights the backward direction as much as possible relative to the forward direction, hoping to amplify the crossing region and make $I_\mathcal{F}$ go negative, but $\mathcal{F}(\mu) G(\mu)$ can only be distorted so much. The area under the solid green curve remains positive.

\begin{figure}
\centering
\includegraphics[width=.43\textwidth]{missed_crossing.pdf}
\caption{$G(\mu)$ (dashed green curve), $\mathcal{F}(\mu)$ (purple), and $\mathcal{F}(\mu)G(\mu)$ (solid green) vs. $\mu = \cos\theta$, adopting $\epsilon = 1/6$ (Eq.~\eqref{epsdef}). The angular crossing at $\mu \cong -0.7$ is not detected by the polynomial search.}
\label{missed_crossing}
\end{figure}

Based on the considerations above, we are unable to see any advantages to the polynomial method as compared to scanning point-by-point over $G(\mu)$. The latter is in fact equivalent to using delta functions in place of $\mathcal{F}(\mu)$, and because the philosophy of the polynomial method is that crossing regions should be amplified as much as possible, delta functions would intuitively seem to be the best way to accomplish this. The point-by-point method could also very well be more efficient, since the scan is directly over $\mu$ rather than over $N$th-degree polynomials with coefficients satisfying a constraint that must itself be satisfied at all $\mu \in [-1,1]$.

The possibility certainly remains that we have overlooked something in our assessment. Since the polynomial method has now been used in multiple publications on fast instabilities, it would be a valuable contribution to the literature for any advantages we may have overlooked to be spelled out.

\section{Zero modes, pendulums, \& polynomials \label{sec:criteria}}

Seeing as how several other instability criteria can be found in the literature, it may be worthwhile to clarify how they all relate to one another.

The most rigorous test of stability involves linearizing the equations of motion---more particularly, making them linear in the off-diagonal elements of the density matrices---and searching for normal-mode solutions of the form $e^{- i \Omega t + i K x}$, where for simplicity we assume a single spatial dimension \cite{banerjee2011,izaguirre2017}. The result is a dispersion relation that involves integrals such as
\begin{equation}
\int_{-1}^1 d\mu \frac{\mu^m}{w + z \mu},
\end{equation}
where $w = w (\Omega)$ and $z = z (K)$. Generally the dispersion relation is therefore transcendental and must be solved numerically.

Ref.~\cite{dasgupta2018} pointed out that by picking $K$ such that $z = 0$, the dispersion relation simplifies from a transcendental equation to a quadratic one, allowing one to solve for $\Omega (K_0)$ analytically. ($K_0$, the \textit{zero mode}, is the value of $K$ for which $z = 0$.) The criterion $\textrm{Im}~\Omega \neq 0$ can then be written as
\begin{equation}
\left( I_0 + I_2 \right)^2 - 4 I_1^2 < 0. \label{zero_mode}
\end{equation}

Ref.~\cite{johns2020} derived two different criteria that apply to homogeneous ($K = 0$) fast instabilities. The first of these comes from the demand that there be a trajectory $\tilde{v} \in [-1, 1]$ that satisfies a certain kind of resonance condition in the linear regime. If such a trajectory exists, the system is unstable. The criterion is simply
\begin{equation}
I_2^2 < I_1^2. \label{pend1}
\end{equation}
The other criterion comes from the pendulumlike nature of fast flavor conversion and reads
\begin{equation}
I_2^2 \leq \frac{4}{5} I_1 \left( 5 I_3 - 3 I_1 \right). \label{pend2}
\end{equation}
In Ref.~\cite{johns2020} these criteria served the purpose of demonstrating the validity of the paper's analysis, showing in particular how the analysis allows for criteria to be formulated that improve (in the homogeneous setting considered) upon the angular-crossing criterion. They can be viewed as being complementary to the zero-mode test of Ref.~\cite{dasgupta2018}, but one should be cautious in employing them on simulation data because, unlike the zero-mode test, they do not derive from exactly solving a particular mode's dispersion relation. One should also be cautious in applying the zero-mode test, of course, since it only assesses the stability of a single mode.

Ref.~\cite{abbar2020} claims that the polynomial search ``offers an infinite number of inequalities similar to'' Eq.~\eqref{zero_mode} and suggests that this particular inequality corresponds to $\mathcal{F}_\pm(\mu) = \mu^2 \pm 2 \mu + 1$. While it is true that
\begin{equation}
I_{\mathcal{F}_+} I_{\mathcal{F}_-} = \left( I_0 + I_2 \right)^2 - 4 I_1^2,
\end{equation}
this expression does not generally show up in the search because
\begin{equation}
I_\mathcal{F} I_0 = a_0 I_0^2 + a_1 I_0 I_1 + a_2 I_0 I_2.
\end{equation}
What can be said in favor of the polynomial search is that if the zero mode is unstable, then it will register a crossing. If $I_{\mathcal{F}_+} I_{\mathcal{F}_-} < 0$, then one of the two factors must have the opposite sign of $I_0$. (Since $\mathcal{F}_+ (\mu = 1) = 0$, a nuance here involves whether the polynomials must be non-negative or strictly positive.) But suppose that the factors $I_{\mathcal{F}_+}$ and $I_{\mathcal{F}_-}$ are both negative. Then, although the zero mode is stable, the search registers a crossing anyway. Testing each factor individually is not equivalent to evaluating their product.

Thus the polynomial method neither generalizes nor even reproduces the zero-mode criterion (or for that matter the criteria in Eqs.~\eqref{pend1} and \eqref{pend2}). The difference between the two is in fact a crucial distinction. Eq.~\eqref{zero_mode} implies that the discriminant of the quadratic dispersion relation is negative, hence that $\textrm{Im}~\Omega \neq 0$ for a particular mode. The criterion $I_\mathcal{F} I_0 < 0$ lacks any such interpretation.

To summarize, the following instability tests are found in the literature:
\begin{enumerate}
\item Linear stability analysis for all (or a range of) $\Omega$ and/or $K$.
\item $G(\mu_1) G(\mu_2) < 0$ for $\mu_1, \mu_2 \in [-1, 1]$: the point-by-point method of searching for angular crossings.
\item Eq.~\eqref{IFI0}: the polynomial method of searching for angular crossings.
\item Eq.~\eqref{zero_mode}: the zero-mode test (\textit{i.e.}, linear stability analysis for $K = K_0$).
\item Eq.~\eqref{pend1}: the $K = 0$ resonant-trajectory test.
\item Eq.~\eqref{pend2}: the $K = 0$ unstable-pendulum test.
\end{enumerate}
The presence of an angular crossing has been shown to be necessary and sufficient for the existence of an instability $\textrm{Im}~ \Omega \neq 0$ for some wave vector \cite{morinaga2021}. Besides that equivalence, no two of these tests produce identical results in all situations.

The point-by-point and polynomial methods are similar in that they adopt angular crossings as the instability criterion, differing in how they search $G(\mu)$ for crossings. But it is a separate question, which we now turn to, how $G(\mu)$ is constructed in the first place.

\section{Closures \& completions \label{sec:closures}}

We are drawing a distinction in this paper between closures (which supply a finite number of angular moments) and completions (which supply an infinite number) of the neutrino distribution functions. The distinction is helpful here because it reflects the differing needs of transport calculations and fast-instability searches.

Much attention has been devoted to closure in the context of radiative transfer (\textit{e.g.}, Refs.~\cite{murchikova2017, richers2020} and the studies they cite). Its importance can be seen immediately by taking angular moments of the Boltzmann equation (here assuming flat spacetime with spherical symmetry and a static background):
\begin{align}
\frac{\partial}{\partial t} E + \frac{1}{r^2} \frac{\partial}{\partial r} \left( r^2 F \right) = \dots, \notag \\
\frac{\partial}{\partial t} F + \frac{1}{r^2} \frac{\partial}{\partial r} \left( r^2 P \right) = \dots,
\end{align}
and so on ad infinitum. (As before, $E$ and $F$ are the energy density and flux density. $P$ is the radiative pressure.) Particle streaming alone couples the moments in an infinite hierarchy of equations.

With a savvy implementation of closure, an accurate solution is obtained for the transport of energy and momentum. Many different closure methods have been proposed, implemented, and analyzed. Some of them---variable Eddington tensor methods---solve the Boltzmann equation under certain simplifications to all orders in the moment expansion and could be used to output approximate angular distributions. We are interested, however, in simulations that in practice only output the lowest moments, regardless of how they are obtained. These include simulations that adopt algebraic Eddington tensor methods.

In such cases, accuracy in $E$ and $F$ does not guarantee accuracy in the reconstruction of angular distributions using solely those moments. In other words, while it may not be necessary to track higher moments for the purposes of approximately solving the Boltzmann equation, higher moments must sometimes be supplied if the angular distributions are to be approximated well.

This point is illustrated in Fig.~\ref{levermore_minerbo}, which shows the angular distributions $\psi$ that result from applying two different M1 closure prescriptions. Three different flux factors $f$ are shown for each closure. In one spatial dimension, the radiative pressure is $P = p E$, where $p$ is the Eddington factor. Shown in the figure are the Levermore closure \cite{levermore1984}
\begin{equation}
p = \frac{3 + 4 f^2}{5 + 2 \sqrt{4 - 3 f^2}}~~[\textrm{Levermore}]
\end{equation}
and the Minerbo closure \cite{minerbo1978}
\begin{equation}
p = \frac{1}{3} + \frac{2 f^2}{15} \left( 3 - f + 3 f^2 \right)~~[\textrm{Minerbo}].
\end{equation}
These prescriptions follow from distinct physical assumptions. In the Levermore case, closure is obtained by asserting that the pressure is isotropic in the frame in which the flux vanishes. In the Minerbo case, the pressure is calculated by assuming that the underlying distribution function is classical and entropy-maximizing.

\begin{figure}
\centering
\includegraphics[width=.43\textwidth]{levermore_minerbo.pdf}
\caption{Angular distributions obtained by applying M1 closure for the radiative pressure and setting all higher moments to zero. Distributions are normalized such that $\int d\mu ~\psi (\mu) = 1$.}
\label{levermore_minerbo}
\end{figure}

From Fig.~\ref{levermore_minerbo} we see that the distribution functions do not radically differ for the plotted flux factors. In particular, they both exhibit the same unphysical features at $f \gtrsim 0.5$: negative particle densities in non-radial directions and positive but highly inflated particle densities in the backward direction.

Accurate modeling of forward-peaked distributions demands that higher moments be specified.

\section{Maximum-entropy \& sharp-decoupling distributions \label{sec:completions}}

To illustrate the latitude in modeling angular distributions---even with the densities and fluxes taken as given---we examine two completions in this section. For simplicity we consider monochromatic neutrinos, so that the angular distributions of number density and energy density have the same shape.

The first is the maximum-entropy distribution $\psi^{\textrm(max)}$, which maximizes the entropy $s = \psi \log \psi$ at fixed $E$ and $F$ \cite{minerbo1978, fort1997}. It has the form
\begin{equation}
\psi^{\textrm{(max)}} (\mu) = \frac{1}{e^{\eta - a \mu} + k},
\end{equation}
where $k = 0$. The distribution takes on $k=+1$ (Fermi--Dirac statistics) or $k = -1$ (Bose--Einstein) if the entropy functional is modified accordingly, but here we focus strictly on the classical limit as a representative case. For a distribution of this form, the flux factor is calculated to be
\begin{equation}
f^{\textrm{(max)}} = \coth a - \frac{1}{a},
\end{equation}
which can be numerically inverted to find $a(f)$. The other parameter $\eta$ sets the overall normalization of $\psi^\textrm{(max)}$. Normalizing so that the 0th moment is unity, we have
\begin{equation}
e^{-\eta} = \frac{a}{2 \sinh a}. \label{maxnorm}
\end{equation}
The maximum-entropy assumption is the origin of the Minerbo closure and its quantum-statistical variations \cite{janka1992, cernohorsky1994, smit2000}. Although $\psi^{\textrm{(max)}}$ models astrophysical neutrino angular distributions imperfectly, it does capture some of the essential features.

\begin{figure}{
\centering
\includegraphics[width=.43\textwidth]{bulb_f_vs_r.pdf}
}
\caption{Flux factor $f$ of the bulb distribution as a function of radius $r$ in units of the neutrinosphere radius $R_\nu$. Note that $f$ is never below $0.5$. Compare to Fig.~6 of Ref.~\cite{richers2017}, which shows the flux factor vs. radius in simulations with Boltzmann neutrino transport.}
\label{bulb_f_vs_r}
\end{figure}

An alternative way to specify all higher moments is to use a sharp-decoupling completion. A distribution of this type is found in the bulb model of supernova neutrino emission, in which all neutrinos decouple at a single sharp surface (the neutrinosphere) at radius $R_\nu$ \cite{duan2010}. The distribution is
\begin{equation}
\psi^\textrm{(bulb)} (\mu) = \mathcal{A} \theta \left( \mu - \sqrt{1 - \left( R_\nu / r \right)^2} \right),
\end{equation}
where $r$ is the radial coordinate, $\theta$ is the step function, and $\mathcal{A}$ is a normalization factor. We choose
\begin{equation}
\mathcal{A} = \frac{1}{1 - \sqrt{1 - 4 ( f - f^2)}}, \label{bulbnorm}
\end{equation}
which ensures as before that the 0th moment is unity. The flux factor in the bulb model is in one-to-one correspondence with the radial distance $r$:
\begin{equation}
f^\textrm{(bulb)} = \frac{\frac{1}{2} \left( \frac{R_\nu}{r} \right)^2}{1 - \sqrt{1-\left( \frac{R_\nu}{r} \right)^2}}
\end{equation}
or, inverting,
\begin{equation}
\frac{r}{R_\nu} = \frac{1}{2 \sqrt{f - f^2}}.
\end{equation}
The flux factor $f^\textrm{(bulb)}$ is plotted in Fig.~\ref{bulb_f_vs_r} as a function of $r / R_\nu$. It starts at the neutrinosphere with a value of $0.5$ and by twice the emission radius already exceeds $0.9$. Because neutrinos are radiated strictly outward, $\psi^{\textrm{(bulb)}}$ is intrinsically forward-peaked.

\begin{figure*}
\begin{subfigure}{
\centering
\includegraphics[width=.43\textwidth]{bulb_max_distr.pdf}
}
\end{subfigure}
\begin{subfigure}{
\centering
\includegraphics[width=.43\textwidth]{bulb_max_n.pdf}
}
\end{subfigure}
\caption{\textit{Left:} Angular distributions $\psi$ obtained using the sharp-decoupling (``Bulb'') and maximum-entropy completions. Unlike in the other figures, here the distributions are normalized to have $\psi (\mu = +1) = 1$. Note that $f = 0.5$ and $f = 0.9$ translate to picking bulb distributions at $r = R_\nu$ and $r = 1.67 R_\nu$, respectively. No bulb distribution exists with $f = 0.1$. \textit{Right:} Angular moments $\psi_n$, normalized to have $\psi_0 = 1$.}
\label{bulb_plots}
\end{figure*}

\begin{figure*}
\begin{subfigure}{
\centering
\includegraphics[width=.43\textwidth]{closure_missed.pdf}
}
\end{subfigure}
\begin{subfigure}{
\centering
\includegraphics[width=.43\textwidth]{closure_spurious.pdf}
}
\end{subfigure}
\caption{Angular distributions $\psi$ obtained using maximum-entropy completion and Minerbo closure, normalized such that $\int d\mu ~\psi_{\nu_e} (\mu) = 1$ and $\int d\mu ~\psi_{\bar{\nu}_e} (\mu) = \alpha$. Here $f_{\nu_e}$ and $f_{\bar{\nu}_e}$ are the flux factors of $\nu_e$ and $\bar{\nu}_e$. The hierarchies between the two are chosen to be fairly large in order to more clearly illustrate the possible discrepancies between completions and closures. \textit{Left:} The completed distributions (thick curves) cross near $\mu \sim 1$, a crossing not exhibited by the closed distributions (thin curves). \textit{Right:} The closed distributions exhibit a spurious double crossing due to unphysical modeling of non-forward fluxes. The completed distributions never cross.}
\label{closure_missed_spurious}
\end{figure*}

These completions are both suitable for certain applications, but they differ markedly. The left panel of Fig.~\ref{bulb_plots} compares $\psi^\textrm{(max)}$ and $\psi^\textrm{(bulb)}$ at the same flux factors as shown in Fig.~\ref{levermore_minerbo}. (No bulb distribution exists with $f = 0.1$.) We thus see two very different completions of the angular distribution even at fixed $f$.

Another way to inspect the angular information contained in these completions is by observing their angular moments
\begin{equation}
\psi_n = \int_{-1}^1 d\mu ~\mu^n \psi (\mu).
\end{equation}
These are shown in the right panel of Fig.~\ref{bulb_plots}. In order to write a recursion formula for $\psi^{\textrm{(max)}}$, we note that
\begin{equation}
\int_{-a}^a dx ~x^n e^x = a^n \left( e^a + (-1)^n e^{-a} \right) - n \int_{-a}^{a} dx ~x^{n-1} e^x.
\end{equation}
This then leads to
\begin{equation}
\psi_n^{\textrm{(max)}} = \frac{1}{a} \left[ e^{-\eta} \left( e^a + (-1)^n e^{-a} \right) - n \psi_{n-1}^{\textrm{(max)}} \right].
\end{equation}
Note that with the normalization of Eq.~\eqref{maxnorm}, $\psi_n^{\textrm{(max)}} \rightarrow 1$ as $a \rightarrow \infty$ (corresponding to $f \rightarrow 1$) at finite $n$. In the other limit, as $a \rightarrow 0$, $\psi_n^{\textrm{(max)}}$ alternates between 0 (at odd $n$) and finite but declining values (at even $n$). This is because all even $n$ have some contribution from the isotropic moment, whereas all odd $n$ vanish by symmetry. If angular distributions \textit{are} to be expressed using truncation, it is better to truncate an expansion in orthogonal functions (\textit{e.g.}, Legendre polynomials) than an expansion in $\mu^n$ moments. Closure prescriptions make the distinction moot, but only in part, by ensuring agreement in the isotropic limit.

For the sharp-decoupling completion, using the normalization of Eq.~\eqref{bulbnorm}, we have
\begin{equation}
\psi^{\textrm{(bulb)}}_n = \frac{1}{n+1} \frac{1 - \left( 1 - 4 \left( f - f^2 \right) \right)^{\frac{n+1}{2}}}{1 - \sqrt{ 1 - 4 \left( f - f^2 \right)}}.
\end{equation}
As the figure makes clear, forward-peaked distributions converge slowly in $n$ and vary in exactly how they do so.

In Sec.~\ref{sec:closures} we saw that standard M1 closures become unphysical at flux factor $f \gtrsim 0.6$. By comparing the Minerbo closure and the max-entropy completion, Fig.~\ref{closure_missed_spurious} shows that the failure of closure to accurately describe forward-peaked angular distributions leads to closures being unreliable when used in the search for angular crossings.

The figure shows potential errors of two kinds. In the left panel, an angular crossing in the completed distributions is missing from the closed ones at $\mu$ just above $0.9$. The reason for this crossing being absent is, again, that closures struggle with forward-peaking. In order for closure to place a lot of weight at $\mu \sim 1$, it must impose unrealistic negative fluxes in more transverse directions, as we saw above. The right panel of Fig.~\ref{closure_missed_spurious} shows that this undesired consequence can introduce spurious crossings. Even in cases where closure and completion both have crossings, a single crossing in the completion is typically turned into a double crossing in the closure.

While $\psi^{\textrm{(max)}}$ is not necessarily an optimal approximation, it does capture the main feature---concentrated flux at $\mu \sim 1$---that underlies the inadequacies of closure. We conclude that an angular-crossing search using closure is susceptible to these errors.

\section{Discussion \label{sec:discussion}}

Several recent publications have searched for fast instabilities, using angular crossings as a proxy. This manner of searching faces technical challenges associated with the limited angular resolution of simulations. The root of the problem is simple: as angular distributions become more forward-peaked, more angular moments are required for their accurate approximation.

Closure---which, in practice, usually means that the angular-moment expansion is truncated at the pressure or heat-flux tensor---is inadequate for forward-peaked distributions. Completions---where the available moments are matched to a physically motivated angular spectrum---are a superior alternative, but the question arises exactly \textit{which} physics should be used as the motivation. As their names indicate, the sharp-decoupling and maximum-entropy distributions are based on assumptions regarding decoupling and entropy. They are easy to formulate and work with, but they are not necessarily the best choices.

Elsewhere we will present phenomenological fits to the neutrino angular distributions in a supernova simulation using Boltzmann transport \cite{nagakura2021}. From these fits, a completion can be constructed that better reflects the actual distributions found in supernovae.

\begin{acknowledgements}
We wish to thank Sajad Abbar, whose work on searching for angular crossings inspired us to write this paper. We also acknowledge helpful and enjoyable conversations with Sam Flynn, Nicole Ford, Evan Grohs, Jim Kneller, Gail McLaughlin, Taiki Morinaga, Sherwood Richers, and Don Willcox. L.J. acknowledges support provided by NASA through the NASA Hubble Fellowship grant number HST-HF2-51461.001-A awarded by the Space Telescope Science Institute, which is operated by the Association of Universities for Research in Astronomy, Incorporated, under NASA contract NAS5-26555. H.N. acknowledges support from the U.S. Department of Energy Office of Science and the Office of Advanced Scientific Computing Research via the Scientific Discovery through Advanced Computing (Sci- DAC4) program and Grant DE-SC0018297 (subaward 00009650).
\end{acknowledgements}

redpajama_set_name: RedPajamaArXiv


text:
Q: Error while inserting data in a Set Swift 4 I am trying to insert multiple values in a Set. So, I did this
    var skuSet: Set = Set<String>()
       {
            (response, error) in

            if (error != nil)
            {
                print("Error \(error.debugDescription)")
            }

            else
            {

                if let result = response.arrayObject as? Array<Dictionary<String, Any>>
                {
                    self.coinsArr = result

                    let  multiple = result.compactMap{ $0["sku"] as? String }

                    self.skuSet.insert(multiple)
                }
             }

But, the insert line throws the error

Cannot convert value of type '[String]' to expected argument type 'String'.

Any help?

A: The documentation for compactMap(_:) says:

compactMap(_:) returns an array containing the non-nil results of
  calling the given transformation with each element of this sequence.

However, the documentation for set insert(_:) also says:

insert(_:) inserts the given element in the set if it is not already
  present.

You assign an array of strings to multiple, and expect to insert this array using insert(_:) but it's not possible.
Add the below function to Set extension in order to insert multiple elements:
func insert(_ elements: [Set.Element]) {
    elements.forEach { (element) in
        self.insert(element)
    }
}

Alternatively, use formUnion(_:):
self.skuSet.formUnion(multiple)

...or use its immutable version, union(_:):
var skuSetUnionMultiple = self.skuSet.union(multiple)

A: insert is for a single item. Use formUnion to insert multiple items from a Sequence into a Set
self.skuSet.formUnion(multiple)

And if you want to replace the contents of the set with the multiple array simply write
self.skuSet = Set(multiple)


The Workday conference ended yesterday, and so did my lack of life hopefully. Thanks to my generous company, I enjoyed an amazing afternoon in the spa at the Palace Hotel in San Francisco. I haven't done such a thing in years. It's really funny how some nice lotions and warm towels make a person feel so much better.
More importantly, as my shoulders (and my mind) were letting go of the rocks that had built up within, many reminders about balance and self-preservation came to light as I was being shined up and rubbed down. So I wanted to write them down and check back in a few months to see if I actually achieved any of them. Of course, I could write them down on a traditional piece of paper, but I thought I'd share in hopes that you might be inspired to pay a little attention to yourself and the life around you too.
Let the dogs take me for a daily walk.
Plan a night out with Tom for our 19th anniversary that we missed last month because I was sick and stressed.
Read "The Giver" with the kids.
Find a few things to enjoy in my work.
Get back on a monthly lunch plan with my friend Anne.
Update the kids' photo albums.
And finally, eat brown rice. The wholesome answer to everything!
Hey, wow, I'm so tickled that I made my way into your blog....or, at least, I'm telling myself that that "Anne" is me. I sure hope so, coz I miss you! Book your spa weekend in Stowe with Tom and I'll watch your amazing kids and, as a follow-up, we'll do lunch! Love you!
Purely selfish but I'd really like to see everybody!


text:
The Pogonip Group is an Ordovician period geologic group located in southern Nevada and in Utah.

Geology
Its subunits in Nevada, from youngest/later to oldest/earlier, are:
Goodwin Limestone —  thick
Ninemile Formation —  thick
Antelope Valley Limestone —  thick

It preserves fossils dating back to the Early Ordovician stage of the Ordovician period.

See also
 List of fossiliferous stratigraphic units in Nevada
 List of fossiliferous stratigraphic units in Utah

References

Geologic groups of Nevada
Geologic groups of Utah
Lower Ordovician Series
Ordovician geology of Nevada
Ordovician geology of Utah
Ordovician System of North America


BUT THEN I CAME BACK by Estelle Laure!
Today I have a review of the book plus an answer to one of my burning questions that I had for Estelle, so I hope you enjoy that! But first, let's learn more about the book.
Disclaimer: I received a free copy of this book and decided to review it. This in no ways affects my opinion.
This is good, I want to say. this is life. It's not selfish to live. Digby and Lucille went on, and Mom and Dad did too. And they had the right to. Time served on planet earth is yours to use as you see fit. It keeps spinning, and just because someone's life ends or pauses doesn't mean we have to do the same.
BUT THEN I CAME BACK was on my radar immediately when I saw Estelle Laure had another book coming out because I absolutely loved THIS RAGING LIGHT. And when I found out this was a companion/sequel but from Eden's perspective I knew I had to have it immediately.
I think what I loved about this one was that it wasn't just about Eden and her relationship with Joe, as the summary makes it seem to be, but it was about discovering who you are after something terrible happens to you and accepting both halves of yourself: the you from Before and the you from After and merging them together to create the Real You. It is so important to know who you are and I think Eden goes through such a great stage of rediscovery in this book that everyone can relate to her.
One thing I should mention is that while this is a sequel/companion to another book, this could definitely be read as a standalone novel. We meet the same characters again, but Laure does such a good job at giving us the depth and complexity of all the characters in this novel that I didn't feel as though I had to reread THIS RAGING LIGHT to be able to connect to them.
The writing in this was beautiful and I loved the additions of the patient progress and the NDE reports because they added something creative to the novel. However, at some points I thought the pacing was a tad bit off as I felt as though things would move at a glacial pace only to skip ahead too much for me to keep up with what was happening.
If you were a fan of THIS RAGING LIGHT or LOVE LETTERS TO THE DEAD or IF I STAY, this is definitely a book you want to pick up. And guess what! It released today so you can run out and grab it today.
Estelle Laure: I am still learning all the time. I still read craft books and eat up any advice I can get my hands on. But one big thing I didn't understand when I started is desire. It took until I was halfway through my MFA to figure out that if you know what your character wants and you follow that line, plot and nuance will follow. If your character wants something badly, they're active and moving instead of being passive and reacting to things that happen to them. Suddenly you've got someone willing to compromise in all sorts of ways to attain their heart's desire. I could have saved myself so much heartache had I known that from the get-go.


text:
Kinokompaniya CTB  es una empresa productora de cine de San Petersburgo, Rusia, y una de las más importantes del país tras la disolución de la Unión Soviética. CTB fue fundada en 1992 y desde entonces ha producido una gran cantidad de películas de ficción y de animación en Rusia hasta convertirse en la principal productora de cine ruso, gracias al éxito de películas como Brat (1997) o Mongol (2007). CBT produce y coproduce, también, un importante número de películas al año en todo el mundo.

Filmografía
La siguiente es una lista incompleta de la filmografía de CTB:

1994 - El castillo (Zamok)
1997 - Operación Año Nuevo (Operatsiya "S novym godom!")
1997 - Hermano (Brat)
1998 - De monstruos y hombres (Pro urodov i lyudey)
2000 - Hermano 2 (Brat 2)
2001 - Hermanas (Sostry)
2002 - El beso del oso (coproducción internacional)
2002 - El cuco (Kukushka)
2002 - Guerra (Voyna)
2003 - Bummer
2007 - Mongol (coproducción internacional)
2007 - Cargo 200 (Gruz 200)
2010 - Tres héores y la reina de Shamakhi (coproducción de animación)
2013 - Caníbal'' (coproducción internacional)

Referencias

Enlaces externos

 Sitio web oficial

Productoras de cine de Rusia
Economía de San Petersburgo
Empresas fundadas en 1992


text:
Tresca ist der Familienname folgender Personen:

 Carlo Tresca (1879–1943), US-amerikanischer Anarchist und Journalist
 Giuseppe Tresca (1710–1795), italienischer Maler des Barock
 Henri Tresca (1814–1885), französischer Ingenieur

Siehe auch:
 Treska
 Dreska


text:
Q: Synth look and feel user XML how to change JTable and JTree? I want to change JTable and JTree style through Synth LookAndFeel xml configuration. But I only found that a small part can be implemented through the xml file configuration(eg. high-line, cell-color...). For example, the cell border, the dividing line between the headers, the background color of the table selected cell, etc. have not found a configurable entry.
the code as followed:
enter code here

<style id="tableStyle">
    <state>
        <color type="BACKGROUND" value="WHITE"/>
        <color type="FOREGROUND" value="BLACK"/>
        <color value="LIGHT_GRAY" type="TEXT_BACKGROUND"/>
        <color value="BLACK" type="TEXT_FOREGROUND"/>
        <imagePainter method="tableBorder" path="images/textfield.png"
                      sourceInsets="1 1 1 0" paintCenter="false"/>
    </state>
    <object class="javax.swing.plaf.ColorUIResource" id="color">
        <int>255</int>
        <int>0</int>
        <int>0</int>
    </object>
    <property key="Table.gridColor" type="idref" value="color"/>
</style>
<bind style="tableStyle" type="region" key="Table"/>

enter code here

Is it possible to implement styles in images through XML configuration? thanks.

A: Synth L&F is only prototype to build your own L&F. But some basic things like selection color are implemented here.
    <state value="SELECTED">
        <color type="TEXT_BACKGROUND" value="#00538c" />
        <color type="TEXT_FOREGROUND" value="#ffffff" />
        <color type="FOREGROUND" value="#FFFFFF" />
    </state>

But I also haven't found how to change grid color of a table header using Synth L&F
If you want to style your GUI using XML, you probably need to switch to JavaFX. Another possibility is to buy Synthetica L&F, which is based on Synth L&F. It has almost all features you need to style your GUI. But it has one disadvantage: you need lots of time to learn it and all its features (and workaronds for its bugs of course ;) ).


The wine aisle can be intimidating, with a seemingly endless array of choices. All the flavors and colors make it hard for you to decide on the right one. This article can help you get the perfect wine for your event.
Give wine tastings a try. Explore and try wines that are different from what you usually enjoy. Turn it into a social gathering. Find friends who enjoy wine too and have them come with you. You will have fun with your guests while learning new things about wine.
Your gut will tell you which wine to buy. If you already know that you can't stand Merlot, don't buy a bottle just because someone gave it a good review. If you do this, you may just throw your money away on a drink that you would never have enjoyed in the first place.
Do not let the sulfite warnings on the labels scare you. Wines all contain sulfites, though distributors in the United States must place a warning on each bottle. There is the occasional individual that is allergic to sulfite, but the majority of people will be just fine.
Look for groups designed for wine lovers. You can learn a lot from the many different people that join these forums and have experiences to share and opinions to give. You might find a wine you really love based on a suggestion.
White wines should be consumed within the first two years of purchase. Chardonnay is an exception to this rule. Oak barrels are not used to store most white wines. This is usually not the case for red wine.
TIP! Do not allow someone's opinion to change your taste in wine. If you prefer one type, then it's just fine.
Never allow the opinion of another person to influence your wine taste. Only you can decide if a wine is one that you enjoy. Remember this when choosing wines. Your palate is unique and only you truly know what you find appealing. If your guests don't like your wine, keep in mind that this means you have more wine to enjoy yourself.
Which type of Spanish wine you have will dictate how you keep it fresh. For example, Rioja is the most popular wine in North America, and it can keep for 7 years post-bottling. Keep it in a dark, cool location and pop it open when you're ready for a tasty treat.
Occasionally, you may wish to explore different combinations. You might discover a dish that goes well with a specific wine. You may find that there is a better choice than what you first assumed.
If you are out to dinner with your friends, avoid ordering wine by the glass. A bottle of wine generally serves approximately six people. You can save a lot of money and you may discover a new favorite wine that you have never had before.
Red wine should be opened and left to breathe for a while. By leaving the bottle open, the oxygen with interact with the wine. This allows the different ingredients to activate and become more prominent in taste.
TIP! Do not eschew a wine just because it has a screw cap. Different brands that are high in quality are changing to screw caps instead.
If you want to go to a wine tasting, call ahead of time to make sure you can bring your entire family. Some events permit all ages, while others are stricter.
Seminars offer wonderful opportunities to learn about wine. This is a hobby you can really get into and learn to love with a bit of education. Learning about where wines come from, how they're made and what varieties there are can help you understand them.
It's tough to be able to enjoy wine the right way every time. Now you should feel better about approaching that wine aisle. Use the tips from the article above and know more about the wines you drink.
You can visit our on the internet enterprise site about Visit Us.


In 1988, Antoine et Lili de Rocca-Serra opened the charming A Pignata guesthouse near Levie, the village where they were born.
Situated in the heart of the Corsican countryside "A Pignata" is a nature-lover's dream.
Overlooking the majestic Alta-Rocca mountains, it is surrounded by natural forest, rich in most varieties of local trees (such as chestnut, green oak, the "arbousier" and pine).
Here you can either choose to relax and listen to the birds sing or decide to explore the local countryside.
Indoor heated swimming-pool in winter, only for guests of the hotel, is open all year long with an outdoor solarium for the summer months. Bath towels can be rented at the reception.
The region of Alta-Rocca offers exceptional outdoor activities : prehistoric sites, hiking, canyoning, and some of Corsica's most renowned beaches only 30 minutes away.
The guesthouse is ideally located in the middle of southern Corsica with easy access to both the eastern and western coasts plus the south of the island ; you can also head north to discover the mountains.
Take the D268. If you are coming from Ste-Lucie de Tallano, turn on your left after 6 kms, follow the sign to Cucuruzzu (archeological sites). If you are coming from Levie, turn on your right after 4 kms, follow the sign to Cucuruzzu. After 1.5 km on a winding paved road, turn to your left at the sign "A PIGNATA". We look forward to welcoming you.
On the 1st floor in the new build - Bay windows opening on to a private garden with deck-chairs and a furnished terrace - Bathroom, separate toilet - Living area with flat TV.