text:
Q: child routes doesn't work in lazy loading I am writing an Angular 8 app and I am trying to lazy load some modules and I have in this some child routes. However, the lazy load working good but the problem is child routs doesn't work and I face this error message
Error:  Uncaught (in promise): Error: Cannot match any routes. URL Segment: 'stores/main-stores'
Error: Cannot match any routes. URL Segment: 'stores/main-stores'
this is parent routing module
import { LogInComponent } from './log-in/log-in.component';
import { HomeComponent } from './home/home.component';
import { Routes, RouterModule } from '@angular/router';
import { from } from 'rxjs';

const routes: Routes =
  [
    { path: '', component: LogInComponent },
    { path: 'log-in', component: LogInComponent },
    { path: 'home', component: HomeComponent },
    { path: 'stores', loadChildren:'./stores/stores.module#StoresModule'},

    //{ path: '**', component: LogInComponent },
];

@NgModule({
  imports: [RouterModule.forRoot(routes)],
  exports: [RouterModule]
})
export class AppRoutingModule { }

this is lazy routing module
import { Routes, RouterModule } from '@angular/router';
import { StorsComponent } from '../home/stores/stors/stors.component';
import { MainStoresComponent } from '../home/stores/main-stores/main-stores.component';
import { InventStorComponent } from '../home/stores/invent-stor/invent-stor.component';
import { TransStoreComponent } from '../home/stores/trans-store/trans-store.component';

const routes: Routes = [
  {path:'',component:StorsComponent,children:[
    {path:'MainStores',component:MainStoresComponent},
    {path:'InventStores',component:InventStorComponent},
    {path:'TransStores',component:TransStoreComponent},

  ]},
];

@NgModule({
  imports: [RouterModule.forChild(routes)],
  exports: [RouterModule]
})
export class StoresRoutingModule { }

here is lazy module
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';

import { StoresRoutingModule } from './stores-routing.module';
import { StorsComponent } from '../home/stores/stors/stors.component';
import { MainStoresComponent } from '../home/stores/main-stores/main-stores.component';
import { InventStorComponent } from '../home/stores/invent-stor/invent-stor.component';
import { TransStoreComponent } from '../home/stores/trans-store/trans-store.component';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import { RouterModule } from '@angular/router';

@NgModule({
  declarations: [
    StorsComponent,
    MainStoresComponent,
    InventStorComponent,
    TransStoreComponent
  ],
  imports: [
    CommonModule,
    RouterModule,
    StoresRoutingModule,
    Ng2SmartTableModule,
    FormsModule,
    ReactiveFormsModule,
    AngularMyDatePickerModule,

  ]
})
export class StoresModule { }

heere is lazy component Html

    معرف المخازن
    جرد المخزن
     تحويل مخزون

    <router-outlet></router-outlet>

the problem happend when i click on any link to rout me to child component
so are there any way to handle it.
note:i'm a biggener

A: See this example in the stackblitz
In your app-routing.module.ts file use in this way
const routes: Routes = [
  {
   path: 'customers',
   loadChildren: 'src/app/customers/customers.module#CustomersModule'
  },
  {
   path: 'orders',
   loadChildren: 'src/app/orders/orders.module#OrdersModule'
  },
  {
   path: '',
   redirectTo: '',
   pathMatch: 'full'
  }
];

redpajama_set_name: RedPajamaStackExchange


Health Care Reform: Liberate Patients or Oppress Them?
Though you would never know it from the news reports, the brightest hope for health care reform lies in the consumer directed health care movement.
Pioneering physicians, like Heather Sowell and Jonathan Sheldon at the Sheldon Sowell Center for Health in Englewood, and Vern Cherewatenko of Washington State, have opened practices that protect patients and physicians from the excessive overhead costs imposed by governments and insurance companies. By requiring payment at time of service they can eliminate overhead, charge fees that are 30 to 50 percent lower, and make health care affordable for almost everyone.
Pioneering insurers like Definity and Humana have created flexible insurance plans allowing consumers to tailor their health benefits. Participants pay out-of-pocket costs in line with the costs they impose on the other members of the plan. This protects careful consumers from costs imposed by the irresponsible. Initial results show people are shopping smarter. Emergency room visits for routine care are down, generic drug purchases are up, people choose more conservative treatments. Annual increases in health care costs have been halved, and in Ohio, employee out-of-pocket and premium costs decreased by 2 percent.
Pioneering hospitals and clinics, like the Mayo Clinic and St. Lukes hospital in Jacksonville, are working to preserve patient care by pulling out of Medicare's Part B assignment program. Part B covers outpatient care, and has inflicted spiraling overhead costs and shrinking payments on participating physicians. Requiring patients to be responsible for Medicare reimbursements lets Mayo reduce its costs and preserve its standard of care.
Pioneering pharmaceutical companies are working to provide lifesaving drugs to people who need them but cannot pay. Rather than arguing about Medicare doughnut holes in federal programs designed to make everyone pay for the drugs consumed by even the wealthiest senior citizens in America, the companies have a simple application form for those who need help. It assesses ability to pay and individual circumstances. People who can pay a little, do. Those who cannot pay may be given the drug they need by its manufacturer.
Unlike the consumer directed reformers seeking to empower people, the proponents of big government health care have little to offer beyond the expansion of 40 years of oppressive regulation designed to force-feed patients a one-size-fits-all medical care only a bureaucrat could love. In the name of universal coverage, they push for Medicare and Medicaid expansions that would bring everyone under the dysfunctional government umbrella in the name of universal coverage. No matter that both programs are predicted to be bankrupt early in the 2020s.
Bankrupt or not, in a Catch-22 worthy of the Soviets, all citizens who apply for Social Security benefits are automatically enrolled in the Part A Medicare hospitalization program. You can withdraw only if you give up the Social Security benefits that you earned and pay back any you have already received. Once in, you are subject to Medicare rules under which the government, not you or your physician, determines the services that will be provided to you. Medicare rules make it virtually impossible for most patients to use their own money to pay for better, more convenient, or more complete care. This is in spite of the thousands of price controls on individual services, the criminalization of simple paperwork errors, and the widespread fraud in the Medicare program distorting the way medical care is provided.
To buy votes, Medicare pays for relatively small items that most people can afford, while exposing a smaller number of seriously ill people to unlimited financial risk. In Colorado, people in Medicare pay a flat deductible of $812 for 1-60 days in the hospital. From 61-90 days the out-of-pocket cost is $203 a day. For 91-150 days the cost is $406 a day. After that, there is not coverage. Similar formulas apply to skilled nursing care.
After a deductible of just $100, Medicare's Part B outpatient program pays for inexpensive things like flu shots, commode chairs, and mammograms. Otherwise, people typically pay 20 percent of the government determined fees for covered services until their assets are gone. Those in need of an expensive prescription drug on an outpatient basis, get nothing. True to form, Congress is now considering a one-size-fits-all prescription drug program that most experts say will end up increasing peoples out-of-pocket costs. It is so complicated that you need a computer to navigate it, and, at least in the Senate version, it continues the grand tradition of unlimited risk exposure by making people pay 10% of all drug costs above $3,700.
In short, basic health reform offers two choices. Either oppress patients with big government programs that tell doctors what to do and fail to provide for catastrophic expenses, or liberate those same patients by continuing the consumer directed experiments that encourage people to pay cash for routine expenses, while offering protection for catastrophic ones.


text:
Aircraft on Display
1939 Taylorcraft BL-65
After Clarence Gilbert (C.G.) Taylor was ousted from the Taylor Aircraft by William Piper in 1935, C.G. Taylor founded a new aircraft company in Ohio. The mission of the Taylor Aircraft Company (later renamed the Taylorcraft Aviation Corporation) was to build a better small plane than the renamed Piper J-3 Cub. The BL-65 was part of C.G. Taylor's goal to outperform the Cub. It was called the BL-65 because it was the second model the company produced (the first was the A) and it had a Lycoming 65hp engine. Although the Cub and the Taylorcraft look very similar, there are some differences.
Both airplanes have seats for 2 people, but in the Cub the passenger sits behind the pilot, while they sit side-by-side in the Taylorcraft. Additionally, Cub pilots used the standard control stick to fly the plane while Taylor used the then new idea of a control wheel, like a car's steering wheel, for aileron and elevator control. In the air, the two aircraft performed very similarly. Despite the similarities, more than twice as many Cubs were produced than Taylorcrafts.
Visitors are encouraged to touch, explore, and sit in the cockpit of the Taylorcraft. Aspiring pilots can operate the controls to move the elevator, rudder and ailerons. One wing has been left in various stages of completion, to illustrate the process of covering a wing with fabric.
N23624 (serial no. 1349) was donated to the College Park Aviation Museum by Francis A. Fine in 1997.
Wingspan: 36 feet, 0 inches
Length: 22 feet, 0 inches
Empty Weight: 640 lbs.
Gross Weight: 1150 lbs.
Powerplant: 65 hp Lycoming O-145
Maximum Speed: 102 mph
Range: 250 miles
Take our Survey!
1910 Wright Model B Reproduction
1911 Curtiss Model D Reproduction
1912 Blèriot XI Reproduction
1916 Curtiss JN-4D "Jenny" Military Tractor
1924 Berliner Helicopter No. 5
1932 Monocoupe 110
1936 Taylor J-2 "Cub"
1941 Boeing A75N1/PT-17 "Stearman"
1946 Ercoupe 415D
1985 Corporal Frank Scott Drive

redpajama_set_name: RedPajamaCommonCrawl


Give your images extra impact with our Metal Prints-an Exciting alternative to traditional prints. This unique printing mehord gives dee & vibrant colours with Unsurpassed detail. The aluminium Base is 1mm thick and can be mounted onto a subframe to lift it further off the wall.


"….you should train your cat to use a scratching post. Other alternatives include a quick, painless trimming of his claws (which you can do at home using special clippers) or covering the claws with soft sheaths (which you can purchase relatively inexpensively).
Scratching is one of your cat's most ingrained instincts. Keep a scratching post near where the cat usually sleeps or, if he has already picked out a corner of your sofa, keep it next to that chosen spot. You may need to train your cat to use his scratching post. Do not pick him up and put his paws on the scratching post (that will only make him want to avoid it). Make the scratching post appealing to him: rub catnip on it or mist it with catnip spray; drape a heavy string (a long leather shoelace works great) over it and wiggle it to catch his interest; put treats on the very top.
Important: Invest in a scratching post that is 24″ or 30″ tall, with a sturdy base – your cat may be using the arm of the sofa because he can stretch higher than his scratching post will allow. Most of the ones you will find at the store are only 18″ high so you may need to visit a pet supply store.
A few cats don't like scratching on a vertical post, but will scratch willingly on a flat scratching pad. If your cat prefers a flat surface, you can either buy one of the cardboard scratching boxes (typically available from mail order or pet stores), or buy a scrap of plywood and a carpet remnant, large enough to fold around onto the back of the plywood. Cut the corners on an angle, fold the carpet remnant over the wood, and tack the carpet on using carpet tacks or heavy-duty staples.
Sometimes changing to a scratching post that is covered with sisal rope or a different texture will kindle his interest in the post, as well.
An additional idea, one that worked well when there were more vacant rooms in the house, is to follow the instructions above for a flat-surface scratching pad, then mount it on the wall at a convenient height for the cat, in a hallway or in the laundry room.
Initially, put the post where your cat goes to scratch. This may be by a sofa, a chair or wherever Kitty has chosen as her territiory, and you may need more than one post to cover her favorite spots. Security is a major factor in making the post appealing to your cat. If it topples or shakes, she won't use it. It should either be secured to the floor or have a base wide enough and heavy enough to keep it stable.
Encourage Kitty to use her post with clever enticements. Feed her and play with her by the post. Rub dried catnip leaves or powder into it. Make all the asssociations with the post pleasurable. Reward her with a favorite treat when she uses it. Have her chase a string or a toy around the post or attach toys to it, which will result in her digging her claws into it. Eventually she will learn to love it and regard it as her own. It's also a good idea to put a post where Kitty sleeps. Cats like to scratch when they awaken, especially in the morning and the middle of the night. If space permits, a scratching post in every room of the house is a cat's delight. The most important place is the area of the house in which you and Kitty spend the most time. I have many sisal posts in my house, yet often in the morning my cats line up to use the one in the living room.
If at first Kitty is reluctant to give up her old scratching areas, there are means you can use to discourage her. Covering the area with aluminum foil or double-sided tape is a great deterrent. These surfaces don't have a texture that feels good to scratch.
Remember too that Kitty has marked her favorite spots with her scent as well as her claws. You may need to remove her scent from the areas you want to distract her away from. You will find pet odor removers in pet stores and many supermarkets as well.
Cats have an aversion to citrus odors. Use lemon-scented sprays or a potpourri of lemon and orange peels to make her former scratching sites less agreeable to her.
If Kitty still persists in scratching the furniture, try squirting her with a water gun or a spray bottle set on stream. Another option is a loud whistle or other noise-maker. You must employ these deterrents while she is scratching for them to be effective. The point is to establish an aversion to the spot you don't want her to scratch.
If you are starting with a kitten, consider yourself fortunate. It's much easier to initiate good habit patterns than to correct undesirable ones.
From the beginning teach your kitten the appropriate place to scratch. Use the methods already described, especially playing around the scratching post to capture her interest. Take advantage of your kitten's desire to play and attach toys to the post. She will soon "dig in" to catch her toy and discover how good it feels to scratch this surface.
Do not take her paws and make her scratch the post. This is a major turn-off and will only inspire a bratty "you can't make me" attitude. Even at an early age, cats refuse to be coerced into doing what they don't want to do.
If she starts to scratch an inappropriate object, immediately place her in front of her scratching post and begin petting her. Some cats will begin kneading when petted, thus digging their claws into the desired surface and establishing this as a fine place to scratch.
Understand your cat's need to scratch.
Make the scratching post attractive to Kitty– i.e. use sisal posts.
Make the place she's been scratching unattractive–physical or scent related deterrents.
Whenever possible, start cats young.
You may want to trim your cat's claws.
For indoor cats, consider Soft Paws® as extra insurance, or an easy alternative.
One of a cats natural instincts is to stretch it's body to full length and exercise it's claws. This promotes shedding of the external layer of the nail, plus exercise for the muscles. Also, kitties mark their territory with scent glands located in the paws. This behavior is seen in all cats, from declawed house cats to large cats in the wild. Research into the psychological development of kittens shows that they learn scratching do's and don'ts from their mothers at a young age. If the mother cat has poor habits, or if the kittens go to new homes before they have had a chance to learn (12 weeks of age or older is best), you may have quite a problem on your hands.
It is necessary for a cat to have somewhere in your home where they may scratch. If you don't provide some kind of a scratching post, they will chose a spot themselves, resulting in destruction to your furniture. Many a sofa, chair, record collection, clothes hamper, etc. have met their untimely ends due to a cat's instinctual behavior.
Scratching posts come in an unlimited variety of fabrics and textures, colors and sizes. Some cats prefer carpet or cardboard, some sisal rope, while others would like nothing more than a good old fashioned section of a tree with bark attached. It is important to provide a post that is tall or long enough for your cat to fully extend it's body in a stretch. It is equally important that the post is heavy enough not to be pulled over onto your kitty while he is using it. For this reason, the smaller posts that you hang from a doorknob tend not to work as well. There are "cat trees", some upwards of 6′ tall; using natural wood, sisal rope, and different carpeted shelves and cubbie holes for those cat owners who want to go all out.
To encourage your cat to use a scratching post, sprinkle cat nip on it. An alternative is to hold interactive play time with a toy on a string on and around the scratching post in order to give kitty the idea. If you catch your little angel using your leather sofa, squirt him with a squirt gun, collect him, and take him to the scratching post. A squirt gun or water bottle is the best deterrent- as long as you don't shriek a warning "I'm going to GET you" ahead of time the cat does not associate you with the water, therefore you don't have to constantly monitor their behavior. You can also cover the piece of furniture with wide, clear tape. Its not very visible to your eye, and cats don't like the way it feels. Aluminum foil works too, but doesn't blend with most decor. There are also plastic pieces which fit over the corners of chairs and sofas available through many cat magazines and supply stores.
Clip your cats front nails every 2 weeks or so. In time the quick (pink part containing blood vessels) actually recedes and you can clip the nails shorter and shorter, duller and duller. Your veterinarian or groomer can demonstrate the proper technique for you. This goes a long way towards saving your furniture. Soft Paws (dull plastic nail covers) are another alternative available through your veterinarian.
It will take some time and effort on your part, but the vast majority of destructive scratcher can be re-trained to a scratching post.


The NAWMBA 2010 National Conference and Career Fair is being held October 1-2, 2010 in Louisville Kentucky.
The 2010 Conference and Career Fair Global Economy, Global Leadership has been designed to assist women, as they continue along the journey to develop and enhance their leadership skills.
Students and professionals will have the opportunity to attend the Career Fair, attend career consulting sessions (resume reviews and mock interviews), networking events, development sessions, and meet women of all levels and backgrounds.


Generations of families have celebrated a special occasion in our beautifully lit 2,300 square foot 'hall.' The south and east galleries feature stunning walls of wood doors and windows, which provide abundant natural light by day and warm, ambient light into the evening. Generations of families have celebrated a special occasion in our beautifully lit 2,300 square foot 'hall.' The south and east galleries feature stunning walls of wood doors and windows, which provide abundant natural light by day and warm, ambient light into the evening. The maximum capacity for a seated dinner is 160 guests*. This room can be fitted with a dance floor and is perfect for dinners, cocktail parties and large meetings.
Climb The Home's original staircase to the ideal room for cocktail parties and small dinners. A seated dinner in the Lounge Room can accommodate 32 guests*. The space is 500 square feet respectively with views of our heritage oak canopy.
Our 1,200 square foot rain sheltered outdoor space is located just off the south side of The House. The Pavilion offers dedicated climate-controlled restrooms along with seating for up to 80 dinner guests* or 100 guests for a reception.
Our private dining room, designed for intimate dining and meetings for up to 16 guests*, fully equipped with A/V hardware. This room is approximately 175 square feet and has a private entrance on the mezzanine floor of The House. Meetings and dinners in this cozy room are sure to be remembered.
*Please note that the capacity of any of the above spaces may vary based on the event format, room set-up, and your menu selections.


text:
Tyler Shields Biography:
TYLER SHIELDS, Photographer / Artist
Tyler Shields. "Considered the Andy Warhol of his generation, Shields has produced images that play with notions of the gaze, power structures, hyper-realism, iconoclastic-tendencies and cinematographic practice, but his Mouthful series of works are among his best known" – Sotheby's
Born in Jacksonville, Florida and now recognized as "Hollywood's favorite photographer", L.A. based contemporary artist and filmmaker Tyler Shields' evolution from the "bad boy of photography" with his controversial blood-stained photographic series featuring Lindsay Lohan to the more subtle color-explosive poesy of his Chromatic series, and his work featuring Francesca Eastwood (Clint's daughter) to the fire-starting bag-sawing antics of a $100,00 Hermes Birkin Bag, to the stoic magic surrealism of Suspense, a project shot in the New Mexico desert featuring Franseca Eastwood, Emma Roberts and Lydia Hearst, Mr. Shield's art captures the emergence of an artist and his medium into a more mature overture and output. Tyler Shields is an American image-maker.
Born in 1982, Shields' work derives from a unique history directing music videos and working with the legendary skateboarding icon Tony Hawk. Mr. Shields has produced images that play with notions of the gaze, power structures, hyper-realism, iconoclastic-tendencies and cinematographic practice. He has worked with a roster of ranking members of Hollywood including Mischa Barton, Emma Roberts, Aaron Paul, Demi Lovato, Juno Temple, Shiloh Fernandez and more. Tyler's output involves various mediums from book publishing "The Dirty Side of Glamour in 2011, to a novel entitled "Smartest Man", and a cluster of solo shows: Mouthful, Los Angeles (2012), Miller Gallery Cincinnati, Ohio (2012), Phothub Manomtr, Moscow, Russia (2012) and more.
Shield's technical brilliance as a photographer has much more to do with the shift in focus from the fragility
of the "celebrity photographer" to the output of the contemporary art medium. Most of the talented people who work with him include actors who are serious about their profession, but are not celebrities. People will go to him to make art rather than celebrity photography.
As an artist, Shields' work and output has much more to do with the long-standing and perhaps transcendental clarity behind controlled subconscious image-making in the vein of Caravaggio's near photographic paintings in the 16th century, where rules and guidelines of the century were abandoned and / or re-incorporated to challenge the sensibilities of the time. In this regard, the artist's work is as equally controversial with other image-makers who have utilized the tools of sex, death, flesh, obsession, nightmares and fantasy to explore the peculiarity of the human condition rendered into a coherent aesthetic clarity and style.
Shields' work is a type of 'dark romance' that scales the bandwidth of image development in the age of Google Image searches, the Internet, and a near infinite source and access to moving-image making material and iconography. The challenge is finding the right nodes toward a product or project that captures the body from its most emaciated status of apathy to the near classical ideal forms that captivate and engage attention and interests of our collective gaze.
'To expose yourself to the world, you and your work, naked to the global theater of billions of views, clicks, hits, image-searches, etc, is a remarkable statement within itself – to say – this is me and who I am, is powerful.'
This theater of exposure is explored through the layer of celebrity and the mechanisms of industrial image-making capacity that is now augmented in every outlet by technology, new tools and software. Within the deluge of images, our eyes remain fixated on the living body and it's potential to be virtually perfect. The masquerade of celebrity is the photographer's playground and a flash of rapture.
Tyler Shields, as an artist, attempts to move through the complexes and layers of the "celebrity" sphere, into an inherently tangible vision of the portrait, and its meaning and context in a rather shifting landscape of identities that accumulate into what we call the 21st-century. What does it mean to be alive in the 21st century? How does it look? How will it look 500 years from now in the future, in five years? What does it take for an image to capture attention throughout the deep-gaze of time and the ever more increasing scrutiny of the platform of the contemporary space of art, now, then and a thousand tomorrows from today, or a thousand 'likes' from now?
'People will go to him to make art rather than celebrity photography.'
Mr. Shields' work isn't about celebrity – it's about working with colleagues and friends in his social sphere who want to make art. They share an obsession to create, to make, to own, to expose, to play. His work is as much a collection of documentations of his sphere of influence and inspire his work. They are active participants rather that spectators. Eroticism, torture, decadence are all mere mediums that seem to remain eternally the same and only enhanced by the participant's own injected identity and experience. It is the glossy mortality of the space of the human condition that is the only true crystal lens that the world inside and out, can be seen in the creation of a new type of fiction. Tyler Shields captures a new type of American life while exploring the fictional nature of the historical and the classic.
To get more info on Tyler here are some interviews on him:
Photowhoa
Digital photographer
Lady Gunn
Tyler Shields Painting
Tyler Shields Media Temple interview
For More information or to Interview Tyler please visit the contact section.


text:
Harbor Country Day Students Join Chinese New Year Celebration at Stony Brook University's Confucius Institute
School & Education, Press Releases, Seasonal & Current Events
Thirteen Mandarin students from Harbor Country Day School, a nonprofit independent school in St. James, performed onstage at the 2016 Chinese New Year Celebration at the prestigious Confucius Institute at Stony Brook University.
Saint James, NY - February 10th, 2016 - Thirteen Mandarin students from Harbor Country Day School, a nonprofit independent school in St. James, performed onstage at the 2016 Chinese New Year Celebration at the prestigious Confucius Institute at Stony Brook University.
The event, which was held on February 6 at the Charles B. Wang Center, featured performances from professional Lion Dancers, acrobats, traditional Peking Opera performers and more. Harbor Country Day's participants, who ranged in age from five to eight years old, sang three Chinese children's songs, dressed in traditional Chinese Qipao and Qing Dynasty costumes.
Harbor Country Day School has offered Mandarin to its students since 2012. This year, Harbor partnered with the Confucius Institute, forming the Confucius Corner at Harbor Country Day School. With this partnership, Harbor's students are given unique opportunities to enhance their study of the Mandarin language with enriching cultural events such as the Chinese New Year Celebration.
"Harbor Country Day is delighted to have been able to join the Confucius Institute's Chinese New Year Celebration for the second year in a row," said Harbor Country Day's Head of School, John Cissel.
"In everything we do at Harbor, we strive to find that perfect balance between academics, character-building and cherishing childhood. Our Mandarin program perfectly strikes that balance, as it challenges children to learn a complex language, opens their eyes to rich and diverse cultural experiences and enables them to participate in joyful activities like this."
About Harbor Country Day School
Founded in 1958 by conscientious parents, Harbor Country Day School is an independent, co-educational day school for children from preschool through eighth grade situated in St. James' Village of Head of the Harbor. The school employs a whole-child approach to education, wherein its rigorous curriculum is supported by a broad program in its academic, athletic, advisory, and visual and performing arts departments designed to develop all aspects of each child's talents and interests.
Harbor Country Day School's summer camp program, Camp Harbor, is among the leading summer camp programs on Long Island. The school's mission to "cherish childhood, cultivate wonder, and inspire confident learners and leaders" underscores every child's experience at Harbor Country Day School and ensures that all of its graduates are prepared to lead fulfilling lives filled with wonder, confidence and many successes.
Harbor Country Day School is chartered by the New York State Board of Regents and is accredited by and a member of the New York State Association of Independent Schools (NYSAIS). It is a non-sectarian, nonprofit organization under section 501(c) (3) of the IRS Code governed by a self-perpetuating board of trustees.
Religious Schools
Subject: LongIsland.com - Your Name sent you Article details of "Harbor Country Day Students Join Chinese New Year Celebration at Stony Brook University's Confucius Institute"


text:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<TITLE>
com.sun.tools.javac.v8.code
</TITLE>

<META NAME="date" CONTENT="2010-04-19">

<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../../stylesheet.css" TITLE="Style">

      ¸ÅÊö
    Èí¼þ°ü
      Àà
      ʹÓÃ
      Ê÷
      Òѹýʱ
      Ë÷Òý
      °ïÖú

 ÉÏÒ»¸öÈí¼þ°ü
 ÏÂÒ»¸öÈí¼þ°ü

  ¿ò¼Ü
 ÎÞ¿ò¼Ü

  ËùÓÐÀà

Èí¼þ°ü com.sun.tools.javac.v8.code

½Ó¿ÚÕªÒª

ByteCodes
Bytecode instruction codes, as well as typecodes used as instruction
 modifiers.

ClassReader.SourceCompleter

CRTFlags
The CharacterRangeTable flags indicating type of an entry.

Flags
Access flags and other modifiers for Java classes and members.

Kinds
Internal symbol kinds, which distinguish between elements of different
 subclasses of Symbol.

Symbol.Completer
Symbol completer interface.

TypeTags
An interface for type tag values, which distinguish between different sorts
 of types.

ÀàÕªÒª

ClassFile
Generic Java classfiles have one additional attribute for classes,
 methods and fields:

   "Signature" (u4 attr-length, u2 signature-index)

   A signature gives the full Java type of a method or field.

ClassFile.NameAndType
A class for the name-and-type signature of a method or field.

ClassReader
This class provides operations to read a classfile into an internal
 representation.

ClassWriter
This class provides operations to map an internal symbol table graph rooted
 in a ClassSymbol into a classfile.

Code
An internal structure that corresponds to the code attribute of methods in a
 classfile.

Code.Chain
A chain represents a list of unresolved jumps.

CompleteClassReader
This class contains some minor modifications wrt ClassReader which read
 complete constant pool and code sections with the class that is read in.

CRTable
This class contains the CharacterRangeTable for some method and the hashtable
 for mapping trees or lists of trees to their ending positions.

Pool
An internal structure that corresponds to the constant pool of a classfile.

Scope
A scope represents an area of visibility in a Java program.

Scope.Entry
A class for scope entries.

Scope.ErrorScope
An error scope, for which the owner should be an error symbol.

Source
The source language version accepted.

Symbol
Root class for Java symbols.

Symbol.ClassSymbol
A class for class symbols

Symbol.MethodSymbol
A class for method symbols.

Symbol.OperatorSymbol
A class for predefined operators.

Symbol.PackageSymbol
A class for package symbols

Symbol.TypeSymbol
A class for type symbols.

Symbol.VarSymbol
A class for variable symbols

Symtab
A class that defines all predefined constants and operators as well as
 special classes such as java.lang.Object, which need to be known to the
 compiler.

Target
The classfile version target.

Type
This class represents GJ types.

Type.ArrayType

Type.ClassType

Type.ErrorType

Type.Mapping
An abstract class for mappings from types to types

Type.MethodType

Type.PackageType

Òì³£ÕªÒª

ClassReader.BadClassFile
Error Diagnoses

ClassWriter.PoolOverflow
Thrown when the constant pool is over full.

ClassWriter.StringOverflow

Symbol.CompletionFailure

      ¸ÅÊö
    Èí¼þ°ü
      Àà
      ʹÓÃ
      Ê÷
      Òѹýʱ
      Ë÷Òý
      °ïÖú

 ÉÏÒ»¸öÈí¼þ°ü
 ÏÂÒ»¸öÈí¼þ°ü

  ¿ò¼Ü
 ÎÞ¿ò¼Ü

  ËùÓÐÀà

redpajama_set_name: RedPajamaGithub


Clinton House Museum, at 930 W. Clinton Dr., is the first home of President Bill Clinton and his wife, Hillary. The couple was married Oct. 11, 1975 in the one-bedroom, 1,800-square-foot house, a 1930s English Tudor brick bungalow. Visitors can peruse campaign materials from Clinton's early political career, a reproduction of Hillary's wedding dress, personal and political photographs, historical documents and campaign commercials. A garden features flowers that represent all of the First Ladies. The couple moved out in late 1976.
$8; $7 (senior citizens); $5 (students with ID); $1 (ages 1-11).
Mon.-Sat. 8:30-4:30. Closed Jan. 1, Memorial Day, Labor Day, Thanksgiving and Christmas. Allow 30 minutes minimum.


text:
Tyrone Hopson (born May 28, 1976 in Hopkinsville, Kentucky) is an American football offensive guard who played in the National Football League. He graduated from Daviess County High School in Owensboro, Kentucky. He played college football for the Eastern Kentucky University and was drafted in the fifth round of the 1999 NFL Draft by the San Francisco 49ers.

References

1976 births
Living people
American football offensive linemen
Eastern Kentucky Colonels football players
San Francisco 49ers players
Jacksonville Jaguars players
Detroit Lions players

redpajama_set_name: RedPajamaWikipedia


text:
Three Tornadoes Confirmed in Massachusetts
The trail of destruction from the EF-3 tornado.
(Image: © NASA Earth Observatory)
Storm survey teams from the National Weather Service (NWS) in Boston have confirmed that three tornadoes touched down in Massachusetts on June 1, including the biggest and deadliest for the state in 16 years.
The largest of the three tornadoes had winds of up to 160 mph (257 kph) and was rated an EF-3 on the tornado damage scale. The powerful twister killed four people and injured 72 in the town of Westfield. Two EF-1 twisters have also been confirmed, according to the NWS storm survey report. The outbreak was the state's biggest since 1997, when six tornadoes touched down on July 3, according to the National Climatic Data Center (NCDC).
Tornadoes in Massachusetts are rare, but not unheard of — even bigger twisters will occasionally strike the state. The last time a deadly tornado struck Massachusetts was May 29, 1995, according to the NCDC. That tornado, an EF-4 on the tornado damage scale, killed three people in the town of North Egremont. Until June 1, the state had not seen a tornado stronger than an EF-2 or a tornado-related death since that outbreak in 1995.
The Westfield EF-3 twister was on the ground for more than an hour, as it scoured a path 39 miles (63 kilometers) long and half a mile wide. The tornado traveled just north of Springfield and ended in Charlton.
The NWS confirmed an EF-1 tornado hit the town of Wilbraham, with winds of up to 90 mph (145 kph). Another EF-1 twister was also confirmed in Brimfield. Both were on the ground for only minutes, and no one was injured or killed by these tornadoes.
The Science Behind This Terrible Tornado Season
Infographic: Tornado! How, When & Where Twisters Form
Why Aren't There Tornado Safety Building Codes?


text:
The meaning of death
The biological problems
Death: process or event
The "point of no return"
Clinical death
Functions of the brain stem
Mechanisms of brain-stem death
Evolution of the concept of brain-stem death
Diagnosis of brain-stem death
The cultural background
Death practices
The fate of the soul
Islām
The Christian legacy
Descartes, the pineal soul, and brain-stem death
Public attitudes
The first attempts to localize the soul go back to classical antiquity. The soul had originally been thought to reside in the liver, an organ to which no other function could, at that time, be attributed. Empedocles, Democritus, Aristotle, the Stoics, and the Epicureans had later held its abode to be the heart. Other Greeks (Pythagoras, Plato, and Galen) had opted for the brain. Herophilus (flourished c. 300 bc), a famous physician of the Greek medical school of Alexandria, had sought to circumscribe its habitat to the fourth ventricle of the brain; that is, to a small area immediately above the brain stem. Controversy persisted to the very end of the 16th century.
The departure of the soul from the body had always been central to the Christian concept of death. But the soul had come to mean different things to various classical and medieval thinkers. There was a "vegetative soul," responsible for what we would now call autonomic function; a "sensitive soul," responsible for what modern physiologists would describe as reflex responses to environmental stimuli; and, most importantly, a "reasoning soul," responsible for making a rational entity (res cogitans) of human beings. The reasoning soul was an essentially human attribute and was the basis of thought, judgment, and responsibility for one's actions. Its departure implied death. The Anatome Corporis Humani (1672) of Isbrand van Diemerbroeck, professor at Utrecht, appears to have been the last textbook of anatomy that discussed the soul within a routine description of human parts. Thereafter, the soul disappeared from the scope of anatomy.
The modern and entirely secular concept of brain-stem death can, perhaps rather surprisingly, find both a conceptual and a topographical foundation in the writings of René Descartes (1596–1650), the great French philosopher and mathematician who sought to bring analytical geometry, physics, physiology, cosmology, and religion into an integrated conceptual framework. Descartes considered the body and the soul to be ontologically separate but interacting entities, each with its own particular attributes. He then sought to specify both their mode and site of interaction; the latter he deduced to be the pineal gland. The pineal was to become, in the words of Geoffrey Jefferson, "the nodal point of Cartesian dualism."
Before Descartes, the prevailing wisdom, largely derived from Greece, had regarded the soul both as the motive force of all human physiological functions and as the conscious agent of volition, cognition, and reason. Descartes succeeded in eliminating the soul's general physiological role altogether and in circumscribing its cognitive role to the human species. Descartes's writings about death show that his concept of the soul clearly implied both mind and the immaterial principle of immortality. It had to mean both things, for no one had ever conceived of survival after death without a mind to verify the fact of continued existence, to enjoy its pleasures, and to suffer its pains.
The relation between body and soul had been discussed in patristic literature, and, because of his Jesuit education, Descartes would have been familiar with these discussions. The church's interest in these matters was strictly nonmedical, seeking only to reconcile earlier Greek theories with its own current doctrines. Descartes was the first to tackle these problems in a physiological way. With one foot still firmly on consecrated ground (and with Galileo's difficulties with the Inquisition very much in mind), he sought to give a materialistic, even mechanistic, dimension to the discussion. In this sense, his De Homine (On Man; published posthumously in 1662) can be thought of as an updating of Plato's Timaeus. His contemporaries viewed Descartes as having delivered the coup de grace to an earlier Greek tradition (dating back to several centuries before Christ) that had claimed that animals, as well as humans, had souls. This had been the subject of much discussion in the early Christian Church. During the 4th century, St. John Chrysostom (onetime archbishop of Constantinople) had denounced the idea, attributing it to the devil, who had allegedly managed by various maneuvers to deceive people as varied as Pythagoras, Plato, Pliny, and even Zoroaster.
Descartes probably was impressed by the central location of the unpaired pineal gland, situated where neural pathways from the retinas converge with those conveying feelings from the limbs. This "general reflector of all sorts of sensation" is, moreover, sited in the immediate proximity of the brain ventricles, from which (according to the wisdom of the day) "animal spirits" flowed into the hollow nerves, carrying instructions to the muscles. In his Excerpta Anatomica, Descartes had even likened the pineal to a penis obturating the passage between the third and fourth ventricles.
Descartes proved wrong in his beliefs that all sensory inputs focused on the pineal gland and that the pineal itself was a selective motor organ, suspended in a whirl of "animal spirits," dancing and jigging "like a balloon captive above a fire," yet capable in humans of scrutinizing inputs and producing actions "consistent with wisdom." He was also wrong when he spoke of the "ideas formed on the surface" of the pineal gland, and in his attribution to the pineal of such functions as "volition, cognition, memory, imagination, and reason." But he was uncannily correct in his insight that a very small part of this deep and central area of the brain was relevant to some of the functions he stressed. We now know that immediately below the pineal gland there lies the mesencephalic tegmentum (the uppermost part of the brain stem), which is crucial to generating alertness (the capacity for consciousness), without which, of course, there can be no volition, cognition, or reason.
It is a matter of vocabulary whether one considers the mesencephalic tegmentum either as being involved in generating a "capacity for consciousness" or as preparing the brain for the exercise of what Descartes would have considered the "functions of the soul" (volition, cognition, and reason). In either case, the total and irreversible loss of these functions dramatically alters the ontological status of the subject. Descartes specifically considered the example of death. In "La Description du corps humain" (1664) he wrote that "although movements cease in the body when it is dead and the soul departs, one cannot deduce from these facts that the soul produced the movements." In a formulation of really modern tenor, he then added "one can only infer that the same single cause (a) renders the body incapable of movement and (b) causes the soul to absent itself." He did not, of course, say that this "same single cause" was the death of the brain stem. Some 300 years later, in 1968, the Harvard Committee spoke of death in terms of "irreversible coma" (where Descartes had spoken of the "now absent soul") and stressed, as had Descartes, the immobility of the comatose body. The religious and secular terms seem to describe the same reality.
There have been other neurological controversies concerning the locus of the soul. Early in the 18th century Stephen Hales, an English clergyman with a great interest in science, repeated an experiment originally reported by Leonardo da Vinci. Hales tied a ligature around the neck of a frog and cut off its head. The heart continued to beat for a while, as it usually does in the brain dead. Thirty hours later, the limbs of the animal still withdrew when stimulated. In fact, the elicited movements only ceased when the spinal cord itself had been destroyed. This observation gave rise to a great controversy. Reflex action at spinal cord level was not then fully understood, and it was argued that the irritability implied sentience, and that sentience suggested that the soul was still present. The "spinal cord soul" became the subject of much debate. It is now known that such purely spinal reflex movements may occur below a dead brain. It was shown during the 19th century that individuals executed on the guillotine might retain the knee jerk reflex for up to 20 minutes after decapitation.
The church is still concerned with the diagnosis of death, but the theological argument has, during the last half of the 20th century, moved to an entirely different plane. As mentioned earlier, in 1957 Pope Pius XII raised the question whether, in intensive care units, doctors might be "continuing the resuscitation process, despite the fact that the soul may already have left the body." He even asked one of the central questions confronting modern medicine, namely whether "death had already occurred after grave trauma to the brain, which has provoked deep unconsciousness and central breathing paralysis, the fatal consequences of which have been retarded by artificial respiration." The answer, he said, "did not fall within the competence of the Church."


The Senate Judiciary Committee backed the Lynch nomination, 12-8, Thursday with the help of three Republicans — Orrin G. Hatch of Utah, Lindsey Graham of South Carolina and Jeff Flake of Arizona.
Her nomination now goes to the Senate floor, where it could receive a vote as soon as next week.
Cruz has been trying to rally his fellow Republican senators to block Lynch, as well as all non-security nominations, in retaliation for Barack Obama's executive actions on immigration.
"We should not be surprised if President Obama tries to come back to grant amnesty to 12 million ... and Ms. Lynch rubber-stamps that as acceptable," Cruz said. "We should not be surprised if over the next two years we continue to see abuse of power, abuse of executive authority, regulatory abuse and the Department of Justice rubber-stamping it over and over ... again."
Graham, who like Cruz is considering a run for president, said Republicans who feel aggrieved over the executive actions could seek to impeach, but that is not a likely course of action.
"We're not going to go down that road because most American would not like that as the outcome," he said.
Graham said the issues should be hashed out in the courts, rather than seeking a legislative fix that would never get through the Senate.
"We can yell and scream all we'd like, but the courts are the right place for this to be resolved," he said.
Graham was quick to note that he too opposes the president's executive actions, in part because they have made it more difficult to overhaul the immigration laws. Graham is one of the Senate's "gang of eight" who crafted the Senate's bill two years ago.
But he also argued that Lynch is more than qualified to be attorney general and to oppose Lynch would amount to adding to the dysfunction of the chamber.
"I am disappointed that the president has done this because he has thrown a wet blanket over what might be our last best chance to get immigration reform; [he's] more worried about the next election than the country as a whole, so I have nothing, quite frankly, but disdain for what he's done," Graham said. "But…she's qualified by any reasonable standard. I am sorry the Senate has become so dysfunctional, I am sorry the president has created this mess, but I am not going to add to it. I am going to vote for this lady because I think she's qualified.
Flake also noted that the sooner Lynch is approved, the sooner Republicans would be rid of Attorney General Eric H. Holder Jr.
Judiciary Chairman Charles E. Grassley of Iowa, who voted against Lynch, said the odds are that she will be confirmed.
"I suspect Ms. Lynch will be confirmed," Grassley said, but he noted that she wouldn't get 93 votes like recently confirmed Defense Secretary Ashton B. Carter, who signaled a change of direction in the leadership at Pentagon.
Cruz Wednesday gave up on trying to delay a clean DHS funding bill.


The prevalence of hazardous and harmful alcohol use in the UK is estimated at approximately 7.6 million people, and for dependent patients relapse is the norm rather than the exception.
The second system is consciously controlled, reflective, but like any other ability can be more or less effective at suppressing more impulsive behaviours, depending on the individual and their present cognitive or emotional state.
It is suggested that the first system is driven by cognitive biases, specifically attentional bias (the tendency for alcohol-related cues, say, to grab attention) and approach bias (automatic behavioural approach towards alcohol-related cues), both of which have previously been shown to be associated with various substance-use measures (Field & Cox, 2008; Wiers et al, 2011).
CBM attempts to alter these biases by training individuals' attention and behaviour away from substance-related cues, either by setting up tasks so that they must look away from such cues to perform the task well (attentional retraining) or else physically push such cues away from themselves, typically using a joystick or similar device (avoidance training). Studies suggest that retraining these biases can have positive effects such as reduced relapse rates and an improved likelihood of successful treatment completion in alcohol-dependent patients (although there remains a good deal of controversy in this area, see this recent meta-analysis, which we'll be covering next month on the Mental Elf).
Given recent evidence suggesting a pivotal time of neural recovery relevant to the aforementioned systems (and their resulting biases) from substance abuse happens in the early detoxification stage, Manning et al. (2016) decided to investigate CBM on alcohol-dependent inpatients undergoing detoxification. They aimed to alter approach biases and assess whether CBM increased abstinence rates two weeks post-discharge, as well as time to relapse, drinking frequency and quantity, and craving. Importantly, the authors pre-registered their hypotheses.
Harmful alcohol use remains prevalent in the UK and relapse for addicted patients is common.
Eighty-three alcohol-dependent inpatients were recruited from two residential detoxification facilities, both offering a 7-day withdrawal management programme and anti-craving medication during and after the programme. All participants had at least weekly alcohol use in the past month and met the DSM-5 criteria for alcohol use disorder (AUD). The study was a two-group, parallel-block randomised controlled trial, with participants receiving either four sessions of CBM or sham training given on consecutive days. Four sessions were given due to previous work showing this to be sufficient for altering approach biases, while also being feasibly administered in a week-long inpatient programme.
A typical irrelevant alcohol approach-avoidance task was used. In the active CBM group, participants were exposed to 50 alcoholic and 50 non-alcoholic beverage pictures (juice, milk etc.), always pushing away (avoiding) alcohol beverages and pulling non-alcoholic beverages (approaching). The sham control group were exposed to non-alcoholic cues across both cue categories (kitchenware vs stationary) as it was deemed clinically contraindicated to have them approach alcohol cues, given their vulnerable state during withdrawal. Two weeks after participants were discharged, a telephone follow-up interview was conducted by a researcher to assess abstinence from alcohol.
Twelve participants were lost to follow-up and not all participants completed all training sessions.
While participants reported higher rates of abstinence in the CBM group compared to controls (68.6% vs. 47.2%), this difference was not statistically significant (p = .07) using an intention-to-treat approach. However, when only participants who had completed all four CBM sessions were included in analyses, this difference became statistically significant (p = .02).
Logistic regression analyses demonstrated that when all participants were included, no variable (mean drinks per day, prescription of anti-craving medication, group affiliation etc.) predicted abstinence. However, with only protocol completers included, group affiliation predicted abstinence, with CBM participants five-times more likely to be abstinent.
No secondary outcome measures – craving, mean drinking days, mean drinks per drinking day, task performance and (in those who did) time to relapse – were affected by the type of training administered.
CBM training increased abstinence compared to sham training in those receiving the full 'dose'.
The researcher who conducted the follow-up telephone interview was blinded to which group (real or sham) participants were in, and was also not involved in any other aspect of the study, helping to prevent biasing participant reports.
However, treatment efficacy was determined by a telephone interview and was entirely dependent on participants' retrospective recall, which is open to bias.
Further, the sham training was not as robust as it could have been (no alcohol cues were even presented to the control group); however, this is understandable given the ethical implications of instructing detoxing alcoholics to approach alcohol cues.
Finally, a relatively small sample size (N = 71) reduced statistical power, especially since the number completing all four training sessions (n = 61) was below the number required by the authors' own a priori power analysis (N = 72). Therefore, we must interpret these results with caution.
The study suffers from a relatively small sample size and perhaps insufficient power.
CBM training increased alcohol abstinence rates in the first 2 weeks following residential alcohol detoxification (69% [CBM group] vs. 47% [control group]), although this effect did not reach significance [via analyses] which included participants completing any number of sessions. However, among participants who completed [all] sessions, significantly higher rates of abstinence were reported (75 vs. 45%).
In other words, CBM training seemed to be effective in promoting abstinence in those who completed all training sessions, but not when taking into account patients who did not. This could be explained either via a dose-dependent effect of training, or by the possibility that those who completed all sessions were more motivated to abstain, or both.
Further, given the lack of influence on craving despite increased levels of abstinence, the authors suggest that CBM may work by reducing the motivational salience of alcohol-related cues, thereby reducing their influence on patients' behaviour.
This is an important first study investigating CBM's use at a critical point of vulnerability for addicted individuals; further work with larger samples, higher 'doses' of CBM and longer follow-ups is needed.
Jay is a final year PhD student at the University of Liverpool. His PhD focuses on the translation of preclinical work to that of humans regarding how certain kinds of cognition (e.g., reward processing) may be related to alcohol consumption and individual differences like impulsivity. He also enjoys writing about himself in the third person; for more golden third-person narrative, see his twitter (@JayDuckworth).
@Mental_Elf @JayDuckworth Nice blog Jay. Still a bit sceptical about CBM, but nice to see more sessions look promising.
Cognitive bias modification for addiction: are we flogging a dead horse?


Precision measurement of rotational speed and direction is a requirement for a lot of automation, conveyor belts in particular. In order to know how far a belt has moved there has to be some feedback to the controlling hardware, a potentiometer could be used but they can only rotate a limited number of times in one direction and are subject to wear. So how do you measure unrestricted rotation? Incremental encoders are the answer.
The most basic encoder is a disk with 2 sectors which can be detected by sensors, it doesn't matter what type of sectors are used or what type of sensors are used as long as there is a clear ON and OFF signal. One sensor is placed at the top of the disk, and as the disk begins to turn the sensor will pick up a series of transitions from ON to OFF and from OFF to ON. By measuring the time between transitions it is possible to calculate the rate of rotation of the disk but there is still no information about the direction of rotation.
If another sensor is placed at the side of the disk a second signal will be generated but with a delay relative to the first sensor. After the first sensor transitions to ON the disk must turn an additional 90 degrees before the second sensor also transitions to ON. However, if the disk rotates in the opposite direction the second sensor will transition before the first. By knowing which sensor reads an ON to OFF or OFF to ON first, it is possible to determine the direction of rotation as well as the rate!
The sectors themselves can be anything, holes detected by an optical sensor (popular in computer mice), metal strips detected by a metal detector, pits and lands detected by mechanical switches or conductive and non-conductive areas detected by sliding brushes. As long as there is a way to generate a binary signal it is usable in an encoder.


Hot Wheels vehicles have been an enduring favourite of collectors, car enthusiasts and racing fans of all ages. In 1:64 scales, this die-cast car features realistic details and authentic decoration. Choose from a wide variety of vehicles in the assortment ranging from sleek sports cars to exotic race cars and popular roadsters.


We consider that we have only touched the perimeter of information available on pheromone female. There is still a lot more to be learnt!
All's well, that ends well. We have now come to the ending of pheromone female. Until we meet again, adios.
Lean More about "pheromone female"


text:
Q: ARRAffinity Cookie How to Set SameSite Attribute I had security vulnerability popped up for one of the websites.
vulnerability is Insecure Cookie Configuration - SameSite Flag.
After trying and analysing solutions i saw that only ARRAffinity is having Samesite attribute not set.
I found the following solution for setting ARRAffinity cookie's SameSite attribute in web.config file
    <system.webServer>
  <rewrite>
    <outboundRules>
      <rule name="Add SameSite Cookie Flag to ArrAffinity cookie" enabled="true">
        <match serverVariable="RESPONSE_Set_Cookie" pattern=".*" />
        <conditions>
          <add input="{R:0}" pattern="ARRAffinity=(.*)" ignoreCase="true" negate="true" />
          <add input="{HTTP_USER_AGENT}" pattern="Macintosh; Intel Mac OS X
          10_14.+Version/.*Safari" ignoreCase="true" negate="true" />
          <add input="{HTTP_USER_AGENT}" pattern="CPU iPhone OS 12" ignoreCase="true"
          negate="true" />
          <add input="{HTTP_USER_AGENT}" pattern="iPad; CPU OS 12" ignoreCase="true"
          negate="true" />
        </conditions>
        <action type="Rewrite" value="{HTTP_COOKIE};Path=/;HttpOnly;SameSite=None;secure" />
      </rule>
    </outboundRules>
  </rewrite>
</system.webServer>

But after this website is showing two ARRAffinity Cookies one with SameSite=None other with SameSite still empty.Users are also having Sign-in issues because of this. How can i fix this? If not ,then is there any other way i can set-up SameSite attribute for ARRAffinity?


Microsoft has said Windows Phone 8 support ends in July 2014. There's a Blue lining to that cloud.
After Microsoft either wasn't able and/or willing to push its Windows Phone 8 operating system to existing Windows Phone users last year, there are understandably a lot of abandonment fears in the WinPhone community.
That's why the recent revelation (via Microsoft's own lifecycle support page) that Windows Phone is going to have an 18-month support window, going forward, has tongues wagging among more than a few Microsoft fans -- and plenty of Microsoft's critics.
What's the Windows Phone team saying about this latest revelation? The team tweeted on March 18: "As we've said before, one benefit of moving to the Windows core is that Windows Phone 8 is upgradeable."
I asked the team if it had further comment about the Windows Phone 8 lifecycle cut-off date, and was told there'd be no further comment.
Back in June 2012, Windows Phone officials said the non-upgradeability of existing Windows Phone hardware wouldn't be a repeat situation with Windows Phone 8. Still, I'd feel better if we knew for sure that every existing Windows Phone 8 handset will get Windows Phone Blue , the next major successor to the Windows Phone 8 operating system. And that every Windows Phone carrier would deliver the Blue update before July of 2014. But the tweet above doesn't guarantee either of these things.
However, like my Windows Weekly cohost Paul Thurrott, I am more optimistic than not that the July 2014 support cut-off date isn't the doomsday scenario many are claiming it is. As I've blogged before, Microsoft is believed to be on track to release three minor Windows Phone updates, starting with the already-released "Portico," before it delivers Windows Phone Blue, which is a major update.
While some believe Blue will be out in time for this holiday season, I'm not 100 percent sure this will be the case. But it definitely will be out before July 2014, I am convinced.
And if it's not, Microsoft can always extend the lifecycle dates for Windows Phone 8. It wouldn't be the first time, as one of my contacts reminded me.


We are opening a door to entrepreneurs seeking to fulfill both financial needs and personal desires.
We understand the EU, Middle East and Asian markets. We are dedicated to helping you find your dream business opportunity.
We work with you on a one2one basis and we will take the time to needed understand exactly what it is that is on your wish list.
Our business is about understanding more than just how the franchise business model works, we seek to understand you, your interests, your strengths, your weaknesses, your business experience and your psychometric profile.
Once we identify the right fit between you and a shortlist we introduce you to your preferred franchisor/s, our passion is sourcing money, signposting help with business plan, market intelligence (demographics), real estate sourcing and if required helping a master franchisor kick start the recruitment process.
We offer you a complete service, from establishing your brief to handling the search/acquisition process, right through to completion and beyond by forward planning your exit route strategy. Our team can often broker a resale or help you grow through an acquisition.
In these pages, we explain what we do to earn your trust and how we deliver a service of real and lasting value.
Whether as a Master Franchise finding individual franchisees to purchase and run the outlets as part of your team or as a hands on franchise outlet operator we know ownership is more than simply purchasing a business. Franchising is a path to wealth and success if executed correctly and a nightmare if you are a bad fit with the business you just bought.. Being a Franchise owner is a solid and tested career change.
You are an investor in yourself and in something of true mercantile worth. By working with Mercantile Investors team you have the peace of mind that comes from knowing you're not alone and great support is readily available. The great news is that in many cases this service is funded by franchisors and funders seeing us as brokers. That could mean our service is supplied at zero cost to you.Frankly you might opt to go it alone, if so we wish you well on your journey but advocate you prepare for.
Are you looking for finance to start a new master/franchise or acquire a resale?
Each email is packed full of exclusive news and handy hints and tips and news about our latest franchise and master franchise offers. Make sure you're In The Know and sign up today!
Franchising is big business but make it your business to know the traps and avoid the pitfalls in advance.
Before looking into all the benefits of owning your own business we prefer to open with the crucial facts that NO franchise business should be bought without undertaking careful due diligence and you should make yourself aware of all the business traps in advance. High incomes are not easily achieved.
Gaining legal advice is the first step before completing any paperwork and handing over your investment. All forms of franchising require cash flow as a business without cash flow is like a formula one driver being on the grid without petrol and a business plan should be undertaken together with any loan/funding requests.
Use as an accountant with an understanding of the sector you wish to enter and with expertise in the arena of franchising.
Along with the legal advice, accountancy support, a key element of due diligence comes from finding a broker with the ability to understand the psychology of you as a new franchise buyer and in a state of mutual discovery we suggest you do due diligence on you. We are not saying that all franchisors are only interested in banking the master franchise fee and neither are we suggesting that a master franchisor would award a franchise to the wrong type of applicant because they were dazzled by a big bank account. What we will state is that it has happened and the wrong fit in a franchisee/franchisor relationship is costly for all involved.
One of the very first questions we would discover with you – Do you like people? As a master franchisee you will basically be selling franchises and be heavily involved in training people. It is a steep and costly learning curve if you have no expertise in any of the process of being a franchisor. Likewise a franchisee in a field that they dislike could lose money at an alarming rate without the right backing. We suggest a broker can guide investors throughout the process, making the best deal for both buyer and seller.
Whilst you should tread with care we also will work with you to reflect on where you are and select together the best path a franchise to focus on which maybe your vehicle that will allow you to achieve your goals. Frankly many people need a broker to act as a consultant to not just handhold the buying of a franchise but to overhaul how to do business in the 21st century, we seek to update how much you are worth and to examine why you are not already making double what you make today. We see limiting self belief as one of the key factors that hold new franchise operators back, income gauged similar to a thermostat in room, it reaches a limit and shuts down. The subconscious is the same, a franchisee needs mind management in just the same way a top sportsman has a coach. You can see your consultant at Mercantile Investors as a franchise coach who will counsel you into moving forward by changing your preconditioning. We know of owner operators who have bought U.S. franchise deals to the UK, built it, taken the business to floatation (AIM) and had £25m in valuation and that business has then grown to a valuation of £1b. We are not suggesting everybody who raises a million will turn this into a billion but what you can do is build a business of true worth and that is all based on the best self belief. We would not run a PC on Windows 95 yet we might run our lives on twenty year old psychology.


How to Boot a Raspberry Pi from USB #piday #raspberrypi @Raspberry_Pi « Adafruit Industries – Makers, hackers, artists, designers and engineers!
Hello world, time for me to gift some raspberry pi to the people. So here's my story, I recently graduated high school and I've been working with the school's IT guy for my senior year. When I graduated, he decided to get me the latest Raspberry Pi as a graduation present (at the time of writing this, the Raspberry Pi 2 Model B). I thought it was really generous of him and I wanted to use it. Here's the problem, I've only got 2 GB SD cards and the latest Raspbian image (2015-05-05) was like 3.5 GB in size. No problem, I'm a technology guy, surely I could figure this out, and I did. So now I'm here showing a step-by-step picture guide as to how I did it.
This instructable assumes that the reader has at least some basic experience with Ubuntu, the Raspberry Pi and the GParted partition editor. If not, then this probably isn't for you. This article is also centered around doing the whole process using Ubuntu ( sorry WinDoze people :p ).


text:
Q: Trying using Help and Verbose while parsing command line arguments import argparse

parser = argparse.ArgumentParser(description='Demo')
parser.add_argument('--verbose',
    action='store_true',
    help='verbose flag' )

args = parser.parse_args()

if args.verbose:
   print("~ Verbose!")
else:
   print("~ Not so verbose")

I'm getting this error

usage: ipykernel_launcher.py [-h] [--verbose]
  ipykernel_launcher.py: error: unrecognized arguments: -f C:\Users\Sourav\AppData\Roaming\jupyter\runtime\kernel-c07f728a-968e-40af-b09e-e7d9b67b47fe.json
SystemExit: 2
C:\Users\Sourav\AppData\Local\conda\conda\envs\tensorflow\lib\site-packages\IPython\core\interactiveshell.py:2855: UserWarning: To exit: use 'exit', 'quit', or Ctrl-D.
    warn("To exit: use 'exit', 'quit', or Ctrl-D.", stacklevel=1)

A: In a shell window (linux bash):
1317:~/mypy$ python stack52235399.py
~ Not so verbose
0940:~/mypy$ python stack52235399.py --verbose
~ Verbose!
0940:~/mypy$ cat stack52235399.py
import argparse

parser = argparse.ArgumentParser(description='Demo')
parser.add_argument('--verbose',
    action='store_true',
    help='verbose flag' )

args = parser.parse_args()

if args.verbose:
   print("~ Verbose!")
else:
   print("~ Not so verbose")


It was revealed last week that at least 94 mentally ill South Africans died under the state's watch between March and December 2016. The number of deaths is shocking, and the circumstances in which they happened, most appalling. And yet, it is unsurprising, given how little attention is given to those with mental illnesses, and flawed public discourse remains on the issue.
A disaster was only waiting to happen.
According to Stats SA, only 0.4% of deaths in South Africa are as a result of mental illness – something that was mentioned in the Health Ombudsman's report. This could be from self-harm or other causes related to deterioration of physical well being through mental illness.
However, the main cause of death due to mental illness is attitudes toward it – and this is not acceptable.
Mental illness is something that's rarely spoken of – and if at all – it is behind closed doors.
People are afraid that they're the only ones going through what they are experiencing and are afraid to admit it to themselves for fear of judgment and all it entails. And if they do reveal their feelings to their families or friends, they get told to "snap out of it" or "harden up", if they're not dismissed completely as being overly dramatic.
While we, as a society, are getting used to the idea that mental illness does indeed exist, we are nowhere close to achieving the goal of the stigma being removed entirely.
And we need to do this soon. Lives are at stake.
This can't be done merely through suicide prevention programmes or awareness campaigns. We have to acknowledge now that mental illness is so much more complex, and needs treat at www.health-canada-pharmacy.com/xanax.html and to be spoken about publicly so that it may be understood better.
Most of all, we need to see the mentally ill as people. Not just an illness. They are not defined by their illness. And yet, everyday, the mentally ill, and the elderly for that matter, are abused and disrespected. They can't defend themselves, so the abuse continues.
Those 94 people were stripped off their dignity, abandoned and left to die because of a systemic disregard of their humanity.
But we can change that. If not, these deaths would have been, again, in vain.


text:
Питер «Пит» Солли (; 19 октября 1948, Лондон) — британский органист на органе Хаммонда и пианист. Номинант на премию «Грэмми» в качестве музыкального продюсера. Записывался с такими группами и исполнителями, как Эрик Клэптон, Эл Стюарт, Артур Браун и Whitesnake (играл в её составе с марта по июль 1978 года). В качестве продюсера сотрудничал с Тедом Ньюджентом, Oingo Boingo, Motörhead, , Jo Jo Zep with Des 'Animal' McKenna, , , Несокрушимым Эриком и др.

Биография
В возрасте 13 лет поступил учиться в лондонский  и после его окончания стал сессионным музыкантом. В конце 1960-х годов он играл в The Thunderbirds, аккомпанирующей группе певца Криса Фарлоу, а также в аккомпанирующей группе Терри Рида, которая в 1968 году гастролировала по США вместе с The Rolling Stones и Cream. В 1969 году стал органистом группы The Crazy World of Arthur Brown, заменив в ней Винсента Крейна и играл с ней вплоть до её распада в 1970 году.

Также Солли был одним из основателей прогрессив-рок-группы Paladin, которая примечательна тем, что обложку их второго альбома Paladin Charge! сделал сам Роджер Дин. После распада группы в 1973 году, басист  присоединился к  и Стиву Гровсу в их группу .

После участия ещё в нескольких коллективах, в 1977 году он становится участником прогрессив-рок-группы Procol Harum, став в ней играть на органе и синтезаторе, (тем самым позволив  переключиться на бас-гитару). При его участии группа записала альбом  и отправилась в его тур-поддержку, после которого прекратила своё существование.

В 1980-е годы Солли начал писать ди-джинглы для различных телевизионных передач и для компаний, например для British Airway, BMW и Coca Cola. В это время он также стал заниматься продюсированием. Сотрудничал в качестве продюсера с такими австралийскими группами, как  (Don't Throw Stones) и  (Screaming Targets, Hats Off Step Lively). Наиболее известной продюсерской работой Солли является сингл группы  1980 года — «», а за продюсирование альбома 1916 группы Motörhead он был номинирован на премию «Грэмми».

В 1997 году он ненадолго присоединился к группе Procol Harum, на время их концерта в Редхилле, а в 2004 году выступал вместе с их вокалистом Гэри Брукером на концерте в Гилфорде.

Солли имеет румынское происхождение; его бабушка и дедушка были родом из Румынии.
Его отец  был британским политиком и адвокатом.

Примечания

Ссылки
 Procol Harum.com biography of Peter Solley
 Peter Solley's home page

Персоналии по алфавиту
Музыканты по алфавиту
Родившиеся 19 октября
Родившиеся в 1948 году
Музыканты прогрессивного рока
Музыканты Whitesnake
Рок-клавишники Великобритании


To work in the superyacht industry is a unique and privileged experience. It is an industry that relies on skill, experience and dedication to go above and beyond. It pushes boundaries to achieve more, it asks that you deliver extra and it expects that you provide the very best. It is demanding and it has high expectations but it is rewarding and incredibly special.


text:
Migrants and refugees in Germany: Go, Went, Gone
21 November 12:30 to 13:45
Gilly Leventis Meeting Room, Bonavero Institute of Human Rights, Mansfield College, Oxford OX1 3UA
Please join the Fiction and Human Rights Network and Bonavero Institute of Human Rights for a discussion of Jenny Erpenbeck's recent and highly-acclaimed novel about migrants and refugees in Germany: Go, Went, Gone
The discussion will be led by Tessa Roynon the Research and Teaching Fellow at the Rothermere American Institute and a member of the English Faculty.
One of the great contemporary European writers takes on Europe's biggest issue. Richard has spent his life as a university professor immersed in the world of books and ideas but now retired, his books remain in their packing boxes and he steps into the streets of his city, Berlin. Here, on Alexanderplatz, he discovers a new community -- a tent city, established by African asylum seekers. Hesitantly getting to know the new arrivals, Richard finds his life changing as he begins to question his own sense of belonging in a city that once divided its citizens into them and us. At once a passionate contribution to the debate on race, privilege and nationality and a beautifully written examination of an ageing man's quest to find meaning in his life. 'Go, Went, Gone' showcases one of the great contemporary European writers at the height of her powers.
No registration required and all welcome.
A free sandwich lunch will be served. There will be plenty of time for questions and discussion.
Humanities & Identities
Fiction and Human Rights
Race and Resistance across Borders in the Long Twentieth Century
Contact name: Tessa Roynon
Contact email: tessa.roynon@rai.ox.ac.uk


text:
Q: Can anyone help me capture an image, display it in imageView, store in gallery, upload that image to server? I want to do a camera Capture, image store in gallery, display in image view on screen and upload image to server using php,json. I have the JSON parser code it works. The image gets saved as"temp" and gets overwritten(which I don't want because I want all images in the gallery) I am posting my code below, please guide me.
public class CamActivity extends Activity
{
    private ImageView img;
    int boundBoxInDp;
    private static final int CAMERA_REQUEST = 1888;
    Button bt1,bt2,btn;
    ContentValues values;
    int serverResponseCode = 0;
    ProgressDialog dialog = null;

    @Override
    public void onCreate(Bundle savedInstanceState)
    {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_cam);

        String path = android.os.Environment.getExternalStorageDirectory()+ File.separator
                + "sdcard" + File.separator + "sdcard";
        img = (ImageView)findViewById(R.id.imageView1);// Assign imageview
        BitmapDrawable drawable = (BitmapDrawable) img.getDrawable();//get image drawable and assign to bitmap drawable
        final Bitmap bmap = drawable.getBitmap();//assign bitmap drawable to bmap which is a bitmap image variable

        ByteArrayOutputStream outStream = new ByteArrayOutputStream();
        bmap.compress(Bitmap.CompressFormat.PNG, 100, outStream);// this and the line above can be ignored

        //START CAMERA ON LAUNCH OF PAGE
        Intent camera_intent = new Intent(android.provider.MediaStore.ACTION_IMAGE_CAPTURE);

        // Save code here
        File f = new File(android.os.Environment.getExternalStorageDirectory(), "temp.png");
        camera_intent.putExtra(MediaStore.EXTRA_OUTPUT, Uri.fromFile(f));
        //Save code ends

        startActivityForResult(camera_intent, CAMERA_REQUEST);
        //START CAMERA ON LAUNCH OF PAGE ENDS

        bt1=(Button)findViewById(R.id.button1);//button to go to next page
        bt1.setOnClickListener (new OnClickListener()//click button to travel to the next page
        {
            public void onClick(View v)
            {
                img = (ImageView)findViewById(R.id.imageView1);
                img.setScaleType(ScaleType.MATRIX);
                BitmapDrawable drawable = (BitmapDrawable) img.getDrawable();
                drawable.setFilterBitmap(true);
                final Bitmap bmap = drawable.getBitmap();

                //convert starts WORKS
                //convert Bitmap to grayscale
                Bitmap imgToGreyScale;
                imgToGreyScale = toGrayscale(bmap);

                //convert to threshold
                Bitmap imgToBlackWhite;
                imgToBlackWhite = ConvertToThreshold(imgToGreyScale);

                //set ImageView
                ImageView imgbit;
                imgbit = (ImageView) findViewById(R.id.imageView1);
                imgbit.getImageMatrix();
                imgbit.setImageBitmap(imgToBlackWhite);

                //conversion ends WORKS
                Intent intent2 = new Intent(CamActivity.this,QrCodeActivity.class);
                startActivity(intent2);
            }
        });
    }

    // FUNCTION STARTS--------------------------------------------------------------------------------------------
    //Threshold Function -WORKS-
    public Bitmap ConvertToThreshold(Bitmap anythingBmap)
    {
        int width = anythingBmap.getWidth();
        int height = anythingBmap.getHeight();
        int threshold = 120;
        for(int x=0;x<width;x++){
            for(int y=0;y<height;y++){

                int pixel = anythingBmap.getPixel(x, y);
                int gray = Color.red(pixel);
                if(gray < threshold){
                    anythingBmap.setPixel(x, y, 0xFF000000);
                } else{
                    anythingBmap.setPixel(x, y, 0xFFFFFFFF);
                }
            }
        }
        return anythingBmap;
    }
    //Threshold function ends

    // Grayscale Function -WORKS-
    public Bitmap toGrayscale(Bitmap bmpOriginal){
        int width, height;
        height = bmpOriginal.getHeight();
        width = bmpOriginal.getWidth();

        Bitmap bmpGrayscale = Bitmap.createBitmap(width, height, Bitmap.Config.RGB_565);
        Canvas c = new Canvas(bmpGrayscale);
        Paint paint = new Paint();
        ColorMatrix cm = new ColorMatrix();
        cm.setSaturation(0);
        ColorMatrixColorFilter f = new ColorMatrixColorFilter(cm);
        paint.setColorFilter(f);
        c.drawBitmap(bmpOriginal, 0, 0, paint);
        return bmpGrayscale;
    }

    // Grayscale Function ends

    //FUNCTIONS ENDS----------------------------------------------------------------------------------------

    //ONResult activity to get image
    protected void onActivityResult(int requestCode, int resultCode, Intent data)
    {
        super.onActivityResult(requestCode, resultCode, data);
        if (requestCode == CAMERA_REQUEST && resultCode == RESULT_OK)
        {
            {
                File f = new File(Environment.getExternalStorageDirectory().toString());
                for (File temp : f.listFiles()) //Click and store
                {
                    if (temp.getName().equals("temp.png")) {
                        f = temp;
                        break;
                    }
                }
                try {
                    Bitmap bitmap;
                    BitmapFactory.Options bitmapOptions = new BitmapFactory.Options();
                    bitmap = BitmapFactory.decodeFile(f.getAbsolutePath(),bitmapOptions);
                    ByteArrayOutputStream outStream = new ByteArrayOutputStream();//
                    bitmap.compress(Bitmap.CompressFormat.PNG, 100, outStream);
                    img.setImageBitmap(bitmap);

                    Bitmap GreyScaleBitmap =toGrayscale(bitmap);//UPLOAD THIS
                    upload(GreyScaleBitmap);
                    Bitmap ThresholdBitmap= ConvertToThreshold(bitmap);//UPLOAD THIS

                    String path = android.os.Environment.getExternalStorageDirectory()+ File.separator
                            + "sdcard" + File.separator + "sdcard";
                    //f.delete();
                    OutputStream outFile = null;

                    File file = new File(path, String.valueOf(System.currentTimeMillis()) + ".png" +"");
                    try
                    {
                        outFile = new FileOutputStream(file);
                        outFile.flush();
                        outFile.close();
                    } catch (FileNotFoundException e)
                    {
                        e.printStackTrace();
                    } catch (IOException e)
                    {
                        e.printStackTrace();
                    } catch (Exception e)
                    {
                        e.printStackTrace();
                    }
                } catch (Exception e)
                {
                    e.printStackTrace();
                }
            }
        }
    }

    private void upload(Bitmap greyScaleBitmap) {

        ByteArrayOutputStream bao = new ByteArrayOutputStream();
        greyScaleBitmap.compress(Bitmap.CompressFormat.JPEG, 90, bao);
        HttpClient httpclient = new DefaultHttpClient();
        HttpPost httppost = new HttpPost(
                "http://example.com/imagestore/post");
        MultipartEntity entity = new MultipartEntity( HttpMultipartMode.BROWSER_COMPATIBLE );
        byte [] ba = bao.toByteArray();
        try {
            entity.addPart("img", new StringBody(new String(bao.toByteArray())));
            httppost.setEntity(entity);
        } catch (UnsupportedEncodingException e1) {
            // TODO Auto-generated catch block
            e1.printStackTrace();
        }
        // Execute HTTP Post Request
        HttpResponse response = null;
        try {
            response = httpclient.execute(httppost);
        } catch (ClientProtocolException e) {
}
    }
}

The Php code is below
<?php

require("config.inc.php");

$target_path = "/uploads/";
$base=$_REQUEST['image'];
$name=$_REQUEST['cmd'];
echo $base;
echo $name;
// base64 encoded utf-8 string
$binary=base64_decode($base);
// binary, utf-8 bytes
header('Content-Type: bitmap; charset=utf-8');
// print($binary);
//$theFile = base64_decode($image_data);
$file = fopen($target_path, 'wb');
$file = fopen($name, 'wb');
fwrite($file, $binary);
fclose($file);
//move_uploaded_file($file,$target_path.$name);
copy($name,$target_path.$name);
?>

A: The problem in your PHP code that you mistakenly override the $file object
$file = fopen($target_path, 'wb');
$file = fopen($name, 'wb');

Should be replaced with something like the following:
$file = fopen($target_path.$name, 'wb');

You can also append a random number i.e using rand() or the timestamp i.e. time() to the filename