One topic I want to talk about more when I circle with women this year is how we move through the world now that social media is part of our everyday lives. We are at the forefront of figuring this out with little to no trail behind us to help us navigate. I believe that we will find our way by having conversations about it all, while also sitting in the quiet and listening to what is best for each of us.
I've talked a little about this from the perspective of how we live an entire world outside of our Facebook statuses and I often bring up the truth that we never really know the full story when we see snippets of someone's day online. I also think we fill in the blanks with our own assumptions, which is something I tend to do when I am pretty depleted and not practicing self-care. I can go from cheering on a friend or colleague on Facebook one day to feeling jealous or "not enough" when seeing a similar status the next day.
Today, I want to tell the story of this photo of Ellie that I Instagrammed last Friday. It was taken in the middle of our messy family room during our Friday evening "movie night" while we had picnic on the pullout sofa. One of her new favorite things is looking through my poetry books and pretending to "read" them. She sometimes just turns the pages quickly, and other times she reads the letters out loud or makes up her own words.
After I posted it, I had a tiny nagging feeling that it might read like I was boasting about my brilliant daughter.
But if you jumped to that assumption, you would be missing a lot of pieces of our story: Ellie Jane didn't start saying any words until she started pre-school last fall. She was 2 years and 4 months old when she started using about 15-20 words to communicate.
Everywhere you go as a new parent, they tell you "Two year olds should have 50 words when they turn two or you should be worried." When she said about two words at almost two (and we felt like we had evidence of her regressing since she seemed to have more words at 18 months), I took her to a speech therapist. She didn't think anything was "wrong" but was concerned about Ellie not having any words based on how clearly she seemed to understand. When I played the "speech therapy homework" games with Ellie, she would look at me like, "Have you lost your mind? This is bizarre. Talk to me like you usually do please." Or she would start laughing. I'm not kidding.
So I just went with my intuition and we didn't return for a third visit to the therapist and I stopped doing the games. Most days last summer were about trying not to get as frustrated as she was. And then she went to school and we quickly went from single words to three words together to full stories in just a few weeks.
But there were several months there when she didn't say anything and we couldn't help but wonder if we were finally seeing the potential long-term effects of her heart problems.
And each day I stand in the gratitude that this doesn't seem to be the case.
But here is the piece I really want you to hear today: Over the last three years, I've seldom shared Ellie's newest milestone, especially in short snippets on social media, because I've thought about all the moms out there who would give anything for their child to talk or run or clearly express emotions.
I didn't want to invite other moms to feel like I did in those moments when I wished we could just have a "normal" experience.
And along the way this spilled over into other areas of my life. I don't often share the celebrations about my business because I worry about the jealousy that can seem to be really present sometimes in our creative community. Or I worry that someone will begin to assume we are somehow rolling in money over here because one of my retreats sells out, when that person has no idea of what our financial situation is because those details are too personal for a blog or Facebook status.
I've even noticed myself not wanting to share the details of a really happy moment because I'm trying to be responsible for other people's feelings instead of letting them take care of themselves. I tend to share these moments like this Facebook status from a few weeks ago: This update could just say: homemade pizza in the oven, folk music in the air, Ellie and Jonny chatting and playing at the table. But those words would not convey how darn hard it is to be a parent and partner sometimes. Trying to just really notice when the beauty sneaks in amidst the everyday chaos.
It is important to note that I haven't felt like I've been stifling my stories. I share stories here and on Instagram every day. But, these pieces are still a part of my journey with social media and I think it is helpful to know that someone like me who shares a lot each day feels this way too.
And it isn't as though I think we shouldn't share the celebrations. Do I want mamas of healthy babies not to post their happy photos? NO! I want to see those happy chubby babies in my Instagram feed. Do I mean that I don't want my friends to celebrate their businesses and lives. NO! I am actually saying the opposite here.
But I think we need to have conversations about how to navigate all of this.
1) We have to be able to find our way in telling the truths of our own stories (from the big truths to the every day little stories) while being mindful of others who will be reading them in the middle of their day. Pausing before posting and just thinking about it all feels like one way to navigate this "instant sharing" many of us do daily. Maybe beginning to to integrate more kindness, toward ourselves and others, before we click "share" is a place to begin.
2) We need to begin to notice if we are actually experiencing the beauty of our lives while documenting it. Taking time to notice if I'm sharing details more than experiencing my life gives me clues about how I'm using social media. Can I really be experiencing a gorgeous day with friends if I'm spending half the time letting my Instagram buddies know every detail? Am I listening to my child tell a story if I'm interupting to say, "Wait, I just really want everyone to see how cute you look right now?" Only I know the answer to these and similar questions.
3) And then I think we have to be responsible for the way we navigate other people's stories. Maybe this means checking in more to see if this is really the right moment to check Facebook. Maybe this means going outside and taking five deep breaths when you notice yourself doing the "Check email. Check Facebook. Check Twitter. Check Pinterest. Check Instagram. Check other email. Repeat." dance on your phone. Maybe this means putting up a sticky note next to your laptop that says, "We all have a story." Or "Are you in the right space to respond to this?" Or simply "Check yourself." We talk about how teenagers are wasting time on social media or hurting one another and themselves, when we are doing this too...perhaps in different ways, but it is there.
These are the conversations I want to have and I hope you will join me. Let's come from a place of truth and love and an openness to understanding as we find our way together. I'm interested in hearing your thoughts just as I hope you will be open to mine.
Thanks for reading and being out there sharing your stories and walking beside me.


text:
Water-Based 'Engine' Propels Tumor Cells Through Tight Spaces in the Body
CONTACT: Phil Sneiderman
Office: 443-997-9907/Cell: 410-299-7462
prs@jhu.edu
Johns Hopkins researchers have discovered a new mechanism that explains how cancer cells spread through extremely narrow three-dimensional spaces in the body by using a propulsion system based on water and charged particles.
The finding, reported in the April 24 issue of the journal Cell, uncovers a novel way that the deadly cells use to migrate through a cancer patient's body. The discovery may lead to new treatments that help keep the disease in check. The work also points to the growing importance of studying how cells behave in three dimensions, not just atop flat two-dimensional lab dishes.
Based on such lab dish studies, cancer researchers had concluded that tumor cells require actin and other proteins to form arm-like extensions to "crawl" across the flat surfaces. This type of travel was believed to be the primary means of how cancer spreads within a patient, a process called metastasis. Based on this conclusion, researchers have been working on ways to disable actin and its molecular helpers, hoping this can keep cancer from spreading.
This illustration depicts how a cell can use a water-based "engine" to migrate through confined spaces in the body. Graphic by Martin Rietveld.
But in a study published in 2012, a Johns Hopkins team led by Konstantinos Konstantopoulos, chair of the Department of Chemical and Biomolecular Engineering, found that tumor cells could move through narrow spaces without using actin and its biochemical partners. "That was a stunning discovery, not in line with the prevailing beliefs about how cells migrate," Konstantopoulos said. "So we wanted to figure out exactly how the tumor cells were able to move through these spaces without relying on actin."
He collaborated with Sean X. Sun, a Johns Hopkins associate professor of mechanical engineering with experience in math modeling and physics at microscopic levels. "The mystery we needed to solve," Sun said, "was how the cells in these confined spaces could still move when you took away their usual 'engine,' the actin."
Kostantopoulos said Sun and Hongyuan Jiang, a postdoctoral fellow working in Sun's lab, "came up with a phenomenal mathematical model that provided insights into how the cells might use a different system to travel." Then Konstantopoulos and other team members, including Kimberly Stroka, a postdoctoral fellow in his own lab, used a microfluidic lab-on-a-chip and imaging techniques to conduct experiments establishing the new mechanism of migration proposed by Sun and Jiang's model. The tests utilized human and animal cancer cells. Stroka and Jiang were designated co-lead authors of the resulting journal article.
As reported in the article, the tumor cells' new "engine" turned out to be a combination of sodium-hydrogen ions, cell membrane proteins called aquaporins, and water. The researchers found that within tight spaces, cancer cells create a flow of liquid that takes in water and ions at a cell's leading edge and pumps them out the trailing edge, propelling the cell forward. In the actin-dependent migration model, the cell is pushed forward by the biochemical equivalent of a boat engine. The water-based mechanism, the researchers said, more closely resembles the way a sailboat is thrust ahead by gusts of wind. The team called this mechanism the Osmotic Engine Model.
"This discovery is important because it reveals one reason why some diseases like cancer don't always respond to certain treatments," Konstantopoulos said. Sun added, "It's because these diseases have redundant mechanisms—more than one method—for migrating through the body."
The Johns Hopkins researchers are applying for funds to conduct further research into physical and biological aspects of the Osmotic Engine Model. Their hope is that the work will uncover a way to shut down this biochemical engine and keep it from spreading tumor cells.
The multidisciplinary research at Johns Hopkins was conducted within the university's Institute for NanoBioTechnology and its Physical Sciences-Oncology Center. These organizations and the departments of Chemical and Biomolecular Engineering and Mechanical Engineering are based in the Whiting School of Engineering.
Co-lead author of the Cell article Stroka will join the faculty of the University of Maryland College Park as an assistant professor later this year. Whiting School postdoctoral fellow Jiang, the other lead author, also is now a professor at the University of Science and Technology of China. Kostantopoulos and Sun supervised the research and served as senior authors of the paper. Other co-authors, all from Johns Hopkins, were Shih-Hsun Chen, Ziqiu Tong and Denis Wirtz.
This work was supported by National Science Foundation grant NSF-1159823, National Cancer Institute grants U54-CA143868, RO1GM075305, RO1CA174388, T32-CA130840 and F32-CA177756, a Kleberg Foundation grant and National Natural Science Foundation of China grant NSFC 11342010.
An illustration depicting the Osmotic Engine Model is available; contact Phil Sneiderman.
Johns Hopkins University news releases are available online, as is information for reporters. Find more Johns Hopkins stories on the Hub.
April 30, 2014 Tags: biomolecular engineering, cancer cells, cancer research, celll migration, metastasis, osmotic engine model
Posted in Engineering, Medicine and Nursing, Technology

redpajama_set_name: RedPajamaCommonCrawl


Builders - renovation, extension, first floor addition, alteration, new home, attic conversion, garage, carport, bathroom renovation, kitchen renovation, deck and pergolas.
Form guide for feedback on Builders in your area!
Your Local Builder will contact you shortly.


Inhabited buildings must be maintained and kept in a safe and sanitary condition. Devices and safeguard required by the Code in effect when the building was built, repaired, or modified must also be maintained in good working order by the owner or the tenant.
A bathroom must be located within the dwelling, accessible to all occupants, and properly connected to an approved water and sanitary disposal system free from leaks, defects, and obstructions. It must contain a lavatory, toilet, and tub or shower. Bathrooms must afford privacy to the user and be accessible from within the building.
Minimum sanitary facilities also require at least 1 fully working kitchen. Kitchens must provide sanitary food preparation surfaces, food, and utensils storage areas (cabinets, drawers, etc.), a freestanding cook stove (no portable cooking equipment), and mechanical refrigeration for the storage of perishable food.
All plumbing fixtures must have an adequate supply of both cold and hot water distributed through an approved plumbing system with safe drains.
Each dwelling unit must have adequate garbage disposal facilities or garbage storage containers of a type and in a location for sanitary, temporary storage of household garbage.


The best thing to do is to heat in a glass dish soap and water on the stove and then brush clean with a toothbrush. Make sure you do not let the mixture boil soap comes as it can cause damage. To keep your jewelry at its best, remove your jewelry before doing house cleaning, go swimming, performing personal care such as bathing and using lotion or before exposing yourself to extreme heat or cold.If you do not have the appropriate amount of advertising, no one will know about you. As a result, you fail. Jewelry can make or break a dress, and can make or break a budget. By applying the above advice, you can shop for jewelry with more savvy, use it with more class and inform yourself about the finer points of style and accessories. Keep these tips in mind, if you want to shine like diamonds in the company politely.Swimming in a pool is another great reason to get rid of your fine jewelery for safekeeping. Every day can harsh chemicals fine jewelry serious damage, sometimes ruin it beyond repair. Combine your gold and silver jewelry. What used to be "so not in fashion" is considered modern and sleek now. Gold earrings can be worn with a silver necklace, or even a pair of gold and silver rings on one hand.All you have to do is take the padding out of the box, and then you can store several pieces of jewelry in there. This is a safe method for storing your jewelery. The most important aspect of choosing what jewelry to wear appealing design color- has its place, but the impact will have on straight piece observer impresses the color combination between the jewelry, skin, and clothing and other jewelry.


text:
Posted: March 10, 2014 / Categories Commercial, Insurance
Findings In SEC and NYSE Administrative Orders Do Not Trigger Dishonest Act Exclusion Under Professional Liability Policy
On February 28, 2014, Justice Ramos of the New York County Commercial Division issued a decision in J.P. Morgan Securities Inc. v. Vigilant Insurance Co., 2014 NY Slip Op. 50284(U), ruling that administrative orders by the SEC and a New York Stock Exchange hearing panel did not constitute a "judgment or other final adjudication" sufficient to trigger a Dishonest Acts Exclusion under a professional liability policy.
J.P. Morgan v. Vigilant, arose from regulatory investigations of Bear Sterns "for allegedly facilitating late trading and deceptive market timing on behalf of certain customers for the purchase and sale of shares in mutual funds." In connection with a settlement of its investigation, the SEC issued an order that "set forth 40 pages of detailed findings pertaining to Bear Stearns' facilitation of late trading and market timing practices," and concluded that Bear Stearns "willfully aided and abetted violations of the federal securities law." The order expressly stated that Bear Stearns was not "admitting or denying the findings." A similar settlement was reached with the NYSE, after which Bear Stearns settled 13 civil class actions lawsuits involving late trading and market timing allegations.
Bear Stearns' insurers disclaimed coverage, arguing that the SEC and NYSE findings triggered a Dishonest Act Exclusion in the applicable policies, which barred coverage for any claims
made against the Insured(s) . . . based upon or arising out of any deliberate, dishonest, fraudulent or criminal act or omission by such Insured(s), provided, however, such Insured(s) shall be protected under the terms of this policy with respect to any Claim(s) made against them in which it is alleged that such Insured(s) committed any deliberate, dishonest, fraudulent or criminal act or omission, unless judgment or other final adjudication thereof adverse to such Insured(s) shall establish that such Insured(s) were guilty of any deliberate, dishonest, fraudulent or criminal act or omission.
(Emphasis added).
The court rejected this argument, finding that "the settlements embodied in the Administrative Orders are not final adjudications or judgments establishing Bear Stearns' guilt in the underlying proceedings":
[A]lthough the Administrative Orders contain factual findings, it was the product of a settlement between Bear Stearns, the SEC and the NYSE. Bear Stearns consented to entry of the orders "[s]olely for the purpose of these proceedings and any another other proceedings brought by or on behalf of the Commission or to which the Commission is a party" . . . .
The factual findings were neither admitted or denied except as to the SEC's jurisdiction and the subject matter of the proceedings, and were not the subject of hearings or rulings on the merits by a trier of fact. To infer, as the Insurers urge, that the term "final adjudication" encompasses settlement of an administrative order, is to expand its reasonable interpretation beyond what is permitted under New York law. . . .
In its offer of settlement which preceded the SEC order, Bear Stearns expressly reserved the right to take contrary legal and factual positions in proceedings in which the SEC was not a party. Therefore, the Administrative Orders were the product of settlements and do not constitute a "judgment or other final adjudication" in the underlying proceedings establishing the excluded conduct.
This decision demonstrates the strict and narrow construction the New York courts apply to exclusionary provisions in insurance policies and serves as a reminder that counsel negotiating settlements in complex parallel proceedings should carefully weigh the insurance implications of any such settlements.


Norris, Pippa. "Measuring Electoral Integrity Around the World: A New Dataset." PS: Political Science & Politics 47.4 (October 2014): 1-10.
Many contentious elections end in disputes about alleged fraud, irregularities, and malpractices. How do we know when these claims are valid and when they are false complaints from sore losers? This article describes a new dataset developed by the Electoral Integrity Project. Based on a survey of election experts, the research provides new evidence to compare how national contests around the world are meeting international standards of electoral integrity. The questionnaire includes 49 key indicators clustered into 11 stages of the electoral cycle, as well as generating an overall summary Perception of Electoral Integrity (PEI) 100-point index. The evidence displays high levels of external validity, internal validity, and legitimacy. The PEI datasets allow researchers to gauge the perceived quality of elections worldwide. This study summarizes the PEI's research design, compares the quality of election around the globe, and illustrates how electoral integrity is linked with both democracy and development.


My route to work is the same every morning. I pass the same landmarks. I see the same fields and the countless trees that line the road. Although the wildlife is ever-changing, I usually see a variation of squirrels, birds, cattle, horses, and even a pig every now and then.
An influx of migrating birds have taken over the silence we had during the summer, and a tree fell down on our ministry's property during a storm a few months ago. The old computer game, Oregon Trail, comes to mind every morning as I pull into the driveway because there are just so many squirrels . . . and birds . . . out here these days!
All the autumn leaves have fallen for the year. Currently resting on the ground, they will soon be bagged up and tossed away.
Just yesterday, on my usual drive, I noticed a beautiful, grandiose home to the left of me. In all my years driving down the same path, I had never noticed this property. The trees that stood before it were leafless now, and the house was more visible.
My field of vision shifted when the leaves fell, and my eyes were filled with awe and wonder. The trees, now barren, exposed a magnificent property and I was so glad to see it!
Something had to die for beauty to be revealed.
When wheat flowers relinquish their kernels to the earth, they will germinate into more wheat flowers. This is a continuous cycle with every new harvest. The wheat flower is buried and grows to new life.
By laying itself bare, it bears more fruit.
This illustration is depicting Christ's earthly death so that we, though sinners, may have salvation. In Christ, we are a new creation. The old is wiped away; the new has come (2 Corinthians 5:17). In many ways, this illustration also reminds me of the importance of our death to self. There are many distractions that keep us from experiencing the true beauty of Christ, the peacefulness, the awe and wonder of all that He is. Our field of vision shifts away from Him and hones in on earthly possessions. Just as the trees grew barren, we must lay bare before Him. Like the kernels fall, we must relinquish those things that do not bring glory to Him. Freedom from these distractions will allow the peaceful, abundant beauty of Christ to reveal itself in our lives.
Are there things in your life that need to die for the true beauty of Christ to be revealed? Anything you would like to lay bare before Him?
How may we be praying for you?


ACCA Executive Director, Cynthia Carter Perrilliat, participated in a panel discussion on Future care: Giving + Getting at the End Well Symposium on December 7, 2017 in San Francisco.
With so many aspects of health care in disarray and massive numbers of baby boomers on the edge of "elderhood," there is an urgent system-wide opportunity to catalyze and support a better ending than the current status quo. Caregiving, serving the needs of underserved communities, adaptive policy, medical discoveries – the scope of need is broad for innovative cross-disciplinary collaboration. Future Care explores the synergies that can reinvent its application and usher in a new era of humanistic values and holistic care for every stage of life.
For more information on End Well and the Symposium, go to https://www.endwellproject.org/.


Please answer the questions you will be asked as completely and carefully as you can. These questions are asked of everyone who works with cadmium. You will also be asked to give blood and urine samples. The doctor will give your employer a written opinion on whether you are physically capable of working with cadmium. Legally, the doctor cannot share personal information you may tell him/her with your employer. The following information is considered strictly confidential. The results of the tests will go to you, your doctor and your employer. You will also receive an information sheet explaining the results of any biological monitoring or physical examinations performed.
(3) See if you can wear a respirator safely.
(b) to prevent kidney damage.
1.  How long have you worked at the job listed above?
3.  Have you ever been told by a doctor that you had bronchitis?
4.  Have you ever been told by a doctor that you had emphysema?
5.  Have you ever been told by a doctor that you had other lung problems?
6.  In the past year, have you had a cough?
If yes, did you cough up sputum?
If yes, how long did the cough with sputum production last?
7.  Have you ever smoked cigarettes?
8.  Do you now smoke cigarettes?
smoked, or did you smoke?
What is or was the greatest number of packs per day that you have smoked?
If you quit smoking cigarettes, how many years ago did you quit?
How many packs a day do you now smoke?
11. Have you ever had any of these disorders?
took your blood pressure that your blood pressure was high?
13. Have you ever been advised to take any blood pressure medication?
14. Are you presently taking any blood pressure medication?
15. Are you presently taking any other medication?
If yes, do you presently see a doctor about your diabetes?
If yes, how do you control your blood sugar?
normal or sooner than other people your age?
If yes, for how long have you felt that you tire easily?
20. Have you given blood within the last year?
How long ago was the last time you gave blood?
21. Within the last year have you had any injuries with heavy bleeding?
22. Have you recently had any surgery?
23. Have you seen any blood lately in your stool or after a bowel movement?
24. Have you ever had a test for blood in your stool?
If yes, did the test show any blood in the stool?
The following questions pertain to the ability to wear a respirator.
25. Have you ever been told by a doctor that you have asthma?
26. Have you ever had a heart attack?
27. Have you ever had pains in your chest?
If yes, when did it usually happen?
28. Have you ever had a thyroid problem?
29. Have you ever had a seizure or fits?
30. Have you ever had a stroke (cerebrovascular accident)?
31. Have you ever had a ruptured eardrum or a serious hearing problem?
you to wear a respirator?
The following questions pertain to reproductive history.
33. Have you or your partner had a problem conceiving a child?
miscarriage, still birth or deformed offspring?
38. What is the occupation of your spouse or partner?
39. Do you have menstrual periods?
Have you had menstrual irregularities?


text:
Fosen Yard ist eine Schiffswerft mit Sitz in Rissa in der norwegischen Gemeinde Indre Fosen am Trondheimfjord. Der Name leitet sich von der Halbinsel Fosen ab, auf der sich der Unternehmenssitz befindet.

Geschichte
Bereits seit 1918 hatte das Unternehmen Frengen Slip & Motorverksted in Rissa technische Dienstleistungen im Schiffbau angeboten. 1962 kaufte der Norweger Jens Bye den Betrieb und baute ihn zu einer Schiffswerft aus. 1972 verlegte die Werft ihren Standort an die heutige Stelle und wurde in Fosen Mekaniske Verksteder (FMV) umbenannt. FMV A/S befand sich von 1962 bis 2007 im Besitz der Familie Bye. Zur Fosen Yards Holding gehören:
 Fosen Mekaniske Verksteder A/S in Rissa, Norwegen
 Landskrona Varvet AB (vormals Bruces Shipyard) in Landskrona, Schweden
Ende April 2008 gab die norwegische Bergen-Gruppe, eine Gruppe von sechs Investoren, die Übernahme der Holding in die Bergen Group Shipbuilding Division bekannt. Danach bis 2014 firmierte das Unternehmen als Bergen Group Fosen.

Das Unternehmen beschäftigte Ende 2008 310 eigene Mitarbeiter, weitere 360 Mitarbeiter waren bei den Zulieferfirmen beschäftigt. Davon sind 250 im Unternehmensteil Bergen Group Fosen sowie 60 bei Bergen Group Landskrona angestellt.

Im Herbst 2018 übernahm das Unternehmen die Mehrheit der in Emden ansässigen Nordseewerke. Seit April 2019 ist die Werft vollständig im Besitz von Fosen Yard, das Tochterunternehmen firmiert nun als Fosen Yard Emden GmbH. Am 1. Juni 2022 meldete die Emder Werft Fosen Yard Insolvenz an.

Gebaute Schiffe (Auswahl)
Die nachfolgende Liste gibt einen Überblick über einen Teil der Schiffe, die bei Fosen Yards entstanden oder fertiggestellt wurden. Die Daten beschreiben die Schiffe zum Zeitpunkt der Ablieferung. Spätere Umbauten sowie Änderungen des Namens bzw. des Eigners sind nicht berücksichtigt.

Weblinks

Einzelnachweise

Werft (Norwegen)
Wirtschaft (Trøndelag)
Indre Fosen

redpajama_set_name: RedPajamaWikipedia


text:
Posted tagged 'golf'
« Arcade Heroes home page
Incredible Technologies reveals Golden Tee 2011
If there is anything you can be absolutely sure of in the arcade industry, it's that a new Golden Tee will make it's way to the market near the end of each year. Incredible Technologies has unveiled the first shots of the next installment of the series, Golden Tee 2011. At the moment they aren't talking about new features that will be added to the game but we can safely assume that it will continue to make use of an internet connection, as well as adding new courses, equipment and clothes.
Since all they are showing right now are some shots of course then all we can comment on are appearances. These are beta shots so the final version will look different but if there is anything that they do add graphically I hope they turn on anti-aliasing as in all of the screens shown the jagged edges stand out. Of course what would really be nice is to see the game move on to a level one would expect to see on a modern graphics engine such as Crytek or Unreal 3. Not that such a thing will probably happen as there are licensing costs involved with such engines and the costs behind HD artwork for such engines is high but it still would look much nicer.
There are a few more details on the Golden Tee Blog
[Via HighwayGames] [GoldenTee.com]
Categories: Arcade Games
Tags: arcade, Golden Tee 2011, golf, Incredible Technologies
Let's talk some virtual golf
Sega's Go Go Golf
When Kevin (Stinger Report) sent me this particular link, I wasn't really sure how to best approach but as it's a pretty slow news day, I figured I'd take a crack at it anyways. That and the Masters is taking place and there is plenty of talk revolving around that mostly due to Tiger Woods' involvement so let's talk some golf.
Or more specifically golf simulators, which have been covered on this site to some degree before. This recent article which popped up on G4TV talks about some high-end golf simulators and how they have developed over time but it seems to miss the point – while there certainly are some individuals who could be prone to picking up something like this for themselves, golf simulators like the one discussed in the article have plenty of application in out-of-home entertainment venues. One such venue which is known to feature golf simulation is Dave And Busters; I have heard of some other FEC's which also feature either a golf or some other sports simulator; as pictured above, Sega produced Go Go Golf for entertainment venues a while back; there also is a company called Visual Sports which has a simulator setup which has a version of their equipment which is specifically tailored to coin-op, Visual Sports. These also can be great for stores which sell golf equipment, as the simulator lets the customer try out the equipment in a virtual environment before they buy. And of course if you want to downsize from there we have system's like Golden Tee, Power Putt, Putt: Championship Golf and X-Putt which do allow people to experience a virtual golf experience without plunking down thousands of dollars to do so.
The writer states:"more specialized golf simulators and games have been been developing almost in a separate universe from mass-appeal video games since at least the 1980s". Which is true but why would they develop in a separate "universe" from mainstream games? Because certain media outlets choose to ignore them because they can't be bought at a local retailer. I can understand the lack of appeal in covering simulators on a daily basis but there are plenty of perfectly good golf games which are routinely ignored in the same manner as their larger simulator cousins, simply because they are coin-op. Just because you can't find these games on the Wii doesn't change the fact that they are big business (especially Golden Tee) and have contributed to gaming in their own way.
You can see an example of what I am talking about this in the article as they link to a video called "X-Play's Top Five Golf Games." They pick five golf games and talk about how influential they are, all while acting like Golden Tee doesn't exist. And whether you like GT or not, you cannot ignore the fact that it literally has millions of fans who have been playing it for 21 years. GT is consistently one of the top-selling coin-op games out there, making far more money for the company who produced it (Incredible Technologies) and subsequent locations who host the game than any of their top five picks could ever hope to make for their respective publishers. But to wrap it up, no one can make the point more forceful than IT themselves, who has already taken on that segment of gamers who ignore/mock/misunderstand the influence of GT in the past.
Aside from that what are your own thoughts on virtual golf simulators?
Tags: golf, Simulators, virtual golf
Let's talk some virtual golf
Electrocoin introduces X-Putt
Back in the Golden Age of gaming, it wasn't uncommon to see businessmen in suits taking a break at the local arcade to blow off some steam but as that age passed, it became less common to see such a thing. But with a recent resurgance in games based around putting, maybe this is a way to pull in such business persons into arcades again. Of course it is a stereotype that all business people enjoy golf – as a small business man I don't care much for it personally although I don't mind it so much in a video setting.
And so we now have the X-Putt, by European distributor Electrocoin. Not only do you putt as a game but you can also win cash with this one if the operator so chooses to offer that. If not it can be setup just for fun or for tickets, aloowing it to go into a wide range of locations. According to the info we were sent, this is being made available for export as well so you could see this in the US and elsewhere very soon.
[Discuss on the Forums]
Tags: arcade, Electrocoin, golf, putting, X-Putt
Golden Tee goes to the lotto
We all know that one of the best ways for a company to survive in a downturn is to keep your name and product visible to the public with effective marketing and there are many ways to go about doing that. Incredible Technologies has come up with an interesting idea for promoting their Golden Tee series – by having a state issue a Golden Tee themed lottery ticket. Apparently the state of Illinois has done this before and now South Carolina is follwing their lead by issuing a $2 scratch-off ticket where one person could win up to $20,000. Where SC is a major state for golfing this seems to be a wise choice for target marketing – I wonder if we will see any other arcade games show up in similar marketing campaigns in the future.
On top of this, I nearly missed a story where IT is beginning a new phase in their Silver Strike Bowling online efforts with the Bowlapalooza series of tournaments this summer. The Bowlapalooza tournaments will begin in May and IT will be awarding thousands of dollars in prizes throughout the entire summer to the top 200 SSB players and this certainly will make SSB online games a hot item in many locations over the next few months. More details are contained in the press release after the break.
[Incredible Technologies] [Discuss on the Forums]
Tags: Golden Tee, golf, Incredible Technologies, lotto, Silver Strike Bowling
Golden Tee LIVE 2009 ships Monday Oct. 13th
Incredible Technologies has announced that they will begin shipping the latest installment of the Golden Tee series this coming Monday, which is great news for fans of GT who have been waiting patiently for this game. Operators will also be happy to know that location test earnings have been "phenomenal" for the game and I know from AMOA that it also carries a low price tag to boot. We'll have to keep an eye out for the youtube page where user videos will show up on, that's one aspect of the game I'm interested in seeing function.
While this Monday marks the release of the game in the US and Canada, it will be shipping elsewhere around the world, including Europe, Australia, and South Africa within the next 4-6 weeks.
[Incredible Technologies Golden Tee website] [Discuss on the Forum]
Categories: Arcade Coverage, Arcade Games, Arcade Software, Golden Tee, New games
Tags: arcade, Golden Tee LIVE 2009, golf, Incredible Technologies, New games, Sports
Golden Tee LIVE 2009 goes on sale Aug. 4th, shipping in September
I've been hearing a lot of hints floating around that there are a lot of big announcements coming from arcade companies this fall (in particular at the AMOA show) and from what I can tell without getting into many details (as I can't at the moment since I don't actually know many of the details), this fall is going to see some good changes along with many great games coming our way, making 2008 the best year for arcades this decade.
To start that off we have an update from Incredible Technologies regarding their flagship franchise, Golden
Golden Tee in 1989
Tee. As you may know, the first Golden Tee came out in 1989 and they have been going strong ever since. To celebrate the 20th anniversary of the game, IT is going to put GT2009 Live on sale next week on August 4th and the game will ship in mid-September. The new version of GT will sport some cool new features including Youtube Great Shot Replays where players can upload their shots to Youtube; customized clothing; Closest-to-the-Pin LIVE, a new tournament mode where players can win $50; the Hit List, which will bring new music to the game and will first feature the Dave Matthew's Band; and new clubs from Callaway, Odyssey and Top Flite Equipment, considered to be the best golf club manufacturers in the world. On top of all this there are new courses as well as a player-designed course that we spoke of some time ago.
For more details, check out the press release after the break!
[Incredible Technologies] [Discuss on the Forum]
Categories: Arcade Coverage, Arcade Games, Arcade Gaming, Arcade Software, Golden Tee, Incredible Technologies, New games, Online play
Tags: arcade, Golden Tee, golf, Incredible Technologies, New games, Online arcade game
Visual Sports lays the smack down on Wii Sports
I know a lot of people get the Nintendo Wii simply because of it's pack-in game and maybe a few other titles. That can be good and bad for Nintendo as it gets the foot in the door but so far attach rates on the system are fairly dismal as a lot of people just focus on Wii Sports or Wii Play. I don't personally and I have several other games and Wii Sports is fun and has also proven that simple and innovative is an excellent way to get into the market (and dominate it in terms of monthly sales). But there is a step up above what you can do with Wii Sports in the arcade thanks to technology from a company called Visual Sports. Now they can actually get you setup with one of their systems at home but where the price isn't listed on the page, expect sticker shock. But for a larger experience, they do offer these systems for entertainment venues such as arcades, FECs, fitness centers, sports clubs and shops, sporting events and more.
There are two coin-op systems currently available from Visual Sports – RealSports MAX and RealSoccer Junior. RealSports MAX is an upgrade from a previous RealSports system labelled classic where the player can choose from 6 different sports games and face off against virtual opponents. The games include Golf, Soccer, Hockey, Baseball, Football, and Basketball and it also allows for future software upgrades. This one is certainly an attraction game in part because of it's size but also because of the interactivity it offers – no handheld remotes to play with and pretend that you're throwing a ball or swinging a club – you actually can throw a ball and the tracking system will translate it onto the screen. You might recall our story some time ago on Sega's Go Go Golf which is very similar although Visual Sports has been around for a while and has been pioneering the technology for sometime now.
RealSports Junior looks like Kick It! Junior but with an HD screen and much improved graphics. I imagine that the motion detection has been improved over Kick It as well. The cabinet looks nice and although it's pretty large it's another piece that will attract a lot of attention.
The nice thing about both systems is that they don't require an attendant and they can be modified to run redemption. I don't know the pricing structure on these yet so I'll try not to speculate further on that but every time a system like this is put in at a location it becomes an instant earning tool. There is a video of the system in action but when I play it, it locks up quickly.
[Visual Sports website] [Discuss on the Forum]
Categories: Arcade Games, Arcade Hardware, Simulators
Tags: arcade, baseball, basketball, football, golf, hockey, RealSports, simulator, soccer, Sports, Virtual Reality, Visual Sports
Pro Golf Simulator
(Click on the images to enlarge, images via Gizmag)
This is a bit old already but since Arcade Heroes wasn't around when it came out so it's better late than never. This Pro Golf Simulator can be used anywhere including the home and retails (or retailed in case it is no longer available) for between 1,500 and 19,000 Euros (depending on the model and size you want).
According to the website, Pro Golf Simulator is quite accurate in the simulation of the aforementioned title where the player can use real clubs and real balls where the computer calculates the results based upon the movement detected in the chamber as well as where the ball hits. Results can be projected to the main screen or to a separate monitor on the outside of the enclosure. On top of this one can build their own golf course for the ultimate custom experience. In addition to providing a fun simulation, it can also be used to help buyers decide what kind of clubs work best for them and help them improve their game, all before they get out to the courses.
This seems similar to Konami's MoCap Golf although it's better since you can use real golf clubs/balls if you wish. Could something like this become more common on the arcade scene? Only time will tell.
[Pro Golf Simulator @ Gizmag.com] [Discuss on the Forum]
Categories: Arcade Simulators
Tags: golf, Simulators
About Arcade Heroes
Looks like my MaxiTune 5DX+ kit won't be in until Monday, so let's highlight some arcade history. Ms. Pac-Man launc… twitter.com/i/web/status/1… 2 days ago
RT @ArcadeRepair: Man, they just can't catch a break. The Sea Cave Arcade, who had just reopened their doors after an axe-wielding man had… 2 days ago
Happy birthday to Ms. Pac-Man! twitter.com/BandaiNamcoAM/… 2 days ago
Maximum Tune 5DX+ kits have begun shipping in North America; Network now live: #gamingnews #arcade arcadeheroes.com/2022/01/12/ban… 3 days ago
In case you missed it, here are various arcade games turning 50, 40 and 25 this year: arcadeheroes.com/2022/01/11/the… 3 days ago
Bandai Namco Amusements Launches Maximum Tune 5DX+ In North America
The Arcade Anniversaries of 2022 (25, 40 & 50 Year Milestones)
Newsbytes: Arcade 1up Pro, Funhouse 2.0 & Some Other Assorted Arcade News
Pre-Orders Open For Akai Katana/Crimson Katana EXA Label
Stern Pinball Unveils Details on Rush
Sega Launches Mission: Impossible Arcade DX in North America & Europe
2021 Year-In-Review With The Top 10 Posts
IAAPA 2021: The Final Round-Up
'Furious' By Raw Thrills Seen On Test At Dave & Busters Addison
Stern Pinball Teases Their First Game Of 2022 – Rush
AMOA Amusement arcade Arcade business Arcade Cabinets Arcade Games Arcade Location Arcade Locations arcades art Atari ATEI bemani Big Buck Hunter Big Buck Safari Blazblue Bowling business Capcom China classic coin-op Competition Dark Presence DJ Max Technika event FEC fighters GlobalVR Guitar Hero H2Overdrive IAAPA IGS Incredible Technologies interview JAMMA Japan Jubeat Konami Let's Go Island light-gun location Location Test metal gear arcade Movie Namco New games Pac-Man Pinball Play Mechanix podcast poll Press release racing Rambo Raw Thrills redemption retro Review Sega simulator SNK Space Invaders Stern Street Fighter IV Taito Tank! Tank! Tank! Tekken 6 The Stinger Report Tournament UK Video video games videos Website
Hairstyles on Console gaming to invade out-of-home venues with the Game Gate machine
soft play on Missing in Action: Space Games
Benny on Eternal Wheel on Location Test
integeradores de sistemas on Sega Rally 3: Hands-on impressions
Marcus on Arcade Games On The Rise
スプラトゥーン 必勝パターン on Want in on The Act?
luis miguel on OutRun 2 SP Super Deluxe "Officially available" in the US
Michaeltip on Shaggy's Review: Blazing Angels by GlobalVR
tutorialspoint.com on Kansas declares coin pusher redemption games as "illegal gambling devices" while state brings casinos in
Sheena on Kansas declares coin pusher redemption games as "illegal gambling devices" while state brings casinos in
Josefa on Arcade Games On The Rise
reynardo godoy on Three New Games Listed On Highway Games
Plinio Maurício Lisbôa Costa on 100% Arcade Brasileiro – GP Brasil
Simon on A look back at Virtuality
Christine on Arcade Games On The Rise


text:
'Superstar' or 'ogre'? Rauner's new CFO has been called both
Photo via YouTube
Donna Arduin
(Bloomberg) — Since Republican Bruce Rauner was elected governor in November, the dominant question in Illinois has been how the private-equity veteran would tackle the finances of a state whose governance has been compared with that of teetering Greece. The answer is Donna Arduin.
While the economic consultant whom Rauner named last month as chief financial officer is largely unknown in national circles, she's served Republican governors intent on shrinking governments through tax cuts, privatization and social-spending cuts from California to Florida. Her business partner is Arthur Laffer, whose so-called supply-side economics suggests lower taxes produce activity and thus revenue.
"She's the high priestess of the Laffer curve," said Dan Gelber, the former Democratic leader of the Florida House of Representatives when Arduin was budget director under Governor Jeb Bush. "It's deja voodoo economics all over again."
• Rauner's CFO Arduin sharpens ax for Illinois budget
• Rauner signals big spending cuts on the way
• Rauner preps for budget hardball
As a founding partner of Tallahassee, Florida-based Arduin Laffer & Moore Econometrics, which promotes the elimination of state income taxes, Arduin's advocacy of austerity defines the coming budget battle. Illinois is riddled with deficits, unpaid bills and tarnished credit.
"It's the biggest turnaround in America," Rauner, 58, has been telling audiences in a road show to prepare voters in the Democratic-leaning state for the fight over his budget, which he'll present Feb. 18.
THINKING SMALL
Although Rauner has provided few specifics, his repeated criticism of Illinois government and his argument that spending is hindering economic development mirror the national Republican message of smaller government.
Arduin, who declined through Rauner spokesman Lance Trover to be interviewed or to give her age (she's a 1985 graduate of Duke University in North Carolina) has been tested in similar battles.
Her firm advised Oklahoma to eliminate its state income tax in a 2011 report, saying it would "create a long-lasting economic boom, benefiting generations to come."
And Laffer recommended that Kansas Republican Governor Sam Brownback push to roll back that state's income tax. The legislature agreed and the state now faces a projected budget gap next year of more than $700 million as revenue losses from the tax cuts were greater than projected. Brownback has proposed consumption tax increases to close part of the hole.
POWERFUL BOSSES
Conservatives applaud Arduin's approach as overdue discipline for spendthrift states. She's advised two potential Republican presidential candidates—Bush and U.S. Senator Marco Rubio, of Florida.
"I joined government to shrink it," Arduin declared in a 2006 article in Duke Magazine, defining her role as a budgetary Grim Reaper.
There's plenty of material for Arduin to work with in Illinois. The state faces a projected $9 billion shortage next year, as well as $111 billion in unfunded pension liabilities.
Rauner, who calls Illinois' path unsustainable, says she is a "superstar." Supporters applaud her intelligence and attention to detail.
"She's whip-smart and very direct," said H.D. Palmer, deputy director of the California Department of Finance, who worked with her in 2003 and 2004, during the first year of Schwarzenegger's two terms in office.
"She's a conservative who's very much focused on balanced budgets, and she had to implement a lot of difficult decisions," Palmer said.
TOUGH TRUTHS
A Michigan native who graduated from Duke with degrees in economics and public policy, Arduin worked as an analyst at Morgan Stanley. In 1991 she was hired as a deputy budget director in Michigan, where Republican Governor John Engler faced a $2 billion deficit.
Jeff McAlvey, who was Engler's legislative director, said Arduin was tough.
"She wasn't afraid to tell people their program didn't make sense," he said.
The Michigan budget was balanced without raising taxes. Her experience there set the foundation for budget-cutting in Florida and California, where her direct approach drew pushback from legislators, Democratic and Republican alike.
MEETING DEFEAT
In Florida, where she was Bush's budget director and later a consultant to then-House Speaker Marco Rubio and Republican Governor Rick Scott, she pushed to close the state library, privatize prisons and eliminate the corporate income tax. Those ideas were rejected. So, too, was a plan to repeal property taxes, in exchange for raising the state sales tax.
Mike Fasano, a former Republican leader in the state House, said budget-cutting in rapidly growing Florida "was something new for legislators to consider."
"She came in with a philosophy that sounded good but was extremely difficult to put in place: privatize prisons, eliminate property taxes, cut services to individuals," said Fasano, now tax collector in Pasco County. "It just isn't realistic."
"Sometimes, they come in with these grandiose ideas that just aren't going to happen," Fasano added. "They don't appreciate the impact some of these decisions have on working people."
California offers a potential preview of a clash in Illinois.
Just as Rauner is succeeding Democratic Governor Pat Quinn, Arnold Schwarzenegger replaced Gray Davis after a historic recall election. California faced a deficit of $15 billion when Schwarzenegger took office in October 2003. Another $15 billion payment on short-term notes was due, aggravating the cash crisis. Arduin helped steer through cuts in social programs and aid to local governments.
The battle was marked by fights over reductions in aid to the developmentally disabled, as well as a proposal to lift a state mandate that animal shelters keep stray dogs and cats as long as six days before killing them.
"Democrats and Republicans had different visions of California's future," said Scott Graves, research director at the California Budget Project.
Arduin left California after 11 months and formed her consulting firm with Laffer in 2005.
While Illinois has been on a long slide—it's the lowest- rated state and has the worst-funded public pension system—Rauner's election should provide a quick test of the Republican argument that governments should embrace more private-sector based approaches to governing.
Arduin is accustomed to flak. In California, then Senate President Pro Tem John Burton, a Democrat from San Francisco, called her an "ogre" for ending some eyeglass and dental work for Medicaid recipients in Florida.
Soon thereafter she placed a sign on her office door in Sacramento reading "OGRE XING."
• Rauner says he wants to curb government unions
• Six things to look for in Rauner's first State of the State


When an application stores an object in or removes an object from a session, the session checks whether the object implements HttpSessionBindingListener. If it does, the servlet notifies the object that it has been bound to or unbound from the session. Notifications are sent after the binding methods complete. For session that are invalidated or expire, notifications are sent after the session has been invalidated or expired.
When container migrates a session between VMs in a distributed container setting, all session attributes implementing the HttpSessionActivationListener interface are notified.
A servlet should be able to handle cases in which the client does not choose to join a session, such as when cookies are intentionally turned off. Until the client joins the session, isNew returns true. If the client chooses not to join the session, getSession will return a different session on each request, and isNew will always return true.
Session information is scoped only to the current web application (ServletContext), so information stored in one context will not be directly visible in another.
As of Version 2.2, this method is replaced by getAttribute(java.lang.String).
Returns a string containing the unique identifier assigned to this session. The identifier is assigned by the servlet container and is implementation dependent.
Actions that your application takes, such as getting or setting a value associated with the session, do not affect the access time.
An interval value of zero or less indicates that the session should never timeout.
Returns the maximum time interval, in seconds, that the servlet container will keep this session open between client accesses. After this interval, the servlet container will invalidate the session. The maximum time interval can be set with the setMaxInactiveInterval method.
A return value of zero or less indicates that the session will never timeout.
Deprecated. As of Version 2.2, this method is replaced by getAttribute(java.lang.String).
Binds an object to this session, using the name specified. If an object of the same name is already bound to the session, the object is replaced.
After this method executes, and if the new object implements HttpSessionBindingListener, the container calls HttpSessionBindingListener.valueBound. The container then notifies any HttpSessionAttributeListeners in the web application.
If an object was already bound to this session of this name that implements HttpSessionBindingListener, its HttpSessionBindingListener.valueUnbound method is called.
If the value passed in is null, this has the same effect as calling removeAttribute().
Removes the object bound with the specified name from this session. If the session does not have an object bound with the specified name, this method does nothing.
After this method executes, and if the object implements HttpSessionBindingListener, the container calls HttpSessionBindingListener.valueUnbound. The container then notifies any HttpSessionAttributeListeners in the web application.


text:
Home Pop Culture Jennifer Lopez reveals her World Of Dance finale look
Jennifer Lopez reveals her World Of Dance finale look
Brittany Nicole
WORLD OF DANCE — "World of Dance" — Pictured: (l-r) — (Photo by: Trae Patton/NBC)
J. Lo is one of the most stylish people in the business. No matter where she is; walking down the street, on a red carpet, in a music video or performing live–J. Lo is always ahead of the game.
During season one of her hit NBC dance competition show World Of Dance that also features Neyo, Jenna Dewan Tatum and Derek Hough–It wasn't just the dancing people were talking about. Jennifer has had fans going crazy over her outfits on the show. Every week Lopez has worn show stopping looks by Gucci, Valentino and Rosario.
From the makeup, hair, accessories and shoes every look as had that touch of J. Lo glamour. Now everyone is wondering what Lopez will wear during the finale that airs next week. Well, according to Instyle Jennifer plans to wear a strapless dress by Balmain with Christian Louboutin heels. The look is fierce, sexy and will definitely have heads turning. Not only are fans excited to see her next look for the show but, who will win the one million dollar prize. To see what happens watch the World Of Dance finale August 8th on NBC at 10 pm eastern time. To see Jennifer's finale look here's a sneak peak below.
https://twitter.com/makeupbnicole
Brittany Nicole is a native of Ohio who recently graduated from the QC Makeup Academy to become a makeup artist and fashion stylist. Recently Brittany started her own beauty blog called "The Beauty Mill" which she features on her social media pages. Her dream is to become a successful, makeup artist, journalist and beauty blogger.


Photos from last year's Lit Crawl LA: NoHo by Rosalind Helfand.
The second-ever Lit Crawl LA: NoHo returns this Wednesday evening, Oct. 22, from 7 p.m. to midnight–and getting there via Metro is as easy as A-B-C!
Over 170 writers, literary organizations, and series will offer free readings and cultural events at 30 venues along Lankershim and Magnolia Boulevards. Each Lit Crawl location is within walking distance of the other, and of course, the entire NoHo Arts District is reachable by Metro Red Line, Orange Line, or bus. Simply hop on the Red or Orange Line to North Hollywood Station, or bus lines 152/353, 156/656, or 183 to Lankershim/Chandler.
Lit Crawl LA is organized into three 45-minute phases. At each phase, visitors chose from a diverse program of 10 to 12 events. The night ends with a "speakeasy" party at the Federal Bar at 10 p.m. All events are free to attend, however, food and drink are not included. That's where Metro can help again: present your valid TAP card at the Federal Bar or Bow and Truss restaurant and save 10% and 15% on food, respectively. Just keep in mind that Metro Rail and Orange Line close around midnight Sunday through Thursday.


text:
from enum import Enum
from typing import TYPE_CHECKING, Any, Sequence

from airflow.exceptions import AirflowException
from airflow.providers.amazon.aws.hooks.glacier import GlacierHook
from airflow.sensors.base import BaseSensorOperator

if TYPE_CHECKING:
    from airflow.utils.context import Context

class JobStatus(Enum):
    """Glacier jobs description"""

    IN_PROGRESS = "InProgress"
    SUCCEEDED = "Succeeded"

class GlacierJobOperationSensor(BaseSensorOperator):
    """
    Glacier sensor for checking job state. This operator runs only in reschedule mode.

    .. seealso::
        For more information on how to use this sensor, take a look at the guide:
        :ref:`howto/sensor:GlacierJobOperationSensor`

    :param aws_conn_id: The reference to the AWS connection details
    :param vault_name: name of Glacier vault on which job is executed
    :param job_id: the job ID was returned by retrieve_inventory()
    :param poke_interval: Time in seconds that the job should wait in
        between each tries
    :param mode: How the sensor operates.
        Options are: ``{ poke | reschedule }``, default is ``poke``.
        When set to ``poke`` the sensor is taking up a worker slot for its
        whole execution time and sleeps between pokes. Use this mode if the
        expected runtime of the sensor is short or if a short poke interval
        is required. Note that the sensor will hold onto a worker slot and
        a pool slot for the duration of the sensor's runtime in this mode.
        When set to ``reschedule`` the sensor task frees the worker slot when
        the criteria is not yet met and it's rescheduled at a later time. Use
        this mode if the time before the criteria is met is expected to be
        quite long. The poke interval should be more than one minute to
        prevent too much load on the scheduler.
    """

    template_fields: Sequence[str] = ("vault_name", "job_id")

    def __init__(
        self,
        *,
        aws_conn_id: str = 'aws_default',
        vault_name: str,
        job_id: str,
        poke_interval: int = 60 * 20,
        mode: str = "reschedule",
        **kwargs: Any,
    ) -> None:
        super().__init__(**kwargs)
        self.aws_conn_id = aws_conn_id
        self.vault_name = vault_name
        self.job_id = job_id
        self.poke_interval = poke_interval
        self.mode = mode

    def poke(self, context: 'Context') -> bool:
        hook = GlacierHook(aws_conn_id=self.aws_conn_id)
        response = hook.describe_job(vault_name=self.vault_name, job_id=self.job_id)

        if response["StatusCode"] == JobStatus.SUCCEEDED.value:
            self.log.info("Job status: %s, code status: %s", response["Action"], response["StatusCode"])
            self.log.info("Job finished successfully")
            return True
        elif response["StatusCode"] == JobStatus.IN_PROGRESS.value:
            self.log.info("Processing...")
            self.log.warning("Code status: %s", response["StatusCode"])
            return False
        else:
            raise AirflowException(
                f'Sensor failed. Job status: {response["Action"]}, code status: {response["StatusCode"]}'
            )

redpajama_set_name: RedPajamaGithub


Situated in a small village, close to Conwy, Llandudno, great beaches and the Snowdonia National Park, Snowdonia View commands spectacular sea and country views. A great house for family celebrations.
A Grade II listed, National Trust 18-bed bunkhouse in Snowdonia National Park. The perfect base for groups looking to explore the great outdoors and enjoy activity-based weekends with friends.
A very elegant Edwardian property built in an elevated position with breathtaking views of The Conwy Valley and Snowdonia. Luxury 7 bedroom Hotel with Restaurant ideal for group celebrations.
Grade 2 listed harbourmaster's villa right on the beach with good quality facilities for a family get together, friends reunion, well-behaved celebrations or just a relaxing holiday.
Nestled amongst spectacular scenery, between a river and a network of mountain footpaths, the lodge is ideal for groups of outdoor enthusiasts, offering accommodation for up to 20 persons.
Comfortable barn style accommodation on a peaceful working farming, in the heart of the Conwy Valley with excellent access to Snowdonia. Wonderful for groups. Also romantic cottage for 2 next door.
Orme View has a fantastic location opposite Llandudno promenade and pier and only 1 minute walk to the town centre. By Great Orme and near Snowdonia. Sleeps up to 24. Hot tub. Pet friendly.


With over 19 years experience providing Apple Mac Services in Taston, we've fixed thousands of desktop , laptop and tablet Macs, including many Macbook Air computers.
Remember, we're available 24-7, 365 days a year! We cover Taston and the whole of London, Essex, Surrey, Hertfordshire, Buckinghamshire.


text:
Q: How to Update RecyclerView - notifyDataSetChanged() I have an activity which displays a vertical RecyclerView list containing multiple category items. Each item in this list is a category which displays the "category title" and its corresponding "image id". The activity holding this RecyclerView is the first activity which appears after the user has launched the app on the mobile. Additionally, the item category information is being acquired via JSON where I make use of the "Volley" library to fetch the data at a URL on the web. My problem is that my RecyclerView shows unpopulated and empty even though the information is being fetched on the web perfectly. I suspect this is happening due to the following:

*

*User launches the app

*OnCreate displays the RecyclerView

*JSON feed is fetched

*RecyclerView appears empty since the JSON fetching process takes place in the background and never updates the RecyclerView once the data has been fetched.

How can I update the RecyclerView to display all the items once the JSON request has been completed? I heard of using the notifyDataSetChanged() in the RecyclerView adapter but I do not know how to make use of this feature and most importantly where to place it in my code.
Below is my code. Any detailed help on how to perform a RecyclerView update under these circumstances would be greatly appreciated.
Activity
package example.co.uk.vapp;

import android.app.ProgressDialog;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.support.v7.widget.GridLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.util.Log;
import android.view.View;
import android.widget.Toast;

import com.android.volley.Response;
import com.android.volley.VolleyError;
import com.android.volley.toolbox.JsonArrayRequest;

import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;

import java.util.ArrayList;
import java.util.List;

import example.co.uk.vapp.adapters.GroupAdapter;
import example.co.uk.vapp.utils.RecyclerItemClickListener;

public class CategoryListActivity extends AppCompatActivity {

    // Declare variables
    private RecyclerView mRecyclerView;
    private GridLayoutManager mGridLayoutManager;

    // Tag for logging possible errors onto the Log
    private static String TAG = CategoryListActivity.class.getSimpleName();

    // Progress dialog
    private ProgressDialog pDialog;

    // JSON Array response url - ****fictitious url****
    private static final String URL = "https://www.someurl.com";

    // JSON Array containing the response
    static JSONArray jsonArrayResponse;
    // Json Object containing the category fields such as title and image-id
    static JSONObject category;
    // ArrayList containing the category titles
    static ArrayList<String> categoryTitles;
    // ArrayList containing the category image ids
    private ArrayList<String> categoryImageId;
    static GroupAdapter groupAdapter;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);

        // Set layout
        setContentView(R.layout.activity_category_list);

        // Initialize ArrayList to contain category titles
        categoryTitles = new ArrayList<String>();
        categoryImageId = new ArrayList<String>();

        // Reference variable with layout view
        mRecyclerView = (RecyclerView) findViewById(R.id.cardList);

        // Use this setting to improve performance if you know that changes
        // in content do not change the layout size of the RecyclerView
        mRecyclerView.setHasFixedSize(true);

        // Display under one column
        mGridLayoutManager = new GridLayoutManager(this, 1);
        mRecyclerView.setLayoutManager(mGridLayoutManager);
        // Set orientation
        mGridLayoutManager.setOrientation(GridLayoutManager.VERTICAL);
        mRecyclerView.setLayoutManager(mGridLayoutManager);

        // Create list of "Group" type
        final List<Group> groups = new ArrayList<Group>();

        for (int i = 0; categoryTitles.size() < i && categoryImageId.size() < i; i++) {
            String categoryName = categoryTitles.get(i);
            int categoryImage = Integer.getInteger(categoryImageId.get(i));

            groups.add(new Group(categoryName, categoryImage));
        }

        // Set Adapter
        groupAdapter = new GroupAdapter(groups);
        mRecyclerView.setAdapter(groupAdapter);

        // Create click listener for each item on the list
        mRecyclerView.addOnItemTouchListener(
                new RecyclerItemClickListener(this, new RecyclerItemClickListener.OnItemClickListener() {
                    @Override
                    public void onItemClick(View view, int position) {

                        Intent intent = new Intent(CategoryListActivity.this, groups.get(position).getClass());
                        startActivity(intent);
                    }
                })
        );

        // Shows message to user while makeJsonObjectRequest() is still running
        pDialog = new ProgressDialog(this);
        pDialog.setMessage("Getting exchange rates...");
        pDialog.setCancelable(false);

        // Retrieves JSON format exchange rates from Yahoo Finance
        makeJsonArrayRequest();
    }

    private void makeJsonArrayRequest() {

        // Show dialog while the request is made
        showpDialog();

        final JsonArrayRequest jsonArrayReq = new JsonArrayRequest(URL,
                new Response.Listener<JSONArray>() {

                    @Override
                    public void onResponse(JSONArray response) {

                        // Log response
                        Log.d(TAG, response.toString());

                        // Set "response" to jsonArrayResponse global variable so that we can use it on other methods in this class
                        jsonArrayResponse = response;

                        try {
                            // Get array with all categories (raw)

                            for (int i = 0; i < jsonArrayResponse.length(); i++) {
                                category = jsonArrayResponse.getJSONObject(i);

                                String title = category.getString("category-localized-title");
                                categoryTitles.add(title);

                                String imageId = category.getString("product-category-image-id");
                                categoryImageId.add(imageId);
                            }

                        } catch (JSONException e) {
                            e.printStackTrace();
                            Toast.makeText(gevapplicationContext(),
                                    "Error: " + e.getMessage(),
                                    Toast.LENGTH_LONG).show();
                        }

                        for (int i = 0; i < categoryTitles.size(); i++) {
                            Log.i("categoryTitles", categoryTitles.get(i).toString());
                            Log.i("categoryImageIds", categoryImageId.get(i).toString());
                        }

                        // Hide dialog after information has been requested
                        hidepDialog();
                        }

                    }, new Response.ErrorListener() {

            @Override
            public void onErrorResponse(VolleyError error) {

                // Warn user
                Toast.makeText(gevapplicationContext(),
                        "No internet connection", Toast.LENGTH_LONG).show();

                // Log error
                Log.e("test", error.getMessage());

                // hide the progress dialog
                hidepDialog();
            }
        });

        // Adding request to request queue
        AppController.getInstance().addToRequestQueue(jsonArrayReq);
    }

    /**
     * Method for showing dialog
     */
    private void showpDialog() {
        if (!pDialog.isShowing())
            pDialog.show();
    }

    /**
     * Method for hiding dialog
     */
    private void hidepDialog() {
        if (pDialog.isShowing())
            pDialog.dismiss();
    }
}

RecyclerView Adapter
package example.co.uk.vapp.adapters;

import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widget.TextView;

import java.util.List;

import example.co.uk.vapp.Group;
import example.co.uk.vapp.R;

public class GroupAdapter extends RecyclerView.Adapter<GroupAdapter.GroupViewHolder> {

    private List<Group> groupList;

    public GroupAdapter(List<Group> groupList) {
        this.groupList = groupList;
    }

    @Override
    public int getItemCount() {
        return groupList.size();
    }

    @Override
    public void onBindViewHolder(GroupViewHolder holder, int position) {

        Group group = groupList.get(position);
        holder.vGroupTitle.setText(group.getGroupTitle());
        holder.vGroupImage.setImageResource(group.getGroupImage());
    }

    @Override
    public GroupViewHolder onCreateViewHolder(ViewGroup parent, int viewType) {
        View itemView = LayoutInflater.from(parent.getContext()).inflate(R.layout.group_list_card_layout, parent, false);
        return new GroupViewHolder(itemView);
    }

    // Create the ViewHolder class "pattern"
    public static class GroupViewHolder extends RecyclerView.ViewHolder {
        protected TextView vGroupTitle;
        protected ImageView vGroupImage;

        public GroupViewHolder(View v) {
            super(v);

            vGroupTitle = (TextView) v.findViewById(R.id.title);
            vGroupImage = (ImageView) v.findViewById(R.id.image);
        }
    }
}

A: In your adapter, declare a method with which you will update the adapter once you fetched the new or initial data set. It should look something like this:
public void swapDataSet(list<Group> newData){

 this.groupList = newData;

 //now, tell the adapter about the update
 notifyDataSetChanged();

}

The above method will work, but it won't necessary be the most efficient way of doing it for subsequent changes, because the adapter will update all the items assuming the entire dataset has changed. Once your adapter is set for the first time, it is better, and more efficient, to use more specific change notifications like notifyItemInsered(int pos),  notifyItemDeleted(int pos), etc if possible. This way you will also get nice animations with no extra effort on your part.
More specifically, in your case, you are updating the groups before there are any titles or categories. Why not do this:
for (int i = 0; i < jsonArrayResponse.length(); i++) {
    category = jsonArrayResponse.getJSONObject(i);

    String title = category.getString("category-localized-title");

    String imageId = category.getString("product-category-image-id");

    categories.add(new Group(title, imageId));
}

//now that you have fresh groups
GroupAdapter.swapDataSet(groups);

A: I think your suspicion is correct. The JSON request is completing after the Recyclerview is initialized, so the data is not available to the RecyclerView upon instantiation. Also, some of your lists are not being initialized correctly.
Let's go through the order of some of the key elements of your code:
1. categoryTitles = new ArrayList<String>();
Right now, categoryTitles  is empty with categoryTitles.size() = 0 and categoryImageId.size() = 0.
2. List item mRecyclerView = (RecyclerView) findViewById(R.id.cardList);
This is good.
3. mGridLayoutManager = new GridLayoutManager(this, 1); etc. etc.
This looks good.
4. for (int i = 0; categoryTitles.size() < i && categoryImageId.size() < i; i++) {...}
Remember from 1. categoryTitles.size() = 0 as and categoryImageId.size() = 0, so this loop won't execute. The lists won't be populated at all.
Also, you probably have your conditionals backwards. Change them to i < categoryTitles.size() and i < categoryImageId.size()
5. final List<Group> groups = new ArrayList<Group>();
groups is empty.
6. groupAdapter = new GroupAdapter(groups);
groups is currently empty, so is GroupAdapter.
7. mRecyclerView.setAdapter(groupAdapter);
You are passing an empty list to the adapter.
8. makeJsonArrayRequest();
This should happen before the adapter is set.

To fix things, groups should be populated before it is passed to the adapter, and even if you set the order of this code correctly, it  won't work because most likely the JSON fetch will happen after the adapter is set to the RecyclerView.
I would suggest using an AsyncTask in a separate class to populate the groups list and an interface to inform the main activity that the JSON fetch is complete. Upon completion of the JSON fetch in your AsyncTask, use the interface to populate the lists and subsequently set the Adapter. Good luck and if you need more help, please let us know.

redpajama_set_name: RedPajamaStackExchange


Microgaming Casino Software - What are the Advantages?
The software of Microgaming casino is one of the marvelous software in game development and it has been used since many years. This software is much successful and it has set several standards in gaming software. This software is tested on a regular base by eCOGRA and it publicizes its rates of payouts on a monthly basis.
Microgaming Casino is much powerful since it controls more than hundred and twenty online casino games and 40 poker rooms. This software offers greater than 300 games which possess latest technology in online gaming zones.
Since the players who use to play online gambling want to get the feeling that they are playing in the Vegas. This is possible by means of Microgaming casino software. This software provides you a good experience to play gambling online that you have never experienced before.
The Microgaming system nowadays also includes the game of Live Dealer casino as well. This game has become favorite of players very soon around the globe. The real liver dealer, deals in cards instead of dealing in Random Number Generator.
This system offers the bonus which is basically a bonus of no deposit casino. There are few of this system's casinos, which provide the players even free hour play without any deposit bonus money. In this way, you can find how the games run and how to get the money.


I got second place in the Week 26 spoiler section at btsg_icontest. Go look! I took a screencap of some Caprican resistance fighters getting out of a vehicle, greyscaled it, added a green overlay and the words "I AM A CAPRICAN SOLDIER". I tried making the American Soldier's Creed into tiny text, replacing "American" with "Caprican," but it looked kinda stupid. I like it,and apparently others did too, cause SQUEE! Two weeks in a row with placements!
Hi, and thank you! You're new here... how'd you find my journal?
Through Sdraven. Originally was brought to the LJ verse via SG-15 & bugchicklv.


Do you need commercial garage door service or repair for your business?
If so, count on O&L Door Systems to get the job done. We've been supplying Twin Cities-area business clients with quality commercial door products & outstanding service for over twenty years. We're proud of our Minnesota heritage. In fact, our name is short for Ole & Lena, two beloved characters from our state's folklore. Consider our trusted services for your commercial door service and repair needs.
Learn more about how O&L Door Systems can help your Twin Cities South Metro business.
O&L Door Systems' team is knowledgeable in several varieties of commercial doors. We can identify and address a wide range of commercial door issues — no job is too complicated for us.
Industrial Doors: Are you in need of industrial garage door repair? O&L's technicians will inspect, diagnose, and fix what ails your unit.
Rolling Steel Doors: Should your organization have a rolling steel door that requires repair, O&L Door Systems can handle the job. A properly functioning rolling steel door can help restore smooth operation and reduce the risk of further complications.
Warehouse Doors: If your business is in need of warehouse garage door repair, call on O&L Door Systems to help.
Dock Repairs: There are several components of your loading dock system that can be affected by various issues, reducing efficiency and causing hassles for your staff. Does your organization require loading dock or dock leveler repairs? Trust O&L Door Systems to resolve the problem. Our experts will help get your loading dock equipment back on line and working in a timely and cost effective manner.
Commercial Garage Doors: O&L Door Systems provides commercial garage door service to all businesses. Our years of expertise in repairing commercial doors ensures we'll provide you with the area's finest craftsmanship and attention to detail.
Commercial Gate Operator: A malfunctioning commercial gate operator is a hassle. Trust O&L Door Systems to supply you with expert commercial gate operator repair and restore smooth, seamless operation to your commercial door system.
In addition, we provide installation service. Simply pick out your new door and we'll take care of the rest!
O&L Door Systems is here to help your Twin Cities South Metro business with its commercial door service repair needs. If your Bloomington, Eagan, Burnsville, Minneapolis, or St. Paul company is in need of a commercial door tune-up, contact us today to speak with a member of our friendly, knowledgeable team.
Looking For Residential Garage Door Service?
Our residential garage door division can help with garage door replacement, garage door repairs, and front entry doors. Visit Ole and Lena's today for residential doors and service.


Have the oven on at 180C and grease two medium baking tins. In a mixing bowl sift the flour, baking powder and cinnamon. Mix the sugar, zest and carrots into the bowl.
Once combined, add the eggs and oil. This may look a bit runny at this point, but if it really is liquid, add some more flour.
Pour into the cake tins and bake for 20/25 minutes, or until a skewer comes out clean.
While the cake is cooking, mix up the frosting, put the butter, icing sugar and cream cheese in a bowl and put into the fridge.
When the cake is done, make sure it is completely cool before putting the frosting on. I put some in the middle of the two cakes and all over the top!
Put nuts, raisins and all sorts of goodies on top of the cake and serve!


How to Build a Personal Brand Using Facebook | Be Like Neil Patel, Gary Vaynerchuk or Seth Godin!
Creation Infoways Pvt. Ltd. Offers a complete digital marketing services and eCommerce Website Development. #SEO, #Facebook Ads, #PPC.
http://SEOContentFactory.com/ – Demo of sharing content you've subscribed to in SEO Content Factory using Twitter (including scheduled tweets), Google+, Facebook and LinkedIn.


text:
E-cig exports banned in China
Tapas Tours in Madrid – Spain
Agario games : Great online Game
Botched Surgery Survivor Karly Bailey Launches New Talk Show
Aug 4, 2020 | Entertainment
"I'm more than my past , I have evolved "
ST. PETERSBURG, FL, August 04, 2020 /24-7PressRelease/ — Karly Bailey has come a long way since a 1997 brain tumor surgery performed by Dr. Ben Carson (the current U.S. Secretary of Housing and Urban Development) left her with paralysis on her right side. This August, she will begin hosting COWBOY UP, a talk show that will stream on the new ViZuewl Dramatics HDTV global network. With it, she hopes to share her inspiring story in order to encourage others not to give up on their own fights.
In 1995, a seven-year-old Bailey was diagnosed with her first brain tumor, 97 percent of which was successfully removed. When the tumor returned two years later, she was taken to Johns Hopkins Children's Center in Baltimore to seek the expertise of Carson, who was then Director of Pediatric Neurosurgery. During a pre-surgical consult, Carson agreed to the family's wishes to follow a conservative approach and NOT operate near Bailey's brain stem. However, following surgery, Bailey was left with a marked facial droop and right-side paralysis. Despite undergoing months of physical therapy, Ms. Bailey's impairment remained. Additionally, she suffered migraines, memory issues, and a severe vertical nystagmus (a disorder with vertigo-like symptoms). However, the most difficult thing that she endured was the loss of her dreams.
"My life has been riddled with life-changing illness and disaster. These disasters are things that some people live their entire lives without experiencing, but I was forced to deal with them as a child," she reveals. "Additionally, I dealt with my parents' divorce, extreme bullying, numerous surgeries (some experimental), and addiction."
Having served as a spokesperson for the Make-A-Wish Foundation®, Bailey is now eager to do more to help others by sharing what she's learned during her life-long battle. Filmed from her home, COWGIRL UP will be a half-hour show during which she'll provide advice to guests and answer questions sent in by viewers.
"I've had to lean on my sheer willpower more times than I can count," she shares. "I'm hoping to touch as many lives as possible."The inspirational woman plans to follow up her talk show with the release of a book by the same title. The book will be an exclusive tell-all with never before released details about her life and how her experiences have shaped her into the person that she is today.
Launched by DJ Tei1013, ViZuewl Dramatics will be available on Apple TV and Roku devices. Represented by Plugstar Entertainment, Bailey is currently available for interviews and promotional appearances.
PreviousThe Investor's Advocate: Built To Survive
NextClosing the Gap: A Virtual Tour Event on Trumping Racism & Financial Adversity for Black Business Month
Remydmc And His New Release "Quarantine Season"
Kalan FrFr Sold-out Concert on Saturday in Los Angeles Sets the Tone for a New Westcoast Movement
Lee Lee Lanea Releases "Bass Whipped" this November 21st
A Young Actress' Powerful Message About Human Trafficking
Wind: 0km/h NW
Weather forecast Kuala Lumpur, Malaysia ▸
Illinois raises age of buying tobacco products from 18 to 21
Wedding Day Sparklers is Offering Lower Prices
Dream Search C & C Introduces its Animation Film, "Dino King 3D: Journey to Fire Mountain", to American Film Market
HOLLOTUTOR : Learn Foreign Languages Online


text:
Q: How do Test HttpWebRequest Depended method? I have this class:
public class RestClient
{
    public RestClient()
    { }

    protected virtual HttpWebRequest CreateHttpWebRequest(Uri uri)
    {
        return (HttpWebRequest)HttpWebRequest.Create(uri);
    }

    /// <summary>
    /// Perform a http POST request in order to push data to server
    /// </summary>
    /// <param name="uri">End Point Uri</param>
    /// <param name="data">Data to be transmitted</param>
    /// <returns></returns>
    ///
    public long PostRequest(Uri uri,string data)
    {

        try
        {
            HttpWebRequest request = CreateHttpWebRequest(uri); //(HttpWebRequest)HttpWebRequest.Create(uri);

            request.Method = "POST";
            request.ContentType = "application/json";

            System.Text.UTF8Encoding encoding = new UTF8Encoding();

            byte[] bytes = encoding.GetBytes(data);

            using (Stream requestStream = request.GetRequestStream())
            {
                //Transmit data
                requestStream.Write(bytes, 0, bytes.Length);
                requestStream.Flush();
                requestStream.Close();
            }

            //Get the Response from the server
            using (HttpWebResponse response = (HttpWebResponse)request.GetResponse())
            {
                if (response.StatusCode != HttpStatusCode.OK && response.StatusCode != HttpStatusCode.NoContent)
                {
                    throw new Exception(String.Format(
                       "Server error (HTTP {0}: {1}).",
                            response.StatusCode,
                                response.StatusDescription));
                }
            }

            return request.ContentLength;
        }
        catch (Exception e)
        {
            throw e;
        }

    }

}

And would like to Unit test (using nunit) the PostRequest Method.
Doing some research, I could found some way to mock the HttpWebRequest in this post (Is it possible to mock out a .NET HttpWebResponse?) and a way to inject it into the class in this post (How to unit test a method with HttpWebRequest/Response dependencies).
However, when I tried to test my method I got this error:
System.InvalidCastException : Unable to cast object of type 'Castle.Proxies.IHttpWebRequestProxy' to type 'System.Net.HttpWebRequest'.

in this line of my test
client.HttpWebRequestFake = (HttpWebRequest)factory.Object.Create("http://127.0.0.1");

That is my test code:
public class TesableRestClient : RestClient
{
    public HttpWebRequest HttpWebRequestFake { get; set; }

    protected override HttpWebRequest CreateHttpWebRequest(Uri url)
    {
        if (HttpWebRequestFake != null)
            return HttpWebRequestFake;
        return base.CreateHttpWebRequest(url);
    }
}

[TestFixture]
public class TransferWebRequestTest
{
    [Test]
    public void TestPostResquest()
    {
        string expectedContent  = "Content";
        var expectedBytes = Encoding.UTF8.GetBytes(expectedContent);
        var responseStream = new MemoryStream();
        responseStream.Write(expectedBytes, 0, expectedBytes.Length);
        responseStream.Seek(0, SeekOrigin.Begin);

        var response = new Mock<IHttpWebResponse>();
        response.Setup(c => c.GetResponseStream()).Returns(responseStream);

        var request = new Mock<IHttpWebRequest>();
        request.Setup(c => c.GetResponse()).Returns(response.Object);

        var factory = new Mock<IHttpWebRequestFactory>();
        factory.Setup(c => c.Create(It.IsAny<string>()))
            .Returns(request.Object);

        TesableRestClient client = new TesableRestClient();
        client.HttpWebRequestFake = (HttpWebRequest)factory.Object.Create("http://127.0.0.1");

        // DoStuff call the url with a request and then processes the
        long bytesSent = client.PostRequest(new Uri("http://127.0.0.1"), expectedContent);
         Assert.AreEqual(expectedBytes, bytesSent);
}

The HttpWebRequest/Response is this:
public interface IHttpWebRequest
{
    // expose the members you need
    string Method { get; set; }
    string ContentType { get; set; }
    long ContentLength { get; set; }
    IHttpWebResponse GetResponse();
}

public interface IHttpWebResponse : IDisposable
{
    // expose the members you need
    HttpStatusCode StatusCode { get; }
    string StatusDescription { get;}
    Stream GetResponseStream();
}

public interface IHttpWebRequestFactory
{
    IHttpWebRequest Create(string uri);
}

// barebones implementation

public class HttpWebRequestFactory : IHttpWebRequestFactory
{
    public IHttpWebRequest Create(string uri)
    {
        return new WrapHttpWebRequest((HttpWebRequest)WebRequest.Create(uri));
    }
}

public class WrapHttpWebRequest : IHttpWebRequest
{
    private readonly HttpWebRequest _request;

    public WrapHttpWebRequest(HttpWebRequest request)
    {
        _request = request;
    }

    public string Method
    {
        get { return _request.Method; }
        set { _request.Method = value; }
    }

    public string ContentType
    {
        get { return _request.ContentType; }
        set { _request.ContentType = value; }
    }

    public long ContentLength
    {
        get { return _request.ContentLength; }
        set { _request.ContentLength = value; }
    }

    public IHttpWebResponse GetResponse()
    {
        return new WrapHttpWebResponse((HttpWebResponse)_request.GetResponse());
    }
}

public class WrapHttpWebResponse : IHttpWebResponse
{
    private HttpWebResponse _response;

    public WrapHttpWebResponse(HttpWebResponse response)
    {
        _response = response;
    }

    public void Dispose()
    {
        Dispose(true);
        GC.SuppressFinalize(this);
    }

    private void Dispose(bool disposing)
    {
        if (disposing)
        {
            if (_response != null)
            {
                ((IDisposable)_response).Dispose();
                _response = null;
            }
        }
    }

    public Stream GetResponseStream()
    {
        return _response.GetResponseStream();
    }

    public HttpStatusCode StatusCode
    {
        get { return _response.StatusCode; }
    }

    public string StatusDescription
    {
        get { return _response.StatusDescription; }
    }

}

Any idea of how I could solve this?
Thank you

A: I solved my issue doing the follow:
First, created a interface IHttpWebRequestFactory
public interface IHttpWebRequestFactory
{
    HttpWebRequest Create(string uri);
}

In the class that I want to test, I created the following methods:
protected virtual HttpWebRequest CreateHttpWebRequest(Uri uri)
    {
        return (HttpWebRequest)HttpWebRequest.Create(uri);
    }

    protected virtual HttpWebResponse GetHttpWebResponse(HttpWebRequest request)
    {
        return (HttpWebResponse)request.GetResponse();
    }

In my test file, I created a "Testable " class, that inherits from the class I really want to test and overrides the virtual methods:
 //Class Created to test the PostRequestMethod
public class TestableRestClient : RestClient
{
    public HttpWebRequest HttpWebRequestFake { get; set; }

    public string responseValue;

    protected override HttpWebRequest CreateHttpWebRequest(Uri url)
    {
        if (HttpWebRequestFake != null)
            return HttpWebRequestFake;
        return base.CreateHttpWebRequest(url);
    }

    protected override HttpWebResponse GetHttpWebResponse(HttpWebRequest request)
    {
        HttpWebResponse response = (HttpWebResponse)request.GetResponse();
        using (var streamReader = new StreamReader(request.GetResponse().GetResponseStream()))
        {
            responseValue = streamReader.ReadToEnd();
        }
        return base.GetHttpWebResponse(request);
    }
}

Then I used Moq to mock the behavior of methods I'm using in my class
 [TestFixture]
public class DMSTransferWebRequestTest
{
    [Test]
    public void TestPostResquest()
    {

        string expected = "Content";

        //Prepare the Mocked Response Stream
        byte [] expectedBytes = Encoding.UTF8.GetBytes(expected);
        Stream responseStream = new MemoryStream();
        responseStream.Write(expectedBytes, 0, expectedBytes.Length);
        responseStream.Seek(0, SeekOrigin.Begin);

        //Prepare the Mocked Request Stream
        Stream requestStream = new MemoryStream();
        requestStream.Write(expectedBytes, 0, expectedBytes.Length);
        requestStream.Seek(0, SeekOrigin.Begin);

        //Mock the HttpWebResponse
        Mock<HttpWebResponse> response = new Mock<HttpWebResponse>();

        //Set the method GetResponseStream to return the Response Stream mocked
        response.Setup(c => c.GetResponseStream()).Returns(responseStream);
        response.Setup(c => c.StatusCode).Returns(HttpStatusCode.OK);

        //Set the method GetRequestStream to return the Request Stream mocked
        Mock<HttpWebRequest> request = new Mock<HttpWebRequest>();
        request.Setup(c => c.GetResponse()).Returns(response.Object);
        request.Setup(c => c.GetRequestStream()).Returns(requestStream);

        //Create a Object to mock the HttpWebRequest Create Method
        Mock<IHttpWebRequestFactory> factory = new Mock<IHttpWebRequestFactory>();
        factory.Setup(c => c.Create(It.IsAny<string>()))
            .Returns(request.Object);

        TestableRestClient client = new TestableRestClient();
        client.HttpWebRequestFake = factory.Object.Create("http://mytest");

        long actualBytes = client.PostRequest(new Uri("http://mytest"), expected);

        string actual = client.responseValue;

        Assert.AreEqual(expected, actual);

    }
}

A: Not really sure what you want to achieve, but this may help. The error message tells you the exact problem and gives you a hint what to do.
If you check your code, the class WrapHttpWebRequest is not of type HttpWebRequest. However, it holds an HttpWebRequest. These two steps solve the direct issue, but you may run into another issue. First, provide a property to the class WrapHttpWebRequest:
public HttpWebRequest HttpWebRequest { get { return _request; } }

Then change you failing code line to this:
client.HttpWebRequestFake = factory.Object.Create("http://127.0.0.1").HttpWebRequest;

I reckon though that it would be better to change the class WrapHttpWebRequest and inherit from 'HttpWebRequest' like this ...
public class WrapHttpWebRequest: HttpWebRequest, IHttpWebRequest

... and change its implementation accordingly.


The NHL season is about to culminate. It's been an exciting year packed with unexpected results. However, one of the biggest surprises of this year is the brand-new expansion team making it to the playoffs, while a dynasty team will sit it out. All of these unpredictable events will surely make up for a one-of-a-kind playoff and interesting Bitcoin ice hockey odds.
The first puck of the 2018 Stanley Cup Playoffs drops on April 11. Matchups are yet to be determined, but you are sure to find action-packed games on the first day. Pay attention to the matchups with your favorite teams as the event draws closer and the regular season is about to come to an end.
The playoffs follow a four seven-game series rounds. Each series features a 2-2-1-1-1 format, which means that home-ice advantage teams will host the first two games, the fifth game, and the final game if need be.
Each conference will have eight teams to qualify for the playoffs. All top three teams in each division get a pass to the playoffs, while the two remaining spots are determined by season point totals.
The biggest surprise of this year's Stanley Cup Playoffs is the qualification of NHL's youngest expansion team, the Vegas Golden Knights. Backed with a historic opening season, they surprised many fans and surely turned the Bitcoin odds table. They have secured north of 100 points and currently holds the Pacific Division's top spot. No one predicted this from happening, which makes this NHL season even more exciting.
On the other hand, the absence of the Chicago Blackhawks in the playoffs is another shocking occurrence. After a poor performance in the first round, Chicago essentially underperformed during the regular season. The Blackhawks will pack their bags early this year as game 82 ends. It is the end of their 8-year dynasty, which witnessed three Stanley Cup victories, and this is an example of how unpredictable the NHL can be at times.
It can be difficult to make a pick considering the number of unexpected teams making it to the playoffs. But you are sure that teams like the Tampa Bay Lightning and Stanley Cup rookies, Vegas Golden Knights to put up a fight against other NHL giants. This year's NHL betting is sure to test your betting skills. Therefore, be sure to apply the best Bitcoin sports betting tips we have for you for better chances of making the right pick.