text stringlengths 0 7.84M | meta dict |
|---|---|
Q:
Possible values of current_session_context_class property in hibernate and uses
I wanted to know all possible values that can be used with current_session_context_class property in cfg.xml file? I have an idea of thread value that makes the session context to relate per thread, like propertyname="current_session_context_class" thread.
A:
For Hibernate 4 valid values include:
jta, thread, and managed (which are aliases for implementations delivered with Hibernate).
full class name with package to any other custom class that
implements org.hibernate.context.spi.CurrentSessionContext
This is told in Hibernate manual - 2.3. Contextual sessions
| {
"pile_set_name": "StackExchange"
} |
Q:
Jest did not exit one second after the test run has completed when using supertest and mongoose
I am using jest to test my node.js endpoints with supertest.
However after running my test jest does not exit, instead it returns the following and hangs:
Jest did not exit one second after the test run has completed.
This usually means that there are asynchronous operations that weren't
stopped in your tests. Consider running Jest with
--detectOpenHandles to troubleshoot this issue.
import request from "supertest";
import server from "../../src/index";
import mongoose from "mongoose";
describe("Authentication", () => {
beforeAll( async () => {
console.log("Test Starting...");
await mongoose.connection.dropDatabase();
});
afterAll( async () => {
console.log("... Test Ended");
await mongoose.connection.dropDatabase();
await mongoose.connection.close();
});
it("should authenticate with basic auth", async (done) => {
const BASIC_AUTH = Buffer.from(TEST_VARIABLES.HS_USERNAME + ":" + TEST_VARIABLES.HS_PASSWORD).toString("base64");
const auth_response = await request(server).get("/api/v2/auth/admin")
.set("Authorization", "Basic " + BASIC_AUTH)
.expect(200);
done();
});
A:
The app is the node.js server is still listening.
server = app.listen(this.config.port, "0.0.0.0");
adding server.close() to afterAll solved the problem.
afterAll( async () => {
console.log("... Test Ended");
await mongoose.connection.dropDatabase();
await mongoose.connection.close();
app.close()
});
| {
"pile_set_name": "StackExchange"
} |
Q:
Update database based on dropdownlist selection?
I have a table called SisStatus, which contains two columns "StatusID" and "Status", it contains four rows, "Normal", "Withdrawn", "Temporally Withdrawn", and "Suspended".
I have pulled this table and displayed it into a drop down list with the following code:-
ASP.NET
<asp:DropDownList ID="ddlStatus" runat="server">
</asp:DropDownList>
C#
private void FillDropDownList()
{
string connectionString = WebConfigurationManager.ConnectionStrings["scConnection"].ConnectionString;
SqlConnection con = new SqlConnection(connectionString);
con.Open();
string dropDownQuery = "SELECT * FROM SisStatus";
SqlCommand cmd = new SqlCommand(dropDownQuery, con);
SqlDataAdapter da = new SqlDataAdapter(cmd);
DataSet ds = new DataSet();
da.Fill(ds);
ddlStatus.DataTextField = ds.Tables[0].Columns["Status"].ToString();
ddlStatus.DataValueField = ds.Tables[0].Columns["Status"].ToString();
ddlStatus.DataSource = ds.Tables[0];
ddlStatus.DataBind();
}
This works fine, and the dropdown is being populated. The issue arises when I'm trying to update a different table SisStudents 'Status' column.
Below is the code I'm using to try and update it, however it does not work. The only way it works is if in the database (through me already putting it in) the status is 'Withdrawn', 'Temporally Withdrawn', 'Suspended', and you change the status to 'Normal' it works...
protected void UpdateBtnClick(object sender, EventArgs e)
{
/**
* When clicked takes the data the user has entered
* and updates their row in the db
*/
string newForename = txtForename.Text;
string newSurname = txtSurname.Text;
string newTermAddress = txtTermAddress.Text;
string newHomeAddress = txtHomeAddress.Text;
string newPhone = txtPhoneNumber.Text;
string newDOB = txtDOB.Text;
string newContactName = txtContactName.Text;
string newContactAddress = txtContactAddress.Text;
string newContactPhone = txtContactPhone.Text;
string newStatus = ddlStatus.SelectedValue;
if (newForename != "" && newSurname != "" && newTermAddress != "" && newHomeAddress != "" && newPhone != "" && newDOB != "" && newContactName != "" && newContactAddress != "" && newContactPhone != "")
{
string student = Request.QueryString["user"];
string connectionString = WebConfigurationManager.ConnectionStrings["scConnection"].ConnectionString;
SqlConnection con = new SqlConnection(connectionString);
con.Open();
string studentDetailsQuery = "UPDATE SisStudents SET TermAddress = @TermAddress, Phone = @Phone, DOB = @DOB, HomeAddress = @HomeAddress, Status = @Status WHERE UserID = @User";
SqlCommand cmdStudentDetails = new SqlCommand(studentDetailsQuery, con);
cmdStudentDetails.Parameters.AddWithValue("@TermAddress", newTermAddress);
cmdStudentDetails.Parameters.AddWithValue("@Phone", newPhone);
cmdStudentDetails.Parameters.AddWithValue("@DOB", newDOB);
cmdStudentDetails.Parameters.AddWithValue("@HomeAddress", newHomeAddress);
cmdStudentDetails.Parameters.AddWithValue("@User", student);
cmdStudentDetails.Parameters.AddWithValue("@Status", newStatus);
cmdStudentDetails.ExecuteNonQuery();
Any help would be appreciated, as the update query is working for everything else.
Edit: There is no error, the 'Status' column is just not updated with the selected value from the DropDownList.
A:
If only status is not getting update, then i guess it might be a problem of postback.
If you are loading the dropdownlist from page load, then make sure you are calling the function inside the !Page.IsPostback like,
protected void Page_Load(object sender, EventArgs e)
{
if(!Page.IsPostback)
{
FillDropDownList();
}
}
| {
"pile_set_name": "StackExchange"
} |
2013 Santa Rosa local elections
Local elections was held in Santa Rosa City on May 13, 2013 within the Philippine general election. The voters elected for the elective local posts in the city: the mayor, vice mayor, and ten councilors.
Overview
Incumbent Mayor Arlene B. Arcillas decided to run for reelection under Liberal Party, her opponent is Alicia Lazaga a nominee under PDP-Laban.
Mayor Arcillas' running mate is incumbent vice-mayor Arnel Gomez also under Liberal Party and his opponent is former mayor Jose Catindig, Jr. under PDP-Laban.
Results
The candidates for mayor and vice mayor with the highest number of votes wins the seat; they are voted separately, therefore, they may be of different parties when elected.
Mayoral and vice mayoral elections
Santa Rosa City
City Council Elections
Voters will elect ten (10) councilors to comprise the City Council or the Sangguniang Panlungsod. Candidates are voted separately so there are chances where winning candidates will have unequal number of votes and may come from different political parties. The ten candidates with the highest number of votes win the seats.
|-
|bgcolor=black colspan=5|
References
External links
Official website of the Commission on Elections
Official website of National Movement for Free Elections (NAMFREL)
Official website of the Parish Pastoral Council for Responsible Voting (PPCRV)
Category:2013 Philippine general election
Category:Elections in Laguna (province)
Category:Santa Rosa, Laguna | {
"pile_set_name": "Wikipedia (en)"
} |
Gabriel Newton
Gabriel Newton (1683–1762) was a leading figure in the English city of Leicester.
Born in Leicester, he was a wool-comber by trade and later became landlord of the Horse and Trumpet Inn. In 1710 he was appointed as a member of the city's Corporation, in 1726 was chosen as an alderman, and in 1732 was elected as Mayor of Leicester. He was married three times, and each of his wives was a woman of considerable wealth, and thus he himself became rich. After the death of his only son, Newton had no descendants, so he left his fortune to aid the education of the poor, establishing a charity school in Leicester at the Church of St Mary de Castro, which was opened in 1785 after legal problems with his will. It was known as the Greencoat School from the uniform worn by the pupils. His school later became Alderman Newton's School and survived until 1999 when it was merged by the local authority with two other local schools to form a single educational institution.
Newton is one of the four men portrayed on Leicester's Haymarket Memorial Clock Tower.
He is buried in the graveyard of All Saints Church, Leicester on Highcross Street where his memorial tomb can be seen.
References
External links
http://www.leicester.gov.uk/index.asp?pgid=33201
Category:1683 births
Category:1762 deaths
Category:Textile workers
Category:Mayors of places in Leicestershire
Category:18th-century English people | {
"pile_set_name": "Wikipedia (en)"
} |
Case: 11-40734 Document: 00511699683 Page: 1 Date Filed: 12/19/2011
IN THE UNITED STATES COURT OF APPEALS
FOR THE FIFTH CIRCUIT United States Court of Appeals
Fifth Circuit
FILED
December 19, 2011
No. 11-40734
Conference Calendar Lyle W. Cayce
Clerk
UNITED STATES OF AMERICA,
Plaintiff-Appellee
v.
RAFAEL CASTRO-OLIVARES, also known as Rafael Olivarea-Castro,
Defendant-Appellant
Appeal from the United States District Court
for the Southern District of Texas
USDC No. 5:11-CR-252-1
Before KING, HAYNES, and GRAVES, Circuit Judges.
PER CURIAM:*
The attorney appointed to represent Rafael Castro-Olivares has moved for
leave to withdraw and has filed a brief in accordance with Anders v. California,
386 U.S. 738 (1967), and United States v. Flores, 632 F.3d 229 (5th Cir. 2011).
Castro-Olivares has filed a response. The record is insufficiently developed to
allow consideration at this time of Castro-Olivares’s claim of ineffective
assistance of counsel; such a claim generally “cannot be resolved on direct appeal
when the claim has not been raised before the district court since no opportunity
*
Pursuant to 5TH CIR. R. 47.5, the court has determined that this opinion should not
be published and is not precedent except under the limited circumstances set forth in 5TH CIR.
R. 47.5.4.
Case: 11-40734 Document: 00511699683 Page: 2 Date Filed: 12/19/2011
No. 11-40734
existed to develop the record on the merits of the allegations.” United States v.
Cantwell, 470 F.3d 1087, 1091 (5th Cir. 2006) (internal quotation marks and
citation omitted). We have reviewed counsel’s brief and the relevant portions of
the record reflected therein, as well as Castro-Olivares’s response. We concur
with counsel’s assessment that the appeal presents no nonfrivolous issue for
appellate review. Accordingly, the motion for leave to withdraw is GRANTED,
counsel is excused from further responsibilities herein, and the APPEAL IS
DISMISSED. See 5TH CIR. R. 42.2.
2
| {
"pile_set_name": "FreeLaw"
} |
Q:
TortoiseSVN Login not working after Windows AD Password Change
We are using VisualSVN as Subversion Server with Windows AD as authentification.
Yesterday I changed my Windows AD password.
I connected to the VisualSVN-Webserver which worked fine with the new password.
But I couldn't log in to the server using TortoiseSVN.
I cleared the cache of Tortoise and even reinstalled it, but the problem stays the same.
So I know for sure, that the new password is correct and VisualSVn-authetification works fine with Windows AD, but still Tortoise isn't working.
A:
In Germany we use ö, ä, ü. Our SVN Version couldn't handle this as it
is very old.
The problem has been solved in VisualSVN Server 3.5.0:
Fixed: unable to authenticate using Windows Basic Authentication when a password contains non-ASCII characters.
| {
"pile_set_name": "StackExchange"
} |
A novel mechanism for protein delivery: granzyme B undergoes electrostatic exchange from serglycin to target cells.
The molecular interaction of secreted granzyme B-serglycin complexes with target cells remains undefined. Targets exposed to double-labeled granzyme B-serglycin complexes show solely the uptake of granzyme B. An in vitro model demonstrates the exchange of the granzyme from serglycin to immobilized, sulfated glycosaminoglycans. Using a combination of cell binding and internalization assays, granzyme B was found to exchange to sulfated glycosaminoglycans and, depending on the cell type, to higher affinity sites. Apoptosis induced by purified granzyme B and cytotoxic T-cells was diminished in targets with reduced cell surface glycosaminoglycan content. A mechanism of delivery is proposed entailing electrostatic transfer of granzyme B from serglycin to cell surface proteins. | {
"pile_set_name": "PubMed Abstracts"
} |
Former "Duck Dynasty" star Sadie Robertson is engaged!
Robertson, 21, said yes when boyfriend Christian Huff proposed to her on Sunday.
"I screamed YES. so many words and so many more pictures to come, but for now just know my friends I’m the happiest human in the world on June 9th, 2019 today and for the rest of my life" she wrote on Instagram. "I GET TO MARRY THIS MAN. God is faithful and so so good."
SADIE ROBERTSON: HOW I OVERCAME FEAR AND LEARNED TO REALLY LIVE
A video of the special moment was shared with the "Dancing with the Stars" alum's 3.2 million followers.
Robertson's mother, Korie, also shared the good news online and welcomed her future son-in-law to the family.
ELIZABETH HURLEY, 53, SIZZLES IN HOT PINK BIKINI
"Sadie’s getting married!!!!! To the most amazing man, and we are beaming!!!" her mother wrote." Today was an absolute dream. I love every second of being @legitsadierob mom and can’t wait for @christian_huff to join the fam!"
CLICK HERE TO GET THE FOX NEWS APP
Robertson recently detailed her affection for Huff, writing on Instagram that "there are a lot of things that I love about this man."
She wrote, "He’s strong and kind. He’s handsome and humble. He is hilarious. He’s my best friend." Robertson said their relationship isn't perfect, "but at the end of every day I couldn’t be more grateful for this walking answered prayer."
Before her engagement, Robertson was linked to ex, Austin North, and former Texas A&M quarterback Trevor Knight. | {
"pile_set_name": "OpenWebText2"
} |
"playmemories studio" Posts
Back in January we announced that PlayMemories Studio was headed to the PS3 this spring and today it becomes available to all of you through the PlayStation Store. The new service is part of Sony’s PlayMemories suite, which helps you edit and share your high quality videos and photos on a variety of devices. You can also use PlayMemories Studio with your PlayStation Vita or PSP via Remote Play.
This new download allows you to fully manage your photos and videos straight from your PS3:
Organizing and Viewing: In addition to the videos and photos you store on your PS3, the content you store on cameras, external hard drives and USB storage devices can be viewed without transferring all of it to your PS3. PlayMemories Studio also allows you to easily search and sort the content by date or location.
Editing: You can use action tags to add visual and sound effects, such as slow motion or frame-by-frame playback, to images. | {
"pile_set_name": "Pile-CC"
} |
/*
//@HEADER
// ************************************************************************
//
// Kokkos v. 3.0
// Copyright (2020) National Technology & Engineering
// Solutions of Sandia, LLC (NTESS).
//
// Under the terms of Contract DE-NA0003525 with NTESS,
// the U.S. Government retains certain rights in this software.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// 1. Redistributions of source code must retain the above copyright
// notice, this list of conditions and the following disclaimer.
//
// 2. Redistributions in binary form must reproduce the above copyright
// notice, this list of conditions and the following disclaimer in the
// documentation and/or other materials provided with the distribution.
//
// 3. Neither the name of the Corporation nor the names of the
// contributors may be used to endorse or promote products derived from
// this software without specific prior written permission.
//
// THIS SOFTWARE IS PROVIDED BY NTESS "AS IS" AND ANY
// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL NTESS OR THE
// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
//
// Questions? Contact Christian R. Trott (crtrott@sandia.gov)
//
// ************************************************************************
//@HEADER
*/
#include <threads/TestThreads_Category.hpp>
#include <TestViewSubview.hpp>
namespace Test {
TEST(threads, view_subview_2d_from_3d_atomic) {
TestViewSubview::test_2d_subview_3d<TEST_EXECSPACE,
Kokkos::MemoryTraits<Kokkos::Atomic> >();
}
} // namespace Test
| {
"pile_set_name": "Github"
} |
CASC , Cascade Corp.
This company does a lot with forklifts and other such equipment. In a sense it provides a fairly decent barometer of what is happening in the world, the stuff must be moved to be sold! Recently it reported a 186% increase in net income. It hardly registered and the stock is still down;
This stock retraced about 62% in a nice B-wave and is now on its way down. Excellent earnings could not change that. What is interesting from this chart is that the stock had been rising gradually for much of the last 20 years and probable beyond. As with so many other stocks, the tangent of the slope changes dramatically exactly at the time of Greenspan’s first liquidity flooding exercise to avoid the catastrophes that were awaiting us in the new century. This stock goes up 8-fold in less years. The stock is now down 33% from its B-wave high of $55 and if it were to “regress to the mean” it should get to about $18, that is if the pendulum does not swing to the other side, which ,of course, it nearly always does. So again the Fed. promises to hold rates at zero for two more years. Do not expect the stock to be propelled upwards this time, the difference is what is called the “liquidity trap” or, in the vernacular of the lay, “pushing on a string”. | {
"pile_set_name": "Pile-CC"
} |
Transportation in San Diego
Transportation in San Diego consists of a variety of air, road, sea, and public transportation options.
Public transportation
San Diego is served by the trolley, bus, Coaster, and Amtrak. The trolley primarily serves downtown and surrounding urban communities, Mission Valley, east county, the coastal south bay, and the international border. A planned Mid-Coast line will operate from Old Town to University City along the 5 Freeway. There are also plans for a Silver Line to expand trolley service downtown. A historical timeline of the development of public transportation in San Diego (dating back to 1886) is available on the Metropolitan Transit System's website
The Amtrak and Coaster trains currently run along the coastline and connect San Diego with Los Angeles,
Orange County, San Bernardino, Riverside, and Ventura via Metrolink. There are two Amtrak stations in San Diego, in Old Town and Downtown.
The bus is available along almost all major routes; however, a large number of bus stops are concentrated in central San Diego. Typical wait times vary from 15 to 60 minutes, depending on the location and route . Trolleys arrive at each station every 7 to 30 minutes (depending on time of day and which trolley line is used). Ferries are also available every half hour crossing San Diego Bay to Coronado.
Public Transportation Statistics
The average amount of time people spend commuting with public transit in San Diego, CA, for example to and from work, on a weekday is 70 min. 23% of public transit riders, ride for more than 2 hours every day. The average amount of time people wait at a stop or station for public transit is 16 min, while 29.% of riders wait for over 20 minutes on average every day. The average distance people usually ride in a single trip with public transit is 11.2 km, while 30% travel for over 12 km in a single direction.
Cycling
The dry and mild climate of San Diego makes cycling a convenient and pleasant year-round option. The city has some segregated cycle facilities, particularly in newer developments, however the majority of road facilities specifically for bicycles are painted on regular roadways. The city's hilly, canyoned terrain and long average trip distances—brought about by strict low-density zoning laws—somewhat restrict cycling for utilitarian purposes. In 2014 of .9% of commuters traveled by bicycle, below the average 1% for large U.S. cities. Also in 2014, San Diego experienced 6.8 bicyclist fatalities per 10,000 cyclist commuters, the average for all large cities was 4.7.
A bicycle sharing system called Decobike was instituted in 2015.
Air
San Diego has two major international airports entirely or extending into its city limits:
San Diego International Airport, also known as Lindbergh Field, is the primary commercial airport serving San Diego. It is the busiest single-runway airport in the United States, and is the third busiest single-runway airport in the world, only behind London Gatwick and Mumbai. It serves over 24 million passengers every year, and is located on San Diego Bay three miles (4.8 km) from downtown. There are scheduled flights to the rest of the United States, Canada, Japan, Mexico, United Kingdom, Germany, and Switzerland. It serves as a focus city for Southwest Airlines and Alaska Airlines. Voters rejected a proposal to move the airport to Miramar Marine Corps Air Station in November 2006.
Since December 9, 2015, the Cross Border Xpress terminal in Otay Mesa has given direct access to Tijuana International Airport, with passengers walking across the U.S.–Mexico border on a footbridge to catch their flight on the Mexican side. It is the only airport in the world with terminals located on the territory of two countries.
Other airports include Brown Field Municipal Airport (Brown Field) and Montgomery Field.
Sea
The Port of San Diego manages the maritime operations of San Diego harbor. Cruise ships arrive and depart from San Diego's cruise ship terminal on B Street Pier. Carnival Cruise Lines and Holland America have home port cruise ships in San Diego during the winter season. A second cruise terminal on Broadway Pier opened in 2010.
San Diego is home to General Dynamics' National Steel and Shipbuilding Company (NASSCO), the largest shipyard on the West Coast of the United States. It is capable of building and repairing large ocean-going vessels. The yard constructs commercial cargo ships and auxiliary vessels for the U.S. Navy and Military Sealift Command, which it has served since 1960.
Roads
The streets and highways of San Diego reflect the auto-oriented development of the city as well as its "urban sprawl" historic growth pattern. Major freeways were built and repeatedly expanded to serve the needs of commuters coming into the city from the suburban regions of North County, South Bay, and East County, as well as the Tijuana metropolitan area. The importance of tourism to the city also stimulated the development of roads, since 70% of tourists visiting San Diego arrive by car.
Major highways
Interstates
San Diego is the terminus of three primary interstate highways. The region is also served by one three-digit auxiliary interstate.
California State Routes
State highways in San Diego include the following:
.
Major streets
Rosecrans Street (formerly California State Route 209)
Balboa Avenue (formerly California State Route 274)
El Cajon Boulevard (Interstate 8 business loop, formerly part of U.S. Route 80)
See also
Transportation in San Diego–Tijuana
References
External links
01
*
San Diego, California | {
"pile_set_name": "Wikipedia (en)"
} |
Q:
Google Drive API javascript
I'm trying to use the Google drive to list files.
Using the answer in https://stackoverflow.com/a/11280257 I found a problem that I can't discover the reason.
var clientId = '*********.apps.googleusercontent.com';
var apiKey = '##########';
var scopes = 'https://www.googleapis.com/auth/drive';
function handleClientLoad() {
gapi.client.setApiKey(apiKey);
window.setTimeout(checkAuth,1);
}
function checkAuth() {
gapi.auth.authorize({client_id: clientId, scope: scopes, immediate: true},handleAuthResult);
}
function handleAuthResult(authResult) {
var authorizeButton = document.getElementById('authorize-button');
if (authResult && !authResult.error) {
authorizeButton.style.visibility = 'hidden';
makeApiCall();
}
else {
authorizeButton.style.visibility = '';
authorizeButton.onclick = handleAuthClick;
}
}
function handleAuthClick(event) {
gapi.auth.authorize({client_id: clientId, scope: [scopes], immediate: false}, handleAuthResult);
return false;
}
function makeApiCall() {
gapi.client.load('drive', 'v2', makeRequest);
}
function makeRequest()
{
var request = gapi.client.drive.files.list({'maxResults': 5 });
request.execute(function(resp) {
for (i=0; i<resp.items.length; i++) {
var titulo = resp.items[i].title;
var fechaUpd = resp.items[i].modifiedDate;
var userUpd = resp.items[i].lastModifyingUserName;
var userEmbed = resp.items[i].embedLink;
var userAltLink = resp.items[i].alternateLink;
var fileInfo = document.createElement('li');
fileInfo.appendChild(document.createTextNode('TITLE: ' + titulo + ' - LAST MODIF: ' + fechaUpd + ' - BY: ' + userUpd ));
document.getElementById('content').appendChild(fileInfo);
}
});
}
I have this error:
Uncaught TypeError: Cannot read property 'files' of undefined
in the line
var request = gapi.client.drive.files.list({'maxResults': 5 });
A:
Using
var request = gapi.client.request({
'path': '/drive/v2/files',
'method': 'GET',
'params': {'maxResults': '1'}
});
instead of
var request = gapi.client.drive.files.list({'maxResults': 5 });
resolved the problem!
A:
Code looks OK and you're correctly waiting until gapi.client.load completes. Might just be an error with loading the Drive JS files or some other issue (maybe bad JS file cached?). I modified your example a little bit to run on jsfiddle, take a look at http://jsfiddle.net/Rbg44/4/ for the full example:
HTML:
<button id="authorize-button">Authorize</button>
<div id="content">Files:</div>
JS:
var CLIENT_ID = '...';
var API_KEY = '...';
var SCOPES = '...';
function handleClientLoad() {
gapi.client.setApiKey(API_KEY);
window.setTimeout(checkAuth,1);
}
function checkAuth() {
var options = {
client_id: CLIENT_ID,
scope: SCOPES,
immediate: true
};
gapi.auth.authorize(options, handleAuthResult);
}
function handleAuthResult(authResult) {
var authorizeButton = document.getElementById('authorize-button');
if (authResult && !authResult.error) {
authorizeButton.style.visibility = 'hidden';
makeApiCall();
} else {
authorizeButton.style.visibility = '';
authorizeButton.onclick = handleAuthClick;
}
}
function handleAuthClick(event) {
var options = {
client_id: CLIENT_ID,
scope: SCOPES,
immediate: false
};
gapi.auth.authorize(options, handleAuthResult);
return false;
}
function makeApiCall() {
gapi.client.load('drive', 'v2', makeRequest);
}
function makeRequest() {
var request = gapi.client.drive.files.list({'maxResults': 5 });
request.execute(function(resp) {
for (i=0; i<resp.items.length; i++) {
var titulo = resp.items[i].title;
var fechaUpd = resp.items[i].modifiedDate;
var userUpd = resp.items[i].lastModifyingUserName;
var userEmbed = resp.items[i].embedLink;
var userAltLink = resp.items[i].alternateLink;
var fileInfo = document.createElement('li');
fileInfo.appendChild(document.createTextNode('TITLE: ' + titulo +
' - LAST MODIF: ' + fechaUpd + ' - BY: ' + userUpd ));
document.getElementById('content').appendChild(fileInfo);
}
});
}
$(document).ready(function() {
$('#authorize-button').on('click', handleAuthClick);
$.getScript('//apis.google.com/js/api.js', function() {
gapi.load('auth:client', handleClientLoad);
});
});
Can you check in your browsers dev tools if there is any sort of issue in the request made when you call gapi.client.load()?
A:
You need to write this :
gapi.client.load('drive', 'v2', null);
| {
"pile_set_name": "StackExchange"
} |
Tuesday, September 29, 2009
shoes
It was cool this morning so I put Bryce in this cute little Winnie the Pooh outfit. I just love the little hoodie and I wish I could remember who gave it to us. Jason was helping Bryce stand this morning and he was trying to walk when I realized this outfit had shoes that matched. I know shoes are kind of pointless at this age, but it completed the outfit and made for a good picture. I swear we looked at the shoes and decided which was right and left, but it still looks like the shoes are on the wrong feet, ha!
No comments:
I married my high school sweetheart, Jason, in August 2003. We welcomed our son, Bryce, in February 2009 and our daughter, Emmy, in February 2012. We also have a dog, Macy, who is spoiled rotten and loved more than an animal should be. I'm a teacher, turned stay at home mom and I'm enjoying getting used to our new normal and loving every minute with my sweet babies! | {
"pile_set_name": "Pile-CC"
} |
class NSArray : NSObject, NSCopying, NSMutableCopying, NSSecureCoding, NSFastEnumeration {
var count: Int { get }
func object(at index: Int) -> AnyObject
init(objects objects: UnsafePointer<AnyObject?>, count cnt: Int)
init?(coder aDecoder: NSCoder)
func copy(with zone: NSZone = nil) -> AnyObject
func mutableCopy(with zone: NSZone = nil) -> AnyObject
class func supportsSecureCoding() -> Bool
func encode(with aCoder: NSCoder)
func countByEnumerating(with state: UnsafeMutablePointer<NSFastEnumerationState>, objects buffer: AutoreleasingUnsafeMutablePointer<AnyObject?>, count len: Int) -> Int
}
extension NSArray : ArrayLiteralConvertible {
}
extension NSArray : SequenceType {
}
extension NSArray {
convenience init(objects elements: AnyObject...)
}
extension NSArray {
@objc(_swiftInitWithArray_NSArray:) convenience init(array anArray: NSArray)
}
extension NSArray : CustomReflectable {
}
extension NSArray {
func adding(_ anObject: AnyObject) -> [AnyObject]
func addingObjects(from otherArray: [AnyObject]) -> [AnyObject]
func componentsJoined(by separator: String) -> String
func contains(_ anObject: AnyObject) -> Bool
func description(withLocale locale: AnyObject?) -> String
func description(withLocale locale: AnyObject?, indent level: Int) -> String
func firstObjectCommon(with otherArray: [AnyObject]) -> AnyObject?
func getObjects(_ objects: AutoreleasingUnsafeMutablePointer<AnyObject?>, range range: NSRange)
func index(of anObject: AnyObject) -> Int
func index(of anObject: AnyObject, in range: NSRange) -> Int
func indexOfObjectIdentical(to anObject: AnyObject) -> Int
func indexOfObjectIdentical(to anObject: AnyObject, in range: NSRange) -> Int
func isEqual(to otherArray: [AnyObject]) -> Bool
@available(watchOS 2.0, *)
var firstObject: AnyObject? { get }
var lastObject: AnyObject? { get }
func objectEnumerator() -> NSEnumerator
func reverseObjectEnumerator() -> NSEnumerator
@NSCopying var sortedArrayHint: NSData { get }
func sortedArray(_ comparator: @convention(c) (AnyObject, AnyObject, UnsafeMutablePointer<Void>) -> Int, context context: UnsafeMutablePointer<Void>) -> [AnyObject]
func sortedArray(_ comparator: @convention(c) (AnyObject, AnyObject, UnsafeMutablePointer<Void>) -> Int, context context: UnsafeMutablePointer<Void>, hint hint: NSData?) -> [AnyObject]
func sortedArray(using comparator: Selector) -> [AnyObject]
func subarray(with range: NSRange) -> [AnyObject]
func write(toFile path: String, atomically useAuxiliaryFile: Bool) -> Bool
func write(to url: NSURL, atomically atomically: Bool) -> Bool
func objects(at indexes: NSIndexSet) -> [AnyObject]
@available(watchOS 2.0, *)
subscript(_ idx: Int) -> AnyObject { get }
@available(watchOS 2.0, *)
func enumerateObjects(_ block: (AnyObject, Int, UnsafeMutablePointer<ObjCBool>) -> Void)
@available(watchOS 2.0, *)
func enumerateObjects(_ opts: NSEnumerationOptions = [], using block: (AnyObject, Int, UnsafeMutablePointer<ObjCBool>) -> Void)
@available(watchOS 2.0, *)
func enumerateObjects(at s: NSIndexSet, options opts: NSEnumerationOptions = [], using block: (AnyObject, Int, UnsafeMutablePointer<ObjCBool>) -> Void)
@available(watchOS 2.0, *)
func indexOfObject(passingTest predicate: (AnyObject, Int, UnsafeMutablePointer<ObjCBool>) -> Bool) -> Int
@available(watchOS 2.0, *)
func indexOfObject(_ opts: NSEnumerationOptions = [], passingTest predicate: (AnyObject, Int, UnsafeMutablePointer<ObjCBool>) -> Bool) -> Int
@available(watchOS 2.0, *)
func indexOfObject(at s: NSIndexSet, options opts: NSEnumerationOptions = [], passingTest predicate: (AnyObject, Int, UnsafeMutablePointer<ObjCBool>) -> Bool) -> Int
@available(watchOS 2.0, *)
func indexesOfObjects(passingTest predicate: (AnyObject, Int, UnsafeMutablePointer<ObjCBool>) -> Bool) -> NSIndexSet
@available(watchOS 2.0, *)
func indexesOfObjects(_ opts: NSEnumerationOptions = [], passingTest predicate: (AnyObject, Int, UnsafeMutablePointer<ObjCBool>) -> Bool) -> NSIndexSet
@available(watchOS 2.0, *)
func indexesOfObjects(at s: NSIndexSet, options opts: NSEnumerationOptions = [], passingTest predicate: (AnyObject, Int, UnsafeMutablePointer<ObjCBool>) -> Bool) -> NSIndexSet
@available(watchOS 2.0, *)
func sortedArray(comparator cmptr: NSComparator) -> [AnyObject]
@available(watchOS 2.0, *)
func sortedArray(_ opts: NSSortOptions = [], usingComparator cmptr: NSComparator) -> [AnyObject]
@available(watchOS 2.0, *)
func index(of obj: AnyObject, inSortedRange r: NSRange, options opts: NSBinarySearchingOptions = [], usingComparator cmp: NSComparator) -> Int
}
struct NSBinarySearchingOptions : OptionSetType {
init(rawValue rawValue: UInt)
let rawValue: UInt
static var firstEqual: NSBinarySearchingOptions { get }
static var lastEqual: NSBinarySearchingOptions { get }
static var insertionIndex: NSBinarySearchingOptions { get }
}
extension NSArray {
convenience init(object anObject: AnyObject)
convenience init(array array: [AnyObject])
convenience init(array array: [AnyObject], copyItems flag: Bool)
convenience init?(contentsOfFile path: String)
convenience init?(contentsOf url: NSURL)
}
extension NSArray {
func getObjects(_ objects: AutoreleasingUnsafeMutablePointer<AnyObject?>)
}
class NSMutableArray : NSArray {
func add(_ anObject: AnyObject)
func insert(_ anObject: AnyObject, at index: Int)
func removeLastObject()
func removeObject(at index: Int)
func replaceObject(at index: Int, with anObject: AnyObject)
init(capacity numItems: Int)
}
extension NSMutableArray {
func addObjects(from otherArray: [AnyObject])
func exchangeObject(at idx1: Int, withObjectAt idx2: Int)
func removeAllObjects()
func remove(_ anObject: AnyObject, in range: NSRange)
func remove(_ anObject: AnyObject)
func removeObjectIdentical(to anObject: AnyObject, in range: NSRange)
func removeObjectIdentical(to anObject: AnyObject)
@available(watchOS, introduced=2.0, deprecated=2.0)
func removeObjects(fromIndices indices: UnsafeMutablePointer<Int>, numIndices cnt: Int)
func removeObjects(in otherArray: [AnyObject])
func removeObjects(in range: NSRange)
func replaceObjects(in range: NSRange, withObjectsFrom otherArray: [AnyObject], range otherRange: NSRange)
func replaceObjects(in range: NSRange, withObjectsFrom otherArray: [AnyObject])
func setArray(_ otherArray: [AnyObject])
func sort(_ compare: @convention(c) (AnyObject, AnyObject, UnsafeMutablePointer<Void>) -> Int, context context: UnsafeMutablePointer<Void>)
func sort(using comparator: Selector)
func insert(_ objects: [AnyObject], at indexes: NSIndexSet)
func removeObjects(at indexes: NSIndexSet)
func replaceObjects(at indexes: NSIndexSet, with objects: [AnyObject])
@available(watchOS 2.0, *)
func sort(comparator cmptr: NSComparator)
@available(watchOS 2.0, *)
func sort(_ opts: NSSortOptions = [], usingComparator cmptr: NSComparator)
}
extension NSMutableArray {
}
| {
"pile_set_name": "Github"
} |
TORONTO — After seven weeks of Winnipeg dominance, the Nissan Titan Power Rankings have a new leader.
The Calgary Stampeders are back on top after winning the Battle of Alberta, joining the Winnipeg Blue Bombers and Hamilton Tiger-Cats at the top of the CFL standings and asserting their presence as a contender in the tightly-contested West Division.
There were plenty of reasons to count the defending Grey Cup Champions out in 2019, from an early-season injury to Bo Levi Mitchell to a revolving door at running back to a defence missing two-thirds of its starters from last season, not including defensive coordinator DeVone Claybrooks.
Yet two months into the season the Stamps are strong in virtually every area. The team sits second in the CFL with a plus-eight turnover ratio, the defence is allowing just 328 yards per game (fourth in the CFL) and first-time starter Nick Arbuckle has completed 73 per cent of his passes while winning four of his five starts.
Lesson learned, it’s never wise to dismiss Dave Dickenson and the Calgary Stampeders. More in the Nissan Titan Power Rankings.
1. Calgary Stampeders
Record: 5-2
Last Week: 4
The Stamps keep finding ways to win. On Saturday, in the first rendition of the Battle of Alberta, Calgary was outplayed by the rival Esks, but a 103-yard kick return touchdown by Terry Williams made the difference. The most telling statistic: The Stampeders currently lead the CFL with 22 takeaways, resulting directly in 74 points.
2. Winnipeg Blue Bombers
Record: 5-2
Last Week: 1
That’s two in a row the Bombers let get away, falling to the Ticats despite Jeremiah Masoli‘s injury before blowing a 20-0 lead vs. the Argos in Week 8. Fans of the Blue and Gold hope a disappointing trip east won’t be the turning point in their season, especially with a first-place matchup against the Stampeders on tap.
3. Hamilton Tiger-Cats
Record: 5-2
Last Week: 2
After two-and-outs on seven of their first 10 possessions, the Ticats and sophomore quarterback Dane Evans finally settled in against the Riders, even taking the lead in the fourth quarter. With Masoli out for the season, Evans will need to show growth if the Ticats are going to compete for a Grey Cup.
4. Edmonton Eskimos
Record: 4-3
Last Week: 3
Trevor Harris almost completed a late-game comeback vs. the Stamps, leading the offence to the 17-yard-line before one last attempt fell incomplete. Despite losing, the Esks nearly doubled their rival in net yards, and their peripherals suggest this is a very good football team, currently leading the CFL both in yards for and against.
5. Saskatchewan Roughriders
Record: 4-3
Last Week: 6
Cody Fajardo‘s dive to the pylon was the game-winning touchdown and likely a signature moment in the Riders’ season. The 27-year-old is here to stay after the club traded veteran Zach Collaros, while the Riders have won three straight games and four of their last five. This team has become a dark horse in the West if not a contender.
6. Montreal Alouettes
Record: 3-3
Last Week: 5
Vernon Adams got hurt, Antonio Pipkin was inaccurate and the offence abandoned the run in an overtime loss to the REDBLACKS in Week 8. Can the Als win without Big Play VA? Adams was the catalyst for the team’s success this season, but there’s plenty to like about Montreal on both sides of the ball.
7. Ottawa REDBLACKS
Record: 3-4
Last Week: 7
The offence struggled in Dominique Davis‘ return, but two DeVonte Dedmon return touchdowns and some clutch kicking from Lewis Ward (as always) helped the REDBLACKS steal one in overtime. The East is up for the taking, but Ottawa will need better play from the quarterback position after managing just 241 yards of offence.
8. Toronto Argonauts
Record: 1-6
Last Week: 9
After improving defensively throughout the 2019 season, it was the offence coming through in the second half of a thrilling comeback win over Winnipeg. McLeod Bethel-Thompson threw for 343 yards and three touchdowns to erase a 20-point deficit for the win at BMO Field, pulling the Boatmen from the deepest depths of the power rankings.
9. BC Lions
Record: 1-6
Last Week: 8
As the rest of the West pulls away, every game becomes a must-win for the struggling BC Lions. A little time off can’t hurt, and the same goes for some adjustments up front with the addition of American offensive tackle Justin Renfrow from Calgary. The Ticats, without Jeremiah Masoli, present a winnable matchup for Mike Reilly and co.
WEEK-BY-WEEK RANKINGS | {
"pile_set_name": "OpenWebText2"
} |
9). What is the third biggest value in j, 3, -3/4?
-3/4
Let w = 6280 + -6280.3. Which is the fifth smallest value? (a) 1 (b) 3/8 (c) w (d) 2 (e) 7/2
e
Let x = 0.5 + 8. Let l = x + -5.5. Which is the second smallest value? (a) l (b) -4 (c) -3 (d) -3/4
c
Let m = 20751 - 20751. What is the second smallest value in 0.4, 276, -1/14, m?
m
Let q = 20331 + -20334. Let h = -0.09 - 0.11. Which is the smallest value? (a) q (b) -2/21 (c) h (d) -2/23
a
Let s = -677.1 + 677. Let g = 0.038 + 0.262. What is the third smallest value in 139, g, s, -4/3?
g
Let o = 91.76 + -88. Let j = o + 0.24. Which is the smallest value? (a) -4/3 (b) j (c) -2 (d) -11
d
Let m = 142.1 + -142. Let t = -52.5 + 66. Let l = 14 - t. Which is the smallest value? (a) 7 (b) l (c) m
c
Suppose 272 = -5*y - x, -4*y - 4*x = x + 226. What is the biggest value in 2, y, -1?
2
Let m(u) = -u - 3. Let q be m(1). Let f = 519 - 516. Which is the third biggest value? (a) -0.13 (b) f (c) q
c
Let z = 276.164 + -0.164. Let r = -277.62 + z. What is the second smallest value in r, -4, 4?
r
Let q = 0.24 - -0.16. Let a be 4/(-3240)*(2 - (-2048)/(-12)). Let w = a - 2/243. What is the biggest value in w, 1, 4/3, q?
4/3
Let g = 195.2 + -194.7. Which is the second smallest value? (a) g (b) -5 (c) -0.1 (d) -1/4 (e) -1.7
e
Let q = 164.95 - 165. Suppose -f - 1 = 3. What is the smallest value in q, 3, f?
f
Suppose -3*h - 308 = -7*h. Let q = 13/322 - 223907/2898. Let b = q + h. What is the third smallest value in 2, 1, b?
2
Suppose 5*g + 2*z - 9 = 4*g, -10 = -4*g + 5*z. Let b = -2.972 + -1.028. What is the third biggest value in g, -1/2, b?
b
Let m = -24932.96 - -24137. Let w = 796 + m. What is the biggest value in w, 5, 4?
5
Let k = 585/358 + -24/179. What is the third smallest value in 0, -67, -2/9, k?
0
Let j be -1*(1 - 2) + 408/(-357). Which is the fourth smallest value? (a) 0.4 (b) 3/7 (c) -0.0669 (d) j
b
Suppose -2*f - 7*f = 0. Let x be ((-18)/(-12) + -2)*4/(-90). What is the second smallest value in -5, f, x?
f
Let n = -0.471 - -1.251. Which is the fourth smallest value? (a) -4 (b) n (c) 3 (d) -0.2
c
Suppose 5*j = 5*x - 3*x + 21, 0 = -3*x + 6. Let m(g) = -4*g**2 + 22*g - 8. Let n be m(j). Which is the biggest value? (a) n (b) 6 (c) 0.6
b
Let x(j) = -2*j**3 - j - 4*j**2 + 2*j**2 + 0*j**3. Let f be x(-1). Let n = 1802.97 + -1803. Which is the third smallest value? (a) f (b) n (c) -2/7
a
Let s = -8413.6 + 8414. Which is the third smallest value? (a) -0.4 (b) 19/3 (c) 1 (d) 3/4 (e) s
d
Let s = 3 + -3.2. Let r = -0.36476 + -0.03524. Which is the smallest value? (a) 2 (b) s (c) r (d) 0.033
c
Let w = 48 - 53.3. Let y = 5 + w. Let h = -1.7 + y. Which is the third smallest value? (a) h (b) 1 (c) 0.5 (d) -0.2
c
Let t = 0.08302 - -0.21698. Let s(g) = g**3 + 9*g**2 - 12*g - 25. Let v be s(-10). Which is the biggest value? (a) t (b) -2/5 (c) 1 (d) v
c
Let g = -309/5 + 185/3. Let v = -4 - -3.6. Let l = -247 + 246. What is the third smallest value in g, v, l, -0.5?
v
Let j = -5 - -1. Let p = -1230 + 1281. What is the smallest value in p, j, 2/3?
j
Let h = 5170/3 + -1723. What is the smallest value in 67, h, -1/2?
-1/2
Let w = 363 + -359. Suppose 0 = w*f + 6 + 26. Which is the fourth smallest value? (a) f (b) -1 (c) 0 (d) 0.1
d
Suppose 2 = -j - 18. What is the third smallest value in -1, 2/9, j?
2/9
Let p = -13156.6 - -13157. Let w = -1 - -1.1. Let n = w + -0.5. Which is the second smallest value? (a) -4/5 (b) p (c) n (d) -5
a
Let f be ((-4356)/25410)/((-5)/35*(5 + -2)). Let x be 2/2*(-1)/2. What is the third smallest value in x, -0.101, f?
f
Let g = 474324 - 474319. Let v = -1 + 1.5. Which is the second biggest value? (a) -0.1 (b) 24 (c) v (d) g
d
Let l be (290/35 - -1) + -11 + 2. Let n = 0.2 - -0.3. Which is the second biggest value? (a) l (b) -2 (c) n (d) 8
c
Let u(l) = -7*l**3 - 6*l + 18. Let m be u(3). Let q = -191 - m. Which is the third biggest value? (a) -11/3 (b) q (c) 2/7 (d) 5
b
Let j = 479 - 483. What is the smallest value in 0.3, 2/181, j?
j
Suppose -5*z = -5*v - 10, 3*v + 6*z = 2*z + 22. Let a be (-2)/6*(-6)/(-16). Let r = 11 - 11.4. What is the fourth smallest value in r, -4, a, v?
v
Let n = -8 + 8.3. Let o = 5409 - 5411. Let m = 0.7 + 0.8. What is the third smallest value in o, n, m?
m
Let k = 23397178/205 + -114132. Let m = k - -1/41. Which is the third smallest value? (a) m (b) 0 (c) -4
a
Suppose 415*y - 3*s = 411*y - 6, -5*y = 5*s - 10. Which is the second biggest value? (a) -3 (b) 1.2 (c) y (d) -5
c
Let o = 0.20754 + -35.90754. Which is the third biggest value? (a) -1/6 (b) 6 (c) -3 (d) o
c
Let c = -0.4 - -0.3. Let f be (-12)/(-42)*(-1176)/(-21) + -13. Let l = -0.3 + 0.35. What is the second biggest value in l, -3/7, f, c?
l
Suppose 66*t + 105 = 65*t. Let v be ((-3)/(-8))/(t/(-28)). Let d = 8.3 + -8. Which is the third smallest value? (a) v (b) 4 (c) d
b
Let m = -32530 - -32529.9. Let r = 0.7 + -0.2. What is the second biggest value in -6, m, r, -0.2?
m
Suppose 23 = -5*r - 22. Let x = 17 + r. Let j = -0.188 - -1.188. What is the biggest value in 0.3, x, 2/11, j?
x
Suppose g + 17 - 13 = 0. Let s = -1608 - -1605. What is the second smallest value in g, 24, -0.06, s?
s
Let p = -89.9 - -88.8. Which is the smallest value? (a) 2/29 (b) p (c) 1
b
Let g be (115/10)/((-2)/12). Let x = 70 + g. Which is the fourth biggest value? (a) x (b) -3 (c) -1 (d) 2
b
Let j = 63 + -69. Let f = 11 + j. Let t be -1*((-3)/(-7) - 0). Which is the third biggest value? (a) t (b) f (c) -4
c
Let z = 213.14 + -203.14. Let l = -7.5 - -8. What is the biggest value in z, l, -1/6?
z
Suppose 3*m - 2*m = 0. Let o be (m + -2)/(14/(-4)). Let z = -2.75 - -2.75. Which is the biggest value? (a) 2 (b) z (c) o
a
Let r = 155 + -311/2. Let i(l) = -l**3 - 11*l**2 + 16*l + 53. Let z be i(-12). Which is the smallest value? (a) r (b) -40 (c) z
b
Let s = -936.8 - -937.6. What is the third biggest value in -188, s, -5?
-188
Let n = 5.7 - 5.737. Let f = 157.1 + -158.137. Let v = f - n. Which is the fourth smallest value? (a) 7 (b) 4 (c) v (d) 2/5
a
Let m be 2/(-48) + (-1)/3. Let v = 23174.5 - 23175. What is the biggest value in 2, m, v, -3?
2
Let y = -2.7 + 1.7. Let k = 0.78 + y. Let f = 19 + -59/3. Which is the smallest value? (a) k (b) f (c) -0.1
b
Let i = 278.7 + -278.5. What is the biggest value in -17.7, 0.3, i, -2/5?
0.3
Let h = 6 - 8. Let p = 1555/8 - 194. Let x be (-3)/(-54) - 4/18. What is the second smallest value in h, x, p?
x
Let g = -0.29 - -0.29. Let d(q) = q**3 - 3*q**2 + 2*q. Let l be d(3). Let n = -194.4 - -194. What is the third biggest value in g, n, l?
n
Let o be (-14)/161 - 33/414. Suppose 47*g = 42*g + 5*k - 35, 4*g + 3*k + 7 = 0. Let s = 0 + 1. Which is the second smallest value? (a) s (b) g (c) o
c
Let a = 166/9 - 163/9. What is the second smallest value in 0.4, 68/5, -5, a?
a
Let r = -392 - -392.4. Let u = -66/13 - -331/78. Which is the smallest value? (a) 5 (b) r (c) u
c
Let u be (4 + -5)*2/4 - (-43)/172. Which is the second biggest value? (a) 1 (b) -6 (c) u (d) 0 (e) -4
d
Let q = -133 + 134.8. Suppose 3*h - 65 = x - 18, 0 = -4*x + 4. Suppose -8*w - h = -12*w. What is the fourth biggest value in q, -5, w, 0.3?
-5
Let l = 390 - 393. Which is the smallest value? (a) -5 (b) -15 (c) -45 (d) l
c
Let v = -7828 - -7827.8. Which is the third biggest value? (a) 1469 (b) 4 (c) v
c
Let a be (-5)/((-50)/(-6))*(-5 - 3900/(-756)). What is the third biggest value in 3, -0.38, -2/7, a?
-2/7
Let z = 15762 - 15692. Which is the third smallest value? (a) -12 (b) z (c) 4 (d) -5
c
Suppose 299*y = -22 + 919. Let q = -4 + 3. What is the second biggest value in q, y, -2/25?
-2/25
Let w = 3605 - 3605. Which is the fourth biggest value? (a) -0.3 (b) w (c) 1.3 (d) -3/2
d
Let h = -0.661 + 1.161. Suppose 2*i + 12 = -2*r, r - 3*r - 4 = 0. What is the second biggest value in h, 2, i, -15?
h
Let h = 17672.09 + -17572. Let g = h + 0.91. Let w = -101 + g. Which is the second biggest value? (a) -1/2 (b) 1 (c) w (d) -3
c
Let f = 0.2 - 3.2. Let y = 371 - 383. What is the biggest value in y, 2, f?
2
Let k = -22.4 - -22. Let s = -0.1 - 0.07. Let n = s - 2.83. What is the third smallest value in n, k, 4?
4
Let a = -1.53 + | {
"pile_set_name": "DM Mathematics"
} |
Binghamton scores 4 power play goals in win
B-Sens win third straight, thrash Rochester 7-3
By
wbng sports
November 10, 2013Updated Nov 10, 2013 at 12:45 AM EST
BINGHAMTON (WBNG BINGHAMTON) -- The Binghamton Senators returned to home ice tonight for the back end of their home-and-home series versus the Rochester Americans, burying the visitors by a score of 7-3. Offensively Binghamton was led by Stephane Da Costa who had himself a five point evening (2 goals, 3 assists) while the Sens power-play unit managed four goals on six tries. Nathan Lawson returned to his net-minding responsibilities after his brief stint in Ottawa, stopping 31 of 34 shots to earn his sixth win of the year.
Mike Sdao opened the scoring for the home team with a power-play tally at the 12:13 mark of the first period, Sdao’s first goal of the season. Da Costa and Hoffman were credited with the helpers. Rochester goaltender Nathan Lieuwen stopped nine of 10 B-Sens shots faced in the first 20 mins, heading to the locker room down 1-0.
Da Costa notched his first goal of the contest just over three minutes into the middle period, burying the puck past Lieuwen off a great look from Chris Wideman. Just over six minutes later the Sens power-play would strike again, this time Wideman took a rip from inside the blue line putting the hosts up 3-0. Rochester would score two unanswered goals, one at the 12:01 mark of the 2nd and another 1:30 into the 3rd, but from there it turned ugly for the Americans.
Less than one minute after Luke Adam drew the Americans to within one, Darren Kramer scored his second goal of the season starting a flurry of four consecutive B-Sens goals. Da Costa added his second of the night followed by Hoffman and Matt Puempel to push the Sens lead to 7-2 and put the game out of reach for Rochester. Matt Ellis added a power-play goal for Rochester with under a minute to play making the final score 7-3 in favor of Binghamton.
Cody Ceci, Cole Schneider and Mark Stone all finished with two assists apiece. Hoffman turned in a three point performance with a goal and two assists, while Wideman finished off with two points (one goal, one assist). Lawson improved to 6-1-0 on the year with the victory while Lieuwen made 37 saves in the loss dropping his record to 2-2-0.
Binghamton hits the road tomorrow afternoon to finish up their three games in consecutive nights against their East Division rival the Hershey Bears in a 5:00 p.m. matchup. This will be the first of ten meetings this season between the teams. | {
"pile_set_name": "Pile-CC"
} |
Dynasty Warriors 9 will launch for PlayStation 4 on February 8 in Japan, Koei Tecmo announced. The retail version will cost 7,800 yen, and the download version will cost 7,000 yen for the first two weeks before reverting to the retail price.
The following special editions will be available:
Treasure Box (14,800 yen) A copy of Dynasty Warriors 9 for PlayStation 4
Acrylic card set of all characters (acrylic photo frame included)
Character creation book
Original soundtrack Ikkitousen Box (33,800 yen) A copy of Dynasty Warriors 9 for PlayStation 4
An all characters weapons die cast set (including key holders for each force)
Acrylic card set of all characters (acrylic photo frame included)
Character creation book
Original soundtrack Digital Deluxe (10,020 yen for the first two weeks after release, then 10,800 yen) A copy of the game
Dynasty Warriors 9 Season Pass – Includes downloadable content due out after the game’s release, including additional scenarios and weapons. As a bonus, the Season Pass will include a “Materials and Jewels Set.”
Three Digital Deluxe-original weapons (Digital Deluxe-exclusive downloadable content)
In addition to the release date, Koei Tecmo also released informal clothes character models of Yu Jin, Xiao Qiao, Zhao Yun, and Guo Huai.
In North America and Europe, the Omega Force-developed open-world sequel is due out for PlayStation 4, Xbox One, and PC in early 2018.
View the character models at the gallery. | {
"pile_set_name": "OpenWebText2"
} |
Facebook bans UK far right groups and leaders Published duration 18 April 2019
image copyright Getty Images image caption Former BNP leader Nick Griffin and ex-Britain First deputy leader Jayda Fransen are among those affected
Facebook has imposed a ban on a dozen far-right individuals and organisations that it says "spread hate".
The ban includes the British National Party and Nick Griffin, the English Defence League and the National Front.
The list also includes Britain First, which was already banned, but this latest action will prohibit support for it on any of the US firm's services.
It said it had taken the action because those involved had proclaimed a "violent or hateful mission".
"Individuals and organisations who spread hate, or attack or call for the exclusion of others on the basis of who they are, have no place on Facebook," the social network added in a statement.
image copyright Facebook image caption The pages of some organisations named were still present on Facebook before the announcement
The ban includes:
The British National Party and its ex-leader Nick Griffin
Britain First, its leader Paul Golding and former deputy leader Jayda Fransen
English Defence League and its founding member Paul Ray
Knights Templar International and its promoter Jim Dowson
National Front and its leader Tony Martin
Jack Renshaw, a neo-Nazi who plotted to murder a Labour MP
A spokesman for Facebook clarified what would now be done to the pages the groups and individuals had run on its site. All those named would be prevented from having a presence on any Facebook service.
In addition, praise and support for the groups or named individuals would no longer be allowed.
The ban was "long overdue" said MP Yvette Cooper, chair of the Home Affairs Select committee.
"For too long social media companies have been facilitating extremist and hateful content online and profiting from the poison," she added.
"They have particularly failed on far-right extremism as they don't even have the same co-ordination systems for platforms to work together as they do on Islamist extremism," she added.
Ms Cooper said the measures were a "necessary first step" and should be strengthened by independent regulation and financial penalties for firms that were sluggish to remove material.
"We all know the appalling consequences there can be if hateful, violent and illegal content is allowed to proliferate," she said.
image copyright Facebook
This current action, said Facebook, went further than the restrictions placed on Britain First last year when its official pages were removed for breaking the site's community standards.
The latest move comes soon after Facebook said it would block "praise, support and representation of white nationalism and separatism" on its main app and Instagram. | {
"pile_set_name": "OpenWebText2"
} |
Q:
Need my mobile application to connect my website, will this method be better than using an API?
I want my mobile app to connect to my website to get/post data from and to the database, respectively.
I was looking up RESTful APIs (which I don't really understand how the file writing and retrieving gets data from the database), but another method I was thinking was to do the following. Make my app use normal HTTP Requests to specific "API-like" pages. The request can set certain variables to pretty much act like an actual user accessing the page.
For example, to register a user to my site I could POST a request with the postString look something like this:
"registeruser=true&username=NewUser123&password=SecretPass123&email=..."
Would this method be appropriate? Would it be slower than an API? Should I look into using an API instead? Obviously I would place checks to ensure proper client-credentials are in place before it can make any requests.
100% of the requests made by the mobile app will be to get and post data to and from databases.
A:
What you are proposing is very similar to what a RESTful API does.
In a RESTful API, the server also has a number of "API-like pages" (called Resources in REST terms) and normal HTTP requests are used to access and manipulate them.
The main difference between your proposed API (yes, you are also proposing an API) and a RESTful API seems to be how information is transferred in a HTTP POST request. In a RESTful API, the information needed to process a POST request is carried in the body of the request, because you can put a lot more information in there than would fit in the request-string.
An API is an Application Programming Interface, which means that it is an interface that other applications or modules can use to make use of a particular service.
This is in contract to an HMI (Human Machine Interface), which is meant for use by humans.
At any point where two applications or software modules interact with each other, that interaction goes through an API.
| {
"pile_set_name": "StackExchange"
} |
/*
* Matrix test.
*/
#include "io/streams/cout.hh"
#include "lang/array.hh"
#include "math/matrices/matrix.hh"
#include "lang/exceptions/ex_index_out_of_bounds.hh"
using io::streams::cout;
using lang::array;
using math::matrices::matrix;
int main() {
try {
matrix<> m(3,2);
m(0,0) = 0.1;
m(0,1) = 0.02;
m(1,0) = 1.0;
m(1,1) = 2.0;
m(2,0) = 10;
m(2,1) = 30;
matrix<> m_ramp = matrix<>::ramp(-0.5, 0.25, 0.5);
array<unsigned long> dims1(1);
dims1[0] = m_ramp.size();
matrix<> m_ramp1 = reshape(m_ramp,dims1);
cout << m << "\n";
cout << m_ramp << "\n";
cout << m_ramp1 << "\n";
cout << "--- convolution 1D (full) ---\n";
cout << conv(m_ramp1,m_ramp1) << "\n";
cout << "--- convolution 1D (cropped) ---\n";
cout << conv_crop(m_ramp1,m_ramp1) << "\n";
cout << "--- convolution 1D (cropped strict) ---\n";
cout << conv_crop_strict(m_ramp1,m_ramp1) << "\n";
cout << "--- convolution 2D (full) ---\n";
cout << conv(m,m) << "\n";
cout << conv(m,transpose(m)) << "\n";
cout << conv(m,m_ramp) << "\n";
cout << conv(m_ramp,m) << "\n";
cout << conv(m_ramp,transpose(m_ramp)) << "\n";
cout << "--- convolution 2D (cropped) ---\n";
cout << conv_crop(m,m) << "\n";
cout << conv_crop(m,transpose(m)) << "\n";
cout << conv_crop(m,m_ramp) << "\n";
cout << conv_crop(m_ramp,m) << "\n";
cout << conv_crop(m_ramp,transpose(m_ramp)) << "\n";
cout << "--- convolution 2D (cropped strict) ---\n";
cout << conv_crop_strict(m,m) << "\n";
cout << conv_crop_strict(m,transpose(m)) << "\n";
cout << conv_crop_strict(m,m_ramp) << "\n";
cout << conv_crop_strict(m_ramp,m) << "\n";
cout << conv_crop_strict(m_ramp,transpose(m_ramp)) << "\n";
cout << "--- min, max, sum, prod ---\n";
cout << min(m,0) << "\n";
cout << min(m,1) << "\n";
cout << max(m,0) << "\n";
cout << max(m,1) << "\n";
cout << sum(m,0) << "\n";
cout << sum(m,1) << "\n";
cout << prod(m,0) << "\n";
cout << prod(m,1) << "\n";
cout << "--- cumsum, cumprod ---\n";
cout << cumsum(m,0) << "\n";
cout << cumsum(m,1) << "\n";
cout << cumprod(m,0) << "\n";
cout << cumprod(m,1) << "\n";
cout << "--- mean, var ---\n";
cout << mean(m) << "\n";
cout << var(m) << "\n";
cout << mean(m,0) << "\n";
cout << mean(m,1) << "\n";
cout << var(m,0) << "\n";
cout << var(m,1) << "\n";
cout << "--- gradient ---\n";
cout << gradient(m,0) << "\n";
cout << gradient(m,1) << "\n";
cout << "--- reverse ---\n";
cout << m.reverse(0) << "\n";
cout << m.reverse(1) << "\n";
cout << "--- vertcat, horzcat, concat ---\n";
cout << vertcat(m,m) << "\n";
cout << horzcat(m,m) << "\n";
cout << concat(m,m,4) << "\n";
cout << "--- resize, transpose ---\n";
cout << resize(m,2,2) << "\n";
cout << resize(m,4,4) << "\n";
cout << transpose(resize(m,4,4)) << "\n";
array<unsigned long> order(3);
order[0] = 2;
order[1] = 1;
order[2] = 0;
cout << permute_dimensions(resize(m,4,4),order) << "\n";
order[1] = 3;
order.resize(2);
cout << "--- repmat ---\n";
cout << repmat(m,order) << "\n";
cout << "--- sort ---\n";
cout << m << "\n";
cout << m.sort_idx(0) << "\n";
cout << m << "\n";
cout << m.sort_idx(1) << "\n";
cout << m << "\n";
} catch (lang::exceptions::ex_index_out_of_bounds& e) {
cout << e << "\n";
cout << e.index() << "\n";
}
return 0;
}
| {
"pile_set_name": "Github"
} |
The invention is directed to a process and apparatus for coating fuel, fertile material and/or absorber material containing particles with pyrolytic carbon and/or pyrolytic carbides by introducing thermally cleavable gases into the hot reaction space of a fluidized bed unit at temperatures above 1000.degree. C. Such particles are inserted into fuel elements or absorber elements as fuels or as absorbers for neutron absorption, which fuel elements or absorber elements are inserted in nuclear reactors, particularly in high temperature reactors.
Fuel elements for high temperature reactors generally consist of carbon as the structural material in which there is introduced the fuel and fertile material in the form of coated particles. These coated particles are spherical small particles of carbides and/or oxides of fuel and/or fertile materials, especially of uranium and thorium, also called heavy metal kernels which are coated with layers of pyrolytic carbon, sometimes also with layers of silicon carbide (J. L. Kaae, Journal of Nuclear Materials 29 (1969), 249-266).
In a given case coated absorber particles also are introduced into the fuel elements or into particular absorber elements. The coated absorber particles have a nucleus consisting of barium carbide or other boron compounds, e.g., borides, or other absorber compounds, e.g., hafnium carbide.
The production of the coated particles generally takes place by coating the heavy metal kernels in fluidized bed units. For this purpose the kernels are heated at a high temperature in a vertically standing graphite tube which is closed at the bottom with a conical or flat shaped perforated or fritted bottom. Carrier gas, usually argon is blown in through the bottom and so the particle charge is held in motion. The cleavable gas, e.g., a hydrocarbon gas, necessary for the coating is sometimes directly blown in through holes in the bottom of the bed, but is usually introduced through water cooled nozzles consisting of a nozzle tip with an elongated inlet tube, which is fitted into the bottom of the bed. The hydrocarbon is pyrolytically decomposed in the hot fluidized layer of the heavy metal kernels whereby the carbon is deposited as a layer on the particles and the hydrogen is removed with the waste gas (P. Koss, Ber. der Deutschen Keramischen Ges. 43 (1966), No. 3, pages 239-245).
Besides hydrocarbon gases there have also been employed other thermally cleavable gases in order to deposit other materials as coating on the kernels. Thus for the production of pyrolytic silicon carbide coatings there is generally used trimethyl chlorosilane and for depositing zirconium carbide coatings, zirconium chloride is employed. These thermally cleavable gases generally are diluted with an inert gas for the production of a suitable reaction result. The inert gas simultaneously serves in the fluidized bed as the carrier gas or as a supplement to the additionally introduced carrier gas for fluidizing the fluidized bed.
Besides the introduction of coating gases through the bottom of the fluidized bed recently good coating results have also been produced by introducing the coating gases into the fluidized layer from above via a water cooled lance of nozzles (German Offenlegungsschrift No. 2 343 123 and related Huschka U.S. application Ser. No. 500,017 filed Aug. 23, 1974) and now U.S. Pat. No. 3,056,641. The entire disclosure of the Huschka U.S. application is hereby incorporated by reference and relied upon.
In order to guarantee a trouble-free progress of the coating process the coating gas must be introduced into the fluidized bed below its decomposition temperature, since otherwise the gas inlet openings quickly clog up. The coating temperature in the fluidized bed is above 1000.degree. C., usually at about 1200.degree. to 2000.degree. C., and the gas inlet nozzle is in direct thermal contact with the solid likewise hot bottom of the reaction tube. FIG. 1 shows an illustrative form of such a prior art water cooled gas inlet nozzle. As a rule the gas inlet nozzle is made of metals whose melting point is below the coating temperature. As an exception customarily there is only the nozzle tip which, e.g., is made of molybdenum.
In such a fluidized bed the gas inlet nozzles assume the following functions.
They must center the reaction tube 2 with the bottom 1 in the hot tube 3, carry the weight of the reaction tube 2, the bottom 1 and the fluidized bed 4, guarantee a sufficiently tight sealing of the reaction space between the head 5 of the nozzles and the bottom 1 so that it is possible to introduce the carrier gas via the annular gap 6 in the fluidized bed 4 and the introduction of the coating gas, in a given case also the coating gas-carrier gas mixture, into the hot fluidized bed without inadmissably high heating of the coating gas, which depends on a sufficient removal of contact and radiation heat.
Furthermore, such gas inlet nozzles generally have an inner gas inlet tube 8 for the coating gas which is surrounded by the carrier gas inlet tube whose outer surface is cooled with the help of the conduit pipe 10 for the cooling water. Externally the gas inlet nozzle is closed by the metal outer jacket 9.
In the hitherto customary constructions for gas inlet nozzles these functions can be completely assumed so long as there is provision for a sufficient removal of heat. Because of the very high specific thermal loading per unit of surface between the hot reaction tube bottom and the head 5 of the nozzles it was hitherto believed a sufficient cooling could only be produced with water. The use of other cooling media had little success.
A particular danger for the previous fluidized bed furnace units, particularly for the gas inlet nozzle, is if the cooling water provision fails since the amount of heat stored in the hot furnace parts (reaction tube, bottom, hot tube, fluidized materials) is sufficient to heat the gas inlet nozzle up to the region of the melting temperature even if immediately after the failure of the cooling water the furnace heating is disconnected.
Furthermore in the production and processing of nuclear fuels, as is known, the nuclear physically permissible amounts of fissile material which can be handled in a container or apparatus of arbitrary geometry, the so-called safe amount, is greatly limited by the presence of a moderator, e.g., water. In fluidized bed furnace units with water cooled gas inlet nozzles there must always be reckoned with the danger of a water break and the flooding of the fissile material with water. Therewith, the per charge coatable amount of heavy metal kernels is limited to a specific size by the water cooling, which in the previously stated geometry by the coating process otherwise is only dependent on the type and composition of the heavy metal.
To avoid this limitation it has recently been proposed to employ in place of water as the fluid coating medium carbon compounds containing chlorine and fluorine which are used many times in cooling and climate control. However, these materials are basically poorer heat conductors than water and have the disadvantage that they are thermally decomposed to a certain extent at the high temperature present. A further disadvantage is that these materials form decomposition products because of the impossibility of entirely excluding leakage in the hot reaction space, which act corrosively on the apparatus parts located in the waste gas tract. The danger of corrosion is particularly injurious in units in which fuels and fuel elements are produced in a reprocessing plant operated at a distance from a fissionable fuel in a high temperature reactor and obtained from fertile material and subsequently worked up, since in such a plant all maintenance operations are very difficult and expensive. In reprocessing plants there is the additional disadvantage that the chlorine-fluorine containing cooling media also decomposes by the radioactive radiation of the fluidized material.
Therefore, it was the problem of the invention to coat particles for the production of fuel elements and/or absorber elements for nuclear reactors by introducing thermally cleavable gases without their premature decomposition into the hot reaction space, i.e., above 1000.degree. C., of a fluidized bed unit with the help of a gas inlet nozzle cooled with a cooling medium and having an elongated inlet tube without cooling which prevents a premature decomposition of the gases bringing with it a substantial limitation on the amount of fuel kernels added because of the nuclear physically safe conditions or the danger of a corrosive effect by the cooling medium or its decomposition products. | {
"pile_set_name": "USPTO Backgrounds"
} |
MANILA, Philippines — A jobless man was arrested for allegedly cracking a bomb joke at the Gil Puyat Station of the Light Rail Transit Line 1 (LRT-1) on Monday.
ADVERTISEMENT
The Pasay City Police Station on Tuesday said Saber Akbar, 28, was about to enter the station and was standing in line to have his bag inspected, when he allegedly said that the bag of the person in front of him contained a bomb.
A security guard who heard him immediately accosted Akbar who was later turned over to the police.
Police Colonel Noel Flores, commander of Pasay City Police, told INQUIRER.net that Akbar had been charged with violating Presidential Decree 1727 or the Anti-Bomb Joke Law and detained at the police station. /cbb
Read Next
EDITORS' PICK
MOST READ | {
"pile_set_name": "OpenWebText2"
} |
Troutbeck, Eden
Troutbeck is a hamlet within Cumbria, England, a few miles to the west of Penrith. It was previously in the county of Cumberland. It lies within the Lake District and Civil Parish of Hutton.
Great Mell Fell is situated immediately to the east of Troutbeck. It is open-access land which belongs to the National Trust.
There are five Roman temporary or marching camps just to the north of Troutbeck, adjoining the A66 Roman road.
The place-name 'Troutbeck' is first attested in the Subsidy Rolls of 1332, where it appears as Troutbek. The name means 'trout stream'. The stream the Trout Beck heads towards it and then veers west where it joins the River Glenderamackin less than half a mile to the west of Hutton Moor End.
Tourism
Located within Troutbeck is the Troutbeck Inn, Sportsman Inn, several Guest Houses/B&Bs, a camp, and a Caravan Club site.
Transport
Situated approximately 10 miles west of Penrith and just south of the A66, Troutbeck can be reached by car.
Its railway station on the former Cockermouth, Keswick and Penrith Railway is now closed. The closest station is Penrith.
References
External links
The Horse and Farrier, 18th Century Inn Near Troutbeck, Eden
Lake District Walks
Category:Villages in Cumbria
Category:Eden District | {
"pile_set_name": "Wikipedia (en)"
} |
With her husband Ryan Edwards in jail for another month, Mackenzie Edwards has a lot of free time, so the Teen Mom OG star did another Instagram Live Q& A session with the show’s fans earlier this week, revealing some odd fact-lets about herself, her family and the show.
Just as she did during her February late-night Instagram Live session, Mackenzie complained about having to film for the upcoming season of ‘Teen Mom OG.’ This time, however, she also tackled the subject of Ryan’s other baby mama, Maci Bookout!
Here are five things we learned about Mackenzie from the Instagram Live session.
1. Ryan was pushing for some very, um, interesting names for their son.
On ‘Teen Mom OG,’ Ryan seemed unenthusiastic about having another child. (He did, after all, “joke” to Mackenzie that she should only call him once their son turns three!) However, Mackenzie swore that Ryan was an active participant when it came to choosing a name for their son, whom they ultimately named Jagger.
During the Live session, Mackenzie stated that Ryan shot down most of her name suggestions.
“Pretty much any name that I threw out there Ryan didn’t like, and any name that I threw out there he didn’t like,” Mackenzie said. “He wanted [to name the baby] Otis or Felix, and that has no, like, family [connection]… I was like, ‘NO!'”
Mackenzie then suggested Jagger, which Ryan loved.
2. Mackenzie’s father played professional football.
Mack’s parents have managed to keep their mugs off of ‘Teen Mom OG,’ so we rarely, if ever, hear much about them. During her Live session, though, Mackenzie revealed that her father (Bob Standifer) is a former pro football player.
Mackenzie claimed that her dad played for the 49ers and Kansas City; however, The Ashley could only find online records of Bob Standifer playing for one year in the NFL (for the San Francisco 49ers), and two years for the Oakland Invaders (of the United States Football League).
Bob Standifer did, indeed, have a successful football career, though. He was named All-American at the University of Tennessee-Chattanooga (UTC) in 1984, and actually declined to participate in the NFL draft in 1985. The Times Free Press once named him one of Chattanooga’s Top 13 Defensive Linemen of all time.
3. She still doesn’t get along with Maci, apparently.
Maci surprised many ‘Teen Mom’ viewers last month when she posted a series of professional photos to her Instagram that featured her and Mackenzie (along with all of their kids) smiling together in a photo. Mack and Maci– whose feud has been documented on many a ‘Teen Mom’ episode– seemed to have put their differences aside.
However, judging by how Mackenzie answered a question about her relationship with Maci, it seems that there is still hostility between Ryan’s baby mamas.
“Maybe,” Mackenzie responded to the question asking if she will ever get along with Maci. “Miracles happen every day…”
4. She has a real job.
Mackenzie has talked about “going to work” on the show, but has never really discussed what she does for a living (other than being Mrs. Ryan Edwards, of course).
During her Live, Mackenzie said that she works a “regular” job in insurance sales.
She also reported that Ryan’s parents help her out a lot.
5. She still hates filming but loves to complain about it.
Mackenzie’s previous Live session was chock-full of complaints about having to film for ‘Teen Mom OG,’ and this session was no different. She told a fan that filming is “not stressful, just annoying,” and that she recently had to film for the new season and talk about Ryan’s current behind-bars situation.
“I’ve had to film about how sad and emotional I am [about Ryan being in jail],” she said sarcastically, before adding, “Sometimes I’ll get sad. It is sad. But in hindsight it’s not because [once he gets out of jail], all this is over.”
As The Ashley has previously reported, Ryan is stuck in the clink until his next court hearing in April. (Mackenzie confirmed this.) Until then, she said she has to film for the show even though she hates it.
“I have a contract and like I said in my Live a little bit ago, we both agreed that supported our family so might as well [do the show],” she said. “And it’s really almost impossible to get out of your contract.”
RELATED STORY: Mackenzie Edwards Discussed Why Husband Ryan Is in Jail, Her ‘Teen Mom OG’ Contract & the Show’s Producers in Late-Night Instagram Live Session
(Photos: MTV, Instagram) | {
"pile_set_name": "OpenWebText2"
} |
A Chinese herbal decoction prepared from Radix Astragali and Radix Angelicae Sinensis induces the expression of erythropoietin in cultured Hep3B cells.
Danggui Buxue Tang (DBT), a Chinese medicinal decoction used commonly for treating women's ailments, contains Radix Astragali (RA) and Radix Angelicae Sinensis (RAS). According to Chinese medicinal theory, this decoction is to nourish the blood function; this, however, has not been demonstrated on the molecular level. In order to reveal the hematopoietic effect of this decoction, DBT was applied to cultured Hep3B human hepatocellular carcinoma cells. The treatment of DBT induced mRNA expression of erythropoietin (EPO) in a dose-dependent manner and peaked at approximately 2.5-fold induction. The secreted EPO in cultured Hep3B cells was quantified by ELISA: the treatment of DBT potentiated the effect of hypoxia-induced EPO expression in the cultured cells. In addition, the DBT-induced EPO expression could be abolished by pre-treatment with U0126, a mitogen-activated kinase inhibitor. The current results verified the hematopoietic function of this ancient herbal decoction. | {
"pile_set_name": "PubMed Abstracts"
} |
Doom on GLium, in Rust - hansjorg
https://docs.google.com/presentation/d/1TjWba0CR9RHFm47rvW1nFUlmouaR55Xt235aHyLPf9U/edit#slide=id.p
======
outworlder
Are my perceptions clouded from being inside the Hacker News echo chamber, or
is Rust really picking up steam really fast?
It seems to have more libraries and the ones it has are more advanced than
what would be expected from a language this young.
~~~
swah
[http://arewewebyet.com/](http://arewewebyet.com/)
I always look for a SQL driver, and _then_ if it has connection pool support.
If a language passes this second test, the language is ready ;)
~~~
killercup
So, rust is ready? There are multiple database drivers and there is at least
one crate for connection pools (r2d2) that also works with diesel (query
builder).
------
xvilka
Same user (tomaka) also wrote Rust bindings for Vulcan API - vulcano[1], which
obviously can be used for creating modern games.
[1] [https://github.com/tomaka/vulkano](https://github.com/tomaka/vulkano)
------
devishard
God, Google Docs is really horrible for non-documents. They literally just
scroll me way too fast through content when I try to go to the next slide, and
worse, they hack my back button so that each slide is a new page, meaning I
basically have to open a new tab.
It's also bad for images; for some reason they thought the scroll wheel should
zoom in and out instead of scroll, and the only way to scroll is to click and
drag. It's like their UI devs are on crack.
~~~
bitmapbrother
I don't have this issue in Chrome, but you can always use the arrow keys if
your mouse is having issues. As for the back button - works fine for me and
takes me to the previous slide. You can even download it as a PDF or
Powerpoint if you like.
~~~
debaserab2
Ugh, the last thing I want is for my browser back button to be hijacked by a
slideshow presentation. Help, I'm stuck in a powerpoint.
~~~
tracker1
If you think of each slide as a separate page, as some do, it makes sense.
~~~
debaserab2
I just wish there was a way to opt-in to it first.
My instinct when I hit the site was to use my mousewheel to scroll down,
because I didn't immediately realize it was a slide deck. So my mousewheel
advanced the deck about a dozen slides and wrecked my back button.
------
vvanders
+1 on glium as I've previously mentioned here:
[https://news.ycombinator.com/item?id=11620852](https://news.ycombinator.com/item?id=11620852)
As someone who spends a lot of time in OpenGL it's a really solid, rusty API
that's quite a joy to work with.
------
Keyframe
It says "Glium: Multi-threading... Send + Sync + Context Management (means it
can be done)".
Can someone explain a bit about this? I'm not familiar with Rust, but with C
you have to run GL calls from one and the same thread or you're gonna have a
bad day.
Bonus question: Anyone that was/is C programmer (not C++) with opinions on
Rust?
~~~
vvanders
There's more details in the presenter notes:
>I won’t get into much detail about threading, but imagine how the OpenGL
skynet-state-machine interacts with multiple threads. GLium ensures only a
thread-specific OpenGL context is used on any particular thread.
>By making everything neither Send nor Sync, it prevents you from using
resources created by one thread in another, enforcing OpenGL semantics at
compile-time.
Basically any type without Send+Sync traits will not work with existing
threading APIs(since they require combinations of Send+Sync based on threading
semantics) forcing API calls to be done on the right thread.
~~~
Keyframe
Thanks! I was in presentation mode, for some reason, and didn't see the notes.
------
hansjorg
There's more info and links in the speaker notes (on the options menu).
------
alex_duf
I don't get why slides are popular. We're missing 50% of the actual content of
the talk here.
~~~
lockyc
I agree, but this one has the speaker notes
------
cm3
Right after slide 1 appearing, this redirects to
[https://support.google.com/accounts/answer/32050](https://support.google.com/accounts/answer/32050)
for me in Firefox.
~~~
Sarkie
Fine for me?
~~~
cm3
It works in an unrestricted Chrome instance. I wonder if there's a Google docs
downloader script that directly gives me the PDF without dealing with the
wonky website.
~~~
qwertyuiop924
<rant> Google, take your browser team of the loony pills for FIVE SECONDS!
Chrome isn't the only browser in the world. Having your website crash and burn
one one of the most popular browsers out there that isn't yours is beyond
unacceptable. Especially if you push web standards and make recommendations to
other developers and sites to make their sites support all browsers. </rant>
| {
"pile_set_name": "HackerNews"
} |
The Untold Story of the Greatest Crypto Project Ever with Paul Rosenberg
Topics include: 1990's free nation project, the early days of the internet, early multi-million dollar cryptography project, a whole cryptographic financial system completed by 2002, bulletin boards and irc chat, early solution to the double spend problem, pgp was a big deal, encryption considered to be a weapon, the cypherpunk list, the perpetual travelers, Extropians, spies, things that led to Bitcoin, origins of proof of work, EGold was a very big deal, Satoshi mentions EGold, Bitcoin rolls all this history into one elegant package, Satoshi was a cypherpunk, the real purpose of Wikileaks, Assange, building a better future, Anarchapulco 2020!
Anarchapulco 2020:
Paul's Books:
The Untold Story of the Greatest Crypto Project Ever Kindle Edition:
A Lodging of Wayfaring Men Kindle Edition:
The Breaking Dawn Kindle Edition:
The New Age of Intelligence Kindle Edition:
The Freemans Perspective website:
CryptoHippie VPN:
Anarchast on Bit.Tube:
Anarchast:
Enjoy our content and would like to see us get more amazing guests and spread the word of freedom? A donation to this BTC address will give us more resources to do so: 16AJs5DFEcfCuXkwmx1o54Ld4yXzPP1gVR
I think that money itself was invented with the purpose of enslaving and distracting people from the facts that the earth is flat and enclosed with a dome and that we are being farmed like cattle in this terrarium by our own creators. The world elite is aware of the fact that the souls (spirits) of all living creatures, including ours, are being harvested after death and consumed by our own creator-entities. I think that the bioengineering of life itself was done with the purpose of farming the various species and harvesting their souls. Be well. Bye.
I bought some bitcoin back in 2010/2011 for an auction site that only used it–just like $15 or $20–but I have no idea where it is, how i stored it–the auctions were impossible to win so I just left it. I’d love to find where I had them.
…Assange is controlled opposition.
…have u seen this ‘series’ of vids on Assange?
…personally still on the fence when it comes to Assange, but here is some food for thought? …doubted his authenticity ever since he yrs ago stated that there was no conspiracy behind 9/11, people have selective hearinghttps://youtu.be/sndPG6Hw01U?t=914
+Nomad Wizard Thanks for the link. I’ve just seen the 4 part series. Unfortunately, comments are disabled. I find the idea that WikiLeaks is an establishment creation to be interesting and relevant, but I sense that the two guys in the videos have confirmation bias.
JEFF – a bit off topic, but, have u looked into this guys stuff.
…if he can start his own country then for sure u and Ed Bugos could do the same ?
…u as primurderer and he as finance minister and have a no-government government ?
…LOL, appoint ur dogs to different government posts.
36:33 – The Golden Rule isn’t as good as people think, as it actually allows people to pester each other (eg. religious missionaries who themselves would WANT people to continuously try to “save” them). Therefore the Inverse Golden Rule is better: “Do NOT do to others what you DON’T want them to do to you.” | {
"pile_set_name": "Pile-CC"
} |
Check out our new site Makeup Addiction
fire alarm goes off in building...while fapping didnt stop me | {
"pile_set_name": "OpenWebText2"
} |
The goal of this proposal is to use morphological and biochemical approaches to analyze insulin receptor regulation. Ultrastructural studies on insulin-sensitive cells have shown significant cell-specific heterogeneity in the organization, distribution and mobility of insulin receptors. These morphological observations correlate with cell-specific differences found in biochemical binding studies on the same cells. Recent evidence suggests that cell-to-cell variability may exist in the processes involved in insulin receptor internalization and recycling. The specific aims of this proposal are: (1) to qualitatively and quantitatively determine and compare insulin receptor organization and distribution on different cell types. Relationships, if any, will be established between occupied insulin receptor and specific cell surface structures and components. (2) to analyze the post-occupancy mobility of insulin receptors on cells that demonstrate occupancy-induced changes in receptor organization or distribution. Various chemical reagents will be used in attempts to block receptor microaggregation in order to determine the mechanisms involved and relationships to insulin action. (3) to determine the routes and subcellular structures involved in the internalization, degradation or processing, and recycling of insulin and insulin receptors. In addition to using monomeric ferritin-insulin for morphological studies, immunocytochemistry using both anti-insulin receptor antibody and biotinyl-labeled insulin binding to insulin receptors followed by antibody or avidin conjugated colloidal gold particles and/or peroxidase will be used to demonstrate the insulin receptors in intact as well as permeabilized cells. This laboratory is in a unique position to accomplish this proposal because of our proven capability to perform both quantitative morphological and correlative biochemical studies. These studies will contribute to our understanding of insulin action and of possible sites for post-binding defects in insulin resistant states. | {
"pile_set_name": "NIH ExPorter"
} |
Q:
Logging in from settings username and password preferences
I have an app that uses webView. In the home screen of a website I want to login using username and password entered by the user in the app's settings option. Currently I have this code which I saw in solution to a similar question asked on this forum. But it isn't working (neither it did for the other guy).
-(IBAction)cachepressed:(id)sender{
NSString *baseurl=[[NSUserDefaults standardUserDefaults] stringForKey:@"url_preference"];
NSString *username= [[NSUserDefaults standardUserDefaults] stringForKey:@"name_preference"];
NSString *password= [[NSUserDefaults standardUserDefaults] stringForKey:@"pswrd_preference"];
NSString* content = [NSString stringWithFormat:@"username=%@&password=%@", username, password];
NSData *data=[content dataUsingEncoding:NSASCIIStringEncoding allowLossyConversion:YES];
NSString *postlength=[NSString stringWithFormat:@"%d",[data length]];
NSString *loginpage= [baseurl stringByAppendingString:@"/index.php?title=Special:UserLogin"];
NSMutableURLRequest *request = [[NSMutableURLRequest alloc] initWithURL:[NSURL URLWithString:loginpage]];
[request setHTTPMethod:@"POST"];
[request setValue:postlength forHTTPHeaderField:@"Content-Length"];
[request setValue:@"application/x-www-form-urlencoded" forHTTPHeaderField:@"Content-Length"];
[request setHTTPBody:data];
NSError *error=nil;
NSURLResponse *response=nil;
NSData *result=[NSURLConnection sendSynchronousRequest:request returningResponse:&response error:&error];
NSString *HTMLString = [[NSString alloc] initWithData:result encoding:NSUTF8StringEncoding];
[webView loadHTMLString:HTMLString baseURL:[NSURL URLWithString:loginpage]];
}
I am not too sure about the two lines of code starting with [request setValue...]. Can somebody suggest a solution to this? It would be a great help. Thanks in anticipation.
A:
This depends a lot on how the authentication is done on the website.
Based on what I can figure from your question, the code you posted sends values for the fields named "username" and "password" to the index.php?title=Special:UserLogin page using POST.
You need to make sure that everything is set accordingly.
1. Are your fields name the same on the website?
Maybe the login form uses different field names, not username and password. Check the source code and see if the input names are indeed "username" and "password"
2. Does your host allow posting data from a different source?
I used to set mine so no POST request would work if they didn't originate from my server, so POSTing data from an iPad would not have functioned.
Is this the case for you too?
3. The login process is really done by posting data to that page?
Maybe on the website the authentication is done using AJAX on a different php page and then you get redirected to index.php?title=Special:UserLogin, I've seen such cases in the past.
Bottom line is that you need to know exactly how the login is done on the website before doing it inside a webview. Correct me if I'm wrong, but based on your post it doesn't seem to be the case here
| {
"pile_set_name": "StackExchange"
} |
A college student in Minnesota who supports President Trump waved a loaded gun at another driver in a fit of rage — sparked by the woman’s bumper sticker for Democratic presidential hopeful Elizabeth Warren, authorities said.
Joseph R. Schumacher, a 27-year-old student at Minnesota State University Moorhead, was charged Wednesday after the encounter two days earlier with an 18-year-old woman near Concordia College in Moorhead, the Star Tribune reports.
The woman told police Schumacher pulled up next to her as they drove and screamed his “dislike for the political bumper sticker” showing her support for the Massachusetts senator.
Schumacher then pointed out the Trump-Pence bumper sticker on his car while telling the woman about “his difference in national political views,” police said.
“The victim initially thought it wasn’t going to be serious,” Moorhead police Capt. Deric Swenson told the newspaper. “Then things escalated seriously.”
A few blocks later, Schumacher cut in front of the woman’s car and waved a pistol, according to a criminal complaint.
Police caught up with Schumacher, who was wearing a “Trump 2020” cap, at a Kurdish restaurant.
Schumacher insisted to investigators that he had been flirting with the woman and her female passenger, but one of the people in the student’s car admitted to police that he did pull out a gun during the encounter, which prosecutors characterized as a road rage incident, according to the Star Tribune.
A loaded handgun was found in Schumacher’s car during a subsequent search, as well as a second, unloaded firearm and a magazine. He was charged with carrying a gun without a permit and unlawful transport of firearms on Wednesday before being released, the newspaper reports.
Schumacher, of West Fargo, North Dakota, could not be reached for comment early Thursday. A message seeking comment from university officials was not immediately returned. | {
"pile_set_name": "OpenWebText2"
} |
Flow injection of the lock mass standard for accurate mass measurement in electrospray ionization time-of-flight mass spectrometry coupled with liquid chromatography.
A method of flow injection of the lock mass for accurate mass measurement using electrospray ionization time-of-flight mass spectrometry is described. The reference compound is introduced in the chromatographic effluent via a six-port valve placed post-column, prior to the split connector. Flow injection is performed in such a way that the reference elution peak is superimposed in the total ion current and partially overlaps that of the investigated analyte, allowing independent ionization of the two compounds and thus accurate mass measurement with no ion suppression effects. Different lock mass molecules can be injected in a single analytical run to target various analytes. The performance of this methodology is demonstrated in both isocratic and gradient liquid chromatography modes. The molecular ion of the flow-injected lock mass could also be used as a reference for mass measurement of the in-source fragments of the analytes. Good mass accuracy, within 4 mDa of the theoretical values, was obtained. | {
"pile_set_name": "PubMed Abstracts"
} |
Q:
How do I create a network from connected links
I have a bundle of links in 'some' networks. I need to find out which ones are connected to each other i.e. I need to find out which links are not connected to the 'main' network.
I have been working on a flood fill recursive method, which effectively goes from link to link, finding out which ones are connected, and recursively doing the same. But the numbers are quite high, and my machine just bailed, so I wondered if there were other, better, or more efficient, ways of doing this.
Using arcpy
Thanks in advance
A:
I used FME 2013 NetworkTopologyCalculator. Phenominal, took 4 seconds...
| {
"pile_set_name": "StackExchange"
} |
The present invention relates to locomotive headlight assemblies and more particularly to a headlight assembly that includes a controller that determines which of several current paths through a resistive control switch has been selected and controls light intensity as a function of the selected current path.
A locomotive requires one or more large headlights in order to illuminate a track in front of a train for warning and safety purposes. Most locomotive headlight systems have been designed so that the headlight or headlights can be driven with different currents to generate light with two or three different intensities. For instance, when on an open track in the country, the headlights may be driven with a very high intensity to provide warning far in front of the locomotive that a train is approaching while locomotives used in a city or in a work yard may be driven at a medium or low intensity.
Most known locomotive headlight system configurations include one or more incandescent-type headlights linked to a power source through a control switch where the control switch is controllable to adjust current applied to the headlight thereby controlling headlight light intensity. For instance, in at least some cases the control switch will include three current paths between an input node linked to the source and an output node linked to the headlight. Each path has a different resistance value which affects the amount of current that passes through that path when the control switch selects the path.
Several problems exist with headlight systems like those described above. First, when a locomotive headlight fails, the headlight has to be replaced prior to using the locomotive. While replacement is typically a relatively simple process, sometimes replacement headlights may not be readily available resulting in locomotive down time (i.e., a locomotive cannot be used when a headlight malfunctions). Trains only generate revenue when they are running and therefore any down time is extremely costly.
Second, incandescent type locomotive headlights require a large amount of power and therefore are relatively costly to drive when compared to other types of headlights.
Third, electrical systems in locomotives vary appreciably and the variance affects the amount of current delivered to headlights in different locomotive setups. For instance, in many cases two or more locomotives may be linked together at the front of a train and, in many cases, any one of the linked locomotives may be used to drive and control the headlights at the front of the train. For example, where first, second and third locomotives are linked at the front of a train, each of the three locomotives will have its own power source and electrical system and any one of the locomotives may be used to drive and control the front headlights. Here, while the power sources on each of the three locomotives will have similar output, often times the outputs vary somewhat so that current delivered at any of the selectable output levels may vary somewhat. For instance, when a control switch selects the high light intensity, depending on the source output level, the high intensity currents may be different thus resulting in different headlight intensities.
Exacerbating the intensity control problem, the total resistive drop between driving source and headlight(s) depends on which power source is used to drive the headlights. For instance, in the case of three linked locomotives, where the first locomotive source is used to drive a headlight, current from the first source only has to pass through the first locomotive's electrical system. Where the second locomotive source is used to drive the headlight, current from the second source has to pass through the first and second locomotive electrical systems and the resistive drop is greater. Where the third locomotive source is used to drive the headlight, current from the third source has to pass through the first, second and third locomotive electrical systems and the resistive drop is even greater. The different resistive drops affect the output light intensities.
One solution suggested for solving the problems described above has been to provide LED based locomotive headlight assemblies. As known in the art LED headlights typically last far longer than incandescent type headlights and use less power. In addition, a controller can be provided for an LED headlight to precisely control the amount of current provided to the LEDs that comprise the headlight and therefore to control the intensity of the headlight. These controllers can be used to adjust headlight intensity to be high, medium or low.
While it would be useful to replace incandescent type headlights with LED based headlights in locomotives, one impediment to such use is that a headlight control system for switching between high, medium and lower intensities is required. Ideally the existing resistive control switch could be employed so that additional components are not required. Unfortunately, existing resistive control switches simply rely on changes in current through a switch to adjust headlight intensity. Because the current levels used for incandescent lights are far greater than currents required to drive LEDs, existing resistive control switches alone cannot be used to drive an LED headlight.
Another solution would be to install a completely different headlight control system that can deliver intensity command signals to a headlight. While this solution would work, this solution is likely cost prohibitive as it would require additional hardware and installation time. | {
"pile_set_name": "USPTO Backgrounds"
} |
MONTREAL — Taking part in a growing internet photo trend called “trash the dress” was the last act of a recently-wed woman near Montreal.
Maria Pantazopoulos, 30, married on June 9, died on Aug. 24 when her wedding dress became soaked during a photo shoot in the Oureau River in Rawdon, Quebec. The heavy, awkward garment eventually dragged its diminutive owner into the water and caused her to drown.
Too distraught to speak over the weekend, Louis Pagakis, the photographer who attempted to save Pantazopoulos before she died, spoke to CTV News Monday.
“She had her wedding dress on and she said, ‘take some pictures of me while I swim a little bit in the lake,’” Pagakis said. “She went in and her dress got heavy, I tried everything I could to save her. I jumped in — I was screaming and yelling; we tried our best.”
Pagakis’ girlfriend, Anouk Benzacar, answered questions on his behalf over the weekend, and said the photo shoot began in shallow waters. Pagakis only moved to the deeper waters at Pantazopoulos’ request, as Benzacar said the bride wanted a shot of her “floating” in the dress.
“The dress was getting heavy, so (Pagakis) went in to try move her (back to a shallow part of the river),” Benzacar told reporters.
As the dress became heavier, the current began to take hold of Pantazopoulos while she was sinking. Benzacar said the struggling bride grabbed Pagakis in an attempt to remain afloat, but that only served to drag the photographer down with her.
Still, Benzacar said, Pagakis struggled to swim to safety with Pantazopoulos clinging to him, but the bride eventually ran out of strength and let go. A volunteer found Pantazopoulos’ body two hours later downstream.
Beaches and bodies of water are a popular locations for “trash the dress” photo shoots, a trend which began gaining popularity in 2008. Several mass “trash the dress” events took place in 2011, including one that featured hundreds of women storming a Netherlands beach in their gowns.
The Calgary Herald reports the trend is still somewhat new in Canada. | {
"pile_set_name": "OpenWebText2"
} |
India
The most famous icons of India, the Taj Mahal needs no introduction. A UNESCO world heritage structure, it is an architectural marvel. Intricate carvings, studded with gems are exquisitely coupled with symmetry in design. | {
"pile_set_name": "Pile-CC"
} |
Q:
JPanel does not fill containing JFrame
Hi so I'm writing an simple physics engine to understand object collisions and Java graphics a bit better, and so far I have successfully written the code to add the JPanel to the JFrame and allow them to show up somewhat the correct size, but when I view the actually program, the JPanel seems tobe the right size but it does not start in the upper corner of the window, but rather the upper left of the frame. I seem to have this problem alot where I want something to be at (0, 0) and starts in the upper corner of the frame rather than the panel. Here is my code:
I have an engine class that extends JFrame and contains the main method -->
package io.shparki.PhysicsEngine;
import java.awt.BorderLayout;
import java.awt.Dimension;
import java.awt.Toolkit;
import javax.swing.JFrame;
public class Engine extends JFrame{
public Engine(){
super("Physics Engine and Simulator");
setLayout(new BorderLayout());
add(new EnginePanel(), BorderLayout.CENTER);
pack();
setResizable(false);
setLocationRelativeTo(null);
setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
setVisible(true);
}
public static void main(String[] args){
new Engine();
}
}
and this is my second class, the EnginePanel which extends JPanel and implements Runnable -->
package io.shparki.PhysicsEngine;
import java.awt.Color;
import java.awt.Dimension;
import java.awt.Font;
import java.awt.Graphics;
import java.awt.Graphics2D;
import java.awt.Image;
import java.awt.Point;
import java.awt.Toolkit;
import javax.swing.JPanel;
public class EnginePanel extends JPanel implements Runnable{
private static final int WIDTH = 300;
private static final int HEIGHT = WIDTH / 16 * 9;
private static final int SCALE = 4;
public int getWidth() { return WIDTH * SCALE; }
public int getHeight() { return HEIGHT * SCALE; }
@Override
public Dimension getPreferredSize(){ return new Dimension(WIDTH * SCALE, HEIGHT * SCALE); }
private static final int FPS = 85;
private static final int PERIOD = 1000 / FPS;
private int currentFPS = 0;
private Thread animator;
private boolean running = false;
private Graphics dbg;
private Image dbImage = null;
public EnginePanel(){
setMinimumSize(new Dimension(WIDTH * SCALE, HEIGHT * SCALE));
setMaximumSize(new Dimension(WIDTH * SCALE, HEIGHT * SCALE));
setPreferredSize(new Dimension(WIDTH * SCALE, HEIGHT * SCALE));
setVisible(true);
}
public void addNotify(){
super.addNotify();
startEngine();
}
public void startEngine(){
running = true;
animator = new Thread(this, "Animator");
animator.start();
}
public void stopEngine(){
running = false;
}
public void paintComponent(Graphics g){
super.paintComponent(g);
if (dbImage != null){
g.drawImage(dbImage, 0, 0, null);
}
}
public void paintScreen(){
Graphics g;
try{
g = this.getGraphics();
if ( g != null && dbImage != null){
g.drawImage(dbImage, 0, 0, null);
}
Toolkit.getDefaultToolkit().sync();
g.dispose();
} catch(Exception ex) { System.out.println("Graphics Context Error : " + ex); }
}
public void run(){
running = true;
init();
Long beforeTime, timeDiff, sleepTime;
while(running){
beforeTime = System.currentTimeMillis();
updateEngine();
renderEngine();
paintScreen();
timeDiff = System.currentTimeMillis() - beforeTime;
sleepTime = PERIOD - timeDiff;
if (sleepTime <= 0){
sleepTime = 5L;
}
currentFPS = (int) (1000 / (sleepTime + timeDiff));
try{
Thread.sleep(sleepTime);
} catch (InterruptedException ex) { ex.printStackTrace(); }
}
}
private TextField FPSTextField;
public void init(){
FPSTextField = new TextField("Currnet FPS: " + currentFPS, 25, 25);
}
public void updateEngine(){
FPSTextField.setText("Currnet FPS: " + currentFPS);
}
public void renderEngine(){
if (dbImage == null){
dbImage = createImage((int)getWidth(), (int)getHeight());
if (dbImage == null){
System.out.println("Graphical Context Error : DBImage is Null");
return;
} else {
dbg = dbImage.getGraphics();
}
}
Graphics2D g2d = (Graphics2D) dbg;
g2d.setColor(Color.BLACK);
g2d.fillRect(0, 0, getWidth(), getHeight());
FPSTextField.render(g2d, Color.MAGENTA);
}
}
I'm not quite sure why this keeps happening and I have searched for help but can not find the answer. Thanks in advance for all who help :)
EDIT: Added code for the TextField object:
package io.shparki.PhysicsEngine;
import java.awt.Color;
import java.awt.Font;
import java.awt.Graphics;
import java.awt.Graphics2D;
import java.awt.Point;
public class TextField{
private Point location;
public Point getLocation(){ return location; }
public double getX() { return location.getX(); }
public double getY() { return location.getY(); }
private String text;
public void setText(String text) { this.text = text; }
public String getText() { return this.text; }
public TextField(String text, int x, int y){
this.location = new Point(x, y);
this.text = text;
}
public TextField(String text, Point location){
this.location = location;
this.text = text;
}
public void render(Graphics g){
g.drawString(text, (int)location.getX(), (int)location.getY());
}
public void render(Graphics2D g2d){
g2d.drawString(text, (int)location.getX(), (int)location.getY());
}
public void render(Graphics g, Color color){
g.setColor(color);
g.drawString(text, (int)location.getX(), (int)location.getY());
}
public void render(Graphics2D g2d, Color color){
g2d.setColor(color);
g2d.drawString(text, (int)location.getX(), (int)location.getY());
}
public void render(Graphics g, Color color, Font font){
g.setColor(color);
g.setFont(font);
g.drawString(text, (int)location.getX(), (int)location.getY());
}
public void render(Graphics2D g2d, Color color, Font font){
g2d.setColor(color);
g2d.setFont(font);
g2d.drawString(text, (int)location.getX(), (int)location.getY());
}
}
A:
The preferred size of the JPanel EnginePanel restricts the panel from being resized the JFrame is rendered non-resizable. Invoke JFrame#pack after calling setResizable(false). Also move setLocationRelativeTo after pack so that the frame appears centered.
pack();
setLocationRelativeTo(null);
setVisible(true);
| {
"pile_set_name": "StackExchange"
} |
Q:
1000Base-T Server NIC speed slows down to 100Base-T when sending data to a 100Base-T device
I am conducting experiments to explore how data transmission is being influenced by the network speeds of the receivers. Here is my setup,
I have an Ubuntu server A connected to a Gigabit switch with 2 other clients (B and C). All machines have been installed with a gigabit NIC card
While Clients A B are operating at 1000mbps, client C is configured to run at 100Mbps by ethtool using the following command
ethtool -s eth0 speed 100 duplex full
With this setup, i have attempted to send a 500MB file from A to clients B and C at the same time via SCP.
I have expected the data transmission rate between A and C to be 100mbps, and A and B to be 1000mbps.
However in reality, the transmission rate of A to both B and C has been dropped to 100mbps.
My question is: is this behavior to be expected? If so, is there a way to send data from A to B and C concurrently at different network speeds?
A:
I believe that this is one of the boundary conditions that some network hardware manufacturers may or may not choose to implement wisely. a lot of it depends on the switch mode, per-port-buffer size, and backplane speed, as well as host metrics like the nic, systembus, and CPU speed.
SCP requires encryption/decryption so the host system bus, Nic bus, and CPU capacity are all factors. if the recieving pc can't keep up with the flow, it sends source-quench flow control messages to the switch, which slows down output to that port, which may cause the switch buffers to fill up, and may result in the switch relaying source-quench messages to the sending system, instructing it to slow down. source quench occurs at layer 2, so there is little or no differentiation between the two flows; it has to slow down both of them. the port-buffer for the sending host is likely full as well, meaning that data can only be sent into it at the rate it can be sent on to the slower destination.
in the end, it all depends on the grade of your equipment. if you are connecting rack servers over fiberchannel to a enterprise grade switch, and then into a smaller distribution switch, then I would not expect this problem. if you are using 3 old pc's connected by ratty cat5e to a couple $100 netgear switches, then I would completely expect it.
| {
"pile_set_name": "StackExchange"
} |
Search This Blog
Sunday, October 24, 2010
Melvin Goes to Waldorf
Melvin and Heather went to the Kindergarten class at the South Shore Waldorf school. It was a great experience.
Melvin really liked the colors that are everywhere in the school. We talked a lot about colors and favorite ones. There were some pretty special blankets there in wonderful colors! Seems like a lot of people have favorite blankets that are white or have white in them- maybe because white can be so peaceful. We talked about pink too- a nice combination of security and peace. The favorite picture was the purple one again! Melvin liked the sense of calm and peace he felt at Waldorf as well as the connection to nature.
We also talked about Halloween! Melvin heard about some very interesting costumes- he can't wait to see them! He is looking forward to the mouse, the zombie and the witches as well as the ones that will be a surprise! The kids asked Heather to read their Halloween poem with them too and that made Heather feel very special!
No comments:
Post a Comment
Order a Copy of Melvin's Balloons
Read Melvin Moon's heartfelt letter to everyone who has ever lost a balloon. This imaginative and beautifully illustrated story comforts children and explains that even though they may have been sad as they watched their balloon slip from their hand and float into the sky, each colorful balloon is very special to Melvin. Melvin's Balloons teaches children about the meaning of colors, explaining how each color relates to a feeling or emotion.
This colourful book provides children with a basic understanding of the chakra system. | {
"pile_set_name": "Pile-CC"
} |
7.14.2010
Controversy Time!
Welcome folks, to the first episode of Controversy Time! Your host today is the beautiful Miss Mara! Today's topic: Anti-Twihards.
Eh, yeah, that's right. We're going to be discussing (and by "we" and "discussing," I mean "I" and "writing a monologue about") the most popular, mainstream form of Twihard.
The anti-Twihard.
Buckle your seatbelts, kiddies, 'cause you're about to be faced with a whole lot of rant, philosophy, hypocrisy, and possibly some digressions that have nothing at all to do with Twilight.
So, to start: a brief timeline of the Twihard.
1. Twilight is published. Barnes & Noble rejoices because of the gigantic sales. So do nine-year-old girls-- finally, a romance book that doesn't have any S-E-X in it! This is the first form of Twihard.2. The 9-yr-olds' sisters and mothers read the book, and are convinced by the 9-yr-old that Twilight is the best book in the history of books. These sisters and mothers are the second wave of Twihards. Somewhere in here, the movies come out.3. Boys become aware of the series. Some are forced to read it themselves, and it instantly becomes an internet meme that boys and sane girls hate the series with all their hearts. Much to their dismay, I'm sure, the boys and girls who hate Twilight with a passion, and read it every day just so that their arguments can be absolutely sound, are the most recent form of Twihard.
Whaaaaaaat, you say? How on Earth can someone who hates Twilight with all their heart possibly be a Twihard? Psshhhht. You have much to learn, young grasshopper.
As far as I can tell, Twihards love Twilight because they genuinely like the series (usually). The same is true with the original anti-Twihards: they hate it because they genuinely hate the characters, or the writing, or the plotline, or whatever. But the ensuing waves of anti-Twihards, who now have a 10:1 ratio over the Twihards, dislike Twilight for a different reason.
Disliking Twilight is mainstream.
It's what the cool kids do. The cool kids hate Twilight. They go against the flow. They look down upon those who still like the series. So in that sense, Twihards are actually morally superior to most anti-Twihards.
It's fine not to like the series. But it takes effort to actually hate something.
So the next time you go trolling, think a little. Are you disagreeing with the Twihards because you honestly think Twilight is the bane of your existence? Or is it just because you want to feel cool and socially superior? | {
"pile_set_name": "Pile-CC"
} |
Q:
R Shiny/Shinydashboard: Hiding the last part of a string in a table
I have a data table that contains some very wide columns and I want to add a scrolling-bar to make it more presentable. So far I have found examples using a scrolling-bar for the entire table - but ideally I would like to have a scrolling-bar for EACH column in the table if that is possible. Below there is an illustrating example. In this code I want a scrolling-bar for both "This_is_a_very_long_name_1", "This_is_a_very_long_name_2" etc.
library("shinydashboard")
library("shiny")
body <- dashboardBody(
fluidPage(
column(width = 4,
box(
title = "Box title", width = NULL, status = "primary",
div(style = 'overflow-x: scroll', tableOutput('table'))
)
)
)
)
ui <- dashboardPage(
dashboardHeader(title = "Column layout"),
dashboardSidebar(),
body
)
server <- function(input, output) {
test.table <- data.frame(lapply(1:8, function(x) {1:10}))
names(test.table) <- paste0('This_is_a_very_long_name_', 1:8)
output$table <- renderTable({
test.table
})
}
# Preview the UI in the console
shinyApp(ui = ui, server = server)
I thought about splitting the table into 8 tables, making a scrolling table for each of them and then putting them next to each other, but space was added betweeen them and it did not look that nice. I think it would be preferable to keeping it as one table (but suggestions are very welcome!).
Does anyone whether this is possible - and how to solve it?
Thanks in advance!
A:
I would not recommend scrolling column header, i think it would not be very clear to read it or so. Here is the code which You can use to get the header in 2 lines so the columns are not too wide:
library("shinydashboard")
library("shiny")
library(DT)
test.table <- data.frame(lapply(1:8, function(x) {1:10}))
names(test.table) <- paste0('This_is_a_very_long_name_', 1:8)
body <- dashboardBody(
fluidPage(
column(width = 8,
box(
title = "Box title", width = NULL, status = "primary",
div(style = 'overflow-x: scroll', dataTableOutput('table'))
)
)
)
)
ui <- dashboardPage(
dashboardHeader(title = "Column layout"),
dashboardSidebar(),
body
)
server <- function(input, output) {
output$table <- renderDataTable({
names(test.table) <- gsub("_"," ",names(test.table))
datatable(test.table, options = list(columnDefs = list(list(width = '100px', targets = c(1:8)))))
})
}
# Preview the UI in the console
shinyApp(ui = ui, server = server)
[UPDATE] --> Column text rendering
Here is a one solution which can be usefull for You. There is no scrolling, however Your row text displays only first three characters (the number of characters displayed can be changed) and ..., with mouse over the row You get the pop up with whole variable name in this row:
library("shinydashboard")
library("shiny")
library(DT)
x <- c("aaaaaaaaaaaaaa", "bbbbbbbbbbbb", "ccccccccccc")
y <- c("aaaaaaaaaaaaaa", "bbbbbbbbbbbb", "ccccccccccc")
z <- c(1:3)
data <- data.frame(x,y,z)
body <- dashboardBody(
fluidPage(
column(width = 4,
box(
title = "Box title", width = NULL, status = "primary",
div(style = 'overflow-x: scroll', dataTableOutput('table'))
)
)
)
)
ui <- dashboardPage(
dashboardHeader(title = "Column layout"),
dashboardSidebar(),
body
)
server <- function(input, output) {
output$table <- renderDataTable({
datatable(data, options = list(columnDefs = list(list(
targets = c(1:3),
render = JS(
"function(data, type, row, meta) {",
"return type === 'display' && data.length > 3 ?",
"'<span title=\"' + data + '\">' + data.substr(0, 3) + '...</span>' : data;",
"}")),list(width = '100px', targets = c(1:3)))))
})
}
# Preview the UI in the console
shinyApp(ui = ui, server = server)
| {
"pile_set_name": "StackExchange"
} |
Garcia vs. Lopez: Prediction, Analysis and Preview
Originally posted on THESCUFFLE.COMUndefeated WBO featherweight champion Mikey Garcia will face former two-division champion Juan Manuel Lopez at the American Airlines Center, Dallas, Texas, USA on Saturday, June 15.
Mikey Garcia was coming from a technical decision victory over Mexican banger Orlando Salido in January wresting the title once held by Juan Manuel Lopez that he will defend on HBO’s “Boxing After Dark”
Garcia, 31-0 (KO 26), is a young and fast rising star that graduated from being simply called prospect, now making way to become member of the sports elite. He is a kind of fighter despite being young; He thinks like a veteran in the ring.
He is very patient and picks his punches very well with total precision. He tends to be very cautious in the ring. And has the tendency to be boring against fellow counter puncher. But against puncher/brawler, it will be very interesting to watch and that should be the case against Lopez.
A win against Lopez would help solidify his claim in the featherweight division and would get his self ready for another potential bigger name in the division, perhaps against brawler, fellow undefeated Abner Mares—WBC champion.
Lopez, 33-2 (KO 30) is coming from two consecutive victories against, Aldimar Santos and Eugene Lopez. He is trying to get back into the winning column after he suffered TKO losses against Orlando Salido.
Lopez is a two fisted fighter who wanted to slug it off punch by punch. He is a fighter that one’s get himself into a brawl stops thinking about defense and just throwing bombs after bombs, not caring if he gets hit as long as he hits. If you are in the opposite corner against Lopez be sure you can absorb wicked punches to your body, or you will drop to your knee.
Lopez cannot afford to lose this fight, if he wants to go back to the status he left before losing from Salido. A win against Garcia would make him beat the man, who beat the man that beat him. It’s a redemption against those TKO loses in his career.
Against common opponent—Orlando Salido
Garcia vs. Salido – Garcia scored a total of four knockdowns against Salido, twice in the very first round and once in rounds three and four. In round eight Garcia suffered a broken nose from an accidental head butt. The fight was stop and Garcia was awarded the title.
Mikey Garcia was a bit criticized for not continuing the fight. He was accused of quitting from the fight after the head butt. Robert Garcia, Mikey’s trainer, being aware that his fighter was way ahead in the judges’ scorecards, insisted that his fighter cannot continue. He knows that it is very dangerous for his fighter to continue fighting, having a broken nose, against a guy who is noted to be very strong in the closing rounds.
However, the blame cannot erase the fact that the 25 years old, fast rising prospect was schooling the veteran Orlando Salido. Salido was out boxed and was beaten by the punch all night long. He was always a recipient of well timed counters from a technically savvy Garcia.
Salido vs. Lopez (twice) – Lopez was defeated by Salido twice via technical knockout. It is a fight that Lopez believed he can defeat Salido into a slugfest. In the first bout, although up on his feet but unable to answer several punishing shots from Salido, the fight was stop by the referee. Lopez pointed out that the fight was stop prematurely.
In the rematch, Lopez didn’t learn the lesson in his first defeat. He met Salido head-on again. And even if he was wobbled several times, he chose to trade bombs after bombs. But Salido’s more powerful and devastating punches prevailed.
Prediction
Looking into each gentleman’s performance against a common opponent, it is easy to say that Garcia has the edge, which I believe is the case for this fight.
However, I also believe that Lopez learned from the mistakes he made from the two defeats in his record. I think he will not rush to engage Garcia in a slugfest because he knows he will be walking ahead to Garcia’s precise counters. I think he will fight intelligently this time around. If Lopez considers plan B, I like to see him slug it out in the latter rounds and to find out how much Garcia can absorb from his power.
Nevertheless, I still think that the skills and slickness of Mikey Garcia will prevail and he will cruise into a unanimous decision. | {
"pile_set_name": "Pile-CC"
} |
Covalent protein adduct formation and protein cross-linking resulting from the maillard reaction between cyclotene and a model food protein.
Covalent Maillard products of the reactions of carbonyl compounds with proteins are often described in the literature, but, until recently, evidence for their existence has been indirect. Cyclotene (2-hydroxy-3-methylcyclopent-2-enone), a common flavor compound, was incubated with a model food protein, ribonuclease, and found to cross-link the protein. Size exclusion high-performance liquid chromatrography and electrospray mass spectrometry of the early stages of the reaction provide strong evidence for covalent adducts that we believe to be intermediates in the cross-linking reaction. | {
"pile_set_name": "PubMed Abstracts"
} |
Titration studies on the active sites of pig heart lipoamide dehydrogenase and yeast glutathione reductase as monitored by the charge transfer absorbance.
Macroscopic pKa values associated with the influence of pH on the visible spectrum of 2-electron reduced pig heart lipoamide dehydrogenase and yeast glutathione reductase have been determined by monitoring changes in the principal flavin band near 460 nm and the charge transfer band at 540 nm. The ionization of at least three active site amino acid side chains can influence the spectra over the range of pH studied: the two nascent thiols (interchange thiol and electron transfer thiol) and the histidine residue which acts as the base catalyst in lipoamide dehydrogenase and the acid catalyst in glutathione reductase thiol-disulfide interchange reactions. These systems are analogous to, but more complex than, those in glyceraldehyde-3-phosphate dehydrogenase and papain where a single thiol and a histidine residue in a relatively apolar milieu form a thiolate-imidazolium ion pair which is favored over the thiol-imidazole prototropic tautomer. In an effort to more nearly mimic the papain titrations, the macroscopic pKa values were determined on reduced glutathione reductase which had been monoalkylated with iodoacetamide under conditions known to favor the reaction of the interchange thiol by at least 10 to 1 (Arscott, L. D., Thorpe, C., and Williams, C. H., Jr. (1981) Biochemistry 20, 1513-1520). Like papain and glyceraldehyde-3-phosphate dehydrogenase, alkylated glutathione reductase showed two macroscopic pKa values, at pH 3.7 and pH 9.1, and by analogy, these were associated primarily with the thiol and the imidazole, respectively. Results with the native enzymes depended on the wavelength monitored. Glutathione reductase had pKa values at 4.8, 7.1, and 9.2 when monitored at 540 nm and 5.1 and 8.2 when monitored at 462 nm. Lipoamide dehydrogenase had pKa values at 4.4 and 8.7 when monitored at 529 nm and 3.9, 7.0, and 9.3 when monitored at 455 nm. | {
"pile_set_name": "PubMed Abstracts"
} |
This invention relates to a sequential logic circuit and, more particularly, to a multi-functional sequential logic circuit comprising semiconductor integrated circuits.
A block diagram of a typical sequential logic circuit is shown in FIG. 1. This circuit comprises of a preceding logic means 1, a logic memory means 2, and a succeeding logic means 3. A flip-flop circuit is usually utilized for the logic memory means 2, and a logic gate or a ROM is usually utilized for the preceding logic means 1 and the succeeding logic means 3. The preceding logic means 1 is supplied with two input signals, that is, an external INPUT 4 from an external circuit (not shown), and a logic state 5 from the logic memory means 2. With these two input signals, a logic calculation is executed so that the preceding logic means 1 generates a new logic state 6 and the content of the logic memory means 2 is rewritten with the generated new logic state. On the other hand, the logic state 5 is also given to the succeeding logic means 3. Then the succeeding logic means 3 outputs an OUTPUT 7 which is obtained from the logic state signal 5 through a predetermined logic calculation. Thus the sequential logic circuit decides the next logic state always depending on the present logic state and the external INPUT.
As each of the preceding logic means 1 and the succeeding logic means 3 is made up of a logic gate or a ROM, a logic calculation executed in each logic means is defined by an arrangement of the logic gate or the content of the ROM. In conclusion, the function of the whole sequential logic circuit is defined unequivocally by them. When a user wants to operate the sequential logic circuit with another function, a rearrangement of the logic gates or a change of the ROM is required. Even if the desired function slightly differs from the present function, the whole circuit need to be changed. The change requires considerable time and labor. In order to give a multi-function to the sequential logic circuit, the whole circuit becomes large and complex because an individual arrangement of logic circuits or an individual ROM have to be provided for each function. | {
"pile_set_name": "USPTO Backgrounds"
} |
Selfish sentinels in cooperative mammals.
Like humans engaged in risky activities, group members of some animal societies take turns acting as sentinels. Explanations of the evolution of sentinel behavior have frequently relied on kin selection or reciprocal altruism, but recent models suggest that guarding may be an individual's optimal activity once its stomach is full if no other animal is on guard. This paper provides support for this last explanation by showing that, in groups of meerkats (Suricata suricatta), animals guard from safe sites, and solitary individuals as well as group members spend part of their time on guard. Though individuals seldom take successive guarding bouts, there is no regular rota, and the provision of food increases contributions to guarding and reduces the latency between bouts by the same individual. | {
"pile_set_name": "PubMed Abstracts"
} |
(*
* OWL - OCaml Scientific and Engineering Computing
* Copyright (c) 2016-2020 Liang Wang <liang.wang@cl.cam.ac.uk>
*)
open Owl_types
(* Functor of making a Lazy engine, just an alias of CPU engine. *)
module Make (A : Ndarray_Mutable) = struct
include Owl_computation_cpu_engine.Make (A)
end
(* Make functor ends *)
| {
"pile_set_name": "Github"
} |
Destination information:
Here’s a movie about Boston. This movie will give you a quick impression of the destination. The movie is not made by our own IFLY crew members. A special IFLYtheworld movie is in production and will be online soon.
IFLY tips
Cheers (2 hrs)
A place definitely not to miss is the famous Cheers bar of course. Don’t expect Sam Malone behind the bar, Carla as a waitress or Norm and Cliff drinking their beer, as the comedy series Cheers only used the exterior of this bar. Though this bar is definitely worth a visit.
They serve delicious hamburgers for a reasonable price. ‘The Original’ Cheers Bar is located at 84 Beacon Street and there’s another location at Faneuil Marketplace. More information about the menu and the locations can be found at their website.
Beacon Hill (1-2 hrs)Beacon Hill is a historic neighbourhood, is known for its federal-style rowhouses and narrow streets and brick sidewalks. Today, Beacon Hill is regarded as one of the most desirable and expensive neighborhoods in Boston.
It is wonderful to walk around in this neighbourhood and watch the great architecture. Walk into Charles Street and rummage around through many antique shops. Beacon Hill is located just north of Boston Common Park.
Back Bay and Newbury Street (1 hr – ½ day)
Back Bay is another nice and old neighbourhood, known for its Victorian brownstone homes, which are considered one of the best-preserved examples of 19th-century urban design in the United States.
There are many architecturally significant individual buildings and important cultural institutions such as the Boston Public Library. It is also a fashionable shopping destination, and home to some of Boston's tallest office buildings and numerous major hotels.
Marlborough Street is a great place to see the old houses. And Newbury Street is a nice high-end shopping street with wonderful boutiques, restaurants, bars and terraces.
Boston Public Library (1 hr)
Even if you don’t want to read a book, a visit to the Public Library is worth a visit. It is an absolute beautiful building.
The entrance is free. You can see the building inside and the library also has a beautiful courtyard where you can enjoy a coffee with a great view on the fountain.
The Public Library is located at 700 Boylston Street, Copley Square in the Back Bay area. The opening hours are Monday to Thursday from 9 am to 9 pm. At Friday and Saturday from 9 am to 5 pm and on Sundays from 1 pm to 5 pm in winter.
Cape Cod (1-3 days)
If you have more time in Boston you should visit Cape Cod. Best way to there is by car. A rental car is not expensive so take a luxurious SUV, as it is quite a long drive to Cape Cod, approximately 200km all the way from Boston tot the end of Cape Cod in Provincetown.
When driving to Provincetown you should take highway 6A as much as possible instead of highway 6, as 6A is the more scenic route. During the ride, visit the small villages. A very nice one is Chatham. At the end of the ride you will find Provincetown, shortly known as P-town.
Provincetown is a very touristic place and has long been known as an art colony, attracting writers and artists. Many hotels and resorts are friendly to or cater to gay and lesbian tourists and it is known as a gay Mecca in summer.
Cape Cod is a popular destination for beachgoers from all over. With 559.6 miles (900.6 km) of coastline, beaches are easily accessible. The Cape is also popular for its outdoor activities like beach walking, biking, boating, fishing, go-karts, golfing, kayaking, miniature golf, and unique shopping. So there’s enough to do for everyone.
It is also possible to go by boat from Boston to P-town. The boats of Boston Harbour Cruises depart from Long Wharf, just a block away from Faneuil Hall and bring you to the heart of Provincetown.
With a fast Catamaran ferry you can sail to Cape Cod in only 90 minutes. At their website you can find all information about the schedule, rates and you can buy tickets online. It is a great thing to do in summer, but you will miss all wonderful sites along the road to P-town.
Faneuil Hall Marketplace (2 hrs)
Faneuil Hall Marketplace is a wonderful indoor market. It is located in the heart of Boston and is bordered by the financial district, the waterfront, the North End, Government Center and Haymarket.
It has been a marketplace and a meeting hall since 1742. It is now part of a larger festival marketplace, which includes three long granite buildings called North Market, Quincy Market and South Market. Nowadays it operates as an indoor/outdoor mall and food eatery.
Boston Common Park (1-3 hrs)This park is the heart of downtown Boston. It is the oldest park in the country. The ‘Common’ has been used for many different purposes throughout its long history.
Until 1830, cattle grazed the Common, and until 1817, public hangings took place here. British troops camped on Boston Common prior to the Revolution and left from here to face colonial resistance at Lexington and Concord in 1775. Celebrities, including Martin Luther King Jr. and Pope John Paul II have given speeches at the Common.
It is a great place at every season to walk around and spend some time and escape from the hustle and bustle of the city. At the other side of the park you will find the original Cheers bar at Beacon Street
Hop-on-hop-off (1-2 days)
A great way to see the city is a hop-on-hop-off bus. Old town Trolley Tours brings you to most of the highlights in Boston. Most of the sights mentioned on this IFLYtheworld Boston page can be visited with this bus.
There are 18 stops and if you buy a ticket for one day, you get another day for free. There’s even a free 45-minute harbour cruise included. At their website you can view a map with the highlights, see where you can board and buy your tickets online.
Duck tours (55-80 minutes)
If you like to see all highlights of Boston in 55 or 80 minutes by road and boat and don’t want to walk at all you should do a tour with an amphibious vehicle.
Boston Duck Tours operates a fleet of restored World War II era DUKWs. These amphibious vehicles played an important role in both the European and Pacific theaters of the war. Nowadays these vehicles are used to give you a great overview of the city, show you many unique neighborhoods and splash you into the Charles River for a breathtaking view of the Boston and Cambridge skylines.
Information about departure points and operating hours can be found here. Duck Tours offers great tours, but only during summer, so check their site first. Tickets cost about $32.
Cambridge & the MIT Museum (½ day)
If you like to taste the university culture, you should visit Cambridge, just north of Boston. It’s named after the famous British university, but it’s home to a famous American University: Harvard.
Harvard Square is the most important shopping area. But there’s much more in Cambridge: The Massachusetts Institute of Technology shortly the MIT Museum. The Museum invites you to explore invention, ideas, and innovation. Through interactive exhibitions, public programs, experimental projects and its renown collections, the MIT Museum showcases the fascinating world of MIT, and inspires people of all ages about the possibilities and opportunities offered by science and technology.
The museum is located at 265 Massachusetts Avenue in Cambridge. It is open daily from 10am to 5 pm. The admission fee is $7,50 for an adult.
IFLYtheworld.com tries to be up-to-date with all travel information. If you despite our effort experience some things we need to know to update our tips, send us a message.
IFLYexchange
Prices of tips and articles are shown in local currency. To see it in another currency convert it here.
Prices are of course subject to changes. If you experience another amount as shown in this tip, let us know.
Language of the world
Of course you like to speak a few words of the local language onboard the plane or at your destination. Here you find some simple basics of the main language spoken in Boston. | {
"pile_set_name": "Pile-CC"
} |
Q:
Submit form when Enter is pressed
I have an aspx page with many buttons and i have a search button whose event i want to be triggered when user press enter.
How can i do this?
A:
You set the forms default button:
<form id="Form1"
defaultbutton="SubmitButton"
runat="server">
A:
Make it the default button of the form or panel.
Either one has a DefaultButton property that you can set to the wanted button.
| {
"pile_set_name": "StackExchange"
} |
Q:
User Monitoring in Rails
We have an app with an extensive admin section. We got a little trigger happy with features (as you do) and are looking for some quick and easy way to monitor "who uses what".
Ideally a simple gem that will allow us to track controller/actions on a per user basis to build up a picture of the features that are used and those that are not.
Anything out there that you'd recommend..
Thanks
Dom
A:
I don't know that there's a popular gem or plugin for this; in the past, I've implemented this sort of auditing as a before_filter in ApplicationController:
from memory:
class ApplicationController < ActionController::Base
before_filter :audit_events
# ...
protected
def audit_events
local_params = params.clone
controller = local_params.delete(:controller)
action = local_params.delete(:action)
Audit.create(
:user => current_user,
:controller => controller,
:action => action,
:params => local_params
)
end
end
This assumes that you're using something like restful_authentication to get current user, of course.
EDIT: Depending on how your associations are set up, you'd do even better to replace the Audit.create bit with this:
current_user.audits.create({
:controller => controller,
:action => action,
:params => local_params
})
Scoping creations via ActiveRecord assoiations == best practice
| {
"pile_set_name": "StackExchange"
} |
Q:
Okay, the sandbox didn't work. We still have a quality problem; let's figure out how to address it
As of today, the riddle sandbox is no longer mandatory. The close reason related to it has been deactivated, and the requirement has been removed from the sandbox text. It was an experiment to see if it would be sustainable and effective going forward; for a variety of reasons many of you have pointed out, it didn't work. (We also screwed up at judging the amount of support an idea needs before it has consensus, and offering enough time for a thorough discussion of the merits of ideas.)
But that's fine; everything is reversible, and it gives us all a better sense of the capabilities of the system going forward.
The sandbox itself is probably still worth keeping around, though without the mandatory requirement, because as a tool it could still prove to be valuable to anyone who decides to use it. Even if it's never touched again, it does no harm just sitting there. Unless someone thinks of a good reason it shouldn't be there at all, this is probably what's going to happen.
However, this still leaves us with a quality problem. The idea of a sandbox requirement came about in response to a growing sense that riddle quality is dropping on the site, and that it's becoming more heavily populated with low quality content. (Number sequence and cipher puzzles were even tacked onto the proposal's discussion for similar problems.)
Most of what I said regarding quality in the riddle sandbox proposal I still stand by:
Riddle quality is dropping. I think most of us have seen it lately: there’s been a slow slide in effort and energy put into riddles, and it’s starting to seriously hurt the site. On Stack Exchange, our goal is to optimize for pearls, not sand, and right now, we’re very much not doing this. If we were, it would not only push the quality of the site up, but also drive us to advance the state of the art.
Nowhere else that I know of on the internet do people collaboratively come together to develop new puzzles - including riddles - and that’s not something we want to stop. However, we need to do something to sort out what makes a riddle high quality for this site, and set better quality standards.
So it’s time for us to set aside some energy and effort to sort this out, and start over with a better structure in place to support riddles.
This is the discussion that I want to see continue. I think most of us recognize that there is a problem, and Hugh Meyers even offered insight into why the proposal might have gotten the sort of initial support that it did, even the idea wasn't ultimately very good:
The massive support the proposal had in its first day shows the widespread recognition of the situation and a strong desire for some sort of a solution.
I don't want to belabor the point, rehashing stuff you've probably already read and read again. Instead, it's time for you all to drive the quality discussion on meta.
What we've been doing, bringing these proposals to meta, is partially intended to try and drive discussion. This is where these problems are solved, and there's definitely a solution out there; we just need to find it. (And yes, perhaps more carefully consider its implementation and subsequent effects before diving in head-first.)
So please, please propose and discuss ideas on meta. Don't let this issue stagnate; mods are three of hundreds of community members, and we're all going to get the site that we fight for together.
A:
Totally agree with both of Rand's answers, however, I think we need to hone in a little on what the new close reason should be, so I thought I'd add my thoughts...
New close reason
See Rand's answer for reasoning/precedent, however, I believe the text should be a little different. The primary aim should be to catch/close low quality content, which can be redirected to a sandbox where it can potentially be improved, so I propose the following close reason:
Low Quality1 - In it's current form, this puzzle does not meet Puzzling's [community quality standards]2 and needs refinement. Please take the time to read the guidelines and improve your puzzle. If you would like assistance, you can post your puzzle to the [Puzzling Sandbox]3 to get guidance from the community.
1 - Could possibly be renamed to Needs Refinement or something equivalent, to make it slightly less inflammatory/accusatory - we don't want to scare off innocent newbies.
2 - Would link to the meta post described in point 3, below.
3 - Would link to the either a new general purpose sandbox for all puzzle types, or could possibly be reworded to say "...post your puzzle to the [Riddle Sandbox], [Cipher Sandbox] or [General Puzzle Sandbox]...", if we wanted things split up into chunks.
Community Quality Guides
To keep the close criteria as objective and consistent as possible, we could create an faq tagged meta post, with individual answers per "major" tag (i.e. the big ones, that are currently problematic/controversial like riddle, mathematics, cipher, etc), plus a "general puzzle" catch-all, to help define exactly what constitutes the quality standard minimum, in as clear and unambiguous terms as possible.
We would obviously need individual discussion posts to gather consensus on criteria for each puzzle type above, but there's already some great content here on meta that we could draw from (eg. for ciphers, mathematics, etc). To give you an idea though, I imagine each "answer" would look something like the example below.
Indicative example of a Community Quality Guide, take with a grain of salt... the important stuff of this post is above.
Riddle Quality Criteria
To meet minimum quality standards for Puzzling, a riddle must:
Have a single "obviously correct" answer
Be more than just a straight description of the solution's features
Describe a common everyday object/concept (or be tagged with an appropriate secondary tag, such as trivia, movies, literature, etc to identify that specific domain knowledge is required)
Additionally, your riddle must meet at least three of the following criteria:
Use well structured meter and rhyme
Be concise and well written
Use a creative/unique structure or presentation
Employ letter/wordplay
Make use of metaphor/polysemy/turns of phrase
A:
This may not make a huge difference, but since new users are often high on the blame list for the poor-quality stuff, we should
change the Puzzling Tour to actually reflect this site.
I think this is probably a low-effort but some-reward step we could take, so why not do it. If you don't think it needs to be changed, go take the Puzzling Tour right now and try not to furrow your brow.
At least some of the recent poor quality questions (example, example, example) come from users who do have the Informed badge. That means at least there's one potential point of intervention to communicate something to new users. Right now, nothing Puzzling-specific is on that Tour, and in fact you could argue some of the stuff is Puzzling-detrimental.
And I think Emrakul indicated (as a comment on this post) that we do have some control over this. So...why not?
A:
A chatroom for detecting and discussing low-quality puzzles.
Whether or not we implement a new custom close reason for 'bad' puzzles as proposed in my other answer here, we need people to be aware of it and of any new puzzles coming in that should be closed using it, otherwise there's no point. Emrakul mentioned in comments on another meta post that part of the reason why moderators have been closing too many questions unilaterally is because the community haven't been active enough in closing questions which should be closed.
I propose creating a dedicated chatroom for crap-catching. It would have a feed to post new questions into the room, and in it people would discuss the possible closure of particular questions. This would:
be easier to keep a constant eye on than the Close Votes review queue, since people could hang out and chat idly in between discussing questions to be closed
encourage active community discussion rather than just hitting the "Close" or "Leave Open" button, which would be helpful in shaping policies for the future
draw people's attention to questions in need of closing quicker than the review queue does, since no initial VTC would be needed - all new questions would appear on the room feed.
For the first while, when not many people frequent the chatroom, we might find that more or less the same bunch of users are closing many of the questions, but as we attract more and more participants to the room and the project, that should change. Note that users with <3k rep would also be welcome to join in: even though they can't actually vote to close questions, they can still flag them for closure and take part in the discussions around them.
Of course we'd have to publicise this room as much as possible to make people aware of its existence. Ways to do this might include a featured meta post linking to it and superpings from any chat mods involved to bring active community members into the room.
| {
"pile_set_name": "StackExchange"
} |
The United Nations (UN) migration compact is a “threat to the world”, Hungary has said, announcing that the nation will follow President Donald J. Trump’s America in rejecting the globalist agreement.
The draft for the Global Compact for Safe, Orderly and Regular Migration, which claims that huge movements of people across borders are “inevitable, necessary, and desirable”, was approved on Friday by all UN member nations except the U.S., which withdrew last year.
Rejecting the document, which was summarised by President Trump as plans for a world in which there are “no borders, everyone can come in”, the White House said the compact was “simply not compatible with US sovereignty”.
He had previously called unlimited mass migration to Europe "inevitable" https://t.co/LNKntX5q01 — Breitbart London (@BreitbartLondon) December 20, 2017
“This document is entirely against Hungary’s security interests,” Foreign Minister Péter Szijjártó said, telling a news conference that the “extreme, biased” compact was likely to inspire millions more people to migrate from the third world.
“Its main premise is that migration is a good and inevitable phenomenon … We consider migration a bad process, which has extremely serious security implications,” Reuters reported him saying.
Noting that Budapest’s proposals were ignored during the development of the document, which he said fails to address the rights of individuals who simply want to live in peace and stability in their homelands, Szijjártó said Hungary will no longer attend the final signing of the compact, which is set to take place at a ceremony in Morocco in December.
Hungarian Prime Minister: UN Migration Compact ‘Looks Like It Was Copied from the Soros Plan’ for Mass Migration https://t.co/2GF6VZKfTf — Breitbart London (@BreitbartLondon) February 6, 2018
Last month the minister said the plans “represents an extreme danger” to EU nations, as the package would essentially force the continent to give up trying to counter illegal immigration, warning, “If the goals set down in the plan are realized then the make-up of Europe’s population will change radically in the upcoming few years.”
Speaking at the UN headquarters in New York City prior to intergovernmental negotiations over the compact, the minister remarked that amendments were resulting in a document that was becoming “increasingly worse”.
“It would now be justified to rechristen the Global Compact for Migration to the African Compact, since its clear beneficiary is Africa and its clear victim is Europe,” he said.
“For instance, it calls for all migrants to receive all kinds of services after leaving their homes, irrespective of what transit country they are in or what country they happen to have chosen for themselves,” Szijjártó highlighted. | {
"pile_set_name": "OpenWebText2"
} |
Thank you everyone for a great show! Thank you to all our amazing sponsors, instructors, vendors and attendees!
Save the dates for next year: Sept. 10, 11, 12 - 2019 - Nashville TN - 9th Annual International K-9 Cop Conference and Vendor Show for Police and Military Working Dog Handlers!
#k9cop2018 | {
"pile_set_name": "Pile-CC"
} |
In what country is the Knesset? And in what country is the Western Wall of the ancient Temple?
These questions arise when the State Department announces that the Deputy Secretary is visiting "Israel, Jerusalem, and the West Bank." As James Steinberg, the Deputy Secretary, presumably visited Israeli officials in their offices in West Jerusalem, which was part of Israel before the 1967 war, one wonders what is meant by saying he went to Israel and Jerusalem.
I discuss these issues, and the entire question of the "1967 lines," in an article in The Weekly Standard. It is a common error to believe that adjustments to the "1967 lines," which are actually the 1949 armistice lines, are needed due to Israeli settlement activity since 1967. In fact, it was assumed right after that war that Israel’s borders would change. That has been the American position for a long time: President Reagan said in September 1982 that “In the pre-1967 borders, Israel was barely ten miles wide at its narrowest point. The bulk of Israel’s population lived within artillery range of hostile armies. I am not about to ask Israel to live that way again.”
President Obama’s Middle East speech last week left it uncertain whether he was "about to ask Israel to live that way again." We will know more after his speech today, Sunday, to AIPAC. | {
"pile_set_name": "Pile-CC"
} |
Suppressor cells in the human maternal-fetal relationship.
The mixed lymphocyte culture (MLC) of maternal and newborn (cord) cells is significantly weaker than that of father-newborn and control-newborn cultures. This hyporeactivity was found not to be due to an impaired function or tolerance of either the maternal or neonatal cells. We investigated the possibility that a specific, in vivo-induced suppressor cell was active in the diminished maternal-newborn reaction. Suppressor cells were found to be active in both the stimulating and responding populations in the unidirectional MLC. The removal of TG cells from the responding (maternal or newborn) population resulted in an increase of reactivity specific for the corresponding stimulating population (newborn or maternal). The suppressor activity within the stimulating population was carried out by a radiosensitive cell, which did not require proliferation to exert its effect. We suggest that the observed hyporeactivity of maternal-newborn mixed lymphocyte cultures is due to the modulation of the reaction by specific, in vivo-induced suppressor cells. | {
"pile_set_name": "PubMed Abstracts"
} |
import React from "react";
import { mount, shallow } from "enzyme";
import $ from "jquery";
import { Component, ComponentList } from "../js/src/components/component-list";
import { Metrics } from "../js/src/components/metrics";
describe('ComponentList', () => {
it('fetches the components url', () => {
var ajax = $.ajax;
$.ajax = jest.fn();
const componentList = mount(
<ComponentList url={"components.json"}/>
);
expect($.ajax.mock.calls.length).toBe(1);
expect($.ajax.mock.calls[0][0].url).toBe("components.json");
$.ajax = ajax;
});
it('has component-list as classname', () => {
const componentList = shallow(<ComponentList />);
expect(componentList.find(".component-list").length).toBe(1);
});
it('renders a component for each one that was fetched', () => {
$.getJSON= jest.fn();
var ajax = $.ajax;
$.ajax = jest.fn((obj) => {
obj.success({components: ["registry", "big-sibling"]});
});
const componentList = mount(<ComponentList />);
var components = componentList.find(Component);
expect(components.length).toBe(2);
expect(components.first().props().name).toBe("registry");
expect(components.last().props().name).toBe("big-sibling");
$.ajax = ajax;
});
});
describe('Component', () => {
it('renders Metrics for the component', () => {
var ajax = $.ajax;
$.ajax = jest.fn();
const component = mount(
<Component name={"big-sibling"}/>
);
var metrics = component.find(Metrics);
expect(metrics.length).toBe(1);
expect(metrics.props().targetName).toBe("big-sibling");
expect(metrics.props().targetType).toBe("component");
$.ajax = ajax;
});
it('has component as classname', () => {
const component = shallow(<Component />);
expect(component.find(".component").length).toBe(1);
});
});
| {
"pile_set_name": "Github"
} |
An in-hospital study involving 11 patients with chronic stable angina pectoris was undertaken to determine the effects of verapamil given alone and combined with propranolol. Patients improved exercise capacity with verapamil compared to placebo or propranolol and increased exercise time even further with the combination of verapamil and propranolol. | {
"pile_set_name": "NIH ExPorter"
} |
Kikuji KawadaTHE LAST COSMOLIOGY (SPECIAL EDITION)
24 x 33 cm (9.4 x 12.9 inches)86 pages (67 Tritone Plates)Edition of 150Signed and numberedRelease in May 2015Photobook is published by MACK
A print tipped onto the exterior sleeve. The special limited-edition box was published as a collaboration between MACK + GOLIGA.
220.00
Quantity:
PURCHASE
The limited boxed edition has an original print affixed to the slipcase exterior. Each case is signed and numbered by Kikuji Kawada. Only 150 were manufactured, of which 125 are for sale. The box was designed by Kikuji Kawada, MACK and GOLIGA, and produced in Japan under Kawada's supervision.
KIKUJI KAWADAKikuji Kawada co-founded the collective Vivo in 1959 with Akira Sato, Eikoh Hosoe, Ikko Narahara, and Shomei Tomatsu. He is a recipient of the Lifetime Achievement Award from the Photographic Society of Japan (2011). | {
"pile_set_name": "Pile-CC"
} |
The B.C. NDP is promising to freeze BC Ferries fares from May 2013 to March 2015 while they audit the provincial corporation if they win the May 14 provincial election.
Leader Adrian Dix announced the freeze while campaigning in Liberal Finance Minister Mike de Jong's Abbotsford riding on Wednesday morning.
"We shouldn't forget the essential role BC Ferries plays in communities — that it is an economic lynchpin for many communities," he said. "For many people, of course, it could be essential not just to their weekly lives but to their daily lives."
Dix said the party would set aside cash in the budget to finance the fare freeze.
He also a promised students in financial need a $1,500 non-repayable grant as part of a $140-million job skills training program, and to review the province's liquor laws and prices with the aim of helping B.C. producers.
The promises followed details released last week laying out the party's financial platform, which included hiking income taxes on corporations and high-income earners, raising about $300 million through the increases and program cuts.
New Democrats have already said the party won't produce a balanced budget until the final year of a four-year term if elected.
Later this morning, Dix is expected to join Olivia Chow, the widow of former NDP leader Jack Layton, for an event at the University of the Fraser Valley in Chilliwack before returning to Burnaby for a rally tonight.
Clark heads to Kamloops
Meanwhile, Liberal Leader Christy Clark also hit the road Wednesday, stopping first in Surrey for a pancake breakfast with supporters in Surrey.
Then Clark stopped in Chilliwack with candidate John Martin, who ran for the Conservatives in a byelection last spring but later jumped to the Liberals. The party has used that move to symbolize the importance of uniting the right-wing vote under their red banner.
Christy Clark stopped off for a pancake breakfast with some supporters in Surrey on Wednesday morning. (Renee Filippone/CBC)
Clark used a play on words when she visited a concrete plant in Chilliwack, saying her party is "laying the foundation" for a strong economy. She touted the Liberal's jobs plan and warned that under the NDP, concrete plants and other businesses suffered red tape and high taxes.
When asked about Dix's promise to freeze ferry fares, she said if re-elected she would help the ferry corporation pay off roughly a billion dollars in debt instead.
This afternoon Clark will travel to Merritt and Kamloops, where she will make an appearance with Liberal candidates Terry Lake and Todd Stone, before ending the day with a flight to Dawson Creek.
Clark says she's ready to pit her Liberal debt reduction platform against what she says is a "tax-and-spend" New Democrat plan that will see at least three years of deficit spending.
Clark has also repeated her call for a one-on-one debate with New Democrat Leader Adrian Dix, saying British Columbians should have a chance to hear all sides.
Dix has refused the head-on meeting with Clark, saying it would be disrespectful to ignore the leaders of the Conservative and Green parties.
Meanwhile, B.C. Conservative Leader John Cummins is sticking close to home doing door-to-door campaigning in his Langley riding and Green Party Leader Jane Sterk also campaigning in her home riding of Victoria-Beacon Hill today.
British Columbians head to the polls May 14 to elect the next provincial government. | {
"pile_set_name": "OpenWebText2"
} |
[The content of DNA, RNA and protein and the wet weight:DNA, the protein:DNA and the RNA:DNA ratio in 19 different tissues of bovine fetuses of different body weight].
In 3 groups of fetuses (n = 6 each) of cattle with a body mass of 4.18 +/- 2.1 (about 160 days old), of 9.72 +/- 0.97 (about 200 days old) and of 17.12 +/- 2.61 kg (about 230 days old) the content of DNA, RNA and protein in 19 different tissues was analysed. The wet weight:DNA-, the protein:DNA- and the RNA:DNA-ratios were calculated. The growth of the different tissues in the mentioned period of the development of the fetuses by hyperplasia and hypertrophy is discussed. | {
"pile_set_name": "PubMed Abstracts"
} |
Thursday, May 31, 2012
Thirty days have September ...April, June and November, blogspot readers. And already, we've reached the halfway point of the year! Are you having a rockin' fun time so far? Well, the summer months look to be a VERY busy one this 2012 with new as well as returning favorite fests and bands hitting the Chicago scene. SouthSide highly recommends checking out the long list of noteworthy and happening events occuring around Chicago and far during the month of June.
Jun 1
@ Martyrs': celebrate a birthday with friend Jet W. Lee and Swearwords as they kick off the month with a show at this Northcenter venue.
@ Elbo Room: All good things (and people) must come to an end ...and sadly, it's SouthSide's wild and crazy "Jack of All Trades" friend, Brian Bender as he says "Goodbye" to Elbo Room. So come out and share your BEST Brian Bender moment (and she's sure there are many he may or may not remember like that time after his birthday blow-out bash when he was in the women's restroom and...) Yes, this reviewer has PLENTY of secrets to spill about Brian. *wink*
@ Sundance Saloon (Waukegan, IL): Diamond Cuts Productions and Rockin' 4 Vets will host a 2-day event in sponsorship of "Wounded Warrior Project". Friday's lineup will feature performances by Goin' South, friend Steel Chops and Lights Out Chicago (UFO tribute band) while Saturday's lineup will feature performances by friend Thunder Drive, One Night Stand, Molo Rules (Ronnie James Dio tribute band) and many more. Admission is $15 for single day / $25 for both days / half off admission for all active military personnel (must show id)
18+ show / 21+ to drink
@ The Laughing Chameleon (Glenview, IL): Friend Steel Chops will also be rockin' this venue with extra special unplugged show both Friday and Saturday nights.
@ Empty Bottle (as of Do Division fest): The lineup at this venue will feature Black Belles, BBU and more. Hosted by Peter O'Connell.
$5
@ Old Town School of Music: It's Open House night featuring a special performance by local troubadour Matt Campbell at 10:15p in Maurer Hall.
Jun 2
@ Metro: Come out and celebrate Nocturna's 24th Annivesary! This 18 and older dark alternative dance party (held once a month or so) will be partying til dawn with good friend DJ Scary Lady Sarah spinning the best in etheral, shoegaze, new wave, post-punk and more. Glitter Cuts will be on hand to snap your fashionable look as well SouthSide has heard there will be giveaways.
$10 / 18+
@ Schuba's Tavern: School of Rock Chicago will be performing a special ALL AGES show in tribute to Neil Young. This show will benefit The Bridge School (located in California) featuring a silent auction and raffle of items donated by local businesses. 100% of all proceeds (i.e. admission, raffle and auction) will go to The Bridge School. There will be a Sunday Jun 3 performance too.
$10 / ALL AGES
@ Reggie's: Come to the Pig Roast on the rooftop! It's an "All You Can Eat" trainwreck roast on the venue's rooftop deck. 21+ / $10 / 5p
Then stay for the show too! Friends Black Actress and Control will be opening for Electric Frankenstein with Depravos de la Mour.
$12 adv / $15 dos
@ Wrigley Field (Sheffield & Addison): Join Abe Froman, the Sausage King of Chicago with many others at Sausage Fest 2012! No matter how you say "sausage" - bangers, weiners, etc, attend this food fest and listen to rockin' music by Company of Thieves, Treaty of Paris, Lovehammers and more.
noon to 10p both Saturday and Sunday.
Jun 3
@ Empty Bottle (as part of Do Division fest): The lineup on this day will feature Teenage Girl Fantasy, Pinebender, The Antlers and more. Hosted by Peter O'Connell.
$5
@ Leavitt Stage (as part of Do Division fest): Mutts will be rockin' the stage at 5p / ALL AGES
@ Reggie's: Al and Black Cats will be performing as well as friend Modern Day Rippers, Tracer Bullet and The Brothers Gross.
$7
@ Forest Park Summerfest: friend Blue Moon Swamp (tribute to John Fogerty and CCR) will be rockin' the crowd there.
@ Double Door: friends Board of Governors and The Plastic Boots will be rockin' the stage along with Fly Over State, The Deeper and King By Friday.
$7
@ Red Line Tap: friend WhiteWolfSonicPrincess will be returning there for another rockin' show.
Jun 9 - 10: Spacestock Music and Fest! Located in the land of Funk (actually Martinton, IL) this two-day event will feature 2 stages and over 30 musical acts of super spacy sounds, interstellar and mega posi vibrations by bands such as Indigo Sun, Art of ILL Fusion, friends Fifth World, Digeometric, Old Shoe and Sexfist and many, many more. Plus live art demonstrations by Manny Cortes, Alison Greer and Yael Orellana to name a few.
Please note the following about this fest. blogspot readers:
* Parking fee is $5 but carpooling is strongly advised and encouraged due to limited parking space.
Jun 18 -20
It's Crosstown Classic part duex! Cubs will be visiting the White Sox at the Cell (aka new Comiskey) however SouthSide's team in black will be looking for another sweep this innercity rivalry.
Go White Sox!
Jun 21
@ The Dam Bar & Grill: Celebrate Paragon's 100th rock show with the band as they share the stage with Dropped Once as part of Swedish Days.
All Ages / $5
Jun 23 - 24
Randolph Street Market a monthly 2-day event featuring over 8 acres of indoor and outdoor shopping! From food and music to vintage finds and antiques ...this is the place shop for those one of things to decorate your home, blogspot readers.
For more information, visit http://www.randolphstreetmarket.com.
Jun 23
@ Double Door: Retar Crew will be violating the stage at this FREE show.
Warning: this band has been deemed unsuitable for kids and most adults ...you have been warned.
@ Elbo Room: Our Name Is Jonas along with Go Mary will be rockin' the stage.
$10
@ Beat Kitchen: friend Pasafire will be rockin' the stage at this 17+ show.
Tuesday, May 29, 2012
Hey, blogspot readers, after an unseasonably warm day, it was time to relax and enjoy a night of cool Jazz. Tonight's On The Town adventure had SouthSide taking a well deserved break from her typical rock scene ...dressing up (a little) for her debut appearance at Mayne Stage. Located in the heart of the Rogers Park neighborhood (and a short walk from CTA's Morse Red Line station), this venue offered one unique concertgoing experience for this reviewer. She noted it had, no matter where seated in the balcony or main floor, an excellent 180 degreed wrap-around view of the stage which gave a sense of being spacious as well as intimate in size. Another plus about Mayne was the sound quality. The audience again no matter where they were seated had a clear crisp audio projection of tonight's performance. And hear that? Pure silence inside the venue too. It was like being inside a recording studio, blogspot readers, with miminal distractions and/or lobby noise to ruin one moment of the incredibly intense music experience during Chris Greene Quartet's performance. If you haven't attended a show or concert at Mayne Stage, she highly recommends visiting it especially when the legendary Jazz-fusion band Spyro Gyra makes an appearance there on June 7. For more information and tickets, check out Mayne Stage's website - http://www.manynestage.com.
Now back to SouthSide's "...incredibly intense music experience during Chris Greene Quartet's performance...", blogspot readers. And what an experience it was for this reviewer. Oh she could say it was uplifting ...awe-inspiring ...soulfully expressive yet those mere descriptions would hardly capture the entire concert from start to finish. You simply had to be there to not only hear but also witness the extraordinary floetry of sound and music felt while attending Chris Greene's "A Group Effort" album release concert. Yes, it was THAT incredible, blogspot readers. No, she wasn't bribed to write such glowing remarks in this review. This Jazz artist and each member of his band had a way of affecting the audience via music whether it was a lively, upbeat rhythmic tempo or a somber yet reverently played tune within a gospel-like tempo. This Quartet took the audience (SouthSide included) on a journey filled with emotional depth and soul-reaching sound during the near two hour performance. You could say it was almost like experiencing "The Twilight Zone" of a profound Jazz performacne in which SouthSide highly suggests taking such a journey yourself. And you don't have to be a Jazz aficionado to apprecciate it either. Just relax ...and let go allowing Chris Greene and his Quartet members take you away...
Performing this concert, according to Chris, as a "...regular old gig...", this Jazz quartet featured a setlist of tunes off the new album, "A Group Effort" as wll as previous ones and a few favorites like Charles Mingus and Madonna. Yes, blogspot readers, you read correctly. SouthSide did mention Madonna ...more about her and Hank Williams Jr later in the review. The setlist alone was an interesting repertoire mix of compositions written by Chris Greene (saxophone), Damian Espinosa (piano/keyboards), and Marc Piane (double bass) with Steve Corley adding his own personal touch to each Jazz piece on drums. In SouthSide's best opinion, she felt the songs performed were a fair representation of the composer's persoanlity besides offering a tiny sliver into their thoughts and/or emotions at the time of composing. For example, the opener - Good Riddance (by Chris Greene), this reviewer got the distinct impression of being told to "hit the road, Jack" from the bit of intensity laced within the rhythmic Jazz groove and sound. She thoroughly enjoyed the energetically loud "in your face" moments heard throughout but it was only to briefly add some spice amongst the relaxing lull of calmness ...creaing an atmosphere full of bursting, ear-pleasing music to which enthused tonight's audience espeically during the piano wizardry by Damian at the bridge.
Meanwhile, STAT (by Marc Piane) from the new album took that same energy and face-paced momentum and switched it for a smoother, laidback Jazz groove featuring a high alto saxophone melody flowing throughout the band's rhythmic beat. Still retaining a certain amount of intensity, used only for spontaneous bursts of life, SouthSide liked the calming poetry writeen in the music that allowed the ears to enjoy each and every instrumental note. Beginning a few bars without Chris' saxophone, the downtempo sound had cascading waves of crescendos and falls from each band member before Chris added a touch of hot spice to truly heat as well as mellow things out. This reviewer also liked how this piece wasn't necessarily rushed even though timed perfectly to feel like an all-night Jazz jam session of beautiful music, blogspot readers, that gradually ended with a calming yet steady rhythm. Then there was Three And Six (by Damian Espinosa) which offered yet another contrasting Chris Greene Quartet moment when deeper into this concert. This gospel-like tune opened with a somber bass 3-chord stance working both melody and rhythm amazingly at the same time until the rest of the band joined in underneath a slower downtempo beat. No offense to Chris Greene but this particular piece really spoke to SouthSide because of its reverent display of emotions within a non-hurried musical atmosphere surrounding her. Though having bouts of sadness, this lovely instrumental piece also had its moment of fiery spirited momentum off Chris' saxophone ...definitely had the audience feeling a wide range of emotions here and there that were wonderfully conveyed from each instrument. Very melodic with its Jazz spunk SouthSide highly suggests listening to this song. After taking a long look at the notes taken during this concert, SouthSide can safely conclude the other songs performed had or slmost had the same profound spiritual effect on the ears, mind and soul, blogspot readers.
She recommends grooving your body and feet to Chris Greene's composition - Bride of Mr. Congeniality to which the Quartet stepped up the rhythm and music up two notches higher to have you rockin' to the swift paced floetry of a funky Jazz sound. Hot intensifying saxophone melodies floating everywhere before the band took center stage during the bridge to calm things down a bit with a featured drum solo by Steve (he totally had some in the audience fired up during the crescendoing buildup). Though a little disappointed that there was no excitable POW after Steve's percussion crescendo to sock it to the audience, SouthSide still enjoyed the livelier side to this Quartet's performance. Also check out You'll Thank Me Later (also a Chris Greene composition), blogspot readers, for its cool classic Jazz sound amidst the waves of rises and falls laced throughout the melodic rhythms. Now, back to Madonna and what this pop artist had to do with Chris Greene Quartet's performance. It's quite unique to hear how different genres of music translated into other genres during a performance like for example Led Zeppelin's Kashmir or Stairway to Heaven done symphonically. Well, Chris and band wonderfully took Madonna's classic 80s hit song Boderline that launched her into the music scene and flipped it into a rockin' jazz number, blogspot readers. Or how about a little Hank Williams Jr (You Win Again) out of the country genre and into a more a jazz tune that you can still move your feet to. Yet the highlight of the covers during this concert was the performance of a Charles Mingus classic - Nostalgia In Times Square. This 1959 Jazz classic was brought back to life with all of its smoky club atmosphere and lively upbeat tempo by Chris Greene Quartet which had this reviewer wonderfully excited note after each note. These talented musician "owned" this jazz cover by giving the music explosively bursts of energetic life and momentum that felt intense yet so cool especially taking the final bars to a quiet lull before adding one last burst of excitement to end with a swinger feel.
What a night for music ...what an experience she will never forget.
SouthSide highly recommends attending Chris Greene Quartet's next performance, blogspot readers. Be prepared to have one intense Jazz experience like never before. For more information, visit http://www.chrisgreenejazz.com.
Friday, May 25, 2012
Hey, blogspot readers, let's play a guessing game. This Hollywood actress has created memorable roles both on screen and television as well as on stage but also is an accomplished dancer and jazz vocalist. Need another hint? You might remember her performance in the movie Jumping the Broom as Aunt Geneva especially during the scene where she's singing a funny rendition of Marvin Gaye's Sexual Healing. Or you probablly have seen her on television as Big Dee Dee Thorne (on Half and Half) or Sandra Lucas, Miranda Lucas Payne's (Keisha Knight Pulliam's character) mother (from Tyler Perry's House of Payne). No googling the answer. Perhaps you attended the Pasadena Symphony's annual Pops program in which she was a featured guest soloist or saw her stage in her Tony nominated role in Fosse or in London's West End production of Chicago featuring legendary great Chita Rivera.
Give up?
The person SouthSide is speaking of is Valarie Pettiford. And this reviewer felt SO honored to interview this lovely woman recently via telephone.
Valarie Pettiford began her career at the tender age of 14 after landing her first movie role ...actually three different roles in the film adaptation of The Wiz where she was a munchkin, one of the Emerald City dancers and part of the ensemble during the Brand New Day scenes. Then, she went on to appear in other films such as The Cotton Club, Glitter (portraying Mariah Carey's mother), Stomp The Yard, Like Mike and Tyler Perry's Why Did I Get Married Too. Her television credits are quite extenstive too, blogspot readers. She originated the role of Shelia Price Gannon on ABC's One Life To Live and appeared in another daytime drama Another World as Courtney Walker. She also made appearances in other drama series like X-Files (as an FBI agent), CSI and CSI Miami, The District, Criminal Minds and Bones. Ms Pettiford also has a recurring guest star role on the HBO series, Treme as the character Victorine Fornerat-Williams. And soon will be appearing in the new ABC Family's series - Bunheads portraying the artistic yet sensible Violet.
Ms. Pettiford's stage credits include her Broadway performance in Fosse that earned her nominations for a Tony, Grammy, Outer Critics Circle and Dora Mayor Moore awards. Besides Chicago, she also performed in the 1987 anniversary of West Side Story tour (as Anita), Dancin', Sophisticated Ladies (understudy to Judith Jamison) and Big Deal in which she was principal dancer, actress, singer and dance captain as well as starred in the Broadway hit, Grind and was part of the national tour of Showboat. This performance earned her recognition for a Vancouver Sun Reader’s Choice Award and an NAACP Image Award, blogspot readers. In the meanwhile, this busy actress is now promoting her new movie - Battlefield America (scheduled for release on June 1) and a follow-up album to her debut Hear My Soul titled Velvet Sky, a unique collection of original lullabies written for new parents to bond with their newborn babies, scheduled for a September release. Though her time was limited on Monday, Ms Pettiford was able spend some time with SouthSide for a friendly discussion giving her an exclusive peek into her new projects ...plus some thoughtful insight about Hollywood and more.
Describing herself as "...a person with a big heart...", SouthSide wanted to know more about her character "Ms Williams" in her upcoming movie Battlefield America, blogspot readers. Don't let the movie title alone scare you into thinking it's another Us versus Aliens bent on destorying the world coming to a multi-plex near you this summer. Nope ...no transforming aliens - this is a dance competition by the same people who did You Got Served. This movie is about a young businessman who hires a dance instructor to turn a group of misfits into a hip-hop dance crew for an underground competition. Looking at credits, Ms Pettiford is simply listed as Ms Williams to which the actress described her as a "...concerned mother..." and this reviewer asked her if she enjoyed playing those types of roles. She loves playing "mom" because it gave her a chance to work with wonderful people like Mariah Carey (in Glitter) and the cast of Half and Half. SouthSide then asked her if she chooses her roles based on her life experiences. She said as an actor, she has a choice to whether accept or decline a role but personally for her "...it's all about being challenged..." Ms. Pettiford portrays the characters as people she knows but unlike the tough, drinking Big Dee Dee Thorne (from Half and Half) or Aunt Geneva (from Jumping The Broom) - she's not like them in real life, blogspot readers. She also picks her roles because according to her they're fun to play and the other people involved in the project make it fun.
Plus she had nothing but praise for the hardworking kids involved in the movie Battlefield America. According to Ms Pettiford, the kids (and their parents) were professional, well-behaved and a reflection of their parents even while doing take after take on set. Though SouthSide was somewhat disappointed that she's not dancing in this movie or in a scene with Lynn Whitfield, Ms Pettiford said the whole experience was wonderful and felt so honored to work with her (Lynn Whitfield) on this project. Also she stated that Lynn Whitfield is one of the nicest people on earth ...never has a bad thing to say about anybody. Plus working with Marques Houston (in which you might know him as Roger from Sister, Sister), Ms Pettiford described him as a young man with a beautiful spirit ...an example of what a man should be. Also he served as a "big brother" mentor to the kids during filming, blogspot readers. Then SouthSide wanted to know if her rousing rendition of Marvin Gaye's Sexual Healing was scripted or ad lib for that particular part within Jumping The Broom. Alas, this reviewer was hoping it was ad lib but it wasn't. According to Ms Pettiford, that scene was thought up by the director and writers.
Speaking of Hollywood, SouthSide wondered with more African-American (as well as other minority) film production making a relevant presence in recent years do we as a race still have a long way to go before cracking through the "glass" ceiling. Ms Pettiford thought the question was a good one and did replied "...yes, we [in African-American race] have a long ways to go..." However, we are making strides and breaking ground with more African-American women taking lead roles in television series than males like Kerry Washington in ABC's Scandal and Loretta Devine in Lifetime's The Client List. Yet is it possible to win an Academy Award without being nominated for portraying the "bad" guy / anti-hero or the "help"? In her lifetime, she hopes so and believes some roles in a romantic-comedy should be recognized by the Academy to which she also stated that's across the board for all racial lines and genders. "...Thank goodness for the Golden Globes..." which does recognizes outstanding performances in a comedic roles for actor and actress. Still, she would like to see the Academy awarding someone for being a "good" guy for once. SouthSide and Ms Pettiford did discuss briefly about "blaxploitation" films, how it generated that sense of how cool it was to live in Harlem when actuality, it wasn't what the movies depicted in reality and how some of today's has that same effect on kids.
Now, don't ask Ms Pettiford who's her favorite in any subject - from jazz vocalist to actor/actress because that would be like asking SouthSide who's her favorite band/artist, blogspot readers. She loves SO many people especially those she has the pleasure to work with as an actress and dancer that she felt she might not mention someone's name in the list. Yet she did mention a few names to SouthSide like Della Reese, Betty Davis, Viola Davis (of The Help) ...believe this reviewer - the list go have gone on and on. With Jazz being her "love" when it comes to music, she does enjoy the classics like Nancy Wilson to Ella Fitzgerald and Doris Day as well as the upcoming modern stuff and all other genres. When singing classics like Nancy Wilson, she hopes people feel what she's feeling when adding her own personal spin to a song (for example The Very Thought of You or Call Me)...also hoping it will inspire a "jazz dialogue" with others about how the music touches their soul. Here's where SouthSide got the extreme chance of stumping her interviewee when asking if there was one artist (living or past) she could collaborate on her next album whom would it be. One name did come to Ms Pettiford's mind - Prince. Her first love, believe it or not, blogspot readers, is Rock and says if having an opportunity, she would like to work with Prince because she feels her vocal style and tone is right for his music. Now that would be a very interesting album to review indeed - Ms Pettiford does rock with original songs written by Prince.
This led to SouthSide asking about her new album Velvet Sky and why a collection of lullabies after her debut jazz album - Hear My Soul. That, according to Ms Pettiford, was the brainchild of her ex-husband who came up with the idea of doing original lullabies. Soon, he started recruited writers Ron Abel, Chuck Steffan, Jamie Wooten and Michael Orland who came up with 13 songs and Tony Radar to produce the project. Ms Pettiford said the lullabies are designed to help new parents bond and build connections through music and play with their babies. The album features a fun song to help putting baby to sleep to some game play with their little ones. Yet there's one song near and dear to her heart titled - My Miracle and it's for parents who have been trying unsuccessfully to have a baby and then successfully having one. For her, it was emotionally heartfelt to sing this particular song. Blogspot readers should be on the lookout for this new album of lullabies in September ...a perfect gift for expecting or already parents of young toddlers.
Alas, time did fly by super fast when engaged in a lively chat with Ms Pettiford, blogspot readers, and it was time for SouthSide to wrap up another On The Town exclusive interview. In parting, this reviewer discussed about being in the "business" i.e. music and acting to which she stated "...I'm in the business because I love it..."
Tuesday, May 22, 2012
If you have kids in the age range of 2 to 5 years old, then you'll get the reference to a song that's now stuck inside SouthSide's head. On Saturday afternoon, she and her young daughter ventured deep into the heart of NATO protest "war zone" to cover a free kid's show at Record Breakers. This extra special in-store event featured the reggae/ska/soul band The Aggrolites (CA) performing their Yo Gabba Gabba hit, Banana (as well as others) before rockin' out an older crowd below.
The Aggrolites, taking time out to hang out with their much younger fanbase, rocked out Record Breakers in a mini semi-acoustic set just for the kiddies upstairs performing the Banana song (a Roy Ellis cover) within a rockin' reggae/ska/soul sound and music for everyone to enjoy. After munching on hot dogs and soda, the kids along with many of their parents sang this Yo Gabba Gabba tune while dancing to the island tempo beat. This reviewer liked this band's lively acoustic reggae sound and style featuring guitars (acoustic, banjo and bass) and a simple tom drum for that rhythmic beat even while in downtempo groove during this 30 minute performance. Though not performing from a ready-made set list for the kids, The Aggrolites did take requests to which they did other songs like Complicated Girl and Jimmy Jack for the adults in the audience as well as more kid songs - Work To Do (about climbing trees and being safe ...it's also cool counting song for the kids to learn about subtraction) and Free Time (which was featured in a film called Band Slam). The mini store performance concluded, blogspot readers, with a whimsical nursery rhymed song before having to say "goodbye" to their little fans.
SouthSide's friend Elle Quintana (who put this show as well as many others for Reggie's) is planning more shows like this one featuring other local artists/bands performing mini sets for the kids scheduled for near future.
Tonight at Reggie's Music Joint, it's a special pre-NATO rock show featuring the J-Pop/punk superheroes - Red, Yellow, Green, Pink and Silver of Peelander Z! They came to rescue Chicago fans from Mad Tiger and So Many Mike while rocking them with high engery of a fun punk/J-Pop/anime music combination. Yet with Peelander Z, it's more than just an ordinary rock show where you the audience simply watch them perform on stage. No, blogspot readers, you are part of the fun and action too. But before rockin' on planet Peelander Z, the crowd was treated to an epic performance of electronica/instrumental rock by Arc Impulse (http://www.arc-impulse.com). This local band powered their way with an exciting hour that featured renditions of video game themed songs from Zelda (2 and 3 included) Mario Cart as well as their own originals like Rainbow (a fantastical journey comprised of three songs rolled into one long epic masterpiece with some bars of Somewhere Over the Rainbow at the bridge). The electronic orchestra explosively filled the Music Joint with memorable gamer music, bursts of intense energy and momentum to the delight of the crowd especially when ending their show with a Rocky themed epic song.
They came from a distant planet in an uncharted galaxy far, far, far away called Peelander where everyone speaks Japanese, eats sushi and drinks saki, blogspot readers. And every so often, the colorful cast of anime-nated/punk musicians make perilous journey to Earth to whisk their Chicago (and elsewhere they roam) fans into the nether regions of the universe to experience a journey of music and fun. Peelander Z rocked out Reggie's Music Joint by incorporating the energy and sound of J-Pop with the intensity of punk rock and the action packed dazzle and fun of anime done live rolled into one hour of a performance. Yet, when you're having so much fun rockin' to songs So Many Mike, Mad Tiger and Lucha Libre (yes, it seems these "aliens" enjoy Mexican wrestling) like SouthSide was, it truly didn't feel such an amount of time had passed. Don't think just because the venue was a bit smaller that this band skimped on fun and excitement either. Peelander Z, though downscaling the rowdiness and action a little, still brought to their enthused fans everything that Peelander Z is known for. Whether it was participating in a group limbo line (how low can a group of adults go?) to jumping rope with Peelander band members and a Mad Squid ...or how about Mad Squid bowling and then baseball - there was something happening throughout this show. Believe SouthSide, all that and more happened inside this Southside venue, blogspot readers. There were moments of Red Z standing on the shoulders of a group of fans and then body surfing while playing his bass ...lucky fans rockin' stage on Peelander instruments and/or banging pans along with the band which truly intensified the crazy fun all around. Performing songs off their latest album, Space Vacation, Peelander Red, Yellow, Green, Pink and Silver also delighted their fanbase with favorites such as E-I-E-I-O, Learn Japanese and Ninja High Schooool (a retro rock-n-roll tune) as well as some new ones - Get Glasses, Space Vacation and Star Bowling. Still it wouldn't be a Peelander Z show without any mention of their favorite food to eat (besides sushi) like Taco Taco Tacos, Ice Cream! and S.T.E.A.K.(yes, there's a song about eating a medium-rare steak, blogspot readers!). Sadly, our journey had to come to an end but not before performing a goofy rendition of Cyndi Lauper's Girls Just Want Have Fun to Boys Just Want Have Fun. SouthSide highly recommends rockin' to the anime-punk style while doing some human bowling with SouthSide's friend Peelander Z. Visit this J-Pop/punk band at http://www.peelander-z.com.
Friday, May 18, 2012
Hey, blogspot readers, it's the bewitching hour and SouthSide's night has just begun! After rockin' part of with The Future Laureates at SubT in Wicker Park, it was now time to dance til dawn in the Wrigleyville/Lakeview area at Metro with the other fashionable vampires.
In its 23rd year, this monthly event hosted by friends William Faith and DJ Scary Lady Sarah (also of The Bellwether Syndicate) spun featured requests (by the Facebook Nocturna group members) from industrial, dubstep and emo to techno, metal and more. This local club scene is nothing like the club scene along River North area - no one's dressing impress another just yourself. Whether it may be a pirate to ALex DeLarge (a Clockwork Orange reference) or post-industrial or something you create yourself. It's nice watching the reactions from those hanging out at the bars on Clark Street while walking towards Metro on Saturday/Sunday morning. Dressing "weird" in black does tend to keep a few from bothering you, blogspot readers.
SouthSide knows they don't understand that everyday is Halloween. While at Nocturna, this reviewer did her usual people watching before hitting the dance floor - she loved the array of fashions strutting or dancing around Metro. This monthly "meetin" attracts people of all ages as well as racial backgrounds and beliefs ...it's more like a "safe haven" where no judges on how you're dressing or dancing. And if you want to show off your best industrial or metal dance moves, Nocturna is the event to do it especially at this local venue. Plenty of dance floor to show your fancy footwork while rockin' to tunes like a remix of The Smiths' How Soon Is Now, New Order's Blue Monday or SouthSide's request Cyanotic's Alt_Machines.
Tonight's event had friend VVasher VVoman passing out some of her vegan chocolat s'mores - yummy and of course, Sarah's cauldron of sweets to keep dancers recharged with sugar between dance breaks. Yet besides the music, Nocturna also features local artisans from Lunasol Arts (http://www.lunasolarts.com and also on Facebook) displaying their fine handcrafted Goth jewelry, neck pieces and more for sale. Lots of pretty things to accessorize your Dark Shadows like this year, blogspot readers.
SouthSide highly suggests spending a Saturday night with the local "vampires" of Nocturna at the next monthly meeting to dance until dawn.
"If you don't stick around for The Future Laureates, I'll wrestle you..."Cobalt and The Hired Guns
There's no other like your own mother ...so treat her right
Hey, blogspot readers, this busy mom's rockin' out her Saturday night with not one but TWO shows! Tonight, SouthSide's hitting the streets going to two hot spots within Chicago's vibrant local scene where she celebrated a record release and then danced with the fashionable vampires til sunrise. And what an exciting (as well as busy) night it was during this latest On The Town adventure. First, this reviewer rocked Wicker Park's other hippest venue (that was once a Capone spot complete with hidden access tunnels), SubT (or Subterranean) while attending CAUDog's show featuring the release of The Future Laureates' Fortress Sessions CD. This amazing venue boasts a "crow's nest" view of what's happend on the main floor especially if reviewing the night's lineup performing on stage or if you want to get away from the crowd below. That's where you can usually find SouthSide, blogspot readers, up in the balcony and tonight, she was alongside with her longtime friend, Michael Teach of Chicago Acoustic Underground (http://www.chicagoacousticunderground.net).
CAU is every music fan's source for original indie music from across the United States and around the world. Michael and his hardworking staffers connects fans to the artists and vice versa through podcasts as well as music downloads, CDs and sponsored shows like tonight's. CAU's shows has showcased some of the best from singer/songwriters to full bands rockin' the local stages around Chicago like Brian Walker, Crystal Bowersox, Goodbyehome, The Future Laureates and more. Saturday's show was a record for SubT and CAU - a near soldout crowd thanks to hard work of the bands promoting this particular show. Also on the lineup in support of The Future Laureates' big occasion was Tree and friend Cobalt and The Hired Guns. SouthSide highly suggests rockin' the ears to the hip sound of "new" country/rock by the band - Tree. Lead by a dynamic female vocalist on guitar, this reviewer enjoyed the way this lively group rocked and rolled the packed main floor with upbeat tempos, rhythmic music and vibrant bursts of energetic momentum. Their style of country-folk mix brought a taste of hot summertime fun to SubT on a rainy night which also had this crowd demanding one more song when Tree's set was finished.
Then, SouthSide's friend, Cobalt and The Hired Guns continued with the night's rockin' theme of fun during their performance of alternative/pop/rock featuring an array of instruments in the band set up. The lively rhythms off the cello (at times), horn section and digital programming added those moments of boisterious music to pop the band's core alternative sound alive and kicking. However tonight, Cobalt added a female vocalist to the mix to counter as well as complement Tom on main vocals during certain songs featured off their upcoming new album. SouthSide, though couldn't physically hear her sometimes since she was overshadowed by the music, liked how her dynamic voice had the right range to be paired with Tom's heartfelt falsetto style during one particular song featuring a ballad-love song. The touching sentiments in between pockets of energy even while at the bridge where the music was intense to match the song's mood and tone could be felt besides being heard. Yet watch out, blogspot readers, when Cobalt and The Hired Guns truly get into the party mood while performing Of Summer. There's a wave of electro-energy and momentum flowing across the stage and into the crowd as they kicked up the vibrant bursts of music amidst an eclectic mix of alternative/punk rock sound. Yet what really surprised this reviewer was the band's switch out of their comfort zone into trying to be a straight rock band. And yes, Cobalt can actually be and have an ordinary rock band and sound when premiering a new new song as a test on the audience. Sans the horns and cello ...even without the digital programming, this band proved they can still rock the stage like a hardcore guitar rock band which also opens the vocals more. You can feel the emotional spite and fire especially Tom sang "...you never called at all..." - it was powerful but dynamic tone that gave SouthSide some shivers. SouthSide suggests rockin' the ears to More Than You Know and Like You Like Me Like Me as well as seeing them perform live again at Metro during their CD release show on June 16. This show will also feature friends How Far To Austin, Midwest Hype and Band Called Catch ...it's going to be hot 18+ show, blogspot readers. For more information, visit http://www.cobaltandthehiredguns.com.
After introducing Ellis Clark (producer of many CAU Dog Records artists' albums including TFL's Fortress Sessions) to the crowd packing the main floor, Michael Teach then introduced the honored guests of the night - The Future Laureates, blogspot readers. Even before hitting one note, the band first honored their own moms and other moms as well as thanking everyone for out to the show. Then, finally - they got down to the business rockin' out their headlining show with a BANG of music that featured an Irish whiskey song (Moonshine) and guests musicians like Christina on violin and Joe Redman on guitar. SouthSide thoroughly enjoyed the vibrant bursts of TFL's momentous sound (and there were plenty, blogspot readers) that kept everyone whether they were crowding around the balcony or on the main floor deep within the band's alternative/pop sound. And not only does this band excite musically but also vocally as proven in the opener Galahad's Song which ended in a round robin-like of harmonizing vocals seperately then together. Even the crowd has their favorite TFL band member to which they started chanting "James" during certain songs like Escape From the Shadows (featuring his bass solo). SouthSide doesn't know where to begin to say about the band, its music and/or the show because there were SO many fantastic moments that happened ...and she's amazed that she was able to jot notes and rock out with them at the same time. To fair, she did pick a few highlights that she feels were special in her opinion. For example, when performing Carry Me Away and Kingston Blues, TFL wonderfully demonstrated their bluesy side of their music via a ukelele inside a downtempo groove and intense falsetto vocals. Both songs not only had them dancing a tiny jig here and there but also had many in the crowd joining in the fun alongwith them, blogspot readers. TFL boasts an infectious rhythmic beat and upbeat tempos that will instantly grab you especially when adding some pseudo ska into the rhythms (Kingston Blues). And then having the crowd doing reggae moves (how low can you go under the limbo bar), this record release turned into a wild party! The next highlight came when the audience of voices joined with the band during their cover of Tom Petty's American Girl. Though this wasn't the only moment where you heard the crowd singing (Creative Differences), SouthSide picked this moment because of the heartfelt vocals on the lyrics while in a livelier upbeat tempo than its original counterpart. Still it was something to witness when hearing 99% of the entire venue in one voice singing this classic Petty song shaking the chandelier rafters of SubT. You had to be there, blogspot readers, to see and hear this moment. The other audience participation moment came during Crooked Third Wheel and the special hand clapping at the intro of the song ...plus more sexy dancing on stage. This reviewer will stop right here - she doesn't want to give too much away about TFL and their show. She does recommend rockin' their next live show and snagging a copy of Fortress Sessions. For more information, visit http://www.thefuturelaureates.com.
Tuesday, May 15, 2012
Hey, blogspot readers, it's a rockin' Friday night party for SouthSide! She's lost somewhere inside crowd of Wicker's Park hip rock venue to celebrate with her friend, Jon Drake & The Shakes during their "unofficial" official release of their new album, Dear Ulysses (coming out May 29). This show, presented by Grape Juice Records, also featured other rockin' performances within the Americana/folk/alternative rock genre by Rachele Eve and Frontier Rucus with a special appearance by Glad Fanny. Upon arriving, this reviewer was able to enjoy the final half of Froniter Rucus (http://www.frontierruckus.com) which rocked the stage with a lively Country/Western as well as a modern Americana/folk twist off their new album Eternity of Dimming featuring the song Black Holes. This band incorporated a wide range of organic sounds and rhythms (i.e. trumpet, mandolin, etc) to wonderfully blend their core music into vibrant bursts of energetic momentum amidst the heartfelt falsetto vocals by front man Matthew(who's also songwriter / guitarist on harmonica and pedal steel). Frontier's songs do tend to get lyrically intense and dramatic but the band matches that intensity with the jamboree-like music for everyone to kick up their heels and dance. Hopefully, this band returns again for a full review of their next Chicago show.
Now, blogspot readers, it was time to shake, rattle and roll the local scene's only mini organic Americana/folk orchestra. Usually, SouthSide gets to enjoy rockin' out with her friend Jon Drake & The Shakes during their annual outdoor performance at the Taste of Chicago. However, it was a treat for her to see them rockin' inside a venue in front of a packed house of family, friends and fans attending their "unofficial" official release of Dear Ulysses. What a rockin' party it was inside the Double Door tonight. Never had she seen this band shakin' and rollin' song after song that they were ready to take this party to a whole new level (if had the chance) all night long. What SouthSide enjoyed about this extra long set was how this band kept the crowd wrapped inside their vibrant energy and momentum from the moment they stepped on stage until the very last. There wasn't a moment of dead lull between songs - Jon and band had this crowd wanting more of that rockin' Shakes sound. Passionately performing songs off their previous releases and new album, this release show featured just more than lively danceable tunes like Rattles and Snakes and Gustav and dark haunting ballads (i.e. Mary and Margie) but also at times spotlighted Jon's intense vocal performance amidist the Americana/folk rock music. Yet with Jon and The Shakes, expect a little something added to the core sound - it's infused with other genres to please the ear of any music type. For exmaple, during one particular song, this band rocked the stage with a lively country jamboree-like sound continuously bursting with fun and energy while a bit later, they surrounding the crowd with a hauntingly dark yet moody Blues ballad to draw out the emotions inside the lyrics after rockin' the crowd with a melodic tone to spotlight Jon's heartfelt vocal style. Yes, even being melodramatic tends to be a good things while rockin' with The Shakes, blogspot readers, since it wonderfully allows their music to encompass you deep within the rhythmic vibe and Jon's dynamic vocals. And like an orchestra, this band places it's bursts of music energy and lulls at the right moment to generate that excitable crowd reaction each time especially when each member is within that moment of intense passion while performing. In SouthSide's honest opinion, this show had to be one of Jon Drake and The Shakes' finest moment since reviewing them nearly two years ago. She highly recommends getting to know her friend as you shake and roll along with them. For more information, visit them at http://www.jondrakeandtheshakes.bandcamp.com.
Friday, May 11, 2012
Hey, blogspot readers, it's all about making those important connections and creating long-lasting friendships while networking with others.
That was the central theme for those who attended tonight's Music Conference Networking Reception held at Wicker Park's hip rock venue, Double Door. Sponsored by Yellow Phone and Double Door, this free event hosted by David Silbough, Phil Kosch, Scott Zid, Nate Arling and Doug Johnson was the prelude to the Yellow Phone Music Conference happening in downtown Milwaukee, WI during the weekend of Sept 6 - 9, 2012. This four-day conference will feature a gathering of talented artists and music professionals engaging in panel discussions as well as mentor sessions with experienced leaders of the music industry. It's Yellow Phone's goal to bring together career-oriented artists and postive, forward-thinking leaders within today's music business within the best qualities of a large industry conference yet downsizing them into a concentrated experience. And that's what this event allowed many indie/local artists and bands represented to do ...mingle and network with others artists/bands, music management and even SouthSide for a few hours. Musicians like friends Damon Ranger (of Blackbox), Ryan Powers and Lisa (of Dot Dot Dot) as well as White Pine Wolverines Band and music fans like Rick were among many to meet other likeminded individuals to share their love for music and the thriving scene happening around Chicago. Perhaps, blogspot readers, we might see future collaborations between artists and/or bands that were represented tonight. For more information about the Yellow Phone Music Conference, visit http://www.ypmc.com.
And speaking of music, this event also featured rare acoustic performances by singer/songwriters Garrett Burns, Mars Argo, Aly Jados and K. Serra featuring DJ sets by the female duo - Lewis & Clark who keep attendees in a dancing party mood between acts and throughout the event. Though missing first two acts of the night, SouthSide did arrive to hear her friend Aly Jados rock the stage with a powerfully dynamic performance of intense female vocals.
Her heartfelt vocal tone truly touched the heart and soul, blogspot readers, especially during her opening song, City of Angels, where she vividly set the stage for an ear-popping sound of acoustic guitar rhythms and voice wonderfully matched together. Even while in a downtempo rhythm, Aly made the audience feel each heartfelt emotion within a fiery spirit sung off the lyrics to Secret Song but on the flipside, she kicked the soulful vocal tone up a notch or two to really hit the audience with some raw powress over the mic. With the acoustic tempo slightly matching her voice, you could still feel that fire dynamically popping the words to life especially when she said "...you make me feel...". Yes, this reviewer was definitely feeling what she was feeling. Performing other originals such as Helpless and It Is What It Is (both featuring more of Aly's raw yet soulfully dynamic voice), the true highlight of the night was her rendition of Alanis Morissette's You Oughta Know ...and all this reviewer can say after hearing her sing this cover - Damn, girl. Aly must have dredged up years of past relationships gone horribly bad to really knock the audience off their feet with such venomous vocal spite and angst ever to rock the mic. Between watching her facial expression and hearing her sing, you totally felt her frustration vividly expressed throughout each single word, blogspot readers. It was that intense. Aly will be performing again at Hard Rock Cafe on Monday May 14 as part of a special singer/songwriter night. Visit her at http://www.alyjados.com for more music and information.
Before calling it night, SouthSide was able to check out a part of K. Serra's (http://www.kserramusic.com) performance to which she performed a haunting yet melodic version of Jefferson Airplane's Somebody To Love. This reviewer enjoyed the organic essence feature through her percussion drumming amidst a soothing floetry of electronica music and her powerful vocals thus creating one intense spirit and energy from this rockin' combination. Hopefully SouthSide is able to review this artist for an upcoming On The Town review.
Hey, blogspot readers, nursing a "day after Cinco de Derby" hangover during this stormy Sunday On The Town adventure. This local party gal had the strength to rock another night inside Wicker Park's hip venue, Double Door to see her new friend Wildlife Control (NY-CA) performing on stage. She highly suggests checking out this local band who went on before Wildlife known as Brownie Mountain (http://www.browniemountain.bandcamp.com) for the eclectic mesh of punk/experimental within their instrumental rock sound. This lively quartet of musicians rocked the stage with such vibrant energy and momentum to match while coupled inside intense guitar riffs and percussion rhythms. This combination popped the ears with plenty of rockin' music foung in epic-like pieces cleverly titled Tip of the Iceberg (a song about touching tits) and Country Pop Hits #1. What this reviewer enjoyed the most about Brownie Mountain was their whimsical yet catchy song titles like Well Butter My Butt And Call Me A Biscuit or Jorge Wants To Go Hardcore But His Mom Won't Let Him which had her wondering what the thought process was behind some of them. In the end, SouthSide still enjoyed the wild and crazy guitar intensity as heard in Brownie's closing song that featured a climatic finish almost sounding like an experimental version to Issac Hayes' ending to Shaft.
This brotherly duo, though living on opposite ends of the US coast, rocked the Double Door stage with a taste of summer within a contemporary/alternative pop sound to lift up everyone's soggy Sunday evening. SouthSide highly suggests checking out her friend Wildlife Control for this duo's burst of that vibrant summertime feel and sound paired with dynamically heartfelt vocals and contemporary piano rhythms. This reviewer enjoyed the refreshing vibe wafting throughout the venue as well as energetic momentum that sounded like a four-piece band rather than two musicians on stage especially during the opening song. Rockin' the stage with songs off Wildlife's current album - Spin, this band energized the Sunday night audience with a strong display of falsettos amidst an upbeat tempo as heard in Analog or Digital, Disguise and the title track, Spin. Blogspot readers will like how the piano rhythms added a certain amount of intensity to the duo's music besides a melodic flow of contemporary pop sound especially when wonderfully paired with a retro rock-n-roll guitar riff (as heard in Analog or Digital). In this particular song, SouthSide liked the energy felt and heard throughout the rhythmic tempo which had some in the audience dancing to the excitable beat. Even when taking that same energy and tempo down a bit, Wildlife continued maintaining that melodic piano rhythm before gradually upping the tempo again for another round of danceable beat. And, ladies, if lucky, you might be chosen to join them on stage for a quick spin around the floor. SouthSide also suggests checking out Wildlife's heartfelt single, People Change that rocked out their Chicago appearance with a bang, blogspot readers. For more information about Wildlife Control, visit them at http://www.wildlifectrl.com.
Thursday, May 10, 2012
Feliz Cinco de Derby Day, blogspot readers! It's a calendar rarity to be sipping on delicious mint juleps while listening to the local mariachi band playing on the same day for this rockin' Saturday night adventure. Tonight, SouthSide's celebrating I'll Have Another's derby win (she bet on the wrong horse) and the Mexican holiday at Lakeview's hip locale for national and indie acts, Elbo Room with her krazy guitar rock band friend, Kazy. And believe this reviewer, this local band will rock you krazy Kazy-style!
Kazy rocked the Elbo Room stage with a hardcore mesh of fierce guitar rock, lyrical hip hop verse (at times) with some screamo and more that features an electric violin used as the fourth guitar. They will get and keep you deeply immersed inside the intense Kazy rock madness from the first vibration of the electric chord until the very last has died. Don't expect, blogspot readers, for the band's sound to miss a beat in between. This type of "new" rock music and its blend of other genres is what currently thriving within Chicago's local scene and Kazy like Earthen Grave (another local band featuring violinist Rachel Barton Pine) has certainly tapped into this music market.
After opening with a rockin' bang of a song, Hooks, SouthSide was instantly hooked onto Kazy's wild style of maddening guitar riffs, furious tempos (sometimes coupled with a "soft" or somber intro - don't be fooled by that), thunderous percussion rhythms and extreme vocals that can scream emotional anguish as well as spin fast lyrical verse (done by front man Rich). This awesome combination, blogspot readers, created one powerful intensifying rock experience for the audience tonight where they literally felt the energy and sound wafting throughout the basement lounge not just hearing it. There were moments during Kazy's set when you saw how intense their krazy maddness inside the music could get from the way each band member tore up the stage which left no inch of it untouched especially when performing songs like LFL and Blown.
SouthSide highly suggests rockin' the ears to the following (in no particular order) like Choke for its combination of a "soft" lull before being smacked with the extreme intensity of music and vocals at the same time. Front man Rich made the ears bleed from his emotional anguish and pain while the band matched his vocal style note for note. Gamers should recognize this song title since it's featured in the popular video games Scarface and Zombie Strippers. Also she suggests feeling the pulsating heat of the hardcore guitar sound as well as heartfelt angst off the lyrics during Goodbye. Though the vocals were overshadowed by the loudness of the guitars, this reviewer still felt his vocal emotions via the intense sound wafting around the stage. And if you really want to see some intense moments while Kazy performs, blogspot readers, check out their live performance of the new song Violate. WOW - that's all SouthSide can say when hearing this song. She enjoyed the extreme lyrical hip hop vibe within the vocals which were matched with Rich's intense screamo at the chorus as well as the build up towards the bridge where Kazy hits you from all sides with their guitar rock. Yes, this latest song did more than violate the ears - it brutally assualted them within the extreme rock fusion to the delight of their audience before howling at the Super Moon with closer Wolf.
SouthSide highly suggests rockin' your maddening love for krazy guitar rock with her friend Kazy at their next show. For more information, visit Kazy at http://www.kazymusic.com.
Tuesday, May 8, 2012
"...I would like to dedicate this set to MCA (Adam Yauch of The Beastie Boys)..."
Hey, blogspot readers, the music world was deeply saddened by the sudden passing of newly (Rock-N-Roll) Hall of Fame inductee Adam "MCA" Yauch which put a tiny damper on this year's Cinco de Mayo-Derby festivities. However, SouthSide wholeheartedly believed Adam wouldn't approve of tears and sad eyes ruining the fight for our right to party while attending a celebratory moment at The Hideout Inn. Placed in an obsecure locale within the heart of an industrial park of Chicago, this legendary music venue (once home to Wilco shows) was definitely in the party mood despite the news of the day as fans crowded inside to celebrate The Damn Choir's sophomoric release of You're My Secret Called Fire. Assisting this local band with their fun and celebration was friend Paper Thick Walls and Kingsley Flood (http://www.kingsleyflood.com) from Boston, MA.
Though missing most of Kingsley's performance, SouthSide arrived at The Hideout Inn in time to catch the final few minutes of their rockin' set, blogspot readers. Yet it was enought to get this reviewer swept into the party mood due to this band's vibrantly explosive mix of gypsy-Americana / pop alternative sound with some hot Brit rhythmic groove (off the keyboard). SouthSide liked the hip sound wafting throughout the packed venue in the back as the upbeat swing had many dancing to the beat especially during the closing song - I Don't Wanna Go Home. Currently on tour, this reviewer highly suggests checking out Kingsley Flood ...hopefully they'll return to Chicago soon for another show (or two).
The last time SouthSide had a chance to rock this band, it was last year at the same venue for their CD release show. Tonight, one year later, she once again enjoyed hearing a few selections by Paper Thick Walls off their A Thousand Novels CD in which continued with the central theme of groovy-licious vibe and music. SouthSide's friend rocked the stage with another solid outting by featuring heartfelt vocal combination from the duo Eric (also on guitar) and Kate (on piano/trumpet) as well as melodic Americana/folk sound. Besides like the somber-like opening to kick off the set, this reviewer enjoyed the gradual crescendo rise to up the tempo and sound til exploding the ears to a boisterious music and vivid emotions within the vocals. At times the music alone, blogspot readers, was amazingly intense as well as haunting amidst the imagery flowing from the lyrics. Paper Thick Walls wonderfully combined such elements of sound and vocals to create a floetry of explosively vibrant set of music paired well to dynamically expressive voices popping the words to life during each song. The intensity definitely fueled this lively group's energetic momentum at the right moments for dramatic emphasis in which the music matched note for note. SouthSide suggests listening to the following songs (in no particular order) - Desolate Place (for its dream-like imagery set inside a haunting combination of storytelling-ballad style), Overgrown (featuring a rockin' violin rhythms to give an upbeat Americana/folk sound and tempo) and White Flags (a fun tune about telling your boss to "take this job and shove it" where you can vividly feel Eric's angst and frustration besides hearing it). Plus she suggests checking out Potrait, Orange Tree, Masters of the Sea and the title track A Thousand Novels off the album. For more information about Paper Thick Walls, visit http://www.paperthickwalls.com.
Amidst a thunderous boom of sound which instantly grabbed everyone's attention, The Damn Choir made their grand entrance to kick off their celebratory occasion with an intense rockin' bang, blogspot readers. This band wasted no time impressing this reviewer with a strong showing of heartfelt vocals amidst their Americana/folk sound but that was the prelude to what she heard next. POW! This band explosively shook the venue (and the ears) with a thunderous boomer of intense music especially during their opening song before ending with a calming lull. The Damn Choir playfully teased the crowded room with such antics - thinking one minute it's merely a soft toned song or sound to the tempo yet on the other hand, the band pulled something completely different throwing you off a little. Even the instrumental bridges were filled with intense momentum in which you saw each member (including the Jack in the banana suit on percussions) passionately performed while on stage. SouthSide enjoyed the tiny surprises that occurred throughout their performance not knowing where Gordion and others were taking her. The intensity wasn't just contained to their Americana/folk side, blogspot readers. It was also demonstrated within their pop side that featured a pseudo religious theme laced inside the lyrics while switching between a reverently rhythmic tempo and excitable melody before wowing the crowd with a huge finish (as heard in Creatures of Heaven). Or feel that steady percussion march during another particular song which had SouthSide trying her best to keep up with the sudden riff/chord changes. There was vividness not only in the music but also in the vocals (by Gordon and Katy) to make the lyrical words pop to life with flowing imagery especially while singing Ghost Spit and Road Noah. However SouthSide suggests checking out The Damn Choir's new song where Gordon truly displayed the heartfelt emotions in his falsetto vocals before really wowing the crowd with their rendition of The Cure's Just Like Heaven. It was so emotionally heartfelt that SouthSide was able to forget about Rob Smith's emo-like voice for a moment to enjoy how this band flipped this classic 80s song into something less dark and more upbeat within an Americana/folk sound but keeping some emo darkness to the tone. SouthSide highly suggests blogspot readers getting to know her new friend, The Damn Choir at their next show. For more information about this band, visit http://www.thedamnchoir.com.
Friday, May 4, 2012
Hey, blogspot readers, it's to rock! Now that winter is finally over, bands near and far will be dusting off their traveling wheels to hit a venue (or two) near you. SouthSide has the scoop of when and where some of her friends are touring and/or rockin' a music fest.
SouthSide's good friend Papadosio is currently roaming the roam during the month of May as well as during the summer part of their Awake Inside tour part 2 (also see Rootwire info below). After rockin' Covington, KY last night, they are headed to Floyd, VA where they will be performing at Madison Theater tonight then it's off to Richmond where they will be celebrating Cinco de Mayo at The National. Other May dates include May 19 in High Bridge Hills, WI where they be performing at Trillium Connect Festival and May 31 in Ozark, AR at Wakarusa. For more tour dates and event ticket information, visit the band's Facebook site at http://www.facebook.com/papadosio.
Also roaming the roam this month, SouthSide's CA friend Warner Drive! Starting off in Atascadero, CA rockin' Camozzi’s, the guys are headed to Citrus Heights, CA where they will at Shakers Pub tonight and in Portland, OR at Tiger Bar tomorrow. Other dates and places include, May 6 in Seattle, WA at The Central, May 7 in Boise, ID at Liquid and May 9 in Ogden, UT at The Basement. Chicago fans can catch Warner Drive rockin' the Elbo Room on Mother Day's night (May 13th) at Elbo Room. LA fans should attend their welcome home show scheduled for June 1 at The Roxy Theater. For more information about their schedule, visit the band's Facebook site at http://www.facebook.com/warnerdriveofficial.
Local friend Voice of Addiction are hitting the road too rockin' the east coast, blogspot readers. They will be in Detriot (tonight) and Howell (tomorrow), MI performing an ALL-AGES show at both places as well as performing a few FREE shows in Ohio ...even a FREE show in New York City before returning to Chicago for their Wrecking Ball Fest NATO Smash-up show. For more tour, venue, and ticket information, visit the band's site at http://www.VoiceOfAddiction.com.
Steven Mullan is rockin' the road with FREE shows starting tomorrow night in Plymouth, MI at Plymouth Coffee Bean (all-ages show) with a full band featuring SugarSpell and Angela Puzzuoli performing too. Other dates and places include May 12 at Claddagh Irish Pub in Toledo, OH (all-ages show) and May 18 at AJ's Doolittles in Lambertville, MI (all-ages show). Visit his site, http://www.stevenmullan.com/shows for more information and tour dates.
Rockin' The Abbey Pub (located on Grace and Elston), is the Stranger Danger Music Fest 2012 on June 23 and 24. TWO solid days of music and passes ($30) are on sale until May 7! Then, on May 8th - single day tix ($25) will go on sale. The lineup will feature friend Strange Arrangement doing 2 sets on opening night along with other friends Ultraviolet Hippopotamus, Old Shoe, Fresh Hops, Spare Parts, Mos Scoscious as well as DrFameus (Allen of Disco Biscuits), My Boy Elroy (of Digital Tape Machine), Jacob Fred Jazz Odyssey's, Sexfist and many more. Day two will feature friends Fifth World and Shapes & Colors along with Bonzo Terks, Wook, Freek Johnson, Young General and more. For more information, visit http://www.strangement.com.
Hey, check out this fest happening on the weekend of August 16 - 19, 2012 in Logan, OH - Rootwire Festival. What is Rootwire? It's simply an environment designed from the ground up designed to inspire and enlighten but created entirely by those in attendance. It is an attempt to re-instill the values of the original psychedelic movement as well as to transform society. Also, to banish the pitfalls of today's modern music festivals which are funded by corporations solely for profit. Besides featuring live music on three (3) stages, Rootwire 2k12 will also feature Visual, and Performance Art of the Nations Greatest Visionary Masters. Plus - Massive Circus Tent, Visionary Art Gallery, Art installations, Guided Meditations, Yoga, and Ceremonies, Forums and Live Speakers, Film viewings, Woodland Lighting, Wooded camping, Workshops and Lessons, and much much more. And so far, the organizers have released the lineup for round which will feature SouthSide's good friend Papadosio performing 3 hot sets, blogspot readers. The other acts in the lineup look solid too - Ott, Random Rab, Dopapod, Phutureprimitive, Rising Appalachia, Chris Dyer, Govinda, Bird of Prey, Geoglyphiks, pH Factor ...just to give you a sample who will be there. To learn more about the lineup thus far and ticket information, check out http://www.rootwirefestival.com.
And lastly, SouthSide highly recommends blogspot readers reserving the last Saturday in August - August 25 for I AM Fest. This local one-day fest (now in it's 4 year) will be held at Chicago's legendary House of Blues. More information about the lineup and more will posted here as it comes to SouthSide's desk.
Thursday, May 3, 2012
Hey, blogspot readers, it's a rockin' Friday night to close out SouthSide's April calendar. Tonight, she's at the hip Northcenter area checking out the action and music inside Martyrs' where friend Derek Nelson and The Musicians were performing.
And what a rockin' hoedown-like performance did this Americana/folk rock band did in front of a near sell-out crowd. Derek Nelson and his band gave their fans (as well as new fans) something to get happy throughout the the set featuring hot electric violin rhtyhms and guitar riffs (including a lap steel guitar), eclectic upbeat tempos and a dynamic vocal combination that melted the mic. After opening with American, this local group of musicians began the task of keeping everyone within that groovy music feeling under such lively rhythms and beats to get your body swaying to the Americana/folk sound. There was no avoiding it either, blogspot readers. The energy felt (especially during songs This Time) kept many enjoying the uplifting vibe yet while performing Storm, SouthSide literally felt the sensation of a coming thunderstorm from the way the music and sound personified it. She could feel the static electricity heating up as the music crescendo to the point when it suddenly (and unexpectedly) meshes and clashes together like a hard summer rainstorm ...complete with tornado winds and more.
During another particular song, the crowd was rocked to the organic vibe of country/folk featuring a mandolin inside the fun tempo to which Derek Nelson and the band began a mini jamboree on stage. SouthSide highly suggests checking out the soulful yet gospel-like vibe of Darlin that truly had folks around this reviewer dancing up a storm. To her it was the highlight of their performance due to the band's ability to pop out of their "normal" mold exciting the crowd with vibrant energy musicially and vocally with a fiery spirit to bring the lyrics to life. Still there were a couple of moments within Derek's show where you could see as well as hear the heartfelt emotions pouring from the lyrics, blogspot readers. In one particular song Sayanora, the vocals within this ballad tone allowed Derek and his dynamic falsetto shine amidst a slight upbeat tempo but it was during Jesus when he really showed off his vocal style. Though a little darker than the others, one could hear the emotional heartache and angst vividly expressed in his voice while sensing the tenderest of all his feelings. SouthSide enjoyed how his female vocalist counterpart besides matching his vocal style also complimented his dynamic energy and soulful sound as heard in songs Come and Wait and closing song Ghosts (where Derek and the band rocked out Martyrs').
If you missed this hot performance, not to worry, blogspot readers. Derek Nelson and The Musicians will be rocking the stage again at The Hideout on May 11 for Machinegun Mojo's farewell show. For more information, visit http://www.dereknelsonmusic.com.
Tuesday, May 1, 2012
Hey, blogspot readers, May promises to be one rockin' month of fun and excitement as the summer fest and events season gradually approaches around town as well as in other places. SouthSide highly suggests checking out this month-long happenings. Please note most shows/events are 21+ unless noted.
May 2 @ The Southern - MS Walk Foundation event
Come out and support the "Lean On Me" team at this charity event as they prepare to walk at this year's MS Walk on Sunday, May 6. Enjoy 20% off drinks all night and try the complimentary appetitizers from 7 to 8p
$5 suggested donation - all proceeds goes to "Lean On Me" MS Walk fundraising goal
@ Bobby McGee's (located in Chicago Ridge, IL)
Cheer on SouthSide's friend Bambi Raptor as they chomp on the competition in the Road to Inkfest finals.
Good luck, Roger and the guys!
May 3 @ Beat Kitchen
Friend Bad Bad Meow will be clawing and rockin' the stage along with Harrow, Cousin Dud and Joe Messing & The Wisemen (headlining)
$8
May 4 @ The End (located in Nashville, TN)
Friend The Great Barrier Reefs will be rockin' the stage featuring other performances by Deep Machine and Fat Box
@ The Hideout
Friend That Damn Choir will be having their record release show featuring other friend, Paper Thick Walls opening
@ Martyrs'
Friend Bassel & The Supernaturals along with 56 Hope Road will be rockin' the stage there
@ Camp Fire Lake (located in Charleston, IL)
It's the Gathering of the Tribes - Music & Arts Fest! This two-day fest (during EIU graduation activities) will feature bands like friend Digeometric, Indigo Son and Spread (on May 4) and Smash, J Boozer and Pleasant Drive (on May 5) ...and many more acts.
May 5 @ Daley Plaza
Besides it being Cinco de Mayo, join General Patton and many others marching around noon - carrying signs, making noise and more during this peaceful march on World Marjuana Day. There will be performances by Jah Illumanti, Congo, THC (Taking Hits Constantly) as well as the General himself plus speakers.
May 6 @ River Rock House (located in St. Charles, IL)
Fundraising concert event for Autism presented by Team Awesometism. This family-friendly day-long concert will feature local bands like Lincoln Don't Lie, Spyderbone, Rock Boxx, Yourz Truly, Betty Might Band and more. All proceeds of this event will support the team in their Walk for Autism Speaks goal!
$10 suggested donation / $5 for raffle tix
May 7 @ Double Door
It's the Music Conference Networking Reception presented by Double Door and Yellow Phone Music ...hosted by David Silbough, Phil Kosch, Scott Zid, Nate Arling and Doug Johnson. Come out and network with other artists/musicians as well as those in the (music) business at this special FREE event. Music performances by Mars Argo, Aly Jados, Garrett Burns with a DJ set by Lewis & Clark
May 8 @ THE NYU SKIRBALL CENTER
It's the last Intelligence Squared Debate of the season - BAN COLLEGE FOOTBALL. This should be a VERY hot topic, blogspot readers, which will feature MALCOLM GLADWELL (The New Yorker Staff Writer), TIM GREEN (Former NFL Defensive End and Football Broadcaster), BUZZ BISSINGER (Pulitzer Prize-Winning Journalist &
Author, Friday Night Lights) and JASON WHITLOCK (FOXSports.com National Columnist) taking sides for and against the motion while exploring the following issues - Are football programs’ millions in profits exploitation? Or are they still a celebration of amateur sport? Does football’s inherent danger and violence have any place in institutions of higher learning? Or does it provide young men with educational opportunities they would not otherwise have? Pick a side and join in the debate!
May 10 @ WZRD Chicago (88.3 FM)
Check out the one and only America's Got Talent contestant and world famous throat wabbler (and SouthSide's friend) Sid Yiddish on Thursday Night Live at 9:30p
@ Cubby Bear
Hey, funkateers, join others living in One Nation Under A Groove while rockin' to Flashlight and We Got The Funk with George Clinton and Parliament Funkadelic. Should be ONE hot funky time!
@ The Varsity Theater (located in Baton Rouge, LA)
Rock out at Meriwether's "Save Our Souls" EP release show featuring Side A's The Flame release along with the American Tragedy, The Hitchhiker and Jason Martin
$10 adv / $12 dos
@ Tilted Kilt Elgin and The Highlands Music Lounge
Check out friends Paragon and Persistence of Memory rockin' the stage with Dropped Once
@Tiger O'Stylies (located in Berwyn)
Friends Skinwalker and Spyderbone rocks the stage along with Ormaco and Wake Up Call
@ The Hideout
It's sad to say "good bye" to a dear friend but after nearly 4 years, blogspot readers, Machinegun Mojo is temporarily suspending the mojo to take an indefinite hiatus from the music scene. Helping them with the happy send off party is friend Derek Nelson & The Musicians and Saint Anyway.
May 12 @ Replica Chicago
Attend the MEGA grand opening of Replica Chicago's actual storefront location at 4425 N. Milwaukee in Chicago and check out the shirts, hoodies, buttons and more in stock!
Support local art and artists!
@ The Observatory (located 3036 N. Lincoln on the 4th flr)
It's Spy's Speakeasy at the most secretive bar no one knows about (until now) featuring some of Chicago's finest up and coming musical acts.
@ Lily's
Friend Nate Z will be performing solo on electric guitar which will include songs off his upcoming album including Lake To The Moon (SouthSide highly recommends checking out the You Tube video which features this reviewer in it)
May 13 @ The Exit
Celebrate Mother's Day night with Mom at this legendary biker/punk/metal bar with Taran and Hugo of Skinwalker now that they have a DJ gig! Who knows what they will spin on that night.
@ Elbo Room
Patti Rain will be rockin the stage on the eve of Chicago's hosting the NATO Summit Conference
May 19 @ Record Breakers (upstairs at Reggie's)
The Aggrolites will be performing a special FREE kids show which will feature their Yo Gabba Gabba song - Banana (as well as a few others). FREE refreshments of hot dogs and soda will be served.
May 29 @ Double Door
Check out this $1 show featuring friend Chaperone, Torch Singers, Elusive Parallelograms and Rabbit Children
Also - snag a copy of Portland's (OR) Cafeteria Dance Fever's Danceology ...check out the song Swimming Pool
May 30 @ Double Door
Rock with the awesomest Hippo of the music scene - that would be Ultra Violet Hippopotamus, blogspot readers, featuring The Blackbox Revelation and Fresh Hops in the lineup
$8 adv / $10 dos
May 31 @ 2nd Cousins Bar & Grill (located in Loves Park, IL)
Rock with friend Trip Effect at this early (5:30p) show
Hey, blogspot readers and band/artists/musicians, this information was given to SouthSide if you're wondering about the booking policies at Elbo Room.
Read very carefully...and have a good show!
Booking at Elbo Room…
[COCKTAIL LOUNGE BOOKING]
If you are an ACOUSTIC SOLO ACT, ACOUSTIC DUO, ACOUSTIC BAND with no
drumset (aux percussion is fine)… please contact KAYLA as she
handles all the bookings for this genre and our cocktail lounge. You
get 100% of what you draw at the door with no production taken out:
KAYLA@elboroomLIVE.com
[LOCAL MUSIC SHOWCASE BOOKING]
NEW ACTS/BANDS are asked to come to the IN-HOUSE AUDITION NIGHT @
ELBO ROOM every Wednesday. ALL GENRES ARE WELCOMED! SOLO ACTS TO FULL
BANDS, SINGER SONGWRITER TO REGGAE TO HIP HOP TO BLUES TO ROCK and
more. We just ask that your material is ORIGINAL! We supply a full
backline, stage, lights, sound. You are asked to play 3 songs for a
FREE SHOW/NO COVER. If you are able to bring 20 people to see you, we
will give you an opening slot on a weekend. If you bring 30 or more
people, you will get your own weekend showcase. For more information
or to sign up for a DATE, please contact Matthew Alfano:
Aflano@elboroomlive.com
[I AM FEST BOOKING]
If you are interested in playing the festival that ELBO ROOM
produces: I AM FEST (www.IAMFEST.com [4]). This will be SAT AUG 25TH
AT HOUSE OF BLUES IN CHICAGO, please e-mail both Steph and Kayla for
more information: STEPH@elboroomLIVE.com [5] | ayla@elboroomlive.com
[MAIN ROOM BOOKING]
VIA BRIAN@ELBOROOMLIVE.COM | Here is the new format we are
doing for the main room:
SUNDAYS MAIN ROOM: ORIGINAL [NO HIP HOP/R&B/METAL]
MONDAYS MAIN ROOM: CLOSED | ROOM RENTAL $600
TUESDAYS MAIN ROOM: CLOSED | ROOM RENTAL $600
WEDNESDAYS MAIN ROOM: LOCAL MUSIC SHOWCASE | ALFANO@ELBOROOMLIVE.COM
THURSDAYS MAIN ROOM: [NO HIP HOP/R">VENUE (DOWNSTAIRS LIVE ROOM)
We got some open dates (some being last minute cancellations) that we
are trying to fill up. Review the dates and let me know which ones
you would be interested in. First come first served so please give a
couple dates you are interested in to avoid going back and forth (2-5
choices would be great). If you know of any other bands or artists
that would be a good fit as well, please feel free to forward them
this e-mail:
Here are the open dates, slot position and expected draw we have
available at this time....
If you do not see a date listed above or looking for JULY and beyond,
we are not booking it at this time and you can check back in 2-3 weeks
to see if something opens up. If you have a Chicago 21+ draw of 50 or
more and have references from other clubs (ie: Phil @ Double Door,
Emily @ Hard Rock, Brendon @ Reggies, Matt @ Schubas/Lincoln Hall,
Bruce @ Empty Bottle, etc) please e-mail us the date you played there,
your draw and who you booked the show with. We will follow up with
them and work with you on a weekend showcase date.
*************************************
[IMPORTANT]
UNDER AGED BAND MEMBERS: This is a 21+ show and everybody must have a
VALID ID to gain entry. If a member of your band is under 21, ELBO
ROOM needs to know via E-MAIL to BRIAN BENDER | Brian@elboroomLIVE.com
[9] These band members must be PERFORMING ON
STAGE in order to be in the club. UNDER AGED BAND MEMBERS are not
allowed in the club before or after their set with NO EXCEPTIONS. It
is important that when you book a show with an UNDER AGED BAND MEMBER
to notify BRIAN BENDER so you can play the beginning of the night. ALL
BAND MEMBERS will check in with the door guy before doors open and
UNDER AGED BAND MEMBERS will get marked and asked to leave the club
before their set. FANS, GROUPIES, MERCH CHICKS, CHILDREN, RECORDING /
VIDEO / PHOTOGRAPHY PEOPLE, ETC. cannot be in the club if they are
under the age of 21. NO EXCEPTIONS.
DRAW: Bands performing in the VENUE are asked to draw a minimum of 10
people to ensure production is covered and the band is able to make
money for their performance. It does no good for the club and no good
for the band if there is nobody in the venue. This is not a rehearsal
space; it is a live music venue. 1st time bands start on a weekday,
then move to a Thursday and then a weekend show based on their draw.
Artists performing in the COCKTAIL LOUNGE are asked to try their best
to draw. There is no production cost for this stage so the artist will
get 100% of what they pull at the door.
Followers
About Me
Who is SouthSide?
Well, she's Chicago's only partyin' local scene queen who covers (mostly) everything that's rockin' a venue, fest, art show and more for over a decade. And was at one time photographed as one of Chicago's Very Own (WGN-TV's ad campaign).
She enjoys hanging out with bands from around town as well as nationally and internationally ...plus has interviewed many famous rock icons like Don Brewer, Rudy Sarzo, V Is For Villains, Nate Z, Valerie Pettiford, Emilio Castillo and more.
She has met and reviewed bands like The Parlotones (from South Africa), Lenhen (from Austria), Chateau Marmont (from France), 30 Seconds to Mars, Tower of Power, Lucid Ground, Grand Funk Railroad, The Polkaholics and many, many more.
She hopes you enjoy reading about her adventures in this blog as much as she has experienced them. | {
"pile_set_name": "Pile-CC"
} |
Early development of new cardiovascular risk factors in the systemic vasculitides.
To analyse the frequency and predictors of new-onset cardiovascular (CV) risk factors in patients with anti-neutrophil cytoplasm antibody (ANCA)-associated vasculitis (AAV) and giant cell arteritis (GCA). We analysed the frequency and predictors of new-onset hypertension and/or diabetes mellitus (HTN/DM) amongst patients with AAV or GCA recruited in the Diagnostic and Classification of Vasculitis (DCVAS) study. Patients with pre-existing HTN/DM were excluded. We included 873 patients with AAV (506 GPA, 183 MPA, 184 EGPA), and 443 with GCA. Patients with GCA were more likely female (68% vs. 52%; p<0.001) and older (71.33±8.65 vs. 52.80±16.48; p<0.001) compared to patients with AAV. HTN/DM developed within 6 months of diagnosis in 9% of patients with AAV (6% in GPA, 21% in MPA, 3% in EGPA) and 6% of patients with GCA, p=0.15. Rise in creatinine/reduced glomerular filtration rate and/or anaemia (OR 3.98, 95% CI 2.09-7.59, p<0.001) and diagnosis (MPA: OR 2.42, 95%CI 1.52-3.83, p<0.001 and GCA: OR 2.12, 95%CI 1.34-3.38, p=0.001 vs. GPA) were significantly associated with the occurrence of HTN/DM after adjusting for age, sex, ethnicity, and smoking status. We developed and validated a predictive score to discriminate patients according to the risk of developing HTN/DM within 6 months from diagnosis. Despite different epidemiological and clinical characteristics, new CV risk factors occur equally in the early stages of AAV and GCA. Renal function and type of diagnosis are associated with the occurrence of HTN/DM. We developed a simple predictive score for the risk-stratification of patients. | {
"pile_set_name": "PubMed Abstracts"
} |
Customer Reviews
Gold dust
by
Alexandros Mediterraneo
Gold dustSo simple....., SO beautiful
Biography
Born: London, England
Genre: Pop
Years Active: '00s, '10s
Influenced by the classic songwriting of John Martyn, Scott Walker, and Serge Gainsbourg, London-born Jonathan Jeremiah's authentic timeless sound combines gritty acoustic R&B with folk-tinged soul. Born in London to an Anglo-Indian father and Irish Catholic mother, he began performing at the age of 14 after developing a deep rich baritone voice. During a road trip across America, he started writing songs in between journey stops and landed a job playing the piano in a New York bar, influencing his... | {
"pile_set_name": "Pile-CC"
} |
Theodore Pitcairn
Theodore Pitcairn (November 5, 1893 – December 17, 1973) the son of PPG Industries founder John Pitcairn, was a clergyman, theologian, philanthropist, and connoisseur of the arts and antiquities.
Early life and education
Born in Philadelphia, Pennsylvania, on November 5, 1893, he was the fourth son and fifth child of John and Gertrude Pitcairn.The family moved from Philadelphia to their newly built home, Cairnwood, in Huntingdon Valley in 1895. Pitcairn spent his early school years in the Bryn Athyn parish schools of the General Church of the New Jerusalem, which follows the teachings of Emanuel Swedenborg. He received his high school diploma from the Academy of the New Church Boys College in 1913. After attending the University of Pennsylvania, Pitcairn made the decision to study at the Academy of the New Church Theological School. He graduated in June, 1918, with a Bachelor of Theology degree.
Early career
Ordained into the priesthood of the General Church in 1917, Pitcairn worked with the church missions and taught theology to African students in South Africa and Lesotho (then known as Basutoland). He served as Pastor of the Durban Society in Natal, South Africa, and later as Assistant Pastor of the Bryn Athyn Church. During this time, he also served as Acting Pastor of the Circle at Seine-et-Marne, France. Pitcairn taught art history, history of education, and a course on the "Human Organic" at the Academy College.
Establishment of a new church
In the late 1930s, doctrinal differences within the General Church led Pitcairn and several other church members to found a new branch of the New Church known as The Lord's New Church Which Is Nova Hierosolyma. In 1939, Pitcairn established a non-profit corporation for the purposes of promoting and maintaining the new church. He served as pastor of the Philadelphia Society of The Lord's New Church until 1960, when leadership of the church passed to Philip N. Odhner.
Author
Pitcairn wrote several doctrinal works, including The Book Sealed with Seven Seals (1927); The Seven Days of Creation (1930); and My Lord and My God: Essays on Modern Religion, the Bible and Emanuel Swedenborg (1967). In 1969 the church published The Beginning and Development of Doctrine in the New Church by Theodore Pitcairn, bound together with Notes on the Development of Doctrine in the Church by Philip N. Odhner.
Art collector
Over the years, Pitcairn traveled extensively in Europe, where he further developed his keen interest in fine art. He acquired paintings by El Greco, Claude Monet, Rembrandt, and Vincent van Gogh. Thomas Hoving, former Director of the Metropolitan Museum of Art, described meeting the Reverend Pitcairn in the course of negotiating the purchase of Garden at Sainte-Adresse by Claude Monet. While searching for a suitable portrait painter for church dignitaries—Bishop William Frederic Pendleton and Bishop Nathaniel Dandridge Pendleton—Pitcairn met the young artist, through the efforts of Ernst Pfeiffer, in 1921 at the home of the banker and art collector Nicolaas Urban. Impressed by Smit's style, Pitcairn purchased Marijke with White Feather Fan, a portrait of Urban's daughter. He subsequently met Maryke, the subject of the painting, and they were married in 1926. Theodore and Maryke (September 7, 1905 - November 10, 1978) were the parents of nine children. Maryke's mother, Berendina, married Philippe Smit in 1941 after her divorce from Nicolaas Urban (1929). Throughout the painter’s life until his death in 1948 and even after that, Pitcairn acquired the majority of the artist’s works.
Patron of the arts
Pitcairn's love of antiquities is evident in the art studio he built for Smit on the grounds of his estate in Bryn Athyn. Designed by famed Philadelphia architect George Howe, of Mellor Meigs & Howe, the building incorporates 12th century French stone columns and an Italian stone-carved fireplace. The heavy wooden doors are embellished with ironwork by the metalworker, Samuel Yellin. The studio now serves as the Chapel of The Lord's New Church. Many of Smit's paintings were hung in the chapel and in the Pitcairns' colonial-era home in Bryn Athyn, Pennsylvania.
Pitcairn was a major benefactor of the Philadelphia Orchestra during the time Eugene Ormandy served as conductor [citation needed].
Death
Pitcairn died at his home in Bryn Athyn, Pennsylvania on December 17, 1973. His wife, Maryke, died five years later, in 1978.
References
Category:1893 births
Category:1973 deaths
Category:American Swedenborgians
Category:People from Pennsylvania
Category:Pitcairn family | {
"pile_set_name": "Wikipedia (en)"
} |
Q:
Detect route change in an Angular service
I'm trying to create a service to check if a certain route needs a user to be logged in to access the page. I have a working code but I want to place the $scope.$on('routeChangeStart) function inside the service. I want to place it in a service because I want to use it in multiple controllers. How do I go about this?
Current code:
profileInfoCtrl.js
angular.module('lmsApp', ['ngRoute'])
.controller('profileInfoCtrl', ['$scope', '$location', ' 'pageAuth', function($scope, $location, pageAuth){
//I want to include this in canAccess function
$scope.$on('$routeChangeStart', function(event, next) {
pageAuth.canAccess(event, next);
});
}]);
pageAuth.js
angular.module('lmsApp')
.service('pageAuth', ['$location', function ($location) {
this.canAccess = function(event, next) {
var user = firebase.auth().currentUser;
//requireAuth is a custom route property
if (next.$$route.requireAuth && user == null ) {
event.preventDefault(); //prevents route change
alert("You must be logged in to access page!");
}
else {
console.log("allowed");
}
}
}]);
routes.js
angular.module('lmsApp')
.config(['$routeProvider', '$locationProvider', function($routeProvider, $locationProvider){
$routeProvider
.when('/admin', {
templateUrl: 'view/admin.html',
css: 'style/admin.css',
controller: 'adminCtrl',
requireAuth: true //custom property to prevent unauthenticated users
})
.otherwise({
redirectTo: '/'
});
}]);
A:
By using $routeChangeStart, you are listening to a broadcast sent by $routeProvider on every change of the route. I don't think you need to call it in multiple places ( controllers ), just to check this.
In your service:
angular.module('lmsApp')
.service('pageAuth', ['$location', function ($location) {
var canAccess = function(event,next,current){
var user = firebase.auth().currentUser;
//requireAuth is a custom route property
if (next.$$route.requireAuth && user == null ) {
event.preventDefault(); //prevents route change
alert("You must be logged in to access page!");
}
else {
console.log("allowed");
}
}
$rootScope.$on('$routeChangeStart',canAccess);
}]);
And then inject your service in the .run() part of your application. This will ensure the check will be done automatically ( by the broadcast as mentioned earlier ).
In you config part :
angular.module('lmsApp')
.run(function runApp(pageAuth){
//rest of your stuff
});
| {
"pile_set_name": "StackExchange"
} |
Gov’t to fast track central bank legislation, says Rogán
The ruling Fidesz party has proposed that parliament should discuss the government’s amendment to the Central Bank Act in an expediated procedure next week, Fidesz group leader Antal Rogan told a press conference on Monday.
The bill seeks to leave decision-making powers of the central bank’s Monetary Council in place, but the bank’s management will be responsible for their implementation, Rogan said.
Parliament’s passing the amendment into law will remove the last obstacle from Hungary’s talks with the International Monetary Fund and the European Union on financial assistance, the group leader said.
The new amendment will not affect the provisions of the current act related to the expansion of the Monetary Council and the appointment of a new central bank governor, chief negotiator with the IMF and the EU Mihaly Varga told MTI earlier. However, Prime Minister Viktor Orban will send a letter to the presidents of the European Commission and the European Central Bank, informing them that there will be no new appointments into either the Monetary Council or the central bank management until the mandate of the current management of the NBH expires.
On the subject of next year’s budget, Rogan said that the Fidesz group will discuss the Economy Ministry’s draft next week and make a formal decision concerning the party’s support for the document. He added, however, that the draft is seen as a “budget of recovery” among Fidesz deputies.
Next year’s budget will ensure that support for families and small enterprises is continued, and create stable conditions for the country to meet possible international challenges, Rogan said.
Fidesz supports the government in its efforts to pass a part of the public burden onto large companies and banks rather than to increase personal income taxes or reducing wages, he added. | {
"pile_set_name": "Pile-CC"
} |
White Armor®
High Reflectance Cool Roof Granules
White Armor® cool roofing granules are specifically designed for use in modified bitumen roofing applications. The durable, high opacity granules have an ultra-high reflectance that prolongs roof life and contributes to overall energy savings. A roof containing White Armor® granules helps to reflect the sun’s heat, instead of absorbing and transferring it into the building below. The White Armor® product line joins a suite of specialty products and illustrates our strong commitment to continually meet customers’ demand for high-quality products that improve efficiencies and provide a positive impact on the environment.
This proprietary granule decreases the prevalence of “urban heat islands” and helps meet or exceed municipal and state regulatory requirements.
Compared to other Cool Roof Products the White Armor® product line offers the following benefits*:
Minimal staining of the granule from bituminous substrate
Consistent particle size promotes adhesion, coverage, and low dusting
High solar reflectance helps satisfy cool roofing standards
Assists in the reduction of air pollution and greenhouse gases
Creates average yearly net savings of up to $0.50/sq. ft.
Significantly reduces air conditioning costs
Can be installed on flat/sloped roofs, commercial/residential buildings, and new construction/existing structures
Our global logistics capabilities enable us to deliver White Armor® where you need it, when you need it. Recognizing that today’s competitive climate requires readily available product and exceptional customer service, our dedicated customer service representatives are available 24/7 to facilitate smooth delivery of your product. | {
"pile_set_name": "Pile-CC"
} |
Pages
Tuesday, August 7, 2012
National Night Out Tonight
Tonight is National Night Out. National Night Out is a way to foster community relationships and crime prevention sponsored by the National Association of Town Watch. Communities throughout the US will be having National Night Out activities tonight. According to the NNO website, National Night Out activities were also sponsored in communities in Canada as well as on military bases last year.
This evening of free activities may include block parties, games, exhibits, flashlight walks, music, balloon artists, and crime prevention demonstrations and information. You can check the NNO website to see if your town has been registered and is participating. There is a pdf file below the map of registered places that lists some of the military bases and Canadian towns participating. I would also check with your town's website as well as your park district's website for information.
This sounds like a great event that is not only full of fun but is also educational. It looks like it will be a great community event for the family! | {
"pile_set_name": "Pile-CC"
} |
Utah lawmakers got some good news on Thursday as their latest revenue estimates for the current legislative session were updated to show an additional $238 million in state coffers.
The new figures bring the state’s total surplus to $921 million, but the bulk of that money comes from income tax collections and is constitutionally walled off for spending only on public and higher education.
Hurricane Republican Rep. Brad Last presented the new numbers to his colleagues on the House floor, saying that the state’s economy continues to perform but that revenue coming from sales taxes — used to fund general government operations, from Medicaid to prisons — aren’t keeping up with needs.
“We have 10 times more [surplus] money in the Education Fund than we have in the General Fund,” Last, budget committee co-chairman, said.
Despite the nearly $1 billion overall surplus, the revenue estimates show the state running a $12 million deficit in one-time general fund revenue, suggesting that some portion of the $92 million in ongoing general fund money available to lawmakers will be needed to close that hole. That, or spending cuts.
Sen. Jerry Stevenson, co-chairman of the Legislature’s main budget committee, told his colleagues that basic funding requests for general fund dollars far exceed what’s available.
“The next three weeks will be longer than three weeks,” he predicted to reporters. “There will be a lot of asks that committees have listened to that will probably go by the wayside.”
Lawmakers began the 2020 session by repealing a controversial tax reform package that was intended to partially address the “structural imbalance” between the Education and General funds.
That legislation would have cut taxes overall by reducing the income tax rate and raising sales taxes, but led to significant pushback from the public.
The tax package, passed in special session in December, was expected to be followed this year by legislation amending the state Constitution to allow income tax spending on noneducation programs, as well as new proposals for how to ensure funding for the state’s schools. But four weeks into the Legislature’s work, those efforts have so far failed to materialize.
Still, the figures released Thursday reserve $80 million in education funds for any tax relief the Legislature decides to provide for the upcoming year. Senate leaders have been hesitant to support any piecemeal tax cuts and prefer a holistic look at tax reform, even if these comprehensive changes must wait for a future session.
Until then, Stevenson, R-Layton, said the lopsided revenue streams will continue to plague lawmakers during the budgeting process.
“We’re not in a crisis. We’ll be able to work through this,” he said. “But every year, this will continue to cause problems until we get to some kind of a tax reform package.”
But House Speaker Brad Wilson, R-Kaysville, has suggested he’s more supportive of short-term tax relief than his Senate counterparts. He said Thursday that it’s too early to say what could pass the Legislature, but that there is room on the income tax side to return money to taxpayers.
“Those conversations next week will be [about] what kind of tax cut, when will it occur, and how much will it be,” he said.
Meanwhile, on Thursday, a broad coalition of advocates gathered on the Capitol steps to discourage lawmakers from tax cuts and ask them to invest any available money in education, air quality, affordable housing and services for individuals with disabilities. The state’s overall tax burden is already at its lowest point in about 25 years, noted Matthew Weinstein of Voices for Utah Children, referencing a recent Utah Foundation report.
The 15 advocacy groups represented at the news conference sought to share a vision of the bright future that was possible for the state “if our leaders can resist the election-year temptation to cut taxes and if we can make the critically needed investments that’ll pay off many times over in the future,” Weinstein said.
On Tuesday, the Public Education Appropriations Committee adopted its budget recommendations, calling for roughly $450 million in new money for schools, including a 4 percent increase to per-student spending. That figure does not include new spending recommendations for higher education, which would also be derived from income tax collections, or money that would be reserved in the state’s rainy day fund.
Some lawmakers have suggested that in place of a tax cut, a greater portion of the state’s surplus could be held in reserve this year to protect against a potential economic downturn. And Wilson said spending constraints could be beneficial as lawmakers prioritize government programs and look ahead to a new round of tax reform negotiations next year.
“Us taking a year like this and spending less is not necessarily a bad thing,” Wilson said. “We can take a year and try to regroup and be very, very conservative.”
Heidi Matthews, president of the Utah Education Association, said the new revenue figures show there is an opportunity for a significant boost to public education. The UEA and other education groups have called for a 6% increase in per-student spending, which Matthews said would ensure schools have funding left over for new initiatives after covering inflationary costs.
“It’s time to build futures and not give tax cuts,” Matthews said. “Our students are really counting on us to make those necessary investments, and the time is right." | {
"pile_set_name": "OpenWebText2"
} |
Critical tests of the anthelmintic febantel in the horse: activity of a paste formulation alone or with a trichlorfon paste.
Critical tests were carried out in 10 horses to evaluate the antiparasitic activity of febantel given alone or with trichlorfon. Paste formulations were administered intraorally at dose levels of 6 mg of febantel (active ingredient)/kg and 35 mg of trichlorfon (active ingredient)/kg. In 5 tests with febantel alone, removal of 100% was recorded for mature or immature Parascaris equorum from 2 infected horses. Strongylus vulgaris from 4 infected horses, S edentatus from 5 infected horses, and mature Oxyuris equi from 1 infected horse; and removal of 96% was recorded for small strogyles from 1 horse tested, and bots in 5 infected horses were not affected. In 5 horses treated with both compounds, removal of 100% was recorded for mature P equorum from 2 infected horses, immature P equorum from 1 infected horse, S vulgaris from 5 infected horses, Sedentatus from 5 infected horses, mature O equi from 2 infected horses, immature O equi from 1 horse tested, 2nd Gasterophilus intestin-equi from 1 infected horse, 2nd-instar C nasalis from 1 infected horse, and 3rd-instar C nasalis from 4 infected horses. Removal of 98% was recorded for small strongyles from 1 horse tested, and removal of 65% to 100% for 3rd-instar C intestinalis from 5 infected horses. In the aggregate, removal of 3rd-instar C intestinalis was 99%. Untoward effects of treatment were quite limited. Only a transient softening of feces in 1 of 5 horses given the trichlorfon paste plus the febantel paste was recorded. | {
"pile_set_name": "PubMed Abstracts"
} |
// RUN: %compile-run-and-check
#include <omp.h>
#include <stdio.h>
int main() {
int res = 0;
#pragma omp parallel num_threads(2) reduction(+:res)
{
int tid = omp_get_thread_num();
#pragma omp target teams distribute reduction(+:res)
for (int i = tid; i < 2; i++)
++res;
}
// The first thread makes 2 iterations, the second - 1. Expected result of the
// reduction res is 3.
// CHECK: res = 3.
printf("res = %d.\n", res);
return 0;
}
| {
"pile_set_name": "Github"
} |
[A comparison study of cognitive-behavioral therapy alone versus combination with tapered hypnotic agents in patients with chronic insomnia].
Objective: To investigate the efficacy of cognitive-behavioral therapy for insomnia (CBT-i) or combination with tapered hypnotic agents. Methods: Seventy-five patients were randomized into either CBT-i group (n=37) or combination group (n=38). The duration of treatment lasted for 8 weeks. The efficacy was evaluated by Pittsburgh sleep quality index (PSQI), Beck depression index (BDI) , Beck anxiety inventory (BAI) and sleep diary variables at baseline, middle and end of treatment. Results: (1)Compared with the results at baseline, the total scores of PSQI,BDI and BAI in both groups significantly decreased at the end of treatment: CBT-i group, PSQI (4.7±2.5) vs. (12.9±3.5); BDI (3.2±4.4) vs. (9.7±6.4); BAI (4.2±5.6) vs. (10.7±8.1); and combination group, PSQI (5.8±2.8) vs. (13.9±3.1); BDI (4.5±4.8) vs. (13.8±8.7); BAI (4.4±4.0) vs. (14.1±6.3) (all P<0.01). (2) Compared with the results at baseline, subjective sleep quality (SQ), sleep onset latency (SOL), sleep efficiency (SE), sleep disturbance (SD) and used sleep medication (USM) in PSQI in combination group significantly decreased at week 4 and 8 (all P<0.05) . The total sleep time (TST) and daytime dysfunction (DF) in PSQI significantly decreased at week 8 (both P<0.05) . (3) Compared with combination group, improvement of SOL and SE in CBT-i group was superior (both P=0.01). Conclusions: CBT-i for chronic insomnia is effective in both CBT-i alone and combination with tapered hypnotic agents. CBT-i group is superior in improving SOL and SE. Combination regimen in our study can significantly reduce the doses of medication. | {
"pile_set_name": "PubMed Abstracts"
} |
Tuesday, May 5, 2009
Today's post will touch a little bit on the history and origin of hairless cats. Since 1990's, there are various cases of hairless cats that were detected around the world but the first successful and recognized hairless cat breed is what we can see today, the Sphynx. Back in 1903, two hairless kittens were born in New Mexico and was called the New Mexican Hairless cats. It was told that the cats were obtained from Pueblo Indians around Albuquerque. Then in 1950, three hairless kittens were produced by a pair of Siamese cats in Paris, France but only occurs when those two mated and not for other pairing.
Today's Sphynx or hairless cats was originated from Canada in 1966. The cat's name is Prune but died without having any descendants. Soon after, in 1967, a longhaired mother cat was rescued in Toronto, along with her several hairless kittens. Two were brought to Europe where one was bred to a Devon Rex. The breeding program was successful and resulted with hairless offsprings that became the foundation of today's Sphynx. The name sphynx comes from their overall look which resemble an ancient Egyptian cat sculpture.
Saturday, May 2, 2009
Hairless Cats or commonly known as Sphynx, is one of the rarest among cat breeds. Their unique appearance makes them stands out more in public and we can straight away know a hairless cat when we see one. Although they are not the favorite for many cat lovers because of their bizarre appearance, different peoples have different perspective I must say. I for myself is quite fond with my hairless cat as she is extremely playful and affectionate to other things, mostly at me. For any of you guys that intend to adopt a cat, I would highly recommend that you to try out a sphynx or hairless cat breed. Read the rest of this post to find more information on their basic appearance.
ColorsSimilar to any other cats, they can be in many colors including black, brown, white or red. Some of hairless cats also have a combination of colors like red and black, white and brown, etc.
WeightsHairless Cats are classified as a medium-sized cats with thick and muscular body. Most males weight between 8 to 10 pounds while females range from 5 to 8 pounds.
FurIn theory, they do have hair despite being called as hairless cats. But the length of the hairs are barely enough for one to see from afar since it's too short.
Face ShapeThey posses a wedge-shaped face, which resemble an upside-down triangle. They also have a long and large ears with big oval-shaped eyes.
WhiskersUnlike any other cat breeds that have a long whiskers, Hairless cats only have short curly whiskers and most of them don't have any at all.
That's it for today post and I hope you are well informed of Hairless Cats appearance.
Friday, May 1, 2009
This is a short video of hairless cats from an English TV program called TVB-E. It briefly explained on how they would usually react with other things around them. Hairless Cats or Sphynx is a rare breed of cat that are incredibly affectionate to their surroundings even without a normal coating like any other cats. Although they look might be a little bizarre, this type of breed are the best option for those who have cat allergies. Because of their lack of hair, they will consume a whole lot more than any other cats would be. It's simply because they need an extra energy to keep them warm. | {
"pile_set_name": "Pile-CC"
} |
LVMH (LVMUY) shares hit an all-time high Friday after the luxury goods company renewed its sales and profit record, defying the tough business climate hitting the overall industry.
Shares in the Paris-based owner of Louis Vuitton and Christian Dior brands advanced 1.2% to €192.8 by 10:15 GMT, hitting an all-time high after enjoying a rally of 57% for the last 12 months. It was the biggest gainer among the CAC 40 constituents in Paris.
LVMH said late Thursday it had booked record revenue and profit for the year ended December 31. Revenue rose 5% year on year to €37.6 billion ($40.2 billion) while profit from recurring operations advanced 6% to €7 billion.
The company said it would lift its dividend by 13% to €4 per share following approval from shareholders in April.
The company attributed the strength to its wines & spirits business across all regions. The business enjoyed a 10% profit increase on 7% revenue growth. Cognac maker Hennessy saw volume growth of 10%, while Glenmorangie and Belvedere also saw continued growth. The company highlighted a strong American market and recovery in the Chinese market.
Meanwhile, the fashion & leather goods business enjoyed 10% profit growth on a 4% revenue increase, partly thanks to continued expansion in its traditional line-ups as well as newly developed products. It highlighted Fendi and Celine as among the strong players.
LVMH expects to continue enjoying robust momentum in 2017 despite a tough business environment.
"Despite a climate of geopolitical and currency uncertainties, LVMH is well-equipped to continue its growth momentum across all business groups in 2017," the company said. | {
"pile_set_name": "OpenWebText2"
} |
The personal details of farmers carrying out the controversial badger cull have been leaked to animal rights activists in a major data breach.
In a security failing hailed a victory by hunt saboteurs and already linked to a rise in rural crime, more than 7,000 names and addresses, including those of bosses of companies specialising in killing badgers, have been posted online and emailed to activists throughout the country.
Old Mill Accountancy, which has offices in Exeter, Yeovil, Wells and Melksham, last night apologised after “human error” led to its mailing list being harvested from its website in July.
Many farmers who have created companies to carry out the cull often ensure personal details are not lodged on official documents in an attempt to prevent hunt saboteurs identifying where they live. | {
"pile_set_name": "OpenWebText2"
} |
/**
* Copyright (c) 2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule isNode
* @typechecks
*/
/**
* @param {*} object The object to check.
* @return {boolean} Whether or not the object is a DOM node.
*/
function isNode(object) {
return !!(object && (
typeof Node === 'function' ? object instanceof Node :
typeof object === 'object' &&
typeof object.nodeType === 'number' &&
typeof object.nodeName === 'string'
));
}
module.exports = isNode;
| {
"pile_set_name": "Github"
} |
Experience:Body Architecture, Inc. February 2009 – Present Isagenix International August 2010 – August 2012 South Bay Athletic Club December 1996 – December 2009 Western Ballet January 2007 – July 2008
Experience:Utah Valley University June 2012 – Present Utah Valley University June 2000 – June 2012 Escrow Data.com June 1999 – June 2000 Four Seasons Hualalai May 1998 – June 1999 Victory Training International August 1985 – April 1998
Experience:Intel Corporation May 2011 – Present AMD September 2010 – April 2011 Services to Students with Disabilities-California State University, Sacramento August 2009 – September 2010 Guardian Scholars Program-California State University, Sacramento December 2008 – May 2009 Bosch June 2006 – June 2006
South Dakota State University 2010 – 2014Bachelor's Degree, Mathematics (Financial Engineering Emphasis), Minors: Economics and Business
Bon Homme High School 2006 – 2010High School Diploma
Experience:CAPITAL Services May 2015 – Present CAPITAL Services August 2014 – May 2015 South Dakota State Alumni Association October 2013 – October 2014 CAPITAL Services May 2014 – August 2014 South Dakota State University September 2012 – April 2014 South Dakota State University April 2011 – April 2014 PREMIER Bankcard May 2013 – January 2014 Daktronics March 2012 – May 2013
Experience:ELM Consulting, LLC April 2013 – Present Small Business Development Center at UNF April 2011 – March 2013 University of Maryland School of Public Policy 2008 – 2010 Corporation for National and Community Service 2009 – 2009 WEDU PBS Television 2004 – 2008
Experience:Claddagh Wedding Officiants January 1975 – Present Father Lopez High School January 2009 – June 2009 Flagler County Emergency Services October 2004 – May 2008 Daytona Beach Police Department June 2000 – June 2004 Broward County Sheriff's Office July 1973 – January 1999
New Mexico State University 1966 – 1969Ph.D., Research Methodology and Quantitative Methods
New Mexico State University 1966 – 1969Master of Arts (M.A.), Research Methodology and Quantitative Methods
University of Wisconsin-Whitewater 1962 – 1966Bachelor of Education (B.Ed.), Mathematics
Experience:Biola University August 1982 – Present Biola University August 1988 – August 1994 Biola University August 1977 – August 1982 Johns Hopkins University August 1970 – August 1973 Rutgers University August 1969 – August 1970
Experience:Oak Ridge National Laboratory August 2011 – Present Neural Energy Games July 2012 – Present University of Tennessee August 2010 – June 2011 Oak Ridge National Laboratory June 2008 – August 2008
Experience:North Carolina State University August 2014 – Present Organization of Tropical Studies January 2014 – Present Michigan State University May 2013 – July 2013 Reach Out Touch October 2012 – May 2013 CAMPUS & COMMUNITY ACTIVITIES September 2012 – May 2013 Multicultural Student Affairs Peer October 2011 – May 2013 Vetward Bound Summer Enrichment Program at Michigan State University May 2012 – July 2012 CSLEPS September 2011 – May 2012 Turtle Rescue Team March 2012 – March 2012 North Carolina State University September 2011 – December 2011
Louisiana State University 1995 – 1999Bachelor of Science (BS), Elementary Education and Teaching
Experience:Community Healthcore Early Childhood Intervention April 2014 – October 2014 Longview Chamber of Commerce And Convention and Visitors Bureau June 2013 – April 2014 Children's Coalition for Northeast Louisiana December 2007 – April 2013 The Family Tree July 2007 – December 2007 Volunteers of America of North Louisiana July 2004 – June 2007 United Way of Northeast Louisiana April 2002 – December 2003 | {
"pile_set_name": "Pile-CC"
} |
Candace Knoebel ~ Ten Reasons to Stay ~ Teaser Reveal
We are just 4 weeks away from the release of TEN REASONS TO STAY by Candace Knoebel–check out the first teaser below and add TEN REASONS TO STAY to your TBR today!
About TEN REASONS TO STAY
Available August 30th, 2018
One day a week—Thursdays—my husband and I could do whatever or whomever we pleased.
Protection was non-negotiable.
And no matter what, we had to be home by midnight.
Jack was the one who wanted an open marriage, but we were supposed to keep things simple. No strings. No commitments. It seemed so easy…until it wasn’t.
Devilishly handsome Cole Blackwater was only supposed to be a fling, but everything about him made me feel alive. Wanted. Seen. When I realized he was my husband’s boss, I should have broken things off right then…but I didn’t.
One day a week, I could pretend that I was his and he was mine…until Cole wanted more.
But how could I decide between the man I’d promised to love, honor, and cherish, and the man who tempted me to break every single vow I’d made?
TEN REASONS TO STAY releases August 30th–add it to your TBR today!
TEN REASONS TO STAY on Goodreads
About CANDACE KNOEBEL
Candace Knoebel is a hopeless romantic with an affinity for whiskey and good music. Her love of words began when she met the boy who lived in the cupboard under the stairs. She’s a self-proclaimed Lost Girl. Words are her mirror.
With two completed series, her work ranges from paranormal to contemporary, all centered heavily around romance. Currently she lives in Florida with her husband and two children, and has just completed her thirteenth novel, The Taste of Her Words. | {
"pile_set_name": "Pile-CC"
} |
International Journal of Academic Engineering Research (IJAER) ISSN: 2000-001X Vol. 2 Issue 10, October – 2018, Pages: 19-27 www.ijeais.org/ijaer 19 Bitplanes Block Based Lossy Image Compression Abdelatief H. Abouali HICI, Computer Dept., El-Shorouk Academy, Cairo, Egypt, Email: dr.abdullatif.hussein@sha.edu.eg Abstract: In a former paper [21], an exact image compression based on bit-planes blocking was proposed. The proposed algorithm uses two bit codes for block representation. The outcome of the encoding process is two streams: Main Bit Stream, MBS and Residual Bit Stream, RBS. The algorithm core is searching for the greatest block of Unicode to encode in main stream and if not found until size of two by two then it will be kept as is in residual stream. In this paper, a lossy version of that algorithm is presented. The change in the base algorithm is in the definition of the unary-code-block is eased to be above certain percent. The percent is varied from plane to another as their contribution to image power varies. The testing of the proposed algorithm shows comparable results. Image degradations seems restorable even for high compression ratios. Keywords: bit-planes, image blocks, exact-image compression, encoding, decoding. 1. INTRODUCTION The success of multimedia and image processing based systems, in many cases, is highly tightened to effective encoding to digital images. Demands and the volume of digital images used in systems currently in use within the domains of : education, security, social medial, health care, retail storage, industry quality assurance, entertainment, law enforcement and many others is huge and subject to grow [13]. Therefore, effective storage, processing, transmitting, and recall needed for the development process to continue. To date, human effective storage, processing, recognition, indexing, and recall is far above all developed methodologies and devices man made. The encoding process is an effective representation, in computer vision systems, that increases system capacity to store, access, exchange, and process digital images. Image encoding is achieved by the removal of one or more of the basic image data redundancies: Coding, Interpixel, and Psychovisual [4-5]. Coding redundancy is due to the use of non-optimal code words. Interpixel redundancy results from correlations between image pixels. Psychovisual redundancy is the existence of data that is insignificant to the human visual system (i.e. visually non-essential). Encoding techniques require decoding process to retrieve the compressed image for further use by applications. In video compression, association of frame images, abstraction, and relationships adds more significant encoding step to sets of frame images [6]. Image compression techniques are exact and Lossy[7]. The exact compression techniques assure the retrieval of the decompressed image typical as the original. Lossy compression techniques allow controlled loss of power. The exact image compression techniques include, pixel packing, run-length, Huffman, LZW, arithmetic and Area coding. Lossy techniques includes Transformation Coding, differential, Vector Quantization, object based, Fractal, Block truncation coding, and Sub band coding [8-12]. Good encoding scheme means: low order of algorithm complexity for both encoder and decoder, high signal to noise ratio, high compression ratio, ability to decode at varieties of scales without additional distortion, parallelization ability, as well as the ease to implement software and/or hardware. The well-known encoding algorithms, such as JPEG and MPG, employs a set of basic encoding schemes such as Huffman, differential, quantization, and run-length [13-14]. Block based image compression schemes are numerous as dealing with whole image as a processing unit costly. Blocking coincide with images reality that are connected blocks/labels. From the well-known block based algorithms JPEG, and fractal. In JPEG the blocks are transformed to frequency domain, using DCT, followed by reduction to insignificant blocks, then quantization followed by differential and entropy encoding. Blocking offers JPEG two main advantages low cost transformation and reduces the possibilities of having higher frequencies components. Fractal image encoding based on establishing similarities between small block, ranges, and larger blocks, domains. The blocks similarities enabled the use of the iterative function systems which is the base of fractal encoding. Other blocking schemes could be found in [14-17]. Image Bit-plane is a bit pixel decomposition of an image matrix. Therefor a gray image of n-bit gray resolution contains n-planes. Least Significant Bit Planes, LSBP, contain less significant information compared Most Significant Bit Planes, MSBP. Figure (1) shows the original versus the bit-planes for 8-bit boy and Lena pictures. The bit-planes was a rich topic for both enhancement and compression algorithms as plane-pixels contains only two values 0, and 1. So, The Run Length Encoding, arithmetic and progressive transition are used in bit-planes taking the advantages of binary and similarities of adjacent bits within the same plane [18-20]. International Journal of Academic Engineering Research (IJAER) ISSN: 2000-001X Vol. 2 Issue 10, October – 2018, Pages: 19-27 www.ijeais.org/ijaer 20 Figure (1) Lena, pepper original and bit-planes for 8-bit gray In this paper, a lossy version of former proposed exact compression/decompression algorithm based on successive block test then encode or divide process is proposed. The algorithm uses two-bit structural encoding together with residual block storage. The encoding is two phases. In the first phase three codes are used and in the second phase third code is consumed in an adaptive run length encoding, for more optimization. The rest of the paper is organized as follows: The proposed basic encoding/decoding is described in section 2. Tests, results and discussion are in section 3. Section 4 is the study conclusion. 2. THE PROPOSED ENCODING/DECODING ALGORITHMS The proposed algorithm is a lossy version of a former proposed exact encoding/decoding algorithm [21]. The exact encoding and decoding algorithm are in appendix A, and B consequently. The modification is limited to the encoding process. So, the decoding process is the same for both exact and lossy. The change to the encoding is in the consideration of block all zeros and block all one. The consideration is eased from all one's and all zero's to above certain percent. Planes contributes differently to picture energy, figure (1). Consequently, percent's considered to vary from a plane to another. That is, for a given square block of size, SB with non-null count (BNNC) and block one's count (B1C) the block is considers all zeros only if: - ,0BNNC and p iBNNC CBBNNC )1( (1) Also, a block is considered all one's only if: - ,0BNNC and p iBNNC CB )1( (2) ip is plane allowance percent. That is, in the lossy version encoding algorithm the switch case check all zeros' refers to equation (1). Similarly, check of all one's refers to equation (2). Table (1) shows how much of accepted different bits for different block sizes on different percent's. Corollary(1): The allowance percent ip of 0.5 at a plane will lead to the plane encoded as only two-bit either 00' or 11'. That comes from the fact that a plane either one code is more than the second, or equal to. In both cases it will be considered unary code block. Consequently, RBS will be null. Corollary(2): The percent 0.5< ip <0.75 at a plane implies that the RBS nibbles will contain only the hex codes {3,5,6,9,A,C}. In the encoding process, blocks coded or split process until 2x2 size. At this size with that percent range one bit is allowed to have different value for block to be encoded as unary-code block. So, residual will be the case of codes equal counts. Table (1): Accepted different codes for a block size per percent 2x2 4x4 8x8 16x16 32x32 64x64 132x132 256x256 97% 0 0 1 5 20 81 327 1310 94% 0 0 3 12 51 204 819 3276 91% 0 1 5 20 81 327 1310 5242 88% 0 1 7 28 112 450 1802 7208 85% 0 2 8 35 143 573 2293 9175 82% 0 2 10 43 174 696 2785 11141 79% 0 3 12 51 204 819 3276 13107 76% 0 3 14 58 235 942 3768 15073 73% 1 4 16 66 266 1064 4259 17039 70% 1 4 18 74 296 1187 4751 19005 67% 1 5 20 81 327 1310 5242 20971 64% 1 5 22 89 358 1433 5734 22937 61% 1 6 24 97 389 1556 6225 24903 58% 1 6 26 104 419 1679 6717 26869 55% 1 7 28 112 450 1802 7208 28835 52% 1 7 30 120 481 1925 7700 30801 3. EXPERIMINTAL RESULTS AND DISCSSION The used test set of images is the same as of [21], aerial, cameraman, woman-house, Barbara, Lena, and house, Figure (2). The colored ones changed to gray using Matlab' rgb2gray' function as the performance noted to be same for both colored and gray. The percent array in our experiments International Journal of Academic Engineering Research (IJAER) ISSN: 2000-001X Vol. 2 Issue 10, October – 2018, Pages: 19-27 www.ijeais.org/ijaer 21 was based on the fact that loss on the higher planes implies great loss in image power. The outer high planes, 7 and 6, assigned high and equal percent's. Considering the implications of Corollaries(1,2), other plane i percent is set in accordance with the rule ip = max( 2 1ip ,0.52). Figure (3) shows the ease percent for planes of our experiments. The highest planes percent's varied from 0.99 to 0.80 with 0.005 decrease step. Assuming ),( yxf is original image matrix of size , MN, are the matrix dimension, maxq is the peak gray, and ),( yxfp is decoded image matrix. Then, the used metrics in our study are: Compression Ratio, sizeimageencoded sizeimageoriginal CR Mean Square Error, MN yxfpyxf MSE y x * )),(),(( 2 Normalized Root Mean Square Error, y x y x yxf yxfpyxf NRMSE 2 2 )),(( )),(),(( Peak Signal to Noise Ratio dbMSEqPSNR )/)((log10 2max10 Aerial Cameraman Woman-House Lena House Barbara Figure (2) set of images used in the study Figure (3) Experiments ease percent per planes. The former setup made up 39 experiments done on the six test set images mentioned before. The results are summarized in figures (4) and (5). The figures are the compression ratio against NRMSE, and PSNR. The overall shows house was the best and the aerial the worst. The rest four performance is between the two. The overall performance is comparable with reported in [22-24]. International Journal of Academic Engineering Research (IJAER) ISSN: 2000-001X Vol. 2 Issue 10, October – 2018, Pages: 19-27 www.ijeais.org/ijaer 22 Figure (4) compression ratio against NRMSE Figure (5) Compression ratio against PSNR For more focus on the performance figure (6) presents the first seven experiments on each of the test set images. Table (2) presents numerically the corresponding compression ratios. The compression ratios compared to the visual noted distortion is also comparable to recent researches [16] [23]. There is no blocking problem or areas of severe distortion could be noted. The nature of noise looks to be within the reach of filters. Moreover, filters could be designed to partially remove the noise. Figure (6) Decoded images for the first 7 experiments International Journal of Academic Engineering Research (IJAER) ISSN: 2000-001X Vol. 2 Issue 10, October – 2018, Pages: 19-27 www.ijeais.org/ijaer 23 Table (2) Compression Ratio's associated with figure (6) 1 2 3 4 5 6 7 Aerial 1.672 1.892 2.171 2.347 2.573 3.009 3.154 CameraMan 2.600 3.153 3.902 4.451 4.981 6.085 6.700 Woman's House 2.569 3.058 3.681 4.064 4.522 5.443 5.858 Barbara 1.987 2.298 2.714 2.983 3.297 3.894 4.129 Lena 2.061 2.415 2.891 3.195 3.566 4.248 4.585 House 2.910 3.598 4.626 5.657 6.776 8.742 9.807 For more clarification to the performance, compression ratios more or equal to (3,5,10,15,20) are selected and the decoded images are in figure (7). The images degradation for even the 20+ is relatively low. There are no significant blocking effects on the recalled images. The results are comparable to the reported in [22-24]. Figure (7) decoded images at compression ratios more than (3,5,10,15,20) To sum up the results in numerical form for the 39 by 6 experiments, the two extreme perfomance cases were selected and one of the average performnce are displayed in Table (3). The table show that a significant compression ratios could be reached with comparable NRMSE. Also, there are many cases where there is a significant increase in compression ratios while insegnifcant changes in images degradation. Keeping in mind that the algorithm does not include neither transformation nor multiple iterations that International Journal of Academic Engineering Research (IJAER) ISSN: 2000-001X Vol. 2 Issue 10, October – 2018, Pages: 19-27 www.ijeais.org/ijaer 24 makes it comparable and appealing compared to others. Discussion The presented algorithm offers a lossy compression technique with significant features compared to others. The algorithm performance is comparable to others. The algorithm is of minor differential to the exact version. In fact, the exact is a special case if the percent vector is set to 100%. All the image properties positively affect compression ratio discussed in [21] applies since the core algorithm is the same. Also, preprocessing with low pass filters positively adds to algorithm performance Table 1: Compression ratio NRMSE for Worest, Best, and Average Aerial House Camera Man CR NRMSE CR NRMSE CR NRMSE 1.6728 0.0304 2.910609 0.020399 2.600351 0.02498 1.8922 0.0455 3.597839 0.031459 3.153668 0.029818 2.1716 0.0741 4.626655 0.042435 3.902665 0.036539 2.3477 0.0818 5.656909 0.044654 4.451493 0.043716 2.5736 0.0862 6.776373 0.053694 4.981358 0.055194 3.0090 0.0973 8.741921 0.064381 6.084980 0.066724 3.1549 0.1016 9.807658 0.068514 6.700679 0.073272 3.2454 0.1255 10.60624 0.079719 7.062354 0.075402 3.6107 0.1340 11.10826 0.079535 8.047274 0.08861 3.9924 0.1467 11.97551 0.090987 9.327474 0.09604 4.1626 0.1525 12.43567 0.097699 9.715153 0.10329 5.2331 0.2098 15.134461 0.100695 12.41359 0.11142 5.3096 0.2116 16.774532 0.115704 13.10982 0.11634 5.4645 0.2168 19.130409 0.132555 13.58012 0.11977 5.8733 0.2188 19.667191 0.134330 14.54012 0.12450 6.0075 0.2239 21.39776 0.138675 14.94081 0.12713 6.2881 0.2439 22.238 0.142236 16.3467 0.14284 7.2050 0.2483 24.9233 0.143216 19.0907 0.18284 7.3697 0.2498 26.5032 0.143577 22.27127 0.20088 7.7786 0.2503 27.073 0.14317 22.77631 0.2091 8.3605 0.2526 30.333 0.169856 26.2039 0.2168 8.8570 0.2755 30.88 0.17039 26.41914 0.21689 9.0809 0.2851 34.551 0.198642 27.42235 0.21492 12.1069 0.2941 41.7626 0.2035 43.902 0.2657 12.3688 0.2990 42.8164 0.20317 47.4468 0.26891 12.6646 0.2993 44.326 0.20919 49.7379 0.27094 12.8499 0.3049 44.326 0.209199 51.73554 0.273481 13.6313 0.3074 46.1034 0.210977 65.40518 0.277392 14.2408 0.3075 47.15244 0.211869 69.06705 0.278211 14.5333 0.3049 47.26295 0.211979 72.70669 0.27795 19.6916 0.4790 58.15084 0.201913 91.98035 0.282861 20.0761 0.4736 58.7174 0.202904 96.00585 0.284234 20.2131 0.4736 60.92121 0.205302 98.08942 0.285546 21.3681 0.4724 67.47593 0.208756 104.5856 0.286996 23.0913 0.4721 69.27695 0.210641 106.1526 0.287084 23.3942 0.4724 70.364783 0.213492 108.18984 0.289048 28.5544 0.4736 90.974839 0.2210526 121.50359 0.290525 29.7232 0.4732 90.974839 0.2210526 137.42804 0.293213 31.5115 0.4584 115.0258 0.2216756 266.00101 0.299966 More complex adaption could be considered such as dropping RBS for equal code cases. In this case, the neighbor blocks could be used heuristically to infer the codes position. Also, successive plane encoding could consider more detailed process. Such as, while encoding planes in sequence starting from the MSBP and for block B in plane i there could be bits that known it will be recovered different. The difference could be 0 recovered as 1 or the opposite. Case of 0 recovered as 1 set all corresponding bits of planes i-1 to 0 to zero and vice versa. This raises the probability of having significant distortion and will enhance the apparent patches that exist in the recovered images Figure (7). Also, considering more detailed percent vector that allows per block size per plane percent could reduce the apparent patches. These changes and others could be the considered in further studies since it requires more investigation and specifications. 4. CONCLUSION A block based lossy image compression is proposed. The proposed algorithm is generalization to former presented algorithm. The generalization is easing the cases of blocks consideration as unary-coded. The algorithm was tested against six well known gray 256 level images. The easing percent used is plane dependent. That is, ease percent array of size equal to the image number of bit-planes. The tests used variety of easing percent to allow range of compression ratios. The performance of the algorithm found to be comparable with others. REFERENCES [1] Tinku Acharya and Ajoy K. Ray, Image Processing: Principles and applications, Wiley-Interscience, 2005 [2] V.P. Baligar, L.M. Patnaik, G.R. Nagabhushana, High compression and low order linear predictor for lossless coding of grayscale images, Image Vis. Comput. 21 (6),2003. [3] D. Salomon, Data Compression: The Complete Reference, third ed., Springer, New York, 2004. [4] D. Salomon, A Guide to Data Compression Methods, Springer, NewYork, 2002. [5] Sonal, Dinesh Kumar, A study of various image compression techniques, Annual Conference on Learning Theory, COLT 2007, San Diego, CA, USA, June 13-15, 2007 [6] Jens-Rainer Ohm, Gary J. Sullivan, and Heiko Schwarz Comparison of the Coding Efficiency of Video Coding Standards-Including High Efficiency Video Coding (HEVC)', IEEE Transactions on Circuits and Systems for Video Technology (Volume: 22, Issue: 12, Dec. 2012), pages 1669 1684 [7] A.J. Hussain, Ali Al-Fayadh, and Naeem Radic, Image compression techniques: A survey in lossless and lossy algorithms, Neurocomputing, volume 300 26 July 2018, Pages 44-69 [8] Rafael Gonzalez, Richard Woods, Digital Image Processing 3 rd edition, Pearson Prentice Hall, 2008. [9] Tzu-Chuen Lu and Ching-Yun Chang, A Survey of VQ Codebook generation, Journal of Information Hiding and Multimedia Signal Processing, Volume 1, Number 3, July 2010. International Journal of Academic Engineering Research (IJAER) ISSN: 2000-001X Vol. 2 Issue 10, October – 2018, Pages: 19-27 www.ijeais.org/ijaer 25 [10] ABDELATIEF. H ABOUALI,‖ OBJECT-BASED VQ FOR IMAGE COMPRESSION ―, Ain Shams Engineering Journal, Vol. 6, Issue 1 (2015) pp. 211216 [11] A. H. Abou-Ali, S. M. Abd-El-Moetty, B. Earl Wells, ―RE-CONFIGURABLE HARDWARE BASED FRACTAL NEURAL PROCESSOR‖, The international conference on parallel processing, PDCS-2006, 2006, CA USA. [12] Priyadarshini K S, G S Sharvani, Prapulla S B, A SURVEY ON PARALLEL COMPUTING OF IMAGE COMPRESSION ALGORITHMS JPEG and Fractal Image Compression, International Conference on Computational Systems for Health & Sustainability(CSFHS) 17-18 April 2015 [13] A. Murat Tekalp, Digital Video Processing 2 nd , Prentice Hall NJ, USA 2015 [14] Mehwish Rehman, Muhammad Sharif and Mudassar Raza, Image Compression: A Survey, Research Journal of Applied Sciences, Engineering and Technology Maxwell, 2014 [15]Surendar Chandra, and Windsor W. Hsu, Lossless Medical Image Compression in a Block-Based Storage System, march 2014 Data Compression Conference [16] Nanrun Zhouab, Aidi Zhanga, Fen Zhenga, and Lihua Gongac, Novel image compression–encryption hybrid algorithm based on key-controlled measurement matrix in compressive sensing, Optics & Laser Technology, volume 62 October 2014, Pages 152-160 [17] G. R. Jothilakshmi, R. J. Christilda, A. Raaza, Y. Sreenivasa Varma, V. Rajendran, "Extracting region of interest using distinct block processing method in sono-mammogram images", 2017 International Conference on Computer Communication and Signal Processing (ICCCSP), pp. 1-7, 2017. [18] P. Praveenkumar, L. Kala, R. Nisha, K. Thenmozhi, J. B. B. Rayappan, R. Amirtharajan, "Hungarian sculptured Discrete Gould transformed bit planes-a double puzzled image", 2015 International Conference on Computer Communication and Informatics (ICCCI), pp. 1-4, 2015. [19] Ya-Pei Feng and Zhe-Ming Lu, an efficient hybrid feature for edge-preserving based on block truncation coding and tree-structured vector quantization with edge orientation classification of bit-planes, International Journal of Innovative Computing, Information and Control ICIC 2018 ISSN 1349-4198, Volume 14, Number 3, June 2018 [20] Jungrae Kim, Michael Sullivan, Esha Choukse, and Mattan Erez, Bit-plane compression: transforming data for better compression in many-core architectures, Proceeding ISCA '16 Proceedings of the 43rd International Symposium on Computer Architecture Pages 329-340 [21] Abdelatief H. Abouali,‖BITPLANES BLOCK BASED LOSSY IMAGE COMPRESSION‖, International Journal of Engineering and Information Systems (IJEAIS),Vol. 2 Issue 10, OCTOBER – 2018, Pages: XX-XX [22] Mehmet Utku, Gaurav Sharma, A. Murat Tekalp, ‖Gray-level-embedded lossless image compression‖ signal processing: image communication, Elsevier, volume 18, 2003, 443-454 [23] Ghadah Al-Khafaji, ―image compression based on quad-tree and polynomial ―, international Journal of computer applications, Volume 76 No. 3, August 2013. [24] Rajasekhar Reddy , Ravichandran KS, Venkatraman B, Suganya SD,‖ A new approach for the image compression to the medical images using PCASPIHT‖, Biomedical Research 2018; Special Issue: S481-S486 Dr. Abdellatief Hussien Abouali Received B.Sc. from the MTC computer engineering 1984 presidential Honored, Master degree from collage of engineering Cairo University in expert systems, and received Ph.D. the University of Alabama in Huntsville (UAH) USA, Multi-class vector quantization for neural network design. Served in air force research in development till end of 2012, with many applied researches in areas of computers and computers based systems. Working for ElShrook Academy computer science department, Cairo, Egypt. Fields of interest image processing, neural networks, and machine learning aabouali@hotmail.com , phone :+201120647588 aabouali4@gmail.com, dr.Abdullatif.Hussein@sha.edu.eg International Journal of Academic Engineering Research (IJAER) ISSN: 2000-001X Vol. 2 Issue 10, October – 2018, Pages: 19-27 www.ijeais.org/ijaer 26 APPENDIX A: Encoding Algorithm Assume that given a square (or squared, null expanded) image matrix I of pixel resolution NxN , nN 2 (or null expanded to closest size satisfies the condition) with q bit colors/grays. Therefore, the image contains q bit-planes ),.......,,( 110 qppp of size equal to .I Definitions: Divide a square Block B of size 2m , m is divisible by 2, that starts at location sysx bb , as }4,3,2,1{),,,( BBBBSetblockproducethatbbmBDB sysx each of size 2/m and their start locations are )2/,2/(),2/,(),,2/(),,( mbmbmbbbmbbb sysxsysxsysxsysx consequently. For a block B: B1C and BNNC are the block 1's count and None Null Count consequently. Block B is said to be all zeros if block B1C=zeros. Block B is said to be all ones if B1C=BNNC. Encoding process of block B of size m that starts at location sysx bb , as BENC(B, sysx bb , , m ) which output plane streams MBS and RBS. BENC (B, sysx bb , , m ) { If m=2 RBS=RBS+ row-scan (B) else {SWITCH (B1C (B), BNNC(B)) Case all zeros: MBS += '00' Case all ones: MBS +='11' Otherwise MBS +='01', m/2). , m/2bm/2,b, BENC(B4m/2), , m/2b,b, BENC(B3 m/2), , bm/2,b, BENC(B2m/2), , b,b, BENC(B1),,,,( sysxsysx sysxsysx sysx bbmBDB If size ((RBS + MBS) >= plane size) {RBS=rowscan of the plane; MBS=NULL; Return;} } Where are the main bit-stream and residual bit-stream of the sub-block i, i € {1,2,3,4}, the four subblocks of the main block out of the DB() function. Basic Encoding(I) { MSB, RBS set to NULL for all planes. I 0p N 1p N 1qp N } Appendix B: Basic Decoding: The encoded file header contains original image resolution that yields the number of bit-planes and the original image size. The size is squared and expanded to satisfy the former condition. Then a stack is initialized to recover planes through the decode block DECODEB (MBS, RBS). DECODEB (MBS, RBS) { While (stack is not empty) { Popup , sysx bb , , m If Block intersection with original image matrix is ɸ then continue Read from MBS stream two bits into tb Case tb=00 set block to zeros Case tb=11 set bock to ones Case tb=01 If m==2 read from RBS four bits to set row wise block bits. else International Journal of Academic Engineering Research (IJAER) ISSN: 2000-001X Vol. 2 Issue 10, October – 2018, Pages: 19-27 www.ijeais.org/ijaer 27 m/2). , b,(bpush m/2), , bm/2,(bpush m/2), , m/2b,(bpush m/2), , m/2bm/2,(bpush ),,,,( sysxsysxsysx sysx sysx bbmBDB } } The decode procedure has two binary streams MBS, RBS and is as following: - If MBS is NULL row bit-set from RBS else { N). , (0,0push stack DECODEB (MBS, RBS). } | {
"pile_set_name": "PhilPapers"
} |
Optimization of methane production in anaerobic co-digestion of poultry litter and wheat straw at different percentages of total solid and volatile solid using a developed response surface model.
Poultry litter (PL) can be good feedstock for biogas production using anaerobic digestion. In this study, methane production from batch co-digestion of PL and wheat straw (WS) was investigated for two factors, i.e., total solid (2%, 5%, and 10%) and volatile solid (0, 25, and 50% of WS), constituting a 3 × 3 experimental design. The results showed that the maximum specific methane volume [197 mL (g VS)(‑1)] was achieved at 50% VS from WS at 5% TS level. It was estimated that the inhibitory threshold of free ammonia was about 289 mg L(--1), beyond which reduction of methanogenic activity by at least 54% was observed. The specific methane volume and COD removal can be expressed using two response surface models (R(2) = 0.9570 and 0.9704, respectively). Analysis of variance of the experimental results indicated that the C/N ratio was the most significant factor influencing the specific methane volume and COD removal in the co-digestion of these two materials. | {
"pile_set_name": "PubMed Abstracts"
} |
The Best Books - All The Best Books You Need
Stay with Me: A novel
Yejide and Akin have been married since they met and fell in love at university. Though many expected Akin to take several wives, he and Yejide have always agreed: polygamy is not for them. But four years into their marriage–after consulting fertility doctors and healers, trying strange teas and unlikely cures–Yejide is still not pregnant. She assumes she still has time–until her family arrives on her doorstep with a young woman they introduce as Akin’s second wife. Furious, shocked, and livid with jealousy, Yejide knows the only way to save her marriage is to get pregnant. Which, finally, she does–but at a cost far greater than she could have dared to imagine. An electrifying novel of enormous emotional power, Stay With Me asks how much we can sacrifice for the sake of family. | {
"pile_set_name": "Pile-CC"
} |
Amon Buchanan
Amon Buchanan (born 10 October 1982) is a former Australian rules football who played for the Brisbane Lions and the Sydney Swans in the AFL. He is currently serving as the forwards coach of the Greater Western Sydney Giants.
AFL career
Sydney
Buchanan grew up in the Victorian town of Colac, west of Melbourne. He played football for Colac and the Geelong Falcons Under 18's team, winning a premiership with the Falcons in 2000 and subsequently being selected by the Sydney Swans in the post-season National Draft. He made his senior debut in Round 11 of the 2002 season against West Coast. By the end of 2002, he had played six matches, but had a disappointing season the next year, suffering knee and ankle injuries, not playing a single senior game and being delisted. However, he was redrafted by the Swans, and had established himself as a regular member of the team by the second half of 2004. During Sydney's 2005 premiership-winning season, Buchanan played in every match, making useful contributions in the midfield and kicking the final goal of the Grand Final against West Coast. He was also called a "weak dog" by 's Mark Johnson during the season.
In 2007, Buchanan became the first Swan to be suspended since early 2005. He was also suspended for four matches in Round 15, 2008 for reckless conduct against Hawthorn's Luke Hodge.
Brisbane Lions
At the end of the 2009 season, Buchanan was traded to the as part of a three-way deal with and . He was given the number 33 guernsey, vacated by Rhan Hooper and made famous by Darryl White. He made his debut for the Lions in their Round 1, 2010 clash against West Coast at the Gabba.
He retired from AFL football at the end of the 2012 season.
Post-playing career
In 2013 Buchanan joined the Greater Western Sydney Giants as a development coach. He has since moved into the role of forwards coach at the club.
Personal life
Sporting blood runs in Amon's family with brothers Liam Buchanan, a state cricketer for the Victorian Bushrangers, and Meyrick Buchanan, representing Melbourne Renegades in the 2011–12 Big Bash League.
Statistics
|- style="background-color: #EAEAEA"
! scope="row" style="text-align:center" | 2002
|style="text-align:center;"|
| 32 || 6 || 1 || 2 || 15 || 20 || 35 || 11 || 3 || 0.2 || 0.3 || 2.5 || 3.3 || 5.8 || 1.8 || 0.5
|-
! scope="row" style="text-align:center" | 2003
|style="text-align:center;"|
| 32 || 0 || — || — || — || — || — || — || — || — || — || — || — || — || — || —
|- style="background:#eaeaea;"
! scope="row" style="text-align:center" | 2004
|style="text-align:center;"|
| 32 || 16 || 6 || 6 || 78 || 98 || 176 || 29 || 49 || 0.4 || 0.4 || 4.9 || 6.1 || 11.0 || 1.8 || 3.1
|-
! scope="row" style="text-align:center" | 2005
|style="text-align:center;"|
| 32 || 26 || 14 || 18 || 231 || 199 || 430 || 83 || 80 || 0.5 || 0.7 || 8.9 || 7.7 || 16.5 || 3.2 || 3.1
|- style="background:#eaeaea;"
! scope="row" style="text-align:center" | 2006
|style="text-align:center;"|
| 32 || 24 || 13 || 8 || 249 || 183 || 432 || 104 || 96 || 0.5 || 0.3 || 10.4 || 7.6 || 18.0 || 4.3 || 4.0
|-
! scope="row" style="text-align:center" | 2007
|style="text-align:center;"|
| 32 || 16 || 6 || 8 || 149 || 146 || 295 || 81 || 45 || 0.4 || 0.5 || 9.3 || 9.1 || 18.4 || 5.1 || 2.8
|- style="background:#eaeaea;"
! scope="row" style="text-align:center" | 2008
|style="text-align:center;"|
| 32 || 20 || 14 || 11 || 156 || 181 || 337 || 98 || 64 || 0.8 || 0.6 || 7.8 || 9.1 || 16.9 || 4.9 || 3.2
|-
! scope="row" style="text-align:center" | 2009
|style="text-align:center;"|
| 32 || 8 || 2 || 3 || 45 || 90 || 135 || 27 || 37 || 0.3 || 0.4 || 5.6 || 11.3 || 16.9 || 3.4 || 4.6
|- style="background:#eaeaea;"
! scope="row" style="text-align:center" | 2010
|style="text-align:center;"|
| 33 || 12 || 9 || 3 || 67 || 89 || 156 || 48 || 37 || 0.8 || 0.3 || 5.6 || 7.4 || 13.0 || 4.0 || 3.1
|-
! scope="row" style="text-align:center" | 2011
|style="text-align:center;"|
| 33 || 5 || 0 || 1 || 26 || 48 || 74 || 15 || 18 || 0.0 || 0.2 || 5.2 || 9.6 || 14.8 || 3.0 || 3.6
|- style="background:#eaeaea;"
! scope="row" style="text-align:center" | 2012
|style="text-align:center;"|
| 33 || 1 || 0 || 1 || 7 || 12 || 19 || 2 || 2 || 0.0 || 1.0 || 7.0 || 12.0 || 19.0 || 2.0 || 2.0
|- class="sortbottom"
! colspan=3| Career
! 134
! 66
! 61
! 1023
! 1066
! 2089
! 498
! 431
! 0.5
! 0.5
! 7.6
! 8.0
! 15.6
! 3.7
! 3.2
|}
References
External links
Amon Buchanan at Sydneyswans.com.au
Category:1982 births
Category:Living people
Category:Australian rules footballers from Victoria (Australia)
Category:Sydney Swans players
Category:Brisbane Lions players
Category:Geelong Falcons players
Category:Colac Football Club players
Category:People from Colac, Victoria
Category:Australia international rules football team players | {
"pile_set_name": "Wikipedia (en)"
} |
Of course that is correct, but in practice the assertion that we should not only seek out Christian minorities means that Western governments, peace and human rights organisations are ignoring their appeal for help. This time too, the media are replete with stories about the Yezidis who have fled into the mountains for the advancing ISIS; it is the suffering of this particular religious minority that prompted the American president, Obama, to intervene in Iraq, not the expulsion of tens of thousands of Christians from Mosul and its surroundings one and a half month earlier.
The PAX officials explain this reticence in their article by reference to the oft-heard argument that overt support from the West, seen as Christian, would constitute an additional threat because they would then be seen as a fifth column of the West. We do see this phenomenon, but that is not a consequence of the support provided by the West to the Christian minorities in the Middle East (in fact it isn’t provided), but of the wars which the West itself wages in the Middle East, or of the assistance it provides to other warring parties in the region.
Prior to the disastrous Iraq war of 2003, Iraqi Christians and Christians in the remaining Middle East called on their (supposed) co-religionists not to launch this war, as it would have dramatic consequences for Christians and all other sections of the Iraqi population. This compelling appeal to the West was ignored and on the part of IKV there were scathing remarks about the Christian background of the Iraqi foreign secretary and later prime minister under Saddam Hussein, Tariq Aziz. The Iraqi Christians were put down as collaborators with the regime and their warnings were dismissed. The same reproach was made to the Syrian churches when they, in the early stages of the Arab Spring, pointed at the jihadist groups which fought alongside the armed Syrian opposition, claiming they constituted a threat to the Christians and other minorities in Syria and yet were being supported by the West, morally and indirectly, materially as well.
The PAX officials argue towards the end of their article that an ‘inclusive approach’ is necessary to link up with ‘the complex process of identity and state building in Iraq and the Arab region’. But in the cases of Iraq in 2003 and Syria in 2011, their organisation and Western policy in general did not adopt an inclusive approach at all. Instead they lent their ear to Iraqi and Syrian exiles, and in the case of Iraq, to the Kurds in the north who were busy with their own ‘process of identity and state building’. Other voices, including those of the Christians in both countries, were simply not noticed or were dismissed as irrelevant.
Yet both in Syria and Iraq Christians constituted a fully integrated section of the population within states that had been formed under secular auspices. With their secular and Islamic compatriots they resisted what they saw as Western imperialist politics in the Middle East. The West chose other groups in the population as a ‘fifth column’, just as it is currently helping the Kurds in particular to defend themselves against ISIS in Iraq. Instead of protecting the Christians who had fled Mosul to seek refuge in the Ninive plain, the Kurdish fighters retreated from this area without putting up any resistance, just as the Iraqi army had done one and a half month earlier in Mosul. Hence is it not the Christians asking for help, who are feeding the growing sectarianism in the Middle East, but the Western interventions in the region.
It is true that in large parts of Iraq the Christians today are being seen as a fifth column of the West, but that is not because the West would one-sidedly come to their aid but precisely because the West systematically ignores their warnings and calls for help, whilst persistently justifying itself by pointing to the danger of turning the Christians into a fifth column. | {
"pile_set_name": "Pile-CC"
} |
Q:
Is $ x^n-y^n$ is a product of coprime factors?
In the expression: $x^n-y^n$, if $n>2$ and $x,y$ are relatively prime, are the factors $x-y$ and $ x^{n-1}+x^{n-2}y+.....$ always coprime? Why? Please exclude the cases where $x-y=\pm 1$ and $\pm 2$. I know it is for $x=2$. Please any input will be greatly appreciated. Thanks.
A:
If $x\equiv y\pmod k$ and $k\mid n$, then they're not coprime.
Proof:
$x\equiv y\pmod k$, so $k\mid x-y$.
Since $x\equiv y\pmod k$, we have $x^{n-1}+x^{n-2}y+\cdots+xy^{n-2}+y^{n-1}\equiv nx^{n-1}\equiv 0\pmod k$, since $k\mid n$. $\:\square$
| {
"pile_set_name": "StackExchange"
} |
The Others (The Others album)
The Others is the self-titled debut album by the English band The Others. The album was released on 31 January 2005 in the UK on Mercury Records. In 2010, Q included the album in their list "The Fifty Worst Albums Ever!"
Singles
Four singles were released from The Others, all of which charted on the UK Singles Chart.
References
Category:2005 debut albums
Category:The Others (band) albums
Category:Mercury Records albums | {
"pile_set_name": "Wikipedia (en)"
} |
Introduction
============
Compared with endoscopic mucosal resection (EMR) for early gastric cancer (EGC), endoscopic submucosal dissection (ESD) has considerable advantages regarding rates of en-bloc resection, curative resection, and local recurrence [@JR221-1] [@JR221-2] [@JR221-3] [@JR221-4] [@JR221-5]. EMR has subsequently been replaced by ESD. The main problem with ESD using conventional knives is its technical difficulty. Consequently, it is associated with a high rate of complications, foremost of which are a long procedure time and the need for advanced endoscopic techniques [@JR221-6] [@JR221-7]. Conventional devices such as the insulation-tipped electrosurgical knife and needle knife gently push the knife to the tissue and cut using electrosurgical current. Because these tools lack the ability to grasp (accurate targeting and hemostatic effect) and to pull the target tissue (away from the proper muscle layer), they are associated with the potential for major complications such as perforation and bleeding [@JR221-8] [@JR221-9]. To reduce the risk of complications related to ESD using a conventional knife, Akahoshi and FUJIFILM developed the Clutch Cutter (CC), which can accurately grasp, pull, coagulate, and/or incise the targeted tissue using electrosurgical current [@JR221-10] [@JR221-11]. In our previous pilot study for early gastric neoplasms, we resected tumors safely and easily without unintentional incision by ESD using the CC (ESD-CC) [@JR221-12]. However, outcomes in a large number of patients with EGC treated by this new method of ESD-CC have not been previously reported. In this study, we assessed the clinical outcomes of ESD-CC for EGC in a large population.
Patients and methods
====================
Inclusion criteria/curability criteria and ethical considerations
-----------------------------------------------------------------
A total of 325 consecutive patients (228 men, 97 women; mean age 73.7 years, range 35 -- 95) with EGCs were treated by ESD-CC at Aso Iizuka Hospital from June 2007 to March 2014. They were enrolled based on the clinical indication criteria for ESD proposed by Gotoda et al. [@JR221-13] and the Japanese Gastric Cancer Association (JGCA) [@JR221-14] ([Table 1](#TB221-1){ref-type="table"}). Resection is considered as curative when all of the following post-ESD histopathological conditions are fulfilled: En-bloc resection, negative horizontal margin, negative vertical margin, no lymphovascular infiltration, and: A) "absolute indication group"-differentiated-type adenocarcinoma without ulcerative findings, of which the depth of invasion is diagnosed as mucosa (pT1a) and the diameter is ≤ 2 cm; B) "Expanded indication group" -- B1) differentiated type mucosal cancer (pT1a) without ulcer findings irrespective of tumor size, B2) differentiated type mucosal cancer (pT1a) with ulcer findings ≤ 3 cm in diameter, B3) differentiated type minute (\< 500 micron from the muscularis mucosae) submucosal invasive cancer (pT1b) ≤ 3 cm in size without ulceration, B4) undifferentiated type mucosal cancer (pT1a) ≤ 2 cm in size without ulceration. Gastrectomy with removal of lymph nodes was recommended for patients with EGCs that did not meet these criteria by post ESD-histological analysis (exclusion criteria group). To evaluate the learning curve of ESD-CC, 325 cases were grouped chronologically into five periods: (1^st^): cases 1 -- 50; (2^nd^): cases 51 -- 100; (3^rd^): cases 101 -- 150; (4^th^): cases 151 -- 200; (5^th^): cases 201 -- 325. This study was carried out at Aso Iizuka Hospital and was approved by its ethics committee. Written informed consent was obtained from all the patients in accordance with the Declaration of Helsinki.
###### JGCA indication criteria for ESD for early gastric cancer.
-------------------------------------------------------------------
**Absolute indication**
Tumor size \< 2 cm, histologically of differentiated type,
T1a, ulcer (--)
**Expanded indication**
(a) Tumor size \> 2 cm, histologically of differentiated type,
T1a, ulcer (--)
(b) Tumor size \< 3 cm, histologically of differentiated type,
T1a, ulcer ( + )
(c) Tumor size \< 2 cm, histologically of undifferentiated type,
T1a, ulcer (--)
**Exclusion indication**
Not satisfying any of the above criteria
-------------------------------------------------------------------
Clutch Cutter (CC)
------------------
The CC (DP2618DT, FUJIFILM Corporation, Tokyo, Japan) ([Fig. 1](#FI221-1){ref-type="fig"}) can grasp and cut or coagulate a piece of tissue with electrosurgical current. It has a 0.4 mm-wide and 3.5-mm or 5-mm long serrated cutting edge to facilitate grasping the tissue. The outer side of the forceps is insulated so that electrosurgical current energy is concentrated at the closed blade to avoid unintentional incision. Furthermore, the forceps is rotatable to the desired orientation. The diameter of this forceps is 2.7 mm. This device is available for all steps of ESD. The forced coagulation mode (VIO 300D; Erbe, Tübingen, Germany) 30 W (effect 3) was used for marking, endo cut Q mode (effect 2, duration 3, interval 1) was used for cutting (mucosal incision and submucosal dissection), and the soft coagulation mode 100 W (effect 5) was used for pre-cut coagulation and hemostatic treatment.
{#FI221-1}
ESD
---
ESD was performed by two endoscopists (one endoscopist maneuvered the scope and the other endoscopist maneuvered the CC.). ESD-CC was carried out using a single-channel therapeutic endoscope (EG-450RD5, Fujifilm) or a two-channel multi-bending endoscope (GIF-2T240M; Olympus, Tokyo, Japan). A long transparent hood (F-01, Top Co. Ltd., Tokyo, Japan) was attached to the endoscopic tip to facilitate submucosal dissection by elevating the lesion. The ESD-CC technique was as follows ([Fig. 2](#FI221-2){ref-type="fig"}) (VTR. 1). Marking dots were placed a few millimeters outside the margin of the lesion by CC in closed mode. Next, hyaluronic acid solution (MucoUp: Johnson and Johnson Co., Tokyo, Japan) mixed with a small volume of epinephrine and indigo carmine dye was injected into the submucosal layer. A mucosal incision and submucosal dissection were performed to completely remove the lesion using the CC. The bleeding vessel (artery or vein) was grasped, pulled/lifted and coagulated with the CC using electrosurgical current to stop the bleeding. Finally, the lesion was completely resected. All cutting steps consisted of 1) grasping step; 2) pull or lift up step; 3) pre-cut coagulation step with soft coagulation (if existence of blood vessel was suspected); and 4) cutting step with endo cut Q ([Fig. 3](#FI221-3){ref-type="fig"}).
{#FI221-2}
{#FI221-3}
Histopathological evaluation
----------------------------
The excised specimens were sectioned perpendicularly at 2-mm intervals. According to the Japanese classification for Gastric Cancer, the histology was divided into differentiated adenocarcinoma (well or moderately differentiated adenocarcinoma or papillary adenocarcinoma) or undifferentiated adenocarcinoma (poorly differentiated adenocarcinoma or signet-ring-cell carcinoma). Tumor size, depth of invasion, presence of ulcerative changes, lymphatic and vascular involvement, and tumor involvement to the horizontal and vertical margins were assessed.
Assessment of therapeutic efficacy and complications
----------------------------------------------------
The operating time was calculated as the time from the beginning of submucosal injection to the end of submucosal dissection. Resections were defined as "en bloc" when a lesion was resected in one piece and the resection margins were macroscopically tumor-free. Extension of cancer cells to the resected margin was evaluated as R0 (en-bloc resection with the lateral and basal resection margins free of cancer), R1 (incomplete resection when the cancer extended into the lateral or basal margins), or Rx (not evaluable when the margins were not evaluable as a result of the artificial effects of coagulation necrosis or multi-piece resection). All patients stayed in the hospital for 7 days following the procedure, after which follow-up endoscopic examinations were conducted at 2 days, and 2 (or 3), 9, and 15 months, and annually thereafter. All patients were given a proton pump inhibitor for a minimum of 8 weeks.
Statistical analysis
--------------------
All data analysis was conducted with a statistical software package (SAS version 9.2 and JMP version 8.0.1, SAS Institute Inc, NC, USA) The significance of differences in the lesion's features and the R0 resection rate of ESD-CC was determined using the χ^2^test. The significance of any differences in the lesion's features and the mean operating time of ESD-CC were determined using the Kruskal-Wallis test. A *P* value of less than 0.05 was considered to be significant.
Results
=======
Clinicopathological characteristics are shown in [Table 2](#TB221-2){ref-type="table"}. The male : female ratio was 2.4 : 1 (228/97) and the patients' mean age was 73.7 years (range 35 -- 95 years). After histological analysis of the resected specimens obtained by this procedure, the 325 patients were divided into three groups ([Table 1](#TB221-1){ref-type="table"}): Group 1 fulfilled the traditionally accepted indications (absolute indication group); Group 2 did not meet the absolute indication criteria but did meet the expanded indication criteria (the expanded indication group), and Group 3 did not meet the proposed criteria (exclusion indication group). The 38 patients in the exclusion-indication group were urged to undergo surgery. Nineteen patients have been referred for gastrectomy with lymph node dissection. Postoperative histological findings were no gastric residual cancer without lymph node metastasis in 17 patients, no gastric residual cancer with lymph node metastasis in one patient, and residual cancer (subserosal cancer) without lymph node metastasis in the other patient. The remaining 19 patients refused surgery and were followed up.
###### Clinicopathological characteristics (N = 325).
--------------------------------------- ------------------------
Sex, male/female 228/97
Mean ± SD (range) age (years) 73.7 ± 9.0 (35 -- 95)
Histologic type (%)
Differentiated type adenocarcinoma 315 (97 %)
Undifferentiated type adenocarcinoma 10 (3 %)
Location (%)
Lower 131 (40 %)
Middle 99 (31 %)
Upper 95 (29 %)
Indication criteria for ESD
Absolute indication group 204 (63 %)
Expanded indication group 83 (25 %)
Exclusion indication group 38 (12 %)
--------------------------------------- ------------------------
The technical outcome is summarized in [Table 3](#TB221-3){ref-type="table"}. The grasping and pull or lift-up steps before cutting the targeted tissue provided good visualization of the target area and allowed the use of sufficient pre-cut coagulation. In three patients (0.9 %), difficulties were encountered with the endoscopic approach to the target tissue during submucosal dissection. These lesions were successfully resected (en-bloc resection) using a polypectomy snare. The mean size of the EGCs and resected specimens was 17.3 ± 12.1 mm and 46.7 ± 15.5 mm, respectively. The en-bloc resection rate and R0 resection rate were 99.7 % and 95.3 % respectively. The mean operating time was 97.2 minutes.
###### Technical results of ESD with the Clutch Cutter (N = 325).
------------------------------------------------- -------------------------
Mean ± SD size of lesion, mm (range) 17.3 ± 12.1 (2 -- 74)
Mean ± SD size of resected specimen, mm (Range) 46.7 ± 15.5 (18 -- 95)
En-bloc resection rate (%) 324/325 (99.7 %)
R0 resection rate (%) 310/325 (95.3 %)
Complication rate 12/325 (3.6 %)
Intraoperative perforation rate 1/325 (0.3 %)
Intraoperative uncontrollable bleeding rate 0/325 (0 %)
Postoperative perforation rate 0/325 (0 %)
Postoperative bleeding rate 11/325 (3.4 %)
------------------------------------------------- -------------------------
[Table 4](#TB221-4){ref-type="table"} lists the R0 resection rate and operating time according to clinicopathological factors. R0 resection rates differed significantly according to tumor size and indication criteria. Mean operating time also differed significantly according to tumor size, histologic type, location, and indication criteria.
###### R0 resection rate and operating time for ESD using the Clutch Cutter according to clinicopathological factors (N = 325).
------------------------------------------------------------------------------- --------------------------
**R0 resection rate according to clinicopathological factors (%)**
Tumor size
0 -- 20 mm 230/235 (97.9 %)
21-mm 80/90 (88.9 %)
*P* value *P* \< 0.0001
Histologic type
Differentiated type adenocarcinoma 301/315 (95.6 %)
Undifferentiated type adenocarcinoma 9/10 (90 %)
*P* value NS
Location
Lower 127/131 (96.9 %)
Middle 91/99 (91.9 %)
Upper 92/95 (96.8 %)
*P* value NS
Indication criteria
Absolute indication group 201/204 (98.5 %)
Expanded indication group 81/83 (97.6 %)
Exclusion indication group 28/38 (73.7 %)
*P* value *P* \< 0.0001
**Operating time (minutes) according to clinicopathological factors (Range)**
Tumor size
0 -- 20 mm 82.4 ± 58.8 (14 -- 423)
21-mm 135.4 ± 63.2 (20 -- 340)
*P* value *P* \< 0.0001
Histologic type
Differentiated type adenocarcinoma 95.5 ± 62.3 (14 -- 379)
Undifferentiated type adenocarcinoma 149 ± 106.4 (51 -- 423)
*P* value *P* \< 0.05
Location
Lower 73.9 ± 44.9 (15 -- 230)
Middle 108.8 ± 58.8 (19 -- 300)
Upper 117.2 ± 81.6 (14 -- 423)
*P* value *P* \< 0.0001
Indication criteria
Absolute indication group 78.8 ± 54.7 (14 -- 379)
Expanded indication group 128.7 ± 68.0 (33 -- 423)
Exclusion indication group 126.3 ± 68.9 (20 -- 340)
*P* value *P* \< 0.0001
------------------------------------------------------------------------------- --------------------------
During ESD-CC, minor bleeding occurred in most cases, but prompt hemostasis was achieved with the CC (VTR. 2). Unsuccessful hemostasis using the CC for intraoperative bleeding occurred in eight cases (2.4 %), but hemostasis was obtained with the injection of hypertonic saline epinephrine solution and/or coagulation with a Coagrasper (FD-410LR; Olympus). No uncontrollable bleeding was encountered. Postoperative bleeding was seen in 3.4 % (11 of 325). However, all of the hemorrhagic episodes were successfully managed with endoscopic clipping or coagulation. In one case (0.3 %), endoscopic perforation occurred during cutting when proper muscle was wrongly identified as fibrotic submucosal tissue. That patient was successfully treated with endoscopic clipping. There was no delayed perforation after ESD-CC.
The learning curve demonstrated changes in operator proficiency over time ([Fig. 4](#FI221-4){ref-type="fig"}). Proficiency was expressed as operating time only and did not reflect the rates of R0 resection or perforation. The operating time in the first period was significantly longer than in the remaining periods (*P* \< 0.01).
{#FI221-4}
Discussion
==========
ESD for EGC is a widely accepted and well-established procedure because of it has a high tumor eradication rate and is less invasive than surgery. The major advantage of ESD over EMR is the high rate of en-bloc resection, regardless of the size, shape, coexisting ulcer, or location of the lesion [@JR221-1] [@JR221-2] [@JR221-3] [@JR221-4] [@JR221-5]. However, ESD is a more difficult and meticulous technique than EMR, and sometimes is associated with serious adverse events. Despite its technical difficulties, ESD using various knife devices has been shown by experts in limited high-volume centers to be effective and relatively safe for treatment of EGC [@JR221-1] [@JR221-2] [@JR221-3] [@JR221-4] [@JR221-5] [@JR221-6] [@JR221-7]. ESD using knife devices is technically difficult and carries a substantial risk of perforation and bleeding [@JR221-2] [@JR221-4] [@JR221-6]. The basic counter-measure for such complications is sufficient submucosal lifting by injected solution, which is very effective for all ESD methods including ESD-CC. When circumferential incision is completed prior to submucosal dissection, submucosal lifting often is difficult because of escape of the injected solution. We usually perform partial mucosal incision followed by partial submucosal dissection and repeat it up to completion of the en-bloc resection to prevent insufficient submucosal lifting, especially for broad lesions. The inevitable risk factors for ESD-related complications that are associated with knife devices are defects of fixation (inaccurate targeting) and compression (hemostatic effect) and pushing the knife to the target tissue (push force basically in the direction of the proper muscle) with electric discharge [@JR221-8]. Our new device, CC, can be used to grasp, pull (or lift up), and incise or coagulate the targeted tissue with electrosurgical current.
The CC has four characteristic safe mechanical procedures: 1) fixation (accurate targeting); 2) pull or lift up (away from the proper muscle layer); 3) compression (high hemostatic capability); and 4) outside insulation (minimization of outside electric damage) [@JR221-8] [@JR221-9] [@JR221-10] [@JR221-11] [@JR221-12]. In this study, there was a 0.3 % perforation rate (only one case), no unintentional incision, and we were able to stop the intraoperative bleeding quickly and easily by CC without changing the device (VTR. 2). ESD-CC is accomplished merely with grasp, pull (or lift up), and cut or coagulate steps, and it is as easy and simple as a standard-bite biopsy technique ([Fig. 3](#FI221-3){ref-type="fig"}). Furthermore, it was possible to perform all steps of ESD with only one instrument: the CC. We hypothesize that the advantages of ESD-CC will reduce the difficulty, risk of complication, and costs involved in performing ESD [@JR221-8] [@JR221-9].
The ESD-CC is available for different organs. As of February 2015 (including our previously reported studies[@JR221-9]), in our institute, we had performed ESD-CC (long-type for the stomach, short-type for the remaining organs) on 852 consecutive patients with a diagnosis of early-stage digestive tract tumor including adenoma (organ, number of patients, en-bloc resection rate, perforation rate, bleeding rate; lower pharynx, five patients, 80 %, 0 %, 0 %; esophagus, 66 patients, 100 %, 1.5 %, 1.5 %; stomach, 524 patients, 99 %, 0.2 %, 3 %; duodenum, eight patients, 100 %, 0 %, 0 %; ileum, one patient, 100 %, 0 %, 0 %;colon and rectum, 248 patients, 95 %, 1.6 %, 1.6 %) using the same method (unpublished data).
In this ESD-CC study, en-bloc resection was achieved in 99.7 % of the patients. That is comparable to results in other studies (94.9 % -- 97.7 %) [@JR221-3] [@JR221-5] [@JR221-15] [@JR221-16] [@JR221-17]. The rate of R0 resection by ESD-CC was 95.3 %. The reported rate of R0 resection using a knife device ranges from 82 % to 95.5 % [@JR221-4] [@JR221-7] [@JR221-18]. The mean operating time for ESD-CC was 97.2 minutes, versus reported mean operating times for ESD using knife devices ranging from 47.8 to 108.1 minutes [@JR221-5] [@JR221-7] [@JR221-19]. The R0 resection rate and procedure times for ESD-CC appear to be similar to those for conventional knife ESD. Furthermore, the R0 resection rate with ESD-CC was high (over 88 %) irrespective of differences in tumor size, histologic type, location, and indication type (not counting the exclusion indication group).
Neuhaus [@JR221-20] reported that European results for ESD indicate lower rates of complete resection and higher morbidity compared to most trials from Asia, and they also demonstrate an unfavorable outcome at the beginning of the learning curve even after training in an experimental setting. Probst et al. [@JR221-21] showed a learning curve for ESD using knife devices resulting in a decreased procedural duration and an increased rate of complete en-bloc resection over time. However, ESD-CC is a simple technique (grasp \> \> pull \> \> cut or coagulate) similar to a standard bite biopsy. Because to the ease or learning ESD-CC, we achieved a high complete resection rate and an extremely low rate of morbidity, although we had little experience with conventional knife ESD. Based on our analysis of the learning curve, approximately 50 procedures must be carried out to acquire skill with performing ESD-CC for early gastric cancers.
Risk of perforation associated with the ESD procedure is divided into two groups, depending on the time of onset. Intraoperative perforation is due mainly to penetration of an electrosurgical knife through the proper muscle layer during ESD. The other type of perforation is postoperative, which mainly occurs 1 to 2 days after the ESD procedure. The rate of intraoperative perforation during gastric ESD ranges from 1.2 % to 8.2 % [@JR221-5] [@JR221-22] [@JR221-23] [@JR221-24]. To prevent intraoperative perforation, it is necessary to avoid electric sparkling to the proper muscle layer, which occurs mainly because of unintentional incision. The safe mechanism of CC, such as the pull effect and outside insulation, is very effective in preventing intraoperative perforation. In our ESD-CC study, we encountered only one endoscopic perforation (0.3 %) due to misidentification of the proper muscle layer as fibrotic tissue, not due to unintentional incision. This patient was successfully treated with immediate closure of the perforation by endoscopic clipping.
Postoperative perforation is reported to be a rare complication; however, once it occurs, it can lead to serious conditions that often require emergency surgery [@JR221-25] [@JR221-26]. The frequency is reported to be about 0.45 % [@JR221-26]. In theory, excessive thermal damage to the muscle layer may be one of the causes of postoperative perforation. Usually, hemostasis using the conventional knife requires a gentle push of the knife to the visible vessel with electrosurgical coagulation. Furthermore, most hemostatic devices have no outside insulation. Such shortcomings of conventional ESD devices may lead to postoperative perforation. The pull effect and outside insulation of the CC is very effective in preventing postoperative perforation. In this ESD-CC study, we encountered no postoperative perforations.
Bleeding is the most common major complication of ESD and is divided into two types, based on time of onset. Intraoperative bleeding is defined as any bleeding occurring during the ESD procedure, whereas postoperative bleeding occurs after the ESD procedure. Although intraoperative bleeding occurs frequently, it is difficult to measure its severity. Oda et al. reported that the rate of significant intraoperative bleeding was 7 % [@JR221-27]. Prevention and early control of any intraoperative bleeding is vital because bleeding can impair the endoscopic view, resulting in an increase in procedure time and intraoperative perforation. Preventive hemostatic coagulation of visible blood vessels and the quick cessation of unintentional bleeding are very important for obtaining a safe cure. The CC has accurate and sufficient hemostatic effects such as fixation (accurate targeting), pull or lift up (from the proper muscle layer), and compression (high hemostatic capability)[@JR221-8] [@JR221-9]. Therefore, we were able to perform sufficient pre-cut coagulation and stop the unintentional hemorrhage quickly using the CC without changing the device. There was no uncontrollable intraoperative bleeding in our study.
Postoperative bleeding is reported to occur in 5.3 % to 15.6 % of gastric ESD cases [@JR221-5] [@JR221-22] [@JR221-27] [@JR221-28] [@JR221-29] [@JR221-30], usually within a week after ESD. Therefore, in our institution, patients are observed in the hospital for 7 days following the procedure. ESD-CC is available for pre-cut coagulation and preventive coagulation for visible blood vessels of the ESD ulcer base. In this study, the postoperative bleeding rate was relatively low (3.4 %) as compared with that for conventional knife ESD. In our series, we performed second-look endoscopy in all cases. If a risky exposed vessel with clot or oozing bleeding was found during second-look endoscopy, we performed additional coagulation. The second-look endoscopy may have had a positive effect on our low rate of delayed postoperative hemorrhage.
Several specific knives or devices are required for each step in conventional ESD [@JR221-8] [@JR221-9]. With ESD-CC, on the other hand, a single device is used (CC). Before ESD-CC was introduced in our institute, we used a needle knife for marking and making a starting hole, an insulation -- tipped diathermic knife for circumferential incision and submucosal excision steps, and a hemostatic forceps for intraoperative bleeding. At least three devices were required for each session of ESD. In this study, we used only one device (CC) for all ESD steps. The ESD-CC reduces the number of devices and the cost of ESD [@JR221-9].
In conclusion, the results of our large, single-center series suggest that ESD-CC is an excellent endoscopic treatment for EGC because it is a single-device method, effective, safe, and technically simple to perform. Extensive controlled, randomized studies, e. g., vs. IT knife, vs. needle knife or vs. other devices, are necessary to fully evaluate the usefulness of our method, not only in Japan but also in Western countries, given the significant difference in ESD experience.
**Video 1** VTR of the procedure of ESD-CC of type 0-I + IIa early gastric cancer.
**Video 2** VTR of the hemostasis of intraoperative bleeding by the CC.
**Competing Interests:** Kazuya Akahoshi and Hidefumi Akahane (FUJIFILM) have applied for a patent in Europe for the Clutch Cutter describes in this article. Japan, China, and the USA have already granted the patent.
| {
"pile_set_name": "PubMed Central"
} |
<?php
/**
* @package Gantry5
* @author RocketTheme http://www.rockettheme.com
* @copyright Copyright (C) 2007 - 2017 RocketTheme, LLC
* @license Dual License: MIT or GNU/GPLv2 and later
*
* http://opensource.org/licenses/MIT
* http://www.gnu.org/licenses/gpl-2.0.html
*
* Gantry Framework code that extends GPL code is considered GNU/GPLv2 and later
*/
namespace Gantry\Component\Layout\Version;
/**
* Read layout from simplified yaml file.
*/
class Format1
{
protected $scopes = [0 => 'grid', 1 => 'block'];
protected $data;
protected $keys = [];
public function __construct(array $data)
{
$this->data = $data;
}
public function load()
{
$data = &$this->data;
// Check if we have preset.
$preset = [];
if (isset($data['preset']) && is_array($data['preset']) && isset($data['layout']) && is_array($data['layout'])) {
$preset = $data['preset'];
$data = $data['layout'];
}
// We have user entered file; let's build the layout.
// Two last items are always offcanvas and atoms.
$offcanvas = isset($data['offcanvas']) ? $data['offcanvas'] : [];
$atoms = isset($data['atoms']) ? $data['atoms'] : [];
unset($data['offcanvas'], $data['atoms']);
$data['offcanvas'] = $offcanvas;
if ($atoms) {
$data['atoms'] = $atoms;
}
$result = [];
foreach ($data as $field => $params) {
$child = $this->parse($field, (array) $params, 0);
unset($child->size);
$result[] = $child;
}
return ['preset' => $preset] + $result;
}
public function store(array $preset, array $structure)
{
return ['preset' => $preset, 'children' => $structure];
}
protected function normalize(&$item, $container = false)
{
if ($item->type === 'pagecontent') {
// Update pagecontent to match the new standards.
$item->type = 'system';
if (!$item->subtype || $item->subtype == 'pagecontent') {
$item->subtype = 'content';
$item->title = 'Page Content';
} else {
$item->subtype ='messages';
$item->title = 'System Messages';
}
}
if ($item->type === 'section') {
// Update section to match the new standards.
$section = strtolower($item->title);
$item->id = $section;
$item->subtype = (in_array($section, ['aside', 'nav', 'article', 'header', 'footer', 'main']) ? $section : 'section');
} elseif ($item->type === 'offcanvas') {
$item->id = $item->subtype = $item->type;
unset ($item->attributes->name, $item->attributes->boxed);
return;
} else {
// Update all ids to match the new standards.
$item->id = $this->id($item->type, $item->subtype);
}
if (!empty($item->attributes->extra)) {
foreach ($item->attributes->extra as $i => $extra) {
$v = reset($extra);
$k = key($extra);
if ($k === 'id') {
$item->id = preg_replace('/^g-/', '', $v);
$item->attributes->id = $v;
unset ($item->attributes->extra[$i]);
}
}
if (empty($item->attributes->extra)) {
unset ($item->attributes->extra);
}
}
$item->subtype = $item->subtype ?: $item->type;
$item->layout = in_array($item->type, ['container', 'section', 'grid', 'block', 'offcanvas']);
if (isset($item->attributes->boxed)) {
// Boxed already set, just change boxed=0 to boxed='' to use default settings.
$item->attributes->boxed = $item->attributes->boxed ?: '';
return;
}
if (!$container) {
return;
}
// Update boxed model to match the new standards.
if (isset($item->children) && count($item->children) === 1) {
$child = reset($item->children);
if ($item->type === 'container') {
// Remove parent container only if the only child is a section.
if ($child->type === 'section') {
$child->attributes->boxed = 1;
$item = $child;
}
$item->attributes->boxed = '';
} elseif ($child->type === 'container') {
// Remove child container.
$item->attributes->boxed = '';
$item->children = $child->children;
}
}
}
/**
* @param int|string $field
* @param array $content
* @param int $scope
* @param bool|null $container
* @return array
*/
protected function parse($field, array $content, $scope, $container = true)
{
if (is_numeric($field)) {
// Row or block
$type = $this->scopes[$scope];
$result = (object) ['id' => null, 'type' => $type, 'subtype' => $type, 'layout' => true, 'attributes' => (object) []];
$scope = ($scope + 1) % 2;
} elseif (substr($field, 0, 9) == 'container') {
// Container
$type = 'container';
$result = (object) ['id' => null, 'type' => $type, 'subtype' => $type, 'layout' => true, 'attributes' => (object) []];
$id = substr($field, 10) ?: null;
if ($id !== null) {
$result->attributes->id = $id;
}
} else {
// Section
$list = explode(' ', $field, 2);
$field = array_shift($list);
$size = ((float) array_shift($list)) ?: null;
$type = in_array($field, ['atoms', 'offcanvas']) ? $field : 'section';
$subtype = in_array($field, ['aside', 'nav', 'article', 'header', 'footer', 'main']) ? $field : 'section';
$result = (object) [
'id' => null,
'type' => $type,
'subtype' => $subtype,
'layout' => true,
'title' => ucfirst($field),
'attributes' => (object) ['id' => 'g-' . $field]
];
if ($size) {
$result->size = $size;
}
}
if (!empty($content)) {
$result->children = [];
foreach ($content as $child => $params) {
if (is_array($params)) {
$child = $this->parse($child, $params, $scope, false);
} else {
$child = $this->resolve($params, $scope);
}
if (!empty($child->size)) {
$result->attributes->size = $child->size;
}
unset($child->size);
$result->children[] = $child;
}
}
$this->normalize($result, $container);
return $result;
}
/**
* @param string $field
* @param int $scope
* @return array
*/
protected function resolve($field, $scope)
{
$list = explode(' ', $field, 2);
$list2 = explode('-', array_shift($list), 2);
$size = ((float) array_shift($list)) ?: null;
$type = array_shift($list2);
$subtype = array_shift($list2) ?: false;
$title = ucfirst($subtype ?: $type);
$attributes = new \stdClass;
$attributes->enabled = 1;
if ($subtype && $type === 'position') {
$attributes->key = $subtype;
$subtype = false;
}
$result = (object) ['id' => $this->id($type, $subtype), 'title' => $title, 'type' => $type, 'subtype' => $subtype, 'attributes' => $attributes];
$this->normalize($result);
if ($scope > 1) {
if ($size) {
$result->attributes->size = $size;
}
return $result;
}
if ($scope <= 1) {
$result = (object) ['id' => $this->id('block'), 'type' => 'block', 'subtype' => 'block', 'layout' => true, 'children' => [$result], 'attributes' => new \stdClass];
if ($size) {
$result->attributes->size = $size;
}
}
if ($scope == 0) {
$result = (object) ['id' => $this->id('grid'), 'type' => 'grid', 'subtype' => 'grid', 'layout' => true, 'children' => [$result], 'attributes' => new \stdClass];
}
return $result;
}
protected function id($type, $subtype = null)
{
if ($type === 'atoms') {
return $type;
}
$result = [];
if ($type !== 'particle' && $type !== 'atom') {
$result[] = $type;
}
if ($subtype && $subtype !== $type) {
$result[] = $subtype;
}
$key = implode('-', $result);
while ($id = rand(1000, 9999)) {
if (!isset($this->keys[$key][$id])) {
break;
}
}
$this->keys[$key][$id] = true;
return $key . '-'. $id;
}
}
| {
"pile_set_name": "Github"
} |
Documents
Systematic Review Approaches for Climate Change Adaptation Research
Abstract
Recent controversy has led to calls for increased standardization and transparency in the methods used to synthesize climate change research. Though these debates have focused largely on the biophysical dimensions of climate change, human dimensions research is equally in need of improved methodological approaches for research synthesis. Systematic review approaches, and more recently realist review methods, have been used within the health sciences for decades to guide research synthesis. Despite this, penetration of these approaches into the social and environmental sciences has been limited. Here, we present an analysis of approaches for systematic review and research synthesis and examine their applicability in an adaptation context. Customized review frameworks informed by systematic approaches to research synthesis provide a conceptually appropriate and practical opportunity for increasing methodological transparency and rigor in synthesizing and tracking adaptation research. This review highlights innovative applications of systematic approaches, with a focus on the unique challenges of integrating multiple data sources and formats in reviewing climate change adaptation policy and practice. We present guidelines, key considerations, and recommendations for systematic review in the social sciences in general and adaptation research in particular. We conclude by calling for increased conceptual and methodological development of systematic review approaches to address the methodological challenges of synthesizing and tracking adaptation to climate change. | {
"pile_set_name": "Pile-CC"
} |
Q:
How important are Design Patterns really?
How important are Design Patterns really?
I think the earlier generation of programmers didn't use Design Patterns that much (people who graduated in the 80s and before mid 90s). Do the recent graduate know it in general and use it a lot more?
A:
We used design patterns in the 80's, we just didn't know they were design patterns.
A:
The single biggest benefit of design patterns in my opinion is that it gives developers a common vocabulary to talk about software solutions.
If I say, "We should implement this using the singleton pattern", we have a common point of reference to begin discussing whether or not that is a good idea without me having to actually implement the solution first so you know what I mean.
Add in readability and maintainability that comes with familiar solutions to common problems, instead of every developer trying to solve the problem in their own way over an over again.
Pretty important. Software can be made without them, but it's certainly a lot harder.
A:
They are not absolutely needed, but the good definitely outweighs the bad.
The good:
Code readability: They do help you write more understandable code with better names for what you are trying to accomplish.
Code maintainability: Allows your code to be maintained easier because it is more understandable.
Communication: They help you communicate design goals amongst programmers.
Intention: They show the intent of your code instantly to someone learning the code.
Code re-use: They help you identify common solutions to common problems.
Less code: They allow you to write less code because more of your code can derive common functionality from common base classes.
Tested and sound solutions: Most of the design patterns are tested, proven and sound.
The bad:
Extra levels of indirection: They provide an extra level of indirection and hence make the code a little more complex.
Knowing when to use them: They are often abused and used in cases that they should not be. A simple task may not need the extra work of being solved using a design pattern.
Different interpretations: People sometimes have slightly different interpretations of design patterns. Example MVC as seen by django vs. MVC as seen by Ruby on Rails.
Singleton: Need I say more?
| {
"pile_set_name": "StackExchange"
} |
Along with remarkable advances of computers and networks in recent years, many kinds of information such as text data, image data, audio data, and the like are stored or transmitted in the networks. Among these data, an image, especially, a multi-valued image contains a very large volume of information, and upon storing and transmitting such image, the image data size becomes huge. For this reason, storage and transmission of an image use high-efficiency coding that reduces the data size by removing redundancy of an image or changing the contents of an image to a degree at which deterioration of image quality is not visually recognizable.
As an example of the high-efficiency coding, JPEG recommended by ISO and ITU-T as an international standard coding scheme of still image is prevalently used. JPEG specifies several coding schemes in correspondence with use purposes of encoded data of images to be encoded, and roughly has two modes, i.e., a DCT use mode that uses discrete cosine transformation and aims at irreversible coding, and a spatial mode that aims at reversible coding on the basis of two-dimensional DPCM.
A detailed description of these modes will be omitted since these modes are described in ITU-T Recommendation T.81 | ISO/IEC 10918-1 and the like. The DCT mode controls the bit rate by changing the quantization step in quantization, and must give a large quantization step to set a low target bit rate. As a result, especially under a low-bit rate condition, the reproduced image is distorted beyond an allowable level due to quantization.
Also, JPEG specifies hierarchical coding. In hierarchical coding, a plurality of images having different resolutions are generated by reducing an input image in a plurality of scales like ½, ¼, . . . in both the horizontal and vertical directions, and an image having the lowest resolution is encoded and transmitted like a normal image.
In this hierarchical coding, the DCT and spatial modes can be used. If hierarchical coding is implemented as reversible coding, since the spatial mode is used for all the scales or only the last scale, and the DCT mode is used for all other scales, an apparatus must comprise a circuit or program that can implement both the two modes, resulting in a complicated apparatus.
As a scheme that can combat these problems, a coding scheme using discrete wavelet transformation has been proposed. Such coding scheme using discrete wavelet transformation is advantageous since it assures higher compression performance than the DCT mode, can implement hierarchical coding in JPEG in a single system, and so forth.
On the other hand, requirements for image compression coding are becoming increasingly stricter, and even for a binary image such as a text image which is conventionally encoded by another scheme, a decoded image is required to have higher image quality. However, with the conventional scheme, both natural and binary images or an image including these images cannot be restored, while assuring sufficiently high image quality of the decoded image. | {
"pile_set_name": "USPTO Backgrounds"
} |
Q:
Elasticsearch 5 create in memory node for testing
I'm migrating to Elasticsearch 5 from 2 and we have integration tests which run on build servers which do not have ES nodes available. We have used the NodeBuilder from the previous version of ES to create in memory nodes on demand, but I can't find how to do the same thing with version 5.
A:
First time posting in stack overflow, sorry if any mistake in how ask my question.
I had exactly the same problem where I start a client in memory, but I could not connect using the transport client having NoNodeAvailableException as error message.
Settings settings = Settings.builder()
.put("path.home", "target/elasticsearch")
.put("transport.type", "local")
.put("http.enabled", false)
.build();
node = new Node(settings).start();
Now in my test I inject node().client() to the repository and it worked.
For whole code, spring boot and ES 5 without spring-data which does not support ES 5:
https://github.com/jomilanez/elastic5
| {
"pile_set_name": "StackExchange"
} |
/*
Copyright (C) 2015 Apple Inc. All Rights Reserved.
See LICENSE.txt for this sample’s licensing information
Abstract:
The EAGLView class is a UIView subclass that renders OpenGL scene.
*/
#import "EAGLView.h"
#import "ES2Renderer.h"
@interface EAGLView ()
{
ES2Renderer* _renderer;
EAGLContext* _context;
NSInteger _animationFrameInterval;
CADisplayLink* _displayLink;
}
@end
@implementation EAGLView
// Must return the CAEAGLLayer class so that CA allocates an EAGLLayer backing for this view
+ (Class) layerClass
{
return [CAEAGLLayer class];
}
// The GL view is stored in the storyboard file. When it's unarchived it's sent -initWithCoder:
- (instancetype) initWithCoder:(NSCoder*)coder
{
if ((self = [super initWithCoder:coder]))
{
// Get the layer
CAEAGLLayer *eaglLayer = (CAEAGLLayer *)self.layer;
eaglLayer.opaque = TRUE;
eaglLayer.drawableProperties = [NSDictionary dictionaryWithObjectsAndKeys:
[NSNumber numberWithBool:FALSE], kEAGLDrawablePropertyRetainedBacking, kEAGLColorFormatRGBA8, kEAGLDrawablePropertyColorFormat, nil];
_context = [[EAGLContext alloc] initWithAPI:kEAGLRenderingAPIOpenGLES2];
if (!_context || ![EAGLContext setCurrentContext:_context])
{
return nil;
}
_renderer = [[ES2Renderer alloc] initWithContext:_context AndDrawable:(id<EAGLDrawable>)self.layer];
if (!_renderer)
{
return nil;
}
_animating = FALSE;
_animationFrameInterval = 1;
_displayLink = nil;
}
return self;
}
- (void) drawView:(id)sender
{
[EAGLContext setCurrentContext:_context];
[_renderer render];
}
- (void) layoutSubviews
{
[_renderer resizeFromLayer:(CAEAGLLayer*)self.layer];
[self drawView:nil];
}
- (NSInteger) animationFrameInterval
{
return _animationFrameInterval;
}
- (void) setAnimationFrameInterval:(NSInteger)frameInterval
{
// Frame interval defines how many display frames must pass between each time the
// display link fires. The display link will only fire 30 times a second when the
// frame internal is two on a display that refreshes 60 times a second. The default
// frame interval setting of one will fire 60 times a second when the display refreshes
// at 60 times a second. A frame interval setting of less than one results in undefined
// behavior.
if (frameInterval >= 1)
{
_animationFrameInterval = frameInterval;
if (_animating)
{
[self stopAnimation];
[self startAnimation];
}
}
}
- (void) startAnimation
{
if (!_animating)
{
// Create the display link and set the callback to our drawView method
_displayLink = [CADisplayLink displayLinkWithTarget:self selector:@selector(drawView:)];
// Set it to our _animationFrameInterval
[_displayLink setFrameInterval:_animationFrameInterval];
// Have the display link run on the default runn loop (and the main thread)
[_displayLink addToRunLoop:[NSRunLoop currentRunLoop] forMode:NSDefaultRunLoopMode];
_animating = TRUE;
}
}
- (void)stopAnimation
{
if (_animating)
{
[_displayLink invalidate];
_displayLink = nil;
_animating = FALSE;
}
}
- (void) dealloc
{
// tear down context
if ([EAGLContext currentContext] == _context)
[EAGLContext setCurrentContext:nil];
}
@end
| {
"pile_set_name": "Github"
} |
.
.
Female fans normally know more facts about what’s going on than men do anyway. I’d say they’re a more intelligent fan on top of that. They normally know more about what we’ve done than we know about what we’ve done. --- Tony Stewart
.
There are female fans who take apart engines and will take you apart if you have a problem with that; who are drawn to the danger and mystery of the sport; who watch races on TV to witness pure passion and unscripted emotion; who love the camaraderie of these family-friendly festivals; who feel the nervous anxiety of the lip-biting wives atop the pit boxes. --- Andrew Giangola “The Weekend Starts on Wednesday”
That about sums up what Jimmie Johnson and crew chief, Chad Knaus, did to seven other teams at Texas Motor Speedway this weekend.
Johnson's hunt for a seventh championship came to a screeching halt with a five dollar mechanical failure at Dover, but he didn't let that stop him in his quest to sweep both Texas races this season, much to the dismay of other drivers looking to lock their places in the season-ending finale at Homestead.For his part, Knaus was the first one to say he really had no expectations."It was really
interesting, obviously. We didn't know exactly what we were going to
have due to the lack of practice. We went into it with a lot of
unknowns. As people started to have some tire failures, we saw some of
it in the XFINITY race yesterday. It's kind of typical here until the
track rubbers up.
"We
didn't really know what to expect. Initially we took off, the car was
really, really tight for us. We made some big swings to try to free it
up. We were able to move back towards the front a little bit. We had a
huge transition and the car started to loosen up for us again, so we had
to tighten it back up.
"We kind
of played back and forth depending upon where we were running on the
racetrack, what position we were, clean air versus dirty air, green flag
versus caution flag.
Credit: Debbie Ross for Skirts and Scuffs
"Jimmie
and the team did a great job. We made huge changes on the racecar today
throughout the pit stops. Our guys did a really good job. The guys
that prepare the car were jumping over the wall, making changes. Other
guys were changing the tires. There was a lot of activity. The guys
really worked hard for it.
"For not having any race practice, I'm really proud of what these guys were able to do today," Knaus said.
A win during the Chase would be considered an accomplishment for most non-Chase teams. For the No. 48 team, however, a win feels overdue.
It had been 20 races since Johnson and Company last visited Victory Lane. The summer belonged to Joe Gibbs Racing, and the post-season has been dominated by Team Penske.
How does Knaus feel about being back where the team has now found itself 75 times?
"Look, you got to be
honest. It's been a tough last three months," he said. "The beginning of the year
was pretty damn good, to be honest with you. But we've worked hard. We tried to figure out what was going on, battling different aero
packages, different things. The summer slump that the 48 typically goes
through -- it's been a bit of a challenge. We'd be in the middle of
this championship Chase if it wasn't for a small mechanical problem.
"That
being said, I feel like we've run the last six weeks, Martinsville being
the track we ran the worst at, which is really odd. We haven't been
able to post the finishes.
"To be
able to come out of here today with the win, to be able to race for it
the way we did, I think it speaks volumes about where the 48 is, the
no-give-up attitude that we've got.
"As far as me, yeah, it feels great. I like it. I don't want it to take that long before I get back here," Knaus said.
Johnson only led six laps on his way to the checkered flag. Brad Keselowski dominated the afternoon before Johnson passed him and marred any hopes the No. 2 team had of punching their ticket to Homestead.
Many teams had trouble early in the race with tire wear, including Keselowski's teammate, Joey Logano. Did Knaus have any concerns that his driver would have any of those tire issues?
"I was kind of prepared for it. This track does that a lot. So we were pretty conservative on our
settings knowing we didn't get any race trim practice to make sure we
wouldn't have a problem. Thankfully we really didn't [have any problems]," Knaus explained.
Tires issues aside, the final 10 races are tough for crew chiefs.
"It's a challenge. It's an emotional challenge, for sure," he said. "Honestly, the driver actually has it the best because he gets in there
and he kind of gets in a little (indiscernible) and he's active for the
three, four hours that you're driving. He really doesn't have the
residual effects of, gosh, I hope we got the right shocks, hope we got
this tight, that tight, things of that nature. On a crew chief it's
grueling. It's really, really tough.
"But that being said, that's why we do it. We like that. That's the thrill. That's the challenge."
The win in Texas was Johnson's sixth at the track. Similarly, Johnson has been prolific at a few other tracks, including Dover and Charlotte. Is repeated success because of a driver's ability or because his crew chief has mastered some specific characteristic of the track?"It's all crew chief," Knaus quipped. "No, it's a
combination of both, quite honestly. Things change. The tracks change a
lot. Charlotte Motor Speedway, for instance, we won I don't know how
many races, we won a bunch of them, they repaved the racetrack. We
lost. We're starting to slowly get it back.
"Martinsville is a challenge since they've changed some of the stuff. We've had difficulty getting back on top of it the way we need to.
"Texas is
one of those racetracks that fits Jimmie's style. We've taken
horsepower away from the cars, we've added downforce, done a lot of
these things. It's been tough for us to get on top of where we actually
need to be because a lot of the tracks, honestly you don't have to
handle that good, you don't have to be able to drive that well to run up
front.
"Texas is
where you have to have a hell of a driver to make it happen. Atlanta,
Chicago, places like that, Kansas, for instance. You really have to be
on your game to be able to run well at those tracks.
"This
falls into Jimmie's wheelhouse. What helps us is Jimmie needs to be
able to drive the racecar. When you drive it, you have to be able to
communicate with your crew chief. That's what Jimmie does. He speaks
to us in a language we understand at these types of racetracks. That
makes better racing for us," Knaus explained.
Credit: Debbie Ross for Skirts and Scuffs
Johnson and Knaus have one more opportunity to spoil Chase drivers' chances to lock up positions for Homestead as teams head west to Phoenix. Of course, both of them would rather be competing for a championship rather than seeking to make things difficult for others. They know they would still be in the hunt had they not had major issues.
"Look, we did it to
ourselves. Let's be honest. We did it to ourselves. I don't want to
say we slacked, but we stunk up the summer 100%. It was horrible,
pathetic. Then we come into the Chase, we're running pretty good. We
ran well at Chicago, we ran well at New Hampshire. New Hampshire we had
a problem, came back and finished well. Chicago we had a solid run. I'm sure we had something wrong there, too. Stacking up the problems we
had throughout the course of the season, you get written off.
"Man,
this is a tough sport: 39 events, 39 weeks we race with 43 of the best
teams in racing. It's tough. It only takes one or two little things to
make you feel like you're out of it.
"I can
tell you, my guys are strong. We've got a group of guys that have never
been better. Our pit crew is the best it's been. We brought in three
new engineers this year. You would think from the onset that we should
have been behind the eight ball. Unfortunately we came out strong, so
everybody was like, 'They're great, they're awesome.' But there's still a
learning curve you have to go through.
"I think coming into 2016 it's going to be right where we need to be, especially with these new rules. I can't wait," Knaus said.
Though they didn't have the dominant car, Knaus knew with Johnson's record at TMS that he could win if had track position, so he had the crew make some small adjustments to the car near the end of the race.
"The car was pretty good the run
leading up to that, so we kind of had a basis of where the car was. We
made some small adjustments right there to be pretty aggressive, to try
to make something happen.
"Look,
let's be honest, in the position we're in, if we finish fifth or second,
does it matter? Not really. You've got to go for the win.
"We made some changes there, let Jimmie light the fuse, put on his cape and go after it," Knaus explained.
Jimmie Johnson may not actually be Superman, but he definitely looked the part as he flew past Keselowski to take the win on Sunday saying, "It's been a long, dry summer. Glad I found the cape. Wasn't too dusty or too far away."
---------------------------
Stacey
Owens lives just outside Music City USA. She's always wanted to be a
NASCAR writer, so working as a columnist and support editor for Skirts
and Scuffs allows her to live that dream every single weekend.
The sole NASCAR enthusiast in her home, she's hopeful that one of her
three daughters might also harbor an appreciation for NASCAR, but it
isn't looking good so far. Her other interests include country
music, though she can't carry a tune; collegiate football, though she
needs a lot of work on her spiral; and Kentucky basketball, even though
at 6' tall, she's never played a day in her life. | {
"pile_set_name": "Pile-CC"
} |
Q:
Calculating percent change between groups using Dplyr - Stock Data
Simply trying to calculate the percent change across a given time period for each stock. My current code using dplyr is as follows:
stocks_df %>%
filter(Date > now() - days(2)) %>%
group_by(Stock) %>%
mutate(period_return = (Close - first(Close))/ first(Close) * 100) %>%
do(tail(., n=1))
Date Stock Close
2020-02-05 AAPL 308.86
2020-02-04 AAPL 318.85
2020-02-03 AAPL 321.45
2020-02-05 BA 329.55
2020-02-04 BA 317.94
2020-02-03 BA 316
2020-02-05 MSFT 179.9
2020-02-04 MSFT 180.12
2020-02-03 MSFT 174.38
Desired output would be:
AAPL -3.92%
BA 4.29%
MSFT 3.17%
A:
I guess what you are looking for is :
library(dplyr)
df %>%
group_by(Stock) %>%
summarise(period_return = -(last(Close) - first(Close))/ last(Close) * 100)
# Stock period_return
# <fct> <dbl>
#1 AAPL -3.92
#2 BA 4.29
#3 MSFT 3.17
which can be done in base R using aggregate
aggregate(Close~Stock, df, function(x) -(x[length(x)] - x[1])/x[length(x)] * 100)
| {
"pile_set_name": "StackExchange"
} |
Q:
How to call ".done" after the ajax call in Backbone fetch calls
Instead of throwing an error, the RESTful API that I call returns 200 success with a "fault" object as part of the return data when there's an error server side. I can't change the API. To handle this (without Backbone) all ajax calls are wrapped in a class that calls ".done" after the ajax call to handle display of any "fault" that may be included in the response. Also, some callers need to be able to specify settings that indicate where the fault should be displayed, while others rely on the default location.
I want to change the code to use Backbone's sync functionality to save and retrieve my models and collections, but I'm not sure how to inject the desired settings values and .done function. I could override the prototype sync method and change it to call our custom ajax method, but it's a pretty involved function and I'm rather afraid I'd break something. I would much rather find some lighter way to call ".done" on the result of the ajax call, but I'm having difficulty figuring out how.
I see how to inject an additional error handler or success handler by overriding Backbone.Model.prototype.fetch and Backbone.Collection.prototype.fetch, per this post - How to add a default error handler to all Backbone models?. However, that doesn't give me direct access to the actual ajax call return so I don't have anything to call ".done" on, plus "fetch" only covers "get" ajax calls and I need to handle faults for all Backbone ajax calls.
Anyone have an idea how to handle this?
Thanks much!
A:
I decided to override Backbone.ajax.
I found that any properties I set when calling fetch (I assume this will also work for save and destroy, but haven't tested that yet) are passed through by the framework to this method, so they are available to me there as needed. I'm not thrilled about how I'm making assumptions about Backbone's implementation there (i.e. assume the arguments will be passed to Backbone.ajax in a particular format), but this still seemed like the cleanest way.
Here's some of my code, so you can see how I'm reading the errorHandlingSettings argument. Note that the arguments are NOT passed into Backbone.ajax directly - they are stored by Backbone and then referenced there:
Backbone.ajax = function() {
var currentArguments = {};
if(typeof(arguments.callee) != 'undefined'
&& typeof(arguments.callee.arguments) != 'undefined')
currentArguments = arguments.callee.arguments[0];
var errorHandlingSettings = {};
if(typeof(currentArguments.errorHandlingSettings) != 'undefined')
errorHandlingSettings = currentArguments.errorHandlingSettings;
... etc. - store the "successIfNoFaults" variable.
var handleFaults = function(data){
... etc. (custom code using the errorHandlingSettings and successIfNoFaults variables) ...
};
return Backbone.$.ajax.apply(Backbone.$, arguments).done(handleFaults);
};
And here's how I'm passing the errorHandlingSettings argument (inside my view's initialize method):
this.reservationHold.fetch({errorHandlingSettings: {errorPlace:"1",errorPosition:"errorDiv"}, successIfNoFaults:function(){that.render();}});
Note that I also am passing another custom argument, "successIfNoFaults", so that I can avoid calling the "success" callback if a 200 response WITH a fault comes back.
| {
"pile_set_name": "StackExchange"
} |
The impact of the Massachusetts Managed Mental Health/Substance Abuse Program on outpatient mental health clinics.
Medicaid managed care initiatives pose special challenges to outpatient providers. During the first two full years of the Massachusetts Mental Health/Substance Abuse initiative, an analysis of cost and utilization data showed that outpatient mental health utilization and expenditures dropped slightly, although far less than did expenditures and utilization for inpatient facilities. In a telephone survey of a stratified random sample of outpatient providers, they reported that access, appropriate utilization, quality of care, the severity of their clients and aftercare coordination increased, while length of stay for these clients decreased. In their clinical practices, agencies shifted toward more emphasis on group and family care and brief therapies. As organizations, they made substantial operational changes. As a result, some agencies did better, while others did worse, under this new system. | {
"pile_set_name": "PubMed Abstracts"
} |
Q:
How to translate "tutorial"?
I'd like to help translate the Django Girls tutorial to Esperanto. That tutorial is a written step-by-step instruction guiding readers/learners through almost everything needed to build a functional blogging software. Besides the instructions themselves, the tutorial contains some explanations / background information about what is being done or being tried to achieve.
It's designed to be used at workshop-style courses with "coaches" present that help participants follow the guide, but should also be useful for readers learning self-guided on their own.
What Esperanto word should be chosen to translate "tutorial" in the name/title of the tutorial and elsewhere?
Mi volas helpi traduki la "Django Girls tutorial" al Esperanto. Ĉi tiu "tutorial" estas skriba paŝon-post-paŝo-instrukcio, kiu gvidas legantojn/lernantojn tra preskaŭ tuto necesa por konstrui funkcian blogan programaron. Krom la instrukcioj, la "tutorial" enhavas kelkajn klarigojn / foninformon pri kio estas farata por atingi ĝin.
Ĝi estas destinita al metiejo-stilaj kursoj kun "trejnistoj" tie, kiuj helpas partoprenantojn sekvi la gvidilon, sed ĝi devus esti utila ankaŭ al legantoj memlernantaj.
Kiu Esperanta vorto devus esti elektata por traduki "tutorial" en la nomo/titolo de la "tutorial" kaj aliloke?
A:
Ĝenerala esprimo estas „lernilo“ respektive „memlernilo“, sed tiu esprimo havas pli vastan signifon ol filmo, do „lernfilmo“ aŭ „memlernfilmo“, se temas pri simpla filmo, se temas pri interaktiva aplikaĵo, tiam fakte „lernilo“ respektive „memlernilo“ eventuale „interaktiva memlernilo“, se oni volas emfazi. El la vidpunkto de la instruisto, memkompreneble "instruilo" respektive "instrufilmo" ...
| {
"pile_set_name": "StackExchange"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.