text
stringlengths
1
22.8M
```html+erb <div class="ltag__stackexchange--container"> <div class="ltag__stackexchange--title-container"> <header> <div class="ltag__stackexchange--title"> <% logo_to_use = site == "stackoverflow" ? "stackoverflow-logo.svg" : "stackexchange-logo.svg" %> <div class="ltag__stackexchange--header"> <img src="<%= ActionController::Base.helpers.asset_path(logo_to_use) %>" alt=""> <a href="<%= post_url %>" target="_blank" rel="noopener noreferrer"> <%= post_type == "question" ? CGI.unescapeHTML(title) : t("views.liquids.stackexchange.answer.text_html", answer: tag.span(t("views.liquids.stackexchange.answer.answer"), class: "title-flare"), title: CGI.unescapeHTML(title)) %> </a> </div> <div class="ltag__stackexchange--post-metadata"> <span><%= Time.zone.at(created_at).strftime(t("time.formats.stackexchange")) %></span> <% if post_type == "question" %> <span><%= t("views.liquids.stackexchange.comments", count: comment_count) %></span> <span><%= t("views.liquids.stackexchange.answers", count: answer_count) %></span> <% end %> </div> </div> <a class="ltag__stackexchange--score-container" href="<%= post_url %>" target="_blank" rel="noopener noreferrer"> <img src="<%= ActionController::Base.helpers.asset_path("stackexchange-arrow-up.svg") %>" alt=""> <div class="ltag__stackexchange--score-number"> <%= score %> </div> <img src="<%= ActionController::Base.helpers.asset_path("stackexchange-arrow-down.svg") %>" alt=""> </a> </header> </div> <div class="ltag__stackexchange--body"> <p> <%= (HTML_Truncator.truncate body, 50).html_safe %> </p> </div> <div class="ltag__stackexchange--btn--container"> <a href="<%= post_url %>" class="ltag__stackexchange--btn" target="_blank" rel="noopener noreferrer"><%= t("views.liquids.stackexchange.open.#{post_type}") %></a> </div> </div> ```
```python # -*- coding: utf-8 -*- """ requests.exceptions ~~~~~~~~~~~~~~~~~~~ This module contains the set of Requests' exceptions. """ from urllib3.exceptions import HTTPError as BaseHTTPError class RequestException(IOError): """There was an ambiguous exception that occurred while handling your request. """ def __init__(self, *args, **kwargs): """Initialize RequestException with `request` and `response` objects.""" response = kwargs.pop('response', None) self.response = response self.request = kwargs.pop('request', None) if (response is not None and not self.request and hasattr(response, 'request')): self.request = self.response.request super(RequestException, self).__init__(*args, **kwargs) class HTTPError(RequestException): """An HTTP error occurred.""" class ConnectionError(RequestException): """A Connection error occurred.""" class ProxyError(ConnectionError): """A proxy error occurred.""" class SSLError(ConnectionError): """An SSL error occurred.""" class Timeout(RequestException): """The request timed out. Catching this error will catch both :exc:`~requests.exceptions.ConnectTimeout` and :exc:`~requests.exceptions.ReadTimeout` errors. """ class ConnectTimeout(ConnectionError, Timeout): """The request timed out while trying to connect to the remote server. Requests that produced this error are safe to retry. """ class ReadTimeout(Timeout): """The server did not send any data in the allotted amount of time.""" class URLRequired(RequestException): """A valid URL is required to make a request.""" class TooManyRedirects(RequestException): """Too many redirects.""" class MissingSchema(RequestException, ValueError): """The URL schema (e.g. http or https) is missing.""" class InvalidSchema(RequestException, ValueError): """See defaults.py for valid schemas.""" class InvalidURL(RequestException, ValueError): """The URL provided was somehow invalid.""" class InvalidHeader(RequestException, ValueError): """The header value provided was somehow invalid.""" class InvalidProxyURL(InvalidURL): """The proxy URL provided is invalid.""" class ChunkedEncodingError(RequestException): """The server declared chunked encoding but sent an invalid chunk.""" class ContentDecodingError(RequestException, BaseHTTPError): """Failed to decode response content""" class StreamConsumedError(RequestException, TypeError): """The content for this response was already consumed""" class RetryError(RequestException): """Custom retries logic failed""" class UnrewindableBodyError(RequestException): """Requests encountered an error when trying to rewind a body""" # Warnings class RequestsWarning(Warning): """Base warning for Requests.""" pass class FileModeWarning(RequestsWarning, DeprecationWarning): """A file was opened in text mode, but Requests determined its binary length.""" pass class RequestsDependencyWarning(RequestsWarning): """An imported dependency doesn't match the expected version range.""" pass ```
Robert Meyer Burnett (born May 15, 1967) is an American filmmaker, DVD producer, online film pundit and YouTuber. Burnett directed Free Enterprise and the short film The Sacred Fire. He has also edited over ten feature films, and worked as a Star Trek consultant for Viacom Interactive and Paramount Parks' Star Trek: The Experience located at the Las Vegas Hilton. Burnett has twice been a guest of honor at the science, science fiction, and fantasy convention, CONvergence. Career Burnett has worked in Hollywood since the summer of 1989, working his way up in the industry, producing diverse content, including online classes, physical media special features, television and motion pictures. Producer Beginning in the late 1990s, he began working as a "predator," a producer-editor, for television promotions. Beginning working with Star Wars fan film producer Kevin Rubio, Burnett created dozens of promos for the Kids WB programming block. Beginning in December 1999, he was hired full-time by NBC, creating over 100 spots for the 2000 Sydney Olympic Games. Dubbed "The Complete Olympics," it was the first time NBC broadcast the games over three platforms, NBC, MSNBC and CNBC. After the Olympics were aired, he continued on, creating spots for the 2000-2001 Prime Time season, including conceiving and even voicing the notorious XFL Cheerleader spots. In December 2000, he left NBC to join high-end content producers Kurtti-Pellerin, which exclusively created documentary special features for DVDs. Burnett produced extras for titles including The Walt Disney Company's The Fantasia Anthology and Snow White, and New Line Cinema's Extended Editions of Fellowship of the Ring and The Two Towers. He directed and edited the feature-length Making of Tron, which was nominated for the DVD Premiere Award for Original Retrospective Documentary at the 2003 DVD Exclusive Awards. While still working at Kurtti-Pellerin, Burnett formed his own production company, Ludovico Technique LLC. Ludovico worked on the DVD Special Editions for Oscar-winning The Usual Suspects, Valley Girl, Superman Returns, Spider-Man, X-Men 1.5, X2, and The Lion, the Witch and the Wardrobe. He edited, wrote and produced all the special features for the Blu-ray release of Star Trek: The Next Generation Complete Series box set released on June 7, 2016; he also contributed to the Blu-ray of all four seasons of Star Trek: Enterprise, with season four being released on April 1, 2014. Most recently, he, along with director Dave Parker, completed 6.5 hours of special features for the Blu-ray release of their film, The Hills Run Red, released by Scream Factory on June 16, 2020. As a feature film producer, he co-produced Metro-Goldwyn-Mayer's Agent Cody Banks and its sequel, Agent Cody Banks 2: Destination London, and developed and produced the 2009 Warner Premiere and Dark Castle's The Hills Run Red. In 2021, Burnett completed producing and editing Tango Shalom, the last appearance of actor Joseph Bologna. After debuting in Jaipur, India, the film was theatrically released in the United States on September 3, 2021. Writer/director Burnett made his feature writing and directing debut with the 1999 award-winning film Free Enterprise, starring Eric McCormack and William Shatner, which he also edited. Beginning in 2010, Burnett has directed and edited five episodes of the TV series Femme Fatales. Media critic Burnett began his professional writing career as the "Critic at Large" for the Larry Flynt-published Sci-Fi Universe magazine in the mid-90s. He recently wrote an essay for a Blade Runner anthology, The Cyberpunk Nexus: Exploring the Blade Runner Universe, published by Sequart Organization, on July 10, 2018. He currently runs a successful YouTube channel and website both entitled The Burnettwork and presents his own show titled Robservations which provides in-depth online video analysis of new and classic TV and film content for the film fan community and aspiring filmmakers. Three episodes of Robservations that garnered widespread attention, in particular, were those focusing on an alternative script for the final film in the Star Wars sequel trilogy (which Meyer Burnett has been highly critical of). The draft script entitled "Duel of the Fates" had radically different (and, in Robert's view, superior) ideas to the ones shown on screen in Star Wars: The Rise of Skywalker. Until late March 2023 Burnett contributed regularly to the YouTube show of his good friend and fellow filmmaker John Campea, titled The John Campea Show. In late March 2023, Meyer Burnett (jointly with Campea) announced that he would be stepping back from his involvement in The John Campea Show (whilst still making occasional appearances on it) to prioritise The Burtnettwork with Campea agreeing to sponsor certain content for an initial period of a few months on The Burnettwork and vice versa. References External links Burnett's Free Enterprise at Aintitcool.com Living people 1967 births American film producers American film directors American male screenwriters American television directors American people of Scottish descent American people of Jewish descent American YouTubers Commentary YouTubers YouTube podcasters
Evalea propria is a species of sea snail, a marine gastropod mollusk in the family Pyramidellidae, the pyrams and their allies. References External links To World Register of Marine Species Pyramidellidae Gastropods described in 1941
```php <?php namespace Orchid\Tests\Unit\Screen; use Illuminate\Contracts\View\View; use Orchid\Platform\Models\User; use Orchid\Screen\TD; use Orchid\Tests\App\Components\SimpleShowValue; use Orchid\Tests\App\Components\SimpleShowValueWithArguments; use Orchid\Tests\TestUnitCase; class TDComponentAsValueTest extends TestUnitCase { /** * @var \Illuminate\Database\Eloquent\Collection|\Illuminate\Database\Eloquent\Model|mixed */ protected $user; protected function setUp(): void { parent::setUp(); $this->user = User::factory()->make(); } public function testTdSimpleComponent(): void { $view = TD::make('email') ->asComponent(SimpleShowValue::class) ->buildTd($this->user); $this->assertStringContainsString($this->user->email, $view); } public function testTdWithoutArgumentComponent() { $view = TD::make('email') ->asComponent(SimpleShowValueWithArguments::class) ->buildTd($this->user); $this->assertStringContainsString("Hello {$this->user->email} from Alexandr", $view); $this->assertStringContainsString(app()->version(), $view); } public function testTdArgumentComponent(): void { $view = TD::make('email') ->asComponent(SimpleShowValueWithArguments::class, [ 'from' => 'Sasha', ]) ->buildTd($this->user); $this->checkedArgument($view); } public function testTdArgumentView(): void { $view = TD::make('email') ->asComponent(SimpleShowValueWithArguments::class, [ 'from' => 'Sasha', ]) ->buildTd($this->user); $this->checkedArgument($view); } public function testTdArgumentViewUsingComponent(): void { $view = TD::make('email') ->usingComponent(SimpleShowValueWithArguments::class, from: 'Sasha') ->buildTd($this->user); $this->checkedArgument($view); } public function testTdArgumentViewWithClosureArgument(): void { $view = TD::make('email') ->asComponent(SimpleShowValueWithArguments::class, [ 'from' => fn () => 'Sasha', ]) ->buildTd($this->user); $this->checkedArgument($view); } public function testTdAnonymousComponentWithClosureArguments(): void { $view = TD::make('email') ->asComponent('exemplar::simple-anonymous-component', [ 'property1' => fn ($email) => $email.'3333', 'property2' => fn ($email) => $email.'4444', ]) ->buildTd($this->user); $this->assertStringContainsString($this->user->email.'3333', $view); $this->assertStringContainsString($this->user->email.'4444', $view); } protected function checkedArgument(View $view) { $this->assertStringContainsString("Hello {$this->user->email} from Sasha", $view); $this->assertStringContainsString(app()->version(), $view); } } ```
```c++ #pragma once #include <steem/plugins/json_rpc/utility.hpp> #include <steem/plugins/follow/follow_objects.hpp> #include <steem/plugins/database_api/database_api_objects.hpp> #include <steem/plugins/reputation_api/reputation_api.hpp> #include <steem/protocol/types.hpp> #include <fc/optional.hpp> #include <fc/variant.hpp> #include <fc/vector.hpp> namespace steem { namespace plugins { namespace follow { using steem::protocol::account_name_type; using steem::plugins::reputation::account_reputation; namespace detail { class follow_api_impl; } struct feed_entry { account_name_type author; string permlink; vector< account_name_type > reblog_by; time_point_sec reblog_on; uint32_t entry_id = 0; }; struct comment_feed_entry { database_api::api_comment_object comment; vector< account_name_type > reblog_by; time_point_sec reblog_on; uint32_t entry_id = 0; }; struct blog_entry { account_name_type author; string permlink; account_name_type blog; time_point_sec reblog_on; uint32_t entry_id = 0; }; struct comment_blog_entry { database_api::api_comment_object comment; string blog; time_point_sec reblog_on; uint32_t entry_id = 0; }; struct api_follow_object { account_name_type follower; account_name_type following; vector< follow::follow_type > what; }; struct reblog_count { account_name_type author; uint32_t count; }; struct get_followers_args { account_name_type account; account_name_type start; follow::follow_type type; uint32_t limit = 1000; }; struct get_followers_return { vector< api_follow_object > followers; }; typedef get_followers_args get_following_args; struct get_following_return { vector< api_follow_object > following; }; struct get_follow_count_args { account_name_type account; }; struct get_follow_count_return { account_name_type account; uint32_t follower_count = 0; uint32_t following_count = 0; }; struct get_feed_entries_args { account_name_type account; uint32_t start_entry_id = 0; uint32_t limit = 500; }; struct get_feed_entries_return { vector< feed_entry > feed; }; typedef get_feed_entries_args get_feed_args; struct get_feed_return { vector< comment_feed_entry > feed; }; typedef get_feed_entries_args get_blog_entries_args; struct get_blog_entries_return { vector< blog_entry > blog; }; typedef get_feed_entries_args get_blog_args; struct get_blog_return { vector< comment_blog_entry > blog; }; typedef reputation::get_account_reputations_args get_account_reputations_args; typedef reputation::get_account_reputations_return get_account_reputations_return; struct get_reblogged_by_args { account_name_type author; string permlink; }; struct get_reblogged_by_return { vector< account_name_type > accounts; }; struct get_blog_authors_args { account_name_type blog_account; }; struct get_blog_authors_return { vector< reblog_count > blog_authors; }; class follow_api { public: follow_api(); ~follow_api(); DECLARE_API( (get_followers) (get_following) (get_follow_count) (get_feed_entries) (get_feed) (get_blog_entries) (get_blog) (get_account_reputations) /** * Gets list of accounts that have reblogged a particular post */ (get_reblogged_by) /** * Gets a list of authors that have had their content reblogged on a given blog account */ (get_blog_authors) ) private: std::unique_ptr< detail::follow_api_impl > my; }; } } } // steem::plugins::follow FC_REFLECT( steem::plugins::follow::feed_entry, (author)(permlink)(reblog_by)(reblog_on)(entry_id) ); FC_REFLECT( steem::plugins::follow::comment_feed_entry, (comment)(reblog_by)(reblog_on)(entry_id) ); FC_REFLECT( steem::plugins::follow::blog_entry, (author)(permlink)(blog)(reblog_on)(entry_id) ); FC_REFLECT( steem::plugins::follow::comment_blog_entry, (comment)(blog)(reblog_on)(entry_id) ); FC_REFLECT( steem::plugins::follow::api_follow_object, (follower)(following)(what) ); FC_REFLECT( steem::plugins::follow::reblog_count, (author)(count) ); FC_REFLECT( steem::plugins::follow::get_followers_args, (account)(start)(type)(limit) ); FC_REFLECT( steem::plugins::follow::get_followers_return, (followers) ); FC_REFLECT( steem::plugins::follow::get_following_return, (following) ); FC_REFLECT( steem::plugins::follow::get_follow_count_args, (account) ); FC_REFLECT( steem::plugins::follow::get_follow_count_return, (account)(follower_count)(following_count) ); FC_REFLECT( steem::plugins::follow::get_feed_entries_args, (account)(start_entry_id)(limit) ); FC_REFLECT( steem::plugins::follow::get_feed_entries_return, (feed) ); FC_REFLECT( steem::plugins::follow::get_feed_return, (feed) ); FC_REFLECT( steem::plugins::follow::get_blog_entries_return, (blog) ); FC_REFLECT( steem::plugins::follow::get_blog_return, (blog) ); FC_REFLECT( steem::plugins::follow::get_reblogged_by_args, (author)(permlink) ); FC_REFLECT( steem::plugins::follow::get_reblogged_by_return, (accounts) ); FC_REFLECT( steem::plugins::follow::get_blog_authors_args, (blog_account) ); FC_REFLECT( steem::plugins::follow::get_blog_authors_return, (blog_authors) ); ```
Kulada (; , Kuladı) is a rural locality (a selo) and the administrative centre of Kuladinskoye Rural Settlement of Ongudaysky District, the Altai Republic, Russia. The population was 467 as of 2016. There are 11 streets. Geography Kulada is located 37 km southwest of Onguday (the district's administrative centre) by road. Boochi is the nearest rural locality. References Rural localities in Ongudaysky District
The Trinidad and Tobago national under-16 and under-17 basketball team is a national basketball team of Trinidad and Tobago, managed by the National Basketball Federation of Trinidad and Tobago. It represents the country in international under-16 and under-17 (under age 18 and under age 19) basketball competitions. It appeared at the Centrobasket U17 Championship for Men. See also Trinidad and Tobago national basketball team Trinidad and Tobago national under-19 basketball team Trinidad and Tobago women's national under-17 basketball team References External links Trinidad and Tobago Basketball Records at FIBA Archive Basketball teams in Trinidad and Tobago Men's national under-17 basketball teams Basketball
```python # -*- coding: utf-8 -*- from .._common import * from .idconvertor import * __all__ = ['av2bv', 'sign_api_url', 'get_media_data'] def sign_api_url(api_url, params, skey): params = sorted(params.items()) params.append(('sign', hash.md5(urlencode(params) + skey))) params_str = urlencode(params) return '{api_url}?{params_str}'.format(**vars()) def get_media_data(bvid): data = get_response('path_to_url params={'bvid': bvid}).json() assert data['code'] == 0, "can't play this video!!" return data['data'] ```
```html <div *ngFor="let pony of ponies | slice:0:4"> <h2>{{ pony.name }}</h2> </div> ```
Ahmad Gohari (; born 12 January 1996) is an Iranian professional footballer who plays as a goalkeeper for Persian Gulf Pro League club Aluminium Arak. Club career Pars Jonoubi Jam He made his debut for Pars Jonoubi Jam in 29th fixtures of 2017–18 Iran Pro League against Naft Tehran. Persepolis On 2 February 2022, Gohari signed a 18-month contract with Persian Gulf Pro League champions Persepolis. Gohari has joined Persepolis as replacement of Božidar Radošević. Club career statistics International career Iran Youth In 2013, he participated in the Iranian U-17 national team in the U-17 World Cup. Gohari also in the Iranian U-19 national team in the 2014 Asian U-19 Championship. Honours Persepolis Persian Gulf Pro League: 2022–23 References External links 1996 births Living people Iranian men's footballers F.C. Pars Jonoubi Jam players Men's association football goalkeepers Persepolis F.C. players Persian Gulf Pro League players Saipa F.C. players Naft Tehran F.C. players Naft Masjed Soleyman F.C. players Sanat Naft Abadan F.C. players People from Hamadan Province
Roudná is a municipality and village in Tábor District in the South Bohemian Region of the Czech Republic. It has about 600 inhabitants. Roudná lies approximately south of Tábor, north-east of České Budějovice, and south of Prague. Administrative parts The village of Janov is an administrative part of Roudná. References Villages in Tábor District
In mathematics, the Langlands–Shahidi method provides the means to define automorphic L-functions in many cases that arise with connected reductive groups over a number field. This includes Rankin–Selberg products for cuspidal automorphic representations of general linear groups. The method develops the theory of the local coefficient, which links to the global theory via Eisenstein series. The resulting L-functions satisfy a number of analytic properties, including an important functional equation. The local coefficient The setting is in the generality of a connected quasi-split reductive group G, together with a Levi subgroup M, defined over a local field F. For example, if G = Gl is a classical group of rank l, its maximal Levi subgroups are of the form GL(m) × Gn, where Gn is a classical group of rank n and of the same type as Gl, l = m + n. F. Shahidi develops the theory of the local coefficient for irreducible generic representations of M(F). The local coefficient is defined by means of the uniqueness property of Whittaker models paired with the theory of intertwining operators for representations obtained by parabolic induction from generic representations. The global intertwining operator appearing in the functional equation of Langlands' theory of Eisenstein series can be decomposed as a product of local intertwining operators. When M is a maximal Levi subgroup, local coefficients arise from Fourier coefficients of appropriately chosen Eisenstein series and satisfy a crude functional equation involving a product of partial L-functions. Local factors and functional equation An induction step refines the crude functional equation of a globally generic cuspidal automorphic representation to individual functional equations of partial L-functions and γ-factors: The details are technical: s a complex variable, S a finite set of places (of the underlying global field) with unramified for v outside of S, and is the adjoint action of M on the complex Lie algebra of a specific subgroup of the Langlands dual group of G. When G is the special linear group SL(2), and M = T is the maximal torus of diagonal matrices, then π is a Größencharakter and the corresponding γ-factors are the local factors of Tate's thesis. The γ-factors are uniquely characterized by their role in the functional equation and a list of local properties, including multiplicativity with respect to parabolic induction. They satisfy a relationship involving Artin L-functions and Artin root numbers when v gives an archimedean local field or when v is non-archimedean and is a constituent of an unramified principal series representation of M(F). Local L-functions and root numbers ε are then defined at every place, including , by means of Langlands classification for p-adic groups. The functional equation takes the form where and are the completed global L-function and root number. Examples of automorphic L-functions , the Rankin–Selberg L-function of cuspidal automorphic representations of GL(m) and of GL(n). , where τ is a cuspidal automorphic representation of GL(m) and π is a globally generic cuspidal automorphic representation of a classical group G. , with τ as before and r a symmetric square, an exterior square, or an Asai representation of the dual group of GL(n). A full list of Langlands–Shahidi L-functions depends on the quasi-split group G and maximal Levi subgroup M. More specifically, the decomposition of the adjoint action can be classified using Dynkin diagrams. A first study of automorphic L-functions via the theory of Eisenstein Series can be found in Langlands' Euler Products, under the assumption that the automorphic representations are everywhere unramified. What the Langlands–Shahidi method provides is the definition of L-functions and root numbers with no other condition on the representation of M other than requiring the existence of a Whittaker model. Analytic properties of L-functions Global L-functions are said to be nice if they satisfy: extend to entire functions of the complex variable s. are bounded in vertical strips. (Functional Equation) . Langlands–Shahidi L-functions satisfy the functional equation. Progress towards boundedness in vertical strips was made by S. S. Gelbart and F. Shahidi. And, after incorporating twists by highly ramified characters, Langlands–Shahidi L-functions do become entire. Another result is the non-vanishing of L-functions. For Rankin–Selberg products of general linear groups it states that is non-zero for every real number t. Applications to functoriality and to representation theory of p-adic groups Functoriality for the classical groups: A cuspidal globally generic automorphic representation of a classical group admits a Langlands functorial lift to an automorphic representation of GL(N), where N depends on the classical group. Then, the Ramanujan bounds of W. Luo, Z. Rudnick and P. Sarnak for GL(N) over number fields yield non-trivial bounds for the generalized Ramanujan conjecture of the classical groups. Symmetric powers for GL(2): Proofs of functoriality for the symmetric cube and for the symmetric fourth powers of cuspidal automorphic representations of GL(2) were made possible by the Langlands–Shahidi method. Progress towards higher Symmetric powers leads to the best possible bounds towards the Ramanujan–Peterson conjecture of automorphic cusp forms of GL(2). Representations of p-adic groups: Applications involving Harish-Chandra μ functions (from the Plancherel formula) and to complementary series of p-adic reductive groups are possible. For example, GL(n) appears as the Siegel Levi subgroup of a classical group G. If π is a smooth irreducible ramified supercuspidal representation of GL(n, F) over a field F of p-adic numbers, and is irreducible, then: is irreducible and in the complementary series for 0 < s < 1; is reducible and has a unique generic non-supercuspidal discrete series subrepresentation; is irreducible and never in the complementary series for s > 1. Here, is obtained by unitary parabolic induction from if G = SO(2n), Sp(2n), or U(n+1, n); if G = SO(2n+1) or U(n, n). References Automorphic forms Representation theory
Sequins 2 is a limited edition extended play by Irish singer Róisín Murphy. It was released by Echo Records on 12-inch vinyl in February 2005. Songs The opening track "Sow into You" uses a metaphor of rain and harvests to describe love and sex, atop a baroque pop brass arrangement. The third track "Dear Diary" is a torch song mixing northern soul with disco music with the sounds of doorbells and telephones ringing. The extended play closes with "Leaving the City", which slowly builds up during the introduction and uses out of tune instrumentation and a repetitive chorus. Cover artwork The cover of Sequins 2 was painted by Simon Henwood. Murphy met Henwood in a pub, and Henwood, who was known for his simplified paintings of teenagers, thought that she would be a good subject for a painting. Henwood came to Murphy's house the next week and, while they were looking through her wardrobe, decided to have her dressed in sequins. Murphy positioned her body in abstract shapes for Henwood to paint. She developed a character, which Henwood described as a "disco electro pop diva with a 1940s look". His canvases were displayed at The Hospital in Victoria, London, and Murphy purchased them "for [her] kids so they can see what [she] once looked like." Track listing All tracks written and composed by Róisín Murphy and Matthew Herbert. "Sow into You" – 3:56 "Love in the Making" – 5:06 "Dear Diary" – 5:50 "Leaving the City" – 4:49 Personnel The following people contributed to Sequins 2: Róisín Murphy – vocals, production Matthew Herbert – guitar, bass, keyboards, banjo, production Dave O'Higgins – saxophone Trevor Mires – trombone Pete Wraight – trumpet, flute Max De Wardener – bass Geoff Smith – dulcimer Simon Henwood – art direction Steffan Macmillan – design References External links Official website 2005 EPs Róisín Murphy albums
Walter Dickson may refer to: Walter Dickson (author) (1916–1990), Swedish author Walter Hamilton Dickson (1806–1885), lawyer and political figure in Canada West Walter Michael Dickson (1884–1915), Scottish rugby player
Dennis Bock (born August 28, 1964) is a Canadian novelist and short story writer, lecturer at the University of Toronto, travel writer and book reviewer. His novel Going Home Again was published in Canada by HarperCollins and in the US by Alfred A. Knopf in August 2013. It was shortlisted for the 2013 Scotiabank Giller Prize. Going Home Again earned a review in Kirkus Review. The Communist's Daughter, published by HarperCollins in Canada and Knopf in the US in 2006, and later in France, the Netherlands, Greece and Poland, is a retelling of the final years in the life of the Canadian surgeon Norman Bethune. His first novel, The Ash Garden, about various kinds of fallout from the Hiroshima bomb, was published in 2001, and was shortlisted for the Books in Canada First Novel Award and the International Dublin Literary Award, the Kiriyama Pacific Rim Prize, and the Commonwealth Writers' Prize (Regional Best Book). It won the 2002 Canada-Japan Literary Award and has been published in translation in Spain, Argentina, Japan, the Netherlands, Italy, Germany, France and Greece. Bock was reviewed in The Los Angeles Times and The New York Times (by Michiko Kakutani). His editor at Knopf, starting with The Ash Garden, is Gary Fisketjon. After serving as fiction editor at the literary journal Blood & Aphorisms and holding writing residences at Yaddo, the Banff Centre, and Fundacion Valparaiso, in Spain, Bock published his first book, a short story collection Olympia, in 1998, for which he won the Danuta Gleed Literary Award for the best debut short story collection in Canada, the Canadian Authors' Association Jubilee Award, and the Betty Trask Award in the UK. His short stories have appeared in Glimmer Train, The Penguin Book of Canadian Short Stories, The Journey Prize Anthology, and Coming Attractions. His travel writing and book reviews appear in The Globe and Mail, The National Post, The Washington Post, and Outpost Magazine. Personal life Dennis Bock was born August 28, 1964, in Belleville, Ontario. He studied English literature and philosophy at the University of Western Ontario, and took one year off during that time to live in Spain. After completing his degree he returned to Madrid, Spain, where he lived for 4 years. It was there he finished writing Olympia. Bock lives in Toronto and has two sons. He teaches at the University of Toronto and is on faculty at Humber College's School for Writers. Prizes and honours Bibliography Novels The Ash Garden (2001) The Communist's Daughter (2006) Going Home Again (2013) Short stories Olympia (1998) References External links Official site Interview with Dennis Bock, Quill & Quire, August 2001 New York Times review of The Communist's Daughter, March 4, 2007 New York Times review of Going Home Again, August 30, 2013 Canadian male novelists Canadian male short story writers Living people 1964 births University of Western Ontario alumni 20th-century Canadian novelists 21st-century Canadian novelists 20th-century Canadian short story writers 21st-century Canadian short story writers 20th-century Canadian male writers 21st-century Canadian male writers
Gordon Scott Paterson (born January 11, 1964), better known as G. Scott Paterson, is a Toronto-based technology and media venture capitalist. In the 1990s, Paterson gained notoriety in the Canadian investment and finance world and served as "a prominent technology and media financier" during the technology boom in the latter half of the decade. Paterson has been the recipient of The Globe and Mail "Top 40 Under 40 Award" and, in 2007, was recognized by Newsweek magazine as one of the 17 people in its "Who’s Next in 2007" article. An active philanthropist, Paterson co-founded Toronto's Merry Go Round Children's Foundation in 1997 and currently serves as its chairman. Today, Paterson's business efforts are devoted between leadership roles at Engagement Labs Inc. and Lions Gate Entertainment Corporation. Early life and education G. Scott Paterson was raised in Ontario by a single mother who worked as a teacher at Lakeport High School. As a child, Paterson was sparked with an early interest in the stock market when his grandmother one day bought him five shares of Abitibi Paper. As Paterson once recalled, "Most of my friends got new bikes for their birthday and, instead, I received a share certificate". Paterson got his first job at age nine, which was selling programs at Merrittville Speedway in St. Catharines and Ransomville Speedway. By age twelve, Paterson was writing articles for the programs at Merrittsville and Ransomville Speedways, and by age fifteen, Paterson served as the Assistant Track Announcer for both locations. Paterson attended Sir Winston Churchill Secondary School. He attended Ridley College for grades 12 and 13 with the assistance of school bursaries. Paterson then went on to attend the University of Western Ontario, where he first earned a Bachelor of Arts degree in economics in 1985, followed by a completion of the university's Executive Program in 1995. Paterson completed his Canadian Securities Course in 1984 and the Canadian securities industry officers and directors designations in 1991. In 1996, Paterson obtained the US Series 7 and Series 24 accreditations, entitling him to sell securities in the United States and to be an officer and director of a United States broker dealer. In 2009, Paterson earned his ICD.d designation after completing the program offered at the Institute of Corporate Directors sponsored by the University of Toronto’s Rotman School of Management, " and earned a Certificate of Entertainment Law at Osgoode Hall, York University in 2014. Career Start in the investment industry After graduating from university in 1985, Paterson began in the retail brokerage side of the investment world. Starting out as a retail broker at Dominion Securities Pitfield, Paterson became known as the 'cold-call cowboy' and became head of the firm's President's Club, as well as its top broker of those in their first three years in the industry, as measured by commissions earned. After being recruited by the Richardson Greenshields firm in 1987, Paterson landed a position as a senior investment banker at Midland Walwyn Inc, a newly formed brokerage company. It was at Midland, where Paterson began to focus his attention as an investor on the technology industry. Paterson was considered the "IPO King" at Midland, and was considered for the role of head of investment banking when late in 1994, Midland Walwyn President Peter Wallace and his allies attempted to gain control of the company and unseat then chief executive officer, Bob Shultz. This failed and Wallace and others were fired. Veteran banker Bob McLeish was given the head of investment banking role and Paterson began to look for an alternative venue to build a tech-focused boutique brokerage firm. Yorkton Securities Inc. In 1995, Paterson was recruited again, this time by Yorkton Securities Inc., a small, independent, mining-focused brokerage house. In his six years at Yorkton, Paterson helped transform the brokerage from a mining firm to a knowledge industries firm that targeted technology, internet, film and television, and biotechnology as their industries of focus. Paterson also helped build out Yorkton's retail presence to $3 billion in assets and helped take total firm revenue to $244 million in 2001, with a pre-tax profit of $56 million. Paterson was promoted at the company and, in October 1998, at the age of 34, Paterson became Yorkton's chairman and chief executive officer. Paterson served as chairman of Yorkton from 1998 until December 2001. As chairman, Paterson pulled the company into "tech stocks just in time for the Silicon Valley gold rush of the late '90s". Controversy at Yorkton Securities In March 2000, the Vancouver Sun reported that Yorkton had played multiple roles as investor, promoter and underwriter of a tech start-up known as Book4Golf.com Corp. This action raised questions about conflicts of interest for the firm and in December 2001, Paterson left Yorkton Securities. This incident was considered to be the reason for Paterson's departure. In relation to the Book4Golf.com incident Paterson reached a settlement agreement with the Ontario Securities Commission for investor conduct that the commission believed was against public interest. As part of the agreement, Paterson was asked to pay $1.1 million Canadian dollars to the commission and was barred from trading for six months. This settlement came despite the OSC stating Paterson never breached any securities laws. The OSC head of enforcement Michael Watson said "the information before the commission on which Paterson settled did not involve the breach of securities law. Paterson was not involved with insider trading." Paterson fulfilled all parts of the settlement agreement. Current career interests Paterson currently divides his time between leadership roles at Engagement Labs Inc. and Lions Gate Entertainment Corporation. Lions Gate Entertainment Paterson also serves on the board of directors at Lions Gate Entertainment, functioning as chairman of the audit committee for the board. Lionsgate is a major motion picture production and distribution company with widely known production features such as Mad Men, Orange Is the New Black and The Hunger Games franchise on its roster. Engagement Labs Inc. Engagement Labs Inc. is a data and analytics firm. Their main product is called "TotalSocial", a tool that combines online and offline data with predictive analytics. Since January 2014 Paterson serves as the chairman for the company's board of directors. Symbility Solutions Inc. Symbility Solutions Inc. is a firm that provides cloud-based technology for the insurance industry, with the specific purpose of making the claims process in property and health insurance more efficient and insurer-friendly. Paterson currently serves as the chairman for the company's board of directors. He has served in that position since 2004, which was when Symbility merged with Automated Benefits to go public. In the past several years, Symbility has enjoyed increased revenue. On March 18, 2013, the company published a report citing that company revenue increased by 108% to $16.54 million for the fiscal year ending December 31, 2012. This is in comparison to the company's revenue for fiscal year 2011, which was reported at $7.95 million. In December 2018 all of Symbility's outstanding shares were sold to CoreLogic and it is now a subsidiary of that company, ending Paterson's involvement. NeuLion Inc. Paterson previously served as vice chairman of NeuLion Inc., a company that provides video content to Internet-connected devices for sports leagues such as the NHL, the NFL, the NBA and the UFC. In 2005, Paterson became chairman of the company, which was known as JumpTV Inc. at the time. As chairman of JumpTV from 2005 to 2008 and chief executive officer of the company from 2005 to 2007, Paterson saw the firm through a number of transformative periods. In the summer of 2006, Paterson led the company through a successful US$65 million public offering led by Morgan Stanley on the Toronto Stock Exchange. Following this, Paterson led the company through a split merger with another rising online video technology company, NeuLion Inc. Paterson left the board of NeuLion in 2015. FutureVault Inc. Paterson is the Co-founder and Executive Chairman of FutureVault Inc., a Toronto-based information management company. FutureVault provides clients with a platform to securely store, organize and share their personal, financial and legal information and documents. Acting career Besides his work in the financial and investment field, in the past several years, Paterson has gained experience in the world of acting. In 2012, Paterson had a minor role in the action thriller A Dark Truth and, most recently, in 2013, Paterson completed work in another role in the thriller Breakout. As a result of his recent acting work, in 2013 Paterson became an active member of ACTRA, the Canadian actor's union. Personal life Paterson is married to his fourth wife, Sarah, and has seven children. Philanthropic efforts and contributions In 1997, Paterson co-founded the Merry Go Round Children's Foundation, located in Toronto. The Merry Go Round Children's Foundation is responsible for organizing the "Kids, Cops & Computers" Program, which helps provide financially disadvantaged children in the Toronto area access to technology, like laptops and basic internet connection. Besides co-founding the Merry Go Round Children's Foundation, Paterson also serves as the foundation's chairman. Paterson has donated over $600,000 to the foundation. Alma mater donations As a student, Paterson received bursaries at Ridley College and the University of Western Ontario. Paterson has served for over a decade as a member of the board of governors of Ridley College. In 2004, Paterson gave a $1 million donation to his University of Western Ontario alma mater to open the G. Scott Paterson Wing in the school's Medical Sciences building. At the public announcement of his donation, Paterson described the impetus for his gift to the school in this way, "Ideas may start here that lead to discoveries that will extend or perhaps even save lives ... It's great to be a part of that." Recognition In 1998, Paterson was the recipient of Canada's "Top 40 Under 40 Award", which is presented to "exceptional Canadians under the age of 40 who are outstanding leaders in their chosen fields and who are shaping our country's future". A year later, in 1999, Paterson was recognized and profiled by Time magazine as one of "Canada's 21st Century Leaders". In 2000, Paterson received recognition from his alma mater, the University of Western Ontario, by being presented with the Purple & White Award, given to Toronto-based alumni of the school who are "committed to and involved in University life while making a significant contribution to the Toronto area". Speaking about the honor given to Paterson, Dr. Paul Davenport, at the time, president of the University of Western Ontario, had this to say: "Scott's strong commitment to the University and his success as a Canadian business leader is something the entire Western community can be proud of." References 1964 births Living people Businesspeople from Ontario Canadian philanthropists Canadian stockbrokers People from Sarnia
```c++ /* * Question Description: * (Question 58 in <Coding Intervies>) How do you print a binary tree by level, in top down order, * with each level in a line? Nodes in a level should be printed from left to right. */ #include <stdio.h> #include "..\Utilities\BinaryTree.h" #include <queue> void Print(BinaryTreeNode* pRoot) { if(pRoot == NULL) return; std::queue<BinaryTreeNode*> nodes; nodes.push(pRoot); int nextLevel = 0; int toBePrinted = 1; while(!nodes.empty()) { BinaryTreeNode* pNode = nodes.front(); printf("%d ", pNode->m_nValue); if(pNode->m_pLeft != NULL) { nodes.push(pNode->m_pLeft); ++nextLevel; } if(pNode->m_pRight != NULL) { nodes.push(pNode->m_pRight); ++nextLevel; } nodes.pop(); --toBePrinted; if(toBePrinted == 0) { printf("\n"); toBePrinted = nextLevel; nextLevel = 0; } } } // ==================== Test Code ==================== // 8 // 6 10 // 5 7 9 11 void Test1() { BinaryTreeNode* pNode8 = CreateBinaryTreeNode(8); BinaryTreeNode* pNode6 = CreateBinaryTreeNode(6); BinaryTreeNode* pNode10 = CreateBinaryTreeNode(10); BinaryTreeNode* pNode5 = CreateBinaryTreeNode(5); BinaryTreeNode* pNode7 = CreateBinaryTreeNode(7); BinaryTreeNode* pNode9 = CreateBinaryTreeNode(9); BinaryTreeNode* pNode11 = CreateBinaryTreeNode(11); ConnectTreeNodes(pNode8, pNode6, pNode10); ConnectTreeNodes(pNode6, pNode5, pNode7); ConnectTreeNodes(pNode10, pNode9, pNode11); printf("====Test1 Begins: ====\n"); printf("Expected Result is:\n"); printf("8 \n"); printf("6 10 \n"); printf("5 7 9 11 \n\n"); printf("Actual Result is: \n"); Print(pNode8); printf("\n"); DestroyTree(pNode8); } // 5 // 4 // 3 // 2 void Test2() { BinaryTreeNode* pNode5 = CreateBinaryTreeNode(5); BinaryTreeNode* pNode4 = CreateBinaryTreeNode(4); BinaryTreeNode* pNode3 = CreateBinaryTreeNode(3); BinaryTreeNode* pNode2 = CreateBinaryTreeNode(2); ConnectTreeNodes(pNode5, pNode4, NULL); ConnectTreeNodes(pNode4, pNode3, NULL); ConnectTreeNodes(pNode3, pNode2, NULL); printf("====Test2 Begins: ====\n"); printf("Expected Result is:\n"); printf("5 \n"); printf("4 \n"); printf("3 \n"); printf("2 \n\n"); printf("Actual Result is: \n"); Print(pNode5); printf("\n"); DestroyTree(pNode5); } // 5 // 4 // 3 // 2 void Test3() { BinaryTreeNode* pNode5 = CreateBinaryTreeNode(5); BinaryTreeNode* pNode4 = CreateBinaryTreeNode(4); BinaryTreeNode* pNode3 = CreateBinaryTreeNode(3); BinaryTreeNode* pNode2 = CreateBinaryTreeNode(2); ConnectTreeNodes(pNode5, NULL, pNode4); ConnectTreeNodes(pNode4, NULL, pNode3); ConnectTreeNodes(pNode3, NULL, pNode2); printf("====Test3 Begins: ====\n"); printf("Expected Result is:\n"); printf("5 \n"); printf("4 \n"); printf("3 \n"); printf("2 \n\n"); printf("Actual Result is: \n"); Print(pNode5); printf("\n"); DestroyTree(pNode5); } void Test4() { BinaryTreeNode* pNode5 = CreateBinaryTreeNode(5); printf("====Test4 Begins: ====\n"); printf("Expected Result is:\n"); printf("5 \n\n"); printf("Actual Result is: \n"); Print(pNode5); printf("\n"); DestroyTree(pNode5); } void Test5() { printf("====Test5 Begins: ====\n"); printf("Expected Result is:\n"); printf("Actual Result is: \n"); Print(NULL); printf("\n"); } // 100 // / // 50 // \ // 150 void Test6() { BinaryTreeNode* pNode100 = CreateBinaryTreeNode(100); BinaryTreeNode* pNode50 = CreateBinaryTreeNode(50); BinaryTreeNode* pNode150 = CreateBinaryTreeNode(150); ConnectTreeNodes(pNode100, pNode50, NULL); ConnectTreeNodes(pNode50, NULL, pNode150); printf("====Test6 Begins: ====\n"); printf("Expected Result is:\n"); printf("100 \n"); printf("50 \n"); printf("150 \n\n"); printf("Actual Result is: \n"); Print(pNode100); printf("\n"); } int main(int argc, char* argv[]) { Test1(); Test2(); Test3(); Test4(); Test5(); Test6(); return 0; } ```
Skaugstad is a Norwegian surname. Notable people with the surname include: Daryle Skaugstad (born 1957), American football player Dave Skaugstad (1940–2023), American baseball player Norwegian-language surnames
Coleophora hoeneella is a moth of the family Coleophoridae. It is found in Tibet. The wingspan is about 15 mm. References hoeneella Moths described in 1989 Moths of Asia
ER oxidoreductin 1 (Ero1) is an oxidoreductase enzyme that catalyses the formation and isomerization of protein disulfide bonds in the endoplasmic reticulum (ER) of eukaryotes. ER Oxidoreductin 1 (Ero1) is a conserved, luminal, glycoprotein that is tightly associated with the ER membrane, and is essential for the oxidation of protein dithiols. Since disulfide bond formation is an oxidative process, the major pathway of its catalysis has evolved to utilise oxidoreductases, which become reduced during the thiol-disulfide exchange reactions that oxidise the cysteine thiol groups of nascent polypeptides. Ero1 is required for the introduction of oxidising equivalents into the ER and their direct transfer to protein disulfide isomerase (PDI), thereby ensuring the correct folding and assembly of proteins that contain disulfide bonds in their native state. Ero1 exists in two isoforms: Ero1-α and Ero1-β. Ero1-α is mainly induced by hypoxia (HIF-1), whereas Ero1-β is mainly induced by the unfolded protein response (UPR). During endoplasmic reticulum stress (such as occurs in beta cells of the pancreas or in macrophages causing atherosclerosis), CHOP can induce activation of Ero1, causing calcium release from the endoplasmic reticulum into the cytoplasm, resulting in apoptosis. Homologues of the Saccharomyces cerevisiae Ero1 proteins have been found in all eukaryotic organisms examined, and contain seven cysteine residues that are absolutely conserved, including three that form the sequence Cys–X–X–Cys–X–X–Cys (where X can be any residue). The mechanism of thiol–disulfide exchange between oxidoreductases The mechanism of thiol–disulfide exchange between oxidoreductases is understood to begin with the nucleophilic attack on the sulfur atoms of a disulfide bond in the oxidised partner, by a thiolate anion derived from a reactive cysteine in a reduced partner. This generates mixed disulfide intermediates, and is followed by a second, this time intramolecular, nucleophilic attack by the remaining thiolate anion in the formerly reduced partner, to liberate both oxidoreductases. The balance of evidence discussed thus far supports a model in which oxidising equivalents are sequentially transferred from Ero1 via a thiol–disulfide exchange reaction to PDI, with PDI then undergoing a thiol–disulfide exchange with the nascent polypeptide, thereby enabling the formation of disulfide bonds within the nascent polypeptide. References Biomolecules Enzymes
```c /* edit_packet_comment_dlg.c * Dialog box for editing or adding packet comments. * * Wireshark - Network traffic analyzer * By Gerald Combs <gerald@wireshark.org> * * This program is free software; you can redistribute it and/or * as published by the Free Software Foundation; either version 2 * * 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, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "config.h" #include <string.h> #include <gtk/gtk.h> #include "ui/main_statusbar.h" #include "ui/gtk/dlg_utils.h" #include "ui/gtk/expert_comp_dlg.h" #include "ui/gtk/gui_utils.h" #include "ui/gtk/main.h" #include "ui/gtk/packet_list.h" #include "ui/gtk/edit_packet_comment_dlg.h" static GtkWidget *edit_or_add_pkt_comment_dlg = NULL; static GtkWidget *edit_or_add_capture_comment_dlg = NULL; static void pkt_comment_text_buff_ok_cb(GtkWidget *w _U_, GtkWidget *view) { GtkTextBuffer *buffer; GtkTextIter start_iter; GtkTextIter end_iter; gchar *new_packet_comment; buffer = gtk_text_view_get_buffer (GTK_TEXT_VIEW (view)); gtk_text_buffer_get_start_iter (buffer, &start_iter); gtk_text_buffer_get_end_iter (buffer, &end_iter); new_packet_comment = gtk_text_buffer_get_text (buffer, &start_iter, &end_iter, FALSE /* whether to include invisible text */); /*g_warning("The new comment is '%s'",new_packet_comment);*/ packet_list_update_packet_comment(new_packet_comment); expert_comp_packet_comment_updated(); status_expert_update(); window_destroy(edit_or_add_pkt_comment_dlg); } static void capture_comment_text_buff_ok_cb(GtkWidget *w _U_, GtkWidget *view) { GtkTextBuffer *buffer; GtkTextIter start_iter; GtkTextIter end_iter; gchar *new_capture_comment; buffer = gtk_text_view_get_buffer (GTK_TEXT_VIEW (view)); gtk_text_buffer_get_start_iter (buffer, &start_iter); gtk_text_buffer_get_end_iter (buffer, &end_iter); new_capture_comment = gtk_text_buffer_get_text (buffer, &start_iter, &end_iter, FALSE /* whether to include invisible text */); /*g_warning("The new comment is '%s'",new_capture_comment);*/ cf_update_capture_comment(&cfile, new_capture_comment); /* Update the main window as appropriate */ main_update_for_unsaved_changes(&cfile); status_capture_comment_update(); window_destroy(edit_or_add_capture_comment_dlg); } void edit_packet_comment_dlg (GtkAction *action _U_, gpointer data _U_) { GtkWidget *vbox; GtkWidget *view; GtkWidget *scroll; GtkWidget *bbox; GtkWidget *ok_bt, *cancel_bt, *help_bt; GtkTextBuffer *buffer; gchar *opt_comment; edit_or_add_pkt_comment_dlg = dlg_window_new ("Edit or Add Packet Comments"); gtk_widget_set_size_request (edit_or_add_pkt_comment_dlg, 500, 160); gtk_window_set_resizable (GTK_WINDOW (edit_or_add_pkt_comment_dlg), TRUE); gtk_container_set_border_width (GTK_CONTAINER (edit_or_add_pkt_comment_dlg), DLG_OUTER_MARGIN); vbox = ws_gtk_box_new(GTK_ORIENTATION_VERTICAL, DLG_UNRELATED_SPACING, FALSE); gtk_container_add (GTK_CONTAINER (edit_or_add_pkt_comment_dlg), vbox); gtk_widget_show (vbox); view = gtk_text_view_new (); gtk_text_view_set_wrap_mode(GTK_TEXT_VIEW(view), GTK_WRAP_WORD); buffer = gtk_text_view_get_buffer (GTK_TEXT_VIEW (view)); gtk_widget_show (view); scroll = gtk_scrolled_window_new(NULL, NULL); gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(scroll), GTK_POLICY_NEVER, GTK_POLICY_AUTOMATIC); gtk_container_add(GTK_CONTAINER(scroll), view); gtk_widget_show(scroll); gtk_box_pack_start(GTK_BOX (vbox), scroll, TRUE, TRUE, 0); /* Get the comment */ opt_comment = packet_list_get_packet_comment(); /*g_warning("Fetched comment '%s'",opt_comment);*/ if(opt_comment){ gtk_text_buffer_set_text(buffer, opt_comment, -1); g_free(opt_comment); } /* Button row. */ bbox = dlg_button_row_new (GTK_STOCK_OK, GTK_STOCK_CANCEL, GTK_STOCK_HELP, NULL); gtk_box_pack_end (GTK_BOX(vbox), bbox, FALSE, FALSE, 0); ok_bt = (GtkWidget *)g_object_get_data (G_OBJECT(bbox), GTK_STOCK_OK); g_signal_connect (ok_bt, "clicked", G_CALLBACK(pkt_comment_text_buff_ok_cb), view); gtk_widget_set_sensitive (ok_bt, TRUE); cancel_bt = (GtkWidget *)g_object_get_data (G_OBJECT(bbox), GTK_STOCK_CANCEL); window_set_cancel_button (edit_or_add_pkt_comment_dlg, cancel_bt, window_cancel_button_cb); help_bt = (GtkWidget *)g_object_get_data (G_OBJECT(bbox), GTK_STOCK_HELP); #if 0 g_signal_connect (help_bt, "clicked",/* G_CALLBACK(topic_cb)*/NULL, /*(gpointer)HELP_MANUAL_ADDR_RESOLVE_DIALOG*/NULL); #endif gtk_widget_set_sensitive (help_bt, FALSE); gtk_widget_grab_default (ok_bt); g_signal_connect (edit_or_add_pkt_comment_dlg, "delete_event", G_CALLBACK(window_delete_event_cb), NULL); gtk_widget_show (edit_or_add_pkt_comment_dlg); } static void edit_capture_comment_destroy_cb(GtkWidget *win _U_, gpointer user_data _U_) { /* Note that we no longer have an "Edit Capture Comment" dialog box. */ edit_or_add_capture_comment_dlg = NULL; } void edit_capture_comment_dlg_launch (GtkAction *action _U_, gpointer data _U_) { GtkWidget *vbox; GtkWidget *view; GtkWidget *scroll; GtkWidget *bbox; GtkWidget *ok_bt, *cancel_bt, *help_bt; GtkTextBuffer *buffer = NULL; const gchar *comment_str = NULL; if (edit_or_add_capture_comment_dlg != NULL) { /* There's already an "Edit Capture Comment" dialog box; reactivate it. */ reactivate_window(edit_or_add_capture_comment_dlg); return; } edit_or_add_capture_comment_dlg = dlg_window_new ("Edit or Add Capture Comments"); gtk_widget_set_size_request (edit_or_add_capture_comment_dlg, 500, 160); gtk_window_set_resizable (GTK_WINDOW (edit_or_add_capture_comment_dlg), TRUE); gtk_container_set_border_width (GTK_CONTAINER (edit_or_add_capture_comment_dlg), DLG_OUTER_MARGIN); g_signal_connect(edit_or_add_capture_comment_dlg, "destroy", G_CALLBACK(edit_capture_comment_destroy_cb), NULL); vbox = ws_gtk_box_new(GTK_ORIENTATION_VERTICAL, DLG_UNRELATED_SPACING, FALSE); gtk_container_add (GTK_CONTAINER (edit_or_add_capture_comment_dlg), vbox); gtk_widget_show (vbox); view = gtk_text_view_new (); gtk_text_view_set_wrap_mode(GTK_TEXT_VIEW(view), GTK_WRAP_WORD); buffer = gtk_text_view_get_buffer (GTK_TEXT_VIEW (view)); gtk_widget_show (view); scroll = gtk_scrolled_window_new(NULL, NULL); gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(scroll), GTK_POLICY_NEVER, GTK_POLICY_AUTOMATIC); gtk_container_add(GTK_CONTAINER(scroll), view); gtk_widget_show(scroll); gtk_box_pack_start(GTK_BOX (vbox), scroll, TRUE, TRUE, 0); /* Get the comment */ comment_str = cf_read_shb_comment(&cfile); if(comment_str != NULL){ gtk_text_buffer_set_text (buffer, comment_str, -1); } /* Button row. */ bbox = dlg_button_row_new (GTK_STOCK_OK, GTK_STOCK_CANCEL, GTK_STOCK_HELP, NULL); gtk_box_pack_end (GTK_BOX(vbox), bbox, FALSE, FALSE, 0); ok_bt = (GtkWidget *)g_object_get_data (G_OBJECT(bbox), GTK_STOCK_OK); g_signal_connect (ok_bt, "clicked", G_CALLBACK(capture_comment_text_buff_ok_cb), view); gtk_widget_set_sensitive (ok_bt, TRUE); cancel_bt = (GtkWidget *)g_object_get_data (G_OBJECT(bbox), GTK_STOCK_CANCEL); window_set_cancel_button (edit_or_add_capture_comment_dlg, cancel_bt, window_cancel_button_cb); help_bt = (GtkWidget *)g_object_get_data (G_OBJECT(bbox), GTK_STOCK_HELP); #if 0 g_signal_connect (help_bt, "clicked",/* G_CALLBACK(topic_cb)*/NULL, /*(gpointer)HELP_MANUAL_ADDR_RESOLVE_DIALOG*/NULL); #endif gtk_widget_set_sensitive (help_bt, FALSE); gtk_widget_grab_default (ok_bt); g_signal_connect (edit_or_add_capture_comment_dlg, "delete_event", G_CALLBACK(window_delete_event_cb), NULL); gtk_widget_show (edit_or_add_capture_comment_dlg); } void edit_capture_comment_dlg_hide(void) { window_destroy(edit_or_add_capture_comment_dlg); } /* * Editor modelines - path_to_url * * Local Variables: * c-basic-offset: 2 * tab-width: 8 * indent-tabs-mode: nil * End: * * vi: set shiftwidth=2 tabstop=8 expandtab: * :indentSize=2:tabSize=8:noTabs=true: */ ```
The Frankfurt Parliament (, literally Frankfurt National Assembly) was the first freely elected parliament for all German states, including the German-populated areas of the Austrian Empire, elected on 1 May 1848 (see German federal election, 1848). The session was held from 18 May 1848 to 30 May 1849 in the Paulskirche at Frankfurt am Main. Its existence was both part of and the result of the "March Revolution" within the states of the German Confederation. After long and controversial debates, the assembly produced the so-called Frankfurt Constitution (Paulskirchenverfassung or St. Paul's Church Constitution, officially the Verfassung des Deutschen Reiches) which proclaimed a German Empire based on the principles of parliamentary democracy. This constitution fulfilled the main demands of the liberal and nationalist movements of the Vormärz and provided a foundation of basic rights, both of which stood in opposition to Metternich's system of Restoration. The parliament also proposed a constitutional monarchy headed by a hereditary emperor (Kaiser). The Prussian king Frederick William IV refused to accept the office of emperor when it was offered to him on the grounds that such a constitution and such an offer were an abridgment of the rights of the princes of the individual German states. In the 20th century, however, major elements of the Frankfurt constitution became models for the Weimar Constitution of 1919 and the Basic Law for the Federal Republic of Germany of 1949. Background Napoleonic upheavals and German Confederation In 1806, the Emperor, Francis II had relinquished the crown of the Holy Roman Empire and dissolved the Empire. This was the result of the Napoleonic Wars and of direct military pressure from Napoléon Bonaparte. After the victory of Prussia, the United Kingdom, Russia and other states over Napoléon in 1815, the Congress of Vienna created the German Confederation (Deutscher Bund). Austria dominated this system of loosely connected, independent states, but the system failed to account for the rising influence of Prussia. After the so-called "Wars of Liberation" (Befreiungskriege, the German term for the German part of the War of the Sixth Coalition), many contemporaries had expected a nation-state solution and thus considered the subdivision of Germany as unsatisfactory. Apart from this nationalist component, calls for civic rights influenced political discourse. The Napoleonic Code Civil had led to the introduction of civic rights in some German states in the early 19th century. Furthermore, some German states had adopted constitutions after the foundation of the German Confederacy. Between 1819 and 1830, the Carlsbad Decrees and other instances of Restoration politics limited such developments. The unrest that resulted from the 1830 French July Revolution led to a temporary reversal of that trend, but after the demonstration for civic rights and national unity at the 1832 Hambach Festival, and the abortive attempt at an armed rising in the 1833 Frankfurter Wachensturm, the pressure on representatives of constitutional or democratic ideas was raised through measures such as censorship and bans on public assemblies. The 1840s The 1840s began with the Rhine Crisis, a primarily diplomatic scandal caused by the threat from the French prime minister Adolphe Thiers to invade Germany in a dispute between Paris and the four other Great Powers (including Austria and Prussia) over the Middle East. The threat alarmed the German Confederate Diet (Bundesversammlung), which was made up of representatives of the individual princes, and the only institution representing the whole German Confederation. The Diet voted to extend the Fortresses of the German Confederation (Bundesfestungen) at Mainz, Ulm, and Rastatt, while the Kingdom of Bavaria developed the fortress at Germersheim. Patriotic feelings of the public were effectively captured in the poem Die Wacht am Rhein (Watch on the Rhine) by Max Schneckenburger, and in songs such as "Der Deutsche Rhein" and the "Lied der Deutschen", the national anthem of Germany since 1922. The mid-1840s saw an increased frequency of internal crises. This was partially the result of large-scale political developments, such as the escalation of the Schleswig-Holstein Question and the erection of the Bundesfestungen. Additionally, a series of bad harvests in parts of Germany, notably the southwest, led to widely spread famine-related unrest in 1845 and 1846. The changes caused by the beginnings of industrialization exacerbated social and economic tensions considerably, especially in Saxony and Silesia. Meanwhile, in the reform-oriented states, such as Baden, the development of a lively scene of Vereine (clubs or voluntary associations) provided an organizational framework for democratic, or popular, opposition. Especially in Southwest Germany, censorship could not effectively suppress the press. At such rallies as the Offenburg Popular Assembly of September 1847, radical democrat was called to overthrow the status quo. At the same time, the bourgeois opposition had increased its networking activities and began coordinating its activities in the individual chamber parliaments more and more confidently. Thus, at the Heppenheim Conference on 10 October 1847, eighteen liberal members from a variety of German states met to discuss common motions for a German nation-state. In Prussia, King Frederick William IV finally approved the assembly of a United Diet promised by his father in the decree of 22 May 1815. This body was commanded to debate and vote only on taxes and loans. However, as soon as it opened in April 1847, its members began discussions of press freedoms, voting, and human rights, the power to introduce legislation and foreign policy. After eleven weeks, the United Diet rejected a loan request. The King closed the diet in disgust and refused to say when it would be reopened. However, the people's enthusiasm for the United Diet was undeniable, and it was clear that a new political age was dawning. Many of the most eloquent members of the United Diet would play important roles in the future Frankfurt Parliament. Between 1846 and 1848, broader European developments aggravated this tension. The Peasant Uprising in Galicia in February and March 1846 was a revolt against serfdom, directed against manorial property and oppression. Rioting Galician peasants killed some 1,000 noblemen and destroyed about 500 manors. Despite its failure, the uprising was seen by some scholars, including Karl Marx, as a "deeply democratic movement that aimed at land reform and other pressing social questions." The uprising was praised by Marx and Friedrich Engels for being "the first in Europe to plant the banner of social revolution", and seen as a precursor to the coming Spring of Nations. At the same time, the suppression of the Free City of Cracow in the midst of the uprising aroused the emotions of nationalists in Germany as much as in Poland. In Switzerland, the Sonderbund War of November 1847 saw the swift defeat of the conservative Catholic cantons and victory for the radical left-wing in the Protestant cantons. Austrian Chancellor Klemens von Metternich had pondered military intervention and later regretted not doing so, blaming the resulting waves of revolution on the Swiss. Three months later, revolutionary workers and students in France deposed the Citizen King Louis-Philippe I in the February Revolution; their action resulted in the declaration of the Second Republic. In many European states, the resistance against Restoration policies increased and led to revolutionary unrest. In several parts of the Austrian Empire, namely in Hungary, Bohemia, Romania, and throughout Italy, in particular in Sicily, Rome, and Northern Italy, there were bloody revolts, replete with calls for local or regional autonomy and even for national independence. Friedrich Daniel Bassermann, a liberal deputy in the second chamber of the parliament of Baden, helped to trigger the final impulse for the election of a pan-German assembly (or parliament). On 12 February 1848, referring to his own motion (Motion Bassermann) in 1844 and a comparable one by Carl Theodor Welcker in 1831, he called for a representation, elected by the people, in the Confederate Diet. Two weeks later, news of the successful revolution in France fanned the flames of the revolutionary mood. The revolution on German soil began in Baden, with the occupation of the Ständehaus at Karlsruhe. This was followed in April by the Heckerzug (named after its leader, Friedrich Hecker), the first of three revolutionary risings in the Grand Duchy. Within a few days and weeks, the revolts spread to the other German states. The March Revolution The central demands of the German opposition(s) were the granting of basic and civic rights regardless of property requirements, the appointment of liberal governments in the individual states and most importantly the creation of a German nation-state, with a pan-German constitution and a popular assembly. On 5 March 1848, opposition politicians and state deputies met at the Heidelberg Assembly to discuss these issues. They resolved to form a pre-parliament (Vorparlament), which was to prepare the elections for a national constitutional assembly. They also elected a "Committee of Seven" (Siebenerausschuss), which proceeded to invite 500 individuals to Frankfurt. This development was accompanied and supported since early March by protest rallies and risings in many German states, including Baden, the Kingdom of Bavaria, the Kingdom of Saxony, the Kingdom of Württemberg, Austria and Prussia. Under such pressure, the individual princes recalled the existing conservative governments and replaced them with more liberal committees, the so-called "March Governments" (Märzregierungen). On 10 March 1848, the Bundestag of the German Confederation appointed a "Committee of Seventeen" (Siebzehnerausschuss) to prepare a draft constitution; on 20 March, the Bundestag urged the states of the confederation to call elections for a constitutional assembly. After bloody street fights (Barrikadenaufstand) in Prussia, a Prussian National Assembly was also convened, with the task of preparing a constitution for that kingdom. The Pre-Parliament The Pre-Parliament (Vorparlament) was in session at the St. Paul's Church, Frankfurt am Main (Paulskirche) in Frankfurt from 31 March to 3 April, chaired by Carl Joseph Anton Mittermaier. With the support of the moderate liberals, and against the opposition of the radical democrats, it decided to cooperate with the German Confederate Diet (Bundestag), to form a national constitutional assembly which would write a new constitution. For the transitional period until the actual formation of that assembly, the Vorparlament formed the Committee of Fifty (Fünfzigerausschuss), as a representation to face the German Confederation. Though the pre-parliament had decided on 13 May 1848 for the opening of the National Assembly, the date was pushed to 18 May so that deputies from Prussia's outer provinces, which had only recently joined the Confederation, could arrive in time. By this calculation, the number of Prussian deputies to parliament was increased. Preparing for the Elections According to the pre-parliament's rules for elections, one deputy was to be seated for every 50,000 inhabitants within the Confederation, totaling some 649 jurisdictions (see this list of deputies at the opening of the parliament or list of all deputies on German Wikipedia). The actual elections to the National Assembly depended on the laws of the individual states, which varied considerably. Württemberg, Holstein, the Electorate of Hesse (Hesse-Kassel) and the four remaining free cities (Hamburg, Lübeck, Bremen and Frankfurt) held direct elections. Most states chose an indirect procedure, usually involving a first round, voting to constitute an Electoral college which chose the actual deputies in a second round. There also were different arrangements regarding the right to vote, as the Frankfurt guidelines only stipulated that voters should be independent (selbständig) adult males. The definition of independence was handled differently from state to state and was frequently the subject of vociferous protests. Usually, it was interpreted to exclude the recipients of any poverty-related support, but in some areas, it also barred any person who did not have a household of their own, including apprentices living at their masters' homes. Even with restrictions, however, it is estimated that about 85% of the male population could vote. In Prussia, the definition used would have pushed this up to 90%, whereas the laws were much more restrictive in Saxony, Baden, and Hanover. The boycott in Austria's Czech majority areas and complications in Tiengen (Baden), (where the leader of the Heckerzug rebellion, Freidrich Hecker, in exile in Switzerland, was elected in two rounds) caused disruptions. Organisation of the Nationalversammlung On 18 May 1848, 379 deputies assembled in the Kaisersaal and walked solemnly to the Paulskirche to hold the first session of the German national assembly, under its chairman (by seniority) Friedrich Lang. Heinrich von Gagern, one of the best-known liberals throughout Germany, was elected president of the parliament. (See this List of deputies that attended the opening of the parliament.) Assembly in the St. Paul's Church The evangelical community of Frankfurt provided St. Paul's Church (Paulskirche) to the Pre-Parliament, which in turn became the home of the National Assembly. The altar was removed and a lectern was put in place for the presidium and the speaker, while the church organ was hidden by the large painting Germania. On either side of the gallery was the library. Despite its large capacity, which allowed the sitting of 600 deputies and a gallery for 2,000 spectators, there were some disadvantages. St. Paul's Church had extremely narrow corridors between the rows of seats in the central hall, and there were no rooms for consultation by the committees. The gallery attendees quickly became famous for their noise during the debates, which the more eloquent deputies learned to abuse to gain applause for themselves or raucous blame upon their enemies. Form and Function of the Parliament The Committee of Fifty that emerged from the Pre-parliament could have drafted Rules of Procedure for the National Assembly but rejected doing so on 29 April 1848. Therefore, Robert Mohl worked out his draft with two other deputies. The draft was completed on 10 May and adopted as regulation at the first sitting of the Parliament on 18 May. A commission was set up to draft the definitive rules of procedure on 29 May, which was adopted following a short debate. Six sections with 49 paragraphs regulated the electoral test, the board and staff of the assembly, quorum (set at 200 deputies), the formation of committees, order of debate, and inputs and petitions. Among other things, the rules of procedure provided that the meetings were public but could be confidential under certain conditions. In the 15 committees, the subjects of negotiation were pre-deliberated. It was settled on how applications were to be handled (twenty votes were needed for the plenary presentation) and that the agenda was fixed by the President at the end of the previous session. Deputies spoke in the order in which they answered but with a change from opponents and supporters of the bill. Speaking time was unlimited. Twenty deputies together could request the conclusion of a debate, at which the decision was then in plenary. There were no seating arrangements, but the deputies soon arranged themselves according to their political affiliations, from left and right. By formal change or simple use, the Rules of Procedure could be modified. Political factions largely determined the speakers in a debate. A name roll call had to take place if at least fifty deputies demanded it; Speaker Friedrich Bassermann wanted to allow this only when needed because of uncertainty over the vote, but opponents saw in the roll call a means of documenting how the deputies voted. Finally, to save time, on 17 October 1848 voting cards were introduced (white "yes", blue "no") as a means of true documentation. By the Rules of Procedure, an absolute majority of deputies present elected the President and the two Vice-Presidents of the National Assembly. A new election of officers was held every four weeks, as Robert von Mohl had suggested. The President maintained order in the session, set the agenda, and led the meeting. The overall board also included eight secretaries, who were jointly elected by a relative majority for the entire term. A panel of twelve stenographers wrote down all discussions in every session and withdrew in the evening to compare notes. They were assisted by 13 clerks. Final copies of the daily sessions were printed for the public two or three days later, though by the time of the Rump Parliament, printings were up to ten days late. Furthermore, the staff consisted of messengers and servants. Presidents of the National Assembly Friedrich Lang as president by seniority (18 May 1848 until 19 May 1848) Heinrich von Gagern (19 May 1848 until 16 December 1848) Eduard Simson (18 December 1848 until 11 May 1849) Theodor Reh (12 May 1849 until 30 May 1849) Friedrich Wilhelm Löwe as president of the Stuttgart rump parliament (6 June 1849 until 18 June 1849) Calculating the number of deputies The Pre-Parliament had set the ratio of one deputy to the National Assembly per 50,000 inhabitants of the German Confederation, totaling 649 deputies. However, Czech-majority constituencies in Bohemia and Moravia boycotted the election, reducing the total to 585. As many deputies held multiple assignments in state parliaments or government offices, this reduced the average daily attendance to between 400 and 450 members. For important ballots, up to 540 deputies might attend to cast their vote. In April 1849, there were on average 436 deputies each sitting before the Austrian deputies were recalled (see below). Because of resignations and replacements, the total number of deputies who served between 18 May 1848 and 17 June 1849 has never been determined satisfactorily. Historian Jörg-Detlef Kühne counted a total of 799 deputies, while Thomas Nipperdey reckoned a high figure of 830. In the middle, Wolfram Siemann counted 812 deputies and Christian Jansen 809, which are the most popular figures. The discrepancy may be due to the chaotic conditions of the elections, where disputes over constituencies and the conduct of the elections caused the late sitting of some deputies. Adjustments to the Demarkationslinie in the Grand Duchy of Posen created new constituencies and new deputies as late as February 1849 (see below). Finally, the passage of the Austrian Constitution in March 1849 convinced a few Czech deputies who had boycotted the National Assembly to appear, if only in moral opposition. For these reasons, the total number of deputies may never be settled. Social background of the deputies The social makeup of the deputies was very homogeneous throughout the session. The parliament mostly represented the educated bourgeoisie. 95% of deputies had the abitur, more than three-quarters had been to university, half of which had studied jurisprudence. A considerable number of deputies were members of a Corps or a Burschenschaft. In terms of profession, upper-level civil servants formed the majority: this group included a total of 436 deputies, including 49 university lecturers or professors, 110 judges or prosecutors, and 115 high administrative clerks and district administrators (Landräte). Due to their oppositional views, many of them had already conflicted with their princes for several years, including professors such as Jacob Grimm, Friedrich Christoph Dahlmann, Georg Gottfried Gervinus and Wilhelm Eduard Albrecht (all counted among the Göttingen Seven), and politicians such as Welcker and Itzstein who had been champions of constitutional rights for two decades. Among the professors, besides lawyers, experts in German Studies and historians were especially common, because under the sway of restoration politics, academic meetings in such disciplines, e.g. the Germanisten-Tage of 1846 and 1847, were often the only occasions where national themes could be discussed freely. Apart from those mentioned above, the academic Ernst Moritz Arndt, Johann Gustav Droysen, Carl Jaup, Friedrich Theodor Vischer and Georg Waitz are especially notable. Because of this composition, the National Assembly was later often dismissively dubbed the Professorenparlament ("Professors' parliament") and ridiculed with verses such as "Dreimal 100 Advokaten – Vaterland, du bist verraten; dreimal 100 Professoren – Vaterland, du bist verloren!" "Three times 100 lawyers – Fatherland, you are betrayed; three times 100 professors – Fatherland, you are doomed". 149 deputies were self-employed bourgeois professionals, such as lawyers, doctors, journalists or clergymen, including well-known politicians such as Alexander von Soiron, Johann Jacoby, Karl Mathy, Johann Gustav Heckscher, Wilhelm Emmanuel von Ketteler and Wilhelm Murschel. The economically active middle class was represented by only about 60 deputies, including many publishers, including Bassermann and Georg Friedrich Kolb, but also businessmen, industrialists and bankers, such as Hermann Henrich Meier, Ernst Merck, Hermann von Beckerath, Gustav Mevissen and Carl Mez. Tradesmen and representatives of agriculture were very poorly represented – the latter were mostly represented by big landowners from east of the Elbe, accompanied by only three farmers. Craftsmen like Robert Blum or Wilhelm Wolff were associated almost exclusively with the radical democratic Left, as they knew the social problems of the underprivileged classes from personal observations. A few of them, e.g. Wolff already saw themselves as explicit socialists. A further striking aspect is the large number of well-known writers among the deputies, including Anastasius Grün, Johann Ludwig Uhland, Heinrich Laube and Victor Scheffel. Factions and committees In his opening speech on 19 May 1848, Gagern defined the main tasks of the national assembly as the creation of a "constitution for Germany" and the achievement of German unification. This was followed by a total of 230 sessions, supported by 26 committees and five commissions, in the course of which the deputies developed the Frankfurt Constitution. While the opening session had generally been quite chaotic, with the deputies seated haphazardly, independent of their political affiliations, ordered parliamentary procedures developed quickly. Soon, deputies started assembling in Klubs (clubs), which served as discussion groups for kindred spirits and led to the development of Fraktionen (Parliamentary groups or factions), a necessary prerequisite for the development of political majorities. These Fraktionen were perceived as clubs and thus usually named after the location of their meetings; generally, they were quite unstable. According to their stances, especially on the constitution, the powers of parliament, and central government as opposed to individual states, they are broadly divided into three basic camps: The democratic left (demokratische Linke)—also called the "Ganzen" ("the whole ones") in contemporary jargon—consisting of the extreme and the moderate left (the Deutscher Hof group and its later split-offs Donnersberg, Nürnberger Hof and Westendhall). The liberal center—the so-called "Halben" ("Halves")—consisting of the left and right center (the right-wing liberal Casino and the left-wing liberal Württemberger Hof, and the later split-offs Augsburger Hof, Landsberg and Pariser Hof). The conservative right, composed of Protestants and conservatives (first Steinernes Haus, later Café Milani). The largest groupings in numerical terms were the Casino, the Württemberger Hof, and beginning in 1849 the combined left, appearing as the Centralmärzverein ("Central March Club"). In his memoirs, the deputy Robert von Mohl wrote about the formation and functioning of the Clubs: Provisional central power Since the national assembly had not been initiated by the German Confederation, it was lacking not only major constitutional bodies, such as a head of state and a government, but also legal legitimation. A modification of the Bundesakte, the constitution of the German Confederation could have brought about such legitimation, but was practically impossible to achieve, as it would have required the unanimous support of all 38 signatory states. Partially for this reason, influential European powers, including France and Russia, declined to recognize the Parliament. While the left demanded to solve this situation by creating a revolutionary parliamentary government, the center and right acted to create a monarchy. Formation of the Central Power On 24 June 1848, Heinrich von Gagern argued for a regency and provisional central government to carry out parliamentary decisions. On 28 June 1848, the Paulskirche parliament voted, with 450 votes against 100, for the so-called Provisional Central Power (Provisorische Zentralgewalt). The next day, 29 June, the Parliament cast votes for candidates to be the Reichsverweser or Regent of the Empire, a temporary head of state. In the final tally, Archduke John of Austria gained 436 votes, Heinrich von Gagern received 52 votes, John Adam von Itzstein got 32 votes, and Archduke Stephen, Palatine of Hungary only 1 vote. The office of Regent was declared "irresponsible", meaning the Regent could not govern except through his ministers, who were responsible to the Parliament. The Parliament then dispatched a deputation to the Archduke to present the honor bestowed upon him. However, the Confederate Diet (Bundesversammlung) sent their own letter, which the Archduke received prior to the parliamentary deputation, informing him that the princes of the Confederation had nominated him Regent before the Parliament had done so. The implication was that the Regent should receive his power from the princes rather than the revolutionaries, but the practical effect of this power was yet to be seen. The Archduke received the delegation on 5 July 1848 and accepted the position, stating, however, that he could not undertake full responsibility in Frankfurt until he had finished his current work of opening the Austrian Parliament in Vienna. Therefore, Archduke John drove to Frankfurt where he was sworn in as Regent on the morning of 12 July 1848 in the Paulskirche, and then crossed over to the Thurn and Taxis Palace to deliver a speech to the Confederate Diet, which then declared the end of its work and delegated its responsibilities to the Regent. Archduke John returned to Vienna on 17 July to finish his tasks there. Practical tasks of the Provisional Central Power The practical tasks of the Provisional Central Power were performed by a cabinet, consisting of a college of ministers under the leadership of a prime minister (Ministerpräsident). At the same time, the Provisional Central Power undertook to create a government apparatus, made up of specialized ministries and special envoys, employing, for financial reasons, mainly deputies of the assembly. The goal was to have a functional administration in place at the time of the Constitution's passage. Whatever form the final government of united Germany was to take would be defined by the Constitution, and necessary changes to the Provisional Central Power would be made accordingly. Significantly, the terms of the Regent's service explicitly forbade him or his ministers from interfering in the formulation of the Constitution. On 15 July 1848, the Regent appointed his first government under prime minister Prince Carl zu Leiningen, the maternal half-brother of Queen Victoria of Great Britain. Ministers of the Interior, Justice, War, and Foreign Affairs were appointed on the same day, while Ministers for Finance and Trade were appointed on 5 August. At the end of August 1848, there were a total of 26 persons employed in the administration of the provisional government. By 15 February 1849, the number had increased to 105. Some 35 of them worked in the War Department and had been employed by the Confederate Diet in the same capacity. The Ministry of Commerce employed 25 staff, including the section in charge of the German Fleet, which was only separated as an independent Naval ministry in May 1849. The diplomatic section employed mostly freelance personnel who held portfolios for state governments. Prime Ministers of the Provisional Government Anton von Schmerling (15 July 1848 until 5 August 1848) Carl zu Leiningen (5. August 1848 until 5 September 1848) Anton von Schmerling (24 September 1848 until 15 December 1848) Heinrich von Gagern (17 December 1848 until 10 May 1849) (16 May 1849 until 3 June 1849) (3 June 1849 to 20 December 1849) Relations with the National Assembly As the National Assembly had initiated the creation of the Provisional Central Power, the Regent, and his government were expected to be subservient to their whims. Theoretically, the transfer of the Confederate Diet's authority to the Regent on 12 July gave him legitimate, binding power independent of the National Assembly. The Diet's rules regarding unanimous decision-making and a liberum veto had been a source of weakness when divided among 39 members. But, when concentrated in the hands of one man, it could make him supreme if he chose to be so. However, the Regent was a man of advanced age who was convinced, like most of his contemporaries, that his office would be of short duration and his role should be strictly an honor. Therefore, the personalities of the Prime Ministers during the life of the Provisional Central Power clearly defined the government during their tenures. Carl zu Leiningen was staunchly anti-Prussian and essentially anti-prince. His family had been mediatized along with hundreds of other nobles in the Napoleonic period, and he expected the remaining princes of Germany to set aside their crowns as well. Anton von Schmerling held contempt for many of the institutions he had dutifully served, such as the Confederate Diet, and considered the National Assembly and his administration to be the future of Germany. Yet, as the National Assembly dragged out its work on the Constitution, the role of the Provisional Central Power changed. Soon, its purpose was to shore up the diminishing legitimacy of the whole project in the eyes of the people and the princes. Heinrich Gagern's appointment as Prime Minister in December was to serve that purpose, even though relations between the Regent and the former President of the National Assembly were poor. After the Constitution was rejected by the larger states in April 1849, Gagern came into conflict with the Regent over his refusal to defend the Constitution and resigned. (See Provisional Rump Parliament and Dissolution for the conflict between the Provisional Central Power and the National Assembly, and Aftermath for the period following.) Main political issues Schleswig-Holstein Question and development of political camps Influenced by the general nationalist atmosphere, the political situation in Schleswig and Holstein became especially explosive. According to the 1460 Treaty of Ribe, the two duchies were to remain eternally undivided and stood in personal union with Denmark. Nonetheless, only Holstein was part of the German Confederation, whereas Schleswig, with a mixed population of German-speakers and Danish speakers, formed a Danish fiefdom. German national liberals and the left demanded that Schleswig be admitted to the German Confederation and be represented at the national assembly, while Danish national liberals wanted to incorporate Schleswig into a new Danish national state. When King Frederick VII announced on 27 March 1848 the promulgation of a liberal constitution under which the duchy, while preserving its local autonomy, would become an integral part of Denmark, the radicals broke into revolt. The Estates of Holstein followed suit. A revolutionary government for the duchies was declared, and an army was hastily formed. Opening hostilities Denmark landed 7,000 troops near Flensburg on 1 April 1848 to suppress the rebels. The Confederate Diet ordered Prussia to protect the duchies on 4 April and recognized the revolutionary government. But it was only when Denmark ordered its fleet to seize Prussian ships on 19 April that General Friedrich von Wrangel marched his Prussian troops against Danish positions at the Dannevirke entrenchment and the city of Schleswig. His columns pushed through Schleswig and seized the key fortress of Fredericia without a struggle on 2 May. All of Jutland lay before Wrangel and the National Assembly urged a swift defeat of the Danes for the sake of Schleswig's revolution. But pressure from foreign sources arose from all quarters: Nicholas I of Russia sent sharp warnings to Berlin about respecting the integrity of Denmark, as King Frederick was a cousin of the Tsar. The British were agitated by Prussian aggression. Then, Sweden landed 6,000 troops on the Island of Funen opposite the Duchy of Schleswig. Arranging an armistice With Prussia threatened by war on several fronts, terms for an armistice were arranged through Swedish mediation at Malmö on 2 July 1848 and the order to cease operations handed to General Wrangel ten days later. However, Wrangel refused to accept the terms, declaring he was under orders not from Berlin but from the Confederate Diet, which had just been superseded by the Provisional Central Power. Therefore, he would hold positions and await further orders from the Regent. With popular sentiment on Wrangel's side, the Berlin court could not condemn him. They tried to steer a middle course by recognizing Wrangel's actions but asked the Regent for direct control of the German Federal Army in order to enforce a peace based on 2 July agreement. The Regent approved, but added extra demands upon the Danes and ordered the 30,000-strong German Confederate VIII. Army Corps to support Wrangel. This infuriated the foreign powers, who dispatched further threats to Berlin. On 26 August, Prussia, under strong pressure from Britain, Russia, and Sweden, signed a six-month armistice with Denmark at Malmö. Its terms included the withdrawal of all German Confederate soldiers from Schleswig-Holstein and a shared administration of the land. No recognition was made of the Provisional Central Power in the deliberations. On 5 September, at Friedrich Christoph Dahlmann's instigation, the National Assembly initially rejected the Malmö Armistice with a vote of 238 against 221. After that, Prime Minister Leiningen resigned his office. The Regent entrusted Dahlmann to form a new ministry, but his fiery rhetoric over Schleswig-Holstein could not be turned into political capital. The Austrian deputy Anton von Schmerling succeeded Leiningen as Prime Minister. The Septemberunruhen In a second vote, on 16 September 1848, the Assembly accepted the de facto position and approved the armistice with a narrow majority. In Frankfurt this led to the Septemberunruhen ("September unrest"), a popular rising that entailed the murder of parliamentarians from the Casino faction, Lichnowsky and Auerswald. The Regent was forced to call for the support of Prussian and Austrian troops stationed in the Fortress of Mainz, and these restored order in Frankfurt and the vicinity within two weeks. Henceforth, the radical democrats, whose views were both leftist and nationalist, ceased to accept their representation through the National Assembly. In several states of the German Confederation, they resorted to individual revolutionary activities. For example, on 21 September, Gustav Struve declared a German republic at Lörrach, thus starting the second democratic rising in Baden. The nationalist unrest in Hungary spread to Vienna in early October, leading to a third revolutionary wave, the Wiener Oktoberaufstand ("Vienna October rising"), which further impeded the work of the Assembly. Thus, the acceptance of the Treaty of Malmö marks the latest possible date of the final breach of cooperation between the liberal and the radical democratic camps. Radical democratic politicians saw it as final confirmation that the bourgeois politicians, as Hecker had said in spring 1848, "negotiate with the princes" instead of "acting in the name of the sovereign people", thus becoming traitors to the cause of the people. In contrast, the bourgeois liberals saw the unrests as further proof for what they saw as the short-sighted and irresponsible stance of the left, and of the dangers of a "left-wing mob" spreading anarchy and murder. This early divide of its main components was of major importance for the later failure of the National Assembly, as it caused lasting damage not only to the esteem and acceptance of the parliament, but also to the cooperation among its factions. The German Reichsflotte and financial problems Denmark's blockade of the North German coast caused deputies of National Assembly to call for the creation of the Reichsflotte or Imperial Fleet. The vote passed overwhelmingly on 14 June 1848, and this date is still celebrated as the foundation of the modern German Navy. However, the National Assembly had no funds to disburse for the project. National enthusiasm led to numerous penny-collections across Germany, as well the raising of volunteers to man whatever vessels could be purchased, to be commanded by retired naval officers from coastal German states. Actual monies for the Navy did not become available until the Confederate Diet dissolved itself on 12 July 1848 and the Federal Fortress budget (Bundesmatrikularkasse) came into possession of the Provisional Central Power. The Regent then appointed the Bremen senator Arnold Duckwitz as Minister of the Marine (Minister für Marineangelegenheiten) to develop a war fleet with Prince Adalbert of Prussia as Commander in Chief and Karl Brommy as Chief of Operations. Difficulties arose in the procurement and equipment of suitable warships, as the British and Dutch were wary of a new naval power arising in the North Sea, and Denmark pressed its blockade harder. Furthermore, most German states forbade their trained personnel from serving in another navy, even though it was to be for their own common defense. Nevertheless, by 15 October 1848, three steam corvettes and one sailing frigate were placed into service. In total, two sailing frigates, two steam regattas, six steam corvettes, 26 rowing gunboats, and one hawk ship were procured from diverse places. In consequence, however, the entire budget inherited from the Confederate Diet was spent. Discussions in the National Assembly for raising funds through taxes were tied into the Constitutional debates, and the Provisional Central Power could not convince the state governments to make any more contributions than what they had agreed upon in the Confederate Diet. Even worse, the chaotic finances of such states as Austria, which was fighting wars in Italy and Hungary and suppressing rebellions in Prague and Vienna, meant little or no payment was to be expected in the near future. Effectively, the National Assembly and the Provisional Central Power were bankrupt and unable to undertake such rudimentary projects as paying salaries, purchasing buildings, or even publishing notices. The revolution functioned on the financial charity of individual Germans and the good will of the states, which grew thinner as the months passed. The German army and rising confidence of the princes On 12 July 1848, the Confederate Diet transferred responsibility for the German Confederate Army and the Federal Fortresses to the Provisional Central Power. The Regent appointed General Eduard von Peucker, Prussia's representative to the Federal Military Commission, as Minister of War. Anxious to bring the war with Denmark to a victorious conclusion, on 15 July the National Assembly decreed that the German Confederate Army should be doubled in size. This was to be done by raising the proportion of recruits to 2 percent of the population, and also by the abolition of all laws of exemption in the individual States. Not only did the Prussian government complain about interference in its conduct of the Danish war, but the various Chambers of the States published complaints against the Parliament for violating their sovereignty and threatening their already shaky state budgets. Many common people also denounced the idea of an expanded army and conscription. The military parade of 6 August On 16 July, the Minister of War sent a circular to the state Governments with a proclamation to the German troops, in which he decreed the Regent as the highest military authority in Germany. At the same time, he ordered the state governments to call out the troops of every garrison for a parade on 6 August, the 42nd anniversary of the end of the Holy Roman Empire. Their commanding officers were to read Peucker's proclamation before them, after which the troops were to shout "Hurrah!" for the Regent three times. Then, the soldiers were to assume the German cockade as a symbol of their allegiance to the new order of things. In Berlin, King Frederick William issued a decree to the army that on 6 August there was to be no parade anywhere in Prussia. In Vienna, Minister of War Theodore von Latour and the Ministerial Council were indignant at the presumption. Latour demanded a sharp response from the government of Austria, which at that moment was headed by Archduke John in Vienna. Ironically, the Archduke had to dispatch a complaint about the matter in the name of the Austrian government to himself as head of the Provisional Central Power. Thus, the attempt of the Provisional Central Power to assert its authority over all the armed forces within Germany failed. The Regent still held authority over the German Confederate Army, but this force represented less than half of the standing armies of the states, and these were led by officers whose loyalty remained first and foremost to their sovereign princes. The Cologne cathedral festival On 20 July the Regent, along with Heinrich Gagern and a large deputation from the Parliament, accepted an invitation by King Frederick William to take part in a festival celebrating new construction to the great Cologne Cathedral. The radical left condemned the festival, correctly assuming it would strengthen feelings of loyalty in the people toward their princes. On 15 August, the deputation arrived in Cologne by riverboat. Standing on the quay, the King embraced the Regent to the cheer of the crowds, and then allowed Gagern to present the members of the deputation. He addressed to them a few friendly words on the importance of their work and added with emphasis: "Do not forget that there are still Princes in Germany, and that I am one of them." Later, a torchlight parade carried the King and the Regent to the cathedral square, where the crowds showered them with adulation. Gagern, however, missed the parade entirely as it dispersed due to rains before it reached the end of the route where he awaited it. The National Assembly deputies marched in the parade only as one of many groups, flanked by fire-fighters and police. Finally, at the grand banquet afterward, a toast by prominent leftist deputy Franz Raveaux was missed by the royal retinue and other dignitaries, as all of them departed early. Taken together, these were glaring indications of the revolutionaries' lessening influence, whereas cheering crowds surrounding the King and Regent amplified the growing confidence of the princes. Oktoberaufstand and execution of Blum The Vienna Uprising at the beginning of October forced the Austrian court to flee the city. The National Assembly, instigated by left-wing deputies, attempted to mediate between the Austrian government and the revolutionaries. In the meantime, the Austrian army violently suppressed the rising. In the course of events, the deputy Robert Blum, one of the figureheads of the democratic left, was arrested. General Alfred von Windisch-Grätz ignored Blum's parliamentary immunity, tried him before a military tribunal, and had him executed by firing squad on 9 November 1848. This highlighted the powerlessness of the National Assembly and its dependence on the goodwill of the state governments of the German Confederation. In Revolution and Counter-Revolution in Germany (1852), Friedrich Engels wrote: The fact that fate of the revolution was decided in Vienna and Berlin, that the key issues of life were dealt with in both those capitals without taking the slightest notice of the Frankfurt assembly—that fact alone is sufficient to prove that the institution was a mere debating club, consisting of an accumulation of gullible wretches who allowed themselves to be abused as puppets by the governments, so as to provide a show to amuse the shopkeepers and tradesmen of small states and towns, as long as it was considered necessary to distract their attention. The execution also indicated that the force of the March Revolution was beginning to flag by the autumn of 1848. This did not apply only to Austria. The power of the governments appointed in March was eroding. In Prussia, the Prussian National Assembly was disbanded and its draft constitution rejected. Defining "Germany" With history, politics, and ethnicity in conflict, defining the meaning of "Germany" was proving a major obstacle for the National Assembly. The biggest problem was that the two most powerful states, Prussia and especially Austria, had large possessions with non-German populations outside the boundaries of the Confederation. Incorporating such areas into a German nation-state not only raised questions regarding the national identity of the inhabitants, but also challenged the relationship between the two states within Germany. At the same time, Denmark and the Netherlands administered sovereign territories within the Confederation, further entangling the question of Germany in the affairs of foreign powers. This problem was partially solved on 11 April 1848, when the Confederate Diet admitted Prussia's outer territories (the Province of Prussia and as-yet undefined "German areas" of the Grand Duchy of Posen) into the Confederation. On the same day, Austria's Emperor Ferdinand I granted Hungary an independent ministry responsible to the Diet at Pesth, theoretically severing Hungary from Austria's German possessions. Deputy Venedey addressed the "German Question" during a debate on 5 July 1848 in this way: "I am against any other expression, or against any other explanation, than every German... In France there are also many nationalities, but all know that they are French. There are also different nationalities in England, and yet all know that they are Englishmen. We want to start by saying that everyone is German. We should therefore also stand by the expression every German, and vote very soon, because if these words lead to weeks of negotiations, we never come to an end." In reply to that, deputy Titus Mareck of Graz quipped, "Try and say every German, and you will see if the Slavs in Styria and Bohemia will be satisfied with it. I can assure you that this expression will be properly interpreted by the Czechs and Slavic leaders." Thus, the question proved too complicated to be answered after months of negotiations, much less weeks. Schleswig Though the Duchy of Schleswig's situation was troublesome, its position within the new Germany was undisputed. The Confederate Diet welcomed the embattled duchy as its newest appendage on 12 April 1848. The Vorparlement similarly decreed the union of Schleswig with the German state, and sent invitations for Schleswig deputies to participate in the upcoming National Assembly. Bohemia and Moravia Bohemia and Moravia were already part of the Confederation, and without question were to remain within the new Germany, despite protests by the Czech population. Districts in the Czech majority areas boycotted elections to the National Assembly, and only a few Czech deputies took their seats in the Paulskirche. The Pan-Slav Congress begun in Prague on 2 June 1848 was cut short on 12 June by civil unrest, and the city was bombarded into submission by General Windisch-Grätz on 16 June. The National Assembly applauded the destruction of Slav secession, but some deputies saw in Windisch-Grätz's violence a warning of what might befall them in the future. Posen and the Demarkationslinie Similar to Bohemia, the National Assembly was determined to incorporate much of the Prussian Grand Duchy of Posen against the wishes of the majority Polish population, especially after the failed Greater Poland uprising which lasted from 20 March until 9 May. Three separate debates and votes (the first on 26 April 1848 in the Vorparlement, the next on 27 July, the last on 6 February 1849) demarcated the borderline (Demarkationslinie Posen) between the German areas to have representation in the National Assembly and the Polish areas to be excluded. Each successive vote on the Demarkationslinie contracted the Polish area until only one-third of the province was excluded, while large a Polish population was to remain within the future German state. Limburg Debates about the integration of the Duchy of Limburg into the new Germany strained otherwise good relations with King William II of the Netherlands. King William was also Grand Duke of Luxemburg, which was a member of the German Confederation. After the Belgian revolution was finally settled in 1839, Luxemburg ceded 60 percent of its territory to Belgium. As compensation, the Dutch province of Limburg became a member of the Confederation, although only that portion whose population equaled what was lost to Belgium. Thus, the cities of Maastricht and Venlo were excluded. Membership meant very little, as the administration of Limburg remained entirely Dutch and the population was Dutch in national sentiment. Nevertheless, the National Assembly held several debates over the fate of Limburg, which not only irritated King William but also the British and the French. The Limburg question was never solved during the life of the National Assembly. Austrian Littoral and Trentino Despite their ethnic differences, the Italian-majority areas of the Austrian Littoral fully participated in the National Assembly. However, due to historical considerations, former Venetian possessions such as Monfalcone and half of Istria remained outside of the Confederation, and the question of their full integration into the new Germany was discussed. Most of the left-wing deputies had nationalist sentiments for the Italian revolutionaries in Milan and Venice and argued for a unified Italian state in the fashion of the new Germany being planned. However, there were few who approved of separating the littoral from the German Confederation, if only for strategic reasons. In the Italian areas of Tyrol known as Trentino, the voting districts of Trient and Roveredo sent deputies to Frankfurt. In fact, the Roveredo municipal government petitioned the National Assembly to allow the Trentino to secede from the German Confederation. In response, the Landtag of Tyrol dispatched a letter of protest to the National Assembly for accepting the petition. The question of Istria's full admission into the Confederation, and Trentino's withdrawal, were referred to Committee but never voted upon in the Assembly itself. Auschwitz and Zator The two Austrian Duchies of Auschwitz and Zator joined the German Confederation in 1818 by virtue of their affiliation with Austrian Silesia, but the question of whether they should be part of the new Germany was only discussed briefly in the National Assembly. The population was entirely Polish and the territories an integral part of the Kingdom of Galicia and Lodomeria, itself outside of the Confederate boundaries. Deputy Carl Giskra of Mährisch-Trubau rhetorically asked how much longer the "German lands of Zator and Auschowitz" should remain part of Galicia, but another deputy derisively referred to the territories as "fantasy duchies" and denounced the question even being raised. Greater German or smaller German solution Regardless of these questions, the shape of the future German nation-state had only two real possibilities. The "Smaller German Solution" (Kleindeutsche Lösung) aimed for a Germany under the leadership of Prussia and excluded Imperial Austria so as to avoid becoming embroiled in the problems of that multi-cultural state. The supporters of the "Greater German Solution" (Großdeutsche Lösung), however, supported Austria's incorporation. Some of those deputies expected the integration of all the Habsburg monarchy's territories, while other Greater German supporters called for a variant only including areas settled by Germans within a German state. The majority of the radical left voted for the Greater German variant, accepting the possibility formulated by Carl Vogt of a "holy war for western culture against the barbarism of the East", i.e., against Poland and Hungary, whereas the liberal centre supported a more pragmatic stance. On 27 October 1848, the National Assembly voted for a Greater German Solution, but incorporating only "Austria's German lands". Austria's protests The court camarilla surrounding the incapacitated Austrian Emperor Ferdinand was not, however, willing to break up the state. On 27 November 1848, only a few days before the coronation of Ferdinand's designated successor, Franz Joseph I, Prime Minister Prince Felix zu Schwarzenberg declared the indivisibility of Austria. Thus, it became clear that, at most, the National Assembly could achieve national unity within the smaller German solution, with Prussia as the sole major power. Although Schwarzenberg demanded the incorporation of the whole of Austria into the new state once more in March 1849, the dice had fallen in favor of a Smaller German Empire by December 1848, when the irreconcilable differences between the position of Austria and that of the National Assembly had forced the Austrian, Schmerling, to resign from his role as Ministerpräsident of the provisional government. He was succeeded by Heinrich von Gagern. Nonetheless, the Paulskirche Constitution was designed to allow a later accession of Austria, by referring to the territories of the German Confederation and formulating special arrangements for states with German and non-German areas. The allocation of votes in the Staatenhaus (§ 87 ) also allowed for a later Austrian entry. Drafting the Imperial Constitution The National Assembly appointed a three-person committee of constitution on 24 May 1848, chaired by Bassermann and charged with preparing and coordinating the drafting of a Reichsverfassung ("Imperial Constitution"). It could make use of the preparatory work done by the Committee of Seventeen appointed earlier by the Confederate Diet. Remarkably, the National Assembly did not begin its mandated work of drafting the Constitution until 19 October 1848. Up to that time, exactly five months after the opening of the National Assembly, the deputies had failed to move forward with its most important task. However, they were driven to urgency by the violent outbreak of the Vienna Uprising and its suppression by the Austrian Army. Basic rights On 28 December, the Assembly's press organ, the Reichsgesetzblatt published the Reichsgesetz betreffend die Grundrechte des deutschen Volkes ("Imperial law regarding the basic rights of the German people") of 27 December 1848, declaring the basic rights as immediately applicable. The catalogue of basic rights included Freedom of Movement, Equal Treatment for all Germans in all of Germany, the abolishment of class-based privileges and medieval burdens, Freedom of Religion, Freedom of Conscience, the abolishment of capital punishment, Freedom of Research and Education, Freedom of Assembly, basic rights in regard to police activity and judicial proceedings, the inviolability of the home, Freedom of the Press, independence of judges, Freedom of Trade and Freedom of establishment. Qualifying the Emperor On 23 January 1849, a resolution that one of the reigning German princes should be elected as Emperor of Germany was adopted with 258 votes against 211. As the King of Prussia was implicitly the candidate, the vote saw conservative Austrian deputies joining the radical republican left in opposition. The first and second readings The first reading of the Constitution was completed on 3 February 1849. A list of amendments were proposed by 29 governments in common and on 15 February Gottfried Ludolf Camphausen, Prussia's representative to the National Assembly, handed the draft to Prime Minister Gagern, who forwarded it to the Committee of the Parliament that was preparing the Constitution for its second reading. The amendments, designed to ensure the prerogatives of the princes in various state functions, were sidelined by arguments from the left for universal suffrage in elections and the secret ballot. Only two of Camphausen's amendments were discussed and no modifications made. Furthermore, passage of the Austrian Constitution on 4 March 1849 was used as an excuse by Prince Schwarzenberg to declare the first draft of the federal Constitution incompatible with Austrian law, and would therefore have to be scrapped and replaced by a more accommodating document. The proclamation shocked the National Assembly, resulting in floral speeches condemning "Austrian sabotage". But when on 21 March deputy Carl Theodor Welcker of Frankfurt brought up a motion to pass the Constitution "as is" to force the issue, it was rejected by 283 votes against 252. Nevertheless, shows of resistance to their Constitutional work by so many of the states shook the confidence of many deputies. There was suddenly a desperation in the National Assembly to complete their work. The second reading commenced on 23 March 1849 after agreements had been reached with the Center and the Left over procedure: It was to be read without interruption to the very end; every paragraph was to be voted upon as reported by the committee on the Constitution; amendments were to be considered only at the request of at least 50 deputies. The reading proceeded with unusual pace, as the deputies feared they would become illegitimate in public opinion unless they overcame mounting obstacles and produced the Constitution. The Center conceded an amendment on the last day, in the form of an extension of the suspensive veto, to cover changes in the Constitution. They warned it could be used to overthrow the Imperial system, to which the Left applauded. Austria's proposed amendment to turn the Imperial dignity into a Directory was soundly defeated, thus protecting the office of Emperor. The Left derided the center by shouting, "A German Emperor chosen by a majority of four votes from four faithless Austrians!" However, 91 Austrian deputies had cast votes for the Imperial system, thus rejecting Prince Schwarzenberg's interference. An article to create an Imperial Council to advise the Emperor was stricken from the Constitution at the last moment. Passage of the Constitution The National Assembly passed the complete Imperial Constitution in the late afternoon of 27 March 1849. It was carried narrowly, by 267 against 263 votes. The version passed included the creation of a hereditary emperor (Erbkaisertum), which had been favoured mainly by the erbkaiserliche group around Gagern, with the reluctant support of the Westendhall group around Heinrich Simon. The people were to be represented by a directly elected House of Commons (Volkshaus) and a House of the States (Staatenhaus) of representatives sent by the individual states. Half of each Staatenhaus delegation was to be appointed by the respective state government, the other by the state parliament. Head of state and Kaiserdeputation As the near-inevitable result of having chosen the Smaller German Solution and the constitutional monarchy as form of government, the Prussian king was elected as hereditary head of state on 28 March 1849. The vote was carried by 290 votes against 248 abstentions, embodying resistance primarily by all left-wing, southern German and Austrian deputies. The deputies knew that Frederick William IV held strong prejudices against the work of the Frankfurt Parliament, but on 23 January, the Prussian government had informed the states of the German Confederation that Prussia would accept the idea of a hereditary emperor. Further, Prussia (unlike Bavaria, Württemberg, Saxony, and Hannover) had indicated its support of the draft constitution in a statement made after the first reading. Additionally, the representatives of the provisional government had attempted through innumerable meetings and talks to build an alliance with the Prussian government, especially by creating a common front against the radical left and by arguing that the monarchy could only survive if it accepted a constitutional-parliamentary system. The November 1848 discussion of Bassermann and Hergenhahn with the king also aimed in the same direction. Shortly after the vote of 27 March 1849, Archduke John announced his resignation as Regent, explaining that the vote ended all reason for his office. President of the Assembly Eduard von Simson rushed to the Thurn and Taxis palace and pleaded for him to remain as Regent until the coronation could occur. On 3 April 1849, the Kaiserdeputation ("Emperor Deputation"), a group of deputies chosen by the National Assembly and headed by Simson, offered Frederick William the office of Emperor. He gave an evasive answer, arguing that he could not accept the crown without the agreement of the princes and Free Cities. In reality, Frederick William believed in the principle of the Divine Right of Kings and thus did not want to accept a crown touched by "the hussy smell of revolution". Then, on 5 April 1849, Prince Schwarzenberg recalled the Austrian deputies from the National Assembly and denounced the Constitution as being incompatible with Austrian sovereignty, with the caveat that Austria did not exclude itself from a German union, providing it was structured according to Austria's needs. To ensure Austria's role in German affairs did not diminish, Schwarzenberg convinced Archduke John to remain in office as Regent. By 14 April 1849, 28 mostly petty states had accepted the constitution, and Württemberg was the only kingdom to do so after much hesitation. The kings of Hanover, Saxony, and Bavaria awaited Prussia's formal response to the Constitution before decreeing their own. Then, on 21 April, King Frederick William IV formally rejected the Imperial Constitution and the crown that was to go with it. This spelled the final failure of the National Assembly's constitution and thus of the German revolution. The rejection of the crown was understood by the other princes as a signal that the political scales had fully tipped against the liberals. Opinion even in autumn 1848 had it that the National Assembly had taken far too long to draft the Constitution. Had they accomplished their task in the summer and offered the crown in autumn, the revolution might have taken a different turn. Rump parliament and dissolution On 5 April 1849, all Austrian deputies left Frankfurt. The new elections called for by Prime Minister Heinrich Gagern did not take place, further weakening the assembly. In desperation, Gagern demanded that the Regent personally intervene with the Princes to save the Constitution. Reminding Gagern of his own terms forbidding the Provisional Central Power from interfering in the work of the Constitution, the Regent refused, and Gagern resigned in consequence on 10 May 1849. On 14 May, the Prussian parliamentarians also resigned their mandates. In the following week, nearly all conservative and bourgeois-liberal deputies left the parliament. The remaining left-wing forces insisted that 28 states had accepted the Frankfurt Constitution and began the Constitutional Campaign (Reichsverfassungskampagne), an all-out call for resistance against the Princes who refused to accept the Constitution. The supporters of the campaign did not consider themselves revolutionaries. From their perspective, they represented a legitimate national executive power acting against states that had breached the Constitution. Nonetheless, only the radical democratic left was willing to use force to support the Constitution, notwithstanding their original reservations against it. In view of their failure, the bourgeoisie and the leading liberal politicians of the faction of the Halbe ("half ones") rejected a renewed revolution and withdrew—most of them disappointed—from their hard work in the Frankfurt Parliament. The May Uprisings In the meantime, the Reichsverfassungskampagne had not achieved any success regarding acceptance of the Constitution, but had managed to mobilize those elements of the population that were willing to commit violent revolution. In Saxony, this led to the May Uprising in Dresden, in the Bavarian part of the Palatinate, the Pfälzer Aufstand, a rising during which revolutionaries gained the de facto governmental power. On 14 May, Leopold, Grand Duke of Baden had to flee the country after a mutiny of the Rastatt garrison. The insurrectionists declared a Baden Republic and formed a revolutionary government headed by the Paulskirche deputy Lorenz Brentano. Together with Baden soldiers that had joined their side, they formed an army under the leadership of the Polish general Mieroslawski. Break with the Provisional Central Power The Regent appointed the conservative Greater German advocate and National Assembly deputy Maximilian Grävell as his new Prime Minister on 16 May 1849. This so incensed the National Assembly that they held a vote of no confidence in the government on 17 May, resulting in a vote of 191 against 12 with 44 abstentions. Receiving moral support from Austria, the Regent stood defiant and retained his Prime Minister. Calls for the resignation of the Regent immediately followed. The next day, 18 May, Prime Minister Grävell ascended the speaker's podium in the Paulskirche and explained the Regent's motives for appointing him as Prime Minister, and the Regent's refusal to obey the National Assembly's decisions. Grävell stated, "You remember, gentlemen, that [the Regent] had declared to the deputation of the National Assembly which had been sent to him that he accepted the request made to him as a result of [all the German] governments' approval. You will recall that the Regent was introduced into his office in this place, but then the Confederate Diet ... gave him authority. The Regent, as a thoroughly conscientious man, will certainly never be able to lay down his office into any other hands than into those who have empowered him." The uproar in the parliament was intense, yet Grävell persisted: "If you have patience to wait, I will explain. The Regent can and will only return his office to the National Assembly from which it originated. But he will do so and cannot do otherwise, except as a staunch steward of the power entrusted to him by the governments, and only to return this power back into the hands of the governments." Great unrest answered Grävell's words, as the National Assembly was directly confronted with the statement that the Regent's power originated from the states, not the revolution. With insults and jeers raining down from the gallery, the Prime Minister further stated, "Gentlemen! Consider the consequences of the withdrawal of the Regent and the divorce of Germany from this war [with Denmark]. Remember that the honor of Germany is at stake!" Grävell finally concluded, "These, gentlemen, are the motives for why we came here, and why we cannot resign, in spite of your open distrust." The Prime Minister then departed. Deputy William Zimmermann of Stuttgart shouted from the gallery, "This is unheard of in the history of the world!" After reading the rules of the Provisional Central Power, adopted 28 June and 4 September 1848, especially articles that address the removal of ministers and the Regent, President Theodore Reh of the National Assembly read the report from the Committee of Thirty that drafted a provisional regency (Reichsregentschaft) to defend the Constitution. The vote passed with a majority (126 to 116 votes) for the plan with a provisional governor (Reichstatthalter) to replace the Regent. However, external events overtook the National Assembly before they could attempt to carry out their plan. Removal of the National Assembly to Stuttgart As German Confederate troops under orders from the Regent began to crush revolutionary outbreak in the Palatinate, the remaining deputies in the Free City of Frankfurt began to feel threatened. Further deputies that were not willing to align with radical democratic left resigned their mandates or gave them up when asked to by their home governments. On 26 May, the Frankfurt National Assembly had to lower its quorum to a mere hundred due to the enduring low presence of deputies. The remaining deputies decided to escape an approaching army of occupation by moving the parliament to Stuttgart in Württemberg on 31 May. This had been suggested by the deputy Friedrich von Römer, who was also prime minister and minister of justice of the Württemberg government. Essentially, the Frankfurt National Assembly was dissolved at this point. From 6 June 1849 onwards, the remaining 154 deputies met in Stuttgart under the presidency of Friedrich Wilhelm Löwe. This convention was dismissively called the Rump Parliament (Rumpfparlament). The Provisional Regency and People's Army Since the Provisional Central Power and the Regent refused to acknowledge the new situation, the Rump Parliament declared both as dismissed and proclaimed a new provisional regency (Reichsregentschaft) led by five deputies Franz Raveaux, Carl Vogt, Heinrich Simon, Friedrich Schüler and August Becher, and fashioned after the Directory of the French First Republic. Following its view of itself as the legitimate German parliament, the rump parliament called for tax resistance and military resistance against those states that did not accept the Paulskirche Constitution. On 16 June 1849, the rump parliament declared the formation of a People's Army (Volkswehr) consisting of four classes from age 18 to 60. The Provisional Regency then called all Germans to arms in order to defend the Constitution of 1849. Since these actions challenged the authority of Württemberg, and the Prussian army was successfully crushing the rebellions in the nearby Baden and the Palatinate, Römer and the Württemberg government distanced themselves from the rump parliament and prepared for its dissolution. Dissolution On 17 June, Römer informed the president of the parliament that "the Württemberg government was no longer in a position to tolerate the meetings of the National Assembly that had moved to its territory, nor the activities of the regency elected on the 6th, anywhere in Stuttgart or Württemberg". At this point, the rump parliament had only 99 deputies and did not reach a quorum according to its own rules. On 18 June, the Württemberg army occupied the parliamentary chamber before the session started. The deputies reacted by organizing an impromptu protest march which was promptly squashed by the soldiers without bloodshed. Those deputies that were not from Württemberg were expelled. Subsequent plans to move the parliament (or what was left of it) to Karlsruhe in Baden could not be implemented due to the looming defeat of the Baden revolutionaries, which was completed five weeks later. Aftermath After rejecting the Imperial Constitution on 21 April 1849, Prussia attempted to undermine the Provisional Central Power. King Frederick William IV intended to assume its functions after the Regent announced his resignation at the end of March. However, Prince Schwarzenberg had foiled Prussia's efforts to do so. Therefore, Prussia chose to support the Unionspolitik ("union policy") designed by the conservative Paulskirche deputy Joseph von Radowitz for a Smaller German Solution under Prussian leadership. This entailed modifying the Frankfurt Parliament's conclusions, with a stronger role for the Prussian hereditary monarch and imposed "from above". The National Assembly was notified of Prussia's intentions on 28 April. The deputies refused to consider changes to their Constitution, and Prince Schwarzenberg similarly rejected Prussia's proposals on 16 May. A draft dated 28 May 1849 created a league of the three kingdoms of Prussia, Hannover, and Saxony for one year in which to formulate an acceptable constitution for Germany. The Erbkaiserliche around Gagern supported Prussia's policy in the Gotha Post-Parliament and the Erfurt Union Parliament. This policy was based on Prussia's insistence that both the National Assembly and the German Confederation were defunct. However, Austria's policy was that the German Confederation had never ceased to exist. Rather, only the Confederate Diet had dissolved itself on 12 July 1848. Therefore, the Austrian Emperor could be restored as President of the German Confederation in succession to the Regent. With this in mind, Archduke John attempted to resign his office once more in August 1849, stating that the Regency should be jointly held by Prussia and Austria through a committee of four until 1 May 1850, by which time all of the German governments should have decided on a new Constitution. The two governments agreed in principle, and a so-called Compact of Interim was signed on 30 September, transferring all responsibilities of the Provisional Central Power to the two states, though not relieving the Regent of his office just yet. By signing this compact, Prussia tacitly accepted Austria's policy that the German Confederation still existed.<ref>Heinrich von Sybel,The Founding of the German Empire by William I (1890). Vol. 1, page 397.</ref> One week later, disagreements between the three kingdoms saw Prussia's project for a new federal German government fall apart. On 5 October 1849, Hanover argued for an understanding with Austria before a new Parliament could be elected and a new Constitution drawn up, and Saxony seconded the motion. On 20 October, both kingdoms ended active participation in the league's deliberations, isolating Prussia entirely. With Austria's position in Germany more and more secure, Archduke John was finally permitted to resign his office of Regent on 20 December 1849. Prussia spent the next year defying Austria's protests. On 30 November 1850 the Punctuation of Olmütz forced Prussia to abandon its proposal to alter Germany's political composition in its favor. By that time, all of the states in Germany had suppressed their Constitutions, popularly elected parliaments, and democratic clubs, thus erasing all work of the revolution. An exception was in Austria, where the hated corvée unpaid labor was not revived after it had been abolished in May 1848. On 30 May 1851, the old Confederate Diet was reopened in the Thurn and Taxis Palace. Long-term political effects The March Revolution led to a major increase of Prussia's political importance, though only gradually. By permitting the revolution to consolidate itself, and by supporting the Schleswig-Holstein rebellion with Prussian troops, the Hohenzollern dynasty was reviled in Scandinavia and especially Russia. Prussia's role as a Great Power in Europe did not recover until the Crimean War saw Russia isolated, Austria maligned for its wavering policy, and Britain and France embarrassed by their poor military performance. Yet Prussia, by its leading role in suppressing the revolution, had demonstrated its indispensability as a main player in German politics and its superiority over small and medium states. It was now in a far better strategic position among the lesser and petty princes. Revolutionary outbreaks in Swabia had terrified the two princes of Hohenzollern, and they sold their possessions to their Prussian cousin on 7 December 1849, thus giving the great northern power a foothold in the south. Prussia had also won the gratitude of the family of the Grand Duchy of Baden as an important ally in southern Germany, and the Smaller German Solution gained in popularity throughout the nation. This political pass contributed to the adoption of the Smaller German Solution after the Prussian victory in the 1866 Austro-Prussian War, which led to the foundation of the North German Confederation. The Smaller German Solution was implemented after the 1870/71 Franco-Prussian War in the form of Prussian-dominated unification "from above", namely the 1871 proclamation of the German Empire. Historians have suggested several possible explanations for the German Sonderweg'' of the 20th century: discreditation of democrats and liberals, their estrangement, and the unfulfilled desire for a nation-state, which had led to separation of the national question from the assertion of civic rights. The work of the National Assembly and more generally of the March revolution was judged harshly in the immediate aftermath. Authors such as Ludwig Häusser classed the ideas of the radical democratic left as irresponsible and naive foolishness. The bourgeois liberals were also discredited; many of them left politics disappointed and under great hostility from their fellow citizens in the individual states. It is probably partially due to this that Bassermann committed suicide in 1855. A positive reception of the National Assembly's work only came about in the Weimar Republic and more so after World War II, when both the East German Democratic Republic and the Western Federal Republic of Germany competed for the use of the democratic Paulskirche heritage as specific traditions of the separate states. See also The Revolutions of 1848 in the German states German history Politics of Germany Bundestag List of members of the Frankfurt Parliament :Category:Members of the Frankfurt Parliament Bibliography References Sources Sources in the German Federal Archives Sources (in German) by the German Federal Central Office for Political Education Text of the Paulskirche Constitution on Documentarchiv.de Collection of pamphlets from 1848 by Frankfurt University – includes official documents and books Gutenberg-DE: Article by Karl Marx in the Neue Rheinische Zeitung 2008/50 Further reading 1848 in Germany 1849 in Germany 19th century in Frankfurt German revolutions of 1848–1849
```python # @package homotopy_weight # Module caffe2.fb.python.layers.homotopy_weight from __future__ import absolute_import from __future__ import division from __future__ import print_function from __future__ import unicode_literals from caffe2.python import core, schema from caffe2.python.layers.layers import ModelLayer import numpy as np import logging logger = logging.getLogger(__name__) ''' Homotopy Weighting between two weights x, y by doing: alpha x + beta y where alpha is a decreasing scalar parameter ranging from [min, max] (default, [0, 1]), and alpha + beta = max + min, which means that beta is increasing in the range [min, max]; Homotopy methods first solves an "easy" problem (one to which the solution is well known), and is gradually transformed into the target problem ''' class HomotopyWeight(ModelLayer): def __init__( self, model, input_record, name='homotopy_weight', min_weight=0., max_weight=1., half_life=1e6, quad_life=3e6, atomic_iter=None, **kwargs ): super(HomotopyWeight, self).__init__(model, name, input_record, **kwargs) self.output_schema = schema.Scalar( np.float32, self.get_next_blob_reference('homotopy_weight') ) data = self.input_record.field_blobs() assert len(data) == 2 self.x = data[0] self.y = data[1] # TODO: currently model building does not have access to iter counter or # learning rate; it's added at optimization time; self.use_external_iter = (atomic_iter is not None) self.atomic_iter = ( atomic_iter if self.use_external_iter else self.create_atomic_iter() ) # to map lr to [min, max]; alpha = scale * lr + offset assert max_weight > min_weight self.scale = float(max_weight - min_weight) self.offset = self.model.add_global_constant( '%s_offset_1dfloat' % self.name, float(min_weight) ) self.gamma, self.power = self.solve_inv_lr_params(half_life, quad_life) def solve_inv_lr_params(self, half_life, quad_life): # ensure that the gamma, power is solvable assert half_life > 0 # convex monotonically decreasing assert quad_life > 2 * half_life t = float(quad_life) / float(half_life) x = t * (1.0 + np.sqrt(2.0)) / 2.0 - np.sqrt(2.0) gamma = (x - 1.0) / float(half_life) power = np.log(2.0) / np.log(x) logger.info( 'homotopy_weighting: found lr param: gamma=%g, power=%g' % (gamma, power) ) return gamma, power def create_atomic_iter(self): self.mutex = self.create_param( param_name=('%s_mutex' % self.name), shape=None, initializer=('CreateMutex', ), optimizer=self.model.NoOptim, ) self.atomic_iter = self.create_param( param_name=('%s_atomic_iter' % self.name), shape=[1], initializer=( 'ConstantFill', { 'value': 0, 'dtype': core.DataType.INT64 } ), optimizer=self.model.NoOptim, ) return self.atomic_iter def update_weight(self, net): alpha = net.NextScopedBlob('alpha') beta = net.NextScopedBlob('beta') lr = net.NextScopedBlob('lr') comp_lr = net.NextScopedBlob('complementary_lr') scaled_lr = net.NextScopedBlob('scaled_lr') scaled_comp_lr = net.NextScopedBlob('scaled_complementary_lr') if not self.use_external_iter: net.AtomicIter([self.mutex, self.atomic_iter], [self.atomic_iter]) net.LearningRate( [self.atomic_iter], [lr], policy='inv', gamma=self.gamma, power=self.power, base_lr=1.0, ) net.Sub([self.model.global_constants['ONE'], lr], [comp_lr]) net.Scale([lr], [scaled_lr], scale=self.scale) net.Scale([comp_lr], [scaled_comp_lr], scale=self.scale) net.Add([scaled_lr, self.offset], [alpha]) net.Add([scaled_comp_lr, self.offset], [beta]) return alpha, beta def add_ops(self, net): alpha, beta = self.update_weight(net) # alpha x + beta y net.WeightedSum([self.x, alpha, self.y, beta], self.output_schema()) ```
Jack B. Jacobs is a former justice of the Delaware Supreme Court, having served on that court from 2003 to 2014. He also served as a vice chancellor of the Delaware Court of Chancery from 1985 to 2003. He graduated from University of Chicago and Harvard Law School. References External links http://judgepedia.org/Jack_Jacobs Living people Justices of the Delaware Supreme Court Vice Chancellors of Delaware Year of birth missing (living people) Place of birth missing (living people) University of Chicago alumni Harvard Law School alumni
"Vienna" is a song by British new wave band Ultravox from their 1980 fourth studio album of the same name. It was released as the album's third single on 9 January 1981 by Chrysalis Records and features Midge Ure singing the lead vocal. The song is regarded as a staple of the synth-pop genre that was popularised in the early 1980s. The song was also performed at the 1985 Live Aid concert in Wembley Stadium. It remains Ultravox's signature song, being their most commercially successful release and is often performed live by Ure in solo performances. Background "Vienna" was written in January 1980. The song features a dramatic grand piano in the verses and chorus, and a viola solo in the middle of the song. Other sounds include a solid synth bass line played on a MiniMoog, an Elka string synthesiser and a Roland CR-78 drum machine. The drum machine pattern created by Warren Cann was the basis of the song. Then, Cann and the classically trained Billy Currie together wanted to create something that might sound like it had been written by a late-19th-century romantic composer, so they started creating the basic chords and sounds of the song, and the romantic viola solo was influenced by German composer Max Reger. The lyrics, which are about a brief love affair in the city of Vienna, were quickly written by Midge Ure. According to Currie, Ure was hesitant about the overly classical romantic feel of the orchestration, and said: "This means nothing to me", to which the producer Conny Plank replied: "Well, sing that then." Ure said that he had in his mind only the line "The feeling is gone, this means nothing to me – oh Vienna!" when he went into studio. Then he wrote the vocal part while bass player Chris Cross started playing some bass lines with his synthesizer. In interviews at the time it was said that the song took its inspiration from the 1949 film The Third Man, which is based around the Austrian capital, but Midge Ure later admitted he made that up when asked what the song was about. Ure is said to have been influenced by the Walker Brothers' 1978 single "The Electrician". Ure said of the track: "We wanted to take the song and make it incredibly pompous in the middle, leaving it very sparse before and after, but finishing with a typically over-the top classical ending." Release and chart performance The song is the title track of the band's album Vienna, released in 1980. Record company Chrysalis Records was reluctant to release the song as a single, as they thought it was too slow and too long to be successful. But the band wanted to release it as a single and it became the album's third single in January 1981. The single spent four consecutive weeks at No. 2 on the UK Singles Chart without ever reaching the top. It was kept off the top spot by John Lennon's "Woman" for a week and then by Joe Dolce's "Shaddap You Face" for a further three weeks. "Vienna" is ranked as the UK's sixth best-selling single of 1981. The single was certified gold by the British Phonographic Industry (BPI) in February 1981, denoting sales in excess of 500,000 copies in the UK. It was voted Britain's favourite single ever to peak at No. 2 on the charts in a 2012 poll by BBC Radio 2 and the Official Charts Company (OCC). It was also awarded an honorary No. 1 by the OCC. The single topped the charts in Belgium, Ireland and the Netherlands. In 2017, Ure was offered the chance to meet Dolce, but Ure declined, saying: "I've had 40 years of people talking about Joe 'Bloody' Dolce and I don't want to spend what I've got left talking about when I met him." Music video The music video, directed by Russell Mulcahy, is particularly evocative of The Third Man. It was Ultravox's second video, after "Passing Strangers" (also with Mulcahy), and cost £6000–£7000, footed by the band after Chrysalis refused to fund it. The gravestone that is shown in the video and on the single cover is part of the grave of the Austrian piano manufacturer Carl Schweighofer, and is located in the Zentralfriedhof in Vienna. B-sides The B-side to the single is "Passionate Reply". It was recorded in August 1980 at Criteria Studios in Miami, on their American tour. Cann said to Jonas Wårstad about the track: "The B-side of the 7", 'Passionate Reply' was a promising song, perhaps it needed some 'living with' before we would've considered it finished. As it was, we thought it made a good B-side." The 12-inch single also features "Herr X", a version of the Kraftwerk-esque album track "Mr. X" sung entirely in German by Warren Cann with the aid of native German producer Conny Plank. Both tracks were included on the remastered CD version of the Vienna album as bonus tracks. Reissue In 1993 "Vienna" was re-released by Chrysalis, to promote the Midge Ure/Ultravox greatest hits compilation If I Was: The Very Best of Midge Ure & Ultravox. This reissue peaked at number 13 on the UK Singles Chart. Like the compilation album, the single also included songs by Midge Ure (as B-sides). Track listings All songs written and composed by Warren Cann, Chris Cross, Billy Currie and Midge Ure, except where noted. 1981 7-inch vinyl UK, Australia: Chrysalis / CHS 2481 Germany, Netherlands: Chrysalis / 102 905 12-inch vinyl UK, France: Chrysalis / CHS 12 2481 Germany: Chrysalis / 600 352-213 Netherlands: Chrysalis / 12.2481 1993 CD UK: Chrysalis / CDCHS 3936 UK: Chrysalis / CDCHSS 3936 ("Limited edition collectors pack CD1 of a 2CD set", with space for the second CD) UK: Chrysalis / CDCHS 3937 Charts Weekly charts Year-end charts Certifications "Vienna 92" In April 1992, a re-recorded version of "Vienna", by a new Ultravox line-up, was released as a single in Germany. This line-up consisted of original Ultravox member Billy Currie on keyboards, violin and percussion, and Tony Fenelle on vocals, guitar and percussion. The backing vocals on B-side "Systems of Love" were performed by Alison Limerick and Jackie Williams. The single did not chart. It was not included in the album Revelation. Track listings 12-inch vinyl Germany: ZYX / 6767-12 CD Germany: ZYX / 6767-8 Cover versions Vic Reeves In 1992, comedian Vic Reeves (Jim Moir) appeared on the album Ruby Trax – The NME's Roaring Forty, singing a version of the song with different lyrics in the verses. The compilation was released by NME, a magazine that had been publishing single charts since 1952, with all records covered having reached the number-one slot in their own charts during 40 years of publication. As "Vienna" by Ultravox reached number one on the NME charts on 21 February 1981 (staying at the top for one week) it was eligible for inclusion within the concept of the project, where it would not have been allowed if NME had been following the British Market Research Bureau/Gallup chart (now branded as the Official Chart). References External links Vienna - The Story Behind The Song at Wow-Vinyl 1981 songs 1981 singles Ultravox songs Ultratop 50 Singles (Flanders) number-one singles Irish Singles Chart number-one singles Dutch Top 40 number-one singles Songs about Vienna Songs written by Midge Ure Songs written by Chris Cross Songs written by Billy Currie Songs written by Warren Cann Chrysalis Records singles ZYX Music singles Music videos directed by Russell Mulcahy Avant-pop songs
Hjalmar (Jalmari) Rötkö (13 August 1892, Suomenniemi – 19 July 1938) was a Finnish labourer and politician. He was a member of the Parliament of Finland from 1929 to 1930, representing the Socialist Electoral Organisation of Workers and Smallholders (STPV). Rötkö served as a member of parliament for the parliamentary group of Socialist Workers and Small Farmers, representing the Western Constituency of Viipur County, from 1929 to 1930. However, during the session of the parliament's constitutional committee on July 5 or July 7, 1930, Rötkö and another parliament member from the same group, Eino Pekkala, were confronted by members of the fascist Lapua Movement, led by Kosti-Paavo Eerolainen and Artturi Vuorimaa, at Helsinki's Säätytalo. In response to this incident, both representatives were escorted to Vihtori Kosola's residence in Lapua. The subsequent release of the individuals by Kosola, who was in Helsinki at the time, was in accordance with his previous instruction to escalate efforts for the complete exclusion of communists from the parliament. See also List of kidnappings References 1892 births 1938 deaths Kidnapped politicians Members of the Parliament of Finland (1929–1930) People from Suomenniemi People from Viipuri Province (Grand Duchy of Finland) Socialist Electoral Organisation of Workers and Smallholders politicians Political prisoners in Finland
Kalicherla is a village in Chittoor district of the Indian state of Andhra Pradesh. It is located in Peddamandyam mandal. References Villages in Chittoor district
Medway Township is a township in Hamilton County, Kansas, USA. As of the 2000 census, its population was 53. It was previously known as Melvern Township. Geography Medway Township covers an area of 108.17 square miles (280.16 square kilometers); of this, 0.31 square miles (0.8 square kilometers) or 0.29 percent is water. The streams of East Bridge Creek and Plum Creek run through this township. Unincorporated towns Medway (This list is based on USGS data and may include former settlements.) Adjacent townships Liberty Township (northeast) Richland Township (northeast) Syracuse Township (southeast) Bear Creek Township (south) Coolidge Township (west) Major highways U.S. Route 50 Airports and landing strips Lewis Airport References U.S. Board on Geographic Names (GNIS) United States Census Bureau cartographic boundary files External links US-Counties.com City-Data.com Townships in Hamilton County, Kansas Townships in Kansas
Bedevlia ( or Bedevlya, , or Bedevle, ) is a village in Zakarpattia Oblast (province) of western Ukraine. , its population was 3,971. Geography The village is located around 7 km south of Tiachiv. Administratively, the village belongs to the Tiachiv Raion, Zakarpattia Oblast. History Bedevlia was first mentioned in 1336 by the name of Bedeuhaza. In 1336, Charles I of Hungary donated possession of the land boundary of Bedeuhaza to his royal servants the brothers Drag and Dragoş, the diploma refers to them as "servants of the king". Bedőháza belonged to Máramaros County until the Treaty of Trianon of 1920. Population According to the official census of 2001, the population included 5423 inhabitants. Gallery References External links Official website Villages in Tiachiv Raion
Kimo may refer to: Kimo, a village in Oravais, Finland KiMo Theater, Albuquerque, USA Chery A1, a car, also known as "Kimo" in Russia KYUR, television station based in Anchorage, Alaska known as KIMO from 1971 until 2010 Kimo Yeti (born c. 1935), Huaorani tribesman of Ecuador Kimo, a common Hawaiian name translated to "Jim" or "James", see Hawaiian name Kimo Armitage, American poet, children's book author, playwright and videographer Music Kimo (band), New Zealand music group Kimo Proudfoot, American director of music videos Kimo Wilder McVay (1927–2001), musician turned talent manager Kimo Williams, American musician Sports Rosey (wrestler) , professional wrestler who worked under the name Kimo Kimo Leopoldo (born 1968), mixed martial artist often billed as just Kimo Kimo von Oelhoffen (born 1971), American football player
The Pleasant Mills Formation is a geologic formation in Indiana. References Generalized Stratigraphic Column of Indiana Bedrock Geology of Indiana
Ravi Desai is an American executive and Harvard graduate accused by various companies, most notably TheStreet.com, of inappropriate and deceitful behaviour in the late 1990s and early 2000s. Desai is a native of Ithaca, New York. Early career In 1996, Desai was the founding Editor in Chief who became the CEO of TheStreet.com, a post he held for 4 months before being fired by Jim Cramer for myriad reasons, including drinking on the job, falsifying business agreements, and blackmail. In November 1997, he wrote a series of diary entries for Slate magazine discussing, among other topics, his purported position as a strategic analyst at Quantum Corporation. Controversies In February 1999, Desai started at Scient, working out of its San Francisco office. While there, he told coworkers that his pregnant wife, Jennifer Call, was dying of cancer, and subsequently died. But Call was not pregnant, nor did she have cancer. That August, the couple filed for divorce, citing irreconcilable differences. In 2000, Desai pledged $2 million to the University of Washington and another $2 million to the University of Florida, along with $1 million to the University of New Hampshire poetry programs. No university ever received more than a few thousand dollars of the pledge. Also in 2000, a handful of poets, including then U.S. poet laureate Robert Pinsky, joined an advisory board for a national poetry foundation that Desai was starting. All the advisers subsequently resigned after Desai displayed erratic behavior. Desai later blamed his erratic behavior on having acquired a rare degenerative nerve disease. Capping off a busy year, Desai married his second wife, Christine Klingler, but was not yet divorced from his first wife, making him a bigamist. In January 2001, Formulasys, a privately held tech consulting company, hired Desai as CEO. He was asked to resign five days after getting the top job. The firm claims he had been falsifying contracts with big-name companies like Vodafone. In March 2002, Slate began publishing diary entries for "Robert Klingler," who purported to be the CEO of BMW's North American division. Slate's readers informed the editorial staff that neither Google's search engine nor Nexis's database turned up any mention of a Robert Klingler in the automobile industry. Slate discovered no one with such a name worked for BMW, and inquiries into Klingler's life led them to name Desai as the actual author and a hoaxster. References Year of birth missing (living people) Living people Harvard University alumni
This article provides a summary of significant events in 1820 in birding and ornithology. Notable occurrences in 1820 include the first description of the yellow-legged tinamou, and the commencement of ornithologist William John Swainson's Zoological Illustrations, a work including illustrations of many birds. Events Heinrich Kuhl travels in Java collecting birds for the collections in Leiden Heinrich Kuhl publishes . Bonn (also in Nova Acta Acad. Caes. Leop.-Carol. Nat. Cur. Vol.X). In this work he described many new parrot species. Among them are the red-capped parrot, the white-bellied parrot the Un-cape parrot, the vulturine parrot the short-tailed parrot the western rosella the blue-winged parrot the scaly-breasted lorikeet the scaly-headed parrot the golden-tailed parrotlet the northern rosella the black-collared lovebird and the vinaceous-breasted amazon Louis Jean Pierre Vieillot undertakes the continuation of , commenced by Pierre Joseph Bonnaterre in 1790 Prince Maximilian of Wied-Neuwied describes the yellow-legged tinamou Leach's storm petrel named after William Elford Leach by Coenraad Jacob Temminck without Temminck being aware that it had previously been described by Vieillot Short-toed treecreeper named by Christian Ludwig Brehm William John Swainson commences Zoological Illustrations (1820–23) Coenraad Jacob Temminck commences . New species described in this work in 1820 include the rufous-vented ground cuckoo, the cinereous antshrike, the northern white-faced owl, the olivaceous flatbill, the streaky-breasted honeyeater, Verreaux's eagle-owl and the Timor blue flycatcher Rijksmuseum van Natuurlijke Historie established Deaths 19 June - Joseph Banks (born 1743) 9 August - Anders Sparrman (born 1748) References Birding and ornithology by year 1820 in science
The four-eyed turtle (Sacalia quadriocellata) is a reptile of the order Testudines. Its name refers to two bright yellow or green spots that occur on the back of its head that can look like another pair of eyes. Geographic range This species of turtle occurs in southern China and Hainan, in the Annamite Mountains and northeastern region of Laos, and in the mountains of northern and central Vietnam. Hybridization A male of this species has successfully produced hybrids with the Golden coin turtle in captivity. Given that the "four-eye" pattern is inherited by these hybrids, it seems well possible that the mysterious Chinese false-eyed turtle (Sacalia pseudocellata) is actually based on a hybrid specimen. Description The four-eyed turtle can grow to a carapace length of . Its carapace typically ranges in color from a yellowish-tan to a deep chocolate-brown, and all turtles have a distinct pattern of lines. The turtle's head is often colorful with yellow or green eyes, yellow stripes, and a pink or red throat. Two (sometimes four) eye-like ocelli occur on the back of the head, hence the turtle's name. Ecology Four-eyed turtles occur in freshwater streams, brooks, and ponds in woodland, often mountainous habitats. As a result of their rugged surroundings, they have adapted to become adept climbers. While their dietary preferences have not been studied in detail, it is known that they do eat a wide variety of animals and plants including crickets, worms, snails, trout chow, aquatic plants, greens and lettuces, and certain fruits. Status and conservation The species is listed as Critically Endangered by the IUCN. It is also listed in Appendix II of the Convention on International Trade in Endangered Species (CITES) meaning international trade (including in parts and derivatives) is regulated. A main factor in the decline of the four-eyed turtle is trade and demand for their shells. Therefore, species recovery programs are needed to ensure the future of the species. There is currently an extensive communication between zoo and conservation personnel in Vietnam whose goal is to coordinate recovery programs. The recovery programs will include legal protection for the turtles which will affect turtle trading. Large quantities of turtle shell are used as an ingredient in Traditional Chinese Medicine (TCM). For instance, Taiwan confirmed that 940 tons of hard shelled turtle bone and 200 tons of soft shell turtle bones were imported between 1992 and 1998. The plastron - the belly shell - is used in TCM prescriptions. Some TCM scientists argue that there is no difference between plastron and carapace (back shell) bone. So, if both plastron and carapace bone are utilized, the demand of TCM for freshwater turtles, including four-eyed turtles, could decrease by 50%. Current TCM research also suggests that there is no pharmaceutical difference in the effects of bone from animals produced on farms and animals captured in nature. As a result, farm production of turtle bone for TCM is likely to increase. In addition, TCM research could help find alternatives to turtle bone such as herbs. Conservation efforts The Asian Turtle Program has helped publicize turtle conservation all throughout Asia. The ATP, a branch of Indo-Myanmar Conservation, has a regularly updated website with up-to-date news that helps spotlight the status of endangered turtles throughout Asia. References (2001). New Chinese turtles: endangered or invalid? A reassessment of two species using mitochondrial DNA, allozyme electrophoresis and known-locality specimens. Animal Conservation 4 (4): 357–367. HTML abstract Erratum: Animal Conservation 5 (1): 86 HTML abstract Siebenrock, Friedrich. (1903). "Schildkröten des östlichen Hinterindien". Sitzungsberichte der Mathematisch-Naturwissenschaftlichen Klasse der Kaiserlichen Akademie der Wissenschaften [Vienna] 112: 333-353. ("Clemmys bealii Gray nov. var. quadriocellata", pp. 336–338). External links Cuc Phuong Turtle Conservation Center ARKive ASEAN Centre for Biodiversity The Asian Turtle Crisis Sacalia Reptiles described in 1903 Critically endangered fauna of China
```python from datetime import datetime from unittest import mock from tests.providers.gcp.gcp_fixtures import ( GCP_PROJECT_ID, GCP_US_CENTER1_LOCATION, set_mocked_gcp_provider, ) class Test_iam_sa_no_user_managed_keys: def test_iam_no_sa(self): iam_client = mock.MagicMock with mock.patch( "prowler.providers.common.provider.Provider.get_global_provider", return_value=set_mocked_gcp_provider(), ), mock.patch( "prowler.providers.gcp.services.iam.iam_sa_no_user_managed_keys.iam_sa_no_user_managed_keys.iam_client", new=iam_client, ): from prowler.providers.gcp.services.iam.iam_sa_no_user_managed_keys.iam_sa_no_user_managed_keys import ( iam_sa_no_user_managed_keys, ) iam_client.project_ids = [GCP_PROJECT_ID] iam_client.region = GCP_US_CENTER1_LOCATION iam_client.service_accounts = [] check = iam_sa_no_user_managed_keys() result = check.execute() assert len(result) == 0 def test_iam_sa_no_keys(self): iam_client = mock.MagicMock with mock.patch( "prowler.providers.common.provider.Provider.get_global_provider", return_value=set_mocked_gcp_provider(), ), mock.patch( "prowler.providers.gcp.services.iam.iam_sa_no_user_managed_keys.iam_sa_no_user_managed_keys.iam_client", new=iam_client, ): from prowler.providers.gcp.services.iam.iam_sa_no_user_managed_keys.iam_sa_no_user_managed_keys import ( iam_sa_no_user_managed_keys, ) from prowler.providers.gcp.services.iam.iam_service import ServiceAccount iam_client.project_ids = [GCP_PROJECT_ID] iam_client.region = GCP_US_CENTER1_LOCATION iam_client.service_accounts = [ ServiceAccount( name="projects/my-project/serviceAccounts/my-service-account@my-project.iam.gserviceaccount.com", email="my-service-account@my-project.iam.gserviceaccount.com", display_name="My service account", keys=[], project_id=GCP_PROJECT_ID, ) ] check = iam_sa_no_user_managed_keys() result = check.execute() assert len(result) == 1 assert result[0].status == "PASS" assert ( result[0].status_extended == f"Account {iam_client.service_accounts[0].email} does not have user-managed keys." ) assert result[0].resource_id == iam_client.service_accounts[0].email assert result[0].project_id == GCP_PROJECT_ID assert result[0].location == GCP_US_CENTER1_LOCATION assert result[0].resource_name == iam_client.service_accounts[0].name def test_iam_sa_no_user_managed_keys(self): iam_client = mock.MagicMock with mock.patch( "prowler.providers.common.provider.Provider.get_global_provider", return_value=set_mocked_gcp_provider(), ), mock.patch( "prowler.providers.gcp.services.iam.iam_sa_no_user_managed_keys.iam_sa_no_user_managed_keys.iam_client", new=iam_client, ): from prowler.providers.gcp.services.iam.iam_sa_no_user_managed_keys.iam_sa_no_user_managed_keys import ( iam_sa_no_user_managed_keys, ) from prowler.providers.gcp.services.iam.iam_service import ( Key, ServiceAccount, ) iam_client.project_ids = [GCP_PROJECT_ID] iam_client.region = GCP_US_CENTER1_LOCATION iam_client.service_accounts = [ ServiceAccount( name="projects/my-project/serviceAccounts/my-service-account@my-project.iam.gserviceaccount.com", email="my-service-account@my-project.iam.gserviceaccount.com", display_name="My service account", keys=[ Key( name="projects/my-project/serviceAccounts/my-service-account@my-project.iam.gserviceaccount.com/keys/90c48f61c65cd56224a12ab18e6ee9ca9c3aee7c", origin="GOOGLE_PROVIDED", type="SYSTEM_MANAGED", valid_after=datetime.strptime("2024-07-10", "%Y-%m-%d"), valid_before=datetime.strptime("9999-12-31", "%Y-%m-%d"), ) ], project_id=GCP_PROJECT_ID, ) ] check = iam_sa_no_user_managed_keys() result = check.execute() assert len(result) == 1 assert result[0].status == "PASS" assert ( result[0].status_extended == f"Account {iam_client.service_accounts[0].email} does not have user-managed keys." ) assert result[0].resource_id == iam_client.service_accounts[0].email assert result[0].project_id == GCP_PROJECT_ID assert result[0].location == GCP_US_CENTER1_LOCATION assert result[0].resource_name == iam_client.service_accounts[0].name def test_iam_sa_user_managed_keys(self): iam_client = mock.MagicMock with mock.patch( "prowler.providers.common.provider.Provider.get_global_provider", return_value=set_mocked_gcp_provider(), ), mock.patch( "prowler.providers.gcp.services.iam.iam_sa_no_user_managed_keys.iam_sa_no_user_managed_keys.iam_client", new=iam_client, ): from prowler.providers.gcp.services.iam.iam_sa_no_user_managed_keys.iam_sa_no_user_managed_keys import ( iam_sa_no_user_managed_keys, ) from prowler.providers.gcp.services.iam.iam_service import ( Key, ServiceAccount, ) iam_client.project_ids = [GCP_PROJECT_ID] iam_client.region = GCP_US_CENTER1_LOCATION iam_client.service_accounts = [ ServiceAccount( name="projects/my-project/serviceAccounts/my-service-account@my-project.iam.gserviceaccount.com", email="my-service-account@my-project.iam.gserviceaccount.com", display_name="My service account", keys=[ Key( name="projects/my-project/serviceAccounts/my-service-account@my-project.iam.gserviceaccount.com/keys/90c48f61c65cd56224a12ab18e6ee9ca9c3aee7c", origin="GOOGLE_PROVIDED", type="USER_MANAGED", valid_after=datetime.strptime("2024-07-10", "%Y-%m-%d"), valid_before=datetime.strptime("9999-12-31", "%Y-%m-%d"), ) ], project_id=GCP_PROJECT_ID, ) ] check = iam_sa_no_user_managed_keys() result = check.execute() assert len(result) == 1 assert result[0].status == "FAIL" assert ( result[0].status_extended == f"Account {iam_client.service_accounts[0].email} has user-managed keys." ) assert result[0].resource_id == iam_client.service_accounts[0].email assert result[0].project_id == GCP_PROJECT_ID assert result[0].location == GCP_US_CENTER1_LOCATION assert result[0].resource_name == iam_client.service_accounts[0].name def test_iam_sa_mixed_keys(self): iam_client = mock.MagicMock with mock.patch( "prowler.providers.common.provider.Provider.get_global_provider", return_value=set_mocked_gcp_provider(), ), mock.patch( "prowler.providers.gcp.services.iam.iam_sa_no_user_managed_keys.iam_sa_no_user_managed_keys.iam_client", new=iam_client, ): from prowler.providers.gcp.services.iam.iam_sa_no_user_managed_keys.iam_sa_no_user_managed_keys import ( iam_sa_no_user_managed_keys, ) from prowler.providers.gcp.services.iam.iam_service import ( Key, ServiceAccount, ) iam_client.project_ids = [GCP_PROJECT_ID] iam_client.region = GCP_US_CENTER1_LOCATION iam_client.service_accounts = [ ServiceAccount( name="projects/my-project/serviceAccounts/my-service-account@my-project.iam.gserviceaccount.com", email="my-service-account@my-project.iam.gserviceaccount.com", display_name="My service account", keys=[ Key( name="projects/my-project/serviceAccounts/my-service-account@my-project.iam.gserviceaccount.com/keys/90c48f61c65cd56224a12ab18e6ee9ca9c3aee7c", origin="GOOGLE_PROVIDED", type="SYSTEM_MANAGED", valid_after=datetime.strptime("2024-07-10", "%Y-%m-%d"), valid_before=datetime.strptime("9999-12-31", "%Y-%m-%d"), ), Key( name="projects/my-project/serviceAccounts/my-service-account@my-project.iam.gserviceaccount.com/keys/e5e3800831ac1adc8a5849da7d827b4724b1fce8", origin="GOOGLE_PROVIDED", type="USER_MANAGED", valid_after=datetime.strptime("2024-07-10", "%Y-%m-%d"), valid_before=datetime.strptime("9999-12-31", "%Y-%m-%d"), ), ], project_id=GCP_PROJECT_ID, ) ] check = iam_sa_no_user_managed_keys() result = check.execute() assert len(result) == 1 assert result[0].status == "FAIL" assert ( result[0].status_extended == f"Account {iam_client.service_accounts[0].email} has user-managed keys." ) assert result[0].resource_id == iam_client.service_accounts[0].email assert result[0].project_id == GCP_PROJECT_ID assert result[0].location == GCP_US_CENTER1_LOCATION assert result[0].resource_name == iam_client.service_accounts[0].name ```
Cristian Maino (born July 9, 1971) is an Argentine sprint canoer who competed in the early 1990s. He was eliminated in the semifinals of the K-4 1000 m event at the 1992 Summer Olympics in Barcelona. References Sports-Reference.com profile 1971 births Argentine male canoeists Canoeists at the 1992 Summer Olympics Living people 20th-century Argentine people Olympic canoeists for Argentina Place of birth missing (living people)
The United Tasmania Group (UTG) is generally acknowledged as the world's first Green party to contest elections. The party was formed on 23 March 1972, during a meeting of the Lake Pedder Action Committee (LPAC) at the Hobart Town Hall in order to field political candidates in the April 1972 state election. 1970s UTG contested ten state and federal elections between 1972 and 1977, with the highest vote of 9.9% in the Legislative Council election with Rod Broadby in 1975 (see Appendix 4, UTG Journal Issue No. 6, 2021). The United Tasmania Group's first President was Dr Richard Jones and it lasted for five years, briefly reforming in 1990 for the federal election. A few of the 1970s candidates, including Bob Brown, went on to form the Tasmanian Greens and then ultimately, at the national level, the Australian Greens. 2010s On 2 April 2016 following a meeting, former members of the party re-started the group. The United Tasmania Group launched The UTG Journal in 2018. The journal is designed to cover a wide range of topics, including the development of conservation and other issues since that original founding date in April, 1972. Six issues of The UTG Journal have been published since the re-start of the organisation in 2016. Histories and analysis In the mid 1990s Lance Armstrong wrote a history of the politics of Tasmania in the 1990s. In the mid-2000s author Bill Lines also attempted to grapple with the broader scope of politics in Australia relative to greens politics in Patriots. In the late 2010s Paddy Manning researched and wrote a history of the Greens in Australia, and included the UTG in the first chapter, acknowledging the importance of the group within the larger context. An unpublished Honours Thesis on the party by Pam Walker (University of Tasmania) was written in 1986, and the first chapter in Paddy Manning's book, Inside the Greens (2019), is devoted to the history of the party. Publications 1970s 2000s The UTG Journal issue No. 1 The UTG Journal Issue No. 2 The UTG Journal Issue No. 3 The UTG Journal Issue No. 4 The UTG Journal Issue No. 5 The UNITED TASMANIA GROUP Story Policy Compilation The UTG Journal Issue No. 6 Special 50th year edition The UTG Journal Issue No. 7 The UTG Journal Issue No. 8 See also List of political parties in Australia Living Soil Association of Tasmania References External links History of Green Politics in Tasmania The UTG 'New Ethic' Charter Tasmania Political parties established in 1972 1972 establishments in Australia
Antoine, Duke of Montpensier (Antoine Marie Philippe Louis d'Orléans; 31 July 18244 February 1890), was a member of the French royal family in the House of Orléans. He was the youngest son of King Louis Philippe of France and his wife Maria Amelia Teresa of the Two Sicilies. He was styled as the Duke of Montpensier. He was born on 31 July 1824 at the château de Neuilly and died 4 February 1890 at Sanlúcar de Barrameda, Spain. Marriage and issue On 10 October 1846 at Madrid, Spain, he married Infanta Luisa Fernanda of Spain, the daughter of King Ferdinand VII of Spain and his wife Maria Christina of the Two Sicilies. They had ten children: Maria Isabel (1848–1919), who married her first cousin Philippe, comte de Paris (1838–94), the French claimant, and became known as Marie Isabelle, comtesse de Paris. She had several children. Maria Amelia (1851–1870) Maria Cristina (1852–1879) Maria de la Regla (1856–1861) [?] (1857-1857) Fernando (1859–1873) Mercedes (1860–1878), otherwise Princess Marie des Graces d'Orleans-Montpensier, who married her first cousin Alfonso XII and is historically known as Mercedes of Orleans, queen of Spain. No children. Felipe Raimundo Maria (1862–1864) Antonio (1866–1930), became Duke of Galliera in Italy. He married his first cousin Infanta Eulalia of Spain (1864–1958), daughter of Isabella II, and had two sons. Luis Maria Felipe Antonio (1867–1874) Candidate for the Spanish throne Antoine de Montpensier lived in Spain from 1848 when he and his family had to leave France after the Revolution of 1848. During the Spanish revolution of 1868, he supported the insurgents under Juan Prim against Queen Isabel II, his own sister-in-law. In 1870 he fought a duel against Infante Enrique, Duke of Seville, the brother of King Francisco, and killed him. Antoine was convicted and sentenced to one month in prison. On 16 November 1870 the Cortes voted for the next king and chose Amadeo of Savoy with 191 votes. Antoine only received 27 votes, and left Spain, only to return in 1874. His ambitions were fulfilled by his daughter Mercedes, who became Queen of Spain after her marriage to Alfonso XII, son of Isabella II. However, she died at the age of 18 without issue. Despite never reaching the throne, however, through cognates, he is an ancestor of all Spanish monarchs since Juan Carlos I. His great granddaughter Mercedes, Countess of Barcelona, was the mother of Juan Carlos, who assumed the throne in 1975 and later abdicated in favor of his son, Felipe VI in 2014. Early collector of photography The Duke of Montpensier was an early collector of photography. His collection consisted of dozens of albums and hundreds of early photographs, mainly of Spanish, French and British photographers. The collection was dispersed after his death. Honours and arms Honours Kingdom of France: Grand Cross of the Legion of Honour, 9 November 1845 : Knight of the Golden Fleece, 10 October 1846 Grand Cross of the Order of Charles III, with Collar Grand Cross of the Military Order of St. Hermenegild Grand Cross of Military Merit, with Red Decoration : Knight of the House Order of Fidelity, 1846 Grand Cross of the Zähringer Lion, 1846 : Grand Cordon of the Order of Leopold, 11 December 1844 : Grand Cross of the Tower and Sword Beylik of Tunis: Husainid Family Order : Grand Cross of St. Ferdinand and Merit Arms Prince Antoine did not have a personal coat of arms. He used the traditional arms of the House of Orléans, consisting of: Azure, three fleur-de-lis Or and a label Argent [In heraldic blazon, Azure is blue, Or is gold, and Argent is silver] This coat of arms was first used by Philippe d'Orléans, nephew and son in law of King Louis XIV of France. As cadets of the French royal family, they bore the arms of France differenced by a label argent. Ancestry References |- |- 1824 births 1890 deaths Antoine Marie Philippe Louis d'Orleans Dukes of Galliera Princes of France (Orléans) Spanish captain generals Burials in the Pantheon of Infantes at El Escorial Grand Cross of the Legion of Honour Knights of the Golden Fleece of Spain Grand Crosses of the Royal and Military Order of San Hermenegild Grand Crosses of Military Merit French duellists Children of Louis Philippe I Sons of kings
Andréanne Morin (born August 9, 1981) is a Canadian rower and Olympian. Career Morin was an integral part of Canada's women's eights rowing team. She won medals at three world championships, a bronze medal at the 2003 World Rowing Championships and silver at the 2010 World Rowing Championships and 2011 World Rowing Championships. She was the NCAA champion in rowing 2006. Morin was a three time Olympian finishing seventh in the 2004 Summer Olympics and in fourth place at the 2008 Summer Olympic Games in Beijing, China. At the 2012 Summer Olympics she was part the Canadian women's eight that won the silver medal. Other work Morin was a member of the Athlete Committee at the World Anti Doping Agency. Education She attended The Study, graduating in grade 11 in 1998, and later attended Phillips Exeter Academy, graduating in 2000, followed by a bachelor's degree in political science at Princeton University in 2006. She also later studied law at Université de Montréal. Honours In 2012 Morin was awarded the Queen Elizabeth II Diamond Jubilee Medal. In 2019, an eponymous shell in her name, the A. Morin 2000, was christened and added to the Phillips Exeter Academy boathouse. See also Princeton University Olympians References External links 1981 births French Quebecers Living people Olympic rowers for Canada Sportspeople from Quebec City Princeton Tigers women's rowers Rowers at the 2004 Summer Olympics Rowers at the 2008 Summer Olympics Rowers at the 2012 Summer Olympics Olympic silver medalists for Canada Olympic medalists in rowing Canadian female rowers World Anti-Doping Agency members Medalists at the 2012 Summer Olympics World Rowing Championships medalists for Canada Phillips Exeter Academy alumni 21st-century Canadian women
The 1958 VMI Keydets football team was an American football team that represented the Virginia Military Institute (VMI) as a member of the Southern Conference (SoCon) during the 1958 NCAA University Division football season. Led by sixth-year head coach John McKenna, the Keydets compiled an overall record of 6–2–2 with a mark of 2–2–1 in conference play, placing fourth in the SoCon. Schedule Roster Art Brandiff halfback John Engels halfback Dick Evans end Sam Horner halfback Pete Johnson fullback Carl Kasko end Bill Nebraska quarterback References External links 1958 VMI Football Facts VMI VMI Keydets football seasons VMI Keydets football
```java package com.tamsiree.rxui.view; import android.animation.Animator; import android.animation.AnimatorListenerAdapter; import android.animation.ValueAnimator; import android.annotation.SuppressLint; import android.app.Activity; import android.content.Context; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Matrix; import android.graphics.Paint; import android.graphics.Path; import android.graphics.Rect; import android.graphics.RectF; import android.os.Bundle; import android.os.Handler; import android.os.Message; import android.util.AttributeSet; import android.view.GestureDetector; import android.view.MotionEvent; import android.view.View; import android.view.animation.LinearInterpolator; import android.widget.Toast; import androidx.annotation.NonNull; import com.tamsiree.rxkit.RxImageTool; import com.tamsiree.rxui.R; import java.io.ByteArrayOutputStream; import java.util.HashMap; import java.util.Map; import java.util.Objects; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; /** * @author tamsiree * @date 16/7/22 */ public class RxSeatAirplane extends View { private Paint mPaint; private Paint mPaintOther; private Paint mPaintMap; private RectF rectFCabin; RectF rectFWall; RectF rectFWC; private HashMap<String, RectF> mSeats = new HashMap<>(); private HashMap<String, SeatState> mSeatSelecting = new HashMap<>(); private HashMap<String, SeatState> mSeatSelected = new HashMap<>(); private HashMap<String, RectF> mSeatSelectingRectF = new HashMap<>(); private Path pathFuselage; private Path pathArrow; private Path pathTail; private Bitmap mBitmapCabin = null; private Bitmap mBitmapFuselage = null; private Bitmap mBitmapArrow = null; private Bitmap mBitmapTail = null; private Bitmap mBitmapSeatNormal = null; private Bitmap mBitmapSeatSelected = null; private Bitmap mBitmapSeatSelecting = null; private float scaleValue = 2.0f; private float scaleMaxValue = 3f; private float scaleMap = 10f; private int maxSelectStates = 10; private float moveY = 0; private String getSeatKeyName(int row, int column) { return row + "#" + column; } public void setSeatSelected(int row, int column) { mSeatSelected.put(getSeatKeyName(row, column), SeatState.Selected); } public void goCabinPosition(CabinPosition mCabinPosition) { if (mAnimatedValue > 0) { if (mCabinPosition == CabinPosition.Top) { moveY = 0; } else if (mCabinPosition == CabinPosition.Last) { moveY = rectFCabin.height() - rectFCabin.width() * 2.5f; } else if (mCabinPosition == CabinPosition.Middle) { moveY = (rectFCabin.height() - rectFCabin.width() * 2.5f) / 2; } invalidate(); } } public void setEmptySelecting() { mSeatSelecting.clear(); mSeatSelectingRectF.clear(); invalidate(); } public void setMaxSelectStates(int count) { maxSelectStates = count; } public RxSeatAirplane(Context context) { this(context, null); } public RxSeatAirplane(Context context, AttributeSet attrs) { this(context, attrs, 0); } public RxSeatAirplane(Context context, AttributeSet attrs, int defStyleAttr) { super(context, attrs, defStyleAttr); initPaint(); } @SuppressLint("HandlerLeak") private Handler mHandler = new Handler() { @Override public void handleMessage(@NonNull Message msg) { super.handleMessage(msg); Canvas c = (Canvas) msg.obj; Bundle bundle = msg.getData(); if (bundle != null && c != null) { float left = bundle.getFloat("left"); float top = bundle.getFloat("top"); byte[] bis = bundle.getByteArray("bitmap"); Bitmap bitmap = BitmapFactory.decodeByteArray(bis, 0, bis.length); if (bitmap != null) { c.drawBitmap(bitmap, left, top, mPaint); } } } }; @Override protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { super.onMeasure(widthMeasureSpec, heightMeasureSpec); int widthSpecMode = MeasureSpec.getMode(widthMeasureSpec); int widthSpecSize = MeasureSpec.getSize(widthMeasureSpec); int heightSpecMode = MeasureSpec.getMode(heightMeasureSpec); int heightSpecSize = MeasureSpec.getSize(heightMeasureSpec); if (widthSpecMode == MeasureSpec.AT_MOST && heightSpecMode == MeasureSpec.AT_MOST) { setMeasuredDimension(RxImageTool.dp2px(getContext(), 150), RxImageTool.dp2px(getContext(), 200)); } else if (widthSpecMode == MeasureSpec.AT_MOST) { setMeasuredDimension((int) (heightSpecSize * 0.75f), heightSpecSize); } else if (heightSpecMode == MeasureSpec.AT_MOST) { setMeasuredDimension(widthSpecSize, (int) (widthSpecSize / 0.75f)); } } private void initPaint() { mPaint = new Paint(); mPaint.setAntiAlias(true); mPaint.setColor(Color.WHITE); mPaint.setStyle(Paint.Style.FILL); mPaintOther = new Paint(); mPaintOther.setAntiAlias(true); mPaintOther.setColor(Color.rgb(138, 138, 138)); mPaintOther.setStyle(Paint.Style.FILL); mPaintMap = new Paint(); mPaintMap.setAntiAlias(true); mPaintMap.setColor(Color.rgb(138, 138, 138)); mPaintMap.setStyle(Paint.Style.FILL); rectFCabin = new RectF(); rectFWall = new RectF(); rectFWC = new RectF(); pathFuselage = new Path(); pathFuselage.reset(); pathArrow = new Path(); pathArrow.reset(); pathTail = new Path(); pathTail.reset(); if (isInEditMode()) { return; } setOnTouchListener(new MoveListerner((Activity) getContext()) { @Override public void moveDirection(View v, int direction, float distanceX, float distanceY) { } @Override public void moveUpAndDownDistance(MotionEvent event, int distance, int distanceY) { // System.out.println("-----moveUpAndDownDistance:" + distance + "----:" + distanceY); if (mAnimatedValue > 0) { if (moveY >= 0 && moveY <= rectFCabin.height() - rectFCabin.width() * 2.5f) { moveY = moveY + distanceY; invalidate(); } if (moveY < 0) { moveY = 0; } if (moveY > rectFCabin.height() - rectFCabin.width() * 2.5f) { moveY = rectFCabin.height() - rectFCabin.width() * 2.5f; } } } @Override public void moveOver() { // System.out.println("-----moveOver:"); } @Override public void Touch(float x, float y) { if (mAnimatedValue == 0) { startAnim(false); } else { RectF selecting = new RectF(); for (Map.Entry<String, RectF> stringRectFEntry : mSeats.entrySet()) { String key = (String) ((Map.Entry) stringRectFEntry).getKey(); RectF val = (RectF) ((Map.Entry) stringRectFEntry).getValue(); // x=x-moveY; if (val.contains(x, y)) { // System.out.println("----key" + key); if (mSeatSelecting.containsKey(key)) { if (mSeatSelecting.get(key) != SeatState.Selected) { mSeatSelecting.remove(key); mSeatSelectingRectF.remove(key); invalidate(); } } else { if (mSeatSelecting.size() >= maxSelectStates) { Toast.makeText(getContext(), "Choose a maximum of " + maxSelectStates, Toast.LENGTH_SHORT).show(); return; } else { if (!mSeatSelected.containsKey(key)) { mSeatSelecting.put(key, SeatState.Selecting); selecting.top = val.top / scaleMap + rectFCabin.top + rectFCabin.width() * 0.8f + moveY / scaleMap; selecting.bottom = val.bottom / scaleMap + rectFCabin.top + rectFCabin.width() * 0.8f + moveY / scaleMap; selecting.left = val.centerX() / scaleMap - val.width() / scaleMap / 2f - val.width() / scaleMap / 2f + rectFCabin.left; selecting.right = val.centerX() / scaleMap + val.width() / scaleMap / 2f - val.width() / scaleMap / 2f + rectFCabin.left; mSeatSelectingRectF.put(key, selecting); invalidate(); } // else // { // Toast.makeText(getContext(), // "The selected", // Toast.LENGTH_SHORT).show(); // } } } } } } } }); } public enum CabinPosition { Top, Middle, Last } enum SeatType { Left, Middle, Right } enum SeatState { Normal, Selected, Selecting } enum CabinType { Frist, Second, Tourist, Last } @Override protected void onDraw(Canvas canvas) { super.onDraw(canvas); canvas.save(); scaleValue = scaleMaxValue * mAnimatedValue; @SuppressLint("DrawAllocation") Matrix matrix = new Matrix(); matrix.postScale(1 + scaleValue * 2f, 1 + scaleValue * 2f); matrix.postTranslate(getMeasuredWidth() * -1 * scaleValue, scaleValue * 2f * (getMeasuredHeight() / 3f / 3f + getMeasuredWidth() / 8f) * -1 - moveY); float rectFCabinWidth = getMeasuredWidth() / 8f; rectFCabin.top = getMeasuredHeight() / 3f / 3f; rectFCabin.left = getMeasuredWidth() / 2f - rectFCabinWidth / 2f; rectFCabin.right = getMeasuredWidth() / 2f + rectFCabinWidth / 2f; rectFCabin.bottom = getMeasuredHeight() / 3f / 3f + getMeasuredHeight() / 3f * 2f; canvas.drawBitmap(getBitmapFuselage(rectFCabinWidth), matrix, mPaint); canvas.drawBitmap(getBitmapArrow(), matrix, mPaint); canvas.drawBitmap(getBitmapTail(), matrix, mPaint); canvas.drawBitmap(getBitmapCabin(), matrix, mPaint); rectFCabinWidth = getMeasuredWidth() / 8f * (1 + scaleValue * 2f); rectFCabin.top = getMeasuredHeight() / 3f / 3f; rectFCabin.left = getMeasuredWidth() / 2f - rectFCabinWidth / 2f; rectFCabin.right = getMeasuredWidth() / 2f + rectFCabinWidth / 2f; rectFCabin.bottom = getMeasuredHeight() / 3f / 3f + getMeasuredHeight() / 3f * 2f * (1 + scaleValue * 2f); canvas.translate(0, scaleValue * (1 - 0.1f * (scaleMaxValue - 2)) * (getMeasuredHeight() / 3f / 3f + getMeasuredWidth() / 8f) * -1 - moveY); drawSeatFirst(canvas); drawSeatTourist(canvas); drawSeatLast(canvas); drawSeatMap(canvas); canvas.restore(); } private void setSeat(int i, int j, Canvas canvas, float seatWH, SeatType type, CabinType cabinType) { float top = 0f; float left = 0f; if (cabinType == CabinType.Frist) { if (type == SeatType.Left) { top = rectFCabin.top + rectFCabin.width() / 2 + seatWH + i * (seatWH) + seatWH / 2; left = rectFCabin.left + j * (seatWH) + seatWH / 3; } else if (type == SeatType.Middle) { top = rectFCabin.top + rectFCabin.width() / 2 + seatWH + i * (seatWH) + seatWH / 2 + seatWH / 2; left = rectFCabin.left + j * (seatWH) + seatWH * 1f; } else if (type == SeatType.Right) { top = rectFCabin.top + rectFCabin.width() / 2 + seatWH + i * (seatWH) + seatWH / 2; left = rectFCabin.left + j * (seatWH) + seatWH * 2f - seatWH / 3f; } } else if (cabinType == CabinType.Second) { if (type == SeatType.Left) { left = rectFCabin.left + j * (seatWH) + seatWH / 3; top = rectFCabin.top + seatWH * 14f + rectFCabin.width() / 2 + seatWH + i * (seatWH) + seatWH / 2; } else if (type == SeatType.Middle) { left = rectFCabin.left + j * (seatWH) + seatWH / 1f; top = rectFCabin.top + rectFCabin.width() / 2 + seatWH * 14f + seatWH + i * (seatWH) + seatWH / 2 + seatWH / 2; } else if (type == SeatType.Right) { left = rectFCabin.left + j * (seatWH) + seatWH * 2f - seatWH / 3f; top = rectFCabin.top + seatWH * 14f + rectFCabin.width() / 2 + seatWH + i * (seatWH) + seatWH / 2; } } else if (cabinType == CabinType.Tourist) { if (type == SeatType.Left) { left = rectFCabin.left + j * (seatWH) + seatWH / 3; top = rectFWall.bottom + seatWH * 1.5f + i * (seatWH); } else if (type == SeatType.Middle) { left = rectFCabin.left + j * (seatWH) + seatWH * 1f ; top = rectFWall.bottom + seatWH * 1.5f + i * (seatWH); } else if (type == SeatType.Right) { left = rectFCabin.left + j * (seatWH) + seatWH * 2.0f - seatWH / 3f ; top = rectFWall.bottom + seatWH * 1.5f + i * (seatWH); } } else if (cabinType == CabinType.Last) { if (type == SeatType.Left) { left = rectFCabin.left + j * (seatWH) + seatWH / 3 ; top = rectFWC.bottom + seatWH * 1.5f + i * (seatWH); } else if (type == SeatType.Middle) { left = rectFCabin.left + j * (seatWH) + seatWH * 1f ; top = rectFWC.bottom + seatWH * 1.5f + i * (seatWH); } else if (type == SeatType.Right) { left = rectFCabin.left + j * (seatWH) + seatWH * 2.0f - seatWH / 3f ; top = rectFWC.bottom + seatWH * 1.5f + i * (seatWH); } } RectF sRectF = new RectF(left, top, left + seatWH, top + seatWH); PointSeat point = null; if (cabinType == CabinType.Frist) { point = new PointSeat(i, j); } else if (cabinType == CabinType.Second) { point = new PointSeat(i + 7, j); } else if (cabinType == CabinType.Tourist) { point = new PointSeat(i + 10, j); } else if (cabinType == CabinType.Last) { point = new PointSeat(i + 35, j); } if (mAnimatedValue == 1) { if (cabinType == CabinType.Frist) { if (type == SeatType.Left || type == SeatType.Right) { sRectF.top = sRectF.top - rectFCabin.top - rectFCabin.width() / 2 - seatWH * (scaleMaxValue - 1.51f) - moveY; sRectF.bottom = sRectF.bottom - rectFCabin.top - rectFCabin.width() / 2 - seatWH * (scaleMaxValue - 1.51f) - moveY; } if (type == SeatType.Middle) { sRectF.top = sRectF.top - rectFCabin.top - rectFCabin.width() / 2 - seatWH * (scaleMaxValue - 1.8f) - seatWH / 2f - moveY; sRectF.bottom = sRectF.bottom - rectFCabin.top - rectFCabin.width() / 2 - seatWH * (scaleMaxValue - 1.8f) - seatWH / 2f - moveY; } } else if (cabinType == CabinType.Second) { if (type == SeatType.Left || type == SeatType.Right) { sRectF.top = sRectF.top - rectFCabin.top - rectFCabin.width() / 2 - seatWH * (scaleMaxValue - 1.25f) - moveY; sRectF.bottom = sRectF.bottom - rectFCabin.top - rectFCabin.width() / 2 - seatWH * (scaleMaxValue - 1.25f) - moveY; } if (type == SeatType.Middle) { sRectF.top = sRectF.top - rectFCabin.top - rectFCabin.width() / 2 - seatWH * (scaleMaxValue - 1.75f) - seatWH / 2f - moveY; sRectF.bottom = sRectF.bottom - rectFCabin.top - rectFCabin.width() / 2 - seatWH * (scaleMaxValue - 1.75f) - seatWH / 2f - moveY; } // sRectF.top = sRectF.top - rectFCabin.top - rectFCabin.width() / 2 - seatWH * (scaleMaxValue - 1) - moveY; // sRectF.bottom = sRectF.bottom - rectFCabin.top - rectFCabin.width() / 2 - seatWH * (scaleMaxValue - 1) - moveY; } else if (cabinType == CabinType.Tourist) { sRectF.top = sRectF.top - rectFCabin.top - rectFCabin.width() / 2 - seatWH * (scaleMaxValue - 1) - moveY; sRectF.bottom = sRectF.bottom - rectFCabin.top - rectFCabin.width() / 2 - seatWH * (scaleMaxValue - 1) - moveY; } else if (cabinType == CabinType.Last) { sRectF.top = sRectF.top - rectFCabin.top - rectFCabin.width() / 2 - seatWH * (scaleMaxValue - 1) - moveY; sRectF.bottom = sRectF.bottom - rectFCabin.top - rectFCabin.width() / 2 - seatWH * (scaleMaxValue - 1) - moveY; } if (sRectF.top > 0 && sRectF.bottom < getMeasuredHeight()) { mSeats.put(getSeatKeyName(Objects.requireNonNull(point).row, point.column), sRectF); } } if (mSeatSelected.containsKey(getSeatKeyName(Objects.requireNonNull(point).row, point.column))) { canvas.drawBitmap(Objects.requireNonNull(getSeat(seatWH, mSeatSelected.get(getSeatKeyName(point.row, point.column)))) , left , top , mPaint ); } else if (mSeatSelecting.containsKey(getSeatKeyName(point.row, point.column))) { // System.out.println("-----" + point.row + "--" + point.column); canvas.drawBitmap(Objects.requireNonNull(getSeat(seatWH, mSeatSelecting.get(getSeatKeyName(point.row, point.column)))) , left , top , mPaint ); if (mAnimatedValue == 1) { if (mSeatSelecting.get(getSeatKeyName(point.row, point.column)) == SeatState.Selecting) { String text = (point.row + 1) + "," + (point.column + 1); mPaintOther.setColor(Color.WHITE); mPaintOther.setTextSize(seatWH / 4f); canvas.drawText( text, left + seatWH / 2f - getFontlength(mPaintOther, text) / 2, top + seatWH / 2f + getFontHeight(mPaintOther, text) / 3, mPaintOther ); mPaintOther.setColor(Color.rgb(138, 138, 138)); } } } else { if (isInEditMode()) { return; } canvas.drawBitmap(Objects.requireNonNull(getSeat(seatWH, SeatState.Normal)), left, top, mPaint); } } private void drawSeatMap(Canvas canvas) { if (mAnimatedValue == 1) { float mapW = rectFCabin.width() / scaleMap; float mapH = (rectFCabin.height() - rectFCabin.width() * 2.5f) / scaleMap + getMeasuredHeight() / scaleMap; RectF rectFMap = new RectF(rectFCabin.left, rectFCabin.top + rectFCabin.width() * 0.8f + moveY , rectFCabin.left + mapW, rectFCabin.top + rectFCabin.width() * 0.8f + mapH + moveY); mPaintMap.setColor(Color.rgb(138, 138, 138)); mPaintMap.setAlpha(80); mPaintMap.setStyle(Paint.Style.FILL); canvas.drawRect(rectFMap, mPaintMap); mapH = getHeight() / scaleMap; RectF rectFMapSee = new RectF(rectFCabin.left, rectFCabin.top + rectFCabin.width() * 0.8f + moveY + moveY / scaleMap , rectFCabin.left + mapW, rectFCabin.top + rectFCabin.width() * 0.8f + mapH + moveY + moveY / scaleMap); mPaintMap.setStyle(Paint.Style.STROKE); mPaintMap.setStrokeWidth(RxImageTool.dp2px(getContext(), 0.75f)); mPaintMap.setColor(Color.RED); canvas.drawRect(rectFMapSee, mPaintMap); mPaintMap.setStrokeWidth(0); if (mSeatSelectingRectF.size() > 0) { mPaintMap.setStyle(Paint.Style.FILL); mPaintMap.setColor(Color.RED); mPaintMap.setAlpha(80); RectF r = new RectF(); for (Map.Entry<String, RectF> stringRectFEntry : mSeatSelectingRectF.entrySet()) { // String key = (String) ((Map.Entry) stringRectFEntry).getKey(); RectF val = (RectF) ((Map.Entry) stringRectFEntry).getValue(); r.top = val.top + moveY; r.bottom = val.bottom + moveY; r.left = val.left - RxImageTool.dp2px(getContext(), 0.5f); r.right = val.right - RxImageTool.dp2px(getContext(), 0.5f); canvas.drawRect(r, mPaintMap); } } } } private void drawSeatFirst(Canvas canvas) { int row = 7; int column = 7; mSeats.clear(); float seatWH = rectFCabin.width() / 9.0f; for (int i = 0; i < row; i++) { for (int j = 0; j < column; j++) { if (j < 2) { setSeat(i, j, canvas, seatWH, SeatType.Left, CabinType.Frist); // setBitmap } else if (j < 5 && i < row - 1) { setSeat(i, j, canvas, seatWH, SeatType.Middle, CabinType.Frist); } else if (j >= 5) { setSeat(i, j, canvas, seatWH, SeatType.Right, CabinType.Frist); } } } // RectF rectFWC = new RectF(); rectFWC.top = rectFCabin.top + rectFCabin.width() / 2 + seatWH + (row + 2.5f) * (seatWH) + seatWH / 2; rectFWC.bottom = rectFCabin.top + rectFCabin.width() / 2 + seatWH + (row + 4.5f) * (seatWH) + seatWH / 2; rectFWC.left = rectFCabin.left + seatWH / 3; rectFWC.right = rectFCabin.left + seatWH / 3 + seatWH * 2 ; mPaintOther.setStyle(Paint.Style.STROKE); canvas.drawRect(rectFWC, mPaintOther); drawWcText(rectFWC, canvas); RectF rectFWifi = new RectF(); rectFWifi.top = rectFCabin.top + rectFCabin.width() / 2 + seatWH + (row + 1f) * (seatWH) + seatWH / 2; rectFWifi.bottom = rectFCabin.top + rectFCabin.width() / 2 + seatWH + (row + 4.5f) * (seatWH) + seatWH / 2; rectFWifi.left = rectFWC.right + seatWH / 2f; rectFWifi.right = rectFCabin.left + column * (seatWH) + seatWH * 2f - seatWH / 3f - seatWH * 2 - seatWH / 2f; canvas.drawRect(rectFWifi, mPaintOther); drawWifiLogo(rectFWifi, canvas); rectFWC.top = rectFCabin.top + rectFCabin.width() / 2 + seatWH + (row + 2.5f) * (seatWH) + seatWH / 2; rectFWC.bottom = rectFCabin.top + rectFCabin.width() / 2 + seatWH + (row + 4.5f) * (seatWH) + seatWH / 2; rectFWC.right = rectFCabin.left + column * (seatWH) + seatWH * 2f - seatWH / 3f; rectFWC.left = rectFCabin.left + column * (seatWH) + seatWH * 2f - seatWH / 3f - seatWH * 2 ; mPaintOther.setStyle(Paint.Style.STROKE); canvas.drawRect(rectFWC, mPaintOther); drawWcText(rectFWC, canvas); drawSeatSecond(canvas, seatWH); } private void drawSeatSecond(Canvas canvas, float seatWH) { int row = 3; int column = 8; float seatWH2 = rectFCabin.width() / 10.0f; for (int i = 0; i < row; i++) { for (int j = 0; j < column; j++) { if (j < 2) { setSeat(i, j, canvas, seatWH2, SeatType.Left, CabinType.Second); } else if (j < 6) { setSeat(i, j, canvas, seatWH2, SeatType.Middle, CabinType.Second); } else { setSeat(i, j, canvas, seatWH2, SeatType.Right, CabinType.Second); } } } mPaintOther.setStyle(Paint.Style.FILL); rectFWall.top = rectFCabin.top + seatWH * 13 + rectFCabin.width() / 2 + seatWH + (row + 1) * (seatWH2) + seatWH2 / 2; rectFWall.left = rectFCabin.left + seatWH2 / 3; rectFWall.right = rectFCabin.left + seatWH2 / 3 + 2.5f * seatWH2; rectFWall.bottom = rectFCabin.top + seatWH * 13 + rectFCabin.width() / 2 + seatWH + (row + 1) * (seatWH2) + seatWH2 / 2 + (RxImageTool.dp2px(getContext(), 2) * mAnimatedValue < 1 ? 1 : (int) (RxImageTool.dp2px(getContext(), 2) * mAnimatedValue)); canvas.drawRoundRect(rectFWall, RxImageTool.dp2px(getContext(), 1), RxImageTool.dp2px(getContext(), 1), mPaintOther); rectFWall.top = rectFCabin.top + seatWH * 13 + rectFCabin.width() / 2 + seatWH + (row + 1) * (seatWH2) + seatWH2 / 2; rectFWall.left = rectFCabin.left + column * (seatWH2) + seatWH2 * 2f - seatWH / 3f - 2.5f * seatWH2; rectFWall.right = rectFCabin.left + column * (seatWH2) + seatWH2 * 2f - seatWH / 3f; rectFWall.bottom = rectFCabin.top + seatWH * 13 + rectFCabin.width() / 2 + seatWH + (row + 1) * (seatWH2) + seatWH2 / 2 + (RxImageTool.dp2px(getContext(), 2) * mAnimatedValue < 1 ? 1 : (int) (RxImageTool.dp2px(getContext(), 2) * mAnimatedValue)); canvas.drawRoundRect(rectFWall, RxImageTool.dp2px(getContext(), 1), RxImageTool.dp2px(getContext(), 1), mPaintOther); } private void drawSeatTourist(Canvas canvas) { int row = 25; int column = 10; int seatWH = (int) (rectFCabin.width() / 12); for (int i = 0; i < row; i++) { for (int j = 0; j < column; j++) { if (j < 3) { setSeat(i, j, canvas, seatWH, SeatType.Left, CabinType.Tourist); } else if (j < 7) { setSeat(i, j, canvas, seatWH, SeatType.Middle, CabinType.Tourist); } else { setSeat(i, j, canvas, seatWH, SeatType.Right, CabinType.Tourist); } } } rectFWC.top = rectFWall.bottom + seatWH * 1.5f + 26 * (seatWH); rectFWC.bottom = rectFWC.top + seatWH * 3; rectFWC.left = rectFCabin.left + seatWH / 3f; rectFWC.right = rectFCabin.left + seatWH / 3f + seatWH * 3; mPaintOther.setStyle(Paint.Style.STROKE); canvas.drawRect(rectFWC, mPaintOther); drawWcText(rectFWC, canvas); RectF rectFWifi = new RectF(); rectFWifi.top = rectFWall.bottom + seatWH * 1.5f + 26 * (seatWH); rectFWifi.bottom = rectFWifi.top + seatWH * 3; rectFWifi.left = rectFWC.right + seatWH / 2f; rectFWifi.right = rectFCabin.left + column * (seatWH) + seatWH * 2f - seatWH / 3f - seatWH * 3 - seatWH / 2f ; canvas.drawRect(rectFWifi, mPaintOther); drawWifiLogo(rectFWifi, canvas); rectFWC.top = rectFWall.bottom + seatWH * 1.5f + 26 * (seatWH); rectFWC.bottom = rectFWC.top + seatWH * 3; rectFWC.left = rectFCabin.left + column * (seatWH) + seatWH * 2f - seatWH / 3f - seatWH * 3; rectFWC.right = rectFCabin.left + column * (seatWH) + seatWH * 2f - seatWH / 3f; mPaintOther.setStyle(Paint.Style.STROKE); canvas.drawRect(rectFWC, mPaintOther); drawWcText(rectFWC, canvas); } private void drawSeatLast(Canvas canvas) { int row = 19; int column = 10; int seatWH = (int) (rectFCabin.width() / 12); for (int i = 0; i < row; i++) { for (int j = 0; j < column; j++) { if (j < 3) { setSeat(i, j, canvas, seatWH, SeatType.Left, CabinType.Last); } else if (j < 7) { setSeat(i, j, canvas, seatWH, SeatType.Middle, CabinType.Last); } else { setSeat(i, j, canvas, seatWH, SeatType.Right, CabinType.Last); } } } } private Bitmap getSeat(float width, SeatState type) { if (type == SeatState.Normal) { if (mBitmapSeatNormal == null) { mBitmapSeatNormal = setBitmapSize(R.drawable.seat_gray, width); } else if (Math.abs(mBitmapSeatNormal.getWidth() - width) > 1) { mBitmapSeatNormal = setBitmapSize(R.drawable.seat_gray, width); } return mBitmapSeatNormal; } if (type == SeatState.Selected) { if (mBitmapSeatSelected == null) { mBitmapSeatSelected = setBitmapSize(R.drawable.seat_sold, width); } else if (Math.abs(mBitmapSeatSelected.getWidth() - width) > 1) { mBitmapSeatSelected = setBitmapSize(R.drawable.seat_sold, width); } return mBitmapSeatSelected; } if (type == SeatState.Selecting) { if (mBitmapSeatSelecting == null) { mBitmapSeatSelecting = setBitmapSize(R.drawable.seat_green, width); } else if (Math.abs(mBitmapSeatSelecting.getWidth() - width) > 1) { mBitmapSeatSelecting = setBitmapSize(R.drawable.seat_green, width); } return mBitmapSeatSelecting; } return null; } private Bitmap setBitmapSize(int iconId, float w) { Bitmap bitmap = BitmapFactory.decodeResource(getContext().getResources(), iconId); if (bitmap == null) { return null; } float s = w * 1.0f / bitmap.getWidth(); bitmap = Bitmap.createScaledBitmap(bitmap, (int) (bitmap.getWidth() * s), (int) (bitmap.getHeight() * s), true); return bitmap; } public Bitmap getBitmapFuselage(float rectFCabinWidth) { Canvas canvas; int w = getMeasuredWidth(); int h = getMeasuredHeight(); if (mBitmapFuselage == null) { mBitmapFuselage = Bitmap.createBitmap(w, h, Bitmap.Config.ARGB_8888); canvas = new Canvas(mBitmapFuselage); pathFuselage.moveTo(w / 2f - rectFCabinWidth / 2f - RxImageTool.dp2px(getContext(), 2), rectFCabin.top + rectFCabinWidth / 2f); pathFuselage.cubicTo( w / 2f - rectFCabinWidth / 4f, rectFCabin.top - rectFCabinWidth * 1.2f, w / 2f + rectFCabinWidth / 4f, rectFCabin.top - rectFCabinWidth * 1.2f, w / 2f + rectFCabinWidth / 2f + RxImageTool.dp2px(getContext(), 2), rectFCabin.top + rectFCabinWidth / 2f ); rectFCabin.top = rectFCabin.top + RxImageTool.dp2px(getContext(), 10);// pathFuselage.lineTo(w / 2f + rectFCabinWidth / 2f + RxImageTool.dp2px(getContext(), 2) , rectFCabin.top + rectFCabin.height() / 3f); pathFuselage.lineTo(w , rectFCabin.top + rectFCabin.height() * 0.55f); pathFuselage.lineTo(w , rectFCabin.top + rectFCabin.height() * 0.55f + rectFCabin.width() * 0.8f); pathFuselage.lineTo(rectFCabin.right + rectFCabin.width() / 2 * 1.5f , rectFCabin.top + rectFCabin.height() / 2f + rectFCabin.height() / 6f / 2f); pathFuselage.lineTo(w / 2f + rectFCabinWidth / 2f + RxImageTool.dp2px(getContext(), 2) , rectFCabin.top + rectFCabin.height() / 2f + rectFCabin.height() / 6f / 2f); // pathFuselage.lineTo(w / 2f + rectFCabinWidth / 2f + RxImageTool.dp2px(getContext(), 2) , rectFCabin.bottom - rectFCabinWidth / 2f); pathFuselage.cubicTo( w / 2f + rectFCabinWidth / 4f, rectFCabin.bottom + rectFCabinWidth * 2.5f, w / 2f - rectFCabinWidth / 4f, rectFCabin.bottom + rectFCabinWidth * 2.5f, w / 2f - rectFCabinWidth / 2f - RxImageTool.dp2px(getContext(), 2) , rectFCabin.bottom - rectFCabinWidth / 2f ); pathFuselage.lineTo(w / 2f - rectFCabinWidth / 2f - RxImageTool.dp2px(getContext(), 2) , rectFCabin.top + rectFCabin.height() / 2f + rectFCabin.height() / 6f / 2f); pathFuselage.lineTo(rectFCabin.left - rectFCabin.width() / 2 * 1.5f , rectFCabin.top + rectFCabin.height() / 2f + rectFCabin.height() / 6f / 2f); pathFuselage.lineTo(0 , rectFCabin.top + rectFCabin.height() * 0.55f + rectFCabin.width() * 0.8f); pathFuselage.lineTo(0 , rectFCabin.top + rectFCabin.height() * 0.55f); pathFuselage.lineTo(w / 2f - rectFCabinWidth / 2f - RxImageTool.dp2px(getContext(), 2) , rectFCabin.top + rectFCabin.height() / 3f); pathFuselage.close(); mPaint.setColor(Color.WHITE); mPaint.setAlpha(150); canvas.drawPath(pathFuselage, mPaint); } return mBitmapFuselage; } private Bitmap getBitmapCabin() { Canvas canvas; if (mBitmapCabin == null) { mBitmapCabin = Bitmap.createBitmap(getMeasuredWidth(), getMeasuredHeight(), Bitmap.Config.ARGB_8888); canvas = new Canvas(mBitmapCabin); mPaint.setColor(Color.WHITE); rectFCabin.top = rectFCabin.top - RxImageTool.dp2px(getContext(), 10); rectFCabin.bottom = rectFCabin.bottom + RxImageTool.dp2px(getContext(), 5); canvas.drawRoundRect(rectFCabin, getMeasuredWidth() / 8f / 2f, getMeasuredWidth() / 8f / 2f, mPaint); } return mBitmapCabin; } public Bitmap getBitmapArrow() { Canvas canvas; if (mBitmapArrow == null) { mBitmapArrow = Bitmap.createBitmap(getMeasuredWidth(), getMeasuredHeight(), Bitmap.Config.ARGB_8888); canvas = new Canvas(mBitmapArrow); pathArrow.reset(); pathArrow.moveTo(rectFCabin.right + rectFCabin.width() / 2 * 1.2f , rectFCabin.top + rectFCabin.height() / 2f + rectFCabin.height() / 6f / 2f); pathArrow.quadTo( rectFCabin.right + rectFCabin.width() / 2 * 1.3f, rectFCabin.top + rectFCabin.height() / 2f + rectFCabin.height() / 5f, rectFCabin.right + rectFCabin.width() / 2 * 1.4f , rectFCabin.top + rectFCabin.height() / 2f + rectFCabin.height() / 6f / 2f); pathArrow.close(); canvas.drawPath(pathArrow, mPaint); pathArrow.reset(); pathArrow.moveTo(rectFCabin.left - rectFCabin.width() / 2 * 1.2f , rectFCabin.top + rectFCabin.height() / 2f + rectFCabin.height() / 6f / 2f); pathArrow.quadTo( rectFCabin.left - rectFCabin.width() / 2 * 1.3f, rectFCabin.top + rectFCabin.height() / 2f + rectFCabin.height() / 5f, rectFCabin.left - rectFCabin.width() / 2 * 1.4f , rectFCabin.top + rectFCabin.height() / 2f + rectFCabin.height() / 6f / 2f); pathArrow.close(); canvas.drawPath(pathArrow, mPaint); pathArrow.reset(); float right1x = getMeasuredWidth(); float right1y = rectFCabin.top + rectFCabin.height() * 0.55f + rectFCabin.width() * 0.8f; float right2x = rectFCabin.right + rectFCabin.width() / 2 * 1.5f; float right2y = rectFCabin.top + rectFCabin.height() / 2f + rectFCabin.height() / 6f / 2f; pathArrow.moveTo( (right1x + right2x) / 2f, (right1y + right2y) / 2f); pathArrow.quadTo( (right1x + right2x) / 2f + rectFCabin.width() / 2 * 0.1f, (right1y + right2y) / 2f + rectFCabin.height() / 60f * 7f, (right1x + right2x) / 2f + rectFCabin.width() / 2 * 0.2f, (right1y + right2y) / 2f ); canvas.drawPath(pathArrow, mPaint); pathArrow.reset(); float left1x = 0; float left1y = rectFCabin.top + rectFCabin.height() * 0.55f + rectFCabin.width() * 0.8f; float left2x = rectFCabin.left - rectFCabin.width() / 2 * 1.5f; float left2y = rectFCabin.top + rectFCabin.height() / 2f + rectFCabin.height() / 6f / 2f; pathArrow.moveTo( (left1x + left2x) / 2f, (left1y + left2y) / 2f); pathArrow.quadTo( (left1x + left2x) / 2f - rectFCabin.width() / 2 * 0.1f, (left1y + left2y) / 2f + rectFCabin.height() / 60f * 7f, (left1x + left2x) / 2f - rectFCabin.width() / 2 * 0.2f, (left1y + left2y) / 2f ); mPaint.setColor(Color.WHITE); mPaint.setAlpha(150); canvas.drawPath(pathArrow, mPaint); } return mBitmapArrow; } public void startAnim(boolean zoomOut) {// false zoom in,true zoom out stopAnim(); startViewAnim(0f, 1f, 280, zoomOut); } private ValueAnimator valueAnimator; private float mAnimatedValue = 0f; public void stopAnim() { if (valueAnimator != null) { clearAnimation(); valueAnimator.setRepeatCount(0); valueAnimator.cancel(); valueAnimator.end(); mAnimatedValue = 0f; postInvalidate(); } } private ValueAnimator startViewAnim(float startF, final float endF, long time, final boolean zoomOut) { if (zoomOut && moveY > 0) { moveY = 0; invalidate(); } valueAnimator = ValueAnimator.ofFloat(startF, endF); valueAnimator.setDuration(time); valueAnimator.setInterpolator(new LinearInterpolator()); valueAnimator.setRepeatCount(0);// valueAnimator.setRepeatMode(ValueAnimator.RESTART); valueAnimator.addUpdateListener(new ValueAnimator.AnimatorUpdateListener() { @Override public void onAnimationUpdate(ValueAnimator valueAnimator) { mAnimatedValue = (float) valueAnimator.getAnimatedValue(); if (zoomOut) { mAnimatedValue = 1 - mAnimatedValue; } invalidate(); } }); valueAnimator.addListener(new AnimatorListenerAdapter() { @Override public void onAnimationEnd(Animator animation) { super.onAnimationEnd(animation); } @Override public void onAnimationStart(Animator animation) { super.onAnimationStart(animation); } @Override public void onAnimationRepeat(Animator animation) { super.onAnimationRepeat(animation); } }); if (!valueAnimator.isRunning()) { valueAnimator.start(); } return valueAnimator; } public float getFontlength(Paint paint, String str) { Rect rect = new Rect(); paint.getTextBounds(str, 0, str.length(), rect); return rect.width(); } public float getFontHeight(Paint paint, String str) { Rect rect = new Rect(); paint.getTextBounds(str, 0, str.length(), rect); return rect.height(); } private Bitmap getBitmapTail() { Canvas canvas; if (mBitmapTail == null) { mBitmapTail = Bitmap.createBitmap(getMeasuredWidth(), getMeasuredHeight(), Bitmap.Config.ARGB_8888); canvas = new Canvas(mBitmapTail); pathTail.reset(); rectFCabin.bottom = rectFCabin.bottom - RxImageTool.dp2px(getContext(), 5); pathTail.moveTo(rectFCabin.centerX(), rectFCabin.bottom + rectFCabin.width() / 2); pathTail.lineTo(rectFCabin.centerX() + rectFCabin.width() * 1.5f, rectFCabin.bottom + rectFCabin.width() * 1.5f); pathTail.lineTo(rectFCabin.centerX() + rectFCabin.width() * 1.5f, rectFCabin.bottom + rectFCabin.width() * 2f); pathTail.lineTo(rectFCabin.centerX(), rectFCabin.bottom + rectFCabin.width() * 1.5f); pathTail.lineTo(rectFCabin.centerX() - rectFCabin.width() * 1.5f, rectFCabin.bottom + rectFCabin.width() * 2f); pathTail.lineTo(rectFCabin.centerX() - rectFCabin.width() * 1.5f, rectFCabin.bottom + rectFCabin.width() * 1.5f); pathTail.close(); canvas.drawPath(pathTail, mPaint); pathTail.reset(); pathTail.moveTo(rectFCabin.centerX() - rectFCabin.width() / 2 * 0.1f, rectFCabin.bottom + rectFCabin.width() * 1.5f); pathTail.quadTo( rectFCabin.centerX(), rectFCabin.bottom + rectFCabin.width() * 3f, rectFCabin.centerX() + rectFCabin.width() / 2 * 0.1f, rectFCabin.bottom + rectFCabin.width() * 1.5f); pathTail.close(); mPaint.setColor(Color.WHITE); mPaint.setAlpha(150); canvas.drawPath(pathTail, mPaint); } return mBitmapTail; } private void drawWcText(RectF rectFWC, Canvas canvas) { mPaintOther.setTextSize(rectFWC.width() / 4); mPaintOther.setAlpha(150); canvas.drawText("WC", rectFWC.centerX() - getFontlength(mPaintOther, "WC") / 2f , rectFWC.centerY() + getFontHeight(mPaintOther, "WC") / 3f, mPaintOther ); mPaintOther.setAlpha(255); } private void drawWifiLogo(RectF rectFWifi, Canvas canvas) { float signalRadius = rectFWifi.height() / 2 / 4; RectF rect; mPaintOther.setStrokeWidth(signalRadius / 4); mPaintOther.setAlpha(150); float marginTop = signalRadius * (3 + 0.5f) / 2f; for (int i = 0; i < 4; i++) { float radius = signalRadius * (i + 0.5f); if (i == 0) { radius = signalRadius / 2f; } rect = new RectF( rectFWifi.centerX() - radius, rectFWifi.centerY() - radius + marginTop, rectFWifi.centerX() + radius, rectFWifi.centerY() + radius + marginTop); if (i != 0) { mPaintOther.setStyle(Paint.Style.STROKE); canvas.drawArc(rect, -135, 90 , false, mPaintOther); } else { mPaintOther.setStyle(Paint.Style.FILL); canvas.drawArc(rect, -135, 90 , true, mPaintOther); } } mPaintOther.setStrokeWidth(0); mPaintOther.setAlpha(255); } @Override protected void onDetachedFromWindow() { super.onDetachedFromWindow(); stopAnim(); } ExecutorService fixedThreadPool = Executors.newFixedThreadPool(3); private void setBitmap(final Canvas canvas, final float seatWH, final SeatState type, final float left, final float top) { fixedThreadPool.execute(new Runnable() { @Override public void run() { // canvas.drawBitmap(getSeat(seatWH, mSeatSelected.get(getSeatKeyName(point.row, point.column))) // , left // , // top // , // mPaint // ); Bitmap b = getSeat(seatWH, type); if (b != null) { // canvas.drawBitmap(b,left,top,mPaint); Message msg = mHandler.obtainMessage(); Bundle bundle = new Bundle(); bundle.putFloat("left", left); bundle.putFloat("top", top); ByteArrayOutputStream baos = new ByteArrayOutputStream(); b.compress(Bitmap.CompressFormat.PNG, 100, baos); byte[] bitmapByte = baos.toByteArray(); bundle.putByteArray("bitmap", bitmapByte); msg.setData(bundle); msg.obj = canvas; mHandler.sendMessage(msg); } // b.recycle(); } }); } public static class PointSeat { public int row; public int column; PointSeat(int row, int column) { this.row = row; this.column = column; } } public abstract class MoveListerner implements OnTouchListener, GestureDetector.OnGestureListener { public static final int MOVE_TO_LEFT = 0; public static final int MOVE_TO_RIGHT = MOVE_TO_LEFT + 1; public static final int MOVE_TO_UP = MOVE_TO_RIGHT + 1; public static final int MOVE_TO_DOWN = MOVE_TO_UP + 1; private static final int FLING_MIN_DISTANCE = 150; private static final int FLING_MIN_VELOCITY = 50; private boolean isScorllStart = false; private boolean isUpAndDown = false; GestureDetector mGestureDetector; float x1 = 0; float x2 = 0; float y1 = 0; float y2 = 0; public MoveListerner(Activity context) { super(); mGestureDetector = new GestureDetector(context, this); } float startX = 0; float startY = 0; @Override public boolean onTouch(View v, MotionEvent event) { if (mGestureDetector.onTouchEvent(event)) { if (MotionEvent.ACTION_DOWN == event.getAction()) { // Touch(event.getX(), event.getY()); startX = event.getX(); startY = event.getY(); return true; } else if (MotionEvent.ACTION_UP == event.getAction()) { if (Math.abs(event.getX() - startX) < 5 && Math.abs(event.getY() - startY) < 5) { Touch(event.getX(), event.getY()); return true; } } } // switch (event.getAction() & MotionEvent.ACTION_MASK) { case MotionEvent.ACTION_UP: endGesture(); break; default: break; } return false; } private void endGesture() { isScorllStart = false; isUpAndDown = false; // RxLogTool.e("a", "AA:over"); moveOver(); } public abstract void moveDirection(View v, int direction, float distanceX, float distanceY); public abstract void moveUpAndDownDistance(MotionEvent event, int distance, int distanceY); public abstract void moveOver(); public abstract void Touch(float x, float y); @Override public boolean onDown(MotionEvent e) { // TODO Auto-generated method stub return true; } @Override public void onShowPress(MotionEvent e) { // TODO Auto-generated method stub } @Override public boolean onSingleTapUp(MotionEvent e) { // TODO Auto-generated method stub return true; } @Override public void onLongPress(MotionEvent e) { // TODO Auto-generated method stub } @Override public boolean onScroll(MotionEvent e1, MotionEvent e2, float distanceX, float distanceY) { float mOldY = e1.getY(); int y = (int) e2.getRawY(); if (!isScorllStart) { if (Math.abs(distanceX) / Math.abs(distanceY) > 2) { // isUpAndDown = false; isScorllStart = true; } else if (Math.abs(distanceY) / Math.abs(distanceX) > 3) { // isUpAndDown = true; isScorllStart = true; } else { isScorllStart = false; } } else { // if (isUpAndDown) { // if (mOldY + 5 < y) { moveUpAndDownDistance(e2, -3, (int) distanceY); } else if (mOldY + 5 > y) { moveUpAndDownDistance(e2, 3, (int) distanceY); } } } return true; } @Override public boolean onFling(MotionEvent e1, MotionEvent e2, float velocityX, float velocityY) { // RxLogTool.e("a", "AA:A" + velocityX + ":" + velocityY); if (isUpAndDown) return false; if (e1.getX() - e2.getX() > FLING_MIN_DISTANCE && Math.abs(velocityX) > FLING_MIN_VELOCITY) { // Fling left moveDirection(null, MOVE_TO_LEFT, e1.getX() - e2.getX(), e1.getY() - e2.getY()); } else if (e2.getX() - e1.getX() > FLING_MIN_DISTANCE && Math.abs(velocityX) > FLING_MIN_VELOCITY) { // Fling right moveDirection(null, MOVE_TO_RIGHT, e2.getX() - e1.getX(), e2.getY() - e1.getY()); } else if (e1.getY() - e2.getY() > FLING_MIN_DISTANCE && Math.abs(velocityY) > FLING_MIN_VELOCITY) { // Fling up moveDirection(null, MOVE_TO_UP, 0, e1.getY() - e2.getY()); } else { // Fling down moveDirection(null, MOVE_TO_DOWN, 0, e2.getY() - e1.getY()); } return false; } } } ```
Richard Gilroy Swan (born 6 December 1951) is a former Scottish cricketer. Swan was educated at St. Mary's School, Melrose, Merchiston Castle School, Edinburgh, and Durham University. He played for Durham University cricket team when they won the 1972 University Athletics Union (UAU) title. References External links Richard Swan at ESPNcricinfo Richard Swan at CricketArchive 1951 births Living people Sportspeople from the Scottish Borders People educated at St. Mary's School, Melrose People educated at Merchiston Castle School Scottish cricketers Scottish cricket captains Alumni of the College of the Venerable Bede, Durham
```c /* * */ #define DT_DRV_COMPAT neorv32_uart #include <zephyr/device.h> #include <zephyr/drivers/syscon.h> #include <zephyr/drivers/uart.h> #include <zephyr/pm/device.h> #include <zephyr/sys/sys_io.h> #include <zephyr/logging/log.h> #include <zephyr/irq.h> #include <soc.h> LOG_MODULE_REGISTER(uart_neorv32, CONFIG_UART_LOG_LEVEL); /* NEORV32 UART registers offsets */ #define NEORV32_UART_CTRL_OFFSET 0x00 #define NEORV32_UART_DATA_OFFSET 0x04 /* UART_CTRL register bits */ #define NEORV32_UART_CTRL_EN BIT(0) #define NEORV32_UART_CTRL_SIM_MODE BIT(1) #define NEORV32_UART_CTRL_HWFC_EN BIT(2) #define NEORV32_UART_CTRL_PRSC_POS 3U #define NEORV32_UART_CTRL_PRSC_MASK BIT_MASK(3) #define NEORV32_UART_CTRL_BAUD_POS 6U #define NEORV32_UART_CTRL_BAUD_MASK BIT_MASK(10) #define NEORV32_UART_CTRL_RX_NEMPTY BIT(16) #define NEORV32_UART_CTRL_RX_HALF BIT(17) #define NEORV32_UART_CTRL_RX_FULL BIT(18) #define NEORV32_UART_CTRL_TX_NEMPTY BIT(19) #define NEORV32_UART_CTRL_TX_HALF BIT(20) #define NEORV32_UART_CTRL_TX_FULL BIT(21) #define NEORV32_UART_CTRL_IRQ_RX_NEMPTY BIT(22) #define NEORV32_UART_CTRL_IRQ_RX_HALF BIT(23) #define NEORV32_UART_CTRL_IRQ_RX_FULL BIT(24) #define NEORV32_UART_CTRL_IRQ_TX_EMPTY BIT(25) #define NEORV32_UART_CTRL_IRQ_TX_NHALF BIT(26) #define NEORV32_UART_CTRL_RX_OVER BIT(30) #define NEORV32_UART_CTRL_TX_BUSY BIT(31) struct neorv32_uart_config { const struct device *syscon; uint32_t feature_mask; mm_reg_t base; #ifdef CONFIG_UART_INTERRUPT_DRIVEN void (*irq_config_func)(const struct device *dev); unsigned int tx_irq; unsigned int rx_irq; #endif /* CONFIG_UART_INTERRUPT_DRIVEN */ }; struct neorv32_uart_data { struct uart_config uart_cfg; uint32_t last_data; #ifdef CONFIG_UART_INTERRUPT_DRIVEN struct k_timer timer; uart_irq_callback_user_data_t callback; void *callback_data; #endif /* CONFIG_UART_INTERRUPT_DRIVEN */ }; static inline uint32_t neorv32_uart_read_ctrl(const struct device *dev) { const struct neorv32_uart_config *config = dev->config; return sys_read32(config->base + NEORV32_UART_CTRL_OFFSET); } static inline void neorv32_uart_write_ctrl(const struct device *dev, uint32_t ctrl) { const struct neorv32_uart_config *config = dev->config; sys_write32(ctrl, config->base + NEORV32_UART_CTRL_OFFSET); } static inline uint32_t neorv32_uart_read_data(const struct device *dev) { const struct neorv32_uart_config *config = dev->config; struct neorv32_uart_data *data = dev->data; uint32_t reg; /* Cache status bits as they are cleared upon read */ reg = sys_read32(config->base + NEORV32_UART_DATA_OFFSET); data->last_data = reg; return reg; } static inline void neorv32_uart_write_data(const struct device *dev, uint32_t data) { const struct neorv32_uart_config *config = dev->config; sys_write32(data, config->base + NEORV32_UART_DATA_OFFSET); } static int neorv32_uart_poll_in(const struct device *dev, unsigned char *c) { uint32_t data; data = neorv32_uart_read_data(dev); if ((data & NEORV32_UART_CTRL_RX_NEMPTY) != 0) { *c = data & BIT_MASK(8); return 0; } return -1; } static void neorv32_uart_poll_out(const struct device *dev, unsigned char c) { while ((neorv32_uart_read_ctrl(dev) & NEORV32_UART_CTRL_TX_BUSY) != 0) { } neorv32_uart_write_data(dev, c); } static int neorv32_uart_configure(const struct device *dev, const struct uart_config *cfg) { const struct neorv32_uart_config *config = dev->config; struct neorv32_uart_data *data = dev->data; uint32_t ctrl = NEORV32_UART_CTRL_EN; uint16_t baudxx = 0; uint8_t prscx = 0; uint32_t clk; int err; __ASSERT_NO_MSG(cfg != NULL); if (cfg->stop_bits != UART_CFG_STOP_BITS_1) { LOG_ERR("hardware only supports one stop bit"); return -ENOTSUP; } if (cfg->data_bits != UART_CFG_DATA_BITS_8) { LOG_ERR("hardware only supports 8 data bits"); return -ENOTSUP; } switch (cfg->parity) { case UART_CFG_PARITY_NONE: break; default: LOG_ERR("unsupported parity mode %d", cfg->parity); return -ENOTSUP; } switch (cfg->flow_ctrl) { case UART_CFG_FLOW_CTRL_NONE: ctrl |= 0; break; case UART_CFG_FLOW_CTRL_RTS_CTS: ctrl |= NEORV32_UART_CTRL_HWFC_EN; break; default: LOG_ERR("unsupported flow control mode %d", cfg->flow_ctrl); return -ENOTSUP; } err = syscon_read_reg(config->syscon, NEORV32_SYSINFO_CLK, &clk); if (err < 0) { LOG_ERR("failed to determine clock rate (err %d)", err); return -EIO; } if (cfg->baudrate == 0) { LOG_ERR("invalid baud rate 0"); return -EINVAL; } /* * Calculate clock prescaler and baud prescaler. Initial prscx = 0 is * clock / 2. */ baudxx = clk / (2 * cfg->baudrate); while (baudxx >= NEORV32_UART_CTRL_BAUD_MASK) { if ((prscx == 2) || (prscx == 4)) { baudxx >>= 3; } else { baudxx >>= 1; } prscx++; } if (prscx > NEORV32_UART_CTRL_PRSC_MASK) { LOG_ERR("unsupported baud rate %d", cfg->baudrate); return -ENOTSUP; } ctrl |= (baudxx - 1) << NEORV32_UART_CTRL_BAUD_POS; ctrl |= prscx << NEORV32_UART_CTRL_PRSC_POS; data->uart_cfg = *cfg; neorv32_uart_write_ctrl(dev, ctrl); return 0; } static int neorv32_uart_config_get(const struct device *dev, struct uart_config *cfg) { struct neorv32_uart_data *data = dev->data; __ASSERT_NO_MSG(cfg != NULL); *cfg = data->uart_cfg; return 0; } #ifdef CONFIG_UART_INTERRUPT_DRIVEN static int neorv32_uart_fifo_fill(const struct device *dev, const uint8_t *tx_data, int len) { uint32_t ctrl; if (len <= 0) { return 0; } __ASSERT_NO_MSG(tx_data != NULL); ctrl = neorv32_uart_read_ctrl(dev); if ((ctrl & NEORV32_UART_CTRL_TX_BUSY) == 0) { neorv32_uart_write_data(dev, *tx_data); return 1; } return 0; } static int neorv32_uart_fifo_read(const struct device *dev, uint8_t *rx_data, const int size) { struct neorv32_uart_data *data = dev->data; int count = 0; if (size <= 0) { return 0; } __ASSERT_NO_MSG(rx_data != NULL); while ((data->last_data & NEORV32_UART_CTRL_RX_NEMPTY) != 0) { rx_data[count++] = data->last_data & BIT_MASK(8); data->last_data &= ~(NEORV32_UART_CTRL_RX_NEMPTY); if (count >= size) { break; } (void)neorv32_uart_read_data(dev); } return count; } static void neorv32_uart_tx_soft_isr(struct k_timer *timer) { const struct device *dev = k_timer_user_data_get(timer); struct neorv32_uart_data *data = dev->data; uart_irq_callback_user_data_t callback = data->callback; if (callback) { callback(dev, data->callback_data); } } static void neorv32_uart_irq_tx_enable(const struct device *dev) { const struct neorv32_uart_config *config = dev->config; struct neorv32_uart_data *data = dev->data; uint32_t ctrl; irq_enable(config->tx_irq); ctrl = neorv32_uart_read_ctrl(dev); if ((ctrl & NEORV32_UART_CTRL_TX_BUSY) == 0) { /* * TX done event already generated an edge interrupt. Generate a * soft interrupt and have it call the callback function in * timer isr context. */ k_timer_start(&data->timer, K_NO_WAIT, K_NO_WAIT); } } static void neorv32_uart_irq_tx_disable(const struct device *dev) { const struct neorv32_uart_config *config = dev->config; irq_disable(config->tx_irq); } static int neorv32_uart_irq_tx_ready(const struct device *dev) { const struct neorv32_uart_config *config = dev->config; uint32_t ctrl; if (!irq_is_enabled(config->tx_irq)) { return 0; } ctrl = neorv32_uart_read_ctrl(dev); return (ctrl & NEORV32_UART_CTRL_TX_BUSY) == 0; } static void neorv32_uart_irq_rx_enable(const struct device *dev) { const struct neorv32_uart_config *config = dev->config; irq_enable(config->rx_irq); } static void neorv32_uart_irq_rx_disable(const struct device *dev) { const struct neorv32_uart_config *config = dev->config; irq_disable(config->rx_irq); } static int neorv32_uart_irq_tx_complete(const struct device *dev) { uint32_t ctrl; ctrl = neorv32_uart_read_ctrl(dev); return (ctrl & NEORV32_UART_CTRL_TX_BUSY) == 0; } static int neorv32_uart_irq_rx_ready(const struct device *dev) { const struct neorv32_uart_config *config = dev->config; struct neorv32_uart_data *data = dev->data; if (!irq_is_enabled(config->rx_irq)) { return 0; } return (data->last_data & NEORV32_UART_CTRL_RX_NEMPTY) != 0; } static int neorv32_uart_irq_is_pending(const struct device *dev) { return (neorv32_uart_irq_tx_ready(dev) || neorv32_uart_irq_rx_ready(dev)); } static int neorv32_uart_irq_update(const struct device *dev) { const struct neorv32_uart_config *config = dev->config; if (irq_is_enabled(config->rx_irq)) { /* Cache data for use by rx_ready() and fifo_read() */ (void)neorv32_uart_read_data(dev); } return 1; } static void neorv32_uart_irq_callback_set(const struct device *dev, uart_irq_callback_user_data_t cb, void *user_data) { struct neorv32_uart_data *data = dev->data; data->callback = cb; data->callback_data = user_data; } static void neorv32_uart_isr(const struct device *dev) { struct neorv32_uart_data *data = dev->data; uart_irq_callback_user_data_t callback = data->callback; if (callback) { callback(dev, data->callback_data); } } #endif /* CONFIG_UART_INTERRUPT_DRIVEN */ static int neorv32_uart_init(const struct device *dev) { const struct neorv32_uart_config *config = dev->config; struct neorv32_uart_data *data = dev->data; uint32_t features; int err; if (!device_is_ready(config->syscon)) { LOG_ERR("syscon device not ready"); return -EINVAL; } err = syscon_read_reg(config->syscon, NEORV32_SYSINFO_FEATURES, &features); if (err < 0) { LOG_ERR("failed to determine implemented features (err %d)", err); return -EIO; } if ((features & config->feature_mask) == 0) { LOG_ERR("neorv32 uart instance not supported"); return -ENODEV; } #ifdef CONFIG_UART_INTERRUPT_DRIVEN k_timer_init(&data->timer, &neorv32_uart_tx_soft_isr, NULL); k_timer_user_data_set(&data->timer, (void *)dev); config->irq_config_func(dev); #endif /* CONFIG_UART_INTERRUPT_DRIVEN */ return neorv32_uart_configure(dev, &data->uart_cfg); } #ifdef CONFIG_PM_DEVICE static int neorv32_uart_pm_action(const struct device *dev, enum pm_device_action action) { uint32_t ctrl = neorv32_uart_read_ctrl(dev); switch (action) { case PM_DEVICE_ACTION_SUSPEND: ctrl &= ~(NEORV32_UART_CTRL_EN); break; case PM_DEVICE_ACTION_RESUME: ctrl |= NEORV32_UART_CTRL_EN; break; default: return -ENOTSUP; } neorv32_uart_write_ctrl(dev, ctrl); return 0; } #endif /* CONFIG_PM_DEVICE */ static const struct uart_driver_api neorv32_uart_driver_api = { .poll_in = neorv32_uart_poll_in, .poll_out = neorv32_uart_poll_out, #ifdef CONFIG_UART_USE_RUNTIME_CONFIGURE .configure = neorv32_uart_configure, .config_get = neorv32_uart_config_get, #endif /* CONFIG_UART_USE_RUNTIME_CONFIGURE */ #ifdef CONFIG_UART_INTERRUPT_DRIVEN .fifo_fill = neorv32_uart_fifo_fill, .fifo_read = neorv32_uart_fifo_read, .irq_tx_enable = neorv32_uart_irq_tx_enable, .irq_tx_disable = neorv32_uart_irq_tx_disable, .irq_tx_ready = neorv32_uart_irq_tx_ready, .irq_rx_enable = neorv32_uart_irq_rx_enable, .irq_rx_disable = neorv32_uart_irq_rx_disable, .irq_tx_complete = neorv32_uart_irq_tx_complete, .irq_rx_ready = neorv32_uart_irq_rx_ready, .irq_is_pending = neorv32_uart_irq_is_pending, .irq_update = neorv32_uart_irq_update, .irq_callback_set = neorv32_uart_irq_callback_set, #endif /* CONFIG_UART_INTERRUPT_DRIVEN */ }; #ifdef CONFIG_UART_INTERRUPT_DRIVEN #define NEORV32_UART_CONFIG_FUNC(node_id, n) \ static void neorv32_uart_config_func_##n(const struct device *dev) \ { \ IRQ_CONNECT(DT_IRQ_BY_NAME(node_id, tx, irq), \ DT_IRQ_BY_NAME(node_id, tx, priority), \ neorv32_uart_isr, \ DEVICE_DT_GET(node_id), 0); \ \ IRQ_CONNECT(DT_IRQ_BY_NAME(node_id, rx, irq), \ DT_IRQ_BY_NAME(node_id, rx, priority), \ neorv32_uart_isr, \ DEVICE_DT_GET(node_id), 0); \ } #define NEORV32_UART_CONFIG_INIT(node_id, n) \ .irq_config_func = neorv32_uart_config_func_##n, \ .tx_irq = DT_IRQ_BY_NAME(node_id, tx, irq), \ .rx_irq = DT_IRQ_BY_NAME(node_id, rx, irq), #else #define NEORV32_UART_CONFIG_FUNC(node_id, n) #define NEORV32_UART_CONFIG_INIT(node_id, n) #endif /* CONFIG_UART_INTERRUPT_DRIVEN */ #define NEORV32_UART_INIT(node_id, n) \ NEORV32_UART_CONFIG_FUNC(node_id, n) \ \ static struct neorv32_uart_data neorv32_uart_##n##_data = { \ .uart_cfg = { \ .baudrate = DT_PROP(node_id, current_speed), \ .parity = DT_ENUM_IDX_OR(node_id, parity, \ UART_CFG_PARITY_NONE), \ .stop_bits = UART_CFG_STOP_BITS_1, \ .data_bits = UART_CFG_DATA_BITS_8, \ .flow_ctrl = DT_PROP(node_id, hw_flow_control) ? \ UART_CFG_FLOW_CTRL_RTS_CTS : \ UART_CFG_FLOW_CTRL_NONE, \ }, \ }; \ \ static const struct neorv32_uart_config neorv32_uart_##n##_config = { \ .syscon = DEVICE_DT_GET(DT_PHANDLE(node_id, syscon)), \ .feature_mask = NEORV32_SYSINFO_FEATURES_IO_UART##n, \ .base = DT_REG_ADDR(node_id), \ NEORV32_UART_CONFIG_INIT(node_id, n) \ }; \ \ PM_DEVICE_DT_DEFINE(node_id, neorv32_uart_pm_action); \ \ DEVICE_DT_DEFINE(node_id, &neorv32_uart_init, \ PM_DEVICE_DT_GET(node_id), \ &neorv32_uart_##n##_data, \ &neorv32_uart_##n##_config, \ PRE_KERNEL_1, \ CONFIG_SERIAL_INIT_PRIORITY, \ &neorv32_uart_driver_api) #if DT_NODE_HAS_COMPAT_STATUS(DT_NODELABEL(uart0), DT_DRV_COMPAT, okay) NEORV32_UART_INIT(DT_NODELABEL(uart0), 0); #endif #if DT_NODE_HAS_COMPAT_STATUS(DT_NODELABEL(uart1), DT_DRV_COMPAT, okay) NEORV32_UART_INIT(DT_NODELABEL(uart1), 1); #endif ```
The World Allround Speed Skating Championships for Men took place on 13 and 14 February 1971 in Göteborg at the Ullevi ice rink. Title holder was the Netherlander Ard Schenk. Result DNS = Did not start * = Fell Source: Attribution In Dutch References World Allround Speed Skating Championships, 1971 1971 World Allround
Steven Brill may refer to: Steven Brill (filmmaker) (born 1962), American actor, director and screenwriter Steven Brill (journalist) (born 1950), American lawyer, journalist and entrepreneur "Wildman" Steve Brill, American naturalist and author
The Morton Morton House, also known as the Morton Mortonson House and the Morton and Lydia Morton House, is an historic, American home that is located in Norwood, Delaware County, Pennsylvania at the confluence of the Muckinipattis Creek and Darby Creek. It was added to the National Register of Historic Places in 2000. History and architectural features Built circa 1750, this historic structure consists of a two-story, symmetrical brick house with a gable roof and a -story wing with a gambrel roof. The interior has a Georgian hall-parlor plan. The building was restored in 1971 and is open as a historic house that is operated by the Norwood Historical Society. It was added to the National Register of Historic Places in 2000. References External links Norwood Historical Society website Historic house museums in Pennsylvania Houses on the National Register of Historic Places in Pennsylvania Historic American Buildings Survey in Pennsylvania Colonial architecture in Pennsylvania Georgian architecture in Pennsylvania Houses completed in 1750 Houses in Delaware County, Pennsylvania Museums in Delaware County, Pennsylvania National Register of Historic Places in Delaware County, Pennsylvania
Henry Carr (1887 – 1942) was an English professional footballer who played as a forward for Sunderland. On 19 November 1910, Carr earned his first and last cap for the England amateur team in a match against Ireland in Belfast, as a last-minute replacement for Vivian Woodward. On his debut, he twice put his side in the lead, but his efforts weren't enough to prevent a 3–2 loss, which was the team's first-ever in the United Kingdom. International goals England Amateurs score listed first, score column indicates score after each Carr goal. References 1880s births 1942 deaths People from South Bank, Redcar and Cleveland English men's footballers Men's association football forwards South Bank F.C. players Sunderland A.F.C. players Middlesbrough F.C. players Hartlepool United F.C. players English Football League players
Sigurdur Helgason may refer to: Sigurdur Helgason (airline executive) (1921–2009), innovator in low-cost airlines Sigurður Helgason (mathematician) (born 1927), Icelandic mathematician Sigurður Helgason (basketball) (born 1940), Icelandic basketball player and coach
The Codex Vindobonensis Lat. 502 (Vienna, Austrian National Library, Lat. 502), designated by v (in Beuron system), is a 7th-century Latin Gospel Book. The manuscript contains only 1 parchment folio (23.5 cm by 16.5 cm). It is known also as Fragmentum Vindobonense. The text is a version of the old Latin. It is entitled "Pactus legis Ripuarie". The writing is much faded. It contains only: John 19:27-20:11. The Latin text of the codex is a representative of the Western text-type in itala recension. The text was transcribed and published by Henry Julian White in 1887. It was named Vindobonensis after Vienna, place of its housing. See also List of New Testament Latin manuscripts Biblical manuscript Codex Vindobonensis Lat. 1235 References Further reading White, H. J., Old Latin biblical texts. No. III, Oxford 1888, p. 161–166. Vetus Latina New Testament manuscripts 7th-century biblical manuscripts Biblical manuscripts of the Austrian National Library
Albany Street Historic District is a national historic district located at Cazenovia in Madison County, New York. The district contains 68 contributing buildings. It encompasses the central commercial district of the village and neighboring residential areas including the village green and public library. It was added to the National Register of Historic Places in 1978. References Historic districts on the National Register of Historic Places in New York (state) Italianate architecture in New York (state) Historic districts in Madison County, New York National Register of Historic Places in Cazenovia, New York
Targovishte Airport (IATA code: TGV, ICAO code: LBTG), also known Buhovtsi Airfield, is located near the village of Buhovtsi, 13 km from the city of Targovishte. Its unique location gives a chance for service of an area covering three regions including Targovishte, Shumen and Razgrad Provinces. It is currently inoperational because of the lack of financial resources. See also Targovishte Province at Wikipedia List of airports in Bulgaria References Targovishte Province Web Site External links The Airport Guide Civil Aviation Administration Buildings and structures in Targovishte Province Airports in Bulgaria
```xml <?xml version="1.0" encoding="utf-8"?> <androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="path_to_url" xmlns:app="path_to_url" xmlns:tools="path_to_url" android:layout_width="match_parent" android:layout_height="match_parent" android:fitsSystemWindows="@bool/out_fits_system_windows" tools:context="loopeer.com.appbarlayout_spring_extension.SpringAppBarLayoutActivity"> <com.google.android.material.appbar.AppBarLayout android:id="@+id/app_bar" android:layout_width="match_parent" android:layout_height="@dimen/app_bar_height" android:fitsSystemWindows="true" app:layout_behavior="@string/appbar_spring_behavior" android:theme="@style/AppTheme.AppBarOverlay"> <com.google.android.material.appbar.CollapsingToolbarLayout android:id="@+id/toolbar_layout" android:layout_width="match_parent" android:layout_height="match_parent" android:fitsSystemWindows="true" app:contentScrim="?attr/colorPrimary" app:layout_scrollFlags="scroll|exitUntilCollapsed"> <ImageView android:layout_width="match_parent" android:layout_height="match_parent" android:scaleType="centerCrop" android:fitsSystemWindows="true" app:layout_collapseMode="parallax" android:src="@mipmap/img_test"/> <androidx.appcompat.widget.Toolbar android:id="@+id/toolbar" android:layout_width="match_parent" android:layout_height="?attr/actionBarSize" app:layout_collapseMode="pin" app:popupTheme="@style/AppTheme.PopupOverlay"/> </com.google.android.material.appbar.CollapsingToolbarLayout> </com.google.android.material.appbar.AppBarLayout> <com.google.android.material.floatingactionbutton.FloatingActionButton android:id="@+id/fab" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_margin="@dimen/fab_margin" app:layout_anchor="@id/app_bar" app:layout_anchorGravity="bottom|end" app:srcCompat="@android:drawable/ic_dialog_email"/> <include layout="@layout/content_fling_fix_app_bar_layout"/> </androidx.coordinatorlayout.widget.CoordinatorLayout> ```
Possession is the fifth season of the computer-animated television series Ninjago: Masters of Spinjitzu (titled Ninjago from the eleventh season onward). The series was created by Michael Hegner and Tommy Andreasen. The season aired from 29 June to 10 July 2015, following the fourth season titled Tournament of Elements. It is succeeded by the sixth season, titled Skybound. The season introduces the ghost of Morro as the main season antagonist, who possesses the central character Lloyd Garmadon. Possession is the first season to include the character of Nya in the ninja team as the Elemental Master of Water. It also introduces Airjitzu, a new ability that is shown to be similar to the show's fictional martial art of Spinjitzu, but allows the ninja characters to levitate off the ground. Voice cast Main Jillian Michaels as Lloyd Garmadon, the Green Ninja Vincent Tong as Kai, the red ninja and Elemental Master of Fire Michael Adamthwaite as Jay, the blue ninja and Elemental Master of Lightning Brent Miller as Zane, the white/titanium ninja and Elemental Master of Ice Kirby Morrow as Cole, the black ninja and Elemental Master of Earth Kelly Metzger as Nya, the Elemental Master of Water and Kai's sister Paul Dobson as Sensei Wu, the wise teacher of the ninja Andrew Francis as Morro Brian Dobson as Ronin Supporting Alan Marriott as Dareth Mark Oliver as Sensei Garmadon Kathleen Barr as Misako Jennifer Hayward as P.I.X.A.L. a female nindroid Brian Dobson as Soul Archer Kathleen Barr as Bansha Michael Adamthwaite as Wrayth Paul Dobson as Ghoultar Paul Dobson as Fenwick Michael Donovan as Sensei Yang Cathy Weseluck as Patty Keys Lee Tockar as Cyrus Borg Heather Doerksen as Skylor Ian James Corlett as Master Chen Scott McNeil as Clouse Production Animation The animation for the fifth season was produced at Wil Film ApS in Denmark. Direction The episodes for the fifth season were directed by Jens Møller, Michael Helmuth Hansen, Peter Hausner, and Trylle Vilstrup. Release The season trailer was released on 8 June 2015 on YouTube. The season premiered on 29 June 2015 on Cartoon Network. The episodes were released throughout June and July 2015 until the season finale, which was released in two parts. Curseworld Part 1 was released on 9 July 2015 and Curseworld Part 2 was released on 10 July of the same year. Plot When Lloyd is possessed by the spirit of Morro, the ninja realise that they have lost their elemental powers. Morro attacks Wu and the ninja to obtain Wu's staff, which has three symbols engraved upon it. Morro successfully takes the staff, but Wu has made an imprint of the symbols. Wu explains that Morro was his first pupil and the Elemental Master of Wind. Morro believed that he would become the Green Ninja and was enraged to find out that he was not. He had set out to find the Tomb of the First Spinjitzu Master but never returned. Morro and his three ghost warriors begin their search for the Realm Crystal, which will allow Morro to release the Preeminent, the physical embodiment of the Cursed Realm, into Ninjago. The first symbol on Wu's staff is a technique known as Airjitzu, which allows the user to levitate off the ground. To learn this technique, the ninja travel to the city of Stiix to find Ronin, who stole the Scroll of Airjitzu from Domu Library. On the way, they encounter Chain Master Wrayth and learn that ghosts can be defeated with water. In Stiix, they search for the scroll but are outwitted by Morro, who takes the scroll, learns Airjitzu and escapes. The ninja discover they can learn Airjitzu by visiting the Temple of Airjitzu. Meanwhile, Nya receives intensive training from Wu and begins to control the element of water. The ninja visit the Temple of Airjitzu, which is haunted by the ghost of Master Yang, and they earn the Scroll of Airjitzu. Yang tries to trap them inside the temple, revealing that anyone who remains inside at dawn will become a ghost. The ninja escape with the scroll, except for Cole, who doesn't get out in time and is transformed into a ghost. He remains in this form throughout Season 5 and Season 6. After learning Airjitzu, the ninja race to obtain the second symbol, the Sword of Sanctuary. They ascend the Wailing Alps and use Airjitzu to pass through the Blind Man's Eye into a parallel realm called Cloud Kingdom. Morro again outwits them, takes the sword and returns to Ninjago with the ninja in pursuit. On the mountainside, Kai takes the sword from Morro and the ninja use it to pinpoint the location of the third symbol, the Tomb of the First Spinjitzu Master. When they arrive, they face three deadly tests before finding the Realm Crystal. There they encounter Morro, who releases Lloyd and escapes with the crystal. Lloyd is weak, but the ninja find their elemental powers are returning. Morro uses the Realm Crystal to release an army of ghosts and the Preeminent. The ninja are forced to battle the army of ghosts but realise that they are being overwhelmed and retreat on a paddle steamer. Nya unlocks her True Potential and destroys the enemies with a huge wave. Wu tries to pull Morro from the grasp of the Preeminent but he dies as he hits the water. Episodes Reception Ratings The season premier of Possession achieved rank 22 in the top 100 Monday cable originals on 29 June 2015 with 2.05 million viewers. Critical reception Reviewer Melissa Camacho for Common Sense Media gave Possession a 3 out of 5 star rating and noted that the season features cartoon violence but also includes themes of "loyalty, teamwork, and sacrifice". The reviewer also commented, "this a solid choice for action lovers. The loss of a loved one also is a central theme in this series installment." Other media An associated action-adventure game titled Lego Ninjago: Shadow of Ronin was released on 24 March 2015 to accompany the season. It was developed by TT Fusion and published by Warner Bros. Interactive Entertainment. The game is available on PlayStation Vita, Nintendo 3DS and IOS. References Primary Secondary Possession 2015 Canadian television seasons 2015 Danish television seasons
The Uruguayan Invasion was a musical phenomenon of the 1960s similar to the British Invasion, with rock bands from Uruguay gaining popularity in Argentina. History Inspired by British bands like The Beatles and The Rolling Stones, many young musicians in Montevideo, Uruguay began to imitate their sounds. Two bands in particular, Los Shakers and Los Mockers mirrored The Beatles and The Rolling Stones respectively. Popular bands of the Uruguayan Invasion sang mostly in English. In the mid-1960s, as the British Invasion was at its height in the United States, Uruguayan bands began a similar rise to fame in Argentina. Record labels began rapidly signing Uruguayan rock bands to promote in Argentina. Argentine television shows like Escala Musical were also a springboard for many of the bands' popularity. Like the British Invasion, the Uruguayan Invasion had died down by the late 1960s, as it became more popular to record harder-hitting Spanish-language music. Spurred on by the band Los Gatos's 1967 hit record "La Balsa", most bands began to record in Spanish. With the coming of the military dictatorship in 1973, the Uruguayan Invasion effectively ended. Uruguayan Invasion bands Los Shakers Los Malditos Los Mockers Kano y Los Bulldogs See also Uruguayan rock Argentine rock Korean Wave Taiwanese Wave Garage rock References External links The Beat Years The Uruguayan Invasion Argentine music Uruguayan music
```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.server.common.data.id; import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonProperty; import io.swagger.v3.oas.annotations.media.Schema; import org.thingsboard.server.common.data.EntityType; import java.util.UUID; public class QueueId extends UUIDBased implements EntityId { private static final long serialVersionUID = 1L; @JsonCreator public QueueId(@JsonProperty("id") UUID id) { super(id); } public static QueueId fromString(String queueId) { return new QueueId(UUID.fromString(queueId)); } @Schema(requiredMode = Schema.RequiredMode.REQUIRED, description = "string", example = "QUEUE", allowableValues = "QUEUE") @Override public EntityType getEntityType() { return EntityType.QUEUE; } } ```
Corixidea major is a species of jumping soil bug in the family Schizopteridae. It is found in North America. References Schizopteridae Articles created by Qbugbot Insects described in 1925 Hemiptera of North America
First Weapon Drawn is the fourth studio album by American hip hop trio Czarface, which consists of rapper and Wu-Tang Clan member Inspectah Deck and underground hip hop duo 7L & Esoteric. It was released on April 22, 2017 via Silver Age. The album peaked at number 44 on the Independent Albums and number 16 on the Heatseekers Albums in the United States. Track listing Personnel Seamus Ryan – executive producer, additional vocals Jason Richard Hunter – executive producer George Andrinopoulos – executive producer Todd Spadafore – producer Jeremy Page – producer, instruments Yukihiro Kanesaka – instruments Kendra Morris – additional vocals (track 1) Kelly Hammer – additional vocals Troy Hudson – additional vocals Sam Merrick – drums (track 4) Zack Martin – drums (track 6) Andy Bauer – drums (track 10) Wes Garland – mastering Jason Bitner – mastering Alfredo Rico-Dimas – design and layout Gilberto Aguirre Mata – artwork L'amour Supreme – cover art Charts References External links 2017 albums Czarface albums 7L & Esoteric albums Inspectah Deck albums Collaborative albums
```c /* * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contributing project authors may * be found in the AUTHORS file in the root of the source tree. */ #include "webrtc/modules/audio_processing/aecm/aecm_core.h" #include <assert.h> #include <stddef.h> #include <stdlib.h> #include "webrtc/common_audio/ring_buffer.h" #include "webrtc/common_audio/signal_processing/include/real_fft.h" #include "webrtc/modules/audio_processing/aecm/include/echo_control_mobile.h" #include "webrtc/modules/audio_processing/utility/delay_estimator_wrapper.h" #include "webrtc/system_wrappers/interface/compile_assert_c.h" #include "webrtc/system_wrappers/interface/cpu_features_wrapper.h" #include "webrtc/typedefs.h" // Square root of Hanning window in Q14. #if defined(WEBRTC_DETECT_NEON) || defined(WEBRTC_HAS_NEON) // Table is defined in an ARM assembly file. extern const ALIGN8_BEG int16_t WebRtcAecm_kSqrtHanning[] ALIGN8_END; #else static const ALIGN8_BEG int16_t WebRtcAecm_kSqrtHanning[] ALIGN8_END = { 0, 399, 798, 1196, 1594, 1990, 2386, 2780, 3172, 3562, 3951, 4337, 4720, 5101, 5478, 5853, 6224, 6591, 6954, 7313, 7668, 8019, 8364, 8705, 9040, 9370, 9695, 10013, 10326, 10633, 10933, 11227, 11514, 11795, 12068, 12335, 12594, 12845, 13089, 13325, 13553, 13773, 13985, 14189, 14384, 14571, 14749, 14918, 15079, 15231, 15373, 15506, 15631, 15746, 15851, 15947, 16034, 16111, 16179, 16237, 16286, 16325, 16354, 16373, 16384 }; #endif #ifdef AECM_WITH_ABS_APPROX //Q15 alpha = 0.99439986968132 const Factor for magnitude approximation static const uint16_t kAlpha1 = 32584; //Q15 beta = 0.12967166976970 const Factor for magnitude approximation static const uint16_t kBeta1 = 4249; //Q15 alpha = 0.94234827210087 const Factor for magnitude approximation static const uint16_t kAlpha2 = 30879; //Q15 beta = 0.33787806009150 const Factor for magnitude approximation static const uint16_t kBeta2 = 11072; //Q15 alpha = 0.82247698684306 const Factor for magnitude approximation static const uint16_t kAlpha3 = 26951; //Q15 beta = 0.57762063060713 const Factor for magnitude approximation static const uint16_t kBeta3 = 18927; #endif static const int16_t kNoiseEstQDomain = 15; static const int16_t kNoiseEstIncCount = 5; static void ComfortNoise(AecmCore* aecm, const uint16_t* dfa, ComplexInt16* out, const int16_t* lambda); static void WindowAndFFT(AecmCore* aecm, int16_t* fft, const int16_t* time_signal, ComplexInt16* freq_signal, int time_signal_scaling) { int i = 0; // FFT of signal for (i = 0; i < PART_LEN; i++) { // Window time domain signal and insert into real part of // transformation array |fft| int16_t scaled_time_signal = time_signal[i] << time_signal_scaling; fft[i] = (int16_t)((scaled_time_signal * WebRtcAecm_kSqrtHanning[i]) >> 14); scaled_time_signal = time_signal[i + PART_LEN] << time_signal_scaling; fft[PART_LEN + i] = (int16_t)(( scaled_time_signal * WebRtcAecm_kSqrtHanning[PART_LEN - i]) >> 14); } // Do forward FFT, then take only the first PART_LEN complex samples, // and change signs of the imaginary parts. WebRtcSpl_RealForwardFFT(aecm->real_fft, fft, (int16_t*)freq_signal); for (i = 0; i < PART_LEN; i++) { freq_signal[i].imag = -freq_signal[i].imag; } } static void InverseFFTAndWindow(AecmCore* aecm, int16_t* fft, ComplexInt16* efw, int16_t* output, const int16_t* nearendClean) { int i, j, outCFFT; int32_t tmp32no1; // Reuse |efw| for the inverse FFT output after transferring // the contents to |fft|. int16_t* ifft_out = (int16_t*)efw; // Synthesis for (i = 1, j = 2; i < PART_LEN; i += 1, j += 2) { fft[j] = efw[i].real; fft[j + 1] = -efw[i].imag; } fft[0] = efw[0].real; fft[1] = -efw[0].imag; fft[PART_LEN2] = efw[PART_LEN].real; fft[PART_LEN2 + 1] = -efw[PART_LEN].imag; // Inverse FFT. Keep outCFFT to scale the samples in the next block. outCFFT = WebRtcSpl_RealInverseFFT(aecm->real_fft, fft, ifft_out); for (i = 0; i < PART_LEN; i++) { ifft_out[i] = (int16_t)WEBRTC_SPL_MUL_16_16_RSFT_WITH_ROUND( ifft_out[i], WebRtcAecm_kSqrtHanning[i], 14); tmp32no1 = WEBRTC_SPL_SHIFT_W32((int32_t)ifft_out[i], outCFFT - aecm->dfaCleanQDomain); output[i] = (int16_t)WEBRTC_SPL_SAT(WEBRTC_SPL_WORD16_MAX, tmp32no1 + aecm->outBuf[i], WEBRTC_SPL_WORD16_MIN); tmp32no1 = (ifft_out[PART_LEN + i] * WebRtcAecm_kSqrtHanning[PART_LEN - i]) >> 14; tmp32no1 = WEBRTC_SPL_SHIFT_W32(tmp32no1, outCFFT - aecm->dfaCleanQDomain); aecm->outBuf[i] = (int16_t)WEBRTC_SPL_SAT(WEBRTC_SPL_WORD16_MAX, tmp32no1, WEBRTC_SPL_WORD16_MIN); } // Copy the current block to the old position // (aecm->outBuf is shifted elsewhere) memcpy(aecm->xBuf, aecm->xBuf + PART_LEN, sizeof(int16_t) * PART_LEN); memcpy(aecm->dBufNoisy, aecm->dBufNoisy + PART_LEN, sizeof(int16_t) * PART_LEN); if (nearendClean != NULL) { memcpy(aecm->dBufClean, aecm->dBufClean + PART_LEN, sizeof(int16_t) * PART_LEN); } } // Transforms a time domain signal into the frequency domain, outputting the // complex valued signal, absolute value and sum of absolute values. // // time_signal [in] Pointer to time domain signal // freq_signal_real [out] Pointer to real part of frequency domain array // freq_signal_imag [out] Pointer to imaginary part of frequency domain // array // freq_signal_abs [out] Pointer to absolute value of frequency domain // array // freq_signal_sum_abs [out] Pointer to the sum of all absolute values in // the frequency domain array // return value The Q-domain of current frequency values // static int TimeToFrequencyDomain(AecmCore* aecm, const int16_t* time_signal, ComplexInt16* freq_signal, uint16_t* freq_signal_abs, uint32_t* freq_signal_sum_abs) { int i = 0; int time_signal_scaling = 0; int32_t tmp32no1 = 0; int32_t tmp32no2 = 0; // In fft_buf, +16 for 32-byte alignment. int16_t fft_buf[PART_LEN4 + 16]; int16_t *fft = (int16_t *) (((uintptr_t) fft_buf + 31) & ~31); int16_t tmp16no1; #ifndef WEBRTC_ARCH_ARM_V7 int16_t tmp16no2; #endif #ifdef AECM_WITH_ABS_APPROX int16_t max_value = 0; int16_t min_value = 0; uint16_t alpha = 0; uint16_t beta = 0; #endif #ifdef AECM_DYNAMIC_Q tmp16no1 = WebRtcSpl_MaxAbsValueW16(time_signal, PART_LEN2); time_signal_scaling = WebRtcSpl_NormW16(tmp16no1); #endif WindowAndFFT(aecm, fft, time_signal, freq_signal, time_signal_scaling); // Extract imaginary and real part, calculate the magnitude for // all frequency bins freq_signal[0].imag = 0; freq_signal[PART_LEN].imag = 0; freq_signal_abs[0] = (uint16_t)WEBRTC_SPL_ABS_W16(freq_signal[0].real); freq_signal_abs[PART_LEN] = (uint16_t)WEBRTC_SPL_ABS_W16( freq_signal[PART_LEN].real); (*freq_signal_sum_abs) = (uint32_t)(freq_signal_abs[0]) + (uint32_t)(freq_signal_abs[PART_LEN]); for (i = 1; i < PART_LEN; i++) { if (freq_signal[i].real == 0) { freq_signal_abs[i] = (uint16_t)WEBRTC_SPL_ABS_W16(freq_signal[i].imag); } else if (freq_signal[i].imag == 0) { freq_signal_abs[i] = (uint16_t)WEBRTC_SPL_ABS_W16(freq_signal[i].real); } else { // Approximation for magnitude of complex fft output // magn = sqrt(real^2 + imag^2) // magn ~= alpha * max(|imag|,|real|) + beta * min(|imag|,|real|) // // The parameters alpha and beta are stored in Q15 #ifdef AECM_WITH_ABS_APPROX tmp16no1 = WEBRTC_SPL_ABS_W16(freq_signal[i].real); tmp16no2 = WEBRTC_SPL_ABS_W16(freq_signal[i].imag); if(tmp16no1 > tmp16no2) { max_value = tmp16no1; min_value = tmp16no2; } else { max_value = tmp16no2; min_value = tmp16no1; } // Magnitude in Q(-6) if ((max_value >> 2) > min_value) { alpha = kAlpha1; beta = kBeta1; } else if ((max_value >> 1) > min_value) { alpha = kAlpha2; beta = kBeta2; } else { alpha = kAlpha3; beta = kBeta3; } tmp16no1 = (int16_t)((max_value * alpha) >> 15); tmp16no2 = (int16_t)((min_value * beta) >> 15); freq_signal_abs[i] = (uint16_t)tmp16no1 + (uint16_t)tmp16no2; #else #ifdef WEBRTC_ARCH_ARM_V7 __asm __volatile( "smulbb %[tmp32no1], %[real], %[real]\n\t" "smlabb %[tmp32no2], %[imag], %[imag], %[tmp32no1]\n\t" :[tmp32no1]"+&r"(tmp32no1), [tmp32no2]"=r"(tmp32no2) :[real]"r"(freq_signal[i].real), [imag]"r"(freq_signal[i].imag) ); #else tmp16no1 = WEBRTC_SPL_ABS_W16(freq_signal[i].real); tmp16no2 = WEBRTC_SPL_ABS_W16(freq_signal[i].imag); tmp32no1 = tmp16no1 * tmp16no1; tmp32no2 = tmp16no2 * tmp16no2; tmp32no2 = WebRtcSpl_AddSatW32(tmp32no1, tmp32no2); #endif // WEBRTC_ARCH_ARM_V7 tmp32no1 = WebRtcSpl_SqrtFloor(tmp32no2); freq_signal_abs[i] = (uint16_t)tmp32no1; #endif // AECM_WITH_ABS_APPROX } (*freq_signal_sum_abs) += (uint32_t)freq_signal_abs[i]; } return time_signal_scaling; } int WebRtcAecm_ProcessBlock(AecmCore* aecm, const int16_t* farend, const int16_t* nearendNoisy, const int16_t* nearendClean, int16_t* output) { int i; uint32_t xfaSum; uint32_t dfaNoisySum; uint32_t dfaCleanSum; uint32_t echoEst32Gained; uint32_t tmpU32; int32_t tmp32no1; uint16_t xfa[PART_LEN1]; uint16_t dfaNoisy[PART_LEN1]; uint16_t dfaClean[PART_LEN1]; uint16_t* ptrDfaClean = dfaClean; const uint16_t* far_spectrum_ptr = NULL; // 32 byte aligned buffers (with +8 or +16). // TODO(kma): define fft with ComplexInt16. int16_t fft_buf[PART_LEN4 + 2 + 16]; // +2 to make a loop safe. int32_t echoEst32_buf[PART_LEN1 + 8]; int32_t dfw_buf[PART_LEN2 + 8]; int32_t efw_buf[PART_LEN2 + 8]; int16_t* fft = (int16_t*) (((uintptr_t) fft_buf + 31) & ~ 31); int32_t* echoEst32 = (int32_t*) (((uintptr_t) echoEst32_buf + 31) & ~ 31); ComplexInt16* dfw = (ComplexInt16*)(((uintptr_t)dfw_buf + 31) & ~31); ComplexInt16* efw = (ComplexInt16*)(((uintptr_t)efw_buf + 31) & ~31); int16_t hnl[PART_LEN1]; int16_t numPosCoef = 0; int16_t nlpGain = ONE_Q14; int delay; int16_t tmp16no1; int16_t tmp16no2; int16_t mu; int16_t supGain; int16_t zeros32, zeros16; int16_t zerosDBufNoisy, zerosDBufClean, zerosXBuf; int far_q; int16_t resolutionDiff, qDomainDiff, dfa_clean_q_domain_diff; const int kMinPrefBand = 4; const int kMaxPrefBand = 24; int32_t avgHnl32 = 0; // Determine startup state. There are three states: // (0) the first CONV_LEN blocks // (1) another CONV_LEN blocks // (2) the rest if (aecm->startupState < 2) { aecm->startupState = (aecm->totCount >= CONV_LEN) + (aecm->totCount >= CONV_LEN2); } // END: Determine startup state // Buffer near and far end signals memcpy(aecm->xBuf + PART_LEN, farend, sizeof(int16_t) * PART_LEN); memcpy(aecm->dBufNoisy + PART_LEN, nearendNoisy, sizeof(int16_t) * PART_LEN); if (nearendClean != NULL) { memcpy(aecm->dBufClean + PART_LEN, nearendClean, sizeof(int16_t) * PART_LEN); } // Transform far end signal from time domain to frequency domain. far_q = TimeToFrequencyDomain(aecm, aecm->xBuf, dfw, xfa, &xfaSum); // Transform noisy near end signal from time domain to frequency domain. zerosDBufNoisy = TimeToFrequencyDomain(aecm, aecm->dBufNoisy, dfw, dfaNoisy, &dfaNoisySum); aecm->dfaNoisyQDomainOld = aecm->dfaNoisyQDomain; aecm->dfaNoisyQDomain = (int16_t)zerosDBufNoisy; if (nearendClean == NULL) { ptrDfaClean = dfaNoisy; aecm->dfaCleanQDomainOld = aecm->dfaNoisyQDomainOld; aecm->dfaCleanQDomain = aecm->dfaNoisyQDomain; dfaCleanSum = dfaNoisySum; } else { // Transform clean near end signal from time domain to frequency domain. zerosDBufClean = TimeToFrequencyDomain(aecm, aecm->dBufClean, dfw, dfaClean, &dfaCleanSum); aecm->dfaCleanQDomainOld = aecm->dfaCleanQDomain; aecm->dfaCleanQDomain = (int16_t)zerosDBufClean; } // Get the delay // Save far-end history and estimate delay WebRtcAecm_UpdateFarHistory(aecm, xfa, far_q); if (WebRtc_AddFarSpectrumFix(aecm->delay_estimator_farend, xfa, PART_LEN1, far_q) == -1) { return -1; } delay = WebRtc_DelayEstimatorProcessFix(aecm->delay_estimator, dfaNoisy, PART_LEN1, zerosDBufNoisy); if (delay == -1) { return -1; } else if (delay == -2) { // If the delay is unknown, we assume zero. // NOTE: this will have to be adjusted if we ever add lookahead. delay = 0; } if (aecm->fixedDelay >= 0) { // Use fixed delay delay = aecm->fixedDelay; } // Get aligned far end spectrum far_spectrum_ptr = WebRtcAecm_AlignedFarend(aecm, &far_q, delay); zerosXBuf = (int16_t) far_q; if (far_spectrum_ptr == NULL) { return -1; } // Calculate log(energy) and update energy threshold levels WebRtcAecm_CalcEnergies(aecm, far_spectrum_ptr, zerosXBuf, dfaNoisySum, echoEst32); // Calculate stepsize mu = WebRtcAecm_CalcStepSize(aecm); // Update counters aecm->totCount++; // This is the channel estimation algorithm. // It is base on NLMS but has a variable step length, // which was calculated above. WebRtcAecm_UpdateChannel(aecm, far_spectrum_ptr, zerosXBuf, dfaNoisy, mu, echoEst32); supGain = WebRtcAecm_CalcSuppressionGain(aecm); // Calculate Wiener filter hnl[] for (i = 0; i < PART_LEN1; i++) { // Far end signal through channel estimate in Q8 // How much can we shift right to preserve resolution tmp32no1 = echoEst32[i] - aecm->echoFilt[i]; aecm->echoFilt[i] += (tmp32no1 * 50) >> 8; zeros32 = WebRtcSpl_NormW32(aecm->echoFilt[i]) + 1; zeros16 = WebRtcSpl_NormW16(supGain) + 1; if (zeros32 + zeros16 > 16) { // Multiplication is safe // Result in // Q(RESOLUTION_CHANNEL+RESOLUTION_SUPGAIN+ // aecm->xfaQDomainBuf[diff]) echoEst32Gained = WEBRTC_SPL_UMUL_32_16((uint32_t)aecm->echoFilt[i], (uint16_t)supGain); resolutionDiff = 14 - RESOLUTION_CHANNEL16 - RESOLUTION_SUPGAIN; resolutionDiff += (aecm->dfaCleanQDomain - zerosXBuf); } else { tmp16no1 = 17 - zeros32 - zeros16; resolutionDiff = 14 + tmp16no1 - RESOLUTION_CHANNEL16 - RESOLUTION_SUPGAIN; resolutionDiff += (aecm->dfaCleanQDomain - zerosXBuf); if (zeros32 > tmp16no1) { echoEst32Gained = WEBRTC_SPL_UMUL_32_16((uint32_t)aecm->echoFilt[i], supGain >> tmp16no1); } else { // Result in Q-(RESOLUTION_CHANNEL+RESOLUTION_SUPGAIN-16) echoEst32Gained = (aecm->echoFilt[i] >> tmp16no1) * supGain; } } zeros16 = WebRtcSpl_NormW16(aecm->nearFilt[i]); assert(zeros16 >= 0); // |zeros16| is a norm, hence non-negative. dfa_clean_q_domain_diff = aecm->dfaCleanQDomain - aecm->dfaCleanQDomainOld; if (zeros16 < dfa_clean_q_domain_diff && aecm->nearFilt[i]) { tmp16no1 = aecm->nearFilt[i] << zeros16; qDomainDiff = zeros16 - dfa_clean_q_domain_diff; tmp16no2 = ptrDfaClean[i] >> -qDomainDiff; } else { tmp16no1 = dfa_clean_q_domain_diff < 0 ? aecm->nearFilt[i] >> -dfa_clean_q_domain_diff : aecm->nearFilt[i] << dfa_clean_q_domain_diff; qDomainDiff = 0; tmp16no2 = ptrDfaClean[i]; } tmp32no1 = (int32_t)(tmp16no2 - tmp16no1); tmp16no2 = (int16_t)(tmp32no1 >> 4); tmp16no2 += tmp16no1; zeros16 = WebRtcSpl_NormW16(tmp16no2); if ((tmp16no2) & (-qDomainDiff > zeros16)) { aecm->nearFilt[i] = WEBRTC_SPL_WORD16_MAX; } else { aecm->nearFilt[i] = qDomainDiff < 0 ? tmp16no2 << -qDomainDiff : tmp16no2 >> qDomainDiff; } // Wiener filter coefficients, resulting hnl in Q14 if (echoEst32Gained == 0) { hnl[i] = ONE_Q14; } else if (aecm->nearFilt[i] == 0) { hnl[i] = 0; } else { // Multiply the suppression gain // Rounding echoEst32Gained += (uint32_t)(aecm->nearFilt[i] >> 1); tmpU32 = WebRtcSpl_DivU32U16(echoEst32Gained, (uint16_t)aecm->nearFilt[i]); // Current resolution is // Q-(RESOLUTION_CHANNEL+RESOLUTION_SUPGAIN- max(0,17-zeros16- zeros32)) // Make sure we are in Q14 tmp32no1 = (int32_t)WEBRTC_SPL_SHIFT_W32(tmpU32, resolutionDiff); if (tmp32no1 > ONE_Q14) { hnl[i] = 0; } else if (tmp32no1 < 0) { hnl[i] = ONE_Q14; } else { // 1-echoEst/dfa hnl[i] = ONE_Q14 - (int16_t)tmp32no1; if (hnl[i] < 0) { hnl[i] = 0; } } } if (hnl[i]) { numPosCoef++; } } // Only in wideband. Prevent the gain in upper band from being larger than // in lower band. if (aecm->mult == 2) { // TODO(bjornv): Investigate if the scaling of hnl[i] below can cause // speech distortion in double-talk. for (i = 0; i < PART_LEN1; i++) { hnl[i] = (int16_t)((hnl[i] * hnl[i]) >> 14); } for (i = kMinPrefBand; i <= kMaxPrefBand; i++) { avgHnl32 += (int32_t)hnl[i]; } assert(kMaxPrefBand - kMinPrefBand + 1 > 0); avgHnl32 /= (kMaxPrefBand - kMinPrefBand + 1); for (i = kMaxPrefBand; i < PART_LEN1; i++) { if (hnl[i] > (int16_t)avgHnl32) { hnl[i] = (int16_t)avgHnl32; } } } // Calculate NLP gain, result is in Q14 if (aecm->nlpFlag) { for (i = 0; i < PART_LEN1; i++) { // Truncate values close to zero and one. if (hnl[i] > NLP_COMP_HIGH) { hnl[i] = ONE_Q14; } else if (hnl[i] < NLP_COMP_LOW) { hnl[i] = 0; } // Remove outliers if (numPosCoef < 3) { nlpGain = 0; } else { nlpGain = ONE_Q14; } // NLP if ((hnl[i] == ONE_Q14) && (nlpGain == ONE_Q14)) { hnl[i] = ONE_Q14; } else { hnl[i] = (int16_t)((hnl[i] * nlpGain) >> 14); } // multiply with Wiener coefficients efw[i].real = (int16_t)(WEBRTC_SPL_MUL_16_16_RSFT_WITH_ROUND(dfw[i].real, hnl[i], 14)); efw[i].imag = (int16_t)(WEBRTC_SPL_MUL_16_16_RSFT_WITH_ROUND(dfw[i].imag, hnl[i], 14)); } } else { // multiply with Wiener coefficients for (i = 0; i < PART_LEN1; i++) { efw[i].real = (int16_t)(WEBRTC_SPL_MUL_16_16_RSFT_WITH_ROUND(dfw[i].real, hnl[i], 14)); efw[i].imag = (int16_t)(WEBRTC_SPL_MUL_16_16_RSFT_WITH_ROUND(dfw[i].imag, hnl[i], 14)); } } if (aecm->cngMode == AecmTrue) { ComfortNoise(aecm, ptrDfaClean, efw, hnl); } InverseFFTAndWindow(aecm, fft, efw, output, nearendClean); return 0; } static void ComfortNoise(AecmCore* aecm, const uint16_t* dfa, ComplexInt16* out, const int16_t* lambda) { int16_t i; int16_t tmp16; int32_t tmp32; int16_t randW16[PART_LEN]; int16_t uReal[PART_LEN1]; int16_t uImag[PART_LEN1]; int32_t outLShift32; int16_t noiseRShift16[PART_LEN1]; int16_t shiftFromNearToNoise = kNoiseEstQDomain - aecm->dfaCleanQDomain; int16_t minTrackShift; assert(shiftFromNearToNoise >= 0); assert(shiftFromNearToNoise < 16); if (aecm->noiseEstCtr < 100) { // Track the minimum more quickly initially. aecm->noiseEstCtr++; minTrackShift = 6; } else { minTrackShift = 9; } // Estimate noise power. for (i = 0; i < PART_LEN1; i++) { // Shift to the noise domain. tmp32 = (int32_t)dfa[i]; outLShift32 = tmp32 << shiftFromNearToNoise; if (outLShift32 < aecm->noiseEst[i]) { // Reset "too low" counter aecm->noiseEstTooLowCtr[i] = 0; // Track the minimum. if (aecm->noiseEst[i] < (1 << minTrackShift)) { // For small values, decrease noiseEst[i] every // |kNoiseEstIncCount| block. The regular approach below can not // go further down due to truncation. aecm->noiseEstTooHighCtr[i]++; if (aecm->noiseEstTooHighCtr[i] >= kNoiseEstIncCount) { aecm->noiseEst[i]--; aecm->noiseEstTooHighCtr[i] = 0; // Reset the counter } } else { aecm->noiseEst[i] -= ((aecm->noiseEst[i] - outLShift32) >> minTrackShift); } } else { // Reset "too high" counter aecm->noiseEstTooHighCtr[i] = 0; // Ramp slowly upwards until we hit the minimum again. if ((aecm->noiseEst[i] >> 19) > 0) { // Avoid overflow. // Multiplication with 2049 will cause wrap around. Scale // down first and then multiply aecm->noiseEst[i] >>= 11; aecm->noiseEst[i] *= 2049; } else if ((aecm->noiseEst[i] >> 11) > 0) { // Large enough for relative increase aecm->noiseEst[i] *= 2049; aecm->noiseEst[i] >>= 11; } else { // Make incremental increases based on size every // |kNoiseEstIncCount| block aecm->noiseEstTooLowCtr[i]++; if (aecm->noiseEstTooLowCtr[i] >= kNoiseEstIncCount) { aecm->noiseEst[i] += (aecm->noiseEst[i] >> 9) + 1; aecm->noiseEstTooLowCtr[i] = 0; // Reset counter } } } } for (i = 0; i < PART_LEN1; i++) { tmp32 = aecm->noiseEst[i] >> shiftFromNearToNoise; if (tmp32 > 32767) { tmp32 = 32767; aecm->noiseEst[i] = tmp32 << shiftFromNearToNoise; } noiseRShift16[i] = (int16_t)tmp32; tmp16 = ONE_Q14 - lambda[i]; noiseRShift16[i] = (int16_t)((tmp16 * noiseRShift16[i]) >> 14); } // Generate a uniform random array on [0 2^15-1]. WebRtcSpl_RandUArray(randW16, PART_LEN, &aecm->seed); // Generate noise according to estimated energy. uReal[0] = 0; // Reject LF noise. uImag[0] = 0; for (i = 1; i < PART_LEN1; i++) { // Get a random index for the cos and sin tables over [0 359]. tmp16 = (int16_t)((359 * randW16[i - 1]) >> 15); // Tables are in Q13. uReal[i] = (int16_t)((noiseRShift16[i] * WebRtcAecm_kCosTable[tmp16]) >> 13); uImag[i] = (int16_t)((-noiseRShift16[i] * WebRtcAecm_kSinTable[tmp16]) >> 13); } uImag[PART_LEN] = 0; for (i = 0; i < PART_LEN1; i++) { out[i].real = WebRtcSpl_AddSatW16(out[i].real, uReal[i]); out[i].imag = WebRtcSpl_AddSatW16(out[i].imag, uImag[i]); } } ```
Nebojša Joksimović (born November 17, 1981) is a Slovenian professional basketball player for Sixt Primorska of the Slovenian League. Professional career In August 2013, he signed a one-year deal with Union Olimpija. In July 2014, he signed with another Slovenian team BC Krka. After playing one season for Krka, in October 2015 he moved to the Croatian side Cibona. In July 2017, he signed with Sixt Primorska. Slovenian national team Joksimović played for the Slovenian national team at the 2005 FIBA European Championship, Olympic Qualifying Tournament 2008 and 2013 FIBA European Championship. He also represented Slovenia at the 2015 EuroBasket where they were eliminated by Latvia in eighth finals. Personal life Joksimović has Serb ancestry, and holds Serbian citizenship besides his native Slovenian. References External links Nebojša Joksimović at aba-liga.com Nebojša Joksimović at legabasket.it Nebojša Joksimović at euroleague.net 1981 births Living people ABA League players KK Hemofarm players KK Igokea players KK Olimpija players PBC Lokomotiv-Kuban players KK Cibona players Sportspeople from Koper Shooting guards Slovenian men's basketball players Slovenian people of Serbian descent Victoria Libertas Pallacanestro players KK Krka players Slovenian expatriate basketball people in Serbia Slovenian expatriate basketball people in Russia Slovenian expatriate basketball people in Italy Slovenian expatriate basketball people in Croatia
1,3-Difluoro-2-propanol is a metabolic poison which disrupts the citric acid cycle and is used as a rodenticide, similar to sodium fluoroacetate. It is the main ingredient (along with 1-chloro-3-fluoro-2-propanol) in the rodenticide product Gliftor which was widely used in the former USSR and still approved in China. References Rodenticides Fluorohydrins Respiratory toxins
Juan Kachmanian (April 6, 1930 – January 9, 2020) was an Argentine-American professional wrestler, better known by his ring name, Pampero Firpo. Early life Kachmanian was born on April 6, 1930, in Buenos Aires, Argentina. His parents were of Armenian descent and born in Turkey. His father was sent to Greece in an orphanage run by the British Red Cross. The Pampero Firpo name was appealing to Kachmanian as his father was a 'real shooter' and was a contender for the Olympics. Firpo's father later moved from Greece to Lebanon and then to Argentina, where he became a local boxing promoter. Professional wrestling career Having been trained by Rudy Dusek, he made his debut in 1953 and wrestled variously as Ervan the Armenian, Ivan the Terrible, The Missing Link, The Great Pampero and the Wild Bull of the Pampas, as well as his most famous alter-ego of Pampero Firpo. Boxing great Jack Dempsey gave him the name "Pampero Firpo." Until then he had been wrestling as Ivan The Terrible. He was looking for a gimmick and Dempsey, recalling one of his famous opponents in the 1920s, Argentine boxer "Wild Bull of the Pampas" Luis Ángel Firpo, suggested that the grappler be billed as Firpo's son. An early pioneer of hardcore wrestling, Kachmanian usually wrestled as a heel, although he would go on to have a run as a face after being fireballed by The Sheik. The bushy-haired Firpo packed a powerful punch with his stocky, 5–8, 230-pound frame, engaging in bloody feuds with stars such as The Sheik, Bobo Brazil, Johnny Valentine, Wild Bull Curry, The Crusher and The Mighty Igor, with most of his victories coming from a crushing bear hug or a dreaded claw hold that he called "El Garfio," a trademark death grip that would allegedly render his opponents unconscious. It was in his homeland of Argentina where Firpo, while staying at a hotel frequented by the ruling Perón family, was introduced to "Chimu," purportedly the shrunken head of a tribal leader from Ecuador. According to the story, a tribesman had been so impressed with Firpo's strength and athletic ability that he awarded the grappler the macabre oddity. Firpo would later put the shrunken head to good use, enhancing his image as a heel of the first order by talking to and rubbing the head during interviews while promising the destruction of his opponents. In 1972, Pampero Firpo captured the NWA United States Heavyweight Championship (Detroit version) twice after defeating Bobo Brazil on both occasions - on August 12 and October 28, respectively. Both title reigns were ended by Bobo Brazil in return matches with the championship on the line. Firpo would go on to win the championship one more time on July 17, 1976, from then 9-time NWA United States Heavyweight Champion The Sheik. Firpo would hold onto the championship until October 16, 1976, when he lost it to Don Kent. Firpo was a mainstay in Detroit for the Big Time Wrestling promotion alongside The Sheik and Bobo Brazil. Also, in 1972, Firpo wrestled six matches with the World Wide Wrestling Federation, now known as WWE. He competed with and defeated Manuel Soto, Rene Goulet, Ben Justice, and Chief Jay Strongbow in matchups at Madison Square Garden in New York. On May 22, 1972, Firpo competed for the WWWF Heavyweight Title against Pedro Morales at Madison Square Garden, but was defeated. Firpo would have a second chance at the championship two months later in Philadelphia, on July 8, 1972, against Morales in another losing effort. Other titles Firpo held in his career were the NWA World Tag Team Championship (Texas version), the NWA Texas Heavyweight Championship and the NWA Hawaii Heavyweight Championship, as well as being the inaugural holder of the NWA Americas Heavyweight Championship. Kachmanian popularized the drawn-out catchphrase 'ohhh yeah!' which would later become associated with Randy Savage. After January 1981, Kachmanian stopped actively competing after a tour of Japan in the fall of 1980 and a quick stint in California in January 1981. He retired from professional wrestling on October 17, 1986, after competing in 8,882 matches, after last competing for All-California Championship Wrestling in 1986 and winning the ACCW Heavyweight Championship. Personal life Kachmanian became an American citizen in 1965 and named it as one of his proudest moments. He visited five continents, 21 countries, and became fluent in eight languages. Kachmanian's working days didn't end once his 33-year wrestling career was over. He spent the next 25 years working for the United States Postal Service in San Jose, California, retiring at the age of 78. Kachmanian had three children, John, Juli, and Mary, and resided in an assisted living facility in Campbell, California. He died of natural causes on January 9, 2020, in Campbell, California. Championships and accomplishments American Wrestling Association Nebraska Heavyweight Championship (1 time) All-California Championship Wrestling ACCW Heavyweight Championship (1 time) 1986 Big Time Wrestling NWA United States Heavyweight Championship (Detroit version) (3 times) Cauliflower Alley Club Other honoree (2001) Jim Crockett Promotions NWA Southern Tag Team Championship (Mid-Atlantic version) (1 time) - with Larry Hamilton Mid-Pacific Promotions NWA Hawaii Heavyweight Championship (1 time) NWA Hawaii Tag Team Championship (2 times) - with Neff Maiava (1) and Jim Hady (1, as Missing Link) NWA Hollywood Wrestling NWA Americas Heavyweight Championship (3 times, first) NWA Americas Tag Team Championship (1 time) - with Jack Evans Pacific Northwest Wrestling NWA Pacific Northwest Heavyweight Championship (1 time) Professional Wrestling Hall of Fame Class of 2018 Southwest Sports/NWA Big Time Wrestling NWA Texas Heavyweight Championship (1 time) NWA World Tag Team Championship (1 time) - with Tony Borne World Wrestling Council WWC Puerto Rico Heavyweight Championship (1 time) References External links - ran by his daughter, Mary 1930 births 2020 deaths 20th-century professional wrestlers American male professional wrestlers Argentine emigrants to the United States Argentine male professional wrestlers Argentine people of Armenian descent Armenian professional wrestlers Professional wrestlers from California Professional Wrestling Hall of Fame and Museum Sportspeople from Buenos Aires Sportspeople from San Jose, California Ethnic Armenian sportspeople WWC Puerto Rico Champions NWA World Junior Heavyweight Champions NWA Americas Tag Team Champions NWA Americas Heavyweight Champions NWA Texas Heavyweight Champions NWA United States Heavyweight Champions (Detroit version)
Élencourt () is a commune in the Oise department in northern France. See also Communes of the Oise department References Communes of Oise
```yaml id: Cortex XDR device control violations version: -1 name: Cortex XDR device control violations description: "Queries Cortex XDR for device control violations for the specified hosts, IP address, or XDR endpoint ID. It then communicates via email with the involved users to understand the nature of the incident and if the user connected the device. \nAll the collected data will be displayed in the XDR device control incident layout.\nThis playbook can also be associated with Cortex XDR device control violation job to periodically query and investigate XDR device control violations. In this configuration, the playbook will only communicate with the involved users." starttaskid: "0" tasks: "0": id: "0" taskid: 99d3bc4b-62a5-432d-821f-4dffa1c5b1e9 type: start task: id: 99d3bc4b-62a5-432d-821f-4dffa1c5b1e9 version: -1 name: "" iscommand: false brand: "" description: '' nexttasks: '#none#': - "10" separatecontext: false view: |- { "position": { "x": 265, "y": 50 } } note: false timertriggers: [] ignoreworker: false skipunavailable: false quietmode: 0 "1": id: "1" taskid: 3b9e0236-4004-482e-8c5b-5084d95a532d type: regular task: id: 3b9e0236-4004-482e-8c5b-5084d95a532d version: -1 name: Get endpoint device control violations description: Gets a list of device control violations filtered by selected fields. You can retrieve up to 100 violations. script: '|||xdr-get-endpoint-device-control-violations' type: regular iscommand: true brand: "" nexttasks: '#none#': - "2" scriptarguments: endpoint_ids: complex: root: inputs.EndpointID hostname: complex: root: inputs.Hostname ip_list: complex: root: inputs.IPAddress product: {} product_id: {} serial: {} timestamp_gte: complex: root: inputs.TimeStamp timestamp_lte: {} type: {} username: {} vendor: {} vendor_id: {} violation_id_list: {} separatecontext: false view: |- { "position": { "x": 50, "y": 370 } } note: false timertriggers: [] ignoreworker: false skipunavailable: false quietmode: 0 "2": id: "2" taskid: 5201332f-5be8-49ca-8a34-ba282ec5ff82 type: condition task: id: 5201332f-5be8-49ca-8a34-ba282ec5ff82 version: -1 name: Were device control violations found? type: condition iscommand: false brand: "" description: '' nexttasks: '#default#': - "8" "yes": - "9" separatecontext: false conditions: - label: "yes" condition: - - operator: isNotEmpty left: value: complex: root: PaloAltoNetworksXDR accessor: EndpointViolations iscontext: true view: |- { "position": { "x": 50, "y": 545 } } note: false timertriggers: [] ignoreworker: false skipunavailable: false quietmode: 0 "3": id: "3" taskid: a28d149b-91ca-4c81-8640-327f703edd79 type: collection task: id: a28d149b-91ca-4c81-8640-327f703edd79 version: -1 name: Communicate with the end-user description: Sends an email using EWS. type: collection iscommand: false brand: "" nexttasks: '#none#': - "5" scriptarguments: additionalHeader: {} attachCIDs: {} attachIDs: {} attachNames: {} bcc: {} body: {} cc: {} from: {} htmlBody: {} replyTo: {} subject: simple: Device Control Violation templateParams: {} to: complex: root: ActiveDirectory.Users accessor: mail transientFile: {} transientFileCID: {} transientFileContent: {} separatecontext: false view: |- { "position": { "x": 447.5, "y": 1265 } } note: false timertriggers: [] ignoreworker: false message: to: complex: root: Account accessor: Email subject: complex: root: inputs.MessageSubject body: complex: root: inputs.MessageBody methods: - email format: "" bcc: cc: timings: retriescount: 2 retriesinterval: 360 completeafterreplies: 1 form: questions: - id: "0" label: "" labelarg: simple: 'Did you connect the ' required: true gridcolumns: [] defaultrows: [] type: singleSelect options: [] optionsarg: - simple: "Yes" - simple: "No" fieldassociated: "" placeholder: "" tooltip: "" readonly: false - id: "1" label: "" labelarg: simple: Please add any additional information that can assist the investigation required: false gridcolumns: [] defaultrows: [] type: shortText options: [] optionsarg: [] fieldassociated: "" placeholder: "" tooltip: "" readonly: false title: Device Control Violation description: Did you perform the external device connection? sender: Your SOC team expired: false totalanswers: 0 skipunavailable: false quietmode: 0 "4": id: "4" taskid: 256b3ed5-14c2-4e5f-8ae2-bc937b86b8ce type: regular task: id: 256b3ed5-14c2-4e5f-8ae2-bc937b86b8ce version: -1 name: Get user email address description: Retrieves detailed information about a user account. The user can be specified by name, email address, or as an Active Directory Distinguished Name (DN). If no filter is specified, all users are returned. script: '|||ad-get-user' type: regular iscommand: true brand: "" nexttasks: '#none#': - "12" scriptarguments: attributes: {} custom-field-data: {} custom-field-type: {} dn: {} email: {} limit: {} name: {} user-account-control-out: {} username: complex: root: PaloAltoNetworksXDR.EndpointViolations accessor: username transformers: - operator: uniq - operator: Cut args: delimiter: value: simple: \ fields: value: simple: "0" separatecontext: false view: |- { "position": { "x": 447.5, "y": 890 } } note: false timertriggers: [] ignoreworker: false skipunavailable: false quietmode: 0 "5": id: "5" taskid: 935f3d5b-a6b6-452a-81ca-0a3c31495999 type: condition task: id: 935f3d5b-a6b6-452a-81ca-0a3c31495999 version: -1 name: Did the involved user connect the device? type: condition iscommand: false brand: "" description: '' nexttasks: '#default#': - "8" "yes": - "6" separatecontext: false conditions: - label: "yes" condition: - - operator: isEqualString left: value: complex: root: Device Control Violation.Answers accessor: "0" iscontext: true right: value: simple: "Yes" view: |- { "position": { "x": 447.5, "y": 1430 } } note: false timertriggers: [] ignoreworker: false skipunavailable: false quietmode: 0 "6": id: "6" taskid: 2a3eb3b4-ac48-4526-8b8d-dcde62ec67d2 type: regular task: id: 2a3eb3b4-ac48-4526-8b8d-dcde62ec67d2 version: -1 name: Check if the device is approved for use type: regular iscommand: false brand: "" description: '' nexttasks: '#none#': - "8" separatecontext: false view: |- { "position": { "x": 700, "y": 1600 } } note: false timertriggers: [] ignoreworker: false skipunavailable: false quietmode: 0 "8": id: "8" taskid: 1a96d761-18b5-456a-8f26-b282377c131c type: title task: id: 1a96d761-18b5-456a-8f26-b282377c131c version: -1 name: Done type: title iscommand: false brand: "" description: '' separatecontext: false view: |- { "position": { "x": 50, "y": 1770 } } note: false timertriggers: [] ignoreworker: false skipunavailable: false quietmode: 0 "9": id: "9" taskid: 199041f9-c401-46e9-81f6-268a5b132768 type: regular task: id: 199041f9-c401-46e9-81f6-268a5b132768 version: -1 name: Set device control grid description: Creates a grid table from items or key-value pairs. scriptName: SetGridField type: regular iscommand: false brand: "" nexttasks: '#none#': - "4" scriptarguments: columns: simple: Hostname,Username,IP,XDR endpoint ID,Violation type,Date,Product,Vendor context_path: simple: PaloAltoNetworksXDR.EndpointViolations grid_id: simple: xdrdevicecontrolviolations keys: simple: hostname,username,ip,endpoint_id,type,date,product,vendor overwrite: {} sort_by: {} unpack_nested_elements: {} separatecontext: false view: |- { "position": { "x": 447.5, "y": 720 } } note: false timertriggers: [] ignoreworker: false skipunavailable: false quietmode: 0 "10": id: "10" taskid: e12bce4a-c80e-4907-8767-86102a491bd8 type: condition task: id: e12bce4a-c80e-4907-8767-86102a491bd8 version: -1 name: Were current violations found? type: condition iscommand: false brand: "" description: '' nexttasks: '#default#': - "1" "yes": - "11" separatecontext: false conditions: - label: "yes" condition: - - operator: isNotEmpty left: value: complex: root: incident accessor: xdrdevicecontrolviolations iscontext: true view: |- { "position": { "x": 265, "y": 195 } } note: false timertriggers: [] ignoreworker: false skipunavailable: false quietmode: 0 "11": id: "11" taskid: 637b111d-8ab6-4f2b-8498-26e01b330c6b type: regular task: id: 637b111d-8ab6-4f2b-8498-26e01b330c6b version: -1 name: Set Violations fields description: Set a value in context under the key you entered. scriptName: Set type: regular iscommand: false brand: "" nexttasks: '#none#': - "9" scriptarguments: append: simple: "true" key: simple: PaloAltoNetworksXDR.EndpointViolations stringify: {} value: complex: root: incident accessor: xdrdevicecontrolviolations separatecontext: false view: |- { "position": { "x": 447.5, "y": 370 } } note: false timertriggers: [] ignoreworker: false skipunavailable: false quietmode: 0 isoversize: false isautoswitchedtoquietmode: false "12": id: "12" taskid: 1a497783-b55d-4aec-8764-2722b3d3216d type: condition task: id: 1a497783-b55d-4aec-8764-2722b3d3216d version: -1 name: Is the user's email retrieved? type: condition iscommand: false brand: "" description: "" nexttasks: '#default#': - "8" "yes": - "3" separatecontext: false conditions: - label: "yes" condition: - - operator: isExists left: value: complex: root: Account accessor: Email iscontext: true continueonerrortype: "" view: |- { "position": { "x": 447.5, "y": 1060 } } note: false timertriggers: [] ignoreworker: false skipunavailable: false quietmode: 0 isoversize: false isautoswitchedtoquietmode: false view: |- { "linkLabelsPosition": { "10_11_yes": 0.47, "2_8_#default#": 0.1, "5_6_yes": 0.57, "5_8_#default#": 0.22 }, "paper": { "dimensions": { "height": 1785, "width": 1030, "x": 50, "y": 50 } } } inputs: - key: TimeStamp value: {} required: false description: |- Timestamp in relative date format for query device control events from Cortex XDR. For example "1 day", "3 weeks". playbookInputQuery: - key: EndpointID value: {} required: false description: Comma-separated list of endpoint IDs to filter results for. playbookInputQuery: - key: Hostname value: {} required: false description: Comma-separated list of hostnames to filter results for. playbookInputQuery: - key: IPAddress value: {} required: false description: Comma-separated list of endpoints IP Addresses to filter results for. playbookInputQuery: - key: MessageSubject value: simple: Device control violation required: false description: The subject of the message for communication with the involved users. playbookInputQuery: - key: MessageBody value: simple: |- Hello, Your user was involved with a device control violation. Please open the following link to fill in the needed information to understand the incident further. required: false description: A body of the message for communication with the involved users. playbookInputQuery: outputs: [] tests: - No tests (auto formatted) fromversion: 5.5.0 marketplaces: - xsoar ```
is a passenger railway station located in the city of Minamiashigara, Kanagawa Prefecture, Japan, operated by the Izuhakone Railway. Lines Fujifilm-Mae Station is served by the Daiyūzan Line, and is located 9.1 kilometers from the line’s terminus at Odawara Station. Station layout The station consists of a single side platform connected to a small one-story station building, which is staffed only during peak commuting hours. Adjacent stations History Fujifilm-Mae Station was opened on August 13, 1956. As the name implies, it is located near the entrance to a large factory complex owned by the Fujifilm company. Passenger statistics In fiscal 2019, the station was used by an average of 663 passengers daily (boarding passengers only). The passenger figures (boarding passengers only) for previous years are as shown below. Surrounding area The Kaizawa River, which is a tributary of the Kari River, flows in front of the station. See also List of railway stations in Japan References External links Izuhakone Railway home page Railway stations in Japan opened in 1956 Izuhakone Daiyuzan Line Railway stations in Kanagawa Prefecture Minamiashigara, Kanagawa
```smalltalk using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.EntityFrameworkCore; using Ombi.Core.Models; using Ombi.Helpers; using Ombi.Store.Entities; using Ombi.Store.Repository; using RecentlyAddedType = Ombi.Store.Entities.RecentlyAddedType; namespace Ombi.Core.Engine { public class RecentlyAddedEngine : IRecentlyAddedEngine { public RecentlyAddedEngine(IPlexContentRepository plex, IEmbyContentRepository emby, IJellyfinContentRepository jellyfin, IRepository<RecentlyAddedLog> recentlyAdded) { _plex = plex; _emby = emby; _jellyfin = jellyfin; _recentlyAddedLog = recentlyAdded; } private readonly IPlexContentRepository _plex; private readonly IEmbyContentRepository _emby; private readonly IJellyfinContentRepository _jellyfin; private readonly IRepository<RecentlyAddedLog> _recentlyAddedLog; public IEnumerable<RecentlyAddedMovieModel> GetRecentlyAddedMovies(DateTime from, DateTime to) { var plexMovies = _plex.GetAll().Where(x => x.Type == MediaType.Movie && x.AddedAt > from && x.AddedAt < to); var embyMovies = _emby.GetAll().Where(x => x.Type == MediaType.Movie && x.AddedAt > from && x.AddedAt < to); var jellyfinMovies = _jellyfin.GetAll().Where(x => x.Type == MediaType.Movie && x.AddedAt > from && x.AddedAt < to); return GetRecentlyAddedMovies(plexMovies, embyMovies, jellyfinMovies).Take(30); } public IEnumerable<RecentlyAddedMovieModel> GetRecentlyAddedMovies() { var plexMovies = _plex.GetAll().Where(x => x.Type == MediaType.Movie); var embyMovies = _emby.GetAll().Where(x => x.Type == MediaType.Movie); var jellyfinMovies = _jellyfin.GetAll().Where(x => x.Type == MediaType.Movie); return GetRecentlyAddedMovies(plexMovies, embyMovies, jellyfinMovies); } public IEnumerable<RecentlyAddedTvModel> GetRecentlyAddedTv(DateTime from, DateTime to, bool groupBySeason) { var plexTv = _plex.GetAll().Include(x => x.Seasons).Include(x => x.Episodes).Where(x => x.Type == MediaType.Series && x.AddedAt > from && x.AddedAt < to); var embyTv = _emby.GetAll().Include(x => x.Episodes).Where(x => x.Type == MediaType.Series && x.AddedAt > from && x.AddedAt < to); var jellyfinTv = _jellyfin.GetAll().Include(x => x.Episodes).Where(x => x.Type == MediaType.Series && x.AddedAt > from && x.AddedAt < to); return GetRecentlyAddedTv(plexTv, embyTv, jellyfinTv, groupBySeason).Take(30); } public IEnumerable<RecentlyAddedTvModel> GetRecentlyAddedTv(bool groupBySeason) { var plexTv = _plex.GetAll().Include(x => x.Seasons).Include(x => x.Episodes).Where(x => x.Type == MediaType.Series); var embyTv = _emby.GetAll().Include(x => x.Episodes).Where(x => x.Type == MediaType.Series); var jellyfinTv = _jellyfin.GetAll().Include(x => x.Episodes).Where(x => x.Type == MediaType.Series); return GetRecentlyAddedTv(plexTv, embyTv, jellyfinTv, groupBySeason); } public async Task<bool> UpdateRecentlyAddedDatabase() { var plexContent = _plex.GetAll().Include(x => x.Episodes); var embyContent = _emby.GetAll().Include(x => x.Episodes); var jellyfinContent = _jellyfin.GetAll().Include(x => x.Episodes); var recentlyAddedLog = new HashSet<RecentlyAddedLog>(); foreach (var p in plexContent) { if (!p.HasTheMovieDb) { continue; } if (p.Type == MediaType.Movie) { recentlyAddedLog.Add(new RecentlyAddedLog { AddedAt = DateTime.Now, Type = RecentlyAddedType.Plex, ContentId = int.Parse(p.TheMovieDbId), ContentType = ContentType.Parent }); } else { // Add the episodes foreach (var ep in p.Episodes) { if (!ep.Series.HasTvDb) { continue; } recentlyAddedLog.Add(new RecentlyAddedLog { AddedAt = DateTime.Now, Type = RecentlyAddedType.Plex, ContentId = int.Parse(ep.Series.TvDbId), ContentType = ContentType.Episode, EpisodeNumber = ep.EpisodeNumber, SeasonNumber = ep.SeasonNumber }); } } } foreach (var e in embyContent) { if (e.TheMovieDbId.IsNullOrEmpty()) { continue; } if (e.Type == MediaType.Movie) { recentlyAddedLog.Add(new RecentlyAddedLog { AddedAt = DateTime.Now, Type = RecentlyAddedType.Emby, ContentId = int.Parse(e.TheMovieDbId), ContentType = ContentType.Parent }); } else { // Add the episodes foreach (var ep in e.Episodes) { if (ep.Series.TvDbId.IsNullOrEmpty()) { continue; } recentlyAddedLog.Add(new RecentlyAddedLog { AddedAt = DateTime.Now, Type = RecentlyAddedType.Emby, ContentId = int.Parse(ep.Series.TvDbId), ContentType = ContentType.Episode, EpisodeNumber = ep.EpisodeNumber, SeasonNumber = ep.SeasonNumber }); } } } foreach (var e in jellyfinContent) { if (e.TheMovieDbId.IsNullOrEmpty()) { continue; } if (e.Type == MediaType.Movie) { recentlyAddedLog.Add(new RecentlyAddedLog { AddedAt = DateTime.Now, Type = RecentlyAddedType.Jellyfin, ContentId = int.Parse(e.TheMovieDbId), ContentType = ContentType.Parent }); } else { // Add the episodes foreach (var ep in e.Episodes) { if (ep.Series.TvDbId.IsNullOrEmpty()) { continue; } recentlyAddedLog.Add(new RecentlyAddedLog { AddedAt = DateTime.Now, Type = RecentlyAddedType.Jellyfin, ContentId = int.Parse(ep.Series.TvDbId), ContentType = ContentType.Episode, EpisodeNumber = ep.EpisodeNumber, SeasonNumber = ep.SeasonNumber }); } } } await _recentlyAddedLog.AddRange(recentlyAddedLog); return true; } private IEnumerable<RecentlyAddedTvModel> GetRecentlyAddedTv(IQueryable<PlexServerContent> plexTv, IQueryable<EmbyContent> embyTv, IQueryable<JellyfinContent> jellyfinTv, bool groupBySeason) { var model = new HashSet<RecentlyAddedTvModel>(); TransformPlexShows(plexTv, model); TransformEmbyShows(embyTv, model); TransformJellyfinShows(jellyfinTv, model); if (groupBySeason) { return model.DistinctBy(x => x.SeasonNumber); } return model; } private IEnumerable<RecentlyAddedMovieModel> GetRecentlyAddedMovies(IQueryable<PlexServerContent> plexMovies, IQueryable<EmbyContent> embyMovies, IQueryable<JellyfinContent> jellyfinMovies) { var model = new HashSet<RecentlyAddedMovieModel>(); TransformPlexMovies(plexMovies, model); TransformEmbyMovies(embyMovies, model); TransformJellyfinMovies(jellyfinMovies, model); return model; } private static void TransformEmbyMovies(IQueryable<EmbyContent> embyMovies, HashSet<RecentlyAddedMovieModel> model) { foreach (var emby in embyMovies) { model.Add(new RecentlyAddedMovieModel { Id = emby.Id, ImdbId = emby.ImdbId, TheMovieDbId = emby.TheMovieDbId, TvDbId = emby.TvDbId, AddedAt = emby.AddedAt, Title = emby.Title, }); } } private static void TransformJellyfinMovies(IQueryable<JellyfinContent> jellyfinMovies, HashSet<RecentlyAddedMovieModel> model) { foreach (var jellyfin in jellyfinMovies) { model.Add(new RecentlyAddedMovieModel { Id = jellyfin.Id, ImdbId = jellyfin.ImdbId, TheMovieDbId = jellyfin.TheMovieDbId, TvDbId = jellyfin.TvDbId, AddedAt = jellyfin.AddedAt, Title = jellyfin.Title, }); } } private static void TransformPlexMovies(IQueryable<PlexServerContent> plexMovies, HashSet<RecentlyAddedMovieModel> model) { foreach (var plex in plexMovies) { model.Add(new RecentlyAddedMovieModel { Id = plex.Id, ImdbId = plex.ImdbId, TheMovieDbId = plex.TheMovieDbId, AddedAt = plex.AddedAt, Title = plex.Title, Quality = plex.Quality, ReleaseYear = plex.ReleaseYear }); } } private static void TransformPlexShows(IQueryable<PlexServerContent> plexShows, HashSet<RecentlyAddedTvModel> model) { foreach (var plex in plexShows) { foreach (var season in plex.Seasons) { foreach (var episode in plex.Episodes) { model.Add(new RecentlyAddedTvModel { Id = plex.Id, ImdbId = plex.ImdbId, TheMovieDbId = plex.TheMovieDbId, AddedAt = plex.AddedAt, Title = plex.Title, Quality = plex.Quality, ReleaseYear = plex.ReleaseYear, TvDbId = plex.TvDbId, EpisodeNumber = episode.EpisodeNumber, SeasonNumber = season.SeasonNumber }); } } } } private static void TransformEmbyShows(IQueryable<EmbyContent> embyShows, HashSet<RecentlyAddedTvModel> model) { foreach (var emby in embyShows) { foreach (var episode in emby.Episodes) { model.Add(new RecentlyAddedTvModel { Id = emby.Id, ImdbId = emby.ImdbId, TvDbId = emby.TvDbId, TheMovieDbId = emby.TheMovieDbId, AddedAt = emby.AddedAt, Title = emby.Title, EpisodeNumber = episode.EpisodeNumber, SeasonNumber = episode.SeasonNumber }); } } } private static void TransformJellyfinShows(IQueryable<JellyfinContent> jellyfinShows, HashSet<RecentlyAddedTvModel> model) { foreach (var jellyfin in jellyfinShows) { foreach (var episode in jellyfin.Episodes) { model.Add(new RecentlyAddedTvModel { Id = jellyfin.Id, ImdbId = jellyfin.ImdbId, TvDbId = jellyfin.TvDbId, TheMovieDbId = jellyfin.TheMovieDbId, AddedAt = jellyfin.AddedAt, Title = jellyfin.Title, EpisodeNumber = episode.EpisodeNumber, SeasonNumber = episode.SeasonNumber }); } } } } } ```
The IBM 7040 was a historic but short-lived model of transistor computer built in the 1960s. History It was announced by IBM in December 1961, but did not ship until April 1963. A later member of the IBM 700/7000 series of scientific computers, it was a scaled-down version of the IBM 7090. It was not fully compatible with the 7090. Some 7090 features, including index registers, character instructions and floating point, were extra-cost options. It also featured a different input/output architecture, based on the IBM 1414 data synchronizer, allowing more modern IBM peripherals to be used. A model designed to be compatible with the 7040 with more performance was announced as the 7044 at the same time. Peter Fagg headed the development of the 7040 under executive Bob O. Evans. A number of IBM 7040 and 7044 computers were shipped, but it was eventually made obsolete by the IBM System/360 family, announced in 1964. The schedule delays caused by IBM's multiple incompatible architectures provided motivation for the unified System/360 family. The 7040 proved popular for use at universities, due to its comparatively low price. For example, one was installed in May 1965 at Columbia University. One of the first in Canada was at the University of Waterloo, bought by professor J. Wesley Graham. A team of students was frustrated with the slow performance of the Fortran compiler. In the summer of 1965 they wrote the WATFOR compiler for their 7040, which became popular with many newly formed computer science departments. IBM also offered the 7040 (or 7044) as an input-output processor attached to a 7090, in a configuration known as the 7090/7040 Direct Coupled System (DCS). Each computer was slightly modified to be able to interrupt the other. IBM used similar numbers for a model of its eServer pSeries 690 RS/6000 architecture much later. The 7040-681, for example, was withdrawn in 2005. See also List of IBM products IBM mainframe History of IBM References External links 7040 7 7040 36-bit computers ja:IBM 7040
```go package migrations import "embed" //go:embed * var FS embed.FS ```
The 2012 Finnish Figure Skating Championships () took place between December 16 and 18, 2011 at the Tampereen Jäähalli in Tampere. Skaters competed in the disciplines of men's singles, ladies' singles, and ice dancing on the senior and junior levels. The results were one of the criteria used to choose the Finnish teams to the 2012 World Championships, 2012 European Championships, and 2012 World Junior Championships. Senior results Men Ladies Ice dance External links Official site 2012 Finnish Championships results Finnish Figure Skating Championships Finnish Figure Skating Championships, 2012 2011 in figure skating 2011 in Finnish sport Finnish Figure Skating Championships, 2012
Chemical Valley may refer to: The chemical industry in Kanawha Valley, West Virginia, US The chemical industry in Sarnia, Ontario, Canada; see Environmental impact of the chemical industry in Sarnia
```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 =========================================================================== */ #include "../client/snd_local.h" #include "win_local.h" extern cvar_t *s_khz; static qboolean dsound_init; static qboolean SNDDMA_InitDS( void ); // Visual Studio 2012+ or MINGW #if ( _MSC_VER >= 1700 ) || defined(MINGW) #ifndef USE_WASAPI #define USE_WASAPI 1 #endif #endif #if USE_WASAPI static qboolean wasapi_init; #include <mmreg.h> #include <mmdeviceapi.h> #include <audioclient.h> // Ugly hack to detect Win10 without manifest // path_to_url#xx5080848xx typedef LONG( WINAPI *RtlGetVersionPtr )( RTL_OSVERSIONINFOEXW* ); static qboolean IsWindows7OrGreater( void ) { RtlGetVersionPtr rtl_get_version_f = NULL; HMODULE ntdll = GetModuleHandle( T( "ntdll" ) ); RTL_OSVERSIONINFOEXW osver; if ( !ntdll ) return qfalse; // will never happen rtl_get_version_f = (RtlGetVersionPtr)GetProcAddress( ntdll, "RtlGetVersion" ); if ( !rtl_get_version_f ) return qfalse; // will never happen osver.dwOSVersionInfoSize = sizeof( RTL_OSVERSIONINFOEXW ); if ( rtl_get_version_f( &osver ) == 0 ) { if ( osver.dwMajorVersion >= 7 ) return qtrue; } return qfalse; } UINT32 bufferFrameCount; UINT32 bufferPosition; // in fullsamples UINT32 bufferSampleSize; static int inPlay; static HANDLE hEvent; static HANDLE hThread; static CRITICAL_SECTION cs; // to lock mixer thread during buffer painting #ifndef AUDCLNT_STREAMFLAGS_RATEADJUST #define AUDCLNT_STREAMFLAGS_RATEADJUST 0x00100000 #endif const GUID IID_IUnknown = { 0x00000000, 0x0000, 0x0000, { 0xC0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x46 } }; const GUID IID_IAudioClient = { 0x1CB9AD4C, 0xDBFA, 0x4c32, { 0xB1, 0x78, 0xC2, 0xF5, 0x68, 0xA7, 0x03, 0xB2 } }; const GUID IID_IAudioRenderClient = { 0xF294ACFC, 0x3146, 0x4483, { 0xA7, 0xBF, 0xAD, 0xDC, 0xA7, 0xC2, 0x60, 0xE2 } }; const GUID CLSID_MMDeviceEnumerator = { 0xBCDE0395, 0xE52F, 0x467C, { 0x8E, 0x3D, 0xC4, 0x57, 0x92, 0x91, 0x69, 0x2E } }; const GUID IID_IMMNotificationClient = { 0x7991EEC9, 0x7E89, 0x4D85, { 0x83, 0x90, 0x6C, 0x70, 0x3C, 0xEC, 0x60, 0xC0 } }; const GUID IID_IMMDeviceEnumerator = { 0xA95664D2, 0x9614, 0x4F35, { 0xA7, 0x46, 0xDE, 0x8D, 0xB6, 0x36, 0x17, 0xE6 } }; const GUID PcmSubformatGuid = { 0x00000001, 0x0000, 0x0010, { 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71 } }; const GUID FloatSubformatGuid = { 0x00000003, 0x0000, 0x0010, { 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71 } }; static LPWSTR DeviceID = NULL; static qboolean doSndRestart = qfalse; static IAudioRenderClient *iAudioRenderClient = NULL; static IAudioClient *iAudioClient = NULL; static IMMDeviceEnumerator *pEnumerator = NULL; static IMMDevice *iMMDevice = NULL; static void initFormat( WAVEFORMATEXTENSIBLE *wave, int nChannels, int nSamples, int nBits ) { Com_Memset( wave, 0, sizeof( *wave ) ); // wave->Format.wFormatTag = WAVE_FORMAT_EXTENSIBLE; wave->Format.wFormatTag = WAVE_FORMAT_PCM; wave->Format.nChannels = nChannels; wave->Format.nSamplesPerSec = nSamples; wave->Format.nBlockAlign = (nChannels * nBits) / 8; wave->Format.nAvgBytesPerSec = nSamples * ( nChannels * nBits ) / 8; wave->Format.wBitsPerSample = nBits; if ( wave->Format.wFormatTag == WAVE_FORMAT_EXTENSIBLE ) { wave->Format.cbSize = sizeof( WAVEFORMATEXTENSIBLE ) - sizeof( WAVEFORMATEX ); wave->Samples.wValidBitsPerSample = nBits; if ( nBits == 32 ) memcpy( &wave->SubFormat, &FloatSubformatGuid, sizeof( GUID ) ); else memcpy( &wave->SubFormat, &PcmSubformatGuid, sizeof( GUID ) ); } } // Sound mixer thread static DWORD WINAPI ThreadProc( HANDLE hInited ) { HANDLE( WINAPI *pAvSetMmThreadCharacteristicsW )( _In_ LPCWSTR TaskName, _Inout_ LPDWORD TaskIndex ); BOOL( WINAPI *pAvRevertMmThreadCharacteristics )( _In_ HANDLE AvrtHandle ); BYTE *pData; DWORD taskIndex; HANDLE th; DWORD dwOffset; DWORD dwRes; UINT32 samples, n; HRESULT hr; UINT32 numFramesAvailable; HMODULE hAVRT; // execution starts in main thread context // Ask MMCSS to temporarily boost our thread priority to reduce glitches while the low-latency stream plays th = NULL; taskIndex = 0; pAvSetMmThreadCharacteristicsW = NULL; pAvRevertMmThreadCharacteristics = NULL; hAVRT = LoadLibraryW( L"avrt" ); if ( hAVRT ) { pAvSetMmThreadCharacteristicsW = (void*)GetProcAddress( hAVRT, "AvSetMmThreadCharacteristicsW" ); pAvRevertMmThreadCharacteristics = (void*)GetProcAddress( hAVRT, "AvRevertMmThreadCharacteristics" ); if ( pAvRevertMmThreadCharacteristics && pAvSetMmThreadCharacteristicsW ) { th = pAvSetMmThreadCharacteristicsW( L"Pro Audio", &taskIndex ); if ( th == NULL ) { Com_Printf( S_COLOR_YELLOW "WASAPI: thread priority setup failed\n" ); goto err_exit; } } else { Com_Printf( S_COLOR_RED "WASAPI: failed to load avrt.dll\n" ); } } if ( com_developer->integer ) { REFERENCE_TIME streamLatency; if ( iAudioClient->lpVtbl->GetStreamLatency( iAudioClient, &streamLatency ) != S_OK ) { Com_Printf( S_COLOR_YELLOW "WASAPI: GetStreamLatency() failed\n" ); goto err_exit; } Com_Printf( S_COLOR_CYAN "WASAPI stream latency: %ims\n", (int)( streamLatency / 10000 ) ); } inPlay = 1; bufferPosition = 0; numFramesAvailable = bufferFrameCount; if ( iAudioRenderClient->lpVtbl->GetBuffer( iAudioRenderClient, numFramesAvailable, &pData ) != S_OK ) { Com_Printf( S_COLOR_YELLOW "WASAPI GetBuffer failed\n" ); goto err_exit; } if ( iAudioRenderClient->lpVtbl->ReleaseBuffer( iAudioRenderClient, numFramesAvailable, AUDCLNT_BUFFERFLAGS_SILENT ) != S_OK ) { Com_Printf( S_COLOR_YELLOW "WASAPI ReleaseBuffer failed\n" ); goto err_exit; } // Start audio playback if ( iAudioClient->lpVtbl->Start( iAudioClient ) != S_OK ) { Com_Printf( S_COLOR_YELLOW "WASAPI playback start failed\n" ); goto err_exit; } // return control to the main thread SetEvent( hInited ); hInited = NULL; // execution continues in async mixer thread, we can't use Com_Printf anymore for ( ;; ) { dwRes = WaitForSingleObject( hEvent, INFINITE ); if ( !inPlay || dwRes != WAIT_OBJECT_0 ) break; if ( iAudioClient->lpVtbl->GetCurrentPadding( iAudioClient, &numFramesAvailable ) != S_OK ) continue; numFramesAvailable = bufferFrameCount - numFramesAvailable; if ( numFramesAvailable == 0 ) continue; hr = iAudioRenderClient->lpVtbl->GetBuffer( iAudioRenderClient, numFramesAvailable, &pData ); if ( hr == S_OK ) { dwOffset = 0; samples = numFramesAvailable; EnterCriticalSection( &cs ); // fill pData with numFramesAvailable do { if ( bufferPosition + samples > dma.fullsamples ) n = dma.fullsamples - bufferPosition; else n = samples; Com_Memcpy( pData + dwOffset, dma.buffer + bufferPosition * bufferSampleSize, n * bufferSampleSize ); dwOffset += n * bufferSampleSize; bufferPosition = ( bufferPosition + n ) & ( dma.fullsamples - 1 ); samples -= n; } while ( samples ); LeaveCriticalSection( &cs ); iAudioRenderClient->lpVtbl->ReleaseBuffer( iAudioRenderClient, numFramesAvailable, 0 ); } } iAudioClient->lpVtbl->Stop( iAudioClient ); err_exit: if ( hAVRT ) { if ( pAvRevertMmThreadCharacteristics && th != NULL ) pAvRevertMmThreadCharacteristics( th ); FreeLibrary( hAVRT ); } inPlay = 0; bufferPosition = 0; if ( hInited ) SetEvent( hInited ); return 0; } static BOOL ValidFormat( const WAVEFORMATEXTENSIBLE *format, const WORD wFormatTag, const GUID *SubFormat ) { if ( format->Format.wFormatTag == wFormatTag ) { return TRUE; } if ( format->Format.wFormatTag == WAVE_FORMAT_EXTENSIBLE ) { if ( memcmp( &format->SubFormat, SubFormat, sizeof( GUID ) ) == 0 ) { return TRUE; } } return FALSE; } typedef struct NotificationClient_s { const IMMNotificationClientVtbl *lpVtbl; LONG refcount; } NotificationClient_t; static HRESULT STDMETHODCALLTYPE QueryInterface( IMMNotificationClient *this, REFIID riid, VOID **ppvInterface ) { if ( !memcmp( riid, &IID_IUnknown, sizeof( GUID ) ) || !memcmp( riid, &IID_IMMNotificationClient, sizeof( GUID ) ) ) { *ppvInterface = (void**)this; this->lpVtbl->AddRef( this ); return S_OK; } else { *ppvInterface = NULL; return E_NOINTERFACE; } } static ULONG STDMETHODCALLTYPE AddRef( IMMNotificationClient *this ) { NotificationClient_t *cl = (NotificationClient_t *) this; return InterlockedIncrement( &cl->refcount ); } static ULONG STDMETHODCALLTYPE Release( IMMNotificationClient *this ) { NotificationClient_t *cl = (NotificationClient_t *) this; return InterlockedDecrement( &cl->refcount ); } static HRESULT STDMETHODCALLTYPE OnDefaultDeviceChanged( IMMNotificationClient *this, EDataFlow flow, ERole role, LPCWSTR pwstrDeviceId ) { if ( flow == eRender && role == eMultimedia ) { doSndRestart = qtrue; } return S_OK; } static HRESULT STDMETHODCALLTYPE OnDeviceAdded( IMMNotificationClient *this, LPCWSTR pwstrDeviceId ) { return S_OK; } static HRESULT STDMETHODCALLTYPE OnDeviceRemoved( IMMNotificationClient *this, LPCWSTR pwstrDeviceId ) { return S_OK; } static HRESULT STDMETHODCALLTYPE OnDeviceStateChanged( IMMNotificationClient *this, LPCWSTR pwstrDeviceId, DWORD dwNewState ) { if ( DeviceID && wcscmp( DeviceID, pwstrDeviceId ) == 0 ) { if ( dwNewState == DEVICE_STATE_ACTIVE ) { doSndRestart = qtrue; } else // DEVICE_STATE_DISABLED, DEVICE_STATE_NOTPRESENT, DEVICE_STATE_UNPLUGGED { inPlay = 0; // do not waste CPU cycles, terminate mixer thread } } return S_OK; } static HRESULT STDMETHODCALLTYPE OnPropertyValueChanged( IMMNotificationClient *this, LPCWSTR pwstrDeviceId, const PROPERTYKEY key ) { //MessageBox( 0, "PropertyValueChanged", "", MB_ICONWARNING ); return S_OK; } static const IMMNotificationClientVtbl notification_client_vtbl = { QueryInterface, AddRef, Release, OnDeviceStateChanged, OnDeviceAdded, OnDeviceRemoved, OnDefaultDeviceChanged, OnPropertyValueChanged }; static NotificationClient_t notification_client = { &notification_client_vtbl, 1 }; static qboolean SNDDMA_InitWASAPI( void ) { static byte buffer[ 64 * 1024 ]; DWORD dwStreamFlags = AUDCLNT_STREAMFLAGS_EVENTCALLBACK; WAVEFORMATEXTENSIBLE desiredFormat; WAVEFORMATEXTENSIBLE *closest = NULL; DWORD dwThreadID; HANDLE hInited; qboolean isfloat; HRESULT hr; InitializeCriticalSection( &cs ); hr = CoCreateInstance( &CLSID_MMDeviceEnumerator, 0, CLSCTX_ALL, &IID_IMMDeviceEnumerator, (void **) &pEnumerator ); if ( hr != S_OK ) { Com_Printf( S_COLOR_YELLOW "WASAPI: CoCreateInstance() failed\n" ); goto error1; } hr = pEnumerator->lpVtbl->RegisterEndpointNotificationCallback( pEnumerator, (IMMNotificationClient*) &notification_client ); if ( hr != S_OK ) { Com_Printf( S_COLOR_YELLOW "WASAPI: RegisterEndpointNotificationCallback() failed\n" ); goto error2; } hr = pEnumerator->lpVtbl->GetDefaultAudioEndpoint( pEnumerator, eRender, eMultimedia, &iMMDevice ); if ( hr != S_OK ) { Com_Printf( S_COLOR_YELLOW "WASAPI: GetDefaultAudioEndpoint() failed\n" ); goto error2; } if ( DeviceID ) // release old device id if exists { CoTaskMemFree( DeviceID ); DeviceID = NULL; } iMMDevice->lpVtbl->GetId( iMMDevice, &DeviceID ); hr = iMMDevice->lpVtbl->Activate( iMMDevice, &IID_IAudioClient, CLSCTX_ALL, 0, (void **)&iAudioClient ); if ( hr != S_OK ) { Com_Printf( S_COLOR_YELLOW "WASAPI: audio client activation failed\n" ); goto error3; } dma.channels = 2; dma.samplebits = 16; switch ( s_khz->integer ) { case 48: dma.speed = 48000; break; case 44: dma.speed = 44100; break; case 11: dma.speed = 11025; break; case 8: dma.speed = 8000; break; case 22: default: dma.speed = 22050; break; }; initFormat( &desiredFormat, dma.channels, dma.speed, dma.samplebits ); #if 0 iAudioClient->lpVtbl->GetMixFormat( iAudioClient, (WAVEFORMATEX**) &mixFormat ); if ( mixFormat ) { Com_Printf( "MIX FORMAT\n" ); Com_Printf( "subformat: %x-%x-%x-%x\n", mixFormat->SubFormat.Data1, mixFormat->SubFormat.Data2, mixFormat->SubFormat.Data3, mixFormat->SubFormat.Data4 ); Com_Printf( "channels: %i\n", mixFormat->Format.nChannels ); Com_Printf( "samples per sec: %i\n", mixFormat->Format.nSamplesPerSec ); Com_Printf( "bits per sample: %i\n", mixFormat->Format.wBitsPerSample ); } #endif hr = iAudioClient->lpVtbl->IsFormatSupported( iAudioClient, AUDCLNT_SHAREMODE_SHARED, (const WAVEFORMATEX *) &desiredFormat, (WAVEFORMATEX **) &closest ); if ( hr != S_OK ) { if ( closest ) { Com_Memcpy( &desiredFormat, closest, closest->Format.wFormatTag == WAVE_FORMAT_EXTENSIBLE ? sizeof( WAVEFORMATEXTENSIBLE ) : sizeof( WAVEFORMATEX ) ); CoTaskMemFree( closest ); } else { Com_Printf( S_COLOR_YELLOW "WASAPI: desired format is not supported\n" ); goto error3; } } // check if format is supported if ( desiredFormat.Format.nChannels != 1 && desiredFormat.Format.nChannels != 2 ) { Com_Printf( S_COLOR_YELLOW "WASAPI: unsupported channel count %i\n", desiredFormat.Format.nChannels ); goto error3; } switch ( desiredFormat.Format.wBitsPerSample ) { case 8: case 16: if ( !ValidFormat( &desiredFormat, WAVE_FORMAT_PCM, &PcmSubformatGuid ) ) { Com_Printf( S_COLOR_YELLOW "WASAPI: unsupported format for %i-bit samples\n", desiredFormat.Format.wBitsPerSample ); goto error3; } isfloat = qfalse; break; case 32: if ( !ValidFormat( &desiredFormat, WAVE_FORMAT_IEEE_FLOAT, &FloatSubformatGuid ) ) { Com_Printf( S_COLOR_YELLOW "WASAPI: unsupported format for %i-bit samples\n", desiredFormat.Format.wBitsPerSample ); goto error3; } isfloat = qtrue; break; default: Com_Printf( S_COLOR_YELLOW "WASAPI: unsupported sample count %i\n", desiredFormat.Format.wBitsPerSample ); goto error3; } if ( desiredFormat.Format.nSamplesPerSec != (DWORD) dma.speed ) { if ( !IsWindows7OrGreater() ) { // Windows7+ is required for AUDCLNT_STREAMFLAGS_RATEADJUST // we don't bother about Vista support and fall back to DirectSound goto error3; } // use wasapi resampler Com_DPrintf( "WASAPI resample from %iHz to %iHz\n", dma.speed, (int)desiredFormat.Format.nSamplesPerSec ); desiredFormat.Format.nSamplesPerSec = dma.speed; desiredFormat.Format.nAvgBytesPerSec = dma.speed * desiredFormat.Format.nBlockAlign; dwStreamFlags |= AUDCLNT_STREAMFLAGS_RATEADJUST; } if ( com_developer->integer ) { // this is only for information, we will not use returned value in any way // because we will call Initialize() with hnsBufferDuration=0 to select minimal buffer size REFERENCE_TIME defDuration; iAudioClient->lpVtbl->GetDevicePeriod( iAudioClient, &defDuration, NULL ); Com_Printf( S_COLOR_CYAN "WASAPI buffer duration: %i.%i millisecons\n", (int)(defDuration / 10000), (int)(( ( defDuration + 500 ) / 1000 ) % 10) ); } // initialize sound device with desired format in shared mode hr = iAudioClient->lpVtbl->Initialize( iAudioClient, AUDCLNT_SHAREMODE_SHARED, dwStreamFlags, 0, 0, (WAVEFORMATEX *) &desiredFormat, 0 ); if ( hr != S_OK ) { Com_Printf( S_COLOR_YELLOW "WASAPI: Initialize() failed\n" ); goto error4; } hEvent = CreateEvent( NULL, FALSE, FALSE, NULL ); if ( hEvent == NULL ) { Com_Printf( S_COLOR_YELLOW "WASAPI: CreateEvent( hEvent ) failed\n" ); goto error4; } // get the actual size of the audio buffer if ( iAudioClient->lpVtbl->GetBufferSize( iAudioClient, &bufferFrameCount ) != S_OK ) { Com_Printf( S_COLOR_YELLOW "WASAPI: GetBufferSize() failed\n" ); goto error5; } Com_DPrintf( "WASAPI buffer frame count: %i\n", bufferFrameCount ); dma.submission_chunk = 1; dma.buffer = buffer; dma.isfloat = isfloat; dma.channels = desiredFormat.Format.nChannels; dma.speed = desiredFormat.Format.nSamplesPerSec; dma.samplebits = desiredFormat.Format.wBitsPerSample; dma.fullsamples = log2pad( bufferFrameCount * 8, 1 ); while ( dma.fullsamples * desiredFormat.Format.nBlockAlign > sizeof( buffer ) ) dma.fullsamples >>= 1; if ( dma.fullsamples < bufferFrameCount ) { Com_Printf( S_COLOR_YELLOW "WASAPI: static sound buffer is too small\n" ); goto error5; } dma.samples = dma.fullsamples * dma.channels; bufferPosition = 0; // in fullsamples bufferSampleSize = desiredFormat.Format.nBlockAlign; if ( iAudioClient->lpVtbl->SetEventHandle( iAudioClient, hEvent ) != S_OK ) { Com_Printf( S_COLOR_YELLOW "WASAPI: SetEventHandle() failed\n" ); goto error5; } if ( iAudioClient->lpVtbl->GetService( iAudioClient, &IID_IAudioRenderClient, (void**)&iAudioRenderClient ) != S_OK ) { Com_Printf( S_COLOR_YELLOW "WASAPI: GetService() failed\n" ); iAudioRenderClient = NULL; goto error5; } // additional event to synchronize thread creation hInited = CreateEvent( NULL, FALSE, FALSE, NULL ); if ( hInited == NULL ) { Com_Printf( S_COLOR_YELLOW "WASAPI: CreateEvent( hInited ) failed\n" ); goto error6; } hThread = CreateThread( NULL, 4096, (LPTHREAD_START_ROUTINE)ThreadProc, hInited, 0, &dwThreadID ); if ( hThread == NULL ) { Com_Printf( S_COLOR_YELLOW "WASAPI: CreateThread( hThread ) failed\n" ); goto error7; } WaitForSingleObject( hInited, INFINITE ); CloseHandle( hInited ); hInited = NULL; if ( inPlay ) return qtrue; Com_Printf( S_COLOR_YELLOW "WASAPI: mixer thread startup failed\n" ); error7: if ( hInited ) CloseHandle( hInited ); hInited = NULL; error6: iAudioRenderClient->lpVtbl->Release( iAudioRenderClient ); iAudioRenderClient = NULL; error5: CloseHandle( hEvent ); hEvent = NULL; error4: iAudioClient->lpVtbl->Release( iAudioClient ); iAudioClient = NULL; error3: iMMDevice->lpVtbl->Release( iMMDevice ); iMMDevice = NULL; error2: if ( DeviceID ) CoTaskMemFree( DeviceID ); DeviceID = NULL; if ( notification_client.lpVtbl->QueryInterface ) { pEnumerator->lpVtbl->UnregisterEndpointNotificationCallback( pEnumerator, (IMMNotificationClient *)&notification_client ); } pEnumerator->lpVtbl->Release( pEnumerator ); pEnumerator = NULL; error1: DeleteCriticalSection( &cs ); Com_Memset( &dma, 0, sizeof( dma ) ); dma.channels = 1; // to avoid division-by-zero in S_GetSoundtime() return qfalse; } static void Done_WASAPI( void ) { inPlay = 0; // break mixer loop if ( hEvent ) SetEvent( hEvent ); if ( hThread ) { WaitForSingleObject( hThread, INFINITE ); CloseHandle( hThread ); hThread = NULL; } //error6: iAudioRenderClient->lpVtbl->Release( iAudioRenderClient ); iAudioRenderClient = NULL; //error5: if ( hEvent ) CloseHandle( hEvent ); hEvent = NULL; //error4: iAudioClient->lpVtbl->Release( iAudioClient ); iAudioClient = NULL; //error3: iMMDevice->lpVtbl->Release( iMMDevice ); iMMDevice = NULL; //error2: if ( DeviceID ) CoTaskMemFree( DeviceID ); DeviceID = NULL; pEnumerator->lpVtbl->UnregisterEndpointNotificationCallback( pEnumerator, (IMMNotificationClient *) &notification_client ); pEnumerator->lpVtbl->Release( pEnumerator ); pEnumerator = NULL; // error1: DeleteCriticalSection( &cs ); } #endif // USE_WASAPI HRESULT (WINAPI *pDirectSoundCreate)(GUID FAR *lpGUID, LPDIRECTSOUND FAR *lplpDS, IUnknown FAR *pUnkOuter); #define iDirectSoundCreate(a,b,c) pDirectSoundCreate(a,b,c) #define SECONDARY_BUFFER_SIZE 0x10000 static int sample16; static DWORD gSndBufSize; static DWORD locksize; static LPDIRECTSOUND pDS; static LPDIRECTSOUNDBUFFER pDSBuf, pDSPBuf; static HINSTANCE hInstDS; static const char *DSoundError( int error ) { switch ( error ) { case DSERR_BUFFERLOST: return "DSERR_BUFFERLOST"; case DSERR_INVALIDCALL: return "DSERR_INVALIDCALLS"; case DSERR_INVALIDPARAM: return "DSERR_INVALIDPARAM"; case DSERR_PRIOLEVELNEEDED: return "DSERR_PRIOLEVELNEEDED"; } return "unknown"; } /* ================== SNDDMA_Shutdown ================== */ void SNDDMA_Shutdown( void ) { Com_DPrintf( "Shutting down sound system\n" ); #if USE_WASAPI if ( wasapi_init ) { Done_WASAPI(); } #endif if ( pDS ) { Com_DPrintf( "Destroying DS buffers\n" ); if ( pDS ) { Com_DPrintf( "...setting NORMAL coop level\n" ); pDS->lpVtbl->SetCooperativeLevel( pDS, g_wv.hWnd, DSSCL_PRIORITY ); } if ( pDSBuf ) { Com_DPrintf( "...stopping and releasing sound buffer\n" ); pDSBuf->lpVtbl->Stop( pDSBuf ); pDSBuf->lpVtbl->Release( pDSBuf ); } // only release primary buffer if it's not also the mixing buffer we just released if ( pDSPBuf && ( pDSBuf != pDSPBuf ) ) { Com_DPrintf( "...releasing primary buffer\n" ); pDSPBuf->lpVtbl->Release( pDSPBuf ); } pDSBuf = NULL; pDSPBuf = NULL; Com_DPrintf( "...releasing DS object\n" ); pDS->lpVtbl->Release( pDS ); } if ( hInstDS ) { Com_DPrintf( "...freeing DSOUND.DLL\n" ); FreeLibrary( hInstDS ); hInstDS = NULL; } pDS = NULL; pDSBuf = NULL; pDSPBuf = NULL; dsound_init = qfalse; #if USE_WASAPI wasapi_init = qfalse; #endif memset( &dma, 0, sizeof( dma ) ); CoUninitialize(); } /* ================== SNDDMA_Init Initialize direct sound Returns false if failed ================== */ qboolean SNDDMA_Init( void ) { #if USE_WASAPI const char *defdrv; cvar_t *s_driver; if ( IsWindows7OrGreater() ) defdrv = "wasapi"; else defdrv = "dsound"; s_driver = Cvar_Get( "s_driver", defdrv, CVAR_LATCH | CVAR_ARCHIVE_ND ); Cvar_SetDescription( s_driver, "Specify sound subsystem in win32 environment:\n" " dsound - DirectSound\n" " wasapi - WASAPI\n" ); #endif memset( &dma, 0, sizeof( dma ) ); dsound_init = qfalse; #if USE_WASAPI wasapi_init = qfalse; #endif if ( CoInitialize( NULL ) != S_OK ) { return qfalse; } #if USE_WASAPI if ( Q_stricmp( s_driver->string, "wasapi" ) == 0 && SNDDMA_InitWASAPI() ) { dma.driver = "WASAPI"; wasapi_init = qtrue; return qtrue; } #endif if ( SNDDMA_InitDS() ) { dma.driver = "DirectSound"; dsound_init = qtrue; return qtrue; } else { dma.channels = 1; // to avoid division-by-zero in S_GetSoundTime() } Com_DPrintf( "Failed\n" ); return qfalse; } #undef DEFINE_GUID #define DEFINE_GUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \ const GUID name \ = { l, w1, w2, { b1, b2, b3, b4, b5, b6, b7, b8 } } // DirectSound Component GUID {47D4D946-62E8-11CF-93BC-444553540000} DEFINE_GUID(CLSID_DirectSound, 0x47d4d946, 0x62e8, 0x11cf, 0x93, 0xbc, 0x44, 0x45, 0x53, 0x54, 0x0, 0x0); // DirectSound 8.0 Component GUID {3901CC3F-84B5-4FA4-BA35-AA8172B8A09B} DEFINE_GUID(CLSID_DirectSound8, 0x3901cc3f, 0x84b5, 0x4fa4, 0xba, 0x35, 0xaa, 0x81, 0x72, 0xb8, 0xa0, 0x9b); DEFINE_GUID(IID_IDirectSound8, 0xC50A7E93, 0xF395, 0x4834, 0x9E, 0xF6, 0x7F, 0xA9, 0x9D, 0xE5, 0x09, 0x66); DEFINE_GUID(IID_IDirectSound, 0x279AFA83, 0x4981, 0x11CE, 0xA5, 0x21, 0x00, 0x20, 0xAF, 0x0B, 0xE5, 0x60); static qboolean SNDDMA_InitDS( void ) { HRESULT hresult; DSBUFFERDESC dsbuf; DSBCAPS dsbcaps; WAVEFORMATEX format; int use8; Com_Printf( "Initializing DirectSound\n" ); use8 = 1; // Create IDirectSound using the primary sound device if( FAILED( hresult = CoCreateInstance(&CLSID_DirectSound8, NULL, CLSCTX_INPROC_SERVER, &IID_IDirectSound8, (void **)&pDS))) { use8 = 0; if( FAILED( hresult = CoCreateInstance(&CLSID_DirectSound, NULL, CLSCTX_INPROC_SERVER, &IID_IDirectSound, (void **)&pDS))) { Com_Printf ("failed\n"); SNDDMA_Shutdown(); return qfalse; } } hresult = pDS->lpVtbl->Initialize( pDS, NULL); Com_DPrintf( "ok\n" ); Com_DPrintf("...setting DSSCL_PRIORITY coop level: " ); if ( DS_OK != pDS->lpVtbl->SetCooperativeLevel( pDS, g_wv.hWnd, DSSCL_PRIORITY ) ) { Com_Printf ("failed\n"); SNDDMA_Shutdown(); return qfalse; } Com_DPrintf("ok\n" ); // create the secondary buffer we'll actually work with dma.channels = 2; dma.samplebits = 16; switch ( s_khz->integer ) { case 48: dma.speed = 48000; break; case 44: dma.speed = 44100; break; case 11: dma.speed = 11025; break; case 22: default: dma.speed = 22050; break; }; memset( &format, 0, sizeof( format ) ); format.wFormatTag = WAVE_FORMAT_PCM; format.nChannels = dma.channels; format.wBitsPerSample = dma.samplebits; format.nSamplesPerSec = dma.speed; format.nBlockAlign = format.nChannels * format.wBitsPerSample / 8; format.cbSize = 0; format.nAvgBytesPerSec = format.nSamplesPerSec*format.nBlockAlign; memset( &dsbuf, 0, sizeof( dsbuf ) ); dsbuf.dwSize = sizeof(DSBUFFERDESC); // Micah: take advantage of 2D hardware.if available. dsbuf.dwFlags = DSBCAPS_LOCHARDWARE | DSBCAPS_GLOBALFOCUS; if (use8) { dsbuf.dwFlags |= DSBCAPS_GETCURRENTPOSITION2; } dsbuf.dwBufferBytes = SECONDARY_BUFFER_SIZE; dsbuf.lpwfxFormat = &format; memset(&dsbcaps, 0, sizeof(dsbcaps)); dsbcaps.dwSize = sizeof(dsbcaps); Com_DPrintf( "...creating secondary buffer: " ); if (DS_OK == pDS->lpVtbl->CreateSoundBuffer(pDS, &dsbuf, &pDSBuf, NULL)) { Com_Printf( "locked hardware. ok\n" ); } else { // Couldn't get hardware, fallback to software. dsbuf.dwFlags = DSBCAPS_LOCSOFTWARE | DSBCAPS_GLOBALFOCUS; if (use8) { dsbuf.dwFlags |= DSBCAPS_GETCURRENTPOSITION2; } if (DS_OK != pDS->lpVtbl->CreateSoundBuffer(pDS, &dsbuf, &pDSBuf, NULL)) { Com_Printf( "failed\n" ); SNDDMA_Shutdown(); return qfalse; } Com_DPrintf( "forced to software. ok\n" ); } // Make sure mixer is active if ( DS_OK != pDSBuf->lpVtbl->Play(pDSBuf, 0, 0, DSBPLAY_LOOPING) ) { Com_Printf ("*** Looped sound play failed ***\n"); SNDDMA_Shutdown(); return qfalse; } // get the returned buffer size if ( DS_OK != pDSBuf->lpVtbl->GetCaps (pDSBuf, &dsbcaps) ) { Com_Printf ("*** GetCaps failed ***\n"); SNDDMA_Shutdown(); return qfalse; } gSndBufSize = dsbcaps.dwBufferBytes; dma.isfloat = qfalse; dma.channels = format.nChannels; dma.samplebits = format.wBitsPerSample; dma.speed = format.nSamplesPerSec; dma.samples = gSndBufSize/(dma.samplebits/8); dma.fullsamples = dma.samples / dma.channels; dma.submission_chunk = 1; dma.buffer = NULL; // must be locked first sample16 = (dma.samplebits/8) - 1; SNDDMA_BeginPainting(); if ( dma.buffer ) memset( dma.buffer, 0, dma.samples * dma.samplebits/8 ); SNDDMA_Submit(); return qtrue; } /* ============== SNDDMA_GetDMAPos return the current sample WRITE position (in mono samples) inside the recirculating dma buffer, so the mixing code will know how many sample are required to fill it up. =============== */ int SNDDMA_GetDMAPos( void ) { #if USE_WASAPI if ( wasapi_init ) { // restart sound system if needed if ( doSndRestart ) { Done_WASAPI(); Com_DPrintf( "WASAPI: restart due to device configuration changes\n" ); wasapi_init = SNDDMA_InitWASAPI(); doSndRestart = qfalse; } return ( bufferPosition * dma.channels ) & ( dma.samples - 1 ); } #endif if ( dsound_init ) { DWORD dwWriteCursor; // write position is the only safe position to start update pDSBuf->lpVtbl->GetCurrentPosition( pDSBuf, NULL, &dwWriteCursor ); return ( dwWriteCursor >> sample16 ) & ( dma.samples - 1 ); } return 0; } /* ============== SNDDMA_BeginPainting Makes sure dma.buffer is valid =============== */ void SNDDMA_BeginPainting( void ) { int reps; DWORD dwSize2; DWORD *pbuf, *pbuf2; HRESULT hresult; DWORD dwStatus; #if USE_WASAPI if ( wasapi_init ) { EnterCriticalSection( &cs ); return; } #endif if ( !pDSBuf ) { return; } // if the buffer was lost or stopped, restore it and/or restart it if ( pDSBuf->lpVtbl->GetStatus (pDSBuf, &dwStatus) != DS_OK ) { Com_Printf ("Couldn't get sound buffer status\n"); } if (dwStatus & DSBSTATUS_BUFFERLOST) pDSBuf->lpVtbl->Restore (pDSBuf); if (!(dwStatus & DSBSTATUS_PLAYING)) pDSBuf->lpVtbl->Play(pDSBuf, 0, 0, DSBPLAY_LOOPING); // lock the dsound buffer reps = 0; dma.buffer = NULL; while ((hresult = pDSBuf->lpVtbl->Lock(pDSBuf, 0, gSndBufSize, (LPVOID)&pbuf, &locksize, (LPVOID)&pbuf2, &dwSize2, 0)) != DS_OK) { if (hresult != DSERR_BUFFERLOST) { Com_Printf( "SNDDMA_BeginPainting: Lock failed with error '%s'\n", DSoundError( hresult ) ); S_Shutdown(); return; } else { pDSBuf->lpVtbl->Restore( pDSBuf ); } if (++reps > 2) return; } dma.buffer = (byte *)pbuf; } /* ============== SNDDMA_Submit Send sound to device if buffer isn't really the dma buffer Also unlocks the dsound buffer =============== */ void SNDDMA_Submit( void ) { #if USE_WASAPI if ( wasapi_init ) { LeaveCriticalSection( &cs ); return; } #endif // unlock the dsound buffer if ( pDSBuf ) { pDSBuf->lpVtbl->Unlock(pDSBuf, dma.buffer, locksize, NULL, 0); } } /* ================= SNDDMA_Activate When we change windows we need to do this ================= */ void SNDDMA_Activate( void ) { #if USE_WASAPI if ( wasapi_init ) { if ( inPlay == 0 ) { doSndRestart = qtrue; } return; } #endif if ( !pDS ) { return; } if ( DS_OK != pDS->lpVtbl->SetCooperativeLevel( pDS, g_wv.hWnd, DSSCL_PRIORITY ) ) { Com_Printf( "sound SetCooperativeLevel failed\n" ); SNDDMA_Shutdown(); } } ```
This is a list of radio stations that operate and broadcast from the state of Zacatecas. Fresnillo, Zac. Amplitude Modulation Frecuency Modulation Jalpa, Zac. Amplitude Modulation Frequency Modulation Jerez de García Salinas, Zac. Frequency Modulation Rio Grande, Zac. Frequency Modulation Tlaltenango, Zac. Amplitude Modulation Frequency Modulation Zacatecas, Zac. Frequency Modulation Closing stations All the AM stations that appear here requested their frequency change to broadcast on FM. Fresnillo, Zac. Amplitude Modulation Zacatecas, Zac. Amplitude Modulation Defunct formats Fresnillo, Zac. Amplitude Modulation Data before the AM station starts FM broadcasts. Frequency Modulation Zacatecas
McRae Williams (born October 23, 1990) is an American freestyle skier who competes internationally. He competed for the United States at the FIS Freestyle Ski and Snowboarding World Championships 2017 in Sierra Nevada, Spain, where he won a gold medal in Slopestyle. McRae represented the United States in slopestyle at the 2018 Winter Olympics in PyeongChang, where he finished 15th. During the summer, Williams can be found at Mt. Hood, Oregon, where he hosts a Takeover Session at Windells Camp. References External links 1990 births Living people American male freestyle skiers Olympic freestyle skiers for the United States Freestyle skiers at the 2018 Winter Olympics
```xml <?xml version="1.0" encoding="utf-8"?> <!DOCTYPE TS> <TS version="2.1" language="zh_CN" sourcelanguage="en_US"> <context> <name>ArrowToolOptionsBox</name> <message> <source>Pick:</source> <translation>:</translation> </message> <message> <source>Position</source> <translation></translation> </message> <message> <source>X:</source> <translation>:</translation> </message> <message> <source>Y:</source> <translation>:</translation> </message> <message> <source>Z:</source> <translation>:</translation> </message> <message> <source>SO:</source> <translation>:</translation> </message> <message> <source>Rotation</source> <translation></translation> </message> <message> <source>Scale</source> <translation></translation> </message> <message> <source>Global:</source> <translation>:</translation> </message> <message> <source>H:</source> <translation>:</translation> </message> <message> <source>V:</source> <translation>:</translation> </message> <message> <source>Maintain:</source> <translation>:</translation> </message> <message> <source>Shear</source> <translation></translation> </message> <message> <source>Center</source> <translation type="vanished"></translation> </message> <message> <source>Lock</source> <translation type="vanished"></translation> </message> <message> <source>(</source> <translation>(</translation> </message> <message> <source>)</source> <translation>)</translation> </message> <message> <source>Center Position</source> <translation></translation> </message> <message> <source>Position:</source> <translation>:</translation> </message> <message> <source>Rotation:</source> <translation>:</translation> </message> <message> <source>Table</source> <translation></translation> </message> <message> <source>Flip Object Horizontally</source> <translation></translation> </message> <message> <source>Flip Object Vertically</source> <translation></translation> </message> <message> <source>Rotate Object Left</source> <translation></translation> </message> <message> <source>Rotate Object Right</source> <translation></translation> </message> </context> <context> <name>BrushTool</name> <message> <source>Thickness</source> <translation type="vanished"></translation> </message> <message> <source>Hardness:</source> <translation type="vanished">:</translation> </message> <message> <source>Accuracy:</source> <translation type="vanished">:</translation> </message> <message> <source>Selective</source> <translation type="vanished"></translation> </message> <message> <source>Preset:</source> <translation type="vanished">:</translation> </message> <message> <source>Break Sharp Angles</source> <translation type="vanished"></translation> </message> <message> <source>Pencil Mode</source> <translation type="vanished"></translation> </message> <message> <source>Pressure Sensitivity</source> <translation type="vanished"></translation> </message> <message> <source>Cap</source> <translation type="vanished"></translation> </message> <message> <source>Join</source> <translation type="vanished"></translation> </message> <message> <source>Miter:</source> <translation type="vanished">:</translation> </message> <message> <source>Size</source> <translation type="vanished"></translation> </message> <message> <source>Break</source> <translation type="vanished"></translation> </message> <message> <source>Pencil</source> <translation type="vanished"></translation> </message> <message> <source>Pressure</source> <translation type="vanished"></translation> </message> <message> <source>Smooth:</source> <translation type="vanished">:</translation> </message> <message> <source>Range:</source> <translation type="vanished">:</translation> </message> <message> <source>Snap</source> <translation type="vanished"></translation> </message> <message> <source>&lt;custom&gt;</source> <translation type="vanished">&lt;&gt;</translation> </message> <message> <source>Off</source> <translation type="vanished"></translation> </message> <message> <source>Linear</source> <translation type="vanished"></translation> </message> <message> <source>In</source> <translation type="vanished"></translation> </message> <message> <source>Out</source> <translation type="vanished"></translation> </message> <message> <source>In&amp;Out</source> <translation type="vanished">&amp;</translation> </message> <message> <source>Low</source> <translation type="vanished"></translation> </message> <message> <source>High</source> <translation type="vanished"></translation> </message> <message> <source>Butt cap</source> <translation type="vanished"></translation> </message> <message> <source>Round cap</source> <translation type="vanished"></translation> </message> <message> <source>Projecting cap</source> <translation type="vanished"></translation> </message> <message> <source>Miter join</source> <translation type="vanished"></translation> </message> <message> <source>Round join</source> <translation type="vanished"></translation> </message> <message> <source>Bevel join</source> <translation type="vanished"></translation> </message> <message> <source>Med</source> <translation type="vanished"></translation> </message> <message> <source>Draw Order:</source> <translation type="vanished">:</translation> </message> <message> <source>Over All</source> <translation type="vanished"></translation> </message> <message> <source>Under All</source> <translation type="vanished"></translation> </message> <message> <source>Palette Order</source> <translation type="vanished"></translation> </message> </context> <context> <name>BrushToolOptionsBox</name> <message> <source>Preset Name</source> <translation></translation> </message> <message> <source>OK</source> <translation></translation> </message> <message> <source>Cancel</source> <translation></translation> </message> </context> <context> <name>ControlPointEditorTool</name> <message> <source>Auto Select Drawing</source> <translation></translation> </message> <message> <source>Snap</source> <translation></translation> </message> <message> <source>Type:</source> <translation>:</translation> </message> <message> <source>Rectangular</source> <translation></translation> </message> <message> <source>Freehand</source> <translation></translation> </message> <message> <source>Low</source> <translation></translation> </message> <message> <source>Med</source> <translation></translation> </message> <message> <source>High</source> <translation></translation> </message> </context> <context> <name>ControlPointSelection</name> <message> <source>Set Linear Control Point</source> <translation></translation> </message> <message> <source>Set Nonlinear Control Point</source> <translation></translation> </message> </context> <context> <name>DVGui::StyleIndexLineEdit</name> <message> <source>current</source> <translation></translation> </message> </context> <context> <name>EditTool</name> <message> <source>Scale Constraint:</source> <translation>:</translation> </message> <message> <source>Auto Select Column</source> <translation></translation> </message> <message> <source>Global Key</source> <translation></translation> </message> <message> <source>Lock Center X</source> <translation>()</translation> </message> <message> <source>Lock Center Y</source> <translation>()</translation> </message> <message> <source>Lock Position X</source> <translation>()</translation> </message> <message> <source>Lock Position Y</source> <translation>()</translation> </message> <message> <source>Lock Rotation</source> <translation></translation> </message> <message> <source>Lock Shear H</source> <translation>()</translation> </message> <message> <source>Lock Shear V</source> <translation>()</translation> </message> <message> <source>Lock Scale H</source> <translation>()</translation> </message> <message> <source>Lock Scale V</source> <translation>()</translation> </message> <message> <source>Lock Global Scale</source> <translation>()</translation> </message> <message> <source>X and Y Positions</source> <translation></translation> </message> <message> <source>Z Position</source> <translation></translation> </message> <message> <source>SO</source> <translation></translation> </message> <message> <source>Rotation</source> <translation></translation> </message> <message> <source>Global Scale</source> <translation></translation> </message> <message> <source>Horizontal and Vertical Scale</source> <translation></translation> </message> <message> <source>Shear</source> <translation></translation> </message> <message> <source>Center Position</source> <translation></translation> </message> <message> <source>Active Axis</source> <translation></translation> </message> <message> <source>None</source> <translation></translation> </message> <message> <source>A/R</source> <translation></translation> </message> <message> <source>Mass</source> <translation></translation> </message> <message> <source>Column</source> <translation></translation> </message> <message> <source>Pegbar</source> <translation></translation> </message> <message> <source>Position</source> <translation></translation> </message> <message> <source>Scale</source> <translation></translation> </message> <message> <source>Center</source> <translation></translation> </message> <message> <source>All</source> <translation></translation> </message> </context> <context> <name>EraserTool</name> <message> <source>Size:</source> <translation>:</translation> </message> <message> <source>Hardness:</source> <translation>:</translation> </message> <message> <source>Type:</source> <translation>:</translation> </message> <message> <source>Mode:</source> <translation>:</translation> </message> <message> <source>Selective</source> <translation></translation> </message> <message> <source>Invert</source> <translation></translation> </message> <message> <source>Frame Range</source> <translation></translation> </message> <message> <source>Pencil Mode</source> <translation></translation> </message> <message> <source>Normal</source> <translation></translation> </message> <message> <source>Rectangular</source> <translation></translation> </message> <message> <source>Freehand</source> <translation></translation> </message> <message> <source>Polyline</source> <translation></translation> </message> <message> <source>Lines</source> <translation></translation> </message> <message> <source>Areas</source> <translation></translation> </message> <message> <source>Lines &amp; Areas</source> <translation></translation> </message> <message> <source>Segment</source> <translation></translation> </message> <message> <source>Linear</source> <translation></translation> </message> <message> <source>Ease In</source> <translation></translation> </message> <message> <source>Ease Out</source> <translation></translation> </message> <message> <source>Ease In/Out</source> <translation>/</translation> </message> </context> <context> <name>FillTool</name> <message> <source>Frame Range</source> <translation></translation> </message> <message> <source>Type:</source> <translation>:</translation> </message> <message> <source>Selective</source> <translation></translation> </message> <message> <source>Mode:</source> <translation>:</translation> </message> <message> <source>Onion Skin</source> <translation></translation> </message> <message> <source>Fill Depth</source> <translation></translation> </message> <message> <source>Segment</source> <translation></translation> </message> <message> <source>Lines</source> <translation></translation> </message> <message> <source>Areas</source> <translation></translation> </message> <message> <source>Lines &amp;&amp; Areas</source> <translation type="vanished"></translation> </message> <message> <source>Normal</source> <translation></translation> </message> <message> <source>Rectangular</source> <translation></translation> </message> <message> <source>Freehand</source> <translation></translation> </message> <message> <source>Polyline</source> <translation></translation> </message> <message> <source>Autopaint Lines</source> <translation></translation> </message> <message> <source>Lines &amp; Areas</source> <translation></translation> </message> <message> <source>Maximum Gap</source> <translation></translation> </message> <message> <source>Pick+Freehand</source> <translation>+</translation> </message> </context> <context> <name>FingerTool</name> <message> <source>Size:</source> <translation>:</translation> </message> <message> <source>Invert</source> <translation></translation> </message> </context> <context> <name>FullColorBrushTool</name> <message> <source>Thickness</source> <translation type="vanished"></translation> </message> <message> <source>Pressure Sensitivity</source> <translation type="vanished"></translation> </message> <message> <source>Opacity:</source> <translation type="vanished">:</translation> </message> <message> <source>Hardness:</source> <translation>:</translation> </message> <message> <source>Preset:</source> <translation>:</translation> </message> <message> <source>Size</source> <translation></translation> </message> <message> <source>Pressure</source> <translation></translation> </message> <message> <source>Opacity</source> <translation></translation> </message> <message> <source>Eraser</source> <translation></translation> </message> <message> <source>Lock Alpha</source> <translation></translation> </message> <message> <source>&lt;custom&gt;</source> <translation>&lt;&gt;</translation> </message> </context> <context> <name>FullColorEraserTool</name> <message> <source>Size:</source> <translation>:</translation> </message> <message> <source>Opacity:</source> <translation>:</translation> </message> <message> <source>Hardness:</source> <translation>:</translation> </message> <message> <source>Type:</source> <translation>:</translation> </message> <message> <source>Invert</source> <translation></translation> </message> <message> <source>Frame Range</source> <translation></translation> </message> <message> <source>Normal</source> <translation></translation> </message> <message> <source>Rectangular</source> <translation></translation> </message> <message> <source>Freehand</source> <translation></translation> </message> <message> <source>Polyline</source> <translation></translation> </message> </context> <context> <name>FullColorFillTool</name> <message> <source>Fill Depth</source> <translation></translation> </message> </context> <context> <name>HandToolOptionsBox</name> <message> <source>Reset Position</source> <translation></translation> </message> </context> <context> <name>HookTool</name> <message> <source>Snap</source> <translation></translation> </message> </context> <context> <name>MagnetTool</name> <message> <source>Size:</source> <translation>:</translation> </message> </context> <context> <name>PaintBrushTool</name> <message> <source>Size:</source> <translation>:</translation> </message> <message> <source>Mode:</source> <translation>:</translation> </message> <message> <source>Selective</source> <translation></translation> </message> <message> <source>Lines</source> <translation></translation> </message> <message> <source>Areas</source> <translation></translation> </message> <message> <source>Lines &amp; Areas</source> <translation></translation> </message> <message> <source>Lock Alpha</source> <translation></translation> </message> </context> <context> <name>PinchTool</name> <message> <source>Size:</source> <translation>:</translation> </message> <message> <source>Corner:</source> <translation>:</translation> </message> <message> <source>Manual</source> <translation></translation> </message> </context> <context> <name>PlasticTool</name> <message> <source>Build Skeleton</source> <translation></translation> </message> <message> <source>Paint Rigid</source> <translation></translation> </message> <message> <source>Animate</source> <translation></translation> </message> <message> <source>Rigid</source> <translation></translation> </message> <message> <source>Flex</source> <translation></translation> </message> <message> <source>Mode:</source> <translation>:</translation> </message> <message> <source>Vertex Name:</source> <translation>:</translation> </message> <message> <source>Allow Stretching</source> <translation></translation> </message> <message> <source>Thickness</source> <translation></translation> </message> <message> <source>Keep Distance</source> <translation></translation> </message> <message> <source>Global Key</source> <translation></translation> </message> <message> <source>A group of skeletons already exists for current column. Replacing it will also substitute any existing vertex animation. Do you want to continue?</source> <translation> </translation> </message> <message> <source>Ok</source> <translation></translation> </message> <message> <source>Cancel</source> <translation></translation> </message> <message> <source>Copy Skeleton</source> <translation></translation> </message> <message> <source>Paste Skeleton</source> <translation></translation> </message> <message> <source>Delete Vertex</source> <translation></translation> </message> <message> <source>Set Key</source> <translation></translation> </message> <message> <source>Set Rest Key</source> <translation></translation> </message> <message> <source>Set Global Key</source> <translation></translation> </message> <message> <source>Set Global Rest Key</source> <translation></translation> </message> <message> <source>Show Mesh</source> <translation></translation> </message> <message> <source>Show Rigidity</source> <translation></translation> </message> <message> <source>Show SO</source> <translation></translation> </message> <message> <source>Show Skeleton Onion Skin</source> <translation></translation> </message> <message> <source>The previous vertex name will be discarded, and all associated keys will be lost. Do you want to proceed?</source> <translation> </translation> </message> <message> <source>Edit Mesh</source> <translation></translation> </message> <message> <source>Snap To Mesh</source> <translation></translation> </message> <message> <source>Angle Bounds</source> <translation></translation> </message> <message> <source>Swap Edge</source> <translation></translation> </message> <message> <source>Collapse Edge</source> <translation></translation> </message> <message> <source>Split Edge</source> <translation></translation> </message> <message> <source>Cut Mesh</source> <translation></translation> </message> </context> <context> <name>PlasticToolOptionsBox</name> <message> <source>Create Mesh</source> <translation></translation> </message> <message> <source>Skeleton:</source> <translation>:</translation> </message> <message> <source>SO</source> <translation></translation> </message> <message> <source>Angle</source> <translation></translation> </message> <message> <source>Distance</source> <translation></translation> </message> </context> <context> <name>PrimitiveParam</name> <message> <source>Shape:</source> <translation>:</translation> </message> <message> <source>Thickness:</source> <translation>:</translation> </message> <message> <source>Opacity:</source> <translation>:</translation> </message> <message> <source>Hardness:</source> <translation>:</translation> </message> <message> <source>Polygon Sides:</source> <translation>:</translation> </message> <message> <source>Auto Group</source> <translation></translation> </message> <message> <source>Auto Fill</source> <translation></translation> </message> <message> <source>Selective</source> <translation></translation> </message> <message> <source>Pencil Mode</source> <translation></translation> </message> <message> <source>Cap</source> <translation></translation> </message> <message> <source>Join</source> <translation></translation> </message> <message> <source>Miter:</source> <translation>:</translation> </message> <message> <source>Size:</source> <translation>:</translation> </message> <message> <source>Snap</source> <translation></translation> </message> <message> <source>Rectangle</source> <translation></translation> </message> <message> <source>Circle</source> <translation></translation> </message> <message> <source>Ellipse</source> <translation></translation> </message> <message> <source>Line</source> <translation></translation> </message> <message> <source>Polyline</source> <translation></translation> </message> <message> <source>Arc</source> <translation></translation> </message> <message> <source>Polygon</source> <translation></translation> </message> <message> <source>Butt cap</source> <translation></translation> </message> <message> <source>Round cap</source> <translation></translation> </message> <message> <source>Projecting cap</source> <translation></translation> </message> <message> <source>Miter join</source> <translation></translation> </message> <message> <source>Round join</source> <translation></translation> </message> <message> <source>Bevel join</source> <translation></translation> </message> <message> <source>Low</source> <translation></translation> </message> <message> <source>High</source> <translation></translation> </message> <message> <source>Med</source> <translation></translation> </message> <message> <source>MultiArc</source> <translation></translation> </message> <message> <source>Smooth</source> <translation></translation> </message> <message> <source>Rotate</source> <translation></translation> </message> </context> <context> <name>PumpTool</name> <message> <source>Size:</source> <translation>:</translation> </message> <message> <source>Accuracy:</source> <translation>:</translation> </message> </context> <context> <name>QObject</name> <message> <source>Min:</source> <translation>:</translation> </message> <message> <source>Max:</source> <translation>:</translation> </message> <message> <source>Yes</source> <translation></translation> </message> <message> <source>No</source> <translation></translation> </message> <message> <source>The copied selection cannot be pasted in the current drawing.</source> <translation></translation> </message> <message> <source>The current column is locked.</source> <translation></translation> </message> <message> <source>The current column is not visible in Camera Stand.</source> <translation type="vanished"></translation> </message> <message> <source>It is not possible to edit the audio column.</source> <translation></translation> </message> <message> <source>It is not possible to edit the Magpie column.</source> <translation type="vanished"> MAGPIE </translation> </message> <message> <source>The current tool cannot be used on a Level column.</source> <translation></translation> </message> <message> <source>The current tool cannot be used on a Mesh column.</source> <translation></translation> </message> <message> <source>The current tool cannot be used in Level Strip mode.</source> <translation></translation> </message> <message> <source>The current tool cannot be used to edit a motion path.</source> <translation></translation> </message> <message> <source>The current level is not editable.</source> <translation></translation> </message> <message> <source>The current tool cannot be used on a Vector Level.</source> <translation></translation> </message> <message> <source>The current tool cannot be used on a Toonz Level.</source> <translation> Toonz </translation> </message> <message> <source>The current tool cannot be used on a Raster Level.</source> <translation></translation> </message> <message> <source>The current tool cannot be used on a Mesh Level.</source> <translation></translation> </message> <message> <source>The current tool cannot be used on a mesh-deformed level</source> <translation></translation> </message> <message> <source>The current frame is locked: any editing is forbidden.</source> <translation></translation> </message> <message> <source>Ok</source> <translation></translation> </message> <message> <source>Cancel</source> <translation></translation> </message> <message> <source>Paste</source> <translation></translation> </message> <message> <source>Move Center</source> <translation></translation> </message> <message> <source>RGB Picker (R%1, G%2, B%3)</source> <translation>RGB (R%1, G%2, B%3)</translation> </message> <message> <source>Group</source> <translation></translation> </message> <message> <source>Ungroup</source> <translation></translation> </message> <message> <source>Move Group</source> <translation></translation> </message> <message> <source>Modify Fx Gadget </source> <translation> </translation> </message> <message> <source>%1 Level : %2 Frame : %3</source> <translation>%1 : %2 : %3</translation> </message> <message> <source>Modify Stroke Tool</source> <translation></translation> </message> <message> <source>Modify Spline</source> <translation></translation> </message> <message> <source>Deform Raster</source> <translation></translation> </message> <message> <source>Transform Raster</source> <translation></translation> </message> <message> <source>Set Save Box : (X%1,Y%2,W%3,H%4)-&gt;(X%5,Y%6,W%7,H%8)</source> <translation>(X%1,Y%2,W%3,H%4)-&gt;(X%5,Y%6,W%7,H%8)</translation> </message> <message> <source>The current column is hidden.</source> <translation></translation> </message> <message> <source>Note columns can only be edited in the xsheet or timeline.</source> <translation></translation> </message> <message> <source> to Front</source> <translation> </translation> </message> <message> <source> to Forward</source> <translation> </translation> </message> <message> <source> to Back</source> <translation> </translation> </message> <message> <source> to Backward</source> <translation> </translation> </message> <message> <source>The selection cannot be updated. It is not editable.</source> <translation></translation> </message> <message> <source>The selection cannot be deleted. It is not editable.</source> <translation></translation> </message> <message> <source>The selection cannot be pasted. It is not editable.</source> <translation></translation> </message> <message> <source>The selection cannot be grouped. It is not editable.</source> <translation></translation> </message> <message> <source>The selection cannot be entered. It is not editable.</source> <translation></translation> </message> <message> <source>The selection cannot be ungrouped. It is not editable.</source> <translation></translation> </message> <message> <source>The selection cannot be moved. It is not editable.</source> <translation></translation> </message> <message> <source>Snap At Intersection</source> <translation></translation> </message> </context> <context> <name>RGBPickerTool</name> <message> <source>Type:</source> <translation>:</translation> </message> <message> <source>Passive Pick</source> <translation></translation> </message> <message> <source>Normal</source> <translation></translation> </message> <message> <source>Rectangular</source> <translation></translation> </message> <message> <source>Freehand</source> <translation></translation> </message> <message> <source>Polyline</source> <translation></translation> </message> </context> <context> <name>RGBPickerToolOptionsBox</name> <message> <source>Pick Screen</source> <translation></translation> </message> </context> <context> <name>RasterSelectionTool</name> <message> <source>No Antialiasing</source> <translation></translation> </message> <message> <source>Modify Savebox</source> <translation></translation> </message> </context> <context> <name>RasterTapeTool</name> <message> <source>Type:</source> <translation>:</translation> </message> <message> <source>Distance:</source> <translation>:</translation> </message> <message> <source>Style Index:</source> <translation>:</translation> </message> <message> <source>Opacity:</source> <translation>:</translation> </message> <message> <source>Frame Range</source> <translation></translation> </message> <message> <source>Angle:</source> <translation>:</translation> </message> <message> <source>Normal</source> <translation></translation> </message> <message> <source>Rectangular</source> <translation></translation> </message> <message> <source>Freehand</source> <translation></translation> </message> <message> <source>Polyline</source> <translation></translation> </message> <message> <source>current</source> <translation></translation> </message> </context> <context> <name>RotateTool</name> <message> <source>Rotate On Camera Center</source> <translation></translation> </message> </context> <context> <name>RotateToolOptionsBox</name> <message> <source>Reset Rotation</source> <translation></translation> </message> </context> <context> <name>RulerToolOptionsBox</name> <message> <source>X:</source> <comment>ruler tool option</comment> <translation>:</translation> </message> <message> <source>Y:</source> <comment>ruler tool option</comment> <translation>:</translation> </message> <message> <source>W:</source> <comment>ruler tool option</comment> <translation>:</translation> </message> <message> <source>H:</source> <comment>ruler tool option</comment> <translation>:</translation> </message> <message> <source>A:</source> <comment>ruler tool option</comment> <translation>:</translation> </message> <message> <source>L:</source> <comment>ruler tool option</comment> <translation>:</translation> </message> </context> <context> <name>SelectionTool</name> <message> <source>Type:</source> <translation>:</translation> </message> <message> <source>Rectangular</source> <translation></translation> </message> <message> <source>Freehand</source> <translation></translation> </message> <message> <source>Polyline</source> <translation></translation> </message> </context> <context> <name>SelectionToolOptionsBox</name> <message> <source>H:</source> <translation>:</translation> </message> <message> <source>V:</source> <translation>:</translation> </message> <message> <source>Rotation</source> <translation></translation> </message> <message> <source>X:</source> <translation>:</translation> </message> <message> <source>Y:</source> <translation>:</translation> </message> <message> <source>Thickness</source> <translation></translation> </message> <message> <source>Link</source> <translation></translation> </message> <message> <source>Scale</source> <translation></translation> </message> <message> <source>Position</source> <translation></translation> </message> <message> <source>Flip Selection Horizontally</source> <translation></translation> </message> <message> <source>Flip Selection Vertically</source> <translation></translation> </message> <message> <source>Rotate Selection Left</source> <translation></translation> </message> <message> <source>Rotate Selection Right</source> <translation></translation> </message> </context> <context> <name>ShiftTraceToolOptionBox</name> <message> <source>Reset Previous</source> <translation></translation> </message> <message> <source>Reset Following</source> <translation></translation> </message> <message> <source>Previous Drawing</source> <translation></translation> </message> <message> <source>Following Drawing</source> <translation></translation> </message> </context> <context> <name>SkeletonTool</name> <message> <source>Global Key</source> <translation></translation> </message> <message> <source>Show Only Active Skeleton</source> <translation></translation> </message> <message> <source>Mode:</source> <translation>:</translation> </message> <message> <source>Reset Pinned Center</source> <translation></translation> </message> <message> <source>Build Skeleton</source> <translation></translation> </message> <message> <source>Animate</source> <translation></translation> </message> <message> <source>Inverse Kinematics</source> <translation></translation> </message> </context> <context> <name>StylePickerTool</name> <message> <source>No current level.</source> <translation></translation> </message> <message> <source>Current level has no available palette.</source> <translation></translation> </message> <message> <source>Palette must have more than one palette to be organized.</source> <translation></translation> </message> <message> <source>Mode:</source> <translation>:</translation> </message> <message> <source>Passive Pick</source> <translation></translation> </message> <message> <source>Organize Palette</source> <translation></translation> </message> <message> <source>Lines</source> <translation></translation> </message> <message> <source>Areas</source> <translation></translation> </message> <message> <source>Lines &amp; Areas</source> <translation></translation> </message> </context> <context> <name>StylePickerToolOptionsBox</name> <message> <source>With this option being activated, the picked style will be moved to the end of the first page of the palette.</source> <translation></translation> </message> </context> <context> <name>ToonzRasterBrushTool</name> <message> <source>Size</source> <translation></translation> </message> <message> <source>Hardness:</source> <translation>:</translation> </message> <message> <source>Smooth:</source> <translation>:</translation> </message> <message> <source>Draw Order:</source> <translation>:</translation> </message> <message> <source>Over All</source> <translation></translation> </message> <message> <source>Under All</source> <translation></translation> </message> <message> <source>Palette Order</source> <translation></translation> </message> <message> <source>Preset:</source> <translation>:</translation> </message> <message> <source>&lt;custom&gt;</source> <translation>&lt;&gt;</translation> </message> <message> <source>Pencil</source> <translation></translation> </message> <message> <source>Pressure</source> <translation></translation> </message> <message> <source>Lock Alpha</source> <translation></translation> </message> </context> <context> <name>ToonzVectorBrushTool</name> <message> <source>Size</source> <translation></translation> </message> <message> <source>Accuracy:</source> <translation>:</translation> </message> <message> <source>Smooth:</source> <translation>:</translation> </message> <message> <source>Preset:</source> <translation>:</translation> </message> <message> <source>&lt;custom&gt;</source> <translation>&lt;&gt;</translation> </message> <message> <source>Break</source> <translation></translation> </message> <message> <source>Pressure</source> <translation></translation> </message> <message> <source>Cap</source> <translation></translation> </message> <message> <source>Join</source> <translation></translation> </message> <message> <source>Miter:</source> <translation>:</translation> </message> <message> <source>Range:</source> <translation>:</translation> </message> <message> <source>Snap</source> <translation></translation> </message> <message> <source>Off</source> <translation></translation> </message> <message> <source>Linear</source> <translation></translation> </message> <message> <source>In</source> <translation></translation> </message> <message> <source>Out</source> <translation></translation> </message> <message> <source>In&amp;Out</source> <translation>&amp;</translation> </message> <message> <source>Low</source> <translation></translation> </message> <message> <source>Med</source> <translation></translation> </message> <message> <source>High</source> <translation></translation> </message> <message> <source>Butt cap</source> <translation></translation> </message> <message> <source>Round cap</source> <translation></translation> </message> <message> <source>Projecting cap</source> <translation></translation> </message> <message> <source>Miter join</source> <translation></translation> </message> <message> <source>Round join</source> <translation></translation> </message> <message> <source>Bevel join</source> <translation></translation> </message> </context> <context> <name>TrackerTool</name> <message> <source>Width:</source> <translation>:</translation> </message> <message> <source>Height:</source> <translation>:</translation> </message> <message> <source>X:</source> <translation>:</translation> </message> <message> <source>Y:</source> <translation>:</translation> </message> </context> <context> <name>TypeTool</name> <message> <source>Font:</source> <translation>:</translation> </message> <message> <source>Style:</source> <translation>:</translation> </message> <message> <source>Vertical Orientation</source> <translation></translation> </message> <message> <source>Size:</source> <translation>:</translation> </message> </context> <context> <name>VectorSelectionTool</name> <message> <source>Mode:</source> <translation>:</translation> </message> <message> <source>Preserve Thickness</source> <translation></translation> </message> <message> <source>Cap</source> <translation></translation> </message> <message> <source>Join</source> <translation></translation> </message> <message> <source>Miter:</source> <translation>:</translation> </message> <message> <source>Standard</source> <translation></translation> </message> <message> <source>Selected Frames</source> <translation></translation> </message> <message> <source>Whole Level</source> <translation></translation> </message> <message> <source>Same Style</source> <translation></translation> </message> <message> <source>Same Style on Selected Frames</source> <translation></translation> </message> <message> <source>Same Style on Whole Level</source> <translation></translation> </message> <message> <source>Boundary Strokes</source> <translation></translation> </message> <message> <source>Boundaries on Selected Frames</source> <translation></translation> </message> <message> <source>Boundaries on Whole Level</source> <translation></translation> </message> <message> <source>Butt cap</source> <translation></translation> </message> <message> <source>Round cap</source> <translation></translation> </message> <message> <source>Projecting cap</source> <translation></translation> </message> <message> <source>Miter join</source> <translation></translation> </message> <message> <source>Round join</source> <translation></translation> </message> <message> <source>Bevel join</source> <translation></translation> </message> <message> <source>Include Intersection</source> <translation></translation> </message> </context> <context> <name>VectorTapeTool</name> <message> <source>Smooth</source> <translation></translation> </message> <message> <source>Join Vectors</source> <translation></translation> </message> <message> <source>Distance</source> <translation></translation> </message> <message> <source>Mode:</source> <translation>:</translation> </message> <message> <source>Type:</source> <translation>:</translation> </message> <message> <source>Endpoint to Endpoint</source> <translation></translation> </message> <message> <source>Endpoint to Line</source> <translation></translation> </message> <message> <source>Line to Line</source> <translation></translation> </message> <message> <source>Normal</source> <translation></translation> </message> <message> <source>Rectangular</source> <translation></translation> </message> </context> <context> <name>ZoomToolOptionsBox</name> <message> <source>Reset Zoom</source> <translation></translation> </message> </context> </TS> ```
```java package com.egzosn.pay.common.api; import java.util.Map; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.alibaba.fastjson.JSON; import com.egzosn.pay.common.bean.PayMessage; import com.egzosn.pay.common.bean.PayOutMessage; import com.egzosn.pay.common.exception.PayErrorException; /** * * * * @author egan * <pre> * email egzosn@gmail.com * date 2018-10-29 17:31:05 * </pre> */ public class DefaultPayMessageHandler implements PayMessageHandler<PayMessage, PayService> { protected final Logger LOG = LoggerFactory.getLogger(DefaultPayMessageHandler.class); /** * @param payMessage * @param context handlerinterceptor * @param payService * @return xml, textnull */ @Override public PayOutMessage handle(PayMessage payMessage, Map<String, Object> context, PayService payService) throws PayErrorException { if (LOG.isInfoEnabled()) { LOG.info("" + JSON.toJSONString(payMessage)); } return payService.successPayOutMessage(payMessage); } } ```
Jerry Brandt (January 29, 1938 – January 16, 2021) was an American entrepreneur, impresario, agent, manager, promoter, and club owner who was active since the 1960s. He is known for discovering Carly Simon and serving as her first manager, as well as for his work with Lori Petty. Life and career Born in Bensonhurst, Brooklyn, to a Jewish mother and Puerto Rican father, Brandt served in the U.S. Army and afterwards first worked as a messenger in the mailroom at the William Morris Agency. Within a few years, he moved up the ranks and became head of the pop music division. While working at William Morris, he discovered Chubby Checker, booked acts like The Beach Boys and Sonny & Cher, and brought The Rolling Stones to the USA. He also handled Sam Cooke, Dick Clark, and Muhammad Ali for theatrical events. In the 1970s, he managed glam rock artist Jobriath Boone, and in 2012, appeared in the documentary Jobriath A.D.. Contemporaneous with his management work, Brandt also opened, owned, and managed major music venues such as The Electric Circus (1967), The Ritz, and Spo-Dee-O-Dee, a Blues Club. In 1970 he left the Electric Circus and moved to Los Angeles where he opened the Paradise Ballroom with legendary financier Bernie Cornfeld. The club, an attempt to re-create The Electric Circus in Los Angeles, was a failure and Cornfeld closed the business. Brandt returned to New York where he subsequently produced the legendary flop Broadway musical Got Tu Go Disco, which closed in 1979 after nine previews and eight performances. In 1992, Brandt, along with Ron Delsener, Robin Leach, and Bob Krasnow, opened the Italian restaurant "Italica" at 220 East 46th St. which introduced "pizza by the meter." Personal life Brandt married actress Janet Margolin in August 1968. They divorced in 1971, following his arrest for marijuana in Toronto where he blamed Margolin for the narcotics found in his possession. Commenting on the marriage during a 1979 interview, Brandt said, "...being married to Janet was like being in the intensive care unit. In California she went to a shrink six days a week and I went three days. Finally, I said 'forget it.'" Following the closure of the Paradise Ballroom, Brandt left California, taking Cornfeld's girlfriend, Peggy Nestor, back to New York. Brandt died from COVID-19 and pneumonia-related causes in Miami Beach, Florida, during the COVID-19 pandemic in Florida. He was 82. References External links Jerry Brandt - A Helluva Life - book homepage. Jerry Brandt "It's A Short Walk From Brooklyn, If You Run" Presentation Video trailer for the book. Carly Simon for Brandtworks Records New York Magazine article June 25, 1979 Jerry Brandt, Whose Music Clubs Captured a Moment, Dies at 82 New York Times Obituary, Neil Genzlinger, Jan. 28, 2021 1938 births 2021 deaths American music managers People from Bensonhurst, Brooklyn Deaths from the COVID-19 pandemic in Florida
Peter J. Brust (November 4, 1869 – June 22, 1946) was an American architect, and fellow of the American Institute of Architects, who practiced his craft from approximately 1893 to 1946, in Milwaukee, Wisconsin. Brust designed hundreds of residential, ecclesiastical (churches, convents, chapels, monasteries, rectories, and seminaries), business, school, medical, public, memorial, recreation, and theater commissions. In 1906, Peter Brust partnered with Richard Philipp and formed the architecture firm of Brust & Philipp. By the 1920s, the firm was the largest architectural firm in Wisconsin. In 1938, Peter Brust established the firm of Brust & Brust with his sons John and Paul. The firm remained in that name until 1973 when it became Brust-Zimmerman. The residential designs of Peter Brust were overwhelmingly influenced by Old English architecture. Brust didn't intend to bring medieval architecture to Milwaukee, but rather bring the best of English tradition and infuse into his designs. The English influence on house design was felt across America from the 1880s into the 1940s. The Tudor Revival craze (influenced by wealthy Americans) hit Milwaukee in the 1920s and 1930s, which Brust & Phillip capitalized on. Brust's commissions have been placed on the National Register of Historic Places . In addition, numerous Brust commissions were featured in Western Architecture throughout the 1910s, 1920s, and 1930s. Works include (with attribution): St. Joseph's Chapel, 1501 South Layton Boulevard, Milwaukee, WI (Brust and Philipp), contributing building to the National Register-listed South Layton Boulevard Historic DistrictNRHP-listed Kohler Company Factory Complex, 444 Highland Dr., Kohler, WI (Brust and Philipp), NRHP-listed La Crosse State Teachers College Training School Building, 1615 State St., La Crosse, Wisconsin (Brust and Brust), NRHP-listed One or more works in Pearl and Grand Avenue Historic District, Pearl Ave. bounded by Grand Ave. and Franklin St. and portions of Pleasant and Division Sts., Mukwonago, WI (Brust & Brust), NRHP-listed South Branch Library, 931 W. Madison St., Milwaukee, WI (Brust, Peter), NRHP-listed External links Exploring Legacy of Architect Architect of Area Churches Highlighted in New Book Notes 1869 births 1946 deaths Architects from Milwaukee
Veris Residential, Inc. is a real estate investment trust headquartered in Jersey City, New Jersey, that invests primarily in residential real estate in New Jersey. As of December 31, 2022, it owned or had interests in 24 apartment complexes, 5 office buildings, 4 parking/retail properties, and two hotels. With the exception of a few properties in New York and Massachusetts, all of the properties are in New Jersey. The company was formerly known as Mack-Cali Realty Corporation. Investments Notable investments owned by the company include: Harborside, on the Hudson Waterfront in Jersey City, is a multi-building mixed-use development. In October 2016, the company unveiled plans to build Harborside 4, a 1.2 million-square-foot office tower, in a joint venture with SJP Properties. Marbella Apartments is the 17th tallest building in Jersey City. When it was completed in 2003, it was the tallest residential building in New Jersey. It is now ranked 26th on the list of tallest buildings in Jersey City. Jersey City Urby broke ground on January 15, 2014 with joint venture partner Ironstate Development Company to consist of 3 towers of 69 stories each containing 763 apartments, or 2,359 apartments in total. The first tower, Urby Harborside 1, was topped off in September 2015. History The company was founded in 1949 as Cali Associates by John J. Cali, Angelo R. Cali, and Edward Leshowitz. In the 1950s, Cali Associates was a developer of single family homes in northern New Jersey. In 1969, the company completed construction of its first office building, 14 Commerce Drive, in Cranford Business Park, Cranford, New Jersey. During the 1970s and 1980s, Cali Associates capitalized on increasing population and commerce in New Jersey by building 2.2 million square feet of class A office space. In August 1994, Cali Associates became a public company through an initial public offering of stock, and it changed its name to Cali Realty Corporation, under a management headed by Brant Cali, John R. Cali, and Thomas A. Rizk. In 1997, Cali Realty acquired the Robert Martin Company for $211 million in cash and 1,401,225 operating-partnership units, then valued at $44 million, and the assumption of $185 million of debt. The transaction added 65 properties and 4.1 million square feet to its portfolio, mostly in Westchester County, New York, and Connecticut. In 2019, Robert Martin re-acquired most of the portfolio from Mack-Cali for $487.5 million. In December 1997, Cali Realty Corporation completed a $1.2 billion merger with Patriot American Office Group and the Mack Company (founded by H. Bert Mack and operated by his four sons: Earle I. Mack, William L. Mack, Fredric H. Mack, and David S. Mack). The company changed its named to Mack-Cali Realty Corporation. At the time, this merger was the largest real estate investment trust transaction. Mitchell E. Hersh became a member of the board of directors in 1997. He became the chief executive officer (CEO) in 1999. In 2004, he became president of the company in addition to its CEO. In 1998, the company acquired $450 million worth of office properties, which boosted its holdings by 12%. It also bought properties in Washington D.C. and Maryland and properties in the Southwest. In 2006, the company acquired the Gale Company, a private real estate firm headquartered in New Jersey that owned 2.8 million-square-foot of office buildings. In 2012, the company acquired Roseland Partners, a property developer in New Jersey, for $134.6 million. It was developing the $120 million RiverTrace waterfront tower at Port Imperial, which was completed in October 2013. In 2013, the company sold 19 Skyline Drive for $17.5 million. In November 2014, Roseland opened Portside at East Pier in East Boston. The second phase, which includes 550 luxury residences and 70,000 square feet of retail space, opened in 2018. In 2015, Mitchell E. Rudin became CEO and Michael J. DeMarco became the company's president and chief operating officer. The same year, the company moved its headquarters to Jersey City. In December 2021, the company changed its name to Veris Residential, Inc. References 1994 initial public offerings Companies based in Jersey City, New Jersey Companies listed on the New York Stock Exchange Real estate companies established in 1997 Real estate investment trusts of the United States Residential real estate
The Monochrome Set are an English post-punk/new wave band, originally formed in London in January 1978. The most recent line-up consists of Bid, Andy Warren, Athen Ayren and Stephen Gilchrist. History Original band: 1978–1985 The Monochrome Set was formed in London in 1978 from the remnants of a college group called The B-Sides, whose members had included Stuart Goddard, later known as Adam Ant. Their first live gig was on 15 Feb 1978, at Westfield College in London. The original line-up consisted of Indian-born lead singer and principal songwriter Bid (real name Ganesh Seshadri), Canadian guitarist Lester Square (real name Thomas W.B. Hardy), drummer John D. Haney (formerly of The Art Attacks) and bass guitarist Charlie X. The band had two more bassists, Jeremy Harrington and Simon Croft, before Andy Warren of the Ants, a childhood friend of Bid, joined in late 1979.Morrissey and Johnny Marr of The Smiths were influenced by the band. Marr even stated that without them, the Smiths wouldn't have existed. Experimental filmmaker Tony Potts began collaborating with the band in 1979, designing lighting and stage sets with film projections for their live appearances. The band's early persona was defined by the shadowy, uncertain stage images created by the films to such an extent he is often described as being the band's "fifth member". They released several singles for the Rough Trade label before recording their debut studio album, Strange Boutique, produced by Bob Sargeant for Virgin Records' imprint DinDisc in 1980. It peaked at No. 62 in the UK Albums Chart in 1980. Their follow-up effort, Love Zombies, was produced by Alvin Clark and the band later that same year. Haney left the band in 1981, and was replaced by Lexington Crane. In 1982, the band switched labels to Cherry Red to release their third album, Eligible Bachelors, produced by Tim Hart. Square and Crane left soon afterwards, and were replaced by keyboardist Carrie Booth and drummer Nicholas Weslowski. This line-up recorded a 1982 single, "Cast a Long Shadow", for Cherry Red, before Booth was in turn replaced by new lead guitarist James 'Foz' Foster (later of David Devant & His Spirit Wife). In 1983, Cherry Red released Volume, Contrast, Brilliance..., a retrospective of the band's early Rough Trade singles, BBC and Capital Radio sessions, and other unreleased early sessions. In 1985, with the same line-up as on Cast a Long Shadow, The Monochrome Set recorded The Lost Weekend for Warner Bros. Records. The Lost Weekend failed commercially, and after a few singles, the band officially broke up, though they served as Jessica Griffin's backing band on the first album by the Would-Be-Goods, The Camera Loves Me in 1988. Nicholas aka Nick Wesolowski, drummer with the band in the 1980s, was also a photographer for él Records, a subsidiary of Cherry Red Records.He later worked in Risk Management. Reformed: 1990–1998 In early 1990, Bid, Square and Warren reformed the band, with the addition of keyboardist Orson Presence and drummer Mike Urban (then known as Mike Slocombe), who was replaced by Trevor Ready. The new band toured extensively, especially in Japan where they had become very popular. The band released five albums for Vinyl Japan/Cherry Red during the 1990s, before going on hiatus in 1998. Bid recorded a number of albums with his band, Scarlet's Well. The song, "He's Frank", appeared on the TV series Heroes. The recording used was a cover version of the original, recorded by the Brighton Port Authority (aka. Fatboy Slim) featuring Iggy Pop. 2008 reunion The band reunited on 8 October 2008 for a one-off performance at Cherry Red's 30th anniversary party at Dingwalls, London. It also marked the 30th anniversary of The Monochrome Set. Bid, Warren and Square were joined by Jennifer Denitto (drums) and Sian Chaffer (keyboards) of Scarlet's Well, and performed 13 songs. 2010 to present day In 2010, Bid, Square and Warren reformed the band, with the addition of drummer Jennifer Denitto from Scarlet's Well and keyboard player John Paul Moran. Following Bid's recovery from an aneurysm in late 2010, they played dates the following year in the United Kingdom, France, Germany, Spain, Greece, Japan and The Netherlands. The band continued to tour in the UK, Europe and Japan throughout 2012, playing material from their 10th studio album Platinum Coils (their first album since 1995's Trinity Road) as well as selections from their extensive back catalogue. In 2011 the band were joined by Helena Johansson from Scarlet's Well on violin and mandolin, replacing John Paul Moran, and Steve Brummell (formerly of the band Luxembourg) replaced Jennifer Denitto on drums. The band completed a short tour of the east coast of the US in spring of 2013 and released their 11th studio album, Super Plastic City in the autumn of the same year. Helena Johansson left the band in the summer of 2013. In 2014, they signed to the German record label Tapete and their 12th studio album, Spaces Everywhere was released in 2015. Guitarist Lester Square left the band in late 2014, after completing recording of the album, and former member John Paul Moran rejoined. Their thirteenth studio album, Cosmonaut, was released on the Tapete label in September 2016. Mike Urban, who had previously been in the band in 1990 and played on the Dante's Casino album, joined the band in September 2016, replacing Steve Brummell on drums. In 2018, the fortieth year since the band formed, their 14th studio album, Maisieworld and a box set, The Monochrome Set 1979–1985: Complete Recordings, were released. In 2019 they toured the United States again, playing for the first time on the west coast as well as the east and released their 15th studio album, Fabula Mendax in September that year. In mid 2021, John Paul Moran left the band, to be replaced by Athen Ayren, and the announcement of a new album, their 16th, to be released in Spring 2022. The new album, Allhallowtide, was released on 11 March 2022. Mike Urban left the band in September 2022 to be replaced by Stephen Gilchrist. In July 2023, Tapete Records released a compilation album, "The Monochrome Set, Radio Sessions Marc Riley BBC6 Music, 2011-2022" Band members Timeline Discography Strange Boutique (1980) Love Zombies (1980) Eligible Bachelors (1982) The Lost Weekend (1985) Dante's Casino (1990) Jack (1991) Charade (1993) Misère (1994) Trinity Road (1995) Platinum Coils (2012) Super Plastic City (2013) Spaces Everywhere (2015) Cosmonaut (2016) Maisieworld (2018) Fabula Mendax (2019) Allhallowtide (2022) References External links Official website The Monochrome Set at Trouser Press' website The Monochrome Set photos at New Wave Photos website English post-punk music groups English new wave musical groups Musical groups established in 1978 Musical groups from London Blanco y Negro Records artists Rough Trade Records artists Cherry Red Records artists Tapete Records artists
Meyrignac-l'Église (; ) is a commune in the Corrèze department in central France. The village is the smallest town ever to host the opening of a stage of the Tour de France in 1998. Population See also Communes of the Corrèze department References Communes of Corrèze
```javascript import ElProgress from './src/progress'; /* istanbul ignore next */ ElProgress.install = function(Vue) { Vue.component(ElProgress.name, ElProgress); }; export default ElProgress; ```
Owain ap Llywelyn ab y Moel (fl. 1470–1500) was a Welsh language poet from Powys. The son of poet and rebel Llywelyn ab y Moel, twenty six of Owain ap Llywelyn ab y Moel's cywyddau are extant. An English translation of Owain ap Llywelyn ab y Moel's ode (number 11), in praise of Cadwaladr ap Gruffudd o Fachelldref, is given at Welsh-Border Surnames from 'ab Edmond' where it is entitled "Bardic Poem". And for Fachelldref, see Bacheldre. Bibliography Eurys Rolant (ed.), Gwaith Owain ap Llywelyn ab y Moel (Cardiff, 1984). The standard edition of Owain's poetry. Welsh-language poets People from Powys 15th-century Welsh poets
Keloğlu is a village in the İnebolu District of Kastamonu Province in Turkey. Its population is 16 (2021). References Villages in İnebolu District
Wiraqucha (Quechua, hispanicized and mixed spellings Hueracocha, Hueraccocha, Huiracocha, Huiraccocha, Huirajocha, Viracocha, Wiraccocha, Wiracocha) may refer to: Viracocha, an Andean divinity Viracocha Inca, eighth Sapa Inka (emperor) of the Tawantinsuyu Wiraqucha (Cusco), a mountain in the Cusco Region, Peru Wiraqucha (Junín), a mountain in the Junín Region, Peru Wiraqucha Pirqa Luis Viracocha (born 1954) Viracocha Patera
```javascript /** * * * 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. */ define(["style/interface.scss", "data/Scores", "Tone/core/Transport", "interface/Loader"], function (interfaceStyle, Scores, Transport, Loader) { var PlayButton = function(container){ //the play button this._playButton = document.createElement("div"); this._playButton.id = "PlayPause"; this._playButton.classList.add("Button"); container.appendChild(this._playButton); this._playButton.addEventListener("click", this._play.bind(this)); //the midi file title this._midiButton = document.createElement("div"); this._midiButton.id = "Midi"; this._midiButton.classList.add("TextButton"); var xSpan = document.createElement("span"); var textSpan = document.createElement("span"); xSpan.innerHTML = ""; textSpan.classList.add("Text"); textSpan.innerHTML = "testfile.mid"; this._midiButton.appendChild(xSpan); this._midiButton.appendChild(textSpan); container.appendChild(this._midiButton); this._midiButton.addEventListener("click", this._clearMidiFile.bind(this)); //the prev button this._prevButton = document.createElement("div"); this._prevButton.id = "Previous"; this._prevButton.classList.add("Button"); this._prevButton.classList.add("ScoreButton"); this._prevButton.classList.add("icon-svg_left_arrow"); container.appendChild(this._prevButton); this._prevButton.addEventListener("click", this._selectScore.bind(this, -1)); //the next button this._nextButton = document.createElement("div"); this._nextButton.id = "Next"; this._nextButton.classList.add("Button"); this._nextButton.classList.add("ScoreButton"); this._nextButton.classList.add("icon-svg_right_arrow"); container.appendChild(this._nextButton); this._nextButton.addEventListener("click", this._selectScore.bind(this, 1)); this._scoreIndex = 0; this._setScoreControls(); //the callbacks this.onPlay = function(){}; this.onScore = function(){}; this._setPlayIcon(); //load the first score // this._loadScore(); }; PlayButton.prototype._clearMidiFile = function() { document.getElementById('PlayPause').classList.remove('Shifted'); document.querySelectorAll('#Previous, #Next').forEach(function(n) { n.classList.remove('Hidden') }); document.getElementById('Midi').classList.remove('Active'); this._loadScore(); this.onPlay(false); this.stop(); }; PlayButton.prototype._selectScore = function(move){ this._setPlayIcon(); this._scoreIndex += move; this._setScoreControls(); this._loadScore(Scores[this._scoreIndex]); }; PlayButton.prototype.stop = function(move){ this._setPlayIcon(); }; PlayButton.prototype._play = function(){ if (Transport.state === "started"){ Transport.stop(); this._setPlayIcon(); this.onPlay(false); } else { this._setPauseIcon(); Transport.start(); this.onPlay(true); } }; PlayButton.prototype._setPlayIcon = function(){ this._playButton.classList.remove("icon-svg_pause"); this._playButton.classList.add("icon-svg_play"); this._playButton.classList.remove("Active"); }; PlayButton.prototype._setPauseIcon = function(){ this._playButton.classList.add("icon-svg_pause"); this._playButton.classList.remove("icon-svg_play"); this._playButton.classList.add("Active"); }; PlayButton.prototype._loadScore = function(){ //pause before the score Transport.stop(); this.onPlay(false); var name = Scores[this._scoreIndex]; var loader = new Loader("score"); var xhr = new XMLHttpRequest(); xhr.open("GET", "./midi/" + name + ".json"); xhr.onreadystatechange = function () { if (xhr.readyState === 4) { if (xhr.status === 200) { var json = JSON.parse(xhr.responseText); loader.resolve(); this.onScore(json); } else { console.log('Error: ' + xhr.status); // An error occurred during the request. } } }.bind(this); xhr.send(null); }; PlayButton.prototype._setScoreControls = function(){ if (this._scoreIndex === 0){ this._prevButton.classList.add("Disabled"); } else { this._prevButton.classList.remove("Disabled"); } if (this._scoreIndex === Scores.length - 1){ this._nextButton.classList.add("Disabled"); } else { this._nextButton.classList.remove("Disabled"); } }; return PlayButton; }); ```
Daniel Hale is an American whistleblower and former intelligence analyst. Daniel or Danny Hale may also refer to: Daniel Hale (politician) (died 1821), Secretary of State of New York 1798–1801 and 1810–1811 Danny Hale (American football) (born 1946), American football player and coach Daniel Hale (Prison Break), a character on the American television series Prison Break
```batchfile @echo off set ssleay=%1% set tmp1=pem.out set cmp=fc.exe cecopy %ssleay% CE:\OpenSSL copy ..\test\testcrl.pem >nul call tpemce.bat crl testcrl.pem if errorlevel 1 goto err copy ..\test\testp7.pem >nul call tpemce.bat pkcs7 testp7.pem if errorlevel 1 goto err copy ..\test\testreq2.pem >nul call tpemce.bat req testreq2.pem if errorlevel 1 goto err copy ..\test\testrsa.pem >nul call tpemce.bat rsa testrsa.pem if errorlevel 1 goto err copy ..\test\testx509.pem >nul call tpemce.bat x509 testx509.pem if errorlevel 1 goto err copy ..\test\v3-cert1.pem >nul call tpemce.bat x509 v3-cert1.pem if errorlevel 1 goto err copy ..\test\v3-cert1.pem >nul call tpemce.bat x509 v3-cert1.pem if errorlevel 1 goto err copy ..\test\testsid.pem >nul call tpemce.bat sess_id testsid.pem if errorlevel 1 goto err echo OK del %tmp1% >nul 2>&1 :err ```
Joseph Roman Selasini Shao (born 6 April 1961) is a Tanzanian NCCR-Mageuzi politician and Member of Parliament for Rombo constituency from 2010 to 2020. References 1961 births Living people Chadema MPs Tanzanian MPs 2010–2015 University of Dar es Salaam alumni
4-Fluorobenzoic acid (p-fluorobenzoic acid) is an organic compound with the formula C7H5FO2. This colourless solid is a derivative of benzoic acid carboxylic acid. It is a synthetic intermediate. Preparation 4-Fluorobenzoic acid is commercially available. It may be prepared via the Schiemann reaction, in which a 4-aminobenzoic acid, protected as the ethyl ester, is diazotised and then fluoride introduced using tetrafluoroborate. Hydrolysis of the ester converts it back to the free acid. 4-Fluorobenzoic acid has been observed to form by the aerobic biotransformation of 4-fluorocinnamic acid. See also 2-Fluorobenzoic acid, the ortho isomer 3-Fluorobenzoic acid, the meta isomer References Benzoic acids Fluoroarenes
Paler is a surname. Notable people with the surname include: Binyomin Paler (1908–2000), Haredi rosh yeshiva and Talmudist in the United States Octavian Paler (1926–2007), Romanian writer, journalist, and politician Romanian-language surnames Surnames of Jewish origin
The 1972 UEFA European Under-23 Championship, which spanned two years (1970–72) had 23 entrants. Czechoslovakia U-23s won the competition. The 23 national teams were divided into eight groups. The group winners played off against each other on a two-legged home-and-away basis until the winner was decided. There was no finals tournament or 3rd-place playoff. Qualifying stage Draw The allocation of teams into qualifying groups was based on that of UEFA Euro 1972 qualifying tournament with several changes, reflecting the absence of some nations: Group 2 and 8 had the same competing nations Group 1 did not include Wales Group 3 did not include England and Malta Group 4 did not include Northern Ireland and Cyprus Group 5 did not include Belgium and Scotland Group 6 did not include Republic of Ireland Group 7 did not include Luxembourg Group 1 Group 2 Group 3 Group 4 Group 5 Group 6 Group 7 Group 8 Knockout stages Matches See also UEFA European Under-21 Championship References External links RSSSF Results Archive at rsssf.com UEFA European Under-21 Championship 1970–71 in European football 1971–72 in European football 1972 in youth association football
Parapithecops is a genus of butterflies in the family Lycaenidae. References Lycaenidae Lycaenidae genera
The Centro Direzionale di Fontivegge is a modern complex of public, commercial and residential buildings of Perugia, Italy. It is located in Piazza Nuova, in the neighbourhood of the railway station of Fontivegge. Background In the Fontivegge neighborhood, near the railway station, there is a complex of postmodern buildings, with the Centro Direzionale della regione Umbria (management centre of the Umbria region). It is also called “Broletto”, because it has the function of a public palace, as the Lombard Arengo (a place dedicated to the meeting of the citizens). It was designed in 1983 by the internationally renowned architect and designer Aldo Rossi to substitute another huge project of 1980, greater in volume, never realized because too expensive. The management wanted it to modernize the area that was previously occupied by the buildings, then in decay as abandoned after the moving of the chocolate factory in the outskirts of the city, of the Perugina. The old smokestack of the factory was kept in the project as an example of industrial archaeology. Description In the centre of the architectural complex, a big square paved with bricks and stones follows the natural slope of the land. At the centre of the square, like in many cities of Umbria, there is a fountain, with monolithic and straight lines. The square originally was called “Piazza del Bacio” in memory of the famous chocolate candy, later it was called “Piazza Nuova” because it gave a new face to this neighborhood. The stairway, visible from the railway station, allows access to this new Agorà, a metaphysical space like those depicted by de Chirico. On the left between two Rationalist blocks, a big tall building with the appearance of a temple, in front of which one feels almost crushed. The facade is composed of a stairway to the base, a very high and long colonnade which has on top a parallelepiped with squares and, above, a gable with a clock. On the right side of the square, a building with arcades and commercial activities on the lower floors and residential ones on the upper floors; the building has a huge column in the corner (see the photo). To the south of the square, another big building which was a shopping mall. Notwithstanding the fact that the project follows architectural models different from the environmental context, it adopts the same construction material of the cities of Umbria: travertine and bricks. There was particular attention to the integration of the building in the urban context connecting it with the new buildings by means of bridges and underpass designed with light and natural ventilation. A bridge crosses Viale Angeloni connecting the square with the other part of the avenue. Another bridge near the smokestack connects the square and the street to Villa Buitoni, located on the slope to the west. Projects of the Theatre and the Exhibition Centre In the original project, to the north side, a conical theatre was imagined, small in size, but intended as the centre of the square and the neighborhood. At the back of the theatre another public space was meant to be built, intended as an exhibition centre. The project, not finished yet, should create a new urban pole where public, commercial and residential buildings, around the square, can integrate themselves. In its place now a little green space with a metallic sculpture which represents the bust of Aldo Capitini. The Smokestack The structure made of bricks and iron can be dated back to the early 20th century, it is an example of industrial archaeology left “where and as it was”. It is one of the smokestacks of the old chocolate factory, Perugina, which at that time was the main manufacturing activity of Perugia. The factory was opened in 1915 (the year in which the production of cocoa started) and in 1965 was moved to a new location (San Sisto). The geometric conical shape of smokestack will be used also in the project of the theatre. Notes Bibliography Paolo Belardi, NAU-Novecento Architettura Umbria, ediz. Il Formichiere Foligno 2014 Buildings and structures in Perugia
Álvaro Rico Ladera (born 13 August 1996) is a Spanish actor. He is known for playing the character of Polo in the teen drama series Elite. Career In 2011, he began his career as an actor in a theater adaptation of La Celestina and his television debut was in 2017 in an episode of Medical Center. Also in 2017, he played Nicolás in Velvet Colección. In December 2017, he was announced as a main cast member in the teen drama series Elite. In the series, he played Polo, a bisexual teenager who is in a love trio with two other classmates. In 2021, he gave an interview for Vanity Teen magazine talking about the impact of the series on society and his upcoming performances. Filmography References External links 1996 births Living people Spanish male television actors 21st-century Spanish male actors People from Toledo, Spain Male web series actors
Ananda Omesh, born Ananda Rusdiana (born August 21, 1986) is an Indonesian actor, comedian, and presenter. He is known for his work on the Trans TV variety show Extravaganza. He also has worked as a presenter on television shows such as 60 Minutes, Insert Pagi, Indonesia Mencari Bakat, and Missing Lyrics. Career He had an interest in playing hip-hop music, but never pursued it as a career. He began as one of the cast of the variety show Extravaganza. He hosted the Trans TV talent search show Indonesia Mencari Bakat in its first until fourth season. He won "Favorite Talent Show Presenter" award at the 2011 Panasonic Gobel Awards and is often called to work as an MC on Indonesian television. Personal life Ananda Omesh was born on August 21, 1986, in Sukabumi, West Java. He is an alumnus of the Faculty of Communication of Padjadjaran University. He married actress and news anchor Dian Ayu Lestari on July 8, 2012. They have one daughter and one son. Filmography Film Television Extravaganza (Trans TV) 60 Minutes (Trans 7) Indonesia Mencari Bakat (Trans TV) Insert Pagi (Trans TV) Missing Lyrics (Trans TV) Sinden Gosip (Trans TV) On the Spot Trans 7) Raja Gombal (Trans 7) Yuk Keep Smile (Trans TV) WOWW (Trans TV) Late Night Show with Omesh (B Channel) On The Show with Omesh (RTV) Sahurnya Ramadhan (Trans TV) Ngabuburit (Trans TV) Funny Olympic (Trans TV) Funny Sports (Trans TV) Kuis Siapa Dia? (Trans 7) I Music (RCTI) Ini Sahur (NET.) Celebrity Lipsync Combat (NET.) The Voice Kids Indonesia (Global TV) The Price is Right Indonesia (RCTI) Kecil-Kecil Hebat (Trans7) Komedi Sahur (Trans TV) Indonesia Morning Show (NET.) Kuis Keren BKKBN (GTV) Anak Cerdas Indonesia (Trans 7) Family 100 Indonesia (GTV) The Voice Indonesia (GTV) Super Deal Indonesia (GTV) New Comedy Night Live (NET.) Ini Weekend (NET.) Dapur Panik (GTV) Water Break (NET.) NET. On Top (NET.) eSports Star Indonesia (GTV) Anak Sekolah (Trans7) Klik (Trans7) Pesta Bola Dunia 2022 (SCTV, Indosiar & Moji) The Singing Bee Indonesia (RCTI) Dream Box Indonesia (Trans TV) Tonight Show Premiere (NET.) Para Pencari Cuan (Trans7) Gasskeun (NET.) KFC Mencari Bucket (NET.) Awards and nominations References External links Profil Omesh 1986 births People from Sukabumi Indonesian television presenters Male actors from West Java Sundanese people Living people
Scaphiodontophis annulatus, commonly known as the Guatemala neckband snake, is a species of snake in the family Colubridae. The species is native to southern Mexico, Central America, and Colombia. There are four recognized subspecies. Taxonomy The following four subspecies are recognized as being valid. The subspecific name, dugandi, is in honor of Colombian biologist Armando Dugand. Scaphiodontophis annulatus annulatus Scaphiodontophis annulatus dugandi Scaphiodontophis annulatus hondurensis Scaphiodontophis annulatus nothus Distribution and habitat S. annulatus is found in Mexico, Belize, Colombia, El Salvador, Guatemala, Honduras, and Nicaragua. The preferred natural habitat of S. annulatus is forest at altitudes from sea level to . Reproduction S. annulatus is oviparous. References Further reading Duméril A-M-C, Bibron G, Duméril A[-H-A] (1854). Erpétologie générale ou histoire naturelle complète des reptiles. Tome septième [Volume 7]. Première partie. Comprenant l'histoire des serpents non venimeux. Paris: Roret. xvi + 780 pp. (Enicognathus annulatus, new species, pp. 335–336). (in French). Heimes P (2016). Snakes of Mexico: Herpetofauna Mexicana Vol. I. Frankfurt am Main, Germany: Chimaira. 572 pp. . Henderson RW (1984). "Scaphiodontophis (Serpentes: Colubridae): Natural History and Test of a Mimicry-Related Hypothesis". pp. 185–194. 'In: Seigel RA, Hunt LE, Knight JL, Malaret L, Zuschlag NL (1984). Vertebrate Ecology and Systematics: A Tribute to Henry S. Fitch. University of Kansas Museum of Natural History Special Publication No. 10. Lawrence: University of Kansas. viii + 278 pp. Roze JA (1969). "Una nueva coral falsa del genero Scaphiodontophis (Serpentes: Colubridae) de Colombia ". Caldasia 10: 355–363. (Scaphiodontophis dugandi, new species, figures 1–3). (in Spanish, with an English summary). Schmidt KP (1936). "New Amphibians and Reptiles in the Museum of Comparative Zoology". Proceedings of the Biological Society of Washington 49: 43–50. (Sibynophis annulatus hondurensis, new subspecies, pp. 48–49). Taylor EH, Smith HM (1943). "A Review of the American Sibynophine Snakes, with the Proposal of a New Genus". University of Kansas Science Bulletin 29': 301–337 + Plates XXI–XXV. (Scaphiodontophis nothus'', new species, pp. 320–322, Figure 8 + Plate XXIII, figure 2). Scaphiodontophis Snakes of Central America Reptiles of Colombia Reptiles of Mexico Reptiles of Honduras Reptiles of Nicaragua Reptiles of Panama Reptiles of Guatemala Reptiles of El Salvador Reptiles of Belize Reptiles described in 1854 Taxa named by André Marie Constant Duméril Taxa named by Gabriel Bibron Taxa named by Auguste Duméril
Touffreville-la-Corbeline is a commune in the Seine-Maritime department in the Normandy region in northern France. Geography A farming village situated in the Pays de Caux, some northwest of Rouen at the junction of the D104, D37 and the D131 roads. Heraldry Population Places of interest The church of St. Martin, dating from the twelfth century. Remains of a feudal castle at Bois-de-la-Salle. Two chateaux, at Verbosc and Bourg-Naudin. A chapel at Verbosc. See also Communes of the Seine-Maritime department References Communes of Seine-Maritime
```javascript /*!your_sha256_hash------------- * monaco-languages version: 0.30.1(5a7ba61be909ae9e4889768a3453ebb0dec392e2) * Released under the MIT license * path_to_url *your_sha256_hash-------------*/ define("vs/basic-languages/php/php",["require","exports"],(function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.language=t.conf=void 0,t.conf={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\#\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}",notIn:["string"]},{open:"[",close:"]",notIn:["string"]},{open:"(",close:")",notIn:["string"]},{open:'"',close:'"',notIn:["string"]},{open:"'",close:"'",notIn:["string","comment"]}],folding:{markers:{start:new RegExp("^\\s*(#|//)region\\b"),end:new RegExp("^\\s*(#|//)endregion\\b")}}},t.language={defaultToken:"",tokenPostfix:"",tokenizer:{root:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.root"}],[/<!DOCTYPE/,"metatag.html","@doctype"],[/<!--/,"comment.html","@comment"],[/(<)(\w+)(\/>)/,["delimiter.html","tag.html","delimiter.html"]],[/(<)(script)/,["delimiter.html",{token:"tag.html",next:"@script"}]],[/(<)(style)/,["delimiter.html",{token:"tag.html",next:"@style"}]],[/(<)([:\w]+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/(<\/)(\w+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/</,"delimiter.html"],[/[^<]+/]],doctype:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.comment"}],[/[^>]+/,"metatag.content.html"],[/>/,"metatag.html","@pop"]],comment:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.comment"}],[/-->/,"comment.html","@pop"],[/[^-]+/,"comment.content.html"],[/./,"comment.content.html"]],otherTag:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.otherTag"}],[/\/?>/,"delimiter.html","@pop"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/]],script:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.script"}],[/type/,"attribute.name","@scriptAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/(<\/)(script\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],scriptAfterType:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.scriptAfterType"}],[/=/,"delimiter","@scriptAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptAfterTypeEquals:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.scriptAfterTypeEquals"}],[/"([^"]*)"/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptWithCustomType:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.scriptWithCustomType.$S2"}],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptEmbedded:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInEmbeddedState.scriptEmbedded.$S2",nextEmbedded:"@pop"}],[/<\/script/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}]],style:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.style"}],[/type/,"attribute.name","@styleAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/(<\/)(style\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],styleAfterType:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.styleAfterType"}],[/=/,"delimiter","@styleAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleAfterTypeEquals:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.styleAfterTypeEquals"}],[/"([^"]*)"/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleWithCustomType:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.styleWithCustomType.$S2"}],[/>/,{token:"delimiter.html",next:"@styleEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleEmbedded:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInEmbeddedState.styleEmbedded.$S2",nextEmbedded:"@pop"}],[/<\/style/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}]],phpInSimpleState:[[/<\?((php)|=)?/,"metatag.php"],[/\?>/,{token:"metatag.php",switchTo:"@$S2.$S3"}],{include:"phpRoot"}],phpInEmbeddedState:[[/<\?((php)|=)?/,"metatag.php"],[/\?>/,{token:"metatag.php",switchTo:"@$S2.$S3",nextEmbedded:"$S3"}],{include:"phpRoot"}],phpRoot:[[/[a-zA-Z_]\w*/,{cases:{"@phpKeywords":{token:"keyword.php"},"@phpCompileTimeConstants":{token:"constant.php"},"@default":"identifier.php"}}],[/[$a-zA-Z_]\w*/,{cases:{"@phpPreDefinedVariables":{token:"variable.predefined.php"},"@default":"variable.php"}}],[/[{}]/,"delimiter.bracket.php"],[/[\[\]]/,"delimiter.array.php"],[/[()]/,"delimiter.parenthesis.php"],[/[ \t\r\n]+/],[/(#|\/\/)$/,"comment.php"],[/(#|\/\/)/,"comment.php","@phpLineComment"],[/\/\*/,"comment.php","@phpComment"],[/"/,"string.php","@phpDoubleQuoteString"],[/'/,"string.php","@phpSingleQuoteString"],[/[\+\-\*\%\&\|\^\~\!\=\<\>\/\?\;\:\.\,\@]/,"delimiter.php"],[/\d*\d+[eE]([\-+]?\d+)?/,"number.float.php"],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float.php"],[/0[xX][0-9a-fA-F']*[0-9a-fA-F]/,"number.hex.php"],[/0[0-7']*[0-7]/,"number.octal.php"],[/0[bB][0-1']*[0-1]/,"number.binary.php"],[/\d[\d']*/,"number.php"],[/\d/,"number.php"]],phpComment:[[/\*\//,"comment.php","@pop"],[/[^*]+/,"comment.php"],[/./,"comment.php"]],phpLineComment:[[/\?>/,{token:"@rematch",next:"@pop"}],[/.$/,"comment.php","@pop"],[/[^?]+$/,"comment.php","@pop"],[/[^?]+/,"comment.php"],[/./,"comment.php"]],phpDoubleQuoteString:[[/[^\\"]+/,"string.php"],[/@escapes/,"string.escape.php"],[/\\./,"string.escape.invalid.php"],[/"/,"string.php","@pop"]],phpSingleQuoteString:[[/[^\\']+/,"string.php"],[/@escapes/,"string.escape.php"],[/\\./,"string.escape.invalid.php"],[/'/,"string.php","@pop"]]},phpKeywords:["abstract","and","array","as","break","callable","case","catch","cfunction","class","clone","const","continue","declare","default","do","else","elseif","enddeclare","endfor","endforeach","endif","endswitch","endwhile","extends","false","final","for","foreach","function","global","goto","if","implements","interface","instanceof","insteadof","namespace","new","null","object","old_function","or","private","protected","public","resource","static","switch","throw","trait","try","true","use","var","while","xor","die","echo","empty","exit","eval","include","include_once","isset","list","require","require_once","return","print","unset","yield","__construct"],phpCompileTimeConstants:["__CLASS__","__DIR__","__FILE__","__LINE__","__NAMESPACE__","__METHOD__","__FUNCTION__","__TRAIT__"],phpPreDefinedVariables:["$GLOBALS","$_SERVER","$_GET","$_POST","$_FILES","$_REQUEST","$_SESSION","$_ENV","$_COOKIE","$php_errormsg","$HTTP_RAW_POST_DATA","$http_response_header","$argc","$argv"],escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/}})); ```
Michałówka is a village in the administrative district of Gmina Rutka-Tartak, within Suwałki County, Podlaskie Voivodeship, in north-eastern Poland, close to the border with Lithuania. It lies approximately north of Rutka-Tartak, north of Suwałki, and north of the regional capital Białystok. References List of sołectwos in Gmina Rutka-Tartak Villages in Suwałki County
Steninge Palace (also known as Steninge Manor) is a Baroque palace overlooking Lake Mälaren near Märsta outside of Stockholm, Sweden. Built 1694–1698 to the design of architect Nicodemus Tessin the Younger, the palace is directly inspired by Château de Vaux-le-Vicomte in France, and has a reputation in Sweden as one of the most elegant examples of Baroque mansions. Steninge Palace was completed in 1705. The estate has a history dating back to the 13th century and has seen many owners, but two families have strongly influenced the premises: those of Carl Gyllenstierna (1649–1735) and Axel von Fersen. Today the palace is privately owned by a company which keeps it accessible for visitors: Steninge Palace Cultural Centre. History In the end of 1200 the first known settlement was established at Steninge. In 1667 Carl Gyllenstierna inherited the Steninge Estate. 1680-81 the well known Swedish architect Nicodemus Tessin was commissioned to design the palace and the two wings. In 1705 Steninge Palace was completed. In 1706 Carl Gyllenstierna married and gave Steninge Palace as a wedding gift to his bride, Anna Soop. In 1735 the Fersen family bought Steninge. In 1747 Steninge was made a trust. In 1810 Axel von Fersen was murdered. A monument of Fersen was erected at Steninge in 1813. Steninge was inherited by his brother Fabian Reinhold von Fersen and then by his nephew Axel von Fersen (1798–1838). When Axel von Fersen died in 1838, the von Fersen family died out and Steninge was inherited by his sister Louise von Fersen and her spouse Carl August Gyldenstolpe, who lost it during their famous bankruptcy in 1867. In 1873 Baron von Otter bought Steninge and a stone barn was built west of the palace. In 1970 G.B.A. Holm bought Steninge and employs the architect I.G. Clason to carry out a restoration work. In 1923, Hanna Lindmark bought Steninge Palace. In 1932 Steninge Palace was bought by Wolfgang Thomas, son of the US ambassador in Sweden. In 1969 Steninge Palace was declared a listed building. In 1976 a family with the common name Andersson bought Steninge. In 1979 the large stone barn was declared a listed building. In 1997 Linn and Atle Brynestad (CG Holding) bought Steninge. In 1999, the Steninge Palace Cultural centre opened. In 2009 Steninge Palace and the stone barn were bought by Gelba fastigheter. Gallery References External links Castles in Stockholm County Tourist attractions in Stockholm County