Imagine a blue sky sporting only wisps of cloud, the warm sun bringing out the freshness of newly-mown grass, the sound of bagpipes tuning up from every corner, and a colourful collection of kilts and highland dancing outfits all coming together on the campus of St. Andrew's College in Grahamstown in the Eastern Cape. Here the Fiddlewoods are highlighted against the Clock Tower.
The street march competition begins.
Under the watchful eye of the judges.
The field was filled with colourful sights and melodious music and the sound of laughter and chatting as people gathered to share their enjoyment of the day.
A wonderful day was rounded off with a massed band before all the stall holders packed up their wares, the dancers changed out of their dancing shoes and the pipers went off to celebrate their victories.
History is not my cup of tea, you might say. Yet, we didn't just arrive in the 21st century: the world was populated long before we came, events happened globally, nationally, and within our own families that have shaped who we are and what we do; how we feel about politics, global environmental issues, and the management of our local municipalities.
Let me take you on a journey to an open space of great beauty and tranquillity I didn't know existed in a city I have visited fairly regularly over the past twenty six years. It is a place where gnarled old indigenous trees, bent by the prevailing wind and subtropical plants typical of the Eastern Cape coast vie for attention with the aliens so beloved of public landscapers of long ago: exotic palm trees, Scottish pines and rubber trees!
There are raised ponds filled with blue water lilies; rolling grassy banks; ha-has; a stone bridge crossing a moat to an island complete with bandstand; benches placed at intervals so that one can rest while one's eyes take in the vista of immaculately mown lawns, cobbled pathways and wide stone steps leading to another level. A well maintained playground attracts laughing children, the paths are wheelchair friendly, and there is shade aplenty – very welcome in the 40degree C heat of the day I was there.
Welcome to Victoria Park situated in the lower end of Walmer, near the airport – probably named after Queen Victoria. As I waited for the Algoa Bay Highland Gathering to begin, I observed white-rumped swifts flying overhead against the bright blue sky devoid of clouds; a skein of twenty five Egyptian geese honked over the park in a classic V-formation, competing with the bagpipers warming up for the solo competitions held during the morning.
Unperturbed by the sound of bagpipes and drums, a flock of speckled mousebirds flitted among the palm trees and a fiscal shrike regularly swooped down from its high perch to catch insects on the grass. Common starlings picked up crumbs near the food stalls while black-collared barbets sang their duets. Black-headed orioles called relentlessly against the backdrop of bagpipes, drums and the music emanating from the tent where the Scottish and Irish dancing competitions were taking place. The red-eyed doves seemed bemused by the activities on the ground, which included a medieval fayre.
By the time the band competitions had begun after lunch, first with the march, strathspey and reel followed by the medley, the large flock of Hadeda ibises that had taken to the sky could be seen and not heard – fancy a mute flock of Hadedas!
It was to loud applause that the crowd listened to pipe bands from Bloemfontein, Cape Town, Durban, Grahamstown and Port Elizabeth competing for top honours. Among several tartans on display were the Mackenzie, Gordon, and Graham of Montrose. The day ended with a massed band performance of all the bands playing as one marching to well known tunes such as Scotland the Brave and Flower of Scotland.
The crowd was enthralled and young children danced or marched on the fringes of the circle as the clouds gathered and the temperature began to drop at last.


text:
Q: How to linearise $\dot \epsilon_y = (a+\epsilon_y)(1- \frac{a+\epsilon_y}{a+\epsilon_x})$? I have the following dynamical system
$$\frac{d x}{d \tau}=\gamma x(1-x)-\alpha x y$$
$$\frac{d y}{d \tau}=y\left(1-\frac{y}{x}\right),$$
where $\gamma$ and $\alpha$ are constant parameters. I am trying to figure out the stability of the fixed point $(x_0, y_0) = (\frac{\gamma}{\gamma + \alpha}, \frac{\gamma}{\gamma + \alpha})$. I have tried to linearise the system by pluging $x = x_0 + \epsilon_x$ and $y = y_0 + \epsilon_y$ in the system and managed to linearise the ODE for $\dot \epsilon_x$, but for $\dot \epsilon_y$ I got
$$\dot \epsilon_y = (a+\epsilon_y)(1- \frac{a+\epsilon_y}{a+\epsilon_x}),$$
where $a = x_0 = y_0$.
Question:
How can I linearise the equation for $\dot \epsilon_y$?

I have tried expanding it around $(0,0)$ as a Taylor series, but all the terms of order smaller than $2$ vanish, so I need to deal with terms of order $2$; but that does not help me solving the problem. After all, the  reason why we do linearisation is that we can find the eigenvalues of the linearised system to determine the stability of the fixed points of the non-linearised system.

A: If you expand the second factor arithmetically, you get
$$
\dot ϵ_y=(a+ϵ_y)\frac{ϵ_x-ϵ_y}{a+ϵ_x}.
$$
As the difference $ϵ_x-ϵ_y$ is already first-order small, all the other factors need only be expanded to first order. Assuming $a\ne 0$, only the constant term $a$ remains and cancels from the expression. Thus the linearization is
$$
\dot ϵ_y=ϵ_x-ϵ_y.
$$

redpajama_set_name: RedPajamaStackExchange


Former President Bill Clinton at the International AIDS conference in Washington, D.C., in July. Photo by Michael Kovac/Getty Images.
CHARLOTTE, N.C. | President Obama's re-election prospects will get a boost Wednesday night from Bill Clinton, who 16 years ago became the first Democratic president since Harry Truman to win a second term.
The 42nd president will have a central role, officially placing Mr. Obama's name in nomination, then delivering remarks that will outline precisely why he thinks his wife's one-time primary rival deserves four more years in office.
That Obama would choose the former president for such a high-profile speaking spot and that Clinton would accept seemed unfathomable in 2008, when the two clashed bitterly during the Democratic nomination showdown between Obama and Hillary Rodham Clinton, the former president's wife. Even though Hillary Clinton now serves as Obama's secretary of state, resentments between the current and former presidents have been slow to ebb.
But now, with the Democratic incumbent locked in a tight race with Republican Mitt Romney, Obama has fully embraced Clinton as a political partner in hopes of capturing the former president's uncanny knack for political survival against tough odds.
Obama has asked Clinton to place his name in nomination, which makes him the first ex-president to have that honor and provides further proof, if any were needed, of his importance to the reelection effort.
He is also keeping the family business alive while his wife finishes her term as secretary of State. He has been making endorsements in down-ballot races and raising money for Democrats who backed her presidential campaign and could be in a position to help her again.
Senior Obama campaign officials expressed confidence about Clinton's role, telling NewsHour reporters Tuesday that if they want a preview of the speech they should just turn on the television set. Ads starring Clinton offering a testimonial for the president have been running round the clock. The officials said that's a 30-second version of what Clinton will say.
Inside the Time Warner Cable Arena Tuesday night, each speaker had the specific task of laying out an element of the president's agenda, defending his policies or going after Mitt Romney.
In a carefully orchestrated program, the evening moved swiftly along, with Illinois Gov. Pat Quinn outlining what he says is the real story of Mr. Obama's record on welfare reform. And former Ohio Gov. Ted Strickland presented an argument Buckeye State voters will hear again and again, that one in 8 residents of the state were aided by the auto bailout. One female politician after another attacked the GOP for attempting to take reproductive decisions away from individual women. Each element was a key plank of the Obama campaign this fall.
We don't belong to government, the government belongs to us.
Meanwhile, a new CNN poll found Romney got a 1-point bounce following his convention. The survey had Mr. Obama at 49 percent and Romney at 47 percent, a virtual tie.
"Barack knows the American dream because he's lived it," she said.
Watch the first lady's speech here or below.
For the NewsHour Tuesday, Gwen Ifill interviewed Wednesday's headline speaker Elizabeth Warren. Watch that here.
Gwen and Judy Woodruff talked about the Democrats' push to appeal to women at the convention. Watch the discussion here.
And Cory Booker stopped by the skybox. Watch that here.
Ray Suarez looked at how the campaign needs young voters. Watch his report here.
The NewsHour captured a bunch of the speeches on our YouTube page.
Here is the Kal Penn speech everyone was talking about.
Here's the Ted Kennedy tribute video, which includes debate footage of him attacking Romney in 1994.
And here are the female members of Congress that Nancy Pelosi introduced to America.
Gwen's breakfast panel at the NASCAR Museum, with Atlanta Mayor Kasim Reed, Minneapolis Mayor R.T. Rybak, California Attorney General Kamala Harris and Alejandra Salinas, National President of College Democrats of America.
The Doubleheader with Hari Sreenivasan, Mark Shields and David Brooks around 5 p.m.
Interviews with journalists, newsmakers and NewsHour staff.
Dispatches from our team on the floor as delegates officially get to business.
And what the heck is hat cam, you ask? Hari explained in a piece we posted Tuesday night.
Keep an eye on our Flickr feed of images from the convention. Every image in the stream is free for use under a Creative Commons license.
Where do you fit? Take the Pew Research Center/NewsHour Political Party ID quiz here and share your results with your friends.
Christina and Judy talked about the first lady in the Political Checklist. Watch that here.
Here's the Doubleheader, with Hari, Mark and David.
Superstar livestream camera operator Joshua Barajas made a cameo in a segment Tuesday. Watch us unpack the swag bag.
Christina also chatted with Nathan Gonzales and Kyle Trygstad about the Congressional landscape. Watch that here.
Lilly Ledbetter proves my point from last week: Real people are more compelling speakers than most politicians.
Craig Robinson seems like a good guy, but he's under pressure to win this year at Oregon St — zero winning seasons in PAC-10.
BuzzFeed reports that conservative activist Phylis Schlafly has been pressuring Rep. Todd Akin to get out of the Missouri Senate race.
There's a petition to get Betty White to introduce the president Thursday night.
Roll Call's Heard on the Hill star Neda Semnani talked to Richard Schiff about the role of celebrities at the conventions.
Cassie M. Chew contributed to this report.
For more coverage, visit our politics page.
Follow the politics team on Twitter: @cbellantoni, @burlij, @elizsummers, @kpolantz, @indiefilmfan, @tiffanymullon, @dePeystah, @meenaganesan and @abbruns.


The RP17 RapidPower™ is a high-speed brushless DC electric motor developed by Electrocraft. It has a size of Nema 17 and a peak torque which can either be 45 oz-in or 31.8 Ncm. This motor is small in size but delivers high performance. It is constructed with a ball bearing and dynamically balanced rotors.


text:
Q: How to insert values to a sqlite database through onReceive function? Am developing an android application in that app i have database table... When a particular formatted message comes to an phone, it should get splitted the value of that message carries should go and insert into the created table in database...
The message format is:
Lat:12.537347487
Lan:77.674875980
Accry:4.0
Fri May 09 10:28:34 IST
2014
This value of the formatted message wants to get stored in database table via onReceive function... The message should be get split and the values of Lat,Lan,Accry,Date and Time should be store in the database...
SmsReceiver.java:

package com.example.sample2;

import java.util.ArrayList;
import java.util.Calendar;

import com.example.sample2.SecureMessagesActivity;
//import org.secure.sms.SmsInfo;

import android.content.BroadcastReceiver;
import android.content.ContentResolver;
import android.content.ContentValues;
import android.content.Context;
import android.content.Intent;
import android.content.SharedPreferences;
import android.database.sqlite.SQLiteDatabase;
import android.net.Uri;
import android.os.Bundle;
import android.telephony.SmsMessage;
import android.widget.Toast;

public class SmsReceiver extends BroadcastReceiver
{

    public static final String SMS_EXTRA_NAME = "pdus";
    public static final String SMS_URI = "content://sms";

    public static final String ADDRESS = "address";
    public static final String MOBILE = "Mobile";
    public static final String BODY = "body";
    public static final String LAT = "lat";
    public static final String LAN = "lan";
    public static final String ACCURACY = "Accry";
    public static final String DATE = "Date";
    public static final String TIME = "Time";
    public static final String SEEN = "seen";

    public static final int MESSAGE_TYPE_INBOX = 1;
    public static final int MESSAGE_TYPE_SENT = 2;

    public static final int MESSAGE_IS_NOT_READ = 0;
    public static final int MESSAGE_IS_READ = 1;

    public static final int MESSAGE_IS_NOT_SEEN = 0;
    public static final int MESSAGE_IS_SEEN = 1;
   // static ArrayList<SmsInfo> listSms = new ArrayList<SmsInfo>();

    // Change the password here or give a user possibility to change it
   // public static final byte[] PASSWORD = new byte[]{ 0x20, 0x32, 0x34, 0x47, (byte) 0x84, 0x33, 0x58 };
   // ArrayList<String> smsList = new ArrayList<String>();
    @Override
    public void onReceive( Context context, Intent intent )
    {
        Bundle bundle = intent.getExtras();
        SmsMessage[] msgs = null;
        String messages = "";
        if (bundle != null)
        {
        //—retrieve the SMS message received—
        Object[] smsExtra = (Object[]) bundle.get("pdus");
        msgs = new SmsMessage[smsExtra.length];

        for (int i=0; i<msgs.length; i++)
        {
        SmsMessage sms = SmsMessage.createFromPdu((byte[])smsExtra[i]);
        //take out content from sms

        if(sms.getMessageBody().contains("Lat:"))
        {

            String[] splitted = sms.getMessageBody().split("\n");

            String body= splitted[0];
            String[] mobval=body.split(":");
            String Mobile=mobval[1];//Mob Value

         body= splitted[2];
        String[] latval=body.split(":");
        String lat=latval[1];//Lat Value

         body = splitted[3];
        String[] lanval=body.split(":");
        String lan=lanval[1];//Lan Value

        body = splitted[4];
        String[] Accval=body.split(":");
        String Accry=Accval[1];//Accry value

        body= splitted[5];
        String Dateval=body.substring(4,10);
        String Timeval=body.substring(11,20);
        String Date=Dateval; //Date value

        String Time=Timeval; //Time value

        String address = sms.getOriginatingAddress();
        messages += "SMS from" + address + ":\n";

        //—display the new SMS message—
        Toast.makeText(context, messages, Toast.LENGTH_SHORT).show();
        insertintoDB(context, Mobile,lat,lan,Accry,Date,Time);
        //putSmsToDatabase(Mobile,lat,lan,Accry,Date,Time, context );
        abortBroadcast();
        }

        }

        }

    }
    private void insertintoDB(Context context, String mobile, String lat, String lan, String date,String time,String accuracy) {
       // final SharedPreferences prefs = getSharedPreferences(Const.COMMON_SHARED, Context.MODE_PRIVATE);
        //String userId = prefs.getString(Const.COMMON_USERID, null);
        DataBaseHelper dbHelper= new DataBaseHelper(context);
//      dbHelper.openDataBase();
        dbHelper.insertData(mobile, lat, lan, date,accuracy,time);
        dbHelper.close();
    }

DataBaseHelper.java:
    package com.example.sample2;

import android.content.ContentValues;
import android.content.Context;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteException;
import android.database.sqlite.SQLiteOpenHelper;
import android.util.Log;
import android.widget.Toast;

public class DataBaseHelper extends SQLiteOpenHelper {

    //public static final String SMS_URI = "/data/data/org.secure.sms/databases/";
    public static final String DB_NAME= "message";
    public static final String TABLE_NAME= "sms2";
    public static final int version =1;
    public static final String ADDRESS = "address";
    public static final String MOBILE = "Mobile";
    public static final String BODY = "body";
    public static final String LAT = "lat";
    public static final String LAN = "lan";
    public static final String ACCURACY = "Accry";
    public static final String DATE = "Date";
    public static final String TIME = "Time";
    Context context;
    public DataBaseHelper(Context context) {
    super(context, DB_NAME, null, version);
    // TODO Auto-generated constructor stub
    this.context =context;
    }

    //@Override
    public void onCreate(SQLiteDatabase db) {
    // TODO Auto-generated method stub

        String CREATE_TABLE="CREATE TABLE "+TABLE_NAME+" ("+MOBILE+"varchar(13),"+LAT+" double precision, "+LAN+" double precision, "+ACCURACY+" double,"+DATE+ "DATETIME DEFAULT CURRENT_TIMESTAMP,"+TIME+ "DATETIME DEFAULT CURRENT_TIMESTAMP)";
        db.execSQL(CREATE_TABLE);
    Toast.makeText(context, "database created", Toast.LENGTH_LONG).show();
    Log.i("dbcreate", "DATABASE HAS CREATED");
    }

    public boolean checkDataBase(String db) {

    SQLiteDatabase checkDB = null;

    try {
    String myPath = "data/data/"+ context.getPackageName() +"/databases/" + db;
    checkDB = SQLiteDatabase.openDatabase(myPath, null,SQLiteDatabase.OPEN_READONLY);

    } catch (SQLiteException e) {

    // database does't exist yet.

    } catch (Exception e) {

    }

    if (checkDB != null) {

    checkDB.close();

    }

    return checkDB != null ? true : false;
    }

    public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {
    // TODO Auto-generated method stub
    if (oldVersion >= newVersion)
    return;

    if (oldVersion == 1)
    {
    Log.d("New Version", "Datas can be upgraded");
    }

    Log.d("Sample Data", "onUpgrade : " + newVersion);
    }

    public void insertData(String mobile, String lat, String lan, String date, String accuracy,String time) {
        SQLiteDatabase    db = this.getWritableDatabase();
        ContentValues values = new ContentValues();
        values.put(MOBILE, mobile);
        values.put(LAT, lat);
        values.put(LAN, lan);
        values.put(ACCURACY, accuracy);
        values.put(DATE, date);
        values.put(TIME, time);
        db.insert(DB_NAME, null, values);
        db.close();
    }
    }

A: Try with below code hope its work for u.
 private void insertintoDB(Context context, String frdID, String frdName, String msg, long currentTimeMillis,String file) {

            DBHelper dbHelper= new DBHelper(context);
    //      dbHelper.openDataBase();
            dbHelper.insertData(frdID, userId, msg, currentTimeMillis,0,frdName,file);
            dbHelper.close();
        }

in Databasehelper class
 public void insertData(String frdID, String userID, String msg, long currentTimeMillis, int sentid, String frdName,String file) {
            db = this.getWritableDatabase();
            ContentValues values = new ContentValues();
            values.put(KEY_FRDID, frdID);
            values.put(KEY_USERID, userID);
            values.put(KEY_MSG, msg);
            values.put(KEY_TIME, currentTimeMillis);
            values.put(KEY_SENT, sentid);
            values.put(KEY_FRDNAME, frdName);
            values.put(FILE_URL, file);

            db.insert(TABLE_NAME, null, values);
            db.close();
        }

public class DBHelper extends SQLiteOpenHelper {
    private Context myContext;
    public String DB_PATH = "data/data/com.gpus/databases/";
    public static String DB_NAME = "Chat.sqlite"; // your database name
    private SQLiteDatabase db;
    public static final String KEY_ID = "_id";
    public static String KEY_FRDID = "Frd_id";
    public static final String KEY_USERID = "User_id";
    public static final String KEY_MSG = "message";
    public static final String KEY_TIME = "time";
    public static final String KEY_SENT = "sent";
    public static final String KEY_FRDNAME = "Frd_Name";
    private static final String TABLE_NAME = "Chat_Table";
    private static final String FILE_URL = "File_url";
    private static final int DATABASE_VERSION = 1;

//  CREATE TABLE "Requst_Table" ("_id"  , "Sender_ID" TEXT, "Sender_Name" TEXT,
//          "Receiver_ID" TEXT, "Receiver_Email" TEXT, "Message" TEXT, "Accept" BOOL)
//  private static final String TABLE_REQ_NAME = "Requst_Table";
//  public static final String KEY_SENDERID = "Sender_ID";
//  public static final String KEY_SENDERNAME = "Sender_Name";
//  public static final String KEY_RECID = "Receiver_ID";
//  public static final String KEY_REC_EMAIL = "Receiver_Email";
//  public static final String KEY_MESG = "Message";
//  public static final String KEY_ACCEPT = "Accept";

    public DBHelper(Context context) {
        super(context, DB_NAME, null, DATABASE_VERSION);

         if (db != null && db.isOpen())
         close();

         this.myContext = context;

//       try {
//       createDataBase();
//       openDataBase();
//       } catch (IOException e) {
//       e.printStackTrace();
//       }

    }

    public void createDataBase() throws IOException {
        boolean dbExist = checkDataBase();

        if (dbExist) {
            // System.out.println("Database Exist");
        } else {
            this.getReadableDatabase();

            try {
                copyDatabase();
            } catch (IOException e) {
                throw new Error("Error copying database");
            }
        }
    }

    private void copyDatabase() throws IOException {
        InputStream input = myContext.getAssets().open(DB_NAME);
        String outputFileName = DB_PATH + DB_NAME;
        OutputStream output = new FileOutputStream(outputFileName);

        byte[] buffer = new byte[1024];
        int length;
        while ((length = input.read(buffer)) > 0) {
            output.write(buffer, 0, length);
        }

        // Close the streams
        output.flush();
        output.close();
        input.close();
        // System.out.println(DB_NAME + "Database Copied !");
    }

    @Override
    public void onCreate(SQLiteDatabase db) {

    }

    @Override
    public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {

    }

    public void openDataBase() throws SQLException {
        // Open the database
        String myPath = DB_PATH + DB_NAME;
        db = SQLiteDatabase.openDatabase(myPath, null,SQLiteDatabase.OPEN_READWRITE);

    }

    public boolean isOpen() {
        if (db != null)
            return db.isOpen();
        return false;
    }

    @Override
    public synchronized void close() {
        if (db != null)
            db.close();
        super.close();
    }

    private boolean checkDataBase() {
        SQLiteDatabase checkDB = null;
        try {
            String myPath = DB_PATH + DB_NAME;
            checkDB = SQLiteDatabase.openDatabase(myPath, null,
                    SQLiteDatabase.OPEN_READWRITE);
        } catch (Exception e) {
        }

        if (checkDB != null) {
            // System.out.println("Closed");
            checkDB.close();
            // System.out.println("My db is:- " + checkDB.isOpen());
        }

        return checkDB != null ? true : false;
    }

    public Cursor execCursorQuery(String sql) {
        Cursor cursor = null;
        try {
            cursor = db.rawQuery(sql, null);
        } catch (Exception e) {
            // Log.e("Err", e.getMessage());
        }
        return cursor;
    }

    public void execNonQuery(String sql) {
        try {
            db.execSQL(sql);
        } catch (Exception e) {
            // Log.e("Err", e.getMessage());
        } finally {
            // closeDb();
        }
    }

    public void insertData(String frdID, String userID, String msg, long currentTimeMillis, int sentid, String frdName,String file) {
        db = this.getWritableDatabase();
        ContentValues values = new ContentValues();
        values.put(KEY_FRDID, frdID);
        values.put(KEY_USERID, userID);
        values.put(KEY_MSG, msg);
        values.put(KEY_TIME, currentTimeMillis);
        values.put(KEY_SENT, sentid);
        values.put(KEY_FRDNAME, frdName);
        values.put(FILE_URL, file);

        db.insert(TABLE_NAME, null, values);
        db.close();
    }

    public void update(String file,String Id) {
        String where;
        db = this.getWritableDatabase();
        ContentValues values = new ContentValues();
        values.put(FILE_URL, file);
        if (Id != null) {
            where = "_id=" + Id;
        }else{
            where = "_id = (SELECT MAX(_id) FROM Chat_Table)";
        }
        db.update(TABLE_NAME, values, where, null);
        db.close();
    }

    public Cursor fetchAllItems(String frdId){
        db = this.getWritableDatabase();
        Cursor cursor = db.query(TABLE_NAME, new String[]{KEY_ID,KEY_FRDID, KEY_USERID,KEY_MSG, KEY_TIME,KEY_SENT,KEY_FRDNAME,FILE_URL},
                KEY_FRDID+"="+frdId, null, null, null, null);
        cursor.moveToFirst();
        db.close();
        return cursor;
    }

    public void delete() {
        db = this.getWritableDatabase();
        db.delete(TABLE_NAME,"_id = (SELECT MAX(_id) FROM Chat_Table)", null);
        db.close();
    }

}


text:
Brookdale Recognizes EOF Class of 2015
Awards, EOF, Events, Students
Brookdale faculty, staff, administrators and a wide range of community members came together on May 13 to congratulate the nearly 100 Educational Opportunity Fund (EOF) students who will be graduating from the college this year.
The graduates, surrounded by a standing-room-only crowd of friends, family and classmates, were presented with official certificates and ceremonial EOF sashes, to be worn at commencement two days later. Thirty additional students were recognized by the NJ Office of the Secretary of Higher Education for their academic achievements, including two graduates who earned a perfect 4.0 GPA.
Brookdale EOF Director and former EOF graduate Richard Morales Wright congratulated the students for completing the program, and for living up to the high standards set by previous generations of EOF graduates.
"Our students have the aptitude, they have the ability," Wright said. "Maybe they have fallen in the past. But that's alright. Because they pick themselves back up and they keep going. That's the student that New Jersey needs. That's the student that represents our community at its best."
EOF graduate Anthony Holiday stands with Dr. Yesenia Madas at the EOF Awards Dinner on May 13.
Those sentiments were echoed by a wide range of speakers, including Brookdale President Dr. Maureen Murphy, dean of enrollment development and student affairs David Stout and prominent EOF alumni Lawrese Brown.
Brown, founder of Brown Coaching and Consulting and a New York University graduate, discussed what she called the three keys for collegiate and professional achievement: success, responsibility and community. Those principles, she said, form the bedrock of the EOF program and can help students overcome any boundaries they encounter.
"When you find the right community, possibility is more powerful than proximity," she said.
Recent graduate Justin Melendez, fresh off his first year at Rutgers University, returned to offer some practical advice to his fellow EOF students, encouraging them to take advantage of every opportunity, facility and program their future four-year colleges have to offer.
Students and dignitaries alike also took time out to graduate the wide range of EOF staff and supporters in attendance, including Eunice Clark, Kathy Trammell, Fidel Wilson, Dr. Maria Fernandez, Christina Skyers, Rebecca Clark, Tom Roe and Catherine Cutlip. Former Brookdale EOF counselor Dr. Yesenia Madas even returned from her new post as executive director of New Jersey Center for Student Success to help hand out the awards.
Special awards were also presented to local EOF Champions, those guidance and personnel staff members at local high schools who help their students take advantage of the Brookdale EOF program.
They included: Barbara Paskin, Bryan Hackett and Carla Sinclair of Asbury Park High School; Suzanne Gallo of Freehold Borough High School; Dianne Clagett of Keansburg High School; and Joseph Palumbo of Long Branch High School.
Asbury Park public schools superintendent and EOF alumni Lamont Repollet was on also on hand to congratulate the honorees, and assure them that the "EOF family" remains strong for many, many years after graduation.
Current students Eric Allen and Donna Accoo, both working parents, later gave emotional testimonials about their time in the EOF program, which they said ignited their passion for higher education and helped them embrace a new world of possibilities.
"I hadn't been in college since 1991," said Accoo. "But so many people told me, 'You can do this.' And I became determined to be successful … Today I'm three classes from my degree. I am so proud, and so grateful."
Allen and Accoo then passed the microphone around the room, allowing anyone in the crowd to share their own EOF success story. Pending graduates told tales of doubt, struggle and perseverance, each concluding with phrases like "accepted to Monmouth University" or "graduating with a 4.0 GPA."
"I know that, going into college, I was afraid. I didn't know if I wanted to do it or if I could do it," said first-generation college student Anthony Holiday, who was recently accepted to Brown University. "But here I am. It worked out. And I want to thank you all for being there for us and for supporting us in our journey."
EOF is a state-sponsored program that currently reaches more than 12,000 educationally and economically disadvantaged college students across New Jersey. More than 400 students were enrolled at Brookdale in 2014-15, including about 40 new students who joined this year.
The students, many of whom are the first in their families to attend college, receive a state grant toward tuition and are offered a host of counseling and support services at Brookdale, including the annual "Summer Bridge" program that helps high school graduates prepare for the rigors of higher education.
This year, the Brookdale EOF program also rolled out a new Rising Leaders Academy program, giving students the opportunity to spearhead a wide range of service projects in the community. Six students who completed the demanding program were honored at the dinner as well.
For more information about the Brookdale EOF program, click here.
Check out more photos of the Awards Dinner here.
Students Team Up in 2018 STEM Quiz Bowl
Brookdale students teamed up to show off their knowledge in science, math, technology and engineering at this year's STEM Quiz Bowl hosted on

redpajama_set_name: RedPajamaCommonCrawl


Do you manufacture fruit-based drinks containing solids such as pulp or fruit pieces? Would you like to have a new, elegant and inexpensive option for aseptically processing such solids? It is precisely for this purpose that Krones has developed the DosaFlex aseptic container station, a system for dosing the aseptic ingredients for finished products containing solids.
The inline dosing system also makes it possible to dose small portions of ingredients (e.g. flavourings, concentrates fruit preparations etc.).
The DosaFlex doses ingredients of every type and consistency. As a result, we can offer you a quick and easy solution to position new products on the market.
By omitting the additional heating of the product, you can achieve a low damage rate and thus high product safety. It is also possible to deaerate and homogenise the main flow.
The compact and space-saving modular design ideally complements the Krones twin-flow concept – especially for applications in the low output range.


If you prefer, please feel free to send your behavioral health related questions directly to a Matrix Psychologist and we will respond to your question within one business day. This will not take the place of one of your free face-to-face visits.
Select "Ask-a-doc" from the section to the right for a secure form.


Register now for classes at University of Houston-Clear Lake through Sept. 4 at the university's Office of Academic Records in the Student Services and Classroom Building, 2700 Bay Area Blvd., in Clear Lake.
Offering a great education with 80 degree programs available on campus, online or at a satellite location, UH-Clear Lake provides the education needed to succeed. Four schools – School of Business; School of Education; School of Human Sciences and Humanities; and School of Science and Computer Engineering – provide degrees in a variety of subjects such as environmental management, educational leadership and digital media studies. Also, Pearland-area residents can stay close to home at UH-Clear Lake Pearland Campus, which is located at 1200 Pearland Parkway, Pearland, 77581.
For more information about registration, call UH-Clear Lake's Office of Admissions, 281-283-2500, or visit http://www.uhcl.edu/admissions. For registration at the UH-Clear Lake Pearland Campus, visit http://www.uhcl.edu/Pearland.


text:
Everybody's Doin' It
Sex, Music, and Dance in New York, 1840-1917
Narrator/s: Jonathan Todd Ross
Publisher: Highbridge Company
Everybody's Doin' It is the eye-opening story of popular music's seventy-year rise in the brothels, dance halls, and dives of New York City. It traces the birth of popular music, including ragtime and jazz, to convivial meeting places for sex, drink, music, and dance. Whether coming from a single piano player or a small band, live music was a nightly feature in New York's spirited dives, where men and women, often black and white, mingled freely-to the horror of the elite. This rollicking demimonde drove the development of an energetic dance music that would soon span the world. The Virginia Minstrels, Juba, Stephen Foster, Irving Berlin and his hit "Alexander's Ragtime Band," and the Original Dixieland Jass Band all played a part in popularizing startling new sounds. Musicologist Dale Cockrell recreates this ephemeral underground world by mining tabloids, newspapers, court records of police busts, lurid exposes, journals, and the reports of undercover detectives working for social-reform organizations, who were sent in to gather evidence against such low-life places. Everybody's Doin' It illuminates the how, why, and where of America's popular music and its buoyant journey from the dangerous Five Points of downtown to the interracial black and tans of Harlem.
Author(s): Dale Cockrell
Genre: Social Science, History, Arts Entertainment
This title is part of (or scheduled to be part of) the following subscriptions:
RBdigital Unlimited Access Audio Subscription
RBdigital Unlimited Canada Audio Subscription
Narrator(s): Jonathan Todd Ross
by Joel M. Hoffman
California Bones
by Greg van Eekhout
by Mac Barnett
by Gordon Korman
The End of the Magi
by Patrick W. Carr
The Gollywhopper Gam...
by Jody Feldman
Jack and Santa
Rooftops of Tehran
by Mahbod Seraji
Eating Animals
by Jonathan Safran Foer
by Aileen Weintraub


text:
World Cup Quarter Final Fixtures With Time And Day The Matches Will Be Played
By Freddyoprr (self media writer) | 1 month ago
The World Cup has been interesting each an every match and as we approach the end the matches seem to become interesting each an every day.
Currently the World Cup is in the quarter finals after a round of 16 that so a number of teams knocked out of the World Cup.
Here is the fixtures of the quarter finals;
Croatia will be playing against Brazil. The match will be on Friday this week at exactly 6:00 pm. The match will be played at Education City Stadium.
Netherlands will also be playing against Argentina on Friday this week at exactly 10:00 pm. The match will be played at Lusail Stadium.
Morocco will be playing against Portugal on Saturday this week at exactly 6:00 pm. The match will be played at Al Thumana Stadium.
England will be playing against France on Saturday this week. The match will be at 10:00 pm at Al Bayt stadium.
Here is what the source has reported;
Content created and supplied by: Freddyoprr (via Opera News )
Brazil Education City Stadium Lusail Stadium Netherlands World Cup


1 Malawian Kwacha (MWK) to (ZMK) Zambian Kwacha Exchange Rate - MWK/ZMK Charts, History, Historical Rates, Currency Converter.
1 MWK/ZMK Exchange Rate points that how much 1 Malawian Kwacha in Zambian Kwachas currency is.
It is also available to check inverse of the rate as 1 Zambian Kwacha to Malawian Kwacha. Exchange Rates are updated each minute at 1exchangerate.com. In addition to the exchange rate, you are also able to get Malawian Kwacha and Zambian Kwacha currency to any other money exchanges. You can calculate cross rates of these two exchange rate by using the currency calculator below.


As an enterprise owner, you need to guarantee that you are not settling for anything less than the best technology to store your site's data and sensitive information. Cloud hosting is one of them. Even in developing markets like Asia, the cloud is something that an extensive number of people have considered, but few really get it. In the event that you assumed this was essentially a passing model, the time has come to reconsider.
Many providers of cloud hosting in India have taken notice of new enterprises migrating to the cloud from on-premise environments since they see many benefits of the same. This article aims to shed light on the same. Here are 8 reasons why enterprises are migrating to the cloud.
Cloud hosting allows enterprises to outsource operational IT work to an outside affiliation. This moves the dangers and weight-related to keep up an IT structure in-house. Your cloud provider network will expect every single one of the dangers and an immense piece of the weight.
Anyone that provides cloud hosting in India, will oversee everything from updates and security to routine upkeep. These additional items your affiliation time and cash, which would then have the ability to be spent on other key areas.
The attitude of holding on to on-premise environments rather than moving over to the cloud lies in thinking that holding IT practices under tight control in-house is a more secure course of action. In any case, while moving to the cloud suggests surrendering some control, generally the case that an outside firm will be capable thought for your information more safely than you could.
Many providers of cloud hosting in India have solid security customs set up and are can clearly outline their frameworks to you to guarantee that you have finish trust in engaging them to deal with your information.
The general focus of any business is to make leeway, and cutting operational costs wherever conceivable can especially impact that objective. The best-favoured point of view of moving to the cloud is plainly a budgetary one. The budgetary model related to the cloud is evident and conventional. Hence changing over from heritage servers to cloud servers takes out the need for steady server condition re-establishments, diminishes excitement for IT staff fortification, and gets a decent arrangement for critical applications. Most enterprises in Asia and India in specific have sought this solution from providers of cloud hosting in India.
A survey by Frost and Sullivan confirms that deploying cloud hosting and applications that are cloud-based improves productivity, efficiency and collaboration at the workplace by miles. Labourers can access important files and documents from wherever they are: prospects central station, on a plane, or at home.
When you keep away from the troubling and routinely unbound arrangement of sending reports forward and in turn around over email, you make a more streamlined process. A more beneficial joint effort structure that connects with workers to get to reports from one focal locale at long last prompts an enhanced business standard concern.
In the routinely changing business scene, it tends to intrigue witness how a few affiliations adjust, frequently different years past the last defining moment. While certain parts of the business will be harder to change than others, it is fundamental to remain as deft as would be prudent.
Cloud hosting engages you to change as per financial conditions with a specific flexibility that isn't open when you use close-by, physical blueprints. Close by adapting to outside conditions, this virtual course of action in like way connects with savvy reactions to inward sales. On the off chance that client request develops, cloud associations can ascend to manage the intrigue, and a while later be feasibly diminished as request drops. Thusly disposing of the issue of over-provisioning or IT frameworks over-stack.
Losing critical information to a fire or some other calamity at your business premises can pulverize your business. Hence taking information back up on the cloud is necessary. At any rate with the receptiveness of cloud associations, it is eventually altogether more beneficial to regard the message.
The joining of cloud-based recuperation models which keeps a cloned sort of every last one of your information in no time and also accessible at data centers should something that needs to be taken seriously.
New research wrapped up by Harvard Business Review Analytic Services point by point that 74% of affiliations feel like cloud hosting has given them a high ground. The vital reason that these affiliations felt like they got this perfect position is that the cloud empowered them to "mishandle openings just more rapidly" than contenders.
The cloud engages relationship to build up a speed and accessibility that plainly impacts its capacity to make things and react to client needs. At the day's end, the cloud goes about as a facilitator to draw in a relationship to set up things accessible to be obtained to individuals by and large speedier. It surmises that little affiliations can agreeably battle with huge affiliations.
At long last, spread handling makes it less asking for a relationship to oversee inferred "Big Data." The traditional information collecting frameworks (not cloud) have not generally given a reasonable method to the relationship to complete pushed examination of their databases. In view of wide firms, this technique can take different weeks and require extraordinarily instructed masters.
We would like to tell you that these are only some key benefits. On deploying cloud hosting, you would know more about them since the cloud is not just a product but a great experience for those enterprises that move at a nimble speed.
Hoping that you have enjoyed reading this article. All comments and feedback are welcome in the section below.


As the ground begins to soften, it becomes the perfect time to plant a tree. But tree planting is more than just digging a hole in the ground. Improperly planting a tree can cause slowed growth, increased susceptibility to pests, stem girdling roots and premature death.
If your tree looks like a telephone pole in the ground, it's been planted incorrectly; more specifically, it's been planted too deep. It is important you can see the root flare at ground level. Set your tree up to thrive and maximize the benefits it provides! Plant it correctly and at the proper depth. For more information visit, WI DNR's New Tree Planting.


text:
Half-Safe: Across the Atlantic by Jeep
In the summer of 1950, Ben Carlin and his wife Elinore left Halifax, Nova Scotia in a World War II amphibious jeep, nicknamed Half-Safe, bound, ultimately, for Birmingham, England. Carlin's book Half-Safe: Across the Atlantic by Jeep is the tale of their journey.
Unique among "voyage around the world" books, reaction of my friends and family upon hearing me summarize Half-Safe's voyage was, more often then not, to deny that such a voyage was possible. Indeed the Carlins found the same problem during their voyage, and sometimes found it difficult to get the publicity and sponsorship their voyage deserved.
But it is true: Half-Safe, a souped-up amphibious Ford jeep, purchased surplus after the war near Washington, DC, carried the Carlins on land and on sea, and therein allowed them to work around the usual need to "ship the Land Rover across the Atlantic and then pick up the trip" that characterizes most if not all other round-the-world expeditions.
The impetus for the trip was, like most others, the result of a dare. Carlin, an Australian, was in India during the war working as a Field Engineer. He relates in the opening chapter, still in India at the close of the war in 1945:
With my opposite number in the Air Force, Squadron-Leader M.C. Bunting, OBE, RAF, I was inspecting installations on the deserted field and had no business looking at vehicles, but a battered amphibious jeep caught my eye. I have always been interested in salt water, small boats, and vehicles and fancy I know something about them all. After fifteen minutes around, over and under this oddity of which I had heard but never before seen, I mused, as much to myself as to him, 'You know, Mac, with a bit of titivation you could go around the world in one of these things.' Mac was a very polite, sober and laconic character. He said, 'Nuts!'
It took Carlin five years to get to America, locate, modify, test and refine the jeep, find and marry his wartime sweetheart, and make his way to Halifax for departure.
Halifax did not fare well in the eyes of the Carlins:
This is as good a time as any to pay a tribute to Halifax — the finest departure point anyone ever had. I'd gladly leave Halifax any time for anywhere in anything. The city glows with the same rich, warm flame of enlightened liberalism which lit medieval Aberdeen. In two years there, we entered only seven private homes, not more than two of which we are likely to see again.
Once the major voyage-ending bugs were worked out of Half-Safe's systems — and there were a large number of them, mostly involving different methods for carrying fuel — the Carlins set off for the Azores from Halifax on July 19, 1950.
Their plan was to head for Flores; they arrived there 32 days later, having travelled through a hurricane, the jeep pummelled almost to the breaking point, having suffered tremendous seasickness (especially Elinore) and, one would imagine, testing their marriage severely.
From the Azores they steamed to Madeira, and then made land at Africa at Cap Juby before driving overland through Agadir, Casablanca, Gibraltar, Lison, Madrid, Paris, Brussels, Denmark, Sweden, London and finally Birmingham, where they arrived on New Years Day, 1952.
Despite their adventures at sea, the voyage overland was perhaps more challenging that the one over sea, mostly because of the variety of borders to cross, breakdowns of the jeep, and the need to hold shows to raise money to support the trip.
The Carlins weren't rich, and although there was some sponsorship from a North American magazine, and the promise of more from other sources, not more than once they were down to their last dollar and had to pawn their movie camera, or sell surplus fuel to continue on.
Carlin is a witty writer, and the book is a rollicking good tale of adventure, and contains considerable technical details of their voyage.
While the voyage the book relates ends in England, Carlin did, in fact, continue onwards from there, and this helpful Australian website contains a brief summary of that voyage. The tale of this second leg of the voyage is available as The Other Half of Half-Safe, which can be purchased from Carlin's alma mater, Guildford Grammar School, which has a page devoted to Carlin's adventures. The school is also the final resting place of the jeep Half-Safe where it is, says the school, "displayed prominently within the grounds."
Interestingly, Carlin's second voyage took place at the same time as the Oxford and Cambridge Far Eastern Expedition, although, as this commentator notes, "So, there were two overland expeditions in southern Burma at the same time. Both expeditions wrote up their adventures, yet neither mentions the other."
Carlin continued on around the world, and ended up back in Montreal on May 12, 1958, almost eight years after starting out.
I purchased Half-Safe used from a bookseller in the U.S. using abebooks.com. It is out of print, but many other used copies are available for sale there.
Book Information: Carlin, Ben. (1955), Half-Safe: Across the Alantic By Jeep, Andre Deutsch, London.
Written January 19, 2004 at 3:12 p.m. by Peter Rukavina
6 comments | Add a comment
Ted on May 5, 2011 - 12:13
Working in Cottesloe in 1976 and 77 I actulay met Ben Carlin.He used to come into the garage where I worked and his poor old Holden HR Wagon was quite a mess.I don't think there was a straight panel on the poor old wagon.By this time he was not a young man and maybe just maybe he should not have been driving by then.But in saying that he was a wonderful old Gentleman.I am pleased I have found this webpage and 1 day I would like to read his book again.
Alasdair MacCor... on June 21, 2011 - 03:50
I have just read "Half Safe ". Obtained at a second — hand book sale in Edinburgh. It is a wonderful book. And a wonderful tale. Which Ben Carlin tells very well.
I wonder if this story would be the subject for a film?
Are Mr. & Mrs Carlin still with us?
Peter Rukavina on June 22, 2011 - 15:12
I recommend that you find a copy of The Other Half of Half-Safe, which completes the journey around the world and sheds some light on the rest of Ben Carlin's life. From the Guildford Grammar School (Ben's alma mater, and the current home of Half Safe):
After spending three years in England refitting Half-Safe, Ben and Elinore were ready for the second part of the journey. From Paris they travelled overland to Calcutta via Istanbul and on to Delhi. By the time they reached India, Elinore had abandoned ship and Ben was forced to find another mate. From Delhi, Half-Safe travelled by water to Rangoon, overland to Saigon via Bangkok, and by sea and land to Alaska via the Philippines, Taiwan, Japan, the Aleutians and finally Montreal.
Ben Carlin completed his journey on 12 May 1958 and had travelled 17,780 km by sea and 62,744 km by land in eight years. As a tribute to this amazing adventure, the School has acquired Half-Safe and it is displayed prominently within the grounds.
From communication with the school archivist I've learned that both Ben and Elinore are now dead, and that Ben's daughter by his third wife is living in Perth, Australia.
David Brown on November 15, 2011 - 01:19
The Half Safe and crew visited my school in Montreal in, I guess 1958. We were given a great talk, a film, and best of all there it was in the parking lot.
maurice howard on May 22, 2018 - 22:43
I saw the half safe in a garage on beech ave in overlea,md. some time in the late 50s or early 60s.
yesterdays comment on seeing the half safe in overlea , md. the date should be late 1970s.


After Kamaru Usman beat Tyron Woodley at UFC 235 to become the new welterweight champion it was expected Colby Covington would be first in line to get the title shot. UFC President, Dana White even said so during the event. But now, Usman wants Covington to beg him for the fight.
"Now you have to beg me for that fight," Usman said backstage at UFC 236 (transcript via MMAJunkie).
Although Covington was the former interim welterweight champion, and number one contender, Usman knows 'Chaos' doesn't decide when the fight takes place. That is if it even happens next.
Ultimately, Usman knows there are plenty of options for his next fight, whether that is Covington or not.
"Look at where the division is now," Usman said. "You've got freaking Anthony Pettis coming in and knocking out 'Wonderboy,' two-time title challenger. You've got Masvidal coming in and knocking out Darren Till, former title challenger. There's some things that are going on there. So based on how Ben Askren does in his next performance, that could be a possible option. Don't forget Santiago Ponzinibbio is still out there. So, there's options out there.
Do you think Colby Covington is next for Kamaru Usman? Sound off in the comment section, PENN Nation!


The Russian strategic aviation lost Tu-95MS strategic bomber today in an accident during a training flight in 80 km from Khabarovsk at 9:50 MSK. The crew managed to leave the plane, but two crew members died in the process. The bomber is said to have crashed in an unpopulated place.
This is the second loss of a Tu-95MS bomber in two months - on June 8, 2015 at about 17:00 MSK another bomber caught fire during takeoff. One crew member died in that accident. UPDATE: The second crew member died in a hospital later.
UPDATE: Russian press reports that the bombers crashed after three or four of its engines failed. According to one report, the second Tu-95MS bomber in the tandem also suffered an engine failure.
According to the bmpd blog, the aircraft lost in the accident had the tail ID number RF-94181 and was identified as "05 (red)".


text:
Quodid The Ultimate Quotation Repository Browse • All • Topics • About • Membership
I want to be with those who know secret things or else alone.
More about this quote
solitude alone spirituality
Permalink for this quote
In my younger and more vulnerable years my father gave me some advice that I've been turning over in my mind ever since.
"Whenever you feel like criticizing any one," he told me, "just remember that all the people in this world haven't had the advantages that you've had."
—F. Scott Fitzgerald in The Great Gatsby
empathy privilege advantage advice
Gatsby believed in the green light, the orgastic future that year by year recedes before us. It eluded us then, but that's no matter — tomorrow we will run faster, stretch out our arms farther.... And one fine morning —
So we beat on, boats against the current, borne back ceaselessly into the past.
future effort desire striving yearning want
Man is the only animal that laughs and weeps; for he is the only animal that is struck with the difference between what things are, and what they ought to be.
reality hope laughter crying how things are imagination
Mindfulness means paying attention in a particular way: on purpose, in the present moment, and non-judgmentally.
—Jon Kabat-Zinn in Wherever You Go, There You Are
attention mindfulness now
Consider again that dot. That's here. That's home. That's us. On it everyone you love, everyone you know, everyone you ever heard of, every human being who ever was, lived out their lives. The aggregate of our joy and suffering, thousands of confident religions, ideologies, and economic doctrines, every hunter and forager, every hero and coward, every creator and destroyer of civilization, every king and peasant, every young couple in love, every mother and father, hopeful child, inventor and explorer, every teacher of morals, every corrupt politician, every "superstar", every "supreme leader", every saint and sinner in the history of our species lived there - on a mote of dust suspended in a sunbeam.
The Earth is a very small stage in a vast cosmic arena. Think of the rivers of blood spilled by all those generals and emperors so that, in glory and triumph, they could become the momentary masters of a fraction of a dot. Think of the endless cruelties visited by the inhabitants of one corner of this pixel on the scarcely distinguishable inhabitants of some other corner, how frequent their misunderstandings, how eager they are to kill one another, how fervent their hatreds.
Our posturings, our imagined self-importance, the delusion that we have some privileged position in the Universe, are challenged by this point of pale light. Our planet is a lonely speck in the great enveloping cosmic dark. In our obscurity, in all this vastness, there is no hint that help will come from elsewhere to save us from ourselves.
The Earth is the only world known so far to harbor life. There is nowhere else, at least in the near future, to which our species could migrate. Visit, yes. Settle, not yet. Like it or not, for the moment the Earth is where we make our stand.
It has been said that astronomy is a humbling and character-building experience. There is perhaps no better demonstration of the folly of human conceits than this distant image of our tiny world. To me, it underscores our responsibility to deal more kindly with one another, and to preserve and cherish the pale blue dot, the only home we've ever known.
wonder humanity inspiration kindness space vastness
Find us on Twitter and Facebook
Some of our most popular quotes are about:
love, life, knowledge, politics, happiness, beauty, and relationships.
Built for the love of small wisdom.
Check out our blog, Our Words, for more about what's behind Quodid.


"Association of Aerobic Fitness and Metabolic Syndrome in Male Firefigh" by Cara Kirby, Steven E. Martin et al.
Metabolic syndrome has been shown in numerous studies to be related to a higher incidence of coronary artery disease. A study by Jurca and coworkers (Med. Sci. Sports Exerc 36(8):1301-1307, 2004) found a relationship between aerobic fitness and the prevalence of metabolic syndrome in a group of men enrolled in the Aerobics Center Longitudinal Study (ACLS). In addition, recent work in our lab (Int J Exerc Sci 2(1): S43, 2009) has supported these findings. However, research exploring this relationship is still lacking in male firefighters, whose leading cause of line-of-duty deaths is heart attacks. Purpose: To further evaluate the association of metabolic syndrome and aerobic fitness in male fire fighters. Methods: As part of an annual physical exam, 210 male fire fighters (average age = 36) underwent evaluation of risk factors associated with metabolic syndrome as defined by NCEP III. These include the presence of three or more of the following: Waist Circumference > 40", HDL Cholesterol < 40 mg/dL, Triglycerides > 150 mg/dL, Blood Glucose > 110 mg/dL, and Resting Blood Pressure > 130/85 mm Hg. Aerobic Fitness was determined by estimating VO2max from time on treadmill during a Bruce protocol. Results: The subjects were ranked and divided into quartiles based on VO2max. All data were analyzed using a Chi Square test (p < 0.05). Prevalence of metabolic syndrome increased significantly across quartiles as aerobic fitness declined. Conclusion: These data suggest that as aerobic fitness improves, the likelihood of male firefighters having metabolic syndrome decreases.
Kirby, Cara; Martin, Steven E.; Lambert, Brad S.; Greene, Nic P.; Green, John S.; and Crouse, Stephen F. (2010) "Association of Aerobic Fitness and Metabolic Syndrome in Male Firefighters," International Journal of Exercise Science: Conference Proceedings: Vol. 2 : Iss. 2 , Article 14.


Dual Layer offers a range of services for its clients. Our focus is to provide customized solutions to our clients while remaining in the budget provided. We provide equal level of support and service to all our clients regardless of their business size. We provide remote IT consultation and Onsite IT consultation.
Comprehensive IT Outsourcing Partner. Offering a full range of services and to be your own IT Department. A single point of contact for all IT needs in a company. Website Design, Hosting, Email archiving, document management, systems support. We focus on increasing productivity by enhancing your existing systems.
Dual Layer has provided security and network management to a number of its clients. Because of the nature of our business, we can not disclose any case studies on our website. We respect the privacy of our clients.
We will be happy to provide you with the referrals of our work. Please contact us .
Our Security solutions covers anti-virus, anti-spam, content filtering, intrusion detection systems and comprehensive firewalls.


text:
Q: React RTL and jest Mock api call in context api with useEffect I am working on React Testing Library with jest. I want to test my component. But on load it is consuming the api from context file. In the context file there is api call made in useEffect hook to fetch the data and my component is using that data.
When I am trying to test the component I am getting error
console.error
    Warning: Can't perform a React state update on an unmounted component. This is a no-op, but it indicates a memory leak in your application. To fix, cancel all subscriptions and asynchronous tasks in a useEffect cleanup function.
        in contextProvider(at component.test.jsx:46)

Component.ts
const customRender = async (props) => {
  render(
    <UserProvider>
      <UserContext.Provider value={{ ...props.userContext }}>
        <UserInfo {...props.componentProps} />
      </UserContext.Provider>
    </UserProvider>
  );
};

describe("UserInfo component", () => {
  window.owa_cmds = [];

  afterEach(cleanup);

  it("should render UserInfo Component", async () => {
    useOktaAuth.mockImplementation(useOktaAuthResponse);
    const testProps = {
      componentProps: {},
      userContext: {},
    };
    customRender(testProps);
    const fetchDataBtn = getByTestId("ClickIndicator");
    // This is calling a method in parent component which is making api call
    // and fetching the data and setting the state of context
    fireEvent.click(fetchDataBtn);
    expect(fetchDataBtn).not.toBeInTheDocument();
  });
});

UserContext
const [userInfo, setUserInfo] = useState({})

useEffect(()=>{
  fetchUserInfo().then(data=>{
    setUserInfo(data.data)
 })
}, [])

return (
 <UserContext.Provider value={{userInfo, setUserInfo }}>
)

Any help will be appreciated. I am not user how to mock the api call made in Context file. I have tried to mock the api call and its response in beforeEach() method but its resulting in error.


If confirmed, William Barr would take over for acting AG Matthew Whitaker.
The Senate Judiciary Committee approved the nomination of William Barr for attorney general Thursday.
Barr has been nominated to take over for acting Attorney General Matthew Whitaker.
Whitaker took over after the resignation of former Attorney General Jeff Sessions.
The role wouldn't be a new one for Barr.
He held the position during the George H.W.
But his role this time is expected to be a little different.
As attorney general, Barr would be in charge of deciding the fate of special counsel Robert Mueller's Russia investigation.
Barr said at his confirmation hearing that Mueller should be allowed to complete the investigation and wants the results to be made public once he's finished.
Though Barr had previously sent a memo to the Justice Department criticizing Mueller's investigation into whether President Donald Trump obstructed justice as "fatally misconceived." Barr's nomination will now head to the full Senate for a confirmation vote.
Attorney General William Barr testified before a Senate Appropriations subcommittee regarding the president's 2020 budget request for the Justice Department.


text:
Q: racket - produce the number of operations in a binary tree I'm trying to write a function that consumes a binary tree and produces the total number of operations in it. My attempt was checking if the argument is a number, if it is, then add 1 to the total.
Can someone help me with my code?
(define-struct binode (op arg1 arg2))
(define (count-ops bin-exp)
  (cond
    [(number? bin-exp) 1]
    [(binode? bin-exp)
     (+ (count-ops (binode-arg1 bin-exp))
        (count-ops (binode-arg2 bin-exp)))]))

Test:
(check-expect (count-ops (make-binode '+ 4 (make-binode '- 5 (make-bin ode '+ 3 2)))) 3)

Instead of the expected result the function produces 4

A: Your answer is so close! You just have to fix the base case: when we reach a number we should add zero, not one: we're counting the number of operators, not the number of operands.
Conversely, in the recursive case we have to add one: if we reach the recursive step it's because we're at an operator, and those are the ones we want to count. This is what I mean:
(define-struct binode (op arg1 arg2))

(define (count-ops bin-exp)
  (cond
    [(number? bin-exp) 0]
    [(binode? bin-exp)
     (+ 1 (count-ops (binode-arg1 bin-exp))
          (count-ops (binode-arg2 bin-exp)))]
    [else (error "Invalid input:" bin-exp)]))

It works as expected:
(count-ops (make-binode '+ 4 (make-binode '- 5 (make-binode '+ 3 2))))
=> 3


With the latest update to Fortnite, a new replay system as been added. It is very similar to the paragon replay camera. So the creative time at Epic decided that it would be a good idea to show everyone how to use the replay system, and if that wasn't enough they are having a contest to go along with it as well.
The contest begins today, April 13 and runs until April 26. Send your best video by April 26 at 11:59 ET to be eligible. Here is the detailed info on how to enter.
Submissions must be of a video that is at least 60 seconds in length, but no longer than 90 seconds. So use #ReplayRoyale and get crackin on those videos.
Previous ArticleRemember H-Hour? The SOCOM Spiritual Successor? I Guess It Ain't Dead!


It's an origin story. A series of five one-shots that details how Jenny meets the individuals who would become the starting line-up of The Authority.
If you were getting attached to Mark Millar's run and want more then this will have to do. Rather than a scathing political commentary this is played for laughs. We dip into Jenny's 100 year past for a series of pulp adventures dating back to 1913. Most of those mysterious questions you had about where everyone came from – the kind that are better left unanswered – are explained.
The art is great with John McCrea doing a fine job picking up the baton and Ian Hannin working hard to live up to the fabulous colours of David Baron. Nothing innovative and not particularly 'widescreen' but all the characters you love are definitely there in the flesh.
This is a book that doesn't need to exist but if you don't want to let Millar or Sparks go just yet then this should bring you some chuckles. It's got Hitler in it, what's not to like.
This entry was posted in Graphic Novel and tagged Mark Millar, Thumbs Up! by 365gn. Bookmark the permalink.


Mandour, I. (2013). Design of a computer program for electronic tests. In R. McBride & M. Searson (Eds.), Proceedings of SITE 2013--Society for Information Technology & Teacher Education International Conference (pp. 1185-1194). New Orleans, Louisiana, United States: Association for the Advancement of Computing in Education (AACE).


text:
Following the rise of the Labour Party it seemed reasonable, in 1927, to expect, or at least hope, that co-operation for the common good might gradually replace the competitiveness of capitalism.
Dora Russell
Dora Russell's quotes
Marie Stopes had established the first birth control clinic in Britain; the whole question of informing women, especially those who were poor, about methods of contraception, began to be discussed.
You could not receive a young man in your room; you might be permitted to have him to tea in one of the public reception rooms, but you could accept no invitation from young men to tea or other entertainment without a chaperone from the College.
Marriage, laws, the police, armies and navies are the mark of human incompetence.
We have never yet had a labor Government that knew what taking power really means; they always act like second-class citizens.
If an adult uses violence on a child, the child will naturally assume that he too, has the right to use it on one smaller or weaker.
Measures of self-government and a school council, especially for such young children, were a great innovation.
Hence we did not foster competition in our school, on the contrary.
We want better reasons for having children than not knowing how to prevent them.
The report of this made me exceedingly angry, for I could not see why information which a middle-class woman could get from her doctor should be withheld from a poorer woman who might need it far more.
Democracy can only spring from practising it early, and democratic action was not to expected from young people brought up under a close authoritarian system.
We have heeded no wisdom offering guidance.
Capitalism knows only one color: that color is green; all else is necessarily subservient to it, hence, race, gender and ethnicity cannot be considered within it.
Capitalism without bankruptcy is like Christianity without hell.
Frank Borman
Doing well is the result of doing good. That's what capitalism is all about.
I don't think that left to its own devices, capitalism moves along smoothly and everyone gets treated fairly in the process. Capitalism is like a child: if you want the child to grow up free and productive, somebody's got to look over the shoulder of that child.
Tavis Smiley
I am convinced that the path to a new, better and possible world is not capitalism, the path is socialism.
I was just very interested in the American frontier and the growth of capitalism - those enormous fortunes that were being made, more often than not, on the blood of poor people, black people, Indian people. They were the ones who paid very dearly for those great fortunes.
Peter Matthiessen
Whether we look at capitalism, taxes, business, or government, the data show a clear and consistent pattern: 70 percent of Americans support the free enterprise system and are unsupportive of big government.
We're not short of movements proclaiming that a different world is possible, but unless we can coordinate them into an international movement, capitalism just laughs at all these little organisations.
Capitalism is using its money; we socialists throw it away.
Capitalism is war; socialism is peace.
Karl Liebknecht
I'm afraid for all those who'll have the bread snatched from their mouths by these machines. What business has science and capitalism got, bringing all these new inventions into the works, before society has produced a generation educated up to using them!
Chicago is the product of modern capitalism, and, like other great commercial centers, is unfit for human habitation.
Eugene V. Debs
The market is not an invention of capitalism. It has existed for centuries. It is an invention of civilization.
Capitalism is a stupid system, a backward system.
Stokely Carmichael
History suggests that capitalism is a necessary condition for political freedom. Clearly it is not a sufficient condition.
Liberal capitalism is not at all the Good of humanity. Quite the contrary; it is the vehicle of savage, destructive nihilism.
America traditionally represents the greatest possibility of someone's going from nothing to something. Why? In theory, if not practice, the government stays out of the way and lets individuals take risks and reap rewards or accept the consequences of failure. We call this capitalism - or, at least, we used to.
There are a few people, but a diminishing number, who still believe that Marxism, as an economic system, off era a coherent alternative to capitalism, and socialism has, indeed, triumphed in one country.
Herbert Read
Capitalism is the astounding belief that the most wickedest of men will do the most wickedest of things for the greatest good of everyone.
The way the credit cards were made in the '80s to be a people's form of capitalism and be able to make it so that you could get a loan that you would have been denied previous, now that's the way stocks are.
Under capitalism, man exploits man. Under communism, it's just the opposite.
The cure for capitalism's failing would require that a government would have to rise above the interests of one class alone.
Robert Heilbroner
I think Russians today have a distorted picture of capitalism, liberal democracy and market economy.
Capitalism should not be condemned, since we haven't had capitalism.
In the last quarter of the eighteenth century bourgeois Europe needed to emancipate itself from that combination of feudalism and commercial capitalism which we know as mercantilism.
C. L. R. James
Socialism is nothing but the capitalism of the lower classes.
Despite what many Americans think, most Soviets do not yearn for capitalism or Western-style democracy.
The paradigm of competition is a race: by rewarding the winner, we encourage everyone to run faster. When capitalism really works this way, it does a good job; but its defenders are wrong in assuming it always works this way.
If allowed to run free of the social system, capitalism will attempt to corrupt and undermine democracy, which is after all not a natural state.
John Ralston Saul
I believe the accepted model of capitalism that demands endless growth deserves the blame for the destruction of nature, and it should be displaced. Failing that, I try to work with those companies and help them change the way they think about our resources.
Yvon Chouinard
Conservatives have no understanding of modern capitalism. They have a distorted understanding of the traditional values they claim to defend.
Christopher Lasch
Now a great debate has been born. The thesis is Democratic Socialism. The antithesis is free-market capitalism. The Obama Democrats have posed the challenge. It is now up to the Republicans to pick it up and fight along these lines.
If I had to give a definition of capitalism I would say: the process whereby American girls turn into American women.
Christopher Hampton
If it were necessary to give the briefest possible definition of imperialism, we should have to say that imperialism is the monopoly stage of capitalism.
Vladimir Lenin
The problem of social organization is how to set up an arrangement under which greed will do the least harm, capitalism is that kind of a system.


text:
Saudi cyber security body inks MoU with SANS Institute
Riyadh, SPA
The Saudi Cyber Security and Programming Federation has signed a Memorandum of Understanding (MoU) with the SANS Institute in a move that aims to exchange knowledge, transfer technology and localize capabilities. The MoU was signed on Monday by the Federation's Vice Chairman, Dr. Abdullah Sharaf Alghamdi.
"Signing this agreement with a distinguished company in cyber security training such as SANS will open great horizons for the members of the Federation through professional certifications", said Saud Alqahtani, the President of the Saudi Cyber Security and Programming Federation.
"The MoU will enable the localization of cyber security skills in national critical infrastructures and contribute in realizing the Kingdom's Vision 2030" Alqahtani said.
He also thanked the Federation's coordination team, which included Dr. Abdullah Alghamdi, Dr. Jalal Almuhtadi, Eng. Sulaiman Almukhadish, and Eng. Mohammed Alshamrani.
The SANS Institute is the world's largest and most trusted provider of specialized training courses in cybersecurity. It was established in 1989 and has more than 140,000 alumni worldwide.
According to the MoU, the SANS Institute, in cooperation with the Federation, will organize training courses and national competitions for school and university students and offer programs to evaluate and strengthen cyber security skills.
The agreement also includes delivering advanced cyber security courses and organizing joint conferences and events.


Adopting a dog can be one of the most rewarding things you'll ever experience. That being said, there are a few things you should be prepared for before you adopt a dog. PetGuide.com has put together a list of what you should expect when you adopt a dog.
Yay – you've decided to adopt a dog! That's wonderful news. And because you're such an awesome expectant pet parent, you need to know just what you're in for.
•	Your dog is an investment – in time and money. Before you adopt a dog, you should know that your life and your budget are going to change drastically. In terms of money, there's usually an adoption fee involved, but there are long-term finances to think about. Dog insurance, medical bills, dog food, grooming… and those are just a few of the things you'll need to be prepared for. As well, your new dog is a time commitment. You may need to rearrange your schedule to make your dog feel welcome and take care of her needs. That means skipping drinks after work to take your dog out for a pee and making sure you're up early to take her for a walk. If you're prepared for the money and time it takes, then you're ready to adopt a dog.
•	You're going to be tested – by the rescue organization, that is. They will evaluate you and you'll be interviewed about your home and lifestyle. They will also ask questions to make sure that you and the dog are a perfect match.
To read the complete What To Expect When You Adopt A Dog article, visit PetGuide.com.


Congratulations on your decision to buy a pre-owned Mercedes-Benz! No matter what model you choose, you won't be disappointed with your luxury vehicle. Before you head to the dealership and drive off in your new car, however, there are a few things you should do. Use the tips below to learn more about buying a pre-owned Mercedes-Benz.
The first step of the car buying process is research. Yes, you know you want a pre-owned Mercedes-Benz, but do you know what model or year you want? Do some research about different types of Mercedes-Benz to get a better idea of what you're looking for. Read reviews, watch performance videos, and browse the news for stories about issues and recalls.
You should also educate yourself about the lingo used to describe pre-owned cars. Common titles like used, pre-owned, and certified pre-owned often refer to the quality and inspection intensity of the car in question. The highest quality used cars are certified pre-owned. These pre-owned Mercedes-Benz in San Antonio, TX,are subjected to more rigorous inspections and can only be purchased at licensed Mercedes-Benz dealerships. They must meet specific qualifications to become certified pre-owned, such as having fewer than 75,000 miles on them and being less than 6 years old.
Next, see which cars are available at your local dealership. You can usually view their inventory online by going to their website. This will help you to narrow down your options and filter the available cars by their model, year, color, price, fuel efficiency, and other factors.
You should also determine just how much car you can afford. Remember to consider all the associated costs, not just the monthly payment. This includes taxes, registration fees, insurance, fuel, maintenance, and more. Estimate what you can afford to pay every month and how much the vehicle you're considering will actually cost you.
You will also need to determine how you will pay for the car and if you will need to obtain financing. Start by doing some research on the estimated cost of the vehicle you're interested in. Kelly Blue Book is a great tool for this step. You can use the site to compare vehicle prices, estimate your monthly payments, and calculate the trade-in value of your current car. Then, decide whether you want to lease or purchase the vehicle. From there, you can decide if you need to obtain an auto loan or not. Check your credit score, gather your paperwork, and consider getting quotes from a few different lenders before going to the dealership.
Now that you know which Mercedes-Benz you want, where you will buy it, and how you'll pay for it, you are ready to schedule a visit to the dealership. Give yourself plenty of time to compare models and test drive your favorites. The sales staff can answer any additional questions you have about the vehicles or the car buying process.


text:
Future movie releases…w/e Fri 5 April 2013
All Things To All Men – no official site, but Facebook has a catchy poster here to draw you in. A thief is caught up in a game of cat and mouse between a cop and a London crime boss. The cast list includes mainstays of British film and theatre Toby Stephens, Rufus Sewell and Gabriel Byrne. MC Harvey is in support! Showing nationwide.
The Expatriate – it's never a good sign when a film goes through a name change. Usually a sign of poor box office somewhere and a hasty re-marketing plan to hope the sh*t doesn't stick, but Yahoo! Movies list a few examples here and other explanations. This one, originally called Erased, was retitled due to high piracy rates on initial release. Hmmm, depends on how good it is if you believe that. No official site, but IMDb has the low-down here; Aaron Eckhart is the ex-CIA man who is hunted by his former employers when they suspect he is part of a conspiracy. Showing at key cities only.
A Late Quartet – I love how Fox Film have banned the trailer for this film from their own website for people in the UK on "copyright grounds"; how else will you pull people in to see a film about the in-fighting, egos and health of a string quartet celebrating their 25th anniversary?! Not with this dull and perfunctionary website that's for sure. The incredible cast includes Christopher Walken, Philip Seymour Hoffman and Catherine Keener so a shame we in the UK can't see a bit of them at their best. Will be showing at most UK cinemas.
Mahmut & Meryem – Turkish historical romance about a young Sultanate heir who is more in love with the daughter of a monk (!) than following his father's dreams for him of ruling as a tyrannical Emperor. The official Turkish site for this beautiful looking film is here; English speakers may want to use IMDb. London screenings only.
The Odd Life of Timothy Green – Disney whimsy with Jennifer Garner and Joel Edgerton as suburbanites who dream for a child of their own. Their wishes come true when young CJ Adams turns up on their doorstep one stormy night. Official Disney site is here; will be showing nationwide.
Papadopoulos and Sons – more credit crunch cinema, this one sees a multimillionaire facing rack and ruin when the latest financial crisis takes everything from him. Except the down and out Fish and Chip Shop he co-owns with his estranged brother. The official site is here and contains details of Cineworld screenings here.
Spring Breakers – Selena Gomez is a party girl who, along with three friends, find themselves busted one night for possessing drugs. Local thug James Franco surprisingly bails them out and takes them on a spring holiday they'll never forget. Who needs lawyers when you have James Franco with a full wallet?! Official website is here; showing all over.
Thursday Till Sunday – Chilean set drama about innocence and loss, seen through the eye of a 10 year old during a family car trip. Official Day for Night studios site is here with the trailer; showing at key cities only.
Author Jason Day
Tags Future movie releases UK
Cockneys vs. Zombies (2012)
Future movie releases…w/e 12 April 2013


text:
"""Tests for the file entry filters."""

from __future__ import unicode_literals

import unittest

from dfvfs.lib import definitions as dfvfs_definitions
from dfvfs.path import factory as path_spec_factory
from dfvfs.resolver import resolver as path_spec_resolver

from plaso.filters import file_entry as file_entry_filters
from plaso.lib import specification

from tests import test_lib as shared_test_lib
from tests.cli import test_lib as cli_test_lib

class DateTimeFileEntryFilterTest(shared_test_lib.BaseTestCase):
  """Tests the date time file entry filter."""

  # pylint: disable=protected-access

  def testAddDateTimeRange(self):
    """Tests the AddDateTimeRange function."""
    test_filter = file_entry_filters.DateTimeFileEntryFilter()

    test_filter.AddDateTimeRange(
        'ctime', end_time_string='2012-05-25 15:59:25',
        start_time_string='2012-05-25 15:59:20')

    with self.assertRaises(ValueError):
      test_filter.AddDateTimeRange(None)

    # Testing adding a badly formatter filter.
    with self.assertRaises(ValueError):
      test_filter.AddDateTimeRange(
          'foobar', start_time_string='2012-02-01 01:01:01')

    with self.assertRaises(ValueError):
      test_filter.AddDateTimeRange(
          'ctime', end_time_string='2012-05-25 15:59:20',
          start_time_string='2012-05-25 15:59:25')

    # Testing adding a badly formatter filter, no date set.
    with self.assertRaises(ValueError):
      test_filter.AddDateTimeRange('atime')

  def testMatches(self):
    """Tests the Matches function."""
    test_file_path = self._GetTestFilePath(['ímynd.dd'])
    self._SkipIfPathNotExists(test_file_path)

    os_path_spec = path_spec_factory.Factory.NewPathSpec(
        dfvfs_definitions.TYPE_INDICATOR_OS, location=test_file_path)
    tsk_path_spec = path_spec_factory.Factory.NewPathSpec(
        dfvfs_definitions.TYPE_INDICATOR_TSK, inode=16,
        location='/a_directory/another_file', parent=os_path_spec)

    file_entry = path_spec_resolver.Resolver.OpenFileEntry(tsk_path_spec)

    # Timestamps of file:
    #   Modified: 2012-05-25T15:59:23+00:00
    #   Accessed: 2012-05-25T15:59:23+00:00
    #    Created: 2012-05-25T15:59:23+00:00

    test_filter = file_entry_filters.DateTimeFileEntryFilter()

    # When no date time ranges are specified the filter returns None.
    self.assertIsNone(test_filter.Matches(file_entry))

    # Add a date to the date filter.
    test_filter.AddDateTimeRange(
        'ctime', start_time_string='2012-05-25 15:59:20',
        end_time_string='2012-05-25 15:59:25')
    self.assertTrue(test_filter.Matches(file_entry))

    test_filter = file_entry_filters.DateTimeFileEntryFilter()
    test_filter.AddDateTimeRange(
        'ctime', start_time_string='2012-05-25 15:59:24',
        end_time_string='2012-05-25 15:59:55')
    self.assertFalse(test_filter.Matches(file_entry))

    # Testing a timestamp that does not exist in the stat object.
    test_filter = file_entry_filters.DateTimeFileEntryFilter()
    test_filter.AddDateTimeRange(
        'bkup', start_time_string='2012-02-02 12:12:12')
    self.assertTrue(test_filter.Matches(file_entry))

    # Just end date set.
    test_filter = file_entry_filters.DateTimeFileEntryFilter()
    test_filter.AddDateTimeRange(
        'mtime', end_time_string='2012-05-25 15:59:55')
    self.assertTrue(test_filter.Matches(file_entry))

    # Just with a start date but within range.
    test_filter = file_entry_filters.DateTimeFileEntryFilter()
    test_filter.AddDateTimeRange(
        'atime', start_time_string='2012-03-25 15:59:55')
    self.assertTrue(test_filter.Matches(file_entry))

    # And now with a start date, but out of range.
    test_filter = file_entry_filters.DateTimeFileEntryFilter()
    test_filter.AddDateTimeRange(
        'ctime', start_time_string='2012-05-25 15:59:55')
    self.assertFalse(test_filter.Matches(file_entry))

    # Test with more than one date filter.
    test_filter = file_entry_filters.DateTimeFileEntryFilter()
    test_filter.AddDateTimeRange(
        'ctime', start_time_string='2012-05-25 15:59:55',
        end_time_string='2012-05-25 17:34:12')
    test_filter.AddDateTimeRange(
        'atime', start_time_string='2012-05-25 15:59:20',
        end_time_string='2012-05-25 15:59:25')
    test_filter.AddDateTimeRange(
        'mtime', start_time_string='2012-05-25 15:59:24',
        end_time_string='2012-05-25 15:59:55')

    self.assertFalse(test_filter.Matches(file_entry))
    self.assertEqual(len(test_filter._date_time_ranges), 3)

  def testPrint(self):
    """Tests the Print function."""
    output_writer = cli_test_lib.TestBinaryOutputWriter(encoding='utf-8')
    test_filter = file_entry_filters.DateTimeFileEntryFilter()

    test_filter.AddDateTimeRange(
        'ctime', end_time_string='2012-05-25 15:59:25',
        start_time_string='2012-05-25 15:59:20')

    test_filter.AddDateTimeRange(
        'atime', end_time_string='2012-05-25 15:59:25')

    test_filter.AddDateTimeRange(
        'mtime', start_time_string='2012-05-25 15:59:20')

    test_filter.Print(output_writer)

    expected_output = [
        (b'\tctime between 2012-05-25 15:59:20.000000 and '
         b'2012-05-25 15:59:25.000000'),
        b'\tatime after 2012-05-25 15:59:25.000000',
        b'\tmtime before 2012-05-25 15:59:20.000000',
        b'']

    output = output_writer.ReadOutput()

    # Compare the output as list of lines which makes it easier to spot
    # differences.
    self.assertEqual(output.split(b'\n'), expected_output)

class ExtensionsFileEntryFilterTest(shared_test_lib.BaseTestCase):
  """Tests the extensions file entry filter."""

  def testMatches(self):
    """Tests the Matches function."""
    test_file_path = self._GetTestFilePath(['ímynd.dd'])
    self._SkipIfPathNotExists(test_file_path)

    os_path_spec = path_spec_factory.Factory.NewPathSpec(
        dfvfs_definitions.TYPE_INDICATOR_OS, location=test_file_path)

    test_filter = file_entry_filters.ExtensionsFileEntryFilter(['txt'])

    # Test a filter match.
    tsk_path_spec = path_spec_factory.Factory.NewPathSpec(
        dfvfs_definitions.TYPE_INDICATOR_TSK, inode=15,
        location='/passwords.txt', parent=os_path_spec)

    file_entry = path_spec_resolver.Resolver.OpenFileEntry(tsk_path_spec)
    self.assertTrue(test_filter.Matches(file_entry))

    # Test a filter non-match.
    tsk_path_spec = path_spec_factory.Factory.NewPathSpec(
        dfvfs_definitions.TYPE_INDICATOR_TSK, inode=16,
        location='/a_directory/another_file', parent=os_path_spec)

    file_entry = path_spec_resolver.Resolver.OpenFileEntry(tsk_path_spec)
    self.assertFalse(test_filter.Matches(file_entry))

    # Test that fails because path specification has no location.
    tsk_path_spec = path_spec_factory.Factory.NewPathSpec(
        dfvfs_definitions.TYPE_INDICATOR_TSK, inode=15, parent=os_path_spec)

    file_entry = path_spec_resolver.Resolver.OpenFileEntry(tsk_path_spec)
    self.assertFalse(test_filter.Matches(file_entry))

  def testPrint(self):
    """Tests the Print function."""
    output_writer = cli_test_lib.TestBinaryOutputWriter(encoding='utf-8')
    test_filter = file_entry_filters.ExtensionsFileEntryFilter(['exe', 'pdf'])

    test_filter.Print(output_writer)

    expected_output = [
        b'\textensions: exe, pdf',
        b'']

    output = output_writer.ReadOutput()

    # Compare the output as list of lines which makes it easier to spot
    # differences.
    self.assertEqual(output.split(b'\n'), expected_output)

class NamesFileEntryFilterTest(shared_test_lib.BaseTestCase):
  """Tests the names file entry filter."""

  def testMatches(self):
    """Tests the Matches function."""
    test_file_path = self._GetTestFilePath(['ímynd.dd'])
    self._SkipIfPathNotExists(test_file_path)

    os_path_spec = path_spec_factory.Factory.NewPathSpec(
        dfvfs_definitions.TYPE_INDICATOR_OS, location=test_file_path)

    test_filter = file_entry_filters.NamesFileEntryFilter(['passwords.txt'])

    # Test a filter non-match.
    tsk_path_spec = path_spec_factory.Factory.NewPathSpec(
        dfvfs_definitions.TYPE_INDICATOR_TSK, inode=16,
        location='/a_directory/another_file', parent=os_path_spec)

    file_entry = path_spec_resolver.Resolver.OpenFileEntry(tsk_path_spec)
    self.assertFalse(test_filter.Matches(file_entry))

    # Test a filter on a directory.
    tsk_path_spec = path_spec_factory.Factory.NewPathSpec(
        dfvfs_definitions.TYPE_INDICATOR_TSK, inode=12,
        location='/a_directory', parent=os_path_spec)

    file_entry = path_spec_resolver.Resolver.OpenFileEntry(tsk_path_spec)
    self.assertFalse(test_filter.Matches(file_entry))

    # Test a filter match.
    tsk_path_spec = path_spec_factory.Factory.NewPathSpec(
        dfvfs_definitions.TYPE_INDICATOR_TSK, inode=15,
        location='/passwords.txt', parent=os_path_spec)

    file_entry = path_spec_resolver.Resolver.OpenFileEntry(tsk_path_spec)
    self.assertTrue(test_filter.Matches(file_entry))

    # Test a filter without names.
    test_filter = file_entry_filters.NamesFileEntryFilter([])
    self.assertFalse(test_filter.Matches(file_entry))

  def testPrint(self):
    """Tests the Print function."""
    output_writer = cli_test_lib.TestBinaryOutputWriter(encoding='utf-8')
    test_filter = file_entry_filters.NamesFileEntryFilter(['myfile'])

    test_filter.Print(output_writer)

    expected_output = [
        b'\tnames: myfile',
        b'']

    output = output_writer.ReadOutput()

    # Compare the output as list of lines which makes it easier to spot
    # differences.
    self.assertEqual(output.split(b'\n'), expected_output)

class SignaturesFileEntryFilterTest(shared_test_lib.BaseTestCase):
  """Tests the signatures file entry filter."""

  # pylint: disable=protected-access

  def testGetScanner(self):
    """Tests the _GetScanner function."""
    test_filter = file_entry_filters.SignaturesFileEntryFilter(None, [])

    test_filter._GetScanner(None, [])
    self.assertIsNone(test_filter._file_scanner)

    specification_store = specification.FormatSpecificationStore()
    format_specification = specification.FormatSpecification('no_offset')
    format_specification.AddNewSignature(b'test1')
    specification_store.AddSpecification(format_specification)

    format_specification = specification.FormatSpecification('negative_offset')
    format_specification.AddNewSignature(b'test2', offset=-4)
    specification_store.AddSpecification(format_specification)

    format_specification = specification.FormatSpecification('positive_offset')
    format_specification.AddNewSignature(b'test3', offset=4)
    specification_store.AddSpecification(format_specification)

    with self.assertRaises(TypeError):
      # Currently pysigscan does not support patterns without an offset.
      test_filter._GetScanner(specification_store, ['no_offset'])

    file_scanner = test_filter._GetScanner(
        specification_store, ['negative_offset'])
    self.assertIsNotNone(file_scanner)

    file_scanner = test_filter._GetScanner(
        specification_store, ['positive_offset'])
    self.assertIsNotNone(file_scanner)

  def testMatches(self):
    """Tests the Matches function."""
    specification_store = specification.FormatSpecificationStore()
    format_specification = specification.FormatSpecification('regf')
    format_specification.AddNewSignature(b'regf', offset=0)
    specification_store.AddSpecification(format_specification)

    test_filter = file_entry_filters.SignaturesFileEntryFilter(
        specification_store, ['regf'])

    # Test a filter match.
    test_file_path = self._GetTestFilePath(['NTUSER.DAT'])
    self._SkipIfPathNotExists(test_file_path)

    os_path_spec = path_spec_factory.Factory.NewPathSpec(
        dfvfs_definitions.TYPE_INDICATOR_OS, location=test_file_path)

    file_entry = path_spec_resolver.Resolver.OpenFileEntry(os_path_spec)
    self.assertTrue(test_filter.Matches(file_entry))

    # Test a filter non-match.
    test_file_path = self._GetTestFilePath(['test_pe.exe'])
    self._SkipIfPathNotExists(test_file_path)

    os_path_spec = path_spec_factory.Factory.NewPathSpec(
        dfvfs_definitions.TYPE_INDICATOR_OS, location=test_file_path)

    file_entry = path_spec_resolver.Resolver.OpenFileEntry(os_path_spec)
    self.assertFalse(test_filter.Matches(file_entry))

  def testPrint(self):
    """Tests the Print function."""
    output_writer = cli_test_lib.TestBinaryOutputWriter(encoding='utf-8')

    specification_store = specification.FormatSpecificationStore()
    specification_store.AddNewSpecification('7z')

    test_filter = file_entry_filters.SignaturesFileEntryFilter(
        specification_store, ['7z', 'bzip2'])

    test_filter.Print(output_writer)

    expected_output = [
        b'\tsignature identifiers: 7z',
        b'']

    output = output_writer.ReadOutput()

    # Compare the output as list of lines which makes it easier to spot
    # differences.
    self.assertEqual(output.split(b'\n'), expected_output)

class FileEntryFilterCollectionTest(shared_test_lib.BaseTestCase):
  """Tests the file entry filter collection."""

  # pylint: disable=protected-access

  def testAddFilter(self):
    """Tests the AddFilter function."""
    test_filter_collection = file_entry_filters.FileEntryFilterCollection()

    self.assertEqual(len(test_filter_collection._filters), 0)

    file_entry_filter = file_entry_filters.NamesFileEntryFilter(['name'])
    test_filter_collection.AddFilter(file_entry_filter)
    self.assertEqual(len(test_filter_collection._filters), 1)

  def testHasFilters(self):
    """Tests the HasFilters function."""
    test_filter_collection = file_entry_filters.FileEntryFilterCollection()
    self.assertFalse(test_filter_collection.HasFilters())

    test_filter_collection = file_entry_filters.FileEntryFilterCollection()
    file_entry_filter = file_entry_filters.NamesFileEntryFilter(['name'])
    test_filter_collection.AddFilter(file_entry_filter)
    self.assertTrue(test_filter_collection.HasFilters())

  # TODO: add test for Matches.
  # TODO: add test for Print.

if __name__ == '__main__':
  unittest.main()

redpajama_set_name: RedPajamaGithub


text:
Saints coach calls for strong aggression against GWS
May 5, 2017 6:48 am in Sport by Tony Bartlett
St Kilda makes its first appearance in a Friday night game in more than two years, when it takes on GWS at Etihad Stadium tonight.
Saints coach Alan Richardson says it's a great opportunity on the big stage.
"At the moment we're 3 and 3 which is a reasonable launch pad," he said
"We've got to focus as much on us as we do on GWS otherwise we'll be a little bit too reactive and we don't want to be that way.
"We want to lay strong, aggressive, bold footy and we're going to have to go after our own game really aggressively."
The Saints have made one change, with Nathan Wright replacing Maverick Weller, who rolled an ankle at training.
https://www.mygc.com.au/wp-content/uploads/2016/01/AFL.jpg 321 845 Tony Bartlett https://www.mygc.com.au/wp-content/uploads/2016/04/mygc-logo.png Tony Bartlett2017-05-05 06:48:022017-05-05 06:48:02Saints coach calls for strong aggression against GWS
Tony Bartlett
Tony Bartlett joined Hot Tomato as News Director in January, 2016. He has held the role of News Director with some of Australia's leading broadcasters and was AAP's Broadcast Editor based in Sydney and AAP's Brisbane Chief of Staff. Prior to AAP he spent many years as a News Director on the Gold Coast and was previously News Director of 2CA/FM 104.7 Canberra and 2MMM Sydney and he's also worked for 4SB, 4MB, 7BU, 7LA, 2WL, 2SM, 4IP, and 3XY.
Djokovic insists quarantine demands have been 'misconstrued'
More COVID cases linked to Australian Open
Nick Kyrgious blasts World No. 1 for hotel quarantine demands
AAP / Dan Peled Haas must accept consequences: Broncos CEO
Diamond's Olympic career shattered "Rocket" hoping for a ray of sunshine from the umps against the...