text:
Q: Rails transfer form data modification error I have a form in which I input a transfer. This transfer is stored into a database (and used for a transaction in the controller).
It worked roughly, but now for the finetuning the input needs modification before I save or a transaction is made.

*

*The name of the recipient needs to be a transformed into this users id.

*The amount has a two decimal number input and should be modified to cents by multiplying it by a hundred and making it an integer. Banks need a solid integer basis as you know.

I thought this could work:
Transfer model
  #transfer.rb
  has_one :sender,
          :class_name => "User",
          :foreign_key => "sender_id"
  has_one :recipient,
          :class_name => "User",
          :foreign_key => "recipient_id"

  validates :sender_id, presence: true
  validates :recipient_id, presence: true
  validates :amount, numericality: {:greater_than => 0}

  before_validation :recipient_name_to_id
  before_validation :amount_to_cents

  def recipient_name_to_id
    recipient = User.find_by_user_name(self.recipient_id)
    self.recipient_id = recipient.id
  end

  def amount_to_cents
    cents = self.amount
    cents = cents*100
    cents.to_i
    self.amount = cents
  end

To modify the :recipient_id and the :amount taken from the form while the app asks for a name and any number.
It doesn't work, because in the transaction it can't find the recipients banksaldo.
NoMethodError in TransfersController#create
undefined method `cents' for nil:NilClass
 @account_b.cents += @transfer.amount

Everything else works fine. I checked it thoroughly.
But maybe it helps to add the controller
TransfersController
  def create
    @user = User.find(params[:user_id])
    #transfer
    @transfer = Transfer.new(transfer_params)
    @transfer.sender_id = @user.id

    #transactie tussen accounts
    @account_a = @user.account
    @account_b = Account.find_by_user_id(@transfer.recipient_id)
      if @account_a != @account_b
        if @account_a.cents >= @transfer.amount
          Account.transaction do
              @account_a.cents -= @transfer.amount
              @account_a.save!
              @account_b.cents += @transfer.amount
              @account_b.save!
              @transfer.save!
              flash.notice = "Uw opdracht is verzonden."
          end
        else
          flash.notice = "U beschikt niet over voldoende saldo om uw opdracht te doen slagen."
        end
      else
        flash.notice = "U kunt geen geld overmaken naar uw eigen account."
      end
    redirect_to user_path(@user)
  end

  private
  def transfer_params
    params.require(:transfer).permit(:sender_id, :recipient_id, :amount)
  end

Update
I am now working with current setting (is this more clever, or does it not really matter?).
#same transfer.rb model but now with this as non private methods.
def recipient_id=(value)
  user = User.find_by_user_name(value)
  self[:recipient_id] = user.id
end

def amount=(value)
  cents = value * 100
  cents.to_i
  self[:amount] = cents
end

The code now gives:
Validation failed: Amount is not a number
and can't @transfer.save! in the controller.
Update 2
All right it nearly works. I had to make the value into a float first by to_f. Then it worked... until I turned on the validation again (which I commented out) and now it gives an error that amount is not an integer... Which I state in the def. Hmprff :S
Update 3
It all works now. My methods look like this now:
  def recipient_id=(value)
    user = User.find_by_user_name(value)
    self[:recipient_id] = user.id
  end

  def amount=(value)
    cents = value.to_f * 100
    self[:amount] = cents.to_i
  end

Bad thing about it is that with wrong form information the app gives it's validation error screen, while I want it to give a notice and redirect it to the show window where it was.
It can't find both methods flash and redirect in these methods I defined above in the transfermodel.

A: @account_b did not load, either because transfer_params[:recipient_id] is nil or because no Account exists with that ID. You might consider switching to Account.where(user_id: @transfer.recipient_id).first! so that it raises an exception, or you need to check whether @account_b.nil? and handle the problem. Because @account_a != nil, your logic continues through until you can't access @account_b.cents.
Check your form and incoming parameters to make sure params[:transfer][:recipient_id] is present, and then verify that user ID has an Account.


"I went in there pregnant, with the baby car seat ready - and I came out with dirty pyjamas."
Felicity sat in the crowded hospital parking lot in complete shock, her shaking hands smoothing over her crumpled pyjamas.
The Queensland mum couldn't bear to turn around and see the empty baby car seat behind her.
It seemed incomprehensible she would be going home without her precious baby boy.
Especially as she was sure the tragic death could have been avoided.
At 41, Felicity knew the risks of falling pregnant.
So she had been careful to make sure that staff at Kingaroy Hospital in Queensland were capable of handling her birth, after moving to the area two months earlier.
"I was a high-risk pregnancy and I should never have had my baby there, but I trusted that they would look after me," she told the Sunshine Coast Daily.
"They stuffed up my birth"
The mum-of-one thinks that staff at the hospital were unprepared when she gave birth in March 2017 - which she believes caused her son Shai to be stillborn.
"I went in there pregnant with the car seat ready and I came out with dirty pyjamas because they stuffed up my birth and getting the baby out," Felicity said.
"After the birth, they didn't know how to deal with me, they forgot to refer me to the community nurse and I had to remind them to give me tablets to stop my breasts from lactating.
"I have had to go through a lot of counselling and trauma birth counselling and I believe midwives need to talk to people who counsel births and understand the needs of the mother."
"All our staff are appropriately trained"
While a spokesperson for Darling Downs Health Services expressed sympathy for Felicity's tragic loss, they were adamant that staff at the hospital are well-trained.
"All our staff are appropriately trained and ongoing professional development is undertaken in various areas to maintain high standards of care," they said.
"As a healthcare service we look for opportunities to improve our care and we welcome feedback from patients, carers and families on how this can best be achieved.
"After some clinical incidents, a review is undertaken by an independent clinical team and the recommendations are implemented to improve practices.
"This is an open disclosure process where the patient and family are kept informed of the review and outcomes."
"I want to see rural health not be looked at as a second class"
But Felicity is willing to fight to make sure no other mum experiences the same agonising loss of a baby - which she believes was avoidable.
She said that since Shai's death she has battled with post-traumatic stress disorder, which has impacted on her nine-year-old son Joshua.
"There is a little boy that doesn't have a brother and grandparents that don't have a grandchild," she said.
"I don't want the death of my son to be unnoticed, I want to change to happen.
"I want to be able to heal and sit down with the people involved and say 'what changes have you made about the death of my child?' because this should never happen to any other family ever again.
"I want to see rural health not be looked at as a second class."


You may be wondering, "What is a Refuge?" Well, we get our name from Psalm 91, "He who dwells in the shelter of the Most High will abide in the shadow of the Almighty. I will say to the LORD, "My refuge and my fortress, my God, in whom I trust.""
We want the Wolf River Refuge to be a place where you can come and enjoy time with God, your family, your friends, or whom ever you bring. This is a safe place to just relax and enjoy the beauty of nature!
We can help families have a refreshing fun Family Getaway to deepen their love for each other and God.
We can help couples rejuvenate their love for each other. This is a great place to spend amazing quality time with your spouse.
The most typical use for our facilities is a general cabin rental for a weekend. Bring your church group, friends, or whom ever you feel to a place where you can be at peace!
We can help missionaries get refreshed while on home assignment. Be rejuvenated while you're home, book now!


Regional Development Agency- Bucharest-Ilfov and Philips have the pleasure to invite you to the workshop "Innovative technologies and partnerships in developing regions", organized under the umbrella of European Week of Regions and Cities 2018 (EWRC), which will take place on 11th October at 11:30 at SQUARE - Brussels Convention Centre.
The event, chaired by MEP Jan Olbrycht, will present the benefits of public-private collaborations in Poland and Romania to reflect on how to improve European citizens' daily life by providing access to innovative healthcare. The event will combine the regional outlook, EU institutional framework and voice of the healthcare industry, providing policy recommendations for the next EU budget.
To confirm your participation please register directly at the EWRC website, following the attached instructions.


text:
Sri Lankan Journal of Anaesthesiology
Reading: Superior sagittal sinus thrombosis in a patient presenting with pregnancy induced hypertensi...
Superior sagittal sinus thrombosis in a patient presenting with pregnancy induced hypertension and eclampsia
D Kumarasinghe,
Teaching Hospital, Kandy, LK
About D
Senior Registrar, Department of Anaesthesia, Teaching Hospital, Kandy
A Ratnayake,
Registrar, Department of Anaesthesia, Teaching Hospital, Kandy
Don Padmalal Desilva ,
University of Peradeniya, LK
Honorary Senior Lecturer, Department of Anaesthesia and Critical Care, University of Peradeniya,
Vasanthi Pinto
About Vasanthi
Professor of Anaesthesia and Critical Care, Department of Anaesthesia and Critical Care, University of Peradeniya
A primi at 35 weeks of gestation presented with symptoms and signs of severe pregnancy induced hypertension. Soon after admission she developed eclampsia. A healthy baby was delivered by emergency lower segment cesarean section. The patient developed bilateral lower extremity weakness 12 hours after surgery. A contrast CT identified superior sagittal sinus thrombosis as the cause of her symptoms. The patient was anti-coagulated and made a complete recovery.
Keywords: Pregnancy induced hypertension, eclampsia, cerebral venous thrombosis, superior sagittal sinus thrombosis
How to Cite: Kumarasinghe, D., Ratnayake, A., Desilva, D.P. and Pinto, V., 2017. Superior sagittal sinus thrombosis in a patient presenting with pregnancy induced hypertension and eclampsia. Sri Lankan Journal of Anaesthesiology, 25(1), pp.50–52. DOI: http://doi.org/10.4038/slja.v25i1.8193
Published on 03 Feb 2017.
Kumarasinghe, D., Ratnayake, A., Desilva, D.P. and Pinto, V., 2017. Superior sagittal sinus thrombosis in a patient presenting with pregnancy induced hypertension and eclampsia. Sri Lankan Journal of Anaesthesiology, 25(1), pp.50–52. DOI: http://doi.org/10.4038/slja.v25i1.8193
Kumarasinghe D, Ratnayake A, Desilva DP, Pinto V. Superior sagittal sinus thrombosis in a patient presenting with pregnancy induced hypertension and eclampsia. Sri Lankan Journal of Anaesthesiology. 2017;25(1):50–2. DOI: http://doi.org/10.4038/slja.v25i1.8193
Kumarasinghe, D., Ratnayake, A., Desilva, D. P., & Pinto, V. (2017). Superior sagittal sinus thrombosis in a patient presenting with pregnancy induced hypertension and eclampsia. Sri Lankan Journal of Anaesthesiology, 25(1), 50–52. DOI: http://doi.org/10.4038/slja.v25i1.8193
1. Kumarasinghe D, Ratnayake A, Desilva DP, Pinto V. Superior sagittal sinus thrombosis in a patient presenting with pregnancy induced hypertension and eclampsia. Sri Lankan Journal of Anaesthesiology. 2017;25(1):50-52. DOI: http://doi.org/10.4038/slja.v25i1.8193
Kumarasinghe D and others, 'Superior Sagittal Sinus Thrombosis in a Patient Presenting with Pregnancy Induced Hypertension and Eclampsia' (2017) 25 Sri Lankan Journal of Anaesthesiology 50 DOI: http://doi.org/10.4038/slja.v25i1.8193
Kumarasinghe, D, A Ratnayake, Don Padmalal Desilva, and Vasanthi Pinto. 2017. "Superior Sagittal Sinus Thrombosis in a Patient Presenting with Pregnancy Induced Hypertension and Eclampsia". Sri Lankan Journal of Anaesthesiology 25 (1): 50–52. DOI: http://doi.org/10.4038/slja.v25i1.8193
Kumarasinghe, D, A Ratnayake, Don Padmalal Desilva, and Vasanthi Pinto. "Superior Sagittal Sinus Thrombosis in a Patient Presenting with Pregnancy Induced Hypertension and Eclampsia". Sri Lankan Journal of Anaesthesiology 25, no. 1 (2017): 50–52. DOI: http://doi.org/10.4038/slja.v25i1.8193
Kumarasinghe, D, et al.. "Superior sagittal sinus thrombosis in a patient presenting with pregnancy induced hypertension and eclampsia". Sri Lankan Journal of Anaesthesiology, vol. 25, no. 1, 2017, pp. 50–52. DOI: http://doi.org/10.4038/slja.v25i1.8193
Published by College of Anaesthesiologists of Sri Lanka

redpajama_set_name: RedPajamaCommonCrawl


I just came across this video clip on Youtube where Will Wheaton (Star Trek, The Guild, etc.) answers a little girl who asks a question at Comic Con about how to deal with being called a NERD. He gives a beautiful answer, but he left one out important thing.
Do you know what kids who call you a nerd in school usually end up calling you in adulthood?
Mardi Gras - Fat Tuesday - this week is your last chance to party, party, party in whatever manner suits you before Lent begins on Ash Wednesday. Provided you will be observing Lent. I don't know how many Mardi Gras revelers actually do, but we will be here. I still haven't decided for sure what I'm giving up for Lent this year, (maybe complaining? maybe worrying? I don't eat a lot of junk food, so...hmm).
All I know is that at this bleak, gray time of year, I'm glad for any chance at some festivities!
But happily, lots of places have "Family Gras" versions of the holiday that are suitable for kids and those who are not really into depravity. So let's focus on the nicer side of Mardi Gras.
Photo cred. Michael Nayika via Wiki Commons.
Venetian Carnevale Mask. Photo credit gnuckx via Flickr Creative Commons.
Parades, music, and games have been a part of Mardi Gras for a very long time. But one of the most familiar Mardi Gras tradition from a way-long-time-ago is the wearing of costumes, like the classic domino and Carnevale mask.
If you think that's kind of dark, you're not alone. So did Edgar Allen Poe, who set his classic tale, The Cask of Amontillado, during the annual Mardi Gras wildness. Mardi Gras always makes me think of this story. It's in the public domain, so you can download a PDF of it here, or check out this chilling reading of the Mardi Gras horror tale with images and sound effects, by Strobie Productions.


Kipor digital generators offer the smallest form of portable power compared with a traditional generator, saving about 50 per cent in dimension and weight. This compact and lightweight design allows true portability of power, no matter where it is needed. This type of generator boasts quieter operation (between 3-9dB less than traditional generator sets) by incorporating a special two-tiered noise dampening system in the form of a cube-shaped soundproofing box surrounding the engine and an outer wall which absorbs any leaked noise.
Fuel capacity::5 ltr/ 3,5 hrs.


Hallucinogens, a true drug for people who like to leave earth for a moment. Halllucinogens are psychoactive agents which can give hallucinations which alter your emotional state, thoughts and consciousness.
Common types? Psychedelics, dissociatives and deliriants. Read all real user reviews & trip reports of hallucinogens here at DesignerReport!


text:
Essential CEO Andy Rubin holds himself responsible for customer data leak, calls it 'humiliating'
Rubin confirmed that approximately 70 customers were affected by the sloppy confirmation process.
Published: August 31, 2017 10:43 AM IST
Andy Rubin is essentially in trouble. A few days ago, the company sent out emails to people who pre-booked the Essential phone, asking for a copy of their driver's license, ostensibly to verify their address in an attempt to prevent fraud. Dozens of customers replied with their personal information, but those emails didn't just go to Essential; they went out to everybody who had received the original email. That means that an unknown number of Essential customers are now in possession of each other's drivers license, birth date, and address information. That is a colossal screw up, and CEO Andy Rubin realizes that.
Andy Rubin sent out an apology in a blog post, calling it "humiliating" and that he is "personally responsible for this error". Rubin confirmed that approximately 70 customers were affected by the sloppy confirmation process, and that Essential will offer one year of LifeLock protection to impacted patrons to prevent potential identity theft. The company has also disabled the "misconfigured" account to prevent people from accidentally sharing their personal information with other Essential customers, and Rubin promises to invest in infrastructure and customer care.
"Being a founder in an intensely competitive business means you occasionally have to eat crow. It's humiliating, it doesn't taste good, and often, it's a humbling experience. As Essential's founder and CEO, I'm personally responsible for this error and will try my best to not repeat it," Rubin wrote in the blog. ALSO READ: Andy Rubin's Essential raises $300 million from Amazon, Foxconn, Tencent
Earlier, people were speculating the email by Essential to be a phishing attempt, as it came across as a weird request for personal information. However, after the email headers were examined, it didn't look like an actual phishing attempt anymore. Below is the email Essential originally sent out, which was shared by Cygnosity on Reddit:
On Aug 29, 2017, at 9:23 PM, Customer Care customercare@essential.com wrote:
Our order review team requires additional verifying information to complete the processing of your recent order.
This verification is performed to protect against unauthorized use of your payment information and similar to what is conducted for in-person purchases.
Please provide an alternative email and phone number to confirm this purchase..
We would like to request a picture of a photo ID (e.g. driver's license, state ID, passport) clearly showing your photo, signature and address. NOTE: the address on the ID should match the billing address listed on your recent order.
We apologize for the inconvenience and appreciate your cooperation.  Once verified, we look forward to shipping your order.
Essential Products Customer Care
Published Date: August 31, 2017 10:43 AM IST
Andy Rubin
Google Pixel phones get June 2019 security patch
Google Pixel phones and Essential Phone get April 2019 security patch
Essential PH-2 may sport in-display camera along with physical fingerprint scanner
Google Pixel devices and Essential Phone get March 2019 security patch
Google fixes the critical PNG security bug but millions of devices are still at risk


text:
Dominique Janssen és una defensa de futbol internacional des de 2014 pels Països Baixos, amb els que ha jugat el Mundial 2015. Amb el Arsenal ha guanyat una Copa d'Anglaterra.

Trajectòria

Palmarès

Referències

Defenses de futbol femení
Futbolistes femenines internacionals amb els Països Baixos
Esportistes neerlandesos als Jocs Olímpics d'estiu de 2020
Futbolistes de l'Arsenal Ladies Football Club
Cavaller de l'orde d'Orange-Nassau
Horst aan de Maas
Esportistes limburguesos (Països Baixos)

redpajama_set_name: RedPajamaWikipedia


In the mass media, we are constantly exposed to graphic dramatizations of death in the movies and news. No matter where we go, this taboo topic always seems to pop up. It is thus of little wonder that many people have begun to develop an irrational fear of it.
While fearing death is a natural instinct for most people, it is when this fear takes over the majority our thoughts that we have a serious problem. When we constantly obsess about the fear of death and dying, it's important that we immediately find a way to 'fix' this problem before it eventually ruins our personal and social lives.
Do you find yourself constantly worrying about death and dying?
Are you tired of being unable to concentrate on your daily work and chores because of this fear?
Have you always wished to be able to eliminate the irrational fear of death and live a normal, healthy and cheerful lifestyle?
Thankfully, with the latest Brainwave entrainment techniques we can now easily train our minds to disassociate the irrational response of anxiety and fear from the thought of death. Finally, we can start thinking about death in a calm and controlled way, and be able to live a happier, more fulfilling life!
No reviews on H16 Overcome Fear Of Death so far.


What a weekend! Rob and Pernell present the show to a live audience at Too Many Games! Too Many Games is a 3 day long classic video game convention featuring panels, concerts, and a huge arcade. Enjoy the fun!


When we lived in Leesburg we met Tom and Docie Sears. One day Tom told Dad he would show him a nice piece of land to gold mine on and that we could stake a claim on it. It was a nice piece of land and did have some gold, but I think Tom's also wanted some neighbors in case they needed them. The land was a few miles from their cabin. To get there from Leesburg we had to drive back toward Salmon, take the road toward Baldy and from there take the Ridge Road. The land was near the Ridge Road. That took a long time as it was a long ways. Our other choice was to go on the old Leesburg Trail about 4 1/2 miles. A few times we made it up that road in our 1950 Ford. But more often than not we did it with lots of pushing by us kids and more often than that we gave up and walked.
We had to go up there to make a home site–somewhere to live. The first year that was a tent pitched on top a few logs to make it higher. Where we came out of the tent was a canvas lean to that was the kitchen. It had back and side and top. During the night something was draped over the front.
Debby and I, however, had our own room. It was a pup tent on top a few logs that were shaped like a boat. It was just big enough to hold a single mattress and the pointy end by our heads was where we kept our clothes. This is what we had to go up and build. Plus, we had to do some mining up there to see if it was worth it. The problem with going up the hill is that it was very steep and had loose gravel. The car wouldn't always make it without the pushing. Now get this. At that time I was just out of 8th grade and about 5 foot 1 inch and probably weighed around 95 pounds if that. Deb was only a little taller and a few pounds heavier. How much help were we?
When our pushing wasn't making it anymore Dad decided it would be better to just have some weight on the rear end of the car. Deb and I were the weight. He had us stand on the bumper and hold on to those hinges that hold the truck lid on. They bumped up about an inch. So we did and Dad took off and lost us after not very far. So he went to plan B. He rolled down the back windows and put a rope thru them and around the back outside and tied it together. Then Dad took off toward the hill. YeeHaaw! The rope was interesting. Because it wasn't fastened to anything–just thru the windows–it slid and we slid and we were thrown from side to side. We didn't fly off because our toes were curled around the bumper. But we made a heck of a racket.
So Dad backed down again and fastened the rope to something so it wouldn't slide. I can't think what. And we started again. About this time Deb and I had resigned ourselves to short lives and thought the sooner it was over the better, but even though we sort of held on — maybe one or two of us fell off — maybe not, the car wouldn't make it up the hill. Dad thought it was too churned up by then. I know we were churned up. So we gathered all we could carry, left the car and walked the rest of the way to the new claims. Dad let the road settle for a few days and then we went again. He had a new plan this time. He had gotten a come-a-long from somewhere and between that and us the car would be sort of pulled up the hill. We had our orders to pull up the slack each time the car made headway and then to hold it. We were told the come-a-long would do all the work and would hold the car. So he took off. We reeled in the rope as fast as we could until the car stopped. Ok so far. Then he raced the engine and stepped on the gas again and we hauled rope again.
I'd like to say this worked. But the come-a-long failed us and Debby and I were pulled off our feet and went flying up the side of the mountain hanging on to the rope. We were dragged over sticks and rocks and whatever else mountains are made of. The faster the car rolled back down the hill the faster we went up. Finally I yelled, "Let go!" And we both did. Dad was really angry with us for letting go. Actually, I believe he was more angry with the car but the car didn't care if he yelled so we got it. Finally we convinced him the stupid contraption that was to hold the car wasn't working so he went up and checked it and discovered that something had broken. Then we were in the right again, but still bruised. So we took what we could carry and walked up the mountain to the claims again.
After that we drove as far as our stash pile of lumber and nails and whatever, which was at the bottom of the hill, and just carried something, whatever he wanted that day. An interesting thing, to me anyway, is that Dad moved a board to discover that a mouse had made a nest under it and it contained baby mice. He said we didn't need that particular board yet and maybe the babies would be gone when we did. So he picked up a different board. And his kids he made ride a wild Ford! Go figure.
Another problem area between Leesburg and our claims was a mudhole. This was the mother of all mudholes. Maybe it competed with another we will see later. Once, Chic and Kelly were with him in the car when he went through that mudhole. The car slipped and slid and did all kinds of tricks before getting through. The guys told everyone that when "Floyd drove through that mudhole the car went on both side of the tree at the same time." They loved it. Every time they told about Dad and the mudhole it got wilder. I think that was one of the highlights of their summer. But one day Dad decided he'd show the mudhole and we'd just avoid it. The way we were going to do this was by crossing Napias creek below Chic and Kelly's house and then re-crossing it further up the creek. Deb's boyfriend was there so it had to be our second year in the mountains. He had a jeep with a winch. He went across the second creek crossing no problem. I looked at it and said we couldn't do it. Deb said we couldn't do it. Dad said nonsense of course we could. The problem was the downhill and uphill with the creek in the middle. So we all loaded up and plunged toward the creek. And there we were. Hung up bumper to bumper on the hill side and the car was making a dam and filling with water. After a little while Dad said as calmly as ever, "Open your doors and let some of this water out." So we did and then sat there in the car with Napias Creek running over our feet. Deb's boyfriend (Glen) hooked onto the front of the car with the winch and winched us out. Then we continued to wherever we were going.
The other mudhole that was bad was between our claims and Tom and Docie's claims. Dad was going to go work for them for a few days. We were living in Leesburg then. It was our first summer. For some reason we kids decided to ride up with him and then walk back to Leesburg. Probably it was to give the car traction to get up the hill. We made it up and when we got to the big hill near our claims Dad said to stay in the car and he'd show us where we could look over the mountain and see Salmon down below. We didn't want to go down the hill because we didn't want to walk back up. But we did when he said he'd drive us back up and then turn around and go to Sears'. So down we went. We were looking over the hill when someone looked back at the car and noticed something dripping underneath. Dad ran over and looked and it was gas. We'd knocked a hole in the gas tank. So he said sorry he couldn't take us up the hill he had to go and he jumped in the car and took off. We had to climb that hill and then walked home.
We didn't hear the rest until he came back a few days later. He got close to the Sears place and hit the other mudhole. He slid all over in it. This wasn't a short mudhole it was a parking lot. Finally after thrashing around in it a while a tire blew and then the engine stopped and he could see he was out of gas. So he got out and just left it and walked the rest of the way to Sears'. I don't know if he kicked the car or not.


Each month we will feature a unique themed t-shirt. These will be limited runs and once they are gone, they are gone! We will take orders until the end of the month, and orders will be shipped on (or about) the 10th.


HP Hotels, a third-party hotel-management company with a portfolio of more than 40 hotels in 17 states, is implementing PurpleCloud Technologies' hotel task software across its entire management portfolio.
PurpleCloud Technologies, whose customizable modules include housekeeping, engineering, front office, service person and management, streams real-time data directly to hotel associates to improve the efficiency of hotel operations, while also collecting significant amounts of data to create trend reports for upper-level hotel executives.
Oswald added that the PurpleCloud Tech implementation includes customization that integrates the platform with the company's human resources functions and will be deployed to HP Hotels' properties that represent nearly 6,500 rooms under management.


text:
The Cockatrice's Egg: Perceptions of Shetland
February 7 @ 11:00 am - February 25 @ 4:00 pm
« Paper Doll Militia presents: Egg
Jo Caulfield – Unapologetic »
Exhibition and book launch:
The mythical Shetland cockatrice was an evil, dragon-like being who ran amok in the islands and could only be stopped by being burned to death. And though the cockatrice was male, he could reproduce himself by laying an egg. What hatched from the egg was surprising, strange and sometimes life-changing.
This fantastic traditional story lies behind a new collaborative work by the artist Joy Parker and writer Robert Leach. With financial backing from Creative Scotland, they journeyed from the Scottish Borders to the far northern isles where for a month they stayed in Scalloway and explored the Shetland Islands. The end product was this unusual book, a series of poems and prints which make up a montage of discoveries and responses.
Joy Parker is a visual artist working in a range of mediums. Robert Leach's poetry often gives new insights and unexpected understandings. Their time in Shetland has inspired them to take this joint work in new and original directions.
February 7, 2022 – February 25, 2022
Monday to Saturday 11am – 4pm
February 25 @ 4:00 pm
https://www.cornucopia.net/events/the-cockatrices-egg/?fbclid=IwAR3uzkOzmcM3UBMM1m-u55osiq5vS-M0ANxNcZ6k8eWvqdmKpRCsGadDEFw
Unit Four: The Cornucopia Room
4, Towerdykeside
Hawick, Scottish Borders TD9 9EA United Kingdom
https://www.cornucopia.net/events
julie.witford@gmail.com
https://www.cornucopia.net


text:
Just Good News Friday
Wrapping up the week with some bite sized chunks of good news to put a spring in your step.
This photo of an Arctic fox is so beautiful, it barely looks real. No wonder it's one of the finalists for this year's Wildlife Photographer of the Year People's Choice competition. The photographer, Marco Gaiotti, captured this image on the remote Norwegian archipelago of Svalbard - one of the northernmost inhabited places on Earth. Gaiotti said every time the little creature called to nearby foxes, its breath would freeze, creating diaphanous tendrils in the air. We will be feature lots more magical photos from the finalists in the OGN Sunday Magazine.
Hats off to Hollywood star Michael Sheen who says he is now a "not-for-profit actor" after selling his houses and giving the proceeds to charity. The Welsh actor and activist, 52, said organising the 2019 Homeless World Cup in Cardiff was a turning point for him. When funding for the £2m project fell through at the last moment, Sheen sold his own houses to bankroll it. "I had a house in America and a house here and I put those up and just did whatever it took," he told the Big Issue. Sheen said that when he "came out the other side", he realised he could do these kinds of things and, if he could keep earning money, "it's not going to ruin me". He's pledged to carry on using the money he earns from acting to fund more projects.
Whilst Boris Johnson continues to claim that there was no Christmas party at 10 Downing Street last year which would, of course, have been in flagrant breach of social distancing and lockdown rules, new video evidence has emerged to make his claims look rather wide of the truth.
Obviously the video is fake!
Ever wondered what the moon smells like? NASA Astronaut Col. Chris Hadfield says: "The only time you can smell space is when you come back in from a space walk. As you open the hatch, there is a distinctive smell." Some describe it as rum, fruit, seared steak, or a BBQ. Gene Cernan, the Apollo 17 Astronaut remarked about another scent he experienced: "The moon smells like spent gunpowder." But you don't have to imagine it any more. You can wear it as a fragrance! Choose from Eau de Space or Eau de Luna and you can smell out of this world.
The Good Food Project, orginally just in Pittsburgh, prevents waste by transforming food that might go to the landfill into healthy, heat-and-eat meals and shelf-stable items packaged in compostable containers. These meals are then distributed to nonprofit partners serving the needy. The app FoodRescueHero is now used by a growing team of 13,000+ volunteer drivers in 15 cities.
Ever the one to go big or go home, Chinese officials have briefed reporters on a new massive greening campaign that will create Belgium-sized forests every year for each of the next five years. That's an area of 30,689 km2 (11,849 square miles) each year. Additionally, the country's national park and forest system will be expanded, new green corridors will be created to reconnect fragmented populations of wildlife, and greater crackdowns on the illegal trafficking of wildlife and wildlife products will be enforced.
Avril and Christopher Rowlands planted a little Christmas tree in their garden in 1979 in Worcestershire, England. It's now 60ft (18m) - so tall they have to use a cherry picker to decorate it each year. Now, 43 years on, its 3,000 lights can be seen for miles around. Last weekend, most of the 2,000 inhabitants of the village – said to be the inspiration for Ambridge in The Archers on BBC Radio 4 – turned out to see the switching on of the lights to raise money for Cancer Research. 'We had no idea just how big it would grow. It's absolutely huge now and towers over our house,' said Mrs Rowlands, 75, adding: 'Inkberrow is one of the only villages in the UK which has no street lights so when the tree is lit up it really is quite a spectacle. Switching on of the lights has become quite a village tradition. A lot of people say that it's the start of their Christmas.'
Why do Americans still construct traffic intersections that make cars sit idle for minutes at a time, while spewing emissions, at red lights? Well, the good news is that not all U.S. states are stuck in the past. In the state of Indiana, 256 roundabouts (also called traffic circles) have been constructed since 2016, and the data is showing what Europeans have known for decades: they definitely reduce collisions, fatalities, traffic congestion, and fuel consumption. Not only that, roundabouts cut pollution, while reducing construction and maintenance costs. Indiana has seen reductions of 90 percent in intersection fatalities when they are replaced with traffic circles, and a 76 percent reduction in crashes resulting in injuries. Let's hope this catches on across all states!
Batteries made with zero-emission lithium from geothermal plants in Germany could power one million vehicles per year by the mid-2020s, according to Vulcan Energy, a company setting out to produce climate neutral lithium in Europe. The use of geothermal energy – the ambient heat below the ground – dates back to Roman times. But thanks to modern technology, geothermal power plants can now also extract lithium from beneath the ground. In Europe, a local supply of lithium is considered essential to sustain the EU's fast-growing battery industry, which currently relies on imports from China, Australia and the Republic of Congo. "You can say we also have a negative CO2 footprint because we only use about 50 percent of the produced energy for the lithium extraction – the other 50 percent we feed into the grid and it will be provided as renewable heat or cold to customers in the area," said Horst Kreuter, the managing director of Vulcan Energy.
On this day: 10 December 1768: The first part of the first edition of the Encyclopædia Britannica, the oldest continuously published and revised work in the English language, was published and advertised for sale in Edinburgh. 1901: The first Nobel Prizes were distributed, marking the fifth anniversary of the death of Swedish industrialist Alfred Nobel, the inventor of dynamite, who founded and endowed the awards through his will. 1948: The General Assembly of the United Nations adopted the Universal Declaration of Human Rights.
Christmas Cracker: What do the Trumps do for Christmas dinner? They put on a super spread.
Lifestyle tweaks to boost your immune system: Experts advise what you should do to give your immune system the best chance of fighting Covid and the omicron variant. Read on...
Up Up and Away
Fabulous 4 minute film from BBC Earth about albatrosses, including news that they use their nostrils to fly.


Take-away: To determine your lifestyle spending needs, you need to exclude retirement savings and expenses that wouldn't continue into retirement. Expenses that remain include utilities, taxes, food, entertainment, travel, etc. Many households carry a mortgage for the first 10-15 years into retirement. If you don't think you'll pay off your mortgage by the time you retire, make sure to include this housing cost in your spending estimate. You need to be aware of how much your lifestyle spending changes over time to make sure it's sustainable in retirement. It's far easier to spend more money than to cut back on your lifestyle.
2. Determine annual savings goals.
Smiths – To maintain their $90,000 spending level in retirement, the family has committed to maxing out their retirement accounts. The combination of Social Security benefits and withdrawals from their accounts in retirement will be enough to maintain their lifestyle without exhausting their resources.
Joneses – The family has been maxing out their retirement accounts, which was what they needed to do when their lifestyle spending was $115,000 a year. However, they haven't increased savings since their income and lifestyle spending skyrocketed. If they plan on maintaining their $250,000 spending level in retirement, they need to save more money in coming years. This means that in addition to maxing out their retirement accounts, the Joneses need to put money into their taxable investment savings accounts and/or deferred compensation plan if available through their work.
Take-away: To maintain your lifestyle in retirement, you need to save annually to be on track for this important goal. The annual savings target can vary dramatically per family due to age, years until retirement and spending needs. You need to reevaluate your savings goal needs each time your lifestyle spending needs change to make sure you're still on track. The good news is that once you've reached your annual savings goal, you can spend leftover dollars spent guilt-free!
We suggest working with an advisor to determine and reevaluate your annual savings targets to confirm whether you're on track.
3. Prepare and follow a budget.
Smiths – In step 2, the Smiths determined that maxing out their retirement accounts is enough to achieve their goals as determined, so they can simply use a budget to track their spending.
Joneses – It's important for the Joneses to prepare a budget so they can see where they're spending their money and determine where they can find the resources to make their additional annual savings. Since the Joneses are playing catch-up on their savings, they need to track their spending more closely and cut some unnecessary expenses so they can put away larger sums.
Take-away: No matter your income level, having a household budget is key to achieving your goals. It allows you to put all your income and expenses in one place to determine how much savings you can automate each month. The article Taking Control of Your Household Budget discusses a technique you can use as a budgeting template. It's especially important to have a cash flow plan for families where cash bonuses and restricted stock make up a large part of their compensation.
4. Create and stick to a predetermined plan for unexpected income.
Smiths – Unless this family decides they want to spend more in retirement or retire earlier, they don't need to save additional resources each year. Any excess resources can be spent or saved toward another goal, or on a trip!
Joneses – This family receives large annual bonuses. Some years are larger than others. In the past, the family spent the entire sum. Since they were already maxing out their retirement accounts during the year, they didn't have any of their bonuses withheld for savings. Now that they know they need to play catch-up to achieve their goals, they're open to saving a larger portion of them. This family could pre-allocate part of these bonuses to their employer's deferred compensation plan and save a tremendous amount on taxes, or they could put it into a taxable investment account. This means that when they receive the bonus, the lesser of either 50% of the bonus or the amount they need to achieve their savings goal will be put toward savings. This still leaves a large portion of the bonus to spend on their lifestyle.
Take-away: If you're behind on meeting your annual savings goals, you should have a predetermined savings allocation for windfalls. This means that of the bonus that you receive after-tax, possibly 25% is allocated to spending (i.e., the fun stuff), 25% to travel and short-term savings and 50% to long-term savings. That way, you get to spend and enjoy a large portion of your bonus while also saving a large sum towards the future. Too often, people receive a bonus and spend it quickly. It's important to have a predetermined plan for how to allocate these excess dollars because your budget won't account for this income.
We suggest reading Making Work Optional: Steps to Financial Freedom to learn how to best prioritize your savings to achieve your long-term goals. Make sure you read the section about "mistakes to avoid" on your path to financial freedom.
Please contact Merriman if you need help determining whether you're on track for retirement, calculating annual savings targets and/or for any of your other financial planning needs.


We'll provide you always with the best accomodation options to suit all your needs and requirements.
Airline tickets: the best possible combination to your leisure or business travel needs.
Mundo Travel is part of the Eduardo Perez Orive Group.


text:
Bedömningsnämnden för Kost/-Hälsainformation (BHK) var 2002-2008 ett självsanerande granskningsorgan för livsmedelsbranschen i Sverige. Nämnden organiserades i sista hand på uppdrag från Livsmedelsverket och branschorganisationer av SNF Swedish Nutrition Foundation.

Nämndens huvudsakliga uppgift var att behandla klagomål och att avge uttalanden då hälsopåståenden i märkning och marknadsföring ifrågasattes. Nämnden konstituerades i november år 2001, och hade ett dussintal medlemmar. I samband med ändrade EU-regler  blev nämnden vilande år 2008. Dess uppgifter övertogs av Livsmedelsbranschens granskningsman.

Under sin verksamhetstid gjorde nämnden ett antal uttalanden om reklampåståenden om hälsoeffekter av olika livsmedel. Grundregeln var att påståenden om hälsoeffekter måste vara verifierade. När nämnden tyckte att detta var fallet, friades reklamen. Annars kunde nämnden rikta mer eller mindre allvarlig kritik mot det ansvariga företaget bakom reklamen.

Källor

Mat och dryck i Sverige


Throughout 2012 Samsung have made a decent name for themselves updating their devices promptly and with little hassle. Since the Galaxy S III's launch there may have only been a couple of revisions to Android in the form of Jelly Bean - 4.1 and 4.2 - but Samsung have done a good job updating the flagship. They've not just updated the software under the hood but they've also gone and added some more to the most recent build of TouchWiz present on the device. The Galaxy Note II has been treated much the same and the Galaxy S II and the original Note are continuing to be update as well. All in all, this is a much better Samsung than the days of the Galaxy S not getting Android 4.0, Ice Cream Sandwich.
As you can see in the video, Samsung are bringing a number of tweaks to the Galaxy S III and while some of them, like Contextual Tag could be useful but it seems like Samsung are just adding features for the sake of it. I can see that some people might find some good uses for the new features but, in the grand scheme of things I think Galaxy S III owners are more interested in getting hold of the Android 4.2 update. For those out there that really like TouchWiz I'm sure the new features will be welcome. Contextual Menu is another feature that actually makes quite a bit of sense and lists applications that you use frequently, which is a pretty nifty addition if you use a lot of apps that are further down the alphabet. Then there is of course, the added Multi-Window feature which doesn't work with all apps but there is a good chance that most of your daily apps work with it - YouTube works for instance.


text:
Die Town of North Hempstead ist eine von drei Towns im Nassau County (New York). Sie liegt zwischen Hempstead und Oyster Bay auf Long Island.

Hier landete am 6. Juli 1919 der erste Atlantik-Nonstopflug, ein R34, am Roosevelt Field in Mineola.
Sieben Jahre später startete ebenfalls von hier der erste Flug einer Sikorsky S-35.

1936 wird vom Architekten Julian Peabody das U.S. Post Office Mineola errichtet.

Nach 1950 hat der Zahnarzt D. B. Ast hier die positive Wirkung der Fluoridierung des Trinkwassers nachgewiesen.

Heute befindet sich hier der Sitz des Sportausrüsters Maverik Lacrosse.

Dörfer und Weiler
Zu North Hempstead gehören u. a.:
Floral Park
Lake Success
Mineola (Sitz des Nassau County)
Port Washington
Roslyn
Roslyn Harbor(teilweise in Oyster Bay gelegen)
 Westbury

Persönlichkeiten
William Cobbett (1763–1835), Schriftsteller
John A. Searing (1805–1876), Politiker
Matilde Moisant (1878–1964), Pilotin
Sonny Terry (1911–1986), Bluessänger
Gerry Studds (1937–2006), Politiker
Louis Gerstner, Jr. (* 1942), Manager
Kevin James (* 1965), Schauspieler
Martin Bäumer (* 1967), Politiker
Carlos Mendes (* 1980), Fußballspieler
Alexa Vojvodić (* 1992), Fußballspielerin

Weblinks


text:
#ifndef TextEncodingDetector_h
#define TextEncodingDetector_h

namespace WebCore {

    class TextEncoding;

    // Given a sequence of bytes in |data| of length |len| and an optional
    // hintEncodingName, detect the most likely character encoding.
    // The way hintEncodingName is used is up to an implementation.
    // Currently, the only caller sets it to the parent frame encoding.
    bool detectTextEncoding(const char* data, size_t len,
                            const char* hintEncodingName,
                            TextEncoding* detectedEncoding);

} // namespace WebCore

#endif

redpajama_set_name: RedPajamaGithub


text:
/*
 * $Id: EncodingInfo.java 468654 2006-10-28 07:09:23Z minchau $
 */
package org.apache.xml.serializer;

/**
 * Holds information about a given encoding, which is the Java name for the
 * encoding, the equivalent ISO name.
 *

 * An object of this type has two useful methods
 *

 * isInEncoding(char ch);
 *

 * which can be called if the character is not the high one in
 * a surrogate pair and:
 *

 * isInEncoding(char high, char low);
 *

 * which can be called if the two characters from a high/low surrogate pair.
 *

 * An EncodingInfo object is a node in a binary search tree. Such a node
 * will answer if a character is in the encoding, and do so for a given
 * range of unicode values (m_first to
 * m_last). It will handle a certain range of values
 * explicitly (m_explFirst to m_explLast).
 * If the unicode point is before that explicit range, that is it
 * is in the range m_first <= value < m_explFirst, then it will delegate to another EncodingInfo object for The root
 * of such a tree, m_before.  Likewise for values in the range
 * m_explLast < value <= m_last, but delgating to m_after
 *

 * Actually figuring out if a code point is in the encoding is expensive. So the
 * purpose of this tree is to cache such determinations, and not to build the
 * entire tree of information at the start, but only build up as much of the
 * tree as is used during the transformation.
 *

 * This Class is not a public API, and should only be used internally within
 * the serializer.
 *

 * This class is not a public API.
 * @xsl.usage internal
 */
public final class EncodingInfo extends Object
{

    /**
     * Not all characters in an encoding are in on contiguous group,
     * however there is a lowest contiguous group starting at '\u0001'
     * and working up to m_highCharInContiguousGroup.
     *

     * This is the char for which chars at or below this value are
     * definately in the encoding, although for chars
     * above this point they might be in the encoding.
     * This exists for performance, especially for ASCII characters
     * because for ASCII all chars in the range '\u0001' to '\u007F'
     * are in the encoding.
     *
     */
    private final char m_highCharInContiguousGroup;

    /**
     * The ISO encoding name.
     */
    final String name;

    /**
     * The name used by the Java convertor.
     */
    final String javaName;

    /**
     * A helper object that we can ask if a
     * single char, or a surrogate UTF-16 pair
     * of chars that form a single character,
     * is in this encoding.
     */
    private InEncoding m_encoding;

    /**
     * This is not a public API. It returns true if the
     * char in question is in the encoding.
     * @param ch the char in question.
     *

     * This method is not a public API.
     * @xsl.usage internal
     */
    public boolean isInEncoding(char ch) {
        if (m_encoding == null) {
            m_encoding = new EncodingImpl();

            // One could put alternate logic in here to
            // instantiate another object that implements the
            // InEncoding interface. For example if the JRE is 1.4 or up
            // we could have an object that uses JRE 1.4 methods
        }
        return m_encoding.isInEncoding(ch);
    }

    /**
     * This is not a public API. It returns true if the
     * character formed by the high/low pair is in the encoding.
     * @param high a char that the a high char of a high/low surrogate pair.
     * @param low a char that is the low char of a high/low surrogate pair.
     *

     * This method is not a public API.
     * @xsl.usage internal
     */
    public boolean isInEncoding(char high, char low) {
        if (m_encoding == null) {
            m_encoding = new EncodingImpl();

            // One could put alternate logic in here to
            // instantiate another object that implements the
            // InEncoding interface. For example if the JRE is 1.4 or up
            // we could have an object that uses JRE 1.4 methods
        }
        return m_encoding.isInEncoding(high, low);
    }

    /**
     * Create an EncodingInfo object based on the ISO name and Java name.
     * If both parameters are null any character will be considered to
     * be in the encoding. This is useful for when the serializer is in
     * temporary output state, and has no assciated encoding.
     *
     * @param name reference to the ISO name.
     * @param javaName reference to the Java encoding name.
     * @param highChar The char for which characters at or below this value are
     * definately in the
     * encoding, although for characters above this point they might be in the encoding.
     */
    public EncodingInfo(String name, String javaName, char highChar)
    {

        this.name = name;
        this.javaName = javaName;
        this.m_highCharInContiguousGroup = highChar;
    }

    /**
     * A simple interface to isolate the implementation.
     * We could also use some new JRE 1.4 methods in another implementation
     * provided we use reflection with them.
     *

     * This interface is not a public API,
     * and should only be used internally within the serializer.
     * @xsl.usage internal
     */
    private interface InEncoding {
        /**
         * Returns true if the char is in the encoding
         */
        public boolean isInEncoding(char ch);
        /**
         * Returns true if the high/low surrogate pair forms
         * a character that is in the encoding.
         */
        public boolean isInEncoding(char high, char low);
    }

    /**
     * This class implements the
     */
    private class EncodingImpl implements InEncoding {

        public boolean isInEncoding(char ch1) {
            final boolean ret;
            int codePoint = Encodings.toCodePoint(ch1);
            if (codePoint < m_explFirst) {
                // The unicode value is before the range
                // that we explictly manage, so we delegate the answer.

                // If we don't have an m_before object to delegate to, make one.
                if (m_before == null)
                    m_before =
                        new EncodingImpl(
                            m_encoding,
                            m_first,
                            m_explFirst - 1,
                            codePoint);
                ret = m_before.isInEncoding(ch1);
            } else if (m_explLast < codePoint) {
                // The unicode value is after the range
                // that we explictly manage, so we delegate the answer.

                // If we don't have an m_after object to delegate to, make one.
                if (m_after == null)
                    m_after =
                        new EncodingImpl(
                            m_encoding,
                            m_explLast + 1,
                            m_last,
                            codePoint);
                ret = m_after.isInEncoding(ch1);
            } else {
                // The unicode value is in the range we explitly handle
                final int idx = codePoint - m_explFirst;

                // If we already know the answer, just return it.
                if (m_alreadyKnown[idx])
                    ret = m_isInEncoding[idx];
                else {
                    // We don't know the answer, so find out,
                    // which may be expensive, then cache the answer
                    ret = inEncoding(ch1, m_encoding);
                    m_alreadyKnown[idx] = true;
                    m_isInEncoding[idx] = ret;
                }
            }
            return ret;
        }

        public boolean isInEncoding(char high, char low) {
            final boolean ret;
            int codePoint = Encodings.toCodePoint(high,low);
            if (codePoint < m_explFirst) {
                // The unicode value is before the range
                // that we explictly manage, so we delegate the answer.

                // If we don't have an m_before object to delegate to, make one.
                if (m_before == null)
                    m_before =
                        new EncodingImpl(
                            m_encoding,
                            m_first,
                            m_explFirst - 1,
                            codePoint);
                ret = m_before.isInEncoding(high,low);
            } else if (m_explLast < codePoint) {
                // The unicode value is after the range
                // that we explictly manage, so we delegate the answer.

                // If we don't have an m_after object to delegate to, make one.
                if (m_after == null)
                    m_after =
                        new EncodingImpl(
                            m_encoding,
                            m_explLast + 1,
                            m_last,
                            codePoint);
                ret = m_after.isInEncoding(high,low);
            } else {
                // The unicode value is in the range we explitly handle
                final int idx = codePoint - m_explFirst;

                // If we already know the answer, just return it.
                if (m_alreadyKnown[idx])
                    ret = m_isInEncoding[idx];
                else {
                    // We don't know the answer, so find out,
                    // which may be expensive, then cache the answer
                    ret = inEncoding(high, low, m_encoding);
                    m_alreadyKnown[idx] = true;
                    m_isInEncoding[idx] = ret;
                }
            }
            return ret;
        }

        /**
         * The encoding.
         */
        final private String m_encoding;
        /**
         * m_first through m_last is the range of unicode
         * values that this object will return an answer on.
         * It may delegate to a similar object with a different
         * range
         */
        final private int m_first;

        /**
         * m_explFirst through m_explLast is the range of unicode
         * value that this object handles explicitly and does not
         * delegate to a similar object.
         */
        final private int m_explFirst;
        final private int m_explLast;
        final private int m_last;

        /**
         * The object, of the same type as this one,
         * that handles unicode values in a range before
         * the range explictly handled by this object, and
         * to which this object may delegate.
         */
        private InEncoding m_before;
        /**
         * The object, of the same type as this one,
         * that handles unicode values in a range after
         * the range explictly handled by this object, and
         * to which this object may delegate.
         */
        private InEncoding m_after;

        /**
         * The number of unicode values explicitly handled
         * by a single EncodingInfo object. This value is
         * tuneable, but is set to 128 because that covers the
         * entire low range of ASCII type chars within a single
         * object.
         */
        private static final int RANGE = 128;

        /**
         * A flag to record if we already know the answer
         * for the given unicode value.
         */
        final private boolean m_alreadyKnown[] = new boolean[RANGE];
        /**
         * A table holding the answer on whether the given unicode
         * value is in the encoding.
         */
        final private boolean m_isInEncoding[] = new boolean[RANGE];

        private EncodingImpl() {
            // This object will answer whether any unicode value
            // is in the encoding, it handles values 0 through Integer.MAX_VALUE
            this(javaName, 0, Integer.MAX_VALUE, (char) 0);
        }

        private EncodingImpl(String encoding, int first, int last, int codePoint) {
            // Set the range of unicode values that this object manages
            // either explicitly or implicitly.
            m_first = first;
            m_last = last;

            // Set the range of unicode values that this object
            // explicitly manages
            m_explFirst = codePoint;
            m_explLast = codePoint + (RANGE-1);

            m_encoding = encoding;

            if (javaName != null)
            {
                // Some optimization.
                if (0 <= m_explFirst && m_explFirst <= 127) {
                    // This particular EncodingImpl explicitly handles
                    // characters in the low range.
                    if ("UTF8".equals(javaName)
                        || "UTF-16".equals(javaName)
                        || "ASCII".equals(javaName)
                        || "US-ASCII".equals(javaName)
                        || "Unicode".equals(javaName)
                        || "UNICODE".equals(javaName)
                        || javaName.startsWith("ISO8859")) {

                        // Not only does this EncodingImpl object explicitly
                        // handle chracters in the low range, it is
                        // also one that we know something about, without
                        // needing to call inEncoding(char ch, String encoding)
                        // for this low range
                        //
                        // By initializing the table ahead of time
                        // for these low values, we prevent the expensive
                        // inEncoding(char ch, String encoding)
                        // from being called, at least for these common
                        // encodings.
                        for (int unicode = 1; unicode < 127; unicode++) {
                            final int idx = unicode - m_explFirst;
                            if (0 <= idx && idx < RANGE) {
                                m_alreadyKnown[idx] = true;
                                m_isInEncoding[idx] = true;
                            }
                        }
                    }
                }

                /* A little bit more than optimization.
                 *
                 * We will say that any character is in the encoding if
                 * we don't have an encoding.
                 * This is meaningful when the serializer is being used
                 * in temporary output state, where we are not writing to
                 * the final output tree.  It is when writing to the
                 * final output tree that we need to worry about the output
                 * encoding
                 */
                if (javaName == null) {
                    for (int idx = 0; idx < m_alreadyKnown.length; idx++) {
                        m_alreadyKnown[idx] = true;
                        m_isInEncoding[idx] = true;
                    }
                }
            }
        }
    }

    /**
     * This is heart of the code that determines if a given character
     * is in the given encoding. This method is probably expensive,
     * and the answer should be cached.
     *

     * This method is not a public API,
     * and should only be used internally within the serializer.
     * @param ch the char in question, that is not a high char of
     * a high/low surrogate pair.
     * @param encoding the Java name of the enocding.
     *
     * @xsl.usage internal
     *
     */
    private static boolean inEncoding(char ch, String encoding) {
        boolean isInEncoding;
        try {
            char cArray[] = new char[1];
            cArray[0] = ch;
            // Construct a String from the char
            String s = new String(cArray);
            // Encode the String into a sequence of bytes
            // using the given, named charset.
            byte[] bArray = s.getBytes(encoding);
            isInEncoding = inEncoding(ch, bArray);

        } catch (Exception e) {
            isInEncoding = false;

            // If for some reason the encoding is null, e.g.
            // for a temporary result tree, we should just
            // say that every character is in the encoding.
            if (encoding == null)
            	isInEncoding = true;
        }
        return isInEncoding;
    }

    /**
     * This is heart of the code that determines if a given high/low
     * surrogate pair forms a character that is in the given encoding.
     * This method is probably expensive, and the answer should be cached.
     *

     * This method is not a public API,
     * and should only be used internally within the serializer.
     * @param high the high char of
     * a high/low surrogate pair.
     * @param low the low char of a high/low surrogate pair.
     * @param encoding the Java name of the encoding.
     *
     * @xsl.usage internal
     *
     */
    private static boolean inEncoding(char high, char low, String encoding) {
        boolean isInEncoding;
        try {
            char cArray[] = new char[2];
            cArray[0] = high;
            cArray[1] = low;
            // Construct a String from the char
            String s = new String(cArray);
            // Encode the String into a sequence of bytes
            // using the given, named charset.
            byte[] bArray = s.getBytes(encoding);
            isInEncoding = inEncoding(high,bArray);
        } catch (Exception e) {
            isInEncoding = false;
        }

        return isInEncoding;
    }

    /**
     * This method is the core of determining if character
     * is in the encoding. The method is not foolproof, because
     * s.getBytes(encoding) has specified behavior only if the
     * characters are in the specified encoding. However this
     * method tries it's best.
     * @param ch the char that was converted using getBytes, or
     * the first char of a high/low pair that was converted.
     * @param data the bytes written out by the call to s.getBytes(encoding);
     * @return true if the character is in the encoding.
     */
    private static boolean inEncoding(char ch, byte[] data) {
        final boolean isInEncoding;
        // If the string written out as data is not in the encoding,
        // the output is not specified according to the documentation
        // on the String.getBytes(encoding) method,
        // but we do our best here.
        if (data==null || data.length == 0) {
            isInEncoding = false;
        }
        else {
            if (data[0] == 0)
                isInEncoding = false;
            else if (data[0] == '?' && ch != '?')
                isInEncoding = false;
            /*
             * else if (isJapanese) {
             *   // isJapanese is really
             *   //   (    "EUC-JP".equals(javaName)
             *   //    ||  "EUC_JP".equals(javaName)
             *  //     ||  "SJIS".equals(javaName)   )
             *
             *   // Work around some bugs in JRE for Japanese
             *   if(data[0] == 0x21)
             *     isInEncoding = false;
             *   else if (ch == 0xA5)
             *     isInEncoding = false;
             *   else
             *     isInEncoding = true;
             * }
             */

            else {
                // We don't know for sure, but it looks like it is in the encoding
                isInEncoding = true;
            }
        }
        return isInEncoding;
    }

    /**
     * This method exists for performance reasons.
     *

     * Except for '\u0000', if a char is less than or equal to the value
     * returned by this method then it in the encoding.
     *

     * The characters in an encoding are not contiguous, however
     * there is a lowest group of chars starting at '\u0001' upto and
     * including the char returned by this method that are all in the encoding.
     * So the char returned by this method essentially defines the lowest
     * contiguous group.
     *

     * chars above the value returned might be in the encoding, but
     * chars at or below the value returned are definately in the encoding.
     *

     * In any case however, the isInEncoding(char) method can be used
     * regardless of the value of the char returned by this method.
     *

     * If the value returned is '\u0000' it means that every character must be tested
     * with an isInEncoding method {@link #isInEncoding(char)} or {@link #isInEncoding(char, char)}
     * for surrogate pairs.
     *

     * This method is not a public API.
     * @xsl.usage internal
     */
    public final char getHighChar() {
        return m_highCharInContiguousGroup;
    }

}


The New York Times is planning its second round of layoffs in a year.
The New York Times Co. has finally pulled the trigger regarding the controversial issue of charging for online content. After nearly a year of thinking it over, the news organization's executives announced Wednesday that they would adopt a metered model for NYTimes.com and would have the new system up and running by the beginning of 2011.
Under the model, users would have free access to a set number of articles per month and then would be charged for access once that number was exceeded. The aim is to create a second revenue stream without harming the site's advertising business by driving away readers. Subscribers to the print edition will still have free access.
"Our audiences are very loyal, and we believe that our readers will pay," said Arthur Sulzberger Jr., chairman of the Times Co. and publisher of The New York Times, in a statement.
The Times has drastically cut costs and struggled to turn a profit as newspaper advertising—already suffering from competition with the Web—has been hammered in the past year and a half by the recession. The organization's online ad revenue hasn't grown enough to make up for the drastic declines in print ad revenue.
The metered model is currently used successfully by FT.com, the Web site of the Financial Times, which allows users to read several articles for free without registration, and then 10 per month once they register. After that, visitors to the site have to pay.
Observers frequently point out that both FT.com and WSJ.com, the Wall Street Journal's successful subscription site, have the advantage of being niche products targeting professional readers. NYTimes.com, by contrast, reaches a broad audience with a vast range of expensively produced content.
Getting users to pay will require convincing them they are finding things they couldn't get anywhere else. Rob Grimshaw, managing director of FT.com, said that he didn't think the pay model could only succeed at business publications.
Mr. Grimshaw added that advertisers like a system that requires registration, since having information about users allows for more precise targeting.
Analysts, most of whom believe the Times Co. has no choice but to charge for online content, praised the move.
"There are very few others in the online news arena that could successfully execute such a strategy," said Mike Simonton, a media analyst at Fitch Ratings, who thought the Times might be able to raise its ad rates for paying users.
Others pointed out that the metered model, as opposed to a pay wall, offers a convenient means of retreat.
The Times announcement said that more details on its metered model will be forthcoming as the company builds the new system.


text:
A top Indian-American official with close ties to Trump has resigned
Make in India: 1000 km on a single charge, Tata's electric cars to hit the market soon….
Home/DH Latest News/Indian Embassy in UK has been suspended diplomatic services. Know more
DH Latest NewsDH NEWSLatest NewsNEWSInternational
Indian Embassy in UK has been suspended diplomatic services. Know more
London: The Indian Embassy in the UK has been suspended following restrictions imposed by the UK on the spread of a new Covid variant. The Indian Embassy in the UK has announced that diplomatic services will be suspended until February 20. There will be a complete lockdown in the UK from midnight on Wednesday to mid-February as part of precautionary measures in the event of a virus outbreak.
The highly contagious new Covid variant was first reported in the UK last December. The virus was later confirmed in various countries, including India. The UK has imposed similar restrictions on the initial lockdown, which lasted from late March to June last year. All non-essential service establishments and shops are closed.
Also read: Watch this kitten challenging for a fight with kid…
UK Indian Embassy diplomatic services
'PASS' this on!!!!!


The Jet 708580 is an benchtop that is affordable that was designed ttake up t½ in. chisel bits. It runs with a ½ horsepower induction motor. This device weighs 44 pounds, is easily maneuvered and reverses on its base, permitting a long stock mortising. Bits are often changeable by flipping the steel topen the hinged home on each part. The Jet 708580 enables a carpenter tcreate good looking tennon joints.
To understand about bench top drill press and best drill press brands, kindly visit the page drill press reviews fine woodworking (Recommended Internet site).
Throat distance -- this is actually the dimension through the edge that is nearest associated with pillar tthe spindle centre.
Swing -- this is usually a common measure of the capability of pillar drills and is defined as twice the throat distance, or tput it another way, the maximum size of disc in which you can drill a main gap.
Spindle taper -- this describes the form associated with end of this spindle. There are very long, quick, female and types that are male. The chuck requires tbe suitable for the spindle taper.
Collar Diameter -- here is the diameter that is outer of collar or chuck assembly that holds the bit.
Chuck size -- this is actually the diameter associated with the opening that is inner of chuck installation, stay defines the maximum size of bit stem that the drill may take. As a result of this its alsknown simply because the drilling capacity.
Spindle travel -- this is the quantity through which the spindle could be lowered or raised vertically and describes the depth that is maximum of you are able to drill in a single pass.
Maximum distance spindle-to-table -- this distance describes the work piece that is deepest that you can get ontthe table.
Maximum distance spindle-to-base -- this might be similar tthe above and defines the depth that is maximum of piece you are able to drill with all the dining table removed.
A pillar drill, alsknown as being a bench drill or a drill press, is a very of good use addition tany house or workshop that is commercial. In this beginner's make suggestions can get tknow this tool that is valuable.
Put simply, a pillar drill is really a device tdrill precisely placed holes, or holes ta very precise depth. It's such a valuable addition tthe house workshop and you'll find yourself bringing all sorts of jobs tthis amazingly accurate, easy-to-use drill that is stationary.
You can find twmain forms of pillar drill, bench-mounted and floor-standing. The bench mounted models are often called bench drills, unsurprisingly, but are alsreferred tas pillar drills and drill presses. The floor-standing models, confusingly, are alsreferred tas pillar drills or drill presses, not bench drills.


1. The familiar trumps the unknown.
Empowering younger leaders may mean that things will look and feel different. Younger leaders may make different decisions and approach things differently. So empowering younger leaders introduces some unknown variables, and in churches that struggle to empower younger leaders, the unknown is too risky. What if we don't like it? So the familiar, even if it is a familiar that fails to engage new leaders, is preferred.
To empower younger leaders, older leaders need to make room at decision-making tables. To empower younger leaders, older leaders need to give up positions so younger leaders can have them. In this season, older leaders are necessary and have significant influence on wise younger leaders who long for their counsel. But only older leaders who are humble are willing to enjoy the influence without the position. Older leaders who need a position to retain their identity squelch the empowerment of new leaders. In churches that struggle to empower younger leaders, there are older leaders fighting to retain positions.
Many churches face tension between two commonly held values: leadership development and excellence. They preach that every believer has a ministry in the church and a mission in the world while also championing the value of excellence—offering their best to God. Great! But while both values can exist, beneath the surface they sometimes collide. For example, a children's Sunday School teacher is challenged to find an apprentice to invest in. He does but hesitates handing the lesson to a younger leader because "it may not be excellent enough." The small groups director, though she talks about development often, has never handed the microphone to someone else during the quarterly training meetings because she has "worked hard all week to make sure this meeting is the best ever." Without realizing it, the longing for excellence can steal attention from development as part of development is handing responsibilities to others and letting the work of ministry develop them.
Can churches still have the familiar? Indeed. The familiar that is rooted in Scripture must be cherished and defended. But the familiar that is rooted in preferences must not be treasured more than raising up new leaders.
Can older leaders stay in leadership positions? Of course. But influencing and empowering leaders, including young leaders, must be more important.
Can excellence and leadership development exist in a culture? Absolutely. We can offer our best to Him and develop leaders. From an overarching vantage point, we can do both. But when the two values collide, development must win.


Pediatricians regard PREP as the "gold standard" of questions. Be careful how you use them or they can HURT you!
The American Academy of Pediatrics PREP® series of questions are high quality, but they should NOT be used for detailed studying. They should be used to practice your test-taking technique along with a VARIETY of other inexpensive question banks offered through other companies.
GET FREE TRAINING ON HOW TO ANSWER BOARD REVIEW QUESTIONS FASTER & MORE ACCURATELY!
HOW DO I BUY AAP PREP® QUESTIONS?
Sorry, unlike BoardVitals and Exam Master, the AAP has NOT provided PBR with any discount or promo codes.
Click HERE to read an entire article I wrote about the advantages and disadvantages of using BoardVitals.
When checking out, enter your discount code (PBR15) to get 15% off.
Through Exam Master, you can get access to over 1000 questions. For that question bank, if you signup through the PBR affiliate link below, your subscription time is DOUBLED. Alternatively, you can also get their 350 best questions (spread out in 7 blocks of 50 questions) that you can take in timed or study modes. It's SUPER CHEAP! We've been using these in our live Test-Taking Strategies & Coaching Webinars. Here's the link you can go through to have your subscription length doubled.
HOW DO I START MY PEDIATRIC BOARD REVIEW?
The PBR Test-Taking Strategies & Coaching Course is an EXCELLENT way to learn and apply test-taking techniques to the pediatric board review questions you get from PREP, Board Vitals and Exam Master.


text:
F1 races will have even more on-screen graphics in 2020
Six new car performance scores will use live data to show who's fastest, who has the most understeer and even predict who will qualify on pole.
More Amazon-sourced data will feature in Grand Prix this season
By Jim Martin, Editor | 23 Jun 2020
The 2020 F1 season will begin at the Red Bull Ring in Austria in a few weeks, and it can't come soon enough. The virtual racing has been fun, but it can't really compare to the real deal - even if there won't be any spectators for the first eight races.
And while this season is different for many reasons, you'll be seeing extra changes in the form of more on-screen graphics. New 'car performance scores' will take live data from on-board sensors - each F1 car has 300 of them - which is then crunched on Amazon servers and then presented in a way that anyone can understand.
While purists want to see the raw data synced perfectly with the on-screen video, the new rankings will offer a data-based insight into how each car (and driver) is performing both overall and on specific parts of the track. These, naturally, will complement the commentary from each broadcaster.
The data will use four key metrics: low-speed cornering, high-speed cornering, straight line, and car handling (oversteer and understeer). After being processed, the stats are presented as a score out of 10, with 5 being average and 10 meaning that the car should be 'unbeatable' on those parts of the track.
You'll be able to see cars' relative performance and also where a particular car's strengths and weaknesses are. The variety of graphics will compare multiple cars as well as two direct rivals and indiviuals.
F1 has been working with Amazon for this type of data for a while now, having shown graphics last year for metric including predicted pit stop strategy, battle forecast and tyre performance.
The six new ones are:
Car Performance Scores
Ultimate Driver Speed Comparison
High-Speed/Low-Speed Corner Performance
Driver Skills Rating
Car/Team Development & Overall Season Performance
Qualifying and Race Pace Predictions
Some of these will factor in historical data (70 years' worth is available), and some, such as the Driver Skills Rating, won't appear until the second half of the season. This will basically show you who is the best overall on the track at that moment, being based on data such as tyre management, race pace, plus overtaking and defending styles.
Predictions, likewise, will be drawn from data from practice and qualifying laps, and it'll be interesting to see whether this machine learning will be able to accurately predict which driver will qualify on pole and which will win the race.
Whether the raw data is being obfuscated for the viewers' benefit or to prevent rival teams from seeing it we'll probably never know. But for the more casual viewer, the graphics will hopefully be more than just a gimmick.
For more on the upcoming season, here's how to watch F1 races.
How to watch F1 races in 2021
How to watch National Lampoon's Christmas Vacation for free
How to watch Miracle on 34th Street


This Vernacular style four fold door knob was published in the 1885 catalog. The manufacturer is unknown. Part of the H-22200 group. This complete set includes two knobs, two back plates and a Yale & Towne mortise lock.


Annuities are more popular than ever and it's fixed index annuities that are leading the pack.
Dynamic growth propelled the annuity industry in 2014, according to Annuity News, with fixed index annuities (FIAs) emerging as the number one retirement savings vehicle for thousands of soon-to-be retired folk. Showing no signs of slowing in 2015, FIAs are expected to benefit from several trends, which are creating an optimistic landscape for annuity purchases dominated mostly by baby boomers and, believe or not, GenXers.
The recently released Insured Retirement Institute's State of the Industry Report shows that Baby Boomers are taking a more active approach to calculating savings goals. Top of mind is determining expected expenses while also seeking solutions for longevity challenges. Unfortunately, despite a focus on preplanning, Boomers are becoming less confident in their ability to achieve a successful retirement. Individuals reporting that they are better prepared and confident about investing for retirements share two distinctions: they are working with a financial profession and/or incorporate annuities into their retirement strategies.
In 2011, 37% Boomers reported they are confident they will have enough money to live comfortably throughout their retirement years. This number has dropped to just 33% in 2014.
The percentage of not-yet-retired Boomers who are planning to retire at age 70 or later has increased substantially, from 17% in 2011 to 28% in 2014.
In 2014, 55% of Boomers said they calculated a retirement savings goal, compared to 50% in 2013. Of those who have determined a savings goal, 76% said this calculation factors in estimated costs for health care expenses.
Boomers who own insured retirement products have higher confidence in their overall retirement expectations, with nine out of 10 believing they are doing a good job preparing financially for retirement.
Baby Boomers and certain GenXers are attracted to annuities due to two key product features: guaranteed income in retirement (90%) and principle protection (84%).
Eight out of 10 investors say that they are better prepared for retirement as a result of working with a financial professional.
One of the most interesting annuity trends going into 2015 is the fact that more and more buyers of annuities are now in their 40s and 50s instead of their 60s. These younger individuals are taking a proactive approach to retirement by purchasing fixed indexed annuities. These so-called GenXers are somewhat financially conservative but also want to capitalize on stock market gains. Fixed index annuities represent the perfect vehicle for those who do not wish to gamble on the stock market with money they have diligently saved for their retirement.
RELATED – How do fixed index annuities make money?
RELATED – Is an annuity right for me?
If you are serious about securing the financial future of you and your family, we are here to help. Click here to schedule an appointment, or call us at 866-904-4700 today!
Annuity product guarantees rely on the financial strength and claims-paying ability of the issuing insurer. This material has been prepared for informational and educational purposes only. It is not intended to provide, and should not be relied upon for, accounting, legal, tax or investment advice. Please consult with a professional specializing in these areas regarding the applicability of this information to your situation.


In my last post, I gave a list of transformation project success factors.
It wasn't a comprehensive list of project management tools, nor did it advocate a specific project framework.
Most Project Managers won't get to choose the framework they use. Their employers and clients have encompassed a methodology and made it their own. Pulling together the continuing professional development of a good PM with the need to pick up and run with organisational project processes, we can see that a key attribute of a Project Manager is the ability to adapt to the circumstances of the project. Not so much their background or their framework qualifications.
Agile has less content at this stage, mainly because the Speculate stage of the first sprint will work out the timeframes and costs for the overall project.
In all honesty, do you think there is much difference between the frameworks? I would suggest not. Further, a good project manager picks up and uses techniques as she works with other PMs or in new organisations. These techniques form a toolkit to be drawn upon as required – not to be used by rote.
A project framework is no more than a checklist – it's the way you approach your project that counts.