text:
using System;
using System.Threading;

namespace Teaq.KeyGeneration
{
    /// <summary>
    /// Cache handler for a block of reserved SEQUENCE values.
    /// </summary>
    /// <remarks>
    /// This class is thread-safe and will synchronize use of the given provider (which does not have to be thread-safe).
    /// The thread safety for this class requires that a SEQUENCE function not cycle and always increase.
    /// </remarks>
    public sealed class SequenceCache64 : IDisposable
    {
        /// <summary>
        /// The cache size. Set as a constant but may be tuned.
        /// </summary>
        private readonly int cacheSize;

        /// <summary>
        /// The current ID max value.
        /// </summary>
        private long max;

        /// <summary>
        /// The value.
        /// </summary>
        private long value;

        /// <summary>
        /// Indictor set when a sequence retrieval thread is in flight. This is the thread locking mechanism.
        /// </summary>
        private long rangeInFlight;

        /// <summary>
        /// The sequence provider.
        /// </summary>
        private SequenceProvider<long> provider;

        /// <summary>
        /// Initializes a new instance of the <see cref="SequenceCache64" /> class.
        /// </summary>
        /// <param name="provider">The provider.</param>
        /// <param name="cacheSize">Size of the cache.</param>
        public SequenceCache64(SequenceProvider<long> provider, int cacheSize = 1000)
        {
            if (cacheSize < 1)
            {
                throw new ArgumentOutOfRangeException(nameof(cacheSize), "The provided cache size must be 1 or larger.");
            }

            this.cacheSize = cacheSize;
            this.provider = provider;
            this.max = long.MinValue;
        }

        /// <summary>
        /// Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
        /// </summary>
        public void Dispose()
        {
            this.provider.Dispose();
        }

        /// <summary>
        /// Gets the next identifier. This is a threadsafe method.
        /// </summary>
        /// <returns>
        /// The next available ID either from memory. If the cached range is exceeded it is reset using the implementation
        /// provided range.
        /// </returns>
        public long NextId()
        {
            for (;;)
            {
                // Must get the max value reliably before getting the counter value.
                // CLR assignments are atomic but we must disallow instruction re-ordering:
                var myMax = this.max;
                Thread.MemoryBarrier();

                var myValue = this.value;
                while (Interlocked.CompareExchange(ref this.value, myValue + 1, myValue) != myValue)
                {
                    myValue = this.value;
                }

                // The current thread "owns" the +1 value, and the value was acquired after the max value was interrogated.
                // If this thread was pre-empted and another thread changed the value and max, the following statement is
                // still valid for the local values, because the max value and counter value can only ever increase:
                myValue++;
                if (myValue < myMax)
                {
                    return myValue;
                }

                // Threads now compete to check the underlying sequence implementation for the next lower bound.
                // Once max is exceeded, threads will "pile up" here. Only one will go to the database:
                if (Interlocked.CompareExchange(ref this.rangeInFlight, 1, 0) != 0)
                {
                    var wait = new SpinWait();
                    while (Interlocked.CompareExchange(ref this.rangeInFlight, 0, 0) == 1)
                    {
                        wait.SpinOnce();
                    }

                    // Another thread handled the next range; re-enter the loop to acquire another value:
                    continue;
                }

                try
                {
                    long sequence = this.provider.Reserve(this.cacheSize);

                    // Assignment of the low range value BEFORE max is important for correctness.
                    // It is the unchanged max value that will ensure other threads retry
                    // until this operation is complete.
                    this.value = sequence;
                    Thread.MemoryBarrier();

                    // At this point, other threads are spinning because the max has not been raised,
                    // and the command is still in flight. If a thread enters the loop just after this
                    // assignment, it will be unblocked and take value + 1:
                    this.max = sequence + this.cacheSize;
                    Thread.MemoryBarrier();
                    return sequence;
                }
                finally
                {
                    this.rangeInFlight = 0;
                }
            }
        }
    }
}


Existence When Publishing Essay The english language Irrespective of your strategies subsequently, as being a good author and also apparent thinker will offer you a leg your competing firms. If you are able to obtain with the traditions of making day-to-day, it is going to help straightforward your brain and have your thinking streaming with the remainder of waking time. Moreso than nearly everybody carries a sound. Steer clear of a thesis that's at the same time simplified illustrate notion have been positioned into several of the intricacies on the opposite side about this request. There's no right solution precisely how a lot of you must come up with. If you would like to prepare a productive case you are required to pick the level you might want to make and then the market you desire to make it to. Producing Essay English language Functions Evaluating the mistaken question is a normal oversight created by individuals. Our your five SAT essay strategies to help you out create a outstanding SAT crafting rating. The available matters can normally be grouped into two tree branches. Each rapid examining receives the language and words a college-informed undergraduate. In some instances, the assignment's criteria are so incredibly elaborate that it's a problem with the pupils to recognize exactly what the a fact question is. There's no requirement to do new analyzing to search for a fabulous level in it ( honestly, you can locate a lousy grade by failing to talk about the class numbers properly ).
The Authoring Essay The english language Chronicles The Compass evaluate is supplied using personal computer and does not have any moment constraints. The content procedures cross all academic venues and they're willing to be used to each one of all the formatting fashions, www.samedayessays.org/ also. If you do not know how to commence your essay or wherever to search for reassuring material, we'll be happy to guide you. Definitions of Crafting Essay British Investigate Determine what you would like to talk about. By having a sturdy outline for you you might be in reality making the hassle off because you figure out what you are undertaking when relax to create the essay. You don't definitely appreciate how you're feeling regarding a area or what you want to say in regards to the topic area you simply let the analysis including your reasoning to determine on the outcome. Obtaining a uncomplicated, very clear thesis could make it practical if you want to focus on approaches to assistance it. The more amount of you tell us regarding desires, the higher quality essay help we'll be in a position to produce. Picking a awesome essay crafting company United kingdom is a brilliant option to be produced.
The Struggle personal statement Above Composing Essay British approaches to Be successful It Staying tabs on streaks is certainly a strong technique for establishing any new practice. So excellent manners are appropriate signs of society. You will enjoy to find out more regarding their existence in college, together with exactly where they may be at academically and manners that you can help them. Top rated Selections of Formulating Essay The english language When you're authoring, aim to protect against implementing the same key phrases and words over and over again. Just about every entire body paragraph ought to be just like a sub-thesis working to confirm a small a portion of the thesis. To write a system section, you'll ought to be capable of discuss hints. Now you may get started with Formulating an essay is a lot like performing a jigsaw puzzle. An essay is a pretty limited piece of publishing in a selected subject matter. It's legitimate, you have to practise formulating whole essays, but it may be an error to attempt that. Either you've received to design a pieces of paper of specific flawlessness, only recieve an write-up here and our freelance writers can grant allow. Any time you investment an essay from us, you're guaranteed to experience particular person methodology simply because essay services offered by our writers should be considered individualized dependant on your needs. You must be composing coherent essays, yet you would use headers as a technique of detailing your disputes.
Both in situations your crafting will probably get wonderful circulation because the readership will be capable of carry out what you're phrase. And once you're publishing an essay, you're using the total may perhaps of society in your own individual life. You'll also notice that over a day time wherever immersion is very very difficult, you could still be in the position to operate some rewarding producing inside the contest you stick it exterior. Eventually, nonetheless, be aware that excellent composing doesn't develop accidentally. In depth exploring and description enhancing For those who have https://www.bethelu.edu/assets/2369/bethel_cas_catalog_2016-17.pdf the full picture with the essay inside your thinking, get started looking out for tips that allows you to influence subscribers. Chances are it will pinpoint even more than 1 illustration for each state as you can actually pick the most suitable ones if you are now making it. A medical history of Posting Essay English language Refuted If you're trainees, or someone else who's about to do a whole lot of producing, then you should produce your body while using most satisfactory engineering, very right away, when it's almost costless to achieve that. In fact, it ought not to be extremely problematic, because you could possibly run out of time planning on to protect all of the feelings in case the most important thesis is incredibly confusing. Authoring Essay English Methods Have marketing of all types in front of you, if you are able to. It's valuable to acquire a topic area this really is specified a sufficient amount of that uncovering information is comparatively direct to the point, but wide a sufficient amount of you might write down lots of web sites regarding it. It is critical to spell out the way it is is relevant. How to decide on Producing Essay British Simply reach out to our help supervisors, if you've bought a strange project for you to do, and we'll certainly find someone designed to aid you. It actually is possible to always reach out to a contributor to give more info or request the specifics of the order's grow. In on this website, you ought not launch newer and more effective features.


The Jewish Home ("HaBayit HaYehudi," in Hebrew) is a religious, Zionist political party in Israel. It is currently led by Naftali Bennett.
Originally established in November 2008, prior to elections for the 18th Knesset, the Jewish Home was a coalition of a number of right-wing national religious parties including Moledet, the National Religious Party and Tkuma. However, the different factions vehemently disputed the positions allocated to their candidates on the electoral list and the Moledet Party and some members of Tkuma split off from the coalition and reestablished the National Union Party with another rightist faction, Hatikva.
Rabbi Professor Daniel Hershkowitz, a mathematician from the Technion, was chosen to head the Jewish Home. Under his leadership the party won three seats in the 2009 election.
Before the January 2013 elections, Naftali Bennett was chosen as the new party leader. When the National Union broke up, Tkuma rejoined the Jewish Home as did a few members of Moledet. The party subsequently won 12 seats.
The party was stained by controversy in the lead-up to the 2015 elections. An article questioning Bennett's involvement in the deaths of 102 Lebanese civilians during Operation Grapes of Wrath was released in early January, but this development was overshadowed when the party released a campaign video the following week featuring the candidates discussing their negative views on gay marriage and equality.
The party also had internal problems as some members were angered by Bennett's decision to reserve the coveted number ten spot on his party list for Sephardic Israeli soccer star Eli Ohana.
The party ran with Tkuma again in the 2015 elections and received eight seats in the 20th Knesset.
In November 2018, the Jewish Home announced plans to withdraw from Prime Minister Benjamin Netanyahu's coalition government, and demanded he call early elections after Netanyahu refused to appoint Bennett Defense Minister. This was not the first time Bennett had made such a threat; he had done so in 2014 over his opposition to the release of Palestinian prisoners and negotiations with the Palestinian Authority and, again, in 2016 over discussions of Palestinian statehood.
As in the prior cases, Bennett backed down in 2018, largely out of fear that bringing down the government and calling elections would endanger his party's chances for winning seats in the Knesset and raise the possibility of the right-wing losing its majority. Bennett did leave the Jewish Home, however, along with three colleagues who formed the New Right Party (HaYamin HeHadash).
Following Bennett's departure, Rafi Peretz was elected leader of the party. Prior to the 2019 election, the Jewish Home agreed to a controversial merger with the National Union, Tkuma, and Otzma Yehudit. The list was created after Prime Minister Benjamin Netanyahu urged the Jewish Home alliance to accept Otzma Yehudit as part of its list to avoid losing votes for the right-wing bloc and the possibility that the individual parties would fail to reach the threshold to win seats in the Knesset. The new list was called the Union of Right-Wing Parties.
The basic party platform of the Jewish Home says the party is opposed to the creation of a Palestinian state on the West Bank and states that Jerusalem "is the eternal capital of the Jewish people and the state of Israel solely, and will not be divided." The party's platform also says that the settlements in the West Bank are important for Israel's security, should not be uprooted in the future and should remain under Israel's sovereignty.
The Jewish Home states that it supports the privatization of government companies and will also demand to reduce manpower in the public sector. The party seeks to reduce taxes that it says hold back economic growth and encourage tax relief for productive sectors of the economy. The party also supports tax relief for large families and seeks to pass legislation on this issue.
In terms of religious life in Israel, the Jewish Home says that it will "fight for the Jewish identity of the state on every level: culture, character, personal status, society and legislation, as a Jewish and democratic state." Regarding issues such as civil marriage, The Jewish Home says that it will act to strengthen the current status quo, which does not permit civil marriage but will also seek alternative solutions for this "sensitive" issue.


International drag collective Sink the Pink are excited to present a dark and terrifying twist on the traditional Christmas theatre show this winter. Prepare to be spooked as we follow the the scandalous exploits of a part-time spirit medium/full-time con-artist, Ginger Johnson!
Inspired by London's bawdy and dangerous theatrical past and a love of classic British Horror - think Sweeney Todd meets the Wicker Man - How To Catch A Krampus is a Christmas story that's strictly for grown-ups, promising a truly terrifying night at the theatre.
Presented by Sink The Pink and Pleasance Theatre.


text:
Q: How to prevent a simple React modal from being closed if you either start or end the click event inside the modal? I've been looking at a lot of modals made in React, and a lot of them seem to have this problem, so I have put together a simple example in jsFiddle to demonstrate the problem.
Code from the snippet:
handleOutsideClick = e => {
    if (e.target.id === "modal-view-info") {
      this.props.closeSelf();
    }
}

Basically, it works (clicking outside the modal closes it). The problem is that I want to make it so that the modal only closes if the click event starts and finishes outside the modal. That is, if you start the mousedown outside the modal but drag it inside the modal for the corresponding mouseup, the modal should not close. Similarly, if you start the click inside the modal and end it outside the modal, it should not close.
I've been messing with it for a while, and I believe the problem is that browsers consider the e.Target from a click event to be the parent element. That is, if you start clicking inside a child element, but then release the mouse button inside a parent element, the e.Target will be the parent element. e.Target will also be the parent element in the opposite case. This is making things tricky.
Is it possible to modify the snippet to incorporate this functionality? I'm already using this modal code all over my codebase so I'd prefer to just fix this, rather than go with a completely different design.

A: Don't listen for a click event on the entire modal. Instead, put a hidden div behind the modal that will capture clicks that are only outside the modal.
CSS
.modal-close {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
}

Component
class Modal extends React.Component {
  constructor(props) {
    super(props);

    }

  render() {
    return (

            Hello how are you doing?
            Well I hope!

    )
  }
}

https://jsfiddle.net/vdwr7Lg5/

redpajama_set_name: RedPajamaStackExchange


There has been much debate in regards to the significant factors that highly contribute to a persons mental health (psychological and emotional well-being). Over the years arguments have been based on nature v. nurture when discussing or attempting to pinpoint the root causes of mental illnesses. Little attention has been made toward the belief that a persons psychological development is highly influenced by the environment from which they are brought up in prior to the founding of attachment theory. Attachment theory focuses on the need for us as human beings to form strong affectional bonds to others while also investigating personality distress and emotional disturbance, which includes anxiety, anger, depression, and emotional detachment.
For many years early psychiatrist were conscious of the possible causes such as the absence of forming affectional bonds by a disturbance in childhood or long repeated disruptions of bonds brings about psychiatric concerns. Many findings have suggested including concluded that a high incidence of disrupted affectional bonds during childhood lead an individual in developing mental health challenges. While also prohibiting those who have not formed strong bonds in becoming utterly disturbed by death, divorce, separation, or by other events related to separation of a bond significantly far higher than an individual who has been able to form strong bonds in their early childhood.
From a therapeutic standpoint the main focus is to aid an individual in understanding how their symptoms relate to their current or past situations from either their response to the situations or side effects of not trying to answer to them. The argument is that the most vital information brings forth extremely painful or frightening events that a client would much rather forget. Many individuals tend to have strong defense mechanisms focused on not recognizing or recalling real life events and feelings awakened by them allowing themselves to become of their unconscious impulse of fantasy.
Bowlby, J. (1989). The Making and Breaking of Affectional Bonds. New York, NY: Routledge.


UGG is not strange to anyone who is fashion-conscious! Then what is exactly the UGG? Most of us regard UGG as the brand name of UGG Australia, a kind of sheepskin boots. It could mar your look and style, so be careful. Going the replica route is an especially wise choice when choosing a trendy or unconventional style, since it probably wont be used as your everyday purse. Your search results should bring up a list of online stores that sell cheap Ugg boots. The material is also a main addition to UGG shoes and is the reason why the shoes are as comfortable as UGG boots. Some styles also have fleece insoles or fleece trim.S.5, ugg boots sale Ill get a size 8 for all of these! Hold on a second, though; each of these styles has a different sizing recommendation! What many people arent aware of is that the sizing for UGG Australia shoes varies depending on the collection. But recently, they are already indulging into producing footwear for women.Michael Kors handbags have indeed become hot selling handbags these days.UGG 5803 Bailey Button Boots Sand features twin-faced Australia sheepskin provides you utmost comfort and warm. As a result, you will never worry about your feet will cold in the winter. his Ugg Online Store UGG 5803 Bailey Button Boots is naturally water resistant and therefore small amounts of moisture will not seep through or damage it. It is the time for you to prepare the best winter gift from our Ugg Online Store with free shipping and fast delivery.Our store never make you disappointed .If you order a big quantities .We will give you a discount coupon .Hope you will like it .
Regardless of the comfort motives, several folks will even now not don these boots as a result of their appearance. But ugg boots now come in many different types, dimensions and colors and can usually be incorporated in virtually any apparel you on wearing. Normally since ugg boots are typically worn in the winter months for winter insulation, you can put on any type of Ski put on or even prolonged jeans. In truth just about any lengthy winter ugg boots on sale insulated pants will appearance pretty regular and fit perfectly with some matching-color Ugg Boots UK. Should you be still focused on fashion with them, there are plenty of places on the web such as the Yahoo Answers Forum which will help you choose the suitable apparel to have on with your footwear.
UGG BOOTS lacking having colorful r even embellishments, th? people mk n infection n individuals w?th sleek sheepskin areas, wh?h ? need t ? identify th grand feeling accepted through creative designers due t gentle sheen n? very comfy hands https://www.cook-itquick.com really feel carried out through clever manual labor nd elegant materials. UGG Classic tall boots r types f nw style UGG Classic Small Boots appear various b th side f w?th additional grand top quality footwear. UGG Bailey Button Boots anyway th? perform hl t mk prior entertainment change light. If ? maintain up-t-date b th side f w?th style customs, ? need t ? recognize queries upon th? types f nw style UGG boots still ascend upward. UGG classic cardy Boots types f simple, bt ordinary appear nd l? th wll-knwn logo design mk? ? assured ?n order t ?? n th? types f Boots fr each opportunity. Store online ?? a fnt?t? l? t shop fr th?? type f boots. Y? w?ll find lots f retailers n th?? site selling th? boots t discount prices ? th? r competing w?th thr suppliers. Ch?? a style ? l?k nd compare ?t? prices existing b different sellers t t th best deal.for kids are significantly lovely in outlet than women Around the one hand, the children are cuter than other individuals. So it really is much essential for parents to select suitable winter boots for children which can make sure that the kids feet are warm and dry all of the day.As with adults, there is a rather amazing selection of colours to select from.


This was my thought process the other day when I signed up for Facebook. Maybe you'll get a chuckle.
Is my fear of Facebook natural? Some people have a paralyzing fear of flying and crashing to the ground; well, my fear of Facebook is pretty close. As some of you may know, I just started my blog and joined Twitter this year. These were reeeeally BIG steps for me. To throw myself out there publicly was not easy. I still struggle with my fears. What are my fears? I'm sharing many private details of my past in hopes of helping others, but I do not want my family involved. I have children of Google age! I also fear being judged by those close to me. I've been there, done that, wish not to repeat.
I tend to be very distrusting of people, which further fuels my paranoia. Admittedly, I often imagine the worst in people until proven otherwise. Either my expectations are too high or I've been around a lot of losers. I think it's the first one. Not to mention, I am getting tired of everyone asking me if I am on Facebook (Related post here). Can we not come up with better questions to propagate future communication? For example, "I'll call you!" Or, let's get really hi-tech, "I'll text you and we'll meet for lunch next week." I feel like a two year old, stamping their little feet because they don't want to do something. It is ridiculous. I'm actually sweating right now with the thought of signing up. Now, I'm laughing at myself. Screw it! I'll be right back.
Ok, instead of the two year old throwing a temper tantrum, I am now the awkward teenager succumbing to peer pressure. Obviously, I have some issues to deal with. I feel defeated. I feel invaded. Do I now ask you to follow me on Facebook? This is so dumb.
I think everyone I know has a really awkward, if not dysfunctional, relationship with Facebook. You are not alone.
I have been on facebook since about 2006 but I never (rarely) use it. I go into occasionally if my children are travelling as they post photos etc on there. That is all. I find that people tend to use it for trivial chats whereas blogging is used for opinions and is more intellectually stimulating.
If I was not trying to promote my blog, I would not be on it. "They" tell me this is what I must do. I'm trusting the experts…for now.
I'm hoping by the smiley face you meant interesting in a good way! It was meant to be sort of sarcastic and funny.


Please welcome to the Chamber, John Golden with N2 Publishing. N2 Publishing designs publications for affluent communities that feature content from residents. They offer the opportunity for local businesses to partner with them through sponsorship advertising. You can contact John at 336-837-4888 or john.golden@n2pub.com. To learn more, please visit their website at www.n2pub.com.


text:
Amid Brazil's Stadium Boom, a Massive Water Infrastructure Project Drags On
The diversion plan has doubled in cost and remains years away from completion.
A massive public works project in Brazil meant to bring water to its drought-prone northeast was supposed to be finished by 2010. Four years later (eight years since the project broke ground), it's only halfway done.
Officials planned to divert water from the São Francisco river into a 297-mile network of canals, aqueducts and reservoirs. It would serve 12 million people across cities and farms in four states, and was initiated by then President Luiz Inacio Lula de Silva (who hails from the region it would serve).
Now, as Reuters reports, bureaucratic issues and contract problems have stalled the project so badly that even some finished parts will have to be rebuilt. The cost estimate has doubled to $3.4 billion dollars.
And as stadiums have sprouted up around the country for the upcoming World Cup, the São Francisco project's delays have become especially problematic.
Northeastern Brazil is experiencing its worst drought in half a century. Hundreds of thousands of cattle have died in the last three years as a result of the long dry spell. One farmer illustrated this, poignantly, by lining the heads of his dead cows along his property. And the problem, meteorologists say, is only going to get worse.
Politically, this means trouble for current Brazilian President Dilma Rousseff and her Workers' Party, which historically performs well in the the impoverished Northeast. Former Rousseff ally Eduardo Campos (now governor of northeast state Pernambuco) is preparing to run against her for president this fall.
Perhaps not coincidentally, work on the water infrastructure project accelerated in 2014. According to Reuters, Rousseff recently implored officials overseeing construction to finish the first section before October's election. In the Pernambuco town of Cabrobó, 600 new workers joined the project last month.
Lula predicted the project would become the eighth wonder of the world. But locals remain skeptical that it will ever finish, though government officials predict it'll service some 12 million Brazilians by 2015.
One of the canals and the pumping station being built to divert water for use in four drought-plagued states, January 24, 2014. (REUTERS/Ueslei Marcelino)
Farmer Antonio Alves da Rocha, 59, pulls a cart with water alongside one of the canals being built to divert water from the Sao Francisco river for use in four drought-plagued states, a project that is three years behind schedule and has doubled in cost from the original estimate of $3.4 billion, near the city of Sertania, Pernambuco state, January 26, 2014. (REUTERS/Ueslei Marcelino)
Workers do minor repairs to one of the canals being built to divert water from the Sao Francisco river near the city of Cabrobo, Pernambuco state, January 24, 2014. (REUTERS/Ueslei Marcelino)
A cow walks along one of the canals being built to divert water from the Sao Francisco river, near the city of Custodia, Pernambuco state, January 25, 2014. (REUTERS/Ueslei Marcelino)
Farmer Ulysses Flor, 85, stands near the skulls of some of his nearly 50 cows that died due to the prolonged drought near the city of Forest, Pernambuco state, January 29, 2014. (REUTERS/Ueslei Marcelino)
A general view of the pumping station at the head of one of the canals being built to divert water from the Sao Francisco river near the city of Cabrobo, Pernambuco state, January 24, 2014. (REUTERS/Ueslei Marcelino)
A general view of the construction of a pumping station at the head of one of the canals being built to divert water from the Sao Francisco river, January 24, 2014. (REUTERS/Ueslei Marcelino)
A general view of workers inside the Cuncas I tunnel, January 28, 2014. (REUTERS/Ueslei Marcelino)
Workers monitor the drilling of the Cuncas II tunnel, January 28, 2014. (REUTERS/Ueslei Marcelino)
A worker is seen inside the Cuncas II tunnel that will link the canals being built to divert water from the Sao Francisco river, near the city of Mauriti, Ceara state, January 28, 2014. (REUTERS/Ueslei Marcelino)

redpajama_set_name: RedPajamaCommonCrawl


Bill Pugliano / Stringer / Getty ImagesTesla CEO Elon Musk.
Mark Cuban was apparently the voice of reason who persuaded Tesla CEO Elon Musk to settle with the Securities and Exchange Commission rather than fight the SEC and his board, according to The Wall Street Journal.
Cuban famously won a lawsuit against the SEC, and Musk had hired Cuban's lawyer to help fend off the SEC's suit against him.
But Cuban warned Musk that a fight with the SEC would be long and ugly, and that helped persuade Musk to negotiate instead, The Journal reported.
As Tesla's embattled CEO, Elon Musk, was digging his heels in and reportedly threatening to quit his job rather than make a deal with the Securities and Exchange Commission, his lawyer got a brilliant idea: bring Mark Cuban in for the rescue.
Musk had hired Cuban's lawyer to help him fend off a lawsuit from the SEC alleging that Musk's infamous "funding secured" tweet violated its regulations. The agency was seeking to not only fine Musk, but bar him from holding office in a public company.
The lawyer, Chris Clark, represented Cuban during his yearslong fight with the SEC, which sued him in 2008 on charges of insider trading. Cuban eventually won that dispute in 2013, but it wasn't easy, and he lost various battles along the way. Cuban has since routinely lambasted the SEC and jumped into others' fights with it by filing amicus briefs.
In a phone call to Musk last Thursday, Cuban recounted the kinds of tactics the SEC used against him, The Wall Street Journal reported.
Cuban said in an email to The Journal that he told Musk that if Musk didn't negotiate a settlement, it would cause a long and ugly battle that would distract him from running his companies.
And that sounds like the kind of warning that could change Musk's mind.
Musk is laser-focused on his companies, particularly as Tesla attempts to increase production of its much-in-demand electric cars. As Business Insider previously reported, Musk has his fingers into every detail of Tesla and works so many hours at its facilities that employees have consistently found him asleep under tables and in conference rooms.
The call was apparently a turning point in a wrenching 48 hours for Tesla in which its board agreed to a settlement and Musk threatened to quit over it but was then persuaded to agree.
The settlement included $US40 million in fines, $US20 million to be paid by Tesla and the rest by Musk. It also required him to step down as chairman for at least three years.


Attention women in all areas of Australia and New Zealand!
elsewhere by request (airfares paid by you if I make a special trip).
Complete your Tantra Massage Training with me ASAP and pay off your investment within one month easily!
For more information, EMAIL for your free ebook "5 benefits to training with Tantra Training Academy".


A new urban, high rise retirement community, Brightview Bethesda is an 8-story, 112-unit new community that will feature assisted living and memory care residences for seniors in Bethesda, MD. The building includes one level of below grade parking and amenity, parking, amenity, and lobby on the 1st Floor, and 5 levels of residential units on Floors 2 through 6. The building features a green roof design as well as other green and sustainable designs. The project is approximately 100,000 SF.


text:
Lorena Muñoz-Alonso – UK's Culture Minister Places Temporary Export Ban on $54 Million Rembrandt Portrait
24 oktober 2015 Admin Businessplan, Home, Media, Portretten 0
UK's Culture Minister, Ed Vaizey, has placed a temporary export ban on a Rembrandt portrait worth £35 million ($54 million).
The ban was announced in a news release published on the Government's website gov.uk, with an uncharacteristically alarming opening sentence that read: "One of Rembrandt's greatest late portraits is at risk of being exported from the UK unless a buyer can be found to match the asking price of £35 million."
The painting, titled Portrait of Catrina Hooghsaet (1657), has been in the UK for more than two centuries, during which it has been on display at the National Museum of Wales and the Ashmolean Museum. It was originally bought in 1860 for the National Trust's Penrhyn Castle in North Wales.
The Culture Minister then took to Twitter to share the announcement with his 29,100 followers:
"This Rembrandt painting has been enjoyed by the UK public for more than 250 years and provides a fascinating glimpse into history, helping us to better understand how society and art have evolved over the centuries," Vaizey is quoted in the release, and on Twitter. "It's important that paintings, especially one as famous as this, are available for our students to learn from. I hope that the temporary export bar I have put in place will result in a UK buyer coming forward to buy the Rembrandt painting to save it for the nation."
Vaizey took the decision to place the ban following a recommendation by the Reviewing Committee on the Export of Works of Art and Objects of Cultural Interest (RCEWA), which is administered by Arts Council England.
"This is an exceptional portrait of a fascinating sitter, about whom there is still much to be discovered," RCEWA's Aidan Weston-Lewis said in the statement. "Its departure abroad would be particularly unfortunate in view of its long presence in the UK, notably in Wales, which currently has no publicly-owned painting by Rembrandt."
The sitter, Catrina Hooghsaet, was a wealthy Amsterdam Mennonite who was married but had separated from her husband by the time she posed for the Dutch master. In Rembrandt's painting, as if to assert her strong character and independence, she is not accompanied by her estranged husband, but by her pet parrot instead, who in fact featured in her will.
The painting, which is to be offered at a sale conducted by Sotheby's according to artnet News contributor Colin Gleadell at the Telegraph, was acquired in 1860 by the 1st Baron Penrhyn and passed down through the Douglas-Pennant family, who hung it at Penrhyn Castle. In 1951, the Castle and some of its contents were transferred to the safekeeping of the National Trust after the death of the 4th Baron Penrhyn. The value of the contents was exempted from inheritance tax on the condition that the public had access to them. The Douglas-Pennant family later sold a masterpiece by Jan Steen for £8.2 million to the Rijksmuseum, and in 2007, Gleadell reports, the Rijksmuseum was interested in the Rembrandt and raised £26.4 million to acquire it, but the Penrhyn Settled Estate didn't accept the price.
The ban will be active until February 15, 2016, but it could be extended until October 16, 2016 if "a serious intention to raise funds to purchase the painting is made at the recommended price of £35,000,000 (plus VAT of £660,000)." The statement said that offers from public bodies for less than the recommended price would also be considered by Vaizey.
According to the Guardian, the masterpiece has been described by Christopher Brown, former director of Oxford's Ashmolean Museum, as "one of the greatest Old Master paintings in the country and one of the finest portraits ever made by Rembrandt".
The work could be seen last year in the "Rembrandt: The Late Works" exhibition at London's National Gallery, which then toured to the Rijksmuseum in Amsterdam.
Veizey's prompt action to place an export ban marks a stark contrast to France's tardiness to react against the prospective loss of two Rembrandt portraits, owned by Eric de Rothschild and worth €150 million (€180 million).
After failing to declare the paintings National Heritage and granting de Rothschild an export permit in March of this year, which caused a huge national outrage, France has recently announced that it is prepared to pay up to €80 million ($89.5 million) to keep at least one of these two exceptional Rembrandt paintings in the country.
https://news.artnet.com/art-world/uk-export-ban-54-million-rembrandt-342098


Homes for Heroes® recognizes and congratulates the 2016 affiliate award winners as the top performers in the country. Combined, these affiliates have served hundreds of heroes nationwide and provided nearly $1.9 million in savings to firefighters, law enforcement, military members (active, reserve and veterans), EMS, healthcare workers and teachers in 2016.
The Outstanding Service Award is presented to exemplary Homes for Heroes affiliates who consistently go above and beyond in reaching and serving the heroes of their communities.
The Top Affiliate Awards are presented to our top performing real estate and lender specialists nationwide, based on hero closings in 2016. The combined savings that these Homes for Heroes affiliates gave back totaled nearly $1.9 million in Hero Rewards®!
The affiliates shown below make up our remaining real estate and lender specialists who finished 2016 in the top 2% of all Homes for Heroes affiliates nationwide.


text:
Jeremiah 44-46
May God bless this reading of His Word.
Textual evidence points to Solomon being the author of this well known Book, though there is nothing conclusive forthcoming. There is little doubt that this Book is worthy of canonization as it appears in all of the acknowledged manuscripts. Traditionally, Jewish boys were not exposed to this Book until they reached the age of 30 years because of its obvious amorous overtones.
It was a long held tradition among modern Christians that the Book is an allegory of the love between Christ and the church or God and Israel or Christ and the soul. It is interesting to note, though, that not a single passage of the Songs occurs outside of the text of this Book.
Personally, I think that this Book belongs here because it expresses the tenderness, the passion, and the overwhelming power of an emotion that God gave us for our marriages. The Book speaks powerfully even to the modern reader of the anguish of yearning and the ecstacy of being with the one that we love.
We may chuckle a little at the woman's breast being compared to gazelles or her hair being like a flock of goats because of the cultural differences but it is hard not to be moved by the beautiful, masterfully constructed poetry of such phrases as "Like a lily among the thorns is my darling among the maidens," and if you have never read this Book before, do yourself a favor and skip over to verses 8:6-7. The theology of this Book? The Song of Songs puts into words the most desirable and coveted gifts God gave mankind: the shared, mutual, and reciprocated love of a man and a woman.
Beginning in chapter 46 of Jeremiah and continuing until chapter 51 we see a succession of prophecies against specific nations beginning with Egypt. The message is often rather sarcastic towards this nation. The Egyptians were notorious for deifying many things, one of which was cattle for their perception of the false god Apis. That could very well be the reference point for the words "heifer" in verse 46:20 as well as the more literal translation in verse 15 of "bulls" than "warriors." Jeremiah also points out in verse 17 that the Egyptians made a serious tactical error in not pushing their advantage when Nebuchadnezzar retreated to Babylon at the death of his father. 2Kings 24:7 explains that this was because of a prior defeat where the Egyptians suffered a major territory loss. It also explains their lack of help during the 2 1/2 year seige on Jerusalem.
In John today we read of the authority given to Christ, the Son, from God, the Father. One point that is made in this narrative is that just as the Father supplies a physical ressurection, Christ gives a Spiritual ressurection. The spirit of the physically living may already be dead and that is why the term has eternal life is in the present tense in verse 24.
In 1Peter, the Apostle uses the analogy of "living stones" for believers. This is a very clever metaphor built upon previous passages including Christ's own affirmation of Peter as "the rock." We build out from the Cornerstone which is Christ. As long as we build upon Christ the structure of the church will be correctly aligned.
Clint, the Song of Songs, is this letters between Husband and Wife ? Great read, I have never studied this before. Interesting.
That's an interesting question, Mark.
First of all let there be no doubt that the New Testament is adamant that sex, as it was presented to the first couple before the Fall, is between one man and one woman who are married to each other. Any corruption of this original intent is described as sin.
If the man and woman are not married and have sex, it's fornication.
If either the man or woman are married but not to each other, it's adultery.
If the genders are the same, it's homosexuality. We won't even go into the other perversions. I think the point is made.
But this begs the question of the Song of Songs: is the Book talking about sex? It is difficult to read the passion filled lines and not recognize the amorous overtones as being sexual in nature. However, it is also difficult to point at any metaphor presented and say with certainty that it is.
Keep in mind that the central theme of the Book is not sex, but love. As opposed to (but not in contradiction to) the love of God, or the love rooted in Christ we display as Christian believers, or the love we have for our children, this is the love that promotes the Will of the Creator that draws us together for not only the sake of procreation, but also for companionship (Genesis 2:18).
So, are they married? I'm not sure that I can say so with certainty. I honestly do not know enough about what constituted a marriage in that time. If we accept the traditional view that Solomon is the author, he certainly knew about marriage. According to 1Kings 11:3 he had 700 wives and 300 concubines!
Here's a critical text that may help you appreciate the Book more fully, but it does not really answer your question:
http://www.studylight.org/enc/isb/view.cgi?number=T8288
and here is a study on marriage but it does not address the Song of Songs:
[ October 17, 2003, 01:35 PM: Message edited by: Clint Kritzer ]
Sunday School lesson 5/15/05
Chapters 40-44 are a look at the final days of Jeremiah. Chapter 40 picks up chronologically right where 39, the fall of Jerusalem, leaves off. The Babylonians have now fully occupied Palestine and the majority of the Judean population has been marched west to the exile. A remnant of the poorest folk remained in the area to tend fields and vineyards. By special order of Nebuchadnezzar himself, Jeremiah was given special privilege (Jeremiah 39:10-12). Despite this decree, Jeremiah is bound in chains, probably due to a lack of communication or case of mistaken identity, and marched to Ramah where the captives were readied for their deportation. While in the city of Ramah, Nebuzaradan recognizes the error that has occurred and releases the prophet. He then gives the prophet the option of remaining with the remnant or going with his countrymen to Babylon.
Jerusalem, in the meantime, had acquired a new governor by appointment of Nebuchadnezzar, Gedaliah, the son of Ahikam and grandson of Shaphan (the scribe in the reign of Josiah). After the demoralizing defeat of their nation, this familiar Jew being appointed governor gave those who had fled and the remnant a new hope and they began to return from hiding to their homes (Jeremiah 40:11-12). Jeremiah was among those who went to live in Mizpah with Gedaliah.
Just as in the modern time when occupying forces gain control of a land, guerilla groups begin to form. One such group was headed by Ishmael, a former prince of Judah who had fled to Ammon when Jerusalem was destroyed. Through an act of extreme treachery, Ishmael and ten of his followers assassinated Gedaliah by command of Baalis, king of the Ammonites, and took hostages from Mizpah. The unscrupulous rebel was then forced to flee for his life with eight of his band back to Ammon.
As a result of the assassination the people of Mizpah, some of whom had been hostages, became panicked, thinking Nebuchadnezzar would blame them for killing the man he had appointed governor. In their panic, they devised a plan to flee to Egypt to escape the wrath they assumed Nebuchadnezzar would have against them. They went en masse to Jeremiah and asked them to pray to God for direction in their decision and swore to abide by whatever advice the prophet reported. After ten days in prayer, the word of the Lord came to Jeremiah and it was that the people remain in Judah and not fear the Babylonians. Upon receiving this report, the people recanted their promise and accused Jeremiah of lying. They were going to go to Egypt anyway and they took all the people of Mizpah with them, including Jeremiah and Baruch.
So now the stage is set for today's lesson. As we open the curtain the scene is Egypt. The players are Jeremiah, the prophet forced to leave his homeland that he loved, and a band of Jews that have disobeyed the word of God in a reversal of the Exodus. Chronologically speaking, this is our final glimpse of Jeremiah and chapter 44 represents his last recorded prophecy. These final records of his ministry show him doing what he had done for forty years – shattering illusions and preaching reality.
Jeremiah 44:1-30 Judgment for Idolatry
Jeremiah 44:1-14 The Prophecy
Jeremiah's opening remarks remind the people of the history they had as a covenant people. The reason that the promised land lay in ruins now was because of the breaking of the Covenant made at Sinai and in particular the breaking of the First and Second Commandments (Exodus 20:3-4). Idolatry had been a long-standing problem among the early Hebrew nation. From the very first days of the Exodus to the final fall of the city of Jerusalem it was a problem confronted by every righteous religious leader and prophet. Now that the Jews had come full circle and were once again in Egypt, the problem persisted. When the people refused to listen to God's servants, God Himself took the matter into His hands and punished the people.
Despite the punishment so recently experienced by Jeremiah's audience, they refused to learn. They had once again begun casting idols and worshipping the established false gods of Egypt, Assyria and Canaan. As promised in Exodus, there would be divine retribution for such blatant disregard of God's statutes. Specifically, God would "set [His} face against [them] for harm, to cut off all Judah." The face of God is often used in Scripture to denote His anger (Psalm 34:16; Revelation 6:16). The purpose of setting His anger upon them was that the idolaters would be subject to punishment wherever they should flee. The very fate they sought to escape in Mizpah would follow them to Egypt – the sword and the famine. The memory of them would be a spoken curse or a taunt. Jeremiah told them that very few of them would make it out of Egypt.
Jeremiah 44:15-19 The People's Response to the Prophecy
This Passage is quite interesting in a number of respects. The people refused to listen to Jeremiah's claim that their hardship was the result of idolatry. To the contrary, they reasoned that things had gone well for them while they worshiped idols and started to go downhill when they ceased! The "queen of heaven" spoken of here was likely the Phoenician goddess, Astarte, or the equivalent of this false deity in many other cultures - Ashur for the Assyrians, or even Isis for the Egyptians. She was a fertility goddess especially revered by women. Part of the cultic practice in the worship of this goddess was to make cakes in the likeness of a woman to be used in ceremony. The Jews likely remembered the relative peace and secular posterity they had experienced under Mannaseh and how after the Josianic reform things started going downhill for them. The Geneva Study Bible makes a clear summary of these people's attitude:
This is still the argument of idolaters who esteem religion by the belly and instead of acknowledging God's works who sends both plenty and famine, health and sickness. They attribute it to their idols and so dishonour God.
Jeremiah 44:20-30 Jeremiah's Retort
In his last recorded message, Jeremiah reiterates the real reason for the calamity. One can almost hear the disgust in his voice as he sarcastically replies, "Go ahead, then! Keep it up! But there is an awful price to pay for such blatant apostasy." In the test of wills between God and the Jews of Egypt who abandoned Him, God would win. As a sign of surety of the prophecy, the Egypt would fall to the Babylonians just as Judah had.
This discourse between Jeremiah and a remnant of the people he loved is a bitter note on which to end. It must be set in the context of the entire ministry of one who is often called the greatest prophet of ancient Israel. For forty years Jeremiah served, suffered and sacrificed driven by his unswerving dedication to God and his dogged loyalty to his people. God had hurled Jeremiah upon the Israelites at their bleakest hour and they still refused to listen. Tradition holds that the Jews in Egypt martyred Jeremiah. We certainly see nothing in the context of the Scriptures that would lead us to believe otherwise. He would not be the first nor the last to suffer such a fate at the hands of the people who broke the covenant.
It would not be long after his death that these same people would canonize him and make the recordings of his prophecies sacred. When Jesus walked the highways and byways of Palestine the people said that He reminded them of, or even was, Jeremiah (Matthew 16:14). Indeed, we have before us one of the most Christlike men of the Old Testament. Next to Jesus, he is one of the most successful "failures" in the Bible.
Jeremiah 45 The Prophet and the Secretary
We would be quite remiss in our study of Jeremiah if we were to overlook this short but significant chapter. Situated at the end of the biographical section, which began in chapter 34, this acts as a seal and signature by the secretary. While Baruch remains in the background throughout most of the Book, he obviously was well known as an associate of Jeremiah as is attested in 43:3. Here he comes to the forefront in what has come to be known as ""Baruch's confession." Chronologically, these 5 verses probably fit in between 36:8 and 36:9 when Jeremiah was dictating the scroll that would be burned by Jehoiakim.
While it is merely conjectural, there may have been three primary causes for the confession. First, the man may have been overcome with grief at the people's sin as Jeremiah dictated to him. Secondly, he had likely suffered many of the same persecutions that Jeremiah had and may have been anticipating more of the same when he read these words out loud to the public. Third, as the son of a prominent family, he may have seen his ambitions of his youth destroyed by the life of loyalty he had chosen.
God through Jeremiah, however, made it clear that Baruch's laments paled when compared to what He was suffering. He was having to pull down what He had built and pull up what He had planted. We see also in this Passage that if man is to serve God, he must do so on God's terms. We are not to put our selves at the center but God. True greatness does not equal personal ambition in the way of the cross. The reward for his service would be his life as a prize of war. This Passage reflects a period in Baruch's life when he was facing a crossroad. He made his choice and it was the right one. Baruch was not the prophet, but he served as an invaluable member of the community of faith. Through his perseverance, during the hard times of Jehoiakim and Zedekiah's reigns, the sack of the city, the failure of the new start and the flight 0of the city, he stuck it out and made one of the most valuable contributions to mankind in history – the transmission of the word of God. Baruch stands as an example to us today as one who was totally committed to God.
Sunday School 8/27/06
Song of Songs
It would be a major understatement if I were to say that the Song of Songs is an interesting Book to study. It is somewhat unique in the Canon as its central issue is the strongest of human emotions: love.
The Bible speaks of love in several different contexts. There is the love of God for man, the love of the Christian brotherhood, the destructive love of money. 1Corinthians 13 is one of the most beautiful Passages of the New Testament and is dedicated to the subject of love as it relates to the Christian body. The Song of Songs, however, is a testament to the most widely talked about concept of love: the love between a man and a woman.
When one studies the Book of Song of Solomon, as it is titled in many texts, it is very striking that the text lacks many of the elements that other Books accentuate. There is no mention of the Temple, or priestly rites, no prayers are offered, no sacrifices made. The Book, in fact, makes no mention of God except in passing. There is no mention or quoting of the Book in the New Testament. It seems to stand quite alone and non-related to the rest of the Bible. In actuality, the Book almost missed being put into the Canon at all.
Many schools of the ancient rabbis tried to "justify" the Book's placement in the Canon by taking a purely metaphorical line of interpretation in which the Book was speaking of the love of God for Israel. The Catholic Church slightly modified this approach by saying that the official line of interpretation was Christ's love for the church. Some of the Protestant reformers followed this line in their interpretations. Such a line of interpretation is, at best, a bit of a reach. Even while the Jewish scholars wrestled with metaphors, they were also having to place injunctions against singing selected verses as bawdy songs in "wineshops" as early as 90AD. A straight reading of the text leaves little to the imagination: the Song of Songs is a Book describing love and the strong desires that accompany it.
Make no mistake, however, the Song of Songs is a necessary element of our Bible. Of all the human experiences, love and sexual desire are among the most potent and prevalent. The author, likely a young Solomon, speaks to us frankly and unapologetically about one of the strongest facets of our nature in this Book. This is not the only place in the Bible which speaks of sex, but it is certainly the most graphic. These are the thoughts of lovers' translated into poetry. It is neither vulgar nor coarse. To the contrary, it is acknowledgement of the power of a gift of God.
As this is a single unit discussion of the Book, this commentator will attempt to give a synopsis of the entire story conveyed in these eight chapters. I hope to convey the elements of the story as they relate to a straight and literal interpretive line. When taken literally, the Song of Songs teaches the futility of love when practiced illicitly and the complete futility of trying to resist it.
Song of Songs 1:2-8 The Absentee Lover
If we think of the Song of Songs as a drama, there are three main characters: the maiden, the shepherd, Solomon, and the chorus of women also called the daughters of Jerusalem. The woman and the shepherd are both very attractive people and the Book goes into many descriptive Passages of both. The woman is described as darkened from the sun, some have even speculated that she was black, though the text is not specific on that matter. More likely, she is swarthy from working the vineyards. Verse 4 describes her current situation as being in the chambers of the king. The narrative that follows describes how she got there and why she wishes she weren't
Verses 7-8 clearly describe the man as a shepherd. Both of these characters begin as working class people. The woman's obvious beauty gives her an opportunity to rise out of the working class environment. Her family, specifically, her brothers, have become angry with her in verse 6 because she has not kept "her own vineyard." As one reads on into the Book, the metaphor indicates that the brothers are aware of the clandestine meetings she has had with the shepherd and in an effort to maintain her chastity, an important characteristic for a young woman to marry, they have banished her to the vineyards to work.
The young lovers were not to be overruled, however, and verse 8 describes the shepherd suggesting that she pose as a shepherdess and meet him in the fields while the sheep find pastureland. Verses 16-17 describe another meeting in the woods, saying their couch is green (grass) and the beams of the house are cedar and pine (trees). Verse 2:5 describe a "date" at a banquet house. The two would not be parted.


It's a bright, shiny, NEW COMICS DAY and that means I've got another Top 10 Comics Of The Week video with which to spew my opinions of the best funnybooks to hit the shelves! Image Comics' Invincible #118 is the king of the hill this go-around thanks to the continually excellent Ryan Ottley art, the fantastic character-development (Mark finally confesses what's been bothering him so badly), a multi-page poop joke, and a 25 cent cover price! that's a helluva value!
Check out the video in the above pop-up player, or if you're having trouble HERE is the direct link.
Do you agree with the Top 10 Comics of the Week list? Was there something I missed? Does it make you wanna puke all over your keyboard thanks to a blaring omission– a travesty of comic book justice?! Well, sound off in the comments!


text:
Home/World News/Middle East/Saudi Arabia/Satanic Saudi-coalition's jets kill 8 Yemenis in western Yemen
Saudi ArabiaYemen
Satanic Saudi-coalition's jets kill 8 Yemenis in western Yemen
Image processed by CodeCarvings Piczard ### FREE Community Edition ### on 2017-03-27 10:09:34Z | |
Eight members of a Yemeni family were killed in an air strike conducted by Saudi-American coalition in Hajjah Province, western Yemen, Yemeni media 'Yemen Press' reported.
During the attack, six children together with their parents were killed.
The operation also injured two others.
Earlier, President of the Supreme Revolutionary Committee of Yemen Mohammad Ali Al-Houthi said invaders are doomed to failure in their attempts to rage war in Yemen's west coast region.
"As previous escalation of the aggression in the West Coast failed, their current escalation will fail too," he added.
Saudi Arabia and its regional allies attacked Yemen in March 2015 to bring back to power the deposed president of Yemen Abdrabbuh Mansour Hadi.
The aggressors have committed horrible war crimes against Yemeni civilians during the past three years.
Quds Day, a precursor to the Party of the Oppressed
Instagram Deactivates Imam Khomeini's Account
British political analyst: Late Imam Khomeini discloses depth of corruption of arrogant powers


text:
Q: Yii pagination showing fewer items than available I have a simple CGridView that is fed from a CActiveDataProvider.  At the moment, and I'm not sure how long this has been happening, it does not show all the data items in the view with pagenation enabled.
My header shows "Displaying 1-7 of 9 results" but there are not buttons for more pages.  If I set the pageSize of the pagenation property of the data provider to a small number I will eventually get the paging buttons, but it seems to show fewer items on the first page than the second page.  For example, if I set the pageSize of the CActiveDataProvider to 3 I get 2,2,3 (items on each page) instead of 3,3,1 as I might expect.
If I set the pageSize to anything between 9 and 11 inclusive there are items I cannot see because I only get one page and not all of the items show up ("1-6 of 9" if I set the pageSize to 9).
$criteria=new CDbCriteria;
$criteria->with = array('registrations');
$criteria->addCondition('registrations.id IS NOT NULL');
$criteria->addCondition('registered = false');
$criteria->together = true;
$dataProvider = new CActiveDataProvider('Skier', array('criteria'=>$criteria));

$this->widget('zii.widgets.grid.CGridView', array(
    'dataProvider'=>$dataProvider,
    'columns'=>array(
        array('name'=>'fullname', 'header'=>'Name'),
        array(
            'name'=>'programs_names',
            'header'=>'Programs',
            'value'=>'$data->programs_names',
        ),
        <More items here>
    )
));

Anyone have any idea what would cause the pagenation to be so wonky?
Edit: Also, changing the CActiveDataProvider to a CArrayDataProvider works correctly and I get 9 of 9 results.  This will work for now because I have small data sets, but I would rather figure out what the problem might be.
$dataProvider = new CArrayDataProvider(Skier::model()->findAll($criteria));

A: If you are using a complex query try this one
$count=Yii::app()->db->createCommand('SELECT COUNT(*) FROM tbl_user')->queryScalar();

$sql='SELECT * FROM tbl_user';

$dataProvider=new CSqlDataProvider($sql, array(
    'totalItemCount'=>$count,
    'sort'=>array(
        'attributes'=>array(
             'id', 'username', 'email',
        ),
    ),
    'pagination'=>array(
        'pageSize'=>10,
    ),
));
// $dataProvider->getData() will return a list of arrays.

Then you can pass your $dataProvider to your CGridView
Further docs on using custom query as dataProvider, check here.

A: I had a problem like this. it was due to duplicate entries (primary keys) in the database.

A: I had to put $criteria->with and its together=true inside an if():
if( (int) $this->categoria_id > 0) {
    $criteria->with = Array (
        'categorie'=> Array (
            'together' => true,
        )
    );
    $criteria->compare ('categorie.id', $this->categoria_id);
}

otherwise CActiveDataProvider pagination with together=true and no parameter passed returns a wrong count

A: To show exactly ALL records, 'count rows' and then 'supply $countResult to pageSize', for example
First count rows like (this is an example, 'User' = 'your model name') )
$countResult = User::model()->countByAttributes(array('record_name' => $matched_record_name));

OR
$countResult = User::model()->count($condition);

And then supply $countResult to pageSize
            'pagination'=>array(
                'pageSize' => intval($countResult),
                )),

A: Try to add the following to "Skier" model's search method:
$criteria->group = "id";

Or:
$criteria->group = "t.id";


Wow. The dead body was blamed for wearing black clothes, resulting in it not being discovered.
Hit at midnight, not found until 7am.
This could've been me – I ride west over 880 in Hayward before sunrise.
None of the freeway overcrossings/undercrossings have bike lanes in Hayward, and there's only a single ped bridge over 880. The Winton class III is a joke and is terrifying in the afternoon much less at night.
Read my comments on the park bond at East Bay Times. I found their opinion ridiculous.
You're not even trying anymore dude. Hang it up.
The comments in the SFHate article about the BRT are hilarious. "War on Cars", "Nightmare", all the usual chicken little hyperbole. We should make a bingo card with them they're so predictable.
Are you, specifically, willing to pay to put this transportation underground?
Jimbo, You are as predictable as you are tiresome.
yes, im willing to pay mroe taxes.
roymeo, are you telling us that you can see a black object at night that isn't moving?
In the City's history, there have been three ballot measures on building a subway and all have failed (unfortunately). Only BART got the City to do something. Now there is talk of eventual expansion of light rail lines, but you act as if building a subway is easy and cheap (which is neither).


text:
Why I Give: 'I Believe in the Continuing Education of Adults and NC State Does…
Why I Give: 'I Believe in the Continuing Education of Adults and NC State Does a Lot to Support Our Community College System,' Says C. Neill McLeod '72MS, '74EDD
July 14, 2020 Reah Moore
Editor's Note: This is part of a monthly "Why I Give" series in which NC State College of Education alumni, students, faculty and staff share why they support the college.
When C. Neill McLeod '72MS, '74EDD graduated from college with her sociology degree, she moved to New York City with her friends. It was there where she landed a job with the Girl Scouts of Greater New York and learned how to work with and train adults.
Through the girl scout training program, McLeod learned how to be a community change agent. As someone who was in the service club in high school, served wherever needed and knew the importance of service at a young age, being a change agent was the perfect fit.
She returned to Raleigh as director of personnel and public relations for the Pines of Carolina Girl Scout Council, where she became training director. It was in that role where she discovered her passion for education.
McLeod eventually developed an interest in continuing education for adults, which allowed her to merge her interests into a career. She spent 32 years with the North Carolina Community College System (NCCCS), where she broke down barriers. McLeod served as North Carolina's first female community college president at Martin Community College, first female director of student activities, first female dean of continuing education, first female vice president of instruction and student development, and first woman associate executive vice president of the NCCCS office. She always believed she could do anything and she knew she would need to prove it.
McLeod credits her success as a leader in the community college system to her role with the Girl Scout Council, where she was given the skills to be a good administrator, and to her experiences as a student in the NC State College of Education, where she learned the research and reasons why. And was able to increase her understanding of the ways to improve her skills.
The impact that Dallas Herring, founder of the state's community college system and chairman of the State Board of Education, and Edgar Boone, professor and head of the Department of Adult and Community College Education, had on her life inspires her to give back to the college in their honor, supporting the William Dallas Herring Professorship Endowment and the Edgar J. and Ethel B. Boone Adult and Community College Leadership Award Endowment.
McLeod, who has been supporting NC State and the college for 40 years, also gives to the College of Education Excellence Fund.
"I believe in the continuing education of adults and NC State does a lot to support our community college system," said McLeod. "And I give because I am grateful for the valuable assistance Dr. Herring and Dr. Boone gave me."
The Raleigh native worked at five different community colleges within the system, including holding several leadership roles at Wake Technical Community College before retiring in 2005.
In the Q&A below, she talks about why she pursued a career in community college education, why she has supported the college for 40 years and how she hopes her support will help prepare future community college leaders. The following is edited for length and clarity.
What attracted you to a career in community colleges?
My training program with the Girl Scouts of the USA helped me become a believer in continuing education. Our community college system is designed for adults who are continuing their education. They may have been high school dropouts. They may have gone to college and dropped out, but most, if not all of them have come back to gain marketable skills. Because there is that aspect of the community college system, I knew that was the place where I fit. Being service-oriented, it was a way for me to help a lot of breadwinners and their families succeed and their communities improve because of the continuing education our system offers.
After a 32-year career in community college education, why did you stay in the field of community college administration for so long?
I believe in the continuing education of adults and it was a way for me to provide a service and make contributions to families, their communities and the state. The Girl Scouts of the USA trained me to be a community change agent and an administrator. I made it my business to understand the processes required to work with stakeholders in various communities in which I served. And because of my experiences in the Girl Scout Council and at NC State, I became a better administrator.
As the first female president of a community college in the North Carolina Community College System, what is your advice to women who aspire to lead at the community college level?
Be prepared. You better know what you're doing because you're going up against a whole lot of other people who have their own agendas and their strong wills, and you have to be able to make your case. Be able to be supportive and bring people together to figure out how you are going to make the impacts that are needed. I preferred a collaborative approach, but if you make a decision and some people aren't happy with it, be able to explain why.
As a long-time donor for over 40 years, why did you start giving to the College of Education? Why have you continued this support?
I started giving to the College of Education to establish a chair in the name of Dallas Herring, Ph.D., who was the founder of our system. And I give what I can every year. Dr. Herring had a big impact on my experience at NC State as well as in the system. He controlled the fellowships which helped me continue my education to receive a doctorate so I could interview for positions for which I was qualified. I also give to help emphasize community college support. I believe in the continuing education of adults and NC State does a lot to support our community college system.
Photography Credit: Portraits by Yolanda
adult and community college education
C. Neill McLeod
Community College Leadership
ELPHD
homepage-news
More From College of Education News
Meet Assistant Teaching Professor Terri Tilford: 'I Hope Students Learn From Me the Joy of Learning, How to Effectively Help Others and How to Identify and Develop Their Niche in Counseling'
2021: Our Year in Review
Teaching Fellows in NC State University's Marching Band Learn to Build Community as Part of 'The Power Sound of the South'


text:
Q: How to do perform push operation to get the filename inside comments Am finding values from db
app.get('/getcoments',isLoggedIn,function(req,res){
console.log("comments dfsd")
mongo.filemanager.find({comments : {$exists:true}, $where:'this.comments.length>0'},{file_name:1,comments:1,},function(err,response){
    if(err) throw err

    response.forEach(function(values){

      console.log(values)
    })

})

});

Am getting following output:
resume_of_ganga_.docx
{
  created_date: 2017-11-28T13:23:51.472Z,
  status: 'N',
  comment_text: 'Yes...',
  username: 'name' }

I want to include the filename inside the comment .. How to do that


text:
August Rauber (March 9, 1841 – February 16, 1917) was a German anatomist and embryologist born in Obermoschel in the Rhineland-Palatinate.

Rauber was born the fourth of five children to Stephan Rauber and Rosalie née Oberlé. He studied medicine in Munich, obtaining his doctorate in 1865. At Munich his instructors included Theodor Bischoff (1807–1882), Nicolaus Rüdinger (1832–1896) and Julius Kollmann (1834–1918).

Career
In 1869 he obtained his habilitation, and in 1872 worked as a dissector at the University of Basel. Shortly afterwards, he relocated to the University of Leipzig, where he worked under Wilhelm His (1831–1904). From 1873 to 1886 he was an associate professor of anatomy and anthropology at Leipzig.

In 1886, he became a professor of anatomy and head of the anatomical institute at the University of Dorpat. He worked as a professor in Tartu (Dorpat) for 25 years and also started the anatomy collection of the University of Tartu.

In his studies involving the embryonic development of birds and mammals, Rauber is credited with combining comparative embryology and histology with phylogenetic analysis. The eponymous "Rauber's layer" bears his name, being defined as a trophoblastic membrane over the embryonic disk in developing animals.

He is buried to the New St. John's Cemetery in Tartu.

Partial list of publications
 Vater'sche Körperchen der Bänder- und Periostnerven und ihre Beziehung zum sog. Muskelsinne (1865).
 Untersuchungen über das Vorkommen und die Bedeutung der Vaterschen Körperchen (1867).
 Elasticität und Festigkeit der Knochen, 1876 - Elasticity and strength of bones.
 Über den Ursprung der Milch und die Ernährung der Frucht im Allgemeinen (1879).
 Urgeschichte der Menschen, (two volumes) 1884 - Prehistory of man.
 Homo sapiens ferus (1885) - Homo sapiens ferus.
 Oder die Zustände der Verwilderten und ihre Bedeutung für Wissenschaft, Politik und Schule (1885).
 Über die Bedeutung der wissenschaftlichen Anatomie, 1886 - On the importance of scientific anatomy.
 Atlas der Krystallregeneration (four volumes), 1896/97 - Atlas of "crystal regeneration".
 Die Aufgaben des Lebens (1896).
 Lehrbuch der Anatomie des Menschen (two volumes) - Textbook of human anatomy - (5th edition 1897/98), continued by Friedrich Wilhelm Kopsch (1868-1955).Google Books Rauber-Kopsch Lehrbuch und Atlas der Anatomie des Menschen: Eingewiede Nervensystem Sinnersorgane

Bibliography
 Maie Toomsalu, The Legend is Alive: August Antonius Rauber, Professor of Anatomy'', University of Tartu, Tartu 2020, pp. 183

References

External links

 Translated biography and list of publications @ Pagel: Biographical Encyclopedia

1841 births
1917 deaths
People from Donnersbergkreis
German anatomists
German embryologists
Academic staff of the University of Tartu
Academic staff of Leipzig University
People from the Palatinate (region)

redpajama_set_name: RedPajamaWikipedia


North America Nanocellulose Market by Manufacturers, Countries, Type and Application, Forecast to 2023..
This report focuses on the Nanocellulose in North America market, especially in United States, Canada and Mexico. This report categorizes the market based on manufacturers, countries, type and application.
There are 15 Chapters to deeply display the North America Nanocellulose market.


Worldwide breast cancer remains the most common cancer in women.1 In South Africa, one in 28 women will develop breast cancer during her lifetime.2 The risk is even greater for specific ethnic groups such as caucasian women where the risk increases to one in 12.2 Over the years the average age of women affected with breast cancer has decreased.3 Early detection and diagnosis of breast cancer is therefore essential. With the use of mammography, breast cancer ca be detected before it is palpable. This aids in early detection of cancers that are still confined to the breast and require less aggressive management.


text:
BritainDec 7th 2002 edition
The ascent of British man
How things have changed at the top of Britain's professional ladder
TEN years ago, The Economist looked at how the educational background of the people in 100 top jobs in Britain had changed over 20 years. We found that almost the same number of people had been to public school (code for the smart private establishments which make up 450 of Britain's 4,300 secondary schools) and Oxford or Cambridge as in 1972 (see article from 1992). Now the results are rather different (see table).
We chose 100 top jobs in politics, business, academia, the professions, sport and the arts. The list (see below) is necessarily arbitrary. Only the foolish will be offended by omission. As far as possible, we stuck to the list we used in 1992. Some change was forced upon us. There is no longer a governor of Hong Kong, for instance, and there is a mayor of London. Some companies have faded while others have grown, so we chose the chairmen of the 18 most valuable FTSE companies, plus those of the stock exchange and Lloyd's, to make up our business contingent.
The drop in the number of public school and Oxbridge alumni is most noticeable in business. Ten years ago, every company chairman on our list had been to public school and 12 had been to Oxbridge. Of the current list, eight out of 20 went to public school and four to Oxbridge. This is partly because of the arrival of foreigners such as Maarten van den Bergh at Lloyds TSB (Dutch) and Niall FitzGerald at Unilever (Irish). But it is also because there are more state-school educated Britons, such as Shell's Philip Watts and BAT's Martin Broughton, at the top.
Elsewhere, change is fairly evenly distributed. Among the political jobs in the survey, a few are held by public-school alumni—such as Tony Blair, Alistair Darling and Lord Irvine—and a few by Oxbridge types—such as Tony Blair, Patricia Hewitt and Michael Howard. Oddly, while the Labour Party is run by a product of the public school system and Oxbridge, none of the leaders of any of the other main political parties—Iain Duncan Smith of the Tories, Charles Kennedy of the Liberal Democrats, Gerry Adams of Sinn Fein and John Swinney of the Scottish National Party—have been to either. Mr Duncan Smith went to a cadet (military) school, which doesn't count.
Eighteen people didn't go to university at all—some because they went to military colleges, some because they came up through sports and the arts, and some (such as Michael Martin, speaker of the House of Commons and a former sheet-metal-worker) because they were poor boys made good.
The institution that has suffered most is Eton. It is down from 14 in 1972 to eight in 1992 to two—Charles Nunneley of the National Trust and David Calvert-Smith, the director of public prosecutions.
Among the things that haven't changed is the average age of the top people: 57 now, the same as it was in 1992. In 1972 it was 58. The only person who has been on all three lists is the queen (who didn't go to school at all, let alone university). The queen's private secretary, the ambassador to the United States, the boss of the Royal Opera House, the Master of the Rolls, the chairman of the Bar Council, and the spies are all still public school and Oxbridge chaps (or chapesses, in the case of MI5). But many other core establishment jobs have fallen. The BBC is now run by the determinedly demotic Greg Dyke, the Church of England by a leftish state-school product, Rowan Williams, and the Times by an Australian, Robert Thomson.
Perhaps the most startling result of all comes from the female contingent. Women's representation among the top people has risen by a massive 25%—from four to merely five. Twenty per cent of the present contingent are the queen.
As to the future, we reckon that the public schools will reassert themselves—because they have become fiercely academically competitive over the past couple of decades, and because the state system has got worse by comparison. Oxbridge will hold its own for a while, and then see its share shrink further, as the standard of higher education in Britain continues to decline and more and more students sign up for universities abroad.
This article appeared in the Britain section of the print edition under the headline "The ascent of British man"
More from Britain
The price of survival
Boris Johnson's broken premiership
Telly addicts
Tory MPs love to hate the BBC, but Tory voters love to watch it
Britain's Office for National Statistics did well during the pandemic
Hong Kongers
Britain's newest immigrants are showing a flair for protest
Still got skin in the game
Britain's vellum industry is booming (quietly)
He may cling on to office, but his hold on his party has gone
The latest piece of "red meat" may stick in the throat
It did more as its job became harder
Keeping up the old traditions
But the nation's crafts are still endangered


I had the amazing opportunity to chat with author Ken Liu about writing, fandom, and of course Star Wars. He is the author of two pieces of Star Wars fiction in the last year, the novel The Legends of Luke Skywalker (2017) as well as the short story "The Sith of Datawork" from the Star Wars anthology From a Certain Point of View (2017), which celebrates the 40th Anniversary of A New Hope.
I got serious about writing for publication in college, and have been publishing fiction off and on for close to two decades now.
When I was a kid in China, the Star Wars films weren't released in the country. But I got to read a translation of the novelization of The Empire Strikes Back and fell in love with the galaxy far far away immediately. Been a fan since.
It's largely a matter of your sources of allusions and references. The Star Wars universe has a self-contained history, geography, cultures, politics, and so on, and so the challenge is to build on what has already been done by other fantastic creators while retaining the flavor of your own unique vision.
There's a lot more freedom when doing my own original work, but I also can't quite count on the audience being able to understand all the references.
How did you become a part of From a Certain Point of View?
I was invited to contribute by editor Elizabeth Schaefer, who was just fantastic to work with. The idea of telling a story that expanded a minor moment from the film was just up my alley. I think I said yes in less than 12 parsecs.
"The Sith of Datawork" was one of my favorite short stories in From a Certain Point of View. How did you select that particular moment from the film to write about?
I've always loved that moment from the film. The very idea that Imperial gunners would conserve energy ammunition and not go "pew pew pew" on the escape pod struck me as funny and absurd from the get go. I had to come up with some explanation that made sense, and decades after I first had that thought, I finally got the chance.
We know that the Story Group can keep a tight grip on the stories that are part of canon now, but your book, The Legends of Luke Skywalker, is ambiguous about how much of the stories involved are real. What was the interaction with the group like in planning the novel? How did the novel come to you?
I can't say much about the details due to the NDA, but I can say that Lucasfilm Publishing was extremely supportive. They gave me all sorts of resources and I could bounce ideas off of them while writing the book.
You probably can't tell me whether any of the stories in The Legends of Luke Skywalker are actually canonical, but if you had to choose one of them that you'd most like to believe was true, do you have one in mind?
The idea behind The Legends of Luke Skywalker is to play with the notion of "canon" a bit. All the stories are in fact in-universe legends, and so they have the same truth value as legends in our universe. The legends reflect the meaning of Luke to different people in the galaxy, and they are true only insofar as they inspire people to positive action. That is exactly how it should be.
My favorite of the stories in The Legends of Luke Skywalker is "Fishing in the Deluge." What was your inspiration about the different conceptions of the Force that the characters in that story express?
I went back to the same sources as Lucas himself in coming up with the idea of the Force. Various religious and philosophical traditions in our world together formed the foundation of the Force, and that is a rich mine that can never be exhausted.
Speaking of "Fishing in the Deluge," we see Luke Skywalker use a long fishing spear in The Last Jedi. What do you think of that coincidence?
In your Star Wars work you've gotten to both work with the most legendary of characters, Luke Skywalker, as well as create some new ones of your own. How is it different when you get to play with your own characters versus being trusted with someone else's?
Luke is one of my favorite characters from the Star Wars universe. He has come to mean so many different things to fans around the globe, and I wanted to honor the power of that multiplicity. For that reason, the book had to be told from many different points of view, and the one thing you have to do, when you want to make a POV compelling, is to create a compelling character.
Too many to count. But personally, I'd like to tell a story outside the Skywalker family saga. It's a vast galaxy out there, full of interesting stories.
If readers enjoyed the way I use SF tropes to tell a story that is at heart a mythical fantasy, they might enjoy my silkpunk epic fantasy series, The Dandelion Dynasty (The Grace of Kings, The Wall of Storms, and a forthcoming third volume). These books are epic fantasy based on historical legends from China, but they feature engineers as heroes, and there is real math in the books.
I have several short fiction projects this year, and in May, MIT Press will be publishing Twelve Tomorrows, an SF anthology featuring authors like SL Huang, Elizabeth Bear, Malka Older, and me. If readers want to keep up with my latest, they can follow me on Twitter (@kyliu99), go to my web site (http://kenliu.name), or sign up for my mailing list (see link on my web site).
Ken Liu (http://kenliu.name) is an author of speculative fiction, as well as a translator, lawyer, and programmer. A winner of the Nebula, Hugo, and World Fantasy awards, he is the author of The Dandelion Dynasty, a silkpunk epic fantasy series (The Grace of Kings(2015), The Wall of Storms (2016), and a forthcoming third volume) and The Paper Menagerie and Other Stories (2016), a collection. He also wrote the Star Wars novel, The Legends of Luke Skywalker (2017).


text:
Weighing yourself too often can cause you to obsess over every pound. Penner recommends stepping on the scale or putting on a pair of well-fitting (i.e. not a size too small) pants once a week. "Both can be used as an early warning system for preventing weight gain, and the pants may be a better way to gauge if those workouts are helping you tone up and slim down." [Tweet this tip!]
During adolescence and early adulthood, women need to consume foods rich in calcium to build peak (maximum) bone mass. This will reduce the risk of developing osteoporosis, a progressive condition where there is a loss of bone that leaves those affected more susceptible to fractures. Women also need an adequate iron intake because they lose iron through menstruation. Women also need an adequate intake of calories to support energy and nutritional needs in order for the body to function properly. The amount of calories that an individual needs varies for each person and is based on age, gender and activity level. As a general recommendation, women between 23 and 50 years of age generally need between 1,700 and 2,200 calories per day to maintain their current energy needs and body weight. Older women generally require fewer calories to support and sustain energy needs. Consuming fewer than 1,500 calories per day, even in attempts to lose weight, can put women at nutritional risk and can result in malnutrition and poor health. For more information on how to calculate one's nutritional needs, go to www.choosemyplate.gov and insert your personal information. The 2005 Dietary Guidelines for Americans is another reference or guide to assist you in learning to eat a balanced and nutritious diet for good health.
It doesn't matter how many pushups you can do in a minute if you're not doing a single one correctly. "There is no point in performing any exercise without proper form," says Stokes, who recommends thinking in terms of progression: Perfect your technique, then later add weight and/or speed. This is especially important if your workout calls for performing "as many reps as possible" during a set amount of time. Choose quality over quantity, and you can stay injury-free.
The average woman should get 10 to 35 percent of her daily calories from protein. Protein helps prevent muscle tissue from breaking down and repairs body tissues. Sources of animal proteins include meat, fish, poultry, eggs, milk and cheese. Vegetable proteins include dried beans and peas, peanut butter, nuts, bread and cereal. (A three-ounce serving of cooked chicken contains about 21 grams of protein.)
Not being able to do a pull-up doesn't mean you shouldn't step up to the bar. Simply hanging on for as long as possible can improve your upper-body strength, Montenegro says. Concentrate on keeping your body as still as possible, and you'll naturally recruit your abs, hips, and lower back in addition to your arms, she explains, or slowly move your legs in circles or up and down to further engage your abs.
The best evidence that ALA can protect the heart comes from the Lyon Diet Heart Study, a randomized clinical trial in Europe. It tested the effects of an ALA-enriched Mediterranean diet in 605 patients with coronary artery disease. Over a four-year period, the high-ALA diet produced a 72% reduction in heart attacks and cardiac deaths and a 56% lower risk of dying from any cause (including cancer). The Mediterranean diet differed from the standard Western diet in many respects, but because it contained a special canola oil margarine, the greatest difference was in its ALA content, which was nearly eight times higher in the protective diet.
Among other things, you need calcium to build healthy bones and teeth, keep them strong as you age, regulate the heart's rhythm, and ensure your nervous system functions properly. Calcium deficiency can lead to, or exacerbate, mood problems such as irritability, anxiety, depression, and sleep difficulties. If you don't get enough calcium in your diet, your body will take calcium from your bones to ensure normal cell function, which can lead to weakened bones or osteoporosis. Women are at a greater risk than men of developing osteoporosis, so it's important to get plenty of calcium, in combination with magnesium and vitamin D, to support your bone health.
If you thought texting changed your love life, imagine what it could do for your waistline. When people received motivational text messages promoting exercise and healthy behaviors twice a week (i.e., "Keep in the fridge a Ziploc with washed and precut vegetables 4 quick snack. Add 1 string cheese 4 proteins"), they lost an average of about 3 percent of their body weight in 12 weeks. Participants in the Virginia Commonwealth University study also showed an improvement in eating behaviors, exercise, and nutrition self-efficacy, and reported that the texts helped them adopt these new habits. Find health-minded friends and message each other reminders, or program your phone to send yourself healthy eating tips.
A workout partner not only keeps you accountable, she also may help you clock more time at the gym and torch more fat. A British survey of 1,000 women found that those who exercise with others tend to train six minutes longer and burn an extra 41 calories per session compared to solo fitness fanatics. [Tweet this fact!] Women with Bikram buddies and CrossFit comrades said they push themselves harder and are more motivated than when they hit the gym alone.
When you're at the bar or a party and starving, your options aren't always the best. But if it's bruschetta, chips and salsa, or wings, go for the chicken (though nuts would be even better). Protein fills you up faster than carbs do, making it less likely that you'll overeat, says Christopher Ochner, Ph.D., a research associate at New York Obesity Nutrition Research Center at St. Luke's Roosevelt Hospital Center. And since it'll keep you satiated longer, you won't be as tempted when your friend orders a brownie sundae or brings out a tray of blondies.
In the stereotypical Ozzie and Harriet family of the 1950s, men ruled the roost while women ruled the roast. That's no longer true (if it ever was), but in most households women are still in charge of nutrition. They stock the pantry, plan the menus, and fill the plates. In most households it's a good thing, since the average woman knows more about nutrition than the average man. But when it comes to optimal nutrition, there are differences between the sexes. The differences are subtle, but they may affect a man's health.
Part of the reason why so many women fail to get the amount of iron they need is because one of the best sources of iron is red meat (especially liver) which also contains high levels of saturated fat. While leafy green vegetables and beans are also good sources of iron—and don't contain high levels saturated fat—the iron from plant foods is different to the iron from animal sources, and not absorbed as well by the body. Other foods rich in iron include poultry, seafood, dried fruit such as raisins and apricots, and iron-fortified cereals, breads, and pastas.
In order to complete your transaction, we will share the name, billing and shipping address and other order information associated with your purchase with the publisher or magazine vendor. Your name and address will also be shared with a circulation-auditing organization. We may share your e-mail with the publisher, but you can control how it will be used in Subscription Manager. We will not share your credit card information. Offers on this page are introductory. See Details.