text
stringlengths 1
22.8M
|
|---|
Lawless is a 2012 American crime drama film directed by John Hillcoat. The screenplay, by Australian singer-screenwriter Nick Cave, is based on Matt Bondurant's historical novel The Wettest County in the World (2008). The film stars Shia LaBeouf, Tom Hardy, Gary Oldman, Mia Wasikowska, Jessica Chastain, Jason Clarke, and Guy Pearce.
The film is about the violent conflict between three bootlegging brothers: Forrest (Hardy), Howard (Clarke), and Jack Bondurant (LaBeouf) — and the ruthless lawman Charley Rakes (Pearce), who tries to shut down the brothers' Prohibition-era moonshine business after Forrest refuses to pay him off. The film was in development for about three years before being produced. It screened at the 2012 Cannes Film Festival and was theatrically released on August 29, 2012.
Plot
In 1931, the Bondurant brothers — middle brother Forrest, eldest brother Howard, and youngest brother Jack — are running a successful moonshine business in Franklin County, Virginia. The brothers use their gas station and restaurant as a front for dealing with the assistance of Cricket, Jack's mechanically gifted friend who builds and maintains their stills. Jack witnesses rum-runner Floyd Banner shoot dead two federal agents in broad daylight for trying to arrest him.
Forrest hires Maggie, a financially struggling dancer, as a waitress. Shortly afterward, the gas station is visited by newly appointed U.S. Marshal Charley Rakes, accompanied by the sheriff and corrupt state's attorney Mason Wardell. Rakes demands that he and Wardell receive a cut of profits from all bootleggers within the county, including Forrest, in exchange for ignoring their operations. Forrest refuses and implores his fellow bootleggers to unite against Rakes, but they refuse.
Meanwhile, Jack lusts after Bertha, daughter of the local Brethren preacher. He attends their church service drunk, embarrassing himself but piquing her interest. Jack walks in on a visit from Rakes to Cricket's house and is beaten by him as a message to his brothers. Later that night, Forrest throws out two drunk customers who had been harassing and threatening Maggie. After Maggie leaves, Forrest is ambushed by the two men, who slit his throat. Maggie returns looking for Forrest but is beaten and raped by the men. She hides the assault from Forrest, not wanting him to take revenge.
While Forrest recovers at a hospital, Jack, deciding to retire from bootlegging rather than cross Rakes any further, crosses the county line with Cricket to sell their remaining liquor. They get ambushed by Banner and his crew but are spared when Jack reveals he is a Bondurant, whom Banner admires for their stance against Rakes. Banner reveals to Jack the address of his brother's assailants, revealing that both men are former bootleggers who escaped punishment for their crimes by working as deputy marshals for Rakes.
Forrest and Howard find, torture, and kill the men and send one of their testicles to Rakes. Banner becomes a regular client of the brothers, who invest their profits into setting up larger stills deep in the woods. Jack continues to court Bertha. Maggie decides to return to Chicago, but Forrest convinces her to stay and provides her with a spare room; they soon develop a romantic relationship. On a day trip, Jack decides to show Bertha the brothers' secret operation, but they are followed and ambushed by Rakes and his officers. Howard and Jack flee but Cricket and Bertha are caught. The police take Bertha home, while Cricket has his neck snapped by Rakes.
After Cricket's funeral, the sheriff warns the Bondurants that Rakes has set up a blockade at the bridge to trap them while Wardell arranges for Prohibition agents to round up every bootlegger in the county. Jack speeds off in Cricket's car to confront Rakes. Howard and Forrest quickly follow to provide backup, to Maggie's chagrin. She reveals she had delivered him to the hospital after the attack and Forrest realizes that she had been raped.
Jack arrives at the bridge but is wounded by Rakes. Howard and Forrest arrive, and a shootout ensues, during which Forrest and his driver are also wounded, the latter fatally. A convoy of bootleggers arrive and hold the lawmen at gunpoint. Rakes ignores them and attempts to execute Forrest but is shot in the leg by the sheriff in an attempt to halt the bloodshed. Rakes turns to leave the scene, but suddenly turns around and shoots Forrest several times. The convoy opens fire on Rakes, but he runs into a covered bridge. Since he is unable to run far, the badly wounded Jack and Howard follow and plunge a knife into Rakes' back, killing him.
Following the end of Prohibition in 1933, Wardell is arrested on corruption charges while the Bondurants are all married — Jack to Bertha, Forrest to Maggie, and Howard to a Martinsville woman — and working in legitimate occupations. During a festive reunion at Jack's house sometime later, Forrest drunkenly ambles to a frozen lake and falls into the freezing water. Although he drags himself out, he later dies of pneumonia, putting to rest the legend of his invincibility.
Cast
Production
Writer Matt Bondurant wrote the historical novel The Wettest County in the World (2008), based on the Prohibition-era bootlegging activities of his grandfather Jack Bondurant and grand-uncles Forrest and Howard. Producers Douglas Wick and Lucy Fisher optioned the book in 2008 and sent it to director John Hillcoat. Hillcoat later said,
[Bootlegging] sort of drew [the Bondurants] into this crazy kind of world of corruption and lawlessness ironically, but then mostly they survived, they got through it all and actually went on to have businesses and children. And traditionally the gangster film teaches us that we've got to pay for our sins. Usually the gangster is shot down in a blaze of glory and doesn't get up again.
Hillcoat and screenwriter Nick Cave, who had worked together on the Western film The Proposition (2005), were attracted to the story by the success of the Bondurants. Hillcoat also said, "we also loved the idea that it sort of touched on the whole immortality that a lot of these guys start to feel when they do survive so many strange experiences."
The first actor to be cast was Shia LaBeouf as Jack, the youngest Bondurant brother. James Franco was attached to play Howard and Ryan Gosling was attached to play Forrest; Amy Adams and Scarlett Johansson were also attached to the project. Originally titled The Wettest County in The World, the same as the novel, the film's title was changed to The Promised Land.
Although Hillcoat intended to begin shooting in February 2010, in January the project was reported to have fallen apart due to financing problems. Only LaBeouf remained with the project. He said that after he saw Bronson (2008), "I went home and wrote Tom [Hardy] a letter saying I was a fan. He sent me a script, and I sent him Lawless. He called me back and said, 'This is fucking amazing. Cinematographer Benoît Delhomme recommended Jessica Chastain to Hillcoat. Chastain said, "I am a big fan of The Proposition. I hadn't even read the script, but I told [Hillcoat], 'If you cast me, I'll do it.' I approach every role in terms of: 'Have I done this before? Is it something I'm repeating?' Lawless offered a new opportunity."
By December 2010, Hardy and Chastain were reported to have joined the project. Michael Benaroya of Benaroya Pictures and Megan Ellison of Annapurna Pictures were undertaking its financing. Jason Clarke and Dane DeHaan were cast in January 2011. Guy Pearce, Gary Oldman, and Mia Wasikowska joined the cast in February 2011.
According to Cave, "a lot of the truly brutal stuff did not make it through into the film. In the book, you get lulled by the beautiful lyricism of the writing, then suddenly you are slapped in the face by a graphic description of a killing. I tried to be true to that as much as I could." He also said the filmmakers "tried to stay as true to the original story as possible", adding "we kind of changed aspects of the personality and temperament of Rakes to get [Pearce] involved."
Before Pearce was cast, "Rakes, the character Rakes, was very much like the character in the book. He was a nasty country cop. We made him a city cop, gave him his disturbed sexuality and all the rest of it," Cave said. Pearce created the hairstyle worn by Rakes in the film.
Lawless was filmed early 2011 in various locations near Atlanta, Georgia, including Newnan, Grantville, Haralson, LaGrange, Carroll County's McIntosh Park, and the Red Oak Creek Covered Bridge south of Gay. The cast lived in apartments in Peachtree City for three months during production, and Hillcoat screened dailies for the cast every weekend. Hillcoat and Delhomme consulted with cinematographers Roger Deakins and Harris Savides on digital cinematography. They chose to use the Arri Alexa digital camera system for Lawless, and Delhomme always used two cameras during filming.
In March 2011, Momentum Pictures and its parent company Alliance Films acquired the U.K. and Canadian distribution rights. In May 2011, the Weinstein Company bought the U.S. distribution rights, with plans for a wide release. In March 2012, the title was changed to Lawless.
Cave scored the film with Warren Ellis. Cave said
Soundtrack
A soundtrack for the film was released on August 28, 2012:
Release
Lawless screened In Competition at the 2012 Cannes Film Festival on May 19 and received a nearly 10-minute standing ovation. The film was theatrically released in the U.S. on Wednesday, August 29, 2012. The Weinstein Company hoped that good word of mouth would be built up for the upcoming Labor Day weekend. Audiences polled by the market research firm CinemaScore gave Lawless a B+ grade on average.
Reception
Critical response
On Rotten Tomatoes, the film has an approval rating of 66% based on 217 reviews, with an average rating of 6.47/10. The site's critical consensus reads, "Grim, bloody, and utterly flawed, Lawless doesn't quite achieve the epic status it strains for, but it's too beautifully filmed and powerfully acted to dismiss." On Metacritic, the film has a weighted average score of 58 out of 100, based on reviews from 38 critics, indicating "mixed or average reviews".
Cannes
David Rooney of The Hollywood Reporter wrote:
"If Lawless doesn't achieve the mythic dimensions of the truly great outlaw and gangster movies, it is a highly entertaining tale set in a vivid milieu, told with style and populated by a terrific ensemble. For those of us who are suckers for blood-soaked American crime sagas from that era, those merits will be plenty."
Mike D'Angelo of The A.V. Club gave the film a B− grade, calling it "a thoroughly familiar—but flavorful and rousing—shoot-'em-up set among Prohibition bootleggers. ... If you've seen even a handful of Tommy-gun movies, however, everything that happens here will feel preordained". Richard Corliss of Time magazine wrote: "much of the picture has a fossilized feeling; it could be a diorama under glass at the Museum of Nasty People. As a serious film worthy of the Cannes Competition, Lawless tries to be flawless; as a movie, it's often listless—lifeless."
After theatrical release
Peter Bradshaw of The Guardian gave the film 2 stars out of 5, writing:
"it's basically a smug, empty exercise in macho-sentimental violence in which we are apparently expected to root for the lovable good ol' boys, as they mumble, shoot, punch and stab. Our heroes manage to ensnare the affections of preposterously exquisite young women, and the final flurry of self-adoring nostalgia is borderline-nauseating."
Owen Gleiberman of Entertainment Weekly gave Lawless a B grade, writing: "Hardy's presence is compelling, but the film comes fully alive only when it turns bloody. At those moments, though, it has the kick of a mule." Mick LaSalle of the San Francisco Chronicle also praised Hardy's performance, and concluded, "The filmmakers detail a long-gone conflict from a long-lost era and end up showing how the dreams and longings that motivate Americans never really change." Peter Travers of Rolling Stone gave the film 2.5 stars out of 4, writing: "Lawless is a solid outlaw adventure, but you can feel it straining for a greatness that stays out of reach. There's even a prologue and an epilogue, arty tropes signifying an attempt to make a Godfather-style epic out of these moonshine wars. Not happening." Roger Ebert of the Chicago Sun-Times also gave the film 2.5 stars out of 4, writing:
I can only admire this film's craftsmanship and acting, and regret its failure to rise above them. Its characters live by a barbaric code that countenances murder. They live or die in a relentless hail of gunfire. It's not so much that the movie is too long, as that too many people must be killed before it can end.
Claudia Puig of USA Today gave the film 2 stars out of 4, writing: "The unflinching slicing and dicing is viscerally brutal, but without sufficient character development Lawless simply feels lifeless." David Edelstein of New York magazine wrote: "The mixture of arthouse pacing and shocking gore seems to convince a lot of people that they're seeing a mythic depiction of the outlaw way of existence. I saw a standard revenge picture played at half-speed." Robert Abele of the Los Angeles Times felt that the film was clichéd, writing that it "turns the Virginia hills of the early 1930s into just another backdrop for a clockwork succession of perfunctorily filmed showdowns and shootouts." A. O. Scott of The New York Times similarly wrote:
There are too many action-movie clichés without enough dramatic purpose, and interesting themes and anecdotes are scattered around without being fully explored. This is weak and cloudy moonshine: it doesn't burn or intoxicate.
Accolades
See also
The Great Moonshine Conspiracy Trial of 1935
References
External links
2012 films
2012 crime drama films
Action films based on actual events
American films based on actual events
American crime drama films
American rape and revenge films
Annapurna Pictures films
Blumhouse Productions films
Crime films based on actual events
Drama films based on actual events
Films about alcoholic drinks
Films about families
Films about prohibition in the United States
Films based on American novels
Films directed by John Hillcoat
Films produced by Megan Ellison
Films produced by Lucy Fisher
Films produced by Douglas Wick
Films scored by Nick Cave
Films scored by Warren Ellis (musician)
Films set in 1931
Films set in 1933
Films set in Appalachia
Films set in Virginia
Films shot in Georgia (U.S. state)
Films with screenplays by Nick Cave
Franklin County, Virginia
The Weinstein Company films
Moonshine in popular culture
2010s English-language films
2010s American films
English-language crime drama films
|
```smalltalk
using System.Collections.Immutable;
using System.Diagnostics;
namespace Pchp.CodeAnalysis.Symbols
{
/// <summary>
/// The effective "bounds" of a type parameter: the constraint types, effective
/// interface set, and effective base type, determined from the declared
/// constraints, with any cycles removed. The fields are exposed by the
/// TypeParameterSymbol as ConstraintTypes, Interfaces, and BaseType.
/// </summary>
internal sealed class TypeParameterBounds
{
public static readonly TypeParameterBounds Unset = new TypeParameterBounds();
public TypeParameterBounds(
ImmutableArray<TypeSymbol> constraintTypes,
ImmutableArray<NamedTypeSymbol> interfaces,
NamedTypeSymbol effectiveBaseClass,
TypeSymbol deducedBaseType)
{
Debug.Assert(!constraintTypes.IsDefault);
Debug.Assert(!interfaces.IsDefault);
Debug.Assert((object)effectiveBaseClass != null);
Debug.Assert((object)deducedBaseType != null);
this.ConstraintTypes = constraintTypes;
this.Interfaces = interfaces;
this.EffectiveBaseClass = effectiveBaseClass;
this.DeducedBaseType = deducedBaseType;
}
private TypeParameterBounds()
{
}
/// <summary>
/// The type parameters, classes, and interfaces explicitly declared as
/// constraint types on the containing type parameter, with cycles removed.
/// </summary>
public readonly ImmutableArray<TypeSymbol> ConstraintTypes;
/// <summary>
/// The set of interfaces explicitly declared on the containing type
/// parameter and any type parameters on which the containing
/// type parameter depends, with duplicates removed.
/// </summary>
public readonly ImmutableArray<NamedTypeSymbol> Interfaces;
/// <summary>
/// As defined in 10.1.5 of the specification.
/// </summary>
public readonly NamedTypeSymbol EffectiveBaseClass;
/// <summary>
/// The "exact" effective base type.
/// In the definition of effective base type we abstract some concrete types to their base classes:
/// * For each constraint of T that is a struct-type, R contains System.ValueType.
/// * For each constraint of T that is an enumeration type, R contains System.Enum.
/// * For each constraint of T that is a delegate type, R contains System.Delegate.
/// * For each constraint of T that is an array type, R contains System.Array.
/// * For each constraint of T that is a class-type C, R contains type C' which is constructed
/// from C by replacing all occurrences of dynamic with object.
/// The reason is that the CLR doesn't support operations on generic parameters that would be needed
/// to work with these types. For example, ldelem instruction requires the receiver to be a specific array,
/// not a type parameter constrained to be an array.
///
/// When computing the deduced type we don't perform this abstraction. We keep the original constraint T.
/// Deduced base type is used to check that consistency rules are satisfied.
/// </summary>
public readonly TypeSymbol DeducedBaseType;
}
}
```
|
Sunnydale is an unincorporated community in Sedgwick County, Kansas, United States. It is located at Hillside St and 101st St N.
History
A post office was opened in Sunnydale (also historically Sunny Dale) in 1877, and remained in operation until it was discontinued in 1901.
Education
The community is served by Valley Center USD 262 public school district.
References
Further reading
External links
Sedgwick County maps: Current, Historic, KDOT
Unincorporated communities in Sedgwick County, Kansas
Unincorporated communities in Kansas
|
Armes is a surname. Notable people with the name include:
Don Armes (born 1961), American politician
Edward J Armes (born 1923), United States Navy officer
Ethel Armes (1876–1945), American journalist and historian
George Augustus Armes (1844–1919), United States Army officer
Ivan Armes (born 1924), British footballer
Jay J. Armes (born 1932), American amputee and actor (Note: Born as surname "Armas")
John Armes (born 1955), Scottish bishop
Ray Armes (born 1951), British racing driver
Sammy Armes (1908–58), English footballer
Steven Armes, British professor
Sybil Leonard Armes (1914–2007), Baptist author and musician
Teo Armes, born 1977 Norwich
|
```objective-c
// This file is part of Eigen, a lightweight C++ template library
// for linear algebra.
//
//
// This Source Code Form is subject to the terms of the Mozilla
// with this file, You can obtain one at path_to_url
#ifndef EIGEN_INVERSE_IMPL_H
#define EIGEN_INVERSE_IMPL_H
namespace Eigen {
namespace internal {
/**********************************
*** General case implementation ***
**********************************/
template<typename MatrixType, typename ResultType, int Size = MatrixType::RowsAtCompileTime>
struct compute_inverse
{
EIGEN_DEVICE_FUNC
static inline void run(const MatrixType& matrix, ResultType& result)
{
result = matrix.partialPivLu().inverse();
}
};
template<typename MatrixType, typename ResultType, int Size = MatrixType::RowsAtCompileTime>
struct compute_inverse_and_det_with_check { /* nothing! general case not supported. */ };
/****************************
*** Size 1 implementation ***
****************************/
template<typename MatrixType, typename ResultType>
struct compute_inverse<MatrixType, ResultType, 1>
{
EIGEN_DEVICE_FUNC
static inline void run(const MatrixType& matrix, ResultType& result)
{
typedef typename MatrixType::Scalar Scalar;
internal::evaluator<MatrixType> matrixEval(matrix);
result.coeffRef(0,0) = Scalar(1) / matrixEval.coeff(0,0);
}
};
template<typename MatrixType, typename ResultType>
struct compute_inverse_and_det_with_check<MatrixType, ResultType, 1>
{
EIGEN_DEVICE_FUNC
static inline void run(
const MatrixType& matrix,
const typename MatrixType::RealScalar& absDeterminantThreshold,
ResultType& result,
typename ResultType::Scalar& determinant,
bool& invertible
)
{
using std::abs;
determinant = matrix.coeff(0,0);
invertible = abs(determinant) > absDeterminantThreshold;
if(invertible) result.coeffRef(0,0) = typename ResultType::Scalar(1) / determinant;
}
};
/****************************
*** Size 2 implementation ***
****************************/
template<typename MatrixType, typename ResultType>
EIGEN_DEVICE_FUNC
inline void compute_inverse_size2_helper(
const MatrixType& matrix, const typename ResultType::Scalar& invdet,
ResultType& result)
{
result.coeffRef(0,0) = matrix.coeff(1,1) * invdet;
result.coeffRef(1,0) = -matrix.coeff(1,0) * invdet;
result.coeffRef(0,1) = -matrix.coeff(0,1) * invdet;
result.coeffRef(1,1) = matrix.coeff(0,0) * invdet;
}
template<typename MatrixType, typename ResultType>
struct compute_inverse<MatrixType, ResultType, 2>
{
EIGEN_DEVICE_FUNC
static inline void run(const MatrixType& matrix, ResultType& result)
{
typedef typename ResultType::Scalar Scalar;
const Scalar invdet = typename MatrixType::Scalar(1) / matrix.determinant();
compute_inverse_size2_helper(matrix, invdet, result);
}
};
template<typename MatrixType, typename ResultType>
struct compute_inverse_and_det_with_check<MatrixType, ResultType, 2>
{
EIGEN_DEVICE_FUNC
static inline void run(
const MatrixType& matrix,
const typename MatrixType::RealScalar& absDeterminantThreshold,
ResultType& inverse,
typename ResultType::Scalar& determinant,
bool& invertible
)
{
using std::abs;
typedef typename ResultType::Scalar Scalar;
determinant = matrix.determinant();
invertible = abs(determinant) > absDeterminantThreshold;
if(!invertible) return;
const Scalar invdet = Scalar(1) / determinant;
compute_inverse_size2_helper(matrix, invdet, inverse);
}
};
/****************************
*** Size 3 implementation ***
****************************/
template<typename MatrixType, int i, int j>
EIGEN_DEVICE_FUNC
inline typename MatrixType::Scalar cofactor_3x3(const MatrixType& m)
{
enum {
i1 = (i+1) % 3,
i2 = (i+2) % 3,
j1 = (j+1) % 3,
j2 = (j+2) % 3
};
return m.coeff(i1, j1) * m.coeff(i2, j2)
- m.coeff(i1, j2) * m.coeff(i2, j1);
}
template<typename MatrixType, typename ResultType>
EIGEN_DEVICE_FUNC
inline void compute_inverse_size3_helper(
const MatrixType& matrix,
const typename ResultType::Scalar& invdet,
const Matrix<typename ResultType::Scalar,3,1>& cofactors_col0,
ResultType& result)
{
result.row(0) = cofactors_col0 * invdet;
result.coeffRef(1,0) = cofactor_3x3<MatrixType,0,1>(matrix) * invdet;
result.coeffRef(1,1) = cofactor_3x3<MatrixType,1,1>(matrix) * invdet;
result.coeffRef(1,2) = cofactor_3x3<MatrixType,2,1>(matrix) * invdet;
result.coeffRef(2,0) = cofactor_3x3<MatrixType,0,2>(matrix) * invdet;
result.coeffRef(2,1) = cofactor_3x3<MatrixType,1,2>(matrix) * invdet;
result.coeffRef(2,2) = cofactor_3x3<MatrixType,2,2>(matrix) * invdet;
}
template<typename MatrixType, typename ResultType>
struct compute_inverse<MatrixType, ResultType, 3>
{
EIGEN_DEVICE_FUNC
static inline void run(const MatrixType& matrix, ResultType& result)
{
typedef typename ResultType::Scalar Scalar;
Matrix<typename MatrixType::Scalar,3,1> cofactors_col0;
cofactors_col0.coeffRef(0) = cofactor_3x3<MatrixType,0,0>(matrix);
cofactors_col0.coeffRef(1) = cofactor_3x3<MatrixType,1,0>(matrix);
cofactors_col0.coeffRef(2) = cofactor_3x3<MatrixType,2,0>(matrix);
const Scalar det = (cofactors_col0.cwiseProduct(matrix.col(0))).sum();
const Scalar invdet = Scalar(1) / det;
compute_inverse_size3_helper(matrix, invdet, cofactors_col0, result);
}
};
template<typename MatrixType, typename ResultType>
struct compute_inverse_and_det_with_check<MatrixType, ResultType, 3>
{
EIGEN_DEVICE_FUNC
static inline void run(
const MatrixType& matrix,
const typename MatrixType::RealScalar& absDeterminantThreshold,
ResultType& inverse,
typename ResultType::Scalar& determinant,
bool& invertible
)
{
using std::abs;
typedef typename ResultType::Scalar Scalar;
Matrix<Scalar,3,1> cofactors_col0;
cofactors_col0.coeffRef(0) = cofactor_3x3<MatrixType,0,0>(matrix);
cofactors_col0.coeffRef(1) = cofactor_3x3<MatrixType,1,0>(matrix);
cofactors_col0.coeffRef(2) = cofactor_3x3<MatrixType,2,0>(matrix);
determinant = (cofactors_col0.cwiseProduct(matrix.col(0))).sum();
invertible = abs(determinant) > absDeterminantThreshold;
if(!invertible) return;
const Scalar invdet = Scalar(1) / determinant;
compute_inverse_size3_helper(matrix, invdet, cofactors_col0, inverse);
}
};
/****************************
*** Size 4 implementation ***
****************************/
template<typename Derived>
EIGEN_DEVICE_FUNC
inline const typename Derived::Scalar general_det3_helper
(const MatrixBase<Derived>& matrix, int i1, int i2, int i3, int j1, int j2, int j3)
{
return matrix.coeff(i1,j1)
* (matrix.coeff(i2,j2) * matrix.coeff(i3,j3) - matrix.coeff(i2,j3) * matrix.coeff(i3,j2));
}
template<typename MatrixType, int i, int j>
EIGEN_DEVICE_FUNC
inline typename MatrixType::Scalar cofactor_4x4(const MatrixType& matrix)
{
enum {
i1 = (i+1) % 4,
i2 = (i+2) % 4,
i3 = (i+3) % 4,
j1 = (j+1) % 4,
j2 = (j+2) % 4,
j3 = (j+3) % 4
};
return general_det3_helper(matrix, i1, i2, i3, j1, j2, j3)
+ general_det3_helper(matrix, i2, i3, i1, j1, j2, j3)
+ general_det3_helper(matrix, i3, i1, i2, j1, j2, j3);
}
template<int Arch, typename Scalar, typename MatrixType, typename ResultType>
struct compute_inverse_size4
{
EIGEN_DEVICE_FUNC
static void run(const MatrixType& matrix, ResultType& result)
{
result.coeffRef(0,0) = cofactor_4x4<MatrixType,0,0>(matrix);
result.coeffRef(1,0) = -cofactor_4x4<MatrixType,0,1>(matrix);
result.coeffRef(2,0) = cofactor_4x4<MatrixType,0,2>(matrix);
result.coeffRef(3,0) = -cofactor_4x4<MatrixType,0,3>(matrix);
result.coeffRef(0,2) = cofactor_4x4<MatrixType,2,0>(matrix);
result.coeffRef(1,2) = -cofactor_4x4<MatrixType,2,1>(matrix);
result.coeffRef(2,2) = cofactor_4x4<MatrixType,2,2>(matrix);
result.coeffRef(3,2) = -cofactor_4x4<MatrixType,2,3>(matrix);
result.coeffRef(0,1) = -cofactor_4x4<MatrixType,1,0>(matrix);
result.coeffRef(1,1) = cofactor_4x4<MatrixType,1,1>(matrix);
result.coeffRef(2,1) = -cofactor_4x4<MatrixType,1,2>(matrix);
result.coeffRef(3,1) = cofactor_4x4<MatrixType,1,3>(matrix);
result.coeffRef(0,3) = -cofactor_4x4<MatrixType,3,0>(matrix);
result.coeffRef(1,3) = cofactor_4x4<MatrixType,3,1>(matrix);
result.coeffRef(2,3) = -cofactor_4x4<MatrixType,3,2>(matrix);
result.coeffRef(3,3) = cofactor_4x4<MatrixType,3,3>(matrix);
result /= (matrix.col(0).cwiseProduct(result.row(0).transpose())).sum();
}
};
template<typename MatrixType, typename ResultType>
struct compute_inverse<MatrixType, ResultType, 4>
: compute_inverse_size4<Architecture::Target, typename MatrixType::Scalar,
MatrixType, ResultType>
{
};
template<typename MatrixType, typename ResultType>
struct compute_inverse_and_det_with_check<MatrixType, ResultType, 4>
{
EIGEN_DEVICE_FUNC
static inline void run(
const MatrixType& matrix,
const typename MatrixType::RealScalar& absDeterminantThreshold,
ResultType& inverse,
typename ResultType::Scalar& determinant,
bool& invertible
)
{
using std::abs;
determinant = matrix.determinant();
invertible = abs(determinant) > absDeterminantThreshold;
if(invertible) compute_inverse<MatrixType, ResultType>::run(matrix, inverse);
}
};
/*************************
*** MatrixBase methods ***
*************************/
} // end namespace internal
namespace internal {
// Specialization for "dense = dense_xpr.inverse()"
template<typename DstXprType, typename XprType>
struct Assignment<DstXprType, Inverse<XprType>, internal::assign_op<typename DstXprType::Scalar,typename XprType::Scalar>, Dense2Dense>
{
typedef Inverse<XprType> SrcXprType;
static void run(DstXprType &dst, const SrcXprType &src, const internal::assign_op<typename DstXprType::Scalar,typename XprType::Scalar> &)
{
Index dstRows = src.rows();
Index dstCols = src.cols();
if((dst.rows()!=dstRows) || (dst.cols()!=dstCols))
dst.resize(dstRows, dstCols);
const int Size = EIGEN_PLAIN_ENUM_MIN(XprType::ColsAtCompileTime,DstXprType::ColsAtCompileTime);
EIGEN_ONLY_USED_FOR_DEBUG(Size);
eigen_assert(( (Size<=1) || (Size>4) || (extract_data(src.nestedExpression())!=extract_data(dst)))
&& "Aliasing problem detected in inverse(), you need to do inverse().eval() here.");
typedef typename internal::nested_eval<XprType,XprType::ColsAtCompileTime>::type ActualXprType;
typedef typename internal::remove_all<ActualXprType>::type ActualXprTypeCleanded;
ActualXprType actual_xpr(src.nestedExpression());
compute_inverse<ActualXprTypeCleanded, DstXprType>::run(actual_xpr, dst);
}
};
} // end namespace internal
/** \lu_module
*
* \returns the matrix inverse of this matrix.
*
* For small fixed sizes up to 4x4, this method uses cofactors.
* In the general case, this method uses class PartialPivLU.
*
* \note This matrix must be invertible, otherwise the result is undefined. If you need an
* invertibility check, do the following:
* \li for fixed sizes up to 4x4, use computeInverseAndDetWithCheck().
* \li for the general case, use class FullPivLU.
*
* Example: \include MatrixBase_inverse.cpp
* Output: \verbinclude MatrixBase_inverse.out
*
* \sa computeInverseAndDetWithCheck()
*/
template<typename Derived>
inline const Inverse<Derived> MatrixBase<Derived>::inverse() const
{
EIGEN_STATIC_ASSERT(!NumTraits<Scalar>::IsInteger,THIS_FUNCTION_IS_NOT_FOR_INTEGER_NUMERIC_TYPES)
eigen_assert(rows() == cols());
return Inverse<Derived>(derived());
}
/** \lu_module
*
* Computation of matrix inverse and determinant, with invertibility check.
*
* This is only for fixed-size square matrices of size up to 4x4.
*
* \param inverse Reference to the matrix in which to store the inverse.
* \param determinant Reference to the variable in which to store the determinant.
* \param invertible Reference to the bool variable in which to store whether the matrix is invertible.
* \param absDeterminantThreshold Optional parameter controlling the invertibility check.
* The matrix will be declared invertible if the absolute value of its
* determinant is greater than this threshold.
*
* Example: \include MatrixBase_computeInverseAndDetWithCheck.cpp
* Output: \verbinclude MatrixBase_computeInverseAndDetWithCheck.out
*
* \sa inverse(), computeInverseWithCheck()
*/
template<typename Derived>
template<typename ResultType>
inline void MatrixBase<Derived>::computeInverseAndDetWithCheck(
ResultType& inverse,
typename ResultType::Scalar& determinant,
bool& invertible,
const RealScalar& absDeterminantThreshold
) const
{
// i'd love to put some static assertions there, but SFINAE means that they have no effect...
eigen_assert(rows() == cols());
// for 2x2, it's worth giving a chance to avoid evaluating.
// for larger sizes, evaluating has negligible cost and limits code size.
typedef typename internal::conditional<
RowsAtCompileTime == 2,
typename internal::remove_all<typename internal::nested_eval<Derived, 2>::type>::type,
PlainObject
>::type MatrixType;
internal::compute_inverse_and_det_with_check<MatrixType, ResultType>::run
(derived(), absDeterminantThreshold, inverse, determinant, invertible);
}
/** \lu_module
*
* Computation of matrix inverse, with invertibility check.
*
* This is only for fixed-size square matrices of size up to 4x4.
*
* \param inverse Reference to the matrix in which to store the inverse.
* \param invertible Reference to the bool variable in which to store whether the matrix is invertible.
* \param absDeterminantThreshold Optional parameter controlling the invertibility check.
* The matrix will be declared invertible if the absolute value of its
* determinant is greater than this threshold.
*
* Example: \include MatrixBase_computeInverseWithCheck.cpp
* Output: \verbinclude MatrixBase_computeInverseWithCheck.out
*
* \sa inverse(), computeInverseAndDetWithCheck()
*/
template<typename Derived>
template<typename ResultType>
inline void MatrixBase<Derived>::computeInverseWithCheck(
ResultType& inverse,
bool& invertible,
const RealScalar& absDeterminantThreshold
) const
{
RealScalar determinant;
// i'd love to put some static assertions there, but SFINAE means that they have no effect...
eigen_assert(rows() == cols());
computeInverseAndDetWithCheck(inverse,determinant,invertible,absDeterminantThreshold);
}
} // end namespace Eigen
#endif // EIGEN_INVERSE_IMPL_H
```
|
Fastic is an intermittent fasting app for iOS and Android launched by Fastic GmbH in 2019. In 2020, it became one of the most successful health and fitness apps.
Overview
The app Fastic is operated by Fastic GmbH. The app uses a freemium model and provides fasting and meal plans, a nutrition tracker, advice on fasting and nutrition, as well as support from coaches. The app is available in six languages in over 150 countries and is used by over 10 million users worldwide. It is available on Android and iOS platforms.
History
Fastic was founded in 2019 by Sebastian Wettcke and Phillipp Wayman in Dresden. As a teenager, Wettcke worked at his parents' fasting hotel in the Black Forest, where he advised hotel guests on their diets. He started an online shop for fasting advice and products together with Phillipp Wayman. In 2019, Wettcke and Wayman founded Fastic GmbH in Dresden and launched the Fastic app. In late December, the company moved its headquarters to Berlin.
In December 2019, the Fastic app launched in the United States, accumulating over a million users in 4 months.
In April 2020, demand for the app increased due to the lockdown caused by the COVID-19 pandemic, and the app was downloaded a total of 8 million times that year. Fastic reached the top of the app charts for the first time during Covid and became one of the most successful health and fitness apps in several countries.
In its seed round of funding, Fastic raised 5 million euros from investors such as Trivago founder Rolf Schrömgens.
References
External links
Companies based in Berlin
Application software
Health software
Fitness apps
|
Kianjuki is a settlement in Kenya's Eastern Province.
References
Populated places in Eastern Province (Kenya)
|
The Nations, Nationalities, and Peoples' Day () is a national holiday in Ethiopia coincided for ethnic groups of Ethiopia since fully guaranteed under Federal Democratic Republic of Ethiopia Constitution on 8 December 1994. Officially started observation in 2006, the day affirms economic and political affinity and equal rights of the "nations of Ethiopia" by culture and language with harmony and tolerance.
In this case, the Day celebrating on 8 December. During opening ceremony, former Prime Minister Meles Zenawi said that "the Day is an occasion in which the Ethiopian Nations, Nationalities and Peoples make a solemn to develop their language and culture and also forge strong cooperation."
Celebration includes festivals participating the country's eighty ethnic groups gathering in every cities and dancing with their music and traditional attire to demonstrate unity and diversity. High-profile government officials also presented at the event.
References
Public holidays in Ethiopia
|
```java
/*
*
*
* path_to_url
*
* Unless required by applicable law or agreed to in writing, software
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*/
package com.google.copybara.rust;
import static com.google.common.truth.Truth.assertThat;
import static java.nio.charset.StandardCharsets.UTF_8;
import static org.junit.Assert.assertThrows;
import static org.mockito.Mockito.when;
import com.google.common.collect.ImmutableList;
import com.google.common.collect.ImmutableMap;
import com.google.common.collect.Iterables;
import com.google.copybara.exception.RepoException;
import com.google.copybara.remotefile.HttpStreamFactory;
import com.google.copybara.remotefile.RemoteFileOptions;
import com.google.copybara.rust.RustRegistryVersionObject.Deps;
import com.google.copybara.testing.OptionsBuilder;
import com.google.copybara.testing.SkylarkTestExecutor;
import com.google.copybara.util.console.Console;
import com.google.copybara.util.console.testing.TestingConsole;
import com.google.copybara.version.VersionList;
import com.google.gson.JsonArray;
import com.google.gson.JsonElement;
import com.google.gson.JsonObject;
import com.google.gson.JsonPrimitive;
import java.io.ByteArrayInputStream;
import java.io.IOException;
import java.net.URL;
import java.util.List;
import java.util.Map;
import java.util.stream.Collectors;
import org.junit.Before;
import org.junit.Rule;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.JUnit4;
import org.mockito.Mock;
import org.mockito.junit.MockitoJUnit;
import org.mockito.junit.MockitoRule;
@RunWith(JUnit4.class)
public class RustCratesIoVersionListTest {
private SkylarkTestExecutor skylark;
private Console console;
private RemoteFileOptions remoteFileOptions;
private OptionsBuilder optionsBuilder;
@Rule public final MockitoRule mocks = MockitoJUnit.rule();
@Mock public HttpStreamFactory transport;
@Before
public void setup() throws Exception {
remoteFileOptions = new RemoteFileOptions();
console = new TestingConsole();
optionsBuilder = new OptionsBuilder();
optionsBuilder.setConsole(console);
skylark = new SkylarkTestExecutor(optionsBuilder);
}
private void setUpMockTransportForSkylarkExecutor(Map<String, String> urlToContent)
throws IOException {
for (Map.Entry<String, String> pair : urlToContent.entrySet()) {
when(transport.open(new URL(pair.getKey())))
.thenReturn(new ByteArrayInputStream(pair.getValue().getBytes(UTF_8)));
}
remoteFileOptions.transport = () -> transport;
optionsBuilder.remoteFile = remoteFileOptions;
skylark = new SkylarkTestExecutor(optionsBuilder);
}
@Test
public void testRustCrateIoVersionList_validListResponse() throws Exception {
JsonObject v1 = new JsonObject();
v1.add("name", new JsonPrimitive("example"));
v1.add("vers", new JsonPrimitive("0.1.0"));
JsonObject v2 = new JsonObject();
v2.add("name", new JsonPrimitive("example"));
v2.add("vers", new JsonPrimitive("0.2.0"));
JsonObject v3 = new JsonObject();
v3.add("name", new JsonPrimitive("example"));
v3.add("vers", new JsonPrimitive("0.3.0"));
String content =
ImmutableList.of(v1, v2, v3).stream()
.map(JsonElement::toString)
.collect(Collectors.joining("\n"));
setUpMockTransportForSkylarkExecutor(
ImmutableMap.of("path_to_url", content));
VersionList versionList =
skylark.eval("version_list", "version_list = rust.crates_io_version_list(crate='example')");
assertThat(versionList.list())
.containsExactlyElementsIn(ImmutableList.of("0.1.0", "0.2.0", "0.3.0"));
}
@Test
public void testRustCrateIoVersionList_ignoreYanked() throws Exception {
JsonObject v1 = new JsonObject();
v1.add("name", new JsonPrimitive("example"));
v1.add("vers", new JsonPrimitive("0.1.0"));
v1.add("yanked", new JsonPrimitive("true"));
JsonObject v2 = new JsonObject();
v2.add("name", new JsonPrimitive("example"));
v2.add("vers", new JsonPrimitive("0.1.2"));
String content =
ImmutableList.of(v1, v2).stream()
.map(JsonElement::toString)
.collect(Collectors.joining("\n"));
setUpMockTransportForSkylarkExecutor(
ImmutableMap.of("path_to_url", content));
VersionList versionList =
skylark.eval("version_list", "version_list = rust.crates_io_version_list(crate='example')");
assertThat(versionList.list()).containsExactlyElementsIn(ImmutableList.of("0.1.2"));
}
@Test
public void testRustCrateIoVersionList_ignorePreReleaseVersions() throws Exception {
JsonObject v1 = new JsonObject();
v1.add("name", new JsonPrimitive("example"));
v1.add("vers", new JsonPrimitive("0.1.0"));
JsonObject v2 = new JsonObject();
v2.add("name", new JsonPrimitive("example"));
v2.add("vers", new JsonPrimitive("0.1.1-alpha"));
JsonObject v3 = new JsonObject();
v3.add("name", new JsonPrimitive("example"));
v3.add("vers", new JsonPrimitive("0.1.1-beta.1"));
JsonObject v4 = new JsonObject();
v4.add("name", new JsonPrimitive("example"));
v4.add("vers", new JsonPrimitive("0.1.2"));
String content =
ImmutableList.of(v1, v2, v3, v4).stream()
.map(JsonElement::toString)
.collect(Collectors.joining("\n"));
setUpMockTransportForSkylarkExecutor(
ImmutableMap.of("path_to_url", content));
VersionList versionList =
skylark.eval(
"version_list",
"version_list = rust.crates_io_version_list(crate='example',"
+ " match_pre_release_versions = False)");
assertThat(versionList.list()).containsExactlyElementsIn(ImmutableList.of("0.1.0", "0.1.2"));
}
@Test
public void testRustCrateIoVersionList_allowPreReleaseVersions() throws Exception {
JsonObject v1 = new JsonObject();
v1.add("name", new JsonPrimitive("example"));
v1.add("vers", new JsonPrimitive("0.1.0"));
JsonObject v2 = new JsonObject();
v2.add("name", new JsonPrimitive("example"));
v2.add("vers", new JsonPrimitive("0.1.1-alpha"));
JsonObject v3 = new JsonObject();
v3.add("name", new JsonPrimitive("example"));
v3.add("vers", new JsonPrimitive("0.1.1-beta.1"));
JsonObject v4 = new JsonObject();
v4.add("name", new JsonPrimitive("example"));
v4.add("vers", new JsonPrimitive("0.1.2"));
String content =
ImmutableList.of(v1, v2, v3, v4).stream()
.map(JsonElement::toString)
.collect(Collectors.joining("\n"));
setUpMockTransportForSkylarkExecutor(
ImmutableMap.of("path_to_url", content));
VersionList versionList =
skylark.eval(
"version_list",
"version_list = rust.crates_io_version_list(crate='example',"
+ " match_pre_release_versions = True)");
assertThat(versionList.list())
.containsExactlyElementsIn(
ImmutableList.of("0.1.0", "0.1.1-alpha", "0.1.1-beta.1", "0.1.2"));
}
@Test
public void testRustCrateIoVersionList_shortCrateName() throws Exception {
JsonObject crate1 = new JsonObject();
crate1.add("name", new JsonPrimitive("a"));
crate1.add("vers", new JsonPrimitive("1.2.3"));
JsonObject crate2 = new JsonObject();
crate2.add("name", new JsonPrimitive("abc"));
crate2.add("vers", new JsonPrimitive("4.5.6"));
setUpMockTransportForSkylarkExecutor(
ImmutableMap.of(
"path_to_url",
crate1.toString(),
"path_to_url",
crate2.toString()));
VersionList versionListCrate1 =
skylark.eval("version_list", "version_list = rust.crates_io_version_list(crate='a')");
VersionList versionListCrate2 =
skylark.eval("version_list", "version_list = rust.crates_io_version_list(crate='abc')");
assertThat(versionListCrate1.list()).containsExactlyElementsIn(ImmutableList.of("1.2.3"));
assertThat(versionListCrate2.list()).containsExactlyElementsIn(ImmutableList.of("4.5.6"));
}
@Test
public void testRustCrateIoVersionList_badJson() throws Exception {
setUpMockTransportForSkylarkExecutor(
ImmutableMap.of("path_to_url", "foo"));
VersionList versionList =
skylark.eval("version_list", "version_list = rust.crates_io_version_list(crate='example')");
RepoException expected = assertThrows(RepoException.class, versionList::list);
assertThat(expected)
.hasMessageThat()
.contains(
"Failed to query crates.io-index for version list at"
+ " path_to_url");
}
@Test
public void testRustCrateIoVersionList_withDeps() throws Exception {
JsonObject crate = new JsonObject();
JsonObject dep = new JsonObject();
crate.add("name", new JsonPrimitive("example"));
crate.add("vers", new JsonPrimitive("1.2.3"));
dep.add("name", new JsonPrimitive("example_dep"));
JsonArray deps = new JsonArray();
deps.add(dep);
crate.add("deps", deps);
setUpMockTransportForSkylarkExecutor(
ImmutableMap.of("path_to_url", crate.toString()));
VersionList versionList =
skylark.eval("version_list", "version_list = rust.crates_io_version_list(crate='example')");
RustRegistryVersionObject versionObject =
Iterables.getOnlyElement(((RustCratesIoVersionList) versionList).getVersionList());
assertThat(versionObject.getName()).isEqualTo("example");
assertThat(versionObject.getVers()).isEqualTo("1.2.3");
List<Deps> resultDeps = versionObject.getDeps();
assertThat(resultDeps).hasSize(1);
assertThat(Iterables.getOnlyElement(resultDeps).getName()).isEqualTo("example_dep");
}
@Test
public void testRustCrateIoVersionList_withFeatures() throws Exception {
JsonObject crate = new JsonObject();
crate.add("name", new JsonPrimitive("example"));
crate.add("vers", new JsonPrimitive("1.2.3"));
JsonObject features = new JsonObject();
JsonArray additionalFeatures = new JsonArray();
additionalFeatures.add("feature2");
features.add("example-feature", additionalFeatures);
crate.add("features", features);
setUpMockTransportForSkylarkExecutor(
ImmutableMap.of("path_to_url", crate.toString()));
VersionList versionList =
skylark.eval("version_list", "version_list = rust.crates_io_version_list(crate='example')");
RustRegistryVersionObject versionObject =
Iterables.getOnlyElement(((RustCratesIoVersionList) versionList).getVersionList());
assertThat(versionObject.getName()).isEqualTo("example");
assertThat(versionObject.getVers()).isEqualTo("1.2.3");
Map<String, List<String>> resultFeatures = versionObject.getFeatures();
assertThat(resultFeatures).containsKey("example-feature");
assertThat(resultFeatures.get("example-feature").get(0)).isEqualTo("feature2");
}
@Test
public void testRustCrateIoVersionList_cratesWithUpperCaseName() throws Exception {
JsonObject v1 = new JsonObject();
v1.add("name", new JsonPrimitive("Example"));
v1.add("vers", new JsonPrimitive("0.1.0"));
String content =
ImmutableList.of(v1).stream().map(JsonElement::toString).collect(Collectors.joining("\n"));
setUpMockTransportForSkylarkExecutor(
ImmutableMap.of("path_to_url", content));
// The crate name starts with an uppercase letter, but when we look up in the index, we use the
// lowercase spelling.
VersionList versionList =
skylark.eval("version_list", "version_list = rust.crates_io_version_list(crate='Example')");
assertThat(versionList.list()).containsExactlyElementsIn(ImmutableList.of("0.1.0"));
}
}
```
|
Gonghua Town () is an urban town in Yuanjiang, Yiyang, Hunan Province, People's Republic of China.
Administrative division
The town is divided into 20 villages and one community, the following areas: Huangtubao Community, Huangtubao Village, Tuanhuzhou Village, Donghe Village, Tanjialing Village, Dongcheng Village, Xingang Village, Huaxing Village, Haozhuhu Village, Mingyue Village, Baxingcha Village, Baishazhou Village, Ren'an Village, Renfeng Village, Xianchengyuan Village, Fu'an Village, Yong'an Village, Shuangfu Village, Heyu Village, Qunxing Village, Zihongzhou Village, Gonghuazhen Village, Baxingcha Village (黄土包社区、黄土包村、团湖洲村、东合村、谭家岭村、东成村、新港村、华兴村、蒿竹湖村、明月村、八形汊村、白沙洲村、仁安村、仁丰村、宪成垸村、福安村、永安村、双阜村、和裕村、群兴村、紫红洲村、共华镇渔场、八形汊渔场).
References
External links
Divisions of Yuanjiang
|
James Ferguson "Jay" Carney (born May 22, 1965) is an American public relations officer, political advisor, and journalist who served as the United States' White House Press Secretary from 2011 to 2014, and Amazon's Senior Vice President of Global Corporate Affairs from 2015 to 2022.
As President Barack Obama's chief spokesman for over three years, he remains the longest serving White House Press Secretary of the 21st century. During the first two years of the Obama administration, Carney was director of communications for then-Vice President Joe Biden.
Prior to his government service, Carney worked for 20 years at Time Magazine, and was the magazine's Washington bureau chief from 2005 to 2008. As a Washington-based reporter, Carney appeared frequently on various political talk shows, including This Week with George Stephanopoulos for ABC News.
Early life
Jay Carney was born James Ferguson Carney. Raised in Northern Virginia, Carney attended high school at The Lawrenceville School, in Lawrenceville, New Jersey, and earned a bachelor's degree in Russian and Eastern European studies from Yale University in 1987 .
Career
Time magazine
After working as a reporter for The Miami Herald, in his first job after college, Carney joined Time magazine as the Miami bureau chief, in December 1988. A Russian speaker, he worked as a correspondent in Time's Moscow bureau for three years, from 1990 to 1993, covering the collapse of the Soviet Union. He transferred to Washington, D.C., in mid-1993, to report on the Bill Clinton White House. He covered Clinton's first term, the Newt Gingrich-led GOP Congress and Clinton's impeachment by the U.S. House of Representatives. He was a traveling correspondent on the 2000 presidential campaigns of Texas Governor George W. Bush and Senator John McCain, and White House correspondent for Bush's first term as president. Carney was one of a few reporters who were aboard Air Force One with President Bush on September 11, 2001. Carney was Time's Washington bureau deputy chief from 2003 to 2005 and then bureau chief, from September 2005 until December 2008.
White House Press Secretary
On December 15, 2008, Carney left the private sector to take a position as director of communications to Vice President-elect Joe Biden.
On January 27, 2011, Carney was selected to become the Obama Administration's second White House press secretary. He was named the successor to previous press secretary Robert Gibbs by White House chief of staff, William M. Daley. Carney was one of fourteen White House appointees announced by Daley on that day.
Carney served as press secretary during a series of key moments in the Obama presidency, including: the so-called "Birther movement" publicized by Donald Trump and Fox News; the killing of Osama bin Laden in a raid on his compound in Abbottabad, Pakistan by U.S. special operations; Obama's announcement of his support for same-sex marriage; Obama's election to a second term; the Sandy Hook shooting in Newtown, Connecticut; the passage of the American Taxpayer Relief Act, which addressed sequestration and the fiscal cliff, and raised rates on high earners while extending the Bush tax cuts for most Americans; the implementation of the Affordable Care Act, better known as Obamacare; the government shutdown of October 2013; the shooting of Trayvon Martin; and the imposition of sanctions against Russia for its invasion and annexation of Crimea.
On May 30, 2014, President Barack Obama announced Carney would be succeeded by Josh Earnest. At three years, five months on the job, Carney is the longest-serving press secretary since Michael McCurry in the mid-1990s.
CNN commentator
Following his stint as press secretary, Carney worked as a CNN senior political analyst, from September 2014 to February 2015.
Amazon
On March 2, 2015, Carney began working for Amazon as the senior vice president of global corporate affairs. He initially managed a lobbying and public-policy group of about two dozen employees; by 2021, that had increased to about 250 employees. Between 2014 and 2020, the number of registered lobbyists for Amazon tripled, to at least 180. He visited China in 2018 to promote Kindle devices and electronic books in the Chinese market which resulted in corporate cloud technology being managed by Chinese firms towards political aims.
Controversial statements
Twice during the month of October 2019, Carney had to walk back controversial public comments. The first was when he contrasted the Bush and Clinton administrations with the Trump administration. Carney said, "Virtually with no exception, everyone I dealt with in those administrations, whether I personally agreed or disagreed with what they thought were the right policy decisions or the right way to approach things, I never doubted that they were patriots,” he said. “I don’t feel that way now." He later walked back the comments with a tweet saying he had respect for countless patriots working in the United States government.
During the sixth game of the 2019 World Series, Carney sent out a tweet complaining about the officiating of the game. Carney tweeted that the officiating was a "disgrace," dubbing the umpires "a bunch of overweight, diabetic, half-blind geriatrics." He apologized the following day.
Joining Airbnb
In July 2022, it was announced that Carney was joining Airbnb as Global Head of Policy and Communications.
Awards
In 2003, Carney won the Gerald R. Ford prize for distinguished reporting on the presidency of the United States of America.
Personal life
Carney lives in Washington, D.C., with his wife, Claire Shipman, a best-selling author and former correspondent for ABC News, NBC News and CNN, and their two children. He is a devoted fan of the indie rock band Guided by Voices. He serves on the board of directors of Human Rights First.
References
External links
1965 births
20th-century American journalists
American male journalists
21st-century American journalists
Amazon (company) people
American expatriates in Russia
Journalists from Virginia
Journalists from Washington, D.C.
Lawrenceville School alumni
Living people
Miami Herald people
Obama administration personnel
People from Virginia
Time (magazine) people
Washington, D.C., Democrats
White House Press Secretaries
Timothy Dwight College alumni
|
```python
# -*- coding:utf-8 -*-
'''
,
'''
class TreeNode:
def __init__(self, x):
self.val = x
self.left = None
self.right = None
class Solution:
def widthOfTree(self, pRoot):
if pRoot == None:
return 0
nodeQue = [pRoot]
levelCount, level, maxNum = {0: 1}, 0, 1
while len(nodeQue):
tempQue = nodeQue[:levelCount[level]]
curNodeNum = 0
while len(tempQue) > 0:
tempQue.pop(0)
pNode = nodeQue.pop(0)
if pNode.left:
nodeQue.append(pNode.left)
curNodeNum += 1
if pNode.right:
nodeQue.append(pNode.right)
curNodeNum += 1
level += 1
if level not in levelCount.keys():
levelCount[level] = curNodeNum
if curNodeNum > maxNum:
maxNum = curNodeNum
return maxNum
pNode1 = TreeNode(1)
pNode2 = TreeNode(2)
pNode3 = TreeNode(3)
pNode4 = TreeNode(4)
pNode5 = TreeNode(5)
pNode6 = TreeNode(6)
pNode7 = TreeNode(7)
pNode1.left = pNode2
pNode1.right = pNode3
pNode2.left = pNode4
pNode2.right = pNode5
pNode3.right = pNode6
pNode3.left = pNode7
S = Solution()
width = S.widthOfTree(pNode1)
print(width)
```
|
```yaml
init_config:
min_collection_interval: 40
is_jmx: true
collect_default_metrics: true
conf:
- include:
domain: org.apache.cassandra.metrics
type: ClientRequest
name:
- Latency
attribute:
- 75thPercentile
- 95thPercentile
- OneMinuteRate
instances:
- host: localhost
port: 7199
cassandra_aliasing: true
```
|
```java
/*
This file is part of the iText (R) project.
Authors: Apryse Software.
This program is offered under a commercial and under the AGPL license.
For commercial licensing, contact us at path_to_url For AGPL licensing, see below.
AGPL licensing:
This program is free software: you can redistribute it and/or modify
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
along with this program. If not, see <path_to_url
*/
package com.itextpdf.kernel.pdf.annot;
import com.itextpdf.kernel.geom.Rectangle;
import com.itextpdf.kernel.pdf.PdfDictionary;
import com.itextpdf.kernel.pdf.PdfName;
class PdfPolylineAnnotation extends PdfPolyGeomAnnotation {
PdfPolylineAnnotation(Rectangle rect, float[] vertices) {
super(rect, vertices);
}
PdfPolylineAnnotation(PdfDictionary pdfObject) {
super(pdfObject);
}
@Override
public PdfName getSubtype() {
return PdfName.PolyLine;
}
}
```
|
Paloma García Ovejero (born 12 August 1975) is a Spanish journalist. She began her career as a news editor and broadcast journalist for Cadena COPE and Radio Nacional de España. In 2016 she became the first woman to serve as Vice Director of the Holy See Press Office. Since her resignation from her Vatican position in December 2018, she works as a television reporter for Trece in the United Kingdom.
Early life and education
García Ovejero was born on 12 August 1975 in Madrid. In 1998 she received a bachelor's degree in journalism from Complutense University of Madrid. In 2001 she obtained a master's degree in Basque studies from the National University of Distance Education. In 2006 she earned a specialization in management strategies and communications through New York University.
Career
García Ovejero began her career in journalism in 1998 as a news editor for the programs La Linterna and La Mañana for Cadena COPE, a Spanish radio station owned by the Episcopal Conference of Spain. Later, she was appointed as the Head of Society and Culture. In 2012 she was sent to work as a correspondent in Italy and the Vatican City, replacing Paloma Gómez Borrero. She also worked as a correspondent for Radio Nacional de España.
In 2016 Pope Francis appointed García Ovejero as the Vice Director of the Holy See Press Office, following the appointment of former Vice Director Greg Burke to the office of Director. She became the first woman to serve in this capacity. Upon her appointment, she told the Catholic News Agency, "I’m the first woman, okay. Isn’t the Virgin Mary the first woman in the Church? Aren't the women those who ran to announce the resurrection? So it seems to be very natural. We like to announce great news. Let’s do it!" She officially assumed office on 1 August 2016.
On 31 December 2018, both García Ovejero and Burke announced their resignations, which were accepted by Pope Francis.
In May 2019 she became a news correspondent for Spanish news outlets Grupo COPE and Cope.es, and a news reporter for the Spanish television station Trece in the United Kingdom.
Personal life
García Ovejero is fluent in Spanish, Italian, English, and Chinese.
References
Living people
1975 births
Cadena COPE
Complutense University of Madrid alumni
Members of the Secretariat for Communication
National University of Distance Education alumni
New York University alumni
People from Madrid
People of the Holy See
Radio reporters and correspondents
RTVE
Spanish radio journalists
Spanish Roman Catholics
Spanish television journalists
Spanish women journalists
Women officials of the Roman Curia
Women radio journalists
Women television journalists
|
Holzgau is a municipality in the district of Reutte in the Austrian state of Tyrol.
Climate
References
cities and towns in Reutte District
|
Ekiti West is a Local Government Area of Ekiti State, Nigeria. Its headquarters is in the town of Aramoko.
It has an area of 366 km and a population of 179,892 at the 2006 census.
The postal code of the area is 362.
The Ekiti west LGA is home to a sizable Yoruba-speaking population, and Christianity is a widely practiced religion there.
Economy
The Ekiti west LGA is primarily an agricultural area, where crops like cocoa, plantains, and pepper are cultivated. With the several markets in the LGA serving as platforms for the buying and selling of a wide range of commodities, the area also boasts a thriving trading sector. Blacksmithing, tetile weaving, and dyeing are some of the other significant economic activities in the Ekiti west LGA.
Geography/Climate
There are two different seasons in the tropical climate that the State enjoys. These are the dry season November to March and the wet season April to October. High humidity and temperature range from 21 to 28 degrees Celsius. The rainy and dry (Harmattan) seasons are characterized by the blowing of the south-westerly and north-easterly trade winds, respectively.
Localities
Town and Villages under Ekiti West:
Ido Ajinare
Ikogosi
Ipole Iloro
Aramoko
Erinijiyan
Okemesi
Isokowa
Egede
Orokuta
Osemo
Kajola
References
Local Government Areas in Ekiti State
|
(subtitled Two Episodes from the Life of Niels Lyhne in Eleven Pictures, RT I/8) is a German-language opera with four interludes, by the English composer Frederick Delius. It is usually performed and recorded in English, as Fennimore and Gerda in a translation by Philip Heseltine. The German libretto, by the composer himself, is based on the novel Niels Lyhne by the Danish writer Jens Peter Jacobsen. In neither German nor English is the libretto highly regarded; rather, the work is considered an "orchestral opera", limited in its dramatic appeal but voluptuous and engaging in its instrumental texture.
Delius began writing Fennimore und Gerda in 1908; he finished in 1910, but the premiere, intended for the Cologne Opera, was delayed by the First World War and did not take place until 21 October 1919, and then by the Oper Frankfurt. It was the composer's last opera. The United States premiere of the work was staged by the Opera Theatre of Saint Louis in June 1981 with Kathryn Bouleyn as Fennimore and Kathryn Gamberoni as Gerda.
Roles
Synopsis
Place: Denmark
Time: Around 1860
Two cousins, the writer Niels Lyhne and the painter Erik Refstrup, are in love with the consul's daughter, Fennimore. She chooses Erik but the marriage begins to break down as a result of the artist's drinking and Fennimore embarks on an affair with Niels. Erik is killed in an accident and, overwhelmed with guilt, Fennimore breaks off the affair. The rejected Niels spends years travelling before he settles down and marries his neighbour's daughter, Gerda.
Recordings
Fennimore and Gerda – Elisabeth Söderström, Brian Rayner Cook, Robert Tear, Birger Brandt, Danish National Radio Choir and Symphony Orchestra, conducted by Meredith Davies (HMV, 1976; reissued on EMI CD, 1997)
Fennimore and Gerda – Randi Stene, Judith Howarth, Mark Tucker, Peter Coleman-Wright, Danish National Radio Choir and Symphony Orchestra, conducted by Richard Hickox (Chandos, 1999)
References
Further reading
Holden, Amanda (ed.), The New Penguin Opera Guide, New York: Penguin Putnam, 2001.
External links
Complete cast list, notes, extensive synopsis
Operas
1919 operas
Operas by Frederick Delius
English-language operas
Operas based on novels
Operas set in Denmark
Operas set in the 19th century
|
```viml
" Author: Dalius Dobravolskas <dalius.dobravolskas@gmail.com>
" Description: Rename file support for tsserver
let s:filerename_map = {}
" Used to get the rename map in tests.
function! ale#filerename#GetMap() abort
return deepcopy(s:filerename_map)
endfunction
" Used to set the rename map in tests.
function! ale#filerename#SetMap(map) abort
let s:filerename_map = a:map
endfunction
function! ale#filerename#ClearLSPData() abort
let s:filerename_map = {}
endfunction
function! s:message(message) abort
call ale#util#Execute('echom ' . string(a:message))
endfunction
function! ale#filerename#HandleTSServerResponse(conn_id, response) abort
if get(a:response, 'command', '') isnot# 'getEditsForFileRename'
return
endif
if !has_key(s:filerename_map, a:response.request_seq)
return
endif
let l:options = remove(s:filerename_map, a:response.request_seq)
let l:old_name = l:options.old_name
let l:new_name = l:options.new_name
if get(a:response, 'success', v:false) is v:false
let l:message = get(a:response, 'message', 'unknown')
call s:message('Error renaming file "' . l:old_name . '" to "' . l:new_name
\ . '". Reason: ' . l:message)
return
endif
let l:changes = a:response.body
if empty(l:changes)
call s:message('No changes while renaming "' . l:old_name . '" to "' . l:new_name . '"')
else
call ale#code_action#HandleCodeAction(
\ {
\ 'description': 'filerename',
\ 'changes': l:changes,
\ },
\ {
\ 'should_save': 1,
\ },
\)
endif
silent! noautocmd execute 'saveas ' . l:new_name
call delete(l:old_name)
endfunction
function! s:OnReady(options, linter, lsp_details) abort
let l:id = a:lsp_details.connection_id
if !ale#lsp#HasCapability(l:id, 'filerename')
return
endif
let l:buffer = a:lsp_details.buffer
let l:Callback = function('ale#filerename#HandleTSServerResponse')
call ale#lsp#RegisterCallback(l:id, l:Callback)
let l:message = ale#lsp#tsserver_message#GetEditsForFileRename(
\ a:options.old_name,
\ a:options.new_name,
\)
let l:request_id = ale#lsp#Send(l:id, l:message)
let s:filerename_map[l:request_id] = a:options
endfunction
function! s:ExecuteFileRename(linter, options) abort
let l:buffer = bufnr('')
let l:Callback = function('s:OnReady', [a:options])
call ale#lsp_linter#StartLSP(l:buffer, a:linter, l:Callback)
endfunction
function! ale#filerename#Execute() abort
let l:buffer = bufnr('')
let l:lsp_linters = []
for l:linter in ale#lsp_linter#GetEnabled(l:buffer)
if l:linter.lsp is# 'tsserver'
call add(l:lsp_linters, l:linter)
endif
endfor
if empty(l:lsp_linters)
call s:message('No active tsserver LSPs')
return
endif
let l:old_name = expand('#' . l:buffer . ':p')
let l:new_name = ale#util#Input('New file name: ', l:old_name, 'file')
if l:old_name is# l:new_name
call s:message('New file name matches old file name')
return
endif
if empty(l:new_name)
call s:message('New name cannot be empty!')
return
endif
for l:lsp_linter in l:lsp_linters
call s:ExecuteFileRename(l:lsp_linter, {
\ 'old_name': l:old_name,
\ 'new_name': l:new_name,
\})
endfor
endfunction
```
|
Samuele "Sam" Dalla Bona (born 6 February 1981) is an Italian former professional footballer who played as a midfielder.
Career
Chelsea
By the time he was 17 years old, he was captain of the under 18 national side, and was signed by Premier League club Chelsea in October 1998. Dalla Bona's move to London saw the Italian Football Federation amend the legislation regarding the sale of their young players.
The young midfielder was brought into the youth and reserve team squads at Chelsea first, gaining a reputation for prolific goalscoring with 16 reserve team goals, winning the club golden boot in 1998–99. In the same season, he was voted Chelsea's young player of the year.
He made his senior team debut for the club against Feyenoord in the Champions League a year later in November 1999. The following season, 2000-01, Dalla Bona got an extended run in the side, making 32 appearances in that season and scoring 2 goals. He was boosted further by the departure of older midfielders Dennis Wise and Gustavo Poyet in 2001 and some impressive performances. In his final season at Chelsea, 2001-02, he contributed 4 more goals in the Premier League, including an injury time winner against Ipswich Town and the third in a 4-0 thrashing of Liverpool. He also played during some of the matches in Chelsea's 2001–02 FA Cup run; the team were eventual runners-up to Arsenal, though Dalla Bona did not play in the final.
However, Dalla Bona turned down a contract extension, citing his desire to return to Italy, and was placed on the transfer list. Consequently, Dalla Bona fell out of favour and was forced to train with the reserves by Chelsea manager Claudio Ranieri.
A.C. Milan
Dalla Bona had decided to move back to his home nation of Italy. Numerous clubs were interested in the player, including his home town club Venezia who had a £5 million offer accepted but Dalla Bona decided his future lay elsewhere and turned down the opportunity.
He moved to A.C. Milan for around £1 million in July 2002, having played 73 games for Chelsea in all competitions and scored 6 goals. Dalla Bona made his Serie A debut on 6 October 2002 as Milan defeated Torino 6–0. During his first season at Milan, he received Champions League and Coppa Italia winners medals along with the rest of the squad.
Facing competition from a star-studded A.C. Milan midfield containing the likes of Gennaro Gattuso, Clarence Seedorf and Andrea Pirlo, Dalla Bona's opportunities at the club were limited and he spent various seasons on loan at different clubs in Italy, the first of which was a year-long loan at Bologna. The following season he was loaned to Lecce having made just a handful of appearances for Milan and in 2005 he was loaned to Sampdoria for a season.
Napoli
At the end of the championship he returned to A.C. Milan but after a few weeks he transferred to Napoli then in the Italian Serie B league, on free transfer, despite still having a year left in his contract. Dalla Bona had a positive start at Napoli, with the club performing well in Serie B. His contributions to the team included a particularly stunning goal, a left footed volley from outside the box against Treviso. However, as Napoli made their return to Serie A, Dalla Bona was again regularly left out of the starting line, with Napoli signing new players.
On 4 February 2009, Dalla Bona announced that he had left Napoli and was hoping to train with West Ham United to secure a permanent contract under former Chelsea teammate Gianfranco Zola. Dalla Bona announced he had rejected an offer from Serie B side Triestina because of this. He ultimately failed to secure a contact with West Ham and after another unsuccessful training spell with Fulham, he returned to Napoli.
On 7 August 2009, Iraklis signed Dalla Bona on loan from Napoli for a season. However, he failed to adjust in the team, mainly due to lack of fitness and his contract was terminated in December 2009, after making just three appearances (all as a substitute) in competitive matches. On 1 February 2010 he was signed by third division side Verona.
On 31 August 2010, he was loaned to Atalanta. However, Dalla Bona failed again to adjust to the team, and by the end of the season managed just a single appearance, in the Coppa Italia.
Mantova
On 31 August 2011, the final day of the summer transfer window, Dalla Bona signed a one-year contract for Mantova F.C.
Honours
A.C. Milan
Coppa Italia: 2002–03
UEFA Champions League: 2002–03
References
External links
National Team stats at FIGC official site
1981 births
Living people
People from San Donà di Piave
Men's association football midfielders
Italian men's footballers
Italy men's under-21 international footballers
Italy men's youth international footballers
Italian expatriate men's footballers
Chelsea F.C. players
AC Milan players
Bologna FC 1909 players
US Lecce players
UC Sampdoria players
SSC Napoli players
Iraklis F.C. (Thessaloniki) players
Hellas Verona FC players
Atalanta BC players
Mantova 1911 players
Premier League players
Serie A players
Serie B players
Serie C players
Super League Greece players
Expatriate men's footballers in England
Expatriate men's footballers in Greece
Italian expatriate sportspeople in Greece
Italian expatriate sportspeople in England
UEFA Champions League winning players
Footballers from the Metropolitan City of Venice
|
The right of conquest is a right of ownership to land after immediate possession via force of arms. It was recognized as a principle of international law that gradually deteriorated in significance until its proscription in the aftermath of World War II following the concept of crimes against peace introduced in the Nuremberg Principles. The interdiction of territorial conquests was confirmed and broadened by the UN Charter, which provides in article 2, paragraph 4, that "All Members shall refrain in their international relations from the threat or use of force against the territorial integrity or political independence of any state, or in any other manner inconsistent with the purposes of the United Nations." Although civil wars continued, wars between established states have been rare since 1945. Nations that have resorted to the use of force since the Charter came into effect have typically invoked self-defense or the right of collective defense.
History and arguments
Proponents state that the right of conquest acknowledges the status quo, and that denial of the right is meaningless unless one is able and willing to use military force to deny it. Further, the right was traditionally accepted because the conquering force, being by definition stronger than any lawfully entitled governance which it may have replaced, was, therefore, more likely to secure peace and stability for the people, and so the right of conquest legitimizes the conqueror towards that end.
The completion of colonial conquest of much of the world (see the Scramble for Africa), the devastation of World War I and World War II, and the alignment of both the United States and the Soviet Union with the principle of self-determination led to the abandonment of the right of conquest in formal international law. The 1928 Kellogg–Briand Pact, the post-1945 Nuremberg and Tokyo Trials, the UN Charter, and the UN role in decolonization saw the progressive dismantling of this principle. Simultaneously, the UN Charter's guarantee of the "territorial integrity" of member states.
Conquest and military occupation
Until 1945, the disposition of territory acquired under the principle of conquest had to be conducted according to the existing laws of war. This meant that there had to be military occupation followed by a peace settlement, and there was no reasonable chance of the defeated sovereign regaining the land. While a formal peace treaty "makes good any defects in title", it was not required. Recognition by the losing party was not a requirement: "the right of acquisition vested by conquest did not depend on the consent of the dispossessed state". However, the alternative was annexation (part or in whole) which if protested as unlawful, a peace treaty was the only means to legitimize conquest in a time of war. Essentially, conquest itself was a legal act of extinguishing the legal rights of other states without their consent. Under this new framework, it is notable that conquest and subsequent occupation outside of war were illegal.
In the post-World War II era, not all wars involving territorial acquisitions ended in a peace treaty. For example, the fighting in the Korean War paused with an armistice, without any peace treaty covering it. North Korea is still technically at war with South Korea and the United States as of 2023.
See also
References
Works cited
Law of war legal terminology
Property law
Political theories
Political terminology
International law
Sovereignty
Property law legal terminology
International law legal terminology
|
A by-election was held in the Dáil Éireann Dublin Central constituency in Ireland on Friday, 5 June 2009, following the death of the Independent Teachta Dála (TD) Tony Gregory on 2 January 2009. The by-election was held on the same day as the 2009 European and local elections. A by-election was held in the Dublin South constituency on the same date. There was no legal requirement on when to hold a by-election in Ireland in 2009 but they were generally held within six months.
The independent candidate Maureen O'Sullivan, Gregory's former election agent, was elected on the eighth count.
Result
See also
2009 Dublin South by-election
List of Dáil by-elections
Dáil constituencies
References
2009 in Irish politics
2009 elections in the Republic of Ireland
30th Dáil
Dáil by-elections
2000s in Dublin (city)
By-elections in County Dublin
June 2009 events in Europe
Elections in Dublin (city)
|
```smalltalk
using System.Reflection;
namespace DotnetSpider.DataFlow.Storage.Entity;
/// <summary>
///
/// </summary>
public class Column
{
public string Name { get; set; }
public string Type { get; set; }
public int Length { get; set; } = 255;
public bool Required { get; set; }
/// <summary>
///
/// </summary>
public PropertyInfo PropertyInfo { get; set; }
}
```
|
Minister of Mineral Resources may refer to:
Minister of Mineral Resources (Manitoba)
Minister of Mineral Resources (South Africa)
See also
Ministry of Mineral Resources (Sierra Leone)
|
```java
package com.yahoo.search.pagetemplates.config;
import com.yahoo.config.subscription.ConfigSubscriber;
import com.yahoo.search.pagetemplates.PageTemplatesConfig;
import com.yahoo.io.reader.NamedReader;
import com.yahoo.search.pagetemplates.PageTemplateRegistry;
import java.io.StringReader;
import java.util.ArrayList;
import java.util.List;
/**
* Provides a static method to convert a page template config into a PageTemplateRegistry.
* In addition, instances of this can be created to subscribe to config and keep an up to date registry reference.
*
* @author bratseth
*/
public class PageTemplateConfigurer {
/**
* Creates a new page template registry from the content of a config and returns it.
* The returned registry will <b>not</b> be frozen. This should be done, by calling freeze(), before it is used.
*/
public static PageTemplateRegistry toRegistry(PageTemplatesConfig config) {
List<NamedReader> pageReaders=new ArrayList<>();
int pageNumber=0;
for (String pageString : config.page())
pageReaders.add(new NamedReader("page[" + pageNumber++ + "]",new StringReader(pageString)));
return new PageTemplateXMLReader().read(pageReaders,false);
}
}
```
|
Æthelheah was a medieval Bishop of Sherborne.
Æthelheah was consecrated between 867 and 868. He died between 879 and 889.
Citations
References
External links
Bishops of Sherborne (ancient)
9th-century English bishops
|
```javascript
import i18nProvider from './provider'
import { retrieveTranslation } from './provider'
import useGetLanguageChoices from './useGetLanguageChoices'
export { i18nProvider, retrieveTranslation, useGetLanguageChoices }
```
|
Lewis Kaplan (born November 10, 1933) is an American violinist, and pedagogue. He is a senior professor in violin and chamber music at the Juilliard School and has been on the faculty at Mannes School of Music since 1987, both located in New York City.
Early life
He was born in Passaic, New Jersey.
A graduate of The Juilliard School–where he earned both bachelor's and master's degrees in violin studies studying under Ivan Galamian (1901-1981), one of the greatest violin pedagogues of the 20th Century, and conducting under Jean Morel–Kaplan began teaching at the prestigious conservatory in 1964 and is presently a senior professor in violin and chamber music.
Career
Teaching
In 2016, Kaplan co-founded and was named Artistic Director of the Portland Bach Festival in Portland, Maine.
Kaplan is a founder of the Aeolian Chamber Players and a co-founder of the Bowdoin International Music Festival. He has served on the juries of numerous international competitions, including the Queen Elisabeth Competition in Brussels, Fritz Kreisler (Vienna), Mozart International (Salzburg), Japan International (Tokyo), Sendai, Joachim (Hanover), Naumburg and Concert Artists Guild (New York) and Henryk Szeryng International (Monaco).
Kaplan is a visiting professor at the Royal College of Music in London and an honorary professor at the Xi'an Conservatory of Music in China. He has presented master classes at most of the well-known conservatories and schools worldwide, including the Mozarteum Summer Academy in Salzburg, Austria where he taught for 20 years.
Kaplan's chamber and violin students have included Yo-Yo Ma, Emanuel Ax, Pinchas Zukerman, Kyung-Wha Chung.
Performing
Kaplan has made numerous television appearances and has premiered more than 100 works, both as a soloist and with the Aeolian Chamber Players, by most of the well-known composers worldwide. He has recorded for Columbia/CBS Masterworks (Sony), CRI, Folkways and Odyssey Records.
Kaplan has appeared as violin soloist and as a conductor in Europe, Asia, and North America. He has performed as well with Michael Rabin, Jaime Laredo, Szymon Goldberg, Ruggiero Ricci, pianists Yefim Bronfman, Richard Goode, Rudolf Firkusny, Murray Perahia, Horacio Gutierrez and many others.
Personal life
He resides on the Upper West Side in New York City with his wife, Adria.
References
Sources
Official site.
Sendai International Music Competition 2007
Bowdoin International Music Festival
Mannes College The New School for Music in New York City
1933 births
Living people
American classical violinists
Male classical violinists
American male violinists
Juilliard School faculty
Musicians from Passaic, New Jersey
20th-century American Jews
Educators from New Jersey
Classical musicians from New Jersey
21st-century classical violinists
21st-century American male musicians
21st-century American Jews
21st-century American violinists
|
```objective-c
/*!
* @header ShareView.h
* LEEAlertDemo
*
* @brief
*
* @author LEE
* @version 16/4/26.
*/
#import <UIKit/UIKit.h>
#import "ShareButton.h"
@interface ShareView : UIView
/**
* Block
*/
@property (nonatomic , copy ) void (^openShareBlock)(ShareType type);
/**
*
*
* @param frame frame
* @param infoArray
* @param maxLineNumber
* @param maxSingleCount
*
* @return
*/
- (instancetype)initWithFrame:(CGRect)frame
InfoArray:(NSArray *)infoArray
MaxLineNumber:(NSInteger)maxLineNumber
MaxSingleCount:(NSInteger)maxSingleCount;
@end
```
|
```php
<?php
/*
*
*
* path_to_url
*
* Unless required by applicable law or agreed to in writing, software
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
*/
namespace Google\Service\Integrations;
class GoogleCloudIntegrationsV1alphaListSfdcInstancesResponse extends \Google\Collection
{
protected $collection_key = 'sfdcInstances';
/**
* @var string
*/
public $nextPageToken;
protected $sfdcInstancesType = GoogleCloudIntegrationsV1alphaSfdcInstance::class;
protected $sfdcInstancesDataType = 'array';
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param GoogleCloudIntegrationsV1alphaSfdcInstance[]
*/
public function setSfdcInstances($sfdcInstances)
{
$this->sfdcInstances = $sfdcInstances;
}
/**
* @return GoogleCloudIntegrationsV1alphaSfdcInstance[]
*/
public function getSfdcInstances()
{
return $this->sfdcInstances;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudIntegrationsV1alphaListSfdcInstancesResponse::class, your_sha256_hashdcInstancesResponse');
```
|
```objective-c
/****************************************************************************
** All rights reserved.
** See license at path_to_url
****************************************************************************/
#pragma once
#include "property.h"
#include <string>
#include <variant>
#include <vector>
namespace Mayo {
// Mechanism to convert value of a Property object to/from a basic variant type
class PropertyValueConversion {
public:
// Variant type to be used when (de)serializing values
class Variant : public std::variant<std::monostate, bool, int, double, std::string> {
public:
using BaseType = std::variant<std::monostate, bool, int, double, std::string>;
Variant() = default;
Variant(bool v) : BaseType(v) {}
Variant(int v) : BaseType(v) {}
Variant(float v) : Variant(static_cast<double>(v)) {}
Variant(double v) : BaseType(v) {}
Variant(const char* str) : BaseType(std::string(str)) {}
Variant(const std::string& str) : BaseType(str) {}
bool isValid() const;
bool toBool(bool* ok = nullptr) const;
int toInt(bool* ok = nullptr) const;
double toDouble(bool* ok = nullptr) const;
std::string toString(bool* ok = nullptr) const;
const std::string& toConstRefString(bool* ok = nullptr) const;
bool isConvertibleToConstRefString() const;
bool isByteArray() const;
void setByteArray(bool on);
private:
bool m_isByteArray = false;
};
int doubleToStringPrecision() const { return m_doubleToStringPrecision; }
void setDoubleToStringPrecision(int prec) { m_doubleToStringPrecision = prec; }
virtual Variant toVariant(const Property& prop) const;
// TODO Use maybe std::error_code instead of bool
virtual bool fromVariant(Property* prop, const Variant& variant) const;
protected:
// Implementation helpers
template<typename T> static const T& constRef(const Property& prop);
template<typename T> static T* ptr(Property* prop);
template<typename T> static bool isType(const Property& prop);
template<typename T> static bool isType(const Property* prop);
private:
int m_doubleToStringPrecision = 6;
};
// --
// -- Implementation
// --
template<typename T> const T& PropertyValueConversion::constRef(const Property& prop) {
return static_cast<const T&>(prop);
}
template<typename T> T* PropertyValueConversion::ptr(Property* prop) {
return static_cast<T*>(prop);
}
template<typename T> bool PropertyValueConversion::isType(const Property& prop) {
return prop.dynTypeName() == T::TypeName;
}
template<typename T> bool PropertyValueConversion::isType(const Property* prop) {
return prop ? isType<T>(*prop) : false;
}
} // namespace Mayo
```
|
```ruby
class SblimSfcc < Formula
desc "Project to enhance the manageability of GNU/Linux system"
homepage "path_to_url"
url "path_to_url"
sha256 your_sha256_hash
license "EPL-1.0"
revision 1
livecheck do
url :stable
regex(%r{url=.*?/sblim-sfcc[._-]v?(\d+(?:\.\d+)+)\.t}i)
end
bottle do
rebuild 1
sha256 cellar: :any, arm64_sonoma: your_sha256_hash
sha256 cellar: :any, arm64_ventura: your_sha256_hash
sha256 cellar: :any, arm64_monterey: your_sha256_hash
sha256 cellar: :any, arm64_big_sur: your_sha256_hash
sha256 cellar: :any, sonoma: your_sha256_hash
sha256 cellar: :any, ventura: your_sha256_hash
sha256 cellar: :any, monterey: your_sha256_hash
sha256 cellar: :any, big_sur: your_sha256_hash
sha256 cellar: :any, catalina: your_sha256_hash
sha256 cellar: :any_skip_relocation, x86_64_linux: your_sha256_hash
end
depends_on "autoconf" => :build
depends_on "automake" => :build
depends_on "libtool" => :build
depends_on "openssl@3"
uses_from_macos "curl"
# Fix -flat_namespace being used on Big Sur and later.
patch do
url "path_to_url"
sha256 your_sha256_hash
end
def install
if DevelopmentTools.clang_build_version >= 1500
# Work around "backend/cimxml/grammar.c:305:9: error: call to undeclared function 'guessType'"
# Ref: path_to_url
ENV.append_to_cflags "-Wno-implicit-function-declaration"
# Work around "ld: unknown file type in '.../cimc/libcimcclient.Versions'"
ENV.append "LDFLAGS", "-Wl,-ld_classic"
end
system "./configure", *std_configure_args
system "make", "install"
end
test do
(testpath/"test.cpp").write <<~EOS
#include <cimc/cimc.h>
int main()
{
return 0;
}
EOS
system ENV.cxx, "test.cpp", "-L#{lib}", "-lcimcclient", "-o", "test"
system "./test"
end
end
```
|
This is a list of rivers in Paraguay.
By drainage basin
This list is arranged by drainage basin, with respective tributaries indented under each larger stream's name.
La Plata Basin
Paraná River
Paraguay River
Tebicuary River
Pilcomayo River
Salado River
Piribebuy River
Confuso River
Manduvirá River
Jejuy River
Yhagüy River
Aguaray-Guazú River
Negro River
Aguaray-Guazú River
Jejuí Guazú River
Curuguaty River
Monte Lindo River
Ypané River
Aquidabán River
Verde River
Apa River
Melo River
Tímane River
Bamburral River or Negro
Monday River
Acaray River
Yguazú River
Ytambey River
Carapá River
See also
Rivers of Paraguay
List of rivers of the Americas by coastline
References
Rand McNally, The New International Atlas, 1993.
, GEOnet Names Server
Paraguay
Rivers
|
Dinhing Dapita Sadya is the weekly entertainment show of the ABS-CBN Davao Entertainment Group and its hosted by Id Acaylar, Onnie Alfaro & Ian Garcia.
The show signed off as it gave way to MagTV Na Sadya Ta! (later MAG TV Na, MAG Negosyo Ta! and renamed since 2017 as MagTV Na! Southern Mindanao) in 2008 as part of the same brand regional talk or magazine shows.
Segments
Onnie 911
Luwag ni Ian
Misyon Makeover
Dabaw Dyoks Squad
See also
DXAS-TV
ABS-CBN Regional Network Group
Television in Davao City
ABS-CBN Regional shows
2005 Philippine television series debuts
2008 Philippine television series endings
|
```go
//go:build kubeall || kubernetes
// +build kubeall kubernetes
// NOTE: we have build tags to differentiate kubernetes tests from non-kubernetes tests. This is done because minikube
// is heavy and can interfere with docker related tests in terratest. Specifically, many of the tests start to fail with
// `connection refused` errors from `minikube`. To avoid overloading the system, we run the kubernetes tests and helm
// tests separately from the others. This may not be necessary if you have a sufficiently powerful machine. We
// recommend at least 4 cores and 16GB of RAM if you want to run all the tests together.
package k8s
import (
"fmt"
"time"
"strings"
"testing"
"github.com/gruntwork-io/terratest/modules/random"
"github.com/stretchr/testify/require"
appsv1 "k8s.io/api/apps/v1"
v1 "k8s.io/api/core/v1"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
)
func TestGetDeploymentEReturnsError(t *testing.T) {
t.Parallel()
options := NewKubectlOptions("", "", "")
_, err := GetDeploymentE(t, options, "nginx-deployment")
require.Error(t, err)
}
func TestGetDeployments(t *testing.T) {
t.Parallel()
uniqueID := strings.ToLower(random.UniqueId())
options := NewKubectlOptions("", "", uniqueID)
configData := fmt.Sprintf(ExampleDeploymentYAMLTemplate, uniqueID)
KubectlApplyFromString(t, options, configData)
defer KubectlDeleteFromString(t, options, configData)
deployment := GetDeployment(t, options, "nginx-deployment")
require.Equal(t, deployment.Name, "nginx-deployment")
require.Equal(t, deployment.Namespace, uniqueID)
}
func TestListDeployments(t *testing.T) {
t.Parallel()
uniqueID := strings.ToLower(random.UniqueId())
options := NewKubectlOptions("", "", uniqueID)
configData := fmt.Sprintf(ExampleDeploymentYAMLTemplate, uniqueID)
KubectlApplyFromString(t, options, configData)
defer KubectlDeleteFromString(t, options, configData)
deployments := ListDeployments(t, options, metav1.ListOptions{})
require.Equal(t, len(deployments), 1)
deployment := deployments[0]
require.Equal(t, deployment.Name, "nginx-deployment")
require.Equal(t, deployment.Namespace, uniqueID)
}
func TestWaitUntilDeploymentAvailable(t *testing.T) {
t.Parallel()
uniqueID := strings.ToLower(random.UniqueId())
options := NewKubectlOptions("", "", uniqueID)
configData := fmt.Sprintf(ExampleDeploymentYAMLTemplate, uniqueID)
KubectlApplyFromString(t, options, configData)
defer KubectlDeleteFromString(t, options, configData)
WaitUntilDeploymentAvailable(t, options, "nginx-deployment", 60, 1*time.Second)
}
func TestTestIsDeploymentAvailable(t *testing.T) {
testCases := []struct {
title string
deploy *appsv1.Deployment
expectedResult bool
}{
{
title: "TestIsDeploymentAvailableWithProgressingNewReplicaSetAvailable",
deploy: &appsv1.Deployment{
Status: appsv1.DeploymentStatus{
Conditions: []appsv1.DeploymentCondition{
{
Type: appsv1.DeploymentProgressing,
Status: v1.ConditionTrue,
Reason: "NewReplicaSetAvailable",
},
},
},
},
expectedResult: true,
},
{
title: your_sha256_hashe",
deploy: &appsv1.Deployment{
Status: appsv1.DeploymentStatus{
Conditions: []appsv1.DeploymentCondition{
{
Type: appsv1.DeploymentProgressing,
Status: v1.ConditionTrue,
Reason: "ReplicaSetUpdated",
},
},
},
},
expectedResult: false,
},
{
title: "TestIsDeploymentAvailableWithoutProgressingCondition",
deploy: &appsv1.Deployment{
Status: appsv1.DeploymentStatus{
Conditions: []appsv1.DeploymentCondition{},
},
},
expectedResult: false,
},
}
for _, tc := range testCases {
tc := tc
t.Run(tc.title, func(t *testing.T) {
t.Parallel()
actualResult := IsDeploymentAvailable(tc.deploy)
require.Equal(t, tc.expectedResult, actualResult)
})
}
}
const ExampleDeploymentYAMLTemplate = `---
apiVersion: v1
kind: Namespace
metadata:
name: %s
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: nginx-deployment
labels:
app: nginx
spec:
strategy:
rollingUpdate:
maxSurge: 10%%
maxUnavailable: 0
replicas: 2
selector:
matchLabels:
app: nginx
template:
metadata:
labels:
app: nginx
spec:
containers:
- name: nginx
image: nginx:1.15.7
ports:
- containerPort: 80
readinessProbe:
httpGet:
path: /
port: 80
`
```
|
```python
from django.core.management.base import BaseCommand
from venueless.core.models import World
from venueless.importers.conftool import create_posters_from_conftool
class Command(BaseCommand):
help = "Run poster import from conftool"
def add_arguments(self, parser):
parser.add_argument("world_id", type=str)
def handle(self, *args, **options):
world = World.objects.get(id=options["world_id"])
u = world.config.get("conftool_url")
p = world.config.get("conftool_password")
create_posters_from_conftool(world, u, p)
```
|
Jan Töve (born May 14, 1958) is a Swedish landscape photographer, writer and lecturer.
Töve has won several awards in the Wildlife Photographer of the Year competition, owned by BBC Wildlife and The Natural History Museum, and beside his publicist's work shot a documentary for the Swedish State Television.
In 1995 he was awarded the title Årets nordiska naturfotograf (Nordic Photographer of the Year) by the Swedish photography magazine Foto. Several years later he was also awarded the Årets naturfotograf 2003 (Nature Photographer of the Year, 2003) by the Swedish Environmental Protection Agency. His first book, Speglingar (Reflections), was published in 1996 and depicts various seasonal changes in the nature.
Töve seeks to depict the border country between nature, people and society, as expressed in his latests books Riverside (2007), Silent Landscape (2012), Faraway Nearby (Hatje Cantz, 2017) and Night Light (self-published, 2020).
Bibliography
Speglingar. 1996
Bortom redan. 2001
Riverside Viskan. 2007
Silent Landscape. 2012
Faraway Nearby. 2017
Night Light. 2020
Bibliography (photography)
Skogaryd – en skogshistoria. 1999
Hornborgasjön. 2002
Kunskap om skogens historia. 2003
Fässingen: Från Borås och de sju häraderna. 2003
Bygden runt sjön. 2004
Vänerhavet. 2005
De gamle och skogen – kulturarvet i skogslandskapet. 2006
Västerut: natur mellan Vinga och Vättern. 2006
Matsmart. 2008
Röster från skogen. 2010
Änglagårdsbygd. 2011
Skogssällskapet – en växande historia 1912–2012. 2012
Bohuskusten. 2018
External links
Jan Töve, official web site
Swedish photographers
People from Ulricehamn Municipality
Living people
1958 births
|
```html
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>Function template extract_or_throw</title>
<link rel="stylesheet" href="../../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="../../index.html" title="Chapter 1. Boost.Log v2">
<link rel="up" href="../../attributes.html#header.boost.log.attributes.value_extraction_hpp" title="Header <boost/log/attributes/value_extraction.hpp>">
<link rel="prev" href="extract_or_thr_idp36103168.html" title="Function template extract_or_throw">
<link rel="next" href="extract_or_thr_idp36118960.html" title="Function template extract_or_throw">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr><td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../boost.png"></td></tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="extract_or_thr_idp36103168.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../attributes.html#header.boost.log.attributes.value_extraction_hpp"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="extract_or_thr_idp36118960.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="refentry">
<a name="boost.log.extract_or_thr_idp36111200"></a><div class="titlepage"></div>
<div class="refnamediv">
<h2><span class="refentrytitle">Function template extract_or_throw</span></h2>
<p>boost::log::extract_or_throw</p>
</div>
<h2 xmlns:rev="path_to_url~gregod/boost/tools/doc/revision" class="refsynopsisdiv-title">Synopsis</h2>
<div xmlns:rev="path_to_url~gregod/boost/tools/doc/revision" class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: <<a class="link" href="../../attributes.html#header.boost.log.attributes.value_extraction_hpp" title="Header <boost/log/attributes/value_extraction.hpp>">boost/log/attributes/value_extraction.hpp</a>>
</span>
<span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> DescriptorT<span class="special">,</span> <span class="keyword">template</span><span class="special"><</span> <span class="keyword">typename</span> <span class="special">></span> <span class="keyword">class</span> ActorT<span class="special">></span>
<a class="link" href="result_of/extract_or_throw.html" title="Struct template extract_or_throw">result_of::extract_or_throw</a><span class="special"><</span> <span class="keyword">typename</span> <span class="identifier">DescriptorT</span><span class="special">::</span><span class="identifier">value_type</span><span class="special">,</span> <span class="identifier">DescriptorT</span> <span class="special">></span><span class="special">::</span><span class="identifier">type</span>
<span class="identifier">extract_or_throw</span><span class="special">(</span><span class="identifier">expressions</span><span class="special">::</span><span class="identifier">attribute_keyword</span><span class="special"><</span> <span class="identifier">DescriptorT</span><span class="special">,</span> <span class="identifier">ActorT</span> <span class="special">></span> <span class="keyword">const</span> <span class="special">&</span> keyword<span class="special">,</span>
<span class="identifier">record</span> <span class="keyword">const</span> <span class="special">&</span> rec<span class="special">)</span><span class="special">;</span></pre></div>
<div class="refsect1">
<a name="idp92781360"></a><h2>Description</h2>
<p>The function extracts an attribute value from the view. The user has to explicitly specify the type or set of possible types of the attribute value to be extracted.</p>
<p>
</p>
<div class="variablelist"><table border="0" class="variablelist compact">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term">Parameters:</span></p></td>
<td><div class="variablelist"><table border="0" class="variablelist compact">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><code class="computeroutput">keyword</code></span></p></td>
<td><p>The keyword of the attribute value to extract. </p></td>
</tr>
<tr>
<td><p><span class="term"><code class="computeroutput">rec</code></span></p></td>
<td><p>A log record. The attribute value will be sought among those associated with the record. </p></td>
</tr>
</tbody>
</table></div></td>
</tr>
<tr>
<td><p><span class="term">Returns:</span></p></td>
<td><p>The extracted value or a non-empty <code class="computeroutput">value_ref</code> that refers to the value. </p></td>
</tr>
<tr>
<td><p><span class="term">Throws:</span></p></td>
<td>An exception is thrown if the requested value cannot be extracted. </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<table xmlns:rev="path_to_url~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
file LICENSE_1_0.txt or copy at <a href="path_to_url" target="_top">path_to_url
</p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="extract_or_thr_idp36103168.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../attributes.html#header.boost.log.attributes.value_extraction_hpp"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="extract_or_thr_idp36118960.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>
```
|
Daniel Buren (born 25 March 1938, in Boulogne-Billancourt) is a French conceptual artist, painter, and sculptor. He has won numerous awards including the Golden Lion for best pavilion at the Venice Biennale (1986), the International Award for best artist in Stuttgart (1991) and the prestigious Premium Imperiale for painting in Tokyo in 2007. He has created several world-famous installations, including "Les Deux Plateaux"(1985) in the Cour d'honneur of the Palais-Royal, and the Observatory of the Light in Fondation Louis Vuitton. He is one of the most active and recognised artists on the international scene, and his work has been welcomed by the most important institutions and sites around the world.
Work
Sometimes classified as a Minimalist, Buren is known best for using regular, contrasting colored stripes in an effort to integrate visual surface and architectural space, notably on historical, landmark architecture.
Among his primary concerns is the "scene of production" as a way of presenting art and highlighting facture (the process of 'making' rather than for example, mimesis or representation of anything but the work itself). The work is site-specific installation, having a relation to its setting in contrast to prevailing ideas of an autonomous work of art.
Early work
He graduated from the Ecole Nationale Supérieure des Métiers d'Art in Paris, in 1960. He began painting in the early 1960s. However, by 1965 – a year he spent in the Grapetree Bay Hotel on the Caribbean island of Saint Croix where he was contracted to make frescoes – he had abandoned traditional painting for the 8.7 cm-wide vertical stripes, which alternated between white and one color, which have become his signature. Working on-site, he strives to contextualise his artistic practice using the stripe – a popular French fabric motif – as a means of visually relating art to its situation, a form of language in space rather than a space in itself. Denoting the trademark stripes as a visual instrument or "seeing tool," he invites viewers to take up his critical standpoint challenging traditional ideas about art.
He began producing unsolicited public art works using striped awning canvas common in France: he started by setting up hundreds of striped posters, so-called affichages sauvages, around Paris and later in more than 100 Metro stations, drawing public attention through these unauthorised bandit-style acts. In June 1970 he put stripes on the front and back of Los Angeles bus benches without permission. In another controversial gesture he blocked the entrance of the gallery with stripes of his first solo exhibition. Expanding on this idea, in 1971 he created a six-foot banner, Peinture-Sculpture, to divide the Solomon R. Guggenheim Museum's rotunda in New York. For his first New York City solo show in 1973, Buren suspended a set of nineteen black and white striped squares of canvas on a cable that ran from one end of the John Weber Gallery to the other, out the window to a building on the other side of West Broadway and back. Nine pieces were inside the gallery and nine outside; a middle piece, which connected the outside and the inside parts of the installation, was placed half-in and half-out in the opening where the window frame had been removed for the duration of the exhibition. In 1977 Buren cut up one of his artworks from 1969 and made a new work, designating that the sections should hang in the corners of a wall, whether that wall was empty, had doors or windows, or even had other artworks already hanging on it.
As a conceptual artist, Buren was regarded as visually and spatially audacious, objecting to traditional ways of presenting art through the museum-gallery system while at the same time growing in hot demand to show via the same system. In the late 1960s he connected to the ideas of space and presentation arising through deconstructionist philosophies that had as their background the May 1968 student demonstrations in France. Between 1966 and 1967, he joined forces with fellow artists Olivier Mosset, Michel Parmentier, and Niele Toroni to form the BMPT, whose intention was to reduce paintings to the most basic physical and visual elements through the systematic repetition of motifs.
Often referred to as "the stripe guy," Buren also expresses his theme in paint, laser cut fabric, light boxes, transparent fabrics and ceramic cup sets. His stripes are displayed in private homes, public places, and museums worldwide. Since the 1950s he has amassed some 400,000 of what he calls photos-souvenirs, documenting his work and travels around the globe.
Installations
From 1960 on, Buren designed a number of permanent site-specific installations in the United States, Belgium, France, and Germany. In 1986 he created a 3,000-square-meter sculpture in the great courtyard of the Palais Royal, in Paris: Les Deux Plateaux, more commonly referred to as the Colonnes de Buren ("Buren's Columns"). This provoked an intense debate over the integration of contemporary art and historic buildings. In 1993, Buren was commissioned to design the work in situ, Poser/Déposer/Exposer, for the Café Richelieu at the Louvre in collaboration with Jean-Pierre Raynaud.
Since the 1990s, Buren's work has become more architectural. He creates new spaces within existing environments such as city centers (A Colored Square in the Sky, 2007), public parks (La Cabane Éclatée aux 4 Salles, 2005), entire museums (The Eye of the Storm, 2005), and even beaches (, 2009). For Green and White Fence (1999/2001) Buren installed a functional fence sculpture, consisting of fence posts at four-meter intervals, painted green and white 87-millimeter stripes along a single ridge line: Since the first part's installation, the artist's theme has been extended until, over time, it will become the only form of fence on Gibbs Farm in New Zealand. In 2004, for the occasion of the opening of the French cultural year in China, Buren exhibited in his in situ installation De l'azur au Temple du Ciel (From the sky to Temple of Heaven) at Temple of Heaven in Beijing. A Rainbow in the Sky (2009) consisted of thousands of colorful pennant flags hovering over a busy pedestrian square in Pasadena, California for two months.
Buren collaborated with Hermès on a number of occasions. The artist inaugurated Hermès' contemporary art gallery La Verrière in Brussels in 2000 by transforming its walls with bold graphics, colours and his trademark stripes, and later opened the Atelier Hermès in Dosan Park, Seoul with his Filtres colorés, coloured panels that diffused the light to dramatic effect. In 2010, he created "Photo souvenirs au carré", a 365 limited-edition line of scarves decorated with silk-printed photographs.
In 2009 Buren collaborated with the collective Ensemble(s) La Ligne created by RCP Design Global agency, with, among others, Louis Dandrel and Roger Tallon to create Curseur (2009–2013). It is a work in situ – for Tours Tram – three black and white stripes vertically, which will join the same horizontal marking on the ground, both at right angles to the doors' opening. Trainsets shaped cursor with "mirror effect" identified in black and white stripes.
In 2014, the rooftop of Modernist architect Le Corbusier's Cité Radieuse building in Marseilles hosted an installation of mirrors and coloured glass by Buren. Défini, Fini, Infini (2014) was an installation for the Marseilles Modulor (MaMo), led by French designer Ora-Ïto, who in 2013 transformed the iconic rooftop into an international arts space.
In 2017, Buren completed his first permanent installation in the United Kingdom, 'Diamonds and Circles' permanent works 'in situ', a work for Art on the Underground on the walls of the expanded ticket hall at Tottenham Court Road.
Performance
From 1966 to '67, Buren and the other BMPT artists staged a series of performances they called manifestations, in which the group made or exhibited their work in public as a critical encounter with audiences.
Voile/Toile – Toile/Voile, a piece consisting of boat races followed by museum displays of sail-canvasses, was originally created for a regatta on the Wannsee, Berlin, in 1975 and later produced in Geneva (1979), Lucerne (1980), Villeneuve-d'Ascq (1983), Lyon-Villeurbanne (1998), Tel Aviv (1999), Sevilla (2004), and Grasmere (2005). This work always has two separate parts. In the first, nine Optimists are fitted with striped canvas sails (white with red, blue, yellow, green or brown stripes). The two white stripes at the edges are covered with white paint. The boats then race in a regatta. In the second part, after the race, the sails are exhibited in a museum in the city where the regatta was held. They are presented in the order they crossed the finishing line, from one to nine and from left to right, as befits the exhibition area. In 1973 and 1974 Daniel Buren, performs with Jannis Kounellis, Wolf Vostell and other artists in Berlin at the ADA – Aktionen der Avantgarde.
Initially presented in Genazzano in 1982, as part of a group project called La zattera di Babele ("The Raft of Babel"), Couleurs superposées (Layered colours) is an hour-long public performance, during which paper is pasted up and then torn down. For forty minutes, five actors paste striped colored paper on the wall, according to the artist's instructions. The white stripes must be exactly aligned. The spectators see colours and shapes appearing and disappearing as successive layers are added. Then for the remaining twenty minutes, the actors, still directed by the artist, tear off the freshly pasted papers to reveal fragments of the previous layers. The spectators watch the evolution of work on a picture that is never finished and whose successive stages are recorded only in their memory. After the performance, the piece is destroyed. The piece was later performed in Tokyo, Bern, Eindhoven, Venice, Villeneuve d'Ascq, New York (2005), and Paris (2005). In 2009, Buren directed Couleurs superposées at the on the occasion of the opening of the Centre Pompidou-Metz.
Writing
That writing is an important activity for Buren is made particularly clear in his collected texts Les Écrits, published in 1991 and then in 2012.
Exhibitions
Buren had his first important solo exhibition at the Galleria Apollinaire in Milan in 1968, where he blocked the only entrance to the gallery, a glass door, with a striped support. He has since presented his environmental installations worldwide. By the 1970s and 1980s he was exhibiting in Europe, America and Japan. Buren wished to take part in Harald Szeemann's exhibition "When Attitudes Become Form", in Bern in 1969, without being invited. Two of the contributing artists offered him space, but he instead set about covering billboards in the city with his stripes. He was arrested and had to leave Switzerland. In 1971, Buren devised a banner, 20 by 10 metres, with white and blue stripes on both sides to be hung at the Guggenheim Museum in New York in a big international group show, conceived to encourage artists to exploit the building's space. Other artists, including Dan Flavin and Donald Judd, protested that the banner blocked views across the rotunda, compromising their works. Buren, in turn, said Flavin's fluorescent lights colored his banner. The night before the opening, the banner was removed. Buren was later invited to participate in the Documentas 5 through 7 (1972–1982).
In 1986, when François Mitterrand was president of France, Buren attained leading artist status after he created Les Deux Plateaux (1985–86), a work in situ for the Cour d'honneur at the Palais Royal in Paris. That same year, he represented France at the Venice Biennale and won the Golden Lion Award for best pavilion. Buren had major solo exhibitions at the Touko Museum of Contemporary Art, Tokyo, in 1989, at the Centre Georges Pompidou in Paris in 2002, at the Guggenheim Museum in New York in 2005, at Modern Art Oxford in 2006, and at the Kunsthalle Baden-Baden in 2011. In December 2006 Buren won the competition to make Arcos Rojos/Arku Gorriaka, a new major project for the iconic Puente de La Salve bridge next to the Guggenheim Museum in Bilbao while, in February 2007, the Musée Fabre in Montpellier re-opened with a new permanent commission. For the 52nd Venice Biennale, Buren created a new site-specific work for the Giardini of the Italian Pavilion, and was curator of Sophie Calle's contribution to the French Pavilion. In 2011, he decided to cancel an exhibition at the Ullens Center for Contemporary Art in Beijing in "solidarity" with detained artist Ai Weiwei. The fifth artist ever to fill the space of the Grand Palais on the occasion of the Monumenta exhibition, Buren conceived Excentrique(s) in 2012, a giant cluster of colored, transparent plastic discs, which overlap to form a colourful canopy.
List of selected exhibitions
1960–61
First public commission of murals for a hotel on St. Croix (U.S. Virgin Islands). To date more than 180 exhibitions have followed since in the U.S.
1965
Grand Prix at the Paris Biennale.
Prix Lefranc de la Jeune Peinture (prize for young painters)
1966–67
Events staged by the foursome Buren, Mosset, Parmentier & Toroni
1967
First "affichages sauvages" (fly-posting) in the streets of Paris
1968
First solo exhibit at Galerie Apollinaire, Milan
1968 / 1969 / 1971 / 1976
Participated in "Prospect", Düsseldorf, Germany
1969
Interruption, exhibition-presentation of 8 films on a Scopitone at the Galerie Yvon Lambert, Paris
1970
Participated in the "10th Tokyo Biennale" International Exhibition (Tokyo, Japan)
"Affichages sauvages" (fly-posting) in the Paris Métro, Tokyo subway, and New York City Subway
First video work with the Gerry Schum gallery, Düsseldorf, Germany
1971
"Eine Manifestation", first solo exhibition in a museum, Städtisches Museum, Mönchengladbach (Germany)
"Peinture-Sculpture", work censored at the "VIth Guggenheim International" exhibition, Guggenheim Museum, New York
1972 / 1977 / 1982
Participated in the Documenta, Kassel, Germany
1972 / 1974 / 1976 / 1978 / 1980 / 1984 / 1986 / 1993 / 1997 / 2003 / 2007
Participated in the Venice Biennale
1973 / 2006
Solo exhibitions at the MoMA, Oxford, UK
1975–1982
First "Cabane Éclatée" ("splayed cabin") for the Städtisches Museum, Mönchengladbach, Germany
1975 / 1979 / 1980 / 1983 / 1998 / 1999 / 2004 / 2005
Toile/Voile-Voile/Toile, boat races followed by museum displays of sail-canvasses in Berlin,
Geneva, Lucerne, Villeneuve d'Ascq, Lyon-Villeurbanne, Tel-Aviv, Seville and Grasmere.
1976
Three simultaneous exhibitions in the Netherlands: Stedelijk Van Abbemuseum, Eindhoven / Stedelijk Museum, Amsterdam / Kröller-Müller Museum, Otterlo
1982 / 1983 / 1984 / 1985 / 2000 / 2005
Performances of Couleurs Superposées in Genazzano, Tokyo, Berne, Eindhoven, Venice, Villeneuve d’Ascq, New York and Paris.
1983
Beginning of a close collaboration (more than 10 exhibitions, personal and group) with the Kanransha Gallery, Tokyo.
1986
Les deux plateaux, sculpture in situ », public commission for the Central Court of the Palais Royal in Paris
Golden Lion for best pavilion at the 42nd Biennale in Venice
1989
Solo exhibitions at the Touko Museum of Contemporary Art, Tokyo and the ICA in Nagoya (Japan)
1990
"Living Treasure" prize bestowed by New Zealand
1991
International Award for Best Artist » The Bad Wurtemberg Land, Stuttgart, Germany
1992
Grand Prix National de Peinture, Paris
1994
Déplacement-Jaillissement : d’une fontaine les autres », public commission for Place des Terreaux, Lyon, France
Sens dessus-dessous, travail in situ et en mouvement » ("work in situ and in motion"), commissioned by Lyon Parc Auto for the Celestins parking lot in Lyon, France (prize for finest parking lot in Europe received in Budapest, Hungary
1996
Transparence de la lumière, solo exhibition at the Mito Art Tower (Mito, Japan) 25 Porticoes : la couleur et ses reflets ("color and its reflections"), public commission for Odaiba Bay, Tokyo, Japan
2002
Le Musée qui n’existait pas ("The museum that didn’t exist"), solo exhibition at the Pompidou Center in Paris, France
2003
Transitions : works in situ », solo exhibition at the Municipal Museum of Art, Toyota (Japan)
2004–2006
Six exhibitions in China (Beijing, Jinan, Hangzhu and Tianjin)
2005
The eye of the storm, solo exhibition at the Guggenheim Museum, New York. Participated in the International Triennale of Contemporary Art, Yokohama.
2007
Curator of « L’emprise du lieu », joint exhibition at Domaine Pommery, Reims, France
Stage designer for the Sophie Calle exhibition at the French Pavilion of the Venice Biennale
2009
A mancha humana / the human stain, public exhibition, CGAC – Centro Galego
de Arte Contemporánea, Santiago de Compostela, Spain
Constanti del classico nell’arte del XX e XXI secolo, public exhibition, Fondazione
Puglisi Cosentino – Palazzo Valle, Catania Italy
Daniel Buren- Artists Books, Fundacao Serralves, Porto, Portugal
Voir Double, travail in situ, Xavier Hufkens, Brussels, Belgium
Transmutation, travail in situ, in "Arte in memoria 5", Sinagoga di Ostia Antica, Ostia, Rome, Italy
Vide ou Plein? Work in situ for two spaces, Art Dubai, Madinat Jumeirah, Dubai, UAE
Le Vent souffle où il veut, Beaufort 03 – The Triennial of Contemporary Art by the Sea, Ostende, Belgium
Arte Povera bis Mininal, Museum Wiesbaden, Wiesbaden, Germany
Les Anneaux, Estuarie 2009, Ile de Nantes, France
Daniel Buren, Neues Museum, Staatliches Museum für Kunst und Design in
Nürnberg, Nuremberg, Germany
25 Obras, 17 Artistas, 4 Relatos, Centre d’Art la Panera, Lérida, Spain
Just What It is, ZKM, Karlsruhe, Germany
Play Van Abbe, Part 1: The game and the players", Stedelijk Van Abbemuseum,
Eindhoven, Netherlands
2010
Daniel Buren, Westwind Arbeiten Situes, Buchmann Galerie, Berlin
Bilder uber Bilder, Museum Moderner Kunst Stiftung, MUMOK, Vienna
In between Minimalisms – Play van Abbe, Part 2: Time Machines, Stedelijk van
Abbemuseum, Eindhoven, Netherlands
Daniel Buren, MUDAM, Luxembourg
Malerei: Prozess und Wxpansion, MUMOK, Vienna
Multiplications Work in Situ for a Synagogue, Synagogue Stommeln, Pulheim, Germany
2011
Echos, travail in situ », solo exhibition at the Centre Pompidou-Metz, France
2012
Monumenta at the Grand Palais, Paris, France
2014
Défini, Fini, Infini / Installation on rooftop of Le Corbusier's Cité Radieuse, Marseilles, France
2015
Daniel Buren. Come un gioco da bambini. lavoro in situ, Museo MADRE, Naples, Italy
Les Fleches, travail in situ et en movement, Musée d’Amiens, Amiens France
2016
Travaux inédits, 2016, Xavier Hufkens, Brussels, Belgium
Daniel Buren. A Fresco, Bozar, Brussels, Belgium
2017
Daniel Buren & Bettina Pousttchi, Kunsthalle Mainz, Mainz, Germany
From Half Circles to the Full Circles: A Coloured Journey, MAMBO, Bogotá, Colombia
Proyecciones / Retroproyecciones. Trabajos in situ. 2017, Centre Pompidou Málaga, Málaga, Spain
2018
De la rotonda a la fuente. 5 colores para México, trabajo in situ. México 2018. Homenaje al Arquitecto Manuel Tolsá ("From the roundabout to the fountain. 5 colors for Mexico, in situ work. Mexico City 2018. Memorial to architect Manuel Tolsá") at Artz Pedregal mall, Mexico City
The colors above our heads are under our feet as well, Artis- Naples, The Baker Museum, Naples, Florida, USA
Like Child's Play, Carriageworks, Sydney, Australia
Daniel Buren & Anish Kapoor, Galleria Continua, San Gimignano, Italy
Quand le textile s’éclaire : Fibres optiques tissées. Travaux situés 2013–2014, Kunstsammlungen Chemnitz, Chemnitz, Germany
2019
Les Garlands, in the group exhibition En Plein Air on the High Line in New York City
Fibres Optiques - Diptyque: travail situé, Buchmann Lugano, Lugano, Switzerland
STAGES biennial, Plug in Institute of Contemporary Art, Winnipeg, Canada
Un Manifesto Colorato, Lavoro in situ, Progetto Per Ventotene, Italia
Daniel Buren. De cualquier manera, trabajos in situ, Museo de Arte Italiano, Lima, Peru
2020
Glass and Concrete, Manifestations of the Impossible, Marta Herford Museum, Herford, Germany
2022
Daniel Buren: Going for a Walk in a Zigzag, EMMA – Espoo Museum of Modern Art, Espoo, Finland
Collections
Buren's works are part of several major public collections such as Museum voor Hedendaagse Kunst, Antwerp; Musée d'Art Moderne de la Ville de Paris; Tate Modern, London; the National Museum of Modern Art, Tokyo; Museo Guggenheim de Arte Moderno y Contemporaneo, Bilbao, and Moderna Museet, Stockholm.
Recognition
In 1990, New Zealand honored him as a Living Treasure for their 150th anniversary and in 1991 he received the International Award for the Best Artist given in Stuttgart, Germany, followed by the Grand Prix National de Peinture in France, 1992. In 2007 Buren was awarded the Praemium Imperiale. He was one of the five artists shortlisted for the Angel of the South project in January 2008.
List of permanent public installations
17 Peintures sur bois, 1960–1961. Travail in situ, Grapetree Bay Hôtel, Sainte-Croix, Iles Vierges, United States
4 Mosaïques, 1965. Travail in situ, Grapetree Bay Hôtel, Sainte-Croix, Iles Vierges, United States
Lambris, 1980. Travail in situ – en collaboration avec Charles Vandenhove, architecte, Liège – Hôpital Universitaire, Liège, Belgium.
In the Dining Room, 1982. Travail in situ, Chase Manhattan Bank, New York, United States
Le Salon Royal, 1984–1986. Travail in situ – en collaboration avec Charles Vandenhove, architecte, Liège – Théâtre de la Monnaie, Bruxelles, Belgique.
Neuf Couleurs au vent, 1984–1996. Travail in situ in "Québec 1534–1984", Québec, Canada, mai 1984. Installé de manière permanente depuis 1996, place Urbain-Baudreau-Graveline, Montréal, Canada.
Les Deux Plateaux, 1985–1986. Sculpture in situ – avec l'architecte Patrick Bouchain, Paris –, cour d'honneur du Palais-Royal, Paris, France.
Diagonale pour des bambous, 1986–1987. Travail in situ – en collaboration avec Alexandre Chemetov, architecte paysagiste, Paris –, Parc de la Villette, Paris, France.
La Porte, 1987. Travail in situ, Domgasse, Münster, Germany.
Frieze Paint, 1987: Peinture sur/sous plexiglas, Travail in situ, Refco collection, salle des marchés, New York City, United States
Von der Heydt Museum : Das Cafe, 1987–1990. Travail in situ – avec l'assistance de M. Bussman, architecte -, Von der Heydt Museum, Wuppertal, Germany.
La Marche des Fédérés Marseillais / Aux Couleurs de la ville, décembre 1989. 500 flammes de Marseille à Paris : 7 stations, 1989–1992, Travail in situ, réalisé dans sept villes : Marseille, Avignon, Valence, Vienne, Mâcon, Saulieu et Charenton, France. Travail détruit à la demande de l'artiste en 2006, par manque de maintenance de l'œuvre.
Sans Titre, 1990. Travail in situ, Furkablicke Hôtel, Furkapasshöhe, Switzerland.
Double rythme, juin 1991. Frise in situ, peinture acrylique et vinyle autoadhésif, Siège social Saarbrücken Kongresshalle, Saarbrücken, Germany
Passage blanc et noir, 1992. Travail in situ – en collaboration avec Charles Vandenhove, architecte, Liège – De Liefde, Amsterdam, Netherlands.
Horizontal cut – Vertical cut – Fragmented reflexion – Frise, 1992. Travail in situ, Hypo-Bank, Kempfenhausen, Germany
Autour du Puits, 1993. Travail in situ, réalisé à l'occasion de "Trésors de voyage, XLV Biennale di Venezia", Monastero dei Padri Mechitaristi, Venice, Isola de San Lazaro degli Armeni, Venice, Italy
Poser/Déposer/Exposer, 1993. Travail in situ – avec l'assistance de Jean-Michel Wilmotte, architecte, Paris – Café Richelieu, Galerie Richelieu, Grand Louvre, Paris, France
From one Place to another. From one Material to another. Passages in and out, 1993–199. Travail in situ, Shinjuku I-Land, Tokyo, Japan
Les Arches avril, 1994. Travail in situ, Southampton City Art Gallery, Southampton, Great Britain
Sens Dessus-Dessous, 1994. Sculpture in situ et en mouvement – en collaboration avec Jean-Michel Wilmotte et avec l'assistance de Michel Targe, architecte, Lyon, Parc des Célestins, Lyon, France
Déplacement-Jaillissement : D'une fontaine les Autres, 1994. Travail in situ – en collaboration avec Christian Drevet, architecte, Lyon et le concours d'Art/Entreprise Georges Verney-Carron, Villeurbanne –, Place des Terreaux, Lyon, France
Diagonale pour des pilastres – Losanges pour des couleurs, 1994–1995. Travail in situ, Deutsche Telekom, Bonn, Germany
D'une place l'autre : Placer, déplacer, ajuster, situer, transformer, 1994–1996. Travail in situ, Museum Boymans-van Beuningen, Rotterdam, Netherlands
25 Porticos : la couleur et ses reflets, 1996. Travail in situ – à l'initiative de Shiraishi Contemporary Art Inc., Tokyo, baie d'Odaiba, Saera Odaiba, Tokyo, Japan
La Montée de la couleur et la Cascade de la couleur, 1996 : Travail in situ – à l'initiative de Brigitte Oetker, Leipzig Trade Fair, Germany
Soleils et Garde-corps, 1996 : Travaux in situ – en collaboration avec Charles Vandenhove, Liège – Théâtre des Abbesses, Paris, France
Diagonale pour un lieu 1996–1997 Travail in situ – avec l'assistance de Jean-Christophe Denise, architecte, Paris et de Henn Architekten Ingenieure –, Technische Universität, Munich, Germany
Encoder-Décoder : du code à sa lecture, Couleurs, Reflets, Transparence, 1996–1997 : Travaux in situ – en collaboration avec Patrick Bouchain, architecte, Paris –, Thomson, Boulogne-Billancourt, France
La Salle de concert – La Salle des miroirs 1996–1997 Travaux in situ – avec l'assistance de Jean-Christophe Denise, architecte, Paris et du cabinet d'architecture ABB, Francfort-sur-le-Main –, Dresdner Bank AG, Frankfurt, Germany
Cabane Rouge aux Miroirs, 1996–2006, travail in situ, Musée de la Chartreuse, Douai, France
Sans titre, aménagement de la caféteria, travail in situ, 2006, EACC (Espai d'Art Contemporani de Castelló), Castellón de la Plana, Spain
Catalogue raisonné : T XIII-14
À travers le miroir incliné : la couleur 1997, travaux in situ – à l'initiative de la galerie Hete Hünerman, Düsseldorf –, siège social, IKB (Industrial Kredit Bank), Düsseldorf, Allemagne
Catalogue raisonné : T XIII-22
Ipotesi su alcuni indizi – Part II 1987–1997 Travail in situ – avec l'assistance de Incontri Internazionali d'Arti, Rome, et d'Alberto Zanmatti, architecte, Rome – Museo di Capodimonte, Naples, Italy
Catalogue raisonné : T XIII-14R
Cercles, 1998 Travail in situ, Victoria Insurance, Düsseldorf, Allemagne, à l'initiative et avec l'assistance d'Achenbach Art Consulting, Düsseldorf, Germany
Passage sous-bois, 1998 Travail in situ – à l'initiative de Sounjou Seo, Corée –, Kimpo Parc National, Kimpo, South Korea
Sit down octobre, 1998 Travail in situ, Storm King Art Center, Mountainville (New York), United States
From floor to ceiling and vice versa, 1998 Travail in situ – à l'initiative de Fumio Nanjo, Tokyo –, Obayashi Corporation, Tokyo, Japan
Ohne Titel / Installation im Treppenhaus des Neuen Museums Weimar, 1996–1998 Travail in situ – à l'initiative de Paul Maenz, Cologne, Neues Museum Weimar, Kunstsammlungen zu Weimar, Weimar, Germany
La Couleur : fut, a été, aurait pu être, pourrait être, serait, sera. Cinq petits jeux prospectifs et un rétrospectif, à découvrir à partir de photos-souvenirs préparées, mars 1999. Travail in situ permanent sur le web, Site internet : Entrée libre, Ministère de la culture et de la communication, Paris http://www.culture.fr/entreelibre/Buren
Arc-en-ciel pour Fausto, 1999–2000 Travail in situ, – installation permanente au siège social de Radicichimica GmbH, de Polygone pour Poggibonsi : 180 drapeaux, 9 couleurs, réalisé in "Arte all Arte", 4e édition, Cassero della Fortezza di Poggio Imperiale, Poggibonsi, 1999 Troglitz, Germany
Triangles coulissants, 1999 Travail in situ, siège social de Michaux Gestion, Lyon, France
Trois Points de vue pour un dialogue – Œuvre en hommage au cardinal Decourtray, 1998–2000. Travail in situ – à l'initiative de The Jerusalem Foundation –, Mount Zion, Jerusalem, Israel.
Par Transparence, 1997–2000. Travail in situ, Institut français, Rotterdam, Pays-Bas.
White and Green Fence, 2001–2003. Travail in situ, The Farm, Gibbs Sculpture collection, Auckland, New Zealand
Transparences colorées, 1999–2001. Travail in situ, Allianz Haupterverwaltung, Munich, Germany
Sulle Vigne : punti di vista = Sur les Vignes: points de vue, 2001. Travail in situ, Castello di Ama, Lecchi in Chianti, Tuscany, Italy.
La Grande Fenêtre, 1998–2001. Travail in situ – in collaboration with Joseph Paul Kleihues -, Bundesministerium für Arbeit und Sozialordnung, Berlin, Germany
Au-dessus des vagues, l'horizon, 2001. Travail in situ, réalisé in "Quatrième exposition de sculpture contemporaine de Shenzhen / The Fourth Shenzhen Contemporary Sculpture Exhibition/Transplantation in situ", He Xiangning Art Museum, Shenzhen, China
D'un Cercle à l'Autre: le paysage emprunté, 2001. Travail in situ, dans la ville de Luxembourg, Luxembourg
Par Transparence, 2000. Travail in situ, Alliance Francaise, The Hague, Netherlands
Rayonnant, 2000–2002. Travail in situ en collaboration avec Nicolas Guillot architecte-, Parc de la Cigalière, Sérignan, France.
Fondation surgissante, 2000–2002. Travail in situ in collaboration with Claes Söderquist, Telenor Eiendom Fornebu AS, Oslo, Norway
Prospettive, 2000–2005. Travail in situ Banca della Svizzera Italiana, Lugano, Tessin, Switzerland
Projection colorée, 2001–2002. Travail in situ in collaboration with Dominique Perrault, Hôtel-de-Ville, Innsbruck, Austria
White and Green Fence, 2001–2003. Travail in situ évolutif, The Farm, Gibbs Sculpture collection, Auckland, New Zealand
Somewhere along the way, some colors, 2002–2003. Travail in situ – à l'initiative de Art Front Gallery, Tokyo –, pour Toki Messe, Niigata, Japan
The Colors suspended: 3 exploded Cabins, 2002–2003. Travail in situ, Toyota Municipal Museum of Art, Toyota, Japan
Prière de toucher : La signalétique tactile et visuelle – Pliages, 2000–2003. Travaux in situ – en collaboration avec la Fondation de France et le Bureau des Compétences et Désirs, IRSAM, Institut Régional des sourds et des aveugles, Marseille, France
La Cabane Éclatée aux Quatre Salles, 2003–2005. Travail in situ pour Giuliano Gori – à l'initiative de Galleria Continua, San Gimignano –, Fattoria di Celle, Santomato di Pistoia, Italy
Cerchi nell'aqua, 2004. Travaux in situ – en collaboration Naples Azienda risorse idriche di napoli Arin, Ponticelli, Naples, Italy
Le Jardin imaginaire, 2004. Travail in situ – à l'initiative de Michle Lachowsky et Joel Benzakin –, Sint-Donatuspark, Louvain, Belgium
[Sans Titre], 2004–2005. Travail in situ – à l'initiative de Blue Dragon Art Company, Tapei, Bin Jiang Junior High School, Taipei, Taiwan
Tram/Trame, 2004–2006. Travail in situ – avec l'assistance de Jean-Christophe Denise, architecte, Paris, aux 14 stations de la ligne Est-Ouest du tramway de Mulhouse, Mulhouse, France
Transparences et Projections colorées, 2005. Travail in situ, chapelle du Donjon de Vez, France
Partitions colorées, 2005. Travaux in situ – à l'initiative de Giuliano Gori, Pistoia et avec l'assistance de Gianniantonio Vannetti, architecte, Florence –, Nuovo Padiglione di Emodialisi di Pistoia, Pistoia, Italy
Monter / Descendre, 2005. Travail in situ – à l'initiative de Buchmann Galerie, Cologne/Berlin –, Wolfsburg Central Station, Germany
La Caféteria, 2006. Travail in situ – à l'initiative de Michèle Lachowsky et Joel Benzakin –, EAAC-Musée de la Ville de Castellon, Castellon, Spain
D'un Losange à L'autre, 2006. Unique wall painting at Hudiksvallsgatan 8 in Stockholm, Sweden
La portée, 2007. Mosaic de 40 mètres de long en marbre blanc et granit noir, balisant l'entrée du nouveau Musée Fabre, Montpellier, Hérault, France
Les Anneaux, 2007. Ensemble d'anneaux en métal bordant un quai, s'illuminant de différentes couleurs la nuit. Quai des Antilles, île de Nantes, Nantes, Loire-Atlantique, France
Diamonds and Circles permanent works in situ, 2017. Colourful diamond and circle shapes, contrasting stripes in black and white, fixed to internal glass walls throughout the ticket hall. Tottenham Court Road, London, United Kingdom
Public art installation for the MRT Circular Line Banqiao Station of Taipei Metro, 2019. New Taipei City, Taiwan.
See also
Institutional Critique
References
Literature
Catherine Francblin, Daniel Buren, Paris: Art Press, 1987;
Beate Reifenscheid and Dorothea van der Koelen; Arte in Movimento – Kunst in Bewegung, Dokumente unserer Zeit XXXXIV; Chorus-Verlag; Mainz 2011;
Beate Reifenscheid; Daniel Buren – Two Exploded Cabins for a Dialog, Encore des Carrés, Dokumente unserer Zeit XXXXV; Chorus-Verlag; Mainz 2012;
External links
Daniel Buren : Xavier Hufkens
Studio of Daniel Buren by Marion Chanson
Daniel Buren at artcyclopedia.com
Bio in artfacts
Movies by and about Daniel Buren
Daniel Buren's Bus Benches, Los Angeles, 1995
Daniel Buren: Critical analysis
Daniel Buren
1938 births
Living people
Artists from Boulogne-Billancourt
French conceptual artists
French contemporary artists
20th-century French painters
20th-century French male artists
French male painters
21st-century French painters
21st-century French male artists
Institutional Critique artists
20th-century French sculptors
French male sculptors
|
Events in the year 1663 in India.
Events
January 23 – The Treaty of Ghilajharighat is signed in India between representatives of the Mughal Empire and the independent Ahom Kingdom (in what is now the Assam state), with the Mughals ending their occupation of the Ahom capital of Garhgaon, in return for payment by Ahom in silver and gold for costs of the occupation, and King Sutamla of Ahom sending one of his daughters to be part of the harem of Mughal Emperor Aurangzeb.
March 4 – The Prince Edward Islands in the sub-antarctic Indian Ocean are discovered by Barent Barentszoon Lam, of the Dutch ship Maerseveen, and named Dina (Prince Edward) and Maerseveen (Marion).
Rise of the Travancore Kingdom - The first maharaja of the Travancore Kingdom, His Highness Rama Varma I was sworned in.
Births
Deaths
Bihari Lal, poet (b.1595).
India
Years of the 17th century in India
|
Charles Voysey (18 March 1828 – 20 July 1912) was a former priest of the Church of England who was condemned by the Privy Council for heterodoxy and went on to found a theist church. He was the father of architect Charles Francis Annesley Voysey.
Early life and career
Born in London on 18 March 1828, Voysey was the youngest son of architect Annesley Voysey, a relative of Samuel Annesley and of Susanna Wesley ( Annesley), mother of John and Charles Wesley.
He entered St Edmund Hall, Oxford in 1847 and received his B.A. from the University of Oxford in 1851. The following year he married Frances Maria Edlin and was ordained a priest in the Church of England in 1853, becoming the curate of Hessle. Voysey served in that position for seven years, also serving as vice-principal of Kingston College. His eldest son Charles F. A. Voysey was born in Hessle in 1857. Voysey was appointed curate of St Andrew's, Craigton, Jamaica in 1858, where he lived for 18 months.
In 1862, after his return to England, he served as curate of Great Yarmouth for six months before being appointed to the curacy of St Mark's, Whitechapel.
Condemnation for heterodoxy
In 1863 Voysey was removed from the curacy of St Mark's, Whitechapel after preaching a sermon denying the doctrine of eternal punishment. He was recommended for the curacy of St Mark's, Victoria Docks. After a brief period as curate of North Woolwich he became curate and eventually Vicar of Healaugh near Tadcaster, in 1864, but soon ran into difficulties there.
From Healaugh he commenced writing his most famous work The Sling and the Stone. Originally published in monthly parts, it was eventually collected into ten volumes, the first of which was published in 1865. His youngest son Rev. Ellison Annesley Voysey (born 1867 in Healaugh), was Oxford educated, and became a Theist Church promoter in England and Ireland. Ellison Voysey's daughter, Ella Annesley Voysey, married the actor Robert Donat in 1929.
His work The Sling and the Stone had been immediately condemned by the conservative wing of the Anglican Church in 1865. As additional volumes were added, William Thomson, Archbishop of York, began proceedings against him in 1869. He was summoned before the Chancery Court of York for heterodox teaching, where he defended his case for two years. He appealed to the Judicial Committee of the Privy Council which gave its judgement on 11 February 1871:
"The Appellant is charged with having offended against the Laws Ecclesiastical by writing and publishing within the diocese of London certain sermons or essays, collected together in parts and volumes, the whole being designated by the title of "The Sling and the Stone," in which he is alleged to have maintained and promulgated doctrines contrary and repugnant to or inconsistent with the Articles of Religion and Formularies of the Church of England."
His appeal dismissed, Voysey lost his benefice.
The Theistic Church and later life
Before the judgement, Voysey had begun holding services in London at St George's Hall, Langham Place, attracting a number of sympathisers. These gatherings eventually formalised as an independent religious denomination under the name of the Theistic Church. For use at services Voysey published The Revised Prayer Book in 1871 which retained much of the content of the Book of Common Prayer, rewording and removing specific references to Christ, the Trinity, and other distinctively Christian doctrines.
He wrote in 1873 to The Index on the subject of "Funeral Rites" and "The Custom of Mourning". His principal objection to the latter practice was that "Mourning tends to perpetuate unhappy and false views of death... Death ought to be looked upon as at least as much of a heavenly boon to the beloved one, as a source of bitter pain to ourselves.".
His teaching was based upon a pure theism, without a miraculous element. While retaining belief in God, in prayer, and hope for life beyond death, Voysey denied the perfection of Jesus and the authority of the Bible. He would spend much of his remaining career publishing books, sermons, articles, and pamphlets criticising traditional Christian doctrines, and defending his version of theism against critics.
The congregation took over the Swallow Street Church in 1885 just off Regent Street in central London, where he continued to hold services for nearly thirty years. The building was altered and refitted by his son C. F. A. Voysey whose work included the removal of the upper gallery, the insertion of "Cathedral glass" in all windows, "painting, papering and colouring throughout", and a new entrance at the north end of the façade. The congregation obtained a new lease of the property in 1898, and the building was again repaired by C. F. A. Voysey. The spire was removed in or shortly after 1901.
He befriended Guy Aldred, the "Boy Preacher" in Holloway, in 1903, a friendship that would last through conversation and correspondence until Voysey's death. Aldred would credit Voysey with being influential in his intellectual journey and for being an important figure in Britain's freethought movement.
Voysey died at his home, Annesley Lodge, at Platts Lane in Hampstead (which had been designed for him by his son in 1895), on 20 July 1912. His congregation soon dispersed and the Swallow Street building was closed in 1913 and demolished shortly thereafter.
Selected publications
The Doctrine of Jesus Concerning God (1872)
Theism: Or, The Religion of Common Sense (1894)
Theism as a Science of Natural Theology and Natural Religion (1895)
Religion For All Mankind, Based on Facts Which Are Never in Dispute (1903)
References
1828 births
1912 deaths
19th-century English Anglican priests
Alumni of St Edmund Hall, Oxford
Alumni of the University of Oxford
Freethought writers
Philosophical theists
|
Tano may refer to
Places
Ghana/Ivory Coast
Tano North District and
Tano South District in Ghana, which make up
Tano North (Ghana parliament constituency) and
Tano South (Ghana parliament constituency)
Tano River or Tanoé River in Ghana and Ivory Coast
Italy
Tano, Italy, a place in Campania
Japan
Tano, Ehime, a former village in Ehime Prefecture, Japan
Tano, Kōchi, a town in Japan
Tano District, Gunma in Japan
Tano Station (disambiguation), either one of the train stations named thus, in Kōchi or in Miyazaki prefecture of Japan
Tano, Miyazaki, a former Japanese town, now part of the city of Miyazaki
Other
Tano (name)
Tano Kami, Japanese spirit observing the harvest of rice plants
Ahsoka Tano, a Force-wielder in the Star Wars universe
An alternate name for the Arizona Tewa, a Pueblo group from Arizona
Bofoakwa Tano, a football team from Sunyani, Ghana
Tano languages, a group of Kwa languages spoken in the Tano River region
Tano Cariddi, Remo Girone's character in the Italian TV drama La piovra
Tano-Sitha, a binary star system in the Nightfall universe
Tano, a Korean Rhapsody, written by Djong Victorin Yu
Tano, a former Norwegian publishing company
A colloquial name for Italians in Argentina
Tano, the Akan God of war and strife
See also
Tanno
|
International Renewable Energy Alliance (REN Alliance) is a formal partnership entered into on 4 June 2004 by five non-profit international renewable energy organisations:
International Hydropower Association (IHA),
International Solar Energy Society (ISES),
International Geothermal Association (IGA),
World Wind Energy Association (WWEA),
World Bioenergy Association (WBA). (Since June 2009)
They represent the hydro, geothermal, solar, and wind power/energy and bioenergy sector. The alliance provides a unified cross-sectoral voice on renewable energy in international and regional energy fora and media.
Climate change concerns, coupled with high oil prices, peak oil, and increasing government support, are driving increasing renewable energy legislation, incentives and commercialization. As of 2011, 119 countries have some form of national renewable energy policy target or renewable support policy. National targets now exist in at least 98 countries. There is also a wide range of policies at state/provincial and local levels.
, the honorary chairman of the REN Alliance is former Australian senator Peter Rae, who was previously also chairman of Hydro Tasmania.
See also
Bioenergy
Geothermal energy
Hydropower
Solar energy
Wind energy
World Council for Renewable Energy (WCRE)
International Solar Alliance
List of countries by renewable electricity production
List of notable renewable energy organizations
List of renewable energy topics by country and territory
References
International renewable energy organizations
|
Ace of Clubs was a record label founded by British Decca in 1959 for reissuing low-priced, classical, early jazz and popular music in Europe. Its partner label, Ace of Hearts Records, issued music from the U.S.
References
See also
List of record labels
Defunct record labels of the United Kingdom
Reissue record labels
Jazz record labels
|
```objective-c
/* Instruction scheduling pass. Log dumping infrastructure.
This file is part of GCC.
GCC is free software; you can redistribute it and/or modify it under
Software Foundation; either version 3, or (at your option) any later
version.
GCC is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or
for more details.
along with GCC; see the file COPYING3. If not see
<path_to_url */
#ifndef GCC_SEL_SCHED_DUMP_H
#define GCC_SEL_SCHED_DUMP_H
/* These values control the dumping of control flow graph to the .dot file. */
enum sel_dump_cfg_def
{
/* Dump only current region. */
SEL_DUMP_CFG_CURRENT_REGION = 2,
/* Dump note_list for this bb. */
SEL_DUMP_CFG_BB_NOTES_LIST = 4,
/* Dump availability set from the bb header. */
SEL_DUMP_CFG_AV_SET = 8,
/* Dump liveness set from the bb header. */
SEL_DUMP_CFG_LV_SET = 16,
/* Dump insns of the given block. */
SEL_DUMP_CFG_BB_INSNS = 32,
/* Show current fences when dumping cfg. */
SEL_DUMP_CFG_FENCES = 64,
/* Show insn's seqnos when dumping cfg. */
SEL_DUMP_CFG_INSN_SEQNO = 128,
/* Dump function name when dumping cfg. */
SEL_DUMP_CFG_FUNCTION_NAME = 256,
/* Dump loop father number of the given bb. */
SEL_DUMP_CFG_BB_LOOP = 512,
/* The default flags for cfg dumping. */
SEL_DUMP_CFG_FLAGS = (SEL_DUMP_CFG_CURRENT_REGION
| SEL_DUMP_CFG_BB_NOTES_LIST
| SEL_DUMP_CFG_AV_SET
| SEL_DUMP_CFG_LV_SET
| SEL_DUMP_CFG_BB_INSNS
| SEL_DUMP_CFG_FENCES
| SEL_DUMP_CFG_INSN_SEQNO
| SEL_DUMP_CFG_BB_LOOP)
};
/* These values control the dumping of insns containing in expressions. */
enum dump_insn_rtx_def
{
/* Dump insn's UID. */
DUMP_INSN_RTX_UID = 2,
/* Dump insn's pattern. */
DUMP_INSN_RTX_PATTERN = 4,
/* Dump insn's basic block number. */
DUMP_INSN_RTX_BBN = 8,
/* Dump all of the above. */
DUMP_INSN_RTX_ALL = (DUMP_INSN_RTX_UID | DUMP_INSN_RTX_PATTERN
| DUMP_INSN_RTX_BBN)
};
extern void dump_insn_rtx_1 (rtx, int);
extern void dump_insn_rtx (rtx);
extern void debug_insn_rtx (rtx);
/* These values control dumping of vinsns. The meaning of different fields
of a vinsn is explained in sel-sched-ir.h. */
enum dump_vinsn_def
{
/* Dump the insn behind this vinsn. */
DUMP_VINSN_INSN_RTX = 2,
/* Dump vinsn's type. */
DUMP_VINSN_TYPE = 4,
/* Dump vinsn's count. */
DUMP_VINSN_COUNT = 8,
/* Dump the cost (default latency) of the insn behind this vinsn. */
DUMP_VINSN_COST = 16,
/* Dump all of the above. */
DUMP_VINSN_ALL = (DUMP_VINSN_INSN_RTX | DUMP_VINSN_TYPE | DUMP_VINSN_COUNT
| DUMP_VINSN_COST)
};
extern void dump_vinsn_1 (vinsn_t, int);
extern void dump_vinsn (vinsn_t);
extern void debug_vinsn (vinsn_t);
extern void debug (vinsn_def &ref);
extern void debug (vinsn_def *ptr);
extern void debug_verbose (vinsn_def &ref);
extern void debug_verbose (vinsn_def *ptr);
/* These values control dumping of expressions. The meaning of the fields
is explained in sel-sched-ir.h. */
enum dump_expr_def
{
/* Dump the vinsn behind this expression. */
DUMP_EXPR_VINSN = 2,
/* Dump expression's SPEC parameter. */
DUMP_EXPR_SPEC = 4,
/* Dump expression's priority. */
DUMP_EXPR_PRIORITY = 8,
/* Dump the number of times this expression was scheduled. */
DUMP_EXPR_SCHED_TIMES = 16,
/* Dump speculative status of the expression. */
DUMP_EXPR_SPEC_DONE_DS = 32,
/* Dump the basic block number which originated this expression. */
DUMP_EXPR_ORIG_BB = 64,
/* Dump expression's usefulness. */
DUMP_EXPR_USEFULNESS = 128,
/* Dump all of the above. */
DUMP_EXPR_ALL = (DUMP_EXPR_VINSN | DUMP_EXPR_SPEC | DUMP_EXPR_PRIORITY
| DUMP_EXPR_SCHED_TIMES | DUMP_EXPR_SPEC_DONE_DS
| DUMP_EXPR_ORIG_BB | DUMP_EXPR_USEFULNESS)
};
extern void dump_expr_1 (expr_t, int);
extern void dump_expr (expr_t);
extern void debug_expr (expr_t);
extern void debug (expr_def &ref);
extern void debug (expr_def *ptr);
extern void debug_verbose (expr_def &ref);
extern void debug_verbose (expr_def *ptr);
/* A enumeration for dumping flags of an insn. The difference from
dump_insn_rtx_def is that these fields are for insns in stream only. */
enum dump_insn_def
{
/* Dump expression of this insn. */
DUMP_INSN_EXPR = 2,
/* Dump insn's seqno. */
DUMP_INSN_SEQNO = 4,
/* Dump the cycle on which insn was scheduled. */
DUMP_INSN_SCHED_CYCLE = 8,
/* Dump insn's UID. */
DUMP_INSN_UID = 16,
/* Dump insn's pattern. */
DUMP_INSN_PATTERN = 32,
/* Dump insn's basic block number. */
DUMP_INSN_BBN = 64,
/* Dump all of the above. */
DUMP_INSN_ALL = (DUMP_INSN_EXPR | DUMP_INSN_SEQNO | DUMP_INSN_BBN
| DUMP_INSN_SCHED_CYCLE | DUMP_INSN_UID | DUMP_INSN_PATTERN)
};
extern void dump_insn_1 (insn_t, int);
extern void dump_insn (insn_t);
extern void debug_insn (insn_t);
/* When this flag is on, we are dumping to the .dot file.
When it is off, we are dumping to log. */
extern bool sched_dump_to_dot_p;
/* Functions from sel-sched-dump.c. */
extern void sel_print (const char *fmt, ...) ATTRIBUTE_PRINTF_1;
extern const char * sel_print_insn (const rtx_insn *, int);
extern void free_sel_dump_data (void);
extern void block_start (void);
extern void block_finish (void);
extern int get_print_blocks_num (void);
extern void line_start (void);
extern void line_finish (void);
extern void sel_print_rtl (rtx x);
extern void dump_insn_1 (insn_t, int);
extern void dump_insn (insn_t);
extern void dump_insn_vector (rtx_vec_t);
extern void dump_expr (expr_t);
extern void dump_used_regs (bitmap);
extern void dump_av_set (av_set_t);
extern void dump_lv_set (regset);
extern void dump_blist (blist_t);
extern void dump_flist (flist_t);
extern void dump_hard_reg_set (const char *, HARD_REG_SET);
extern void sel_debug_cfg_1 (int);
extern void sel_debug_cfg (void);
extern void setup_dump_cfg_params (void);
/* Debug functions. */
extern void debug_expr (expr_t);
extern void debug_av_set (av_set_t);
extern void debug_lv_set (regset);
extern void debug_ilist (ilist_t);
extern void debug_blist (blist_t);
extern void debug (vec<rtx> &ref);
extern void debug (vec<rtx> *ptr);
extern void debug_insn_vector (rtx_vec_t);
extern void debug_hard_reg_set (HARD_REG_SET);
extern rtx debug_mem_addr_value (rtx);
#endif
```
|
The Waco 10/GXE/Waco O series was a range of three-seat open-cockpit biplanes built by the Advance Aircraft Company, later the Waco Aircraft Company.
Design and development
The Waco 10 was a larger span development of the Waco 9, both single-engined three-seat single-bay biplanes constructed around steel-tube frames. The wing covering was fabric, and both upper and lower planes carried ailerons, which were strut linked. The two passengers sat side by side in a cockpit under the upper wing and ahead of the pilot, who had a separate cockpit. It had a split-axle fixed undercarriage and a tailwheel. The main undercarriage was fitted with hydraulic shock absorbers, unusual at the time on a light aircraft. The fin could be trimmed on the ground to offset engine torque, and the tailplane could be trimmed in flight. Initially it was powered by a Curtiss OX-5 water-cooled 90° V-8 engine producing .
Its first flight was in 1927. It was numerically the most important type to be built by Waco, with at least 1,623 built over a period of 7 years from 1927 to 1933 and was fitted with a very large variety of engines of radial and V configuration.
Operational history
The Waco 10 turned out to have excellent handling, and there was a ready supply of war-surplus Curtiss engines. It was widely used for the popularisation of aeronautics through barnstorming and joyrides, and was also much used as a trainer and by small operators for charter flights.
Variants
In 1928, after the Waco 10 had entered production, Waco changed its designation system so that the basic model 10, powered by a Curtiss OX-5 engine became the GXE.
Later aircraft used three-letter designations, the first denoting the engine (except for the two mailplanes), the second denoting the wing installed, S or T meaning Straight or Tapered wing, and the final O indicating it was a derivative of the 10. An -A suffix indicated an armed variant intended for export.
Apart from the water-cooled V-8 Curtiss and Hispano-Suiza engines, all of the rest were air-cooled radials.
Other engines were fitted experimentally, without unique designations, including the Rausie, Ryan-Siemens, and Milwaukee Tank engine. This last engine was an air-cooled version of the Curtiss OX-5, and was intended as an aircraft engine.
The JYM and JWM were mailplane derivatives with a 14" fuselage stretch.
In the 1990s the unrelated The WACO Aircraft Company in Forks, Washington offered a homebuilt kit version of the ATO model.
The WACO 240-A was a straight-wing fighter, built for export, powered by Wright engine. At least six were bought by the Cantonese Chinese aviation services. They were armed with twin .30 Browning machine guns and had racks for five or two bombs.
There was also an export model WACO Pursuit 300T-A, with Wright or Wasp Jr engine.
Surviving aircraft
Specifications (Waco GXE)
See also
Aircraft of comparable role, configuration and era
(Partial listing, only covers most numerous types)
Alexander Eaglerock
American Eagle A-101
Brunner-Winkle Bird
Buhl-Verville CA-3 Airster
Command-Aire 3C3
Parks P-1
Pitcairn Mailwing
Spartan C3
Stearman C2 and C3
Swallow New Swallow
Travel Air 2000 and 4000
Related lists
List of aircraft
List of civil aircraft
References
Further reading
1920s United States civil utility aircraft
Aerobatic aircraft
10
Biplanes
Single-engined tractor aircraft
Aircraft first flown in 1927
|
Zoe Băicoianu (15 August 1910 – 8 March 1987) was a Romanian sculptor and ceramist.
Life
Băicoianu was born in Predeal and she studied with André Lhote in Paris in 1937. She also attended the École des Beaux-Arts in Paris and the Romanian Academy in Rome. She was a multidisciplinary artist devoted to fashion and art object (worked metal, glass and wood).
Băicoianu was a professor at the Bucharest National University of Arts. She created the 1953 stone statue of Ion Luca Caragiale which stands in Herăstrău Park. She died in Bucharest in 1987.
References
1910 births
1987 deaths
People from Predeal
Romanian ceramists
Romanian women academics
20th-century Romanian sculptors
Romanian women ceramists
Romanian women sculptors
20th-century Romanian women artists
20th-century ceramists
Academic staff of the Bucharest National University of Arts
|
Wendy Palmer (born August 12, 1974) is a former professional basketball player in the WNBA, and former head coach of the UNCG women's basketball team. Her primary position was forward.
High school
Born in Timberlake, North Carolina, Palmer attended Person Senior High School in Roxboro, North Carolina, where she was named a High School All-American by the WBCA. She participated in the inaugural WBCA High School All-America Game in 1992, scoring eleven points.
College
Palmer graduated from the University of Virginia in 1996, and is a member of the Zeta Phi Beta sorority.
USA Basketball
Palmer was named to the team representing the US at the 1994 William Jones Cup competition in Taipei, Taiwan. The USA team won all eight games, winning the gold medal, but not without close calls. In three games the teams had to come from behind to win. One preliminary game ended up as a single-point victory, and the gold medal game went to overtime before the USA team beat South Korea by a single point, 90–89. Palmer was the leading scorer for the team, averaging 18.9 points per game. She also led the team in rebounding with 9.3 per game.
WNBA career
Palmer was originally drafted by the Utah Starzz 9th overall in the 2nd round of the 1997 Elite draft. She played for the Starzz until 1999, when she became a member of the Detroit Shock.
In 2002, she played for the Orlando Miracle, which later became the Connecticut Sun. In 2004, while as a member of the Sun, she received the WNBA Most Improved Player Award.
In 2005, she played for the San Antonio Silver Stars. After the season ended, she was hired as an assistant coach to the women's basketball team at Virginia Commonwealth University.
In 2006, she signed a free agent contract with the Storm, but played only five games with the team before suffering a partially torn Achilles tendon in her left foot. She never played in the WNBA again after her foot injury, and thus her final game ever was during her time with the Storm. Palmer's final game was played on August 26, 2007, in a 89–95 loss to the Phoenix Mercury where she recorded 8 points, 1 rebound, and 1 block.
Coaching career
Palmer took her first coaching position at Virginia Commonwealth University while playing in the WNBA. In 2007, she joined the staff at the University of Kentucky under Coach Matthew Mitchell. She remained there until 2009.
In 2009, Palmer became an assistant coach at the University of Virginia under legendary Coach Debbie Ryan.
In 2011, Palmer became the women's head coach at the University of North Carolina at Greensboro.
Notes
External links
WNBA Player Profile
June 2006 Seattle Storm article on her injury
July 2005 press release on joining the Virginia Commonwealth University coaching staff
1974 births
Living people
All-American college women's basketball players
American expatriate basketball people in Hungary
American expatriate basketball people in Spain
American expatriate basketball people in Turkey
American women's basketball coaches
American women's basketball players
Basketball players from North Carolina
Connecticut Sun players
Detroit Shock players
Galatasaray S.K. (women's basketball) players
Kentucky Wildcats women's basketball coaches
Orlando Miracle players
Parade High School All-Americans (girls' basketball)
People from Person County, North Carolina
Power forwards (basketball)
San Antonio Stars players
Seattle Storm players
UNC Greensboro Spartans women's basketball coaches
Utah Starzz draft picks
Utah Starzz players
VCU Rams women's basketball coaches
Virginia Cavaliers women's basketball coaches
Virginia Cavaliers women's basketball players
Women's National Basketball Association All-Stars
|
On 3 September 2021 at 14:40 NZST, eight people were injured in a mass stabbing at the LynnMall Countdown supermarket in New Lynn, Auckland, New Zealand. The attacker, Ahamed Samsudeen, was being followed by police officers, who intervened during the attack and shot and killed him after he charged the officers. He was pronounced dead at the scene. The incident was being treated as terrorism and was "ISIS-inspired" according to Prime Minister Jacinda Ardern. This was the second stabbing in less than four months to occur at a Countdown supermarket, the first being in Dunedin, and the first terrorist attack in New Zealand since the Christchurch mosque shootings in 2019.
Background
At the time of the incident, the Auckland region was under strict alert level 4 lockdown due to an outbreak of the COVID-19 Delta variant in the city on 17 August 2021. Supermarkets were one of the few businesses allowed to open at this alert level. In addition, supermarkets were limiting the number of people in the store at one time to ensure social distancing.
Terrorism in New Zealand has been relatively uncommon. The last incident, the Christchurch mosque shootings, was carried out in March 2019, where two mosques were attacked during Friday prayers. A subsequent royal commission found that New Zealand's terrorism legislation was inadequate, and Parliament was already debating amendments to the legislation.
Incident
The attacker was trailed by a police surveillance team together with a separate tactical team from the Special Tactics Group when he left his home in Glen Eden and travelled by train to the Countdown supermarket at LynnMall. The surveillance team had difficulty closely following the man in the supermarket due to the man's paranoia of being followed and social distancing restrictions. He proceeded to shop in the supermarket for 10 minutes without suspicion before the attack.
He used a knife from a shelf in the supermarket to carry out the attack. At least one video of the attack was posted to social media showing shoppers warning others and some attempting to intervene.
Two Special Tactics Group officers following him were alerted to the attack 60–90 seconds after it started, and shot the attacker 60 seconds later after he refused to surrender, killing him.
Victims
Eight people were injured in the attack. Six victims were taken to hospital, five with stab wounds and one with a dislocated shoulder. Auckland City Hospital received three in critical condition and one in a serious condition. Waitakere Hospital and Middlemore Hospital each received one patient in a moderate condition. One victim received minor injury and self-treated at home. An eighth victim was reported by police on 14 September. There were four female victims aged 29, 43, 60 and 66; and three male victims aged 53, 57 and 77. As of 14 September, five of the victims were recovering at home, while three remained in stable condition at Auckland Hospital.
Attacker
The perpetrator was identified as Ahamed Aathill Mohamed Samsudeen, a 32-year-old Sri Lankan Moor national who arrived in New Zealand in October 2011. He became of interest to police in 2016 as a supporter of ISIS. Samsudeen was deemed a public safety danger after purchasing large hunting knives on two occasions and owning Islamic State videos. In May 2017, he was detained at Auckland Airport while attempting to leave the country, and was held in custody without bail. He subsequently pleaded guilty to charges of distributing restricted material.
After spending three years in prison, he was released into the community in July 2021. In May 2021, he had been convicted of possessing propaganda-style material supportive of ISIS and was sentenced to one year of supervision. After release from prison, he was being watched by police and the New Zealand Security Intelligence Service, with up to 30 police monitoring him. At the time of the attack he was still facing charges for assaulting prison officers while in custody.
Responses
Political
Prime Minister Jacinda Ardern and Police Commissioner Andrew Coster held a media briefing at 17:15 on the day of the attack. Auckland Mayor Phil Goff vented frustration that the Prime Minister could not share information about the terrorist to the public due to court-issued suppression orders. He also said it is even harder to deal with this attack while the city is under alert level 4 lockdown.
The Sri Lankan government began its own investigation and offered to cooperate with New Zealand authorities.
On 30 September, the New Zealand House of Representatives passed the Counter-Terrorism Legislation Act 2021, which criminalised the planning of terror attacks and expanded the powers of police to conduct warrantless searches. The counter-terrorism bill was supported by the governing Labour and opposition National parties but was opposed by the Green, ACT and Māori parties.
Societal
The Federation of Islamic Associations of New Zealand condemned the attack, stating that "terrorists who do such inhumane and vile acts do not belong to any religion... They act out of sheer hate, and they have no place in our country." It also expressed sympathy for the victims and their families as well as bystanders who had witnessed the terror attack.
Samsudeen's family condemned his actions and expressed their love and support for the victims. Sri Lanka's Muslim Council also condemned the attack, calling it a barbaric act of terrorism''.
Supermarkets
Countdown as well as Foodstuffs, which together own the vast majority of supermarkets in New Zealand, removed all sharp knives from sale nationwide as a precautionary measure.
Judicial
The incident has been referred to the Independent Police Conduct Authority and to the coroner for investigation.
Aftermath
On the evening of the stabbing, the Crown Solicitor applied to the High Court to lift the suppression order concerning the attacker, which was issued in July 2018. The High Court ruled it would allow publication as there was no longer a proper basis for it, but delayed this for 24 hours to give the attacker's family time to be contacted and his lawyers time to give instructions and seek a new name suppression order if they wished.
A North Shore teenager who had already been planning an Islamic terror attack felt inspired by the supermarket stabbing and intended to execute his plan earlier. He was arrested on 8 September, with police finding bomb-making ingredients in his home.
See also
2021 Dunedin supermarket stabbing
References
2021 Countdown stabbing
2021 crimes in New Zealand
Attacks on supermarkets
2021 Countdown stabbing
Islamic terrorist incidents in 2021
Mass stabbings in New Zealand
September 2021 crimes in Oceania
September 2021 events in New Zealand
Stabbing attacks in 2021
Terrorist incidents in New Zealand in the 2020s
Terrorist incidents involving knife attacks
|
```javascript
a={id<T>(x: T): T {}}
```
|
Henriëtte Elisabeth de Swart (born 15 May 1961, in Doetinchem) is a Dutch linguist.
Education and research
She earned her PhD at Groningen University in 1991. She was a research fellow at Groningen University and assistant professor at Stanford University. She is currently a Professor in French linguistics and semantics at Utrecht University.
Her research focuses on cross-linguistic variation in meaning particularly in regards to tense and aspect, negation, bare nominals and indefinite noun phrases. She has also investigated the role of semantics in language evolution, and was involved in the development of bidirectional optimality theory.
Honors and distinctions
She has been the director of the Netherlands Graduate School of linguistics (LOT) and of the Utrecht Institute of Linguistics (OTS). In 2013, she was nominated to membership of the Royal Netherlands Academy of Arts and Sciences (KNAW).
de Swart is an associate editor of the journal Natural Language and Linguistic Theory. She is also a member of the editorial board of Linguistics and Philosophy, Semantics and Pragmatics, Language and Linguistic Compass, Travaux de Linguistique, and the Catalan Journal of Linguistics.
Selected publications
de Swart, H.E. 2013. Indefiniteness. In M. Aronoff (Eds.), Oxford Bibliographies in Linguistics (pp. 1–26) New York: Oxford University Press.
Le Bruyn, B.S.W., Que, M. & de Swart, H.E. (2012). The scope of bare nominals. In A. Mari (Eds.), Genericity (pp. 116–139) (24 p.). Oxford University Press.
de Swart, H.E. 2012. Verbal aspect across languages. In Robert Binnick (Eds.), The Oxford Handbook of Tense and Aspect (pp. 752–780) (28 p.). Oxford: Oxford University Press.
Hendriks, P., de Hoop, H., Kraemer, I., de Swart, H.E. & Zwarts, J. 2010. Conflicts in Interpretation. (192 p.). London: Equinox Publishing.
de Swart, Henriëtte and J Zwarts. 2009 “Less form–more meaning: Why bare singular nouns are special,” Lingua.
Farkas, Donka. Henriëtte de Swart. 2007. The semantics of incorporation: from argument structure to discourse transparency
de Swart, Henriëtte and Ivan A. Sag. 2002, “Negation And Negative Concord In Romance," Linguistics and Philosophy. 25(4): 373–417.
de Swart, Henriëtte. 1998. “Aspect shift and coercion,“ Natural Language & Linguistic Theory.
de Swart, Henriëtte. 1998. Introduction to natural language semantics. CSLI publications.
References
External links
Faculty webpage
1961 births
Living people
Linguists from the Netherlands
Women linguists
University of Groningen alumni
Stanford University faculty
Academic staff of Utrecht University
Members of the Royal Netherlands Academy of Arts and Sciences
People from Doetinchem
|
Charles V. Ryan (September 15, 1927 – October 18, 2021) was an American politician who served as Mayor of Springfield, Massachusetts, from 1962 to 1967, and again from 2004 to 2008.
Ryan served as the city's mayor during the 1960s for three terms and for two additional terms beginning in 2004, making him the only Springfield mayor to serve in two different centuries. His terms in the 1960s occurred during a time of civil unrest and controversial urban renewal projects. Ryan was unsuccessful in preventing the closure of the Springfield Armory, a major economic blow to Springfield that he blamed on then Congressman Edward P. Boland. Ryan ran against Boland for Congress in 1968, but was defeated in a landslide. After leaving office he became a prominent attorney and continued to be active in public affairs, serving as a member of the downtown economic development group Springfield Central and leading efforts to successfully defeat attempts to institute casino gambling. He also led successful efforts to place the privately owned Springfield libraries under public control.
He attempted to return to the mayoralty in 1995 but lost to city councilor Michael J. Albano. Ryan was elected mayor in 2003 following the decision of Albano not to seek reelection. He defeated the Albano endorsed State Senator Linda Melconian in a campaign that focused on the numerous corruption scandals of the Albano years. In November 2005, Ryan won reelection defeating the city's School Committee Vice-President, Thomas Ashe. On April 12, 2007, Ryan announced that he would run for re-election in the city's 2007 mayoral election and stated that this would be his final run. He lost this election to City Councilor Domenic Sarno.
Ryan died following a short illness on October 18, 2021, at the age of 94.
Electoral history
References
1927 births
2021 deaths
Mayors of Springfield, Massachusetts
|
```python
import asyncio
import os
import sys
from urllib.parse import urlparse
from gql import Client, gql
from gql.transport.appsync_auth import AppSyncApiKeyAuthentication
from gql.transport.appsync_websockets import AppSyncWebsocketsTransport
# Uncomment the following lines to enable debug output
# import logging
# logging.basicConfig(level=logging.DEBUG)
async def main():
# Should look like:
# path_to_url
url = os.environ.get("AWS_GRAPHQL_API_ENDPOINT")
api_key = os.environ.get("AWS_GRAPHQL_API_KEY")
if url is None or api_key is None:
print("Missing environment variables")
sys.exit()
# Extract host from url
host = str(urlparse(url).netloc)
print(f"Host: {host}")
auth = AppSyncApiKeyAuthentication(host=host, api_key=api_key)
transport = AppSyncWebsocketsTransport(url=url, auth=auth)
async with Client(transport=transport) as session:
subscription = gql(
"""
subscription onCreateMessage {
onCreateMessage {
message
}
}
"""
)
print("Waiting for messages...")
async for result in session.subscribe(subscription):
print(result)
asyncio.run(main())
```
|
```go
package main
import (
"flag"
"math"
"time"
"github.com/go-kit/log/level"
"github.com/prometheus/client_golang/prometheus"
"github.com/weaveworks/common/server"
"github.com/weaveworks/common/tracing"
"github.com/cortexproject/cortex/pkg/testexporter/correctness"
"github.com/cortexproject/cortex/pkg/util/flagext"
"github.com/cortexproject/cortex/pkg/util/log"
)
var (
unixStart = time.Unix(0, 0)
)
func main() {
var (
serverConfig server.Config
runnerConfig correctness.RunnerConfig
)
flagext.RegisterFlags(&serverConfig, &runnerConfig)
flag.Parse()
log.InitLogger(&serverConfig)
// Setting the environment variable JAEGER_AGENT_HOST enables tracing
if trace, err := tracing.NewFromEnv("test-exporter"); err != nil {
level.Error(log.Logger).Log("msg", "Failed to setup tracing", "err", err.Error())
} else {
defer trace.Close()
}
server, err := server.New(serverConfig)
log.CheckFatal("initializing server", err)
defer server.Shutdown()
runner, err := correctness.NewRunner(runnerConfig)
log.CheckFatal("initializing runner", err)
defer runner.Stop()
runner.Add(correctness.NewSimpleTestCase("now_seconds", func(t time.Time) float64 {
return t.Sub(unixStart).Seconds()
}, runnerConfig.CommonTestConfig))
runner.Add(correctness.NewSimpleTestCase("sine_wave", func(t time.Time) float64 {
// With a 15-second scrape interval this gives a ten-minute period
period := float64(40 * runnerConfig.CommonTestConfig.ScrapeInterval.Nanoseconds())
radians := float64(t.UnixNano()) / period * 2 * math.Pi
return math.Sin(radians)
}, runnerConfig.CommonTestConfig))
if runnerConfig.EnableDeleteSeriesTest {
runnerConfig.DeleteSeriesTestConfig.ExtraSelectors = runnerConfig.ExtraSelectors
runnerConfig.DeleteSeriesTestConfig.PrometheusAddr = runnerConfig.PrometheusAddr
runnerConfig.DeleteSeriesTestConfig.UserID = runnerConfig.UserID
runner.Add(correctness.NewDeleteSeriesTest("delete_series", func(t time.Time) float64 {
return t.Sub(unixStart).Seconds()
}, runnerConfig.DeleteSeriesTestConfig, runnerConfig.CommonTestConfig))
}
prometheus.MustRegister(runner)
err = server.Run()
log.CheckFatal("running server", err)
}
```
|
Niger–Nigeria relations refer to the current and historical relationship between Niger and Nigeria, two neighbouring countries in West Africa. Relations are based on a long shared border and common cultural and historical interactions.
Shared history
The border between Niger to the north and Nigeria to the south cuts through one of the more densely populated areas of both nations. Culturally, the center and west of this border bisect the northern section of Hausaland: the home of the Hausa people. Prior to the turn of the 20th century, there was no formal border here, but the current line is roughly the northern reach of the 19th century Sokoto Caliphate. City-states south of this — such as Katsina, Kano, and Sokoto — were allied in a system of Islamic Fulani jihad states. Areas to the north — Maradi, the Gobir refugee state, and the Sultanate of Damagaram — resisted the Sokoto caliphate. Both areas were culturally Hausaphone in the center and west, and Kanuri in the east. In the east, both sides of the present border had been part of the Bornu Empire.
The expansion of French and British imperialism in the period 1890–1905 demarcated the line which would become the modern Niger – Nigeria border. During colonial rule, the French and English languages were implanted on each side of the border, along with cultural, educational and political traditions. Rival French and British interests meant that during much of the colonial period trade and relations across this border was dissuaded.
Niger, entirely landlocked, was supplied with access to the sea through fellow French West Africa colonies in modern Benin, Togo, and points west. From 1941 to 1943, the French Niger colony was loyal to German-occupied France, and the border between the colonies was completely closed. Despite this, common Hausa language and cultural ties meant that there was much informal trade and travel over the long border during the colonial period.
Development of bilateral relations
Since independence in 1960, the two states pursued close relations. Each side has based diplomatic relations upon non-interference in the internal affairs of the other. During the Nigerian Civil War, President of Niger Hamani Diori was an active mediator in the conflict.
Each side has also strongly appealed to its former colonial powers for support in defense and, unlike Nigerian-Cameroonian or Nigerien-Beninois relations, there have been no serious border conflicts. Hausa language and cultural ties are strong, but there is little interest in a pan-Hausa state. The division of Lake Chad, although forced to go to mediation between Chad, Cameroon, Niger, and Nigeria, awaits formal settlement and has not been a source of tension between Niamey and Abuja.
Nigeria has an embassy in Niamey, while Niger maintains an embassy in Abuja.
Commerce
The cities of southern Niger and Northern Nigeria have been linked in the Trans-Saharan trade going back to the medieval period. Cities such as Kano and Katsina have long been the southern terminus of trade networks which sustain much of Niger's economy. Nigeria benefits from the trade and agricultural sales (especially Nigerien cattle taken to Nigerian markets), while Niger's most direct routes to overseas trade are through Nigeria's and Benin's railway systems.
Agreements and organization
Each nation plays active roles in continental multilateral organizations, are members of the Economic Community of West African States (ECOWAS) trade bloc, the African Union, African Development Bank, UEMOA, CILSS, Council of Understanding, and the ALG. Bilaterally, the two nations formed the Nigeria-Niger Joint Commission for Cooperation (NNJC), established in March, 1971 with its Permanent Secretariat in Niamey, Niger.
Ecology
Niger's water supply is almost entirely dependent of cross border sources, while northern Nigeria is almost as dependent on the waters of the Niger River and Lake Chad. Both areas face rapid desertification and increasing demands for water. The two nations are members of the Niger Basin Authority (successor to the 1964 Niger River Commission), the Lake Chad Commission, and the Niger-Nigeria Joint Committee has special focus on water and water development issues. The two nations are signatories of The Enugu Agreement (3 December 1977) on common regulations for fauna and flora among the member states of the Lake Chad Basin Commission (Cameroon, Niger, Nigeria and Chad). On 15 January 1990 the two nations signed The Abuja Agreement on control of desertification, promotion of conservation, rational utilization and development of lands, water resources, flora and fauna. The Maiduguri Agreement, signed on 18 July 1990, and amended 5 October 1998, further deals with development, conservation, and utilization of the water resources of transboundary catchments. The Maiduguri Agreement and Abuja Agreement are overseen by the NNJC.
2023 conflict
Following the 2023 Nigerien coup d'état, Nigerian President Bola Tinubu advocated for humanitarian intervention into the 2023 Nigerien crisis.
See also
Foreign relations of Niger
Foreign relations of Nigeria
Niger-Nigeria border
References
Finn Fuglestad. A History of Niger: 1850–1960. Cambridge University Press (1983)
Jolijn Geels. Niger. Bradt UK/ Globe Pequot Press USA (2009)
Samuel Decalo. Historical Dictionary of Niger (3rd ed.). Scarecrow Press, Boston & Folkestone, (1997)
Bilateral relations of Nigeria
Nigeria
|
```powershell
$parameters = $args[0]
$subscriptionId = $parameters['subscriptionId']
$resourceGroupName = $parameters['resourceGroupName']
$virtualNetworkName = $parameters['virtualNetworkName']
$subnetName = $parameters['subnetName']
$force = $parameters['force']
$NSnetworkModels = "Microsoft.Azure.Commands.Network.Models"
$NScollections = "System.Collections.Generic"
function VerifyPSVersion {
Write-Host "Verifying PowerShell version."
if ($PSVersionTable.PSEdition -eq "Desktop") {
if (($PSVersionTable.PSVersion.Major -ge 6) -or
(($PSVersionTable.PSVersion.Major -eq 5) -and ($PSVersionTable.PSVersion.Minor -ge 1))) {
Write-Host "PowerShell version verified." -ForegroundColor Green
}
else {
Write-Host "You need to install PowerShell version 5.1 or higher." -ForegroundColor Red
Break;
}
}
else {
if ($PSVersionTable.PSVersion.Major -ge 6) {
Write-Host "PowerShell version verified." -ForegroundColor Green
}
else {
Write-Host "You need to install PowerShell version 6.0 or higher." -ForegroundColor Red
Break;
}
}
}
function EnsureAzModule {
Write-Host "Checking if Az module is imported."
$module = Get-Module Az
If ($null -eq $module) {
try {
Import-Module Az -ErrorAction Stop
Write-Host "Module Az imported." -ForegroundColor Green
}
catch {
Install-Module Az -AllowClobber
Write-Host "Module Az installed." -ForegroundColor Green
}
} else {
Write-Host "Module Az imported." -ForegroundColor Green
}
}
function EnsureLogin () {
$context = Get-AzContext
If ($null -eq $context.Subscription) {
Write-Host "Sign-in..."
If ($null -eq (Connect-AzAccount -ErrorAction SilentlyContinue -ErrorVariable Errors)) {
Write-Host ("Sign-in failed: {0}" -f $Errors[0].Exception.Message) -ForegroundColor Red
Break
}
}
Write-Host "Sign-in successful." -ForegroundColor Green
}
function SelectSubscriptionId {
param (
$subscriptionId
)
Write-Host "Selecting subscription '$subscriptionId'."
$context = Get-AzContext
If($context.Subscription.Id -ne $subscriptionId)
{
Try
{
Select-AzSubscription -SubscriptionId $subscriptionId -ErrorAction Stop | Out-null
}
Catch
{
Write-Host "Subscription selection failed: $_" -ForegroundColor Red
Break
}
}
Write-Host "Subscription selected." -ForegroundColor Green
}
function LoadVirtualNetwork {
param (
$resourceGroupName,
$virtualNetworkName
)
Write-Host("Loading virtual network '{0}' in resource group '{1}'." -f $virtualNetworkName, $resourceGroupName)
$virtualNetwork = Get-AzVirtualNetwork -ResourceGroupName $resourceGroupName -Name $virtualNetworkName -ErrorAction SilentlyContinue -WarningAction SilentlyContinue
If($null -ne $virtualNetwork.Id)
{
Write-Host "Virtual network loaded." -ForegroundColor Green
return $virtualNetwork
}
else
{
Write-Host "Virtual network not found." -ForegroundColor Red
Break
}
}
function LoadVirtualNetworkSubnet {
param (
$virtualNetwork,
$subnetName
)
Write-Host("Loading subnet '{0}'." -f $subnetName)
$subnets = $virtualNetwork.Subnets.Name
If($true -eq $subnets.Contains($subnetName))
{
$subnetIndex = $subnets.IndexOf($subnetName)
$subnet = $virtualNetwork.Subnets[$subnetIndex]
Write-Host "Subnet loaded." -ForegroundColor Green
return $subnet
}
else
{
Write-Host "Subnet not found." -ForegroundColor Red
Break
}
}
function VerifySubnet {
param (
$subnet
)
Write-Host("Verifying subnet '{0}'." -f $subnet.Name)
If($subnet.AddressPrefix.Split('/')[1] -le 28)
{
Write-Host "Passed Validation - Subnet is of enough size." -ForegroundColor Green
}
Else
{
Write-Host "Failed Validation - Minimum supported subnet size is /28." -ForegroundColor Red
Break
}
If(
($subnet.IpConfigurations.Count -eq 0) -and
(
($subnet.ResourceNavigationLinks.Count -eq 0) -or
($subnet.ResourceNavigationLinks[0].LinkedResourceType -eq 'Microsoft.Sql/virtualClusters')
)
)
{
Write-Host "Passed Validation - There are no conflicting resources inside the subnet." -ForegroundColor Green
}
Else
{
Write-Host "Failed Validation - Subnet is already in use." -ForegroundColor Red
Break
}
}
function VerifyDelegation {
param (
$subnet
)
$result = @{
isDelegatedToManagedInstance = $false;
isDelegated = $false;
success = $false;
}
$delegation = Get-AzDelegation -Subnet $subnet
If($delegation -ne $null)
{
$result['isDelegated'] = $true
$result['isDelegatedToManagedInstance'] = $delegation.ServiceName -eq "Microsoft.Sql/managedInstances"
}
$result['success'] = -not $result['isDelegated'] -or $result['isDelegatedToManagedInstance']
return $result
}
function LoadNetworkSecurityGroup {
param (
$subnet
)
Write-Host("Loading Network security group for subnet '{0}'." -f $subnet.Name)
If(
$null -ne $subnet.NetworkSecurityGroup
)
{
$nsgSegments = ($subnet.NetworkSecurityGroup.Id).Split("/", [System.StringSplitOptions]::RemoveEmptyEntries)
$nsgName = $nsgSegments[-1].Trim()
$nsgResourceGroup = $nsgSegments[3].Trim()
$networkSecurityGroup = Get-AzNetworkSecurityGroup -ResourceGroupName $nsgResourceGroup -Name $nsgName
Write-Host "Network security group security group loaded." -ForegroundColor Green
return $networkSecurityGroup
}
Else
{
return $null
}
}
function HasNSG {
param (
$subnet
)
$nsg = LoadNetworkSecurityGroup $subnet
return $nsg -ne $null
}
function LoadRouteTable {
param (
$subnet
)
Write-Host("Loading Route table for subnet '{0}'." -f $subnet.Name)
If(
$null -ne $subnet.RouteTable
)
{
$rtSegments = ($subnet.RouteTable.Id).Split("/", [System.StringSplitOptions]::RemoveEmptyEntries)
$rtName = $rtSegments[-1].Trim()
$rtResourceGroup = $rtSegments[3].Trim()
$routeTable = Get-AzRouteTable -ResourceGroupName $rtResourceGroup -Name $rtName
Write-Host "Route table loaded." -ForegroundColor Green
return $routeTable
}
return $null
}
function HasRouteTable {
param (
$subnet
)
$routeTable = LoadRouteTable $subnet
return $routeTable -ne $null
}
function CreateNSG
{
param(
$virtualNetwork,
$subnet
)
Write-Host "Creating Network security group."
$networkSecurityGroupName = "nsgManagedInstance" + (Get-Random -Maximum 1000)
$securityRules = New-Object "$NScollections.List``1[$NSnetworkModels.PSSecurityRule]"
$rule = New-AzNetworkSecurityRuleConfig `
-Name prepare-allow_tds_inbound `
-Description "Allow access to data" `
-Direction Inbound -Priority 1000 -Access Allow -Protocol Tcp `
-SourceAddressPrefix VirtualNetwork -DestinationAddressPrefix $subnet.AddressPrefix `
-SourcePortRange * -DestinationPortRange @("1433","11000-11999")
$securityRules.Add($rule)
$rule = New-AzNetworkSecurityRuleConfig `
-Name prepare-deny_all_inbound `
-Description "Deny all other inbound traffic" `
-Direction Inbound -Priority 4096 -Access Deny -Protocol * `
-SourceAddressPrefix * -DestinationAddressPrefix * `
-SourcePortRange * -DestinationPortRange *
$securityRules.Add($rule)
$rule = New-AzNetworkSecurityRuleConfig `
-Name prepare-deny_all_outbound `
-Description "Deny all other outbound traffic" `
-Direction Outbound -Priority 4096 -Access Deny -Protocol * `
-SourceAddressPrefix * -DestinationAddressPrefix * `
-SourcePortRange * -DestinationPortRange *
$securityRules.Add($rule)
Try
{
$networkSecurityGroup = New-AzNetworkSecurityGroup -Name $networkSecurityGroupName -ResourceGroupName $virtualNetwork.ResourceGroupName -Location $virtualNetwork.Location -SecurityRules $securityRules
}
Catch
{
Write-Host "Failed: $_" -ForegroundColor Red
}
Write-Host "Associating Network security group."
$subnet.NetworkSecurityGroup = $networkSecurityGroup
}
function CreateRouteTable
{
param(
$virtualNetwork,
$subnet
)
Write-Host "Creating Route table."
$routeTableName = "rtManagedInstance" + (Get-Random -Maximum 1000)
Try
{
$routeTable = New-AzRouteTable -Name $routeTableName -ResourceGroupName $virtualNetwork.ResourceGroupName -Location $virtualNetwork.Location
}
Catch
{
Write-Host "Failed: $_" -ForegroundColor Red
}
Write-Host "Associating Route table."
$subnet.RouteTable = $routeTable
}
function DelegateSubnet
{
param(
$subnet
)
Write-Host "Creating Subnet Delegation for Managed Instance."
$subnet.Delegations = New-Object "$NScollections.List``1[$NSnetworkModels.PSDelegation]"
$delegationName = "dgManagedInstance" + (Get-Random -Maximum 1000)
Try
{
$delegation = New-AzDelegation -Name $delegationName -ServiceName "Microsoft.Sql/managedInstances"
}
Catch
{
Write-Host "Failed: $_" -ForegroundColor Red
}
Write-Host "Associating Subnet Delegation for Managed Instance."
$subnet.Delegations.Add($delegation)
}
function SetVirtualNetwork
{
param($virtualNetwork)
Write-Host "Applying changes to the virtual network."
Try
{
Set-AzVirtualNetwork -VirtualNetwork $virtualNetwork -ErrorAction Stop -WarningAction SilentlyContinue | Out-Null
}
Catch
{
Write-Host "Failed: $_" -ForegroundColor Red
}
}
VerifyPSVersion
EnsureAzModule
EnsureLogin
SelectSubscriptionId -subscriptionId $subscriptionId
$virtualNetwork = LoadVirtualNetwork -resourceGroupName $resourceGroupName -virtualNetworkName $virtualNetworkName
$subnet = LoadVirtualNetworkSubnet -virtualNetwork $virtualNetwork -subnetName $subnetName
Write-Host
$delegationVerificationResult = VerifyDelegation $subnet
If($delegationVerificationResult['success'])
{
VerifySubnet $subnet
$hasNsg = HasNSG $subnet
$hasRouteTable = HasRouteTable $subnet
$isValid = $delegationVerificationResult['isDelegatedToManagedInstance'] -and $hasNsg -and $hasRouteTable
If($isValid -ne $true)
{
Write-Host
Write-Host("---------- To delegate the virtual network subnet for Managed Instance this script will: --------------- ") -ForegroundColor Yellow
Write-Host
If(-not $hasNsg)
{
Write-Host "Create Network security group and associate it to the subnet." -ForegroundColor Yellow
}
If(-not $hasRouteTable)
{
Write-Host "Create Route table and associate it to the subnet." -ForegroundColor Yellow
}
If(-not $delegationVerificationResult['isDelegatedToManagedInstance'])
{
Write-Host "Delegate subnet to Managed Instance." -ForegroundColor Yellow
}
Write-Host
Write-Host(your_sha256_hash---------------------------------------- ") -ForegroundColor Yellow
Write-Host
$applyChanges = $force
If($applyChanges -ne $true)
{
$reply = Read-Host -Prompt "Do you want to make these changes? [y/n]"
$applyChanges = $reply -match "[yY]"
Write-Host
}
If ($applyChanges)
{
If(-not $hasNsg)
{
CreateNSG $virtualNetwork $subnet
}
If(-not $hasRouteTable)
{
CreateRouteTable $virtualNetwork $subnet
}
If(-not $delegationVerificationResult['isDelegatedToManagedInstance'])
{
DelegateSubnet $subnet
}
SetVirtualNetwork $virtualNetwork
Write-Host
Write-Host "Subnet delegated to the Managed Instance." -ForegroundColor Green
Write-Host "path_to_url#create/Microsoft.SQLManagedInstance"
}
Else
{
Write-Host
Write-Host "Subnet delegation canceled." -ForegroundColor Yellow
}
}
Else
{
Write-Host "Subnet is already delegated to the Managed Instance." -ForegroundColor Green
Write-Host "path_to_url#create/Microsoft.SQLManagedInstance"
}
}
Else
{
Write-Host
Write-Host "Subnet is already delegated to other service." -ForegroundColor Red
}
```
|
The Vermont Council on Rural Development is a non-profit, federally supported, state rural development council that combines public and private resources to fund programs that improve the rural communities of Vermont, a largely rural state. The organization was created in 1992.
Recent initiatives
The organization coordinates two key initiatives around creating a green economy: an initiative called "Vermont Climate Economy Initiative" designed around developing enterprises focused on responding to global warming; and a "Climate Model Communities Program" coordinated with Efficiency Vermont to improve the sustainability of whole communities in Vermont.
Other programs include a community leadership award program, investment in working lands, and regularly policy meetings and summits.
Further reading
"Council encourages Wilmington residents to set priorities" by Erin George, The Brattleboro Reformer (March 13, 2001)
"Creative economy works in Vermont", editorial, The Burlington Free Press (April 15, 2006)
"Getting creative with economics" by Lauren Ober, The Burlington Free Press (April 29, 2006)
"Group thinks into the future" by Paul Costello and Sarah Waring, Rutland Daily Herald (Dec 30, 2007)
"Vermont's quiet crisis: Why we need an action plan for the working landscape" by Paul Costello, Rutland Daily Herald (Dec 26, 2010)
"Creating a climate economy" by Jon Copans (op-ed by the director of the Climate Economy Model Communities Program at the VCRD), Rutland Daily Herald (March 3, 2017)
References
Non-profit organizations based in Vermont
1992 establishments in Vermont
|
```objective-c
/*
motion_control.h - high level interface for issuing motion commands
Part of Grbl
Grbl is free software: you can redistribute it and/or modify
(at your option) any later version.
Grbl is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
along with Grbl. If not, see <path_to_url
*/
#ifndef motion_control_h
#define motion_control_h
// Execute an arc in offset mode format. position == current xyz, target == target xyz,
// offset == offset from current xyz, axis_XXX defines circle plane in tool space, axis_linear is
// the direction of helical travel, radius == circle radius, isclockwise boolean. Used
// for vector transformation direction.
void mc_arc(const float *position, float *target, const float *offset, float feed_rate, float radius, bool isclockwise, uint16_t start_segment_idx);
#endif
```
|
Strange Planet is an animated science fiction comedy television series based on the webcomic of the same name by Nathan W. Pyle. Pyle co-created the series with Dan Harmon. The series premiered on August 9, 2023 on Apple TV+.
Premise
Blue beings find themselves exploring and trying to understand the complexities and nuances of human traits.
Cast
Main
All main cast members portray multiple characters which vary between episodes.
Tunde Adebimpe
Demi Adejuyigbe
Lori Tan Chinn as Guide
Danny Pudi as Regular
Hannah Einbinder as Manager
Guest
James Adomian
Mamoudou Athie
Yvette Nicole Brown
D'Arcy Carden
Colton Dunn
Naomi Ekperigin
Cynthia Erivo
Fortune Feimster
Jo Firestone
Theo Germaine
Dallas Goldtooth
Patti Harrison
Jackie Hoffman
Erika Ishii
Jackie Kashian
Ken Leung
Riki Lindhome
Billie Lourd
X Mayo
Jessica McKenna
Tawny Newsome
Charlotte Nicdao
Toks Olagundoye
Bronson Pinchot
Nathan W. Pyle
Karan Soni
Beth Stelling
Nate Torrence
Jerry Trainor
Janet Varney
Gary Anthony Williams
Debra Wilson
Cedric Yarbrough
Episodes
Production
The series was greenlit by Apple TV+ in June 2021, with Nathan W. Pyle collaborating with Dan Harmon to co-create the series. Amalia Levari was set as showrunner. In July 2023, Tunde Adebimpe, Demi Adejuyigbe, Lori Tan Chinn, Danny Pudi and Hannah Einbinder were set for the voice cast.
Release
The series was released on August 9, 2023.
Reception
Strange Planet received mixed reviews from critics. Alan Sepinwall of Rolling Stone praised the show for its "reliable level of sweetness", while noting that most of its humor "hits the level of wry amusement and not much more, not unlike the experience of reading a comic strip, smiling, and saying, 'I get it,' without actually laughing." Lucy Mangan of The Guardian gave the show 3 stars out of 5, opining that the comic strip's premise wore too thin during a season of ten 25-minute episodes. Maya Phillips of The New York Times found the show's comedic moments to be more uneven and less interesting than its philosophical musings, writing, "More often than not, 'Strange Planet' is cute and delightful".
References
External links
2023 American television series debuts
2020s American adult animated television series
2020s American animated comedy television series
2020s American comic science fiction television series
2020s American sitcoms
American adult animated comedy television series
American adult animated science fiction television series
American flash adult animated television series
Animated television series about extraterrestrial life
English-language television shows
American animated sitcoms
Apple TV+ original programming
Television series based on Internet-based works
Television shows based on webcomics
Television series created by Dan Harmon
|
The 80th Brigade was a formation of the British Army. It was originally formed from regular army battalions serving away from home in the British Empire. It was assigned to the 27th Division and served on the Western Front and the Macedonian Front during the First World War.
Brigadier-General Charles Granville Fortescue served as the first commander of this brigade.
Units
The infantry battalions did not all serve at once, but all were assigned to the brigade during the war.
2nd Battalion, King's Shropshire Light Infantry
3rd Battalion, King's Royal Rifle Corps
4th Battalion, King's Royal Rifle Corps
4th Battalion, Rifle Brigade
Princess Patricia's Canadian Light Infantry
80th Machine Gun Company
80th Trench Mortar Battery
80th SAA Section Ammunition Column
References
Infantry brigades of the British Army in World War I
|
```yaml
theme: jekyll-theme-slate
show_downloads: true
```
|
```c
f (x)
unsigned x;
{
return (unsigned) (((unsigned long long) x * 0xAAAAAAAB) >> 32) >> 1;
}
main ()
{
unsigned i;
for (i = 0; i < 10000; i++)
if (f (i) != i / 3)
abort ();
exit (0);
}
```
|
William Croft (born November 13, 1956) is an American professor of linguistics at the University of New Mexico, United States. From 1994 to 2005 he was successively research fellow, lecturer, reader and professor in Linguistics at the University of Manchester, UK.
He is the inventor of and advocate for radical construction grammar, which among other things uses box-diagrams to compare and contrast the grammatical features of different natural languages.
William Croft is a member of Save the Redwoods League's Board of Councillors.
Partial bibliography
Syntactic Categories and Grammatical Relations: The Cognitive Organization of Information (1991)
Explaining language change: an evolutionary approach (2001)
Radical Construction Grammar: Syntactic theory in typological perspective (2001)
Typology and Universals, 2nd ed. (Cambridge Textbooks in Linguistics) (2003)
1st ed. (1990)
Cognitive Linguistics (Cambridge Textbooks in Linguistics) (2004) with D. A. Cruse
Verbs: aspect and causal structure (2012)
References
External links
Faculty page at the University of New Mexico
1956 births
Linguists from the United States
Syntacticians
Living people
University of New Mexico faculty
Fellows of the Linguistic Society of America
20th-century linguists
20th-century American academics
21st-century linguists
21st-century American academics
Typologists
|
```java
package com.roncoo.pay.trade.utils.alipay.util.httpClient;
import com.roncoo.pay.trade.utils.alipay.config.AlipayConfigUtil;
import org.apache.commons.httpclient.Header;
import java.io.UnsupportedEncodingException;
/* *
*HttpResponse
*Http
*Http
*3.3
*2011-08-17
*
*,
*
*/
public class HttpResponse {
/**
* Header
*/
private Header[] responseHeaders;
/**
* Stringresult
*/
private String stringResult;
/**
* btyeresult
*/
private byte[] byteResult;
public Header[] getResponseHeaders() {
return responseHeaders;
}
public void setResponseHeaders(Header[] responseHeaders) {
this.responseHeaders = responseHeaders;
}
public byte[] getByteResult() {
if (byteResult != null) {
return byteResult;
}
if (stringResult != null) {
return stringResult.getBytes();
}
return null;
}
public void setByteResult(byte[] byteResult) {
this.byteResult = byteResult;
}
public String getStringResult() throws UnsupportedEncodingException {
if (stringResult != null) {
return stringResult;
}
if (byteResult != null) {
return new String(byteResult, AlipayConfigUtil.input_charset);
}
return null;
}
public void setStringResult(String stringResult) {
this.stringResult = stringResult;
}
}
```
|
```xml
/*
*
* See the LICENSE file at the top-level directory of this distribution
* for licensing information.
*
* Unless otherwise agreed in a custom licensing agreement with the Lisk Foundation,
* no part of this software, including this file, may be copied, modified,
* propagated, or distributed except according to the terms contained in the
* LICENSE file.
*
* Removal or modification of this copyright notice is prohibited.
*/
import Dialog, { DialogContext, DialogProps } from './Dialog';
import DialogHeader from './DialogHeader';
import DialogBody from './DialogBody';
export { Dialog, DialogHeader, DialogBody, DialogContext };
export type { DialogProps };
```
|
```java
/**
* This file is part of Skript.
*
* Skript is free software: you can redistribute it and/or modify
* (at your option) any later version.
*
* Skript is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
*
* along with Skript. If not, see <path_to_url
*
*
*/
package ch.njol.skript.expressions;
import ch.njol.skript.doc.Description;
import ch.njol.skript.doc.Examples;
import ch.njol.skript.doc.Name;
import ch.njol.skript.doc.Since;
import ch.njol.skript.expressions.base.SimplePropertyExpression;
import org.bukkit.ChatColor;
import org.jetbrains.annotations.Nullable;
@Name("Last Color")
@Description("The colors used at the end of a string. The colors of the returned string will be formatted with their symbols.")
@Examples("set {_color} to the last colors of \"<red>hey<blue>yo\"")
@Since("2.6")
public class ExprLastColor extends SimplePropertyExpression<String, String> {
static {
register(ExprLastColor.class, String.class, "last color[s]", "strings");
}
@Nullable
@Override
public String convert(String string) {
return ChatColor.getLastColors(string);
}
@Override
public Class<? extends String> getReturnType() {
return String.class;
}
@Override
protected String getPropertyName() {
return "last colors";
}
}
```
|
```python
"""
For Python < 2.7.2. total_ordering in versions prior to 2.7.2 is buggy.
See path_to_url for details. For these versions use
code borrowed from Python 2.7.3.
From django.utils.
"""
import sys
if sys.version_info >= (2, 7, 2):
from functools import total_ordering
else:
def total_ordering(cls):
"""Class decorator that fills in missing ordering methods"""
convert = {
'__lt__': [('__gt__', lambda self, other: not (self < other or self == other)),
('__le__', lambda self, other: self < other or self == other),
('__ge__', lambda self, other: not self < other)],
'__le__': [('__ge__', lambda self, other: not self <= other or self == other),
('__lt__', lambda self, other: self <= other and not self == other),
('__gt__', lambda self, other: not self <= other)],
'__gt__': [('__lt__', lambda self, other: not (self > other or self == other)),
('__ge__', lambda self, other: self > other or self == other),
('__le__', lambda self, other: not self > other)],
'__ge__': [('__le__', lambda self, other: (not self >= other) or self == other),
('__gt__', lambda self, other: self >= other and not self == other),
('__lt__', lambda self, other: not self >= other)]
}
roots = set(dir(cls)) & set(convert)
if not roots:
raise ValueError('must define at least one ordering operation: < > <= >=')
root = max(roots) # prefer __lt__ to __le__ to __gt__ to __ge__
for opname, opfunc in convert[root]:
if opname not in roots:
opfunc.__name__ = opname
opfunc.__doc__ = getattr(int, opname).__doc__
setattr(cls, opname, opfunc)
return cls
```
|
Jahlil Gunter (born January 24, 1998), known professionally as Jay Versace, is an American record producer and former internet personality. He began posting comedy videos onto Vine as a teenager and amassed over three million followers on the platform, before turning to music production for the first time in 2018. He has since produced songs on albums such as SOS (2022) by SZA, Call Me If You Get Lost (2021) by Tyler, the Creator, and Scarlet (2023) by Doja Cat.
Early life
Versace is from Pleasantville, New Jersey. His moniker was inspired by a Vine video in which American rapper Riff Raff feeds his dog "Versace water from the fountain of life".
Career
2014–2017: Social media career
In 2014, Versace began making comedic videos onto the video-sharing platform Vine, usually involving reenactments of certain scenarios involving his family members, friends, and entertainers. His work was also noted to involve the amplification of the spirituality, creativity, and mental health of black people. He relocated to Los Angeles in 2016 at the age of 18. He was nominated for Viner of the Year at the 8th Shorty Awards. Versace had amassed over three million followers and two billion total views on Vine before the platform was discontinued in January 2017. Thereafter, he turned to other social media platforms, amassing 2 million followers on Instagram and 500,000 subscribers on YouTube. He also starred alongside American actors Danielle Campbell and Nathan Kress in his own Fullscreen web series, Jay Versace is Stuck in the 90s, which was nominated for Best Web Series at the 10th Shorty Awards. Versace signed a representation contract with United Talent Agency in January 2018, and then was slated to feature alongside American internet personality Miles McKenna in an eight-part web series by Portal A Interactive titled My Wizard & Me, yet this did not come to fruition.
2018–present: Music career
Versace started experimenting with music production for the first time in May 2018, with help from his musician friends Knxwledge and Pink Siifu. He began posting atmospheric, lo-fi music instrumentals to his SoundCloud account. Versace approached American rapper Westside Gunn and asked to work together, before the latter discovered his account and ended up using one of Versace's first-ever songs on his own album, Pray for Paris (2020), titling the track "Versace". He then produced all tracks on the mixtape, The Versace Tape (2020) by American rapper Boldy James, which became the first-ever release on Griselda Records in August 2020. In March 2021, Versace contributed a remix version of the song "Lay_Up.m4a" by Denzel Curry and Kenny Beats to the duo's remix album, Unlocked 1.5 (2021). He also produced the song "Safari" off of American rapper Tyler, the Creator's sixth studio album Call Me If You Get Lost (2021), which won the award for Best Rap Album at the 65th Annual Grammy Awards. Released in August 2022, the track "On God" by American rappers Meechy Darko, Freddie Gibbs and A-Trak, which was co-produced by Versace and Dot da Genius. Versace then produced the songs "SOS" and "Smoking on My Ex Pack" from American singer SZA's second studio album, SOS (2022), which earned him critical acclaim and commercial success. She had previously discovered him in 2017 through a video of him mocking her song "The Weekend", and they maintained a digital relationship for several years before meeting for the first time at a recording studio in 2019 once Versace had started producing. SZA credits her first attempts at rap music to Versace, who encouraged her to "talk her shit".
Personal life
Versace came out as queer via a Snapchat post in 2016, claiming that "I love people in general idgaf what gender you are". His mother, Nikesha Dolly Gunter, died of illness in May 2022.
Production discography
2020
Westside Gunn - Pray for Paris
09. "Versace"
Boldy James - The Versace Tape
01. "Pony Down Intro"
02. "Maria"
03. "Nu Wave"
04. "Cartier"
05. "Brick Van Exel"
06. "Long Live Julio"
07. "Monte Cristo"
08. "Cardinal Sin"
09. "Bentayga"
10. "Roxycontin"
Pink Siifu and Fly Anakin - FlySiifu's
08. "Mind Right"
Lil Yachty - Lil Boat 3.5
20. "Lil Diamond Boy"
2021
Denzel Curry and Kenny Beats - Unlocked 1.5
06. "Lay_Up.m4a (Jay Versace Version)"
Patrick Paige II - If I Fail Are We Still Cool?
12. "Who Am I"
Tyler, the Creator - Call Me If You Get Lost
16. "Safari"
Westside Gunn - Hitler Wears Hermes 8: Side B
04. "Free Kutter" featuring Jay Electronica
2022
Fly Anakin - Frank
17. "Bag Man"
Draft Day featuring Lil Yachty - "How Far Will I Go" (single)
Xavier Omär - B l u r r
01. "A Dream"
Meechy Darko - Gothic Luxury
07. "On God" featuring A-Trak and Freddie Gibbs
SZA - SOS
01. "SOS"
11. "Smoking on My Ex Pack"
2023
Doja Cat - Scarlet
6. "97"
12. "Often"
13. "Love Life"
Awards and nominations
References
1998 births
Living people
People from Pleasantville, New Jersey
21st-century American LGBT people
21st-century American musicians
21st-century African-American musicians
21st-century American comedians
LGBT record producers
American LGBT songwriters
African-American LGBT people
African-American male comedians
Record producers from New Jersey
American hip hop record producers
American Vine (service) celebrities
Comedy YouTubers
Comedians from New Jersey
American YouTubers
Grammy Award winners
Queer men
Queer musicians
|
```c
/*
===========================================================================
This file is part of Quake III Arena source code.
Quake III Arena source code is free software; you can redistribute it
or (at your option) any later version.
Quake III Arena source code is distributed in the hope that it will be
useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
along with Quake III Arena source code; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
===========================================================================
*/
/*****************************************************************************
* name: cl_cin.c
*
* desc: video and cinematic playback
*
* $Archive: /MissionPack/code/client/cl_cin.c $
*
* cl_glconfig.hwtype trtypes 3dfx/ragepro need 256x256
*
*****************************************************************************/
#include "client.h"
#include "snd_local.h"
#define MAXSIZE 8
#define MINSIZE 4
#define DEFAULT_CIN_WIDTH 512
#define DEFAULT_CIN_HEIGHT 512
#define ROQ_QUAD 0x1000
#define ROQ_QUAD_INFO 0x1001
#define ROQ_CODEBOOK 0x1002
#define ROQ_QUAD_VQ 0x1011
#define ROQ_QUAD_JPEG 0x1012
#define ROQ_QUAD_HANG 0x1013
#define ROQ_PACKET 0x1030
#define ZA_SOUND_MONO 0x1020
#define ZA_SOUND_STEREO 0x1021
#define MAX_VIDEO_HANDLES 16
static void RoQ_init( void );
/******************************************************************************
*
* Class: trFMV
*
* Description: RoQ/RnR manipulation routines
* not entirely complete for first run
*
******************************************************************************/
static long ROQ_YY_tab[256];
static long ROQ_UB_tab[256];
static long ROQ_UG_tab[256];
static long ROQ_VG_tab[256];
static long ROQ_VR_tab[256];
static unsigned short vq2[256*16*4];
static unsigned short vq4[256*64*4];
static unsigned short vq8[256*256*4];
typedef struct {
byte linbuf[DEFAULT_CIN_WIDTH*DEFAULT_CIN_HEIGHT*4*2];
byte file[65536];
short sqrTable[256];
int mcomp[256];
byte *qStatus[2][32768];
long oldXOff, oldYOff, oldysize, oldxsize;
int currentHandle;
} cinematics_t;
typedef struct {
char fileName[MAX_OSPATH];
int CIN_WIDTH, CIN_HEIGHT;
int xpos, ypos, width, height;
qboolean looping, holdAtEnd, dirty, alterGameState, silent, shader;
fileHandle_t iFile;
e_status status;
int startTime;
int lastTime;
long tfps;
long RoQPlayed;
long ROQSize;
unsigned int RoQFrameSize;
long onQuad;
long numQuads;
long samplesPerLine;
unsigned int roq_id;
long screenDelta;
void ( *VQ0)(byte *status, void *qdata );
void ( *VQ1)(byte *status, void *qdata );
void ( *VQNormal)(byte *status, void *qdata );
void ( *VQBuffer)(byte *status, void *qdata );
long samplesPerPixel; // defaults to 2
byte* gray;
unsigned int xsize, ysize, maxsize, minsize;
qboolean half, smootheddouble, inMemory;
long normalBuffer0;
long roq_flags;
long roqF0;
long roqF1;
long t[2];
long roqFPS;
int playonwalls;
byte* buf;
long drawX, drawY;
} cin_cache;
static cinematics_t cin;
static cin_cache cinTable[MAX_VIDEO_HANDLES];
static int currentHandle = -1;
static int CL_handle = -1;
extern int s_soundtime; // sample PAIRS
void CIN_CloseAllVideos(void) {
int i;
for ( i = 0 ; i < MAX_VIDEO_HANDLES ; i++ ) {
if (cinTable[i].fileName[0] != 0 ) {
CIN_StopCinematic(i);
}
}
}
static int CIN_HandleForVideo(void) {
int i;
for ( i = 0 ; i < MAX_VIDEO_HANDLES ; i++ ) {
if ( cinTable[i].fileName[0] == 0 ) {
return i;
}
}
Com_Error( ERR_DROP, "CIN_HandleForVideo: none free" );
return -1;
}
extern int CL_ScaledMilliseconds(void);
//your_sha256_hash-------------
// RllSetupTable
//
// Allocates and initializes the square table.
//
// Parameters: None
//
// Returns: Nothing
//your_sha256_hash-------------
static void RllSetupTable( void )
{
int z;
for (z=0;z<128;z++) {
cin.sqrTable[z] = (short)(z*z);
cin.sqrTable[z+128] = (short)(-cin.sqrTable[z]);
}
}
//your_sha256_hash-------------
// RllDecodeMonoToMono
//
// Decode mono source data into a mono buffer.
//
// Parameters: from -> buffer holding encoded data
// to -> buffer to hold decoded data
// size = number of bytes of input (= # of shorts of output)
// signedOutput = 0 for unsigned output, non-zero for signed output
// flag = flags from asset header
//
// Returns: Number of samples placed in output buffer
//your_sha256_hash-------------
long RllDecodeMonoToMono(unsigned char *from,short *to,unsigned int size,char signedOutput ,unsigned short flag)
{
unsigned int z;
int prev;
if (signedOutput)
prev = flag - 0x8000;
else
prev = flag;
for (z=0;z<size;z++) {
prev = to[z] = (short)(prev + cin.sqrTable[from[z]]);
}
return size; //*sizeof(short));
}
//your_sha256_hash-------------
// RllDecodeMonoToStereo
//
// Decode mono source data into a stereo buffer. Output is 4 times the number
// of bytes in the input.
//
// Parameters: from -> buffer holding encoded data
// to -> buffer to hold decoded data
// size = number of bytes of input (= 1/4 # of bytes of output)
// signedOutput = 0 for unsigned output, non-zero for signed output
// flag = flags from asset header
//
// Returns: Number of samples placed in output buffer
//your_sha256_hash-------------
long RllDecodeMonoToStereo(unsigned char *from,short *to,unsigned int size,char signedOutput,unsigned short flag)
{
unsigned int z;
int prev;
if (signedOutput)
prev = flag - 0x8000;
else
prev = flag;
for (z = 0; z < size; z++) {
prev = (short)(prev + cin.sqrTable[from[z]]);
to[z*2+0] = to[z*2+1] = (short)(prev);
}
return size; // * 2 * sizeof(short));
}
//your_sha256_hash-------------
// RllDecodeStereoToStereo
//
// Decode stereo source data into a stereo buffer.
//
// Parameters: from -> buffer holding encoded data
// to -> buffer to hold decoded data
// size = number of bytes of input (= 1/2 # of bytes of output)
// signedOutput = 0 for unsigned output, non-zero for signed output
// flag = flags from asset header
//
// Returns: Number of samples placed in output buffer
//your_sha256_hash-------------
long RllDecodeStereoToStereo(unsigned char *from,short *to,unsigned int size,char signedOutput, unsigned short flag)
{
unsigned int z;
unsigned char *zz = from;
int prevL, prevR;
if (signedOutput) {
prevL = (flag & 0xff00) - 0x8000;
prevR = ((flag & 0x00ff) << 8) - 0x8000;
} else {
prevL = flag & 0xff00;
prevR = (flag & 0x00ff) << 8;
}
for (z=0;z<size;z+=2) {
prevL = (short)(prevL + cin.sqrTable[*zz++]);
prevR = (short)(prevR + cin.sqrTable[*zz++]);
to[z+0] = (short)(prevL);
to[z+1] = (short)(prevR);
}
return (size>>1); //*sizeof(short));
}
//your_sha256_hash-------------
// RllDecodeStereoToMono
//
// Decode stereo source data into a mono buffer.
//
// Parameters: from -> buffer holding encoded data
// to -> buffer to hold decoded data
// size = number of bytes of input (= # of bytes of output)
// signedOutput = 0 for unsigned output, non-zero for signed output
// flag = flags from asset header
//
// Returns: Number of samples placed in output buffer
//your_sha256_hash-------------
long RllDecodeStereoToMono(unsigned char *from,short *to,unsigned int size,char signedOutput, unsigned short flag)
{
unsigned int z;
int prevL,prevR;
if (signedOutput) {
prevL = (flag & 0xff00) - 0x8000;
prevR = ((flag & 0x00ff) << 8) -0x8000;
} else {
prevL = flag & 0xff00;
prevR = (flag & 0x00ff) << 8;
}
for (z=0;z<size;z+=1) {
prevL= prevL + cin.sqrTable[from[z*2]];
prevR = prevR + cin.sqrTable[from[z*2+1]];
to[z] = (short)((prevL + prevR)/2);
}
return size;
}
/******************************************************************************
*
* Function:
*
* Description:
*
******************************************************************************/
static void move8_32( byte *src, byte *dst, int spl )
{
int i;
for(i = 0; i < 8; ++i)
{
memcpy(dst, src, 32);
src += spl;
dst += spl;
}
}
/******************************************************************************
*
* Function:
*
* Description:
*
******************************************************************************/
static void move4_32( byte *src, byte *dst, int spl )
{
int i;
for(i = 0; i < 4; ++i)
{
memcpy(dst, src, 16);
src += spl;
dst += spl;
}
}
/******************************************************************************
*
* Function:
*
* Description:
*
******************************************************************************/
static void blit8_32( byte *src, byte *dst, int spl )
{
int i;
for(i = 0; i < 8; ++i)
{
memcpy(dst, src, 32);
src += 32;
dst += spl;
}
}
/******************************************************************************
*
* Function:
*
* Description:
*
******************************************************************************/
static void blit4_32( byte *src, byte *dst, int spl )
{
int i;
for(i = 0; i < 4; ++i)
{
memmove(dst, src, 16);
src += 16;
dst += spl;
}
}
/******************************************************************************
*
* Function:
*
* Description:
*
******************************************************************************/
static void blit2_32( byte *src, byte *dst, int spl )
{
memcpy(dst, src, 8);
memcpy(dst+spl, src+8, 8);
}
/******************************************************************************
*
* Function:
*
* Description:
*
******************************************************************************/
static void blitVQQuad32fs( byte **status, unsigned char *data )
{
unsigned short newd, celdata, code;
unsigned int index, i;
int spl;
newd = 0;
celdata = 0;
index = 0;
spl = cinTable[currentHandle].samplesPerLine;
do {
if (!newd) {
newd = 7;
celdata = data[0] + data[1]*256;
data += 2;
} else {
newd--;
}
code = (unsigned short)(celdata&0xc000);
celdata <<= 2;
switch (code) {
case 0x8000: // vq code
blit8_32( (byte *)&vq8[(*data)*128], status[index], spl );
data++;
index += 5;
break;
case 0xc000: // drop
index++; // skip 8x8
for(i=0;i<4;i++) {
if (!newd) {
newd = 7;
celdata = data[0] + data[1]*256;
data += 2;
} else {
newd--;
}
code = (unsigned short)(celdata&0xc000); celdata <<= 2;
switch (code) { // code in top two bits of code
case 0x8000: // 4x4 vq code
blit4_32( (byte *)&vq4[(*data)*32], status[index], spl );
data++;
break;
case 0xc000: // 2x2 vq code
blit2_32( (byte *)&vq2[(*data)*8], status[index], spl );
data++;
blit2_32( (byte *)&vq2[(*data)*8], status[index]+8, spl );
data++;
blit2_32( (byte *)&vq2[(*data)*8], status[index]+spl*2, spl );
data++;
blit2_32( (byte *)&vq2[(*data)*8], status[index]+spl*2+8, spl );
data++;
break;
case 0x4000: // motion compensation
move4_32( status[index] + cin.mcomp[(*data)], status[index], spl );
data++;
break;
}
index++;
}
break;
case 0x4000: // motion compensation
move8_32( status[index] + cin.mcomp[(*data)], status[index], spl );
data++;
index += 5;
break;
case 0x0000:
index += 5;
break;
}
} while ( status[index] != NULL );
}
/******************************************************************************
*
* Function:
*
* Description:
*
******************************************************************************/
static void ROQ_GenYUVTables( void )
{
float t_ub,t_vr,t_ug,t_vg;
long i;
t_ub = (1.77200f/2.0f) * (float)(1<<6) + 0.5f;
t_vr = (1.40200f/2.0f) * (float)(1<<6) + 0.5f;
t_ug = (0.34414f/2.0f) * (float)(1<<6) + 0.5f;
t_vg = (0.71414f/2.0f) * (float)(1<<6) + 0.5f;
for(i=0;i<256;i++) {
float x = (float)(2 * i - 255);
ROQ_UB_tab[i] = (long)( ( t_ub * x) + (1<<5));
ROQ_VR_tab[i] = (long)( ( t_vr * x) + (1<<5));
ROQ_UG_tab[i] = (long)( (-t_ug * x) );
ROQ_VG_tab[i] = (long)( (-t_vg * x) + (1<<5));
ROQ_YY_tab[i] = (long)( (i << 6) | (i >> 2) );
}
}
#define VQ2TO4(a,b,c,d) { \
*c++ = a[0]; \
*d++ = a[0]; \
*d++ = a[0]; \
*c++ = a[1]; \
*d++ = a[1]; \
*d++ = a[1]; \
*c++ = b[0]; \
*d++ = b[0]; \
*d++ = b[0]; \
*c++ = b[1]; \
*d++ = b[1]; \
*d++ = b[1]; \
*d++ = a[0]; \
*d++ = a[0]; \
*d++ = a[1]; \
*d++ = a[1]; \
*d++ = b[0]; \
*d++ = b[0]; \
*d++ = b[1]; \
*d++ = b[1]; \
a += 2; b += 2; }
#define VQ2TO2(a,b,c,d) { \
*c++ = *a; \
*d++ = *a; \
*d++ = *a; \
*c++ = *b; \
*d++ = *b; \
*d++ = *b; \
*d++ = *a; \
*d++ = *a; \
*d++ = *b; \
*d++ = *b; \
a++; b++; }
/******************************************************************************
*
* Function:
*
* Description:
*
******************************************************************************/
static unsigned short yuv_to_rgb( long y, long u, long v )
{
long r,g,b,YY = (long)(ROQ_YY_tab[(y)]);
r = (YY + ROQ_VR_tab[v]) >> 9;
g = (YY + ROQ_UG_tab[u] + ROQ_VG_tab[v]) >> 8;
b = (YY + ROQ_UB_tab[u]) >> 9;
if (r<0) r = 0;
if (g<0) g = 0;
if (b<0) b = 0;
if (r > 31) r = 31;
if (g > 63) g = 63;
if (b > 31) b = 31;
return (unsigned short)((r<<11)+(g<<5)+(b));
}
/******************************************************************************
*
* Function:
*
* Description:
*
******************************************************************************/
static unsigned int yuv_to_rgb24( long y, long u, long v )
{
long r,g,b,YY = (long)(ROQ_YY_tab[(y)]);
r = (YY + ROQ_VR_tab[v]) >> 6;
g = (YY + ROQ_UG_tab[u] + ROQ_VG_tab[v]) >> 6;
b = (YY + ROQ_UB_tab[u]) >> 6;
if (r<0) r = 0;
if (g<0) g = 0;
if (b<0) b = 0;
if (r > 255) r = 255;
if (g > 255) g = 255;
if (b > 255) b = 255;
return LittleLong ((unsigned long)((r)|(g<<8)|(b<<16))|(255UL<<24));
}
/******************************************************************************
*
* Function:
*
* Description:
*
******************************************************************************/
static void decodeCodeBook( byte *input, unsigned short roq_flags )
{
long i, j, two, four;
unsigned short *aptr, *bptr, *cptr, *dptr;
long y0,y1,y2,y3,cr,cb;
byte *bbptr, *baptr, *bcptr, *bdptr;
union {
unsigned int *i;
unsigned short *s;
} iaptr, ibptr, icptr, idptr;
if (!roq_flags) {
two = four = 256;
} else {
two = roq_flags>>8;
if (!two) two = 256;
four = roq_flags&0xff;
}
four *= 2;
bptr = (unsigned short *)vq2;
if (!cinTable[currentHandle].half) {
if (!cinTable[currentHandle].smootheddouble) {
//
// normal height
//
if (cinTable[currentHandle].samplesPerPixel==2) {
for(i=0;i<two;i++) {
y0 = (long)*input++;
y1 = (long)*input++;
y2 = (long)*input++;
y3 = (long)*input++;
cr = (long)*input++;
cb = (long)*input++;
*bptr++ = yuv_to_rgb( y0, cr, cb );
*bptr++ = yuv_to_rgb( y1, cr, cb );
*bptr++ = yuv_to_rgb( y2, cr, cb );
*bptr++ = yuv_to_rgb( y3, cr, cb );
}
cptr = (unsigned short *)vq4;
dptr = (unsigned short *)vq8;
for(i=0;i<four;i++) {
aptr = (unsigned short *)vq2 + (*input++)*4;
bptr = (unsigned short *)vq2 + (*input++)*4;
for(j=0;j<2;j++)
VQ2TO4(aptr,bptr,cptr,dptr);
}
} else if (cinTable[currentHandle].samplesPerPixel==4) {
ibptr.s = bptr;
for(i=0;i<two;i++) {
y0 = (long)*input++;
y1 = (long)*input++;
y2 = (long)*input++;
y3 = (long)*input++;
cr = (long)*input++;
cb = (long)*input++;
*ibptr.i++ = yuv_to_rgb24( y0, cr, cb );
*ibptr.i++ = yuv_to_rgb24( y1, cr, cb );
*ibptr.i++ = yuv_to_rgb24( y2, cr, cb );
*ibptr.i++ = yuv_to_rgb24( y3, cr, cb );
}
icptr.s = vq4;
idptr.s = vq8;
for(i=0;i<four;i++) {
iaptr.s = vq2;
iaptr.i += (*input++)*4;
ibptr.s = vq2;
ibptr.i += (*input++)*4;
for(j=0;j<2;j++)
VQ2TO4(iaptr.i, ibptr.i, icptr.i, idptr.i);
}
} else if (cinTable[currentHandle].samplesPerPixel==1) {
bbptr = (byte *)bptr;
for(i=0;i<two;i++) {
*bbptr++ = cinTable[currentHandle].gray[*input++];
*bbptr++ = cinTable[currentHandle].gray[*input++];
*bbptr++ = cinTable[currentHandle].gray[*input++];
*bbptr++ = cinTable[currentHandle].gray[*input]; input +=3;
}
bcptr = (byte *)vq4;
bdptr = (byte *)vq8;
for(i=0;i<four;i++) {
baptr = (byte *)vq2 + (*input++)*4;
bbptr = (byte *)vq2 + (*input++)*4;
for(j=0;j<2;j++)
VQ2TO4(baptr,bbptr,bcptr,bdptr);
}
}
} else {
//
// double height, smoothed
//
if (cinTable[currentHandle].samplesPerPixel==2) {
for(i=0;i<two;i++) {
y0 = (long)*input++;
y1 = (long)*input++;
y2 = (long)*input++;
y3 = (long)*input++;
cr = (long)*input++;
cb = (long)*input++;
*bptr++ = yuv_to_rgb( y0, cr, cb );
*bptr++ = yuv_to_rgb( y1, cr, cb );
*bptr++ = yuv_to_rgb( ((y0*3)+y2)/4, cr, cb );
*bptr++ = yuv_to_rgb( ((y1*3)+y3)/4, cr, cb );
*bptr++ = yuv_to_rgb( (y0+(y2*3))/4, cr, cb );
*bptr++ = yuv_to_rgb( (y1+(y3*3))/4, cr, cb );
*bptr++ = yuv_to_rgb( y2, cr, cb );
*bptr++ = yuv_to_rgb( y3, cr, cb );
}
cptr = (unsigned short *)vq4;
dptr = (unsigned short *)vq8;
for(i=0;i<four;i++) {
aptr = (unsigned short *)vq2 + (*input++)*8;
bptr = (unsigned short *)vq2 + (*input++)*8;
for(j=0;j<2;j++) {
VQ2TO4(aptr,bptr,cptr,dptr);
VQ2TO4(aptr,bptr,cptr,dptr);
}
}
} else if (cinTable[currentHandle].samplesPerPixel==4) {
ibptr.s = bptr;
for(i=0;i<two;i++) {
y0 = (long)*input++;
y1 = (long)*input++;
y2 = (long)*input++;
y3 = (long)*input++;
cr = (long)*input++;
cb = (long)*input++;
*ibptr.i++ = yuv_to_rgb24( y0, cr, cb );
*ibptr.i++ = yuv_to_rgb24( y1, cr, cb );
*ibptr.i++ = yuv_to_rgb24( ((y0*3)+y2)/4, cr, cb );
*ibptr.i++ = yuv_to_rgb24( ((y1*3)+y3)/4, cr, cb );
*ibptr.i++ = yuv_to_rgb24( (y0+(y2*3))/4, cr, cb );
*ibptr.i++ = yuv_to_rgb24( (y1+(y3*3))/4, cr, cb );
*ibptr.i++ = yuv_to_rgb24( y2, cr, cb );
*ibptr.i++ = yuv_to_rgb24( y3, cr, cb );
}
icptr.s = vq4;
idptr.s = vq8;
for(i=0;i<four;i++) {
iaptr.s = vq2;
iaptr.i += (*input++)*8;
ibptr.s = vq2;
ibptr.i += (*input++)*8;
for(j=0;j<2;j++) {
VQ2TO4(iaptr.i, ibptr.i, icptr.i, idptr.i);
VQ2TO4(iaptr.i, ibptr.i, icptr.i, idptr.i);
}
}
} else if (cinTable[currentHandle].samplesPerPixel==1) {
bbptr = (byte *)bptr;
for(i=0;i<two;i++) {
y0 = (long)*input++;
y1 = (long)*input++;
y2 = (long)*input++;
y3 = (long)*input; input+= 3;
*bbptr++ = cinTable[currentHandle].gray[y0];
*bbptr++ = cinTable[currentHandle].gray[y1];
*bbptr++ = cinTable[currentHandle].gray[((y0*3)+y2)/4];
*bbptr++ = cinTable[currentHandle].gray[((y1*3)+y3)/4];
*bbptr++ = cinTable[currentHandle].gray[(y0+(y2*3))/4];
*bbptr++ = cinTable[currentHandle].gray[(y1+(y3*3))/4];
*bbptr++ = cinTable[currentHandle].gray[y2];
*bbptr++ = cinTable[currentHandle].gray[y3];
}
bcptr = (byte *)vq4;
bdptr = (byte *)vq8;
for(i=0;i<four;i++) {
baptr = (byte *)vq2 + (*input++)*8;
bbptr = (byte *)vq2 + (*input++)*8;
for(j=0;j<2;j++) {
VQ2TO4(baptr,bbptr,bcptr,bdptr);
VQ2TO4(baptr,bbptr,bcptr,bdptr);
}
}
}
}
} else {
//
// 1/4 screen
//
if (cinTable[currentHandle].samplesPerPixel==2) {
for(i=0;i<two;i++) {
y0 = (long)*input; input+=2;
y2 = (long)*input; input+=2;
cr = (long)*input++;
cb = (long)*input++;
*bptr++ = yuv_to_rgb( y0, cr, cb );
*bptr++ = yuv_to_rgb( y2, cr, cb );
}
cptr = (unsigned short *)vq4;
dptr = (unsigned short *)vq8;
for(i=0;i<four;i++) {
aptr = (unsigned short *)vq2 + (*input++)*2;
bptr = (unsigned short *)vq2 + (*input++)*2;
for(j=0;j<2;j++) {
VQ2TO2(aptr,bptr,cptr,dptr);
}
}
} else if (cinTable[currentHandle].samplesPerPixel == 1) {
bbptr = (byte *)bptr;
for(i=0;i<two;i++) {
*bbptr++ = cinTable[currentHandle].gray[*input]; input+=2;
*bbptr++ = cinTable[currentHandle].gray[*input]; input+=4;
}
bcptr = (byte *)vq4;
bdptr = (byte *)vq8;
for(i=0;i<four;i++) {
baptr = (byte *)vq2 + (*input++)*2;
bbptr = (byte *)vq2 + (*input++)*2;
for(j=0;j<2;j++) {
VQ2TO2(baptr,bbptr,bcptr,bdptr);
}
}
} else if (cinTable[currentHandle].samplesPerPixel == 4) {
ibptr.s = bptr;
for(i=0;i<two;i++) {
y0 = (long)*input; input+=2;
y2 = (long)*input; input+=2;
cr = (long)*input++;
cb = (long)*input++;
*ibptr.i++ = yuv_to_rgb24( y0, cr, cb );
*ibptr.i++ = yuv_to_rgb24( y2, cr, cb );
}
icptr.s = vq4;
idptr.s = vq8;
for(i=0;i<four;i++) {
iaptr.s = vq2;
iaptr.i += (*input++)*2;
ibptr.s = vq2 + (*input++)*2;
ibptr.i += (*input++)*2;
for(j=0;j<2;j++) {
VQ2TO2(iaptr.i,ibptr.i,icptr.i,idptr.i);
}
}
}
}
}
/******************************************************************************
*
* Function:
*
* Description:
*
******************************************************************************/
static void recurseQuad( long startX, long startY, long quadSize, long xOff, long yOff )
{
byte *scroff;
long bigx, bigy, lowx, lowy, useY;
long offset;
offset = cinTable[currentHandle].screenDelta;
lowx = lowy = 0;
bigx = cinTable[currentHandle].xsize;
bigy = cinTable[currentHandle].ysize;
if (bigx > cinTable[currentHandle].CIN_WIDTH) bigx = cinTable[currentHandle].CIN_WIDTH;
if (bigy > cinTable[currentHandle].CIN_HEIGHT) bigy = cinTable[currentHandle].CIN_HEIGHT;
if ( (startX >= lowx) && (startX+quadSize) <= (bigx) && (startY+quadSize) <= (bigy) && (startY >= lowy) && quadSize <= MAXSIZE) {
useY = startY;
scroff = cin.linbuf + (useY+((cinTable[currentHandle].CIN_HEIGHT-bigy)>>1)+yOff)*(cinTable[currentHandle].samplesPerLine) + (((startX+xOff))*cinTable[currentHandle].samplesPerPixel);
cin.qStatus[0][cinTable[currentHandle].onQuad ] = scroff;
cin.qStatus[1][cinTable[currentHandle].onQuad++] = scroff+offset;
}
if ( quadSize != MINSIZE ) {
quadSize >>= 1;
recurseQuad( startX, startY , quadSize, xOff, yOff );
recurseQuad( startX+quadSize, startY , quadSize, xOff, yOff );
recurseQuad( startX, startY+quadSize , quadSize, xOff, yOff );
recurseQuad( startX+quadSize, startY+quadSize , quadSize, xOff, yOff );
}
}
/******************************************************************************
*
* Function:
*
* Description:
*
******************************************************************************/
static void setupQuad( long xOff, long yOff )
{
long numQuadCels, i,x,y;
byte *temp;
if (xOff == cin.oldXOff && yOff == cin.oldYOff && cinTable[currentHandle].ysize == cin.oldysize && cinTable[currentHandle].xsize == cin.oldxsize) {
return;
}
cin.oldXOff = xOff;
cin.oldYOff = yOff;
cin.oldysize = cinTable[currentHandle].ysize;
cin.oldxsize = cinTable[currentHandle].xsize;
numQuadCels = (cinTable[currentHandle].xsize*cinTable[currentHandle].ysize) / (16);
numQuadCels += numQuadCels/4;
numQuadCels += 64; // for overflow
cinTable[currentHandle].onQuad = 0;
for(y=0;y<(long)cinTable[currentHandle].ysize;y+=16)
for(x=0;x<(long)cinTable[currentHandle].xsize;x+=16)
recurseQuad( x, y, 16, xOff, yOff );
temp = NULL;
for(i=(numQuadCels-64);i<numQuadCels;i++) {
cin.qStatus[0][i] = temp; // eoq
cin.qStatus[1][i] = temp; // eoq
}
}
/******************************************************************************
*
* Function:
*
* Description:
*
******************************************************************************/
static void readQuadInfo( byte *qData )
{
if (currentHandle < 0) return;
cinTable[currentHandle].xsize = qData[0]+qData[1]*256;
cinTable[currentHandle].ysize = qData[2]+qData[3]*256;
cinTable[currentHandle].maxsize = qData[4]+qData[5]*256;
cinTable[currentHandle].minsize = qData[6]+qData[7]*256;
cinTable[currentHandle].CIN_HEIGHT = cinTable[currentHandle].ysize;
cinTable[currentHandle].CIN_WIDTH = cinTable[currentHandle].xsize;
cinTable[currentHandle].samplesPerLine = cinTable[currentHandle].CIN_WIDTH*cinTable[currentHandle].samplesPerPixel;
cinTable[currentHandle].screenDelta = cinTable[currentHandle].CIN_HEIGHT*cinTable[currentHandle].samplesPerLine;
cinTable[currentHandle].half = qfalse;
cinTable[currentHandle].smootheddouble = qfalse;
cinTable[currentHandle].VQ0 = cinTable[currentHandle].VQNormal;
cinTable[currentHandle].VQ1 = cinTable[currentHandle].VQBuffer;
cinTable[currentHandle].t[0] = cinTable[currentHandle].screenDelta;
cinTable[currentHandle].t[1] = -cinTable[currentHandle].screenDelta;
cinTable[currentHandle].drawX = cinTable[currentHandle].CIN_WIDTH;
cinTable[currentHandle].drawY = cinTable[currentHandle].CIN_HEIGHT;
// rage pro is very slow at 512 wide textures, voodoo can't do it at all
if ( cls.glconfig.hardwareType == GLHW_RAGEPRO || cls.glconfig.maxTextureSize <= 256) {
if (cinTable[currentHandle].drawX>256) {
cinTable[currentHandle].drawX = 256;
}
if (cinTable[currentHandle].drawY>256) {
cinTable[currentHandle].drawY = 256;
}
if (cinTable[currentHandle].CIN_WIDTH != 256 || cinTable[currentHandle].CIN_HEIGHT != 256) {
Com_Printf("HACK: approxmimating cinematic for Rage Pro or Voodoo\n");
}
}
}
/******************************************************************************
*
* Function:
*
* Description:
*
******************************************************************************/
static void RoQPrepMcomp( long xoff, long yoff )
{
long i, j, x, y, temp, temp2;
i=cinTable[currentHandle].samplesPerLine; j=cinTable[currentHandle].samplesPerPixel;
if ( cinTable[currentHandle].xsize == (cinTable[currentHandle].ysize*4) && !cinTable[currentHandle].half ) { j = j+j; i = i+i; }
for(y=0;y<16;y++) {
temp2 = (y+yoff-8)*i;
for(x=0;x<16;x++) {
temp = (x+xoff-8)*j;
cin.mcomp[(x*16)+y] = cinTable[currentHandle].normalBuffer0-(temp2+temp);
}
}
}
/******************************************************************************
*
* Function:
*
* Description:
*
******************************************************************************/
static void initRoQ( void )
{
if (currentHandle < 0) return;
cinTable[currentHandle].VQNormal = (void (*)(byte *, void *))blitVQQuad32fs;
cinTable[currentHandle].VQBuffer = (void (*)(byte *, void *))blitVQQuad32fs;
cinTable[currentHandle].samplesPerPixel = 4;
ROQ_GenYUVTables();
RllSetupTable();
}
/******************************************************************************
*
* Function:
*
* Description:
*
******************************************************************************/
/*
static byte* RoQFetchInterlaced( byte *source ) {
int x, *src, *dst;
if (currentHandle < 0) return NULL;
src = (int *)source;
dst = (int *)cinTable[currentHandle].buf2;
for(x=0;x<256*256;x++) {
*dst = *src;
dst++; src += 2;
}
return cinTable[currentHandle].buf2;
}
*/
static void RoQReset( void ) {
if (currentHandle < 0) return;
FS_FCloseFile( cinTable[currentHandle].iFile );
FS_FOpenFileRead (cinTable[currentHandle].fileName, &cinTable[currentHandle].iFile, qtrue);
// let the background thread start reading ahead
FS_Read (cin.file, 16, cinTable[currentHandle].iFile);
RoQ_init();
cinTable[currentHandle].status = FMV_LOOPED;
}
/******************************************************************************
*
* Function:
*
* Description:
*
******************************************************************************/
static void RoQInterrupt(void)
{
byte *framedata;
short sbuf[32768];
int ssize;
if (currentHandle < 0) return;
FS_Read( cin.file, cinTable[currentHandle].RoQFrameSize+8, cinTable[currentHandle].iFile );
if ( cinTable[currentHandle].RoQPlayed >= cinTable[currentHandle].ROQSize ) {
if (cinTable[currentHandle].holdAtEnd==qfalse) {
if (cinTable[currentHandle].looping) {
RoQReset();
} else {
cinTable[currentHandle].status = FMV_EOF;
}
} else {
cinTable[currentHandle].status = FMV_IDLE;
}
return;
}
framedata = cin.file;
//
// new frame is ready
//
redump:
switch(cinTable[currentHandle].roq_id)
{
case ROQ_QUAD_VQ:
if ((cinTable[currentHandle].numQuads&1)) {
cinTable[currentHandle].normalBuffer0 = cinTable[currentHandle].t[1];
RoQPrepMcomp( cinTable[currentHandle].roqF0, cinTable[currentHandle].roqF1 );
cinTable[currentHandle].VQ1( (byte *)cin.qStatus[1], framedata);
cinTable[currentHandle].buf = cin.linbuf + cinTable[currentHandle].screenDelta;
} else {
cinTable[currentHandle].normalBuffer0 = cinTable[currentHandle].t[0];
RoQPrepMcomp( cinTable[currentHandle].roqF0, cinTable[currentHandle].roqF1 );
cinTable[currentHandle].VQ0( (byte *)cin.qStatus[0], framedata );
cinTable[currentHandle].buf = cin.linbuf;
}
if (cinTable[currentHandle].numQuads == 0) { // first frame
Com_Memcpy(cin.linbuf+cinTable[currentHandle].screenDelta, cin.linbuf, cinTable[currentHandle].samplesPerLine*cinTable[currentHandle].ysize);
}
cinTable[currentHandle].numQuads++;
cinTable[currentHandle].dirty = qtrue;
break;
case ROQ_CODEBOOK:
decodeCodeBook( framedata, (unsigned short)cinTable[currentHandle].roq_flags );
break;
case ZA_SOUND_MONO:
if (!cinTable[currentHandle].silent) {
ssize = RllDecodeMonoToStereo( framedata, sbuf, cinTable[currentHandle].RoQFrameSize, 0, (unsigned short)cinTable[currentHandle].roq_flags);
S_RawSamples(0, ssize, 22050, 2, 1, (byte *)sbuf, 1.0f, -1);
}
break;
case ZA_SOUND_STEREO:
if (!cinTable[currentHandle].silent) {
if (cinTable[currentHandle].numQuads == -1) {
S_Update();
s_rawend[0] = s_soundtime;
}
ssize = RllDecodeStereoToStereo( framedata, sbuf, cinTable[currentHandle].RoQFrameSize, 0, (unsigned short)cinTable[currentHandle].roq_flags);
S_RawSamples(0, ssize, 22050, 2, 2, (byte *)sbuf, 1.0f, -1);
}
break;
case ROQ_QUAD_INFO:
if (cinTable[currentHandle].numQuads == -1) {
readQuadInfo( framedata );
setupQuad( 0, 0 );
cinTable[currentHandle].startTime = cinTable[currentHandle].lastTime = CL_ScaledMilliseconds();
}
if (cinTable[currentHandle].numQuads != 1) cinTable[currentHandle].numQuads = 0;
break;
case ROQ_PACKET:
cinTable[currentHandle].inMemory = cinTable[currentHandle].roq_flags;
cinTable[currentHandle].RoQFrameSize = 0; // for header
break;
case ROQ_QUAD_HANG:
cinTable[currentHandle].RoQFrameSize = 0;
break;
case ROQ_QUAD_JPEG:
break;
default:
cinTable[currentHandle].status = FMV_EOF;
break;
}
//
// read in next frame data
//
if ( cinTable[currentHandle].RoQPlayed >= cinTable[currentHandle].ROQSize ) {
if (cinTable[currentHandle].holdAtEnd==qfalse) {
if (cinTable[currentHandle].looping) {
RoQReset();
} else {
cinTable[currentHandle].status = FMV_EOF;
}
} else {
cinTable[currentHandle].status = FMV_IDLE;
}
return;
}
framedata += cinTable[currentHandle].RoQFrameSize;
cinTable[currentHandle].roq_id = framedata[0] + framedata[1]*256;
cinTable[currentHandle].RoQFrameSize = framedata[2] + framedata[3]*256 + framedata[4]*65536;
cinTable[currentHandle].roq_flags = framedata[6] + framedata[7]*256;
cinTable[currentHandle].roqF0 = (signed char)framedata[7];
cinTable[currentHandle].roqF1 = (signed char)framedata[6];
if (cinTable[currentHandle].RoQFrameSize>65536||cinTable[currentHandle].roq_id==0x1084) {
Com_DPrintf("roq_size>65536||roq_id==0x1084\n");
cinTable[currentHandle].status = FMV_EOF;
if (cinTable[currentHandle].looping) {
RoQReset();
}
return;
}
if (cinTable[currentHandle].inMemory && (cinTable[currentHandle].status != FMV_EOF)) { cinTable[currentHandle].inMemory--; framedata += 8; goto redump; }
//
// one more frame hits the dust
//
// assert(cinTable[currentHandle].RoQFrameSize <= 65536);
// r = FS_Read( cin.file, cinTable[currentHandle].RoQFrameSize+8, cinTable[currentHandle].iFile );
cinTable[currentHandle].RoQPlayed += cinTable[currentHandle].RoQFrameSize+8;
}
/******************************************************************************
*
* Function:
*
* Description:
*
******************************************************************************/
static void RoQ_init( void )
{
cinTable[currentHandle].startTime = cinTable[currentHandle].lastTime = CL_ScaledMilliseconds();
cinTable[currentHandle].RoQPlayed = 24;
/* get frame rate */
cinTable[currentHandle].roqFPS = cin.file[ 6] + cin.file[ 7]*256;
if (!cinTable[currentHandle].roqFPS) cinTable[currentHandle].roqFPS = 30;
cinTable[currentHandle].numQuads = -1;
cinTable[currentHandle].roq_id = cin.file[ 8] + cin.file[ 9]*256;
cinTable[currentHandle].RoQFrameSize = cin.file[10] + cin.file[11]*256 + cin.file[12]*65536;
cinTable[currentHandle].roq_flags = cin.file[14] + cin.file[15]*256;
if (cinTable[currentHandle].RoQFrameSize > 65536 || !cinTable[currentHandle].RoQFrameSize) {
return;
}
}
/******************************************************************************
*
* Function:
*
* Description:
*
******************************************************************************/
static void RoQShutdown( void ) {
const char *s;
if (!cinTable[currentHandle].buf) {
return;
}
if ( cinTable[currentHandle].status == FMV_IDLE ) {
return;
}
Com_DPrintf("finished cinematic\n");
cinTable[currentHandle].status = FMV_IDLE;
if (cinTable[currentHandle].iFile) {
FS_FCloseFile( cinTable[currentHandle].iFile );
cinTable[currentHandle].iFile = 0;
}
if (cinTable[currentHandle].alterGameState) {
clc.state = CA_DISCONNECTED;
// we can't just do a vstr nextmap, because
// if we are aborting the intro cinematic with
// a devmap command, nextmap would be valid by
// the time it was referenced
s = Cvar_VariableString( "nextmap" );
if ( s[0] ) {
Cbuf_ExecuteText( EXEC_APPEND, va("%s\n", s) );
Cvar_Set( "nextmap", "" );
}
CL_handle = -1;
}
cinTable[currentHandle].fileName[0] = 0;
currentHandle = -1;
}
/*
==================
CIN_StopCinematic
==================
*/
e_status CIN_StopCinematic(int handle) {
if (handle < 0 || handle>= MAX_VIDEO_HANDLES || cinTable[handle].status == FMV_EOF) return FMV_EOF;
currentHandle = handle;
Com_DPrintf("trFMV::stop(), closing %s\n", cinTable[currentHandle].fileName);
if (!cinTable[currentHandle].buf) {
return FMV_EOF;
}
if (cinTable[currentHandle].alterGameState) {
if ( clc.state != CA_CINEMATIC ) {
return cinTable[currentHandle].status;
}
}
cinTable[currentHandle].status = FMV_EOF;
RoQShutdown();
return FMV_EOF;
}
/*
==================
CIN_RunCinematic
Fetch and decompress the pending frame
==================
*/
e_status CIN_RunCinematic (int handle)
{
int start = 0;
int thisTime = 0;
if (handle < 0 || handle>= MAX_VIDEO_HANDLES || cinTable[handle].status == FMV_EOF) return FMV_EOF;
if (cin.currentHandle != handle) {
currentHandle = handle;
cin.currentHandle = currentHandle;
cinTable[currentHandle].status = FMV_EOF;
RoQReset();
}
if (cinTable[handle].playonwalls < -1)
{
return cinTable[handle].status;
}
currentHandle = handle;
if (cinTable[currentHandle].alterGameState) {
if ( clc.state != CA_CINEMATIC ) {
return cinTable[currentHandle].status;
}
}
if (cinTable[currentHandle].status == FMV_IDLE) {
return cinTable[currentHandle].status;
}
thisTime = CL_ScaledMilliseconds();
if (cinTable[currentHandle].shader && (abs(thisTime - cinTable[currentHandle].lastTime))>100) {
cinTable[currentHandle].startTime += thisTime - cinTable[currentHandle].lastTime;
}
cinTable[currentHandle].tfps = (((CL_ScaledMilliseconds() - cinTable[currentHandle].startTime)*3)/100);
start = cinTable[currentHandle].startTime;
while( (cinTable[currentHandle].tfps != cinTable[currentHandle].numQuads)
&& (cinTable[currentHandle].status == FMV_PLAY) )
{
RoQInterrupt();
if (start != cinTable[currentHandle].startTime) {
cinTable[currentHandle].tfps = (((CL_ScaledMilliseconds() - cinTable[currentHandle].startTime)*3)/100);
start = cinTable[currentHandle].startTime;
}
}
cinTable[currentHandle].lastTime = thisTime;
if (cinTable[currentHandle].status == FMV_LOOPED) {
cinTable[currentHandle].status = FMV_PLAY;
}
if (cinTable[currentHandle].status == FMV_EOF) {
if (cinTable[currentHandle].looping) {
RoQReset();
} else {
RoQShutdown();
return FMV_EOF;
}
}
return cinTable[currentHandle].status;
}
/*
==================
CIN_PlayCinematic
==================
*/
int CIN_PlayCinematic( const char *arg, int x, int y, int w, int h, int systemBits ) {
unsigned short RoQID;
char name[MAX_OSPATH];
int i;
if (strstr(arg, "/") == NULL && strstr(arg, "\\") == NULL) {
Com_sprintf (name, sizeof(name), "video/%s", arg);
} else {
Com_sprintf (name, sizeof(name), "%s", arg);
}
if (!(systemBits & CIN_system)) {
for ( i = 0 ; i < MAX_VIDEO_HANDLES ; i++ ) {
if (!strcmp(cinTable[i].fileName, name) ) {
return i;
}
}
}
Com_DPrintf("CIN_PlayCinematic( %s )\n", arg);
Com_Memset(&cin, 0, sizeof(cinematics_t) );
currentHandle = CIN_HandleForVideo();
cin.currentHandle = currentHandle;
strcpy(cinTable[currentHandle].fileName, name);
cinTable[currentHandle].ROQSize = 0;
cinTable[currentHandle].ROQSize = FS_FOpenFileRead (cinTable[currentHandle].fileName, &cinTable[currentHandle].iFile, qtrue);
if (cinTable[currentHandle].ROQSize<=0) {
Com_DPrintf("play(%s), ROQSize<=0\n", arg);
cinTable[currentHandle].fileName[0] = 0;
return -1;
}
CIN_SetExtents(currentHandle, x, y, w, h);
CIN_SetLooping(currentHandle, (systemBits & CIN_loop)!=0);
cinTable[currentHandle].CIN_HEIGHT = DEFAULT_CIN_HEIGHT;
cinTable[currentHandle].CIN_WIDTH = DEFAULT_CIN_WIDTH;
cinTable[currentHandle].holdAtEnd = (systemBits & CIN_hold) != 0;
cinTable[currentHandle].alterGameState = (systemBits & CIN_system) != 0;
cinTable[currentHandle].playonwalls = 1;
cinTable[currentHandle].silent = (systemBits & CIN_silent) != 0;
cinTable[currentHandle].shader = (systemBits & CIN_shader) != 0;
if (cinTable[currentHandle].alterGameState) {
// close the menu
if ( uivm ) {
VM_Call( uivm, UI_SET_ACTIVE_MENU, UIMENU_NONE );
}
} else {
cinTable[currentHandle].playonwalls = cl_inGameVideo->integer;
}
initRoQ();
FS_Read (cin.file, 16, cinTable[currentHandle].iFile);
RoQID = (unsigned short)(cin.file[0]) + (unsigned short)(cin.file[1])*256;
if (RoQID == 0x1084)
{
RoQ_init();
// FS_Read (cin.file, cinTable[currentHandle].RoQFrameSize+8, cinTable[currentHandle].iFile);
cinTable[currentHandle].status = FMV_PLAY;
Com_DPrintf("trFMV::play(), playing %s\n", arg);
if (cinTable[currentHandle].alterGameState) {
clc.state = CA_CINEMATIC;
}
Con_Close();
if (!cinTable[currentHandle].silent) {
s_rawend[0] = s_soundtime;
}
return currentHandle;
}
Com_DPrintf("trFMV::play(), invalid RoQ ID\n");
RoQShutdown();
return -1;
}
void CIN_SetExtents (int handle, int x, int y, int w, int h) {
if (handle < 0 || handle>= MAX_VIDEO_HANDLES || cinTable[handle].status == FMV_EOF) return;
cinTable[handle].xpos = x;
cinTable[handle].ypos = y;
cinTable[handle].width = w;
cinTable[handle].height = h;
cinTable[handle].dirty = qtrue;
}
void CIN_SetLooping(int handle, qboolean loop) {
if (handle < 0 || handle>= MAX_VIDEO_HANDLES || cinTable[handle].status == FMV_EOF) return;
cinTable[handle].looping = loop;
}
/*
==================
CIN_ResampleCinematic
Resample cinematic to 256x256 and store in buf2
==================
*/
void CIN_ResampleCinematic(int handle, int *buf2) {
int ix, iy, *buf3, xm, ym, ll;
byte *buf;
buf = cinTable[handle].buf;
xm = cinTable[handle].CIN_WIDTH/256;
ym = cinTable[handle].CIN_HEIGHT/256;
ll = 8;
if (cinTable[handle].CIN_WIDTH==512) {
ll = 9;
}
buf3 = (int*)buf;
if (xm==2 && ym==2) {
byte *bc2, *bc3;
int ic, iiy;
bc2 = (byte *)buf2;
bc3 = (byte *)buf3;
for (iy = 0; iy<256; iy++) {
iiy = iy<<12;
for (ix = 0; ix<2048; ix+=8) {
for(ic = ix;ic<(ix+4);ic++) {
*bc2=(bc3[iiy+ic]+bc3[iiy+4+ic]+bc3[iiy+2048+ic]+bc3[iiy+2048+4+ic])>>2;
bc2++;
}
}
}
} else if (xm==2 && ym==1) {
byte *bc2, *bc3;
int ic, iiy;
bc2 = (byte *)buf2;
bc3 = (byte *)buf3;
for (iy = 0; iy<256; iy++) {
iiy = iy<<11;
for (ix = 0; ix<2048; ix+=8) {
for(ic = ix;ic<(ix+4);ic++) {
*bc2=(bc3[iiy+ic]+bc3[iiy+4+ic])>>1;
bc2++;
}
}
}
} else {
for (iy = 0; iy<256; iy++) {
for (ix = 0; ix<256; ix++) {
buf2[(iy<<8)+ix] = buf3[((iy*ym)<<ll) + (ix*xm)];
}
}
}
}
/*
==================
CIN_DrawCinematic
==================
*/
void CIN_DrawCinematic (int handle) {
float x, y, w, h;
byte *buf;
if (handle < 0 || handle>= MAX_VIDEO_HANDLES || cinTable[handle].status == FMV_EOF) return;
if (!cinTable[handle].buf) {
return;
}
x = cinTable[handle].xpos;
y = cinTable[handle].ypos;
w = cinTable[handle].width;
h = cinTable[handle].height;
buf = cinTable[handle].buf;
SCR_AdjustFrom640( &x, &y, &w, &h );
if (cinTable[handle].dirty && (cinTable[handle].CIN_WIDTH != cinTable[handle].drawX || cinTable[handle].CIN_HEIGHT != cinTable[handle].drawY)) {
int *buf2;
buf2 = Hunk_AllocateTempMemory( 256*256*4 );
CIN_ResampleCinematic(handle, buf2);
re.DrawStretchRaw( x, y, w, h, 256, 256, (byte *)buf2, handle, qtrue);
cinTable[handle].dirty = qfalse;
Hunk_FreeTempMemory(buf2);
return;
}
re.DrawStretchRaw( x, y, w, h, cinTable[handle].drawX, cinTable[handle].drawY, buf, handle, cinTable[handle].dirty);
cinTable[handle].dirty = qfalse;
}
void CL_PlayCinematic_f(void) {
char *arg, *s;
int bits = CIN_system;
Com_DPrintf("CL_PlayCinematic_f\n");
if (clc.state == CA_CINEMATIC) {
SCR_StopCinematic();
}
arg = Cmd_Argv( 1 );
s = Cmd_Argv(2);
if ((s && s[0] == '1') || Q_stricmp(arg,"demoend.roq")==0 || Q_stricmp(arg,"end.roq")==0) {
bits |= CIN_hold;
}
if (s && s[0] == '2') {
bits |= CIN_loop;
}
S_StopAllSounds ();
CL_handle = CIN_PlayCinematic( arg, 0, 0, SCREEN_WIDTH, SCREEN_HEIGHT, bits );
if (CL_handle >= 0) {
do {
SCR_RunCinematic();
} while (cinTable[currentHandle].buf == NULL && cinTable[currentHandle].status == FMV_PLAY); // wait for first frame (load codebook and sound)
}
}
void SCR_DrawCinematic (void) {
if (CL_handle >= 0 && CL_handle < MAX_VIDEO_HANDLES) {
CIN_DrawCinematic(CL_handle);
}
}
void SCR_RunCinematic (void)
{
if (CL_handle >= 0 && CL_handle < MAX_VIDEO_HANDLES) {
CIN_RunCinematic(CL_handle);
}
}
void SCR_StopCinematic(void) {
if (CL_handle >= 0 && CL_handle < MAX_VIDEO_HANDLES) {
CIN_StopCinematic(CL_handle);
S_StopAllSounds ();
CL_handle = -1;
}
}
void CIN_UploadCinematic(int handle) {
if (handle >= 0 && handle < MAX_VIDEO_HANDLES) {
if (!cinTable[handle].buf) {
return;
}
if (cinTable[handle].playonwalls <= 0 && cinTable[handle].dirty) {
if (cinTable[handle].playonwalls == 0) {
cinTable[handle].playonwalls = -1;
} else {
if (cinTable[handle].playonwalls == -1) {
cinTable[handle].playonwalls = -2;
} else {
cinTable[handle].dirty = qfalse;
}
}
}
// Resample the video if needed
if (cinTable[handle].dirty && (cinTable[handle].CIN_WIDTH != cinTable[handle].drawX || cinTable[handle].CIN_HEIGHT != cinTable[handle].drawY)) {
int *buf2;
buf2 = Hunk_AllocateTempMemory( 256*256*4 );
CIN_ResampleCinematic(handle, buf2);
re.UploadCinematic( cinTable[handle].CIN_WIDTH, cinTable[handle].CIN_HEIGHT, 256, 256, (byte *)buf2, handle, qtrue);
cinTable[handle].dirty = qfalse;
Hunk_FreeTempMemory(buf2);
} else {
// Upload video at normal resolution
re.UploadCinematic( cinTable[handle].CIN_WIDTH, cinTable[handle].CIN_HEIGHT, cinTable[handle].drawX, cinTable[handle].drawY,
cinTable[handle].buf, handle, cinTable[handle].dirty);
cinTable[handle].dirty = qfalse;
}
if (cl_inGameVideo->integer == 0 && cinTable[handle].playonwalls == 1) {
cinTable[handle].playonwalls--;
}
else if (cl_inGameVideo->integer != 0 && cinTable[handle].playonwalls != 1) {
cinTable[handle].playonwalls = 1;
}
}
}
```
|
```forth
*> \brief \b SLASCL2 performs diagonal scaling on a matrix.
*
* =========== DOCUMENTATION ===========
*
* Online html documentation available at
* path_to_url
*
*> \htmlonly
*> Download SLASCL2 + dependencies
*> <a href="path_to_url">
*> [TGZ]</a>
*> <a href="path_to_url">
*> [ZIP]</a>
*> <a href="path_to_url">
*> [TXT]</a>
*> \endhtmlonly
*
* Definition:
* ===========
*
* SUBROUTINE SLASCL2 ( M, N, D, X, LDX )
*
* .. Scalar Arguments ..
* INTEGER M, N, LDX
* ..
* .. Array Arguments ..
* REAL D( * ), X( LDX, * )
* ..
*
*
*> \par Purpose:
* =============
*>
*> \verbatim
*>
*> SLASCL2 performs a diagonal scaling on a matrix:
*> x <-- D * x
*> where the diagonal matrix D is stored as a vector.
*>
*> Eventually to be replaced by BLAS_sge_diag_scale in the new BLAS
*> standard.
*> \endverbatim
*
* Arguments:
* ==========
*
*> \param[in] M
*> \verbatim
*> M is INTEGER
*> The number of rows of D and X. M >= 0.
*> \endverbatim
*>
*> \param[in] N
*> \verbatim
*> N is INTEGER
*> The number of columns of X. N >= 0.
*> \endverbatim
*>
*> \param[in] D
*> \verbatim
*> D is REAL array, length M
*> Diagonal matrix D, stored as a vector of length M.
*> \endverbatim
*>
*> \param[in,out] X
*> \verbatim
*> X is REAL array, dimension (LDX,N)
*> On entry, the matrix X to be scaled by D.
*> On exit, the scaled matrix.
*> \endverbatim
*>
*> \param[in] LDX
*> \verbatim
*> LDX is INTEGER
*> The leading dimension of the matrix X. LDX >= M.
*> \endverbatim
*
* Authors:
* ========
*
*> \author Univ. of Tennessee
*> \author Univ. of California Berkeley
*> \author Univ. of Colorado Denver
*> \author NAG Ltd.
*
*> \ingroup lascl2
*
* =====================================================================
SUBROUTINE SLASCL2 ( M, N, D, X, LDX )
*
* -- LAPACK computational routine --
* -- LAPACK is a software package provided by Univ. of Tennessee, --
* -- Univ. of California Berkeley, Univ. of Colorado Denver and NAG Ltd..--
*
* .. Scalar Arguments ..
INTEGER M, N, LDX
* ..
* .. Array Arguments ..
REAL D( * ), X( LDX, * )
* ..
*
* =====================================================================
*
* .. Local Scalars ..
INTEGER I, J
* ..
* .. Executable Statements ..
*
DO J = 1, N
DO I = 1, M
X( I, J ) = X( I, J ) * D( I )
END DO
END DO
RETURN
END
```
|
Christopher Sullivan (born April 18, 1965, in San Jose, California) is a retired U.S. soccer midfielder/forward and current soccer trainer and sports broadcaster.
Youth and college
Sullivan began playing soccer at a young age. When he was four he began playing with West Valley S.C. He attended and played soccer at NCAA Division II powerhouse University of Tampa. He was inducted into the University of Tampa Athletic Hall of Fame in October 2010. While playing for the University of Tampa, he earned a second-team Division II All American in 1986 and a first-team All American in 1987.
Professional career
His professional career spanned two continents and seven countries. He began his career in France with lower division clubs US Joué-lès-Tours and Le Touquet. In 1989, he was back in the U.S. with the Orlando Lions of the American Soccer League. He then returned to Europe, signing with Hungary club Raba ETO before moving to Swedish club Landskrona BoIS, Danish club Brøndby IF and German club Hertha BSC. He also spent time with the Mexican lower division club Yucatan. In 1995, he played for the San Francisco Bay Diablos in the USISL. During this time, he twice left active playing for family reasons. On February 1, 1997, Major League Soccer allocated Sullivan to the San Jose Clash. He played the 1997 season with The Clash. On November 6, 1997, MLS held an Expansion Draft. The Clash did not protect Sullivan, but neither Chicago nor Miami selected him. Despite this, the Clash traded Sullivan to the Miami Fusion for the third-round draft pick in two weeks later. He elected to retire rather than join the Fusion. However, he continued to play in the San Francisco Soccer Football League, including club El Farolito in 2003.
National team
He made his US Men's National Team debut while still in college. In 1987, he came on for Brian Bliss in a Presidents Cup game against Egypt in South Korea. He was a member of the 1990 FIFA World Cup U.S. team. In 1992, he played his last game for the U.S. national team in a 1–0 loss to Brazil.
Post-playing career
Since retiring from playing, Sullivan is now a soccer trainer but is probably more recognized for his soccer analyst work on television. He started as a sideline reporter for Fox Sports Bay Area covering the San Jose Earthquakes. He gained national exposure as a soccer analyst on Fox Soccer Channel's now defunct MLS Wrap. Sullivan's technical and tactical insight into the game, his encyclopedia-like recall of soccer history and his passionate delivery soon earned him a more permanent and prominent spot in the Fox Soccer Channel lineup.
He has served as the color commentator or analyst on countless Major League Soccer games as well as on the pre and post game shows for Fox Soccer Channel's Soccer Night in America featuring the Major League Soccer game of the week. Sullivan has worked virtually every level of game broadcast on Fox Soccer Channel in recent history including the FIFA Club World Cup, UEFA Champions League, UEFA Europa League, UEFA Super Cup, CONCACAF Champions League, United States Men's National Team games as well as Fox Soccer Channel's 2006 and 2010 FIFA World Cup previews. Sullivan has been an analyst for the last four World Cups. In 2014 Sullivan was the lead analyst for Yahoo Sports in Brazil and appeared on beIN Sports nightly shows from Rio de Janeiro. He covered the 2015 Copa America Chile and the 2016 Copa America Centenario in the U.S. for beIN Sports and worked as an in studio analyst for beIN Sports for both the 2017 Confederations Cup and 2018 FIFA World Cup Russia.
This year Sullivan will be covering his 5th World Cup in November 2022 in Doha, Qatar for beIN Sports.
References
External links
Sullivan interviewed on the Fighting Talker podcast:
1965 births
Living people
American expatriate men's soccer players
American expatriate soccer players in Germany
United States men's international soccer players
1990 FIFA World Cup players
American Soccer League (1988–89) players
Sportspeople from Redwood City, California
Soccer players from California
Orlando Lions players
Brøndby IF players
Hertha BSC players
San Francisco Bay Diablos players
San Jose Earthquakes players
Tampa Spartans men's soccer players
USISL players
Major League Soccer players
San Francisco Soccer Football League players
Men's association football forwards
Men's association football midfielders
American men's soccer players
US Joué-lès-Tours players
El Farolito SC players
American expatriate sportspeople in France
Expatriate men's footballers in France
Expatriate men's footballers in Hungary
American expatriate sportspeople in Hungary
American expatriate sportspeople in Sweden
Expatriate men's footballers in Sweden
Expatriate men's footballers in Mexico
American expatriate sportspeople in Mexico
|
Giovanni Maria Tamburini (flourished 17th century) was an Italian painter of the Baroque period.
Biography
He was initially a pupil of Pietro Faccini, and then of Guido Reni in Bologna. He painted for several of the churches in Bologna. He painted a St. Antony of Padua for the Hospital of Santa Maria della Morte, and an Annunciation for the Sanctuary of Santa Maria della Vita.
References
17th-century Italian painters
Italian male painters
Painters from Bologna
Italian Baroque painters
Italian engravers
Year of death missing
Year of birth missing
|
```smalltalk
using Microsoft.Bot.Builder.Integration.AspNet.Core;
using Microsoft.Bot.Builder.TraceExtensions;
using Microsoft.Bot.Connector.Authentication;
using Microsoft.Extensions.Logging;
namespace Microsoft.BotBuilderSamples
{
public class AdapterWithErrorHandler : CloudAdapter
{
public AdapterWithErrorHandler(BotFrameworkAuthentication auth, ILogger<IBotFrameworkHttpAdapter> logger)
: base(auth, logger)
{
OnTurnError = async (turnContext, exception) =>
{
// Log any leaked exception from the application.
// NOTE: In production environment, you should consider logging this to
// Azure Application Insights. Visit path_to_url to see how
// to add telemetry capture to your bot.
logger.LogError($"Exception caught : {exception.Message}");
// Send a catch-all apology to the user.
await turnContext.SendActivityAsync("Sorry, it looks like something went wrong.");
// Send a trace activity, which will be displayed in the Bot Framework Emulator
await turnContext.TraceActivityAsync("OnTurnError Trace", exception.Message, "path_to_url", "TurnError");
};
}
}
}
```
|
```java
package bobo.algo;
import java.util.Vector;
import java.util.Stack;
import java.util.LinkedList;
import java.util.Queue;
public class ShortestPath {
private Graph G; //
private int s; //
private boolean[] visited; // dfs
private int[] from; // , from[i]i
private int[] ord; // ord[i]i
// , , graphs
public ShortestPath(Graph graph, int s){
//
G = graph;
assert s >= 0 && s < G.V();
visited = new boolean[G.V()];
from = new int[G.V()];
ord = new int[G.V()];
for( int i = 0 ; i < G.V() ; i ++ ){
visited[i] = false;
from[i] = -1;
ord[i] = -1;
}
this.s = s;
// , s
Queue<Integer> q = new LinkedList<Integer>();
q.add(s);
visited[s] = true;
ord[s] = 0;
while( !q.isEmpty() ){
int v = q.remove();
for( int i : G.adj(v) )
if( !visited[i] ){
q.add(i);
visited[i] = true;
from[i] = v;
ord[i] = ord[v] + 1;
}
}
}
// sw
public boolean hasPath(int w){
assert w >= 0 && w < G.V();
return visited[w];
}
// sw, vec
public Vector<Integer> path(int w){
assert hasPath(w) ;
Stack<Integer> s = new Stack<Integer>();
// fromsw,
int p = w;
while( p != -1 ){
s.push(p);
p = from[p];
}
// , sw
Vector<Integer> res = new Vector<Integer>();
while( !s.empty() )
res.add( s.pop() );
return res;
}
// sw
public void showPath(int w){
assert hasPath(w) ;
Vector<Integer> vec = path(w);
for( int i = 0 ; i < vec.size() ; i ++ ){
System.out.print(vec.elementAt(i));
if( i == vec.size() - 1 )
System.out.println();
else
System.out.print(" -> ");
}
}
// sw
// sw-1
public int length(int w){
assert w >= 0 && w < G.V();
return ord[w];
}
}
```
|
Nomada fabriciana is a Palearctic species of nomad bee.
References
External links
Images representing Nomada fabriciana
Hymenoptera of Europe
Nomadinae
Insects described in 1767
Taxa named by Carl Linnaeus
Palearctic insects
|
```java
/**
*
*
* path_to_url
*
* Unless required by applicable law or agreed to in writing, software
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*/
package org.thingsboard.rule.engine.rest;
import com.datastax.oss.driver.api.core.uuid.Uuids;
import org.apache.http.HttpException;
import org.apache.http.HttpRequest;
import org.apache.http.HttpResponse;
import org.apache.http.config.SocketConfig;
import org.apache.http.impl.bootstrap.HttpServer;
import org.apache.http.impl.bootstrap.ServerBootstrap;
import org.apache.http.protocol.HttpContext;
import org.apache.http.protocol.HttpRequestHandler;
import org.junit.jupiter.api.AfterEach;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.extension.ExtendWith;
import org.junit.jupiter.params.provider.Arguments;
import org.mockito.ArgumentCaptor;
import org.mockito.Mock;
import org.mockito.Spy;
import org.mockito.junit.jupiter.MockitoExtension;
import org.thingsboard.common.util.JacksonUtil;
import org.thingsboard.rule.engine.AbstractRuleNodeUpgradeTest;
import org.thingsboard.rule.engine.api.TbContext;
import org.thingsboard.rule.engine.api.TbNode;
import org.thingsboard.rule.engine.api.TbNodeConfiguration;
import org.thingsboard.rule.engine.api.TbNodeException;
import org.thingsboard.server.common.data.id.DeviceId;
import org.thingsboard.server.common.data.id.EntityId;
import org.thingsboard.server.common.data.id.RuleChainId;
import org.thingsboard.server.common.data.id.RuleNodeId;
import org.thingsboard.server.common.data.msg.TbMsgType;
import org.thingsboard.server.common.msg.TbMsg;
import org.thingsboard.server.common.msg.TbMsgDataType;
import org.thingsboard.server.common.msg.TbMsgMetaData;
import java.io.IOException;
import java.util.Collections;
import java.util.concurrent.CountDownLatch;
import java.util.concurrent.TimeUnit;
import java.util.stream.Stream;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertNotSame;
import static org.junit.jupiter.api.Assertions.assertTrue;
import static org.mockito.Mockito.verify;
@ExtendWith(MockitoExtension.class)
public class TbRestApiCallNodeTest extends AbstractRuleNodeUpgradeTest {
@Spy
private TbRestApiCallNode restNode;
@Mock
private TbContext ctx;
private EntityId originator = new DeviceId(Uuids.timeBased());
private TbMsgMetaData metaData = new TbMsgMetaData();
private RuleChainId ruleChainId = new RuleChainId(Uuids.timeBased());
private RuleNodeId ruleNodeId = new RuleNodeId(Uuids.timeBased());
private HttpServer server;
public void setupServer(String pattern, HttpRequestHandler handler) throws IOException {
SocketConfig config = SocketConfig.custom().setSoReuseAddress(true).setTcpNoDelay(true).build();
server = ServerBootstrap.bootstrap()
.setSocketConfig(config)
.registerHandler(pattern, handler)
.create();
server.start();
}
private void initWithConfig(TbRestApiCallNodeConfiguration config) {
try {
TbNodeConfiguration nodeConfiguration = new TbNodeConfiguration(JacksonUtil.valueToTree(config));
restNode = new TbRestApiCallNode();
restNode.init(ctx, nodeConfiguration);
} catch (TbNodeException ex) {
throw new IllegalStateException(ex);
}
}
@AfterEach
public void teardown() {
if (server != null) {
server.stop();
}
}
@Test
public void deleteRequestWithoutBody() throws IOException, InterruptedException {
final CountDownLatch latch = new CountDownLatch(1);
final String path = "/path/to/delete";
setupServer("*", new HttpRequestHandler() {
@Override
public void handle(HttpRequest request, HttpResponse response, HttpContext context)
throws HttpException, IOException {
try {
assertEquals(request.getRequestLine().getUri(), path, "Request path matches");
assertTrue(request.containsHeader("Foo"), "Custom header included");
assertEquals("Bar", request.getFirstHeader("Foo").getValue(), "Custom header value");
response.setStatusCode(200);
new Thread(new Runnable() {
@Override
public void run() {
try {
Thread.sleep(1000L);
} catch (InterruptedException e) {
// ignore
} finally {
latch.countDown();
}
}
}).start();
} catch (Exception e) {
System.out.println("Exception handling request: " + e.toString());
e.printStackTrace();
latch.countDown();
}
}
});
TbRestApiCallNodeConfiguration config = new TbRestApiCallNodeConfiguration().defaultConfiguration();
config.setRequestMethod("DELETE");
config.setHeaders(Collections.singletonMap("Foo", "Bar"));
config.setIgnoreRequestBody(true);
config.setRestEndpointUrlPattern(String.format("path_to_url", server.getLocalPort(), path));
initWithConfig(config);
TbMsg msg = TbMsg.newMsg(TbMsgType.POST_TELEMETRY_REQUEST, originator, metaData, TbMsgDataType.JSON, TbMsg.EMPTY_JSON_OBJECT, ruleChainId, ruleNodeId);
restNode.onMsg(ctx, msg);
assertTrue(latch.await(10, TimeUnit.SECONDS), "Server handled request");
ArgumentCaptor<TbMsg> msgCaptor = ArgumentCaptor.forClass(TbMsg.class);
ArgumentCaptor<TbMsgMetaData> metadataCaptor = ArgumentCaptor.forClass(TbMsgMetaData.class);
ArgumentCaptor<String> dataCaptor = ArgumentCaptor.forClass(String.class);
verify(ctx).transformMsg(msgCaptor.capture(), metadataCaptor.capture(), dataCaptor.capture());
assertNotSame(metaData, metadataCaptor.getValue());
assertEquals(TbMsg.EMPTY_JSON_OBJECT, dataCaptor.getValue());
}
@Test
public void deleteRequestWithBody() throws IOException, InterruptedException {
final CountDownLatch latch = new CountDownLatch(1);
final String path = "/path/to/delete";
setupServer("*", new HttpRequestHandler() {
@Override
public void handle(HttpRequest request, HttpResponse response, HttpContext context)
throws HttpException, IOException {
try {
assertEquals(path, request.getRequestLine().getUri(), "Request path matches");
assertTrue(request.containsHeader("Content-Type"), "Content-Type included");
assertEquals("application/json",
request.getFirstHeader("Content-Type").getValue(), "Content-Type value");
assertTrue(request.containsHeader("Content-Length"), "Content-Length included");
assertEquals("2",
request.getFirstHeader("Content-Length").getValue(), "Content-Length value");
assertTrue(request.containsHeader("Foo"), "Custom header included");
assertEquals("Bar", request.getFirstHeader("Foo").getValue(), "Custom header value");
response.setStatusCode(200);
new Thread(new Runnable() {
@Override
public void run() {
try {
Thread.sleep(1000L);
} catch (InterruptedException e) {
// ignore
} finally {
latch.countDown();
}
}
}).start();
} catch (Exception e) {
System.out.println("Exception handling request: " + e.toString());
e.printStackTrace();
latch.countDown();
}
}
});
TbRestApiCallNodeConfiguration config = new TbRestApiCallNodeConfiguration().defaultConfiguration();
config.setRequestMethod("DELETE");
config.setHeaders(Collections.singletonMap("Foo", "Bar"));
config.setIgnoreRequestBody(false);
config.setRestEndpointUrlPattern(String.format("path_to_url", server.getLocalPort(), path));
initWithConfig(config);
TbMsg msg = TbMsg.newMsg(TbMsgType.POST_TELEMETRY_REQUEST, originator, metaData, TbMsgDataType.JSON, TbMsg.EMPTY_JSON_OBJECT, ruleChainId, ruleNodeId);
restNode.onMsg(ctx, msg);
assertTrue(latch.await(10, TimeUnit.SECONDS), "Server handled request");
ArgumentCaptor<TbMsg> msgCaptor = ArgumentCaptor.forClass(TbMsg.class);
ArgumentCaptor<TbMsgMetaData> metadataCaptor = ArgumentCaptor.forClass(TbMsgMetaData.class);
ArgumentCaptor<String> dataCaptor = ArgumentCaptor.forClass(String.class);
verify(ctx).transformMsg(msgCaptor.capture(), metadataCaptor.capture(), dataCaptor.capture());
assertNotSame(metaData, metadataCaptor.getValue());
assertEquals(TbMsg.EMPTY_JSON_OBJECT, dataCaptor.getValue());
}
private static Stream<Arguments> your_sha256_hashfig() {
return Stream.of(
// config for version 2 with upgrade from version 0
Arguments.of(0,
"{\"restEndpointUrlPattern\":\"path_to_url",\"requestMethod\":\"POST\"," +
"\"useSimpleClientHttpFactory\":false,\"ignoreRequestBody\":false,\"enableProxy\":false," +
"\"useSystemProxyProperties\":false,\"proxyScheme\":null,\"proxyHost\":null,\"proxyPort\":0," +
"\"proxyUser\":null,\"proxyPassword\":null,\"readTimeoutMs\":0,\"maxParallelRequestsCount\":0," +
"\"headers\":{\"Content-Type\":\"application/json\"},\"useRedisQueueForMsgPersistence\":false," +
"\"trimQueue\":null,\"maxQueueSize\":null,\"credentials\":{\"type\":\"anonymous\"},\"trimDoubleQuotes\":false}",
true,
"{\"restEndpointUrlPattern\":\"path_to_url",\"requestMethod\": \"POST\"," +
"\"useSimpleClientHttpFactory\": false,\"parseToPlainText\": false,\"ignoreRequestBody\": false," +
"\"enableProxy\": false,\"useSystemProxyProperties\": false,\"proxyScheme\": null,\"proxyHost\": null," +
"\"proxyPort\": 0,\"proxyUser\": null,\"proxyPassword\": null,\"readTimeoutMs\": 0," +
"\"maxParallelRequestsCount\": 0,\"headers\": {\"Content-Type\": \"application/json\"}," +
"\"credentials\": {\"type\": \"anonymous\"}}"),
// config for version 2 with upgrade from version 1
Arguments.of(1,
"{\"restEndpointUrlPattern\":\"path_to_url",\"requestMethod\": \"POST\"," +
"\"useSimpleClientHttpFactory\": false,\"parseToPlainText\": false,\"ignoreRequestBody\": false," +
"\"enableProxy\": false,\"useSystemProxyProperties\": false,\"proxyScheme\": null,\"proxyHost\": null," +
"\"proxyPort\": 0,\"proxyUser\": null,\"proxyPassword\": null,\"readTimeoutMs\": 0," +
"\"maxParallelRequestsCount\": 0,\"headers\": {\"Content-Type\": \"application/json\"}," +
"\"useRedisQueueForMsgPersistence\": false,\"trimQueue\": null,\"maxQueueSize\": null," +
"\"credentials\": {\"type\": \"anonymous\"}}",
true,
"{\"restEndpointUrlPattern\":\"path_to_url",\"requestMethod\": \"POST\"," +
"\"useSimpleClientHttpFactory\": false,\"parseToPlainText\": false,\"ignoreRequestBody\": false," +
"\"enableProxy\": false,\"useSystemProxyProperties\": false,\"proxyScheme\": null,\"proxyHost\": null," +
"\"proxyPort\": 0,\"proxyUser\": null,\"proxyPassword\": null,\"readTimeoutMs\": 0," +
"\"maxParallelRequestsCount\": 0,\"headers\": {\"Content-Type\": \"application/json\"}," +
"\"credentials\": {\"type\": \"anonymous\"}}")
);
}
@Override
protected TbNode getTestNode() {
return restNode;
}
}
```
|
Joseph Alexander Landolina (born January 27, 1993) is an American inventor and biomedical engineer, who is known for starting his company Cresilon, Inc. (formerly Suneris, Inc.) at a young age.
Career
While an undergrad at NYU Poly, Landolina invented Vetigel, a substance intended for the treatment of wounds to skin, internal organs, and arteries. The gel can be used as a replacement for traditional gauze bandages. Landolina created the substance using the extracellular matrix matter from skin as a blueprint using plant-derived versions of polymers. In 2010, Landolina founded Suneris, Inc. with business partner Isaac Miller. Landolina is also a 2014 TED Fellow and received the Barry M. Goldwater Scholarship in 2013 for his work in the field of biomaterials.
Personal life and education
Landolina is Italian-American, and was born in Pine Bush in Ulster County, New York. As a child, he learned about chemistry from his grandfather at their family's winery, Baldwin Vineyards. He graduated from Pine Bush High School in 2010 before attending New York University Polytechnic School of Engineering. As of 2015, he has a bachelor's degree in Chemical and Biomolecular Engineering and a master's degree in Biomedical Engineering from New York University.
References
External links
Interviews
Video of interview, Tyler Mathisen, CNBC Dec. 23, 2014
Video of Interview, Melissa Francis, Fox Business Network Nov. 26, 2014
1993 births
Living people
American chief executives
American bioengineers
Chief executives in the pharmaceutical industry
Polytechnic Institute of New York University alumni
21st-century American engineers
American people of Italian descent
21st-century American inventors
|
The Gardiner Chair of Music at the University of Glasgow was founded in 1928 and endowed by the gift of William Guthrie Gardiner and Sir Frederick Crombie Gardiner, shipowners in Glasgow. The chair was previously a joint appointment with the directorship of the Scottish National Academy of Music (now the Royal Conservatoire of Scotland), although this practice ceased on the retirement of Sir Ernest Bullock in 1952. The current professor is John Butt.
History
The Chair of Music was established in 1928 with funds provided by brothers William and Sir Frederick Gardiner, Glasgow shipping merchants. The brothers endowed a number of other appointments at the university, including chairs in physiological chemistry (now biochemistry), bacteriology (now immunology) and organic chemistry (now chemistry), and the Gardiner Institute of Medicine.
William Whittaker was the first man appointed to the chair, in 1930. Whittaker had originally intended studying science but switched to music, and taught at Armstrong College of Durham University before his appointment to the chair. Whittaker expanded the teaching of music in the university such that full degrees became awardable. During this time he was also principal of the Scottish National Academy of Music. He retired in 1941 and died in 1944. His successor, Sir Ernest Bullock, was also from Durham. He was a composer of church music, and had been organist at Westminster Abbey, where he was musical director of the coronation of King George VI and Queen Elizabeth. He was appointed to the chair in 1941, and received a knighthood in 1951 in recognition of his services to music in Scotland. He resigned in 1952 to become Director of the Royal College of Music.
One Glasgow professor left to the Royal College of Music, but one was soon sent back in the form of Robin Orr, Professor of Theory and Composition at the college, appointed to the chair in 1956. He was from Brechin, Angus, although was in fact adopted and originally of Swiss nationality. He was a noted composer, writing three operas and three symphonies alongside other works. He had previously been organist of St John's College, Cambridge, and it was to Cambridge that he returned in 1964 as the Professor of Music. He was chair of Scottish Opera from 1962 to 1976 and director of Welsh National Opera from 1971 to 1983, and was awarded a CBE in 1972.
In 1966, Frederick Rimmer was appointed to the chair. Rimmer had previously lectured in music at Homerton College, Cambridge, before moving to Glasgow as Cramb Lecturer in Music in 1951. In 1954 he was appointed university organist, and in 1956 became senior lecturer in music, before his appointment to the chair in 1966. Between 1968 and 1980, Rimmer was director of Scottish Opera. He retired in 1980, at which time he received a CBE. He was succeeded the same year by Hugh Macdonald, a lecturer in music at St John's College, Oxford, and noted scholar of Hector Berlioz. He resigned in 1987 on his appointment as Avis Blewett Professor of Music at Washington University in St. Louis. In 1990, Graham Hair, Head of Composition at Sydney Conservatorium of Music, was appointed to the chair. Hair is primarily a composer for women's voices, and following his retirement in 2001 remains Emeritus Professor and Honorary Research Fellow in the Science and Music Research Group.
In 2001, John Butt, a noted Bach scholar, was appointed to the chair. Butt had previously lectured at the universities of Aberdeen, Cambridge and California, Berkeley. He has published extensively on the subject of Bach, and is also a successful conductor, his 2006 recording of Handel's Messiah with the Dunedin Consort winning the ClassicFM/Gramophone award in the Baroque Vocal Category in 2007 and the MIDEM award for Baroque Music in 2008. In March 2010, he was awarded the Royal Academy of Music/Kohn Foundation Bach Prize.
Gardiner Professors of Music
1930–1941: William Gillies Whittaker
1941–1952: Sir Ernest Bullock CVO
1956–1964: Robert Kemsley "Robin" Orr
1966–1980: Frederick William Rimmer CBE
1980–1987: Hugh John Macdonald
1990–2001: Graham Barry Hair
2001–present: John Anthony Butt OBE FBA FRSE
See also
List of Professorships at the University of Glasgow
References
Professorships at the University of Glasgow
Professorships in music
1928 establishments in Scotland
|
Falki is a village in the administrative district of Gmina Gnojno, within Busko County, Świętokrzyskie Voivodeship, in south-central Poland. It lies approximately south-west of Gnojno, north-east of Busko-Zdrój, and south-east of the regional capital Kielce.
References
Villages in Busko County
|
```java
/*
* Bytecode Analysis Framework
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
*
* You should have received a copy of the GNU Lesser General Public
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
package edu.umd.cs.findbugs.ba;
public class ReturnPathDataflow extends Dataflow<ReturnPath, ReturnPathAnalysis> {
public ReturnPathDataflow(CFG cfg, ReturnPathAnalysis analysis) {
super(cfg, analysis);
}
}
```
|
Bill Cashmore (17 April 1961, Nottingham – 9 November 2017) was an English actor and playwright, as well as director and co-founder of the organisation Actors in Industry.
Acting
Cashmore attended Denstone College, Uttoxeter, and Downing College, Cambridge, where he read English. He started his acting career in the Cambridge Footlights and went on to have roles in The Bill, Casualty, All Creatures Great and Small, Fist of Fun, and other programmes.
Writer and playwright
Cashmore was a writer and performer for Gimme 5, the live ITV children's programme. He has written several plays with Andy Powrie, including Trip of A Lifetime, published by Samuel French, which has been performed around the world.
Cashmore wrote the following full-length plays and pantomimes: What's in a name?, Amber, Trip of a Lifetime, Time Please, A Breed Apart, Amy is Four, Unaccommodated, Bride or Groom?, Seating Plan, New Year's Resolution.
Cashmore wrote three one-act plays: Past Lives, Daughter, and Him, Her and Them. He also performed in two one-man shows, An Everyday Actor and Bill's Clothes.
Politics
In 2017, he was selected as the Green Party candidate for Chelsea and Fulham, where he stood for the parliament in the 2017 general election, finishing fourth with 1.9% of the vote.
Death
Cashmore died on 9 November 2017, aged 56.
References
External links
http://www.billcashmore.co.uk/
1961 births
2017 deaths
British male television actors
British dramatists and playwrights
British directors
British male dramatists and playwrights
Green Party of England and Wales parliamentary candidates
Male actors from Nottingham
Place of death missing
|
```css
/*!
* Font Awesome 4.3.0 by @davegandy - path_to_url - @fontawesome
*/
/* FONT PATH
* -------------------------- */
@font-face {
font-family: 'FontAwesome';
src: url('../images/fontawesome-webfont.eotv=4.3.eot');
src: url('../images/fontawesome-webfont.eot#iefix&v=4.3.eot') format('embedded-opentype'), url('../<>') format('woff2'), url('../images/fontawesome-webfont.woffv=4.3.woff') format('woff'), url('../images/fontawesome-webfont.ttfv=4.3.ttf') format('truetype'), url('../images/fontawesome-webfont.svgv=4.3.svg') format('svg');
font-weight: normal;
font-style: normal;
}
.fa {
display: inline-block;
font: normal normal normal 14px/1 FontAwesome;
font-size: inherit;
text-rendering: auto;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
transform: translate(0, 0);
}
/* makes the font 33% larger relative to the icon container */
.fa-lg {
font-size: 1.33333333em;
line-height: 0.75em;
vertical-align: -15%;
}
.fa-2x {
font-size: 2em;
}
.fa-3x {
font-size: 3em;
}
.fa-4x {
font-size: 4em;
}
.fa-5x {
font-size: 5em;
}
.fa-fw {
width: 1.28571429em;
text-align: center;
}
.fa-ul {
padding-left: 0;
margin-left: 2.14285714em;
list-style-type: none;
}
.fa-ul > li {
position: relative;
}
.fa-li {
position: absolute;
left: -2.14285714em;
width: 2.14285714em;
top: 0.14285714em;
text-align: center;
}
.fa-li.fa-lg {
left: -1.85714286em;
}
.fa-border {
padding: .2em .25em .15em;
border: solid 0.08em #eeeeee;
border-radius: .1em;
}
.pull-right {
float: right;
}
.pull-left {
float: left;
}
.fa.pull-left {
margin-right: .3em;
}
.fa.pull-right {
margin-left: .3em;
}
.fa-spin {
-webkit-animation: fa-spin 2s infinite linear;
animation: fa-spin 2s infinite linear;
}
.fa-pulse {
-webkit-animation: fa-spin 1s infinite steps(8);
animation: fa-spin 1s infinite steps(8);
}
@-webkit-keyframes fa-spin {
0% {
-webkit-transform: rotate(0deg);
transform: rotate(0deg);
}
100% {
-webkit-transform: rotate(359deg);
transform: rotate(359deg);
}
}
@keyframes fa-spin {
0% {
-webkit-transform: rotate(0deg);
transform: rotate(0deg);
}
100% {
-webkit-transform: rotate(359deg);
transform: rotate(359deg);
}
}
.fa-rotate-90 {
filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=1);
-webkit-transform: rotate(90deg);
-ms-transform: rotate(90deg);
transform: rotate(90deg);
}
.fa-rotate-180 {
filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=2);
-webkit-transform: rotate(180deg);
-ms-transform: rotate(180deg);
transform: rotate(180deg);
}
.fa-rotate-270 {
filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
-webkit-transform: rotate(270deg);
-ms-transform: rotate(270deg);
transform: rotate(270deg);
}
.fa-flip-horizontal {
filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1);
-webkit-transform: scale(-1, 1);
-ms-transform: scale(-1, 1);
transform: scale(-1, 1);
}
.fa-flip-vertical {
filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1);
-webkit-transform: scale(1, -1);
-ms-transform: scale(1, -1);
transform: scale(1, -1);
}
:root .fa-rotate-90,
:root .fa-rotate-180,
:root .fa-rotate-270,
:root .fa-flip-horizontal,
:root .fa-flip-vertical {
filter: none;
}
.fa-stack {
position: relative;
display: inline-block;
width: 2em;
height: 2em;
line-height: 2em;
vertical-align: middle;
}
.fa-stack-1x,
.fa-stack-2x {
position: absolute;
left: 0;
width: 100%;
text-align: center;
}
.fa-stack-1x {
line-height: inherit;
}
.fa-stack-2x {
font-size: 2em;
}
.fa-inverse {
color: #ffffff;
}
/* Font Awesome uses the Unicode Private Use Area (PUA) to ensure screen
readers do not read off random characters that represent icons */
.fa-glass:before {
content: "\f000";
}
.fa-music:before {
content: "\f001";
}
.fa-search:before {
content: "\f002";
}
.fa-envelope-o:before {
content: "\f003";
}
.fa-heart:before {
content: "\f004";
}
.fa-star:before {
content: "\f005";
}
.fa-star-o:before {
content: "\f006";
}
.fa-user:before {
content: "\f007";
}
.fa-film:before {
content: "\f008";
}
.fa-th-large:before {
content: "\f009";
}
.fa-th:before {
content: "\f00a";
}
.fa-th-list:before {
content: "\f00b";
}
.fa-check:before {
content: "\f00c";
}
.fa-remove:before,
.fa-close:before,
.fa-times:before {
content: "\f00d";
}
.fa-search-plus:before {
content: "\f00e";
}
.fa-search-minus:before {
content: "\f010";
}
.fa-power-off:before {
content: "\f011";
}
.fa-signal:before {
content: "\f012";
}
.fa-gear:before,
.fa-cog:before {
content: "\f013";
}
.fa-trash-o:before {
content: "\f014";
}
.fa-home:before {
content: "\f015";
}
.fa-file-o:before {
content: "\f016";
}
.fa-clock-o:before {
content: "\f017";
}
.fa-road:before {
content: "\f018";
}
.fa-download:before {
content: "\f019";
}
.fa-arrow-circle-o-down:before {
content: "\f01a";
}
.fa-arrow-circle-o-up:before {
content: "\f01b";
}
.fa-inbox:before {
content: "\f01c";
}
.fa-play-circle-o:before {
content: "\f01d";
}
.fa-rotate-right:before,
.fa-repeat:before {
content: "\f01e";
}
.fa-refresh:before {
content: "\f021";
}
.fa-list-alt:before {
content: "\f022";
}
.fa-lock:before {
content: "\f023";
}
.fa-flag:before {
content: "\f024";
}
.fa-headphones:before {
content: "\f025";
}
.fa-volume-off:before {
content: "\f026";
}
.fa-volume-down:before {
content: "\f027";
}
.fa-volume-up:before {
content: "\f028";
}
.fa-qrcode:before {
content: "\f029";
}
.fa-barcode:before {
content: "\f02a";
}
.fa-tag:before {
content: "\f02b";
}
.fa-tags:before {
content: "\f02c";
}
.fa-book:before {
content: "\f02d";
}
.fa-bookmark:before {
content: "\f02e";
}
.fa-print:before {
content: "\f02f";
}
.fa-camera:before {
content: "\f030";
}
.fa-font:before {
content: "\f031";
}
.fa-bold:before {
content: "\f032";
}
.fa-italic:before {
content: "\f033";
}
.fa-text-height:before {
content: "\f034";
}
.fa-text-width:before {
content: "\f035";
}
.fa-align-left:before {
content: "\f036";
}
.fa-align-center:before {
content: "\f037";
}
.fa-align-right:before {
content: "\f038";
}
.fa-align-justify:before {
content: "\f039";
}
.fa-list:before {
content: "\f03a";
}
.fa-dedent:before,
.fa-outdent:before {
content: "\f03b";
}
.fa-indent:before {
content: "\f03c";
}
.fa-video-camera:before {
content: "\f03d";
}
.fa-photo:before,
.fa-image:before,
.fa-picture-o:before {
content: "\f03e";
}
.fa-pencil:before {
content: "\f040";
}
.fa-map-marker:before {
content: "\f041";
}
.fa-adjust:before {
content: "\f042";
}
.fa-tint:before {
content: "\f043";
}
.fa-edit:before,
.fa-pencil-square-o:before {
content: "\f044";
}
.fa-share-square-o:before {
content: "\f045";
}
.fa-check-square-o:before {
content: "\f046";
}
.fa-arrows:before {
content: "\f047";
}
.fa-step-backward:before {
content: "\f048";
}
.fa-fast-backward:before {
content: "\f049";
}
.fa-backward:before {
content: "\f04a";
}
.fa-play:before {
content: "\f04b";
}
.fa-pause:before {
content: "\f04c";
}
.fa-stop:before {
content: "\f04d";
}
.fa-forward:before {
content: "\f04e";
}
.fa-fast-forward:before {
content: "\f050";
}
.fa-step-forward:before {
content: "\f051";
}
.fa-eject:before {
content: "\f052";
}
.fa-chevron-left:before {
content: "\f053";
}
.fa-chevron-right:before {
content: "\f054";
}
.fa-plus-circle:before {
content: "\f055";
}
.fa-minus-circle:before {
content: "\f056";
}
.fa-times-circle:before {
content: "\f057";
}
.fa-check-circle:before {
content: "\f058";
}
.fa-question-circle:before {
content: "\f059";
}
.fa-info-circle:before {
content: "\f05a";
}
.fa-crosshairs:before {
content: "\f05b";
}
.fa-times-circle-o:before {
content: "\f05c";
}
.fa-check-circle-o:before {
content: "\f05d";
}
.fa-ban:before {
content: "\f05e";
}
.fa-arrow-left:before {
content: "\f060";
}
.fa-arrow-right:before {
content: "\f061";
}
.fa-arrow-up:before {
content: "\f062";
}
.fa-arrow-down:before {
content: "\f063";
}
.fa-mail-forward:before,
.fa-share:before {
content: "\f064";
}
.fa-expand:before {
content: "\f065";
}
.fa-compress:before {
content: "\f066";
}
.fa-plus:before {
content: "\f067";
}
.fa-minus:before {
content: "\f068";
}
.fa-asterisk:before {
content: "\f069";
}
.fa-exclamation-circle:before {
content: "\f06a";
}
.fa-gift:before {
content: "\f06b";
}
.fa-leaf:before {
content: "\f06c";
}
.fa-fire:before {
content: "\f06d";
}
.fa-eye:before {
content: "\f06e";
}
.fa-eye-slash:before {
content: "\f070";
}
.fa-warning:before,
.fa-exclamation-triangle:before {
content: "\f071";
}
.fa-plane:before {
content: "\f072";
}
.fa-calendar:before {
content: "\f073";
}
.fa-random:before {
content: "\f074";
}
.fa-comment:before {
content: "\f075";
}
.fa-magnet:before {
content: "\f076";
}
.fa-chevron-up:before {
content: "\f077";
}
.fa-chevron-down:before {
content: "\f078";
}
.fa-retweet:before {
content: "\f079";
}
.fa-shopping-cart:before {
content: "\f07a";
}
.fa-folder:before {
content: "\f07b";
}
.fa-folder-open:before {
content: "\f07c";
}
.fa-arrows-v:before {
content: "\f07d";
}
.fa-arrows-h:before {
content: "\f07e";
}
.fa-bar-chart-o:before,
.fa-bar-chart:before {
content: "\f080";
}
.fa-twitter-square:before {
content: "\f081";
}
.fa-facebook-square:before {
content: "\f082";
}
.fa-camera-retro:before {
content: "\f083";
}
.fa-key:before {
content: "\f084";
}
.fa-gears:before,
.fa-cogs:before {
content: "\f085";
}
.fa-comments:before {
content: "\f086";
}
.fa-thumbs-o-up:before {
content: "\f087";
}
.fa-thumbs-o-down:before {
content: "\f088";
}
.fa-star-half:before {
content: "\f089";
}
.fa-heart-o:before {
content: "\f08a";
}
.fa-sign-out:before {
content: "\f08b";
}
.fa-linkedin-square:before {
content: "\f08c";
}
.fa-thumb-tack:before {
content: "\f08d";
}
.fa-external-link:before {
content: "\f08e";
}
.fa-sign-in:before {
content: "\f090";
}
.fa-trophy:before {
content: "\f091";
}
.fa-github-square:before {
content: "\f092";
}
.fa-upload:before {
content: "\f093";
}
.fa-lemon-o:before {
content: "\f094";
}
.fa-phone:before {
content: "\f095";
}
.fa-square-o:before {
content: "\f096";
}
.fa-bookmark-o:before {
content: "\f097";
}
.fa-phone-square:before {
content: "\f098";
}
.fa-twitter:before {
content: "\f099";
}
.fa-facebook-f:before,
.fa-facebook:before {
content: "\f09a";
}
.fa-github:before {
content: "\f09b";
}
.fa-unlock:before {
content: "\f09c";
}
.fa-credit-card:before {
content: "\f09d";
}
.fa-rss:before {
content: "\f09e";
}
.fa-hdd-o:before {
content: "\f0a0";
}
.fa-bullhorn:before {
content: "\f0a1";
}
.fa-bell:before {
content: "\f0f3";
}
.fa-certificate:before {
content: "\f0a3";
}
.fa-hand-o-right:before {
content: "\f0a4";
}
.fa-hand-o-left:before {
content: "\f0a5";
}
.fa-hand-o-up:before {
content: "\f0a6";
}
.fa-hand-o-down:before {
content: "\f0a7";
}
.fa-arrow-circle-left:before {
content: "\f0a8";
}
.fa-arrow-circle-right:before {
content: "\f0a9";
}
.fa-arrow-circle-up:before {
content: "\f0aa";
}
.fa-arrow-circle-down:before {
content: "\f0ab";
}
.fa-globe:before {
content: "\f0ac";
}
.fa-wrench:before {
content: "\f0ad";
}
.fa-tasks:before {
content: "\f0ae";
}
.fa-filter:before {
content: "\f0b0";
}
.fa-briefcase:before {
content: "\f0b1";
}
.fa-arrows-alt:before {
content: "\f0b2";
}
.fa-group:before,
.fa-users:before {
content: "\f0c0";
}
.fa-chain:before,
.fa-link:before {
content: "\f0c1";
}
.fa-cloud:before {
content: "\f0c2";
}
.fa-flask:before {
content: "\f0c3";
}
.fa-cut:before,
.fa-scissors:before {
content: "\f0c4";
}
.fa-copy:before,
.fa-files-o:before {
content: "\f0c5";
}
.fa-paperclip:before {
content: "\f0c6";
}
.fa-save:before,
.fa-floppy-o:before {
content: "\f0c7";
}
.fa-square:before {
content: "\f0c8";
}
.fa-navicon:before,
.fa-reorder:before,
.fa-bars:before {
content: "\f0c9";
}
.fa-list-ul:before {
content: "\f0ca";
}
.fa-list-ol:before {
content: "\f0cb";
}
.fa-strikethrough:before {
content: "\f0cc";
}
.fa-underline:before {
content: "\f0cd";
}
.fa-table:before {
content: "\f0ce";
}
.fa-magic:before {
content: "\f0d0";
}
.fa-truck:before {
content: "\f0d1";
}
.fa-pinterest:before {
content: "\f0d2";
}
.fa-pinterest-square:before {
content: "\f0d3";
}
.fa-google-plus-square:before {
content: "\f0d4";
}
.fa-google-plus:before {
content: "\f0d5";
}
.fa-money:before {
content: "\f0d6";
}
.fa-caret-down:before {
content: "\f0d7";
}
.fa-caret-up:before {
content: "\f0d8";
}
.fa-caret-left:before {
content: "\f0d9";
}
.fa-caret-right:before {
content: "\f0da";
}
.fa-columns:before {
content: "\f0db";
}
.fa-unsorted:before,
.fa-sort:before {
content: "\f0dc";
}
.fa-sort-down:before,
.fa-sort-desc:before {
content: "\f0dd";
}
.fa-sort-up:before,
.fa-sort-asc:before {
content: "\f0de";
}
.fa-envelope:before {
content: "\f0e0";
}
.fa-linkedin:before {
content: "\f0e1";
}
.fa-rotate-left:before,
.fa-undo:before {
content: "\f0e2";
}
.fa-legal:before,
.fa-gavel:before {
content: "\f0e3";
}
.fa-dashboard:before,
.fa-tachometer:before {
content: "\f0e4";
}
.fa-comment-o:before {
content: "\f0e5";
}
.fa-comments-o:before {
content: "\f0e6";
}
.fa-flash:before,
.fa-bolt:before {
content: "\f0e7";
}
.fa-sitemap:before {
content: "\f0e8";
}
.fa-umbrella:before {
content: "\f0e9";
}
.fa-paste:before,
.fa-clipboard:before {
content: "\f0ea";
}
.fa-lightbulb-o:before {
content: "\f0eb";
}
.fa-exchange:before {
content: "\f0ec";
}
.fa-cloud-download:before {
content: "\f0ed";
}
.fa-cloud-upload:before {
content: "\f0ee";
}
.fa-user-md:before {
content: "\f0f0";
}
.fa-stethoscope:before {
content: "\f0f1";
}
.fa-suitcase:before {
content: "\f0f2";
}
.fa-bell-o:before {
content: "\f0a2";
}
.fa-coffee:before {
content: "\f0f4";
}
.fa-cutlery:before {
content: "\f0f5";
}
.fa-file-text-o:before {
content: "\f0f6";
}
.fa-building-o:before {
content: "\f0f7";
}
.fa-hospital-o:before {
content: "\f0f8";
}
.fa-ambulance:before {
content: "\f0f9";
}
.fa-medkit:before {
content: "\f0fa";
}
.fa-fighter-jet:before {
content: "\f0fb";
}
.fa-beer:before {
content: "\f0fc";
}
.fa-h-square:before {
content: "\f0fd";
}
.fa-plus-square:before {
content: "\f0fe";
}
.fa-angle-double-left:before {
content: "\f100";
}
.fa-angle-double-right:before {
content: "\f101";
}
.fa-angle-double-up:before {
content: "\f102";
}
.fa-angle-double-down:before {
content: "\f103";
}
.fa-angle-left:before {
content: "\f104";
}
.fa-angle-right:before {
content: "\f105";
}
.fa-angle-up:before {
content: "\f106";
}
.fa-angle-down:before {
content: "\f107";
}
.fa-desktop:before {
content: "\f108";
}
.fa-laptop:before {
content: "\f109";
}
.fa-tablet:before {
content: "\f10a";
}
.fa-mobile-phone:before,
.fa-mobile:before {
content: "\f10b";
}
.fa-circle-o:before {
content: "\f10c";
}
.fa-quote-left:before {
content: "\f10d";
}
.fa-quote-right:before {
content: "\f10e";
}
.fa-spinner:before {
content: "\f110";
}
.fa-circle:before {
content: "\f111";
}
.fa-mail-reply:before,
.fa-reply:before {
content: "\f112";
}
.fa-github-alt:before {
content: "\f113";
}
.fa-folder-o:before {
content: "\f114";
}
.fa-folder-open-o:before {
content: "\f115";
}
.fa-smile-o:before {
content: "\f118";
}
.fa-frown-o:before {
content: "\f119";
}
.fa-meh-o:before {
content: "\f11a";
}
.fa-gamepad:before {
content: "\f11b";
}
.fa-keyboard-o:before {
content: "\f11c";
}
.fa-flag-o:before {
content: "\f11d";
}
.fa-flag-checkered:before {
content: "\f11e";
}
.fa-terminal:before {
content: "\f120";
}
.fa-code:before {
content: "\f121";
}
.fa-mail-reply-all:before,
.fa-reply-all:before {
content: "\f122";
}
.fa-star-half-empty:before,
.fa-star-half-full:before,
.fa-star-half-o:before {
content: "\f123";
}
.fa-location-arrow:before {
content: "\f124";
}
.fa-crop:before {
content: "\f125";
}
.fa-code-fork:before {
content: "\f126";
}
.fa-unlink:before,
.fa-chain-broken:before {
content: "\f127";
}
.fa-question:before {
content: "\f128";
}
.fa-info:before {
content: "\f129";
}
.fa-exclamation:before {
content: "\f12a";
}
.fa-superscript:before {
content: "\f12b";
}
.fa-subscript:before {
content: "\f12c";
}
.fa-eraser:before {
content: "\f12d";
}
.fa-puzzle-piece:before {
content: "\f12e";
}
.fa-microphone:before {
content: "\f130";
}
.fa-microphone-slash:before {
content: "\f131";
}
.fa-shield:before {
content: "\f132";
}
.fa-calendar-o:before {
content: "\f133";
}
.fa-fire-extinguisher:before {
content: "\f134";
}
.fa-rocket:before {
content: "\f135";
}
.fa-maxcdn:before {
content: "\f136";
}
.fa-chevron-circle-left:before {
content: "\f137";
}
.fa-chevron-circle-right:before {
content: "\f138";
}
.fa-chevron-circle-up:before {
content: "\f139";
}
.fa-chevron-circle-down:before {
content: "\f13a";
}
.fa-html5:before {
content: "\f13b";
}
.fa-css3:before {
content: "\f13c";
}
.fa-anchor:before {
content: "\f13d";
}
.fa-unlock-alt:before {
content: "\f13e";
}
.fa-bullseye:before {
content: "\f140";
}
.fa-ellipsis-h:before {
content: "\f141";
}
.fa-ellipsis-v:before {
content: "\f142";
}
.fa-rss-square:before {
content: "\f143";
}
.fa-play-circle:before {
content: "\f144";
}
.fa-ticket:before {
content: "\f145";
}
.fa-minus-square:before {
content: "\f146";
}
.fa-minus-square-o:before {
content: "\f147";
}
.fa-level-up:before {
content: "\f148";
}
.fa-level-down:before {
content: "\f149";
}
.fa-check-square:before {
content: "\f14a";
}
.fa-pencil-square:before {
content: "\f14b";
}
.fa-external-link-square:before {
content: "\f14c";
}
.fa-share-square:before {
content: "\f14d";
}
.fa-compass:before {
content: "\f14e";
}
.fa-toggle-down:before,
.fa-caret-square-o-down:before {
content: "\f150";
}
.fa-toggle-up:before,
.fa-caret-square-o-up:before {
content: "\f151";
}
.fa-toggle-right:before,
.fa-caret-square-o-right:before {
content: "\f152";
}
.fa-euro:before,
.fa-eur:before {
content: "\f153";
}
.fa-gbp:before {
content: "\f154";
}
.fa-dollar:before,
.fa-usd:before {
content: "\f155";
}
.fa-rupee:before,
.fa-inr:before {
content: "\f156";
}
.fa-cny:before,
.fa-rmb:before,
.fa-yen:before,
.fa-jpy:before {
content: "\f157";
}
.fa-ruble:before,
.fa-rouble:before,
.fa-rub:before {
content: "\f158";
}
.fa-won:before,
.fa-krw:before {
content: "\f159";
}
.fa-bitcoin:before,
.fa-btc:before {
content: "\f15a";
}
.fa-file:before {
content: "\f15b";
}
.fa-file-text:before {
content: "\f15c";
}
.fa-sort-alpha-asc:before {
content: "\f15d";
}
.fa-sort-alpha-desc:before {
content: "\f15e";
}
.fa-sort-amount-asc:before {
content: "\f160";
}
.fa-sort-amount-desc:before {
content: "\f161";
}
.fa-sort-numeric-asc:before {
content: "\f162";
}
.fa-sort-numeric-desc:before {
content: "\f163";
}
.fa-thumbs-up:before {
content: "\f164";
}
.fa-thumbs-down:before {
content: "\f165";
}
.fa-youtube-square:before {
content: "\f166";
}
.fa-youtube:before {
content: "\f167";
}
.fa-xing:before {
content: "\f168";
}
.fa-xing-square:before {
content: "\f169";
}
.fa-youtube-play:before {
content: "\f16a";
}
.fa-dropbox:before {
content: "\f16b";
}
.fa-stack-overflow:before {
content: "\f16c";
}
.fa-instagram:before {
content: "\f16d";
}
.fa-flickr:before {
content: "\f16e";
}
.fa-adn:before {
content: "\f170";
}
.fa-bitbucket:before {
content: "\f171";
}
.fa-bitbucket-square:before {
content: "\f172";
}
.fa-tumblr:before {
content: "\f173";
}
.fa-tumblr-square:before {
content: "\f174";
}
.fa-long-arrow-down:before {
content: "\f175";
}
.fa-long-arrow-up:before {
content: "\f176";
}
.fa-long-arrow-left:before {
content: "\f177";
}
.fa-long-arrow-right:before {
content: "\f178";
}
.fa-apple:before {
content: "\f179";
}
.fa-windows:before {
content: "\f17a";
}
.fa-android:before {
content: "\f17b";
}
.fa-linux:before {
content: "\f17c";
}
.fa-dribbble:before {
content: "\f17d";
}
.fa-skype:before {
content: "\f17e";
}
.fa-foursquare:before {
content: "\f180";
}
.fa-trello:before {
content: "\f181";
}
.fa-female:before {
content: "\f182";
}
.fa-male:before {
content: "\f183";
}
.fa-gittip:before,
.fa-gratipay:before {
content: "\f184";
}
.fa-sun-o:before {
content: "\f185";
}
.fa-moon-o:before {
content: "\f186";
}
.fa-archive:before {
content: "\f187";
}
.fa-bug:before {
content: "\f188";
}
.fa-vk:before {
content: "\f189";
}
.fa-weibo:before {
content: "\f18a";
}
.fa-renren:before {
content: "\f18b";
}
.fa-pagelines:before {
content: "\f18c";
}
.fa-stack-exchange:before {
content: "\f18d";
}
.fa-arrow-circle-o-right:before {
content: "\f18e";
}
.fa-arrow-circle-o-left:before {
content: "\f190";
}
.fa-toggle-left:before,
.fa-caret-square-o-left:before {
content: "\f191";
}
.fa-dot-circle-o:before {
content: "\f192";
}
.fa-wheelchair:before {
content: "\f193";
}
.fa-vimeo-square:before {
content: "\f194";
}
.fa-turkish-lira:before,
.fa-try:before {
content: "\f195";
}
.fa-plus-square-o:before {
content: "\f196";
}
.fa-space-shuttle:before {
content: "\f197";
}
.fa-slack:before {
content: "\f198";
}
.fa-envelope-square:before {
content: "\f199";
}
.fa-wordpress:before {
content: "\f19a";
}
.fa-openid:before {
content: "\f19b";
}
.fa-institution:before,
.fa-bank:before,
.fa-university:before {
content: "\f19c";
}
.fa-mortar-board:before,
.fa-graduation-cap:before {
content: "\f19d";
}
.fa-yahoo:before {
content: "\f19e";
}
.fa-google:before {
content: "\f1a0";
}
.fa-reddit:before {
content: "\f1a1";
}
.fa-reddit-square:before {
content: "\f1a2";
}
.fa-stumbleupon-circle:before {
content: "\f1a3";
}
.fa-stumbleupon:before {
content: "\f1a4";
}
.fa-delicious:before {
content: "\f1a5";
}
.fa-digg:before {
content: "\f1a6";
}
.fa-pied-piper:before {
content: "\f1a7";
}
.fa-pied-piper-alt:before {
content: "\f1a8";
}
.fa-drupal:before {
content: "\f1a9";
}
.fa-joomla:before {
content: "\f1aa";
}
.fa-language:before {
content: "\f1ab";
}
.fa-fax:before {
content: "\f1ac";
}
.fa-building:before {
content: "\f1ad";
}
.fa-child:before {
content: "\f1ae";
}
.fa-paw:before {
content: "\f1b0";
}
.fa-spoon:before {
content: "\f1b1";
}
.fa-cube:before {
content: "\f1b2";
}
.fa-cubes:before {
content: "\f1b3";
}
.fa-behance:before {
content: "\f1b4";
}
.fa-behance-square:before {
content: "\f1b5";
}
.fa-steam:before {
content: "\f1b6";
}
.fa-steam-square:before {
content: "\f1b7";
}
.fa-recycle:before {
content: "\f1b8";
}
.fa-automobile:before,
.fa-car:before {
content: "\f1b9";
}
.fa-cab:before,
.fa-taxi:before {
content: "\f1ba";
}
.fa-tree:before {
content: "\f1bb";
}
.fa-spotify:before {
content: "\f1bc";
}
.fa-deviantart:before {
content: "\f1bd";
}
.fa-soundcloud:before {
content: "\f1be";
}
.fa-database:before {
content: "\f1c0";
}
.fa-file-pdf-o:before {
content: "\f1c1";
}
.fa-file-word-o:before {
content: "\f1c2";
}
.fa-file-excel-o:before {
content: "\f1c3";
}
.fa-file-powerpoint-o:before {
content: "\f1c4";
}
.fa-file-photo-o:before,
.fa-file-picture-o:before,
.fa-file-image-o:before {
content: "\f1c5";
}
.fa-file-zip-o:before,
.fa-file-archive-o:before {
content: "\f1c6";
}
.fa-file-sound-o:before,
.fa-file-audio-o:before {
content: "\f1c7";
}
.fa-file-movie-o:before,
.fa-file-video-o:before {
content: "\f1c8";
}
.fa-file-code-o:before {
content: "\f1c9";
}
.fa-vine:before {
content: "\f1ca";
}
.fa-codepen:before {
content: "\f1cb";
}
.fa-jsfiddle:before {
content: "\f1cc";
}
.fa-life-bouy:before,
.fa-life-buoy:before,
.fa-life-saver:before,
.fa-support:before,
.fa-life-ring:before {
content: "\f1cd";
}
.fa-circle-o-notch:before {
content: "\f1ce";
}
.fa-ra:before,
.fa-rebel:before {
content: "\f1d0";
}
.fa-ge:before,
.fa-empire:before {
content: "\f1d1";
}
.fa-git-square:before {
content: "\f1d2";
}
.fa-git:before {
content: "\f1d3";
}
.fa-hacker-news:before {
content: "\f1d4";
}
.fa-tencent-weibo:before {
content: "\f1d5";
}
.fa-qq:before {
content: "\f1d6";
}
.fa-wechat:before,
.fa-weixin:before {
content: "\f1d7";
}
.fa-send:before,
.fa-paper-plane:before {
content: "\f1d8";
}
.fa-send-o:before,
.fa-paper-plane-o:before {
content: "\f1d9";
}
.fa-history:before {
content: "\f1da";
}
.fa-genderless:before,
.fa-circle-thin:before {
content: "\f1db";
}
.fa-header:before {
content: "\f1dc";
}
.fa-paragraph:before {
content: "\f1dd";
}
.fa-sliders:before {
content: "\f1de";
}
.fa-share-alt:before {
content: "\f1e0";
}
.fa-share-alt-square:before {
content: "\f1e1";
}
.fa-bomb:before {
content: "\f1e2";
}
.fa-soccer-ball-o:before,
.fa-futbol-o:before {
content: "\f1e3";
}
.fa-tty:before {
content: "\f1e4";
}
.fa-binoculars:before {
content: "\f1e5";
}
.fa-plug:before {
content: "\f1e6";
}
.fa-slideshare:before {
content: "\f1e7";
}
.fa-twitch:before {
content: "\f1e8";
}
.fa-yelp:before {
content: "\f1e9";
}
.fa-newspaper-o:before {
content: "\f1ea";
}
.fa-wifi:before {
content: "\f1eb";
}
.fa-calculator:before {
content: "\f1ec";
}
.fa-paypal:before {
content: "\f1ed";
}
.fa-google-wallet:before {
content: "\f1ee";
}
.fa-cc-visa:before {
content: "\f1f0";
}
.fa-cc-mastercard:before {
content: "\f1f1";
}
.fa-cc-discover:before {
content: "\f1f2";
}
.fa-cc-amex:before {
content: "\f1f3";
}
.fa-cc-paypal:before {
content: "\f1f4";
}
.fa-cc-stripe:before {
content: "\f1f5";
}
.fa-bell-slash:before {
content: "\f1f6";
}
.fa-bell-slash-o:before {
content: "\f1f7";
}
.fa-trash:before {
content: "\f1f8";
}
.fa-copyright:before {
content: "\f1f9";
}
.fa-at:before {
content: "\f1fa";
}
.fa-eyedropper:before {
content: "\f1fb";
}
.fa-paint-brush:before {
content: "\f1fc";
}
.fa-birthday-cake:before {
content: "\f1fd";
}
.fa-area-chart:before {
content: "\f1fe";
}
.fa-pie-chart:before {
content: "\f200";
}
.fa-line-chart:before {
content: "\f201";
}
.fa-lastfm:before {
content: "\f202";
}
.fa-lastfm-square:before {
content: "\f203";
}
.fa-toggle-off:before {
content: "\f204";
}
.fa-toggle-on:before {
content: "\f205";
}
.fa-bicycle:before {
content: "\f206";
}
.fa-bus:before {
content: "\f207";
}
.fa-ioxhost:before {
content: "\f208";
}
.fa-angellist:before {
content: "\f209";
}
.fa-cc:before {
content: "\f20a";
}
.fa-shekel:before,
.fa-sheqel:before,
.fa-ils:before {
content: "\f20b";
}
.fa-meanpath:before {
content: "\f20c";
}
.fa-buysellads:before {
content: "\f20d";
}
.fa-connectdevelop:before {
content: "\f20e";
}
.fa-dashcube:before {
content: "\f210";
}
.fa-forumbee:before {
content: "\f211";
}
.fa-leanpub:before {
content: "\f212";
}
.fa-sellsy:before {
content: "\f213";
}
.fa-shirtsinbulk:before {
content: "\f214";
}
.fa-simplybuilt:before {
content: "\f215";
}
.fa-skyatlas:before {
content: "\f216";
}
.fa-cart-plus:before {
content: "\f217";
}
.fa-cart-arrow-down:before {
content: "\f218";
}
.fa-diamond:before {
content: "\f219";
}
.fa-ship:before {
content: "\f21a";
}
.fa-user-secret:before {
content: "\f21b";
}
.fa-motorcycle:before {
content: "\f21c";
}
.fa-street-view:before {
content: "\f21d";
}
.fa-heartbeat:before {
content: "\f21e";
}
.fa-venus:before {
content: "\f221";
}
.fa-mars:before {
content: "\f222";
}
.fa-mercury:before {
content: "\f223";
}
.fa-transgender:before {
content: "\f224";
}
.fa-transgender-alt:before {
content: "\f225";
}
.fa-venus-double:before {
content: "\f226";
}
.fa-mars-double:before {
content: "\f227";
}
.fa-venus-mars:before {
content: "\f228";
}
.fa-mars-stroke:before {
content: "\f229";
}
.fa-mars-stroke-v:before {
content: "\f22a";
}
.fa-mars-stroke-h:before {
content: "\f22b";
}
.fa-neuter:before {
content: "\f22c";
}
.fa-facebook-official:before {
content: "\f230";
}
.fa-pinterest-p:before {
content: "\f231";
}
.fa-whatsapp:before {
content: "\f232";
}
.fa-server:before {
content: "\f233";
}
.fa-user-plus:before {
content: "\f234";
}
.fa-user-times:before {
content: "\f235";
}
.fa-hotel:before,
.fa-bed:before {
content: "\f236";
}
.fa-viacoin:before {
content: "\f237";
}
.fa-train:before {
content: "\f238";
}
.fa-subway:before {
content: "\f239";
}
.fa-medium:before {
content: "\f23a";
}
```
|
```c++
/* -*- mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*- */
// vim: ft=cpp:expandtab:ts=8:sw=4:softtabstop=4:
#ident "$Id$"
/*
COPYING CONDITIONS NOTICE:
This program is free software; you can redistribute it and/or modify
published by the Free Software Foundation, and provided that the
following conditions are met:
* Redistributions of source code must retain this COPYING
CONDITIONS NOTICE, the COPYRIGHT NOTICE (below), the
DISCLAIMER (below), the UNIVERSITY PATENT NOTICE (below), the
PATENT MARKING NOTICE (below), and the PATENT RIGHTS
GRANT (below).
* Redistributions in binary form must reproduce this COPYING
CONDITIONS NOTICE, the COPYRIGHT NOTICE (below), the
DISCLAIMER (below), the UNIVERSITY PATENT NOTICE (below), the
PATENT MARKING NOTICE (below), and the PATENT RIGHTS
GRANT (below) in the documentation and/or other materials
provided with the distribution.
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
02110-1301, USA.
COPYRIGHT NOTICE:
TokuFT, Tokutek Fractal Tree Indexing Library.
DISCLAIMER:
This program is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
UNIVERSITY PATENT NOTICE:
The technology is licensed by the Massachusetts Institute of
Technology, Rutgers State University of New Jersey, and the Research
Foundation of State University of New York at Stony Brook under
United States of America Serial No. 11/760379 and to the patents
and/or patent applications resulting from it.
PATENT MARKING NOTICE:
This software is covered by US Patent No. 8,185,551.
This software is covered by US Patent No. 8,489,638.
PATENT RIGHTS GRANT:
"THIS IMPLEMENTATION" means the copyrightable works distributed by
Tokutek as part of the Fractal Tree project.
"PATENT CLAIMS" means the claims of patents that are owned or
licensable by Tokutek, both currently or in the future; and that in
the absence of this license would be infringed by THIS
IMPLEMENTATION or by using or running THIS IMPLEMENTATION.
"PATENT CHALLENGE" shall mean a challenge to the validity,
patentability, enforceability and/or non-infringement of any of the
PATENT CLAIMS or otherwise opposing any of the PATENT CLAIMS.
Tokutek hereby grants to you, for the term and geographical scope of
the PATENT CLAIMS, a non-exclusive, no-charge, royalty-free,
irrevocable (except as stated in this section) patent license to
make, have made, use, offer to sell, sell, import, transfer, and
otherwise run, modify, and propagate the contents of THIS
IMPLEMENTATION, where such license applies only to the PATENT
CLAIMS. This grant does not include claims that would be infringed
only as a consequence of further modifications of THIS
IMPLEMENTATION. If you or your agent or licensee institute or order
or agree to the institution of patent litigation against any entity
(including a cross-claim or counterclaim in a lawsuit) alleging that
THIS IMPLEMENTATION constitutes direct or contributory patent
infringement, or inducement of patent infringement, then any rights
such litigation is filed. If you or your agent or exclusive
licensee institute or order or agree to the institution of a PATENT
CHALLENGE, then Tokutek may terminate any rights granted to you
*/
#ident "The technology is licensed by the Massachusetts Institute of Technology, Rutgers State University of New Jersey, and the Research Foundation of State University of New York at Stony Brook under United States of America Serial No. 11/760379 and to the patents and/or patent applications resulting from it."
#include "cachetable/background_job_manager.h"
#include "test.h"
BACKGROUND_JOB_MANAGER bjm;
static void *finish_bjm(void *arg) {
bjm_wait_for_jobs_to_finish(bjm);
return arg;
}
static void bjm_test(void) {
int r = 0;
bjm = NULL;
bjm_init(&bjm);
// test simple add/remove of background job works
r = bjm_add_background_job(bjm);
assert_zero(r);
bjm_remove_background_job(bjm);
bjm_wait_for_jobs_to_finish(bjm);
// assert that you cannot add a background job
// without resetting bjm after waiting
// for finish
r = bjm_add_background_job(bjm);
assert(r != 0);
// test that after a reset, we can resume adding background jobs
bjm_reset(bjm);
r = bjm_add_background_job(bjm);
assert_zero(r);
bjm_remove_background_job(bjm);
bjm_wait_for_jobs_to_finish(bjm);
bjm_reset(bjm);
r = bjm_add_background_job(bjm);
assert_zero(r);
toku_pthread_t tid;
r = toku_pthread_create(&tid, NULL, finish_bjm, NULL);
assert_zero(r);
usleep(2*1024*1024);
// should return non-zero because tid is waiting
// for background jobs to finish
r = bjm_add_background_job(bjm);
assert(r != 0);
bjm_remove_background_job(bjm);
void *ret;
r = toku_pthread_join(tid, &ret);
assert_zero(r);
bjm_destroy(bjm);
}
int
test_main (int argc , const char *argv[]) {
default_parse_args(argc, argv);
bjm_test();
if (verbose) printf("test ok\n");
return 0;
}
```
|
Year 331 BC was a year of the pre-Julian Roman calendar. At the time, it was known as the Year of the Consulship of Potitus and Marcellus (or, less frequently, year 423 Ab urbe condita). The denomination 331 BC for this year has been used since the early medieval period, when the Anno Domini calendar era became the prevalent method in Europe for naming years.
Events
By place
Macedonia
Late January – Alexander the Great travels with a small bodyguard (among them is the future Egyptian ruler Ptolemy I Soter) along the coastal road of Egypt and reaches the settlement of Paraetonium on the borders of Cyrenaica. There, he receives a delegation of emissaries from Cyrene, who grants him a number of gifts including fine horses and chariots. Alexander concludes a treaty of peace and alliance with them. He turns inland from the Mediterranean and travels through the Libyan Desert to the Siwah Oasis, which he reaches in late February. Alexander consults the famous oracle and is pronounced the son of Zeus-Ammon as his true father.
Alexander departs from Egypt and leads his forces towards Phoenicia. He leaves Cleomenes of Naucratis as the ruling nomarch to control Egypt.
October 1 – Alexander is victorious in the Battle of Gaugamela (near ancient Ninevah) over the Persian King Darius III. Alexander pursues the defeated Persian forces to Arbela, Darius moves his Bactrian cavalry and Greek mercenaries into Media.
For the first time, Alexander encounters war elephants after the battle in Darius' camp. In the capital, Susa, Alexander gains access to huge treasures amounting to 50,000 gold talents (equivalent of today circa 77 billion USD).
Greece
While Alexander is fighting in Asia, Agis III of Sparta, profiting from the Macedonian king's absence from Greece, leads some of the Greek cities in a revolt. With Persian money and 8,000 Greek mercenaries, he holds Crete against Macedonian forces. In the Peloponnesus he routs a force under the Macedonian general Coragus and, although Athens stays neutral, he is joined by Elis, Achaea (except Pellene) and Arcadia, with the exception of Megalopolis, the staunchly anti-Spartan capital of Arcadia, which Agis III's forces besiege.
Alexander's regent Antipater leads the Macedonians to victory over King Agis III in the Battle of Megalopolis.
Italy
Alexander of Epirus takes Heraclea from the Lucanians, and Terina and Sipontum from the Bruttii.
Tarentum turns against Alexander of Epirus when they realize that he intends to create a kingdom of his own in southern Italy. Alexander is defeated and killed in the Battle of Pandosia on the banks of the Acheron.
Roman Republic
The Gallic tribe of the Senones and the Romans conclude a peace and enter upon a period of friendly relations which lasts the rest of the century.
Births
Deaths
Alexander I of Epirus, Aeacid dynasty king of Epirus (b. c. 370 BC)
Vahe, legendary king of Armenia and last of the Hyke dynasty
References
|
Prestbury is a census-designated place in Kane County, Illinois, United States. Per the 2020 census, the population was 1,657.
Demographics
2020 census
Note: the US Census treats Hispanic/Latino as an ethnic category. This table excludes Latinos from the racial categories and assigns them to a separate category. Hispanics/Latinos can be of any race.
References
Census-designated places in Kane County, Illinois
Census-designated places in Illinois
|
Brooke Elizabeth McLaurin, (born June 13, 1981) is an American beauty pageant titleholder from Eastover, North Carolina who was named Miss North Carolina 2005.
Biography
She won the title of Miss North Carolina on June 25, 2005, when she received her crown from outgoing titleholder Kirstin Elrod. At the age of 22, McLaurin was diagnosed with a brain tumor. After successful surgery to remove the tumor, she changed her platform to brain tumor awareness and research, and was able to raise $10,000 for brain tumor research. McLaurin is a graduate of Fayetteville State University. She accepted a position as a hostess on the Jewelry TV network and relocated to Knoxville, Tennessee in January 2015.
References
External links
Miss America 2006 delegates
1981 births
Living people
People from Fayetteville, North Carolina
Fayetteville State University alumni
American beauty pageant winners
Miss North Carolina winners
|
```css
`vh` and `vw`, `vmin` and `vmax`
`currentColor` improves code reusability
CSS Specificity
Hide the scrollbar in webkit browser
Select items using negative `nth-child`
```
|
```c
/*
Review OpenUsbLd README & LICENSE files for further details.
*/
#include "include/opl.h"
#include "include/util.h"
#include "include/ioman.h"
#include "include/sound.h"
#include <string.h>
// FIXME: We should not need this function.
// Use newlib's 'stat' to get GMT time.
#define NEWLIB_PORT_AWARE
#include <fileXio_rpc.h> // iox_stat_t, fileXioGetStat
int configGetStat(config_set_t *configSet, iox_stat_t *stat);
static u32 currentUID = 0;
static config_set_t configFiles[CONFIG_INDEX_COUNT];
static char legacyNetConfigPath[256] = "mc?:SYS-CONF/IPCONFIG.DAT";
static const char *configFilenames[CONFIG_INDEX_COUNT] = {
"conf_opl.cfg",
"conf_last.cfg",
"conf_apps.cfg",
"conf_network.cfg",
"conf_game.cfg",
};
static int strToColor(const char *string, unsigned char *color)
{
int cnt = 0, n = 0;
color[0] = 0;
color[1] = 0;
color[2] = 0;
if (!string || !*string)
return 0;
if (string[0] != '#')
return 0;
string++;
while (*string) {
int fh = fromHex(*string);
if (fh >= 0) {
color[n] = color[n] * 16 + fh;
} else {
break;
}
// Two characters per color
if (cnt == 1) {
cnt = 0;
n++;
} else {
cnt++;
}
string++;
}
return 1;
}
/// true if given a whitespace character
int isWS(char c)
{
return c == ' ' || c == '\t';
}
static int splitAssignment(char *line, char *key, size_t keymax, char *val, size_t valmax)
{
// skip whitespace
for (; isWS(*line); ++line)
;
// find "=".
// If found, the text before is key, after is val.
// Otherwise malformed string is encountered
char *eqpos = strchr(line, '=');
if (eqpos) {
// copy the name and the value
size_t keylen = min(keymax, eqpos - line);
strncpy(key, line, keylen);
eqpos++;
size_t vallen = min(valmax, strlen(line) - (eqpos - line));
strncpy(val, eqpos, vallen);
}
return (int)eqpos;
}
static int parsePrefix(char *line, char *prefix)
{
// find "=".
// If found, the text before is key, after is val.
// Otherwise malformed string is encountered
char *colpos = strchr(line, ':');
if (colpos && colpos != line) {
// copy the name and the value
strncpy(prefix, line, colpos - line);
prefix[colpos - line] = 0;
return 1;
} else {
return 0;
}
}
static int configKeyValidate(const char *key)
{
if (strlen(key) == 0)
return 0;
return !strchr(key, '=');
}
static struct config_value_t *allocConfigItem(const char *key, const char *val)
{
struct config_value_t *it = (struct config_value_t *)malloc(sizeof(struct config_value_t));
strncpy(it->key, key, sizeof(it->key));
it->key[sizeof(it->key) - 1] = '\0';
strncpy(it->val, val, sizeof(it->val));
it->val[sizeof(it->val) - 1] = '\0';
it->next = NULL;
return it;
}
/// Low level key addition. Does not check for uniqueness.
static void addConfigValue(config_set_t *configSet, const char *key, const char *val)
{
if (!configSet->tail) {
configSet->head = allocConfigItem(key, val);
configSet->tail = configSet->head;
} else {
configSet->tail->next = allocConfigItem(key, val);
configSet->tail = configSet->tail->next;
}
}
static struct config_value_t *getConfigItemForName(config_set_t *configSet, const char *name)
{
struct config_value_t *val = configSet->head;
while (val) {
if (strncmp(val->key, name, sizeof(val->key)) == 0)
break;
val = val->next;
}
return val;
}
static char cfgDevice[8];
char *configGetDir(void)
{
if (!strncmp(cfgDevice, "mc", 2)) {
cfgDevice[2] = getmcID();
}
char *path = cfgDevice;
return path;
}
void configPrepareNotifications(char *prefix)
{
char *colpos;
snprintf(cfgDevice, sizeof(cfgDevice), prefix);
if ((colpos = strchr(cfgDevice, ':')) != NULL)
*(colpos + 1) = '\0';
}
void configInit(char *prefix)
{
char path[256];
int i;
if (prefix)
snprintf(legacyNetConfigPath, sizeof(legacyNetConfigPath), "%s/IPCONFIG.DAT", prefix);
else
prefix = gBaseMCDir;
for (i = 0; i < CONFIG_INDEX_COUNT; i++) {
snprintf(path, sizeof(path), "%s/%s", prefix, configFilenames[i]);
configAlloc(1 << i, &configFiles[i], path);
}
configPrepareNotifications(prefix);
}
void configSetMove(char *prefix)
{
char path[256];
int i;
if (prefix)
snprintf(legacyNetConfigPath, sizeof(legacyNetConfigPath), "%s/IPCONFIG.DAT", prefix);
else
prefix = gBaseMCDir;
for (i = 0; i < CONFIG_INDEX_COUNT; i++) {
snprintf(path, sizeof(path), "%s/%s", prefix, configFilenames[i]);
configMove(&configFiles[i], path);
}
configPrepareNotifications(prefix);
}
void configEnd()
{
int index = 0;
while (index < CONFIG_INDEX_COUNT) {
config_set_t *configSet = &configFiles[index];
configClear(configSet);
free(configSet->filename);
configSet->filename = NULL;
index++;
}
}
config_set_t *configAlloc(int type, config_set_t *configSet, char *fileName)
{
if (!configSet)
configSet = (config_set_t *)malloc(sizeof(config_set_t));
configSet->uid = ++currentUID;
configSet->type = type;
configSet->head = NULL;
configSet->tail = NULL;
if (fileName) {
int length = strlen(fileName) + 1;
configSet->filename = (char *)malloc(length * sizeof(char));
memcpy(configSet->filename, fileName, length);
} else
configSet->filename = NULL;
configSet->modified = 0;
return configSet;
}
void configMove(config_set_t *configSet, const char *fileName)
{
int length = strlen(fileName) + 1;
configSet->filename = realloc(configSet->filename, length);
memcpy(configSet->filename, fileName, length);
}
void configFree(config_set_t *configSet)
{
configClear(configSet);
free(configSet->filename);
free(configSet);
}
config_set_t *configGetByType(int type)
{
int index = 0;
while (index < CONFIG_INDEX_COUNT) {
config_set_t *configSet = &configFiles[index];
if (configSet->type == type)
return configSet;
index++;
}
return NULL;
}
int configSetStr(config_set_t *configSet, const char *key, const char *value)
{
if (!configKeyValidate(key))
return 0;
struct config_value_t *it = getConfigItemForName(configSet, key);
if (it) {
if (strncmp(it->val, value, sizeof(it->val)) != 0) {
strncpy(it->val, value, sizeof(it->val));
it->val[sizeof(it->val) - 1] = '\0';
if (it->key[0] != '#')
configSet->modified = 1;
}
} else {
addConfigValue(configSet, key, value);
if (key[0] != '#')
configSet->modified = 1;
}
return 1;
}
// sets the value to point to the value str in the config. Do not overwrite - it will overwrite the string in config
int configGetStr(config_set_t *configSet, const char *key, const char **value)
{
if (!configKeyValidate(key))
return 0;
struct config_value_t *it = getConfigItemForName(configSet, key);
if (it) {
*value = it->val;
return 1;
} else
return 0;
}
int configGetStrCopy(config_set_t *configSet, const char *key, char *value, int length)
{
const char *valref = NULL;
if (configGetStr(configSet, key, &valref)) {
strncpy(value, valref, length);
value[length - 1] = '\0';
return 1;
} else {
value[0] = '\0';
return 0;
}
}
int configSetInt(config_set_t *configSet, const char *key, const int value)
{
char tmp[12];
snprintf(tmp, sizeof(tmp), "%d", value);
return configSetStr(configSet, key, tmp);
}
int configGetInt(config_set_t *configSet, const char *key, int *value)
{
const char *valref = NULL;
if (configGetStr(configSet, key, &valref)) {
*value = atoi(valref);
return 1;
} else {
return 0;
}
}
int configSetColor(config_set_t *configSet, const char *key, unsigned char *color)
{
char tmp[8];
snprintf(tmp, sizeof(tmp), "#%02X%02X%02X", color[0], color[1], color[2]);
return configSetStr(configSet, key, tmp);
}
int configGetColor(config_set_t *configSet, const char *key, unsigned char *color)
{
const char *valref = NULL;
if (configGetStr(configSet, key, &valref)) {
strToColor(valref, color);
return 1;
} else {
return 0;
}
}
int configRemoveKey(config_set_t *configSet, const char *key)
{
if (!configKeyValidate(key))
return 0;
struct config_value_t *val = configSet->head;
struct config_value_t *prev = NULL;
while (val) {
if (strncmp(val->key, key, sizeof(val->key)) == 0) {
if (key[0] != '#')
configSet->modified = 1;
if (val == configSet->tail)
configSet->tail = prev;
val = val->next;
if (prev) {
free(prev->next);
prev->next = val;
} else {
free(configSet->head);
configSet->head = val;
}
} else {
prev = val;
val = val->next;
}
}
return 1;
}
void configMerge(config_set_t *dest, const config_set_t *source)
{
struct config_value_t *val;
for (val = source->head; val != NULL; val = val->next) {
configSetStr(dest, val->key, val->val);
}
}
static int configReadLegacyIP(void)
{
config_set_t *configSet;
char temp[16];
int fd = openFile(legacyNetConfigPath, O_RDONLY);
if (fd >= 0) {
char ipconfig[256];
int size = getFileSize(fd);
read(fd, &ipconfig, size);
close(fd);
sscanf(ipconfig, "%d.%d.%d.%d %d.%d.%d.%d %d.%d.%d.%d", &ps2_ip[0], &ps2_ip[1], &ps2_ip[2], &ps2_ip[3],
&ps2_netmask[0], &ps2_netmask[1], &ps2_netmask[2], &ps2_netmask[3],
&ps2_gateway[0], &ps2_gateway[1], &ps2_gateway[2], &ps2_gateway[3]);
configSet = &configFiles[CONFIG_INDEX_NETWORK];
snprintf(temp, sizeof(temp), "%d.%d.%d.%d", ps2_ip[0], ps2_ip[1], ps2_ip[2], ps2_ip[3]);
configSetStr(configSet, CONFIG_NET_PS2_IP, temp);
snprintf(temp, sizeof(temp), "%d.%d.%d.%d", ps2_netmask[0], ps2_netmask[1], ps2_netmask[2], ps2_netmask[3]);
configSetStr(configSet, CONFIG_NET_PS2_NETM, temp);
snprintf(temp, sizeof(temp), "%d.%d.%d.%d", ps2_gateway[0], ps2_gateway[1], ps2_gateway[2], ps2_gateway[3]);
configSetStr(configSet, CONFIG_NET_PS2_GATEW, temp);
// The legacy format has no setting for the DNS server, so duplicate the gateway address.
configSetStr(configSet, CONFIG_NET_PS2_DNS, temp);
return 1;
}
return 0;
}
// dst has to have 5 bytes space
void configGetDiscIDBinary(config_set_t *configSet, void *dst)
{
memset(dst, 0, 5);
const char *gid = NULL;
if (configGetStr(configSet, CONFIG_ITEM_DNAS, &gid)) {
// convert from hex to binary
char *cdst = dst;
int p = 0;
while (*gid && p < 10) {
int dv = -1;
while (dv < 0 && *gid) // skip spaces, etc
dv = fromHex(*(gid++));
if (dv < 0)
break;
*cdst = *cdst * 16 + dv;
if ((++p & 1) == 0)
cdst++;
}
}
}
static int configReadFileBuffer(file_buffer_t *fileBuffer, config_set_t *configSet)
{
char *line;
unsigned int lineno = 0;
char prefix[CONFIG_KEY_NAME_LEN];
memset(prefix, 0, sizeof(prefix));
while (readFileBuffer(fileBuffer, &line)) {
lineno++;
char key[CONFIG_KEY_NAME_LEN], val[CONFIG_KEY_VALUE_LEN];
memset(key, 0, sizeof(key));
memset(val, 0, sizeof(val));
if (splitAssignment(line, key, sizeof(key), val, sizeof(val))) {
/* if the line does not start with whitespace,
* the prefix ends and we have to reset it
*/
if (!isWS(line[0]))
memset(prefix, 0, sizeof(prefix));
// insert config value
if (prefix[0]) {
// we have a prefix
char composedKey[CONFIG_KEY_NAME_LEN];
snprintf(composedKey, sizeof(composedKey), "%s_%s", prefix, key);
configSetStr(configSet, composedKey, val);
} else {
configSetStr(configSet, key, val);
}
} else if (parsePrefix(line, prefix)) {
// prefix is set, that's about it
} else {
LOG("CONFIG Malformed file '%s' line %d: '%s'\n", configSet->filename, lineno, line);
}
}
configSet->modified = 0;
return 1;
}
int configReadBuffer(config_set_t *configSet, const void *buffer, int size)
{
int ret;
file_buffer_t *fileBuffer = openFileBufferBuffer(0, buffer, size);
if (!fileBuffer) {
configSet->modified = 0;
return 0;
}
ret = configReadFileBuffer(fileBuffer, configSet);
closeFileBuffer(fileBuffer);
return ret;
}
int configRead(config_set_t *configSet)
{
int ret;
file_buffer_t *fileBuffer = openFileBuffer(configSet->filename, O_RDONLY, 0, 4096);
if (!fileBuffer) {
LOG("CONFIG No file %s.\n", configSet->filename);
configSet->modified = 0;
return 0;
}
ret = configReadFileBuffer(fileBuffer, configSet);
closeFileBuffer(fileBuffer);
return ret;
}
int configWrite(config_set_t *configSet)
{
if (configSet->modified) {
file_buffer_t *fileBuffer = openFileBuffer(configSet->filename, O_WRONLY | O_CREAT | O_TRUNC, 0, 4096);
if (fileBuffer) {
char line[512];
bgmMute();
struct config_value_t *cur = configSet->head;
while (cur) {
if ((cur->key[0] != '\0') && (cur->key[0] != '#')) {
snprintf(line, sizeof(line), "%s=%s\r\n", cur->key, cur->val); // add windows CR+LF (0x0D 0x0A)
writeFileBuffer(fileBuffer, line, strlen(line));
}
// and advance
cur = cur->next;
}
closeFileBuffer(fileBuffer);
configSet->modified = 0;
bgmUnMute();
return 1;
}
return 0;
}
return 1;
}
int configGetStat(config_set_t *configSet, iox_stat_t *stat)
{
return (fileXioGetStat(configSet->filename, stat) >= 0 ? 1 : 0);
}
void configClear(config_set_t *configSet)
{
while (configSet->head) {
struct config_value_t *cur = configSet->head;
configSet->head = cur->next;
free(cur);
}
configSet->head = NULL;
configSet->tail = NULL;
configSet->modified = 1;
}
int configReadMulti(int types)
{
int result = 0, index;
for (index = 0; index < CONFIG_INDEX_COUNT; index++) {
config_set_t *configSet = &configFiles[index];
if (configSet->type & types) {
configClear(configSet);
if (configRead(configSet))
result |= configSet->type;
}
}
// If the network configuration is to be loaded and one cannot be loaded, attempt to load from the legacy network config file.
if ((types & CONFIG_NETWORK) && !(result & CONFIG_NETWORK))
if (configReadLegacyIP())
result |= CONFIG_NETWORK;
return result;
}
int configWriteMulti(int types)
{
int result = 0, index;
for (index = 0; index < CONFIG_INDEX_COUNT; index++) {
config_set_t *configSet = &configFiles[index];
if (configSet->type & types)
result += configWrite(configSet);
}
return result;
}
void configGetVMC(config_set_t *configSet, char *vmc, int length, int slot)
{
char gkey[CONFIG_KEY_NAME_LEN];
snprintf(gkey, sizeof(gkey), "%s_%d", CONFIG_ITEM_VMC, slot);
configGetStrCopy(configSet, gkey, vmc, length);
}
void configSetVMC(config_set_t *configSet, const char *vmc, int slot)
{
char gkey[CONFIG_KEY_NAME_LEN];
if (vmc[0] == '\0') {
configRemoveVMC(configSet, slot);
return;
}
snprintf(gkey, sizeof(gkey), "%s_%d", CONFIG_ITEM_VMC, slot);
configSetStr(configSet, gkey, vmc);
}
void configRemoveVMC(config_set_t *configSet, int slot)
{
char gkey[CONFIG_KEY_NAME_LEN];
snprintf(gkey, sizeof(gkey), "%s_%d", CONFIG_ITEM_VMC, slot);
configRemoveKey(configSet, gkey);
}
```
|
Microbacterium immunditiarum is a Gram-positive and non-spore-forming bacterium from the genus Microbacterium which has been isolated from soil from a municipal landfill in Chandigarh, India.
References
External links
Type strain of Microbacterium immunditiarum at BacDive - the Bacterial Diversity Metadatabase
Bacteria described in 2012
immunditiarum
|
```java
package org.zerhusen.security;
import org.springframework.security.core.AuthenticationException;
import org.springframework.security.web.AuthenticationEntryPoint;
import org.springframework.stereotype.Component;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
@Component
public class JwtAuthenticationEntryPoint implements AuthenticationEntryPoint {
@Override
public void commence(HttpServletRequest request,
HttpServletResponse response,
AuthenticationException authException) throws IOException {
// This is invoked when user tries to access a secured REST resource without supplying any credentials
// We should just send a 401 Unauthorized response because there is no 'login page' to redirect to
// Here you can place any message you want
response.sendError(HttpServletResponse.SC_UNAUTHORIZED, authException.getMessage());
}
}
```
|
```objective-c
#ifndef HEADER_CURL_SCHANNEL_H
#define HEADER_CURL_SCHANNEL_H
/***************************************************************************
* _ _ ____ _
* Project ___| | | | _ \| |
* / __| | | | |_) | |
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
* are also available at path_to_url
*
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
* copies of the Software, and permit persons to whom the Software is
* furnished to do so, under the terms of the COPYING file.
*
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
* KIND, either express or implied.
*
***************************************************************************/
#include "curl_setup.h"
#ifdef USE_SCHANNEL
#include <schnlsp.h>
#include <schannel.h>
#include "curl_sspi.h"
#include "urldata.h"
/* <wincrypt.h> has been included via the above <schnlsp.h>.
* Or in case of ldap.c, it was included via <winldap.h>.
* And since <wincrypt.h> has this:
* #define X509_NAME ((LPCSTR) 7)
*
* And in BoringSSL's <openssl/base.h> there is:
* typedef struct X509_name_st X509_NAME;
* etc.
*
* this will cause all kinds of C-preprocessing paste errors in
* BoringSSL's <openssl/x509.h>: So just undefine those defines here
* (and only here).
*/
#if defined(HAVE_BORINGSSL) || defined(OPENSSL_IS_BORINGSSL)
# undef X509_NAME
# undef X509_CERT_PAIR
# undef X509_EXTENSIONS
#endif
extern const struct Curl_ssl Curl_ssl_schannel;
CURLcode Curl_verify_certificate(struct connectdata *conn, int sockindex);
/* structs to expose only in schannel.c and schannel_verify.c */
#ifdef EXPOSE_SCHANNEL_INTERNAL_STRUCTS
#ifdef __MINGW32__
#include <_mingw.h>
#ifdef __MINGW64_VERSION_MAJOR
#define HAS_MANUAL_VERIFY_API
#endif
#else
#include <wincrypt.h>
#ifdef CERT_CHAIN_REVOCATION_CHECK_CHAIN
#define HAS_MANUAL_VERIFY_API
#endif
#endif
struct curl_schannel_cred {
CredHandle cred_handle;
TimeStamp time_stamp;
int refcount;
};
struct curl_schannel_ctxt {
CtxtHandle ctxt_handle;
TimeStamp time_stamp;
};
struct ssl_backend_data {
struct curl_schannel_cred *cred;
struct curl_schannel_ctxt *ctxt;
SecPkgContext_StreamSizes stream_sizes;
size_t encdata_length, decdata_length;
size_t encdata_offset, decdata_offset;
unsigned char *encdata_buffer, *decdata_buffer;
/* encdata_is_incomplete: if encdata contains only a partial record that
can't be decrypted without another Curl_read_plain (that is, status is
SEC_E_INCOMPLETE_MESSAGE) then set this true. after Curl_read_plain writes
more bytes into encdata then set this back to false. */
bool encdata_is_incomplete;
unsigned long req_flags, ret_flags;
CURLcode recv_unrecoverable_err; /* schannel_recv had an unrecoverable err */
bool recv_sspi_close_notify; /* true if connection closed by close_notify */
bool recv_connection_closed; /* true if connection closed, regardless how */
bool use_alpn; /* true if ALPN is used for this connection */
#ifdef HAS_MANUAL_VERIFY_API
bool use_manual_cred_validation; /* true if manual cred validation is used */
#endif
};
#endif /* EXPOSE_SCHANNEL_INTERNAL_STRUCTS */
#endif /* USE_SCHANNEL */
#endif /* HEADER_CURL_SCHANNEL_H */
```
|
"Treat Her Like a Lady" is a song by American R&B singer Joe. It was written by Steve "Stone" Huff and Isaac Hayes and produced by Huff for Joe's third studio album My Name is Joe (2000). Released as the album's second single in May 2000, it reached number 63 on the US Billboard Hot 100 and number 15 on the Billboard Hot R&B/Hip-Hop Songs chart, becoming the album's lowest-charting single.
Track listings
Promo Version
"Treat Her Like A Lady" - 4:17
European 12" Promo Version
"Treat Her Like A Lady" - 4:17
"I'm Missing You" - 4:25
"Soon As I Get Paid" - 3:13
CD Single Version
"Treat Her Like A Lady" - 4:17
"I'm Missing You" - 4:25
Maxi Single Version
"Treat Her Like A Lady" - 4:17
"I'm Missing You" - 4:25
"Soon As I Get Paid" - 3:13
"No One Else Comes Close" - 3:50
Credits and personnel
Credits for "Treat Her Like a Lady" major single releases.
Andy Blakelock – engineer
Joel Campbell – producer
Tom Coyne - mastering engineer
Stephen George – mixing
Allen Gordon Jr. – producer
Jean-Marie Horvat – mixing
Steve "Stone" Huff – producer
Joe - featured artist, primary artist, vocals
Tim Kelley - producer
Andrew Lyn – mixing assistant
Angelo Qauglia – engineer
Bob Robinson – producer
Brian Smith – mixing, engineer
Jeff Vereb – engineer
Charts
Weekly charts
Year-end charts
Release history
References
2000 songs
2000 singles
Jive Records singles
Joe (singer) songs
Songs written by Isaac Hayes
|
Lukas Schmitz (born 13 October 1988) is a German professional footballer who plays as a left back.
Career
Schmitz began his career with TSG Sprockhövel. Here he scored 11 goals in 23 games during the 2006–07 season of the Verbandsliga Westfalen 2. In July 2007, he signed for VfL Bochum II. He played 36 games with the VfL Bochum reserve squad.
Schmitz transferred to nearby rivals Schalke 04 on 8 May 2009. He made his professional debut on 18 September 2009 in a match against VfL Wolfsburg. Schmitz used to play as a left midfielder or a defensive midfielder. In the 2010–11 season, he became the Schalke's main left fullback.
Schmitz signed a four-year contract with Werder Bremen on 17 June 2011. In 2014, he joined Fortuna Düsseldorf.
Later on, Schmitz went to Austria to play for Wolfsberger AC in 2018. In May 2020, he signed for VVV-Venlo to play there until June 2022, starting from 2020–21.
Personal life
Schmitz studies Political sciences and Science of Public Administration over distance learning.
Honours
Schalke 04
DFB-Pokal: 2010–11
References
External links
1988 births
Living people
German men's footballers
Men's association football midfielders
TSG Sprockhövel players
VfL Bochum II players
FC Schalke 04 players
FC Schalke 04 II players
SV Werder Bremen players
Fortuna Düsseldorf players
Wolfsberger AC players
VVV-Venlo players
Bundesliga players
2. Bundesliga players
Regionalliga players
Austrian Football Bundesliga players
Eredivisie players
German expatriate men's footballers
German expatriate sportspeople in Austria
Expatriate men's footballers in Austria
German expatriate sportspeople in the Netherlands
Expatriate men's footballers in the Netherlands
People from Hattingen
Footballers from Arnsberg (region)
|
```python
# yellowbrick
# A suite of visual analysis and diagnostic tools for machine learning.
#
# Author: Rebecca Bilbro
# Author: Benjamin Bengfort
# Created: Wed May 18 10:46:33 2016 -0400
#
# For license information, see LICENSE.txt
#
# ID: __init__.py [0c5ba04] benjamin@bengfort.com $
"""
A suite of visual analysis and diagnostic tools to facilitate feature
selection, model selection, and parameter tuning for machine learning.
"""
##########################################################################
## Imports
##########################################################################
# Capture the original matplotlib rcParams
import matplotlib as mpl
_orig_rc_params = mpl.rcParams.copy()
# Import the version number at the top level
from .version import get_version, __version_info__
# Import the style management functions
from .style.rcmod import reset_defaults, reset_orig
from .style.rcmod import set_aesthetic, set_style, set_palette
from .style.palettes import color_palette, set_color_codes
# Import yellowbrick functionality to the top level
# TODO: review top-level functionality
from .anscombe import anscombe
from .datasaurus import datasaurus
from .classifier import ROCAUC, ClassBalance, ClassificationScoreVisualizer
# from .classifier import crplot, rocplot
# from .regressor import peplot, residuals_plot
##########################################################################
## Set default aesthetics
##########################################################################
set_aesthetic() # NOTE: modifies mpl.rcParams
##########################################################################
## Package Version
##########################################################################
__version__ = get_version(short=True)
```
|
INAS 552 is an Indian naval air squadron based at INS Hansa, Goa and is functioning as Naval Flight Test Squadron (NFTS) under HQNA.
References
Aircraft squadrons of the Indian Navy
Military units and formations established in 2005
|
```smalltalk
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;
using System.Drawing.Drawing2D;
using Svg.DataTypes;
namespace Svg
{
/// <summary>
/// The <see cref="SvgText"/> element defines a graphics element consisting of text.
/// </summary>
[SvgElement("text")]
public class SvgText : SvgTextBase
{
/// <summary>
/// Initializes the <see cref="SvgText"/> class.
/// </summary>
public SvgText() : base() { }
/// <summary>
/// Initializes a new instance of the <see cref="SvgText"/> class.
/// </summary>
/// <param name="text">The text.</param>
public SvgText(string text)
: this()
{
this.Text = text;
}
public override SvgElement DeepCopy()
{
return DeepCopy<SvgText>();
}
public override SvgElement DeepCopy<T>()
{
var newObj = base.DeepCopy<T>() as SvgText;
newObj.TextAnchor = this.TextAnchor;
newObj.WordSpacing = this.WordSpacing;
newObj.LetterSpacing = this.LetterSpacing;
newObj.Font = this.Font;
newObj.FontFamily = this.FontFamily;
newObj.FontSize = this.FontSize;
newObj.FontWeight = this.FontWeight;
newObj.X = this.X;
newObj.Y = this.Y;
return newObj;
}
}
}
```
|
Jaraganahalli Lake (Kannada: ಜರಗನಹಳ್ಳಿ ಕೆರೆ ) was a lake in the southern part of Bengaluru, India.
Location
It was located on Kanakapura Road near JP Nagar metro station (Jaraganahalli Bus stop, metro pillar No. 75 to 90) on the borders of Jaraganahalli and Yelachanahalli Village. The lake was believed to originally have spread across 6 acres as mentioned in the survey maps. Later, 2 acres of the lake was converted into school playground for Jaraganahalli government school students in 1998.
There is no clear survey number given to this property, but some of the documents state that the lake is located in survey number 29/2C of the Jaraganahalli Village, and survey number 23 of Yelachenahalli, Uttarahalli Hobli, and Bangalore South Taluk.The survey map of 1904 also shows the lake which clearly indicates that the lake existed for at least about 100 years. The google map of 2008 shows a partial existence of the lake. The BDA Revised Master Plan which was based upon the existing survey maps lists the lake as Jaraganahalli Lake D1 and Yelachenahalli Lake D1.
A map of lakes put under the Government of Karnataka website of all the lakes encroached under Uttarahalli Hobli, shows the extent of lake, the encroachment and the current situation of the lake. It compares SSLR maps generated by Revenue Department of Karnataka.
About
In the chapter 5 of the thesis written by Dr. Sudarshan called "The expanding city land development and urban planning in Bangalore", he considers the case study of Jaraganahalli and explains how over a period of time, with an unplanned growth, the Bangalore city has lost its lakes. The thesis also quotes various sources for the same.
The article covered in Deccan Chronicle on 30 August 2018 reveals that the Tahshildar in 1995 had written a series of letters stating the encroachment of the lake.
In 1999, a PIL against dumping of debris and garbage into the lake by the parties who are interested in destroying the lake, the case was later dismissed as there was a case related to this in a lower court.
Over the years the government agencies have converted the place into a garbage dumping ground.
References
Lakes of Bangalore
|
```sqlpl
SET citus.shard_count = 2;
SET citus.shard_replication_factor TO 1;
SET citus.next_shard_id TO 4754000;
CREATE SCHEMA binary_protocol;
SET search_path TO binary_protocol, public;
SET citus.enable_binary_protocol = TRUE;
CREATE TABLE t(id int);
SELECT create_distributed_table('t', 'id');
INSERT INTO t (SELECT i FROM generate_series(1, 10) i);
SELECT * FROM t ORDER BY id;
-- Select more than 16 columns to trigger growing of columns
SELECT id, id, id, id, id,
id, id, id, id, id,
id, id, id, id, id,
id, id, id, id, id,
id, id, id, id, id,
id, id, id, id, id
FROM t ORDER BY id;
EXPLAIN (ANALYZE TRUE, TIMING FALSE, COSTS FALSE, SUMMARY FALSE) SELECT id FROM t ORDER BY 1;
SET citus.explain_all_tasks TO ON;
EXPLAIN (ANALYZE TRUE, TIMING FALSE, COSTS FALSE, SUMMARY FALSE) SELECT id FROM t ORDER BY 1;
INSERT INTO t SELECT count(*) from t;
INSERT INTO t (SELECT id+1 from t);
SELECT * FROM t ORDER BY id;
CREATE TYPE composite_type AS (
i integer,
i2 integer
);
CREATE TABLE composite_type_table
(
id bigserial,
col composite_type
);
SELECT create_distributed_table('composite_type_table', 'id');
CREATE TYPE nested_composite_type AS (
a composite_type,
b composite_type
);
CREATE DOMAIN binary_protocol.composite_type_domain AS binary_protocol.composite_type;
CREATE DOMAIN binary_protocol.nested_composite_type_domain AS binary_protocol.nested_composite_type;
INSERT INTO composite_type_table(col) VALUES ((1, 2)::composite_type);
SELECT col FROM composite_type_table;
SELECT col::composite_type_domain FROM composite_type_table;
SELECT (col, col) FROM composite_type_table;
SELECT (col, col)::nested_composite_type FROM composite_type_table;
SELECT (col, col)::nested_composite_type_domain FROM composite_type_table;
SELECT ARRAY[col] FROM composite_type_table;
SELECT ARRAY[col::composite_type_domain] FROM composite_type_table;
SELECT ARRAY[(col, col)] FROM composite_type_table;
SELECT ARRAY[(col, col)::nested_composite_type] FROM composite_type_table;
SELECT ARRAY[(col, col)::nested_composite_type_domain] FROM composite_type_table;
-- Confirm that aclitem doesn't have receive and send functions
SELECT typreceive, typsend FROM pg_type WHERE typname = 'aclitem';
CREATE TABLE binaryless_builtin (
col1 aclitem NOT NULL,
col2 character varying(255) NOT NULL
);
SELECT create_reference_table('binaryless_builtin');
CREATE TYPE binaryless_composite_type AS (
a aclitem,
b aclitem
);
CREATE DOMAIN binary_protocol.binaryless_domain AS aclitem;
CREATE DOMAIN binary_protocol.binaryless_composite_domain AS binary_protocol.binaryless_composite_type;
INSERT INTO binaryless_builtin VALUES ('user postgres=r/postgres', 'test');
SELECT col1 FROM binaryless_builtin;
SELECT col1::binaryless_domain FROM binaryless_builtin;
SELECT (col1, col1) FROM binaryless_builtin;
SELECT (col1, col1)::binaryless_composite_type FROM binaryless_builtin;
SELECT (col1, col1)::binaryless_composite_domain FROM binaryless_builtin;
SELECT ARRAY[col1] FROM binaryless_builtin;
SELECT ARRAY[col1::binaryless_domain] FROM binaryless_builtin;
SELECT ARRAY[(col1, col1)] FROM binaryless_builtin;
SELECT ARRAY[(col1, col1)::binaryless_composite_type] FROM binaryless_builtin;
SELECT ARRAY[(col1, col1)::binaryless_composite_domain] FROM binaryless_builtin;
CREATE TABLE test_table_1(id int, val1 int);
CREATE TABLE test_table_2(id int, val1 bigint);
SELECT create_distributed_table('test_table_1', 'id');
SELECT create_distributed_table('test_table_2', 'id');
INSERT INTO test_table_1 VALUES(1,1),(2,4),(3,3);
INSERT INTO test_table_2 VALUES(1,1),(3,3),(4,5);
SELECT id, val1
FROM test_table_1 LEFT JOIN test_table_2 USING(id, val1)
ORDER BY 1, 2;
SET client_min_messages TO WARNING;
DROP SCHEMA binary_protocol CASCADE;
```
|
```go
/*
path_to_url
Unless required by applicable law or agreed to in writing, software
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*/
// Code generated by client-gen. DO NOT EDIT.
package fake
import (
"context"
json "encoding/json"
"fmt"
v1beta1 "k8s.io/api/apps/v1beta1"
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
labels "k8s.io/apimachinery/pkg/labels"
types "k8s.io/apimachinery/pkg/types"
watch "k8s.io/apimachinery/pkg/watch"
appsv1beta1 "k8s.io/client-go/applyconfigurations/apps/v1beta1"
testing "k8s.io/client-go/testing"
)
// FakeDeployments implements DeploymentInterface
type FakeDeployments struct {
Fake *FakeAppsV1beta1
ns string
}
var deploymentsResource = v1beta1.SchemeGroupVersion.WithResource("deployments")
var deploymentsKind = v1beta1.SchemeGroupVersion.WithKind("Deployment")
// Get takes name of the deployment, and returns the corresponding deployment object, and an error if there is any.
func (c *FakeDeployments) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.Deployment, err error) {
emptyResult := &v1beta1.Deployment{}
obj, err := c.Fake.
Invokes(testing.NewGetActionWithOptions(deploymentsResource, c.ns, name, options), emptyResult)
if obj == nil {
return emptyResult, err
}
return obj.(*v1beta1.Deployment), err
}
// List takes label and field selectors, and returns the list of Deployments that match those selectors.
func (c *FakeDeployments) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.DeploymentList, err error) {
emptyResult := &v1beta1.DeploymentList{}
obj, err := c.Fake.
Invokes(testing.NewListActionWithOptions(deploymentsResource, deploymentsKind, c.ns, opts), emptyResult)
if obj == nil {
return emptyResult, err
}
label, _, _ := testing.ExtractFromListOptions(opts)
if label == nil {
label = labels.Everything()
}
list := &v1beta1.DeploymentList{ListMeta: obj.(*v1beta1.DeploymentList).ListMeta}
for _, item := range obj.(*v1beta1.DeploymentList).Items {
if label.Matches(labels.Set(item.Labels)) {
list.Items = append(list.Items, item)
}
}
return list, err
}
// Watch returns a watch.Interface that watches the requested deployments.
func (c *FakeDeployments) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error) {
return c.Fake.
InvokesWatch(testing.NewWatchActionWithOptions(deploymentsResource, c.ns, opts))
}
// Create takes the representation of a deployment and creates it. Returns the server's representation of the deployment, and an error, if there is any.
func (c *FakeDeployments) Create(ctx context.Context, deployment *v1beta1.Deployment, opts v1.CreateOptions) (result *v1beta1.Deployment, err error) {
emptyResult := &v1beta1.Deployment{}
obj, err := c.Fake.
Invokes(testing.NewCreateActionWithOptions(deploymentsResource, c.ns, deployment, opts), emptyResult)
if obj == nil {
return emptyResult, err
}
return obj.(*v1beta1.Deployment), err
}
// Update takes the representation of a deployment and updates it. Returns the server's representation of the deployment, and an error, if there is any.
func (c *FakeDeployments) Update(ctx context.Context, deployment *v1beta1.Deployment, opts v1.UpdateOptions) (result *v1beta1.Deployment, err error) {
emptyResult := &v1beta1.Deployment{}
obj, err := c.Fake.
Invokes(testing.NewUpdateActionWithOptions(deploymentsResource, c.ns, deployment, opts), emptyResult)
if obj == nil {
return emptyResult, err
}
return obj.(*v1beta1.Deployment), err
}
// UpdateStatus was generated because the type contains a Status member.
// Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (c *FakeDeployments) UpdateStatus(ctx context.Context, deployment *v1beta1.Deployment, opts v1.UpdateOptions) (result *v1beta1.Deployment, err error) {
emptyResult := &v1beta1.Deployment{}
obj, err := c.Fake.
Invokes(testing.NewUpdateSubresourceActionWithOptions(deploymentsResource, "status", c.ns, deployment, opts), emptyResult)
if obj == nil {
return emptyResult, err
}
return obj.(*v1beta1.Deployment), err
}
// Delete takes name of the deployment and deletes it. Returns an error if one occurs.
func (c *FakeDeployments) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error {
_, err := c.Fake.
Invokes(testing.NewDeleteActionWithOptions(deploymentsResource, c.ns, name, opts), &v1beta1.Deployment{})
return err
}
// DeleteCollection deletes a collection of objects.
func (c *FakeDeployments) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error {
action := testing.NewDeleteCollectionActionWithOptions(deploymentsResource, c.ns, opts, listOpts)
_, err := c.Fake.Invokes(action, &v1beta1.DeploymentList{})
return err
}
// Patch applies the patch and returns the patched deployment.
func (c *FakeDeployments) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.Deployment, err error) {
emptyResult := &v1beta1.Deployment{}
obj, err := c.Fake.
Invokes(testing.NewPatchSubresourceActionWithOptions(deploymentsResource, c.ns, name, pt, data, opts, subresources...), emptyResult)
if obj == nil {
return emptyResult, err
}
return obj.(*v1beta1.Deployment), err
}
// Apply takes the given apply declarative configuration, applies it and returns the applied deployment.
func (c *FakeDeployments) Apply(ctx context.Context, deployment *appsv1beta1.DeploymentApplyConfiguration, opts v1.ApplyOptions) (result *v1beta1.Deployment, err error) {
if deployment == nil {
return nil, fmt.Errorf("deployment provided to Apply must not be nil")
}
data, err := json.Marshal(deployment)
if err != nil {
return nil, err
}
name := deployment.Name
if name == nil {
return nil, fmt.Errorf("deployment.Name must be provided to Apply")
}
emptyResult := &v1beta1.Deployment{}
obj, err := c.Fake.
Invokes(testing.NewPatchSubresourceActionWithOptions(deploymentsResource, c.ns, *name, types.ApplyPatchType, data, opts.ToPatchOptions()), emptyResult)
if obj == nil {
return emptyResult, err
}
return obj.(*v1beta1.Deployment), err
}
// ApplyStatus was generated because the type contains a Status member.
// Add a +genclient:noStatus comment above the type to avoid generating ApplyStatus().
func (c *FakeDeployments) ApplyStatus(ctx context.Context, deployment *appsv1beta1.DeploymentApplyConfiguration, opts v1.ApplyOptions) (result *v1beta1.Deployment, err error) {
if deployment == nil {
return nil, fmt.Errorf("deployment provided to Apply must not be nil")
}
data, err := json.Marshal(deployment)
if err != nil {
return nil, err
}
name := deployment.Name
if name == nil {
return nil, fmt.Errorf("deployment.Name must be provided to Apply")
}
emptyResult := &v1beta1.Deployment{}
obj, err := c.Fake.
Invokes(testing.NewPatchSubresourceActionWithOptions(deploymentsResource, c.ns, *name, types.ApplyPatchType, data, opts.ToPatchOptions(), "status"), emptyResult)
if obj == nil {
return emptyResult, err
}
return obj.(*v1beta1.Deployment), err
}
```
|
```c++
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
//
// path_to_url
//
// Unless required by applicable law or agreed to in writing,
// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
// specific language governing permissions and limitations
#include "kudu/rebalance/cluster_status.h"
#include <ostream>
#include <glog/logging.h>
#include "kudu/tablet/tablet.pb.h" // IWYU pragma: keep
namespace kudu {
namespace cluster_summary {
const char* HealthCheckResultToString(HealthCheckResult cr) {
switch (cr) {
case HealthCheckResult::HEALTHY:
return "HEALTHY";
case HealthCheckResult::RECOVERING:
return "RECOVERING";
case HealthCheckResult::UNDER_REPLICATED:
return "UNDER_REPLICATED";
case HealthCheckResult::CONSENSUS_MISMATCH:
return "CONSENSUS_MISMATCH";
case HealthCheckResult::UNAVAILABLE:
return "UNAVAILABLE";
default:
LOG(FATAL) << "Unknown CheckResult";
}
}
// Return a string representation of 'sh'.
const char* ServerHealthToString(ServerHealth sh) {
switch (sh) {
case ServerHealth::HEALTHY:
return "HEALTHY";
case ServerHealth::UNAUTHORIZED:
return "UNAUTHORIZED";
case ServerHealth::UNAVAILABLE:
return "UNAVAILABLE";
case ServerHealth::WRONG_SERVER_UUID:
return "WRONG_SERVER_UUID";
default:
LOG(FATAL) << "Unknown ServerHealth";
}
}
// Return a string representation of 'type'.
const char* ServerTypeToString(ServerType type) {
switch (type) {
case ServerType::MASTER:
return "Master";
case ServerType::TABLET_SERVER:
return "Tablet Server";
default:
LOG(FATAL) << "Unknown ServerType";
}
}
} // namespace cluster_summary
} // namespace kudu
```
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.