We recently got married at the Darien Community Association on September 9th and DJ Jeff & DJ John couldn't have made the day any better! DJ Jeff went above and beyond to take a lot of the stress away. Jeff worked with everyone at the venue to coordinate the flow of the day. He made sure we were fed when we were being pulled in multiple directions, took over when we needed to extended our cocktail hour last minute, and put up with cousins & brothers music requests. My husband and I would recommend DJ Jeff and DJ John in a heartbeat! DJ Jeff - thank you for spending your anniversary with us and thank you for traveling so far, we wish you nothing but the best!
John was seriously incredible!! He made everything about our wedding day outstanding and worked with behind the scenes every step of the way. He was extremely patient and thoughtful when I had some trouble deciding on songs. He gave me so many options, and talked me through them while I worked to select everything. On the day of, he was incredibly helpful - not just as a DJ but doing any/everything we asked of him! He even helped me bustle my dress!! John and Kristen were an incredible team. They had all our guests on their feet the whole night, and even joined us for a dance or two! So much fun, I can't say enough good things. Highly recommend!!
John was so great and easy to work with. From my first email to the day of the event I felt like I could call John with any requests we needed. we asked John to try and mash our first song and a Latin song together and he did a wonderful job with that. John was so accommodating with meeting us in our home town instead of having us drive to him. John got everyone on the dance floor and I couldn't have had a more perfect day!
John Rzasa . . . what can you say? This man knows how to throw a party! John has DJ'd a number of our friend's weddings, and he always did a spectacular job and it was no different for our wedding. The music was spot on all night. The dance floor was full the entire night! We had so much fun, as did our guest. John is a wonderful DJ and friend. We couldn't have asked anyone else to help us celebrate in such a momentous way!
I worked with John and Beth to book DJ and lighting services for my wedding. After speaking with a number of DJ companies, I chose John for many reasons. After asking a few questions of his own, he seemed to know exactly what I was looking for both aesthetically and musically. He also showed an interest in making the reception logistics run very smoothly by documenting a schedule of events that could be shared with my photographer and other vendors. He also stressed that he would confirm pronunciations of our wedding party which I really appreciated. In general, I felt like he and Beth didn't think of me as just another bride or wedding. They want to make it unique and special by blending into your vision seamlessly. John made me feel like I didn't have to worry about anything!
John and his team were phenomenal. They were easy to communicate with and planning was easy with their online tools. Above all, John was flexible with the timeline of the wedding day and kept in touch throughout the process. His lighting, MC services and equipment was topnotch. My guests raved about how awesome John and his team was. I give them 5++ stars! Definitely consider PartyProDJ for your special occasion!
DJ Party Pro was amazing from the start! We were planning our wedding long distance and thought we had a venue and date picked so we started gathering vendors when we realized our plan was too expensive for our budget. Beth was great and helped suggest other venues in the area within our budget. She was always quick to respond and help when needed. We decided to stick with them for our wedding and we were so glad we did! We had John as our DJ and he was awesome! We set up a FaceTime conference to meet prior to the wedding and he helped us go through our timeline. He did an amazing job with the music the day of. He had a tough job because our guests weren't feeling the dance floor for awhile but he stuck with it and eventually brought everyone up. He was even on the dance floor teaching everyone the wobble. He was so upbeat and we got so many compliments from our guests about him! We can't thank them enough!! We would highly recommend them to anyone!!
We have been to a lot of weddings and the one thing we knew we needed to have was a great DJ. We called John and asked him to DJ our wedding. The only instructions we had were our set dance songs (ours, father daughter, mother son), and to make sure the dance floor was filled the whole night. As soon as music started the floor was packed the rest of the night. Everyone from our friends to the elders danced the night away. We had no play list, John just did his own thing and we couldn't have been happier!!!
My husband and I worked with John, Tom, and Beth for our wedding. John and Tom took us through the whole planning process and was there for us every step of the way! They answered all our questions, and even offered some awesome ideas when we were totally stuck.
John also helped us set up our profile on their website, which was super easy to use. Their website allowed you to pick your favorite music and make lists of the songs that you loved, as well as the stuff you didn't want to hear. Their website saved us so much time, because I was able to really think about what I wanted, and it got passed directly to them.
The day of the wedding, Tom and Beth did a FABULOUS job keeping all of us on track, all while playing our most FAVORITE music! Our guests had a blast, and so did we!! I can't recommend PartyProDJs enough!!
DJ John and his assistant Kristen literally made our day the best day of my entire life. Right after meeting with John, we just knew that we wanted to work with him. He uses a super helpful website to help organize your day and pick music. He meets with you to review everything and put you at ease before the big day. He did the music and everything from start of the ceremony till the last song, mics and all. It was perfect! The music he selected for our cocktail hour, dinner, and dancing, off our our indecisiveness recommendations, was perfect. The floor was packed all night long thanks to his work. I am and will be forever grateful for what he did for us at our wedding, from beginning to end.
I do not even know where to begin with this review! My husband and I have known John since high school, so learning he was in this business made this a very easy decision for us. He is by far the best DJ I have ever had the pleasure of working with at any wedding I've ever been to. From our initial consult to our final meeting with him, he was amazing. You can feel his energy and love of his job immediately upon meeting him. He took his time getting to know as much about us as a couple as he did planning how to run our evening. He reassured us he was on top of things and he was. He was beyond professional and you could tell he was enjoying himself as much as the guests. The smiles he had all night were precious! What blew me away was the fact that he hopped off the stage to lead the crowd in group dances and wowed me by really getting down and knowing his stuff! I've never seen a DJ do that! He was a guest and friend, not a vendor. He had fun and kept our dance time flowing. I was out of breath because there wasn't a song I didn't like and I was 5 months pregnant at the wedding :) I can't say enough about John and all the wonderful compliments we received about him! He is simply amazing!!
My husband and I got married last fall in Groton Long Point, CT. PartyProDJ was amazing to work with! They were so helpful in their wedding consultations, providing suggestions for ceremony music and cocktail hour, and were very accomodating with our playlist and vision of the epic dance party we hoped to have for our wedding reception. They also provided a sound system for our outdoor ceremony, and helped us stay on track during our reception. They were also very friendly and calming to work with- it was clear we were in capable hands! DJ Alex did our reception, and he was fantastic to work with as well! We can't say good enough things about PartyProDJ!
I don't even know where to begin to describe the absolutely incredible DJ and lighting services John Rzasa and his Wedding Day Warriors crew provided my now husband and I on the most important day of our lives. From the beginning, John embraced our vision; understanding that we wanted a romantic and fun filled event that our guests would love and remember forever. He took our vision and turned it into nothing short of amazing. Romantic amber lighting, beautiful and emotional ceremony music, fun and soothing songs for cocktail hour and dinner and finally, a raging party that our guests are still raving about almost an entire week later. He was professional, knowledgable, creative, kind, enthusiastic and it was clear that he took an incredibly personal approach when it came to our wedding. It was the little things that made a difference- texting me days before the wedding (not to ask questions but tell me how thrilled he was that the wedding was so close), offering to help in any way shape or from (even offering to get nail polish remover if we needed it!), to breaking down my walk down the aisle song (A Thousand Years) to the exact second intervals to allow for the most emotional and meaningful entrance a bride could hope for. John made us feel like not only a bride and groom but he made us feel like the two most important people on the planet the day of the wedding, the days before the wedding and the days after the wedding. We feel beyond blessed and honored to have had him there as part of our special day- I'm 100% sure it would not have been the day of our dreams without him and his incredible team. I would not only recommend him to other brides and grooms but I would assure them that they would get the most incredible wedding experience with him present. We will never be able to thank John and his team enough for making our big day our dream come true fairytale wedding.
After searching out over 15 DJ services on-line, PartyPro was our top choice once we spoke with them. They were willing to work with us though this was a destination wedding (CT/UT). We also requested a mix for the father/daughter dance. Not easy songs to merge, but John did an excellent job working (and reworking) the song until we had what we wanted. In addition, we had contracted for reception music, then added cocktail hour, and THEN added ceremony. John was flexible and accommodating. Alex and his assistant were wonderful the day of the wedding. We had worked up a timetable and they made sure we kept to it. It all ran smoothly and people were dancing the entire night!
Choosing PartyProDJ for our wedding was one of the best choices we made! We worked with John and Beth and they were both amazing and made our entire wedding experience so much easier. When choosing to work with them, you are getting so much more than just a DJ, you're getting an assurance that your entire wedding is going to run well. They are there well before your wedding begins, and they oversee all aspects of the wedding to make sure everything is perfect. Getting to meet with John before the wedding gave us so much peace of mind. He pays attention to every detail, writes everything down and follows through with everything you discuss in your final meeting. DJ John brought so much fun and life to our wedding and we were so grateful to have him and Beth there for our wedding.
We also used PartyProDJ for our photo booth. We knew we wanted to do one as our favor for guests and when we heard this was a new feature they had added on, we knew we had to go through them. They had an attendant at the photo booth for the entire night, brought hilarious props and made sure all guests went home with their pictures. They also made a scrapbook for us with some of the best pictures of the night. We had the scrapbook waiting in our mailbox when we got home from our honeymoon and it is definitely one of our favorite things to look at. They also gave us all the pictures on a USB drive so we can look at them and print them as we want. I was so glad we chose to do a photo booth and PartyProDJ did a fantastic job running it.
Overall, I cannot find enough wonderful things to say about this company. Working with them was an absolute pleasure. They respond to emails and phone calls in record time and had no problem answering the many, many questions I had. They oversaw our wedding from beginning to end and settled for nothing but perfection. Choosing this company is one of the best choices you can make in your wedding planning!
Going with Party Pro DJ is one of the best decisions my husband and I made for our wedding. Beth was so easy to work with, responding promptly to any and all inquiries and covering every last detail. Our DJ, John, was simply the best. He is charismatic, sweet, and attentive, making sure your guests are having fun and your night is magical. We had such a blast with them, from start to finish. I don't really have words to express our gratitude to them, but all I can do is recommend them to anyone who needs a DJ for any reason. You won't be disappointed!
Fantastic service! Every detail was covered - even things I hadn't thought of! Our guests had a blast on the dance floor - I couldn't recommend them more highly!
PartyProDJ is the best! Beth was wonderful to work with. She always responded to emails in a timely manner and has great attention to detail. Beth and DJ Mike were at our wedding and we all had a blast! Everyone was up and dancing the whole night. Both Beth and Mike listened to our ideas and made sure that we got exactly what we wanted. I can't recommend them more highly!
Partyprodj is the best option! They are professional, prompt and make everything easy when it really matters. I am the bride and they helped to make our wedding unforgettable!
Working with Beth, the owner, and DJ John was one of the best decisions we made! They are affordable, personable, and went above and beyond to make sure that they had every single detail correct for our wedding, from providing a coordinator with the DJ, to going over details, name pronunciations and more! DJ John was kind, intuitive and kept our crowd dancing through the night. Would highly recommend!!!
They did a wonderful job at our wedding! Beth made sure to keep the night flowing and on time so that we didn't miss a beat. John, our DJ was amazing at picking the right music for the right moment. And he kept the dance floor busy! It was a blast! We would absolutely recommend them to all of our friends.
Party Pro DJ, LLC is amazing! Throughout the entire wedding-planning process, Beth was a true professional whose caring nature always shone through! I got married in CT but live in Florida, so going through the selection process for vendors was not easy, but Beth was the most genuine person I spoke to throughout the entire process. She took the time to 'get to know us' and asked all the right questions. We were lucky enough to have DJ John at our wedding, he was recommended by Beth based on our wedding style and personalities, and she was dead on! John was the best and had people dancing the entire time! PartyProDJ is the best out there; their service is far superior than others, they were FUN to work with the entire time and they made me feel completely at ease on my wedding day because I knew they would come through on their promises based on all the hard work they had previously focused on our day. I am having a hard time putting into words how grateful I am to have had Beth and John at my wedding, I would recommend them over and over again to any bride and groom! Thank you Beth & DJ John, you truly are stars!!!


text:
module AuthRocket
  class NamedPermission < Resource
    crud :find, :create, :update, :delete

    belongs_to :realm

    attr :auto_grant, :name, :permission

  end
end

redpajama_set_name: RedPajamaGithub


One Hundred and four of Virginia's colonists, having made landfall three days earlier, erect a wooden cross at what they named Cape Henry, the southern boundary entrance to the Chesapeake Bay. By doing so, they are thanking God for their safe passage and claim the land for King James I. The cape is named for their king's eldest son, Henry Frederick Stuart. In keeping with instructions of the Virginia Company of London, a search for a good defensible place to colonize ensues.
Henry Frederick, Prince of Wales was the elder son of James VI and I, King of England and Scotland, and his wife, Anne of Denmark. Heir to the throne died 6 Nov 1612, age 18, of Typhoid Fever.
Portrait painted circa 1610. Courtsey National Portrait Gallery, London.


Because ASC offers hardware independent solutions, we work with the customer to first establish their needs and then will find the most suitable product to meet their need and budget.
While there are a large number of competing products on the market, we have a product guideline that we work within. Our engineers are fully trained on these products ensuring quick, trouble free installation and support.
Our purchasing team are always available to source the best prices and the shortest possible lead times.


text:
Gmd Babydave
Elevator Pu$$Y
Gimme Dat - Babyboi J
Do You Mind - CJ
David Lee (born September 14, 1986), better known by his stage name "GMD Babydave", is a german-american hip hop recording artist, songwriter and producer.
Inspired by rappers like "The fat Boys", "Mc Hammer", "2 Live Crew", "Too Short" and further more, Babydave started early with hip hop at the age of 5. A few years later by the age of 17 he signed his first contract and released his first german underground rap tape. He won many street rap battles and built up a reputation in his scene. Since then, a lot of german producers, rappers and singers took notice of him and his music. 2012 - 2013 were big years for Babydave. He went on tour with "Kaan", a Rapper from Turkey and they were the opening acts for "Pitbull", "LMFAO", "Mario Winans" and "Hadise". By now, he owns the record label "EURO MONEY MUSIC" and established himself as an international artist with mainly english lyrics.
Nuremberg, DE9 LISTENERS
Munich, DE4 LISTENERS
Hamburg, DE4 LISTENERS
Erlangen, DE3 LISTENERS
Atlanta, US3 LISTENERS
Wrist Glow
Riddim Colony
B. Jinx
C-Pone
Peter Holler
Listen to Gmd Babydave now.
Listen to Gmd Babydave in full in the Spotify app

redpajama_set_name: RedPajamaCommonCrawl


LOL this isn't the house. The house is actually located on 14th and F Street.
In 2004 – My son, my dad, my uncle, and I all lived in the lower level next to this house (the house that caught on fire) … when we signed the lease agreement my son, who at the time was four years old, was playing in the room that he and I would share. When my dad and I went to the room he was playing in the closet. We sat down and watched him play, all of a sudden my son stopped playing, looked at the floor in the closet, turned around and looked at both my dad and I … and in a strong assertive voice he said, "we have to hurry up and clean up this blood before this place burns down" … he's turned around and then resumed plyimg as if nothing had happened. We didn't learned about the house fire until months later when we were experiencing some plumbing issues … the landlord mentioned it to us.
In this house my son would see what he called "pink grandpas" … he would say they would sit next to him and watch TV.
Yikes! That IS terrifying to hear. Knowing that some places would be haunted, I never knew that there would be blood when there was a fire months ago before you moved in… When your son stopped playing and then continued to play, I had a feeling that he was possessed but for only a little bit. Be careful since children can get easily possessed by spirits lingering around. BTW I´m Rose.
It was closed to the public but we walked up to it out of curiosity around 3am since we were in midtown already. They found 9 bodies but many more were rumored to still be buried on the property. We felt a cold mass in the front yard, right of the stairs near the front fence. Felt like a lost soul. Creeepy. We came home and then my boyfriend confessed to feeling absolutely drained after touching the cold spot. Spooooky. Turns out the remains of a woman named Penny were found in that spot & then an orb appeared in 2 photos i had taken out of at least 7, weird. Definitely not going back!
My mom knew Dorothea Puente, as a young mom of 2 kids she lived close by because housing was cheap. My mom told me about how she was such a fragile old lady and she was kind and sweet if she was sitting in her chair on the porch or by the stairs. But every time my mom got interested in Dorothea's roses, my mom's middle name being rose, she would get yelled at or sprayed with by Dorothea with the hose, or especially when Dorothea was gardening, she didn't like people on her yard.


text:
Bio of the Attorney General
Divisions and Bureaus
COVID-19 Visitor Policy
Regional Office Contact Information
Charities Registry
Complaint Forms
Data Security Breach Information
Effective REF Policy Memoranda
Lemon Law Protections
Make a FOIL Request
Offering Plan Data Search
Student Lending
Tenants' Rights
Triple C Awards
Understanding Recent Changes to New York's Gun Laws
Animal Protection Initiative
Conviction Review Bureau
Debt Settlement & Collection
Tips on Debt Settlement Companies
Debt Collection Companies
Process Servers: Know Your Rights
Bureau of Consumer Frauds & Protection
Free Educational Programs
Human Trafficking Initiative
Immigration Services Fraud Initiative
Land Bank Community Revitalization
Land Bank Report
NY Open Government
Pennies for Charity
Protect Our Homes
Smart Seniors
Office of Special Investigation
Source of Income Discrimination
Taxpayer Protection Initiative
Home » Divisions » Social Justice » Labor Bureau » Workplace Rights FAQs
Local Menu
Job Termination
My employer fired me for an unfair reason, or for no reason at all. Is that legal?
In many cases, yes. In New York State, a private-sector employer is not required to have good cause to discharge an employee. The employer can do so for reasons many people might consider unfair, such as to replace you with a member of the boss's family, for fighting even if the other worker wasn't fired, because your boss didn't like you, or because your flight was cancelled and you had to extend your vacation. Public-sector employees (those who work for the government) and workers covered by a collective-bargaining agreement may have more legal protection.
There are various circumstances, however, in which you might have legal recourse if fired unfairly:
Contract Protections: If you work under a contract which says that you can only be fired for cause. Most union contracts include a "good cause" provision, which must be enforced via the grievance procedure set forth in that contract. There may be a very short deadline for filing grievances, so consult your union representative as soon as possible. If your union seems to be unresponsive, you should contact your union in writing (email or certified mail), and for more information, you can contact the National Labor Relations Board at 866-667-6572 or https://www.nlrb.gov.
Besides union contracts, some workers have individual written contracts which limit the employer's right to fire them. If you have a contract, check its terms and consult a private attorney as soon as possible if you think your discharge is a contract violation.
Unlawful Reasons for Termination: Various laws prohibit firing or discriminating against workers for certain specific reasons. In other words, while an employer can fire someone for no reason, it is not allowed to do so for a prohibited reason. Of course, your employer may not give you a reason (or give you what you believe to be the real reason) when you are fired. Note that agencies that investigate unlawful discharge are experienced with this issue and will thoroughly investigate to identify whether the "real" reason was unlawful. The most common prohibited reasons are:
Discrimination on the basis of race, religion, sex, national origin, age, sexual orientation, marital status, military status, or disability, as described here.
Complaining about a Labor Law violation, to the employer, a coworker, the Attorney General, or the Department of Labor. If you believe you were fired or discriminated against for this reason, contact the New York State Department of Labor at (800) 662-1220 or http://www.labor.ny.gov
"Whistleblowing," in very narrow circumstances. Under New York Labor Law section 740, a "whistleblower" is someone who reports or refuses to participate in a violation of law that causes a substantial and specific danger to public health and safety. To invoke the law, the worker must also have given the employer a reasonable opportunity to correct its practice by bringing it to a supervisor's attention before going to a public agency. If you think you were fired for whistleblowing within the meaning of the law, you should consult an attorney to determine whether legal action is appropriate.
Participation, on your own time, in lawful political or recreational activities. If you believe you have been discharged because of your involvement in such legitimate pursuits, you should consult a private attorney, the NY Department of Labor at (800) 662-1220 or https://www.labor.ny.gov/home/, or the U.S. Department of Labor at 1-866-4-USWAGE or http://www.dol.gov.
Filing a Workers' Compensation or Disability Benefits claim or testifying before the Workers' Compensation Board. Complaints of such retaliatory discharge may be made to the Workers' Compensation Board at (800) 877-1373 or http://www.wcb.ny.gov/.
Joining, forming, or supporting a union, or acting together with coworkers to try to improve your pay or working conditions (with or without a union). If you believe the employer has fired you for one of these reasons, contact the National Labor Relations Board (NLRB) at 866-667-6572 or https://www.nlrb.gov.
Filing a claim or otherwise exercising your rights under an employee benefit plan. For more information, contact the U.S. Employee Benefits Security Administration at (866) 444-EBSA or visit https://www.dol.gov/agencies/ebsa.
Taking leave under the federal Family and Medical Leave Act. For more information, contact the U.S. Department of Labor at (866) 487-9242 or https://www.dol.gov/whd/fmla/.
Serving jury duty. If you have been fired for missing work to fulfill a jury duty obligation, contact the Labor Bureau by completing a complaint form .
Taking sick leave or requesting to be paid for paid sick leave (New York City only). If you work in New York City and have been fired for taking sick leave, file a complaint with NYC Department of Consumer Affairs by following the instructions at https://www1.nyc.gov/site/dca/workers/workersrights/file-workplace-complaint.page.
When must the employer pay me if my job ends?
A terminated employee is entitled to have any outstanding wages paid to him or her no later than the next regular pay day. The employee is also entitled to request that the wages be sent via the mail.
My employer won't let me see my personnel file. Is this legal?
Yes. There is no law in New York State which permits an employee to examine his or her personnel file.
My former employer is giving me bad references and I can't get another job. Is there anything I can do to stop him?
Probably not, as long as what the employer says is true or is just the employer's opinion. If you think you can prove that the employer is spreading false factual information about you, you might wish to consult a private attorney about your possible rights.
My employer closed or conducted a mass layoff and did not give me notice or any pay. Is this legal?
The New York State Worker Adjustment and Retraining Notification (WARN) Act requires covered businesses to give at least 90 days of notice to employees prior to a plant closing, mass layoff, or other covered reduction in work hours. If a business does not provide notice, it may be required to pay back wages and benefits to workers. For more information about the WARN Act, visit https://labor.ny.gov/workforcenypartners/warn/warnportal.shtm. If you believe your employer has terminated you in violation of the WARN Act, contact the Labor Bureau by completing a complaint form.
Workplace Rights FAQs
Wages, Hours, and Payment
Job Safety
Employees Resources
© NEW YORK STATE ATTORNEY GENERAL. All rights reserved.
Select a Language Below / Seleccione el Idioma Abajo
This Google™ translation feature is provided for informational purposes only.
The Office of Attorney General's website is provided in English. However, the "Google Translate" option may assist you in reading it in other languages.
Google Translate cannot translate all types of documents, and it may not give you an exact translation all the time. Anyone relying on information obtained from Google Translate does so at his or her own risk.
The Office of Attorney General does not make any promises, assurances, or guarantees as to the accuracy of the translations provided. The State of New York, its officers, employees, and/or agents shall not be liable for damages or losses of any kind arising out of, or in connection with, the use or performance of such information, including but not limited to, damages or losses caused by reliance upon the accuracy of any such information, or damages incurred from the viewing, distributing, or copying of such materials.
A copy of this disclaimer can also be found on our Disclaimer page.
Close this box or use the [ X ]


NO COMPARISON: When it comes to HID bulbs, Morimoto has always brought us the best in the aftermarket, and their latest examples are no exception. Sure we think the options from Philips and Osram are great too, but when it comes to bang for the buck - nothing compares to the Morimoto XB HID lineup. Available in versions designed specifically for either 35W or 50W: The XB's will produce more lumens, last longer, project farther, and look better doing it.
LUMINOSITY: At the heart of the XB D2S bulbs is their perfectly aligned 100% Philips quartz glass that houses a capsule from APL-USA. Using high quality halide salts from German-supplier Messer; the bulbs produce nearly the same luminosity (intensity) as the amazing Osram CBI bulbs at 5500K. No, you're not seeing things here, but yes you will be seeing everything at night. In our Comparison to the big brands; Morimoto's XB capsule ran with the best of em!
RELIABILITY: Not that we recommend this for any HID bulb, but go ahead and fire it up 100 times in a row or even run it underwater for days at a time and the difference between the XB and any so called "competition" will be clear. These bulbs will even work with OEM Nissan/Infiniti (Matsushita/Panasonic) ballasts, which are notorious for compatibility problems on anything aftermarket.
COMPLIANCE: The XB replacement HID bulbs are built to industry-standard specifications and meet/exceed all SAE, DOT, and ECE requirements, making them a perfect match for a replacement bulb or upgrade! They have been tested for reliability with all ballasts from Morimoto, Denso, Hella, Bosch, and Koito and passed with ease.
NOT SURE: Find my size!


So here it is Saturday morning, and before I shamble off to find something to eat and then get my goofball hair lopped off, or at least shaped into something slightly more professional looking than the current mop, I figured it might be time for a brief meta-post and statement of intent for some other posts that I hope to follow with, this weekend and beyond. So, well, without further adieu, here goes.
The past few nights are still a blur. I saw my old friends Curt and Brian and a retooled version of the Authorities Wednesday night at the Plea for Peace Center in Stockton, which was a laugh riot. Ran into a bunch of old friends there. The next night I saw the Authorities open for a reunited Pavement at what used to be the Fox California Theatre in downtown Stockton, which was, as we used to say in Lodi back in the day, intense. Saw a bunch of old friends that night, too, plus some pals from Sacramento. It was an emotionally rich and overwhelming experience, and got to see my old partner in crime Gary Young pound the skins for the Pavies, as he used to call them. Then last night, I saw the Authorities play again, this time at the Distillery in Sacramento, which was a real mutant circus, in a good way. I was too tired to slamdance, and at my age it's probably not recommended, so I hung out on the sidelines and laughed like a cartoon hyena.
I also haven't blogged about meeting with my long-lost brother Jim at his daughter Amy's place two weekends ago, which was a life-changing experience, too. Between that and working steadily again, things are really different, and life is good. I probably have some other long posts in me about being single and unattached, and about music, and art, and lots of other stuff. So I'll get to that. My goal of landing somewhere professionally so that I can write as a sidelight, or moonlight, and create music as an avocation has been met, and now it's time to put a life beyond my wildest dreams together, as the old cliche from the rooms goes.
Sorry I haven't been around here much. I've certainly got grist to write about — the visit with the long-lost brother I'd never met, the new job, a few good shows (like last night's Sea of Bees/John Vanderslice/DoomBird gig), even more stuff about the friend who passed away suddenly a week ago, and a whole new raft of thoughts triggered by the stabbings at the bar around the corner Friday night, and how this area of town has gotten out of hand. But I've just been stymied, and my first priority today will be to finish a piece I'm writing for the SN&R. Then, laundry; it's kinda like my favorite paraphrase of that chopping wood carrying water line. Before enlightenment: doing laundry and carrying groceries; after enlightenment: doing laundry and carrying groceries.
Not that I'm anywhere near enlightened. I'm just a blogger who gets himself spread too thin sometimes. I get entire blog posts in my head — like one about love and loss and emotional attachment and as a Buddhist meditator and silent observer of the mind's workings I shouldn't be falling into that trap but I still do sometimes, and what is the nature of emotional attachment, and why can't I just be a human tabula rasa like the David Carradine character in Kung Fu, a hypothetical post that was triggered by the stupid (at this point) heart-dropping surprise of running into my last big emotional attachment and her new boyfriend on bikes yesterday in front of a salad joint that hadn't opened up yet that we used to frequent together, mumble mumble, I think I probably came across as stupid, arrogant and frightened — but those brilliant hypothetical posts evaporate by the time I go to write them, or I'm too tired, or something. Sorry.
Anyway, I had big ambitions today, but I'm going to finish my SN&R piece, then wash clothes. I won't be able to play Brian Wilson songs tonight at the Old Ironsides tribute that Jerry Perry is putting on, which you should attend because it's likely to be brilliant, and I may show up, but morning comes early and I have to be up before sunrise to get to the job on Monday morning. This is a big adjustment, and I'm doing it to the best of my ability. But, like you and everybody else, or most everybody else, I'm not superhuman.


Kayaking can be a wonderful way for the whole family to get out of the house, away from electronic devices and into the big outdoors, breathing in the fresh air while spending quality time together. Paddling across a smooth body of water and enjoying the day while getting in some exercise is one of those fun family activity holidays that are sure to build memories that will last a lifetime. Including kids of all ages in a kayaking adventure can be easy and stress-free with a little advance planning, ensuring your trip runs smoothly and is fun for everyone!
To start, make sure you all are equipped with Personal Flotation Devices (life jackets) for each member that fit nice and snug. Wear them from day one and your kids will never question having to wear them again. If your life jacket does not come equipped with a whistle, purchase and attach to each jacket, instructing your kids that whistles are for emergencies only.
Assume clothing will get wet at some point during your kayaking adventure, so wear items made from quick-drying fabric or alternatively, invest in dry tops, pants or wetsuits specifically made for water sports. Store your shore clothing in waterproof dry bags – these are also good for storing food as the odours are contained and you won't risk attracting nosy bears or other wildlife.
Protect your kids from mosquitos and sunburn by packing and applying bug spray and a high SPF sunblock. Another option is to outfit them in long-sleeved bug shirts that will do double duty. A wide-rimmed hat with chin strap is also ideal to protect kids from the heat of the sun. Pack some rainwear, a must for any family activity holidays, in the event the weather turns before heading out onto the water.
Proper sunglasses are essential for eye health and comfort when the sun's rays are reflecting off the surface of the water, so make certain each person has a pair (and wears them!). Bring along binoculars for the kids to use during your kayak expedition and ask them to share any wildlife sightings with the rest of the family. Give one child a compass and allow him or her to guide the kayak or group.
Packing a wide assortment of healthy snacks in a number of small plastic bags or waterproof containers will fare well and will keep kids young and old satisfied. Family activity holidays require easy-to-pack, healthy snacks such as fresh apple pieces and grapes, dried apricots and dates, and biscuits. Mixing in some healthy snacks that are higher in fat, such as cheese, pine nuts and macadamia nuts will keep your kids feeling satisfied longer. Take double the amount of snacks you think will be sufficient in order to ensure you have enough for the trip.
Lastly, don't forget the camera! Ensure your special moments together are captured and protect your camera by using a waterproof camera pouch that does not need to be removed to use. Store in your dry bags for extra protection in between uses.
Kayaking with your kids can be the perfect family activity. Holidays spent together on the water will be sure to float your spirits as much as your kayak, as you bring the family together to do something fun and active together. It will no doubt lay the foundation for future trips your children will be sure to look forward to.
Richard Edwards is the Managing Director of Summit & Blue, an adventure holiday company offering independently crafted family activity holidays to exciting destinations around the world, including France, Italy, Portugal, the USA and Canada. With unique itineraries and exciting activities like biking, hiking, white water rafting and canoeing, we create holidays for those looking for an experience a little more off the beaten track.
Are You a Novice to Kayaking? Here Are Some Basic Ideas on How You Can Get Into .


Read the About Our Service brochure online or download our printable brochure.
If your AMHS would like to display a copy of our poster on your ward or in your clinic, it can be downloaded here.
To submit feedback our service, complete our feedback form or you can download the feedback form. Feedback can be submitted anonymously.
To find out more about Second Psychiatric Opinions more generally, see the Department of Health and Human Services website, Second Psychiatric Opinions.
If you are on a compulsory treatment order, IMHA advocates can support you to have your say about your assessment, treatment and recovery.
Call them on 1300 947 820 between 9.30 am and 4.30 pm Monday to Friday or email [email protected].
Visit the IMHA website for more information.
You can make an application to the Mental Health Tribunal against your Treatment Order.
If you have a complaint about the Second Psychiatric Opinion Service, contact the Mental Health Complaints Commissioner on 1800 246 054 or use the online complaint form.
Call Victoria legal aid on 1300 792 387 for free information about the law and how they can help you with your mental health legal problem, or visit their website.
The Mental Health Legal Centre (MHLC) provides a free and confidential legal service to anyone who has experienced mental illness in Victoria where their legal problem relates to their mental illness. Call 1800 555 887 or visit their website.
If there are changes recommended in the Second Opinion Report and your psychiatrist does not adopt any or all of these, you can apply to the Chief Psychiatrist for a review of your treatment.
See a complete list of Victorian Mental Health Services here.
There are 21 adult Area Mental Health Services in Victoria. The Mental Health Service a person uses will depend on factors such as their age and their address.
If you or someone you know is experiencing a mental health emergency situation, please call 000.
If you require mental health triage, call your local Area Mental Health Services triage line. These areas (by suburb) and their triage telephone numbers can be found at the link above.
If you would like to see a psychiatrist privately, you can find details on the official Directory of Consultants.
To learn more about the Mental Health Act 2014 and your rights as a mental health consumer under the Act, see the Department of Health and Human Services Mental Health Act Handbook.
VMIAC is the peak Victorian non-government organisation for people with lived experience of mental health or emotional issues. VMIAC engages in a number of activities, including information provision, mutual support and self-help, individual, group and systemic advocacy, research and evaluation, and education and training.
Contact them on (03) 9380 3900 or go to the VMIAC website.
Tandem is the peak body for families and carers of people in Victoria experiencing mental ill health.
Contact them on (03) 8803 5555 or email [email protected].
The Victorian Office of the Public Advocate (OPA) has promoted the rights, interests and dignity of people with disability (specifically intellectual impairment, mental illness, brain injury, physical disability or dementia) living in Victoria.
Contact them on 1300 309 337 or email [email protected].
To learn more about the Carers Recognition Act 2012 and your rights as a carer under the Act, see the Department of Health and Human Services information page.
The Second Psychiatric Opinion Service is operated in partnership by Melbourne Health and Monash Health.


text:
Bheri-Babai tunnel completed
Published: 08:36 am Apr 17, 2019
Prime Minister KP Sharma Oli speaking at the tunnel breakthrough ceremony organised by Bheri-Babai Multi Purpose Project, in Surkhet, on Tuesday, April 16, 2019. Photo: THT
Surkhet, April 16
Tunnel construction of the Bheri-Babai Multi-purpose Diversion Project, a multi-billion rupees national glory project based in Surkhet, has been completed.
Prime Minister KP Sharma Oli formally declared the 'breakthrough' in tunnel construction achieved one year before the stipulated deadline at a ceremony in Chiple of Bheriganga Municipality, in Surkhet, today.
At the breakthrough-ceremony, Prime Minister Oli pressed a button on a remote control at 11:50 am and the tunnel boring machine emerged from the tunnel after 20 minutes.
Bheri Babai Diversion Multipurpose Project in Bheriganga Municipality in Surkhet, on Tuesday, June 27, 2017. Photo: RSS
Construction of the tunnel had started from the third week of November two years ago, with the help of TBM, an ultra-modern technology in tunnel boring which was used in the project for the first in the country.
The contract between the Irrigation Department of the Government of Nepal and a Chinese company — China Overseas Engineering Pvt Ltd — had stipulated that the tunnel construction would be complete by the end of March next year.
The 12.210 kilometre-long tunnel starts from Hattikhal of Bheriganga Municipality and ends in Chiple across the Chure range. The tunnel
will channelise water from the Babai river from Chiple to Hattikhal.
"This is a model project constructed with the help of the TBM, which doesn't require any driver," said project director Sanjiv Baral.
"As completion of the project well before the deadline is a significant achievement that could set an example for the entire country, it called for announcement of the breakthrough by the prime minister," Baral explained.
Meanwhile, though the most challenging part of the multi-purpose project has been completed, the remaining work related to building other infrastructure is yet to happen. In a case in point, construction of the barrage used for electricity generation and irrigation has just started.
According to Baral, a six-gauge barrage will be constructed in Chiple. The barrage will be 114 metres long and 14 metres tall.
The project will generate 46.8 MW electricity that will be fed into the national grid. For the same, construction of a powerhouse has started in Hattikhal.
The contract of the project stipulates the total cost of the tunnel construction somewhere at 10.50 billion rupees. By mid-March, around eight million rupees was spent on tunnel construction.
As per the revised masterplan of the Irrigation Department, the entire project is expected to be completed by the fiscal 2022-23 and cost around 33.19 billion rupees. The project will irrigate 51,000 hectare farmland in Banke and Bardiya.
As per the projection of the Irrigation Department, the project is expected to yield an income of around Rs 4 billion annually from electricity generation.
Similarly, the round-the-year irrigation facility from the project is expected to push up agricultural production and generate indirect income of around three billion rupees annually.
Use of tunnel boring machine historic: PM
#national glory project #tunnel construction #Bheri-Babai Multi-purpose Diversion Project #Bheri-Babai tunnel


A couple of weeks ago one of my sons' teachers stopped me at drop-off and asked if I would make cookies for the children to decorate for Valentine's Day. I agreed of course, but I was nervous. The cookies that immediately came to mind were frosted shortbread. The only problem – I had never made shortbread before, and I also don't make cookies that you roll out and cut with a cookie cutter. I had tried several times in the past, but the dough always stuck to the rolling pin, or to the pan or counter, and I was never successful. That said, I was willing to give it a try again, so off I went to experiment. About a week before Valentine's Day, I found a recipe for shortbread that got pretty good reviews online. I made it, and I wouldn't exactly call it a success. The dough was very difficult to deal with – it was either too hard from the refrigerator, or too soft and sticky once it started to warm up. The cookies were also dense and heavy. Edible, but not excellent. I needed to shift gears. I started to look for roll-out sugar cookie recipes. I found this one, and it turned out to be delicious and very easy to make. The dough was very forgiving. Not too sticky, and very workable. When the dough got a bit sticky, I just tossed some more flour on it when I was rolling it out, and it didn't seem to affect the dough at all. When I made these, I decided to roll out the dough directly on the cookie sheet. Once the cookies were cut, I pulled up the extra dough and rolled it again to make another batch of cookies.
I ended up with some pretty nice looking heart-shaped cookies. Then all I had to do was tackle the frosting. I needed something that would dry hard so the children could draw on the cookies. I knew it had to be royal icing – another thing I had never made before.
My friend Anthony came over when I was making the frosting. He's an excellent cook, and he helped me get the royal icing going. It actually wasn't too hard., and it dried nicely overnight which made it perfect for decorating. I decided to buy Wilton Edible Markers for the kids to use to decorate the cookies. I also bought bags and twist-ties so the cookies could be brought home. All in all, it was a great learning experience for me, and a great Valentine's Day project for the 6-year olds. I'll definitely make these again. They were delicious!
Using electric mixer, beat sugar and butter in large bowl until light. Beat in egg and vanilla. Add flour, baking powder and salt. Mix just to combine. Divide dough in half. Gather each piece into ball; flatten into disks. Wrap in plastic and chill 1 hour.
Preheat oven to 325°F. Roll out 1 dough disk on floured work surface to 1/8-inch thickness. Using assorted cookie cutters, cut out cookies. Transfer cookies to ungreased baking sheets, spacing 1 inch apart. Gather dough scraps; re-roll to 1/8-inch thickness. Cut out more cookies.
Bake cookies until pale golden, about 13 minutes. Transfer cookies to racks; cool. Repeat with remaining dough disk.
Frost with royal icing by piping it onto the cookies from a pastry bag. Let cookies stand until frosting sets, ~8 hours. Store in airtight container at room temperature up to 1 week, or freeze up to 1 month.
Yield: ~ 3 dozen cookies (depending upon size).
Beat egg white powder and confectioners' sugar on low until well blended. Gradually beat in water, lemon juice and vanilla; continue beating on high until icing is very thick and glossy, about 6 to 8 minutes.
Keep icing covered at all times while not being used. Add food coloring if desired. Use a pastry bag to pipe the icing on the cookies.
Yield: ~ 2 1/2 cups of Royal Icing.
The cookies look great! Congratulations!
I am impressed! I also hate roll out cookies.
Oh, the kids writing and drawings are precious. That really makes the whole cookie, doesn't it? My two would love doing that. Thanks for a fun idea!


Good post, do you have an RSS feed I can bookmark please?
Thanks Simon. If you look to the upper left side of my blog, under the MVP Logo you'll see a big orange button. Either that or the link below it will let you subscribe to my RSS feed provided by FeedBurner.
The problem I see with the filters is that they only act on one table. Supposed you have a star schema with a fact table and some dimension tables, for example one of the dim tables is Dim_Customer. I want to do an analysis of just a subset of customers. It appears I would need to put filters on BOTH the Fact table and Dim_Customers table. Worse, the filter on the Fact table would need to specify the foreign key values for Dim_Customers. It appears power pivot will NOT use relationships such that you can put a filter on a related table, e.g. Dim_Customer, and have that cause the Fact table import to only import rows pertaining to the customer filter. So is it me, or does this render the Import Table Wizard and Row Filtering to be almost useless???
How do I exclude certain "text" from imported data.


The Amplicon Senses 4K Industrial Monitors are of high industrial quality, boasting grade 'A' LCDs in the following form factors: panel mount or open framed. This allows the Senses 4K Industrial Monitors to be well suited for a wide variety of applications, while being able to offer a cost effective industrial monitor option.
The panel mount displays are available in 15", 17" and 23" versions, other sizes are available by request. The industrial TFT LCD panel monitors are fully enclosed in a high quality black cast aluminium. The on-screen display (OSD) controls are accessed through a bank of membrane switches at the rear of the monitor.
Available in 15", 17" and 23" versions, the open frame industrial monitors are designed with the standard open frame mounting exposed to ease OEM integrators when designing into enclosures. These industrial displays are ideally used and designed into OEM kiosk control platforms.


On Wednesday, SF Design Week kicked off with an opening night event. Now in its tenth year, there are more than 60 studio tours and 200 events throughout the week that feature world-renowned designers, entrepreneurs, and innovative thought leaders.
Members of Traction's creative team attended the Opening Night kick-off to show our support for the thriving Bay Area design community. The event did not disappoint. There was an Augmented Reality Experience, art installations, sculptures, and a performance by an up-and-coming beatboxer named Butterscotch. Most importantly, there were a lot of opportunities to mingle with the community – and to toast the week.
There are still tickets to Design Week events available, so do yourself a favor and . Cheers to SF Design!
Julie loves all things related to design. A new project means new problems to solve, new ideas to flesh out, and interesting patterns to sort. In other words, thinking and working creatively really "bakes her cake." In her free time Julie likes to make things — for example, a ten foot tall plush squid, props for her desk so it looks like the set of Pee Wee's Playhouse, and a Lego head motorcycle helmet. You can always find Julie in front of a giant monitor or behind a glue gun, ready for action.


This video offers a brief introduction and shooting demonstration of the IWI TAVOR a unique bullpup rifle, which served the nation of Israel as its chief battle rifle. This is the civilian variant of the TAR 21.
Here are more details from IWI's web site.
At the end of the 1982 Israel-Lebanon War arose an understanding that the modern battlefield had changed. One of the conclusions from the war, particularly relevant to the small arms industry, was that the battle had moved from open field conflicts to close-quarters engagements -- and there was a need for a seamless transition from daylight to nighttime capability on a single mission. Out of this understanding, and after more than a decade of collaboration and testing with the Israel Defense Forces (IDF) - the TAVOR® rifle was born. Just as race car technology trickles down to consumer automobiles, so do these time and battle-tested firearms now become a modern sporting rifle platform for civilian gun enthusiasts.
The TAVOR® is a perfect fusion of an ordnance grade steel receiver coupled to a Mil-Spec cold hammer forged barrel and encased into a high-impact strength polymer uni-body with exceptional situational ergonomics. The ultra-compact form factor allows for easy transitions in close quarter situations...or even in your favorite deer blind. The bullpup design moves the center of gravity of the rifle closer to the users' body allowing for more instinctive aiming and improved acquisition time to target. This innovative design also allows for a full length barrel, which means no loss of down range ballistic accuracy. Near and far range accuracy is enhanced by the minimized recoil provided by a non-lubricated long stroke gas piston system. With the exception of a hand-specific locking bolt, the rifle is completely ambidextrous allowing for easy left-hand conversion of the operating handle, ejection port, fire-control safety, sling swivel receptacles and fore-mounted accessory Picatinny rail. The TAVOR® is supplied with IDF-tested and approved magazines -- but you can also use your own AR-15/M16 style magazines.
Here are the various models of the TAVOR, the chief differences being color: flat dark earth or black and barrel length: 16.5 or 18"
The TAVOR is assembled here in the USA from parts manufactured in Israel, in order to comply with USA regulation 922 (R).
[B][I][FONT="Trebuchet MS"][COLOR="Blue"][SIZE="4"]Couple more videos on the TAVOR, demonstrating its combat accuracy and how easy it is to field strip it.


SAB TV's Taarak Mehta Ka Ooltah Chashmah (Neela Telefilms) has always managed to bring a smile on your face.
Apart from Jetha (Dilip Joshi) and Daya's (Disha Vakani) cute nok-jhoks, viewers also enjoy watching Jetha's secret admiration for Babita (Munmun Dutta).
As per the ongoing track, after seeing Iyer with some random girl, Babita left her house and came to stay with the Gada family.
Now in the coming episode, Babita would hug Jethalal.
Enjoying the emotions, Jethalal would turn pink blushing as it would be a dream come true experience for him.
But wait let us burst your excitement bubble!
Viewers will later be treated to a funny scene wherein Jethalal would be falling from his bed realising that the 'hug' moment was actually a dream. (Ha ha)!
His realisation will make him all sad and cranky…awwww!!
This particular episode will air tonight. Are you excited to watch?


You will love the essence of this beautifully crafted Semi Custom home that is nestled in Stafford Farms. As with any Semi Custom built home by one of the Panhandles MOST AWARDED & RECOGNIZED BUILDERS, you will take pride in ownership. This 4/3 offers features & amenities around every corner. Plenty of attention to details such as arched entry way in foyer and formal dining room. Great Room elegant & inviting with pop and ceiling and crown molding, ceiling fan, & beautiful Fireplace. Master bedroom privately located at the back of your home. Kitchen complete with Custom Raised Panel Maple Cabinets, SS appliances, granite counter tops with under mount sink, large walk in pantry, recessed can lights & under mount cabinet lights. Wide colonial baseboards, rounded corners, and light Spanish lace ceiling & wall texture. The minute you walk into this home, you will want to move in!


text:
Q: How to post data to database from HTML form having manytomany Field in django? I am having form consisting of two input fields having some values, Now I want these values to post in the database having manytomanyfield.
My form is

<form action="{% url 'car:user_register' %}" method="POST"  >
{% csrf_token %}

<input type="text" name="goal" id="goal" value="">

<input type="text" name="goale" id="goal2" value="">

<input type="submit" value="Register" class="btn btn-secondary btn-block">
</form>

My models.py is
class users(models.Model):
    email=models.CharField(max_length=50,default='0000000')
    password=models.CharField(max_length=50,default='0000000')
    room = models.ForeignKey(rooms,on_delete=models.CASCADE)
    goal = models.ManyToManyField(goals)

The email password and room values are saving but I want to store the two values in the goal field which is manytomanyfield
My views.py
def user_register(request):
    if request.method == 'POST':
        username=request.POST["username"]
        email = request.POST['email']
        password = request.POST['password']
        room = request.POST['room']
        g = goal=request.POST['goal']
        g1 = goal=request.POST['goale']
        user = users(password=password,email=email)
        user.room=rooms.objects.get(pk=room)
        user.goal=goals.objects.get(pk=g)
        user.goal =goals.objects.get(pk=g1)

        user.save()
        user.goal.add(g,g1)
        user.save()

Is there any wrong in my views.py it is not storing and please how to store data from form to manytomanyfield

A: the problem is you are using two strings you have gotten from post request and not actual goal objects to add to user model. for many to many fields you should first create your object (users) and after that you can add objects to m2m fields (in your case goal )
try this :
...
     g =request.POST['goal']
     g = g.split(',')
     user = users(password=password,email=email)
     user.room=rooms.objects.get(pk=room)
     goals = goals.objects.filter(pk__in=g)
     user.save()
     user.goal.add(*goals)

redpajama_set_name: RedPajamaStackExchange


Welcome to issue #7 of the Cloud Technology and Security Alert News Digest. If you thought last week's security alerts were scary, you should definitely put your coffee down before reading further. But it's not all bad news: at least one of our current crop of warnings has absolutely nothing to do with cloud deployment vulnerabilities. Sort of.
Once again, by far the biggest deployment news of the week concerns a DNS vulnerability. I'm sure that, by now, many of you think I'm overdoing it just a bit in the network security bad news department. Turns out, according to another post by Steven J. Vaughan-Nichols at ZDNet, that I've actually been understating things. This time the web site behind the critical DNS provider BIND has been exposed to malware. If you're responsible for Internet-facing servers, you CAN'T ignore this one.
And speaking of Internet security, while I'm not sure why this is news just now, nevertheless, ZDNet reports on a recent Microsoft claim that more and more "security researchers and engineers" are running MS EMET (Enhanced Mitigation Experience Toolkit) on all the systems under their control. Managing a Windows-based deployment? Think seriously about EMET.
Did you leave the back door of your house open again?
Well, even if everything in the cloud seems chaotic, we can still go home and enjoy the simplicity and safety of our connected devices. Not so fast. Ars Technica reports that at least twelve million home and business routers are vulnerable to hijack attacks. Which means, of course, that every time you log in to your super-secure cloud deployment from home, you might be exposing the whole system to whoever happens to be running your router right now.
The good news? My own home router model is not listed among those compromised.
The flip side of anti-malware security efforts is anti-intrusion defence. Whether you're worried about hackers, commercial competitors, or government agencies gaining access to your data, the odds are that your sense of privacy has lately been badly eroded. Zack Whittaker at ZDNet lists some excellent free and open source privacy tools (like Gnu Privacy Guard and Off-the-Record) that are still available, and still effective.


There are a lot of studies that show correlations between different parts of ourselves and the effects that it could have on the world. People that are extraverted are more likely to spend above their means, people with lower self-control are more likely to be overweight, people with higher intelligence are more likely to be successful, people with higher memories are more likely to be prodigies and so on.
But there are some things are are a lot easier to improve and some things that are a lot harder to improve. According to my psychological teacher, a person can not train intelligence and cognitive flexibility, but they can train self-control, which still effects among other things also success in school and marriage stability.
From this we can at least agree, that some things, like some parts of intelligence are a lot harder to improve than self-control.
Then we have the whole mentality to take into account as well. People that believe that they can improve are more likely to improve compared to people that believe that genes decided their faith. I have seen these things in a different contexts as well. One example is, that people that believed that their self-control was limited and can tire like a muscle, were more likely to have limited self-control than people without this belief.
It is like whatever we believe in it becomes true.
But our beliefs, unlike what some NLP (as in neuro-lingustic programming) practitioners would like you to belief, are not so easily changeable. There is a reason why people say that we become the average of 5 people that we spend the most time with. Any kind of input, even implicit and never mentioned like the cultural setting, can influence our beliefs.
Taking this into account I can see two possible ways. One is to simply reshape the whole world around you so that there are only influences going in the right direction. That means not talking to people holding different opinion, no reading the newspapers, no watching of the TV shows, no reading books and so on, since all these things could influence it in a different direction.
It entails an extreme level of curtailing the influences on one person. I takes a lot of work, but if you are willing to do it and pay the price, it is a valid path.
The other one is to simply use the strategies that work in this world. If most people believe that intelligence can't be improved, but self-control can, then work on your self-control. This way even the environment that is not fully compliant with you goals or aims can still help with taking steps.
I am sure that there are overlap in the world and human's growth path, especially when the person is starting on the similar level to most people. I believe that taking advantage of the world in the beginning is the quickest path.
Eventually, the overlap does get smaller and smaller, and the person will need to switch more to a upper strategy, until the the environment will change enough that there is still overlap. It is like a cycle strategy, switching between the both methods.
Does this mean that I think the same world can have different influence on us? Yes, I believe this. And I think it makes sense to take advantage of this.


The Our Place At The Beach Condominium, located at 119th Street, is Ocean City Maryland's 10th largest condominium project with approximately 192 units. The building was constructed in 1982.
Want to know the inside scoop on Our Place At The Beach condo listing prices, sales and trends? Visit Our Place At The Beach Condominium Market Report for all the details.
Sign Up Now for real-time access to view every single active condominium listing in the Our Place At The Beach Condominium including all detailed property information with virtual pictures. Receive custom daily email alerts of any new Our Place At The Beach Condominium listings and price changes as they hit the market pulled directly from our local Ocean City area Board of REALTORS® MLS Listing Database.


text:
Q: Positioning inside ZStack I want this red rectangle to be repositioned to the left bottom corner but for some reason my alignments and paddings do not work as I expected. What am i doing wrong and how to move it to the left bottom corner?

Code:
struct ContentView: View {

    var body: some View {

        ZStack {
                VStack(spacing: 0) {
                    Rectangle()
                        .fill(Color.red)
                        .frame(width: 197, height: 163)
                }
                .frame(width: 284, height: 269)
                .padding(.leading, 0)
                .padding(.bottom, 0)
                .background(Color.blue)
            }
    }
}

A: ZStack has a parameter alignment: Alignment which is
an alignment in both axes.
  struct ContentView: View {

        var body: some View {

            ZStack(alignment:.bottomLeading) {
                Rectangle()
                    .fill(Color.blue)
                    .frame(width: 284, height: 269)
                Rectangle()
                    .fill(Color.red)
                    .frame(width: 197, height: 163)
            }

        }
    }

A: Yodagama's answer may be what you want, but it's worth exploring your confusion, too, because SwiftUI layout does not work the way you're thinking it does. Calls like .frame(...) does not "set the size of an item" and .fill(...) does not "set the color of the item." Almost everything in SwiftUI creates a brand new View, which is responsible for placing its children. In many cases these can feel like they're the same thing, but they're very different.
I'll break down what's happening in your code, starting at the inside and working out.
                Rectangle()

This creates a Rectangle that fills whatever space it's given.
                Rectangle()
                    .fill(Color.blue)

This embeds the Rectangle in a new View that sets the "fill" color in the Environment to Blue.
                Rectangle()
                    .fill(Color.blue)
                    .frame(width: 197, height: 163)

This embeds that into a new View that has a fixed size (197x163). The embedded View is centered, but since the Rectangle takes all available space, it fills the Frame.
            VStack(spacing: 0) {
                Rectangle()
                    .fill(Color.red)
                    .frame(width: 197, height: 163)
            }

This embeds that Frame into a VStack that puts no spacing between its elements (but that doesn't matter because there's only one). The VStack is exactly the size of its children (197x163).
            VStack(spacing: 0) {
                Rectangle()
                    .fill(Color.red)
                    .frame(width: 197, height: 163)
            }
            .frame(width: 284, height: 269)

This centers the 197x163 VStack inside a new View that is fixed to 284x269. It does not set the size of the VStack to 284x269. VStacks are always precisely the size of their children. This is the specific place you went wrong (I'll explain how to fix it after walking through the rest).
            VStack(spacing: 0) {
                Rectangle()
                    .fill(Color.red)
                    .frame(width: 197, height: 163)
            }
            .frame(width: 284, height: 269)
            .padding(.leading, 0)
            .padding(.bottom, 0)

This create a new View that embeds the 284x269 Frame with 0 extra padding on the left (so this new View is exactly the same size as the current Frame and this does nothing). It then embeds that into a new View that adds 0 extra padding on the bottom. Again, this does nothing at all.
           VStack(spacing: 0) {
                Rectangle()
                    .fill(Color.red)
                    .frame(width: 197, height: 163)
            }
            .frame(width: 284, height: 269)
            .padding(.leading, 0)
            .padding(.bottom, 0)
            .background(Color.blue)

This embeds all that in a new View that draws a Blue background exactly the same size as the embedded View (284x269).
    ZStack {
            VStack(spacing: 0) {
                Rectangle()
                    .fill(Color.red)
                    .frame(width: 197, height: 163)
            }
            .frame(width: 284, height: 269)
            .padding(.leading, 0)
            .padding(.bottom, 0)
            .background(Color.blue)
        }
}

And finally, this centers all of that inside a ZStack. The ZStack is exactly the size required to wrap its children, so that's 284x269. This does nothing at all.

So how do you fix this. The place you went wrong was how the VStack was positioned in its surrounding Frame. It was centered, but you wanted it aligned. There's no need for a ZStack here, or even a VStack. You do that like this:
    Rectangle()
        .fill(Color.red)
        .frame(width: 197, height: 163)
        .frame(width: 284, height: 269, alignment: .bottomLeading) // <===
        .background(Color.blue)

Notice how two frame Views are created in succession. The first one bounds the Rectangle. The second one embeds and aligns that in a larger frame. This is a good example of how SwiftUI is so different than developers may think. In fact, this can be simplified further, since a Color fills all of its offered space, just like a Rectangle:
    Color.red
        .frame(width: 197, height: 163)
        .frame(width: 284, height: 269, alignment: .bottomLeading)
        .background(Color.blue)

But I often find this is better done and more flexible with Spacers when possible. In my experience, Spacers work better when you don't have fixed frame sizes for everything. (I'm not saying this is necessarily best practice; it's just been my experience. SwiftUI is pretty new and we're still figuring out what best practice is.)
    VStack {
        Spacer()    // Fill all space above
        HStack {
            Rectangle()
                .fill(Color.red)
                .frame(width: 197, height: 163)
            Spacer()    // Fill all space to the right
        }
    }
    .frame(width: 284, height: 269)
    .background(Color.blue)


Hi. Do you mean seeing the sizes of the downloads before saying yes or no to the upgrade? That would be useful information. But the ability to accept or decline individual packages during the upgrade wouldn't work very well in a rolling release.
If you use upkg-upgrade --verbose you can see the download details in the background. You can also access this information later in the log files.
I agree that it would make sense to defer installation until everything has been downloaded. I'll see what we can do.
This is now available in paldo unstable.
I test is very good and I'm surprise of the rapidity !
Thanks for testing. This is now also available in paldo stable.
Yes i see it ! .
I see it into my desktop who have installed paldo.


text:
<?php

use Tokenly\CurrencyLib\CurrencyUtil;
use \PHPUnit\Framework\Assert as PHPUnit;
use PHPUnit\Framework\TestCase;

class CurrencyUtilsTest extends TestCase {

    public function testCurrentUtilsConversions() {
        // float value to satoshis
        PHPUnit::assertEquals(12300000000, CurrencyUtil::valueToSatoshis(123));
        PHPUnit::assertEquals(2100000000000000, CurrencyUtil::valueToSatoshis(21000000));
        PHPUnit::assertEquals(12311111119, CurrencyUtil::valueToSatoshis(123.111111189));

        // satoshis to float value
        PHPUnit::assertEquals(123, CurrencyUtil::satoshisToValue(12300000000));
        PHPUnit::assertEquals(21000000, CurrencyUtil::satoshisToValue(2100000000000000));
        PHPUnit::assertEquals(123.11111119, CurrencyUtil::satoshisToValue(12311111119));

        // satoshisToFormattedString
        PHPUnit::assertEquals('123', CurrencyUtil::satoshisToFormattedString(12300000000));
        PHPUnit::assertEquals('123.4', CurrencyUtil::satoshisToFormattedString(12340000000));
        PHPUnit::assertEquals('1,235.6', CurrencyUtil::satoshisToFormattedString(123560000000));

        // valueToFormattedString
        PHPUnit::assertEquals('1,234.5', CurrencyUtil::valueToFormattedString(1234.5));
    }

}


text:
OTHER INDIE & ROCK IN CLEARWATER
Brit Floyd
Happy Together Tour
Steve Miller Band Event homeBuy tickets Brit FloydStyxWilcoHappy Together TourIndigo GirlsJohn MellencampBeach Boys
Ruth Eckerd Hall Please selectVenue homeLocation and directionsSeating maps Blue Man Group (Feb 2 - 3, 2023)The Kat and Dave Show (Feb 4, 2023)REO Speedwagon (Feb 7, 2023)Kenny Wayne Shepherd (Feb 10, 2023)John Mellencamp (Feb 13 - 15, 2023)The Temptations (Feb 17, 2023)Dancing With the Stars (Feb 18, 2023)Emmylou Harris (Feb 21, 2023)Beach Boys (Feb 22, 2023)Frankie Valli & The Four Seasons (Feb 24 - 25, 2023)Sarah McLachlan (Feb 26, 2023)Lyle Lovett (Feb 28 - Mar 1, 2023)Trixie and Katya (Mar 3, 2023)Little River Band (Mar 12, 2023)Johnny Mathis (Mar 25, 2023)Paul Anka (Apr 1, 2023)On Your Feet (Apr 7, 2023)The Price Is Right - Live Stage Show (Apr 13 - 14, 2023)Postmodern Jukebox (Apr 15, 2023)Styx (Apr 17, 2023)Indigo Girls (Apr 18, 2023)George Benson (Apr 19, 2023)Wilco (Apr 20, 2023)Billy Idol (Apr 21, 2023)Cats (Apr 23, 2023)Natalie Merchant (Apr 26, 2023)Steve Martin & Martin Short (Apr 28, 2023)The Concert: A Tribute to Abba (May 12, 2023)Joe Gatto (May 13, 2023)Brit Floyd (May 30, 2023)Happy Together Tour (May 31, 2023)Kansas (Jan 20, 2024)
Image attribution: Tim Brown Used under Creative Commons License
Classic rock meets classic country!
Why See Steve Miller Band?
Indie & RockConcerts
The Steve Miller Band are on the road again this year, celebrating over five decades in the 'biz.
Formed in 1966 when lead vocalist Steve Miller moved to San Francisco, the Steve Miller Band found fame in 1973 with their eighth album, "The Joker", which contained the hit single of the same name. Their next two albums, "Fly Like an Eagle" (1976) and "Book of Dreams" (1977), were also huge successes with both going multi-Platinum. Now considered ultimate icons of Psychedelic and classic rock, the legendary group continue to bring an electric and eclectic show to audiences all over the world!
About Clearwater Theater: We are an independent show guide not a venue or show. We sell primary, discount and resale tickets and prices may be above or below face value.
Sound good to you? Share this page on social media and let your friends know about Steve Miller Band at Ruth Eckerd Hall.
Please note: The term Ruth Eckerd Hall and/or Steve Miller Band as well as all associated graphics, logos, and/or other trademarks, tradenames or copyrights are the property of the Ruth Eckerd Hall and/or Steve Miller Band and are used herein for factual descriptive purposes only. We are in no way associated with or authorized by the Ruth Eckerd Hall and/or Steve Miller Band and neither that entity nor any of its affiliates have licensed or endorsed us to sell tickets, goods and or services in conjunction with their events.


At Sabore Soberbo Alimentos Saudaveis & Importados people with gluten intolerance can find a special range of specifically marked gluten-free products. The gluten-free products that can be found on the shelves of Sabore Soberbo Alimentos Saudaveis & Importados include Schär brand products. The products are clearly marked and easy to find. Sabore Soberbo Alimentos Saudaveis & Importados offers a good selection of gluten-free foods. At Sabore Soberbo Alimentos Saudaveis & Importados shopping is fun and stress-free.


We all know that President Donald Trump loves a good handshake—and, boy, did French President Emmanuel Macron give him a good one at the G-7 summit on Friday.
A photo taken by senior Reuters photographer Leah Millis of the president's hands after they greeted each other shows that Macron left a thumbprint on President Trump's hand.
Of course, folks on Twitter jumped at the opportunity to make some pretty punny jokes about the handshake.
This whole handshake thing has gotten out of hand.
They must have discussed a pressing matter.
There's something appealing about that Macron lad, but I can't quite but my finger on it.
Less funny folks on Twitter pointed out that it doesn't seem healthy that Trump's hand could be so easily affected by a handshake. Some said it could be a sign of dehydration, poor blood circulation, or edema—a condition characterized by an excess of watery fluid collecting in the cavities or tissues of the body.
Not necessarily meaning Macron gripped his hand hard. He may have just had a firm but polite grip however the effect to Trumps skin tone, coloration and tissue is not a good health indicator.
True if your whole liquid consumption is Cokes… however he has that unhealthy metabolic syndrom look.
That's weird. Trump must be bloated.
Those hands have never seen a callus, I'm guessing. That is some serious edema going on there, though.
The two presidents are currently at the G-7 Summit, which is a conference held by the Group of Seven, consisting of the U.S., France, Canada, Germany, Italy, Japan, and the United Kingdom. Hosted in Canada, the summit plans to discuss domestic and international priorities, including "to strengthen the middle class, advance gender equity, fight climate change, and promote respect for diversity and inclusion," according to the Canadian prime minister's website.
French Finance Minister Bruno Le Maire, however, has been referring to the summit as the G6+1, as a way to describe the isolating and tense relationship between the U.S. and the rest of the countries—especially since Trump has been advocating to reinstate the G-8 and effectively re-invite Russia to the summit. Russia was expelled in 2014 after it annexed Crimea.
Trump and Macron have quite the history of firm handshakes. In March 2017, when the two met for the first time at the U.S. ambassador's residence in Brussels, they shared an awkwardly long greeting until their knuckles turned white. Later in July 2017, Trump shook Macron's hand for approximately 25 seconds as he ceremoniously made his exit from Paris. Many see Trump's intense handshakes to be a power move on his part, while Macron's response could be a sign he doesn't plan to back down from the U.S. president anytime soon.


text:
Public Hearing - Proposed Issuance of Bonds
Notice is given that the Board of Supervisors of Wythe County, Virginia (the "Board"), will hold a public hearing on the proposed issuance of bonds at one time or from time to time by Wythe County. The estimated maximum aggregate amount of the bonds is $2,103,000. The general purposes for which the bonds are to be issued, and the proposed uses of the proceeds of such bonds, are (a) to finance the cost of improvements to the County's sewer system, including improvements around Exit 24 on Interstate 77 in the eastern part of the County, for which use more than 10 percent of the total bond proceeds is expected to be used, and (b) to pay the costs of issuing the bonds. The public hearing, which may be continued or adjourned, and at which persons may appear and present their views on the proposed bond issue, will be held at 7:00 p.m., or as soon thereafter as the matter may be heard, on September 20, 2016, before the Board in the Board Room of the County Administration Building, located at 340 South Sixth Street in Wytheville, Virginia.


We're of the view that FC Dordrecht should have enough to get a goal against this Sparta side, but a single goal might not quite prevent them from conceding a couple at the other end. We therefore reckon that it will be a narrow 1-2 winning score for Sparta when all is said and done. Should be a good one. Our full set of predictions, statistics and match poll for FC Dordrecht v Sparta can be seen below (plus the best game odds).
While we have made these predictions for FC Dordrecht v Sparta for this match preview with the best of intentions, no profits are guaranteed. Always gamble responsibly, and with what you can afford to lose. Good luck if you do place a bet today.


text:
package com.nhaarman.trinity.internal.codegen.data;

import java.util.Collection;
import java.util.HashMap;
import java.util.Map;
import org.jetbrains.annotations.NotNull;

/**
 * A repository class which stores instances of {@link TableClass}.
 */
public class TableClassRepository {

  @NotNull
  private final Map<String, TableClass> mTableClasses;

  public TableClassRepository() {
    mTableClasses = new HashMap<>();
  }

  public void store(@NotNull final TableClass tableClass) {
    String key = tableClass.getFullyQualifiedName();
    mTableClasses.put(key, tableClass);
  }

  public void store(@NotNull final Collection<TableClass> tableClasses) {
    for (TableClass tableClass : tableClasses) {
      store(tableClass);
    }
  }

  @NotNull
  public Collection<TableClass> all() {
    return mTableClasses.values();
  }

  public void clear() {
    mTableClasses.clear();
  }
}


text:
Q: comparing array of objects in angularjs I have a following json(sample data) which i get from the another URL
var data = [
{ id: 1, name: 'ravi', parentid: 0 },
{ id: 2, name: 'raj', parentid: 1 },
{ id: 3, name: 'ram', parentid: 1 },
{ id: 4, name: 'raja', parentid: 0 },
{ id: 5, name: 'raju', parentid: 4 },
{ id: 6, name: 'dinesh', parentid: 4 }
];

When i get success message in angular, i want to compare data which has id
of parentid zero with parentid of remaining data.I tried following code but i am not able to proceed more than this
$http.get('URL')
    .success(function(data) {
        var categories = data;
        for(var i =0;i<=categories.length;i++)
        {
            if(typeof categories[i] != "undefined" && categories[i].parentId == 0)
            {
                $scope.cat.push(categories[i]);
            }
            if($scope.cat[i].parentid == categories[i].id)
            {
                $scope.content.push(categories[i]);
            }
        }

    });

here i want to compare categories[i].parentId with $scope.cat.id and inserted into array but while comparing this i am getting an error like $scope.cat[i] is undefined
finally my output look like below
Ravi
  raj
  ram
raja
  raju
  dinesh

A: I face 3 problems listed below:

*

*In if(typeof categories[i] != "undefined" && categories[i].parentId == 0) you are comparing parentId and it never is as your property name is parentid (check casing). And hence, your 1st if loop is never executed and that is why your $scope.cat remains undefined.

Solution: correct the typo for parentId

*In, if($scope.cat[i].parentid == categories[i].id) you are comparing the parent id of parent elements with id's of child element.

Solution: if($scope.cat[i].id == categories[i].parentid)

*You are using same iterator for two list items with different lenghts.

Solution:
 var categories = data;

 // fill $scope.cat with elements having parent id = 0, so this list will contain all the parent elements
 $scope.cat = categories.filter(function(category) {
     return category && category.parentid === 0
 });
 $scope.content = [];
 // fill $scope.content with elements whose parent exist in $scope.cat (the parent list craeted above)
 categories.forEach(function(category) {
     if ($scope.cat.filter(function(cat) {
             return category.parentid === cat.id
         }).length > 0)
         $scope.content.push(category);
 });

sample plunk here

A: Try something like this
replace
if($scope.cat[i].parentid == categories[i].id)
            {
                $scope.content.push(categories[i]);
            }

with
var res = $scope.cat.filter(function(item){
  return item.parentid === categories[i].id;
});

if(res.length)
{
    $scope.content.push(categories[i]);
}

A: You get undefined for $scope.cat[i] because the code that pushes to $scope.cat is not always executed even after correcting parentId to parentid
if(typeof categories[i] != "undefined" && categories[i].parentid == 0)
{
                $scope.cat.push(categories[i]);
}

for some values of the data array this condition will not be true. So nothing will be pushed to $scope.cat.
and remember your second if statement comes just after your first if statement. So sometimes you will not have $scope.cat[i]
for all these values the code will not be executed beacuse they dont pass the condition
{ id: 2, name: 'raj', parentid: 1 },
{ id: 3, name: 'ram', parentid: 1 },
{ id: 5, name: 'raju', parentid: 4 },
{ id: 6, name: 'dinesh', parentid: 4 }

since parent id is not 0
So these are the values causing undefined
you can change to :
var categories = data;
    for(var i =0;i<=categories.length;i++)
    {
        if(typeof categories[i] != "undefined" && categories[i].parentid ==0)
        {
            $scope.cat.push(categories[i]);
        }

    }
    //you will already have you $scope.cat filled then loop through it
    //checking with the categories array too.

    for(var j=0;j<$scope.cat.length;j++)
    {
       for(var k=0; k<categories.length; k++){
         if($scope.cat[j].parentid==categories[k].id)
         {
           $scope.content.push(categories[k]);
         }
       }
    }

or something like :
var categories = data;

categories = categories
.filter( (category)=>{
   return (category !== []._);  //removes all undefineds in the array
})
.map((category)=>{
  //checks each category from data if is parent_Id is 0 and pushes it to cats array
  //by the end of the operation. the cats array will have some data
  (category.parentId == 0)? ($scope.cats.push(category) , return ) : return;
})
var getContent =(cats,categories)=>{
  var content=[];
  for(var j=0;j<cats.length;j++)
  {
     for(var k=0; k<categories.length; k++){
       if(cats[j].parentid==categories[k].id)
       {
         content.push(categories[k]);
       }
     }
  }
  return content;
}
$scope.content = getContent($scope.cats,categories);


text:
New York Mets All-Time Lists
New York Mets: Top 10 WAR leaders in franchise history
By Allen Settle
NEW YORK - JULY 31: Former players Darryl Strawberry (L) and Dwight Gooden speak during a press conference for their induction into the New York Mets Hall of Fame prior to the game against the Arizona Diamondbacks on July 31, 2010 at Citi Field in the Flushing neighborhood of the Queens borough of New York City. (Photo by Jim McIsaac/Getty Images)
NEW YORK – AUGUST 22: Tom Seaver speaks during the presentation commemorating the New York Mets 40th anniversary of the 1969 World Championship team on August 22, 2009 at Citi Field in the Flushing neighborhood of the Queens borough of New York City. (Photo by Jared Wickerham/Getty Images)
2) David Wright: 2004-2018 (Career Mets WAR: 50.4)
Career Stats (14 years): 5,998 AB, 1,777 Runs, 242 HR, 970 RBI,196 SB .296 BA
Mets Stats (14 years): Wright played his entire career with the Mets
As the only player on this list to play his entire career with the Mets, the Captain holds a special place in many fan's hearts. Despite a career cut short due to injury, David Wright is still the team's all-time leader in at-bats, runs, hits, total bases, doubles, RBI, walks, singles, and extra-base hits.
According to the advanced statistics, he is undoubtedly the best hitter in the franchise's history. His recent retirement left many baseball fans wondering what heights he could have reached if not hampered by injury.
1) Tom Seaver: 1967-1986 (Career Mets WAR: 76.1)
Career Stats (20 years): 647 Games Started, 311 Wins, 2.86 ERA, 3,640 Ks
Mets Stats (12 years): 395 Games Started, 198 Wins, 2.57 ERA, 2,541 Ks
Regardless of which WAR statistics you look at, Tom Seaver is undoubtedly the best player to ever take the field for the Amazins. Not only was he a key part of the team's first World Championship in 1969, but he was also a 12-time All-Star, 3-time Cy Young winner, Rookie of the Year, and near unanimous selection into the Baseball Hall of Fame (with 98.8% of the votes).
He is currently the franchise's all-time leader in ERA, wins, WHIP, innings pitched, strikeouts, games started, complete games, shutouts pitched, and batters faced. Odds are, Seaver's spot on the top is safe for a long time.
Next. Building the greatest Mets rotation of all-time
Which member of this were you shocked to see most?


Interested in taking photography classes in Springfield NJ? Whether you are a professional, beginner, or hobbyist, the best approach to improving your photography skills is through hands-on training with knowledgeable instructors.
There are numerous accredited photography schools in New Jersey. Subjects taught in photography classes include portrait capture, exposure and composition, lighting, posing and unposing, and other photography fundamentals. Growing into an experienced photographer can pave the road to a lifelong hobby or a booming professional career.


text:
import mock
from app.models import SocialUser, Photo, Share
from app.forms import PhotoForm
from app.views import AppView, DownloadView, UploadPhotoView, JSONFxListView, \
    UpdatePhotoTitleView, DestroyPhotoView, ShareView
from django.core.files import File
from django.core.urlresolvers import reverse
from django.test import TestCase, Client, RequestFactory

user = SocialUser.objects.create_user(
            name='John Doe',
            profile_url='http://someplace_on_the_www',
            id=2,
        )

mock_file = mock.MagicMock(spec=File, name="mockphoto.jpg")

class AppTestCase(TestCase):

    @classmethod
    def setUpClass(cls):
        cls.user = user
        cls.reqfactory = RequestFactory()
        cls.mock_file = mock_file
        cls.mock_file.name = "mockphoto.jpg"
        cls.user.save()
        super(AppTestCase, cls).setUpClass()

    def setUp(self):
        self.client = Client()

    def test_can_get_sitemap_in_app_root(self):
        '''Test that sitemap.xml can be accessed'''
        response = self.client.get('/sitemap.xml')
        self.assertEqual(response.status_code, 200)

    def test_can_get_robots_in_app_root(self):
        '''Test that robots.txt file can be accessed'''
        response = self.client.get('/robots.txt')
        self.assertEqual(response.status_code, 200)

    def test_can_get_humans_in_app_root(self):
        '''Test that humans.txt file can be accessed'''
        response = self.client.get('/humans.txt')
        self.assertEqual(response.status_code, 200)

    def test_guest_can_access_login_page(self):
        '''Test that guest can access login page'''
        response = self.client.get(reverse('app.auth.login'))
        self.assertEqual(response.status_code, 200)

    def test_auth_user_can_logout(self):
        '''Test that authenticated user can logout'''
        response = self.client.get(reverse('app.auth.logout'))
        self.assertRedirects(
            response,
            reverse('app.auth.login'),
            status_code=302
        )

    def test_guest_cannot_access_index_page(self):
        '''Test that guest can not have unauthorised access to app root
        '''
        response = self.client.get(reverse('app.index'))
        self.assertEqual(response.status_code, 302)

    def test_users_can_view_privacy_policy(self):
        '''Test that users can view privacy policy'''
        response = self.client.get(reverse('app.privacy'))
        self.assertEqual(response.status_code, 200)

    def test_user_can_view_photos(self):
        '''Test that user can view photos'''
        req = self.reqfactory.get(reverse('app.index'))
        req.user = self.user
        AppView.as_view()(req)

    @mock.patch('app.models.Share.save')
    @mock.patch('app.views.open', return_value=mock_file)
    @mock.patch('mimetypes.guess_type')
    @mock.patch('app.models.Share.objects.get_queryset')
    def test_user_can_download_photo(self, mock_save, mock_open, mock_guess_type, mock_get):
        '''Test that user can download photo'''
        share = Share.objects.create(
            uri='-_-', src=':0:.png',
            user=self.user, downloads=0,
        )
        share.save()
        req = self.reqfactory.get(reverse('app.fileserve')+"?uri=-_-")
        req.user = self.user
        response = DownloadView.as_view()(req)
        self.assertEqual(response.status_code, 200)

    @mock.patch('app.models.Photo.objects.get')
    def test_user_can_delete_photo(self, mock_get):
        '''Test that user can delete photo'''
        req = self.reqfactory.get(reverse('app.photo.destroy', kwargs={'photo_id':1}))
        req.user = self.user
        response = DestroyPhotoView.as_view()(req, 1)
        self.assertTrue(Photo.objects.get.called)

    @mock.patch('app.models.Share.get_photo')
    def test_user_can_share_photo(self, mock_get_photo):
        '''Test that user can share photo'''
        req = self.reqfactory.get(reverse('app.photo.share'))
        req.user = self.user
        ShareView.as_view()(req)
        self.assertTrue(Share.get_photo.called)

    @mock.patch('app.models.Photo.objects.get', return_value={})
    @mock.patch('app.models.Photo.update')
    @mock.patch('app.models.Photo.get_for_user', return_value=[{'photo':'hfdfskfd.jpg'}])
    def test_user_can_update_photo_title(self, mock_get, mock_update, mock_get_for_user):
        '''Test that user can update photo title'''
        req = self.reqfactory.post(
            reverse('app.photo.update', kwargs={'photo_id': 1}),
            data='{"title":"new title"}', content_type='application/json')
        req.user = self.user
        response = UpdatePhotoTitleView.as_view()(req, 1)
        self.assertIn('success', response.content)

    @mock.patch('app.models.Photo', return_value={'title':'o_o', 'image':'o>o'})
    @mock.patch('app.forms.PhotoForm.save')
    @mock.patch('PIL.Image')
    @mock.patch('app.models.Photo.get_for_user', return_value=[{'image':'hfdfskfd.jpg'}])
    def test_user_can_upload_photo(self, mock_photo, mock_form, mock_pil, mock_get_for_user):
        '''Test that user can upload photo'''
        req = self.reqfactory.post(
            reverse('app.photo.upload'),
            data = {
                'image': self.mock_file,
                'title': 'mock_file'
            }
        )
        req.user = self.user
        UploadPhotoView.as_view()(req)
        self.assertTrue(PhotoForm.save.called)

    def test_can_get_all_effects(self):
        '''Test that user can get all effects'''
        req = self.reqfactory.get(reverse('app.availablefx'))
        req.user = self.user
        resp = JSONFxListView.as_view()(req)
        self.assertIn('Content-Type: application/json', resp.serialize())

    @classmethod
    def tearDownClass(cls):
        super(AppTestCase, cls).tearDownClass()


We are excited to invite you to our 8th annual Economic Outlook Q & A. We are returning this year to the LeMay-America's Car Museum (2702 East D Street Tacoma, WA).
Our panel will share their views on the economy as well as address any questions you may have.
Enjoy wine and appetizers prior to the Q & A, and stick around for an after-hours museum viewing. We have an exceptional panel of speakers this year so don't miss this great learning opportunity!
RSVP today because seating is limited.
This event is being sponsored by Assetmark, City National Rochdale, and Clark Capital Management Group.
Neither Brian Kampbell nor Voya Financial Advisors, Inc. give specific legal or tax advice.
Please consult with your Professional tax or legal advisor for your personal information.
FLS Financial Group, LLC is not a subsidiary of nor controlled by Voya Financial Advisors.
Fullaway Lamphear & Sauve PLLC is not affiliated with Voya Financial Advisors, Inc.
Assetmark, City National Rochdale, Clark Capital Management Group and Eaton Vance, are not affiliated with Voya Financial Advisors, Inc., FLS Financial Group, nor Fullaway Lamphear & Sauve.
Any information provided by these individuals is provided entirely on behalf of the individual and is in no way related to Voya Financial Advisors or its registered representatives.