text:
Q: Injecting Spring dependencies in JSF Managed bean with Spring 2.0 If I need to inject Spring dependency in JSF ManagedBean (creating through Annotations), I am using spring 2.0 it does not support @Autowire.
Is there any way out to inject dependencies if I keep @ManagedBean annotation as it is?
I am using Myfaces 2.1.6 running it with Jetty through eclipse.
Please suggest.
faces-config.xml
<?xml version="1.0"?>
<faces-config xmlns="http://java.sun.com/xml/ns/javaee"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
      http://java.sun.com/xml/ns/javaee/web-facesconfig_2_0.xsd"
    version="2.0">
    <navigation-rule>
        <description>Navigation from the hello page.</description>
        <from-view-id>/login.xhtml</from-view-id>
        <navigation-case>
            <from-outcome>success</from-outcome>
            <to-view-id>/wsListing.xhtml</to-view-id>
            <redirect />
        </navigation-case>
    </navigation-rule>
    <navigation-rule>
        <description>Navigation from the hello page.</description>
        <from-view-id>/wsListing.xhtml</from-view-id>
        <navigation-case>
            <from-outcome>abcService</from-outcome>
            <to-view-id>/abcinput.xhtml</to-view-id>
            <redirect />
        </navigation-case>
        <navigation-case>
            <from-outcome>filterAbc</from-outcome>
            <to-view-id>/filterabcinput.xhtml</to-view-id>
            <redirect />
        </navigation-case>
    </navigation-rule>

    <navigation-rule>
        <description>Navigation from the hello page.</description>
        <from-view-id>/abcinput.xhtml</from-view-id>
        <navigation-case>
            <from-outcome>success</from-outcome>
            <to-view-id>/abcoutput.xhtml</to-view-id>
            <redirect />
        </navigation-case>
    </navigation-rule>
    <application>
        <variable-resolver>org.springframework.web.jsf.DelegatingVariableResolver</variable-resolver>
        <locale-config>
            <default-locale>en</default-locale>
            <supported-locale>en</supported-locale>
            <supported-locale>es</supported-locale>
        </locale-config>
        <message-bundle>messages</message-bundle>
    </application>
</faces-config>

WsListingBean.java
package com.example.ws.ui;

import javax.faces.bean.ManagedBean;
import javax.faces.bean.RequestScoped;

@ManagedBean(name="wsListingBean")
@RequestScoped
public class WsListingBean {
    //want to inject some property here through spring injection

    private String webServiceId;

    public String getWebServiceId() {
        return webServiceId;
    }

    public void setWebServiceId(String webServiceId) {
        this.webServiceId = webServiceId;
    }

    public String action()
    {
        return this.webServiceId;
    }

}

wsListing.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<h:head>
<meta charset="utf-8"/>
<title>Web Service Listing</title>
<link href="../resources/css/abc-style.css"  rel="stylesheet" type="text/css" media="screen" />
</h:head>

<h:body class="login-body">

Web Services

        <h:form>

              Name
              Description

              <h:commandLink value="First Web Service"  action="#{wsListingBean.action}"><f:setPropertyActionListener target="#{wsListingBean.webServiceId}" value="abcService" /></h:commandLink>

              Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae.

              Web Services 2
              Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem.

              Web Services 3
              At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident. similique sunt in culpa qui officia deserunt.

              Web Services 4
              Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus.

              Web Services 5
              Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae.

              Web Services 6
               Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem.

              Web Services 7
              At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident. similique sunt in culpa qui officia deserunt.

              Web Services 8
              Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus.

              Web Services 9
              Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae.

          </h:form>

</h:body>

A: If I can see right thing here then
if u can read your error carefully, it says that identifier wslistingBean resolved to null
Here you wanted to access bean named wsListingBean but somewhere you have typed by mistake wslistingBean(L is small letter here)
So check out where you are doing this typing mistake.
and for managedBean there is no need to put the bean name if you are just changing first letter to small like -
@ManagedBean(name="wsListingBean")
@RequestScoped
public class WsListingBean {}

For this class It will automatically take wsListingBean as bean name.
So u can write it like as  -
@ManagedBean
@RequestScoped
public class WsListingBean {}

That is one and the same.
Hope it clarifies your doubt......

A: This should be one work-around to load the bean property in @PostConstruct
@Postconstruct
private void initTheBean(){
webServiceId=resolveValue("#{springbeanname}",String.class);
}

public static <T> T resolveValue(String inputValueExpression,
                Class<T> outputClass) {
            FacesContext context = FacesContext.getCurrentInstance();

            ELContext elContext = context.getELContext();

            ValueExpression expression = context
                    .getApplication()
                    .getExpressionFactory()
                    .createValueExpression(elContext, inputValueExpression,
                            outputClass);

            return (T) expression.getValue(elContext);
        }


text:
package org.elasticsearch.search.aggregations.metrics.min;

import org.elasticsearch.search.aggregations.Aggregation;

/**
 *
 */
public interface Min extends Aggregation {

    double getValue();
}

redpajama_set_name: RedPajamaGithub


text:
The Religions of India
Published in 20th-century / Contemporary History, Issue 4 (July/August 2010), Reviews, Volume 18
The permanent exhibition on Buddhism, including a standing Buddha (right) on loan from the National Museum of Ireland.
The story of how Chester Beatty came to bequeath his collection of oriental art to Ireland is quite well known by now. Although the American-born mining tycoon had some distant Irish ancestry, his decision to move to Dublin resulted from his dislike of the Labour government elected in Britain after World War II. He spent much of his life employing experts to seek out and acquire art reflecting Arabic, Persian, Turkish, Armenian and Greek culture and religion. Most of his collection was devoted to sacred texts, although a significant part of it came from the Indian Mughal court, of which the miniatures are considered among the finest in the world.
'The Future Buddha as a Flying Horse' from a mid-nineteenth-century Burmese folding book, in which the horse rescues 500 shipwrecked merchants held captive by she-goblins.
Originally housed in a purpose-built museum in one of south Dublin's leafy suburbs, the library has benefited from its move to Dublin Castle, which not only provided the opportunity to redesign the whole exhibition area from scratch but made this internationally significant collection more accessible to Dubliners and visitors alike. It is now one of the top tourist attractions in the capital. The library makes good use of its location, with airy public areas, a shop and a café to complement the two floors of exhibition space. The first floor hosts temporary exhibitions, while the second houses the permanent collection on display, devoted to sacred texts and art of the world's great religions.
Among the permanent exhibitions in the library is a section on the religions of India. This is located on the second floor, where, although most of the gallery is taken up with the sacred scriptures of Christianity and Islam, the area devoted to other Eastern religions is well worth concentrating on in its own right. Alongside display cabinets devoted to the religions of China and Japan are those devoted to Hinduism, Jainism, Sikhism and Buddhism, which, along with Islam, constitute the main faiths of the Indian subcontinent.
Buddhism occupies most space in this part of the gallery, reflecting its importance not just in India and neighbouring Nepal and Tibet but also in countries from Sri Lanka to Indonesia. Sacred art and ritual objects are key features of Buddhism, and on display are paintings, holy books and other ritual objects made of bronze and silver. The objects and art are intended to provide a focus for meditation, but even to the non-believer they can be objects of impressive skill and beauty. Among those on display is a stupa, a small religious monument representing an image from Buddhist scripture. In the same cabinet is a small statue of the Buddha and a small altar table, along with other items related to Buddhism such as a prayer wheel.
A painting, c. 1615–20, of 'A Garden Gathering with a Prince in a Green Jama' by Bichitr from the Minto Album, on display in the Murraqqa', Imperial Mughal Albums exhibition, which runs until 3 October 2010.
(All images: Chester Beatty Library, Dublin)
Art is represented in the holy books of sacred stories and legends that are illustrated with finely executed paintings. Look out for the depiction of 'The Future Buddha as a Flying Horse' from the mid-nineteenth century, in which the horse rescues 500 shipwrecked merchants held captive by she-goblins. On the walls are some mandalas. These large paintings depict the Buddhist conception of the universe. Painted on cloth are richly coloured detailed and intricate patterns of squares and circles.
Moving on, you come to a part of the gallery dealing with India proper. Here too the artefacts on display are for the most part sacred texts, paintings and religious objects. One item worth examining in detail is an illustrated scroll of Krishna in the incarnation of a cowherd god. Other texts also contain illustrations of Hindu deities, which are very different from anything being done in western art at the same time. For example, one nineteenth-century painting in ink, colours and gold on paper depicts Varaha the Boar, which is the third incarnation of Vishnu.
The Jains, like the Buddhists, have their conception of the universe. The Jain cosmology is divided into the worlds of heaven, mortals and the damned. Hanging on the wall is a representation of the mortal world painted in geometric patterns of diverse colours. Another cabinet contains scriptures and artefacts of importance to Jainism.
Throughout most of the Chester Beatty Library the display cabinets are complemented by interactive touch-screens that give further information on the objects and allow the viewer to see them from different angles and perspectives. While the area devoted to the religions of India does have information panels that succinctly and clearly explain the religions in question, there is only one interactive touch-screen. Unfortunately this was not working on the day I attended, but hopefully other visitors will have better luck.
The experience, however, is in no way devalued by the lack of hi-tech gizmos. The objects in the display cabinets and on the walls have a fascination of their own. Not only do they provide an insight into other religions and cultures but they also have a beauty that we can all appreciate. One quality that they all possess is intricacy, and almost every artefact rewards close attention. It is literally true to say that the more you look, the more you see.
The Chester Beatty Library is worth visiting for many reasons but sometimes a general tour through all the galleries can be a bit overwhelming. The diverse cultures represented display glamour, intensity and a brilliance that can make the multifarious exhibits difficult to appreciate in one go. That is why choosing a theme can result in a very rewarding visit, even if it is only a fraction of what is on display in the library as a whole. So why not check out the current temporary exhibition, Murraqqa', Imperial Mughal Albums, which runs until 3 October 2010? One of the top ten Asian exhibitions in the world, it is back after a tour of America. It focuses on a group of six albums (muraqqa's) compiled in India between about 1600 and 1658 for the Mughal emperors Jahangir and Shah Jahan (builder of the Taj Mahal). Each album folio originally consisted of a painting on one side and a panel of calligraphy on the other within beautifully illuminated borders. Many of the paintings are exquisite portraits of emperors, princes and courtiers in the finest costumes and jewels, as well as images of court life, Sufis, saints and animals. HI

redpajama_set_name: RedPajamaCommonCrawl


I published this article in 2012, the year when we decided to go back to homeschooling. It's been six years and people continue to ask what made us decide to homeschool. I'm very glad that over the years, more and more parents have also started homeschooling or are now considering to start homeschooling their children. One of the best gifts we can give our children is time — time with them and time to focus on things that they are interested in. They are important and we have to make them feel that. We want our children to grow up as intelligent, strong, healthy, conscientious, kind, loving and most of all, happy individuals. Homeschooling allows us to work on all of that every day and best of all, together.
I admit that the idea of homeschooling and becoming a stay-at-home mom scared me so much. I knew that there were a lot of benefits in bringing education home, but there was this nagging fear inside me because I knew that it would change everything in our lives. Everything! True enough, it did. And everything changed for the better. The fact that my son was so much happier and actually had time for things he was genuinely interested in when he was younger (like Greek mythology) was enough to prove that we made the best decision for us as a family. Our son also became healthier, more energetic, more thirsty for knowledge.
I'm sharing this again because a lot of moms e-mail me to express how much they want to homeschool, but are very scared to do so. If you're one of them, please know that I truly understand all those questions that keep you awake at night: What if I can't do it right? What if I lose my patience? What if my child/children refuse to listen to me? What if I don't have enough energy for this?
I have been there, so I understand. What I did initially was to do in-depth research about homeschooling and discuss everything with my husband over and over again. He was very patient with me and never got tired of listening to me when I'd repeatedly tell him about all the doubts I had in the world. It would help a lot if you discussed all your concerns and goals with your partner so you could build a good foundation for your home school.
Cure for Mondays is an extension of my thoughts, an attempt to a creative form of expression, a platform for my experiences as a homeschooling mother, our experiences as a homeschooling family, learning experiences, sometimes random thoughts (or nothingness), food, recipes and healthy, natural options for our family.
Like my husband, I also do not get tired of answering questions and I encourage you to ask. You may e-mail me at cure4mondays@gmail.com.
The decision to go from working mom to SAHM was a bit scary to make, but there's not a day when I'm not thankful I made the move. Just an update…now that the kids are a bit older, I once again dove into the publishing world and have been enjoying my editorial work tremendously. I'm doing it full time from home, so yes, I have the best of both worlds.
One of the things I consider a great blessing is getting featured in 9 Homeschooling Moms We Love by The Asian Parent. Light and Love to those who acknowledged our efforts!
Today is Cole's last day of classes. Today is also his last day in school. We were on our toes for weeks waiting for this day. The end of his days in school is the beginning of our journey into homeschooling. After four long years, my husband and I realized that we turned our backs on something that made it all wonderful for Cole, and for us as a family. We started homeschooling Cole when he was five years old, a time when others bring their kids to play schools. He learned how to read at the age of six, and he could do three of the basic operations in Math: addition, subtraction, and multiplication. If I remember it correctly we saved division for later when he turned seven.
When he was seven years old, we had to make what seemed to us then was a wise decision. We put him through school. Sometime in the middle of the school year in first grade, we began to feel that we might have made the wrong decision. For some reason, Cole began "unlearning" some of the things that he had known the months before he started school. All the fun in Math was suddenly gone and he was constantly confused. That was just the beginning of it all. It was also a time in my life when I went back to a career in publishing, then the corporate world, so putting him in school seemed like the right option for us. Every morning the parents go to work, and the son goes to school. It sounded right and attuned to the norm. Then it dragged on for four long years. In those four years, something was nagging my husband and me. Cole became disinterested in stuff that he used to really like and seemed to be always tired.
One time when he was in third grade, I asked him what the problem was. My son discussed to us in detail what made school so uninteresting.
1. Too many people in the classroom (most schools in the Philippines, both public and private, have at least 40 students). The teacher hardly has time to check on individual student work and there was minimal student-teacher interaction.
2. Kids spoke bad words and answered their parents back in public.
3. Some teachers would get irritated when he'd ask questions.
4. A teacher in one of the schools he attended brought a curling iron and started fixing her hair in front of the class.
When he was in third grade, he asked if he could be homeschooled again. We said yes. However, we kind of pushed it a little bit more thinking that a reputable private school would solve the problem for us.
Cole was quite happy in that school during the first few months and Cole's adviser even told us that he adjusted well and fast enough for a new student. But that feeling of happiness was short-lived, and we started feeling once again that something was not right. He would come home tired with loads of homework to do, and there would be lessons he'd be clueless about, but was forced to understand — all because the teacher had to breeze through some of them to make sure they'd be on time with the lesson plans. We respect teachers' lesson plans; we just don't think lessons plans do their job all the time.
Whether to go back to homeschooling or not was initially my call. One of my fears was becoming a stay-at-home mom because I started working at the age of 18 and had tremendously enjoyed life being a working mother (even if I had slips in my choices of jobs along the way). My husband was patient and did not push me to make a decision right away. But the Universe has a way of answering questions and straightening out confusion. Our answer came in a small box called a pregnancy test. It was a miracle of miracles because I thought I'd never get pregnant again. Yet there it was, delivered straight from the heavens to our doorstep. The tiny seed growing in my tummy would later become Attika Xafiyya Ssian Sade. As soon as we confirmed through my OB-Gyne that indeed there was an earthling growing inside me, my husband put his feet down and said, "Welcome back, homeschooling!" And pure bliss hugged me.
So here we are, finally back home! I'm also delighted at the discovery that there are so many homeschooling parents in the Philippines now. The numbers significantly grew over the years and this means more and more kids are spending quality time at home and are getting a lot of love and learning from teacher parents who genuinely care for them.


Belkin Usb Easy Transfer Cable driver direct download was reported as adequate by a large percentage of our reporters, so it should be good to download and install.
Belkin Usb Easy Transfer Cable driver installation manager was reported as very satisfying by a large percentage of our reporters, so it is recommended to download and install.
Recommended if Belkin Usb Easy Transfer Cable is the only driver on your PC you wish to update.
Automatically scans your PC for the specific required version of Belkin Usb Easy Transfer Cable + all other outdated drivers, and installs them all at once.
*Scans were performed on computers suffering from Belkin Usb Easy Transfer Cable disfunctions.
Belkin Usb Easy Transfer Cable 31.1970 For Windows 7 32 bit 11/22/2014 12/29/2016 all_drivers-31.1970.exe 26kb HP KA770AA-ABU m9175.uk-a, BenQ Joybook S42, Toshiba Dynabook R634/L, HP HP Pavilion dv8000, HP HP HDX 16 Notebook PC, Lenovo ThinkPad T520, ECS 945GTY-M, Haier H53, and more.
Belkin Usb Easy Transfer Cable 2.11.11.141.1 For Windows 7 64 bit 11/22/2014 12/27/2016 all_drivers-2.11.11.141.1.exe 140kb HP PAVILION DV6187, Gateway SX2360, Notebook MIM 2270, IBM ThinkPad T42, Acer Aspire AG3731, Toshiba Satellite A130, Buympc ClientPro 385 ADMC2, Fujitsu FPC03051DN, IBM 682532U, IBM 1871WNV, Packard Bell EasyNote_MX37-U-005, and more.
Belkin Usb Easy Transfer Cable 1.1446 For Windows 7 11/7/2014 12/30/2016 obb-1.1446.exe 165kb Gigabyte 946GM-S2, Packard Bell Ixtreme i7650, Sony SVE15126CNW, Toshiba SATELLITE C850-1P6, HP HP EliteBook 2730p, Sony VGN-UX71, IBM System x3650 M4 -[7915F2M, HP Pavilion ze5600, Fujitsu S6410C, HP P9843A-ABF 712, HP Compaq nx9030, Lenovo ThinkPad X201 Tablet, HP P7-1090be, and more.
Belkin Usb Easy Transfer Cable U1.101.11.1 For Windows 10 9/30/2014 12/28/2016 all_drivers-u1.101.11.1.exe 42kb Lanix LANIX CORP 4030, HP HP Compaq nc6120, Sharp PC-MM Series, AT AUTOCONT ALLEGRO, Panasonic CF-S9JYKADP, Acer Aspire M7200, WIPRO WIV52B55-0007, HP PW579AA-ABG m7088a, and more.
Belkin Usb Easy Transfer Cable 71.1671.1 For Windows 10 64 bit 12/10/2014 12/28/2016 all_drivers-71.1671.1.exe 212kb AnabelleB Soho WN10, Sony VGN-P25G_Q, NEC PC-LL550KG1J, HP G5406f, Lenovo 9636/73G, Sony VGN-SZ15LP_B, Fujitsu PRIMERGY RX100 S6, Lenovo ThinkCentre A61, LG S1-MOM1E2, and more.
Belkin Usb Easy Transfer Cable 62807 For Windows 7 32 bit 11/17/2014 12/29/2016 all_drivers-62807.exe 70kb Fujitsu N6220, Fujitsu FMVTE90YD, Sony VGN-FJ68SP_W, HP GX609AAR-ABA m9160f, Sony VGN-SZ15GP_B, HP VN294AA-UUZ p6210ch, HP D7222T-ABA A350E, HP HP ENVY 17 3D Notebook PC, MSI MS-9A45, Lenovo 099343G, and more.
Belkin Usb Easy Transfer Cable 1.10407 For Windows 7 64 bit 9/3/2014 12/27/2016 all_drivers-1.10407.exe 87kb HP HP Compaq nx9420, Packard Bell EasyNote LX86, HP Presario 2200, Compaq AY552AA-AB5 CQ3118HK, and more.
Belkin Usb Easy Transfer Cable 41.12.164 For Windows 7 2/6/2015 12/30/2016 all_drivers-41.12.164.exe 195kb HP Presario V2000, IBM 8187RGH, Fujitsu FMVXD4VR2Z, Sony VGN-FZ32G, Packard Bell IMEDIA H7653, Lenovo ThinkCentre M57, NEC PC-GV287UZGN, Lenovo 3000 S200 Desktop, Lenovo ThinkCentre M55p, Lenovo ThinkPad Edge 13, and more.
Belkin Usb Easy Transfer Cable 61.1304 For Windows 10 2/13/2015 12/30/2016 all_drivers-61.1304.exe 218kb NEC VERSAM350 NN942000802, Toshiba Satellite R630, Gateway 564GE, MSI GT60 2OJWS, OEM By O.E.M, ASUS G70Sg, HP HP Pavilion dv9870 Notebook PC, and more.
Belkin Usb Easy Transfer Cable 83429 For Windows 10 64 bit 11/22/2014 12/29/2016 all_drivers-83429.exe 207kb Leading Edge LECB7400, NEC PC-MY30AEZA5XT6, IBM PHILIPS, IBM 8123Q2B, Acer Veriton 5800FX, Sony VGN-NS225J, IBM 682466A, Lenovo ThinkPad Edge E525, HP KJ415AA-AB4 m9290d, and more.
Belkin Usb Easy Transfer Cable 6402.10 For Windows 8 10/2/2014 12/30/2016 jvtevl-6402.10.exe 24kb Compaq P8657C-ABA 8000Z NA510, HP EZ082AA-ABF M7438.FR, Toshiba SATELLITE C850-A791, M&A E10IS, Fujitsu FMVNE4BD3, HP D5468AT-A2L a123l, Compaq RX917AA-ACJ SR1929IL FD440, and more.
Belkin Usb Easy Transfer Cable 30893 For Windows 7 32 bit 9/23/2014 12/28/2016 all_drivers-30893.exe 88kb Packard Bell EasyNote_MX37-U-005, HP Compaq nx9030, Fujitsu FMVNFD40, NEC RND51048395, Fujitsu FMVCE70L9, Toshiba Dynabook T351/57CRD, Sony VGN-Z90NS, Sony VGN-TT250N, Sony VGN-FW148J, Compaq DB266A-AB1 6215KR KO910, HP 310-1210es, Toshiba Satellite S50-A0317, Fujitsu Blubb, and more.
Belkin Usb Easy Transfer Cable 2.122.190 For Windows 7 64 bit 10/3/2014 12/28/2016 kmzqi-2.122.190.exe 51kb IBM 2374WDG, NEC PC-GL16MG1R9, HP PX679AA-B1U d4040.se, LG E500-S.AP33T, Lenovo 73952GL, Dell Latitude 13, HP AX685AA-ABJ 300-1150jp, and more.
Belkin Usb Easy Transfer Cable Installation Guide If you encounter problems with the direct download for these operating systems, please consult the driver download manager for the specific Belkin Usb Easy Transfer Cable model.


The Brownies meet at Debenham Community Centre every Tuesday night during school term times. The fun starts at 18.00 and finishes at 19.30.
Brownies are normally aged between 7 and 10, after which they progress to the Girl Guides http://www.girlguiding.org.uk/home.aspx.
For more information, please contact Tracy Barrett on 07958 014467.


Sally Hickey was recently installed as the Gallatin Association of Realtors® President-Elect for 2008. The Gallatin Association of Realtors® boasts nearly 800 members who offer service in Gallatin County and in many surrounding areas, such as Big Sky, Big Timber, Livingston and Three Forks. In 2009, Hickey will be installed as President of the organization.
Robyn Erlenbush, Broker/Owner of ERA Landmark Real Estate is pleased to announce that out of 3,000 offices worldwide, Holly Wilson has been named 2007 Office Coordinator of the Year by ERA Franchise Systems, Inc.. Wilson was recognized for this outstanding achievement at the 2008 ERA International Business Conference, held February 24-27 in Orlando, Fla.
Robyn Erlenbush, Broker/Owner of ERA Landmark Real Estate, is pleased to announce that ERA Landmark Real Estate is ranked #1 in Total Closed Production Volume for 2007 for Division 1 by global residential real estate leader ERA Franchise Systems, Inc. The national franchise ranks affiliate companies based on size and ERA Landmark was #1 in production for companies with 50 or less associates. Erlenbush and the company were recognized for this outstanding achievement at the 2008 ERA International Business Conference, held February 24-27 in Orlando, Fla.
Published in the Bozeman Chronicle, March, 2008. On February 13, 2008 , the economic stimulus package was signed into law by President Bush. This package includes many provisions which are important to the housing market, most notably increasing the loan limits for Fannie Mae and Freddie Mac (GSE) and the Federal Housing Administration (FHA). The National Association of Realtors ® (NAR) has shown great support for this package and predicts a jumpstart in the housing market which will help countless families and the U.S.
Robyn Erlenbush, Broker/Owner of ERA Landmark Real Estate is pleased to announce that Sue Frye has received recognition from global real estate leader ERA Franchise Systems, Inc. for ranking #1 in the Nation for Total Closed Production Volume in 2007. The prestigious award was announced at the 2008 ERA International Business Conference, held February 24-27 in Orlando, Fla. The ERA network includes more than 38,000 brokers and sales associates and approximately 3,000 offices throughout the United States and 44 other countries and territories.
Denise Andres was one of three sales associates nationwide asked to speak at a general assembly during the 2008 ERA International Business Conference, held February 24-27 in Orlando, Fla. She presented to over 2,000 attendees on techniques she employed to increase her business in 2007 despite a contracting market locally and nationally.
From Alaska to Maine, these spots offer a walk on the wild side for fans of everything from windsurfing to fly-fishing. You can even try the luge.
A classic downtown, a pristine river, galleries galore, and people working to win you over. What's not to like?
I live in a town of 7,300 at the head of a valley named Paradise in southwestern Montana, just an hour north of a world-renowned natural wonder. "Yellowstone National Park—gateway to Livingston" is the town's unofficial motto, and that sidelong boast might be grating if it weren't in part true.


Alpine pink is a short lived, herbaceous perennial native to to the Alps of eastern Austria. It is a member of the carnation family, Caryophyllaceae, that also includes baby's breath, Lychnis, and soapwort. The plant forms a loose clump of grass green leaves that have a prominent midrib and are one inch long and 1/5 inch wide, The scentless flowers have five fringed petals surrounding a white central disc. They are about 1 ½ inches wide and appear singly in late spring for four to six weeks. The small size of the plants make is a good choice for crevices in pavement or walls, as well as for use as an edging in rock gardens. A white variety is also available.


text:
Q: Cannot use console in Chrome Dev tools in the Chrome window controlled by selenium chrome driver I can use console in Chrome Dev Tools in a normal Chrome window to debug xpath like $x("//div") to debug the xpath.
But when Selenium-Chrome-Driver generates a Chrome window in C# SpecFlow, in this Chrome window, I cannot debug xpath in console by typing $x("//div"), the console reported error:
$x("//div")
VM1819:1 Uncaught TypeError: $x is not a function
    at :1:1
Already tried the following code to switch on some ChromeOptions, but got the same problem.
ChromeOptions options = new ChromeOptions();
string user_data_dir = settings.SelectSingleNode("//LoginEmail/ChromeUserDataDir").InnerText;
user_data_dir = String.Format(@"user-data-dir={0}", user_data_dir);
options.AddArgument(user_data_dir);
options.AddArgument(@"--enable-devtools-experiments");
options.AddArgument(@"--auto-open-devtools-for-tabs");
webDriver = new ChromeDriver(options);

A: I have found another way to debug xpath in the console of dev tools in chrome window controlled by chromedriver in specflow
that is using javascript:
document.evaluate(xpath, document, null, XPathResult.FIRST_ORDERED_NODE_TYPE, null).singleNodeValue.outerHTML

for example:
document.evaluate("//a[contains(@href, 'mail.google.com') and contains(@href,'#drafts')]/../../div[1]", document, null, XPathResult.FIRST_ORDERED_NODE_TYPE, null).singleNodeValue.outerHTML

redpajama_set_name: RedPajamaStackExchange


You Can Clone Your Dog - Cool or Creepy?
You Can Clone Your Dog – Cool or Creepy?
Never want to say goodbye to Fido, OR love him so much you wish you had two of him? Well, good news, you now can clone your dog.
While I absolutely love my dogs like they're my children, I'm a little weirded out by this. Why? Because they say, while the dog will look just like your's, their personality will more than likely be different. Ummm... so why exactly wouldn't you just buy the same breed? It would definitely be more affordable.
To clone your dog, it will cost you a cool $100,000!
How it works? You get a tissue sample of a living dog, or one that passed up to 5 days prior, to a company called Sooam in South Korea.
The process takes about three months, and then the animal will be quarantined for about four months before you can bring it back to the United States.
I mean, the thought is good - I do love that. Sadly though, even having your dog cloned won't bring them back.
I would rather take that $100,000 and adopt several dogs over the course of my life that need my love.


text:
Ryanair claims second screen-scraping victory
By Linda Fox | January 16, 2015
Low-cost airline Ryanair has won a case in the European Court of Justice preventing PR Aviation from screen-scraping the Irish airline's database.
The Dutch Supreme Court referred the proceedings to the EU Court asking it to take a view on whether Ryanair could prevent screen-scraping of its database by PR Aviation, which at the time ran the Wegolo price comparison site.
Legal dealings between the two companies had been rumbling on for some time with Ryanair first initiating proceedings against PR Aviation in 2008 for with various claims including that its rights under the Database Directive had been infringed.
A statement from the airline says the court supported its claims that it is entitled to include terms and conditions on its website that prevent companies from screen-scraping its database for commercial purposes.
This is the second screen-scraping victory Ryanair has won in as many weeks with the airline announcing a judgement from the Regional Court of Hamburg against eDreams last week.
eDreams was ordered to stop using the ryanair.eDreams.de subdomain as well as refrain from using the same in Google advertising. The online travel agency was also ordered to pay compensation for trademark infringement.
Ryanair has been involved in a number of cases against online travel companies across Europe and a spokesman confirmed others were ongoing.
The airline continues its battle against the machine scraping of its flight prices and availability through initiatives such as reCaptcha as well as its legal wranglings.
The spokesman also reiterated the airline's stance on the practice saying it allows 'price comparison only' sites to access pricing information for annual donation to charity of Euro 100.
More on Distribution
Air ticket consolidators turn profit in shifting landscape


Sure, it's only the second week of the year but who isn't already thinking of their next escape? If you haven't yet booked your travel for the year, let these major fashion exhibitions guide your choice of destination. From Margiela in Paris to natural inspiration in New York, these are the openings to see - and be seen at.


text:
My Top 20 Favorite Survivors PART I
In the lieu of the End of another Survivor Season. I would so Love to blog about my review and my feelings over the Finale but as what I hate to feel myself, I don't want to spoil any other die hards like me. So instead, in celebration of the 20th Season of Survivor, I will be counting down 20 of my Favorite Survivors. For the First Part. Survivors 20 - 16 will be counted down. Here are the ones that made the first quarter of my Favorite Twenty
PS: To get you more suspended, I reversed the order of my posts to make it in order from 20 -1! Hoe you like my list :D
20. Jerri Manthey, Australia
She has been known to be Survivor's Original Black Widow. I was not able to watch her first attempt in joining Survivor during the second season on Australia(since I started watching on the Third) but I did had a glimpse of what THE Jerri is during the All-Star Season. I can never forget the booing of the fans during the Reunion Show. But tables turned during the Last Anniversary Season where she has redeemed herself and though she will always be known as a Villain, she has shown the her heart can be a Heroic Heart as well.
19. Terry Deitz, Exile Island Panama
You might be wondering why Terry made it to my list where he is quite hated by most. Well, He was the very last La Mina Member left when he won all 5 consecutive Immunities and cruised effortlessly to the Final 3. His Perseverance and Performance despite his name always on top of the chopping block every single Tribal Council makes him get my respect
18. Eliza Orlins, Vanuatu
She was my bet to win among the most powerful All Girl Alliance after Survivor Micronesia's Pack. Well, I don't have to elaborate why I like Eliza. I just like her attitude, her personality, I just like her period.
17. Candice Woodcock, Cook Islands
The fact she had the most number of Exile on Survivor History, I really like her heroic acts. Though she failed during the last season where she was also part of the Heroes Tribe, when she believed in Russel instead of her Allies and switched with the Villains. She should have gone better on my Favorites ranking but because of that very move she did. But I still like her, I still do.
16. Shii Ann Huang, Thailand
What can I say, called herself the 'Shi-Devil'. She was the most and for me, honestly, the only remarkable Castaway during the Fifth Season on Thailand. She stood out of them all even though she did not place farther with the game. Also, she was a very important figure that resulted to Amber Brkish's win during the Survivor All-stars where Amber awarded her the Prize Car.
Well that is just the First Five of the Top Twenty Castaways I will be running down. I just Love Survivor with all my Heart. I love the game, the people, the social rambles, I JUST LOVE SURVIVOR THAT'S IT!
So Stay tuned for the next parts of this Series as I ran down the remaining Top 15 Castaways that made my list.
My Top 20 Favorite Survivors PART II
I have just done counting down My Favorite Survivors that made up the 20th till the 16th spot. Now It's Time for the Next five Castaways that did not make it to the Top 10. 15 - 11 Here we go:
(PS I think I changed my 3rd - 15th like a hundred times, That's how close they are to my preference)
15. Jake Billingsley, Thailand
Old man Jake from Thailand. Why did he make it on the list? Well, I have always been rooting for older people ever since I started watching Survivor during the Marquesas Season. Yup, that might give you an idea for the coming spots on my countdown. Jake has been underrated, in my opinion, throughout the show. Thailand may have brought the strongest number of older people that made it to the latter half including Jake, Jan, Clay and Helen. Also Jan, Clay and Helen may be the oldest Top 3 ever. But the thing I really like the most of Jake is despite his age, he still managed to play the game with hopes all high and being true to hos word and his alliance. Even though he knew that his former and only tribemate Penny is also gunning for him to save herself, he still did not vote for her because he remained Loyal to his tribe till the very end but it ended up that Penny went out on that very Tribal Council, earlier than him. His exit was really dramatic for me.
14. Courtney Yates, China
Who does not love Courtney? Ok, Ok, there may be few but me, I LOVE HER! Just all her side comments on every scene just makes me so laugh! I was not able to watch her during her China season due to poor telecast by the Franchise that time and we still don't have a great internet connection to get the episodes, but I really really loved her during her comeback at Heroes vs. Villains. She brought so much energy, so much fun and I should not forget, the outfits. I think she is the jury member that has so much exposure during Tribal Councils since she became part of the Jury. Love her!
13. Danielle DiLorenzo, Panama
At first, scanning through the names of the castaways that made it to the list of Heroes vs. Villains, I was like WTH? When I saw Danielle's name. I did not hate her because she was a villain that time but then I came to realize, betraying Cirie and Aras and merging up with Terry? Beating Cirie on that Fire-making Challenge? Making it to the Top 3? Well I guess he deserves the spot. But then, when the 20th Season started, I saw how drastic her change was when it comes to her game play. She's way way better than the last time she played it. Made a strong Alliance with Russel and Parvati and should have been in the Final three not until Russell had the urges to cut her out. But in the end, though it was the reason she got voted out, the loyalty she showed to Parvati was really uplifting for me that's why she made it here.
12. Amanda Kimmel, China
I never really like Amanda during her first two seasons but when she made it to the Heroes Tribe, Then I started to like her not just on that season but I came to a realization how likeable she was during her last games. Though she may be close to James, which is on the number 1 spot if I had to list down the most dreadful players. I really respected her loyalty.
11. Colby Donaldson, Australia
I think the best thing about Colby is that every girl wants him and Every guy wants to be like him! But I have to say, his performance during the Challenges, it was very very pitiful. Compared to his Five Consecutive Immunity wins during his Australia season that made him part of the Final 2 but made the wrong choice to bring up Tina than Keith that made him loose the lot. He's a very nice guy who played the game being nice to everyone as well which made him be the very last Hero standing against all the Villains. I guess he deserves to be the last Herostanding out of the other four JT, Amanda, Candice and Rupert that made it to the merge. Ok, Rupert fans are gonna kill me but that's my opinion!
There you have it! My Top 20 - 11! stay tuned for my Top 10! Who knows I might shuffle them over and over again but I think right now, my choices are firm. I just Love Survivor! It's the best Game ever invented in the face of the world! See you till Part 3!
My Top 20 Favorite Survivors PART III
Okay, You guys now why I'm back right? The moment everyone is waiting for (Or must I say ANYONE?) especially Survivor fans, My Second half of my Top 20 Favorite Survivor Castaways. As I count down my Top 10 up to Top 6, we are getting closer and closer to my Top 5 (Of course! What am I saying?) So with no further adieu My Top 10 to Top 6:
10. JT Thomas, Tocantins
Okay, so who doesn't like JT? Uhm okay, I can see hands, and another one, and another one. I do, I also think he can battle with Tom Westman for being the Most Likable Survivor Winner. But after what he did during the Heroes vs. Villains Season, well yah, I'm sure we can put back what I just told. Though I really thought it was kind of dumb, okay really dumb, It comes to show that JT has a very good Heart, a country guy's heart that was very compassionate. Though with the wrong person I'm sure! I still like him, a man of Values.
9. Stephanie LaGrossa, Palau
Me and my friends predicted that she will not last the 20th season but I do like Steph so much. She is totally a hero during her Palau Season and I think that is why people just love her! Again, a victim of 100% Villain, James the Giant which should be ousted first so that the heroes should have gone far...Wait wait, this is about Stephanie, not James. Anyway, I just love her, She's a true Hero!
8. Russell Hantz, Samoa
Then you guys are going to kill me! Russell? Part of my Favorites? IN THE TOP 10? Well what can I do, having to witness one of the Best Game Players ever in the history of Survivor (ADMIT IT GUYS, HE REALLY IS!) Planting all those 'Russell Seeds' And roasting them one by one by one Without even knowing it? Ain't he Great? Well If that's what I think? Then why is he not on a higher place on my Top 20? Well, as everybody knows, Values really count as for me. It's very nice to be competitive, come on it's a game! But telling lies that are not even necessary and just being plain deceitful? That's not really a good thing for me. Though I think he really marked his name on Survivor History!
7. Tom Westman, Palau
So far, I can confidently say, He is the most Likable Survivor Winner ever! As far as I know Okay? He defied the odds with his head up high and played the whole thing clean. Too bad He was cut out very very soon during the Heroes vs. Villains Season, again because of you know who, let's keep him with the name JAMES THE MONSTER. Tom is the kind of man anyone can look upon with his Values, Virtues and all other good thing that makes him the Tom we know. And that earned him the 7th spot!
6. Parvati Shallow, Cook Islands
She lead the Most Notorious All women tribe in Survivor History. I think all is said why she made it to my Top 6! She should have placed higher but on the later part of this series, You fans will know why! Another reason why she made it on my Top 10 is that she is very very Charming plus when she said on her Final tribal statement last Season that she did feel vulnerable during the merge that's why she kicked ass during the Immunity Challenges to save herself, that gained her more respect from me!
The last part of my Survivor Series features my Top 5 Favorite Survivor Castaways of all Time. But of course, as Homer Simpson says, SO FAR since there's still more a lot of seasons to come on the best Social Game ever invented on the Face of television, SURVIVOR!
My Top 20 Favorite Survivors FINAL PART
So I just counted down my Top 20 till the Survivor Castaway that made it to the 6th Spot of my All Time Favorite Survivors. As I told you on the earlier parts of the series, I had a hard time deciding and finalizing my Tops 15 to 3 because they all are so close to each other when it comes to my preference but hey! I made it. And here comes my Top 5 Favorites. In Descending Order:
5. Kathy Vavrick-O'Brien, Marquesas
Together with Neleh and Paschal, they've been switched up from Rotu to Maraamu and gave Maraamu and Gina they're first taste of Victory during the Show's fourth Season. She made it to the Top 3 and the final member of the Jury but was ousted out when Neleh and Vecepia made the 'negotiations' during the very long Final Immunity. Though of age, Kathy showed so much strength and true leadership until the very end. She has been a key player during her Marquesas Season which truly made her deserving of her spot on the All-Star Season at Panama.
4. Rob Cesternino, Amazon
For me, He was the very first who knew how to 'really play' the Game of Survivor. Making up alliances, remained Loyal during the start and secretly made other alliances to slowly oust his own one by one by one and that was the reason he made it to the End but sadly, not the Finals since Jenna chose Matthew over Him to take to with her to the finals. I can never ever forget the scene when he was sleeping by the tree while the others were talking secretively but one of his eyes slowly opened which proved he was not really asleep, he is gently observing.
3. Paschal English, Marqeusas
Together with Kathy and Runner-up Neleh, Paschal was the three original members of Rotu which then were switched to the Maraamu Tribe until their merge and most of all, made it till the final four. I personally think He had the title as Sole Survivor in his bag but unfortunatley, and I do mean UNFORTUNATELY, after a Tie Breaker between Neleh and Vecepia, He himself would have to partake on the drawing of colored rocks to determine who is going home. I can still remember the anxiety attack I had while the three of them gently opened their palms. The two girls both got Yellow Colored stones while He, got the Purple one which means He is out and was the second to the last member of the Jury. I always got a special interest on older Castaways because I really find them inspiring. And Paschal truly did inspire me.
2. Sandra Diaz-Twine, Pearl Islands
Okay, now on the top 2 slots, these two are undoubtedly my Top 2! No other! Why Sandra? I just love the way she plays her game! Her game is just Sandra's Game, no other Survivor can win Twice out of Two Seasons she made it to the game. Most of all, all the scheming and the stealth she used to win Survivor Pearl Islands gave her 0 out-votes which is truly amazing. And on the Heroes vs. Villains Season, I can only laugh at Russell when He said that Sandra did not do Anything and made it to the Finals! I was wondering what he felt when he saw what Sandra did to take out Coach when it was her time. Oh How I love Sandra! I'll just leave you with her Prime Principle on Playing Survivor: "I don't care who's gonna get voted out! I'll write anybody's name, UNLESS IT'S NOT ME WHO'S GOING HOME!"
1. Cirie Fields, Panama
"To everyone who's in the couch, STAY IN THE COUCH!" Those were the words of my Top Favorite Survivor Castaway Cirie Fields during the first parts of her Exile Island: Panama Season. Who would not love her? Being "Scared of Leaves", she was the very first target of the Tribe of Older women but It ended up that Tina was out and she stayed. She kicked some ass and whiled minds up until she made it to the Final Four were she was beaten out by Danielle on a Fire-making Tie Breaker. She was a big contender during that season even up until she made in on the List, the second time around when she became part of the 16th Season of Survivor, Micronesia:Fans vs. Favorites. She was part of the Notorious Tribe of women led by Parvati. I was happy she was part of the Final Three until we were all surprised that it would be a Final Two. Then again, her hopes of winning was cut out short on the very end. Again, I personally think she was going to win that very Season but Parvati got the Title and the Million Dollars. But the biggest disappointment to us Cirie Fans was her early exit during the Heroes vs. Villains Season where JT plotted against her that led to her premature Exit.
There you have it! 10 years, 20 Seasons, 20 Survivors, 20 Favorites but there can only be one of them of all time! I am very proud to be a Survivor Fan and of course, Very Thankful for the invention of the Best Social Game in the Face of the Earth, SURVIVOR! Until the next 20 Seasons!
Loose Lips, Sink Ships...But still they did...
After almost three seasons watching him, I was never the Fan of Rupert Boneham, 15th Person voted out of Survivor Heroes Vs. Villains. Just as what Sandra's Line stated at the Title of this post, No one tries to attack Sandra. Yes you heard me right, Sandra, not just Russel. Russel may look like the best Player Survivor had when it comes to tactics and manipulation but his weakness just kills him, his emotions. He has been voting most of the time by his emotions and not with his mind. Unlike Sandra, what were her words? "I don't care who's going home, As long as it's not my name down there!" says Sandra to Coach.
I was truly delighted to saw the final casting of this Anniversary season when I saw Sandra Diaz-Twine's name on the list! She was truly one of my favorites together with Cirie Fields and yes, Even Russel. We were very sad last Survivor All-Stars that she wasn't able to join due to a Parasitic Disease she had during that time. And when she pulled out that Immunity necklace from her Bra, I was truly delighted that though I do know that she's not going home, I wished that she will use the Idol to prove everyone that she's a bad girl! Bad Bad Girl, well, she's a villain! When I first saw her on the Helicopter Scene at the Opening Episode I can really feel she had it in the Bag!
Survivor Heroes vs. Villains Season Finale is on in just three days! I am very excited! So Sandra, I'm rooting for you! You can do it! If ever, she will be the first Two-time titleholder of the Sole Survivor on Survivor History!
Random Wants
Here is a list of What I WANT at this very Moment:
1. to take a lot of stunning photos to revive Cavite Daily Photo.
2. to finish the system that I am currently working on.
3. lots and lots of long-sleeve plaid shirts.
4. to eat at a Lauriat.
5. to get rid of this bitchy dandruff.
6. to go on a trip before the month ends.
7. to go back to the States even for an hour.
8. 10 packages of Tomi. 10 is enough btw!
9. to go to Tagaytay and finally feel what wearing a jacket feels like after almost 5 months.
10. to watch the 13th Episode of Survivor, Tonight!
I'm placing this list on a Paper Boat and let it sail. Problem is, with this drought, WHERE?!?
Care to share your list of Wants, I'll be waiting for them at the Comments Sections :)
My Vote is for GORDON
The photo above was shot last February 5, 2010 on DLSU-D, my Alma Mater. I'm the one on the Left and together with me is Senator Richard "Dick" Gordon, Presidential Candidate for the May 10 Philippine Elections.
Just like me, Senator Gordon's Roots were Traced from the Historical Province of CAVITE. He was part of the 1971 Constitutional Convention where he was the youngest delegate, still a student he represented the 1st District of Zambales. He became the Mayor of Olongapo City for 3 terms, 1980 - 1993. After that, he established the SBMA or the Subic Bay Metropolitan Authority that became one of the Best Economic Zones not just during those times but up until now.
But on 1998, He was forcibly removed by Former President Joseph Estrada (Who was convicted, pardoned and is running AGAIN for the presidency) because of personal issues, one being Richard Gordon as his fierce critic. Then after participating on the second People Power Revolution that led to the impeachment of President Estrada, He was appointed as the New Secretary of Tourism. This is when I truly became a fan of Senator Gordon. I was barely 12 that time but I am very aware of all his works. With his experience with Procter and Gamble and SBMA, He placed the Philippines in the Tourism Map by his WOW Philippines Campaign. 2004 He ran for the Senate and despite the Surveys that placed him 29th during the Pre-elections, He placed 5th in the Final Official Tally garnering more than 12 million votes. The Veteran's Bill, National Tourism Act of 2009 and the Election Automations are just a small part of his records as a Senator.
And when he declared his plans for running as the President. I did not even think twice that I will not just give him my vote but I have been campaigning for him and persuaded almost hundreds to vote for him. Now, I am persuading you! We all have the free right to Suffrage but If you're going to ask me, DICK GORDON deserves all our votes. Votes for the REAL CHANGE that the country needs! All his works are just inspiring much more are his plans for our Nation! He has proven a lot than those stinky Surveys.
To the Filipino People, I assure you, GORDON's Victory will be Triumph for each and every Filipino! I am so excited to regain the respect that our country has lost from the past decades. I even texted him earlier tried if he'll reply since he gave us his number during his visit to our University. And He did, I'm very sure it was him! I'm leaving you all with his words, part of his long reply to my message. This May 10, 2010, Proudly with my head held high, My Vote is for RICHARD "DICK" GORDON!!!
"Steven, i hope that you campaign for me even if im not there. Appreciate your efforts. It's high time we change this country and I welcome your support. Today is the last day of the campaign and we have to work double time. I hope u and your friends can spread the word today. There is a country to be won. Let's win it together. This s Dick Gordon"
Category: Events, Life


text:
Q: How do you read in kaggle data? I am running the python code from lesson 3 of the fast ai course. However, I'm receiving a "syntax" error. Any pointers, please?
! mkdir -p ~/.kaggle/
! mv kaggle.json ~/.kaggle/

! mkdir %userprofile%.kaggle
! move kaggle.json %userprofile%.kaggle

Cheers.


text:
Q: Combine 2 JSON objects of unequal size with ID Problem
I would like to have the below two JSON combined together using the ID and have the expected result as mentioned below. I have tried a few solutions that were available but none worked for my use case. Any suggestions will be great !!
Tried to do:
How to merge two json object values by id with plain Javascript (ES6)
Code
var json1 = [
   {
      "id":"A123",
      "cost":"5020.67",
      "fruitName":"grapes"
   },
   {
      "id":"A456",
      "cost":"341.30",
      "fruitName":"apple"
   },
   {
      "id":"A789",
      "cost":"3423.04",
      "fruitName":"banana"
   }
];
var json2 = [
   {
      "id":"A123",
      "quantity":"7"
   },
   {
      "id":"A789",
      "quantity":"10"
   },
   {
      "id":"ABCD",
      "quantity":"22"
   }
];

Below is the code I tried:
var finalResult = [...[json1, json2].reduce((m, a) => (a.forEach(o => m.has(o.id) && Object.assign(m.get(o.id), o) || m.set(o.id, o)), m), new Map).values()];

Expected result:
[
   {
      "id":"A123",
      "cost":"5020.67",
      "fruitName":"grapes",
      "quantity":"7"
   },
   {
      "id":"A456",
      "cost":"341.30",
      "fruitName":"apple"
   },
   {
      "id":"A789",
      "cost":"3423.04",
      "fruitName":"banana",
      "quantity":"10"
   },
   {
      "id":"ABCD",
      "quantity":"22"
   }
]

A: You can accomplish this fairly easily without getting too fancy. Here's the algorithm:

*

*Put the items from json1 into an object by id, so that you can look them up quickly.

*For each item in json2: If it already exists, merge it with the existing item. Else, add it to objectsById.

*Convert objectsById back to an array. I've used Object.values, but you can also do this easily with a loop.

var json1 = [
    {
        "id":"A123",
        "cost":"5020.67",
        "fruitName":"grapes"
    }, {
        "id":"A456",
        "cost":"341.30",
        "fruitName":"apple"
    }, {
        "id":"A789",
        "cost":"3423.04",
        "fruitName":"banana"
    }
];
var json2 = [
    {
        "id":"A123",
        "quantity":"7"
    }, {
        "id":"A789",
        "quantity":"10"
    }
];

const objectsById = {};

// Store json1 objects by id.
for (const obj1 of json1) {
    objectsById[obj1.id] = obj1;
}

for (const obj2 of json2) {
    const id = obj2.id;

    if (objectsById[id]) {
        // Object already exists, need to merge.
        // Using lodash's merge because it works for deep properties, unlike object.assign.
        objectsById[id] = _.merge(objectsById[id], obj2)
    } else {
        // Object doesn't exist in merged, add it.
        objectsById[id] = obj2;
    }
}

// All objects have been merged or added. Convert our map to an array.
const mergedArray = Object.values(objectsById);

A: I think a few steps are being skipped in your reduce function. And it was a little difficult to read because so many steps are being combined in one.
One critical piece that your function does not account for is that when you add 2 numerical strings together, it concats the strings.
const stringTotal = "5020.67" + "3423.04" // result will be "5020.673423.04"

The following functions should give you the result you are looking for.
// calculating the total cost
// default values handles cases where there is no obj in array 2 with the same id as the obj compared in array1
const calcualteStringTotal = (value1 = 0, value2 = 0) => {
  const total = parseFloat(value1) + parseFloat(value2)
  return `${total}`
}

const calculateTotalById = (array1, array2) => {
  const result = []

  // looping through initial array
  array1.forEach(outterJSON => {

// placeholder json obj - helpful in case we have multiple json in array2 with the same id
let combinedJSON = outterJSON;

// looping through second array
array2.forEach(innerJSON => {

  // checking ids
  if(innerJSON.id === combinedJSON.id) {

    // calls our helper function to calculate cost
    const updatedCost = calcualteStringTotal(innerJSON.cost, outterJSON.cost)

    // updating other properties
    combinedJSON = {
      ...outterJSON,
      ...innerJSON,
      cost: updatedCost
    }
  }
})

result.push(combinedJSON)

 })

  return result
}

const combinedResult = calculateTotalById(json1, json2)

A: I figured that by using reduce I could make it work.
var finalResult = [...[json1, json2].reduce((m, a) => (a.forEach(o => m.has(o.id) && Object.assign(m.get(o.id), o) || m.set(o.id, o)), m), new Map).values()];


Why was this game made? I have no idea... but I do know that Sneak 'n Peek from Vidtec/ U.S. Games, is one of the worst games for the system. I mean... Hide and go seek on the 2600? This kind of formula wouldn't even work today. I'm gonna keep this one short, because this game just makes me mad.


What are the guidelines for borrowers with a previous foreclosure or deed-in-lieu of foreclosure?
A Borrower is generally not eligible for a new FHA-insured mortgage if the Borrower had a foreclosure or a deed-in-lieu of foreclosure in the three-year period prior to the date of case number assignment.
This three-year period begins on the date in which title transferred from the Borrower.
If the credit report does not indicate the date of the foreclosure or deed-in-lieu of foreclosure, the Mortgagee must obtain the Settlement Statement, deed or other legal documents evidencing the date of property transfer.
If the foreclosure or deed-in-lieu of foreclosure was the result of a circumstance beyond the Borrower's control, the Mortgagee must obtain an explanation of the circumstance and document that the circumstance was beyond the Borrower's control.
The Mortgagee may grant an exception to the three-year requirement if the foreclosure was the result of documented extenuating circumstances that were beyond the control of the Borrower, such as a serious illness or death of a wage earner, and the Borrower has re-established good credit since the foreclosure.
Divorce is not considered an extenuating circumstance, however, an exception may be granted where a Borrower's mortgage was current at the time of the Borrower's divorce, the ex-spouse received the property, and the mortgage was later foreclosed.
The inability to sell the property due to a job transfer or relocation to another area does not qualify as an extenuating circumstance.


text:
Trump's Puerto Rico tweets spark backlash
By Rafael Bernal, Scott Wong and Melanie Zanona - 09/13/18 12:39 PM EDT
President Trump Donald TrumpIran convicts American businessman on spying charge: report DC, state capitals see few issues, heavy security amid protest worries Pardon-seekers have paid Trump allies tens of thousands to lobby president: NYT MORE roiled Democrats and Republicans alike on Thursday with a pair of tweets alleging that Democrats inflated statistics on the number of people killed by hurricanes last year in Puerto Rico.
"3000 people did not die in the two hurricanes that hit Puerto Rico," Trump tweeted. He went on to claim, without evidence, that the number was purposefully exaggerated by Democrats "to make me look as bad as possible."
3000 people did not die in the two hurricanes that hit Puerto Rico. When I left the Island, AFTER the storm had hit, they had anywhere from 6 to 18 deaths. As time went by it did not go up by much. Then, a long time later, they started to report really large numbers, like 3000...
.....This was done by the Democrats in order to make me look as bad as possible when I was successfully raising Billions of Dollars to help rebuild Puerto Rico. If a person died for any reason, like old age, just add them onto the list. Bad politics. I love Puerto Rico!
Both parties were quick to push back on the president's claim. Among those who issued statements were Gov. Rick Scott (R) and Rep. Ron DeSantis Ron DeSantisData scientist who accused Florida of manipulating coronavirus data to turn herself in on warrant Florida Republicans close ranks with Trump after Capitol siege Once the slam-dunk nominee, Trump's 2024 aspirations already toast after Capitol chaos MORE (R), two of Trump's staunchest defenders in Florida who are both currently running for office.
"I disagree with [the president] - an independent study said thousands were lost and Gov. [Ricardo] Rosselló agreed. I've been to Puerto Rico 7 times & saw devastation firsthand. The loss of any life is tragic; the extent of lives lost as a result of Maria is heart wrenching," Scott tweeted on Thursday afternoon.
DeSantis's office issued a statement saying he is "committed to standing with the Puerto Rican community, especially after such a tragic loss of life. He doesn't believe any loss of life has been inflated."
Another Republican official in Florida, who was appointed by Scott to the state's Board of Governors, went even further. "Mr. President. SHUT UP," Alan Levine tweeted. "Any death, whether one or 3,000 is a tragedy. That doesn't mean you caused it, and its not about you. Show compassion for the families."
Mr. President. SHUT UP. Any death, whether one or 3,000 is a tragedy. That doesn't mean you caused it, and its not about you. Show compassion for the families. Learn what we can so future response can improve. Honestly....
— Alan Levine (@alevine014) September 13, 2018
Democrats and officials in Puerto Rico were also quick to pounce on Trump's claims.
"The number is based on facts and the truth. More people died in Puerto Rico than died in Hurricane Katrina, and than died in the attacks of 9/11. That is not fake news, Mr. President," said Rep. Luis Gutiérrez (D-Ill.), a Chicago-born son of two Puerto Rican parents, in a House floor speech Thursday.
"The victims of Puerto Rico and the people of Puerto Rico in general do not deserve for [the death count] to be questioned," said Puerto Rico Gov. Ricardo Rosselló (D) in a Facebook Live video in Spanish early Thursday.
"Today I've seen that the number and process of excess mortality have been questioned," he added. "I ask the president of the United States to make sure that all agencies adequately invest the necessary resources to continue working favorably for the people of Puerto Rico."
Trump's tweets were in reference to a commissioned report issued by George Washington University's Milken Institute School of Public Health last month, which set the official death count from Hurricanes Maria and Irma at 2,975.
The study found the excess mortality rate by comparing estimates of typical nondisaster death rates over six months to the actual mortality rate over the six months following Maria.
Rosselló, who holds a Ph.D. in biomedical engineering, said he reviewed GW's scientific process himself, and decided to use the study's final tally as the official death count.
"It's time not to fight, not for political noise, not to use these things for the benefit of one party or another. It's time to remember all of those who lost their life," he said.
But San Juan Mayor Carmen Yulín Cruz, who emerged in the aftermath of the destruction in Puerto Rico as one of the president's fiercest critics, called Trump's tweets "appalling."
"This is what denial following neglect looks like: Mr Pres in the real world people died on your watch," she said on Twitter.
Democrats in Washington were also quick to pounce on Trump's comments.
"The fact that the president will not take responsibility for his Administration's failures and will not even recognize that thousands have perished shows us, once again, that he is not fit to serve as our President," said Rep. Bennie Thompson Bennie Gordon ThompsonNew coalition aims to combat growing wave of ransomware attacks Acting DHS chief Chad Wolf stepping down Security boosted for lawmakers' travel around inauguration: report MORE (D-Miss.), the ranking member on the House Homeland Security Committee.
"He should resign at once — and this Republican-led Congress must stop being complacent and finally conduct a comprehensive investigation — as we did after Katrina — into how 2,975 were allowed to die," added Thompson.
Several members criticized Trump for framing the official death count as an attack on him.
"Only Donald Trump would try to make the deaths of nearly 3,000 Americans into a story about himself and his political fortunes," said Rep. Steny Hoyer Steny Hamilton HoyerBoebert communications director resigns amid Capitol riot: report GOP divided over Liz Cheney's future Pelosi mum on when House will send impeachment article to Senate MORE (D-Md.), the House minority whip.
Rep. Nanette Barragán (D-Calif.) took a similar tone.
"3,000 people died and Donald Trump wants us to believe he is the victim," she tweeted.
Sen. Bill Nelson Clarence (Bill) William NelsonGeorgia Senate races shatter spending records Georgia voters flood polls ahead of crucial Senate contests The Hill's Morning Report - Fearing defeat, Trump claims 'illegal' ballots MORE (D), who is in a tight race to defend his seat against Scott in Florida, said Trump's comments are "shameful."
"We deserve and expect more from someone who holds the highest office in our country," tweeted Nelson.
Florida's Puerto Rican population has boomed over the past decade, and the Puerto Rican migration to the Sunshine State only increased after Maria.
Puerto Ricans in Florida have become a crucial electoral bloc in the state, which both Nelson and Scott have actively pursued.
"The only message Trump will understand will be the punishment to his party in November at the hands of Puerto Rican voters in the United States who with their votes will say, 'enough,' " Federico de Jesús, a Democratic strategist and former deputy director of the Puerto Rico Federal Affairs Administration told La Opinion newspaper.
Rep. Darren Soto Darren Michael SotoER doctor chosen to lead Hispanic Caucus House Democrats introduce bill to invest 0 billion in STEM research and education Radiation elevated at fracking sites, researchers find MORE (D-Fla.), the first national legislator of Puerto Rican origin from Florida, said 3,000 Americans died due to Trump's "slow, failed response to Hurricane Maria."
"And now you dance on their graves to disguise your tragic incompetence," he added.
State Rep. Amy Mercado (D) said Trump's comments were "repugnant, full of evil and they show the type of person he is."
She criticized Scott and DeSantis, who's running to replace Scott, for supporting Trump's handling of the disaster.
"Rick Scott and Ron DeSantis meanwhile continue rejoicing in [Trump's] actions during Hurricane Maria, saying they wouldn't have done anything differently. Scott and DeSantis should immediately denounce these declarations and end this despicable behavior," said Mercado, who is of Puerto Rican origin and represents a district that is more than 50 percent Hispanic.
Republicans on Capitol Hill treaded more carefully, while avoiding directly questioning the official death toll.
Just as Trump was tweeting about the Puerto Rico death toll on Thursday morning, House Republicans were being told by GOP leadership to stay on message ahead of the midterms and sell their legislative accomplishments to the public.
But Republicans were repeatedly asked about Trump's tweets — not the economy or tax reform — as they trickled out of the closed-door conference meeting.
Some members were more eager than others to weigh in.
"Everything is so personal for him. He wants to always spin a good story, but using the deaths of Puerto Rico hurricane victims might be a new low — and boy, that's saying something," retiring Rep. Ileana Ros-Lehtinen Ileana Carmen Ros-LehtinenBottom line Democrats elect Meeks as first Black Foreign Affairs chairman House Hispanic Republicans welcome four new members MORE (R-Fla.), a frequent Trump critic, told reporters Thursday morning.
Ros-Lehtinen added that only "a warped mind" would "turn this statistic into, 'Oh, fake news is trying to hurt my image.' "
"How can you be so self-centered and try to distort the truth so much?" she continued. "It's just mind-boggling."
Rep. Mark Walker Bradley (Mark) Mark WalkerSeven Senate races to watch in 2022 Lara Trump leading Republicans in 2022 North Carolina Senate poll Rep. Mark Walker announces Senate bid in North Carolina MORE (R-N.C.), whose state is currently bracing for Hurricane Florence, said he had no reason to believe that that the death toll numbers were distorted by Democrats to hurt Trump.
"I'm assuming that if that's what we're hearing from the island, that that's the death toll," Walker told The Hill. "I would give them credibility."
Other GOP lawmakers, however, brushed aside questions about Trump's Puerto Rico comments, saying they hadn't seen his tweets.
Meanwhile, Speaker Paul Ryan Paul Davis RyanRevising the pardon power — let the Speaker and Congress have voices Paul Ryan will attend Biden's inauguration COVID-19 relief bill: A promising first act for immigration reform MORE (R-Wis.) at his weekly press conference gently pushed back without directly invoking the president's name: "I have no reason to dispute these numbers."
Ryan noted that he personally witnessed the devastation during a visit to Puerto Rico in the aftermath of Hurricane Maria.
"It was devastating. It was a horrible storm. I toured the entire island and it's an isolated island that lost its infrastructure and power for a long time. You couldn't get to people for a long time on the island because roads were washed out, power was gone, and casualties mounted for a long time," Ryan said. "So I have no reason to dispute those numbers. Those are just the facts of what happened when a horrible hurricane hits an isolated place like an island."
When another reporter followed up and asked if Trump needed to apologize to Puerto Ricans, Ryan called Hurricane Maria a "devastating storm" that was "really no one's fault."
Jordain Carney, Mike Lillis and Max Greenwood contributed to this story.
Tags Ileana Ros-Lehtinen Bennie Thompson Ron DeSantis Donald Trump Bill Nelson Darren Soto Steny Hoyer Mark Walker Paul Ryan


text:
← Sexy Sunday Thoughts: Spring Leap Edition
Snowy, Cooped Up, And Nudity →
Wonder Woman Origins Trailer
It's almost here! In just a few more months, Wonder Woman, the most iconic female superhero of all time and secret BDSM icon, is going to release her first live-action movie. Despite what the assholes at the United Nations may claim, this has been a long time coming.
There have been multiple Superman movies. There have been dozens of Batman movies. Hell, even Ant Man got his own movie. That's right. A hero named Ant Man got a movie before Wonder Woman. What's that say about us as a culture?
We've had to ensure some pretty nasty moments to get to this point and I'm not just talking about the poor reviews that Batman v. Superman: Dawn of Justice got. We've had a Catwoman movie that has since become infamous. There has even been an Elektra movie that has since become as forgettable as Ben Affleck's performance as Daredevil.
There's no question that the road to this movie has been long and hard, but it's finally almost here. The Wonder Woman movie is poised to join the world of superhero movies at a time when raccoons and talking trees are finding their way into this genre.
With only a few months left, Warner Brothers released another trailer this past weekend. I would've made a big deal of it sooner, but being sick kind of got in the way of that. I'm better now so I'm ready to make a big fucking deal of it now.
Are you done cheering like a school-girl on crack? Good. As a long-time comic book fan, seeing this trailer puts a smile on my face and a boner in my pants. I couldn't be happier that superhero movies have become the alpha and omega of box office blockbusters. However, I have been somewhat frustrated by the lack of successful female superhero movies.
Wonder Woman can change that. Wonder Woman, being the first and most iconic female hero of the last 70 years, can bring some much-needed balance and sex-appeal to superhero movies. While I doubt the BDSM elements of her history are going to show up in this movie, I'm glad she's joining the crowded crop of superhero movies that has one too many talking racoon and actors named Chris.
This trailer specifically focuses on Wonder Womans origins. Again, there's no hint of BDSM, but the core elements are there. There's Themyscira, her homeland. There's the Amazons, a society of warrior women blessed by the gods. There's a weapon that no woman on Themyscira is worthy to wield. Those are all key elements of an awesome Wonder Woman story.
That story will commence this June. Expect me to be among the first in line. Also expect me to write a thorough assessment on this blog, especially if any BDSM moments show up. I imagine they'll be well-hidden if they do, but at this point, I'll just gladly accept an awesome Wonder Woman movie that'll remind the assholes at the UN why she's one of the most iconic female heroes of all time.
Filed under Comic Books, Jack Fisher, Superheroes
Tagged as Batman, Chris Pine, Comic Book, DC, DC Comics, Gal Gadot, Justice League, superhero movies, Superman, William Marston, Wonder Woman, Wonder Woman Movie
3 responses to "Wonder Woman Origins Trailer"
Pingback: Early Reviews For The Wonder Woman Movie (A Wonderful Sign) | Jack Fisher's Official Publishing Blog
Pingback: Another (Potentially Distressing) Thought Experiment | Jack Fisher's Official Publishing Blog
Pingback: Wonder Woman Exceeds Deadpool At The Box Office (And Deadpool Is Okay With That) | Jack Fisher's Official Publishing Blog
RT @AiPTcomics: Uncanny X-Men #22 review: a fitting ending. Emotional storytelling and an exciting plot make for a memorable issue. #comics… 12 minutes ago
RT @SteveNiles: He can't be stopped https://t.co/esdUoXhq0w 1 hour ago
RT @TheRealBuzz: 50 years ago today, Neil Armstrong, Mike Collins and I launched into space on a mission of enormous importance. God bless… 1 hour ago
Reading about #Neuralink gives me hope that one day I'll be able to beam comic books, football games, and sexy stor… twitter.com/i/web/status/1… 2 hours ago
RT @EW: Jonathan Hickman previews his 'multiyear plan' to reinvent Marvel's X-Men comics share.ew.com/kdgMuye 2 hours ago
Follow @MarvelMaster616


text:
On Second Thought for Nov. 21, 2016
Police in Harrisburg, Pa., are investigating the theft of more than a dozen laundry detergent bottles from a grocery store. So far, they have no leads, but they hope someone comes clean soon.
I know criminals tend to be stupid, but I pity the guy if he thinks he's going to start a money-laundering scheme.
President-elect Donald Trump says he may not stay full-time at the White House. He wants to commute from his apartment in New York. This is good news for Chris Christie. From now on, he won't be the one blamed for traffic jams.
For Trump's neighbors in New York, there are tradeoffs. Sure, they have to see the president's laundry drying on the clothesline between buildings, but they won't have to pay extra for getting frisked by the Secret Service every time they walk the dog.
In American politics, this post-election time is known as the beginning of a traditional honeymoon period for the new president. It's such a wonderful tradition. You remember people protesting your honeymoon, don't you?
In recent weeks, fake news stories on Facebook outperformed the top legitimate stories from major news outlets. Well sure, but it really can be hard to tell the difference. For instance, which is harder to believe, a story that says Hillary Clinton is secretly selling arms to ISIS, or one that says President Obama is hoping Donald Trump succeeds?
I say it's time for everyone to wake up to what it takes to attract an audience these days. Quit being so old fashioned. Invite your kids to Thanksgiving by saying, "Mom took the innards out of the turkey, and you won't believe what happened next!"
Who cares if the Pope never really endorsed Trump? What else are we supposed to talk about at parties? The way the rest of the world thinks we've gone off the rails?
Donald Trump says he'll take only a $1 yearly salary as president. Don't get too upset. Everyone should know by now that you don't get as much for a dollar as you used to.
Now that the 2016 elections are over, only one thought dominates the minds of anxious Americans. How long until the primary debates begin for 2020?
Polls show roughly two-thirds of Americans think the big losers on Election Day were pollsters. But the margin of error is so large it's hard to tell for sure.
From now on, the fine print at the bottom of polls will say, "Margin of error +/– 4 percent, or, then again, the whole thing could be pathetically wrong."
Predictions were so wrong leading into Tuesday that surveys may stop relying on Tarot cards and coffee grinds altogether.
Pollsters have a simple explanation for what happened during this election season. They accidentally forgot to survey half the nation.
So, the big question on the minds of all Americans is, now that he won, will Donald Trump's staff allow him to use his Twitter account again? We can't wait for his first 140-character asides from the next G-7 meeting.
Trump's victory was a shock to many Americans, but they'll get over it. Americans are a hardy lot. I'm sure even Yale University soon will resume the classes and exams it canceled for grief-stricken students.
If Trump is smart, the first thing he will do is give Samsung a defense contract. Any company that can make smart phones catch fire in your pocket and blow the tops off washing machines deserves a shot at our enemies.
If one more Samsung product becomes an inadvertent weapon, the company could get support from the NRA.
At first, the stock market reacted negatively to news that Trump was winning. That all changed when it became clear Wall Street would not be moved to the southern border to be paid for by Mexicans. That will be a different wall.
Speaking of which, Canada may now be building a wall of its own and trying to make us pay for it.
After the election, President Obama welcomed Trump to the White House. Staff members were up all the previous night trying to dig a hole big enough to bury the hatchets.


text:
THE GENTLEMEN follows American expat Mickey Pearson who built a highly profitable marijuana empire in London. When word gets out that he's looking to cash out… More Details »
Guy Ritchie, Ivan Atkinson, Bill Block
THE GENTLEMEN follows American expat Mickey Pearson who built a highly profitable marijuana empire in London. When word gets out that he's looking to cash out of the business forever it triggers plots, schemes, bribery and blackmail in an attempt to steal his domain out from under him.
Lyne Renée
Tom Wu
Chidi Ajufo
Loved it. The kind of Ritchie movie I've been waiting for since Rocknrolla. Great ensemble cast, plot keeps you guessing till the very end! Can't wait to see it again!
Cody C
FAB english humor.. Guy Ritchie at his best. GREAT cast LOVE
connie B
For all its energy and vulgarity, The Gentlemen is a slog, a tedious and unnecessarily unpleasant tour of ground that Ritchie's already covered.
Featuring a stellar ensemble cast headed by Matthew McConaughey, Hugh Grant, Charlie Hunnam, Michelle Dockery and Colin Farrell, Ritchie's homecoming is a fairly familiar affair, but also refreshingly funny and deftly plotted, with more witty lines and less boorish machismo than his early work.
The Gentlemen is a disposable crime caper on autopilot. Propped up by an all-star ensemble, particularly the sturdy Charlie Hunnam and scene-stealer Colin Farrell, Guy Ritchie reclaims the genre that brought him to fame but does little more than shuffle battered parts into an intermittently entertaining configuration.


Am I Harder Than Stone?
At the age of 40, Akiva had not studied a word of Torah. A shepherd by trade, no doubt he was intimidated by the rabbis of the academy. How could a country boy such as he ever master the sacred text?
Then one day, Akiva was standing by the mouth of a well. He noticed that the water dripped out; and his gaze followed the drip to a bowl shaped stone. He wondered aloud: "Who hollowed out this stone?" "Akiva," he was told, "haven't you read in the book of Job that 'water wears away stone?' It is the constant drip of the water day after day, which created the hollow in the rock."
At that moment Akiva came to a realization. "Is my mind harder than stone?" he asked himself. "I will go and study at least one section of Torah!" He went directly to the schoolhouse, where he began to read with his son. First the teacher wrote an alef and a bet, and he learned to read them. Like the dripping water, he worked his way through the entire Hebrew alphabet, letter by letter. Then he learned the book of Leviticus, and finally the entire Torah and the Oral Law. In the end, Akiva became one of the greatest sages there has ever been.
The story of Rabbi Akiva's beginning contains a great truth about life. Our most significant accomplishments do not come about in one grand moment. They are earned gradually over time, little by little. If we were to try to accomplish our goals in one fell swoop, we would give up, thinking the task impossible.
Transformation requires patient determination. What we need most is to be like Rabbi Akiva. To look at the well of Torah and ask ourselves, "Am I harder than stone?" Drip by drip, day by day, challenge by challenge, we can make ourselves over again, and release our spirits trapped in the stone.


text:
Q: Inject into the Startup class Is it possible to use an IOC framework like Castle Windsor to inject into the Startup method.  I mean something like this:
public class Startup()
{
   IMyObject MyObject = new MyObject();

   public Startup(MyObject myObject)
   {
      MyObject = myObject();
   }
}

I am trying to drop and create a database on startup using NHibernate.  Alternatively is there a "better" place to drop and create the database using NHibernate?

A: I do something like this for integration tests using specflow.
I have a NHibernateInitializer class that I inherit in all my projects that looks like this
public abstract class NHibernateInitializer : IDomainMapper
{
    protected Configuration Configure;
    private ISessionFactory _sessionFactory;
    private readonly ModelMapper _mapper = new ModelMapper();
    private Assembly _mappingAssembly;
    private readonly String _mappingAssemblyName;
    private readonly String _connectionString;

    protected NHibernateInitializer(String connectionString, String mappingAssemblyName)
    {
        if (String.IsNullOrWhiteSpace(connectionString))
            throw new ArgumentNullException("connectionString", "connectionString is empty.");

        if (String.IsNullOrWhiteSpace(mappingAssemblyName))
            throw new ArgumentNullException("mappingAssemblyName", "mappingAssemblyName is empty.");

        _mappingAssemblyName = mappingAssemblyName;
        _connectionString = connectionString;
    }

    public ISessionFactory SessionFactory
    {
        get
        {
            return _sessionFactory ?? (_sessionFactory = Configure.BuildSessionFactory());
        }
    }

    private Assembly MappingAssembly
    {
        get
        {
            return _mappingAssembly ?? (_mappingAssembly = Assembly.Load(_mappingAssemblyName));
        }
    }

    public void Initialize()
    {
        Configure = new Configuration();
        Configure.EventListeners.PreInsertEventListeners = new IPreInsertEventListener[] { new EventListener() };
        Configure.EventListeners.PreUpdateEventListeners = new IPreUpdateEventListener[] { new EventListener() };
        Configure.SessionFactoryName(System.Configuration.ConfigurationManager.AppSettings["SessionFactoryName"]);
        Configure.DataBaseIntegration(db =>
                                      {
                                          db.Dialect<MsSql2008Dialect>();
                                          db.Driver<SqlClientDriver>();
                                          db.KeywordsAutoImport = Hbm2DDLKeyWords.AutoQuote;
                                          db.IsolationLevel = IsolationLevel.ReadCommitted;
                                          db.ConnectionString = _connectionString;
                                          db.BatchSize = 20;
                                          db.Timeout = 10;
                                          db.HqlToSqlSubstitutions = "true 1, false 0, yes 'Y', no 'N'";
                                      });
        Configure.SessionFactory().GenerateStatistics();

        Map();
    }

    public virtual void InitializeAudit()
    {
        var enversConf = new Envers.Configuration.Fluent.FluentConfiguration();

        enversConf.Audit(GetDomainEntities());

        Configure.IntegrateWithEnvers(enversConf);
    }

    public void CreateSchema()
    {
        new SchemaExport(Configure).Create(false, true);
    }

    public void DropSchema()
    {
        new SchemaExport(Configure).Drop(false, true);
    }

    private void Map()
    {
        _mapper.AddMappings(MappingAssembly.GetExportedTypes());
        Configure.AddDeserializedMapping(_mapper.CompileMappingForAllExplicitlyAddedEntities(), "MyWholeDomain");
    }

    public HbmMapping HbmMapping
    {
        get { return _mapper.CompileMappingFor(MappingAssembly.GetExportedTypes()); }
    }

    public IList<HbmMapping> HbmMappings
    {
        get { return _mapper.CompileMappingForEach(MappingAssembly.GetExportedTypes()).ToList(); }
    }

    /// <summary>
    /// Gets the domain entities.
    /// </summary>
    /// <returns></returns>
    /// <remarks>by default anything that derives from EntityBase and isn't abstract or generic</remarks>
    protected virtual IEnumerable<System.Type> GetDomainEntities()
    {
        List<System.Type> domainEntities = (from t in MappingAssembly.GetExportedTypes()
                                            where typeof(EntityBase<Guid>).IsAssignableFrom(t)
                                            && (!t.IsGenericType || !t.IsAbstract)
                                            select t
                                           ).ToList();

        return domainEntities;
    }
}

Then in my global.asax Application_Begin event handler I configure it
    public class MvcApplication : HttpApplication
    {
        private const String Sessionkey = "current.session";
        private static IWindsorContainer Container { get; set; }
        private static ISessionFactory SessionFactory { get; set; }

        public static ISession CurrentSession
        {
            get { return (ISession) HttpContext.Current.Items[Sessionkey]; }
            private set { HttpContext.Current.Items[Sessionkey] = value; }
        }

        protected void Application_Start()
        {
            Version version = Assembly.GetExecutingAssembly().GetName().Version;
            Application["Version"] = String.Format("{0}.{1}", version.Major, version.Minor);
            Application["Name"] = ConfigurationManager.AppSettings["ApplicationName"];

            //create empty container
            //scan this assembly for any installers to register services/components with Windsor
            Container = new WindsorContainer().Install(FromAssembly.This());

            //API controllers use the dependency resolver and need to be initialized differently than the mvc controllers
            GlobalConfiguration.Configuration.DependencyResolver = new WindsorDependencyResolver(Container.Kernel);

            //tell ASP.NET to get its controllers from Castle
            ControllerBuilder.Current.SetControllerFactory(new WindsorControllerFactory(Container.Kernel));

            //initialize NHibernate
            ConnectionStringSettings connectionString = ConfigurationManager.ConnectionStrings[Environment.MachineName];

            if (connectionString == null)
                throw new ConfigurationErrorsException(String.Format("Connection string {0} is empty.",
                    Environment.MachineName));

            if (String.IsNullOrWhiteSpace(connectionString.ConnectionString))
                throw new ConfigurationErrorsException(String.Format("Connection string {0} is empty.",
                    Environment.MachineName));

            string mappingAssemblyName = ConfigurationManager.AppSettings["NHibernate.Mapping.Assembly"];

            if (String.IsNullOrWhiteSpace(mappingAssemblyName))
                throw new ConfigurationErrorsException(
                    "NHibernate.Mapping.Assembly key not set in application config file.");

            var nh = new NHInit(connectionString.ConnectionString, mappingAssemblyName);
            nh.Initialize();
            nh.InitializeAudit();
            SessionFactory = nh.SessionFactory;

            AutoMapConfig.RegisterMaps();
            AreaRegistration.RegisterAllAreas();
            FilterConfig.RegisterGlobalFilters(GlobalFilters.Filters);
            RouteConfig.RegisterRoutes(RouteTable.Routes);
            BundleConfig.RegisterBundles(BundleTable.Bundles);
            ModelBinderConfig.RegisterModelBinders(ModelBinders.Binders);

            AntiForgeryConfig.UniqueClaimTypeIdentifier = ClaimTypes.NameIdentifier;
        }

        protected void Application_OnEnd()
        {
            //dispose Castle container and all the stuff it contains
            Container.Dispose();
        }

        protected void Application_BeginRequest() { CurrentSession = SessionFactory.OpenSession(); }

        protected void Application_EndRequest()
        {
            if (CurrentSession != null)
                CurrentSession.Dispose();
        }
    }
}


text:
Small Business Security Through an IT Managed Services Company
Home » Small Business Security Through an IT Managed Services Company
In Blog, Managed Service Provider
Small Business Security Through an IT Managed Services Company2020-06-302020-06-29https://veruscorp.com/wp-content/uploads/2016/03/logo-190.pngMinneapolis Cloud Services and Managed Service Provider Verus Corporationhttps://veruscorp.com/wp-content/uploads/2020/06/photo-of-man-holding-a-book-927022-scaled.jpg200px200px
It has been over 100 days now since the World Health Organization declared COVID-19 a global pandemic. In that time, virtual private networks have stressed under increased loads as employees shifted to working from home and IT teams have scrambled to secure an emerging remote workforce. The tech giants Microsoft, Apple, Google and Facebook have added over $1 trillion in market cap as the world relies more heavily on technology to maintain productivity and connectivity through wide-spread lockdowns. Behind the scenes throughout this historical shift in everyday life, IT managed services companies (MSPs) have helped to fill the gap where internal IT departments are short-staffed and under specialized to manage the unprecedented disruption in the status quo. Even before the pandemic broke, the incorporation of IoT devices into our daily lives as well as the rapid shift to the cloud for business productivity applications and data warehousing was already fueling demand for MSPs. According to Mordor Intelligence, successful deployment of managed services will help in reducing IT cost by 25-45% and will also increase operational efficiency by 45-65%. This reduction in cost and improved efficiency has been shown critical for small and mid-sized businesses (SMBs) to persevere as near-term economic growth remains uncertain.
But beyond the reduction in costs and improved efficiency, SMBs also benefit from improved network and system security as they partner with an MSP to adopt a security-first mindset. In addition, MSPs bring the latest security software and configuration expertise to the table to help organizations adopt technologies such as multi-factor authentication, DNS filtering, cloud access portals and virtual firewalls. Today MSPs work in tight partnerships with hardware manufacturers to offer the latest security solutions efficiently. This presents an opportunity for SMBs to establish a more tightly woven security implementation encompassing all devices from endpoints to firewalls as hardware vendors further integrate with leading security services. A great example of this integration between hardware and security software can be seen in WatchGuard's acquisition of Panda Security. Through the merger, WatchGuard's partner MSPs will be able to offer their clients an industry-leading integration of WatchGuard's already solid firewalls combined with the award-winning deep learning threat detection and advanced endpoint protection from Panda Security.
Mergers such as the WatchGuard and Panda deal provide opportunities for small businesses to improve overall security while still maintaining costs. Two-thirds of small businesses have no IT staff dedicated to cybersecurity but they still account for over 1/2 of the data breach incidents each year. In working with an MSP to manage cybersecurity, SMBs see simplified setup and management along with easy licensing as they work with one supplier. Through the WatchGuard and Panda merger, SMBs can see this same efficiency spread all the way down to their endpoint threat detection and response implementation. As Jonathan Whitley, sales director for Northern Europe at WatchGuard puts it,
"Customers want one supplier that can provide endpoint and perimeter and then manage it from a one single pane of glass,"
As cyber threats continue to increase year over year, SMBs need to leverage every efficiency they can find. Enterprise businesses have the advantage of scale and the resulting larger budgets which SMBs simply don't have. Yet SMBs still need to consistently implement and manage the latest security solutions to keep their businesses running. For most of them, partnering with an MSP is the solution.
VOLUME II, ISSUE 7 (JULY, 2016)
What To Look For In Managed IT Security Service Providers (MSSPs)
Volume III, Issue 6 (June, 2017)
Cybersecurity Software and Securing the Remote WorkforceBlog, Cybersecurity
Trending IT Solutions For HealthcareBlog, IT Solutions